1 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/gstelement.c: (gst_element_class_set_details_simple):
5 Make strings passed to gst_element_class_set_details_simple()
6 constant, as they should be (#462752).
8 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
10 * gst/gstbin.c: (gst_bin_change_state_func),
11 (bin_handle_async_done), (gst_bin_handle_message_func):
12 Don't forget about the fact that some element went ASYNC even after a
13 resync. This makes us post the ASYNC_DONE message correctly.
16 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
18 * gst/gstregistry.c: (gst_registry_add_feature):
19 When replacing an existing feature in the registry, make sure to
20 continue holding a reference until we've replaced the name string
21 within our feature hash table. Make sure to use g_hash_table_replace
22 instead of g_hash_table_insert to ensure the new name string is used
23 as a key instead of the old one that we're about to free.
26 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
28 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
29 (gst_plugin_feature_set_name):
30 Revert patch from #459466 until after the release and we can work
31 out exactly what the problem is (if any).
33 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
35 * docs/gst/gstreamer-sections.txt:
38 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
40 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
42 * docs/libs/Makefile.am:
43 Include our build-prefix libs and includes before the generic ones to
44 avoid linking against the installed libs when we want the build-tree
47 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
49 Patch by: Steve Fink <sphink gmail com>
51 * docs/pwg/building-testapp.xml:
52 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
53 if people try to build or install the example from the plugin
54 template against a GStreamer from package using the configure
57 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
59 Patch by: Steve Fink <sphink gmail com>
61 * tools/gst-inspect.1.in:
62 Document --print-all and --print-plugin-auto-install-info command
63 line options in man page.
65 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
67 * docs/gst/gstreamer-sections.txt:
68 Add docs for new api function.
70 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
72 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
73 * gst/gstelementfactory.h:
74 API: gst_element_factory_has_interface()
75 Added method to check if an element factory implements a named
78 2007-07-25 Stefan Kost <ensonic@users.sf.net>
81 * docs/gst/gstreamer.types.in:
82 Another conditional doc check.
85 * gst/gstparamspecs.h:
86 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
91 2007-07-24 Stefan Kost <ensonic@users.sf.net>
93 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
94 (gst_registry_binary_load_feature),
95 (gst_registry_binary_load_plugin),
96 (gst_registry_binary_read_cache):
97 Print error just once and with additional info.
99 2007-07-24 Stefan Kost <ensonic@users.sf.net>
101 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
102 (helper_find_suggest), (helper_find_get_length),
103 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
104 (gst_type_find_helper_for_buffer):
105 Cleanup the typefindhelper code and add private doc comments.
107 2007-07-24 Edward Hervey <bilboed@bilboed.com>
109 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
110 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
111 Fix capsfilter for cases where the caps set on capsfilter will provide
112 additional information.
115 2007-07-24 Stefan Kost <ensonic@users.sf.net>
117 * gst/gsttypefindfactory.c:
118 Fix docs that recommened wrong function to use.
120 2007-07-23 Stefan Kost <ensonic@users.sf.net>
122 * tools/gst-inspect.c: (print_plugin_features):
123 Also give media-type for typefinders in element output.
125 2007-07-23 Stefan Kost <ensonic@users.sf.net>
127 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
128 (gst_registry_remove_features_for_plugin_unlocked),
129 (gst_registry_add_feature), (gst_registry_remove_feature),
130 (gst_registry_lookup_feature_locked):
132 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
135 2007-07-23 Stefan Kost <ensonic@users.sf.net>
137 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
138 (gst_plugin_feature_set_name):
139 Avoid double memory usage for pluginfeature names. Fixes #459466.
141 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
144 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
145 driving the pipeline may need to explicitly check for NOT_LINKED as
146 well, since IS_FATAL doesn't cover that.
148 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
150 * docs/pwg/advanced-types.xml:
151 Fix typo and duplicate entry in video formats list.
153 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
155 * libs/gst/controller/gstinterpolation.c:
156 Also round to the nearest int when using cubic interpolation.
158 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
160 * libs/gst/controller/gstinterpolation.c:
161 When linearly interpolating integer types, round to the nearest int
162 by adding 0.5. Don't do it for float/double types.
163 Fixes the failing controller test on my machine, which is somehow
164 rounding differently than on the buildbots.
166 2007-07-20 Stefan Kost <ensonic@users.sf.net>
168 * tools/gst-plot-timeline.py:
169 Better log parsing (categories can have -). Adjust text vs. lines, so
170 that they span the same y-range.
172 2007-07-20 Stefan Kost <ensonic@users.sf.net>
174 * docs/random/ensonic/audiobaseclasses.txt:
175 * docs/random/ensonic/dynlink.txt:
176 * docs/random/ensonic/profiling.txt:
179 * docs/random/moving-plugins:
180 Add note to use g_assert type macros.
182 2007-07-20 Stefan Kost <ensonic@users.sf.net>
185 * libs/gst/check/Makefile.am:
186 Add libm check as we use in for plugins.
188 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
190 * gst/gstbin.c: (gst_bin_continue_func):
191 Check that the state_cookie hasn't changed since the continue_func
192 was scheduled. Avoids problems where the state changes back to
193 something it shouldn't be because it was changed in the meantime.
195 2007-07-17 Stefan Kost <ensonic@users.sf.net>
197 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
198 (gst_registry_binary_save_string),
199 (gst_registry_binary_save_pad_template),
200 (gst_registry_binary_save_feature),
201 (gst_registry_binary_save_plugin),
202 (gst_registry_binary_load_feature),
203 (gst_registry_binary_load_plugin),
204 (gst_registry_binary_read_cache):
205 Fix memory leak. Be less verbose in the log.
207 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
209 * tests/check/elements/.cvsignore:
210 Add file to cvsignore as commanded.
212 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
214 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
215 (mq_dummypad_event), (run_output_order_test):
216 Use a GStaticMutex to protect all cases where libcheck
217 fail_if/fail_unless macros might be called from multiple threads
218 simultaneously to avoid errors like:
219 "check_pack.c:107: :-1081725400:Bad message type arg"
221 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
223 * tests/check/pipelines/stress.c: (GST_START_TEST):
224 Make sure we set the pipeline back to the NULL state before
225 dropping our final reference.
227 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
229 * tests/check/elements/tee.c: (GST_START_TEST):
230 Make the tee stress-test a little less stressful so it doesn't just
231 time out on slow-machines, and remove a small race when it's starting
232 up by adding a get_state() call.
234 2007-07-16 Stefan Kost <ensonic@users.sf.net>
237 Avoid reading registry twice on startup. Fixes #457322.
239 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
241 * pkgconfig/gstreamer-check-uninstalled.pc.in:
242 * pkgconfig/gstreamer-check.pc.in:
243 Substitute the CFLAGS for libcheck into our .pc file too so that
244 dependent modules will pick it up properly if libcheck is installed
245 into some other prefix.
247 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
250 Revert the pkg-config check for libcheck, since it pulls in the
251 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
252 a proper solution, either from the check project, or something else.
254 2007-07-12 Stefan Kost <ensonic@users.sf.net>
257 Use pkg-config to locate check.
259 2007-07-10 Stefan Kost <ensonic@users.sf.net>
266 Add deprecation guards.
268 * libs/gst/base/gstcollectpads.h:
269 Don't document object (this is implicitly private).
271 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
273 * gst/gststructure.c: (gst_structure_parse_value):
274 When deserialising foo=bar without a type cast, check if it's a
275 boolean before falling back to a string type, otherwise things like
276 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
277 because the filtercaps end up having a signed=(string)true field,
278 which causes problems later when intersection caps.
280 * tests/check/gst/gststructure.c: (GST_START_TEST):
281 Add a unit test for this.
283 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
285 Reviewed by: Stefan Kost <ensonic@users.sf.net>
287 * libs/gst/controller/Makefile.am:
288 * libs/gst/controller/gstcontroller.c:
289 (gst_controlled_property_add_interpolation_control_source),
290 (gst_controlled_property_new), (gst_controlled_property_free),
291 (gst_controller_find_controlled_property),
292 (gst_controller_new_valist), (gst_controller_new_list),
293 (gst_controller_new), (gst_controller_remove_properties_valist),
294 (gst_controller_remove_properties_list),
295 (gst_controller_remove_properties),
296 (gst_controller_set_property_disabled),
297 (gst_controller_set_disabled), (gst_controller_set_control_source),
298 (gst_controller_get_control_source), (gst_controller_get),
299 (gst_controller_sync_values), (gst_controller_get_value_array),
300 (_gst_controller_dispose), (gst_controller_get_type),
301 (gst_controlled_property_set_interpolation_mode),
302 (gst_controller_set), (gst_controller_set_from_list),
303 (gst_controller_unset), (gst_controller_unset_all),
304 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
305 * libs/gst/controller/gstcontroller.h:
306 * libs/gst/controller/gstcontrollerprivate.h:
307 * libs/gst/controller/gstcontrolsource.c:
308 (gst_control_source_class_init), (gst_control_source_init),
309 (gst_control_source_get_value),
310 (gst_control_source_get_value_array), (gst_control_source_bind):
311 * libs/gst/controller/gstcontrolsource.h:
312 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
313 (gst_object_get_control_source):
314 * libs/gst/controller/gstinterpolation.c:
315 (gst_interpolation_control_source_find_control_point_node),
316 (gst_interpolation_control_source_get_first_value),
317 (_interpolate_none_get), (interpolate_none_get),
318 (interpolate_none_get_boolean_value_array),
319 (interpolate_none_get_enum_value_array),
320 (interpolate_none_get_string_value_array),
321 (_interpolate_trigger_get), (interpolate_trigger_get),
322 (interpolate_trigger_get_boolean_value_array),
323 (interpolate_trigger_get_enum_value_array),
324 (interpolate_trigger_get_string_value_array):
325 * libs/gst/controller/gstinterpolationcontrolsource.c:
326 (gst_control_point_free), (gst_interpolation_control_source_reset),
327 (gst_interpolation_control_source_new),
328 (gst_interpolation_control_source_set_interpolation_mode),
329 (gst_interpolation_control_source_bind),
330 (gst_control_point_compare), (gst_control_point_find),
331 (gst_interpolation_control_source_set_internal),
332 (gst_interpolation_control_source_set),
333 (gst_interpolation_control_source_set_from_list),
334 (gst_interpolation_control_source_unset),
335 (gst_interpolation_control_source_unset_all),
336 (gst_interpolation_control_source_get_all),
337 (gst_interpolation_control_source_get_count),
338 (gst_interpolation_control_source_init),
339 (gst_interpolation_control_source_finalize),
340 (gst_interpolation_control_source_dispose),
341 (gst_interpolation_control_source_class_init):
342 * libs/gst/controller/gstinterpolationcontrolsource.h:
343 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
344 API: Refactor GstController into the core controller which can take
345 a GstControlSource for providing actual values for timestamps.
346 Implement a interpolation control source and use this for backward
347 compatibility, deprecate a bunch of functions that are now handled
348 by GstControlSource or GstInterpolationControlSource.
349 Make it possible to disable the controller completely or only for
350 specific properties. Fixes #450711.
351 * docs/libs/gstreamer-libs-docs.sgml:
352 * docs/libs/gstreamer-libs-sections.txt:
353 * docs/libs/gstreamer-libs.types:
354 Add new functions and classes to the docs.
355 * tests/check/libs/controller.c: (GST_START_TEST),
356 (gst_controller_suite):
357 * tests/examples/controller/audio-example.c: (main):
358 Port unit test and example to the new API and add some new
361 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
363 Patch by: Mark Nauwelaerts <manauw at skynet be>
365 * plugins/elements/gstmultiqueue.c:
366 (gst_multi_queue_get_internal_links), (apply_buffer),
367 (single_queue_overrun_cb), (gst_single_queue_new):
368 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
369 the pipeline layout can be tracked correctly. Fixes #453732.
371 2007-07-05 Stefan Kost <ensonic@users.sf.net>
373 * docs/gst/Makefile.am:
374 * docs/libs/Makefile.am:
375 * docs/plugins/Makefile.am:
376 Simplify --extra-dir as gtkdoc scans recursively.
378 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
380 * tools/gst-launch.c: (main):
381 When we got an error, there is no point in waiting for preroll when
384 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
386 * plugins/elements/gsttee.c: (gst_tee_base_init),
387 (gst_tee_request_new_pad), (gst_tee_release_pad),
388 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
389 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
391 Be a lot smarter when deciding what srcpad to use for proxying
392 the buffer_alloc. Also handle pad added/removed when doing so.
394 Keep track of what pads we already pushed on in case we have pads
395 added/removed while pushing. Fixes #374639
397 * tests/check/Makefile.am:
398 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
400 Added unit test for pad resync.
402 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
406 Updated translations.
408 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
410 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
414 Added new Finnish translation.
416 2007-06-28 Wim Taymans <wim@fluendo.com>
418 * plugins/elements/gstmultiqueue.c: (apply_buffer),
419 (single_queue_overrun_cb):
420 When figuring out when a queue is filled, use our internal time estimate
421 based on segments, just like check_full does.
423 2007-06-27 Stefan Kost <ensonic@users.sf.net>
425 * gst/gstminiobject.c: (gst_mini_object_get_type):
426 Remove 3 do-nothing methods.
428 2007-06-27 Wim Taymans <wim@fluendo.com>
430 Patch by: Tim Angus <tim at ngus dot net>
432 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
433 (gst_capsfilter_set_property):
434 Take a reference instead of a copy when setting "caps".
435 Fix documentation to clarify this behaviour. Fixes #449414.
437 2007-06-27 Stefan Kost <ensonic@users.sf.net>
439 * gst/gstindexfactory.c: (gst_index_factory_get_type):
440 * gst/gstplugin.c: (gst_plugin_init):
441 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
442 * gst/gstquery.c: (gst_query_get_type):
443 * gst/gstregistry.c: (gst_registry_init):
444 * gst/gsturi.c: (gst_uri_handler_base_init):
445 Remove empty instance_init() functions to save relocs and lessen the
446 noise. Remove some of the function prototypes that are doubled by
449 2007-06-27 Wim Taymans <wim@fluendo.com>
451 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
453 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
454 Add peer and direction in the XML serialisation of ghostpads.
457 2007-06-26 Stefan Kost <ensonic@users.sf.net>
460 Preserve useful information, thanks Tim.
462 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
464 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
465 (gst_single_queue_flush), (apply_segment), (apply_buffer),
466 (gst_single_queue_push_one), (gst_multi_queue_loop),
467 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
468 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
469 (compute_high_id), (gst_single_queue_new):
470 * plugins/elements/gstmultiqueue.h:
471 Take the multiqueue lock when updating the fill level so we don't get
474 After applying a buffer or event on the src pad segment, make sure to
475 call gst_data_queue_limits_changed() to get the data queue to unblock
476 and check the filled state again.
478 Rework the not-linked pad handling so the logic is that not-linked
479 pads can push as fast as they like, but only so they never get
480 ahead of any linked pads.
482 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
483 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
484 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
486 Add a test to check that not-linked pads always stay behind
491 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
493 * docs/random/release:
494 Some updates to the release procedure.
496 2007-06-26 Stefan Kost <ensonic@users.sf.net>
498 * gst/gstelementfactory.c: (__gst_element_details_clear):
499 Microoptimization that saves stunning 80 bytes.
501 2007-06-25 Stefan Kost <ensonic@users.sf.net>
503 * docs/plugins/gstreamer-plugins.args:
504 * docs/plugins/inspect/plugin-coreelements.xml:
505 * docs/plugins/inspect/plugin-coreindexers.xml:
506 Update docs with caps info.
508 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
511 Updated Italian translation.
513 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
517 Update Vietnamese translations.
519 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
521 * libs/gst/base/gstbasesink.c:
522 Remove unused signal enum.
524 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
526 * docs/gst/gstreamer-sections.txt:
528 * gst/gstutils.c: (gst_type_register_static_full):
529 Beef up and include the docs for gst_type_register_static_full and
530 gst_element_class_set_details_simple and add the API keyword
533 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
535 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
536 (update_time_level), (gst_single_queue_push_one),
537 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
538 (single_queue_overrun_cb), (single_queue_underrun_cb),
539 (single_queue_check_full):
540 Fix setting max-* properties after adding queues.
541 Use IS_FILLED for checking visible items.
542 Signal overrun if multiple queues overrun.
543 Add extra debug output.
544 Patch by: Wim Taymans <wim@fluendo.com>
546 2007-06-21 Stefan Kost <ensonic@users.sf.net>
548 * gst/gstelement.c: (gst_element_class_set_details_simple):
550 * gst/gstutils.c: (gst_type_register_static_full):
552 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
553 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
554 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
555 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
556 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
557 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
558 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
559 * plugins/elements/gstidentity.c: (gst_identity_base_init):
560 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
561 * plugins/elements/gstqueue.c: (gst_queue_base_init),
562 (apply_buffer), (gst_queue_chain):
563 * plugins/elements/gsttee.c: (gst_tee_base_init):
564 * plugins/elements/gsttypefindelement.c:
565 (gst_type_find_element_base_init),
566 (gst_type_find_element_class_init):
567 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
568 API: add gst_type_register_static_full
569 API: add gst_element_class_set_details_simple
571 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
573 * docs/pwg/advanced-types.xml:
574 Fix typo in iana.org URI.
576 2007-06-19 Andy Wingo <wingo@pobox.com>
578 * tests/check/pipelines/simple-launch-lines.c
579 (test_state_change_returns): Enable pull-mode tests now that
580 basesink has been fixed.
582 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
583 Changed from gst_base_sink_is_prerolled, reversing the sense of
584 the return value. Returns FALSE also if the sink is in pull mode,
585 in which case it needs no preroll.
586 (gst_base_sink_query, gst_base_sink_change_state): Update for
587 needs_preroll change.
588 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
589 chaining up, in which we return SUCCESS directly if we activated
590 in pull mode instead of ASYNC. Involves countering an async_start
591 message sent before chaining up; not sure if this is correct, in
592 an ideal world we only send async-start when activating in push
595 * tests/check/pipelines/simple-launch-lines.c
596 (test_state_change_returns): New test, partially disabled until
599 2007-06-19 Wim Taymans <wim@fluendo.com>
601 * plugins/elements/gstmultiqueue.c: (apply_buffer),
602 (gst_multi_queue_sink_event):
605 2007-06-19 Wim Taymans <wim@fluendo.com>
607 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
608 (gst_bin_change_state_func), (bin_push_state_continue),
609 (bin_handle_async_start), (bin_handle_async_done),
610 (gst_bin_handle_message_func):
611 Move the common code for posting state-change messages into
613 Broadcast the state signal after we posted the messages.
614 Mark the bin as busy when it's doing a state-change.
615 Make sure async-start/done messages don't interfere with the bin's
616 state when it's busy.
617 After the state change, let the bin check which elements completed the
618 state change while it was busy so that it can update its state.
620 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
622 * docs/random/release:
623 Add a note about updating the doap file to the release checklist
625 2007-06-18 Wim Taymans <wim@fluendo.com>
627 * plugins/elements/gstmultiqueue.c: (apply_buffer),
628 (gst_single_queue_push_one), (gst_multi_queue_chain),
629 (gst_multi_queue_sink_event):
630 Make sure we don't reference the buffer/event after we have given away
631 ownership in the queue.
633 2007-06-18 Wim Taymans <wim@fluendo.com>
635 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
636 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
637 Update queue state _after_ adding the item in the queue because else we
638 could end up being full without the element added yet.
640 2007-06-18 Wim Taymans <wim@fluendo.com>
642 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
643 (gst_bin_remove_func), (gst_bin_get_state_func),
644 (gst_bin_element_set_state), (gst_bin_continue_func),
645 (bin_push_state_continue), (bin_handle_async_start),
646 (bin_handle_async_done), (gst_bin_handle_message_func):
648 Immediatly commit the toplevel bin state when receiving an async-done
649 message. This enables us to avoid spawning a thread to commit the state
650 in some common cases and it also avoids some races.
651 Avoid spawning a state thread when adding/removing async elements to a
652 toplevel bin. Instead we immediatly update the bin state.
653 Get rid of iterating all the children when getting the state in the bin
654 because it is now always up-to-date.
655 Fix bug where locked elements would always return _SUCCESS even it they
656 returned NO_PREROLL before being locked.
657 Fix the order of the state_change, async-start/done messages that was
659 Mark the state_dirty field as deprecated, we don't need it anymore as we
660 are always up-to-date.
662 * gst/gstelement.c: (gst_element_get_state_func),
663 (gst_element_continue_state):
664 Small debug inprovements.
665 Return the previous element state return when nothing is pending instead
666 of blindly returning SUCCESS.
668 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
670 Add a whole bunch of new testcases.
672 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
678 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
681 Fix typo in the docs.
683 2007-06-15 Wim Taymans <wim@fluendo.com>
685 * docs/libs/gstreamer-libs-sections.txt:
686 Add docs for new methods.
688 2007-06-15 Wim Taymans <wim@fluendo.com>
690 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
691 (gst_multi_queue_item_new):
692 Don't use GSlice because we don't depend on >= 2.10 yet.
694 2007-06-15 Wim Taymans <wim@fluendo.com>
696 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
697 (update_time_level), (apply_segment), (apply_buffer),
698 (gst_single_queue_push_one), (gst_multi_queue_item_new),
699 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
700 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
701 (single_queue_underrun_cb), (single_queue_check_full):
704 2007-06-15 Wim Taymans <wim@fluendo.com>
706 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
707 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
708 (gst_data_queue_set_flushing), (gst_data_queue_push),
709 (gst_data_queue_pop), (gst_data_queue_drop_head),
710 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
711 * libs/gst/base/gstdataqueue.h:
713 Added methods to get the current levels and to inform the queue that the
714 'full' limits changed.
716 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
717 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
718 (gst_single_queue_flush), (update_time_level), (apply_segment),
719 (apply_buffer), (gst_single_queue_push_one),
720 (gst_multi_queue_item_steal_object),
721 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
722 (gst_multi_queue_loop), (gst_multi_queue_chain),
723 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
724 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
725 (gst_multi_queue_src_query), (single_queue_overrun_cb),
726 (single_queue_underrun_cb), (single_queue_check_full),
727 (gst_single_queue_new):
728 Keep track of time in the queue by measuring the difference between
729 running_time on input and output. This gives more accurate results and
730 can compensate for segments correctly.
731 Make a queue by default only 5 buffers deep. We will now increase the
732 buffer size depending on the filledness of the other queues.
733 Factor out commong flush code.
734 Make sure we don't add additional refcounts to buffers when we can avoid
736 Propagate GstFlowReturn differently.
737 Use GSlice for intermediate GstMultiQueueItems.
739 Resize queues on over and underruns based on filled level of other
741 When checking if the queue is filled, prefer to measure in time if we
742 can and fall back to bytes when no time is known.
744 * plugins/elements/gstqueue.c:
747 2007-06-15 Wim Taymans <wim@fluendo.com>
749 * libs/gst/base/gstbasetransform.c:
750 (gst_base_transform_sink_event):
751 Work around the brokenness of the event vmethod in basetransform. Prefer
752 to return TRUE when the subclass returned FALSE (meaning don't forward
755 * libs/gst/base/gstbasetransform.h:
758 2007-06-15 Wim Taymans <wim@fluendo.com>
760 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
761 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
762 (gst_base_src_default_query), (gst_base_src_get_range),
763 (gst_base_src_start):
764 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
767 2007-06-15 Stefan Kost <ensonic@users.sf.net>
769 * docs/pwg/advanced-types.xml:
770 Added more formats to caps table.
772 2007-06-15 Stefan Kost <ensonic@users.sf.net>
774 * tools/gst-launch.c: (main):
775 Remove crufy code. GOption does not need this workaround.
777 2007-06-14 Stefan Kost <ensonic@users.sf.net>
779 * libs/gst/controller/gstcontroller.c:
780 (gst_controlled_property_set_interpolation_mode):
781 Fix wrong getter for enums in controller.
783 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
785 * libs/gst/check/gstcheck.c: (gst_check_init):
786 Intercept criticals and warnings in the Gst-Phonon log domain, so
787 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
790 2007-06-14 Edward Hervey <edward@fluendo.com>
792 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
793 Since this file doesn't include "gst.h" it will not go through the
794 macros that disable GST_LOG if debugging was disabled.
796 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
798 * libs/gst/check/Makefile.am:
799 * libs/gst/check/gstcheck.h:
800 * pkgconfig/gstreamer-check-uninstalled.pc.in:
801 * pkgconfig/gstreamer-check.pc.in:
802 Ugly 'fix' for the controller unit test on the p5 bot: in
803 fail_unless_equals_float() check whether the values are 'almost
804 equal' by allowing a small absolute error, which should be good
805 enough for our use cases (normal numbers and values close to 0).
806 Proper fixage left to floating point arithmetic aficionados.
808 2007-06-14 Stefan Kost <ensonic@users.sf.net>
810 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
811 (gst_base_sink_render_object), (gst_base_sink_get_position):
812 Add two breaks thats where missing.
814 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
816 * docs/libs/gstreamer-libs-sections.txt:
817 * libs/gst/check/gstcheck.h:
818 API: add fail_unless_equals_float() and assert_equals_float().
819 Add documentation for some of the macros.
821 * tests/check/libs/controller.c: (GST_START_TEST):
822 Use newly-added asserts.
824 2007-06-14 Stefan Kost <ensonic@users.sf.net>
826 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
827 Show the caps change in the log to help spotting the case of not
828 exactly matching caps.
830 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
832 * docs/pwg/building-boiler.xml:
833 Fix typos, spotted by Thijs Vermeir (#447190).
835 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
837 * docs/plugins/tmpl/.cvsignore:
838 Ignore file to keep the buildbots happy
840 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
842 * docs/plugins/Makefile.am:
843 * docs/plugins/gstreamer-plugins-docs.sgml:
844 * docs/plugins/gstreamer-plugins-sections.txt:
845 Pull fdsink into the docs too.
847 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
849 * libs/gst/controller/gstinterpolation.c:
850 Actually use the new functions with min/max checks for the trigger and
851 none interpolation modes for get() and get_value_array() instead of
854 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
856 * libs/gst/controller/gstcontroller.c:
857 (gst_controlled_property_free):
858 Unset the minimum and maximum GValues when freeing the corresponding
859 GstControllerProperty struct.
861 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
863 * libs/gst/controller/gstcontroller.c:
864 (gst_controlled_property_new):
865 * libs/gst/controller/gstcontrollerprivate.h:
866 * libs/gst/controller/gstinterpolation.c:
867 (gst_controlled_property_find_control_point_node),
868 (interpolate_none_get), (interpolate_none_get_enum_value_array),
869 (interpolate_none_get_string_value_array),
870 (interpolate_trigger_get),
871 (interpolate_trigger_get_enum_value_array),
872 (interpolate_trigger_get_string_value_array):
873 Protect against values larger or smaller than the minimum or maximum
874 allowed value for the property when using values that can be compared.
876 Optimize trigger interpolator a bit by taking the last requested value
877 into account instead of always looping through the complete list.
879 Fix coding style a bit, everywhere else we use "return foo" instead
882 * tests/check/libs/controller.c: (GST_START_TEST),
883 (gst_controller_suite):
884 Add unit test for the protection against too large or too small
887 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
889 * docs/random/slomo/controller.txt:
890 Add some thoughts about the future of the controller.
892 2007-06-08 Wim Taymans <wim@fluendo.com>
894 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
895 Don't overflow in retimestamping code.
897 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
899 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
900 Use gst_util_guint64_to_gdouble for conversions.
901 * win32/common/libgstreamer.def:
902 Add new exported functions.
904 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
909 2007-06-07 Stefan Kost <ensonic@users.sf.net>
912 Remove that test line again.
914 2007-06-07 Stefan Kost <ensonic@users.sf.net>
917 Test commit mail sending.
919 2007-06-07 Stefan Kost <ensonic@users.sf.net>
922 Fix typo and test commit mail sending.
924 2007-06-07 Stefan Kost <ensonic@users.sf.net>
926 * tests/examples/controller/audio-example.c:
927 Improve comment and test commit mail sending.
929 2007-06-07 Wim Taymans <wim@fluendo.com>
931 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
932 (gst_bin_remove_func), (gst_bin_element_set_state),
933 (bin_handle_async_start), (bin_handle_async_done),
934 (gst_bin_handle_message_func):
935 Add helper function to find messages.
936 Generate the async-done messages together with the state change
938 Small cleanups in handling toplevel bins.
940 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
942 * libs/gst/base/gstdataqueue.c:
943 * libs/gst/base/gstdataqueue.h:
944 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
945 (gst_multi_queue_item_new), (gst_multi_queue_chain),
946 (gst_multi_queue_sink_event):
947 * tests/check/elements/multiqueue.c: (multiqueue_suite):
948 Fix multiqueue leaking buffers and events when downstream or the
949 queue are flushing. Make refcounting assumptions explicit and
950 document them (shouldn't break existing code that uses it other than
951 maybe leak miniobjects, but that already happens anyway). Add unit
952 test for the most common flushing case. Fixes #423700.
954 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
956 * libs/gst/controller/gstcontroller.c:
957 Clarify docs: The get_all, get_value_array(s) functions
958 don't modify the GObject properties.
960 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
962 * libs/gst/controller/gstcontroller.c:
963 (gst_controlled_property_set_interpolation_mode),
964 (gst_controlled_property_prepend_default),
965 (gst_controlled_property_new), (gst_controller_set_unlocked),
966 (gst_controller_set), (gst_controller_set_from_list),
967 (gst_controller_unset), (gst_controller_unset_all):
968 * libs/gst/controller/gstcontrollerprivate.h:
969 * libs/gst/controller/gstinterpolation.c:
970 Factor out the 'set' logic into gst_controller_set_unlocked for the
971 gst_controller_set and gst_controller_set_from_list functions.
973 To make life of the interpolators easier always add a control point
974 at timestamp zero with the default value.
976 In the linear interpolator make things more obvious by better variable
979 Implement cubic interpolation mode (by using a natural cubic spline)
980 and map the quadratic interpolation mode to this too (as quadratic
981 doesn't make much sense, see discussion on the list).
983 * tests/check/libs/controller.c: (GST_START_TEST),
984 (gst_controller_suite):
985 Add unit test for the cubic interpolation mode and check everywhere
986 if the interpolation mode could be set as expected.
988 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
990 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
991 Don't use GLib-2.10 functions, we still depend on
992 GLib-how-old-is-it-again-2.8.
994 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
996 * docs/gst/gstreamer-sections.txt:
1000 * gst/gstparamspecs.c: (_gst_param_fraction_init),
1001 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1002 (_gst_param_fraction_values_cmp),
1003 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1004 * gst/gstparamspecs.h:
1006 * tests/check/Makefile.am:
1007 * tests/check/gst/.cvsignore:
1008 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1009 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1010 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1011 (GST_START_TEST), (gst_param_spec_suite):
1012 API: add GstParamSpecFraction, so elements can have fraction
1013 properties without lots of painful string parsing (#444648).
1015 2007-06-05 Wim Taymans <wim@fluendo.com>
1017 * gst/gstobject.c: (gst_object_class_init):
1018 Fix signal signature.
1021 Add small clarification in the api docs.
1023 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1024 States are protected with object lock.
1026 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1029 I should probably be listed as an author by now.
1031 * docs/random/release:
1032 Update the release doc
1034 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1037 Make docs for gst_value_compare() mention return enums that
1040 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1045 === release 0.10.13 ===
1047 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1050 releasing 0.10.13, "With or without you"
1052 2007-05-25 Wim Taymans <wim@fluendo.com>
1054 * gst/gstbin.c: (bin_handle_async_done):
1055 Make sure that the child bin stops after completing the async state
1056 change so that the parent can continue the state change to PLAYING.
1059 2007-05-25 Wim Taymans <wim@fluendo.com>
1061 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1062 (unref_data), (gst_collect_pads_remove_pad),
1063 (gst_collect_pads_check_pads):
1064 Use additional refcounting to avoid crashes when dynamically adding and
1065 removing pads. Fixes #420206.
1067 2007-05-24 Wim Taymans <wim@fluendo.com>
1069 * tools/gst-launch.c: (event_loop):
1070 When buffering goes from a two digit to a single digit number, make sure
1071 to remove the old second digit by writing a blank over it.
1073 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1075 * libs/gst/base/gstdataqueue.c:
1076 Eliminate tabs and trailing comma in enum list; fix some typos.
1078 2007-05-24 Wim Taymans <wim@fluendo.com>
1080 * tests/check/gst/gstbin.c: (GST_START_TEST):
1081 Allow refcount of 3 and 4 because some state thread might still be busy
1084 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1086 * plugins/elements/Makefile.am:
1087 * plugins/elements/gstmultiqueue.h:
1088 * plugins/elements/gstqueue.h:
1089 These are not installed headers, no need for padding.
1091 2007-05-24 Wim Taymans <wim@fluendo.com>
1093 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1094 (gst_bin_continue_func):
1095 Enable latency for next release.
1096 Restore STATE_LOCK around recalc_state that was left out during the
1097 rewrite and could result in racy behaviour when _get_state and
1098 recalc_state are run concurrently. See #440463.
1100 2007-05-23 Wim Taymans <wim@fluendo.com>
1102 * tests/check/gst/gstsystemclock.c: (store_callback),
1104 Improve test_async_order to also work when both timers are already
1105 expired when we get scheduled to check it.
1107 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1109 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1110 (gst_bin_set_property), (gst_bin_get_property),
1111 (gst_bin_remove_func), (gst_bin_handle_message_func):
1113 'private' is a c++ keyword, let's not use that in header files,
1114 otherwise c++ compilers will throw a tantrum.
1116 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1118 * plugins/elements/gstelements.c:
1119 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1120 (gst_file_sink_get_current_offset):
1121 * plugins/indexers/gstindexers.c: (plugin_init):
1122 Use #ifdef for HAVE_XYZ for consistency.
1124 * tests/check/Makefile.am:
1125 * tests/check/elements/.cvsignore:
1126 * tests/check/elements/filesink.c: (setup_filesink),
1127 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1128 Add some unit tests for filesink.
1130 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1132 Patch by: Mark Nauwelaerts <manauw at skynet be>
1134 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1135 (gst_file_sink_query), (gst_file_sink_do_seek),
1136 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1137 * plugins/elements/gstfilesink.h:
1138 Fix position reporting; rename data_written member to current_pos to
1139 reflect its real meaning (fixes #412648).
1141 2007-05-22 Edward Hervey <edward@fluendo.com>
1143 * docs/gst/gstreamer-sections.txt:
1144 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1145 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1146 (gst_bin_remove_func), (gst_bin_handle_message_func):
1148 Add a property for bins that handle the state change of their childs.
1151 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1153 * libs/gst/controller/gstinterpolation.c:
1154 Use an array of the correct type when using _get_value_array with
1155 linear interpolation.
1157 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1159 * gst/gstelement.c (gst_element_requires_clock,
1160 gst_element_provides_clock, gst_element_request_pad,
1161 gst_element_class_set_details, gst_element_class_set_details_simple,
1162 gst_element_default_send_event, gst_element_abort_state,
1163 gst_element_continue_state, gst_element_set_state,
1164 gst_element_set_state_func, iterator_activate_fold_with_resync):
1165 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1166 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1167 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1168 gst_pad_get_range, gst_pad_pull_range):
1169 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1170 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1171 GstPadActivateModeFunction, GstPadChainFunction,
1172 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1173 GstPadFixateCapsFunction, GstPadTemplate):
1174 * gst/gstpipeline.c (gst_pipeline_change_state,
1175 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1176 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1177 gst_pipeline_get_delay):
1178 Whitespace and docs fixes.
1180 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1182 * libs/gst/controller/gstinterpolation.c:
1183 (interpolate_trigger_get_enum_value_array),
1184 (interpolate_trigger_get_string_value_array):
1185 Add support for retrieving value arrays when using the trigger
1188 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1190 * libs/gst/controller/gstcontroller.c:
1191 (gst_controller_get_value_array):
1192 * libs/gst/controller/gstcontroller.h:
1193 Clarify the docs of gst_controller_get_value_array(): The array where
1194 the values should be written to must be allocated as there seems to be
1195 no way to get the size of a random GType. This doesn't change any
1196 behaviour. Also fix some typos all over the place and remove an unused,
1197 commented function that is not necessary as g_object_set() could be
1199 * tests/check/libs/controller.c: (GST_START_TEST),
1200 (gst_controller_suite):
1201 Add unit test for gst_controller_get_value_array().
1203 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1205 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1207 Disable part of the gst_buffer_try_new_and_alloc test, because
1208 it can happily succeed on 64-bit systems where there's more address
1211 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1213 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1214 Add unit test for the improved caps checking from bug #421543.
1216 2007-05-21 Wim Taymans <wim@fluendo.com>
1218 * docs/design/part-synchronisation.txt:
1221 * gst/gstbin.c: (gst_bin_query):
1222 * plugins/elements/gstqueue.c: (apply_segment):
1228 2007-05-21 Wim Taymans <wim@fluendo.com>
1230 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1231 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1232 (gst_pad_configure_src):
1233 Added simple version of improved caps checking. It was previously
1234 assumed that a setcaps function would check the validity of the caps but
1235 people prefer us to check caps against the template automatically.
1238 2007-05-21 Wim Taymans <wim@fluendo.com>
1240 * libs/gst/base/gstbasetransform.h:
1241 Fix macro for locking/unlocking the transform lock.
1243 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1245 * docs/plugins/tmpl/.cvsignore:
1248 2007-05-18 Edward Hervey <edward@fluendo.com>
1250 * plugins/elements/gstqueue.c: (gst_queue_loop):
1251 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1252 for the subtle art of warning a potentially blocking thread that it
1253 should check the source pad return value, and relay the information
1256 2007-05-18 Edward Hervey <edward@fluendo.com>
1258 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1259 Release the queue lock !
1261 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1263 * docs/libs/gstreamer-libs-sections.txt:
1264 Add the two new controller functions to the appropiate places.
1266 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1268 reviewed by: Stefan Kost <ensonic@users.sf.net>
1270 * libs/gst/controller/gstcontroller.c:
1271 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1272 (_gst_controller_get_property), (_gst_controller_set_property),
1273 (_gst_controller_init), (_gst_controller_class_init):
1274 * libs/gst/controller/gstcontroller.h:
1275 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1276 (gst_object_get_control_rate), (gst_object_set_control_rate):
1277 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1278 Add API that provides sync suggestion timestamps for elements that
1279 call gst_object_sync_values() from which those elements can subdivide
1280 their processing loop to get the best results for the controlled
1281 properties. For now it just suggests last_sync + control_rate as
1282 new timestamp but this will be improved in the future.
1284 While doing that change the control-rate property to a GstClockTime
1285 from guint and change it's meaning from samples to nanoseconds as
1286 the GstController doesn't know anything about sampling rate. Strictly
1287 speaking this breaks ABI but as the control-rate property didn't do
1288 anything in the past and as such couldn't be used this should be no
1291 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1293 reviewed by: Stefan Kost <ensonic@users.sf.net>
1295 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1296 (gst_controller_unset_all):
1297 * libs/gst/controller/gstcontrollerprivate.h:
1298 * libs/gst/controller/gstinterpolation.c:
1299 (gst_controlled_property_find_control_point_node):
1300 Save last synced value from the list to continue searching from there
1301 in future syncs. This speeds everything up a bit.
1303 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1305 reviewed by: Stefan Kost <ensonic@users.sf.net>
1307 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1308 (gst_control_point_find), (gst_controlled_property_new),
1309 (gst_control_point_free), (gst_controlled_property_free),
1310 (gst_controller_set), (gst_controller_set_from_list),
1311 (gst_controller_unset), (gst_controller_unset_all),
1312 (gst_controller_sync_values):
1313 * libs/gst/controller/gstcontroller.h:
1314 * libs/gst/controller/gstcontrollerprivate.h:
1315 * libs/gst/controller/gstinterpolation.c:
1316 (gst_controlled_property_find_control_point_node),
1317 (interpolate_none_get), (interpolate_trigger_get):
1318 Add a new private GstControlPoint struct which "inherits" from
1319 GstTimedValue to allow different interpolators to store internal
1320 values next to each control point. From the outside everything is
1321 still a GstControlPoint so we don't loose binary compatibility.
1322 Also fixup all the GValue handling to not leak GValues or list nodes.
1323 * tests/check/libs/controller.c: (GST_START_TEST):
1324 Free the list nodes and GValues in the controller_misc test.
1326 2007-05-17 Edward Hervey <edward@fluendo.com>
1331 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1333 * gst/gstplugin.c: (gst_plugin_load_file):
1334 If we fail to load a plugin because of unresolved symbols or missing
1335 libraries and spew a warning to stderr, we may just as well mention
1336 which plugin it was that failed to load.
1338 2007-05-13 David Schleef <ds@schleef.org>
1340 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1341 handles the case when ENABLE_GTK_DOC is false, and installs
1342 the prebuilt documentation. So gtk-doc subdirs are
1343 unconditionally enabled. Fixes: #349099.
1345 2007-05-13 David Schleef <ds@schleef.org>
1347 * gst/gstutils.h: Reword some documentation.
1349 2007-05-12 David Schleef <ds@schleef.org>
1351 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1352 do anything with the passed "module" parameter, so remove it.
1353 Allows removal of additional vestigal code.
1355 2007-05-12 David Schleef <ds@schleef.org>
1358 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1359 Switch to using g_stat() because it's more portable.
1361 2007-05-12 David Schleef <ds@schleef.org>
1364 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1365 parsing for embedded systems.
1366 * gst/gstelementfactory.c:
1367 Allow gst_element_register() to be called with plugin==NULL.
1368 Did nobody notice that static elements were broken?
1370 2007-05-12 Wim Taymans <wim@fluendo.com>
1372 * tools/gst-launch.c: (event_loop):
1373 Give more interesting info when buffering starts and stops.
1374 Fix case where buffering starts but we fail to update the buffering flag
1375 because the target state is not PLAYING.
1377 2007-05-12 Wim Taymans <wim@fluendo.com>
1379 * plugins/elements/gstqueue.c: (gst_queue_init),
1380 (gst_queue_finalize), (update_time_level), (apply_segment),
1381 (apply_buffer), (gst_queue_locked_flush),
1382 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1383 (gst_queue_handle_sink_event), (gst_queue_chain),
1384 (gst_queue_push_one), (gst_queue_loop):
1385 * plugins/elements/gstqueue.h:
1386 Refactor an cleanup queue a bit.
1387 Do better time level calculations that also work when the srcpad is not
1389 Remove some unneeded debug lines.
1391 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1392 Added testcase for time level measurement.
1393 Try to make some stuff more racefree.
1395 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1397 * gst/gsturi.c: (gst_element_make_from_uri):
1398 Don't leak plugin feature.
1400 * tests/check/Makefile.am:
1401 * tests/check/gst/.cvsignore:
1402 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1403 Add brain-dead unit test.
1405 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1407 Patch by: Jeroen Wouters <woutersj at gmail com>
1409 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1410 Treat protocol strings in a case-insensitive way (#437563).
1412 2007-05-11 Michael Smith <msmith@fluendo.com>
1414 * gst/gstplugin.c: (gst_plugin_load_file):
1415 * gst/gstregistry.c: (gst_registry_scan_path_level):
1416 Don't print a g_warning for any failure to load a shared object.
1417 Instead, push this down into gstplugin.c, and warn _only_ if we
1418 failed to open the module (i.e. failure to link).
1419 Avoids warnings on normal, working, non-plugin .so files.
1421 2007-05-11 Stefan Kost <ensonic@users.sf.net>
1423 * gst/gstplugin.c (gst_plugin_load_file):
1424 * gst/gstregistry.c (GST_CAT_DEFAULT,
1425 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1426 Print a g_warning if there was an error when loading a plugins during
1427 registry scan. The shuld help beginners starting with gst-plugin
1430 2007-05-10 Wim Taymans <wim@fluendo.com>
1432 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1433 (update_time_level), (gst_queue_locked_flush),
1434 (gst_queue_handle_sink_event), (gst_queue_chain),
1435 (gst_queue_push_one), (gst_queue_loop):
1436 * plugins/elements/gstqueue.h:
1437 Be smarter when calculating the current amount of data in the queue by
1438 measuring the difference between start and end timestamps (in running
1439 time) inside the queue. Fixes #432876.
1440 API: GstQueue::pushing to notify elements that we are pushing data again
1441 since the running signal is rather broken for this purpose.
1443 2007-05-10 Stefan Kost <ensonic@users.sf.net>
1445 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1446 gst_queue_base_init, gst_queue_init):
1449 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
1451 * win32/common/libgstreamer.def:
1452 Add new exported functions.
1453 * win32/vs6/grammar.dsp:
1454 Use grammar pre-generated files.
1456 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1458 Based on patch by: Peter Kjellerstedt <pkj at axis com>
1461 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1463 * gst/gstutils.c: (gst_parse_bin_from_description):
1465 Maintain API and ABI when --disable-parse is used. Now that
1466 we have an appropriate error code, we can just return NULL and the
1467 appropriate error when gst_parse_launch() is used despite it having
1468 been disabled (#342564).
1470 * tests/check/Makefile.am:
1471 * tests/check/pipelines/.cvsignore:
1472 * tests/check/pipelines/parse-disabled.c:
1473 Make sure these functions exist and return NULL plus a GError when
1474 --disable-parse is used.
1476 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1478 * tests/benchmarks/complexity.c: (main):
1479 * tests/benchmarks/mass-elements.c: (main):
1480 Set a good example and don't leak messages.
1482 2007-05-06 Stefan Kost <ensonic@users.sf.net>
1484 * docs/gst/Makefile.am:
1485 * docs/libs/Makefile.am:
1486 Correct fixxrefs options.
1488 * docs/plugins/Makefile.am:
1489 * docs/plugins/gstreamer-plugins-docs.sgml:
1490 * docs/plugins/gstreamer-plugins-sections.txt:
1491 * plugins/elements/Makefile.am:
1492 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1493 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1494 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1495 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1496 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1497 _GstCapsFilterClass, trans_class):
1498 * plugins/elements/gstelements.c (name, rank, type, _elements):
1499 * plugins/elements/gstidentity.c
1500 (gst_identity_check_imperfect_timestamp,
1501 gst_identity_check_imperfect_offset):
1502 Document capsfilter and add doc-blurb to identity.
1504 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
1506 * libs/gst/controller/gstcontroller.c:
1507 (gst_controlled_property_set_interpolation_mode):
1508 * libs/gst/controller/gstinterpolation.c:
1509 Don't crash if someone tries to set an interpolation mode that
1510 is invalid or that isn't supported yet. Fixes #422295.
1512 * tests/check/libs/controller.c: (GST_START_TEST),
1513 (gst_controller_suite):
1514 Add a test case for the above.
1516 2007-05-03 Edward Hervey <edward@fluendo.com>
1518 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1519 Properly set the last_stop position on GstSegment. This will only happen
1520 if there is a buffer to push out.
1522 2007-05-03 Wim Taymans <wim@fluendo.com>
1524 * libs/gst/base/gstbasetransform.c:
1525 (gst_base_transform_buffer_alloc):
1526 always_in_place does not mean that the sink and source caps are the
1527 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1529 2007-05-03 Wim Taymans <wim@fluendo.com>
1531 * docs/libs/gstreamer-libs-sections.txt:
1532 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1533 (gst_base_src_default_query), (gst_base_src_get_range):
1534 * libs/gst/base/gstbasesrc.h:
1535 API: gst_base_src_query_latency(). Added method so that subclasses can
1536 easily get the latency values of the base source class.
1538 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1540 * tools/gst-inspect.c (print_implementation_info):
1543 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1545 * tools/Makefile.am:
1546 * tools/gst-launch.1.in:
1547 Don't create a customised man page based on the host architecture,
1548 describe the default registry path generically. That way the man
1549 page is the same for all architectures and packagers have one
1550 multilib issue less to deal with. Fixes #434926.
1552 2007-05-02 Wim Taymans <wim@fluendo.com>
1555 Fix documentation as spotted by rg on IRC.
1557 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1560 Improve docs for gst_element_{link,unlink}.
1562 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1564 * docs/design/part-events.txt:
1565 * docs/design/part-overview.txt:
1569 * libs/gst/base/gstbasesink.c:
1570 Typo fixes; minor docs addition.
1572 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1574 * docs/gst/gstreamer-sections.txt:
1575 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1576 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1578 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1579 or src that supports a given URI protocol exists.
1581 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1583 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1584 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1585 Set the location to NULL if "file://" is set as URI. Otherwise
1586 some random previous URI would still be set if "file://" is
1587 set on an already used filesink/filesrc.
1589 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1591 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1592 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1593 Special case the "file://" URI as as this is used by some
1594 applications to test with gst_element_make_from_uri if there's
1595 an element that supports the URI protocol.
1596 Also move the g_path_is_absolute() check for the location part
1597 of the URI to also check this for "file://localhost/bla" URIs.
1599 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1601 * docs/gst/gstreamer-sections.txt:
1602 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1604 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1606 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1608 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1610 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1611 (gst_registry_binary_load_pad_template),
1612 (gst_registry_binary_load_plugin),
1613 (gst_registry_binary_read_cache):
1614 * gst/gstregistrybinary.h:
1615 Implement no-mmap alternative for registry reading. Do code cleanups.
1616 Add more comments about avoiding strdups for all text data. Comments
1619 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1621 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1622 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1623 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1624 Comment structs and reformat to fix the build (that stuff should go
1625 into a priv. header).
1627 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1629 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1630 (gst_registry_binary_load_feature):
1631 * gst/gstregistrybinary.h:
1632 Refactor so that we can implement multiple features. Add support for
1633 TypeFindFactory features.
1635 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1637 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1640 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1642 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1644 * gst/gstbin.c: (gst_bin_element_set_state),
1645 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1646 (bin_handle_async_done), (gst_bin_handle_message_func):
1647 Fix build with --gst-disable-gst-debug
1649 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1651 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1652 Make sure streaming has finished before calling the ::stop() vfunc,
1653 since that vfunc might clear state which is being used in the
1654 streaming thread. This fixes a race that caused crashes in
1655 audioresample when shutting down a pipeline (#420106).
1657 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1659 * docs/gst/gstreamer-sections.txt:
1660 That was one byte missing.
1662 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1665 * docs/gst/gstreamer-sections.txt:
1667 * gst/gstconfig.h.in:
1668 * gst/gstobject.c: (gst_object_class_init),
1669 (gst_signal_object_class_init):
1671 2nd attempt to have a xml-less build as a joined effort of #413123
1674 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1676 * docs/design/draft-tagreading.txt:
1677 Added open issues/thoughts to draft.
1679 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1681 * gst/parse/grammar.tab.pre.c:
1682 * gst/parse/grammar.tab.pre.h:
1683 * gst/parse/lex._gst_parse_yy.pre.c:
1684 Update the prebuild parser sources.
1686 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1688 * gst/parse/Makefile.am:
1689 And now fix the building of the flex sources. Now everything should
1692 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1694 * gst/parse/Makefile.am:
1695 Now hopefully fix the build failures by setting proper rule
1696 dependencies and moving instead of copying.
1698 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1700 * tests/benchmarks/complexity.gnuplot:
1701 * tests/benchmarks/complexity.scm:
1702 * tests/benchmarks/mass-elements.gnuplot:
1703 * tests/benchmarks/mass-elements.scm:
1704 Total licensification.
1706 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1708 * gst/parse/Makefile.am:
1709 Fix the build by correcting the rule that gave wrong files to flex.
1711 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1713 * tests/benchmarks/complexity.c:
1714 * tests/benchmarks/mass-elements.c:
1715 Change licence to LGPL as granted by Benjamin and Andy.
1717 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1719 * gst/parse/Makefile.am:
1720 Add correct grammar.tab.h dependency if compiling without new enough
1721 flex. Fixes #431150.
1723 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1725 * gst/parse/Makefile.am:
1726 Fix typo and use outdated sources if the flex/bison sources are newer
1727 than the pregenerated ones but flex is too old. Print a warning in
1728 that case. This should fix the build on the build bot.
1730 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1732 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1733 * gst/parse/Makefile.am:
1734 * gst/parse/grammar.y:
1735 * gst/parse/parse.l:
1736 Make the parser reentrant and recursively callable. This requires flex
1737 >= 2.5.31, for older versions pregenerated sources are used as we
1738 can't bump the build dependency. Finally fixes #349180.
1740 * gst/gstparse.c: (gst_parse_launch):
1741 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1744 * docs/gst/Makefile.am:
1745 * docs/gst/Makefile.am:
1746 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1747 (__gst_parse_strfree), (__gst_parse_link_new),
1748 (__gst_parse_link_free), (__gst_parse_chain_new),
1749 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1750 (gst_parse_element_set), (gst_parse_free_link),
1751 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1752 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1753 (_gst_parse_launch):
1754 * gst/parse/grammar.tab.pre.h:
1755 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1756 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1757 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1758 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1759 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1760 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1761 (_gst_parse_yypop_buffer_state),
1762 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1763 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1764 (yy_fatal_error), (_gst_parse_yyget_extra),
1765 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1766 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1767 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1768 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1769 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1770 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1771 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1772 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1773 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1774 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1775 (_gst_parse_yyfree):
1776 If the installed flex version is too old use pre-generated parser
1777 sources. These pre-generated parser sources are always updated when
1778 the actual flex/bison sources change but require everybody who wants
1779 to change something in the parser to have flex >= 2.5.31 installed.
1781 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1783 * common/m4/gst-gettext.m4:
1784 * gst/gst-i18n-lib.h:
1785 Make --disable-nls to work
1787 2007-04-17 Wim Taymans <wim@fluendo.com>
1789 * gst/gstconfig.h.in:
1790 Revert previous change that broke the build.
1792 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1796 * gst/gstconfig.h.in:
1797 Drop libxml2 dependency when building with
1798 --enable-binary-registry --disable-loadsave
1800 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1802 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1803 (gst_registry_binary_read_cache):
1804 * gst/gstregistrybinary.h:
1805 Remove unnecessary <sys/mman.h> include which broke the win32 build
1806 with MingW; move includes from header file to .c file, even if the
1807 header file isn't installed; use g_strerror() where UTF-8 strings
1808 are expected, such as in GST_DEBUG messages.
1810 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1812 * docs/libs/gstreamer-libs-sections.txt:
1813 Remove bogus addition for API I didn't end up keeping.
1815 * libs/gst/base/gstbasesrc.h:
1816 Mention Since: 0.10.13 in the documentation.
1818 Add the API keyword to the previous ChangeLog entry.
1820 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1822 * docs/libs/gstreamer-libs-sections.txt:
1823 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1824 (gst_base_src_default_prepare_seek_segment),
1825 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1826 * libs/gst/base/gstbasesrc.h:
1827 Allow basesrc derived classes to execute seeks in other formats
1828 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1829 to prepare the GstSegment in any format that their perform_seek method
1830 will be able to understand. The default implementation provides the
1831 old behaviour of attempting to convert the seek offsets to the
1832 configured native format.
1834 API: basesrc::prepare_seek_segment vmethod.
1836 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1838 * gst/gstelement.c: (gst_element_get_state_func):
1839 Don't output the same debug statement twice.
1841 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1842 (gst_adapter_peek), (gst_adapter_take_buffer):
1843 Optimise the case where we have buffers at the head of the queue that
1844 can be joined quickly (because they're contiguous sub-buffers) by
1845 merging them together rather than copying data out into new memory.
1847 * gst/parse/grammar.y:
1848 * tests/check/pipelines/parse-launch.c:
1849 Fix a leak in an error path for parse_launch, and add a check
1850 for it to the testsuite.
1852 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1854 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1855 Don't deadlock when releasing a pad - gst_pad_set_active may try
1856 and take the multiqueue lock too.
1858 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1860 * gst/gsterror.c: (_gst_core_errors_init):
1862 API: add GST_CORE_ERROR_DISABLED (#392804).
1864 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1866 * docs/faq/gst-uninstalled:
1867 don't get empty paths on the PATH variables
1868 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1869 Don't format for the uncommon terminal width of 84 characters.
1871 2007-04-06 Wim Taymans <wim@fluendo.com>
1873 * gst/gstpipeline.c: (reset_stream_time),
1874 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1875 Only try to select a different pipeline clock when we went back to
1876 PAUSED and not when we merely got flushed.
1878 2007-04-05 Michael Smith <msmith@fluendo.com>
1880 * tools/gst-launch.1.in:
1881 fractions are better supported in gstreamer than ractions, so
1882 suggest using those.
1884 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1886 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1890 Added Danish translation.
1892 2007-04-05 Wim Taymans <wim@fluendo.com>
1894 * libs/gst/base/gstbasesink.c:
1895 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1896 Fix leak caused when refusing newsegment after EOS.
1898 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1899 (gst_fake_sink_init), (gst_fake_sink_set_property),
1900 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1901 (gst_fake_sink_render), (gst_fake_sink_change_state):
1902 * plugins/elements/gstfakesink.h:
1903 Add num-buffers property to make the element generate EOS after a
1904 configurable amount of buffers.
1905 API: fakesink::num-buffers property.
1907 * tests/check/elements/fakesink.c: (GST_START_TEST),
1909 Fix GstBus leak in test.
1910 Test for fakesink num-buffers.
1912 2007-04-05 Wim Taymans <wim@fluendo.com>
1914 * libs/gst/base/gstbasesink.c:
1915 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1916 (gst_base_sink_change_state):
1917 Don't accept anything after an EOS, return UNEXPECTED instead.
1919 * tests/check/elements/fakesink.c: (GST_START_TEST),
1921 Unit test for new EOS behaviour.
1923 2007-04-05 Wim Taymans <wim@fluendo.com>
1925 * gst/gstelement.c: (gst_element_get_request_pad):
1926 Make padtemplates also work when they don't contain %s or %d.
1928 2007-04-05 Wim Taymans <wim@fluendo.com>
1930 * docs/gst/gstreamer-sections.txt:
1931 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1932 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1934 Improve _adjust_unlocked() so that it overflows less.
1935 Add gst_clock_unadjust_unlocked to convert from external time to
1936 internal time based on calibration.
1937 Add some more debug.
1938 API: GstClock::gst_clock_unadjust_unlocked()
1940 2007-04-03 Wim Taymans <wim@fluendo.com>
1942 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1944 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1945 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1946 when releasing sink pad. Fixes #425400.
1948 2007-04-02 Stefan Kost <ensonic@users.sf.net>
1950 * docs/random/ensonic/dynlink.txt:
1951 More work on proposal for new core api.
1953 * docs/libs/gstreamer-libs-sections.txt:
1954 * libs/gst/base/gstbasetransform.h:
1955 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1957 * libs/gst/controller/gstcontroller.c:
1958 (on_object_controlled_property_changed),
1959 (gst_controller_sync_values),
1960 (gst_controller_set_interpolation_mode):
1961 * libs/gst/controller/gstcontroller.h:
1962 Less verbose logging add docs for unimplemented parts and correctly
1963 return when using unavailable parts.
1965 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1967 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1968 Move all the debug to the CLOCK category, and associate it with
1971 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1973 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1974 Make take_buffer a bit quicker by removing redundant checks
1975 caused by calling gst_adapter_take.
1977 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1979 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1982 * tests/check/Makefile.am:
1983 * tests/check/elements/.cvsignore:
1984 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1985 (GST_START_TEST), (multiqueue_suite):
1986 Add some dead simple unit tests for the 'multiqueue' element
1987 (some bits don't work yet and are disabled for now).
1989 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1991 * gst/gstelement.c: (gst_element_get_request_pad),
1992 (gst_element_class_get_request_pad_template):
1993 Make gst_element_get_request_pad() create request pads only for
1994 request pad templates and not for, say, sometimes pad templates.
1996 2007-03-28 Stefan Kost <ensonic@users.sf.net>
1998 * docs/design/draft-klass.txt:
1999 Add example that needs more thinking.
2001 * docs/design/draft-missing-plugins.txt:
2002 More thoughts about wrapper plugins.
2004 * docs/random/ensonic/embedded.txt:
2005 * docs/random/ensonic/profiling.txt:
2008 2007-03-25 Wim Taymans <wim@fluendo.com>
2010 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2011 (gst_base_src_loop):
2012 Only push the segment events in the PLAYING state for live sources.
2014 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
2016 * gst/gstpipeline.c: (gst_pipeline_change_state):
2017 Modify the clock distribution path in PAUSED->PLAYING so that we
2018 never attempt to choose a new clock unless we're actually leaving
2019 the PAUSED state for the first time. This prevents choosing a
2020 different clock when the state_change gets called for a 2nd time due
2021 to some element doing an async state change.
2023 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2025 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2026 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2027 (gst_pad_chain_unchecked), (gst_pad_push):
2028 Revert last commit. This needs some more thoughts.
2030 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2032 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2033 (gst_pad_chain_unchecked), (gst_pad_push):
2034 Check in set_caps if the caps are compatible with the pad and remove
2035 two functions that are redundant now. Fixes #421543.
2037 2007-03-22 Wim Taymans <wim@fluendo.com>
2039 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2040 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2041 Unref some more to make valgrind happy.
2043 2007-03-22 Wim Taymans <wim@fluendo.com>
2045 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2046 (gst_system_clock_id_wait_jitter),
2047 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2048 Fix anoying regression that survived a few releases. When adding an
2049 async entry while blocking on a sync entry, the sync entry will unblock
2050 but still be busy, so it should continue to wait instead of returning
2052 Add some comments here and there.
2054 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2055 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2056 Add testcase for this.
2058 2007-03-22 Wim Taymans <wim@fluendo.com>
2060 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2061 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2062 WRONG_STATE and can silently pause the task. All other cases should
2065 2007-03-22 Wim Taymans <wim@fluendo.com>
2067 Patch by: Ville Syrjala <syrjala at sci dot fi>
2069 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2070 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2073 2007-03-21 Michael Smith <msmith@fluendo.com>
2075 * docs/pwg/advanced-types.xml:
2076 Fix some errors in the typefinding docs pointed out on irc.
2078 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2080 * libs/gst/base/gstbasesrc.c:
2081 Clarify FIXME comment in the face of having added unlock_stop()
2083 2007-03-21 Wim Taymans <wim@fluendo.com>
2085 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2086 Prepare for release where we warn against possible app breakage in the
2087 case of live pipelines along with an env var to enable/disable live
2088 preroll mode (GST_COMPAT=[no-]live-preroll).
2090 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2092 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2093 So we should use correct constants for checking for None offset.
2095 2007-03-20 Wim Taymans <wim@fluendo.com>
2097 * docs/design/part-block.txt:
2098 Mention the fact that the newly switched element should be set to at
2101 2007-03-20 Wim Taymans <wim@fluendo.com>
2104 Fix compilation with registry disabled as spotted by Saur.
2106 2007-03-20 Wim Taymans <wim@fluendo.com>
2108 Patch by: Olivier Crete <tester at tester dot ca>
2110 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2111 Look at the pending state too when syncing the element state to the
2112 parent. Fixes #420133.
2114 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2116 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2117 (gst_base_sink_change_state):
2118 * libs/gst/base/gstbasesink.h:
2119 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2120 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2121 (gst_base_src_deactivate):
2122 * libs/gst/base/gstbasesrc.h:
2123 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2124 for sub-classes to correctly clear any state they set trying to
2125 unlock, such as clearing out unlock commands from a command fd.
2126 API: basesrc::unlock_stop
2127 API: basesink::unlock_stop
2129 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2130 (gst_fd_sink_render), (gst_fd_sink_unlock),
2131 (gst_fd_sink_unlock_stop):
2132 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2133 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2134 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2136 Implement unlock_stop in fdsrc and fdsink.
2137 Implement seeking in fdsrc when a seekable fd is passed, as in
2138 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2140 2007-03-19 Wim Taymans <wim@fluendo.com>
2142 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2144 * gst/gstelement.c: (gst_element_class_init):
2145 Fix pad-added and pad-removed signal signatures so that the pad type is
2146 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2148 2007-03-19 Wim Taymans <wim@fluendo.com>
2150 * docs/gst/gstreamer-sections.txt:
2151 Add new element field and method.
2153 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2154 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2155 (gst_bin_recalc_state), (gst_bin_get_state_func),
2156 (gst_bin_element_set_state), (gst_bin_change_state_func),
2157 (gst_bin_continue_func), (bin_bus_handler),
2158 (bin_push_state_continue), (bin_handle_async_start),
2159 (bin_handle_async_done), (gst_bin_handle_message_func):
2160 Make async state changes a bit smarter by using new ASYNC_START and
2161 ASYNC_DONE messages. This reduces the number of times we run the state
2162 recalculation thread.
2163 Don't change state of element with a pending ASYNC_START message.
2164 Deprecate STATE_DIRTY messages.
2166 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2167 (gst_element_get_state_func), (gst_element_continue_state),
2168 (gst_element_lost_state), (gst_element_set_state_func),
2169 (gst_element_change_state):
2171 Keep the state that was last set by the app in a new element field.
2172 Don't allow state changes when handling an element event.
2173 Post ASYNC_START and ASYNC_DONE messages.
2174 Change lost_state so that we go to PAUSED and wait for the parent to set
2175 us to PLAYING again (so latency calculation can be performed)
2176 Export gst_element_change_state() method so that subclasses can use it.
2177 API: gst_element_change_state()
2178 API: GST_STATE_TARGET
2180 * gst/gstpipeline.c: (gst_pipeline_class_init),
2181 (reset_stream_time), (gst_pipeline_change_state),
2182 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2183 Using the new ASYNC_START message we can reset the base_time when
2184 needed. This can then be used to implement base_time redistribution in
2185 flushing seeks so that we can remove the explicit seek handling.
2186 Perform latency query and configuration when going to PLAYING.
2188 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2189 (gst_base_sink_query), (gst_base_sink_change_state):
2190 Post new ASYNC_START/ASYNC_DONE messages.
2192 * tests/check/generic/sinks.c: (GST_START_TEST):
2193 Fix test because the bin will not set the async element to PLAYING right
2196 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2197 Make the message check a little stronger.
2198 Handle ASYNC messages.
2200 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2201 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2202 Expect ASYNC_DONE messages.
2204 2007-03-19 Wim Taymans <wim@fluendo.com>
2206 * docs/gst/gstreamer-sections.txt:
2207 * gst/gstmessage.c: (gst_message_new_async_start),
2208 (gst_message_new_async_done), (gst_message_parse_info),
2209 (gst_message_parse_async_start):
2211 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2214 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2216 * tools/gst-inspect.c:
2217 (print_plugin_automatic_install_info_codecs):
2218 Now that we don't check for the 'Codec' keyword any longer in the
2219 klass, we shouldn't spew a warning if the klass isn't a decoder or
2220 encoder (since it might be a Source/Network, for example).
2222 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2224 * tools/gst-inspect.c:
2225 (print_plugin_automatic_install_info_codecs):
2226 Don't require decoder/demuxer/depayloader elements or
2227 encoder/muxer/paylader elements to have 'Codec' as part of their
2228 factory class string when introspecting a plugin's capabilities.
2229 draft-klass.txt mentions that it might be removed in future, and
2230 flump3dec doesn't have it as part of its class string, so chances
2231 are others might also not have it.
2233 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2255 Update translations from translation project
2257 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2259 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2260 (gst_child_proxy_set_property):
2261 Invert precondition check to be alike the ones in the mimiced gobject
2264 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2266 * docs/design/draft-tagreading.txt:
2267 * docs/random/ensonic/audiobaseclasses.txt:
2268 Do some Architect work.
2270 * gst/gstobject.c: (gst_object_set_name):
2274 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2276 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2278 * gst/gstsystemclock.c: (gst_system_clock_init),
2279 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2280 Defer starting the async system clock thread until the first async
2281 wait is scheduled. Fixes #414986.
2283 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2285 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2286 (gst_single_queue_free):
2287 Fix small leak (free GstSingleQueue structure too, not only contents).
2289 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2291 * gst/gstbin.c:(gst_bin_add):
2292 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2293 * win32/common/libgstbase.def:
2294 * win32/common/libgstreamer.def:
2295 Add new exported functions.
2297 2007-03-09 Wim Taymans <wim@fluendo.com>
2299 * docs/plugins/gstreamer-plugins-sections.txt:
2302 2007-03-09 Wim Taymans <wim@fluendo.com>
2304 * docs/gst/gstreamer-sections.txt:
2305 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2307 Add metadata copy functions. Fixes #393099.
2308 API: gst_buffer_copy_metadata()
2310 * gst/gstutils.c: (gst_buffer_stamp):
2311 * libs/gst/base/gstbasetransform.c:
2312 (gst_base_transform_prepare_output_buffer):
2313 Use new metadata copy functions.
2315 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2317 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2318 (gst_identity_init), (gst_identity_check_perfect),
2319 (gst_identity_check_imperfect_timestamp),
2320 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2321 (gst_identity_set_property), (gst_identity_get_property):
2322 * plugins/elements/gstidentity.h:
2323 Separate out check-imperfect-timestamp and check-imperfect-offset.
2324 Put back check-perfect as it was to keep compatibility.
2326 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2328 * gst/gstelement.c: (gst_element_dispose):
2329 There's no need to warn if VOID_PENDING is not NONE here, as
2330 long as the state is NULL it's ok, and that's checked immediately
2333 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2335 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2336 Fix check for perfect stream to ignore buffers with -1
2337 offsets/offset ends when checking data contiguity.
2339 2007-03-08 Wim Taymans <wim@fluendo.com>
2341 * tools/gst-launch.c: (event_loop):
2342 Print INFO messages.
2344 2007-03-08 Wim Taymans <wim@fluendo.com>
2346 * libs/gst/base/gstbasetransform.c:
2347 (gst_base_transform_sink_eventfunc),
2348 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2349 (gst_base_transform_activate):
2350 * libs/gst/base/gstbasetransform.h:
2351 Add support for dropping buffers with custom GstFlowReturn.
2352 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2353 buffers or dropped buffers.
2355 * docs/libs/gstreamer-libs-sections.txt:
2356 docs for new custom return code.
2358 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2359 Use drop support in base class to implement drop-probability.
2361 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2363 * gst/gst.c: (load_plugin_func):
2364 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2365 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2366 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2367 Remove newlines at end of debug log strings.
2369 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2371 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2372 Only post bus message at max, once per buffer received.
2374 2007-03-07 Wim Taymans <wim@fluendo.com>
2376 * docs/design/Makefile.am:
2377 * docs/design/part-synchronisation.txt:
2378 Add doc about synchronisation
2380 * docs/design/draft-latency.txt:
2381 * docs/design/part-TODO.txt:
2382 * docs/design/part-clocks.txt:
2383 * docs/design/part-events.txt:
2384 * docs/design/part-gstbus.txt:
2385 * docs/design/part-gstpipeline.txt:
2386 * docs/design/part-live-source.txt:
2387 * docs/design/part-messages.txt:
2388 * docs/design/part-overview.txt:
2389 * docs/design/part-streams.txt:
2390 * docs/design/part-trickmodes.txt:
2391 Documentation updates.
2393 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2396 Update the doap file.
2398 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2400 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2401 Rename non-perfect to imperfect for Mike and for the sanctity of the
2403 Also make sure bus message gets emitted for data-incontiguities.
2405 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2407 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2408 (gst_identity_start):
2409 * plugins/elements/gstidentity.h:
2410 Emit bus message if check-perfect is true and we encounter a
2411 non-perfect stream between 2 consecutive buffers.
2414 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2419 === release 0.10.12 ===
2421 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2424 releasing 0.10.12, "Inevitable Demise"
2426 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
2429 Version 0.10.11.2 (0.10.12 pre-release)
2430 Bump libtool versioning.
2432 2007-03-01 Stefan Kost <ensonic@users.sf.net>
2434 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2435 Log flow-names and not numbers.
2437 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2440 Convert to new AG_GST style.
2442 2007-02-28 Wim Taymans <wim@fluendo.com>
2444 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2445 Don't unref query twice.
2447 2007-02-28 Wim Taymans <wim@fluendo.com>
2449 * gst/gstvalue.c: (gst_value_transform_object_string),
2450 (_gst_value_initialize):
2451 Implement GstObject -> string transform so we print object names
2452 when serializing GValues containing GstObjects.
2454 2007-02-28 Wim Taymans <wim@fluendo.com>
2456 * docs/gst/gstreamer-sections.txt:
2457 Add new stuff to docs.
2459 2007-02-28 Wim Taymans <wim@fluendo.com>
2461 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2462 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2463 (gst_base_sink_change_state):
2464 Improve latency query code.
2465 Don't leak latency events.
2467 * tests/check/gst/gstbin.c: (GST_START_TEST):
2470 2007-02-28 Wim Taymans <wim@fluendo.com>
2472 * gst/gstelement.c: (gst_element_message_full),
2473 (gst_element_get_state_func):
2475 Improve docs a little. Added Since: for new macro.
2477 * gst/gstobject.c: (gst_object_sink):
2478 * gst/gstpipeline.c: (gst_pipeline_change_state),
2479 (gst_pipeline_set_new_stream_time):
2480 * gst/gstpipeline.h:
2481 Improve debugging and docs.
2483 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2486 2007-02-28 Wim Taymans <wim@fluendo.com>
2488 * gst/gstelement.c: (gst_element_message_full),
2489 (gst_element_set_locked_state), (gst_element_get_state_func),
2490 (gst_element_change_state):
2491 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2492 Documentation updates.
2493 Small code cleanups.
2495 * gst/gstmessage.c: (gst_message_new_info),
2496 (gst_message_parse_info):
2498 API: gst_message_new_info()
2499 API: gst_message_parse_info()
2500 Add INFO message create and parse code.
2502 2007-02-28 Wim Taymans <wim@fluendo.com>
2504 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2505 (bin_query_latency_done):
2506 Also report the live parameter of a latency query.
2508 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2510 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2511 Copy the current generic/states example from -base and adapt so
2512 we can use the exact same code everywhere.
2513 Check a STATES_IGNORE_ELEMENTS env var which can be used
2514 to ignore certain element factories for this test, which is
2515 what is being done in -base
2516 * tests/check/Makefile.am:
2517 Mention this environment variable.
2519 2007-02-27 Wim Taymans <wim@fluendo.com>
2521 * docs/gst/gstreamer-sections.txt:
2522 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2523 (gst_bus_timed_pop), (gst_bus_pop):
2525 API: gst_bus_timed_pop()
2526 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2527 message to arrive on the bus.
2529 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2531 Two unit tests for new _timed_pop() function.
2533 2007-02-23 Wim Taymans <wim@fluendo.com>
2535 * gst/gstpipeline.c: (gst_pipeline_change_state),
2536 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2537 Don't ref a NULL clock in _provide_clock_func().
2538 Don't allow an INVALID delay.
2539 Don't try to calculate base_time with an invalid start_time.
2540 Also distribute and notify a NULL clock when it was selected.
2542 * tools/gst-launch.c: (event_loop):
2543 Don't crash when a NULL clock was selected in the pipeline.
2545 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2547 * docs/design/Makefile.am:
2548 * docs/design/draft-missing-plugins.txt:
2549 * docs/random/draft-missing-plugins.txt:
2550 Some small updates: update plugin system identifier prefix
2551 ('gstreamer.net' to 'gstreamer'), mention our new install
2552 API in libgstbaseutils rather than libgimme-codec, add
2553 reference to the online docs.
2555 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2557 * win32/common/config.h:
2558 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2559 use moap cl ci to only check in what is mentioned in the ChangeLog.
2561 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2563 * docs/gst/gstreamer-sections.txt:
2565 Fix up documentation to link to the correct GstGError section.
2566 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2568 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2570 * tools/gst-launch.c: (event_loop):
2571 Make sure that we actually show the important message part of a
2573 No need to check if the gerror is not NULL to free; first of all
2574 g_free accepts NULL; and second the default error handler would
2575 segfault if gerror was NULL.
2577 2007-02-21 Wim Taymans <wim@fluendo.com>
2579 * docs/gst/gstreamer-sections.txt:
2580 Removed docs as well.
2582 2007-02-21 Wim Taymans <wim@fluendo.com>
2584 * gst/gstmessage.c: (gst_message_parse_duration):
2586 Remove new messages for release.
2588 2007-02-20 Wim Taymans <wim@fluendo.com>
2590 * docs/design/part-gstghostpad.txt:
2591 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2592 (gst_ghost_pad_new_full):
2593 Make the ghostpad a parent of the internal pad again for better backward
2594 compatibility. Don't write code that relies on this however.
2596 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2597 (gst_pad_link_check_hierarchy):
2598 Require that parents should be GstElements in the hierarchy check.
2600 2007-02-20 Wim Taymans <wim@fluendo.com>
2602 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2603 (gst_bin_change_state_func), (bin_query_min_max_init),
2604 (bin_query_latency_fold), (bin_query_latency_done),
2607 Implement latency query.
2609 2007-02-20 Wim Taymans <wim@fluendo.com>
2611 * docs/design/part-gstghostpad.txt:
2612 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2613 (gst_ghost_pad_internal_do_activate_push),
2614 (gst_ghost_pad_internal_do_activate_pull),
2615 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2616 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2617 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2618 Do not set the internal pad as a parent anymore so we can avoid
2619 hierarchy linking errors when the ghostpad has no parent yet. This also
2620 fixes failed activation because of unlinked internal pads, which in
2621 turn fixes the impossible case where you have to activate a pad before
2622 you can add it to a running element.
2625 * gst/gstpad.c: (pre_activate), (post_activate),
2626 (gst_pad_set_active), (gst_pad_activate_pull),
2627 (gst_pad_activate_push), (gst_pad_check_pull_range):
2628 Add some more debug info.
2629 Mark activation mode in pre_activate so that we don't try to activate in
2630 endless loops. Fixes #385084.
2632 2007-02-19 Wim Taymans <wim@fluendo.com>
2634 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2635 (gst_base_transform_check_get_range):
2636 Implement a checkgetrange function instead of relying on the default
2637 core behaviour that assumes we can operate in pull mode if we have a
2638 getrange function. First step at fixing #385084.
2640 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2642 * gst/gstchildproxy.h:
2643 * libs/gst/base/gstbasesink.h:
2644 * libs/gst/base/gstbasesrc.h:
2645 * libs/gst/base/gstbasetransform.h:
2646 More docs coverage and some ChangeLog surgery (add missing names)
2648 2007-02-15 Wim Taymans <wim@fluendo.com>
2650 * docs/design/part-TODO.txt:
2651 * docs/design/part-activation.txt:
2652 * docs/design/part-block.txt:
2653 * docs/design/part-buffering.txt:
2654 * docs/design/part-clocks.txt:
2655 * docs/design/part-element-source.txt:
2656 * docs/design/part-events.txt:
2657 * docs/design/part-gstbin.txt:
2658 * docs/design/part-gstbus.txt:
2659 * docs/design/part-gstpipeline.txt:
2660 * docs/design/part-live-source.txt:
2661 * docs/design/part-messages.txt:
2662 * docs/design/part-overview.txt:
2663 * docs/design/part-qos.txt:
2664 * docs/design/part-query.txt:
2665 * docs/design/part-states.txt:
2666 * docs/design/part-trickmodes.txt:
2667 Some doc updates. Start renaming from stream_time to running_time where
2668 it was used wrongly.
2670 2007-02-15 Wim Taymans <wim@fluendo.com>
2672 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2673 Answer LATENCY query.
2675 2007-02-15 Wim Taymans <wim@fluendo.com>
2677 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2681 2007-02-15 Wim Taymans <wim@fluendo.com>
2683 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2684 (gst_pad_dispatcher):
2685 Improve debugging of default pad dispatcher and query functions.
2687 2007-02-15 Wim Taymans <wim@fluendo.com>
2689 * docs/gst/gstreamer-sections.txt:
2690 Remove old unused method.
2692 2007-02-13 Wim Taymans <wim@fluendo.com>
2694 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2697 2007-02-13 Wim Taymans <wim@fluendo.com>
2699 * docs/design/part-seeking.txt:
2702 * gst/gstsegment.c: (gst_segment_set_seek):
2703 Revert old bogus change that should make seeking work again.
2705 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2707 * docs/random/ensonic/dynlink.txt:
2708 * docs/random/ensonic/interfaces.txt:
2709 * docs/random/ensonic/receipies.txt:
2710 Possible dynamic reconnection api, plus some type fixes the other two
2713 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2715 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2716 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2717 Also check for an absolute path following file:// in the filesrc
2718 element. Remove redundant check and call g_path_is_absolute() on the
2721 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2723 * docs/design/draft-klass.txt:
2724 Add existing category analysis.
2727 Fix doc example, framerate is a fraction.
2729 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2732 * docs/gst/Makefile.am:
2733 * docs/gst/gstreamer-sections.txt:
2734 * docs/libs/Makefile.am:
2735 Erm, forgot a bunch of --extra-dir.
2737 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2740 * docs/gst/Makefile.am:
2741 * docs/libs/Makefile.am:
2742 * docs/plugins/Makefile.am:
2743 Add crossreferences to glib/gobject docs.
2745 2007-02-12 Wim Taymans <wim@fluendo.com>
2747 * docs/design/draft-latency.txt:
2750 * docs/libs/gstreamer-libs-sections.txt:
2751 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2752 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2753 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2754 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2755 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2756 (gst_base_sink_get_position), (gst_base_sink_query),
2757 (gst_base_sink_change_state):
2758 * libs/gst/base/gstbasesink.h:
2759 API: gst_base_sink_query_latency() to let subclasses query the upstream
2761 API: gst_base_sink_get_latency() to let subclasses query the configured
2762 latency in the sink.
2763 Implement query and set latency.
2765 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2766 don't continue preroll when we are flushing. Fixes #405284.
2768 * tests/check/pipelines/stress.c: (change_state_timeout),
2769 (quit_timeout), (GST_START_TEST), (stress_suite):
2772 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2774 Patch by: René Stadler <mail at renestadler de>
2776 * docs/gst/gstreamer-sections.txt:
2777 * gst/gsttaglist.c: (_gst_tag_initialize):
2779 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2781 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2783 * docs/libs/Makefile.am:
2784 Fix path to core docs.
2786 * gst/gstbin.c: (gst_bin_get_by_interface),
2787 (gst_bin_iterate_all_by_interface):
2788 Refix docs by also renaming 'interface' to 'iface' in implementation.
2790 * docs/gst/gstreamer-sections.txt:
2792 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2793 * gst/gstchildproxy.h:
2794 * gst/gstelementfactory.c:
2795 * gst/gstpadtemplate.h:
2796 * libs/gst/controller/gstcontroller.c:
2797 (gst_controlled_property_new):
2800 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2802 * gst/gstbin.h:(gst_bin_get_by_interface),
2803 (gst_bin_iterate_all_by_interface):
2804 Replace interface parameter name by iface as interface is
2805 a reserved keyword in Visual Studio for C++ projects so it removes
2806 a build error for application developpers using VS.
2807 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2808 Fix a bug on Windows in uri format check. Now the prefix checked
2809 is file:// and next we check if the path after file:// is absolute.
2810 * win32/common/libgstbase.def:
2811 * win32/common/libgstdataprotocol.def:
2812 * win32/common/libgstgstreamer.def:
2813 Add new exported functions.
2815 2007-02-09 Andy Wingo <wingo@pobox.com>
2817 * tests/check/pipelines/simple-launch-lines.c
2818 (simple_launch_lines_suite, test_tee): Disable tee test until I
2819 have time to fix it :-(
2821 * tests/check/Makefile.am (noinst_HEADERS):
2822 * tests/check/libs/libsabi.c:
2823 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2824 * tests/check/gst/gstabi.c:
2825 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2827 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2828 tests for push and pull tee behavior.
2830 * plugins/elements/gsttee.h:
2831 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2832 mark as deprecated as well as unimplemented. It was a crack idea.
2833 Add support for tee operating in pull mode, off by default.
2835 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2836 normal-case logs down to LOG, raise errors to WARNING.
2837 (gst_registry_xml_read_cache): Don't log before calling a function
2840 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2841 exit (registry finalize).
2842 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2843 DEBUG log when we emit signals that people don't even have the
2844 chance to connect to.
2845 (gst_registry_scan_path_level): Less logging in the normal case.
2847 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2849 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2851 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2852 Correctly generate EOS for non-seekable files. We don't have a total
2853 length for them and would get an unexpected end of file if we only
2854 special-cased for regular files. (Fixes: #404569)
2856 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2858 * tests/check/elements/filesrc.c: (GST_START_TEST),
2860 Add unit test for the GstURIHandler interface in filesrc. This also
2861 tests the newly added file://localhost/foo/bar support.
2863 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2865 * gst/gstelementfactory.h:
2866 The klass string is not a hierarchy. Add reference to the design doc
2867 for more information and common types.
2869 2007-02-02 Wim Taymans <wim@fluendo.com>
2871 * gst/gstquery.c: (gst_query_new_latency):
2872 Remove old structure field.
2874 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2876 * tools/gst-launch.1.in:
2877 Give example for network streaming (#351998)
2879 2007-02-02 Wim Taymans <wim@fluendo.com>
2881 * docs/gst/gstreamer-sections.txt:
2882 Add docs for new methods.
2884 * gst/gstevent.c: (gst_event_new_latency),
2885 (gst_event_parse_latency):
2887 Add new LATENCY event to configure latency in a pipeline.
2888 API: gst_event_new_latency
2889 API: gst_event_parse_latency
2891 * gst/gstmessage.c: (gst_message_new_buffering),
2892 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2893 (gst_message_new_latency), (gst_message_parse_buffering),
2894 (gst_message_parse_lost_preroll):
2896 Added messages used in draft-latency.
2897 API: gst_message_new_lost_preroll
2898 API: gst_message_parse_lost_preroll
2899 API: gst_message_new_prerolled
2900 API: gst_message_new_latency
2902 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2903 (gst_query_parse_latency):
2905 Implemented new latency query as in design doc.
2906 API: gst_query_new_latency
2907 API: gst_query_set_latency
2908 API: gst_query_parse_latency
2910 2007-02-02 Wim Taymans <wim@fluendo.com>
2912 * docs/design/draft-latency.txt:
2913 Slight redesign to allow for dynamic latency adjustments.
2915 * docs/design/part-negotiation.txt:
2918 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2920 reviewed by: Wim Taymans <wim@fluendo.com>
2922 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2923 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2924 Allow file://localhost/foo/bar URLs and correctly fail for every other
2925 hostname that one sets. This was gnomevfssrc is linked for those if
2926 installed as it can handle it (#403172)
2928 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2930 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2932 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2933 (unref_data), (gst_collect_pads_add_pad_full):
2934 * libs/gst/base/gstcollectpads.h:
2935 Don't put the previously added destroy notify in the GstCollectData
2936 struct as all it's padding is already used and we don't want to break
2937 ABI. Instead put in the pad's GObject data for now. This should be
2938 cleaned up for 0.11 (#402393).
2940 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2942 reviewed by: Wim Taymans <wim@fluendo.com>
2944 * docs/libs/gstreamer-libs-sections.txt:
2945 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2946 (unref_data), (gst_collect_pads_add_pad),
2947 (gst_collect_pads_add_pad_full):
2948 * libs/gst/base/gstcollectpads.h:
2949 API: Add function to specify a destroy notification for custom
2950 GstCollectData when adding new pads in GstCollectPads (#402393).
2952 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
2955 Update Swedish translation (#378255).
2957 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2959 * docs/design/draft-klass.txt:
2960 Fix the previous change, this is a list of categories and not a hierarchy.
2962 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2964 * docs/design/draft-klass.txt:
2965 Add info about how to get a list of used classes.
2967 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
2969 * plugins/elements/gsttypefindelement.c:
2970 (gst_type_find_element_chain_do_typefinding),
2971 (gst_type_find_element_change_state):
2972 Don't leak found caps in chain function (no idea why that never
2973 showed up as a leak anywhere).
2975 2007-01-30 Stefan Kost <ensonic@users.sf.net>
2978 Fix and expand GstPluginDesc API docs.
2980 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2983 * gst/gstelementfactory.c:
2984 * gst/gstpadtemplate.h:
2987 * libs/gst/controller/gstcontroller.c:
2988 (gst_controlled_property_new):
2989 * tests/examples/controller/audio-example.c:
2992 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2995 comment about refining the xml deps
2998 comments about moving away from jade for docs
3001 recommit the ifdefs to use the binary registry
3003 * gst/gstbin.c: (gst_bin_change_state_func):
3004 this break is obsolete
3006 * gst/gstelementfactory.h:
3007 better GST_ELEMENT_DETAILS docs, add comment about translation
3012 * gst/gstobject.c: (gst_signal_object_get_type):
3013 add G_UNLIKELY as usual
3015 * gst/gstpad.c: (gst_pad_event_default):
3016 add fall trhu comment
3018 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3019 (gst_registry_binary_initialize_magic),
3020 (gst_registry_binary_save_string),
3021 (gst_registry_binary_save_pad_template),
3022 (gst_registry_binary_save_feature),
3023 (gst_registry_binary_save_plugin),
3024 (gst_registry_binary_write_cache),
3025 (gst_registry_binary_check_magic),
3026 (gst_registry_binary_load_pad_template),
3027 (gst_registry_binary_load_feature),
3028 (gst_registry_binary_load_plugin),
3029 (gst_registry_binary_read_cache):
3030 comment typo and formatting
3032 * gst/gstutils.c: (gst_element_state_get_name),
3033 (gst_element_state_change_return_get_name):
3034 remove obsolete breaks
3036 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3037 add FIXME 0.11 and remove cpp comment
3039 2007-01-29 Edward Hervey <edward@fluendo.com>
3041 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3042 Fix print statement in an even more portable way.
3044 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3046 * docs/gst/gstreamer-sections.txt:
3048 API: add GST_ROUND_DOWN_* macros (#401781).
3050 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3052 * docs/gst/gstreamer.types.in:
3053 * gst/gstregistry.c: (gst_registry_class_init):
3054 Document registry signals and make gtk-doc pick them up (#401381).
3056 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3058 * docs/pwg/building-testapp.xml:
3059 Add some audioconverts and audioresample to the pipeline, and some
3060 more comments and error handling.
3062 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3064 * docs/manual/manual.xml:
3068 2007-01-26 Wim Taymans <wim@fluendo.com>
3070 * gst/gstcaps.c: (gst_static_caps_get):
3071 Init caps flags too.
3073 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3075 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3077 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3078 If not using mmap'ed files try to seek to the end instead of the
3079 start to determine whether we can seek at all. This fixes the case
3080 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3081 seeks for everything afterwards fail. Fixes #400656
3083 2007-01-25 Wim Taymans <wim@fluendo.com>
3085 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3086 Add some refcount debugging.
3087 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3088 in multiple streaming threads.
3090 2007-01-25 Wim Taymans <wim@fluendo.com>
3092 Patch by: David Schleef <ds at schleef dot org>
3094 * docs/libs/gstreamer-libs-sections.txt:
3095 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3096 * libs/gst/base/gstadapter.h:
3097 API: gst_adapter_copy() that can reduce the amount of memcpy when
3098 getting data from the adapter. Fixes #388201.
3100 2007-01-25 Edward Hervey <edward@fluendo.com>
3102 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3103 In print statements, "%x" is for guint. Fixes build on macosx.
3105 2007-01-24 Edward Hervey <edward@fluendo.com>
3107 * plugins/elements/gstmultiqueue.c:
3108 (gst_multi_queue_loop):
3110 (single_queue_overrun_cb), (single_queue_underrun_cb),
3111 (single_queue_check_full), (gst_single_queue_new):
3112 Implement single queue growth system.
3113 This uses the extra-size properties, and will grow single queues by
3114 that much if one goes full whereas there are others empty. This is
3115 called extra-mode in the code.
3116 When a single queue's levels go back below the initial max-size
3117 limits, it is no longer in extra-mode. This is to ensure we don't
3118 consume too much memory.
3121 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3123 * gst/gst.c: (gst_init_get_option_group):
3124 Make warning about late g_thread_init() calls a bit more explicit,
3125 so that it's more obvious to application developers what they need
3126 to do if a user files a bug against their application.
3128 2007-01-22 Edward Hervey <edward@fluendo.com>
3130 * plugins/elements/gstmultiqueue.c:
3131 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3132 Remove previous hack of unsetting the flushing flag for the source pad
3133 instead of activating it. Instead, fix the source pad activate function
3134 so that it no longer depends on having a parent set or not.
3136 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3138 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3140 * docs/manual/basics-bus.xml:
3141 Fix example code, gst_element_unref() doesn't exist any longer.
3143 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3145 Patch by: Mark Nauwelaerts <manauw at skynet be>
3148 Fix two docs typoes (#399094).
3150 2007-01-19 Edward Hervey <edward@fluendo.com>
3152 * docs/faq/gst-uninstalled:
3153 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3154 depending on libgstbaseutils can work in uninstalled environment.
3156 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3159 * gst/gsttagsetter.c:
3160 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3161 statement for new tag.
3163 2007-01-17 Edward Hervey <edward@fluendo.com>
3165 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3166 When dynamically creating single queues, activate sinkpad before adding
3168 We should be doing the same thing for the source pad, but we can't
3169 since it would call a method which needs the parent to be set in order
3170 to work propertly. Instead of activating the source pad, we just unset
3171 the flushing flag, which is the minimal requirement for adding a pad
3172 to an element in a state greater than READY.
3174 2007-01-17 Edward Hervey <edward@fluendo.com>
3176 * docs/faq/gst-uninstalled:
3177 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3180 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3182 * tests/check/gst/gstabi.c:
3183 * tests/check/gst/struct_hppa.h:
3184 * tests/check/libs/libsabi.c:
3185 * tests/check/libs/struct_hppa.h:
3186 Add ABI structs for HPPA (see #393796).
3188 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3190 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3191 Actually write ABI structs to the file specified in the GST_ABI
3192 environment variable, as the message we print claims we would.
3194 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3196 * tests/check/gst/gsttask.c:
3199 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3201 * gst/gsttaglist.c: (_gst_tag_initialize):
3202 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3203 previous two entries.
3205 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3207 * docs/gst/gstreamer-sections.txt:
3208 * gst/gsttaglist.c: (_gst_tag_initialize):
3210 Add tag support for beat-per-minute.
3212 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3214 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3215 (gst_registry_binary_initialize_magic),
3216 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3217 (gst_registry_binary_save_pad_template),
3218 (gst_registry_binary_save_feature),
3219 (gst_registry_binary_save_plugin),
3220 (gst_registry_binary_write_cache),
3221 (gst_registry_binary_check_magic),
3222 (gst_registry_binary_load_pad_template),
3223 (gst_registry_binary_load_feature),
3224 (gst_registry_binary_load_plugin),
3225 (gst_registry_binary_read_cache):
3226 * gst/gstregistrybinary.h:
3227 Use glib types, cleanup comments, impement interfaces and uri-types.
3229 2007-01-13 Andy Wingo <wingo@pobox.com>
3231 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3232 getrange() to return buffers with other caps, while we fix
3233 demuxers and typefind, or otherwise change part-negotiation.txt.
3235 2007-01-12 Andy Wingo <wingo@pobox.com>
3237 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3238 Factor start/stop into this private function instead of partially
3239 in activate functions and partially in the change_state function.
3240 Fixes setup before the element has changed from READY->PAUSED, as
3241 is the case in pull-mode pipelines.
3242 (gst_base_transform_sink_activate_push)
3243 (gst_base_transform_src_activate_pull): Refactor to use
3244 gst_base_transform_activate().
3245 (gst_base_transform_change_state): Removed, not needed any more.
3247 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3248 Truncate before fixating.
3250 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3251 Don't set_caps() if the result of fixating is ANY, as it's not
3252 supported, and not necessary in the case of a link with no
3253 template caps on either side. Fixes tests/check/libs/basesrc in
3254 some pull-mode tests.
3256 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3257 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3258 (gst_base_transform_src_activate_pull):
3259 Track the activation mode.
3260 (gst_base_transform_setcaps): In pull mode, when activating the
3261 src pad, after activating the sink pad, activate the sink pad's
3262 peer, as discussed in part-negotiation.txt.
3264 * libs/gst/base/gstbasesrc.h:
3265 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3266 vmethod, as in basesink.
3268 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3270 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3271 mode, first proxy the setcaps to the peer pad.
3272 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3274 (gst_base_sink_default_activate_pull): Rename from
3275 gst_base_sink_activate_pull.
3276 (gst_base_sink_negotiate_pull): New function, performs negotiation
3277 in pull mode before calling ::activate_pull().
3278 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3279 vmethod instead of the default implementation. I have no idea how
3280 this worked before. Negotiate before calling activate_pull.
3282 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3283 sink pads in pull mode. In addition to being correct, fixes
3284 filesrc ! decodebin ! identity ! fakesink.
3285 (gst_pad_get_range, gst_pad_pull_range): Don't call
3286 gst_pad_set_caps() if the caps changes; instead error out with
3287 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3289 2007-01-12 Andy Wingo <wingo@pobox.com>
3291 * docs/design/part-negotiation.txt: Update with more policy.
3293 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3295 * libs/gst/check/gstbufferstraw.h:
3296 * libs/gst/check/gstcheck.h:
3297 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3300 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3302 * tests/check/Makefile.am:
3303 * tests/check/gst/.cvsignore:
3304 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3305 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3306 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3307 (GST_START_TEST), (gst_tag_setter_suite):
3308 Add minimal unit test for beforementioned GstTagSetter bug.
3310 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3312 Patch by: René Stadler <mail at renestadler dot de>
3314 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3315 gst_tag_list_merge() returns a new list, so it's not the best idea
3316 to ingore its return value. Effectively meant that tags could only
3317 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3318 Also add function guard to require a non-NULL taglist as input (has
3319 always been so due to gst_tag_list_copy(), just making it explicit).
3321 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3323 * docs/random/draft-missing-plugins.txt:
3324 Some additions: mention new API that is supposed to be used at the
3325 various stages; short blob about new gst-inspect introspection
3326 option; mention potential future problem with plugins that have
3327 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3329 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3331 * tools/gst-inspect.c:
3332 (print_plugin_automatic_install_info_codecs),
3333 (print_plugin_automatic_install_info_protocols),
3334 (print_plugin_automatic_install_info), (main):
3335 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3336 introspect plugin files and get machine-parsable output that corresponds
3337 to the last bit of the missing-plugin installer string (small gotcha:
3338 doesn't take into account ranks).
3340 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3343 * docs/gst/gstreamer-sections.txt:
3345 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3346 (gst_registry_lookup_locked):
3347 * gst/gstregistry.h:
3348 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3349 (gst_registry_binary_initialize_magic),
3350 (gst_registry_binary_save_string),
3351 (gst_registry_binary_save_pad_template),
3352 (gst_registry_binary_save_feature),
3353 (gst_registry_binary_save_plugin),
3354 (gst_registry_binary_write_cache),
3355 (gst_registry_binary_check_magic),
3356 (gst_registry_binary_load_pad_template),
3357 (gst_registry_binary_load_feature),
3358 (gst_registry_binary_load_plugin),
3359 (gst_registry_binary_read_cache):
3360 * gst/gstregistrybinary.h:
3361 * gst/gstregistryxml.c: (load_feature),
3362 (gst_registry_xml_read_cache):
3363 commit binary registry (disabled by default, see #359653)
3365 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3367 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3368 Fix 'make check' too.
3370 2007-01-10 Andy Wingo <wingo@pobox.com>
3372 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3375 * docs/design/part-negotiation.txt: Update with, um, one way that
3376 pull-mode negotiation might work?
3379 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3380 that the pad must be a src pad; makes sense to call it the other
3381 way in pull mode, and the logic is symmetric anyway.
3383 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3385 * plugins/elements/gstfilesink.c:
3386 Include <stdio.h> for fseeko().
3388 2007-01-10 Wim Taymans <wim@fluendo.com>
3392 Reserve LATENCY event.
3394 2007-01-09 Wim Taymans <wim@fluendo.com>
3396 * docs/design/draft-latency.txt:
3399 2007-01-09 Wim Taymans <wim@fluendo.com>
3401 * docs/design/draft-latency.txt:
3405 * gst/gststructure.c:
3409 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
3411 * tests/check/.cvsignore:
3412 Ignore test-registry.xml as well.
3414 2007-01-09 Wim Taymans <wim@fluendo.com>
3416 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3417 unref data at the end when we are done with the pad.
3419 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3421 * docs/gst/gstreamer-sections.txt:
3422 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3423 (init_post), (gst_deinit), (gst_update_registry):
3425 API: add gst_update_registry() (#391296).
3427 * tests/check/Makefile.am:
3428 * tests/check/gst/gstregistry.c:
3429 * tests/check/gst/.cvsignore:
3430 Simple unit test for the above.
3432 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3434 * gst/gstregistry.c: (gst_registry_scan_path_level):
3435 Plugin extension on HP-UX is .sl, add that to the list of approved
3436 plugin extensions (see #393796).
3438 * tests/check/gst/gstpad.c: (GST_START_TEST):
3439 ulong => gulong. Fixes compilation with HP-UX compiler.
3441 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3442 Fix compilation if valgrind headers are not available.
3444 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
3446 * win32/common/libgstreamer.def:
3447 Add new exported function.
3448 * win32/vs6/libgstbase.dsp:
3449 Add gstdataqueue.c to the build.
3450 * win32/vs6/libgstcoreelements.dsp:
3451 Add gstmultiqueue.c to the build.
3453 2007-01-06 Andy Wingo <wingo@pobox.com>
3455 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3456 activate_pull(), providing for a way to specialize the process of
3457 spawning a thread to pull on the sink pad. There is a default
3460 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3461 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3462 (gst_base_sink_init): Renamed pad activation functions (inserting
3463 "_pad" in their names). Refactor to use the new activate_pull
3464 vmethod, as appropriate.
3465 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3466 default activate_pull function to start a task pulling from the
3467 sink pad, as before.
3469 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3470 on the pads if necessary, as in push()/chain(). Update docs.
3471 Shouldn't affect existing pull() usage as it is currently only
3472 being used on buffers without caps.
3474 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3476 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3478 Call g_thread_init() first thing in gst_init() / gst_check_init().
3479 When initialisation is done via gst_init_get_option_group() and
3480 GOption parsing, issue a warning if the GLib thread system has not
3481 been initialised yet by the time gst_init_get_option_group() is
3482 called, as it's quite likely other GLib functions such as
3483 g_option_context_new() have been called already then, and
3484 g_thread_init() must be called before any other GLib function. The
3485 application in question must be fixed in that case, since memory
3486 corruption might happen otherwise.
3487 We issue the warning because even if the GLib folks decide to work
3488 around the problem on their end in future, this is still an issue
3489 with all GLib versions >= 2.10.0, so we should warn until we depend
3490 on a GLib version we know to be safe.
3491 Update documentation as well.
3494 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3496 * tools/gst-inspect.c: (main):
3497 * tools/gst-launch.c: (main):
3498 * tools/gst-typefind.c: (main):
3499 * tools/gst-xmlinspect.c: (main):
3500 Call g_thread_init() really really early, before any other GLib
3501 function (see #342564 and recent discussion on gtk-devel-list).
3503 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3505 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
3507 * gst/gst_private.h:
3508 * gst/gstconfig.h.in:
3510 On win32, all the __declspec stuff for symbol exporting is
3511 apparently only needed with MSVC, but doesn't work with MingW.
3512 Fixes compilation with MingW and #391909.
3514 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3516 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3517 Change some GST_ERROR_OBJECT that aren't really errors to
3518 GST_WARNING_OBJECT in order to reduce terminal spam.
3520 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3522 * tests/check/Makefile.am:
3523 disable test again, as there seem to be still race problems
3525 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3527 * tests/check/Makefile.am:
3528 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3529 (GST_START_TEST), (queue_suite):
3530 enable queue test again, add tests for the leaky behaviour
3532 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3535 * tests/examples/Makefile.am:
3536 Compile adapter test/example only if the required headers are
3537 available (fixes #391915).
3539 2007-01-01 David Schleef <ds@schleef.org>
3542 Restore the previous signal handler for SIGSEGV instead of
3543 setting to default, since we may have stolen it away from
3544 someone. (i.e., Mono)
3546 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3548 * docs/random/draft-missing-plugins.txt:
3549 Some small additions and clarifications.
3551 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3553 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3554 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3555 since that can lead to random memory corruptions and crashes
3556 (may or may not be related to #383244, #386711, and #386711).
3558 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3560 * tests/check/.cvsignore:
3561 * tests/check/Makefile.am:
3562 sync .cvsignome and CLEANFILES
3564 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3566 * tests/check/Makefile.am:
3569 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3571 * docs/design/part-states.txt:
3572 two tiny additional comments
3574 * gst/gststructure.c:
3577 * tests/check/Makefile.am:
3578 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3580 disable test for now, unless it gets fixed
3582 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3584 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3586 fix race in underrun test
3588 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3590 * tests/check/elements/.cvsignore:
3593 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3595 try to narrow test failure
3597 2006-12-21 David Schleef <ds@schleef.org>
3599 * plugins/elements/gstfakesrc.c:
3600 Use g_random_int_range(), since it produces better random
3601 numbers in a range than almost-correct floating point code.
3603 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3605 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3606 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3607 (gst_check_teardown_sink_pad):
3608 do not automatically (de)activate pads
3610 * tests/check/Makefile.am:
3611 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3612 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3613 add new, yet simple tests for queue
3615 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3616 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3617 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3619 * tests/check/elements/identity.c: (cleanup_identity):
3620 consistent pad (de)activation
3622 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3624 Patch by: Sebastian Dröge <slomo ubuntu com>
3626 * libs/gst/base/gstcollectpads.c:
3627 Fix two doc typos (#387866).
3629 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3631 * docs/manual/advanced-dparams.xml:
3632 Fix typo (g_object_control_properties() doesn't exist).
3634 2006-12-19 Edward Hervey <edward@fluendo.com>
3636 * gst/gstsegment.c: (gst_segment_set_seek):
3637 Fine tune the cases where the segment start/stop values are really
3639 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3640 Add tests for the return values of gst_segment_set_seek().
3642 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3647 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3649 Fix incorrect documentation and flesh it out a bit more.
3650 Set default values for the max properties on the GParamSpec as well,
3651 so it shows up correctly in gst-inspect.
3653 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3655 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3656 Correct docs of queue, add more detail and crosslink it more.
3658 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3660 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3661 Print additional debug info when the stream isn't perfectly
3662 timestamped; don't try to use invalid durations.
3664 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3666 * docs/design/Makefile.am:
3667 Dist new design docs.
3669 2006-12-16 Wim Taymans <wim@fluendo.com>
3671 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3673 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3674 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3675 (gst_collect_pads_stop), (gst_collect_pads_event),
3676 (gst_collect_pads_chain):
3677 * libs/gst/base/gstcollectpads.h:
3678 Add refcounting to the collectpads data so we can track when it's safe
3679 to free the data. Fixes #383382.
3681 2006-12-15 Wim Taymans <wim@fluendo.com>
3683 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3684 (gst_collect_pads_remove_pad):
3685 Automatically activate/deactivate pads when they are added to a
3686 started/stoped collectpads.
3688 2006-12-15 Wim Taymans <wim@fluendo.com>
3690 * gst/gstelement.c: (gst_element_add_pad):
3691 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3692 * gst/gstpad.c: (gst_pad_init):
3693 Set pads to FLUSHING when they are created. Check, warn and fix when a
3694 demuxer adds an inactive pad to itself when running. Fixes #339326.
3696 2006-12-15 Wim Taymans <wim@fluendo.com>
3698 * gst/gstelement.c: (gst_element_class_init),
3699 (gst_element_default_send_event), (gst_element_send_event),
3700 (gst_element_default_query), (gst_element_query):
3701 Expose default element send_event and query handling as vmethods that
3702 subclasses can chain up to.
3704 2006-12-15 Wim Taymans <wim@fluendo.com>
3706 * gst/gstelement.c: (gst_element_set_state_func):
3707 Small documentation fixes.
3709 2006-12-15 Wim Taymans <wim@fluendo.com>
3711 * docs/design/draft-latency.txt:
3712 Checked in draft for handling latency in pipelines.
3714 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3718 * gstreamer.spec.in:
3721 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3723 * gst/gst.c: (init_pre), (init_post):
3724 init_pre() and init_post() might be called via our GOptionGroup or
3725 from gst_init(), and we should skip both of them if we've already
3726 been initialised, otherwise we will init some things twice or add
3727 two default log functions.
3729 2006-12-13 Edward Hervey <edward@fluendo.com>
3731 * docs/manual/basics-bus.xml:
3732 No, gst_main_loop does not exist. Its g_main_loop.
3733 Discovered by somebody who abused the copy-paste technique of coding :)
3735 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3737 * gst/gstghostpad.c:
3738 Log ghostpad debug stuff to the GST_PADS category as well rather
3739 than just to the default category.
3741 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3744 * gst/gst.c: (init_pre):
3745 Add some basic system details such as OS and architecture
3746 to the debug output if possible, courtesy of uname().
3748 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3750 * docs/gst/running.xml:
3751 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3752 environment variables.
3754 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3756 * tests/check/gst/gstbin.c: (GST_START_TEST):
3757 It is acceptable to have a refcount of 2 or 3 at this point in the
3758 test, because the pipeline might be just posting its state_change
3759 message. The next line then waits for that message to appear using
3760 bus_poll, so that should be fine too.
3762 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3764 * gst/gst.c: (ensure_current_registry_forking):
3765 Ignore EINTR when reading from the child registry pipe.
3766 Explicitly ignore the return value from close, since it makes no
3769 * gst/gstminiobject.c: (gst_mini_object_ref),
3770 (gst_mini_object_unref):
3771 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3773 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3774 When removing cached plugins, remove their features too, so they're
3775 not visible after they've disappeared.
3777 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3778 In the unlikely case that we are linking pads with no parents, don't
3779 crash trying to get the non-existent parent bin.
3781 * gst/parse/grammar.y:
3782 Output debug in the PIPELINE category
3784 2005-03-08 Wim Taymans <wim@fluendo.com>
3786 Patch by: René Stadler <mail at renestadler dot de>
3788 * gst/gstclock.c: (gst_clock_new_periodic_id):
3789 Reject invalid clock times for interval of periodic ids.
3792 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3794 * gst/gstelementfactory.c: (gst_element_factory_create):
3795 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3796 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3797 * tools/gst-inspect.c: (print_element_info):
3798 Fix refcounting of gst_plugin_feature_load to match the docs.
3801 2006-12-07 Wim Taymans <wim@fluendo.com>
3803 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3804 (gst_base_sink_get_position):
3805 Improve debugging of events.
3807 2006-12-07 Wim Taymans <wim@fluendo.com>
3809 Patch by: René Stadler <mail at renestadler dot de>
3811 * gst/gstclock.c: (gst_clock_id_wait):
3812 Make period ids add the interval to the origial requested time instead
3813 of the possibly updated time which can be wrong when there are multiple
3814 waiters for the same id. Fixes #382592.
3816 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3817 (gst_system_clock_id_wait_jitter_unlocked),
3818 (gst_system_clock_id_wait_jitter):
3819 Fix restart in the async notify thread when an async entry is added to
3820 the front of the list. Fixes #381492.
3822 * tests/check/gst/gstsystemclock.c: (store_callback),
3823 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3824 Added test for multiple async waits.
3825 Added test for async wait order.
3827 2006-12-07 Wim Taymans <wim@fluendo.com>
3829 * gst/gstbin.c: (gst_bin_query):
3830 Add some more docs about the POSITION query.
3832 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3835 Bump version nano - back to CVS.
3837 === release 0.10.11 ===
3839 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3842 releasing 0.10.11, "Love never runs on time"
3844 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3846 * win32/common/libgstbase.def:
3847 * win32/common/libgstreamer.def:
3848 * win32/vs8/libgstbase.vcproj:
3849 * win32/vs8/libgstcoreelements.vcproj:
3850 * win32/vs8/libgstreamer.vcproj:
3851 Fix compilation on win32 under VS8
3852 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3853 Partially fixes #381175
3855 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3857 * gst/gstvalue.c: (gst_value_compare_fraction):
3858 If someone is foolish enough to compare 2 fractions with denominator =
3859 0, return UNORDERED rather than aborting.
3861 2006-11-28 Edward Hervey <edward@fluendo.com>
3863 * libs/gst/base/Makefile.am:
3864 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3865 (gst_data_queue_base_init), (gst_data_queue_class_init),
3866 (gst_data_queue_init), (gst_data_queue_new),
3867 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3868 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3869 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3870 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3871 (gst_data_queue_set_flushing), (gst_data_queue_push),
3872 (gst_data_queue_pop), (gst_data_queue_drop_head),
3873 (gst_data_queue_set_property), (gst_data_queue_get_property):
3874 * libs/gst/base/gstdataqueue.h:
3875 New GstDataQueue object for threadsafe queueing. Most useful for
3876 elements that need some queueing functionnality.
3877 * docs/libs/gstreamer-libs-docs.sgml:
3878 * docs/libs/gstreamer-libs-sections.txt:
3879 Insert documentation for GstDataQueue
3880 * plugins/elements/Makefile.am:
3881 * plugins/elements/gstelements.c:
3882 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3883 (gst_multi_queue_class_init), (gst_multi_queue_init),
3884 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3885 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3886 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3887 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3888 (gst_multi_queue_loop), (gst_multi_queue_chain),
3889 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3890 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3891 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3892 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3893 (wake_up_next_non_linked), (compute_next_non_linked),
3894 (single_queue_overrun_cb), (single_queue_underrun_cb),
3895 (single_queue_check_full), (gst_single_queue_new):
3896 * plugins/elements/gstmultiqueue.h:
3897 New multiqueue element, using GstDataQueue. Used for queuing multiple
3899 Closes #344639 and #347785
3901 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3903 * docs/pwg/advanced-types.xml:
3904 add more missing type details
3906 * tools/gst-run.c: (main):
3907 remove unused variable
3909 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3911 * docs/libs/Makefile.am:
3912 * docs/libs/gstreamer-libs.types:
3913 add types of base classes to enable gobject specific stuff in the docs
3915 * docs/random/ensonic/embedded.txt:
3916 more ideas about isolating platform specific things
3918 2006-11-20 Wim Taymans <wim@fluendo.com>
3920 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3922 * libs/gst/check/gstcheck.h:
3923 Fix compilation and running against 0.9.4. Fixes #377332.
3925 2006-11-20 Wim Taymans <wim@fluendo.com>
3927 * gst/gstsegment.c: (gst_segment_set_seek),
3928 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3929 (gst_segment_to_running_time):
3930 Fix boundary checking in to_running_time() and to_stream_time().
3933 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3934 stream and running time can now be calculated for the complete
3937 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3939 * gst/gstpad.c: (gst_pad_push_event):
3940 Can't access event structure after giving away ownership of
3943 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3945 * docs/random/ensonic/embedded.txt:
3946 * docs/random/ensonic/profiling.txt:
3947 * docs/random/ensonic/receipies.txt:
3950 2006-11-13 Wim Taymans <wim@fluendo.com>
3952 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3955 Fix documentation for gst_pad_dispatcher. Fixes #374475.
3957 2006-11-13 Wim Taymans <wim@fluendo.com>
3959 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3961 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3962 Store new length in segment duration so we don't keep on calling the
3963 potentially expensize get_size() call. Fixes #370865.
3965 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
3967 Patch by: Sergey Scobich <sergey.scobich at gmail com>
3969 * win32/common/libgstreamer.def:
3970 Add two missing symbols (#366492).
3972 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
3974 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3975 (gst_adapter_take_buffer):
3976 Fix format string to use all its arguments.
3977 Remove useless >= check on a guint
3979 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3981 * tests/examples/adapter/.cvsignore:
3982 Ignore build file as commanded by the build-bot
3984 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3986 * tests/examples/adapter/Makefile.am:
3987 * tests/examples/adapter/adapter_test.c: (run_test_take),
3988 (run_test_take_buffer), (run_tests), (main):
3990 Add new files from the previous commit
3992 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3996 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3997 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3998 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3999 * libs/gst/base/gstadapter.h:
4000 * tests/check/libs/adapter.c: (create_and_fill_adapter),
4001 (GST_START_TEST), (gst_adapter_suite):
4002 * tests/examples/Makefile.am:
4003 Do some optimisation work in GstAdapter to avoid copies in more cases.
4004 It could still do slightly better by merging buffers when
4005 gst_buffer_is_span_fast is true, but is already faster.
4007 Also, avoid traversing a single-linked list to append each incoming
4008 buffer inside the adapter.
4010 Add simple test app that times the adapter behaviour in different
4011 situations, and extend the unit test to check that bytes enter and
4012 exit the adapter in their original order.
4014 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
4016 * docs/random/draft-missing-plugins.txt:
4017 Update: use element message instead of adding a new message
4018 type to the core; don't provide GStreamer API to initiate the
4019 plugin download, just provide API to compose the strings needed
4020 and let an external libgimmestuff handle the rest.
4022 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
4024 * tools/gst-inspect.c: (print_element_properties_info):
4025 Print a string instead of 'unknown type' for GValueArray properties
4027 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4029 * docs/random/draft-missing-plugins.txt:
4032 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4034 * tests/examples/typefind/typefind.c: (type_found), (main):
4035 Make typefind element example work again (#371894); add a
4038 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4040 * docs/random/draft-missing-plugins.txt:
4041 Commit initial draft about how to deal with missing plugins,
4042 needs work (API too).
4044 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4046 * docs/pwg/advanced-types.xml:
4047 documents the new caps elements (see #363118)
4049 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4051 * gst/gstplugin.c: (gst_plugin_load_file):
4052 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4053 (gst_file_src_map_region), (gst_file_src_start):
4054 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4055 (gst_file_index_commit):
4056 Use g_strerror() instead of strerror() - we want UTF-8.
4058 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4060 Patch by: Peter Kjellerstedt <pkj at axis com>
4062 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4063 Another printf fix (#371493).
4065 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4067 * tests/check/gst/gsttag.c:
4068 relicence (okay with author=company)
4070 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4072 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4073 (gst_pad_push_event):
4074 Enhance debug and improve docs
4079 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4081 * docs/random/ensonic/distributed.txt:
4082 * docs/random/ensonic/profiling.txt:
4085 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4087 * docs/gst/gstreamer-sections.txt:
4088 add new API and fix the build
4090 * gst/gstbin.c: (gst_bin_recalc_state):
4091 * gst/gstelement.c: (gst_element_message_full),
4092 (gst_element_get_state_func), (gst_element_set_state_func):
4093 use new API and improve logging
4095 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4097 API: add function to get StateChangereturn names to improve logs
4099 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4101 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4102 I'm considering shooting the next person to put strerror stuff
4103 in the translateable part of the message.
4105 2006-11-03 Wim Taymans <wim@fluendo.com>
4107 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4108 Get the type and printf conversion specifiers right.
4110 2006-11-03 Wim Taymans <wim@fluendo.com>
4112 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4114 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4115 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4116 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4117 Some small cleanups. Improve debugging.
4119 Signal all waiting threads with a broadcast instead of just one.
4122 2006-11-03 Wim Taymans <wim@fluendo.com>
4124 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4125 (gst_fd_src_create):
4127 Only update fd when it's different from the old.
4129 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4131 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4132 Printf fixes for PPC/OSX, take two (#369366).
4134 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4136 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4138 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4139 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4140 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4141 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4142 don't cast to long long for portability reasons, but use
4143 GLib's types instead.
4145 2006-10-30 Michael Smith <msmith@fluendo.com>
4147 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4148 Get the arguments to lseek() the right way around.
4151 2006-10-30 Wim Taymans <wim@fluendo.com>
4153 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4156 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4158 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4160 Patch by: Kjartan Maraas <kmaraas at gnome org>
4162 * docs/design/part-MT-refcounting.txt:
4163 * docs/random/wtay/capsnego2-docs:
4166 Typo fixes (#366212).
4168 2006-10-28 Wim Taymans <wim@fluendo.com>
4170 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4173 * win32/common/libgstbase.def:
4174 * win32/common/libgstreamer.def:
4175 * win32/vs8/libgstbase.vcproj:
4176 * win32/vs8/libgstcontroller.vcproj:
4177 Add needed entries in .def files.
4179 Rearrange def files in vs8 solutions. Fixes #366286.
4181 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4183 * win32/common/gstconfig.h:
4184 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4185 hand-made win32 gstconfig.h. Fixes #366321.
4187 2006-10-27 Wim Taymans <wim@fluendo.com>
4189 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4190 (gst_ghost_pad_new_full):
4191 Make acceptcaps return TRUE when we don't have a target, just like
4194 2006-10-27 Wim Taymans <wim@fluendo.com>
4196 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4197 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4199 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4201 * gst/gststructure.c: (gst_structure_id_set_value):
4202 If someone tries to set a non-UTF8 string field on a structure,
4203 don't just print a warning, but also ignore the request and do
4204 not change/add that field to the structure.
4206 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4209 2006-10-25 David Schleef <ds@schleef.org>
4212 g_hash_table_insert() needs a cast to a non-const pointer duh.
4214 2006-10-25 David Schleef <ds@schleef.org>
4218 Change name parameter of _gst_debug_register_funcptr to const
4219 to reflect the constness of its use in the function as well
4220 as to quiet a gcc warning.
4222 2006-10-25 Edward Hervey <edward@fluendo.com>
4224 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4225 Don't push the buffer if it's empty.
4228 2006-10-24 Wim Taymans <wim@fluendo.com>
4233 * libs/gst/base/gstbasetransform.c:
4234 (gst_base_transform_sink_eventfunc):
4235 Debug segment values *after* updating them as this is more
4238 2006-10-23 Wim Taymans <wim@fluendo.com>
4240 * docs/design/part-events.txt:
4243 * docs/design/part-block.txt:
4244 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4245 (gst_pad_push_event):
4246 Revert BLOCKING patch, it tries to be smart without really having a
4247 clear idea what or how. So, now we discard all FLUSHING events again on
4248 a blocking pad. Should fix gnonlin again.
4250 2006-10-23 Wim Taymans <wim@fluendo.com>
4252 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4254 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4255 (gst_base_src_start), (gst_base_src_activate_push):
4256 Make sure size is always initialized. Fixes #364388.
4258 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4260 * docs/random/ensonic/distributed.txt:
4261 add some ideas about doing distributed processing
4263 * docs/random/ensonic/profiling.txt:
4264 get_rusage look promising
4266 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4268 * docs/manual/basics-helloworld.xml:
4269 Add a cast in example to fix compile warning
4271 2006-10-18 Wim Taymans <wim@fluendo.com>
4273 * gst/gstsegment.c: (gst_segment_set_last_stop),
4274 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4275 Relax arg checking again, -1 is allowed.
4277 2006-10-18 Wim Taymans <wim@fluendo.com>
4279 * gst/gstsegment.c: (gst_segment_set_last_stop),
4280 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4281 _set_last_stop() must be with a value != -1
4282 A _TYPE_SET to -1 means seek to 0.
4283 Calc last_stop correctly for negative rates.
4284 Make sure we work with positive durations when updating a segment.
4286 2006-10-18 Wim Taymans <wim@fluendo.com>
4288 * docs/design/part-live-source.txt:
4292 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4295 Add an explicit cast to GstBuffer** to keep old code that added an
4296 explicit cast to GstMiniObject** for gst_mini_object_replace()
4297 compiling without warning.
4299 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4301 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4302 check for validity of dates
4304 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4306 * docs/gst/gstreamer-sections.txt:
4307 Forgot this one, makes gtk-doc shut up.
4309 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4311 Patch by: Peter Kjellerstedt <pkj at axis com>
4314 Don't define xmlNodePtr to gpointer if the core was built with
4315 --disable-loadsave and --disable-registry, this will break
4316 applications that want to use libxml2 but are buildling against a
4317 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4318 instead so we don't have to mess with the libxml2 namespace
4321 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4324 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4325 type-punned pointer warnings.
4327 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4330 Add casts to the correct return type to state <=> state transition
4333 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4335 * docs/design/part-live-source.txt:
4336 describe howto handle latency
4338 * docs/random/ensonic/profiling.txt:
4341 * tools/gst-plot-timeline.py:
4342 fix log parsing for solaris, remove unused function
4344 2006-10-16 Wim Taymans <wim@fluendo.com>
4346 * docs/design/part-trickmodes.txt:
4348 Update some docs regarding reverse playback.
4350 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4352 Patch by: Marcus Granado <mrc dot gran at gmail com>
4354 * win32/vs8/grammar.vcproj:
4355 Error out with a warning if glib-genmarshal.exe is not in path,
4356 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4358 2006-10-13 Wim Taymans <wim@fluendo.com>
4360 * gst/gstsegment.c: (gst_segment_set_seek):
4361 When seeking to stop -1, set last_stop (current position) to the
4362 duration of the segment.
4364 2006-10-13 Wim Taymans <wim@fluendo.com>
4367 Clarify _NO_PREROLL a bit more.
4372 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4373 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4374 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4375 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4376 due to wrong locking order. Fixes #361769.
4377 Remove some redundant/misplaced checks in pad_block.
4379 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4380 For negative rates, count backwards from the duration.
4382 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4384 * gst/gsterror.c: (_gst_library_errors_init):
4385 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4386 up with something better).
4388 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4390 * win32/vs6/libgstreamer.dsp:
4391 * win32/vs7/libgstreamer.vcproj:
4392 * win32/vs8/libgstreamer.vcproj:
4393 Don't reference glib-compat.c which is currently not used and not
4394 disted; add gstquark.c which was recently added. Fixes #361730.
4396 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4398 * win32/common/libgstbase.def:
4399 * win32/common/libgstcontroller.def:
4400 * win32/common/libgstreamer.def:
4401 Add gst_caps_merge() and a bunch of other recently-added functions.
4404 2006-10-11 Wim Taymans <wim@fluendo.com>
4406 * docs/plugins/gstreamer-plugins.args:
4407 * docs/plugins/inspect/plugin-coreelements.xml:
4408 * docs/plugins/inspect/plugin-coreindexers.xml:
4409 Update element args.
4411 * gst/gstsystemclock.c:
4412 Small comment update.
4414 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4415 (gst_tee_request_new_pad), (gst_tee_release_pad),
4416 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4417 (gst_tee_sink_activate_pull):
4418 * plugins/elements/gsttee.h:
4420 Add default property defines.
4421 Implement release pad function.
4422 Give properties better blubs etc.
4423 Activate pads before adding them to a running tee.
4424 Do simple buffer_alloc on the first requested pad.
4425 Post error when activation fails.
4427 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4429 * gst/gst.c: (ensure_current_registry_forking):
4430 Check return value of write() to make compiler happy.
4432 2006-10-11 Wim Taymans <wim@fluendo.com>
4434 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4436 * plugins/elements/gstqueue.c: (gst_queue_chain):
4437 Recheck queue filledness after signalling the overrun when we're about
4438 to leak downstream because we released the lock when emitting the signal
4439 and the queue could be empty again. Fixes #352345.
4441 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4443 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4444 Fix refcounting here too, just like we did for _new_valist() a few
4445 days ago (#357180) (thanks to René Stadler). Also remove all those
4446 'Since: 0.9' from the gtk-doc blobs.
4448 * tests/check/libs/controller.c: (controller_refcount_new_list),
4449 (gst_controller_suite):
4450 Unit test for the above.
4452 2006-10-10 Wim Taymans <wim@fluendo.com>
4454 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4456 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4457 (gst_pad_save_thyself):
4459 Write pad direction in XML output. Fixes #345496.
4461 2006-10-10 Wim Taymans <wim@fluendo.com>
4463 Patch by: René Stadler <mail at renestadler dot de>
4465 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4466 (gst_controller_new_list), (_gst_controller_dispose),
4467 (_gst_controller_finalize), (_gst_controller_class_init):
4468 Take ref to controlled object so that it cannot disappear.
4471 2006-10-10 Wim Taymans <wim@fluendo.com>
4473 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4474 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4475 (gst_check_teardown_sink_pad):
4476 Activate/deactivate pads in setup/teardown respectively.
4478 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4480 Patch by: Josep Torre Valles <josep@fluendo.com>
4483 Cast values when making gstenumtypes.h. This pacifies Forte
4484 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4487 2006-10-09 Wim Taymans <wim@fluendo.com>
4489 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4490 Rename some more @cur to @start to fix docs.
4492 * gst/gstsegment.c: (gst_segment_set_seek):
4494 time and start must always stay in sync as defined in design doc.
4496 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4497 Rename param to fix docs.
4499 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4500 Check that start and time are in sync.
4502 * tests/check/pipelines/parse-launch.c:
4503 (gst_parse_test_element_change_state):
4504 Activate pad before adding to the element.
4506 2006-10-09 Wim Taymans <wim@fluendo.com>
4508 * docs/design/part-qos.txt:
4513 Update seek event docs regarding negative rates.
4514 Rename @cur to @start.
4516 * gst/gstsegment.c: (gst_segment_set_seek):
4518 Update set_seek docs regarding negative rates.
4519 Correctly update last_stop to @stop when dealing with negative
4521 Rename @cur to @start.
4523 * tests/check/gst/gstpad.c: (GST_START_TEST):
4524 Activate pads before trying to use them.
4526 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4527 (gst_segment_suite):
4528 Add simple check for segments and negative rates.
4530 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4532 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4534 * docs/gst/gstreamer-sections.txt:
4535 API: add gst_tag_list_is_empty() (#360467).
4537 * tests/check/gst/gsttag.c: (GST_START_TEST):
4540 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4543 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4544 a value that doesn't fit on enumeration.
4546 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4548 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4549 Remove local debugging system and use Gstreamer's instead.
4551 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4553 Patch by: Josep Torre Valles <josep@fluendo.com>
4555 * common/m4/gst-error.m4:
4556 Disable warning of statement not reached on Forte.
4558 Fix warning on Forte (value doesn't fit on enumeration).
4559 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4560 Fix warning on Forte (value doesn't fit on enumeration).
4561 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4562 DEBUG macro says it takes minimum of 2 args and so Forte
4563 complains about the use with just 1 arg.
4564 * plugins/elements/gstfdsink.c:
4565 * plugins/elements/gstfdsrc.c:
4566 * plugins/elements/gstfilesink.c:
4567 * plugins/elements/gstfilesrc.c:
4568 Use correct return type for the uri handler implementations.
4570 All these fix warnings in Forte. Fixes bug #360860.
4572 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4575 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4576 format string, so don't use G_GNUC_PRINTF for those versions.
4578 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4580 * gst/gsttaglist.c: (gst_is_tag_list):
4582 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4584 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4585 Small test for the above.
4587 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4590 Less tabs, more spaces.
4592 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4595 Those two function declarations do actually belong there, revert
4596 commit from yesterday that turned them intro macros.
4598 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4600 Patch by: Josep Torre Valles <josep@fluendo.com>
4602 * gst/gst.c: (gst_init_get_option_group):
4603 Fix empty declaration and type mismatch.
4604 * gst/gstbin.c: (gst_bin_change_state_func):
4606 * gst/gstelement.c: (gst_element_continue_state),
4607 (gst_element_set_state_func), (gst_element_change_state),
4608 (gst_element_change_state_func):
4609 Fix type mismatches.
4610 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4611 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4612 Cast as appropriate.
4613 * gst/gstobject.c: (gst_class_signal_connect):
4614 Cast as appropriate. The function pointer parameter really
4615 has the wrong type but would break API if we change it.
4617 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4618 order of including string.h.
4619 * gst/gstutils.c: (gst_element_state_get_name):
4620 Remove unreachable line.
4621 * gst/gstxml.c: (gst_xml_parse_doc):
4623 All these caught by Forte.
4625 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4627 Patch by: Josep Torre Valles <josep@fluendo.com>
4629 * common/m4/gst-error.m4:
4631 We need to disable warnings on Forte for empty declarations
4632 due to gst-indent adding ;s to lines that just use macros
4633 where the macro actually doesn't need a ; at end to end
4636 2006-10-06 Wim Taymans <wim@fluendo.com>
4638 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4639 (gst_file_sink_close_file), (gst_file_sink_event),
4640 (gst_file_sink_render):
4641 Add some FIXME for the NEWSEGMENT handling.
4643 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4645 * gst/parse/grammar.y:
4646 Remove static function gst_parse_element_lock as all it does
4647 is return. Looks like cruft from 0.8.
4649 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4651 Patch by: Josep Torre Valles <josep@fluendo.com>
4653 * common/m4/gst-error.m4:
4655 * libs/gst/net/Makefile.am:
4656 Fix a compilation issue with Forte on Solaris. inet_aton is in
4659 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4661 * gst/gstpad.c: (pre_activate):
4662 * gst/gstregistry.c: (gst_registry_scan_path_level):
4663 * gst/gstregistryxml.c: (load_plugin):
4664 * libs/gst/controller/gstcontroller.c:
4665 (gst_controlled_property_set_interpolation_mode):
4666 * libs/gst/dataprotocol/dataprotocol.c:
4667 (gst_dp_packet_from_event_1_0):
4668 * libs/gst/net/gstnetclientclock.c:
4669 (gst_net_client_clock_observe_times):
4670 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4673 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4676 * docs/gst/gstreamer-sections.txt:
4677 * gst/gstconfig.h.in:
4680 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4681 whether we can use G_GNUC_PRINTF in other header files and at
4682 least check the printf format/arguments of debug messages and
4683 GST_ELEMENT_ERROR messages when the printf extension is not
4685 Replace more tabs with spaces in gstinfo.h and remove two spurious
4686 function declarations in GST_DISABLE_DEBUG part with macros.
4688 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4690 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4691 More docs for the sync-message signal (mention that it is not
4692 emitted by default); log message structures of messages posted on
4695 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4697 * gst/gst.c: (ensure_current_registry_forking):
4698 Use a pipe pair to receive status results from the forked child, and
4699 ignore the result from waitpid. Fixes #355499
4701 2006-10-02 Wim Taymans <wim@fluendo.com>
4703 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4704 (gst_ghost_pad_suite):
4707 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4710 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4712 2006-10-02 Edward Hervey <edward@fluendo.com>
4714 * docs/design/part-block.txt:
4715 Further explain the use of flushing on blocked pads.
4716 * docs/gst/gstreamer-sections.txt:
4717 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4718 (gst_pad_push_event):
4720 Added new GstPadFlag : GST_PAD_BLOCKING.
4721 Adds the notion of pads really blocking, which enables to properly
4722 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4724 API: gst_pad_is_blocking()
4725 API: GST_PAD_IS_BLOCKING() macro
4726 API: GST_PAD_BLOCKING GstPadFlag
4728 2006-10-02 Wim Taymans <wim@fluendo.com>
4730 Patch by: mrcgran <mrc.gran at gmail dot com>
4732 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4733 Filter the proxied caps against the padtemplate if we have one.
4735 * gst/gstquery.c: (gst_query_new_segment):
4736 Add include for gstinfo.h so that compilation with
4737 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4739 2006-10-02 Wim Taymans <wim@fluendo.com>
4741 Patch by: Alessandro Decina <alessandro at nnva org>
4743 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4744 (gst_file_sink_set_location), (gst_file_sink_open_file),
4745 (gst_file_sink_close_file), (gst_file_sink_event),
4746 (gst_file_sink_render):
4747 Set file to NULL when closing filesink so that we can set a new filename
4748 in READY. Fixes #358613.
4750 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4752 Patch by: Alessandro Decina <alessandro at nnva org>
4754 * gst/gstevent.c: (_gst_event_copy):
4755 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4756 with event structures by setting the parent refcount address of the
4757 copied structure to the address of the refcount member of the newly
4758 copied event rather than the address of the refcount member of the
4759 original event. Fixes #358737.
4761 * tests/check/gst/gstevent.c: (GST_START_TEST):
4762 Unit test for the above.
4764 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4766 * docs/design/Makefile.am:
4767 Dist some more files.
4769 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4771 * tests/check/libs/controller.c: (GST_START_TEST),
4772 (gst_controller_suite):
4773 Add test for the previous fix; add some more tests
4774 for correct refcounting behaviour; fix a few leaks
4775 in test cases; call gst_controller_init() at start
4778 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4780 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4781 (gst_controller_set_from_list):
4782 Don't g_return_val_if_fail() on timed values with invalid timestamps
4783 inside a critical section without unlocking the mutex. Spotted by
4784 René Stadler. (#357617)
4785 Also, fix up refcounting properly: when returning an existing
4786 controller, we should increase the reference only once and not
4787 once per property and when trying to control a property again
4788 we should also increase the refcount.
4790 2006-09-29 Wim Taymans <wim@fluendo.com>
4792 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4793 * libs/gst/net/gstnettimeprovider.c:
4794 (gst_net_time_provider_thread):
4795 Stop reading commands when EOF as well.
4797 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4798 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4799 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4800 Unify description of the dump property.
4802 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4804 * tests/examples/manual/.cvsignore:
4805 OK, so it's actually cvsignore that needs changing. Stop laughing.
4807 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4809 * tests/examples/manual/Makefile.am:
4810 Gah, declare vars *before* using them
4812 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4814 * gst/gst.c: (init_pre), (scan_and_update_registry),
4815 (ensure_current_registry_nonforking),
4816 (ensure_current_registry_forking), (ensure_current_registry),
4817 (init_post), (gst_debug_help), (gst_deinit):
4818 * gst/gst_private.h:
4819 * gst/gstregistry.c: (gst_registry_finalize),
4820 (gst_registry_remove_features_for_plugin_unlocked),
4821 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4822 (gst_registry_scan_path),
4823 (_priv_gst_registry_remove_cache_plugins),
4824 (_priv_gst_registry_cleanup):
4825 * gst/gstregistry.h:
4826 Re-commit the registry changes, along with an extra fix:
4827 When a cached plugin is encountered at a different file path,
4828 update the stored path in the registry cache so that the parent
4829 process knows where it actually is now when it re-reads the registry
4830 cache. Fixes the thing that broke distcheck with the previous commit.
4832 * tests/check/Makefile.am:
4833 Clean up files named 'core' too when running make clean.
4835 * tests/examples/manual/Makefile.am:
4836 Set up a registry path for running these tests, and clean it properly
4839 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4842 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4843 want gmodule-no-export-2.0.pc instead so that we don't drag in
4844 --export-dynamic on every project that links to GStreamer.
4846 Also, make our export regex only match the start of symbols, rather
4847 than any symbol that contains '_gst' somewhere.
4849 * libs/gst/check/Makefile.am:
4850 The libgstcheck we build does however need export-dynamic, as it
4851 produces some symbols that don't match our _gst... style regex.
4854 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4856 * gst/gst.c: (init_pre), (scan_and_update_registry),
4857 (ensure_current_registry_nonforking),
4858 (ensure_current_registry_forking), (ensure_current_registry),
4859 (init_post), (gst_debug_help), (gst_deinit):
4860 * gst/gst_private.h:
4861 * gst/gstregistry.c: (gst_registry_finalize),
4862 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4863 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4864 (_gst_registry_cleanup):
4865 * gst/gstregistry.h:
4866 Revert previous change until I figure out why it breaks distcheck.
4868 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4870 * gst/gst.c: (init_pre), (scan_and_update_registry),
4871 (ensure_current_registry_nonforking),
4872 (ensure_current_registry_forking), (ensure_current_registry),
4873 (init_post), (gst_debug_help), (gst_deinit):
4875 Make init_pre and init_post take the full complement of GOptionFunc
4876 args so they can return useful GErrors. Make the registry updating
4879 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4880 ensure that the registry we're about to write out doesn't contain
4881 stale information about old-deleted plugin files.
4883 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4884 that deletion of plugin files is considered a registry change.
4886 * gst/gst_private.h:
4887 * gst/gstregistry.c: (gst_registry_finalize),
4888 (gst_registry_remove_features_for_plugin_unlocked),
4889 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4890 (gst_registry_scan_path),
4891 (_priv_gst_registry_remove_cache_plugins),
4892 (_priv_gst_registry_cleanup):
4893 * gst/gstregistry.h:
4894 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4895 by adding _priv prefix, so that they won't appear in the global
4896 symbol table. They still do atm though because of #318031. Move the
4897 prototypes to gst_private.h
4899 When removing a plugin, remove all features for that plugin too.
4902 2006-09-27 Wim Taymans <wim@fluendo.com>
4904 * docs/random/moving-plugins:
4905 Make it clear that the "compiled-in descriptions" really mean
4906 the element details.
4908 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4909 (gst_base_sink_wait_preroll):
4912 * docs/libs/gstreamer-libs-sections.txt:
4913 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4914 (gst_base_src_get_range), (gst_base_src_activate_push):
4915 * libs/gst/base/gstbasesrc.h:
4916 Added function to block while waiting for PLAYING, this function
4917 is used by live sources that block on the clock.
4918 API: gst_base_src_wait_playing()
4920 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4922 Patch by: Peter Kjellerstedt <pkj at axis com>
4925 gst-element-check.m4 is generated and should therefore be
4926 copied from the build dir rather than the source dir (#357593).
4927 'make distcheck' hasn't noticed this because we were disting
4928 the file as well, so stop doing that.
4930 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4932 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4933 Add some tests for gst_caps_intersect().
4935 * tools/gst-launch.c: (event_loop):
4936 Print all buffering percentages we get, even the 100% one.
4938 2006-09-26 Wim Taymans <wim@fluendo.com>
4940 * tools/gst-inspect.c: (print_element_properties_info),
4941 (print_signal_info):
4942 Fix printing of flags to match the look of enums.
4944 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4946 * gst/gstelementfactory.c:
4947 Fix typo in docs blurb.
4949 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4951 * gst/gsturi.c: (search_by_entry):
4952 Don't assert/crash here if a uri handler doesn't return any
4953 supported protocols. The list of protocols could be generated
4954 dynamically at runtime or at plugin registration, and an error
4955 in the underlying library shouldn't be fatal (#353301).
4957 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4960 Fix warning if HAVE_PRINTF_EXTENSION is undefined
4961 (spotted by Peter Kjellerstedt).
4963 2006-09-23 Wim Taymans <wim@fluendo.com>
4965 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4967 * libs/gst/base/gstbasesrc.c:
4968 (gst_base_src_default_check_get_range), (gst_base_src_start),
4969 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4970 (gst_base_src_change_state):
4971 Match _start/_stop calls in the activate functions. Remove redundant
4972 _stop call from the state change function. Fixes #356910.
4973 Turn failure DEBUG into ERROR.
4975 2006-09-22 Wim Taymans <wim@fluendo.com>
4977 * docs/design/part-buffering.txt:
4978 * gst/gstmessage.c: (gst_message_new_buffering),
4979 (gst_message_parse_buffering):
4980 Update docs about buffering.
4982 * docs/design/part-trickmodes.txt:
4985 2006-09-22 Stefan Kost <ensonic@users.sf.net>
4987 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4988 (gst_controller_new_list):
4989 Ref instances when returning them again (fixes #357180)
4991 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
4993 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4994 Don't forget to release proxy lock when there's an error.
4996 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
4999 Add extra initialisers for Caps things, to fix some plugin warnings
5002 2006-09-18 Wim Taymans <wim@fluendo.com>
5004 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5005 Also set template on the internal pad so that a getcaps from the
5006 target pad returns the template caps.
5008 2006-09-18 Wim Taymans <wim@fluendo.com>
5010 * gst/gstelement.c: (gst_element_post_message),
5011 (gst_element_dispose):
5012 Use _DEBUG_OBJECT some more.
5014 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5017 * tools/gst-launch.c: (main):
5018 If the toplevel element is not a GstPipeline, it must be put in a
5019 pipeline so that a bus and clock is selected.
5021 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5023 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5024 JITTER, RATE, and LATENCY query should be handled by the
5025 default case and not by the CONVERT query code.
5027 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5029 * gst/gstformat.c: (gst_format_register):
5030 Fix locking order (must take lock before using n_values).
5032 * gst/gstvalue.c: (gst_value_serialize_enum),
5033 (gst_value_deserialize_enum_iter_cmp),
5034 (gst_value_deserialize_enum):
5035 Fix serialisation/deserialisation of custom registered GstFormats.
5037 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5038 Unit test for custom format serialisation/deserialisation.
5040 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5042 * docs/pwg/building-boiler.xml:
5043 * plugins/elements/gstcapsfilter.c:
5044 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5047 2006-09-16 Edward Hervey <edward@fluendo.com>
5049 * libs/gst/base/gstbasetransform.c:
5050 (gst_base_transform_buffer_alloc):
5051 Check if requested caps are the same as the sinks caps IF
5052 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5054 This fixes the renegotiation issues stated in #352827.
5056 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5059 * docs/manual/advanced-autoplugging.xml:
5060 * tests/examples/Makefile.am:
5061 * tests/examples/manual/.cvsignore:
5062 * tests/examples/manual/Makefile.am:
5063 * tests/examples/manual/extract.pl:
5064 Extract the manual examples again like we used to do.
5067 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5069 * win32/common/config.h:
5072 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5075 Documents how to receive errors.
5077 2006-09-15 Wim Taymans <wim@fluendo.com>
5079 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5080 (event_loop), (main):
5081 Added some comments here and there.
5082 Post an application message when an interrupt is caught instead of doing
5083 an uncontrolled state change.
5084 Clean up the event loop.
5085 Handle buffering messages, pause/resume the pipeline.
5086 Make shutdown because of an interrupt more reliable.
5088 2006-09-15 Wim Taymans <wim@fluendo.com>
5090 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5091 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5092 (gst_base_sink_preroll_object):
5093 Make sure that our internal state is correct when we commit our state
5094 asynchronously. This solves a race where a state change to PLAYING
5095 could cause the sink to remain blocked in preroll in some situations.
5097 2006-09-15 Wim Taymans <wim@fluendo.com>
5099 * tools/gst-inspect.c: (print_element_properties_info),
5100 (print_signal_info):
5101 List flags as hex so it's easier to deal with.
5103 2006-09-15 Wim Taymans <wim@fluendo.com>
5105 * docs/libs/gstreamer-libs-sections.txt:
5106 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5107 (gst_base_sink_do_sync):
5108 * libs/gst/base/gstbasesink.h:
5109 Expose logic to wait for preroll so that subclasses such as audiosink
5110 can also use this method.
5111 API: gst_base_sink_wait_preroll()
5113 2006-09-15 Wim Taymans <wim@fluendo.com>
5115 * gst/gstobject.c: (gst_object_set_parent):
5116 * gst/gstpipeline.c: (do_pipeline_seek):
5117 Small cleanups in docs and code.
5119 * gst/gstsegment.c: (gst_segment_clip):
5120 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5121 if stop == start and start is in the segment, no clipping should be
5122 done. Also add a test for this.
5124 2006-09-15 Wim Taymans <wim@fluendo.com>
5126 * docs/design/part-buffering.txt:
5127 * docs/gst/gstreamer-sections.txt:
5128 * gst/gstmessage.c: (gst_message_new_buffering),
5129 (gst_message_parse_buffering):
5131 Added methods to create and parse BUFFERING messages.
5132 Added preliminary docs about buffering.
5133 API: gst_message_new_buffering
5134 API: gst_message_parse_buffering
5136 2006-09-06 Wim Taymans <wim@fluendo.com>
5139 Update documentation.
5141 * gst/gstelement.c: (gst_element_class_init),
5142 (gst_element_release_request_pad), (gst_element_set_clock),
5143 (gst_element_get_index), (gst_element_add_pad),
5144 (gst_element_remove_pad), (gst_element_get_random_pad),
5145 (gst_element_send_event), (gst_element_get_query_types),
5146 (gst_element_query), (gst_element_post_message),
5147 (gst_element_message_full), (gst_element_continue_state),
5148 (gst_element_lost_state), (gst_element_save_thyself),
5149 (gst_element_restore_thyself):
5150 Documentation updates.
5151 Rename last bit of the new-pad -> pad-added signal rename.
5152 Fix the case where an element query would only work if the source
5154 Avoid some useless type checking in message handling.
5159 Documentation updates.
5161 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5163 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5164 add an INFO line for when we actually update the fd
5166 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5171 === release 0.10.10 ===
5173 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5176 releasing 0.10.10, "Pais"
5178 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5180 * docs/manual/advanced-position.xml:
5181 Fix typo in sample code.
5183 2006-09-05 Wim Taymans <wim@fluendo.com>
5185 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5186 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5187 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5188 * libs/gst/net/gstnetclientclock.h:
5189 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5190 * libs/gst/net/gstnettimepacket.h:
5191 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5192 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5193 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5194 * libs/gst/net/gstnettimeprovider.h:
5195 Make stuff compile on windows. Fixes #345295.
5197 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5199 * gst/gst.c: (ensure_current_registry_forking):
5200 Print better details when child was terminated by signal.
5202 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5204 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5205 Print a warning rather than g_assert() if a plugin feature
5206 is a URI handler but returns no protocols (#353976).
5208 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5210 * docs/random/moving-plugins:
5213 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5215 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5216 Fix locking order, handle NULL function values properly.
5221 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5222 Initialise variable before using it and fix debug statement to
5223 print the address of the function rather than the address of the
5224 variable on the stack holding the address of the function.
5226 2006-09-01 Wim Taymans <wim@fluendo.com>
5228 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5229 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5230 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5231 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5232 (gst_ghost_pad_parent_unset),
5233 (gst_ghost_pad_internal_do_activate_push),
5234 (gst_ghost_pad_internal_do_activate_pull),
5235 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5236 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5237 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5238 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5239 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5240 (gst_ghost_pad_new_no_target_from_template),
5241 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5243 Avoid needless typechecking in macros.
5244 Since the internal pad is always present and never changes, there is
5245 no need to locking or ref when retrieving it.
5246 Improve debugging a bit.
5247 Handle link errors when setting the target. Fixes #341029.
5249 2006-09-01 Wim Taymans <wim@fluendo.com>
5251 * docs/libs/gstreamer-libs-sections.txt:
5252 * docs/plugins/gstreamer-plugins-sections.txt:
5255 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5256 (gst_collect_pads_event):
5257 * libs/gst/base/gstcollectpads.h:
5258 Documentation updates.
5259 Free queued buffer when removing a pad.
5261 2006-08-31 Michael Smith <msmith@fluendo.com>
5263 * gst/gstutils.c: (gst_element_link_pads),
5264 (gst_element_link_pads_filtered):
5265 Ensure that we set a capsfilter to NULL if we failed to link it
5266 when doing filtered linking, to avoid criticals.
5268 No need to check for unreffing srcpad, which is explicly NULLed
5269 above (a trivial code cleanup).
5271 2006-08-31 Wim Taymans <wim@fluendo.com>
5273 * docs/design/part-gstghostpad.txt:
5274 Update ascii art in documentation.
5276 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5277 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5278 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5279 (gst_ghost_pad_internal_do_activate_push),
5280 (gst_ghost_pad_internal_do_activate_pull),
5281 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5282 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5283 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5284 (gst_ghost_pad_set_target):
5285 Small cleanups and leak fixes.
5286 Remove some checks now that the internal pad is never NULL.
5287 Fix the case where linking pads without a target would create nasty
5288 criticals. Fixes #341029.
5289 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5290 value of _set_target().
5292 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5293 (gst_ghost_pad_suite):
5294 Some more tests for creating and linking untargeted ghostpads.
5296 2006-08-31 Edward Hervey <edward@fluendo.com>
5298 * docs/gst/gstreamer-sections.txt:
5299 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5300 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5301 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5302 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5303 (gst_ghost_pad_new_from_template),
5304 (gst_ghost_pad_new_no_target_from_template):
5305 * gst/gstghostpad.h:
5306 Refactored *_new() functions.
5307 Templates are now used as a g_object_new() parameter.
5308 Use template in _do_getcaps() if we don't have a target.
5309 Small documentation cleanups.
5310 Added two new constructors:
5311 gst_ghost_pad_new_from_template()
5312 gst_ghost_pad_new_no_target_from_template()
5313 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5314 (gst_ghost_pad_suite):
5315 Added tests for new ghostpad instanciation functions.
5317 API additions: gst_ghost_pad_new_from_template,
5318 gst_ghost_pad_new_no_target_from_template
5320 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5322 * docs/random/ensonic/profiling.txt:
5323 Ideas about qos profiling.
5325 2006-08-29 Wim Taymans <wim@fluendo.com>
5327 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5331 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5334 Improve and detypofy docs.
5336 * tests/check/Makefile.am:
5337 * tests/check/gst/.cvsignore:
5338 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5339 Add a basic test suite for GstXML.
5341 2006-08-29 Wim Taymans <wim@fluendo.com>
5343 * gst/gstelement.c: (activate_pads), (clear_caps),
5344 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5345 Clear the pad caps when the element shut down all of the pads and
5346 is not streaming data that could modify the caps.
5349 2006-08-28 Michael Smith <msmith@fluendo.com>
5351 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5352 Revert previous change; I misunderstood single-segment mode.
5354 2006-08-28 Michael Smith <msmith@fluendo.com>
5356 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5357 Unset DISCONT on buffers when using single-segment mode.
5359 2006-08-28 Wim Taymans <wim@fluendo.com>
5361 * gst/gstcaps.c: (gst_caps_merge_structure):
5363 Fix docs and indentation again.
5365 * tests/check/gst/gstquery.c: (GST_START_TEST):
5366 Fix leak in tests and add some more tests.
5368 2006-08-28 Edward Hervey <edward@fluendo.com>
5370 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5371 Inform GstSegment of the last stop position in order for the current
5372 segment to have a proper duration if it doesn't have a specific stop
5373 position from which a duration could be calculated.
5374 This bug was noticeable when a non-flushing, non-update new segment was
5375 followed by another segment (all buffers from the new segment were being
5378 2006-08-28 Wim Taymans <wim@fluendo.com>
5380 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5381 Small comment update.
5383 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5384 (gst_identity_transform_ip):
5385 Drop-probability is broken, mention this in the code with a
5386 FIXME and also in the property description.
5387 Make silent also be silent about the drop messages.
5389 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5391 * docs/manual/appendix-win32.xml:
5392 Remove mention of popt, we don't depend on that any
5393 longer (#353136). Add some comments pointing out that
5394 this section is slightly outdated.
5396 2006-08-28 Wim Taymans <wim@fluendo.com>
5398 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5400 * gst/gstquery.c: (gst_query_new_segment):
5401 * tests/check/gst/gstquery.c: (GST_START_TEST):
5402 Initialize variables when creating a new segment query.
5405 2006-08-28 Wim Taymans <wim@fluendo.com>
5407 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5409 * gst/gstelement.c: (gst_element_get_bus):
5410 * tests/check/gst/gstelement.c: (GST_START_TEST):
5411 Check for NULL before _reffing the bus. Fixes #353122.
5413 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
5415 * docs/manual/basics-bus.xml:
5416 Docs update: fix wrong callback return value explanation; add
5417 some lines about the implicit relationship between main loop
5418 and main context; remove duplicate main loop variable declaration.
5420 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
5422 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5423 Don't leak caps in unit test; add a few more simple
5426 2006-08-24 Stefan Kost <ensonic@users.sf.net>
5428 * docs/gst/gstreamer-sections.txt:
5429 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5430 (gst_caps_structure_is_subset), (gst_caps_merge),
5431 (gst_caps_merge_structure):
5433 * libs/gst/base/gstbasetransform.c:
5434 (gst_base_transform_transform_caps):
5435 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5436 implement caps merging (fixes #352580)
5438 2006-08-23 Stefan Kost <ensonic@users.sf.net>
5440 * tools/Makefile.am:
5441 * tools/gst-plot-timeline.py:
5442 add debug-log plotting developer tool (#340674)
5444 2006-08-23 Wim Taymans <wim@fluendo.com>
5446 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5447 (gst_pad_stop_task):
5448 Improve debugging for task functions.
5450 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5451 (gst_task_start), (gst_task_pause), (gst_task_join):
5452 Make sure that the task function started and finished after a
5454 Don't try to push the task function on the threadpool multiple
5456 Improve the g_warning message with some useful suggestions
5457 about how to fix the problem.
5459 2006-08-23 Wim Taymans <wim@fluendo.com>
5461 * gst/gstutils.c: (gst_pad_proxy_getcaps):
5462 Handle RESYNC correctly in _proxy_getcaps.
5464 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
5466 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5467 (gst_xml_parse_memory), (gst_xml_get_element):
5468 Chain up to parent class in dispose function and also
5469 unref the elements in the toplevel_elements GList.
5470 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5471 Always return a reference in gst_xml_get_element() rather
5472 than only sometimes.
5474 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5475 Don't leak GstXml object.
5477 2006-08-21 Stefan Kost <ensonic@users.sf.net>
5479 * docs/gst/gstreamer-sections.txt:
5480 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5483 * libs/gst/base/gstbasetransform.c:
5484 (gst_base_transform_transform_caps):
5485 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5488 2006-08-21 Edward Hervey <edward@fluendo.com>
5490 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5491 Implement GObject::dispose virtual method in GstXML so we can free the
5494 2006-08-21 Wim Taymans <wim@fluendo.com>
5496 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5497 (gst_buffer_create_sub):
5498 Copy duration/offset_end/caps when creating a subbuffer of the
5500 Make the subbuffer read-only when we make the metadata writable for
5503 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5504 Added check for metadata copy when creating subbuffers.
5506 2006-08-21 Edward Hervey <edward@fluendo.com>
5508 * libs/gst/base/gstbasetransform.c:
5509 (gst_base_transform_buffer_alloc):
5510 Only call downstream buffer_alloc if transform element is passthrough
5511 or always_in_place. Closes #350449.
5513 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5516 ChangeLog surgery to add comments to previous changes
5518 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5523 * gst/gstpad.c: (gst_pad_set_active):
5524 Be more verbose in the log
5526 * libs/gst/base/gstbasetransform.c:
5527 (gst_base_transform_transform_caps):
5528 Simplify caps to get rid of duplicates, fixes #345444
5530 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5534 Use these optimizations only internally.
5536 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5538 * gst/gstvalue.c: (gst_value_compare_list),
5539 (gst_value_compare_fraction_range),
5540 (gst_value_intersect_fraction_fraction_range),
5541 (gst_value_intersect_fraction_range_fraction_range),
5542 (gst_value_subtract_fraction_fraction_range),
5543 (gst_value_subtract_fraction_range_fraction_range),
5544 (gst_value_get_compare_func), (gst_value_compare),
5545 (gst_value_compare_with_func):
5547 Saves the expensive lookup of the compare function in many cases
5550 2006-08-18 Edward Hervey <edward@fluendo.com>
5552 * tests/check/gst/gstinfo.c: (gst_info_suite):
5553 Disable test that require gstdebug if it wasn't built in core.
5555 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5557 * docs/random/ensonic/logging.txt:
5560 * gst/gstinfo.c: (gst_debug_log_default):
5561 reorder fields, save some columns, add optional color codes for log
5564 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5566 * docs/random/ensonic/logging.txt:
5567 add ideas about making the logs a bit more useful
5569 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5571 * docs/pwg/advanced-events.xml:
5572 * docs/pwg/titlepage.xml:
5573 Update for 0.10 API (#340627). Add myself
5576 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5578 * docs/libs/gstreamer-libs-docs.sgml:
5579 * docs/libs/gstreamer-libs-sections.txt:
5580 * libs/gst/check/gstbufferstraw.c:
5581 Make gstcheck stuff show up in docs (still needs to
5582 be documented properly though).
5584 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5586 * docs/gst/gstreamer-sections.txt:
5588 * gst/gst.c: (init_post):
5589 * gst/gst_private.h:
5590 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5592 * gst/gstquery.c: (gst_query_new_position),
5593 (gst_query_set_position), (gst_query_parse_position),
5594 (gst_query_new_duration), (gst_query_set_duration),
5595 (gst_query_parse_duration), (gst_query_new_convert),
5596 (gst_query_set_convert), (gst_query_parse_convert),
5597 (gst_query_new_segment), (gst_query_set_segment),
5598 (gst_query_parse_segment), (gst_query_new_seeking),
5599 (gst_query_set_seeking), (gst_query_parse_seeking):
5600 Add internal helpers for pre-registering quarks from static strings
5601 and using the quark values directly instead of looking them up when
5602 creating and parsing queries. Can be used for event construction too.
5605 2006-08-16 Wim Taymans <wim@fluendo.com>
5610 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5612 * gst/gstutils.c: (gst_util_set_value_from_string):
5613 Fix memleak (#351502).
5615 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5616 Add unit test for most of gst_util_set_value_from_string()
5617 (not that one would want to encourage use of this function).
5619 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5621 * libs/gst/check/gstcheck.h:
5622 Use const gchar * variables in fail_unless_equals_string
5623 macro to avoid compiler warnings (and don't use tabs for
5626 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5628 * tools/gst-launch.c: (print_tag):
5629 More space on the left for the tag names, to cater
5630 for the 'extended comment' tag (not touching the
5631 string for the first line since it's translated).
5633 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5635 * libs/gst/check/gstcheck.h:
5636 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5637 print something when they fail.
5639 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5641 * docs/gst/gstreamer-sections.txt:
5642 * gst/gsttaglist.c: (_gst_tag_initialize):
5644 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5645 Also change merge function for GST_TAG_COMMENT to
5648 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5650 * gst/gstinfo.c: (gst_debug_print_object):
5651 Make GST_PTR_FORMAT print messages as well.
5653 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5654 (GST_START_TEST), (gst_info_suite):
5657 2006-08-14 Edward Hervey <edward@fluendo.com>
5659 * gst/gstelementfactory.c: (gst_element_register):
5660 If the GstElementClass doesn't have a GstElementDetails with all fields
5661 filled up correctly (longname, description AND author), then error out
5662 nicely instead of crashing.
5664 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5666 * gst/gststructure.c:
5667 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5670 Expand on the difference between arrays and lists as we use them.
5672 2006-08-14 Wim Taymans <wim@fluendo.com>
5674 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5675 If the parent state change function failed, don't assume we can safely
5676 stop the source, this will be done when the pads are deactivated.
5678 2006-08-14 Wim Taymans <wim@fluendo.com>
5681 * gst/gsttask.c: (gst_task_join):
5684 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5685 (gst_pad_stop_task):
5686 When pad (de)activation failed for some reason, restore the old
5687 activation mode and set the pad to flushing instead of assuming the
5689 If the _task_join() failed, reinstall the task on the pad so that it can
5690 be stopped later and return an error.
5692 2006-08-11 Andy Wingo <wingo@pobox.com>
5695 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5696 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5697 is only for users of API that don't want to see deprecated
5698 functions in the headers; people that want to compile out
5699 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5700 CFLAGS. Fixes the build of multifdsink, or will soon..
5702 2006-08-11 Wim Taymans <wim@fluendo.com>
5704 * docs/gst/gstreamer-sections.txt:
5705 Add GstClockClass vmethod docs.
5708 Mark #endif with comment for associated #if
5710 * gst/gstclock.c: (gst_clock_id_wait):
5712 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5713 most clock implementations.
5715 Flesh out docs about resolution methods.
5716 API: GstClockClass::wait_jitter
5718 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5719 (gst_system_clock_async_thread),
5720 (gst_system_clock_id_wait_jitter_unlocked),
5721 (gst_system_clock_id_wait_jitter):
5722 Use base class wait_jitter variant for improved performance
5723 due to less clock polling.
5725 2006-08-11 Edward Hervey <edward@fluendo.com>
5727 * gst/gst.c: (gst_init_check), (init_post):
5728 Set gst as being initialized before scanning/updating the registry,
5729 since there might be my python plugin loader that calls gst_init() and
5730 we don't want to loop back in.
5733 2006-08-11 Wim Taymans <wim@fluendo.com>
5735 * docs/design/part-qos.txt:
5736 Bring docs in line with the code. Mostly the sign of the jitter was
5737 wrong in the docs. Fixes #349943.
5740 Fix the docs for the jitter.
5742 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5743 (gst_event_parse_tag), (gst_event_new_buffer_size),
5744 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5745 (gst_event_new_seek), (gst_event_parse_seek),
5746 (gst_event_new_navigation):
5747 Make sure the GstStructure has no parent when creating custom
5749 Add some more argument checking so that we avoid 0.0 rates.
5750 Flesh out the docs for the QoS event some more.
5752 2006-08-11 Wim Taymans <wim@fluendo.com>
5754 * docs/gst/gstreamer-sections.txt:
5755 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5756 (ensure_current_registry_forking), (ensure_current_registry),
5757 (parse_one_option), (parse_goption_arg), (gst_deinit),
5758 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5761 Added API and command line option to disable registry forking in
5762 addition to the environment variable.
5763 Constify some static arrays.
5764 Added some more debug.
5766 API: gst_registry_fork_is_enabled()
5767 API: gst_registry_fork_set_enabled()
5768 API: --gst-disable-registry-fork command line option
5771 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5773 * gst/gst.c: (gst_init):
5774 Fix typo in error message.
5776 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5778 * libs/gst/controller/gstcontroller.h:
5779 fix ABI size-correction
5781 * tests/check/libs/gdp.c: (gst_dp_suite):
5782 make tests that use deprecated API conditional
5784 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5786 * docs/libs/gstreamer-libs-sections.txt:
5787 * libs/gst/controller/gstcontroller.c:
5788 (_gst_controller_get_property), (_gst_controller_set_property),
5789 (_gst_controller_init), (_gst_controller_class_init):
5790 * libs/gst/controller/gstcontroller.h:
5791 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5792 (gst_object_set_control_rate):
5793 API: add gst_object_{s,g}et_control_rate(), add private data section,
5796 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5797 * libs/gst/dataprotocol/dataprotocol.h:
5798 add deprecation guards to make gtk-doc happy and allow disabling cruft
5800 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5802 * tests/check/Makefile.am:
5803 * tests/check/gst/.cvsignore:
5804 Let's enable the new unit test as well.
5806 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5809 * docs/gst/gstreamer-sections.txt:
5810 * gst/gstconfig.h.in:
5811 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5812 (_gst_info_printf_extension_ptr),
5813 (_gst_info_printf_extension_segment):
5814 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5815 register that lets us easily dump GstSegments into debug
5818 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5819 (info_segment_format_printf_extension), (gst_info_suite):
5820 Add simple unit test that logs a bunch of different segments (not
5821 valgrinded at the moment because of leaks in
5822 gst_debug_add_log_function).
5824 2006-08-09 Edward Hervey <edward@fluendo.com>
5826 * libs/gst/base/gstbasetransform.c:
5827 (gst_base_transform_buffer_alloc):
5828 Even if we can't figure out the proper format to request downstream,
5829 call buffer_alloc() downstream with the input parameters without setting
5830 the caps on the srcpad. This will force negotiation in the chain
5834 2006-08-08 Edward Hervey <edward@fluendo.com>
5836 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5837 Unlinking from a pad without a target is now a perfectly valid case
5838 which should NOT raise an assertion.
5839 This case would happen if a linked ghostpad its target set to NULL after
5840 it was previously linked.
5842 2006-08-08 Edward Hervey <edward@fluendo.com>
5844 * tests/check/libs/gdp.c:
5845 Also comment out the test (see below).
5847 2006-08-08 Edward Hervey <edward@fluendo.com>
5849 * tests/check/libs/gdp.c: (gst_dp_suite):
5850 Use the architecture information from config.h and not gcc macros
5851 in order to properly disable a test that fails on PPC64.
5853 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5855 * gst/gstelement.c: (gst_element_remove_pad):
5856 Don't crash printing the warning if the pad has no parent.
5858 2006-08-02 Wim Taymans <wim@fluendo.com>
5860 * libs/gst/dataprotocol/dataprotocol.c:
5861 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5862 (gst_dp_crc), (gst_dp_header_payload_length),
5863 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5864 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5865 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5866 (gst_dp_event_from_packet), (gst_dp_validate_header),
5867 (gst_dp_validate_payload):
5868 Make debug category static
5869 Constify the crc table.
5870 Do some more arg checking in public functions.
5871 Fix some docs and do some small cleanups.
5873 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5874 Add some more checks to see if GDP deals with bogus input.
5876 2006-07-31 Wim Taymans <wim@fluendo.com>
5878 * gst/gstvalue.c: (gst_value_compare_list):
5879 Fix GstValueList comparison code. Fixes #347293.
5881 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5882 Check to test GstValueList comparison.
5884 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5886 * gst/gstelementfactory.c: (gst_element_factory_create):
5887 Remove unnecessary ref/unref pair
5889 * gst/parse/grammar.y:
5890 Make sure to free the parse buffer on all code paths.
5891 Move a g_free up to the error handler where it's easier to see.
5893 * tests/check/gst/gstevent.c: (test_event):
5894 Extending timeout for downstream travelling events to 10 seconds to
5895 hopefully avoid intermittent failure on the buildbots.
5897 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5898 Don't manually set the state of the src element - it will happen as a
5899 natural consequence of the pipeline changing state, and that way it
5900 will do it in the right order too.
5902 2006-07-31 Wim Taymans <wim@fluendo.com>
5904 * libs/gst/base/gstbasetransform.c:
5905 (gst_base_transform_buffer_alloc):
5906 Use OBJECT_LOCK and refcounting to get the pad caps in the
5907 buffer_alloc function because the caps could change while we are
5908 busy with them. Fixes #349105
5910 2006-07-31 Wim Taymans <wim@fluendo.com>
5912 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5913 Protect _PAD_CAPS with OBJECT_LOCK.
5915 2006-07-31 Wim Taymans <wim@fluendo.com>
5917 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5918 (gst_pad_get_property), (gst_pad_activate_pull),
5919 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5920 (gst_pad_set_activate_function),
5921 (gst_pad_set_activatepull_function),
5922 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5923 (gst_pad_set_getrange_function),
5924 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5925 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5926 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5927 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5928 (gst_pad_set_acceptcaps_function),
5929 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5930 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5931 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5932 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5933 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5934 (gst_pad_configure_sink), (gst_pad_configure_src),
5935 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5936 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5937 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5938 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5939 (gst_pad_send_event):
5940 Use _DEBUG_OBJECT when it makes sense.
5941 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5942 Small cleanups and code reflows.
5943 Avoid caps refcounting in _accept_caps.
5944 Refactor alloc_buffer so that the code performed on the peer is in a
5945 separate function. Also if the pad does not implement a buffer alloc
5946 function, we should still check if the pad is flushing before falling
5947 back to the default allocator.
5949 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5951 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5952 Make all uses of identity and fakesink have silent=true to avoid
5953 serialising every passing data structure, which is breaking tests
5954 on FC4 for some unknown reason.
5956 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5958 * gst/parse/Makefile.am:
5959 * gst/parse/grammar.y:
5960 * gst/parse/parse.l:
5961 Reverted previous patch as it required to bump the flex dependency to
5962 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5964 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5966 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5968 * gst/parse/Makefile.am:
5969 * gst/parse/grammar.y:
5970 * gst/parse/parse.l:
5971 push & pop the state of the lexer for reentrant use case
5974 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
5976 * libs/gst/base/gstbasesrc.h:
5977 Note in the docs that the ::newsegment vfunc is not actually used by
5980 2006-07-28 Wim Taymans <wim@fluendo.com>
5982 * libs/gst/base/gstcollectpads.c:
5983 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5984 (gst_collect_pads_clear), (gst_collect_pads_flush),
5985 (gst_collect_pads_event), (gst_collect_pads_chain):
5986 When flushing a pad, also clear the queued buffer so that we don't
5987 accidentally use it when we shouldn't.
5988 Fix leaks by inreffing incomming buffer.
5989 Flush out queued buffers in case of errors.
5992 2006-07-28 Wim Taymans <wim@fluendo.com>
5994 * docs/random/phonon-gst:
5995 Random notes about a Phonon backend.
5997 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5999 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6001 * tests/check/libs/gdp.c: (gst_dp_suite):
6002 Take a whack at fixing the ppc compile using a different define to
6003 disable the broken test.
6005 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6006 Remove excess g_print()
6008 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6010 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6011 Oops, meant to uncomment this line too to dampen the noise a bit.
6013 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6015 * gst/parse/grammar.y:
6016 * gst/parse/parse.l:
6017 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6018 (GST_START_TEST), (parse_suite):
6019 Fix some of the leaks exposed by extending the parse-launch testsuite,
6020 and move the 3 I can't figure out into a separate test that won't run
6021 the pipelines unless the appropriate line is uncommented.
6023 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6025 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6026 Requesting 0 bytes before the end of the file should result in
6027 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6030 2006-07-27 Wim Taymans <wim@fluendo.com>
6032 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6033 Fix useless assert, a uint is always positive.
6035 * gst/gststructure.c: (gst_structure_nth_field_name),
6036 (gst_structure_foreach), (gst_structure_map_in_place):
6037 Check input arguments for public functions to avoid obvious crashes.
6039 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6040 * plugins/elements/gstfakesink.h:
6041 Do less useless typechecking.
6043 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6045 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6046 Do not use mmap() by default since there are a number of error
6047 conditions that we would like to handle in a non-fatal way that
6048 will result in a SIGBUS if we use mmap(). Examples: external
6049 devices (USB harddrive, portable music player) being unplugged
6050 while in use; file on mounted CD/DVD that can't be read because
6051 the medium is partly damaged. Fixes #348455 and #348475.
6053 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6056 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6059 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6061 * gst/gstregistry.c:
6062 Move big documentation comment into class section header, so that it
6063 appears in the API docs.
6065 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6067 * docs/gst/gstreamer-sections.txt:
6068 Oops. Commit the docs additions too for new API.
6069 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6071 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6073 * gst/gststructure.c: (gst_structure_id_set),
6074 (gst_structure_id_set_valist):
6075 * gst/gststructure.h:
6076 Add API for setting values into structures without performing
6077 a quark lookup, if the appropriate quark is already known.
6079 API: gst_structure_id_set
6080 API: gst_structure_id_set_valist
6082 * gst/parse/grammar.y:
6083 * gst/parse/parse.l:
6084 Remove some dead code shown by the coverage information.
6085 Don't throw a critical g_warning when encountering a syntax error,
6086 just warn and let the normal error path handle it.
6088 * plugins/elements/gstelements.c:
6089 Bump the rank of filesink up to PRIMARY so that it is preferred over
6090 gnomevfssink for file:// sink uri's
6092 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6093 (GST_START_TEST), (run_delayed_test),
6094 (gst_parse_test_element_base_init),
6095 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6096 (gst_parse_test_element_change_state),
6097 (gst_register_parse_element), (parse_suite):
6098 Beef up the tests for parse syntax to check that more error cases
6099 fail as they are supposed to. Increases the test coverage a bit.
6101 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6103 * docs/manual/basics-elements.xml:
6104 Fix gst_element_link() example.
6107 Mention in API docs that one should usually gst_bin_add()
6108 elements to a bin or pipeline before doing the linking.
6110 2006-07-26 Wim Taymans <wim@fluendo.com>
6112 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6113 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6114 Avoid function call for known types by keeping the buffer and
6115 subbuffer GType global.
6117 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6118 Random silly optimisations in read() path.
6120 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6122 * tools/gst-launch.c: (main):
6123 If the top-level of the parse is a normal bin, it doesn't do the
6124 right logic to run as a top-level element, so place it inside a
6127 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6129 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6130 Remove superfluous g_object_notify() calls, GObject does
6131 that for us automatically.
6133 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6136 on Win32, use dllspec to export the debug category symbols
6138 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6140 * gst/gsttaglist.c: (_gst_tag_initialize):
6141 Allow more than one GST_TAG_IMAGE per taglist.
6143 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6145 * gst/gstminiobject.c:
6147 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6148 (gst_fd_src_create):
6149 log recurring events at LOG level
6150 add more debug for when the fd gets set
6152 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6154 * gst/gstparse.c: (gst_parse_launch):
6155 Also remove reentrance checks if flex is MT safe (#348179)
6156 Fix my empty ChangeLog entry below
6158 2006-07-21 Andy Wingo <wingo@pobox.com>
6160 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6162 * libs/gst/check/Makefile.am
6163 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6164 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6165 * libs/gst/check/gstbufferstraw.h:
6166 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6167 functions, thus proving I am still a GStreamer haxor. OK I wrote
6168 them a long time ago, but anyways.
6170 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6173 * gst/gstparse.c: (gst_parse_launch):
6174 Check for flex version and omit mutex if we have a MT save flex
6177 2006-07-21 Wim Taymans <wim@fluendo.com>
6179 * gst/gstparse.c: (gst_parse_launch):
6180 Protect recursive calls to _parse with a recursive mutex
6183 2006-07-21 Wim Taymans <wim@fluendo.com>
6185 * tests/check/gst/gstpad.c: (GST_START_TEST):
6188 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6190 * gst/gstparse.c: (gst_parse_launch):
6191 Do not hang on recursive usage of gst_parse_launch()
6193 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6196 Add some more docs, comments and FIXME 0.11s here and there
6197 and also fix some typos.
6199 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6202 Convert tabs to spaces for better readability.
6204 2006-07-20 Edward Hervey <edward@fluendo.com>
6206 * tests/check/libs/gdp.c: (gst_dp_suite):
6207 the test_buffer test fails at line 140 on ppc64 at the following
6209 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6210 GST_BUFFER_FLAG_IN_CAPS),
6211 "GST_BUFFER_IN_CAPS flag should have been copied !");
6212 See bug #348114 for more details.
6214 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6216 * docs/pwg/advanced-scheduling.xml:
6218 Fix typos (#348000).
6220 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6222 * docs/pwg/intro-basics.xml:
6223 Fix wrong links (#347927).
6225 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6227 * gst/gstregistry.h:
6228 * gst/gstregistryxml.c: (load_feature),
6229 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6230 * win32/common/config.h:
6231 make --disable-index work (#342564)
6233 2006-07-18 Wim Taymans <wim@fluendo.com>
6235 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6239 The attached patch adds two missing defines to gsttrace.h when tracing
6240 is disabled. It also corrects one existing define.
6243 2006-07-17 Wim Taymans <wim@fluendo.com>
6245 * docs/gst/gstreamer-sections.txt:
6246 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6248 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6249 Add two functions to check and change the SIGSEGV behaviour
6250 when loading plugins.
6251 Don't mess with the SIGSEGV handler when we were told not to.
6253 API: gst_segtrap_is_enabled
6254 API: gst_segtrap_set_enabled
6256 2006-07-14 Wim Taymans <wim@fluendo.com>
6258 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6259 * tests/check/elements/filesrc.c: (GST_START_TEST):
6260 Revert fix for regression in #347408 after release.
6262 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6264 Patch by: Antoine Tremblay <hexa00 at gmail com>
6266 * gst/gstutils.c: (gst_element_unlink):
6267 Free iterator when done (#347311).
6269 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6270 And add a test case for this.
6272 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6275 Bump nano back to CVS
6277 === release 0.10.9 ===
6279 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6282 releasing 0.10.9, "On the road again"
6284 2006-07-13 Wim Taymans <wim@fluendo.com>
6286 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6287 * tests/check/elements/filesrc.c: (GST_START_TEST):
6288 Revert pull-0 fix for release. Disable check. Fixes #347408.
6290 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6292 * libs/gst/dataprotocol/dataprotocol.c:
6293 (gst_dp_event_from_packet_1_0):
6294 Fixes #347337: failure to deserialize event packets with
6295 empty payload (only event type)
6297 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6300 do not install a .c file in the header directory
6302 2006-07-13 Edward Hervey <edward@fluendo.com>
6304 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6305 GhostPad no longer implicitely use the padtemplates of the targets.
6308 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6310 * gst/gstvalue.c: (gst_value_compare_list),
6311 (gst_value_compare_array), (_gst_value_initialize):
6312 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6313 Make GstValueArray comparison be order dependent as designed.
6314 Add checks for value lists and value array comparisons.
6317 2006-07-11 Edward Hervey <edward@fluendo.com>
6319 * gst/gstbin.c: (activate_pads),
6320 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6321 (gst_bin_change_state_func):
6322 (de)activate src pads before calling state_change on the childs.
6323 This is to avoid the case where a src ghostpad is blocked (holding the
6324 stream lock), which would block the deactivation of the ghostpad's
6326 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6327 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6328 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6329 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6330 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6331 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6332 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6333 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6334 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6335 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6336 (gst_ghost_pad_class_init),
6337 (gst_ghost_pad_internal_do_activate_push),
6338 (gst_ghost_pad_internal_do_activate_pull),
6339 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6340 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6341 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6342 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6343 GhostPads now create their internal GstProxyPad at creation (and not
6344 when they're linked, as it was being done previously).
6345 The internal and target pads are linked straight away.
6346 The data will also travel through the other pad in order to make
6347 pad blocking and probes non-hackish (the probe/block now really happens
6348 on the GhostPad and not on the target).
6349 * gst/gstpad.c: (gst_pad_set_blocked_async),
6350 (gst_pad_link_prepare), (gst_pad_push_event):
6351 Remove previous ghostpad cruft.
6352 * gst/gstutils.c: (gst_pad_add_data_probe),
6353 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6354 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6355 (gst_pad_remove_buffer_probe):
6356 Remove previous ghost pad cruft.
6357 Added more detailed debug statements.
6358 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6359 Fix the testsuite for refcounting changes.
6360 The comments about who has references were correct, but the refcount
6361 being checked wasn't the same (!?!).
6365 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6367 * docs/gst/gstreamer-sections.txt:
6368 * gst/gstconfig.h.in:
6369 More docs for configuration options, add docs to gtk-doc.
6371 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6374 * gst/gstconfig.h.in:
6375 * win32/common/config.h:
6376 Fix build when disabling tracing (fixes #344016). Also start to document
6377 the defines that disable the sub-systems.
6379 2006-07-10 Edward Hervey <edward@fluendo.com>
6381 * gst/gst.c: (ensure_current_registry_forking):
6382 let's make valgrind happy...
6384 2006-07-09 Wim Taymans <wim@fluendo.com>
6386 * gst/gstelement.c: (activate_pads),
6387 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6388 Better pad activation code: Reset the collect value too on resync.
6391 2006-07-09 Wim Taymans <wim@fluendo.com>
6393 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6394 (gst_pad_activate_push):
6395 Use some more macros where it makes sense.
6396 Allow pad mode switching instead of asserting. When a pad
6397 is activated in one mode and we activate it in another,
6398 deactivate it first before activating it in a different mode.
6401 2006-07-08 Andy Wingo <wingo@pobox.com>
6403 * tools/gst-launch.c (main): Handle err == NULL.
6405 * gst/gst.c (init_post, ensure_current_registry)
6406 (ensure_current_registry_forking)
6407 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6408 factoring out the registry scanning into separate functions. Don't
6409 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6410 Better environment var name/interface suggestions accepted.
6412 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6414 * gst/gstobject.c: (gst_object_set_name_default),
6415 (gst_object_set_name):
6416 Random micro-optimisation: don't use a hash table
6417 with strings as keys and the usual strdup/strcmp
6418 involved, but rather just use the GQuark of the
6419 type name as key, since it needs to be looked up
6420 anyway to get the type name string.
6422 * tests/check/gst/gstobject.c: (GST_START_TEST):
6425 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6427 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6428 (gst_bin_iterate_all_by_interface):
6429 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6430 GTypes are gulongs and thus the top 4 bytes might be cut
6431 off on some platforms when doing GPOINTER_TO_INT, leading
6432 to invalid GTypes and bad things happening (see RH bug #179654).
6433 Also add a check to make sure the type passed in is really
6436 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6441 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6445 * gst-element-check.m4:
6446 * gst-element-check.m4.in:
6447 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6448 instead of the unversioned gst-inspect (#324176, #168659).
6450 2006-07-06 Wim Taymans <wim@fluendo.com>
6453 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6456 2006-07-06 Wim Taymans <wim@fluendo.com>
6458 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6459 (gst_base_src_wait), (gst_base_src_update_length),
6460 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6461 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6462 (gst_base_src_loop), (gst_base_src_start),
6463 (gst_base_src_activate_pull):
6465 blocksize == 0 now means the default blocksize when working in push
6467 Remove some pointless asserts in _wait function.
6468 Fix offset/length calculations and EOS handling. We can now pull 0
6469 bytes as well, which is allowed.
6470 use _check_get_range() to decide if we can operate in _pull based
6472 Fix refcounting leak when check_get_range function was not
6474 API GstBaseSrc::blocksize range can be 0 too now (default)
6476 * tests/check/elements/filesrc.c: (GST_START_TEST),
6478 Added check to test _get_range() behaviour.
6480 2006-07-06 Wim Taymans <wim@fluendo.com>
6482 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6483 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6484 (gst_pad_pull_range):
6486 Lots of comments and docs added to the pad functions.
6487 Flesh out the expected behaviour of the get_range() functions.
6489 2006-07-06 Wim Taymans <wim@fluendo.com>
6494 * gst/gstiterator.h:
6498 Remove comma at end of enumerator list.
6500 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
6502 * win32/common/libgstbase.def:
6503 * win32/common/libgstdataprotocol.def:
6504 * win32/common/libsgtreamer.def:
6505 Add new exported functions.
6507 2006-07-05 Wim Taymans <wim@fluendo.com>
6509 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6510 Add some more docs here and there.
6512 2006-07-05 Wim Taymans <wim@fluendo.com>
6514 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6515 (gst_base_sink_loop), (gst_base_sink_get_position):
6516 When operating in pull mode update the offset so that we
6519 2006-07-05 Wim Taymans <wim@fluendo.com>
6521 * gst/gstregistryxml.c: (read_string):
6522 Avoid strdup. (will happen in libxml, but hey!)
6527 2006-07-05 Wim Taymans <wim@fluendo.com>
6529 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6530 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6532 No point in checking if the size of the subbuffer > 0, the
6533 code handles it correclty as demonstrated by unit test.
6534 Also add a unit test for the zero sized _new_and_alloc and
6535 _copy. Fixes #346663.
6537 2006-07-05 Wim Taymans <wim@fluendo.com>
6539 * libs/gst/base/gstbasetransform.c:
6540 (gst_base_transform_prepare_output_buffer),
6541 (gst_base_transform_buffer_alloc),
6542 (gst_base_transform_handle_buffer):
6543 Make sure the buffer we pass to transform_ip has a refcount of
6544 1 and thus is writable. Fixes #343196
6546 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6548 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6549 (gst_file_src_init), (gst_file_src_set_property),
6550 (gst_file_src_get_property), (gst_file_src_map_region):
6551 * plugins/elements/gstfilesrc.h:
6552 Add "sequential" property, off by default, to use madvise and hint
6553 to the kernel that sequential access is desired.
6554 Touch all retrieved pages by default to ensure they are pulled
6555 into memory. (Closes #345720)
6557 2006-07-03 Wim Taymans <wim@fluendo.com>
6559 * docs/design/part-block.txt:
6560 * docs/design/part-dynamic.txt:
6563 2006-07-03 Wim Taymans <wim@fluendo.com>
6565 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6566 (gst_caps_unref), (gst_static_caps_get),
6567 (gst_caps_append_structure):
6568 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6569 Use GSlice when the glib we build against is >= 2.10
6571 2006-07-03 Wim Taymans <wim@fluendo.com>
6573 * gst/gstelement.c: (gst_element_pads_activate):
6574 Small cleanup in pad activation code.
6576 2006-07-03 Wim Taymans <wim@fluendo.com>
6578 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6580 * gst/gst-i18n-app.h:
6581 * gst/gst-i18n-lib.h:
6582 * tools/gst-inspect.c: (print_signal_info):
6583 The attached patch will make the inclusion of gettext.h unconditional in
6584 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6585 libintl.h in tools/gst-inspect.c.
6586 This allows use of --disable-nls again and fixes #344642.
6588 2006-07-03 Edward Hervey <edward@fluendo.com>
6590 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6591 Implement pad blocking on events according to part-block.txt.
6592 More comments on behaviour.
6593 * tests/check/gst/gstevent.c: (test_event):
6594 Send event to peer pad of blocked pad (else it will block).
6596 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6598 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6599 (gst_check_run_suite):
6600 if we get the wrong message, give us the types as string
6601 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6603 * tests/check/elements/filesrc.c: (GST_START_TEST):
6604 add a test for trying to open a non-existing file
6606 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6608 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6609 add a test for adding self
6611 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6613 * libs/gst/check/gstcheck.h:
6614 add some assert_ as alias for fail_unless_*
6615 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6616 increase test coverage
6618 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6621 include lcov.mak for lcov coverage generation
6622 * tools/Makefile.am:
6625 2006-07-02 Edward Hervey <edward@fluendo.com>
6627 * tests/check/elements/.cvsignore:
6630 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6633 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6634 * tests/check/Makefile.am:
6637 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6639 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6640 remove gst_caps_simplify; it was not declared and not used
6641 and deprecated in 0.8
6643 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6645 * docs/faq/gst-uninstalled:
6646 don't put empty paths on PYTHONPATH
6647 * docs/gst/gstreamer-sections.txt:
6648 remove some symbols that are not there
6650 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6652 * gst/gstcaps.c: (gst_caps_compare_structures):
6654 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6655 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6658 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6660 * libs/gst/dataprotocol/Makefile.am:
6661 build dataprotocol test by linking to the lib, instead of
6662 compiling the source, so we get coverage
6663 * tests/check/Makefile.am:
6664 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6665 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6666 add a test for filesrc
6668 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6670 * tests/check/gst/gststructure.c: (GST_START_TEST),
6671 (gst_structure_suite):
6672 Push coverage from 59.04% to 70.00%
6674 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6676 * tests/check/Makefile.am:
6677 gst-inspect every element; this makes sure that we also get
6678 coverage on element's get/set functions
6680 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6683 set CFLAGS and friends to -O0 if gcov is being used
6686 * libs/gst/base/Makefile.am:
6687 * libs/gst/check/Makefile.am:
6688 * libs/gst/controller/Makefile.am:
6689 * libs/gst/dataprotocol/Makefile.am:
6690 * libs/gst/net/Makefile.am:
6691 * plugins/elements/Makefile.am:
6692 * plugins/indexers/Makefile.am:
6693 add makefile rules to generate gcov data and clean up
6694 * tests/check/Makefile.am:
6695 add a coverage target that generates an html overview
6698 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6700 * tests/check/elements/fakesink.c:
6701 * tests/check/elements/fakesrc.c:
6702 * tests/check/elements/fdsrc.c:
6703 * tests/check/elements/identity.c:
6704 * tests/check/generic/sinks.c: (gst_sinks_suite):
6705 * tests/check/generic/states.c:
6706 * tests/check/gst/gst.c:
6707 * tests/check/gst/gstabi.c:
6708 * tests/check/gst/gstbin.c:
6709 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6710 * tests/check/gst/gstbus.c: (gst_bus_suite):
6711 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6712 * tests/check/gst/gstelement.c:
6713 * tests/check/gst/gstevent.c: (gst_event_suite):
6714 * tests/check/gst/gstghostpad.c:
6715 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6716 * tests/check/gst/gstmessage.c: (gst_message_suite):
6717 * tests/check/gst/gstminiobject.c:
6718 * tests/check/gst/gstobject.c:
6719 * tests/check/gst/gstpad.c:
6720 * tests/check/gst/gstpipeline.c:
6721 * tests/check/gst/gstplugin.c:
6722 * tests/check/gst/gstquery.c: (gst_query_suite):
6723 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6724 * tests/check/gst/gststructure.c:
6725 * tests/check/gst/gstsystemclock.c:
6726 * tests/check/gst/gsttag.c:
6727 * tests/check/gst/gsttask.c: (gst_task_suite):
6728 * tests/check/gst/gstutils.c:
6729 * tests/check/gst/gstvalue.c:
6730 * tests/check/libs/adapter.c:
6731 * tests/check/libs/basesrc.c:
6732 * tests/check/libs/collectpads.c:
6733 * tests/check/libs/controller.c:
6734 * tests/check/libs/gdp.c: (gst_dp_suite):
6735 * tests/check/libs/gstnetclientclock.c:
6736 * tests/check/libs/gstnettimeprovider.c:
6737 * tests/check/libs/libsabi.c: (libsabi_suite):
6738 * tests/check/libs/typefindhelper.c:
6739 * tests/check/pipelines/cleanup.c:
6740 * tests/check/pipelines/parse-launch.c:
6741 * tests/check/pipelines/simple-launch-lines.c:
6742 * tests/check/pipelines/stress.c: (stress_suite):
6745 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6747 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6748 * libs/gst/check/gstcheck.h:
6749 create a macro and function so that the simple unit test
6750 case can be just one macro to create main()
6752 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6754 * gst/gstbin.c: (gst_bin_restore_thyself):
6755 * gst/gstxml.c: (gst_xml_make_element):
6756 Fix deserialisation from XML. Set parent manually
6757 instead of using gst_bin_add(), since gst_bin_add()
6758 will unlink all pads of the element being added.
6761 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6763 Patch by: Peter Kjellerstedt <pkj at axis com>
6765 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6766 Fix missing g_strdup() and double free when using the
6767 --gst-plugin-load command line option (#346097).
6769 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6772 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6774 * libs/gst/net/gstnetclientclock.c:
6775 * libs/gst/net/gstnettimeprovider.c:
6776 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6778 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6780 * docs/manual/advanced-dataaccess.xml:
6781 Fix buffer probe example compilation in
6784 2006-06-22 Edward Hervey <edward@fluendo.com>
6786 * gst/gstelement.c: (gst_element_pads_activate):
6787 We need to deactivate src pads first and then sink pads.
6788 The reason is the src pads might be blocking while holding the streaming
6789 lock, so we need to deactivate them first so that deactivating the sink
6790 pads doesn't block (since it will require the streaming lock).
6792 2006-06-22 Wim Taymans <wim@fluendo.com>
6794 * libs/gst/base/gstbasetransform.c:
6795 (gst_base_transform_buffer_alloc):
6796 Forgot to remove two unneeded unrefs.
6797 Simplify a check _is_equal allready checks the obvious case.
6799 2006-06-22 Wim Taymans <wim@fluendo.com>
6801 * docs/design/part-block.txt:
6802 Some docs about what pad_block should do.
6804 2006-06-22 Wim Taymans <wim@fluendo.com>
6806 * gst/gstcaps.c: (gst_caps_replace):
6807 Fix crasher when passed NULL. Doc clarification.
6808 Optimize for the trivial case.
6810 * gst/gstpipeline.c: (gst_pipeline_change_state):
6813 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6814 Small documentation cleanup.
6816 * libs/gst/base/gstbasetransform.c:
6817 (gst_base_transform_buffer_alloc):
6818 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6819 is what we need and it avoids a whole lot of redundant
6820 refcount operations.
6822 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6824 Patch by: Philip Jägenstedt <philip at lysator liu se>
6826 * docs/manual/advanced-dataaccess.xml:
6827 Fix 'Embedding static elements' section to use
6828 GST_PLUGIN_DEFINE_STATIC (#345607).
6830 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6832 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6833 Attempt to 'fix' spuriously failing test case: it seems like the
6834 timeout of half a second is simply too small when the system is under
6835 load otherwise, and the timeout doesn't really seem to serve any
6836 particular purpose here. Give the pipeline a few seconds to preroll
6837 first, and then give it another half a second to go from PAUSED to
6838 PLAYING and marshal the message into the main thread.
6840 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6842 * tools/gst-feedback-m.m:
6843 Don't only use unversioned tools, try versioned tools as well
6846 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6848 * gst/gstbus.c: (gst_bus_class_init):
6849 Fix some typos, make docs more explicit.
6851 2006-06-20 Wim Taymans <wim@fluendo.com>
6853 * tests/check/gst/gstghostpad.c: (block_callback),
6854 (GST_START_TEST), (gst_ghost_pad_suite):
6855 Added some more ghostpad tests, mainly blocking
6858 2006-06-16 Wim Taymans <wim@fluendo.com>
6860 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6861 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6862 (gst_file_sink_event), (gst_file_sink_render):
6863 * plugins/elements/gstfilesink.h:
6864 Check if we can seek in the file instead of assuming
6865 we always can. Post an error when we are asked to seek in a
6866 non-seekable file (like a fifo). Fixes #343312.
6869 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6871 * tools/gst-launch.1.in:
6872 Un-garble (fourcc) bit in filtered caps section.
6874 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6876 * docs/manual/advanced-autoplugging.xml:
6877 * docs/manual/basics-helloworld.xml:
6878 * docs/manual/highlevel-components.xml:
6879 Don't leak bus reference in sample code.
6881 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6884 Add default for new --enable-plugin-docs switch.
6887 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6891 Use new ENABLE_PLUGIN_DOCS conditional.
6893 2006-06-14 Wim Taymans <wim@fluendo.com>
6895 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6896 Make it clear with a FIXME and a real define what the #if 0
6897 previously disabled.
6899 2006-06-14 Wim Taymans <wim@fluendo.com>
6901 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6902 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6903 * libs/gst/base/gstbasetransform.c:
6904 (gst_base_transform_sink_eventfunc):
6905 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6906 Don't randomly and silently reset a segment when the format
6907 changes as this is a bug somewhere upstream. Fixes #330379.
6909 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6911 Patch by: Wouter Paesen <wouter at kangaroot net>
6913 * libs/gst/controller/gstcontroller.c:
6914 (gst_controlled_property_new):
6915 Fix controlling of float properties (#344849).
6917 * tests/check/libs/controller.c:
6918 (gst_test_mono_source_get_property),
6919 (gst_test_mono_source_set_property),
6920 (gst_test_mono_source_class_init), (GST_START_TEST):
6921 While we're at it, add some float stuff to unit test.
6923 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6926 * docs/images/gdp-header.svg:
6928 * docs/libs/Makefile.am:
6929 * docs/libs/gdp-header.png:
6930 * libs/gst/dataprotocol/dataprotocol.c:
6931 add it to the API docs
6932 * docs/manual/intro-motivation.xml:
6935 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6937 * gst/gst.c: (scan_and_update_registry), (init_post):
6938 If the fork()'ed child process can't write the updated registry cache
6939 file to disk for some reason, make it exit with a failure exit code,
6940 so that the parent can then re-scan the plugins itself and update the
6941 registry structures in memory and work with that (rather than failing
6942 when creating elements because seemingly no plugins are available).
6943 Refactor registry scanning code into separate function for this and
6944 also separate fork() and non-fork() code paths. Fixes #344748.
6946 2006-06-13 Wim Taymans <wim@fluendo.com>
6948 * docs/manual/advanced-dataaccess.xml:
6949 Fix wrong PluginDesc. Fixes #344755.
6951 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6953 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6954 Fix silly bug that prevented us from creating
6955 ~/.gstreamer-0.10 and writing the registry in one
6956 go (the first call to g_mkstemp() would overwrite the
6957 placeholder in the template string, so the second call
6958 to g_mkstemp() after creating the missing directory
6959 would then error out with 'invalid argument').
6961 2006-06-13 Edward Hervey <edward@fluendo.com>
6963 * gst/gst.c: (init_post):
6966 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6968 * gst/glib-compat-private.h:
6969 * gst/glib-compat.c:
6970 * gst/glib-compat.h:
6971 * gst/gstvalue.c: (gst_value_serialize_flags):
6972 remove GLib 2.6 compatibility code
6974 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
6976 * gst/parse/Makefile.am:
6977 Fix build with 'make -j N' even more (#340016).
6979 2006-06-12 Wim Taymans <wim@fluendo.com>
6981 * docs/gst/gstreamer-sections.txt:
6984 2006-06-12 Wim Taymans <wim@fluendo.com>
6986 * gst/gstsegment.c: (gst_segment_set_duration),
6987 (gst_segment_set_last_stop), (gst_segment_set_seek),
6988 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6989 (gst_segment_to_running_time), (gst_segment_clip):
6990 Use G_UNLIKELY to help the compiler a bit.
6992 2006-06-12 Wim Taymans <wim@fluendo.com>
6994 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6996 * gst/gstevent.c: (gst_event_get_type):
6998 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7000 constify quark registration strings. Fixes #344115
7001 Avoid unneeded type checking is _pad_push() by internally
7002 calling gst_pad_chain_unchecked().
7004 2006-06-12 Wim Taymans <wim@fluendo.com>
7006 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7007 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7008 (gst_subbuffer_finalize), (gst_buffer_create_sub),
7009 (gst_buffer_is_span_fast), (gst_buffer_span):
7010 Init _type for consistency.
7011 Use _FLAGS macro to avoid type check.
7012 Avoid unneeded type checks in subbufer code.
7014 2006-06-12 Wim Taymans <wim@fluendo.com>
7016 * gst/gst.c: (gst_debug_help):
7017 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7018 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7019 (gst_plugin_feature_list_free):
7020 * gst/gstregistry.c: (gst_registry_add_plugin),
7021 (gst_registry_add_feature), (gst_registry_plugin_filter),
7022 (gst_registry_feature_filter), (gst_registry_find_plugin),
7023 (gst_registry_find_feature), (gst_registry_get_plugin_list),
7024 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7025 * gst/gstregistryxml.c: (load_feature),
7026 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7027 * gst/gstminiobject.c: (gst_mini_object_unref),
7028 (gst_mini_object_replace), (gst_value_mini_object_free),
7029 (gst_value_mini_object_copy):
7030 Use _CAST macros to avoid unneeded type checking.
7031 Added some more G_UNLIKELY.
7033 2006-06-12 Wim Taymans <wim@fluendo.com>
7036 Avoid unneeded type checking.
7037 API: GST_BUFFER_IS_DISCONT
7039 * gst/gstminiobject.h:
7040 Avoid type check in flag accessor.
7042 * gst/gstelementfactory.h:
7044 * gst/gstpluginfeature.h:
7046 API: GST_ELEMENT_FACTORY_CAST
7047 API: GST_PLUGIN_CAST
7048 API: GST_PLUGIN_FEATURE_CAST
7050 2006-06-12 Wim Taymans <wim@fluendo.com>
7052 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7054 Add G_UNLIKELY in type registration.
7055 Avoid type check in _ref/_unref since that is also
7058 2006-06-12 Wim Taymans <wim@fluendo.com>
7060 * gst/gsterror.c: (gst_g_error_get_type):
7061 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7062 (gst_static_pad_template_get_type):
7063 * gst/gsttaglist.c: (gst_tag_list_get_type):
7064 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7065 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7066 * gst/gsturi.c: (gst_uri_handler_get_type):
7067 * gst/gstvalue.c: (gst_date_get_type):
7068 * gst/gstxml.c: (gst_xml_get_type):
7069 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7070 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7071 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7072 Add G_UNLIKELY in type registration.
7074 2006-06-12 Wim Taymans <wim@fluendo.com>
7076 * tools/gst-inspect.c: (print_signal_info):
7077 Properly print enum values.
7079 2006-06-12 Wim Taymans <wim@fluendo.com>
7081 * gst/gstinfo.c: (gst_debug_set_active),
7082 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7084 Add some G_[UN]LIKELY.
7085 Maintain __gst_debug_min to avoid formatting the arguments of
7086 debug messages that will be dropped anyway to avoid a lot of
7087 overhead from the debugging system.
7089 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7093 add missing files containing translatable strings, tell intltool about
7096 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7098 * tests/check/libs/.cvsignore:
7099 add test-binary to ignore list
7101 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7103 * docs/libs/gstreamer-libs-docs.sgml:
7104 reorder (put dp into a chapter) and indent
7106 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7111 === release 0.10.8 ===
7113 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7116 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7118 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7120 * gst/gst.c: (init_post):
7121 move pid declaration to declaration block
7123 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7125 * gst/gst.c: (init_post):
7126 use _exit() instead of exit() in our forked child; this ensures
7127 that none of the registered exit handlers from whatever is using
7128 GStreamer get executed. This fixes gnome-mixer-applet failing
7129 to load, because ORBit would shut down.
7130 Spotted by: Edward Hervey <edward@fluendo.com>
7131 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7134 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7139 === release 0.10.7 ===
7141 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7144 releasing 0.10.7, "Soepeke, ik zie ou"
7146 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7169 * win32/common/config.h:
7172 2006-06-07 Wim Taymans <wim@fluendo.com>
7174 * gst/gstindex.c: (gst_index_gtype_resolver):
7175 * tools/gst-xmlinspect.c: (print_plugin_info):
7176 Fix leak spotted by coverity checker. Fixes #343827
7177 Fix another other leak found by paolo borelli.
7179 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7181 * libs/gst/dataprotocol/dataprotocol.c:
7182 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7183 (gst_dp_version_get_type), (gst_dp_init),
7184 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7185 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7186 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7187 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7188 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7189 (gst_dp_packetizer_free):
7190 * libs/gst/dataprotocol/dataprotocol.h:
7191 API: add a GstDPPacketizer object, and create/free functions
7192 API: add GstDPVersion enum
7193 Add 1.0 event function that uses the string serialization
7194 Serialize more useful buffer flags
7197 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7199 * tests/check/Makefile.am:
7200 * tests/check/gst/gstabi.c:
7201 * tests/check/gst/struct_ppc64.h:
7202 * tests/check/libs/libsabi.c:
7203 * tests/check/libs/struct_ppc64.h:
7204 add ppc64 structure sizes
7206 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7208 * tests/check/Makefile.am:
7209 * tests/check/gst/gstabi.c:
7210 * tests/check/gst/struct_x86_64.h:
7211 * tests/check/libs/libsabi.c:
7212 * tests/check/libs/struct_x86_64.h:
7213 generate and add structure size lists for x86_64
7215 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7217 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7218 * libs/gst/check/gstcheck.h:
7219 factor out the method from tests that checks size of structures,
7220 and add code to generate the header containing these sizes
7221 * tests/check/gst/gstabi.c: (GST_START_TEST):
7222 * tests/check/gst/struct_i386.h:
7223 * tests/check/libs/libsabi.c: (GST_START_TEST):
7224 * tests/check/libs/struct_i386.h:
7227 2006-06-06 Michael Smith <msmith@fluendo.com>
7230 Don't use c++-style comments, fixes #343929
7232 2006-06-05 Edward Hervey <edward@fluendo.com>
7235 plugin_paths is not used if we build without registry support.
7237 * gst/gstsegment.c: (gst_segment_copy):
7238 _copy() was always returning NULL...
7240 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7242 * libs/gst/dataprotocol/dataprotocol.c:
7243 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7244 (gst_dp_packet_from_event):
7247 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7249 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7250 make sure we unset caps
7252 2006-06-02 Michael Smith <msmith@fluendo.com>
7254 * libs/gst/check/gstcheck.c: (gst_check_init),
7255 (gst_check_chain_func):
7256 * libs/gst/check/gstcheck.h:
7257 Add a cond/mutex to the check support lib, signal this whenever we
7258 add to the buffers list. This will allow tests to not busy-wait on
7261 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7263 * libs/gst/dataprotocol/dataprotocol.c:
7264 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7265 (gst_dp_packet_from_event):
7266 factor out some common header init code
7268 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7270 * docs/libs/gstreamer-libs-sections.txt:
7271 * docs/libs/tmpl/gstdataprotocol.sgml:
7272 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7273 * libs/gst/dataprotocol/dataprotocol.h:
7274 API: make gst_dp_crc() public
7276 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7278 * plugins/indexers/gstindexers.c: (plugin_init):
7279 conditionally register fileindexer (fixes #343598)
7281 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7283 * gst/gsttagsetter.h:
7284 Can't cast ifaces to a class
7286 * libs/gst/net/gstnetclientclock.h:
7287 * libs/gst/net/gstnettimeprovider.h:
7288 * plugins/elements/gstfakesink.h:
7289 * plugins/elements/gstfakesrc.h:
7290 * plugins/elements/gstfdsink.h:
7291 * plugins/elements/gstfdsrc.h:
7292 * plugins/elements/gstfilesink.h:
7293 * plugins/elements/gstfilesrc.h:
7294 * plugins/elements/gstidentity.h:
7295 * plugins/elements/gstqueue.h:
7296 * plugins/elements/gsttee.h:
7297 * plugins/indexers/gstfileindex.c:
7298 * plugins/indexers/gstmemindex.c:
7299 * tests/old/examples/plugins/example.h:
7300 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7302 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7304 * libs/gst/dataprotocol/dataprotocol.c:
7305 (gst_dp_header_from_buffer):
7306 make sure we zero the whole ABI-compatible area
7308 2006-06-01 Wim Taymans <wim@fluendo.com>
7310 Patch by: Alessandro Decina <alessandro at nnva dot org>
7312 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7313 Make sure the EOS flag is cleared from pads after a flush
7314 or stop. Fixes #343538.
7316 * tests/check/libs/collectpads.c: (GST_START_TEST),
7317 (gst_collect_pads_suite):
7318 Added test for collectpads reusage after EOS.
7320 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7323 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7324 * win32/common/libgstbase.def:
7325 export gst_collect_pads_set_flushing
7326 * win32/common/libgstreamer.def:
7327 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7328 gst_value_fraction_multiply
7329 * win32/vs6/gst_inspect.dsp:
7330 add a link to intl.lib
7332 2006-05-30 Wim Taymans <wim@fluendo.com>
7334 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7335 (gst_collect_pads_chain):
7336 Handle the case where a pad is removed from the collection
7337 that could cause the other pads to become collectable.
7339 2006-05-30 Wim Taymans <wim@fluendo.com>
7342 Clarify the use of _release_request_pad() and
7343 _get_request_pad() a bit better.
7345 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7346 (gst_adapter_take_buffer):
7347 Fix some doc and comment typos.
7349 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7351 * docs/gst/gstreamer-sections.txt:
7352 * docs/libs/gstreamer-libs-sections.txt:
7353 add declared symbols
7355 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7357 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7358 Add debug that can be enabled using a #define at the top of the file,
7359 for dumping stats about how late/early we were when waking up from
7360 waiting on the clock.
7362 2006-05-30 Wim Taymans <wim@fluendo.com>
7364 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7365 When rebuilding the pad list, don't leak the previous list.
7367 2006-05-30 Wim Taymans <wim@fluendo.com>
7369 Patch by: Lutz Mueller <lutz at topfrose dot de>
7371 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7372 (gst_base_src_get_query_types), (gst_base_src_update_length):
7373 Publish supported query types.
7374 Update last_stop field in get_range mode so the position
7375 query works. Fixes #342321.
7377 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7379 * docs/gst/gstreamer-sections.txt:
7380 * gst/gsttaglist.c: (_gst_tag_initialize):
7382 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7384 2006-05-30 Wim Taymans <wim@fluendo.com>
7386 Patch by: Alessandro Decina <alessandro at nnva dot org>
7388 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7389 Unlock mutex when removing an unknown pad.
7392 * tests/check/Makefile.am:
7393 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7394 (push_event), (setup), (teardown), (GST_START_TEST),
7395 (gst_collect_pads_suite), (main):
7396 Added collecpads check, disabled for now as check crashes for
7399 2006-05-29 Wim Taymans <wim@fluendo.com>
7401 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7402 Don't leak pads lists.
7404 2006-05-29 Wim Taymans <wim@fluendo.com>
7406 * docs/libs/gstreamer-libs-sections.txt:
7407 * libs/gst/base/gstcollectpads.c:
7408 (gst_collect_pads_set_flushing_unlocked),
7409 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7410 (gst_collect_pads_stop):
7411 * libs/gst/base/gstcollectpads.h:
7412 API: gst_collect_pads_set_flushing()
7413 Added api to set the pads to flushing, useful for seeking
7414 code in elements using collectpads.
7415 Clear segment when receiving a flush.
7417 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
7419 * gst/gst.c: (add_path_func), (init_post):
7420 Don't scan registry paths passed via --gst-plugin-path immediately
7421 (will crash, because absolutely nothing is set up and no types are
7422 registered etc.); do this later in init_post(). Fixes #343057.
7424 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
7426 * gst/gst.c: (init_post):
7427 if we have fork, fork while reading/rebuilding the registry
7428 so the parent doesn't take the hit of having all plugins loaded
7429 in memory. Fixes #342777.
7431 Check if we have fork()
7432 * win32/common/config.h.in:
7435 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7437 * plugins/elements/gstelements.c:
7438 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7439 (gst_file_src_init), (gst_file_src_set_property),
7440 (gst_file_src_get_property), (gst_file_src_start):
7441 * plugins/elements/gstfilesrc.h:
7442 API: GstFileSrc::use-mmap
7444 Add a use-mmap property to enable easier testing of all code paths.
7445 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7446 in the absence of gnomevfssrc. (Closes #340501)
7448 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7450 * tools/gst-inspect.c:
7451 Add missing include, removes warning of ngettext not being defined on
7454 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7456 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7457 Handle NULL input and output pointers silently as a failed conversion,
7458 rather than g_warnings.
7460 2006-05-25 Wim Taymans <wim@fluendo.com>
7462 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7463 Initialize variable before using. Fixes #342820.
7465 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
7467 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7468 Fix off-by-one bug that would only allow peeks of N-1 bytes
7469 from the start even if the buffer to typefind on contains
7470 in fact N bytes of data (makes vorbis typefinding from a
7471 vorbis identification header buffer work).
7473 * tests/check/Makefile.am:
7474 * tests/check/libs/.cvsignore:
7475 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7476 (gst_typefindhelper_suite), (main), (foobar_typefind),
7478 Add very basic unit test for gst_type_find_helper_for_buffer()
7479 that checks for the problem fixed above.
7481 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
7483 * tools/gst-inspect.c: (print_interfaces),
7484 (print_element_properties_info), (print_element_list), (main):
7485 add more translatable strings
7487 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
7489 Patch by: Julien Moutte <julien at moutte net>
7491 * docs/gst/gstreamer-sections.txt:
7492 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7494 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7495 (gst_fake_sink_preroll):
7496 * plugins/elements/gstfakesink.h:
7497 API: Add new GstFakeSink::preroll-handoff signal (#337100).
7499 2006-05-23 Wim Taymans <wim@fluendo.com>
7501 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7503 Added _CUSTOM error and success GstFlowReturn that can be
7504 used be elements internally.
7505 Added macro to check for SUCCESS flowreturns.
7506 API: GST_FLOW_CUSTOM_SUCCESS
7507 API: GST_FLOW_CUSTOM_ERROR
7508 API: GST_FLOW_IS_SUCCESS
7510 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7511 Added check for GstFlowReturn sanity.
7513 2006-05-23 Wim Taymans <wim@fluendo.com>
7515 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7517 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7518 (gst_collect_pads_event):
7519 clear/reset segment info in FLUSH_STOP.
7522 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7524 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7525 (gst_collect_pads_check_collected):
7526 Flush queued buffer on _stop(), fixes playing again (#342454)
7528 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7530 * tests/check/gst/gststructure.c: (GST_START_TEST),
7531 (gst_structure_suite):
7532 add a test for a complete structure
7534 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7536 * docs/faq/developing.xml:
7538 * docs/faq/troubleshooting.xml:
7539 * docs/faq/using.xml:
7540 Some minor FAQ updates that won't change the fact that
7541 our FAQ is badly structured, full of information hardly
7542 anyone new to GStreamer needs to know and lacking lots
7543 of information people constantly ask for.
7545 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7547 * gst/gstpad.c: (gst_pad_set_caps):
7548 Short-circuit gst_pad_set_caps if setting the existing
7549 caps pointer again, and avoid printing debug and
7550 reffing/unreffing the caps.
7552 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7553 There's actually no need to set the caps before pushing -
7554 the acceptcaps method will handle it anyway.
7556 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7558 * docs/gst/gstreamer-sections.txt:
7559 * win32/common/libgstreamer.def:
7560 * gst/gstutils.c: (gst_element_seek_simple):
7562 API: add gst_element_seek_simple() (#342238).
7564 2006-05-18 Edward Hervey <edward@fluendo.com>
7566 * gst/gsttypefind.c: (gst_type_find_get_type):
7567 * gst/gsttypefind.h:
7568 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7569 registered for GstTypeFind pointers. This allows wrapping the structure
7570 in bindings (i.e. gst-python).
7572 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7574 * gst/gsttagsetter.c:
7575 Docs additions and fixes (see #339918).
7577 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7579 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7580 The caps intersection algorithm can produce multiple copies of the
7581 caps. Until that is fixed, we need to simplify the result to be
7582 sure whether the allowed caps are fixed or not.
7584 * plugins/elements/gstqueue.c: (gst_queue_init),
7585 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7586 (gst_queue_push_one):
7587 Proxied buffer alloc should not set the caps on the source pad.
7588 When pushing buffers, we always accept the caps change that triggers.
7589 This prevents negotiation errors caused by caps changing mid-stream
7590 and then being refused on our source pad (because upstream is now
7591 refusing those caps).
7593 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7595 * tests/examples/helloworld/helloworld.c: (main):
7596 Must plug audioconvert and audioresample between decoder
7599 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7601 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7602 (load_feature), (load_plugin):
7603 Allow empty strings for some of the plugin fields so we don't
7604 drop valid plugin entries that were written out correctly
7607 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7609 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7610 Use g_remove and g_rename instead of remove and rename that don't
7611 handle utf8 characters. rename was failing for users who had specific
7612 characters in their name then the registry was built at each
7614 * win32/vs6/gst_inspect.dsp:
7615 * win32/vs6/gst_launch.dsp:
7616 * win32/vs6/libgstbase.dsp:
7617 * win32/vs6/libgstcoreelements.dsp:
7618 * win32/vs6/libgstreamer.dsp:
7619 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7620 build of libgstreamer and clean unused libraries in projects link
7623 2006-05-17 Edward Hervey <edward@fluendo.com>
7625 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7626 The queue is not responsible for pushing an EOS when receiving a fatal
7627 flow error. It's up to the real element driving the pipeline to do that.
7629 2006-05-16 Edward Hervey <edward@fluendo.com>
7631 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7632 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7633 buffer returned a fatal error. It should just send an EOS and stop
7635 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7636 when pushing buffers on the queue and will be able to handle the event.
7638 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7640 * docs/manual/basics-bins.xml:
7641 * docs/manual/basics-init.xml:
7642 Fix typos and minor errors in sample code (#341856).
7644 2006-05-16 Wim Taymans <wim@fluendo.com>
7646 * docs/design/part-qos.txt:
7647 Fix indexes in formulas to make more sense.
7649 2006-05-15 Wim Taymans <wim@fluendo.com>
7651 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7652 Don't report POSITION based on clock time if sync is
7655 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7658 Add cast to make compiler happy - refcount variable was a gint
7659 in GstObject but is a guint in GObject and g_atomic_int_get()
7662 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7664 * gst/parse/Makefile.am:
7665 chain commands using &&, which also makes parallel make work
7667 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7669 * docs/gst/gstreamer-sections.txt:
7675 === release 0.10.6 ===
7677 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7680 releasing 0.10.6, "Take the cannoli"
7682 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7684 * tools/gst-launch.c: (print_tag):
7685 Fix use of uninitialized variable in the hypothetical
7686 case that some broken plugin creates a GST_TAG_IMAGE
7687 tag containing a NULL buffer (#341667).
7689 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7691 * tools/gst-launch.c: (print_tag):
7692 Print something more intelligible for image tags when
7693 using the -t switch (#341556).
7695 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7700 define GST_MAJORMINOR so we have it available in win32/common/config.h
7701 Possibly remove it from our Makefile.am files later
7702 * win32/common/config.h:
7703 * win32/common/config.h.in:
7704 added GST_MAJORMINOR
7705 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7706 * win32/common/gstversion.h:
7709 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7712 Update win32 files listing.
7713 * win32/common/gstversion.h:
7714 Add GST_MAJORMINOR definition.
7715 * win32/common/libgstreamer.def:
7716 Add new exported functions.
7718 2006-05-12 Michael Smith <msmith@fluendo.com>
7720 * gst/gstplugin.c: (gst_plugin_load_file):
7721 If an so file has no plugin entry point, unload the module.
7723 2006-05-11 Wim Taymans <wim@fluendo.com>
7725 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7726 (gst_queue_set_property):
7727 Don't forget to signal the _chain or _loop function
7728 when the queue size or thresholds change since that might
7729 cause them to make progres again.
7731 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7733 * gst/gstclock.c: (gst_clock_class_init):
7734 * gst/gstindex.c: (gst_index_class_init):
7735 * gst/gstobject.c: (gst_object_class_init):
7736 * gst/gstpad.c: (gst_pad_class_init):
7737 * gst/gstpipeline.c: (gst_pipeline_class_init):
7738 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7739 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7740 * libs/gst/base/gstbasetransform.c:
7741 (gst_base_transform_class_init):
7742 * libs/gst/net/gstnetclientclock.c:
7743 (gst_net_client_clock_class_init):
7744 * libs/gst/net/gstnettimeprovider.c:
7745 (gst_net_time_provider_class_init):
7746 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7747 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7748 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7749 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7750 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7751 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7752 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7753 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7754 * plugins/elements/gsttee.c: (gst_tee_class_init):
7755 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7756 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7757 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7759 2006-05-11 Wim Taymans <wim@fluendo.com>
7761 * gst/gstbuffer.c: (_gst_buffer_initialize):
7762 Register subbufer along with the buffer type so that
7763 it does not accidentally gets registered from N
7764 different streaming threads in a non threadsafe way.
7766 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7771 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7772 gst_event_ref() and gst_message_ref() functions again
7773 (ugly hack, please do fix if there's a better way besides
7774 overrides.txt, which doesn't seem to work).
7776 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7778 * libs/gst/check/gstcheck.h:
7779 add an assert for setting state to avoid lots of repetitive code
7782 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7784 * gst/gstvalue.c: (gst_value_serialize_flags):
7785 fix a leak if no flags are set
7786 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7789 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7791 * docs/manual/basics-pads.xml:
7792 Expand a bit on caps and filtered links and update
7793 examples that were still using the no longer existing
7794 gst_pad_link_filtered() (#338206).
7796 2006-05-10 Wim Taymans <wim@fluendo.com>
7798 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7799 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7800 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7801 (gst_collect_pads_stop):
7802 * libs/gst/base/gstcollectpads.h:
7803 No need to call _stop in _finalize.
7804 Iterate the main pad list in _finalize.
7805 Added some more debug.
7806 Free lists and data in the right order.
7807 Also free data whem doing _remove_pad when stopped for
7808 backward compatibility protect ::started with PAD_LOCK as
7811 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7813 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7814 (gst_structure_parse_value):
7816 rename a method so that it actually says what it does better
7818 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7820 * gst/gstevent.c: (_gst_event_initialize):
7821 * gst/gstformat.c: (_gst_format_initialize):
7822 make sure some essential types used by events are registered
7823 as part of gst_init()
7824 * gst/gstvalue.c: (gst_value_serialize_flags):
7825 if no flags are set, serialize them to a value that represents NONE
7826 so that deserializing them works
7827 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7828 add tests for serialization and deserialization of flags
7830 2006-05-10 Wim Taymans <wim@fluendo.com>
7832 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7833 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7834 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7835 (gst_collect_pads_event), (gst_collect_pads_chain):
7838 Catch and return errors from the collect function
7839 Refuse data on eos pads.
7841 2006-05-10 Edward Hervey <edward@fluendo.com>
7843 * gst/gstinterface.h:
7844 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7845 GInterface type checking.
7846 They were previously using non-defined macros.
7848 2006-05-09 Wim Taymans <wim@fluendo.com>
7850 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7851 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7852 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7853 (gst_collect_pads_start), (gst_collect_pads_stop),
7854 (gst_collect_pads_peek), (gst_collect_pads_pop),
7855 (gst_collect_pads_available), (gst_collect_pads_read),
7856 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7857 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7858 (gst_collect_pads_chain):
7859 * libs/gst/base/gstcollectpads.h:
7860 Clean up the mess that is collectpads, add comments and
7861 FIXMEs where needed.
7862 Maintain a separate pad list so we can add pads while
7863 collecting the other ones. For this we need a new separate
7865 Fix memory leak in finalize.
7866 Refactor some weird code to set/unset pad flushing flags, mark
7868 Don't crash in _available, _read, _flush when we're EOS.
7870 * tests/check/libs/.cvsignore:
7871 Ignore adapter check binary.
7873 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7875 * gst/gstindex.c: (gst_index_resolver_get_type):
7876 * plugins/elements/gstfakesink.c:
7877 (gst_fake_sink_state_error_get_type):
7878 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7879 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7880 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7881 Const-ify GEnumValue arrays.
7883 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7885 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7886 Add test case for flags + gst_buffer_make_metadata_writable().
7888 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7890 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7891 gst_buffer_make_metadata_writable() should maintain the
7892 buffer flags (those that make sense at least) (see #340859).
7894 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7896 * tools/gst-inspect.c:
7897 * tools/gst-launch.c:
7898 * tools/gst-typefind.c:
7899 * tools/gst-xmlinspect.c:
7901 Fix up includes: need to include stdlib.h in tools.h for exit().
7903 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7905 * gst/gsttaglist.c: (_gst_tag_initialize):
7907 API: add GST_TAG_IMAGE tag (#340721).
7909 2006-05-08 Wim Taymans <wim@fluendo.com>
7912 Added some docs for the segment query.
7914 2006-05-08 Wim Taymans <wim@fluendo.com>
7916 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7917 (gst_base_src_loop), (gst_base_src_change_state):
7918 Always push non-flushing serialized events in the streaming
7921 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7923 * gst/gsterror.c: (_gst_stream_errors_init):
7924 Add a missing error string.
7926 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7928 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7929 Add applied_rate to the debug
7931 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7932 Copy applied_rate into the outgoing NEWSEGMENT event
7934 2006-05-08 Wim Taymans <wim@fluendo.com>
7936 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7938 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7939 (gst_base_sink_change_state):
7940 call ::unlock before taking the PREROLL_LOCK so we can safely
7941 handle elements that lock in ::render.
7944 2006-05-08 Edward Hervey <edward@fluendo.com>
7946 * autogen.sh: (CONFIGURE_DEF_OPT):
7947 Darwin's libtoolize is in fact called glibtoolize.
7948 Adding glibtoolize to the list of accepted names for libtoolize.
7950 2006-05-08 Wim Taymans <wim@fluendo.com>
7952 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7953 Unify error handling, don't post an error message
7954 when a push() returns EOS but perform our normal EOS
7955 handling code. Fixes #340772.
7957 2006-05-08 Wim Taymans <wim@fluendo.com>
7959 * docs/design/part-overview.txt:
7960 Make upsteam/downstream concepts more clear.
7961 Give an example of serialized/non-serialized events.
7963 * docs/design/part-events.txt:
7964 * docs/design/part-streams.txt:
7965 Mention applied_rate.
7967 * docs/design/part-trickmodes.txt:
7968 Mention applied rate, flesh out some more use cases.
7970 * gst/gstevent.c: (gst_event_new_new_segment),
7971 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7972 (gst_event_parse_new_segment_full), (gst_event_new_tag),
7973 (gst_event_parse_tag), (gst_event_new_buffer_size),
7974 (gst_event_parse_buffer_size), (gst_event_new_qos),
7975 (gst_event_parse_qos), (gst_event_parse_seek),
7976 (gst_event_new_navigation):
7978 Add applied_rate field to NEWSEGMENT event.
7979 API: gst_event_new_new_segment_full()
7980 API: gst_event_parse_new_segment_full()
7982 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7983 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7984 (gst_segment_to_stream_time), (gst_segment_to_running_time):
7986 Add applied_rate to GstSegment structure.
7987 Make calculation of stream_time and running_time more correct
7988 wrt rate/applied_rate.
7990 API: GstSegment::applied_rate field
7991 API: gst_segment_set_newsegment_full();
7993 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7994 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7995 * libs/gst/base/gstbasetransform.c:
7996 (gst_base_transform_sink_eventfunc),
7997 (gst_base_transform_handle_buffer):
7998 Parse and use applied_rate in the GstSegment field.
8000 * tests/check/gst/gstevent.c: (GST_START_TEST):
8001 Add check for applied_rate field.
8003 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8004 (gstsegments_suite):
8005 Add more checks for various GstSegment operations.
8007 2006-05-08 Wim Taymans <wim@fluendo.com>
8009 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8010 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8011 (gst_base_sink_get_position), (gst_base_sink_change_state):
8012 Store the sync time of the buffer end position separatly in a
8013 new variable eos_rtime so we can properly sync the EOS event.
8015 Fix the docs for gst_base_sink_set_qos_enabled().
8016 Don't set segment start to invalid value when we receive a
8017 non TIME newsegment.
8018 get closer to handling position reporting for negative rates
8021 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8024 Docs about how to print caps for debug purposes.
8026 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8027 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8029 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8032 use full enum names and preprend a '%' in docs strings to make recent
8033 gtk-doc turn that into a link
8035 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8037 * docs/manual/basics-bins.xml:
8038 * docs/manual/basics-bus.xml:
8039 * docs/manual/basics-pads.xml:
8040 Some typo fixes, some additions, some clarifications.
8042 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8044 * tools/gst-inspect.c: (main):
8045 * tools/gst-launch.c: (main):
8046 * tools/gst-run.c: (main):
8047 * tools/gst-typefind.c: (main):
8048 * tools/gst-xmlinspect.c: (main):
8049 Use the string passed to g_option_context_new() for
8050 what it's intended for - the program name is already
8053 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8055 * tools/Makefile.am:
8056 * tools/gst-inspect.c: (main):
8057 * tools/gst-launch.c: (main):
8058 * tools/gst-xmlinspect.c: (main):
8060 Add back --version command line option (#340460).
8062 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8063 Add --version option and use GOption for argument parsing; refactor a
8064 bit; accept directories as arguments and recurse into them; lastly,
8065 print a decent error message when things go wrong.
8067 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8069 * docs/manual/basics-bins.xml:
8070 Don't mention GstThread (#340611)
8071 * docs/manual/basics-elements.xml:
8072 Update link to GObject tutorial (#340607)
8074 2006-05-05 Wim Taymans <wim@fluendo.com>
8077 * gst/gstminiobject.c:
8078 Add note about refcounting and miniobject/buffer writeability
8079 to docs. Fixes #340604
8081 * gst/gstelementfactory.h:
8082 Added some explanation about @klass.
8084 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8086 * docs/manual/intro-motivation.xml:
8087 * docs/manual/manual.xml:
8088 Avoid CORBA & Bonobo references (#340598)
8090 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8092 * docs/manual/basics-bus.xml:
8093 * docs/manual/basics-pads.xml:
8094 Fix up some inaccuracies and omissions (#340609)
8096 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8098 * gst/gstghostpad.c:
8099 Small typo in docs (#340625)
8101 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8103 * gst/parse/Makefile.am:
8104 Make 'make -j' proof (see #340698).
8106 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8109 Require GLib-2.8 here as well.
8111 2006-05-05 Wim Taymans <wim@fluendo.com>
8113 * gst/glib-compat.c:
8114 * gst/gst.c: (init_pre):
8115 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8116 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8117 (gst_object_dispatch_properties_changed):
8119 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8120 * gst/gststructure.c: (gst_structure_set_valist):
8121 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8122 Remove pre glib2.8 compatibility, fixes #340508
8124 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8127 Mention type of tags in doc blurbs.
8129 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8131 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8132 (gst_pad_configure_src), (gst_pad_push):
8133 Restore acceptcaps checking behaviour now that good plugins have
8136 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8138 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8149 * gst/parse/Makefile.am:
8150 * libs/gst/base/gstadapter.c:
8151 * libs/gst/base/gstbasesrc.c:
8152 * libs/gst/base/gstpushsrc.c:
8153 * libs/gst/base/gsttypefindhelper.c:
8154 * plugins/elements/gstfakesrc.c:
8155 * plugins/elements/gstidentity.c:
8156 Make sure gstprivate.h and/or config.h are
8157 always included first, otherwise some of our
8158 defines (like _FILE_OFFSET_BITS) might be
8159 redefined in the system headers. Fixes build
8160 on opensolaris (#340016).
8162 2006-05-04 Wim Taymans <wim@fluendo.com>
8164 * docs/libs/gstreamer-libs-sections.txt:
8165 API: addition: gst_adapter_take_buffer()
8167 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8168 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8169 (gst_adapter_available_fast):
8170 * libs/gst/base/gstadapter.h:
8171 Prepare for optimizing the hell out of this hugely inefficient
8173 Added gst_adapter_take_buffer() so we can at least start thinking
8174 about subbuffering and merging.
8175 Added some comments.
8177 * tests/check/Makefile.am:
8178 * tests/check/libs/adapter.c: (GST_START_TEST),
8179 (gst_adapter_suite), (main):
8180 Added GstAdapter check.
8182 2006-05-04 Wim Taymans <wim@fluendo.com>
8184 * docs/design/part-overview.txt:
8185 Fix some typos, add blurb about buffer flags.
8187 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8189 * docs/libs/gstreamer-libs-sections.txt:
8190 make sure GstBaseTransformClass shows up in the docs
8191 * libs/gst/base/gstbasetransform.c:
8192 * libs/gst/base/gstbasetransform.h:
8193 move docs so gtk-doc picks it up now
8195 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8197 * docs/libs/gstreamer-libs-sections.txt:
8198 add missing symbols to docs
8200 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8202 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8203 back out the newsegment handling change, see #340060 for ongoing
8206 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8208 * tools/gst-run.c: (get_candidates), (main):
8209 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8210 work); fix typo in error message. Fixes #340079.
8212 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8214 * common/Makefile.am:
8216 * docs/faq/Makefile.am:
8217 * docs/gst/Makefile.am:
8218 * docs/libs/Makefile.am:
8219 * docs/manual/Makefile.am:
8220 * docs/plugins/Makefile.am:
8221 * docs/pwg/Makefile.am:
8222 * docs/slides/Makefile.am:
8224 * common/upload.mak:
8225 move upload.mak to common
8227 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8229 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8230 add more asserts on refcounts
8231 do more cleanup at end of tests
8232 fix test leaks showing in FC5
8234 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8236 * plugins/elements/gsttypefindelement.c:
8237 (gst_type_find_element_handle_event):
8238 reverted wrong change and reflowed code to avoid others falling into
8241 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8243 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8244 fix changelog entry about last collectpads change,
8245 add notes about proper fix
8247 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8250 * gst/gstregistry.c: (gst_registry_scan_path_level),
8251 (gst_registry_scan_path):
8252 * gst/gstregistry.h:
8253 only write out registry if it has changed, fixes #338339
8255 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8258 * gst/gstpipeline.c:
8259 * plugins/elements/gstcapsfilter.c:
8260 * plugins/elements/gstfakesink.c:
8261 * plugins/elements/gstfakesrc.c:
8262 * plugins/elements/gstfdsink.c:
8263 * plugins/elements/gstfdsrc.c:
8264 * plugins/elements/gstfilesink.c:
8265 * plugins/elements/gstfilesrc.c:
8266 * plugins/elements/gstidentity.c:
8267 * plugins/elements/gstqueue.c:
8268 * plugins/elements/gsttee.c:
8269 * plugins/elements/gsttypefindelement.c:
8270 (gst_type_find_element_handle_event):
8271 make GstElementDetails const
8273 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8275 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8276 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8277 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8278 more detailed debug and formatting cleanup,
8279 forward newsegments to src-pad (so that e.g. adder not eats them)
8281 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8283 * gst/gstutils.c: (gst_element_link_pads):
8286 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8288 * libs/gst/controller/gstcontroller.c:
8289 (gst_controller_sync_values):
8291 * tests/check/libs/controller.c: (GST_START_TEST),
8292 (gst_controller_suite):
8293 a new test for live value handling
8295 2006-04-28 Wim Taymans <wim@fluendo.com>
8297 * gst/gstutils.c: (push_and_ref):
8298 Added some more docs.
8299 Fix refcount issue whith gst_element_found_tags() helper
8300 function. Fixes #338335
8302 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8303 Added testsuite for gst_element_found_tags().
8305 2006-04-28 Michael Smith <msmith@fluendo.com>
8307 * gst/gstvalue.c: (gst_value_serialize_flags):
8308 Avoid NULL dereference when trying to serialize flags containing
8311 2006-04-28 Michael Smith <msmith@fluendo.com>
8313 * plugins/elements/gsttypefindelement.c:
8314 (gst_type_find_element_handle_event):
8315 If we get EOS before any data is accumulated, don't use
8316 uninitialised local variables.
8318 2006-04-28 Michael Smith <msmith@fluendo.com>
8320 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8321 (gst_dp_event_from_packet):
8322 Fixes in reading/writing events over GDP (not currently used?) -
8323 dereferencing NULL events for unknown/invalid event types, memory
8324 leak, and change g_warning to GST_WARNING.
8326 2006-04-28 Wim Taymans <wim@fluendo.com>
8328 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8329 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8330 (gst_base_sink_get_position), (gst_base_sink_change_state):
8331 When frame dropping is enabled, we should not ignore frames
8333 Update some documentation.
8335 2006-04-28 Wim Taymans <wim@fluendo.com>
8337 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8338 (gst_base_src_send_event), (gst_base_src_change_state):
8339 Documentation updates.
8341 2006-04-28 Wim Taymans <wim@fluendo.com>
8343 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8344 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8345 handle EAGAIN, EINTR and short writes correctly. Also clean
8346 up some error cases, avoid a deadlock on bad file descriptors and
8347 use GST_DEBUG_OBJECT.
8350 2006-04-28 Wim Taymans <wim@fluendo.com>
8352 * gst/gstvalue.c: (gst_value_serialize_buffer),
8353 (gst_value_deserialize_buffer):
8354 Don't try to serialize a GValue with a NULL buffer.
8357 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8358 Added check for serialisation of NULL buffers.
8360 2006-04-28 Wim Taymans <wim@fluendo.com>
8362 * gst/gstminiobject.c: (gst_value_take_mini_object):
8363 Taking a NULL miniobject is valid, fix the case where
8364 we try to unref the NULL miniobject.
8366 2006-04-28 Wim Taymans <wim@fluendo.com>
8368 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8370 * gst/gstbin.c: (gst_bin_handle_message_func):
8372 Don't leak bin refcount when a state recalc is
8373 in progress and we delay another one #339808.
8375 2006-04-28 Wim Taymans <wim@fluendo.com>
8377 * docs/design/part-TODO.txt:
8378 Mention QoS as an ongoing work item.
8380 * docs/design/part-buffering.txt:
8381 New doc about buffering that needs to be fleshed out
8384 * docs/design/part-qos.txt:
8385 More QoS policy for decoders/demuxers/transforms
8387 * docs/design/part-trickmodes.txt:
8390 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8395 === release 0.10.5 ===
8397 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8400 releasing 0.10.5, "Fogo"
8402 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
8404 patch by: Wim Taymans
8406 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8407 (gst_pad_configure_src), (gst_pad_push):
8408 * gst/gstpipeline.c: (gst_pipeline_init):
8409 Fix internal data flow errors. Fixes #338711.
8411 2006-04-12 Wim Taymans <wim@fluendo.com>
8413 * tests/check/gst/gstelement.c: (GST_START_TEST):
8414 Don't leak the factory.
8416 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8419 * win32/common/config.h:
8422 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
8424 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8425 (gst_controller_unset_all):
8426 Free allocated GstTimedValues when freeing list nodes.
8427 Should fix leaks 'make check-valgrind' complains about.
8429 * win32/common/libgstcontroller.def:
8430 Add gst_controller_unset_all.
8432 2006-04-11 Stefan Kost <ensonic@users.sf.net>
8434 * docs/libs/gstreamer-libs-sections.txt:
8435 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8436 (gst_controller_unset_all):
8437 * libs/gst/controller/gstcontroller.h:
8438 API: Added new method gst_controller_unset_all()
8439 fixed gst_controller_unset()
8440 * tests/check/libs/controller.c: (GST_START_TEST),
8441 (gst_controller_suite):
8442 Added two testcases for new and fixed method
8444 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
8446 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8447 MSG_DONTWAIT is not defined on Cygwin, so work
8448 around that (fixes #317048).
8450 2006-04-11 Wim Taymans <wim@fluendo.com>
8452 * gst/gstelementfactory.c: (gst_element_register),
8453 (gst_element_factory_create), (gst_element_factory_make):
8456 Updated docs (Fixes #131079)
8458 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8461 * tests/check/gst/gstelement.c: (GST_START_TEST),
8462 (gst_element_suite):
8463 Added testcase for elementfactory class field.
8465 2006-04-10 Wim Taymans <wim@fluendo.com>
8468 Added some more docs.
8470 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8471 (gst_base_sink_reset_qos):
8472 Calculate more accurate rate values.
8474 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
8476 * gst/gst_private.h:
8477 add a new #ifdef to use __declspec(dllimport) only for
8478 other modules and not for gstreamer core
8479 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8480 use gst_guint64_to_gdouble for conversion
8481 * win32/common/libgstreamer.def:
8482 add new exported functions
8483 * win32/vs6/gst_inspect.dsp:
8484 * win32/vs6/gst_launch.dsp:
8485 * win32/vs6/libgstbase.dsp:
8486 * win32/vs6/libgstcontroller.dsp:
8487 * win32/vs6/libgstcoreelements.dsp:
8488 * win32/vs6/libgstdataprotocol.dsp:
8489 * win32/vs6/libgstnet.dsp:
8490 update project files
8492 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8494 * gst/gstbuffer.c: (gst_subbuffer_class_init):
8495 * gst/gstclock.c: (gst_clock_class_init):
8496 * gst/gstelement.c: (gst_element_class_init):
8497 * gst/gstindex.c: (gst_index_class_init):
8498 * gst/gstindexfactory.c: (gst_index_factory_class_init):
8499 * gst/gstobject.c: (gst_object_class_init),
8500 (gst_signal_object_class_init):
8501 * gst/gstpad.c: (gst_pad_class_init):
8502 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8503 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8504 * gst/gstregistry.c: (gst_registry_class_init):
8505 * gst/gstsystemclock.c: (gst_system_clock_class_init):
8506 * gst/gsttask.c: (gst_task_class_init):
8507 * gst/gstxml.c: (gst_xml_class_init):
8508 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8509 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8510 (gst_base_src_loop):
8511 * libs/gst/controller/gstcontroller.c:/
8512 (_gst_controller_class_init):
8513 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8514 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8515 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8516 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8517 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8518 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8520 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8522 * gst/gstpad.c: (gst_pad_link):
8523 Must set peer pads before calling the link function, otherwise
8524 a task started from a link function might get a flow-not-linked
8525 result when trying to push because the other thread where the
8526 linking happens hasn't had a chance to set the peers yet. This
8527 might happen for example when a queue gets linked to a downstream
8528 element, as queue starts a streaming task when its source pad
8529 gets linked. Happens in real life when playing back flac/musepack
8530 files in playbin (#332390).
8532 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8536 * libs/gst/base/gstadapter.h:
8537 * libs/gst/base/gstbasesink.h:
8538 * libs/gst/base/gstbasesrc.h:
8539 * libs/gst/base/gstbasetransform.h:
8540 * libs/gst/base/gstcollectpads.h:
8541 * libs/gst/base/gstpushsrc.h:
8542 Fix broken GObject macros
8544 2006-04-07 Wim Taymans <wim@fluendo.com>
8546 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8547 Initialize start and stop times, thanks valgrind.
8549 2006-04-07 Wim Taymans <wim@fluendo.com>
8551 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8552 Be a bit nicer to badly behaving upstream elements that expect
8553 us to deal with non TIME segments and timestamps (such as fakesrc
8556 2006-04-07 Wim Taymans <wim@fluendo.com>
8559 Small documentation clarification about the signal watch.
8561 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8562 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8563 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8564 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8565 (gst_base_sink_get_position_last),
8566 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8567 Convert and store timestamps in stream time and running time, the
8568 raw timestamps are not useful, also document this better.
8569 Use different window sizes for good and bad QoS observations so
8570 we react to badness a little quicker.
8571 Keep track of the amount of rendered and dropped buffers.
8572 Send QoS timestamps in running time.
8574 * libs/gst/base/gstbasetransform.c:
8575 (gst_base_transform_sink_eventfunc),
8576 (gst_base_transform_handle_buffer):
8577 Compare QoS timestamps against running time.
8579 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8584 2006-04-06 Michael Smith <msmith@fluendo.com>
8586 * gst/gstpad.c: (gst_pad_set_property):
8587 Use g_value_get_object() instead of g_value_dup_gst_object(),
8588 to avoid double-reffing the pad template (which we then sink,
8589 so this worked previously if (and only if) the pad template
8592 * gst/gstpadtemplate.c: (gst_pad_template_init),
8593 (gst_pad_template_pad_created):
8594 Never return floating references to pad templates, create
8595 them as initially-sunken.
8597 Document an extra function (and make this stop sinking our
8598 pad template, since that is now guaranteed to do nothing,
8599 since we created it sunken).
8601 * gst/gstghostpad.c:
8604 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8606 * gst/gstinfo.c: (__gst_in_valgrind):
8609 * plugins/elements/gsttypefindelement.c:
8610 (gst_type_find_element_chain):
8611 Don't leak buffer caps.
8613 2006-04-06 Michael Smith <msmith@fluendo.com>
8615 * gst/parse/grammar.y:
8616 Fix a leak in parse-launch for any source-or-sink named element
8619 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8620 Unref the pipeline if it exists after we've failed parsing.
8622 2006-04-05 Michael Smith <msmith@fluendo.com>
8624 * gst/gstpipeline.c: (gst_pipeline_init):
8625 When we create a pipeline bus, initially create it in flushing mode.
8626 Fixes leaks in at least one test, and makes a new pipeline work the
8627 same as one that has gone to READY and then back to NULL.
8632 2006-04-05 Michael Smith <msmith@fluendo.com>
8634 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8635 Unref a pad we reffed.
8636 * tests/check/gst/gstutils.c: (GST_START_TEST):
8639 2006-04-05 Michael Smith <msmith@fluendo.com>
8641 * gst/gstquery.c: (gst_query_set_formats),
8642 (gst_query_set_formatsv):
8643 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8645 2006-04-05 Michael Smith <msmith@fluendo.com>
8647 * tests/check/generic/sinks.c: (GST_START_TEST):
8648 Fix a variety of memleaks in sinks check, which are only sometimes
8649 shown by running the tests under valgrind (weird?).
8651 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8653 * docs/version.entities.in:
8654 Fix the substituted entity name after thomas' changes on the
8657 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8659 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8662 2006-04-05 Andy Wingo <wingo@pobox.com>
8664 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8666 * libs/gst/base/gstbasetransform.c
8667 (gst_base_transform_sink_eventfunc): When resetting our segment on
8668 FLUSH_STOP, also update the flag saying we haven't seen a
8671 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8673 Patch by: Paolo Borelli <pborelli at katamail dot com>
8675 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8676 (gst_plugin_check_license):
8677 minor clean-ups: G_DEFINE_TYPE already takes care of the
8678 parent_class stuff, no need to do it twice. Mark array of
8679 license strings as constant. (#337103)
8681 2006-04-04 Michael Smith <msmith@fluendo.com>
8683 * tools/gst-inspect.c: (print_element_list):
8684 Free the right plugin list; fixes a memory leak.
8686 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8688 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8690 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8691 Don't error out on empty buffers (#336945).
8693 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8695 * docs/libs/gstreamer-libs-sections.txt:
8697 * libs/gst/base/gstbasesink.c:
8698 * libs/gst/base/gstbasesink.h:
8699 * libs/gst/base/gstbasesrc.c:
8700 * libs/gst/base/gstbasesrc.h:
8701 Documentation updates. Make BaseSink and BaseSrc docs contain the
8702 class structure so that people can actually see the prototypes for
8703 virtual functions they're supposed to be overriding.
8705 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8707 * plugins/elements/gsttypefindelement.c:
8708 (gst_type_find_element_chain):
8709 More debug info; when skipping typefinding, send cached
8710 events in all cases.
8712 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8715 use new AS_VERSION and AS_NANO macros
8716 * gst/gst-i18n-lib.h:
8719 * gst/gstversion.h.in:
8720 * win32/common/config.h:
8721 * win32/common/config.h.in:
8724 2006-03-31 Michael Smith <msmith@fluendo.com>
8726 * plugins/elements/gsttypefindelement.c:
8727 (gst_type_find_element_chain):
8728 Do not typefind content if the buffers already have caps.
8729 Neccesary for icydemux (#333657), and the right thing to do anyway.
8731 2006-03-30 Wim Taymans <wim@fluendo.com>
8733 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8734 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8735 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8736 (gst_base_sink_record_qos_observation),
8737 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8738 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8739 (gst_base_sink_change_state):
8740 More QoS measurements as described in the design doc.
8741 Get rid of ringbuffer with observations, running average is
8742 more simple and equally good.
8743 Calculates valid proportion now.
8744 Added beginning of flood measurement.
8746 2006-03-29 Wim Taymans <wim@fluendo.com>
8748 * docs/design/part-qos.txt:
8750 Small documentation updates and additions.
8752 2006-03-29 Wim Taymans <wim@fluendo.com>
8754 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8755 (gst_base_src_send_event), (gst_base_src_loop),
8756 (gst_base_src_change_state):
8757 Perform the EOS logic when we reach the segment stop position.
8758 Fix compilation on gcc4.1
8760 2006-03-29 Wim Taymans <wim@fluendo.com>
8762 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8764 * plugins/elements/gstqueue.c: (gst_queue_init),
8765 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8766 (gst_queue_set_property):
8767 * plugins/elements/gstqueue.h:
8768 In queue, when EOS is received, if minimum threshold > max_size -
8769 current_level, there is chance that queue blocks forever in conditional
8770 item del wait. This is because the queue is not emptied completely due
8771 to minimum threshold. Here is another approach. Instead of setting
8772 cur_levels to max in EOS, just zero all minimum threshold levels. This
8773 should make sure that queue gives out all data. When going to READY
8774 (stop) state, just reset the original minimum threshold levels.
8777 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8779 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8780 (gst_type_find_element_handle_event),
8781 (gst_type_find_element_send_cached_events),
8782 (gst_type_find_element_change_state):
8783 * plugins/elements/gsttypefindelement.h:
8784 When typefinding is done in push mode, we should cache
8785 events we receive during typefinding instead of just
8786 dropping them (e.g. newsegment, custom events from
8787 dvdreadsrc etc.) and then send them out once we've
8788 determined the type of the stream (and decodebin
8789 has had a chance to plug in a decoder/demuxer).
8791 2006-03-27 Wim Taymans <wim@fluendo.com>
8793 * docs/design/part-qos.txt:
8796 2006-03-27 Wim Taymans <wim@fluendo.com>
8798 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8800 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8801 (gst_base_src_send_event), (gst_base_src_change_state):
8802 Handle element seek correctly when we are streaming.
8805 2006-03-24 Michael Smith <msmith@fluendo.com>
8807 * docs/faq/gst-uninstalled:
8808 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8809 allow you to correctly run intalled applications built against old
8810 core, using plugins that require updated core (e.g. running
8811 installed totem against a full uninstalled gstreamer stack)
8813 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8815 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8818 2006-03-24 Wim Taymans <wim@fluendo.com>
8820 * docs/gst/gstreamer-sections.txt:
8821 Rearrange the order of the methods so that related methods
8822 are grouped together in sections.
8824 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8827 Little clarification in the docs
8829 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8833 * plugins/elements/gstidentity.c:
8834 * plugins/elements/gstqueue.c:
8835 * plugins/elements/gsttee.c:
8836 * plugins/elements/gsttypefindelement.c:
8837 GST_ELEMENT_DETAILS formatting
8839 2006-03-24 Wim Taymans <wim@fluendo.com>
8841 * libs/gst/base/gstbasesink.h:
8842 Only add fields, not insert or we break ABI.
8844 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8846 * win32/common/libgstbase.def:
8847 * win32/common/libgstreamer.def:
8848 Update, add recently added functions.
8850 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8852 * docs/gst/gstreamer-sections.txt:
8853 * gst/gstutils.c: (gst_pad_query_peer_position),
8854 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8856 API: add some new utility functions:
8857 - gst_pad_query_peer_position()
8858 - gst_pad_query_peer_duration()
8859 - gst_pad_query_peer_convert()
8861 2006-03-23 Wim Taymans <wim@fluendo.com>
8863 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8864 (gst_base_sink_init), (gst_base_sink_finalize),
8865 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8866 (gst_base_sink_set_property), (gst_base_sink_get_property),
8867 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8868 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8869 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8870 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8871 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8872 (gst_base_sink_preroll_object), (gst_base_sink_event),
8873 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8874 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8875 (gst_base_sink_query), (gst_base_sink_change_state):
8876 Decouple max-lateness and the fact that QoS messages are generated
8877 with a new property (qos).
8878 added API: GstBaseSink::async_play()
8879 Add vmethod so subclasses can be notified of ASYNC playing
8881 Collect timestamp start and stop to report better current
8882 position in EOS/PLAYING/PAUSED/READY/NULL.
8883 Refactor QoS/frame dropping and other measurements.
8884 API: GstBaseSrc::qos
8887 * libs/gst/base/gstbasesink.h:
8888 Added Private struct.
8889 API: gst_base_sink_set_qos_enabled()
8890 API: gst_base_sink_is_qos_enabled()
8892 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8894 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8895 If compiling against GLib-2.8 or newer, try to read the
8896 registry file using GMappedFile first before falling back
8897 to fopen() + fread() (#332151).
8899 2006-03-22 Wim Taymans <wim@fluendo.com>
8901 * gst/gstinfo.c: (gst_debug_set_active),
8902 (gst_debug_category_set_threshold):
8903 Disable debugging unless explicitly activated.
8906 2006-03-22 Wim Taymans <wim@fluendo.com>
8908 * gst/gstelement.c: (gst_element_set_locked_state),
8909 (gst_element_dispose):
8910 Cleanup the error case.
8912 * gst/gstobject.c: (gst_object_dispose):
8913 print a critical when some object was disposed with
8914 a parent, also revive the object since it might
8917 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8919 * tools/gst-launch.1.in:
8922 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8925 * tests/check/Makefile.am:
8926 disable some tests when we don't have a registry
8927 * tests/check/gst/gstutils.c: (gst_utils_suite):
8928 don't build the part that needs parsing
8930 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8933 * tests/examples/Makefile.am:
8934 fix --disable-parse build
8936 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8938 * tools/gst-feedback.1.in:
8939 Fix typo: s/feeback/feedback/ (#133494).
8941 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8943 * tools/Makefile.am:
8944 * tools/gst-launch.1.in:
8945 Add FILES section and correct entry about GST_REGISTRY_PATH
8946 environment variable (#133495; #133494).
8948 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8950 * tools/Makefile.am:
8951 * tools/gst-md5sum.1.in:
8952 * tools/gst-md5sum.c:
8953 Remove gst-md5sum and man page (the md5sink element
8954 required was removed ages ago)
8956 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8958 * gst/gststructure.c: (gst_structure_id_set_value):
8959 Make sure that string fields in structures/taglists
8960 contain valid UTF-8 - we don't want to pass rubbish to
8961 applications because of a buggy plugin (cp. #334167).
8963 2006-03-21 Edward Hervey <edward@fluendo.com>
8965 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8966 (gst_bin_handle_message_func):
8967 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8968 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8969 (gst_element_set_bus_func):
8970 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8971 * gst/gstminiobject.c: (gst_value_set_mini_object),
8972 (gst_value_take_mini_object):
8973 * gst/gstpad.c: (gst_pad_set_pad_template):
8974 * gst/gstpipeline.c: (gst_pipeline_dispose),
8975 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8976 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8977 (gst_collect_pads_chain):
8978 * libs/gst/net/gstnettimeprovider.c:
8979 (gst_net_time_provider_set_property):
8980 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8981 It's in fact all issues with gst_*object_replace().
8983 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8985 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
8987 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8988 * pkgconfig/gstreamer-check.pc.in:
8989 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8991 2006-03-21 Edward Hervey <edward@fluendo.com>
8996 gst_[buffer|event|message]_ref() macros are replaced by a static
8997 inline functions because gcc-4.1 will about if the return value
8999 * tests/check/gst/gstevent.c: (event_probe):
9000 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9002 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
9005 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9006 the type' case. (Closes: #335195 for now). In the future, when we
9007 depend on GLib 2.10, we could also intern the type name using
9008 g_intern_static_string()
9010 2006-03-20 Wim Taymans <wim@fluendo.com>
9012 * gst/gstbin.c: (gst_bin_handle_message_func),
9013 (bin_query_max_init), (bin_query_position_fold),
9014 (bin_query_position_done), (gst_bin_query):
9015 Position query should also take max of all streams.
9017 2006-03-20 Wim Taymans <wim@fluendo.com>
9019 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9020 (gst_fake_src_finalize):
9021 Fix leaks in fakesrc.
9023 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9024 Fix leaks in the testcase.
9026 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9028 * gst/gst_private.h:
9029 add win32 specific import decoration(__declspec(dllimport))
9030 for all extern GstDebugCategory * variables
9031 * win32/common/libgstbase.def:
9032 * win32/common/libgstcontroller.def:
9033 * win32/common/libgstreamer.def:
9034 Add some exports, remove empty lines
9035 * win32/common/libgstdataprotocol.def:
9036 * win32/common/libgstdataprotocol.dsp:
9037 * win32/common/libgstnet.def:
9038 * win32/common/libgstnet.dsp:
9039 new project files and exportation files added
9041 2006-03-19 Wim Taymans <wim@fluendo.com>
9043 * tests/check/libs/basesrc.c: (eos_event_counter):
9044 Use proper return value for probe.
9046 2006-03-17 Wim Taymans <wim@fluendo.com>
9048 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9050 Don't leak buffers, caps and pads on negotiation errors.
9052 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9055 * docs/faq/dependencies.xml:
9056 * docs/faq/developing.xml:
9058 * docs/faq/general.xml:
9059 * docs/faq/getting.xml:
9060 * docs/faq/legal.xml:
9061 * docs/faq/troubleshooting.xml:
9062 * docs/faq/using.xml:
9063 Faq review and update.
9065 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9067 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9069 Don't pound the cpu to pieces by checking get_caps when accept_caps
9070 is called with the same caps as the pad already has.
9071 Use GST_DEBUG_OBJECT when outputting caps change information.
9073 2006-03-15 Wim Taymans <wim@fluendo.com>
9075 * gst/gstclock.c: (gst_clock_class_init):
9078 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9083 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9084 (gst_pad_accept_caps), (gst_pad_configure_sink),
9085 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9086 Make the default acceptcaps behaviour be to check the requested
9087 caps against the gst_pad_get_caps output.
9089 Ensure that gst_pad_accept_caps is used to check caps when a pad
9090 doesn't have a setcaps function, so that pads automatically refuse
9091 caps that they don't allow in their pad template. (Fixes #332986)
9093 When a buffer with attached caps is pushed, ensure that the source
9094 pad receives those caps even if the element didn't call
9095 gst_pad_set_caps first.
9097 2006-03-15 Wim Taymans <wim@fluendo.com>
9099 * libs/gst/base/gstadapter.c:
9102 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9104 * win32/common/libgstbase.def:
9105 * win32/common/libgstcontroller.def:
9106 * win32/common/libgstreamer.def:
9107 Add a whole bunch of missing functions (#334434).
9109 2006-03-14 Wim Taymans <wim@fluendo.com>
9111 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9112 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9113 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9114 Better debug info when we receive a segment event.
9115 Reorganize a bit so we can pass the get_times() results around.
9116 Use the segment format when calculating the running time.
9117 Don't do QoS is sync is disabled or we have no clock or the
9118 element does not want us to sync to the clock.
9119 Don't drop buffers if QoS is disabled for now.
9121 2006-03-14 Wim Taymans <wim@fluendo.com>
9123 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9124 Marked the stats property as unimplemented so people don't get
9126 Add debug message when regression goes wrong.
9127 Added some more docs.
9129 2006-03-14 Wim Taymans <wim@fluendo.com>
9131 * gst/gstsegment.c: (gst_segment_to_stream_time):
9132 Return correct return type in case of errors.
9134 2006-03-14 Wim Taymans <wim@fluendo.com>
9136 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9137 Don't segfault on invalid formats.
9139 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9141 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9142 Can't use gst_segment_to_running_time() when the segment
9143 is not in GST_TIME_FORMAT (like with filesink, for example).
9144 Stops flac encoding pipelines from spewing critical warnings
9147 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9149 * gst/gstpipeline.c: (gst_pipeline_class_init):
9150 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9152 * plugins/elements/gsttypefindelement.c:
9153 (gst_type_find_element_handle_event):
9154 Don't try to typefind empty streams.
9156 2006-03-14 Wim Taymans <wim@fluendo.com>
9158 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9159 (gst_base_sink_do_qos):
9160 Separate QoS calculation.
9161 Only drop buffers when lateness is bigger than the
9162 duration of the buffer.
9164 2006-03-13 Wim Taymans <wim@fluendo.com>
9166 * gst/gstpipeline.c: (gst_pipeline_set_property),
9167 (gst_pipeline_get_property), (do_pipeline_seek),
9168 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9169 (gst_pipeline_get_delay):
9170 Don't deadlock when reading properties.
9172 2006-03-13 Wim Taymans <wim@fluendo.com>
9174 * libs/gst/base/gstbasetransform.c:
9175 (gst_base_transform_class_init), (gst_base_transform_init),
9176 (gst_base_transform_sink_event),
9177 (gst_base_transform_sink_eventfunc),
9178 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9179 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9180 (gst_base_transform_set_property),
9181 (gst_base_transform_get_property),
9182 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9183 (gst_base_transform_set_qos_enabled),
9184 (gst_base_transform_is_qos_enabled):
9185 * libs/gst/base/gstbasetransform.h:
9186 Make basetransform virtual method for src events too.
9187 Handle QOS in basetransform.
9188 API: gst_base_transform_update_qos()
9189 API: gst_base_transform_set_qos_enabled()
9190 API: gst_base_transform_is_qos_enabled()
9192 2006-03-13 Wim Taymans <wim@fluendo.com>
9194 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9195 (gst_base_sink_do_sync):
9197 Use QOS debug category.
9199 2006-03-13 Wim Taymans <wim@fluendo.com>
9201 * plugins/elements/gstqueue.c:
9202 Very small doc update.
9204 2006-03-13 Wim Taymans <wim@fluendo.com>
9206 * gst/gst_private.h:
9207 * gst/gstinfo.c: (_gst_debug_init):
9208 Added QOS debug category
9210 2006-03-13 Wim Taymans <wim@fluendo.com>
9212 * docs/gst/gstreamer-sections.txt:
9213 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9215 * gst/gstbus.c: (gst_bus_class_init):
9218 * gst/gstelement.c: (gst_element_set_locked_state):
9220 Documentation updates.
9222 * gst/gstpipeline.c: (gst_pipeline_get_type),
9223 (gst_pipeline_class_init), (gst_pipeline_init),
9224 (gst_pipeline_dispose), (gst_pipeline_set_property),
9225 (gst_pipeline_get_property), (do_pipeline_seek),
9226 (gst_pipeline_send_event), (gst_pipeline_change_state),
9227 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9228 (gst_pipeline_get_delay):
9229 * gst/gstpipeline.h:
9230 Added methods for setting the delay.
9231 API: gst_pipeline_set_delay()
9232 API: gst_pipeline_get_delay()
9233 Add pipeline debug category
9236 Don't reset stream time when seek failed.
9238 2006-03-13 Wim Taymans <wim@fluendo.com>
9240 * docs/design/draft-klass.txt:
9241 * docs/design/part-clocks.txt:
9242 * docs/design/part-events.txt:
9243 * docs/design/part-gstbin.txt:
9244 * docs/design/part-gstpipeline.txt:
9245 * docs/design/part-messages.txt:
9246 * docs/design/part-negotiation.txt:
9247 * docs/design/part-overview.txt:
9248 * docs/design/part-preroll.txt:
9249 * docs/design/part-seeking.txt:
9250 * docs/design/part-states.txt:
9251 * docs/design/part-streams.txt:
9252 Documentation updates.
9254 2006-03-12 Julien MOUTTE <julien@moutte.net>
9256 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9257 us to leak strings...
9259 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9261 * libs/gst/net/gstnettimeprovider.c:
9263 * win32/common/config.h:
9266 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9268 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9271 Don't check for libgnomeui (leftover from old examples
9272 that aren't built or disted any longer) (#334303).
9274 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9276 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9277 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9278 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9279 there's no space left on the device.
9281 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9284 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9285 to cast the input to GstClockTime before comparing with
9286 another GstClockTime value.
9288 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9293 === release 0.10.4 ===
9295 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9298 releasing 0.10.4, "Light"
9300 2006-03-10 Michael Smith <msmith@fluendo.com>
9302 * libs/gst/dataprotocol/dataprotocol.c:
9303 Fix docs for dataprocotol to not get the return types completely
9304 wrong for a few functions.
9306 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9308 * docs/gst/gstreamer-sections.txt:
9309 * gst/gstpipeline.c: (gst_pipeline_class_init),
9310 (gst_pipeline_init), (gst_pipeline_set_property),
9311 (gst_pipeline_get_property), (gst_pipeline_change_state),
9312 (gst_pipeline_set_auto_flush_bus),
9313 (gst_pipeline_get_auto_flush_bus):
9314 * gst/gstpipeline.h:
9315 Add new API: gst_pipeline_set_auto_flush_bus() and
9316 gst_pipeline_get_auto_flush_bus() to disable automatic
9317 flushing of the pipeline's GstBus when going from READY
9318 to NULL state (#332045).
9320 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9322 * docs/gst/gstreamer-sections.txt:
9323 * gst/gsturi.c: (gst_uri_has_protocol):
9325 Add new API: gst_uri_has_protocol() (#333779).
9327 2006-03-09 Wim Taymans <wim@fluendo.com>
9329 * gst/gstclock.c: (gst_clock_entry_new),
9330 (gst_clock_id_compare_func), (gst_clock_id_wait),
9331 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9332 (gst_clock_init), (gst_clock_get_internal_time),
9333 (gst_clock_set_master), (do_linear_regression),
9334 (gst_clock_add_observation), (gst_clock_set_property):
9338 Fix a possible segfault when the window-size is made smaller.
9339 Calculate jitter before performing the clock wait. Ideally
9340 the clock implementation should calculate jitter but we need
9341 API breakage for that.
9343 * gst/gstsystemclock.c: (gst_system_clock_init):
9346 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9347 Remove leftover else
9349 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9350 (gst_systemclock_suite):
9351 Added check to test GST_CLOCK_DIFF.
9353 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9355 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9356 (gst_type_find_helper_get_range):
9357 If we are provided with the size, we should implement
9358 GstTypeFind::get_length, so that typefind functions who
9359 want to can actually peek at the middle of a file.
9361 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9363 * docs/manual/advanced-dataaccess.xml:
9364 Add some very very basic error checking.
9366 * docs/pwg/appendix-checklist.xml:
9367 Some updates to the list of things to check when writing an element.
9369 2006-03-08 Wim Taymans <wim@fluendo.com>
9371 * docs/design/part-element-transform.txt:
9372 Added some docs about the design of tranform elements.
9374 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9375 (gst_base_src_loop), (gst_base_src_change_state):
9376 Mark buffers with the DISCONT flag.
9378 2006-03-08 Michael Smith <msmith@fluendo.com>
9380 * gst/gstregistry.h:
9381 * gst/gstregistryxml.c: (gst_registry_save),
9382 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9383 (gst_registry_xml_save_pad_template),
9384 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9385 (gst_registry_xml_write_cache):
9386 Rewrite registry-saving to avoid race conditions and check for
9389 2006-03-08 Wim Taymans <wim@fluendo.com>
9391 * libs/gst/base/gstbasetransform.c:
9392 (gst_base_transform_transform_caps),
9393 (gst_base_transform_transform_size),
9394 (gst_base_transform_prepare_output_buffer),
9395 (gst_base_transform_get_unit_size),
9396 (gst_base_transform_buffer_alloc),
9397 (gst_base_transform_handle_buffer),
9398 (gst_base_transform_change_state):
9399 Cleanups, separate normal flow from errors, add sensible
9401 Don't try to renegotiate when allocating an output buffer.
9402 Also copy DISCONT buffer flag when copying a buffer.
9403 Reset the transform after we finish streaming, not during.
9405 2006-03-08 Wim Taymans <wim@fluendo.com>
9407 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9408 Use last buffer timestamp in qos message.
9410 2006-03-07 Wim Taymans <wim@fluendo.com>
9412 Patch by: Christophe Fergeau
9414 * docs/pwg/advanced-tagging.xml:
9415 * docs/pwg/building-pads.xml:
9418 2006-03-07 Wim Taymans <wim@fluendo.com>
9420 * docs/libs/gstreamer-libs-sections.txt:
9421 Added basesink new methods.
9425 Docs updates. Flesh out the QoS docs.
9427 * libs/gst/base/gstadapter.c:
9428 Small doc clarification about ownership and flushing.
9430 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9431 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9432 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9433 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9434 * libs/gst/base/gstbasesink.h:
9436 Added new methods to allow subclass to control max-lateness
9438 Generate very basic QoS events based on last sync observation.
9439 Updated docs, fix typo, added some QoS blurb.
9441 * libs/gst/base/gstbasesrc.c:
9442 Remove obsolete _get_state() calls from docs.
9444 2006-03-07 Wim Taymans <wim@fluendo.com>
9446 * docs/libs/gstreamer-libs-sections.txt:
9447 * libs/gst/base/gstbasetransform.h:
9448 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9449 Fix docs for GstBaseSrc.
9451 2006-03-07 Wim Taymans <wim@fluendo.com>
9453 * docs/gst/gstreamer-sections.txt:
9456 * libs/gst/base/gstbasetransform.h:
9457 Small documentation fixes.
9459 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9462 Document thread-unsafety of gst_value_register_foo_func()
9463 when used at the same time as gst_value_foo() (#322628).
9465 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9467 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9468 (gst_push_src_check_get_range):
9469 Push sources don't support pull mode by default.
9471 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9473 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9474 (gst_base_src_init), (gst_base_src_pad_check_get_range),
9475 (gst_base_src_default_check_get_range):
9476 * libs/gst/base/gstbasesrc.h:
9477 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9478 provide default implementation, and rename
9479 gst_base_src_check_get_range() to
9480 gst_base_src_pad_check_get_range() for clarity.
9482 2006-03-06 Wim Taymans <wim@fluendo.com>
9484 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9485 Make property overridable.
9487 2006-03-06 Wim Taymans <wim@fluendo.com>
9489 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9490 (gst_base_sink_init), (gst_base_sink_set_property),
9491 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9492 * libs/gst/base/gstbasesink.h:
9493 API addition: Make max-lateness a property.
9495 2006-03-06 Wim Taymans <wim@fluendo.com>
9497 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9498 (gst_base_sink_do_sync), (gst_base_sink_render_object):
9499 Don't ever draw a frame that is >10ms late.
9501 2006-03-06 Michael Smith <msmith@fluendo.com>
9503 * gst/gstmessage.c: (_gst_message_copy):
9504 When copying a message, set the parent_refcount of the enclosed
9505 structure to point at the copy, not the original message.
9507 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9509 Patch by: Christophe Fergeau
9512 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9513 usable in c++ code (#333417)
9515 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9518 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9520 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9522 * libs/gst/base/gstbasetransform.c:
9523 (gst_base_transform_transform_caps):
9524 Make sure caps are writable before passing them to
9527 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9530 Fix some minor docs errors.
9532 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9534 Patch by: Ross Burton <ross at burtonini dot com>
9536 * gst/gsterror.c: (_gst_resource_errors_init):
9538 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9540 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9543 Add a check and output a g_warning when GStreamer is built
9544 against GLib 2.6 but running against 2.8 or higher, and vice
9545 versa. (Closes: #323542)
9547 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9549 * gst/parse/parse.l:
9550 Commit patch for parse_launch syntax from #331255. Removes
9551 support for quoted strings and mimetypes when writing filtered
9552 caps. See the bug report for more details - I'm pretty sure this
9553 obscure feature is not in use by _anyone_ anywhere.
9555 With this simple change, the size of the gstreamer.so here
9556 drops from 2193KB to 1565KB.
9558 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9560 * plugins/elements/gsttypefindelement.h:
9561 * plugins/elements/gsttypefindelement.c:
9562 (gst_type_find_element_src_event), (start_typefinding),
9563 (stop_typefinding), (gst_type_find_element_handle_event),
9564 (gst_type_find_element_chain),
9565 (gst_type_find_element_chain_do_typefinding):
9566 Use gst_type_find_helper_for_buffer() for chain-based
9569 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9571 * plugins/elements/gsttypefindelement.c:
9572 (gst_type_find_element_class_init),
9573 (gst_type_find_element_set_property),
9574 (gst_type_find_element_get_property):
9575 Deprecate "maximum" property (not only was it only taken into
9576 account for typefinding in push-mode anyway, it also was never
9577 actually possible to set it in the first place because the
9578 property was registered with the numeric property ID for the
9579 "minimum" property). Register "maximum" property correctly,
9580 for the sake of future copy'n'pasters. Remove some cruft
9581 from property get/set functions.
9583 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9585 * plugins/elements/gsttypefindelement.c:
9586 (gst_type_find_element_activate):
9587 Use gst_type_find_helper_get_range() here, so we
9588 can honour the "minimum" property and also emit
9589 the signal with the correct probability of the found caps.
9591 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9593 * docs/libs/gstreamer-libs-sections.txt:
9594 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9595 (helper_find_suggest), (gst_type_find_helper_get_range),
9596 (gst_type_find_helper):
9597 * libs/gst/base/gsttypefindhelper.h:
9598 New API: gst_type_find_helper_get_range() (#333042).
9600 2006-03-02 Michael Smith <msmith@fluendo.com>
9602 * gst/gstregistryxml.c: (load_feature):
9603 Asserting on a failure to read part of the registry is Not Cool.
9604 Just log a warning and return NULL (which is already handled)
9606 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9608 * win32/common/libgstbase.def:
9609 added export of gst_type_find_helper_for_buffer
9610 * win32/common/libgstbase.def:
9611 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9612 gst_ghost_pad_get_target
9614 2006-02-28 Wim Taymans <wim@fluendo.com>
9616 * docs/design/draft-klass.txt:
9618 Added Connector to mark elements that are only used to
9619 allow pipeline connections.
9620 Moved Debug to extra feature since most of them are
9621 functionally something else.
9623 2006-02-28 Wim Taymans <wim@fluendo.com>
9625 * docs/design/draft-klass.txt:
9626 Some updates and clarifications.
9628 2006-02-28 Wim Taymans <wim@fluendo.com>
9630 * docs/design/draft-klass.txt:
9631 Proposal for klass field values.
9633 * docs/design/part-streams.txt:
9634 Start of a doc describing stream anatomy.
9636 2006-02-28 Wim Taymans <wim@fluendo.com>
9638 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9639 Help the compiler a bit with type registration.
9640 Use existing forward cod path instead of duplicating it when
9643 * gst/gstbus.c: (gst_bus_get_type):
9644 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9645 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9646 * gst/gstclock.c: (gst_clock_get_type):
9647 * gst/gstelement.c: (gst_element_get_type),
9648 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9649 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9650 * gst/gstminiobject.c: (gst_mini_object_get_type):
9651 * gst/gstpad.c: (gst_pad_get_type):
9652 * gst/gstsegment.c: (gst_segment_get_type):
9653 * gst/gststructure.c: (gst_structure_get_type):
9654 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9655 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9657 Help compiler with type registration.
9659 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9662 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9664 * plugins/elements/gsttypefindelement.c:
9665 (gst_type_find_element_handle_event):
9666 When we get an EOS event and have not found a type yet
9667 (most likely because we had not yet accumulated
9668 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9669 type given the data we have so far. Fixes typefinding
9670 for very short streams again, most notably quicktime
9671 redirections as used on Apple's trailer site (#331701).
9673 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9675 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9676 (gst_type_find_helper):
9677 Try typefinding factories with the highest rank first.
9679 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9681 * docs/libs/gstreamer-libs-docs.sgml:
9682 * docs/libs/gstreamer-libs-sections.txt:
9683 * libs/gst/base/gsttypefindhelper.c:
9684 Add section for typefind helper and add documentation
9685 for the old and the new function.
9687 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9689 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9690 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9691 (gst_type_find_helper_for_buffer):
9692 * libs/gst/base/gsttypefindhelper.h:
9693 New API: gst_type_find_helper_for_buffer() (#332723).
9695 2006-02-27 Michael Smith <msmith@fluendo.com>
9697 Patch by: Loïc Minier
9701 * docs/slides/Makefile.am:
9702 prevent CVS directories getting disted.
9704 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9706 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9707 Use the REFCOUNTING category for caps refcounting.
9709 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9711 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9712 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9714 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9716 * plugins/elements/gsttypefindelement.c:
9717 (gst_type_find_element_activate):
9718 Use gst_pad_check_pull_range() before _activate_pull()
9719 to avoid unnecessary open/close (see #331690).
9721 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9724 Docs enhancement: make it crystal clear what the
9725 gst_pad_add_*_probe() callbacks should look like.
9727 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9729 * libs/gst/base/gstbasesrc.c:
9730 Document how applications can stop recording from
9731 live sources (see #330996).
9733 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9735 * tests/check/Makefile.am:
9736 * tests/check/libs/basesrc.c: (eos_event_counter),
9737 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9738 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9739 (gst_basesrc_suite), (main):
9740 ... and add some tests for the base source EOS stuff.
9742 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9744 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9745 Test case originally showed the problem fixed below,
9746 but was then amended. Add checks back at the place
9747 where they used to be.
9749 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9751 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9752 (gst_base_src_init), (gst_base_src_loop),
9753 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9754 (gst_base_src_change_state):
9755 * libs/gst/base/gstbasesrc.h:
9756 Don't unconditionally send EOS when going from PAUSED to
9757 READY state, esp. make sure we don't send two EOS events
9758 in some cases (e.g. one when reaching EOS and one when
9759 going from PAUSED to READY). Also, we don't want to send
9760 EOS events when operating in pull mode. However, we do
9761 want to send an EOS event when shutting down a live
9762 source explicitly, for example (fixes #330996).
9764 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9766 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9767 Update src->read_position after a seek when not using mmap.
9768 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9770 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9776 Make things work with --disable-parse as they do with
9777 --disable-load-save - the symbols involved disappear, but the
9778 header is still installed and GST_DISABLE_PARSE is included via
9781 2006-02-20 Julien MOUTTE <julien@moutte.net>
9783 * libs/gst/base/gstbasetransform.c:
9784 (gst_base_transform_change_state): Fix a stupid bug. I was
9785 sure I compiled that.
9787 2006-02-20 Julien MOUTTE <julien@moutte.net>
9789 * gst/gstpad.c: (gst_pad_set_blocked_async):
9790 * gst/gstutils.c: (gst_pad_add_data_probe),
9791 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9792 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9793 (gst_pad_remove_buffer_probe): Make those function act on the
9794 ghostpad target when it's a ghostpad. (Closes #331727)
9796 2006-02-20 Julien MOUTTE <julien@moutte.net>
9798 * libs/gst/base/gstbasetransform.c:
9799 (gst_base_transform_change_state): Make basetransform reusable.
9802 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9804 * docs/random/release:
9805 Move the current documentation of how to do a release to the top
9808 * gst/gstbin.c: (gst_bin_class_init),
9809 (gst_bin_handle_message_func):
9810 Allow multiple state-recalculation threads. (Closes #328873)
9812 2006-02-19 Julien MOUTTE <julien@moutte.net>
9814 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9815 * gst/gstpad.c: (gst_pad_set_event_function),
9816 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9817 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9818 2 strings. You can't use the STR_NULL macro on that.
9820 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9822 * gst/gstpad.c: (gst_pad_set_event_function),
9823 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9824 (gst_pad_set_getcaps_function)
9825 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9826 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9827 So now, we can use --gst-debug-level=5 on Windows
9828 * win32/common/libgstcontroller.def:
9829 Added export of gst_controller_init
9830 * win32/vs6/libgstcontroller.dsp:
9831 Fixed Release post build configuration
9833 2006-02-17 Wim Taymans <wim@fluendo.com>
9835 * tests/check/gst/gstquery.c: (GST_START_TEST):
9836 Added another check.
9838 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9840 * plugins/elements/gsttypefindelement.c: (find_peek):
9841 We can do peeks at non-zero offsets, as long as they
9842 fall within the buffer we have.
9844 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9846 * tests/check/Makefile.am:
9847 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9848 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9849 (parse_suite), (main):
9850 Add testsuite for parse launch syntax
9852 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9854 * plugins/elements/gsttypefindelement.c:
9855 (gst_type_find_element_chain):
9856 When typefinding is unsuccessful in the chain function, don't
9857 error out immediately. Only error out with NO_CAPS_FOUND if
9858 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9859 otherwise simply wait for more data so we can try typefinding
9860 again with more data later. Also, don't attempt to typefind
9861 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9862 this should improve typefinding from network sources where the
9863 size of the first buffer can be somewhat random.
9865 2006-02-14 Wim Taymans <wim@fluendo.com>
9867 * docs/gst/gstreamer-sections.txt:
9868 * gst/gstpadtemplate.c:
9869 * gst/gstpadtemplate.h:
9870 Fix padtemplate docs, fixes #328805.
9872 2006-02-14 Wim Taymans <wim@fluendo.com>
9874 * tools/gst-launch.c: (main):
9875 NO_PREROLL is not an ERROR so don't send confusing messages
9878 2006-02-14 Wim Taymans <wim@fluendo.com>
9880 Patch by: Torsten Schoenfeld
9882 * gst/gstregistry.c: (gst_registry_get_default),
9883 (_gst_registry_cleanup):
9884 Protect default registry with lock and ref/sink it.
9887 2006-02-14 Wim Taymans <wim@fluendo.com>
9890 * gst/gstquery.c: (gst_query_list_add_format),
9891 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9892 (gst_query_parse_formats_nth):
9893 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9896 2006-02-14 Wim Taymans <wim@fluendo.com>
9898 * docs/gst/gstreamer-sections.txt:
9899 Reworked query docs.
9901 * gst/gstquery.c: (gst_query_new_formats),
9902 (gst_query_list_add_format), (gst_query_set_formats),
9903 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9904 (gst_query_parse_formats_nth):
9906 Flesh out formats query, added some new methods.
9907 Fix part of #324398.
9909 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9910 Added query creation tests.
9912 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9914 * gst/gstpad.c: (fixate_value):
9915 Add a default fixation for fraction lists.
9917 2006-02-13 Wim Taymans <wim@fluendo.com>
9919 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9920 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9923 Detect and warn for obvious deadlocks. fixes #320340
9924 Fix error case where lock was not released.
9926 * tests/check/Makefile.am:
9927 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9928 (task_func), (gst_element_suite), (main):
9931 2006-02-13 Wim Taymans <wim@fluendo.com>
9933 * docs/gst/gstreamer-sections.txt:
9935 Add new functions to docs.
9937 2006-02-13 Wim Taymans <wim@fluendo.com>
9939 * docs/design/part-TODO.txt:
9940 Updated TODO list, basesrc supports seeking to non-bytes
9943 * docs/design/part-element-sink.txt:
9946 * gst/gstbin.c: (bin_replace_message),
9947 (gst_bin_handle_message_func):
9948 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9949 * gst/gstevent.c: (gst_event_finalize):
9950 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9951 (gst_pad_send_event):
9952 Use shiny new _TYPE_NAME macros.
9954 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9955 Move debug statement up.
9957 * gst/gstelement.c: (gst_element_set_locked_state):
9960 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
9962 * docs/gst/gstreamer-sections.txt:
9965 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9966 macros (#330906). Also, document the already existing
9967 GST_QUERY_TYPE macro.
9969 2006-02-13 Wim Taymans <wim@fluendo.com>
9971 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9972 (event_probe), (GST_START_TEST):
9973 Only events up to the pipeline EOS are counted, there are
9974 some more when going to NULL currently which we don't care
9977 2006-02-13 Wim Taymans <wim@fluendo.com>
9979 * gst/gstpad.c: (gst_pad_send_event):
9980 Correctly check flushing and emit probes. fixes #330125
9982 2006-02-10 Andy Wingo <wingo@pobox.com>
9984 * gst/gstbus.c (gst_bus_class_init): Declare our private data
9986 (gst_bus_init): Cache the location of the private data in the
9988 (gst_bus_enable_sync_message_emission)
9989 (gst_bus_disable_sync_message_emission): Implement new public
9991 (gst_bus_post): Emit the sync-message signal if the user asked for
9994 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9995 location of the bus-private structure.
9996 (gst_bus_enable_sync_message_emission)
9997 (gst_bus_disable_sync_message_emission): API addition
9999 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
10001 Patch by: Vincent Torri
10003 * docs/pwg/building-boiler.xml:
10004 PWG patch from #326800
10006 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
10009 * docs/Makefile.am:
10010 * docs/design/Makefile.am:
10013 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10018 === release 0.10.3 ===
10020 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10023 releasing 0.10.3, "Like a virgin"
10025 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10028 2nd prerelease of 0.10.3
10029 Bump libtool versioning.
10031 2006-02-07 Andy Wingo <wingo@pobox.com>
10033 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10034 update last_stop if we're in TIME format and the timestamp is
10037 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10038 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10039 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10040 If we get a new newsegment with a different format, adapt
10043 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10044 of 0. Not a problem, really.
10046 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10049 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10054 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10057 project files updated to the default vs7 configuration
10058 * win32/common/libgstbase.def:
10059 * win32/common/libgstreamer.def:
10061 removed empty lines,
10062 sorted all exported symbols alphabetically
10063 * win32/common/dirent.c:
10064 * win32/common/dirent.h:
10065 * win32/common/gchar.h:
10066 use windows line end.
10068 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10070 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10071 Send EOS event when stopping.
10073 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10076 Tell folks what to do if the plugin-foobar.xml file
10077 hasn't been generated for a newly-added plugin.
10079 2006-02-05 Julien MOUTTE <julien@moutte.net>
10081 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10082 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10083 (gst_collect_pads_start), (gst_collect_pads_stop),
10084 (gst_collect_pads_event): Collectpads now holds a reference
10085 to the GstPad that was added. Indeed we don't want to look
10086 at pads that might just go away with no warning...
10088 2006-02-05 Julien MOUTTE <julien@moutte.net>
10090 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10091 (gst_collect_pads_start), (gst_collect_pads_stop),
10092 (gst_collect_pads_event), (gst_collect_pads_chain):
10093 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10094 Mark Nauwelaerts's patch on bug #328491.
10096 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10098 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10100 Add some simple tests for gst_parse_bin_from_description() and
10101 gst_bin_find_unconnected_pad() (#329069).
10103 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10105 * tools/gst-launch.c: (event_loop), (main):
10106 Catch errors during preroll (#320084).
10108 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10110 * plugins/elements/gsttypefindelement.c:
10111 (gst_type_find_element_activate):
10112 Post TYPE_NOT_FOUND error message when typefinding
10113 is unsuccessful in the activate function as well.
10115 2006-02-02 Wim Taymans <wim@fluendo.com>
10117 * docs/design/part-element-sink.txt:
10120 2006-02-02 Wim Taymans <wim@fluendo.com>
10122 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10123 (gst_base_sink_render_object),
10124 (gst_base_sink_queue_object_unlocked):
10125 Only keep track of prerollable items when we are
10127 Before rendering after preroll, always check if we
10129 Added some more debugging.
10131 2006-02-02 Wim Taymans <wim@fluendo.com>
10133 * gst/gstelement.c: (gst_element_continue_state),
10134 (gst_element_set_state_func), (gst_element_change_state):
10135 Fixed #326576, been running this for quite some time with
10136 no regressions at all.
10138 2006-02-02 Wim Taymans <wim@fluendo.com>
10141 Added more suppressions
10143 2006-02-02 Wim Taymans <wim@fluendo.com>
10145 * docs/design/part-element-sink.txt:
10148 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10149 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10150 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10151 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10152 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10153 (gst_base_sink_preroll_object),
10154 (gst_base_sink_queue_object_unlocked),
10155 (gst_base_sink_queue_object), (gst_base_sink_event),
10156 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10157 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10158 (gst_base_sink_get_position), (gst_base_sink_change_state):
10159 * libs/gst/base/gstbasesink.h:
10160 Totally refactored matching the design doc.
10161 Use two segments, one to clip incomming buffers and another to
10163 Handle queueing correctly, bypass the queue when playing.
10164 Make EOS cancelable.
10165 Handle errors correctly when operating in pull based mode.
10167 * tests/check/elements/fakesink.c: (GST_START_TEST),
10169 Added new check for sinks.
10171 2006-02-02 Wim Taymans <wim@fluendo.com>
10173 * gst/gstsegment.c: (gst_segment_clip):
10174 No reason to refuse to clip when start == -1
10176 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10179 * docs/manual/intro-basics.xml:
10180 * docs/manual/intro-preface.xml:
10181 * docs/manual/manual.xml:
10182 * docs/pwg/advanced-dparams.xml:
10183 * docs/pwg/intro-basics.xml:
10184 * docs/pwg/intro-preface.xml:
10185 * docs/pwg/pwg.xml:
10186 describe dparams (controller) for plugins
10187 unify docs a little more
10189 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10191 * docs/gst/gstreamer-sections.txt:
10192 * gst/gstutils.c: (element_find_unconnected_pad),
10193 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10195 Add new API: gst_parse_bin_from_description() and
10196 gst_bin_find_unconnected_pad() (#329069).
10198 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10200 * docs/manual/README:
10201 uncover a nasty detail of the docs build
10203 2006-01-31 Wim Taymans <wim@fluendo.com>
10205 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10206 Don't cache duration messages if we're not going to use or
10209 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10211 * docs/manual/advanced-dparams.xml:
10212 * docs/pwg/advanced-dparams.xml:
10216 * libs/gst/controller/lib.c: (gst_controller_init):
10219 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10221 * gst/gstelement.c: (gst_element_message_full):
10222 also show file/line/func if no additional debug was given
10224 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10226 * win32/vs7/grammar.vcproj:
10227 activate copy of autogenerated files for Release mode
10229 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10231 * win32/common/libgstreamer.def:
10232 export gst_value_compare
10234 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10236 * plugins/elements/Makefile.am:
10237 * plugins/elements/gstelements.c:
10238 * plugins/elements/gstfdsink.c: (_do_init),
10239 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10240 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10241 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10242 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10243 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10244 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10245 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10246 * plugins/elements/gstfdsink.h:
10247 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10249 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10251 * docs/manual/advanced-dparams.xml:
10252 describe controller
10253 * docs/manual/advanced-position.xml:
10254 * docs/manual/basics-init.xml:
10255 * docs/manual/manual.xml:
10256 * docs/manual/titlepage.xml:
10257 * docs/pwg/pwg.xml:
10258 * docs/pwg/titlepage.xml:
10259 cleanup xml (more to come)
10260 * libs/gst/controller/gstcontroller.c:
10263 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10265 * win32/vs6/grammar.dsp:
10266 add autogen of gstmarshal.c,h for Release mode
10268 2006-01-30 Wim Taymans <wim@fluendo.com>
10270 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10271 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10272 (gst_base_sink_handle_object), (gst_base_sink_event),
10273 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10274 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10275 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10276 (gst_base_sink_deactivate), (gst_base_sink_activate),
10277 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10278 (gst_base_sink_query), (gst_base_sink_change_state):
10279 Basesink cleanups, remove some old code.
10280 Handle the case where a subclass can preroll in the render
10281 method (mostly audiosinks).
10282 Handle more events.
10283 Remove some locks around variables that are now protected
10284 with the PREROLL_LOCK (clock_id, flushing, ..).
10285 Optimize position query some more, do correct locking.
10286 Remove old code to push queue in state change, this is not
10287 needed anymore since preroll blocks on all prerollable items
10289 Almost implemented as described in design doc.
10291 2006-01-30 Wim Taymans <wim@fluendo.com>
10293 * tests/check/gst/gstbin.c: (GST_START_TEST):
10294 Wait for refcount to settle down before checking.
10296 2006-01-30 Wim Taymans <wim@fluendo.com>
10298 * docs/design/part-element-sink.txt:
10299 Pseudo code overview of desired sink behaviour regarding
10302 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10303 * win32/vs6/grammar.dsp:
10304 fix some bugs in Release mode for autogenerated files
10306 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10307 * win32/common/libgstbase.def:
10308 * win32/common/libgstreamer.def:
10309 export some new symbols: gst_base_src_set_format,
10310 gst_iterator_next, gst_structure_set_valist
10312 2006-01-29 Julien MOUTTE <julien@moutte.net>
10314 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10315 Set pad functions unconditionally. Fixes #329105.
10317 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10319 add vs8 project files created by Sergey Scobich
10321 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10323 * gst/gstutils.c: (gst_element_unlink_pads):
10324 Don't leak pad references.
10326 * tests/check/elements/fakesink.c: (GST_START_TEST):
10327 * tests/check/generic/sinks.c: (GST_START_TEST):
10328 * tests/check/generic/states.c: (GST_START_TEST):
10329 * tests/check/gst/gstbin.c: (GST_START_TEST):
10330 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10331 * tests/check/gst/gstelement.c: (GST_START_TEST):
10332 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10333 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10334 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10335 Fix a bunch of leaks. Make generic/sinks.c
10336 use a bit less cpu by slowing the buffer rate
10337 between fakesrc and fakesink.
10339 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10341 * gst/gstelement.c: (gst_element_send_event):
10344 * gst/gstiterator.c:
10345 * gst/gstiterator.h:
10346 * gst/gstpad.c: (gst_pad_send_event):
10347 * gst/gststructure.c:
10351 * libs/gst/base/gstadapter.c:
10352 doc fixes, to link to function, just write gst_cool_function(), don't
10355 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10357 * plugins/elements/gsttee.c: (gst_tee_do_push),
10358 (gst_tee_handle_buffer):
10359 Always prefer an actual return value from a src
10360 pad in place of NOT_LINKED. This means we return
10361 WRONG_STATE when all src pads are WRONG_STATE
10362 instead of NOT_LINKED.
10364 Lock when replacing the last message to prevent
10365 racing with the get_property method.
10369 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10371 * tests/check/Makefile.am:
10372 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10374 Add a very simple check that should have caught the memleak I fixed
10375 last night (if not for the slice allocator hiding it)
10377 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10379 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10380 (gst_bin_remove_func), (gst_bin_handle_message_func),
10381 (bin_query_duration_fold), (bin_query_generic_fold):
10382 Clean up references to the clock provider when disposed or when
10383 handling a clock-lost message from it.
10385 Unref sinks when performing a query via gst_iterator_fold, as the
10386 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10388 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10389 (gst_clock_set_master):
10390 Drop our reference to the master clock, if any, when we are disposed.
10392 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10393 Chain up in dispose.
10395 2006-01-26 Wim Taymans <wim@fluendo.com>
10397 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10398 Add some debugging.
10400 2006-01-26 Julien MOUTTE <julien@moutte.net>
10402 * plugins/elements/gsttee.c: (gst_tee_do_push),
10403 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10404 handles pad being NOT_LINKED or in WRONG_STATE.
10406 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10411 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10414 remove obsolete entry
10416 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10418 * docs/gst/gstreamer-sections.txt:
10419 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10420 (gst_bin_iterate_sources), (gst_bin_send_event):
10422 * gst/gstelement.c: (gst_element_send_event):
10424 * gst/gstpad.c: (gst_pad_send_event):
10425 added code for downstream events, reviewed docs in gstevent.c
10427 2006-01-25 Julien MOUTTE <julien@moutte.net>
10429 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10430 We only query position using the clock in the playing state.
10431 Query peer in the other cases.
10432 * win32/common/config.h: Updates.
10434 2006-01-24 Wim Taymans <wim@fluendo.com>
10436 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10437 A clock entry that is scheduled for the exact time of the
10438 clock is still in time.
10440 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10441 (gst_base_sink_do_sync):
10442 Add some more debug info.
10444 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10447 Add new vs7 project files and solution.
10449 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10452 all files removed as they were out-dated.
10454 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10456 * docs/random/release:
10458 * gst/gstbin.c: (gst_bin_init):
10459 * gst/gstbus.c: (gst_bus_new):
10461 * gst/gstpipeline.c: (gst_pipeline_init):
10462 use gst_bus_new(), improve logging, fix docs
10463 * win32/common/config.h:
10464 update for cvs build
10466 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10469 up required version of automake to 1.7
10471 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
10473 * win32/common/libgstreamer.def:
10474 export gst_buffer_is_metadata_writable
10476 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
10478 * docs/gst/gstreamer-sections.txt:
10480 Add gst_event_replace() (#327001)
10482 2006-01-20 Wim Taymans <wim@fluendo.com>
10484 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10485 Make it actually compile too..
10487 2006-01-20 Wim Taymans <wim@fluendo.com>
10490 Clarify behaviour of _is_equal() when passing NULL parameters.
10492 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10493 (gst_pad_set_caps):
10494 Cleanups. Don't unref NULL caps.
10495 When setting the same caps, protect caps of the pad with
10497 Use full functionality of _is_equal() when comparing caps.
10499 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10501 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10502 Don't loop infinitely if there are no buffers to present. Partially
10503 fixes #327197, but collectpads is just broken for reusing elements
10504 to do multiple encodes atm.
10506 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10508 * tools/gst-inspect.c: (print_element_features):
10509 * tools/gst-xmlinspect.c: (main):
10510 URL_HANDLER is not a plugin feature we can search for in
10513 2006-01-19 Edward Hervey <edward@fluendo.com>
10515 * gst/gstelement.c: (gst_element_pads_activate):
10516 When activating, do src pads first, then sink pads.
10517 When de-activating, do sink pads first, then src pads.
10519 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10521 * docs/gst/gstreamer-sections.txt:
10522 Add gst_index_add_associationv to the docs
10524 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10529 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10530 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10531 Do some refactoring. Doesn't actually change functionality,
10532 but makes landing the DRAIN event easier later.
10534 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10536 * docs/pwg/advanced-scheduling.xml:
10537 Update from 0.9.x to 0.10 API and make example a bit
10540 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10542 * docs/gst/gstreamer-sections.txt:
10543 Add gst_buffer_(is|make)_metadata_writable methods.
10545 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10547 * docs/design/part-sparsestreams.txt:
10548 Update sparse streams doc, hopefully for greater clarity
10550 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10552 * docs/design/part-events.txt:
10553 Remove mention of FILLER events.
10556 * docs/design/part-sparsestreams.txt:
10557 Write some things about using NEWSEGMENT to keep sparse streams
10560 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10562 * gst/gstbin.c: (gst_bin_dispose):
10563 Guard gst_object_unref call against a NULL object (dispose
10564 can theoretically be called multiple times).
10566 2006-01-18 Wim Taymans <wim@fluendo.com>
10568 * gst/gstbin.c: (gst_bin_element_set_state):
10569 * gst/gstclock.c: (gst_clock_id_wait):
10570 Added some more debug info.
10572 * libs/gst/base/gstadapter.c:
10575 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10576 (gst_base_sink_do_sync), (gst_base_sink_chain):
10577 Added some comments.
10579 2006-01-18 Wim Taymans <wim@fluendo.com>
10581 * tests/check/Makefile.am:
10582 * tests/check/elements/fakesink.c: (chain_async_buffer),
10583 (chain_async), (chain_async_return), (GST_START_TEST),
10584 (fakesink_suite), (main):
10585 Added fakesink test that checks prerolling and clipping
10588 * tests/check/gst/gstutils.c: (GST_START_TEST):
10589 Make check run faster so that buildbots don't timeout.
10591 2006-01-18 Wim Taymans <wim@fluendo.com>
10593 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10594 (gst_base_sink_do_sync):
10596 When the sink finishes blocking on the preroll buffer, it can
10597 immediatly render it instead of rendering when the next buffer
10600 2006-01-18 Wim Taymans <wim@fluendo.com>
10602 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10603 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10604 (gst_base_sink_chain):
10606 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10607 Don't store _last_stop if the buffer is dropped.
10609 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10611 * plugins/elements/gsttypefindelement.c:
10612 (gst_type_find_element_class_init):
10613 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10614 object method handler that sets the caps on the pad and we want
10615 that to happen before we emit the signal (fixes e.g. feeding a
10616 plain text file to decodebin).
10618 2006-01-18 Christian Schaller <Christian@fluendo.com>
10620 * gst/gstplugin.c: Add MPL and Proprietary as license options
10622 2006-01-18 Andy Wingo <wingo@pobox.com>
10624 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10625 symbol was exported before, it appears this was just an oversight.
10627 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10629 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10630 prototype to gint. OK since this prototype was not in the header.
10632 2006-01-17 Andy Wingo <wingo@pobox.com>
10634 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10635 registry while we remove plugins.
10637 * tools/gst-inspect.c (print_element_info): Don't unref the
10638 factory arg, that should be the responsibility of whatever code
10639 received the ref. Fixes a double-free when called from
10640 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10641 (main): Unref the factory if we have one.
10642 (print_element_list): No change -- relies on the
10643 plugin_feature_list_free to free the list of features.
10645 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10647 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10648 (gst_buffer_make_metadata_writable):
10650 * libs/gst/base/gstbasetransform.c:
10651 (gst_base_transform_prepare_output_buf):
10652 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10653 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10654 Replace gst_buffer_(make|is)_metadata_writable patch now
10655 that the release is out.
10657 2006-01-17 Andy Wingo <wingo@pobox.com>
10659 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10660 in the present tense without reference to versions.
10662 * gst/gstregistry.c (gst_registry_add_plugin)
10663 (gst_registry_remove_plugin, gst_registry_remove_feature)
10664 (gst_registry_find_feature, gst_registry_get_feature_list)
10665 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10666 (gst_registry_lookup, gst_registry_scan_path)
10667 (_gst_registry_remove_cache_plugins)
10668 (gst_registry_get_feature_list_by_plugin): Add argument
10671 === release 0.10.2 ===
10673 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10676 releasing 0.10.2, "If man is five"
10678 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10682 * libs/gst/base/gstbasetransform.c:
10683 (gst_base_transform_prepare_output_buf):
10684 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10685 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10686 Back out patch until after the release.
10688 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10690 * gst/gstminiobject.c:
10691 Spelling fix in docs.
10692 * ChangeLog - remove conflict indicator
10694 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10696 Reviewed By: Andy Wingo
10698 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10699 (gst_buffer_make_metadata_writable):
10701 Add gst_buffer_(is|make)_metadata_writable as analogues of
10702 gst_buffer_(is|make)_writable.
10704 * libs/gst/base/gstbasetransform.c:
10705 (gst_base_transform_prepare_output_buf):
10706 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10707 Use name gst_buffer_(is|make)_metadata_writable functions.
10709 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10710 Test gst_buffer_(is|make)_metadata_writable
10714 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10716 * docs/manual/Makefile.am:
10717 don't do parallel make
10720 * win32/common/config.h.in:
10721 add generations for HOST_CPU and GST_MAJORMINOR
10722 * win32/common/config.h:
10723 commit generated result
10725 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10727 * docs/manual/appendix-integration.xml:
10728 Update GNOME integration section to use gst_init_get_option_group()
10729 instead of the old popt stuff (#322911). Also, GNOME applications
10730 should now use gconf*sink and gconf*src instead of the old gconf
10733 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10736 * docs/gst/gstreamer-docs.sgml:
10737 * docs/gst/gstreamer-sections.txt:
10738 * docs/libs/gstreamer-libs-sections.txt:
10739 add new API entries to the docs
10740 * libs/gst/controller/Makefile.am:
10741 * libs/gst/controller/gstcontroller.c:
10742 * libs/gst/controller/gstcontroller.h:
10743 * libs/gst/controller/gstcontrollerprivate.h:
10744 * libs/gst/controller/gsthelper.c:
10745 * libs/gst/controller/gstinterpolation.c:
10746 move private structs to private header
10748 gstreamer-0.7 -> gstreamer-0.10
10749 * tests/check/libs/struct_i386.h:
10750 remove private structs
10752 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10754 * plugins/indexers/Makefile.am:
10755 Fixes as part of #317048
10757 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10759 * plugins/indexers/Makefile.am:
10760 fix #316086 - compilation when mmap is missing
10762 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10764 * libs/gst/base/gstbasesink.c:
10765 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10766 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10767 * win32/common/config.h:
10768 added some defines GST_MAJORMINOR and HOST_CPU
10769 * win32/common/libgstbase.def:
10770 * win32/common/libgstreamer.def:
10771 added some exported functions.
10773 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10775 * libs/gst/controller/gstcontroller.c:
10776 (gst_controlled_property_set_interpolation_mode),
10777 (gst_controlled_property_new):
10778 * libs/gst/controller/gstcontroller.h:
10779 * libs/gst/controller/gstinterpolation.c:
10780 (interpolate_none_get_string_value_array):
10781 make G_TYPE_STRING controlable
10783 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10786 * tools/gst-feedback.1.in:
10787 * tools/gst-inspect.1.in:
10788 * tools/gst-launch.1.in:
10789 * tools/gst-md5sum.1.in:
10790 * tools/gst-typefind.1.in:
10791 * tools/gst-xmlinspect.1.in:
10792 * tools/gst-xmllaunch.1.in:
10793 cleanup man-pages, remove reference to gst-register, document env-vars
10795 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10797 * gst/gstbuffer.c: (gst_buffer_span):
10798 gst_buffer_span should copy the timestamp of the first buffer
10799 if they were both originally overlapping subbuffers of the
10800 same parent, using the same logic as the 'slow copy' case.
10802 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10804 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10805 Need to awaken ALL the pads when we pop a buffer, otherwise
10806 collectpads only works when there is 2 input streams.
10808 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10810 * docs/random/ensonic/media-device-daemon.txt:
10813 fix doc example, add clarification
10814 * tools/gst-launch.1.in:
10815 add initial info about GST_PLUGIN_PATH, needs more work
10817 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10819 * docs/manual/basics-bins.xml:
10820 * docs/manual/basics-elements.xml:
10821 * docs/manual/intro-basics.xml:
10822 Some more minor docs additions and updates.
10824 2006-01-11 Wim Taymans <wim@fluendo.com>
10826 * docs/manual/basics-bins.xml:
10827 * docs/manual/basics-elements.xml:
10828 Some small fixes as pointed out by Ser-ver on IRC.
10830 2006-01-10 Edward Hervey <edward@fluendo.com>
10832 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10833 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10834 the single-segment mode.
10836 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10838 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10840 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10841 (gst_base_src_perform_seek), (gst_base_src_send_event),
10842 (gst_base_src_set_property), (gst_base_src_get_property),
10843 (gst_base_src_loop), (gst_base_src_start),
10844 (gst_base_src_activate_push):
10845 * libs/gst/base/gstbasesrc.h:
10846 Name (private) union; makes Sun's Forte compiler happy (#324900).
10848 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10851 gst-register is gone.
10853 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10855 * gst/gstvalue.c: (_gst_value_initialize):
10856 make the G_TYPE_DATE instantiation work if debug is disabled
10858 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10860 * gst/gstmessage.c: (gst_message_parse_tag),
10861 (gst_message_parse_error), (gst_message_parse_warning):
10862 Don't crash when return location for error/warning debug
10863 string is NULL; add fact that return locations can be
10864 NULL to docs where appropriate.
10866 2006-01-05 Wim Taymans <wim@fluendo.com>
10868 * gst/gstplugin.c: (gst_plugin_load_file):
10869 Replace strdup by g_strdup.
10871 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10873 * docs/pwg/advanced-types.xml:
10876 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10878 submitted by: Abel Cheung
10882 Added Chinese (traditional) translation
10884 2006-01-04 Wim Taymans <wim@fluendo.com>
10886 * docs/manual/basics-pads.xml:
10887 * docs/plugins/Makefile.am:
10888 * docs/plugins/gstreamer-plugins-docs.sgml:
10889 * docs/plugins/gstreamer-plugins-sections.txt:
10890 * docs/pwg/advanced-clock.xml:
10891 * docs/pwg/advanced-scheduling.xml:
10892 * docs/pwg/advanced-types.xml:
10893 * plugins/elements/gstfdsink.c:
10894 * plugins/elements/gstfdsrc.c:
10895 * plugins/elements/gstfdsrc.h:
10896 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10897 * plugins/elements/gstidentity.h:
10898 * plugins/elements/gstqueue.h:
10899 * plugins/elements/gsttee.c:
10900 * plugins/elements/gsttee.h:
10901 * plugins/elements/gsttypefindelement.c:
10902 (gst_type_find_element_class_init):
10903 * plugins/elements/gsttypefindelement.h:
10904 Small updates to various docs.
10905 Added core plugins to docs.
10907 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10910 add a suppression for liboil's uninitialized variable
10912 2006-01-02 James Livingston <jrl at ids dot org dot au>
10914 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10917 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10918 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10919 compiler switch is being used (#325429).
10921 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10923 * gst/gstbin.c: (gst_bin_query):
10924 Disable duration query caching in bins until it gets
10925 fixed (see #324807).
10927 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10929 * tools/gst-inspect.c: (print_element_properties_info):
10930 Handle properties of POINTER and BOXED type.
10932 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10934 * gst/gst.c: (init_post):
10935 Init tags stuff and some other things before loading
10936 any static plugins (there may be other static plugins
10937 than just the GStreamer ones, and they may want to
10938 register their own tags or formats or whatever, and
10939 preferably without segfaulting).
10941 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10942 Print at least a warning in the debug logs if we drop a
10943 query just because we don't know how to adjust the value
10944 in the particular format.
10946 2005-12-24 David Schleef <ds@schleef.org>
10948 * tools/gstreamer-completion:
10949 Replacement for gst-complete written in sh and sed. Only
10950 completes names of features, but that's 90% of what I want
10951 it for. Properties are not available in registry.xml. (Maybe
10954 === release 0.10.1 ===
10956 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
10959 releasing 0.10.1, "Nollaig chridheil"
10961 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
10963 * docs/faq/cvs.xml:
10964 Add missing quote, should be make ERROR_CFLAGS="".
10966 2005-12-20 Wim Taymans <wim@fluendo.com>
10968 * docs/design/part-trickmodes.txt:
10969 More documentation on trickmodes.
10971 2005-12-20 Edward Hervey <edward@fluendo.com>
10973 * gst/gstcaps.c: (gst_static_caps_get_type):
10975 API addition: GST_TYPE_STATIC_CAPS
10976 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10977 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10978 * gst/gstpadtemplate.h:
10979 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10980 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10983 2005-12-18 Wim Taymans <wim@fluendo.com>
10985 * libs/gst/base/gstadapter.c:
10986 * libs/gst/base/gstadapter.h:
10987 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10988 (gst_base_sink_get_position):
10989 * libs/gst/base/gstbasesink.h:
10990 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10991 (gst_base_src_default_query), (gst_base_src_default_do_seek),
10992 (gst_base_src_do_seek), (gst_base_src_perform_seek),
10993 (gst_base_src_send_event), (gst_base_src_update_length),
10994 (gst_base_src_get_range), (gst_base_src_loop),
10995 (gst_base_src_start):
10996 * libs/gst/base/gstbasesrc.h:
10997 * libs/gst/base/gstbasetransform.h:
10998 * libs/gst/base/gstcollectpads.h:
10999 * libs/gst/base/gstpushsrc.c:
11000 * libs/gst/base/gstpushsrc.h:
11001 * libs/gst/dataprotocol/dataprotocol.c:
11002 * libs/gst/dataprotocol/dataprotocol.h:
11003 * libs/gst/net/gstnetclientclock.h:
11004 * libs/gst/net/gstnettimeprovider.h:
11005 Documentation updates.
11007 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
11009 * docs/manual/basics-helloworld.xml:
11010 Remove superfluous closing bracket in helloworld example.
11012 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
11014 * tools/gst-launch.1.in:
11015 Update gst-launch man page; add a section with useful
11016 environment variables. Fixes #323882.
11018 2005-12-16 Stefan Kost <ensonic@users.sf.net>
11021 * gst/gst_private.h:
11022 change some char* into char[]
11024 2005-12-16 Wim Taymans <wim@fluendo.com>
11026 * gst/gstregistryxml.c: (load_feature):
11028 Don't use g_object_unref on GstObjects so that we avoid
11029 leaks on unsafe glibs.
11031 2005-12-16 Wim Taymans <wim@fluendo.com>
11033 * gst/gstbin.c: (gst_bin_recalc_state):
11036 2005-12-16 Wim Taymans <wim@fluendo.com>
11038 * common/check.mak:
11039 Added make forever target for check.
11041 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11043 * gst/gst.c: (init_post):
11044 make the registry cache file HOST_CPU-dependent
11046 2005-12-16 Andy Wingo <wingo@pobox.com>
11048 * plugins/elements/gstbufferstore.c
11049 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11052 * tests/check/gst/gstobject.c
11053 (test_fake_object_name_threaded_unique): Pay attention to
11054 g_list_sort return value.
11056 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11058 * tools/gst-feedback-m.m:
11059 Update for 0.9/0.10 (fixes #323870).
11061 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11063 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11064 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11066 * tests/check/gst/gstminiobject.c: (my_foo_init),
11067 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11068 (test_value_collection), (gst_mini_object_suite):
11069 Add test to ensure refcounts end up as expected when passing
11070 GstMiniObjects through g_object_get() and g_object_set().
11072 2005-12-14 Julien MOUTTE <julien@moutte.net>
11074 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11075 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11076 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11077 of collectpads. This version removes a lot of races without
11078 touching API/ABI. Yay !
11080 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11082 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11083 Don't allow activation of a srcpad in pull_range if it has no
11085 Change some debug statements to be a little clearer
11087 * plugins/elements/gsttypefindelement.c:
11088 (gst_type_find_handle_src_query):
11089 Check that we have a peer before executing queries thereupon.
11091 * tests/examples/metadata/read-metadata.c: (message_loop):
11092 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11093 immediately return us any available message with 0 timeout.
11095 2005-12-12 Michael Smith <msmith@fluendo.com>
11097 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11098 Don't unref factories after calling them.
11099 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11100 * plugins/elements/gsttypefindelement.c:
11101 (gst_type_find_element_chain):
11102 Free lists of factories after using them. Fixing typefinding memory
11105 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11107 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11108 (gst_plugin_feature_load):
11109 more meaningful debug output
11111 * tests/Makefile.am:
11112 * tests/old/examples/Makefile.am:
11113 make make distcheck happy again
11115 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11117 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11118 Catch the special case where we are operating chain-based,
11119 but the downstream peer pad has no chain function. Emit a
11120 custom error message in this case instead of letting the
11121 core generate one implying that this is some sort of core
11122 bug. It's not, it just means that whatever got plugged
11123 into the pipeline downstream when we announced the type
11124 can only operate pull-based, while our source can only
11125 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11126 Error string has not been marked for translation yet, as
11127 it probably needs some more work first.
11129 (gst_type_find_element_get_best_possibility):
11130 Add helper function to find the best of all available
11131 found possibilities that qualify given the min. threshold.
11133 (gst_type_find_element_handle_event):
11134 Fix the case where we get an EOS while still in TYPEFIND
11135 mode (we want to chose the best of all possible types,
11136 not just the first type that happens to be in our unsorted
11137 list of possible types).
11139 (gst_type_find_element_chain):
11140 Make sure we return GST_FLOW_ERROR when we errored out
11141 in stop_typefinding(); also, don't just find the best of
11142 all found type entries and then use the last examined
11143 type entry, but actually use the best entry.
11145 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11147 * tests/examples/typefind/typefind.c: (type_found):
11148 * tests/examples/xml/runxml.c: (xml_loaded):
11149 More gcc4 fixes and a mem leak fix.
11151 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11153 * tests/examples/xml/createxml.c: (object_saved):
11156 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11158 * tests/Makefile.am:
11159 enable the examples even more
11161 2005-12-12 Andy Wingo <wingo@pobox.com>
11163 * libs/gst/net/gstnettimeprovider.c
11164 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11165 (gst_net_time_provider_set_property)
11166 (gst_net_time_provider_get_property):
11167 API addition: Export "active" as a GObject property.
11168 (gst_net_time_provider_thread): Only respond to time queries if
11169 the time provider is active.
11171 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11172 NetTimeProvider, preserving binary compat.
11174 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11176 * tests/examples/controller/audio-example.c: (main):
11177 * tests/examples/launch/Makefile.am:
11178 convert comments again
11180 2005-12-12 Wim Taymans <wim@fluendo.com>
11182 * libs/gst/base/gstpushsrc.c:
11185 2005-12-12 Wim Taymans <wim@fluendo.com>
11187 * docs/libs/gstreamer-libs-sections.txt:
11188 Added new symbol to docs.
11190 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11191 (gst_base_src_init), (gst_base_src_set_format),
11192 (gst_base_src_default_query), (gst_base_src_query),
11193 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11194 (gst_base_src_perform_seek), (gst_base_src_send_event),
11195 (gst_base_src_default_event), (gst_base_src_event_handler),
11196 (gst_base_src_set_property), (gst_base_src_get_property),
11197 (gst_base_src_wait), (gst_base_src_do_sync),
11198 (gst_base_src_update_length), (gst_base_src_get_range),
11199 (gst_base_src_check_get_range), (gst_base_src_loop),
11200 (gst_base_src_default_negotiate), (gst_base_src_start),
11201 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11202 (gst_base_src_change_state):
11203 * libs/gst/base/gstbasesrc.h:
11204 Implement seeking to other formats than _BYTES.
11205 Implement more seeking methods correctly.
11207 Added query vmethod.
11208 Added do_seek vmethod to make life easier for subclasses
11210 API addition: gst_base_src_set_format()
11212 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11214 * tests/examples/Makefile.am:
11217 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11220 * docs/random/ensonic/media-device-daemon.txt:
11221 * tests/examples/controller/.cvsignore:
11222 * tests/examples/controller/Makefile.am:
11223 * tests/examples/controller/audio-example.c: (main):
11224 * tests/examples/helloworld/.cvsignore:
11225 * tests/examples/helloworld/Makefile.am:
11226 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11227 * tests/examples/launch/.cvsignore:
11228 * tests/examples/launch/Makefile.am:
11229 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11230 * tests/examples/metadata/.cvsignore:
11231 * tests/examples/metadata/Makefile.am:
11232 * tests/examples/metadata/read-metadata.c: (message_loop),
11233 (make_pipeline), (print_tag), (main):
11234 * tests/examples/queue/.cvsignore:
11235 * tests/examples/queue/Makefile.am:
11236 * tests/examples/queue/queue.c: (event_loop), (main):
11237 * tests/examples/typefind/.cvsignore:
11238 * tests/examples/typefind/Makefile.am:
11239 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11241 * tests/examples/xml/.cvsignore:
11242 * tests/examples/xml/Makefile.am:
11243 * tests/examples/xml/createxml.c: (object_saved), (main):
11244 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11245 * tests/old/examples/Makefile.am:
11246 * tests/old/examples/TODO:
11247 * tests/old/examples/controller/.cvsignore:
11248 * tests/old/examples/controller/Makefile.am:
11249 * tests/old/examples/controller/audio-example.c:
11250 * tests/old/examples/helloworld/.cvsignore:
11251 * tests/old/examples/helloworld/Makefile.am:
11252 * tests/old/examples/helloworld/helloworld.c:
11253 * tests/old/examples/launch/.cvsignore:
11254 * tests/old/examples/launch/Makefile.am:
11255 * tests/old/examples/launch/mp3parselaunch.c:
11256 * tests/old/examples/launch/mp3play:
11257 * tests/old/examples/manual/Makefile.am:
11258 * tests/old/examples/metadata/Makefile.am:
11259 * tests/old/examples/metadata/read-metadata.c:
11260 * tests/old/examples/queue/.cvsignore:
11261 * tests/old/examples/queue/Makefile.am:
11262 * tests/old/examples/queue/queue.c:
11263 * tests/old/examples/typefind/.cvsignore:
11264 * tests/old/examples/typefind/Makefile.am:
11265 * tests/old/examples/typefind/typefind.c:
11266 * tests/old/examples/xml/.cvsignore:
11267 * tests/old/examples/xml/Makefile.am:
11268 * tests/old/examples/xml/createxml.c:
11269 * tests/old/examples/xml/runxml.c:
11270 applied some simple fixing to some examples
11271 re-enabled the working examples
11273 2005-12-12 Wim Taymans <wim@fluendo.com>
11275 * gst/gstsegment.c: (gst_segment_init),
11276 (gst_segment_set_last_stop), (gst_segment_set_seek),
11277 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11278 (gst_segment_to_running_time):
11279 Added more documentation.
11280 Make sure the last_pos value is updated properly.
11281 Make sure to_stream_time and to_running_time don't
11282 operate on wrong values.
11284 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11287 2005-12-12 Michael Smith <msmith@fluendo.com>
11289 * plugins/elements/gsttypefindelement.c: (free_entry),
11290 (gst_type_find_element_chain):
11291 Now that we're not leaking factories, make sure we keep references
11292 to them while we need them.
11294 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11296 * tests/check/gst/struct_i386.h:
11297 ifdef out the XML structs
11299 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11301 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11302 floor is not needed, F is always positive; this obviates the
11303 need for adding -lm when building without libxml
11305 2005-12-12 Wim Taymans <wim@fluendo.com>
11307 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11308 Take current playback rate into account when reporting
11311 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11313 * docs/manual/mime-world.fig:
11314 Let's try this again, this time with a file that is
11315 actually in XFig format.
11317 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11319 * docs/manual/mime-world.fig:
11320 Add audioconvert element to diagram so that it
11321 matches the text and the code (fixes #319526).
11323 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11325 * docs/pwg/building-chainfn.xml:
11326 * docs/pwg/building-pads.xml:
11327 * docs/pwg/building-state.xml:
11328 * docs/pwg/other-source.xml:
11329 Update state change stuff for 0.10 (fixes #322969).
11331 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11333 * docs/manual/advanced-dataaccess.xml:
11334 * docs/manual/appendix-checklist.xml:
11335 * docs/manual/appendix-programs.xml:
11336 * docs/manual/basics-pads.xml:
11337 * docs/manual/highlevel-components.xml:
11338 * docs/manual/manual.xml:
11339 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11340 add converters in front of pipelines; remove curly
11341 brackets for threads stuff, they no longer exist; use
11342 GST_TYPE_FRACTION for framerates; update some pieces of
11343 code to 0.10, but there's plenty more to do.
11345 * docs/manual/appendix-porting.xml:
11346 Expand on asynchroneous state changes; s/0.9/0.10/;
11347 mention disappearance of gst_init_get_popt_table()
11350 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11352 * docs/faq/using.xml:
11353 Spider no longer exists, and neither does gst-launch-ext.
11354 Update examples to use decodebin and playbin and put
11355 converters in front of sinks (fixes #323726).
11357 2005-12-09 Michael Smith <msmith@fluendo.com>
11359 * plugins/elements/gsttypefindelement.c: (find_peek),
11360 (gst_type_find_element_chain):
11361 Fix leaking element factories in typefinding.
11362 Fix problem where we forgot about a probable type on non-seekable
11363 files, and thus later mis-typefound it.
11365 2005-12-09 Michael Smith <msmith@fluendo.com>
11367 * common/m4/gst-makecontext.m4:
11368 * common/m4/gst-mcsc.m4:
11370 * win32/common/config.h:
11371 * win32/common/config.h.in:
11372 Remove makecontext stuff; not used in 0.10 and causes problems on
11373 HPUX according to bug #322441
11375 2005-12-07 Wim Taymans <wim@fluendo.com>
11377 * tests/check/Makefile.am:
11378 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11380 * tests/check/libs/struct_i386.h:
11381 Added ABI check for libs
11383 2005-12-07 Wim Taymans <wim@fluendo.com>
11385 * tests/check/Makefile.am:
11386 And add the struct_i386.h to dist.
11388 2005-12-07 Wim Taymans <wim@fluendo.com>
11390 * tests/check/Makefile.am:
11391 * tests/check/gst/.cvsignore:
11392 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11394 * tests/check/gst/struct_i386.h:
11395 Added check for ABI compatibility.
11397 2005-12-07 Wim Taymans <wim@fluendo.com>
11399 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11400 (gst_fake_src_get_times), (gst_fake_src_create):
11401 Fix broken sync option, fixes #323259
11403 2005-12-07 Wim Taymans <wim@fluendo.com>
11408 * gst/gstcaps.c: (gst_caps_is_equal):
11409 Don't assert on NULL <--> X. Fixes #323260
11411 * gst/gstminiobject.c: (gst_mini_object_replace):
11412 If we're doing atomic operations, we might just as well use
11413 the proper way to get an atomic pointer.
11415 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11416 Clean up debugging.
11418 2005-12-07 Michael Smith <msmith@fluendo.com>
11420 * gst/parse/grammar.y:
11421 Remove handling of { } for threads.
11423 2005-12-06 David Schleef <ds@schleef.org>
11425 * libs/gst/base/gstbasetransform.c: speling fix.
11427 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
11429 * docs/libs/tmpl/gstdataprotocol.sgml:
11430 * docs/random/omega/testing/gstobject.c:
11433 * gst/gstelement.c:
11434 * gst/gstelementfactory.c:
11437 * gst/gstghostpad.c:
11439 * gst/gstpadtemplate.c:
11440 * gst/gstregistryxml.c:
11441 * gst/gsttaglist.c:
11442 * gst/gsttagsetter.c:
11443 * gst/gsttypefind.c:
11445 * libs/gst/base/gstbasesrc.c:
11446 * libs/gst/net/gstnetclientclock.c:
11447 * libs/gst/net/gstnettimeprovider.c:
11448 * plugins/elements/gstfakesrc.c:
11449 * plugins/elements/gstfdsrc.c:
11450 * plugins/elements/gstfilesrc.c:
11451 * plugins/elements/gstidentity.c:
11452 * plugins/elements/gstqueue.c:
11453 * plugins/elements/gsttypefindelement.c:
11454 * plugins/indexers/gstfileindex.c:
11455 * plugins/indexers/gstmemindex.c:
11456 * tests/check/gst/gsttag.c:
11457 * tests/old/examples/cutter/cutter.c:
11458 * tests/old/examples/mixer/mixer.c:
11459 * tests/old/examples/xml/runxml.c: (main):
11460 * tests/old/testsuite/caps/normalisation.c:
11461 * tests/old/testsuite/debug/global.c:
11462 * tests/old/testsuite/parse/parse1.c:
11463 * tools/gst-xmlinspect.c:
11464 * win32/common/dirent.c:
11467 === release 0.10.0 ===
11469 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11472 releasing 0.10.0, "Maroilles"
11474 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11476 submitted by: Funda Wang <fundawang@linux.net.cn>
11480 added Chinese (Traditional) translation
11482 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11484 * docs/gst/gstreamer-sections.txt:
11485 * docs/libs/tmpl/gstdataprotocol.sgml:
11486 * docs/random/thomasvs/TODO:
11491 2005-12-05 Andy Wingo <wingo@pobox.com>
11493 patch by: Wim Taymans <wim@fluendo.com>
11495 * libs/gst/base/gstbasetransform.c
11496 (gst_base_transform_prepare_output_buf)
11497 (gst_base_transform_buffer_alloc):
11498 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11499 alloc_buffer_and_set_caps.
11501 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11502 set_caps on the source pad.
11503 (gst_pad_alloc_buffer_and_set_caps): New function, does what
11504 alloc_buffer used to do. Fixes #322874.
11506 * docs/gst/gstreamer-sections.txt:
11507 * docs/design/part-negotiation.txt:
11508 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11511 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11513 patch by: Sebastien Moutte
11516 * win32/common/config.h.in:
11517 * win32/vs6/libgstcontroller.dsp:
11520 2005-12-05 Wim Taymans <wim@fluendo.com>
11522 * gst/gstcaps.c: (gst_caps_is_equal):
11523 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11524 (gst_fake_src_create):
11525 Back out previous code changes, leave doc updates, file bugs
11528 2005-12-05 Wim Taymans <wim@fluendo.com>
11530 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11531 (gst_fake_src_get_times), (gst_fake_src_create):
11532 * plugins/elements/gstfakesrc.h:
11533 Fix broken sync code.
11535 2005-12-05 Wim Taymans <wim@fluendo.com>
11537 * gst/gstcaps.c: (gst_caps_is_equal):
11538 Comparing NULL against !NULL yields different caps, not a
11541 2005-12-05 Wim Taymans <wim@fluendo.com>
11543 * gst/gstpipeline.c:
11544 Fix small typo in docs.
11546 2005-12-05 Andy Wingo <wingo@pobox.com>
11548 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11550 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11551 registries/plugins with a MAJORMINOR one.
11552 (plugin_desc): Rename library from gstcoreleements to
11553 staticelements. Fixes #323222.
11555 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11557 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11558 Change debug category to 'collectpads' from 'collect_pads'
11561 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11563 patch by: Sebastien Moutte
11565 * libs/gst/controller/gstinterpolation.c:
11566 use convert function for uint64/double
11567 * win32/vs6/libgstcontroller.dsp:
11570 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11572 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11573 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11575 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11576 add tests that seem to show that the guint64/gdouble conversions
11579 2005-12-02 Wim Taymans <wim@fluendo.com>
11581 * gst/gstregistry.c: (gst_registry_add_path):
11582 * gst/gstregistry.h:
11583 * gst/gstregistryxml.c:
11586 2005-12-02 Wim Taymans <wim@fluendo.com>
11588 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11589 (gst_util_uint64_scale_int):
11592 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11593 Add debug log line.
11595 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11598 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11601 * win32/common/config.h:
11602 * win32/vs6/gstreamer.dsw:
11603 * win32/vs6/libgstcoreelements.dsp:
11604 * win32/vs6/libgstelements.dsp:
11605 renamed core elements plugin
11607 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11609 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11611 do piece-wise major/minor comparison so 0.9 < 0.10
11612 also allow .exe extensions for tools
11614 2005-12-02 Michael Smith <msmith@fluendo.com>
11617 Escape a % to make gtkdoc happier; bug 322958.
11619 === release 0.9.7 ===
11621 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11624 releasing 0.9.7, "My Dog Has No Nose"
11626 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11628 * common/gst-xmlinspect.py:
11630 * docs/libs/tmpl/gstdataprotocol.sgml:
11631 * docs/random/release:
11650 * win32/common/config.h:
11651 * win32/common/config.h.in:
11652 * win32/vs6/gst_inspect.dsp:
11653 * win32/vs6/gst_launch.dsp:
11654 * win32/vs6/libgstbase.dsp:
11655 * win32/vs6/libgstelements.dsp:
11656 * win32/vs6/libgstreamer.dsp:
11657 * win32/vs7/GStreamer.vcproj:
11658 * win32/vs7/gst-inspect.vcproj:
11659 * win32/vs7/gst-launch.vcproj:
11660 * win32/vs7/libgstbase.vcproj:
11661 bump GST_MAJORMINOR to 0.10
11662 reset libtool version
11664 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11668 Added Bulgarian translation by (Alexander Shopov)
11670 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11672 * tests/check/gst/gstplugin.c:
11675 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11677 * common/gst-xmlinspect.py:
11678 * common/gtk-doc-plugins.mak:
11680 * docs/Makefile.am:
11681 * docs/gst/Makefile.am:
11682 * docs/gst/gstreamer-docs.sgml:
11683 * docs/gst/gstreamer-sections.txt:
11684 * docs/gst/gstreamer.types:
11685 * docs/gst/gstreamer.types.in:
11686 * docs/plugins/Makefile.am:
11687 * docs/plugins/gstreamer-plugins-docs.sgml:
11688 * docs/plugins/gstreamer-plugins-sections.txt:
11689 * docs/plugins/gstreamer-plugins.types:
11690 * docs/plugins/inspect.stamp:
11691 * docs/plugins/inspect/plugin-coreelements.xml:
11692 * docs/plugins/inspect/plugin-coreindexers.xml:
11693 * docs/plugins/scanobj-build.stamp:
11694 * gstreamer.spec.in:
11695 * plugins/elements/Makefile.am:
11696 * plugins/elements/gstelements.c:
11697 * plugins/elements/gstfakesink.c:
11698 * plugins/elements/gstfakesrc.c:
11699 * plugins/elements/gstfilesink.c:
11700 * plugins/elements/gstfilesrc.c:
11701 * plugins/elements/gstqueue.c:
11702 * plugins/indexers/Makefile.am:
11703 * plugins/indexers/gstindexers.c:
11704 document core plugins in a separate document just like all the
11706 rename these plugins to something starting with core
11708 2005-12-01 Andy Wingo <wingo@pobox.com>
11710 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11711 padding here before, but it missed the commit.
11713 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11715 * libs/gst/controller/gstinterpolation.c:
11716 whitespace prices have crashed, we should feel free to use some now
11717 use gst_guint64_to_gdouble
11719 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11721 * libs/gst/controller/gstcontroller.c:
11722 * libs/gst/controller/gsthelper.c:
11723 * libs/gst/controller/gstinterpolation.c:
11724 * libs/gst/controller/lib.c:
11725 wrap config.h include
11727 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11729 * docs/gst/gstreamer-sections.txt:
11732 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11734 * plugins/elements/gstelements.c:
11735 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11736 (gst_fd_sink__class_init), (gst_fd_sink__init),
11737 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11738 (gst_fd_sink__get_property):
11739 * plugins/elements/gstfdsink.h:
11740 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11741 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11742 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11743 (gst_fd_src_unlock), (gst_fd_src_set_property),
11744 (gst_fd_src_get_property), (gst_fd_src_create),
11745 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11746 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11747 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11748 (gst_fd_src_uri_handler_init):
11749 * plugins/elements/gstfdsrc.h:
11750 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11753 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11755 * docs/gst/Makefile.am:
11756 * docs/gst/gstreamer.types.in:
11760 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11766 * gst/gstregistry.h:
11767 * tests/benchmarks/complexity.c:
11768 * tests/benchmarks/mass-elements.c:
11769 * tests/check/Makefile.am:
11770 * tools/Makefile.am:
11771 * tools/gst-inspect.c:
11772 * tools/gst-xmlinspect.c:
11773 various fixes to make
11774 --disable-nls --disable-registry --disable-loadsave
11775 --disable-parse --disable-gst-debug
11776 work and get the core .so down to 360444 bytes after stripping
11778 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11783 * docs/random/thomasvs/TODO:
11784 * tests/Makefile.am:
11788 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11790 * win32/GStreamer.vcproj:
11793 * win32/Makefile.inspect:
11794 * win32/Makefile.launch:
11795 * win32/Makefile.register:
11796 * win32/README.txt:
11797 * win32/gst-inspect.vcproj:
11798 * win32/gst-launch.vcproj:
11799 * win32/gst-register.vcproj:
11800 * win32/gstelements.vcproj:
11801 * win32/gstgetbits.def:
11802 * win32/gstgetbits.vcproj:
11803 * win32/gstreamer-dbg.def:
11804 * win32/gstreamer.def:
11805 * win32/libgstbase.def:
11806 * win32/libgstbase.vcproj:
11807 * win32/link_oldruntime.c:
11811 * win32/msvc71.sln:
11812 move even more stuff, win32/ is nice and clean now
11814 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11816 * libs/gst/control/.cvsignore:
11821 * win32/gstbytestream.def:
11822 * win32/gstbytestream.vcproj:
11823 * win32/gstconfig.h:
11824 * win32/gstenumtypes.c:
11825 * win32/gstenumtypes.h:
11826 * win32/gstoptimalscheduler.vcproj:
11827 * win32/gstversion.h:
11829 * win32/testsuite/bins.vcproj:
11830 * win32/testsuite/bytestream.vcproj:
11831 * win32/testsuite/caps.vcproj:
11832 * win32/testsuite/cleanup.vcproj:
11833 * win32/testsuite/clock.vcproj:
11834 * win32/testsuite/debug.vcproj:
11835 * win32/testsuite/dlopen.vcproj:
11836 * win32/testsuite/dynparams.vcproj:
11837 * win32/testsuite/elements.vcproj:
11838 * win32/testsuite/ghostpads.vcproj:
11839 * win32/testsuite/indexers.vcproj:
11840 * win32/testsuite/negotiation.vcproj:
11841 * win32/testsuite/parse.vcproj:
11842 * win32/testsuite/plugin.vcproj:
11843 * win32/testsuite/refcounting.vcproj:
11844 * win32/testsuite/schedulers.vcproj:
11845 * win32/testsuite/states.vcproj:
11846 * win32/testsuite/tags.vcproj:
11847 * win32/testsuite/threads.vcproj:
11848 remove old win32 stuff that isn't maintained and should be
11851 2005-11-30 Andy Wingo <wingo@pobox.com>
11853 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11854 loading the gst.interfaces python module bork.
11856 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11857 available since GLib 2.2. Fixes #318031.
11859 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11862 * check/.cvsignore:
11863 * check/Makefile.am:
11864 * check/elements/.cvsignore:
11865 * check/elements/fakesrc.c:
11866 * check/elements/fdsrc.c:
11867 * check/elements/identity.c:
11868 * check/generic/.cvsignore:
11869 * check/generic/states.c:
11870 * check/gst-libs/.cvsignore:
11871 * check/gst-libs/controller.c:
11872 * check/gst-libs/gdp.c:
11873 * check/gst/.cvsignore:
11874 * check/gst/capslist.h:
11876 * check/gst/gstbin.c:
11877 * check/gst/gstbuffer.c:
11878 * check/gst/gstbus.c:
11879 * check/gst/gstcaps.c:
11880 * check/gst/gstelement.c:
11881 * check/gst/gstevent.c:
11882 * check/gst/gstghostpad.c:
11883 * check/gst/gstiterator.c:
11884 * check/gst/gstmessage.c:
11885 * check/gst/gstminiobject.c:
11886 * check/gst/gstobject.c:
11887 * check/gst/gstpad.c:
11888 * check/gst/gstpipeline.c:
11889 * check/gst/gstplugin.c:
11890 * check/gst/gstsegment.c:
11891 * check/gst/gststructure.c:
11892 * check/gst/gstsystemclock.c:
11893 * check/gst/gsttag.c:
11894 * check/gst/gstutils.c:
11895 * check/gst/gstvalue.c:
11896 * check/net/.cvsignore:
11897 * check/net/gstnetclientclock.c:
11898 * check/net/gstnettimeprovider.c:
11899 * check/pipelines/.cvsignore:
11900 * check/pipelines/cleanup.c:
11901 * check/pipelines/simple_launch_lines.c:
11902 * check/pipelines/stress.c:
11903 * check/states/.cvsignore:
11904 * check/states/sinks.c:
11906 * examples/Makefile.am:
11907 * examples/appreader/.cvsignore:
11908 * examples/appreader/Makefile.am:
11909 * examples/appreader/appreader.c:
11910 * examples/controller/.cvsignore:
11911 * examples/controller/Makefile.am:
11912 * examples/controller/audio-example.c:
11913 * examples/cutter/.cvsignore:
11914 * examples/cutter/Makefile.am:
11915 * examples/cutter/cutter.c:
11916 * examples/cutter/cutter.h:
11917 * examples/events/Makefile.am:
11918 * examples/events/seek.c:
11919 * examples/helloworld/.cvsignore:
11920 * examples/helloworld/Makefile.am:
11921 * examples/helloworld/helloworld.c:
11922 * examples/helloworld2/.cvsignore:
11923 * examples/helloworld2/Makefile.am:
11924 * examples/helloworld2/helloworld2.c:
11925 * examples/launch/.cvsignore:
11926 * examples/launch/Makefile.am:
11927 * examples/launch/mp3parselaunch.c:
11928 * examples/launch/mp3play:
11929 * examples/manual/.cvsignore:
11930 * examples/manual/Makefile.am:
11931 * examples/manual/extract.pl:
11932 * examples/metadata/Makefile.am:
11933 * examples/metadata/read-metadata.c:
11934 * examples/mixer/.cvsignore:
11935 * examples/mixer/Makefile.am:
11936 * examples/mixer/mixer.c:
11937 * examples/mixer/mixer.h:
11938 * examples/pingpong/.cvsignore:
11939 * examples/pingpong/Makefile.am:
11940 * examples/pingpong/pingpong.c:
11941 * examples/plugins/.cvsignore:
11942 * examples/plugins/Makefile.am:
11943 * examples/plugins/example.c:
11944 * examples/plugins/example.h:
11945 * examples/pwg/.cvsignore:
11946 * examples/pwg/Makefile.am:
11947 * examples/pwg/extract.pl:
11948 * examples/queue/.cvsignore:
11949 * examples/queue/Makefile.am:
11950 * examples/queue/queue.c:
11951 * examples/queue2/.cvsignore:
11952 * examples/queue2/Makefile.am:
11953 * examples/queue2/queue2.c:
11954 * examples/queue3/.cvsignore:
11955 * examples/queue3/Makefile.am:
11956 * examples/queue3/queue3.c:
11957 * examples/queue4/.cvsignore:
11958 * examples/queue4/Makefile.am:
11959 * examples/queue4/queue4.c:
11960 * examples/retag/.cvsignore:
11961 * examples/retag/Makefile.am:
11962 * examples/retag/retag.c:
11963 * examples/retag/transcode.c:
11964 * examples/thread/.cvsignore:
11965 * examples/thread/Makefile.am:
11966 * examples/thread/thread.c:
11967 * examples/typefind/.cvsignore:
11968 * examples/typefind/Makefile.am:
11969 * examples/typefind/typefind.c:
11970 * examples/xml/.cvsignore:
11971 * examples/xml/Makefile.am:
11972 * examples/xml/createxml.c:
11973 * examples/xml/runxml.c:
11974 * tests/Makefile.am:
11975 * tests/check/Makefile.am:
11976 * testsuite/.cvsignore:
11977 * testsuite/Makefile.am:
11979 * testsuite/caps/.cvsignore:
11980 * testsuite/caps/Makefile.am:
11981 * testsuite/caps/app_fixate.c:
11982 * testsuite/caps/audioscale.c:
11983 * testsuite/caps/caps.c:
11984 * testsuite/caps/caps.h:
11985 * testsuite/caps/caps_strings:
11986 * testsuite/caps/compatibility.c:
11987 * testsuite/caps/deserialize.c:
11988 * testsuite/caps/enumcaps.c:
11989 * testsuite/caps/eratosthenes.c:
11990 * testsuite/caps/filtercaps.c:
11991 * testsuite/caps/fixed.c:
11992 * testsuite/caps/fraction-convert.c:
11993 * testsuite/caps/fraction-multiply-and-zero.c:
11994 * testsuite/caps/intersect2.c:
11995 * testsuite/caps/intersection.c:
11996 * testsuite/caps/normalisation.c:
11997 * testsuite/caps/random.c:
11998 * testsuite/caps/renegotiate.c:
11999 * testsuite/caps/sets.c:
12000 * testsuite/caps/simplify.c:
12001 * testsuite/caps/string-conversions.c:
12002 * testsuite/caps/structure.c:
12003 * testsuite/caps/subtract.c:
12004 * testsuite/caps/union.c:
12005 * testsuite/debug/.cvsignore:
12006 * testsuite/debug/Makefile.am:
12007 * testsuite/debug/category.c:
12008 * testsuite/debug/commandline.c:
12009 * testsuite/debug/global.c:
12010 * testsuite/debug/output.c:
12011 * testsuite/debug/printf_extension.c:
12012 * testsuite/dlopen/.cvsignore:
12013 * testsuite/dlopen/Makefile.am:
12014 * testsuite/dlopen/dlopen_gst.c:
12015 * testsuite/dlopen/loadgst.c:
12016 * testsuite/elements/.cvsignore:
12017 * testsuite/elements/Makefile.am:
12018 * testsuite/elements/gst-inspect-check.in:
12019 * testsuite/elements/struct_i386.h:
12020 * testsuite/elements/struct_size.c:
12021 * testsuite/indexers/.cvsignore:
12022 * testsuite/indexers/Makefile.am:
12023 * testsuite/indexers/cache1.c:
12024 * testsuite/indexers/indexdump.c:
12025 * testsuite/parse/.cvsignore:
12026 * testsuite/parse/Makefile.am:
12027 * testsuite/parse/parse1.c:
12028 * testsuite/parse/parse2.c:
12029 * testsuite/plugin/.cvsignore:
12030 * testsuite/plugin/Makefile.am:
12031 * testsuite/plugin/README:
12032 * testsuite/plugin/dynamic.c:
12033 * testsuite/plugin/linked.c:
12034 * testsuite/plugin/loading.c:
12035 * testsuite/plugin/registry.c:
12036 * testsuite/plugin/static.c:
12037 * testsuite/plugin/static2.c:
12038 * testsuite/plugin/testplugin.c:
12039 * testsuite/plugin/testplugin2.c:
12040 * testsuite/plugin/testplugin2_s.c:
12041 * testsuite/plugin/testplugin_s.c:
12042 * testsuite/refcounting/.cvsignore:
12043 * testsuite/refcounting/Makefile.am:
12044 * testsuite/refcounting/bin.c:
12045 * testsuite/refcounting/element.c:
12046 * testsuite/refcounting/element_pad.c:
12047 * testsuite/refcounting/mainloop.c:
12048 * testsuite/refcounting/mem.c:
12049 * testsuite/refcounting/mem.h:
12050 * testsuite/refcounting/object.c:
12051 * testsuite/refcounting/pad.c:
12052 * testsuite/refcounting/sched.c:
12053 * testsuite/refcounting/thread.c:
12054 * testsuite/states/.cvsignore:
12055 * testsuite/states/Makefile.am:
12056 * testsuite/states/bin.c:
12057 * testsuite/states/locked.c:
12058 * testsuite/states/parent.c:
12059 * testsuite/threads/.cvsignore:
12060 * testsuite/threads/159566.c:
12061 * testsuite/threads/159852.c:
12062 * testsuite/threads/Makefile.am:
12063 * testsuite/threads/queue.c:
12064 * testsuite/threads/signals.c:
12065 * testsuite/threads/staticrec.c:
12066 * testsuite/threads/thread.c:
12067 * testsuite/threads/threadb.c:
12068 * testsuite/threads/threadc.c:
12069 * testsuite/threads/threadd.c:
12070 * testsuite/threads/threade.c:
12071 * testsuite/threads/threadf.c:
12072 * testsuite/threads/threadg.c:
12073 * testsuite/threads/threadh.c:
12074 * testsuite/threads/threadi.c:
12075 move all of these under tests
12077 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12080 * tests/Makefile.am:
12083 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12085 * docs/gst/gstreamer-sections.txt:
12086 * tests/sched/.cvsignore:
12087 * tests/sched/Makefile.am:
12088 * tests/sched/cases/(fs-fs).xml:
12089 * tests/sched/cases/(fs-i-fs).xml:
12090 * tests/sched/cases/(fs-i-i-fs).xml:
12091 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12092 * tests/sched/dynamic-pipeline.c:
12093 * tests/sched/interrupt1.c:
12094 * tests/sched/interrupt2.c:
12095 * tests/sched/interrupt3.c:
12096 * tests/sched/runtestcases:
12097 * tests/sched/runxml.c:
12098 * tests/sched/sched-stress.c:
12099 * tests/sched/sort.c:
12100 * tests/sched/testcases:
12101 * tests/sched/testcases1.tc:
12102 * tests/seeking/.cvsignore:
12103 * tests/seeking/Makefile.am:
12104 * tests/seeking/seeking1.c:
12105 * tests/threadstate/.cvsignore:
12106 * tests/threadstate/Makefile.am:
12107 * tests/threadstate/test1.c:
12108 * tests/threadstate/test2.c:
12109 * tests/threadstate/threadstate1.c:
12110 * tests/threadstate/threadstate2.c:
12111 * tests/threadstate/threadstate3.c:
12112 * tests/threadstate/threadstate4.c:
12113 * tests/threadstate/threadstate5.c:
12114 remove obsolete tests
12116 * tests/bench-complexity.scm:
12117 * tests/bench-mass_elements.scm:
12118 * tests/complexity.c:
12119 * tests/complexity.gnuplot:
12120 * tests/instantiate/.cvsignore:
12121 * tests/instantiate/Makefile.am:
12122 * tests/instantiate/caps.c:
12123 * tests/mass_elements.c:
12124 * tests/network-clock-utils.scm:
12125 * tests/network-clock.scm:
12127 First pass at cleaning up tests/ dir before moving the rest
12128 Combined with CVS surgery
12130 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12133 queue has moved, update
12135 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12137 * docs/gst/gstreamer-sections.txt:
12138 remove double entries from the docs
12139 * gst/gst_private.h:
12140 * gst/gstinfo.c: (_gst_debug_init):
12141 remove the THREAD debug category
12145 * docs/gst/gstreamer.types:
12146 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12147 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12148 completely move queue and fix up debugging categories
12150 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12152 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12153 make initialization portable, using LL is not
12155 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12157 * win32/common/gstconfig.h:
12160 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12162 * win32/common/libgstreamer.def:
12163 rename symbols; sort base section
12165 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12167 * gst/gstclock.c: (do_linear_regression):
12168 remove crack non-portable handrolled DEBUG macro
12170 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12172 * docs/random/release:
12174 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12175 (gst_object_flags_get_type), (register_gst_bin_flags),
12176 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12177 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12178 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12179 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12180 (gst_caps_flags_get_type), (register_gst_clock_return),
12181 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12182 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12183 (gst_clock_flags_get_type), (register_gst_state),
12184 (gst_state_get_type), (register_gst_state_change_return),
12185 (gst_state_change_return_get_type), (register_gst_state_change),
12186 (gst_state_change_get_type), (register_gst_element_flags),
12187 (gst_element_flags_get_type), (register_gst_core_error),
12188 (gst_core_error_get_type), (register_gst_library_error),
12189 (gst_library_error_get_type), (register_gst_resource_error),
12190 (gst_resource_error_get_type), (register_gst_stream_error),
12191 (gst_stream_error_get_type), (register_gst_event_type_flags),
12192 (gst_event_type_flags_get_type), (register_gst_event_type),
12193 (gst_event_type_get_type), (register_gst_seek_type),
12194 (gst_seek_type_get_type), (register_gst_seek_flags),
12195 (gst_seek_flags_get_type), (register_gst_format),
12196 (gst_format_get_type), (register_gst_index_certainty),
12197 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12198 (gst_index_entry_type_get_type),
12199 (register_gst_index_lookup_method),
12200 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12201 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12202 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12203 (gst_index_flags_get_type), (register_gst_debug_level),
12204 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12205 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12206 (gst_iterator_result_get_type), (register_gst_iterator_item),
12207 (gst_iterator_item_get_type), (register_gst_message_type),
12208 (gst_message_type_get_type), (register_gst_mini_object_flags),
12209 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12210 (gst_pad_link_return_get_type), (register_gst_flow_return),
12211 (gst_flow_return_get_type), (register_gst_activate_mode),
12212 (gst_activate_mode_get_type), (register_gst_pad_direction),
12213 (gst_pad_direction_get_type), (register_gst_pad_flags),
12214 (gst_pad_flags_get_type), (register_gst_pad_presence),
12215 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12216 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12217 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12218 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12219 (gst_plugin_flags_get_type), (register_gst_rank),
12220 (gst_rank_get_type), (register_gst_query_type),
12221 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12222 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12223 (gst_tag_flag_get_type), (register_gst_task_state),
12224 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12225 (gst_alloc_trace_flags_get_type),
12226 (register_gst_type_find_probability),
12227 (gst_type_find_probability_get_type), (register_gst_uri_type),
12228 (gst_uri_type_get_type), (register_gst_parse_error),
12229 (gst_parse_error_get_type):
12230 * win32/common/gstenumtypes.h:
12231 * win32/common/gstversion.h:
12232 update visual studio generated files
12234 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12236 * win32/vs6/libgstbase.dsp:
12237 * win32/vs6/libgstelements.dsp:
12238 update project files for new locations
12240 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12245 reinstate and update
12250 * docs/random/LICENSE:
12253 2005-11-30 Edward Hervey <edward@fluendo.com>
12255 * gst/gsttypefind.c: (gst_type_find_register):
12256 * gst/gsttypefind.h:
12257 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12258 (gst_type_find_factory_dispose):
12259 * gst/gsttypefindfactory.h:
12260 Fix memory leak in GstTypeFindFactory.
12262 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12265 * plugins/elements/Makefile.am:
12266 * plugins/elements/gstelements.c:
12267 * plugins/elements/gstqueue.c:
12268 move queue from core to the elements plugin
12270 2005-11-29 Andy Wingo <wingo@pobox.com>
12272 * libs/gst/base/gstbasetransform.h:
12273 * libs/gst/base/gstbasesrc.h:
12274 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12276 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12277 of pointers by which to pad very extensible base classes (like the
12278 ones in libs/gst/base).
12280 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12282 * docs/gst/gstreamer-docs.sgml:
12283 * docs/gst/gstreamer-sections.txt:
12284 * docs/libs/gstreamer-libs-docs.sgml:
12285 * docs/libs/gstreamer-libs-sections.txt:
12286 moving documentation from core to lib
12288 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12290 * check/Makefile.am:
12292 * docs/gst/Makefile.am:
12294 * gst/base/.cvsignore:
12295 * gst/base/Makefile.am:
12297 * gst/base/gstadapter.c:
12298 * gst/base/gstadapter.h:
12299 * gst/base/gstbasesink.c:
12300 * gst/base/gstbasesink.h:
12301 * gst/base/gstbasesrc.c:
12302 * gst/base/gstbasesrc.h:
12303 * gst/base/gstbasetransform.c:
12304 * gst/base/gstbasetransform.h:
12305 * gst/base/gstcollectpads.c:
12306 * gst/base/gstcollectpads.h:
12307 * gst/base/gstpushsrc.c:
12308 * gst/base/gstpushsrc.h:
12309 * gst/base/gsttypefindhelper.c:
12310 * gst/base/gsttypefindhelper.h:
12311 * gst/check/Makefile.am:
12312 * gst/check/gstcheck.c:
12313 * gst/check/gstcheck.h:
12314 * gst/net/Makefile.am:
12315 * gst/net/gstnet.h:
12316 * gst/net/gstnetclientclock.c:
12317 * gst/net/gstnetclientclock.h:
12318 * gst/net/gstnettimepacket.c:
12319 * gst/net/gstnettimepacket.h:
12320 * gst/net/gstnettimeprovider.c:
12321 * gst/net/gstnettimeprovider.h:
12322 * libs/gst/Makefile.am:
12323 * libs/gst/base/Makefile.am:
12324 * libs/gst/base/gstbasetransform.c:
12325 * libs/gst/check/Makefile.am:
12326 * plugins/elements/Makefile.am:
12328 CVS surgery + support to move base, check, and net out of gst
12331 2005-11-29 Andy Wingo <wingo@pobox.com>
12333 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12335 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12338 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12340 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12342 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12344 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12345 padding; reduces object size by about 30%. We don't expect
12346 anything else to go into gstobject.
12348 * gst/gstminiobject.h (struct _GstMiniObject)
12349 (struct _GstMiniObjectClass): Only one pointer of padding; the
12350 payload is only a pointer and two ints anyway. For the class there
12351 are only two methods as well.
12353 * gst/gstelement.h (struct _GstElementClass): Removed
12354 the state_changed signal callback, it is not used.
12356 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12358 * docs/gst/gstreamer.types:
12359 fix includes, though they are a little dinky
12361 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12363 * check/Makefile.am:
12364 look in the right place for elements, a lot more chance of
12367 remove indexers and elements subdirs
12368 * plugins/Makefile.am:
12369 make indexers conditional
12371 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12375 * plugins/elements/Makefile.am:
12376 * plugins/elements/gstcapsfilter.c:
12377 * plugins/elements/gstfilesink.c:
12378 * plugins/elements/gstfilesrc.c:
12379 * plugins/elements/gstidentity.c:
12380 * plugins/indexers/Makefile.am:
12381 do CVS surgery and related build fixery to move elements
12382 and indexers in a new gstreamer/plugins directory, out of the
12385 2005-11-29 Andy Wingo <wingo@pobox.com>
12387 * check/Makefile.am:
12388 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12389 * pkgconfig/gstreamer-net.pc.in:
12390 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12393 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12395 * tools/Makefile.am:
12396 * tools/gst-complete.1.in:
12397 * tools/gst-complete.c:
12398 * tools/gst-compprep.1.in:
12399 * tools/gst-compprep.c:
12400 removing -compprep and -complete
12402 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12404 * gst/gstevent.c: (gst_event_new_new_segment),
12405 (gst_event_parse_new_segment):
12407 fix #320529 - clean up new_segment API and structure.
12408 Let's hope everyone was using the methods, and not the structure.
12410 2005-11-29 Edward Hervey <edward@fluendo.com>
12412 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12413 (gst_base_sink_event), (gst_base_sink_do_sync),
12414 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12415 Properly handle non GST_FORMAT_TIME segment
12416 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12417 Properly handle non GST_FORMAT_TIME segment
12418 * gst/gstsegment.c:
12419 This function is valid if the accumulator is 0 and the format
12420 is different from the requested format.
12422 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12424 * docs/gst/gstreamer-sections.txt:
12425 Add gst_query_new_seeking and gst_query_parse_seeking to the
12428 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12430 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12431 Treat a pad alloc with new caps the same as if we were not
12432 negotiated, in order to allow a changing upstream output
12433 to produce a new format of data.
12435 2005-11-29 Edward Hervey <edward@fluendo.com>
12437 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12438 (gst_base_transform_event), (gst_base_transform_eventfunc):
12439 The event virtual method is now properly implemented, with a default
12441 Sub classes should call the parent_class event method. They should
12442 return FALSE if they had a problem handling the given event, or don't
12443 want GstBaseTransform to send that even downstream
12444 * gst/elements/gstidentity.c: (gst_identity_class_init),
12445 (gst_identity_init), (gst_identity_event),
12446 (gst_identity_transform_ip), (gst_identity_set_property),
12447 (gst_identity_get_property):
12448 * gst/elements/gstidentity.h:
12449 Added the single-segment boolean property.
12450 If set to TRUE, it will output a single segment of data, starting from
12451 0, will eat up all incoming newsegment, and modify the timestamp of the
12452 buffers accordingly
12454 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
12456 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12457 Don't ref NULL target pad (#322751). Improve docs.
12459 2005-11-29 Michael Smith <msmith@fluendo.com>
12461 * gst/gstregistryxml.c: (load_plugin):
12462 Don't crash if we failed to load a feature from a plugin.
12464 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12466 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12468 use more check API and less GLib API
12470 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12473 don't run checks if we don't have check
12474 * common/check.mak:
12475 remove the registry when running make torture
12476 * docs/gst/gstreamer-sections.txt:
12477 remove second multiply
12478 * gst/gstqueue.c: (gst_queue_loop):
12479 fix a compile warning when disabling debug
12481 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12484 Hey! Let's print the pad name if the pointer != NULL instead
12485 of when it == NULL :-)
12487 2005-11-28 Wim Taymans <wim@fluendo.com>
12489 * check/gst/gstutils.c: (GST_START_TEST):
12490 Updated check, add some scaling accuracy checking code.
12492 * gst/gstutils.c: (gst_util_div128_64),
12493 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12494 (gst_util_uint64_scale_int):
12495 Fix 6 times faster division code. Optimize for common
12496 1/1 and less common X/1 cases.
12498 2005-11-28 Wim Taymans <wim@fluendo.com>
12500 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12503 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12504 (do_linear_regression), (gst_clock_add_observation):
12506 Release lock when the clock cannot be slaved.
12507 Catch the case where the regression returned an invalid denominator.
12509 * gst/gstutils.c: (gst_util_div128_64_iterate),
12510 (gst_util_div128_64), (gst_util_uint64_scale_int64),
12511 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12512 Add protentially more performant non-iterative 128/64 divide function
12513 that unfortunatly does not work yet.
12514 Shortcut the trivial 0/X = 0 case.
12515 Remove the warnings on overflow.
12517 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12519 * gst/gstplugin.c: (gst_plugin_register_func):
12520 everything causing a plugin not to load should be at least a WARNING
12522 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12524 * docs/random/ensonic/dparams.txt:
12525 some TODOs for the next dev cycle
12526 * libs/gst/controller/gstcontroller.c:
12527 (gst_controlled_property_set_interpolation_mode),
12528 (gst_controlled_property_new):
12529 * libs/gst/controller/gstcontroller.h:
12530 use base type to assign acccessor functions
12532 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12534 * check/Makefile.am:
12535 Oops, that should have been top_srcdir
12537 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12539 * check/Makefile.am:
12540 * check/elements/fdsrc.c: (GST_START_TEST):
12541 Use a cmdline define to specify the location of a file to use for
12542 testing, to avoid breaking distcheck.
12544 2005-11-28 Andy Wingo <wingo@pobox.com>
12546 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12548 2005-11-28 Edward Hervey <edward@fluendo.com>
12550 * tools/gst-launch.c: (main):
12551 Clarify the output strings, makes it easier to translate.
12554 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12557 don't try and build net if we don't even have <sys/socket.h>
12559 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12561 * check/Makefile.am:
12562 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12563 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12564 Add tests for fdsrc seekability
12566 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12567 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12568 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12569 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12570 * gst/elements/gstfdsrc.h:
12571 fdsrc should not be a 'live' source.
12572 Implement seeking on seekable fd's.
12574 * gst/gstquery.c: (gst_query_new_seeking),
12575 (gst_query_parse_seeking):
12577 Implement SEEKING query functions:
12578 *_new_seeking and *_parse_seeking
12580 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12582 * gst/gstelement.c: (gst_element_dispose):
12585 * gst/gstiterator.c:
12586 * gst/gststructure.c:
12589 * libs/gst/controller/gstcontroller.c:
12590 (gst_controlled_property_set_interpolation_mode):
12591 * libs/gst/controller/gstcontroller.h:
12592 * libs/gst/controller/gstinterpolation.c:
12593 (interpolate_none_get_enum_value_array):
12594 support controlling enums
12596 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12599 Improve documentation for gst_value_union().
12602 Change return value for union, intersect and subtract functions
12603 from gint to gboolean.
12605 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12607 * gst/gstvalue.c: (gst_value_serialize_any_list),
12608 (gst_value_transform_any_list_string),
12609 (gst_value_deserialize_list), (gst_value_deserialize_array),
12610 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12611 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12612 (gst_value_set_fraction_range_full),
12613 (gst_value_deserialize_fraction_range),
12614 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12615 (gst_value_deserialize_boolean),
12616 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12617 (gst_value_serialize_float), (gst_value_deserialize_float),
12618 (gst_string_wrap), (gst_value_deserialize_string),
12619 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12620 (gst_value_union_int_range_int_range),
12621 (gst_value_intersect_int_range_int_range),
12622 (gst_value_intersect_double_range_double_range),
12623 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12624 (gst_value_subtract_int_range_int_range),
12625 (gst_value_subtract_double_double_range),
12626 (gst_value_subtract_double_range_double_range),
12627 (gst_value_deserialize_fraction):
12629 Use gint, gdouble and gchar in our API instead of int, double and
12630 char (and make usage in gstvalue.c more consistent).
12632 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12634 * check/Makefile.am:
12635 * libs/gst/controller/Makefile.am:
12636 * libs/gst/dataprotocol/Makefile.am:
12637 fix up Makefile.am and remove GST_ENABLE_NEW
12639 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12643 * gst/base/Makefile.am:
12644 * gst/check/Makefile.am:
12645 * gst/elements/Makefile.am:
12646 * gst/net/Makefile.am:
12647 update LDFLAGS use some more
12649 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12651 * common/m4/gst-doc.m4:
12654 2005-11-26 Edward Hervey <edward@fluendo.com>
12656 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12657 This shouldn't issue a g_warning since it returns NULL if it
12658 couldn't find the plugin, and all functions using this behave
12659 properly on a NULL return. Switching to a GST_WARNING.
12661 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12663 * gst/gstbin.c: (gst_bin_handle_message_func):
12664 Don't leak clock messages.
12666 2005-11-25 Wim Taymans <wim@fluendo.com>
12668 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12669 (gst_util_uint64_scale_int):
12670 Optimisations, remove unneeded vars.
12672 2005-11-25 Wim Taymans <wim@fluendo.com>
12674 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12675 Added more checks for the high precision uint64 cases.
12677 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12678 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12679 Implement high precision (guint64 * guint64) / guint64.
12681 2005-11-24 Wim Taymans <wim@fluendo.com>
12683 * gst/base/gstbasesrc.c: (gst_base_src_query):
12684 Fix wrong percentage query.
12686 * gst/gstutils.c: (gst_util_uint64_scale),
12687 (gst_util_uint64_scale_int):
12688 Add some more common cases that can be handled
12689 efficiently to _scale.
12691 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12693 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12694 (gst_mini_object_suite):
12695 don't use check calls from threads; check probably isn't
12696 threadsafe and using a lock to make it threadsafe would
12697 defeat the purpose of this check
12698 * gst/check/gstcheck.c:
12699 * gst/check/gstcheck.h:
12700 use GST_DEBUG some more
12702 2005-11-24 Wim Taymans <wim@fluendo.com>
12704 * gst/gstutils.c: (gst_util_uint64_scale),
12705 (gst_util_uint64_scale_int):
12706 Chain trivial case to _scale_int.
12708 2005-11-24 Wim Taymans <wim@fluendo.com>
12710 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12711 Added test for scaling.
12716 * gst/gstutils.c: (gst_util_uint64_scale_int):
12717 Implemented high precision scaling code.
12719 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12722 do not crash on pad==NULL
12724 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12726 Patch by: Stefan Kost
12728 * common/gtk-doc.mak:
12729 * docs/gst/Makefile.am:
12730 * docs/libs/Makefile.am:
12731 Fix distcheck issues for the libraries docs build
12734 2005-11-24 Michael Smith <msmith@fluendo.com>
12736 * docs/manual/basics-helloworld.xml:
12737 Fix bug #315027: memory leak in example code in docs.
12739 2005-11-24 Michael Smith <msmith@fluendo.com>
12741 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12742 Unlock the PREROLL_LOCK in a failure case.
12744 2005-11-24 Wim Taymans <wim@fluendo.com>
12746 * docs/gst/gstreamer-sections.txt:
12747 * gst/base/gstadapter.h:
12748 * gst/base/gstbasesink.h:
12749 * gst/base/gstbasesrc.h:
12750 * gst/base/gstbasetransform.h:
12751 * gst/base/gstpushsrc.h:
12752 * gst/elements/gstfakesink.h:
12753 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12754 * gst/elements/gstfakesrc.h:
12755 * gst/elements/gstfilesink.h:
12756 * gst/elements/gstfilesrc.h:
12759 * gst/gstbuffer.c: (_gst_buffer_copy):
12762 * gst/gstchildproxy.c:
12764 * gst/gstelement.c:
12765 * gst/gstelementfactory.c:
12766 * gst/gstelementfactory.h:
12768 * gst/gstghostpad.h:
12770 * gst/gstinterface.h:
12771 * gst/gstminiobject.c:
12772 * gst/gstminiobject.h:
12775 * gst/gstpadtemplate.h:
12776 * gst/gstpipeline.h:
12777 * gst/gstpluginfeature.h:
12780 * gst/gsttaglist.c:
12781 * gst/gsttaglist.h:
12782 * gst/gsttagsetter.c:
12783 * gst/gsttagsetter.h:
12786 * gst/gsttypefind.h:
12789 * gst/net/gstnetclientclock.c:
12790 * gst/net/gstnetclientclock.h:
12791 * gst/net/gstnettimepacket.c:
12792 * gst/net/gstnettimeprovider.c:
12793 * gst/net/gstnettimeprovider.h:
12796 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12798 * configure.ac: back to HEAD
12800 === release 0.9.6 ===
12802 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12805 releasing 0.9.6, "Always On Time"
12807 2005-11-23 Wim Taymans <wim@fluendo.com>
12809 * docs/gst/gstreamer-sections.txt:
12810 * gst/glib-compat.c:
12811 * gst/gsttagsetter.c:
12813 * gst/net/gstnetclientclock.c:
12814 * gst/net/gstnettimepacket.h:
12817 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12819 * docs/faq/using.xml:
12820 * docs/libs/tmpl/gstcontrol.sgml:
12821 * docs/manual/advanced-dparams.xml:
12822 * docs/manual/appendix-checklist.xml:
12823 * docs/manual/basics-elements.xml:
12824 * docs/pwg/other-source.xml:
12825 * docs/random/moving-plugins:
12827 * tools/gst-launch.1.in:
12828 remove mentions of sinesrc
12830 2005-11-23 Michael Smith <msmith@fluendo.com>
12832 * docs/gst/gstreamer-sections.txt:
12833 Update for new API and API changes.
12835 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12837 Documentation typo fix.
12838 * gst/net/gstnettimepacket.c:
12839 Documentation fixes for arguments.
12841 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12843 * gst/gststructure.c: (gst_structure_get_fraction),
12844 (gst_structure_parse_value),
12845 (gst_structure_fixate_field_nearest_fraction):
12846 * gst/gststructure.h:
12847 * gst/gstutils.c: (gst_util_uint64_scale_int):
12849 * scripts/update-funcnames:
12851 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12852 Make gst_structure_fixate_field_nearest_fraction take a numerator
12853 and denominator argument instead of a GValue
12854 add gst_structure_get_fraction helper function.
12856 2005-11-23 Wim Taymans <wim@fluendo.com>
12858 * docs/design/part-TODO.txt:
12861 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12862 * gst/net/gstnetclientclock.h:
12863 Use parent fields for timeout and window_size.
12865 2005-11-23 Andy Wingo <wingo@pobox.com>
12867 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12868 rate_num/rate_denom change.
12870 * gst/net/gstnetclientclock.c
12871 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12872 OBJECT_LOCK. Don't call add_observation with the lock.
12874 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12876 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12878 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12879 deal with rate as a fraction whose numerator and denominator are
12880 GstClockTime values.
12881 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12882 master; the other fields are protected by the SLAVE_LOCK.
12883 (do_linear_regression): Note that this must be called with the
12885 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12886 OBJECT_LOCK. Call set_calibration instead of touching the
12887 variables directly.
12888 (gst_clock_set_property, gst_clock_get_property): Protect
12889 master/slave parameters with the SLAVE_LOCK.
12891 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12892 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12893 note that all of the instance variables that add_observation and
12894 the set_master functions use are protected by that lock and not
12896 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12898 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12899 the caller to take the object lock.
12901 2005-11-23 Wim Taymans <wim@fluendo.com>
12903 * gst/gsterror.c: (_gst_core_errors_init):
12905 Add error for clock stuff.
12907 * gst/gstpipeline.c: (gst_pipeline_change_state),
12908 (gst_pipeline_set_clock):
12909 Post clock error when clock cannot be used in a pipeline.
12911 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12913 * docs/gst/gstreamer-sections.txt:
12914 make two symbols from gstinfo private for the docs
12915 * gst/base/gstcollectpads.h:
12917 fix doc typos, update docs
12919 2005-11-22 Wim Taymans <wim@fluendo.com>
12921 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12922 (gst_base_sink_wait), (gst_base_sink_do_sync),
12923 (gst_base_sink_handle_event):
12924 * gst/base/gstbasesink.h:
12925 No need to store the clock, the parent element class already
12928 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12929 Updates for clock_set returning a gboolean
12931 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12932 (gst_clock_id_wait_async), (gst_clock_class_init),
12933 (gst_clock_init), (gst_clock_finalize),
12934 (gst_clock_get_internal_time), (gst_clock_get_time),
12935 (gst_clock_slave_callback), (gst_clock_set_master),
12936 (gst_clock_get_master), (do_linear_regression),
12937 (gst_clock_add_observation), (gst_clock_set_property),
12938 (gst_clock_get_property):
12940 Implement master/slave. When setting a clock as a slave, a
12941 periodic timeout is scheduled to sample master and slave times.
12942 Then the slave clock is recalibrated to match offset and rate
12943 of the master clock.
12944 Update logging a bit.
12945 Add flag so that a clock can state that is cannot be slaved to
12948 * gst/gstelement.c: (gst_element_set_clock):
12949 * gst/gstelement.h:
12950 The set clock returns a gboolean for when an element cannot
12951 deal with the selected clock in the pipeline.
12953 * gst/gstpipeline.c: (gst_pipeline_change_state),
12954 (gst_pipeline_set_clock):
12955 * gst/gstpipeline.h:
12956 Handle the case where the selected clock cannot be set on
12959 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12960 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12961 (gst_net_client_clock_set_property),
12962 (gst_net_client_clock_get_property),
12963 (gst_net_client_clock_observe_times):
12964 * gst/net/gstnetclientclock.h:
12965 Use regression code in GstClock parent, remove duplicated
12968 2005-11-22 Michael Smith <msmith@fluendo.com>
12970 * gst/gstutils.c: (gst_util_clock_time_scale):
12972 * docs/gst/gstreamer-sections.txt:
12973 Rename method to have extra underscore.
12975 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
12977 * gst/elements/Makefile.am:
12978 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12979 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12980 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12981 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12982 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12983 * gst/elements/gstfakesrc.h:
12984 * gst/gstqueue.c: (queue_leaky_get_type):
12985 correctly fix GEnumValues so that nick is the short lowercase
12987 * tools/gst-inspect.c: (print_element_properties_info):
12988 also show the nick, since it's useful to use from parse_launch
12992 2005-11-22 Michael Smith <msmith@fluendo.com>
12994 * gst/gstutils.c: (gst_util_clocktime_scale):
12996 * docs/gst/gstreamer-sections.txt:
12997 Add util method for scaling a clocktime by a fraction. Useful
12998 implementation is left as an exercise for the reader.
13000 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13002 * gst/gstvalue.c: (gst_value_collect_fraction_range):
13003 If needed, allocate storage in the destination value during
13006 2005-11-22 Edward Hervey <edward@fluendo.com>
13008 * docs/gst/gstreamer-sections.txt:
13011 * gst/gsturitype.c:
13012 * gst/gsturitype.h:
13013 * gst/gstutils.c: (gst_util_set_object_arg):
13014 * tools/gst-compprep.c: (main):
13015 * tools/gst-inspect.c: (print_element_properties_info):
13016 Removed GstURI, closes bug #321061
13018 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13020 * check/gst/gststructure.c: (GST_START_TEST):
13021 * gst/gststructure.c: (gst_structure_parse_value):
13022 Oops, broke automatic string type parsing.
13023 Add a test to catch it in future.
13025 2005-11-22 Andy Wingo <wingo@pobox.com>
13027 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13028 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13029 Actually rename the function implementations. Grr.
13031 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13033 * check/gst/capslist.h:
13035 * check/gst/gststructure.c: (GST_START_TEST),
13036 (gst_structure_suite):
13037 Test automatic value type detection in gst_structure_from_string.
13038 * gst/gststructure.c: (gst_structure_parse_value):
13039 Add fraction as a type we try and guess automatically in
13040 caps/structure strings.
13042 2005-11-22 Andy Wingo <wingo@pobox.com>
13044 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13046 * gst/gsttagsetter.h:
13047 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13048 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13049 (gst_tag_setter_add_tag_valist)
13050 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13051 _add_values, _add_valist, and _add_valist_values. Since this is an
13052 interface the function suffixes should be more explicit so
13053 language binding don't end up with element.add_valist ->
13054 gst_tag_setter_add_valist, for example. Fixes #322069.
13056 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13058 * check/gst/gstcaps.c: (GST_START_TEST):
13059 Extend caps string tests to check that a caps to string
13060 conversion is reversible and produces the same caps.
13062 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13063 Output "fraction" as the generic type fraction range, so caps
13064 serialisation and deserialisation works.
13065 * check/gst/capslist.h:
13066 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13067 Support 'MIN' and 'MAX' for deserialising fractions.
13069 2005-11-22 Andy Wingo <wingo@pobox.com>
13071 * gst/gstevent.h (gst_event_new_new_segment)
13072 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13073 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13074 Renamed from *_newsegment, *_buffersize, *_notarget.
13076 * scripts/update-funcnames: New script, performs the changes
13079 2005-11-22 Wim Taymans <wim@fluendo.com>
13081 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13082 Make sure the GstFlowReturn is returned.
13084 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13085 (gst_bus_add_signal_watch):
13087 add gst_bus_add_signal_watch_full.
13089 * gst/gstplugin.c: (gst_plugin_load_file):
13090 Small style cleanup.
13092 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13094 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13095 Block the fakesrc srcpad when we send an event, to avoid
13096 contention on the stream_lock causing random test failures.
13098 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13100 * check/gst/gstvalue.c: (GST_START_TEST):
13101 * gst/gstvalue.c: (gst_value_fraction_subtract):
13104 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13107 include "gstchildproxy.h"
13108 * gst/gstchildproxy.h:
13109 * libs/gst/controller/gstcontroller.h:
13110 use G_GNUC_NULL_TERMINATED
13112 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13114 * check/gst/capslist.h:
13115 * check/gst/gstcaps.c: (GST_START_TEST):
13116 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13117 * gst/gststructure.c: (gst_structure_parse_range),
13118 (gst_structure_fixate_field_nearest_fraction):
13119 * gst/gststructure.h:
13120 * gst/gstvalue.c: (gst_value_init_fraction_range),
13121 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13122 (gst_value_collect_fraction_range),
13123 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13124 (gst_value_set_fraction_range_full),
13125 (gst_value_get_fraction_range_min),
13126 (gst_value_get_fraction_range_max),
13127 (gst_value_serialize_fraction_range),
13128 (gst_value_transform_fraction_range_string),
13129 (gst_value_compare_fraction_range),
13130 (gst_value_deserialize_fraction_range),
13131 (gst_value_intersect_fraction_fraction_range),
13132 (gst_value_intersect_fraction_range_fraction_range),
13133 (gst_value_subtract_fraction_fraction_range),
13134 (gst_value_subtract_fraction_range_fraction),
13135 (gst_value_subtract_fraction_range_fraction_range),
13136 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13137 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13138 (gst_value_transform_string_fraction), (_gst_value_initialize):
13140 Implement fraction ranges and extend GstFraction to support
13141 arithmetic subtraction, as well as deserialization from integer
13142 strings such as "100"
13143 Add a testsuite as for int and double range set operations
13145 2005-11-21 Andy Wingo <wingo@pobox.com>
13147 * gst/gsttaglist.h:
13149 * gst/gststructure.h: Add glib-compat.h.
13151 2005-11-21 Wim Taymans <wim@fluendo.com>
13153 * gst/gstbin.c: (gst_bin_change_state_func):
13156 2005-11-21 Wim Taymans <wim@fluendo.com>
13158 * gst/gstsegment.h:
13159 And add a nice define too.
13161 2005-11-21 Wim Taymans <wim@fluendo.com>
13163 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13164 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13165 (gst_segment_set_duration), (gst_segment_set_last_stop),
13166 (gst_segment_set_seek), (gst_segment_set_newsegment),
13167 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13168 (gst_segment_clip):
13169 * gst/gstsegment.h:
13170 Make binding friendly.
13172 2005-11-21 Andy Wingo <wingo@pobox.com>
13174 * gst/gsttagsetter.h:
13175 * gst/gsttaglist.h:
13176 * gst/gststructure.h:
13178 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13181 * gst/gsterror.c (_gst_core_errors_init):
13182 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13185 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13186 (noinst_HEADERS): noinst the -private.
13188 2005-11-21 Michael Smith <msmith@fluendo.com>
13191 * gst/gstregistry.h:
13192 Remove unimplemented declarations for which we can see no sensible
13195 2005-11-21 Andy Wingo <wingo@pobox.com>
13197 * gst/gst.h: Include glib-compat.h.
13199 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13201 * gst/glib-compat.c: Include the public and the private header.
13203 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13207 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13209 * check/gst/gstevent.c (create_custom_events): Check that
13210 FLUSH_STOP is serialized.
13212 * check/elements/identity.c (event_func):
13213 * check/elements/fakesrc.c (event_func): No stream lock, the core
13216 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13217 stream lock taking, yay.
13219 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13220 ensure that core takes the stream lock.
13222 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13225 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13226 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13227 it already. For the flush start we do take it though so we get the
13228 right preroll state change messages.
13230 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13231 the stream lock here, the core does it for us.
13233 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13234 GST_STREAM_GET_LOCK.
13235 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13236 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13237 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13238 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13239 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13240 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13242 * gst/gstpad.c: Update for stream lock name change.
13244 * gst/base/gstbasesink.c: Update for preroll lock name change.
13246 2005-11-21 Wim Taymans <wim@fluendo.com>
13248 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13249 (gst_clock_get_master):
13251 * gst/gstsystemclock.c: (gst_system_clock_init):
13252 Convert Clock flags to object flags.
13253 Added methods to manage master/slave clocks.
13255 2005-11-21 Wim Taymans <wim@fluendo.com>
13257 * check/gst/gstsegment.c: (GST_START_TEST):
13258 * docs/design/part-TODO.txt:
13259 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13260 (gst_base_sink_event), (gst_base_sink_do_sync),
13261 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13262 (gst_base_sink_query), (gst_base_sink_change_state):
13263 * gst/base/gstbasesink.h:
13264 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13265 (gst_base_src_default_newsegment),
13266 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13267 (gst_base_src_get_range), (gst_base_src_loop),
13268 (gst_base_src_change_state):
13269 * gst/base/gstbasesrc.h:
13270 * gst/base/gstbasetransform.c:
13271 (gst_base_transform_prepare_output_buf),
13272 (gst_base_transform_event), (gst_base_transform_change_state):
13273 * gst/base/gstbasetransform.h:
13274 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13275 (gst_collect_pads_event):
13276 * gst/base/gstcollectpads.h:
13277 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13278 (gst_fake_src_create):
13279 * gst/elements/gstfakesrc.h:
13280 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13281 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13282 (gst_segment_set_last_stop), (gst_segment_set_seek),
13283 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13284 (gst_segment_to_running_time), (gst_segment_clip):
13285 * gst/gstsegment.h:
13286 More segment updates, replace code in plugins with segment
13289 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13291 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13292 Don't ignore sscanf results
13294 2005-11-21 Andy Wingo <wingo@pobox.com>
13296 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13299 * *.c: Ran scripts/update-macros. Oh yes.
13301 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13302 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13305 * scripts/update-macros: New script. Run it on your files to
13306 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13309 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13311 * docs/gst/Makefile.am:
13312 * docs/gst/gstreamer-docs.sgml:
13313 * docs/gst/gstreamer-sections.txt:
13314 * docs/gst/gstreamer.types:
13316 more docs fixes, add new api to the docs
13318 2005-11-21 Andy Wingo <wingo@pobox.com>
13320 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13321 state_broadcast call.
13323 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13325 2005-11-21 Julien MOUTTE <julien@moutte.net>
13327 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13328 function calls for arrays.
13330 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13332 * docs/random/ensonic/media-device-daemon.txt:
13333 wild idea, can this be done?
13334 * docs/gst/gstreamer-sections.txt:
13339 * gst/gstpluginfeature.c:
13343 doc fixes and additions
13345 2005-11-21 Andy Wingo <wingo@pobox.com>
13347 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13348 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13349 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13350 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13351 private to the basesrc implementation.
13353 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13354 behalf of event function if necessary. It should no longer be
13355 necessary to take the stream lock in pad's event functions. Fixes
13358 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13359 * docs/gst/gstreamer-sections.txt:
13360 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13361 (gst_structure_fixate_field_nearest_double),
13362 (gst_structure_fixate_field_boolean):
13363 * gst/gststructure.h:
13364 * win32/common/libgstreamer.def:
13365 * win32/gstreamer.def:
13367 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13370 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13372 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13373 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13374 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13375 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13376 (gst_fdsrc_uri_handler_init):
13377 * gst/elements/gstfdsrc.h:
13378 Port fd:// URI handler from 0.8 to fdsrc
13380 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13382 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13383 (gst_value_serialize_fourcc):
13385 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13386 consistent with our other format defines (#320324).
13388 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13390 * gst/gstvalue.c: (gst_value_is_fixed):
13391 Revert previous commit. Value lists are by definition
13392 not fixed, as they are a list of possible values.
13394 2005-11-21 Andy Wingo <wingo@pobox.com>
13396 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13397 during the stable series if we need it. Fixes #319178.
13399 * gst/gstevent.c (gst_event_new_filler): Removed.
13401 * check/gst/gstevent.c: Update comment about filler events.
13403 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13405 * gst/gstvalue.c: (gst_value_is_fixed):
13406 Should handle both value arrays and value lists.
13408 2005-11-21 Andy Wingo <wingo@pobox.com>
13410 patch by: Alessandro Dessina <alessandro nnva org>
13412 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13413 functions to access arrays. Fixes #321962.
13415 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13417 * docs/gst/gstreamer.types:
13418 gst_collectpads_get_type => gst_collect_pads_get_type.
13420 * gst/base/gstbasetransform.c:
13421 Remove unused SIGNAL_HANDOFF enum.
13423 2005-11-21 Andy Wingo <wingo@pobox.com>
13425 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13426 the event type (upstream, downstream, serialized). Renamed
13427 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13428 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13429 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13431 * gst/gstevent.c: Update for new CUSTOM event names.
13433 * check/gst/gstevent.c: Update check for new CUSTOM event names.
13436 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13439 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13441 * docs/gst/gstreamer-sections.txt:
13442 * win32/common/libgstbase.def:
13443 * win32/libgstbase.def:
13444 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13445 (gst_collect_pads_class_init), (gst_collect_pads_init),
13446 (gst_collect_pads_finalize), (gst_collect_pads_new),
13447 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13448 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13449 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13450 (gst_collect_pads_start), (gst_collect_pads_stop),
13451 (gst_collect_pads_peek), (gst_collect_pads_pop),
13452 (gst_collect_pads_available), (gst_collect_pads_read),
13453 (gst_collect_pads_flush), (gst_collect_pads_event),
13454 (gst_collect_pads_chain):
13455 * gst/base/gstcollectpads.h:
13456 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13457 unimplemented functions as unimplemented. Add padding to
13458 GstCollectData. (#320766, #320423)
13460 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13462 * gst/gstmessage.c:
13463 Improve docs for DURATION message (usage of duration parameter)
13466 2005-11-20 Wim Taymans <wim@fluendo.com>
13468 * check/Makefile.am:
13469 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13473 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13474 (gst_segment_set_seek), (gst_segment_set_newsegment),
13475 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13476 (gst_segment_clip):
13477 * gst/gstsegment.h:
13478 Added segment helper structure and methods. Not fully implemented
13480 Added segment check.
13482 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
13484 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13485 Add a deserialisation test for fractions
13486 * examples/metadata/read-metadata.c: (message_loop),
13487 (make_pipeline), (main):
13488 Fix up metadata reading sample.
13489 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13491 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13492 Don't try and fixate empty caps
13493 * gst/gst_private.h:
13494 Wrap in G_BEGIN_DECLS/G_END_DECLS
13495 * gst/gstvalue.c: (gst_value_collect_fraction),
13496 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13497 (gst_value_transform_string_fraction),
13498 (gst_value_compare_fraction):
13499 Add some extra guards to ensure that we don't end up
13500 with an invalid denominator of 0 in a gstfraction and
13501 that fractions always get reduced.
13503 2005-11-20 Wim Taymans <wim@fluendo.com>
13505 * docs/gst/gstreamer-sections.txt:
13507 * gst/gstelement.c:
13516 2005-11-20 Wim Taymans <wim@fluendo.com>
13518 * docs/design/part-TODO.txt:
13520 Make a proper enum of the flag.
13522 2005-11-19 Wim Taymans <wim@fluendo.com>
13524 * docs/design/part-TODO.txt:
13525 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13526 (gst_format_to_quark), (gst_format_register):
13528 * gst/gstquery.c: (_gst_query_initialize),
13529 (gst_query_type_get_name), (gst_query_type_to_quark),
13530 (gst_query_type_register):
13532 Add type to quark and type to string conversions.
13534 2005-11-19 Andy Wingo <wingo@pobox.com>
13536 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13539 2005-11-19 Wim Taymans <wim@fluendo.com>
13541 * docs/design/part-TODO.txt:
13542 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13543 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13544 (gst_bin_handle_message_func):
13546 Make message handling overridable.
13548 2005-11-19 Andy Wingo <wingo@pobox.com>
13550 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13553 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13555 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13556 is a GstClockTime. Fixes #321710.
13558 * gst/gstclock.h (GstClock): Remove offset property. Add
13559 internal_calibration and external_calibration. Fix padding. Pad
13560 also by GstClockTime so we don't run into problems.
13562 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13563 (gst_clock_get_rate_offset): Remove.
13564 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13567 * gst/gstutils.c (g_static_rec_cond_wait)
13568 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13570 * gst/gstbin.c: Remove terrible continue_state prototype.
13572 * gst/gstelement.h (gst_element_continue_state): Make public.
13574 * gst/gstelement.h:
13575 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13576 by continue_state. Fixes #319389.
13578 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13579 Really fixes #168438. However I don't see anywhere where the
13580 filter function is called... stupid GStreamer...
13582 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13583 don't have a dispose function, so it won't get called when the
13584 object is unreffed, but oh well!
13586 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13587 allows a destroy function to be set so user_data can be freed.
13589 (gst_index_set_filter): Call gst_index_set_filter_full.
13591 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13593 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13594 string should produce an error, given the lack of a way to
13595 represent NULL strings. Fixes #165650.
13598 * gst/gstvalue.c (gst_value_array_append_value)
13599 (gst_value_array_prepend_value, gst_value_array_get_size)
13600 (gst_value_array_get_value): New API, copied from
13601 gst_value_list_*, only operates on arrays.
13602 (gst_value_list_append_value, gst_value_list_prepend_value)
13603 (gst_value_list_concat, gst_value_list_get_size)
13604 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13606 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13607 init_list, because it works on both.
13608 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13609 (gst_value_copy_list_or_array): Renamed from copy_list.
13610 (gst_value_free_list_or_array): Renamed from free_list.
13611 (gst_value_collect_list_or_array): Renamed from collect_list.
13612 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13613 (gst_value_list_or_array_peek_pointer): Renamed from
13615 (_gst_value_array_value_table, _gst_value_list_value_table):
13616 Update value table functions.
13617 (gst_value_compare_list_or_array): Renamed from compare_list.
13619 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13622 * gst/gsttaglist.c:
13623 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13624 GstTagList*. Fixes #143472.
13626 * gst/gststructure.h: Clarify what the foreach/map functions can
13627 or can't do to their arguments.
13629 2005-11-18 Wim Taymans <wim@fluendo.com>
13631 * gst/gstclock.c: (gst_clock_set_calibration),
13632 (gst_clock_get_calibration):
13634 Calibration can be set with internal time equal to current
13637 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13643 2005-11-18 Andy Wingo <wingo@pobox.com>
13646 * pkgconfig/gstreamer-net.pc.in:
13647 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13648 * pkgconfig/Makefile.am: Add net pkgconfig files.
13650 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13653 * gst/gstghostpad.c:
13659 2005-11-18 Andy Wingo <wingo@pobox.com>
13661 * gst/net/gstnetclientclock.c: Turn off debugging.
13663 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13664 times connverge somewhat. Can't make a real test.
13666 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13667 integer arithmetic. Return the minimum of the domain, which can be
13668 set as "internal" for gst_clock_set_calibration.
13669 (gst_net_client_clock_observe_times): Call _set_calibration.
13670 (gst_net_client_clock_new): Call _set_calibration instead of
13673 * check/net/gstnetclientclock.c (test_functioning): Use the right
13677 * gst/gstclock.c (gst_clock_get_calibration)
13678 (gst_clock_set_calibration): New functions, obsolete the ones I
13679 added yesterday. Doh. Precision issues mean we have to extrapolate
13680 from a point in the more recent past than 1970.
13681 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13683 (gst_clock_adjust_unlocked): Use the right calibration data.
13685 2005-11-18 Edward Hervey <edward@fluendo.com>
13687 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13688 Also reset the ->current_* values in READY->PAUSED
13690 2005-11-18 Andy Wingo <wingo@pobox.com>
13692 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13693 Whoops, check the right fd. Also add some debugging.
13694 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13695 (do_linear_regression): Add a crapload of debugging. Subtract off
13696 the minimum values from the input series to discard unneeded bits.
13697 Use only int arithmetic. There is still double arithmetic when
13698 calculating the intercept that needs fixing. Return boolean to
13699 indicate success; FALSE would mean the domain or range is too
13700 great. Still needs fixes.
13702 2005-11-18 Wim Taymans <wim@fluendo.com>
13704 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13705 For the current position in stream time, we need to subtract
13708 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13709 Release lock before calling the callback function of async
13712 2005-11-18 Andy Wingo <wingo@pobox.com>
13714 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13715 Port goes all the way to MAXUINT16.
13717 * gst/net/gstnettimeprovider.c: Make the port range the same as
13718 for the kernel: 0 assigns, otherwise ports are less than
13721 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13724 * check/net/gstnetclientclock.c (test_functioning): Add the start
13727 2005-11-18 Wim Taymans <wim@fluendo.com>
13729 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13730 (gst_bin_remove_func), (bin_bus_handler):
13732 Removing a clock provider from a bin, triggers a clock lost message
13733 so that a new clock will be selected.
13734 Adding a clock to a bin triggers a clock provider message.
13735 Make sure we reselect a clock when we received a clock lost message.
13736 Keep a reference to the element that provided the clock.
13738 2005-11-18 Andy Wingo <wingo@pobox.com>
13740 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13741 the clock initially so it produces values around the base time.
13742 (gst_net_client_clock_class_init): Typo fix.
13743 (gst_net_client_clock_thread): Add note on when the socket gets
13746 2005-11-17 Wim Taymans <wim@fluendo.com>
13748 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13749 Free remote and local time arrays.
13751 2005-11-17 Wim Taymans <wim@fluendo.com>
13753 * gst/net/gstnetclientclock.c: (do_linear_regression),
13754 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13755 Fix compilation, uninitialized vars and a forgotten continue.
13757 2005-11-17 Andy Wingo <wingo@pobox.com>
13759 * check/Makefile.am (check_PROGRAMS):
13760 * check/net/gstnetclientclock.c: Add a most minimal test for the
13761 net client clock. More to come later.
13763 * gst/net/gstnet.h:
13764 * gst/net/Makefile.am: Add netclientclock.
13766 * gst/net/gstnetclientclock.h:
13767 * gst/net/gstnetclientclock.c: New files, implement an untested
13768 GstClock that takes its time from a network time provider.
13769 Implements the algorithm in network-clock.scm.
13771 * tests/network-clock.scm (*window-size*): Rename from
13773 * tests/network-clock.scm (network-time):
13774 * tests/network-clock-utils.scm (q-push): Update callers.
13776 2005-11-17 Wim Taymans <wim@fluendo.com>
13778 * gst/gstbin.c: (gst_bin_provide_clock_func),
13779 (gst_bin_sort_iterator_new):
13780 And unref the child too..
13782 2005-11-17 Wim Taymans <wim@fluendo.com>
13784 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13785 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13786 Refactor the sort iterator so it can be used while holding the
13788 Make clock selection select a clock closest to the source.
13790 2005-11-17 Michael Smith <msmith@fluendo.com>
13792 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13793 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13795 Anonymous structs are a gcc (and some other compilers) extension, so
13796 don't use them. Since this is only for ABI-compatibility, and our
13797 API/ABI freeze is over in a few days, this whole thing will only
13798 last a few days, so don't bother trying to think up a meaningful
13799 name for the struct.
13801 2005-11-17 Andy Wingo <wingo@pobox.com>
13803 * gst/gstclock.h (GstClock): Add rate and offset properties,
13804 preserving ABI stability. Add rate/offset accessors. Will file bug
13805 for the freeze break.
13807 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13808 and offset, trying to keep precision and avoiding
13809 underflow/overflow.
13810 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13811 functions. Make gst_clock_set_time_adjust obsolete.
13812 (gst_clock_set_time_adjust): Note that this function is obsolete.
13813 Will file bug soon.
13815 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13816 greppable by using GST_PADDING-1+1.
13818 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13820 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13822 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13823 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13825 * gst/gstpadtemplate.h:
13826 * gst/gstpluginfeature.h:
13827 Don't use c++ style comments in headers (#321638).
13829 2005-11-16 Andy Wingo <wingo@pobox.com>
13831 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13834 * check/net/gstnettimeprovider.c: Check to see that the time
13835 provider actually provides times. Works, yo!
13837 2005-11-16 Wim Taymans <wim@fluendo.com>
13839 * check/Makefile.am:
13842 * check/elements/fakesrc.c: (GST_START_TEST):
13843 Set element to NULL before disposing it.
13845 2005-11-16 Andy Wingo <wingo@pobox.com>
13847 * gst/net/Makefile.am:
13848 * gst/net/gstnet.h:
13849 * gst/net/gstnettimeprovider.c:
13850 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13851 provider, include it from gstnet.h, and add it to the build.
13853 * gst/net/gstnettimepacket.h:
13854 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13855 sending and receiving.
13857 2005-11-16 Wim Taymans <wim@fluendo.com>
13859 * check/Makefile.am:
13860 Enable valgrind check.
13862 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13863 (gst_fake_src_alloc_buffer):
13866 2005-11-16 Wim Taymans <wim@fluendo.com>
13868 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13869 Call parent finalize too.
13871 2005-11-16 Wim Taymans <wim@fluendo.com>
13873 * check/Makefile.am:
13874 Enable valgrind check that should work fine now.
13876 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13877 * gst/gstqueue.c: (gst_queue_init):
13878 Fix memleaks in pad allocation.
13880 2005-11-16 Andy Wingo <wingo@pobox.com>
13882 * gst/net/Makefile.am:
13883 * gst/net/gstnet.h: New part of core to hold network elements and
13884 objects. Put in core because it exposes API that applications want
13885 to use. The library is named libgstnet-tempname right now because
13886 of the existing libgstnet in gst-plugins-base. Solution is
13887 probably to rename the one in plugins-base; will file a bug for
13890 * gst/net/gstnettimeprovider.c:
13891 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13892 get_time call over the network.
13895 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13897 * check/Makefile.am:
13898 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13899 get additions shortly.
13901 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13903 * gst/gstpad.c: (gst_pad_new_from_static_template):
13905 add gst_pad_new_from_static_template functions
13906 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13907 (gst_check_setup_sink_pad):
13908 * gst/elements/gsttee.c: (gst_tee_init):
13911 2005-11-16 Wim Taymans <wim@fluendo.com>
13913 * gst/gstpad.c: (gst_pad_pause_task):
13914 Removed warning, it's not really an error either.
13916 2005-11-16 Wim Taymans <wim@fluendo.com>
13918 * gst/base/gstbasetransform.c:
13919 (gst_base_transform_prepare_output_buf),
13920 (gst_base_transform_event):
13921 Check if the caps are NULL, this can happen if the element
13922 is shutting down and the pad caps are set to NULL.
13924 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13926 * gst/elements/gsttee.c: (gst_tee_init):
13927 fix pad template leak in tee
13929 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13931 * gst/glib-compat.c: (g_value_dup_gst_object):
13932 * gst/glib-compat.h:
13933 * gst/gstpad.c: (gst_pad_set_property):
13934 use gst_object_ref when setting the pad template; this will
13935 trigger the pad template leaks on GLib 2.6 and the slaves
13937 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13939 * gst/glib-compat.c: (gst_flags_get_first_value):
13940 * gst/glib-compat.h:
13941 * gst/gstregistryxml.c:
13942 remove functions copied from GLib 2.6
13944 2005-11-16 Michael Smith <msmith@fluendo.com>
13947 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13948 do, but only breaks with newer valgrind versions. We're not a
13949 valgrind tool, we have no link-time dependencies on libcoregrind.
13951 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13953 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13955 * gst/gstmessage.h:
13958 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13960 * gst/base/gstbasesrc.c: (gst_base_src_init):
13961 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13962 * gst/gstqueue.c: (gst_queue_init):
13963 * gst/gstregistryxml.c: (load_feature):
13964 Revert all these unrefs, they don't even pass make check !
13966 2005-11-15 Johan Dahlin <johan@gnome.org>
13968 * gst/base/gstbasesrc.c: (gst_base_src_init):
13969 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13970 * gst/gstqueue.c: (gst_queue_init):
13971 Free pad templates, fixes a couple of leaks.
13973 2005-11-15 Daniel Fischer <dan at f3c dot com>
13975 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13977 * gst/gstpad.c: (gst_pad_get_property):
13978 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13979 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13982 2005-11-15 Wim Taymans <wim@fluendo.com>
13987 2005-11-15 Andy Wingo <wingo@pobox.com>
13989 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13991 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13992 using GST_CLOCK_TIME_NONE to disable base time management.
13993 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13994 time if it was NONE before.
13995 (gst_pipeline_change_state): Only munge the base time if
13996 stream_time != GST_CLOCK_TIME_NONE.
13998 * check/gst/gstpipeline.c (test_base_time): Punt around the
13999 problem of the probe not being called, because that's not the
14000 issue I'm looking at. Add a check that setting stream_time to NONE
14001 disables base time management.
14003 2005-11-15 Wim Taymans <wim@fluendo.com>
14005 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14006 segment_stop == -1 at startup.
14008 * gst/base/gstbasetransform.c: (gst_base_transform_event),
14009 (gst_base_transform_change_state):
14010 Init segment values at start.
14012 2005-11-15 Wim Taymans <wim@fluendo.com>
14014 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14015 0 segment values are 0 in any format.
14017 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14018 * gst/base/gstbasetransform.h:
14019 Parse newsegment correctly in basetransform
14021 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14022 Sync to clock using updated segment values.
14024 2005-11-15 Andy Wingo <wingo@pobox.com>
14026 * check/gst/gstpipeline.c (test_base_time): Add check that the
14027 base time and stream time are reset correctly.
14029 2005-11-15 Wim Taymans <wim@fluendo.com>
14031 * docs/design/part-TODO.txt:
14032 Some more TODO items.
14034 2005-11-15 Andy Wingo <wingo@pobox.com>
14036 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14037 error if the user selected "no clock" as the clocking method.
14039 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14040 timestamps with live capture.
14042 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14043 is 0 but we are a live source, timestamp the buffers using the
14046 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14048 * docs/gst/gstreamer-sections.txt:
14050 * gst/gstghostpad.c:
14055 2005-11-14 Wim Taymans <wim@fluendo.com>
14058 add suppressions from Wim's Debian machine
14060 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14063 add suppressions from Andy's AMD64 Ubuntu machine
14065 2005-11-14 Andy Wingo <wingo@pobox.com>
14067 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14068 STATE_LOCK not necessary. Fixes #311489.
14070 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14073 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14074 this function is not implemented.
14076 2005-11-14 Julien MOUTTE <julien@moutte.net>
14078 * gst/base/gstbasetransform.c:
14079 (gst_base_transform_prepare_output_buf):
14080 Ref the source pad caps while we need them.
14083 2005-11-11 Wim Taymans <wim@fluendo.com>
14085 * docs/gst/gstreamer-sections.txt:
14086 Added some docs for GstCollectData.
14088 * gst/base/gstadapter.c:
14089 Some small code example fix.
14091 * gst/base/gstcollectpads.c:
14092 * gst/base/gstcollectpads.h:
14093 Document some more.
14095 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14097 * configure.ac: back to HEAD
14099 === release 0.9.5 ===
14101 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14104 releasing 0.9.5, "Bike Lunch Day"
14106 2005-11-11 Wim Taymans <wim@fluendo.com>
14108 * gst/gstbuffer.c: (_gst_buffer_copy):
14111 * gst/gstcaps.c: (gst_caps_is_equal):
14113 Make _is_equal fast in the trivial cases.
14115 * gst/gstminiobject.c:
14116 * gst/gstminiobject.h:
14117 More docs. Spifify .h file.
14122 2005-11-11 Wim Taymans <wim@fluendo.com>
14124 * gst/base/gstbasetransform.c:
14125 (gst_base_transform_prepare_output_buf),
14126 (gst_base_transform_handle_buffer):
14128 If we're processing a buffer and need to allocate an output
14129 buffer, we cannot accept a format change. If we did get a
14130 format change, we have to alloc a buffer ourselves of the
14133 2005-11-11 Wim Taymans <wim@fluendo.com>
14135 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14136 While checking the flag for reentrancy in the gstcaps function
14137 is nice to detect recursive invocations, it also makes it
14138 impossible to call getcaps from multiple threads, which must be
14139 possible. So, checking for recursive calls has to go.
14141 2005-11-11 Michael Smith <msmith@fluendo.com>
14143 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14144 Don't sync on buffers that fall partially outside our current
14145 segment. Prevents an assertion failure/abort playing some files.
14147 2005-11-10 Andy Wingo <wingo@pobox.com>
14149 * check/gst/gstbin.c (test_message_state_changed_children): Style
14152 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14153 gst_bus_poll with the signal watch. Ensures that poll and a signal
14154 watch see the same messages.
14156 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14157 a poll and a watch at the same time get the same messages.
14159 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14161 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14162 * gst/gstcaps.c: (gst_caps_intersect):
14163 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14164 and it's not needed.
14166 2005-11-10 Wim Taymans <wim@fluendo.com>
14168 * docs/design/part-TODO.txt:
14171 2005-11-10 Wim Taymans <wim@fluendo.com>
14173 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14174 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14175 (gst_base_src_do_sync), (gst_base_src_get_range):
14176 Implement clock sync in base class.
14178 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14180 patch by: Tim-Philipp Müller <tim at centricular dot net>
14182 * gst/gststructure.c: (gst_structure_parse_field),
14183 (gst_structure_from_string):
14184 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14185 so that gst_parse_launch() can deal with spaces in filtered link
14186 caps (fixes #164479)
14187 * check/gst/capslist.h:
14188 * check/gst/gststructure.c: (GST_START_TEST):
14189 add unit tests for this change
14191 2005-11-10 Wim Taymans <wim@fluendo.com>
14193 * docs/gst/gstreamer-sections.txt:
14194 * gst/gstelement.c:
14195 * gst/gstelement.h:
14196 Fix docs, move some STATE macros to private.
14198 2005-11-10 Wim Taymans <wim@fluendo.com>
14200 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14201 Added check for bug #317341
14205 Some more spiffifying.
14207 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14208 Call peer linkfunction if we are a source pad. Totally fixes
14212 Update docs, source pads should call the peer linkfunction
14213 so they can atomically perform the pad link.
14215 2005-11-09 Wim Taymans <wim@fluendo.com>
14219 Uber-spiffy-spiffify some more.
14221 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14223 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14224 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14225 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14226 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14227 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14228 * gst/gstpad.c: (gst_pad_init):
14229 Use GST_DEBUG_FUNCPTR() more extensively.
14231 2005-11-09 Wim Taymans <wim@fluendo.com>
14233 * gst/gstobject.c: (gst_object_class_init):
14235 Documentation fixes.
14237 2005-11-09 Edward Hervey <edward@fluendo.com>
14239 * gst/gsttypefindfactory.c:
14242 2005-11-09 Edward Hervey <edward@fluendo.com>
14244 * gst/base/gsttypefindhelper.c:
14245 * gst/gsttypefind.c:
14246 * gst/gsttypefind.h:
14249 2005-11-09 Wim Taymans <wim@fluendo.com>
14251 * gst/gstiterator.c:
14258 2005-11-09 Wim Taymans <wim@fluendo.com>
14264 2005-11-09 Wim Taymans <wim@fluendo.com>
14266 * docs/gst/gstreamer-sections.txt:
14267 Moved the message async delivery private lock and cond
14268 to the private section.
14270 * gst/gstmessage.c:
14271 * gst/gstmessage.h:
14274 2005-11-09 Edward Hervey <edward@fluendo.com>
14276 * docs/gst/gstreamer-sections.txt:
14279 Document GstURIHandler
14281 2005-11-09 Wim Taymans <wim@fluendo.com>
14283 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14284 (gst_iterator_find_custom):
14285 * gst/gstiterator.h:
14288 2005-11-09 Wim Taymans <wim@fluendo.com>
14291 Document another field.
14293 * gst/gststructure.c:
14294 * gst/gststructure.h:
14297 2005-11-09 Wim Taymans <wim@fluendo.com>
14300 Documented structs.
14302 2005-11-09 Wim Taymans <wim@fluendo.com>
14304 * docs/gst/gstreamer-sections.txt:
14305 Added some new macros.
14312 2005-11-09 Wim Taymans <wim@fluendo.com>
14314 * docs/design/part-TODO.txt:
14315 Some more items for the TODO
14321 2005-11-09 Andy Wingo <wingo@pobox.com>
14323 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14324 to work on something else now tho...
14326 * gst/base/gstadapter.c: More adapter docs.
14328 * gst/elements/gstfilesink.c (gst_file_sink_start)
14329 (gst_file_sink_stop): New functions, replace the state change
14331 (gst_file_sink_class_init): Hook up the start and stop functions.
14332 (gst_file_sink_base_init): Don't set the state change handler any
14333 more. It was a bit ugly too, being set from here...
14334 (gst_file_sink_get_property, gst_file_sink_set_property):
14336 (gst_file_sink_set_location): More robust check that doesn't call
14337 GST_STATE. Ugggggg.
14339 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14341 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14342 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14344 2005-11-08 Wim Taymans <wim@fluendo.com>
14346 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14347 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14348 (gst_base_sink_chain), (gst_base_sink_change_state):
14349 * gst/base/gstbasesink.h:
14350 * gst/base/gstbasesrc.h:
14351 * gst/gstelement.h:
14353 Avoid excessive typechecking in macros.
14355 * gst/gstminiobject.c: (gst_mini_object_get_type),
14356 (gst_mini_object_init), (gst_mini_object_new),
14357 (gst_mini_object_free):
14358 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14359 (gst_object_finalize):
14360 Remove cruft code, optimize alloc_trace.
14362 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14364 * docs/faq/gst-uninstalled:
14365 fix up PS1 for systems that try to reset it
14367 2005-11-07 Wim Taymans <wim@fluendo.com>
14369 * gst/base/gstbasesrc.c: (gst_base_src_init),
14370 (gst_base_src_get_range):
14371 Set the segment_end to -1 initially. Fixed typefind.
14373 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14375 * gst/base/gstadapter.c:
14376 Debug category should be 'adapter', not 'GstAdapter'.
14378 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14379 (gst_collectpads_class_init), (gst_collectpads_init),
14380 (gst_collectpads_peek), (gst_collectpads_pop),
14381 (gst_collectpads_event), (gst_collectpads_chain):
14382 Add debug category and some debugging output. Use boilerplate
14383 macros. Remove some extraneous words from docs.
14385 2005-11-05 Andy Wingo <wingo@pobox.com>
14387 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14390 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14392 * docs/gst/gstreamer-sections.txt:
14395 * gst/gstminiobject.h:
14400 2005-11-04 Wim Taymans <wim@fluendo.com>
14402 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14403 Small update to stop at the configured segment_end
14406 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14408 * gst/gstregistry.c:
14409 * gst/gstregistry.h:
14412 2005-11-04 Edward Hervey <edward@fluendo.com>
14414 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14415 Check if we are doing a segment seek and have arrived at the
14416 end of that segment.
14418 2005-11-04 Wim Taymans <wim@fluendo.com>
14420 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14421 Don't leak a mutex unlock in case of an error.
14426 2005-11-04 Wim Taymans <wim@fluendo.com>
14428 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14430 Get the context to wake up only once.
14432 2005-11-03 Wim Taymans <wim@fluendo.com>
14434 * check/states/sinks.c: (GST_START_TEST):
14435 Uncomment fixed check.
14437 * docs/design/part-TODO.txt:
14440 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14441 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14442 (gst_base_sink_get_position):
14443 If we are going to PLAYING, post the right pending state
14444 when we post the intermediate paused message.
14446 * gst/gstelement.c: (gst_element_continue_state),
14447 (gst_element_set_state_func), (gst_element_change_state):
14448 Don't post state changes that were between the same state
14449 and were not ASYNC.
14451 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14453 * docs/gst/gstreamer-sections.txt:
14456 * gst/gstminiobject.h:
14459 more docs and doc style fixes
14461 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14463 * docs/gst/gstreamer-sections.txt:
14464 * gst/gstelement.c:
14465 * gst/gstminiobject.c:
14468 2005-11-03 Andy Wingo <wingo@pobox.com>
14470 * check/states/sinks.c (test_livesrc_sink): Add checks that the
14471 state-changed messages actually have the right order and the right
14474 2005-11-03 Wim Taymans <wim@fluendo.com>
14476 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14477 Added some more checks. Specifically the case where NO_PREROLL
14478 elements are in the pipeline.
14480 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14481 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14482 (gst_base_sink_get_position):
14483 Post READY->PAUSED state change messages too.
14484 Fix bug where VOID was posted as pending state...
14486 * gst/gstbin.c: (gst_bin_recalc_state):
14487 use _element_continue_state() to continue the state change.
14489 * gst/gstelement.c: (gst_element_continue_state),
14490 (gst_element_commit_state), (gst_element_set_state_func),
14491 (gst_element_change_state), (gst_element_change_state_func):
14492 Lots of state change cleanups, assign the STATE_RETURN in
14493 a new continue_state() function that also propagates the
14494 last return value from a state change to the app.
14495 Update some debug statements with proper category.
14497 2005-11-03 Wim Taymans <wim@fluendo.com>
14499 * docs/design/part-events.txt:
14500 * docs/design/part-gstpipeline.txt:
14501 * docs/design/part-messages.txt:
14502 * docs/design/part-overview.txt:
14503 * docs/design/part-seeking.txt:
14504 * docs/design/part-states.txt:
14505 * docs/design/part-trickmodes.txt:
14506 * docs/manual/advanced-position.xml:
14507 Small docs updates.
14510 People think !! is ugly, this looks better.
14512 * gst/gstpad.c: (gst_pad_set_blocked_async):
14513 Remove !! since it's fixed elsewhere now.
14515 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14517 * gst/gstminiobject.h:
14519 Add !! to _FLAG_IS_SET macros to make the result boolean.
14521 2005-11-03 Edward Hervey <edward@fluendo.com>
14523 * gst/gstpad.c: (gst_pad_set_blocked_async):
14524 comparing a flag and a gboolean rarely returns coherent results...
14525 Added two characters (!!) to make that work correctly.
14527 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14529 * gst/gstbus.c: (gst_bus_class_init):
14532 * gst/gstqueue.c: (gst_queue_loop):
14533 Don't assume a miniobject that isn't a buffer is an
14534 event (it could be that there is a refcounting
14535 problem somewhere and the pointer is stale and
14536 refers to an already destroyed miniobject).
14538 2005-11-03 Julien MOUTTE <julien@moutte.net>
14540 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14542 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14544 * docs/manual/advanced-position.xml:
14545 Update seek example and explanations to current 0.9 API.
14547 * gst/elements/gsttypefindelement.c:
14548 (gst_type_find_element_activate):
14549 Remove FIXME comment now that the found caps
14552 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14554 * gst/gstregistryxml.c: (load_feature):
14555 Add another GST_STR_NULL instance
14557 2005-11-02 Edward Hervey <edward@fluendo.com>
14559 * gst/gstpad.c: (handle_pad_block):
14560 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14562 2005-11-02 Wim Taymans <wim@fluendo.com>
14567 * gst/gstelement.c: (gst_element_commit_state):
14568 Remove unused value.
14570 * gst/gstiterator.c:
14571 Mention that the returned element is reffed in the docs.
14573 2005-11-02 Wim Taymans <wim@fluendo.com>
14575 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14576 (gst_pad_push), (gst_pad_push_event):
14577 Unlock blocked pads when they are flushed.
14579 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14582 * docs/gst/gstreamer-sections.txt:
14585 * gst/gstregistry.c: (gst_registry_scan_path_level):
14586 fix for a nasty little missed situation where an installed plug-in
14587 which was in the cache did not get overridden by an uninstalled one
14588 which was earlier in the plugin path because the newly created plugin
14589 for the uninstalled one (not in the registry) didn't get its
14590 ->registered set to TRUE
14592 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14594 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14595 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14596 (gst_collectpads_is_active), (gst_collectpads_collect),
14597 (gst_collectpads_collect_range), (gst_collectpads_start),
14598 (gst_collectpads_stop), (gst_collectpads_peek),
14599 (gst_collectpads_pop), (gst_collectpads_available),
14600 (gst_collectpads_read), (gst_collectpads_flush):
14601 Guard public API with assertions.
14604 Fix docs for gst_pad_set_link_function().
14606 2005-11-02 Johan Dahlin <johan@gnome.org>
14608 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14609 Unref found_caps after we used it.
14611 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14613 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14614 Don't try to ref NULL.
14616 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14618 * win32/common/config.h.in:
14619 provide a GST_FUNCTION that just gives a string for now
14621 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14623 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14624 (gst_object_flags_get_type), (register_gst_bin_flags),
14625 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14626 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14627 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14628 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14629 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14630 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14631 (gst_clock_flags_get_type), (register_gst_state),
14632 (gst_state_get_type), (register_gst_state_change_return),
14633 (gst_state_change_return_get_type), (register_gst_state_change),
14634 (gst_state_change_get_type), (register_gst_element_flags),
14635 (gst_element_flags_get_type), (register_gst_core_error),
14636 (gst_core_error_get_type), (register_gst_library_error),
14637 (gst_library_error_get_type), (register_gst_resource_error),
14638 (gst_resource_error_get_type), (register_gst_stream_error),
14639 (gst_stream_error_get_type), (register_gst_event_type),
14640 (gst_event_type_get_type), (register_gst_seek_type),
14641 (gst_seek_type_get_type), (register_gst_seek_flags),
14642 (gst_seek_flags_get_type), (register_gst_format),
14643 (gst_format_get_type), (register_gst_index_certainty),
14644 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14645 (gst_index_entry_type_get_type),
14646 (register_gst_index_lookup_method),
14647 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14648 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14649 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14650 (gst_index_flags_get_type), (register_gst_debug_level),
14651 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14652 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14653 (gst_iterator_result_get_type), (register_gst_iterator_item),
14654 (gst_iterator_item_get_type), (register_gst_message_type),
14655 (gst_message_type_get_type), (register_gst_mini_object_flags),
14656 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14657 (gst_pad_link_return_get_type), (register_gst_flow_return),
14658 (gst_flow_return_get_type), (register_gst_activate_mode),
14659 (gst_activate_mode_get_type), (register_gst_pad_direction),
14660 (gst_pad_direction_get_type), (register_gst_pad_flags),
14661 (gst_pad_flags_get_type), (register_gst_pad_presence),
14662 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14663 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14664 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14665 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14666 (gst_plugin_flags_get_type), (register_gst_rank),
14667 (gst_rank_get_type), (register_gst_query_type),
14668 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14669 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14670 (gst_tag_flag_get_type), (register_gst_task_state),
14671 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14672 (gst_alloc_trace_flags_get_type),
14673 (register_gst_type_find_probability),
14674 (gst_type_find_probability_get_type), (register_gst_uri_type),
14675 (gst_uri_type_get_type), (register_gst_parse_error),
14676 (gst_parse_error_get_type):
14677 * win32/common/gstversion.h:
14678 update win32 copies
14680 2005-11-01 Luca Ognibene <luogni@tin.it>
14683 fix docs. popt is dead, long live GOption.
14685 2005-10-31 Wim Taymans <wim@fluendo.com>
14690 2005-10-31 Andy Wingo <wingo@pobox.com>
14694 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14696 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14697 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14698 the possibility of deadlocks here if code calling notify() or
14699 set() has a lock that can be taken in another notify handler (ABBA
14700 with class lock and e.g. python GIL state lock).
14702 2005-10-28 Julien MOUTTE <julien@moutte.net>
14704 * gst/gstbus.c: Doc updates.
14706 2005-10-28 Wim Taymans <wim@fluendo.com>
14708 * docs/design/part-TODO.txt:
14709 * gst/gstiterator.c:
14710 * gst/gstsystemclock.c:
14711 * gst/gstsystemclock.h:
14714 2005-10-28 Edward Hervey <edward@fluendo.com>
14716 * docs/gst/gstreamer-docs.sgml:
14717 * docs/gst/gstreamer-sections.txt:
14718 the GstURIType documentation page is private, it only defines GstURIType
14719 which should be defined in the GstURIHandler page
14721 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14723 * gst/gstbin.c: (gst_bin_class_init):
14726 Documentation updates.
14728 2005-10-28 Wim Taymans <wim@fluendo.com>
14730 * docs/gst/gstreamer-sections.txt:
14733 Documented the clocks.
14735 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14737 * docs/gst/gstreamer-sections.txt:
14738 move some macros to private sections
14739 * gst/gstminiobject.c:
14740 * gst/gstminiobject.h:
14741 add descriptions provided by ds and some more
14743 mark macro as to be removed
14745 2005-10-28 Wim Taymans <wim@fluendo.com>
14747 * docs/design/part-TODO.txt:
14748 Add an item to TODO.
14750 * gst/gstiterator.c: (gst_iterator_fold),
14751 (gst_iterator_find_custom):
14752 * gst/gstiterator.h:
14755 2005-10-28 Wim Taymans <wim@fluendo.com>
14757 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14758 (gst_base_transform_init):
14761 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14762 An EOS event marks the queue as completely filled.
14764 2005-10-27 Wim Taymans <wim@fluendo.com>
14766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14767 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14768 Some more debugging.
14770 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14771 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14772 (gst_base_transform_event), (gst_base_transform_getrange),
14773 (gst_base_transform_chain):
14774 * gst/base/gstbasetransform.h:
14776 Protect transform and concurrent buffer alloc with a new lock.
14777 Try not to break ABI/API.
14779 2005-10-27 Wim Taymans <wim@fluendo.com>
14781 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14782 (gst_base_src_init), (gst_base_src_query),
14783 (gst_base_src_default_newsegment),
14784 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14785 (gst_base_src_send_event), (gst_base_src_event_handler),
14786 (gst_base_src_pad_get_range), (gst_base_src_loop),
14787 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14788 (gst_base_src_start), (gst_base_src_deactivate),
14789 (gst_base_src_activate_push), (gst_base_src_change_state):
14790 Move some stuff around and cleanup things.
14792 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14794 * gst/base/gstbasesrc.c: (gst_base_src_query):
14795 Add missing break statements.
14797 2005-10-27 Wim Taymans <wim@fluendo.com>
14799 * check/gst/gstbin.c: (GST_START_TEST):
14800 An extra refcount is taken in basesrc.
14802 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14803 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14804 (gst_base_src_loop):
14805 Small cleanups, check for flushing after being unlocked from the
14806 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14807 Don't send out EOS when going to READY.
14809 2005-10-27 Wim Taymans <wim@fluendo.com>
14811 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14812 (gst_base_sink_get_position):
14815 * gst/gstbin.c: (message_check), (bin_replace_message),
14816 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14817 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14818 (bin_query_duration_init), (bin_query_duration_fold),
14819 (bin_query_duration_done), (bin_query_generic_fold),
14821 * tools/gst-launch.c: (main):
14824 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14826 * examples/controller/audio-example.c: (main):
14827 * examples/queue/queue.c: (event_loop):
14828 * gst/base/gstbasetransform.h:
14829 * gst/gstelement.c: (gst_element_send_event):
14831 * gst/gstpad.c: (gst_pad_send_event):
14834 changing log priority in error situations
14836 2005-10-25 Wim Taymans <wim@fluendo.com>
14838 * gst/gstbin.c: (message_check), (bin_replace_message),
14839 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14840 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14841 (bin_query_duration_init), (bin_query_duration_fold),
14842 (bin_query_duration_done), (bin_query_generic_fold),
14844 Some doc and debug updates.
14845 Cache previously requested query DURATION for speed. invalidate
14846 cached duration if element posts a DURATION message.
14848 2005-10-25 Wim Taymans <wim@fluendo.com>
14850 * docs/design/part-TODO.txt:
14853 * gst/gstbin.c: (message_check), (bin_replace_message),
14854 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14855 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14856 (bin_query_duration_init), (bin_query_duration_fold),
14857 (bin_query_duration_done), (bin_query_generic_fold),
14859 Handle SEGMENT_START/DONE messages correctly.
14860 More evolved query algorithm that handles duration queries
14863 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14864 (gst_element_get_state_func), (gst_element_abort_state),
14865 (gst_element_commit_state), (gst_element_lost_state):
14866 Some more debugging.
14868 * gst/gstmessage.h:
14871 2005-10-25 Wim Taymans <wim@fluendo.com>
14873 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14874 Don't use invalid stream_time.
14876 * gst/gstevent.c: (gst_event_new_newsegment):
14877 stream_time in newsegment cannot be undefined.
14879 2005-10-24 Wim Taymans <wim@fluendo.com>
14884 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14886 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14888 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14890 * docs/libs/tmpl/gstdparam.sgml:
14891 * docs/libs/tmpl/gstdplinint.sgml:
14892 * docs/libs/tmpl/gstdpman.sgml:
14893 * docs/libs/tmpl/gstdpsmooth.sgml:
14894 * docs/libs/tmpl/gstunitconvert.sgml:
14897 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14902 === release 0.9.4 ===
14904 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14907 releasing 0.9.4, "Tyrannosaurus Rex"
14909 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14911 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14912 (gst_file_sink_get_current_offset):
14913 Use fseeko() and ftello() if available. When falling back on
14914 lseek() to get the current offset, fflush() first to make sure
14915 everything is up-to-date and we get the right offset.
14917 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14919 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14920 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14921 * gst/gsterror.c: (_gst_stream_errors_init):
14923 * gst/gstqueue.c: (gst_queue_loop):
14925 remove prematurely added error category and clean up the instances
14927 2005-10-21 Wim Taymans <wim@fluendo.com>
14929 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14930 (gst_base_sink_get_position), (gst_base_sink_query),
14931 (gst_base_sink_change_state):
14932 Simply set the right flag when going to playing, that's all
14933 we need to do instead of calling a function inside the object
14934 lock (that could take the lock as well and deadlock)
14936 2005-10-21 Wim Taymans <wim@fluendo.com>
14938 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14939 (gst_base_src_loop):
14940 Don't warn, the peer element knows what to do best when
14941 the seek failed, it might try something else.
14943 2005-10-21 Wim Taymans <wim@fluendo.com>
14945 * gst/base/gstbasesrc.c: (gst_base_src_init),
14946 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14949 2005-10-21 Wim Taymans <wim@fluendo.com>
14951 * docs/design/part-segments.txt:
14954 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14955 Correctly set caps, even on the subbufer.
14957 2005-10-21 Wim Taymans <wim@fluendo.com>
14959 * docs/gst/gstreamer-docs.sgml:
14960 * docs/gst/gstreamer-sections.txt:
14961 * gst/gstelement.h:
14964 * gst/gstmessage.h:
14967 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14971 And 2% more doc coverage.
14973 2005-10-21 Andy Wingo <wingo@pobox.com>
14975 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14976 position reporting.
14978 2005-10-20 Wim Taymans <wim@fluendo.com>
14980 * gst/gsterror.c: (gst_error_get_message):
14983 * gst/gststructure.c:
14988 2005-10-20 Wim Taymans <wim@fluendo.com>
14993 Another 1% more coverage.
14995 2005-10-20 Wim Taymans <wim@fluendo.com>
14997 * docs/gst/gstreamer-sections.txt:
14998 * gst/gstelement.c: (gst_element_get_state_func),
14999 (gst_element_abort_state), (gst_element_commit_state),
15000 (gst_element_lost_state):
15002 * gst/gstquery.c: (gst_query_set_position),
15003 (gst_query_parse_position), (gst_query_set_duration),
15004 (gst_query_parse_duration), (gst_query_new_convert):
15006 Yay! 1% more docs coverage.
15008 2005-10-20 Wim Taymans <wim@fluendo.com>
15011 * gst/gstquery.c: (gst_query_set_position),
15012 (gst_query_parse_position), (gst_query_set_duration),
15013 (gst_query_parse_duration), (gst_query_new_convert):
15015 * gst/gstutils.c: (gst_element_query_convert):
15017 Docs and consistency fixes.
15019 2005-10-20 Wim Taymans <wim@fluendo.com>
15025 2005-10-20 Wim Taymans <wim@fluendo.com>
15027 * gst/gstbin.c: (message_check), (bin_replace_message),
15028 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15029 (update_degree), (gst_bin_sort_iterator_next),
15030 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15031 Reworked the message handling a bit, cache the messages instead of
15032 only the senders. alows us to do more in the future.
15034 2005-10-20 Wim Taymans <wim@fluendo.com>
15036 * docs/design/part-TODO.txt:
15039 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15040 (gst_base_sink_query):
15041 Don't use clock time to report position when in EOS.
15043 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15045 * tools/gst-inspect.c: (print_interfaces),
15046 (print_element_properties_info), (print_element_info):
15047 Fix interface output with gst-inspect -a; don't print
15048 newlines after double/float properties.
15050 2005-10-20 Wim Taymans <wim@fluendo.com>
15052 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15053 (gst_base_sink_query):
15054 Speed up current position calculation.
15056 * gst/base/gstbasesrc.c: (gst_base_src_query),
15057 (gst_base_src_default_newsegment):
15058 Correctly set stream position in newsegment.
15060 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15061 (update_degree), (gst_bin_sort_iterator_next),
15062 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15063 * gst/gstmessage.c: (gst_message_new_custom):
15064 Clean up debugging info
15066 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15067 (gst_queue_loop), (gst_queue_handle_src_query):
15070 2005-10-19 Wim Taymans <wim@fluendo.com>
15072 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15073 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15074 Fix query handling again.
15076 2005-10-19 Wim Taymans <wim@fluendo.com>
15078 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15079 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15080 * gst/base/gstbasesrc.c: (gst_base_src_query):
15081 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15082 * gst/elements/gsttypefindelement.c:
15083 (gst_type_find_handle_src_query), (find_element_get_length),
15084 (gst_type_find_element_activate):
15087 * gst/gstquery.c: (gst_query_new_position),
15088 (gst_query_set_position), (gst_query_parse_position),
15089 (gst_query_new_duration), (gst_query_set_duration),
15090 (gst_query_parse_duration), (gst_query_set_segment),
15091 (gst_query_parse_segment):
15093 Bundling query position/duration is not a good idea since duration
15094 does not change much and we don't want to recalculate it for every
15095 position query, so they are separated again..
15096 Base value in segment query is not needed.
15098 * gst/gstqueue.c: (gst_queue_handle_src_query):
15099 * gst/gstutils.c: (gst_element_query_position),
15100 (gst_element_query_duration), (gst_pad_query_position),
15101 (gst_pad_query_duration):
15103 Updates for query API change.
15104 Added some docs here and there.
15106 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15108 * check/gst/gstbin.c: (GST_START_TEST):
15109 * check/gst/gstghostpad.c: (GST_START_TEST):
15110 * check/pipelines/cleanup.c: (GST_START_TEST):
15111 wait on thread to die so we can check refcount correctly
15113 2005-10-18 Wim Taymans <wim@fluendo.com>
15115 * check/pipelines/stress.c: (GST_START_TEST):
15116 Make check a little more time consuming.
15118 2005-10-18 Wim Taymans <wim@fluendo.com>
15120 * check/Makefile.am:
15121 * check/pipelines/stress.c: (GST_START_TEST),
15122 (simple_launch_lines_suite), (main):
15123 Small state change torture test.
15125 * docs/design/part-states.txt:
15126 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15127 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15128 (gst_base_sink_change_state):
15129 Never take state lock from streaming thread, clean up ugly
15130 hacks. Unfortunatly core does not yet support nice ways to
15131 async commit state.
15133 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15135 Start state recalc if a STATE_DIRTY message is posted, but only
15136 on the toplevel bin.
15138 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15139 (gst_element_get_state_func), (gst_element_abort_state),
15140 (gst_element_commit_state), (gst_element_lost_state),
15141 (gst_element_set_state_func), (gst_element_change_state):
15142 * gst/gstelement.h:
15143 State variables are now protected with the LOCK, the state
15144 lock is only used to serialize _set_state().
15146 2005-10-18 Wim Taymans <wim@fluendo.com>
15148 * check/gst/gstbin.c: (GST_START_TEST):
15149 * check/gst/gstmessage.c: (GST_START_TEST):
15150 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15151 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15153 * gst/gstelement.c: (gst_element_abort_state),
15154 (gst_element_commit_state), (gst_element_lost_state):
15155 * gst/gstmessage.c: (gst_message_new_state_changed),
15156 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15157 (gst_message_new_segment_done), (gst_message_new_duration),
15158 (gst_message_parse_state_changed),
15159 (gst_message_parse_segment_start),
15160 (gst_message_parse_segment_done), (gst_message_parse_duration):
15161 * gst/gstmessage.h:
15162 * tools/gst-launch.c: (event_loop):
15163 Seriously, this is better than a previous commit as we only need
15164 to notify the fact that an element changed state in a streaming
15165 thread, marking the state of the parents dirty, hence the
15166 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15169 2005-10-18 Wim Taymans <wim@fluendo.com>
15171 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15172 (gst_bin_recalc_func):
15173 * gst/gstelement.c: (gst_element_set_clock),
15174 (gst_element_abort_state), (gst_element_lost_state):
15175 Cleanups, prepare for state change fixes.
15177 2005-10-18 Wim Taymans <wim@fluendo.com>
15180 * gst/gstelement.c: (gst_element_class_init),
15181 (gst_element_set_state), (gst_element_set_state_func):
15182 * gst/gstelement.h:
15183 Pending ABI changes.
15184 GThreadPool in GstBinClass to monitor async state changes.
15185 state_cookie in GstElement to detect concurrent gst/set state.
15186 set_state is now virtual too in case a very complicated element
15187 has to be constructed.
15189 2005-10-18 Wim Taymans <wim@fluendo.com>
15191 * check/gst/gstbin.c: (GST_START_TEST):
15192 * check/gst/gstmessage.c: (GST_START_TEST):
15193 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15194 * gst/gstbin.c: (bin_bus_handler):
15195 * gst/gstelement.c: (gst_element_commit_state),
15196 (gst_element_lost_state):
15197 * gst/gstmessage.c: (gst_message_new_state_changed),
15198 (gst_message_new_segment_start), (gst_message_new_segment_done),
15199 (gst_message_new_duration), (gst_message_parse_state_changed),
15200 (gst_message_parse_segment_start),
15201 (gst_message_parse_segment_done), (gst_message_parse_duration):
15202 * gst/gstmessage.h:
15203 * tools/gst-launch.c: (event_loop):
15204 Make messages future proof.
15205 state-change gets a flag if it was a message comming from the
15207 segment-start/stop can also be specified in other formats.
15208 A message to notify an app that a pipeline changed playback
15210 Also fix a GstMessage leak in -launch
15212 2005-10-18 Andy Wingo <wingo@pobox.com>
15214 * gst/gstelement.c (gst_element_dispose): More helpful message.
15216 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15218 reviewed by: <delete if not using a buddy>
15220 * common/gtk-doc.mak:
15222 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15224 * gst/gstregistry.c: (gst_registry_scan_path_level):
15225 unref a plug-in we get that was already initialized
15227 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15229 * docs/gst/gstreamer-sections.txt:
15230 * docs/libs/gstreamer-libs-sections.txt:
15231 * gst/gstelement.h:
15232 add new api entries
15233 hide internal macro
15235 2005-10-17 Andy Wingo <wingo@pobox.com>
15237 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15240 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15242 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15244 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15245 (gst_element_get_state_func): Better debug message.
15246 (gst_element_commit_state): s/INFO/DEBUG/.
15247 (gst_element_lost_state, gst_element_change_state):
15249 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15250 (gst_message_new_custom): s/INFO/LOG/.
15252 2005-10-17 Michael Smith <msmith@fluendo.com>
15254 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15255 Check if end time is valid using end time, not start time.
15257 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15259 * check/gst-libs/controller.c: (GST_START_TEST),
15260 (gst_controller_suite):
15261 * libs/gst/controller/gstcontroller.c:
15262 (gst_controlled_property_set_interpolation_mode):
15263 * libs/gst/controller/gstcontroller.h:
15264 * libs/gst/controller/gstinterpolation.c:
15265 * testsuite/controller/.cvsignore:
15266 * testsuite/controller/Makefile.am:
15267 * testsuite/controller/interpolator.c:
15268 merge controller testsuites
15270 remove mem-chunk from docs
15272 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15274 * gst/gstmemchunk.c:
15275 * gst/gstmemchunk.h:
15276 * gst/gsttrashstack.c:
15277 * gst/gsttrashstack.h:
15278 out. get out. you're fired. to the Attic !
15280 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15282 * gst/gstcaps.c: (gst_caps_intersect):
15283 fix signedness issues in a (hopefully) correct way
15284 * gst/gstelement.c: (gst_element_pads_activate):
15286 * gst/gstobject.c: (gst_object_set_parent):
15289 2005-10-17 Julien MOUTTE <julien@moutte.net>
15291 * gst/gstvalue.h: Fix prototypes.
15293 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15295 * docs/gst/gstreamer-sections.txt:
15296 * gst/gst.c: (gst_version_string):
15298 * gst/gstversion.h.in:
15299 * win32/common/libgstreamer.def:
15300 add gst_version_string ()
15302 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15306 * gst/gst.c: (init_post):
15307 * win32/common/config.h.in:
15309 * gst/gstcaps.c: (gst_caps_intersect):
15310 use gint64, the range could be bigger than a guint
15312 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15315 document potential problem in 2038
15317 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15319 * gst/gstcaps.c: (gst_caps_intersect):
15320 Fix guint j diving under 0
15322 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15325 * win32/common/config.h:
15326 * win32/common/config.h.in:
15327 check for process.h, declares getpid() on Windows
15329 include process.h if we have it
15330 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15331 * gst/gstmemchunk.h:
15332 fix signedness issues
15333 * win32/common/libgstreamer.def:
15336 2005-10-16 Julien MOUTTE <julien@moutte.net>
15338 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15339 fix. Because of unsigned ints, caps intersection was going nuts and
15340 trying to access structures with G_MAXUINT index. That fixes
15341 videotestsrc ! ffmpegcolorspace ! fakesink
15342 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15345 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15348 use the gettext macro
15349 * gst/elements/gstelements.c:
15351 * gst/indexers/gstindexers.c:
15352 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15353 * win32/common/config.h:
15355 * win32/common/config.h.in:
15356 add the template to generate config.h
15357 * win32/common/gstenumtypes.c:
15358 * win32/common/gstversion.h:
15361 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15363 * gst/gst.c: (gst_version):
15364 * gst/gstversion.h.in:
15367 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15370 Oops, add missing closing bracket.
15372 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15375 use common m4's for argument checking
15377 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15379 * docs/gst/gstreamer-sections.txt:
15381 Add GST_EVENT_TYPE_NAME() macro.
15383 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15386 * gst/gstpluginfeature.c:
15388 privatize more symbols
15390 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15393 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15394 everything that uses GStreamer API should have the includes
15396 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15398 * docs/gst/gstreamer-sections.txt:
15399 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15401 give each value a _get_type, removes the DATA exports
15403 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15407 remove _gst_registry_auto_load, not used anymore
15408 * gst/gstbin.c: (gst_bin_get_type):
15410 * gst/gstelement.c: (gst_element_get_type):
15411 * gst/gstelement.h:
15412 * gst/gstobject.c: (gst_object_get_type):
15414 * gst/gstpad.c: (gst_pad_get_type):
15416 make _get_type functions similar, fixes data export from library
15418 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15421 correctly make conditionals
15422 * gst/elements/Makefile.am:
15423 * gst/elements/gstelements.c:
15424 fix typo causing fdsrc not to build
15426 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15428 * testsuite/Makefile.am:
15429 * testsuite/bytestream/.cvsignore:
15430 * testsuite/bytestream/Makefile.am:
15431 * testsuite/bytestream/filepadsink.c:
15432 * testsuite/bytestream/gstbstest.c:
15433 * testsuite/bytestream/test1.c:
15434 * testsuite/bytestream/testfile1:
15435 * testsuite/caps/normalisation.c:
15436 * testsuite/caps/random.c: (main):
15437 * testsuite/cleanup/.cvsignore:
15438 * testsuite/cleanup/Makefile.am:
15439 * testsuite/cleanup/cleanup1.c:
15440 * testsuite/cleanup/cleanup2.c:
15441 * testsuite/cleanup/cleanup3.c:
15442 * testsuite/cleanup/cleanup4.c:
15443 * testsuite/cleanup/cleanup5.c:
15444 * testsuite/controller/interpolator.c:
15445 * testsuite/debug/printf_extension.c: (main):
15446 * testsuite/elements/tee.c:
15447 * testsuite/negotiation/.cvsignore:
15448 * testsuite/negotiation/Makefile.am:
15449 * testsuite/negotiation/pad_link.c:
15450 * testsuite/pad/Makefile.am:
15451 * testsuite/pad/chainnopull.c:
15452 * testsuite/pad/getnopush.c:
15453 * testsuite/pad/link.c:
15454 * testsuite/refcounting/sched.c: (create_pipeline):
15455 * testsuite/registry/Makefile.am:
15456 * testsuite/registry/gst-print-formats.c:
15457 * testsuite/schedulers/.cvsignore:
15458 * testsuite/schedulers/142183-2.c:
15459 * testsuite/schedulers/142183.c:
15460 * testsuite/schedulers/143777-2.c:
15461 * testsuite/schedulers/143777.c:
15462 * testsuite/schedulers/147713.c:
15463 * testsuite/schedulers/147819.c:
15464 * testsuite/schedulers/147894-2.c:
15465 * testsuite/schedulers/147894.c:
15466 * testsuite/schedulers/Makefile.am:
15467 * testsuite/schedulers/group_link.c:
15468 * testsuite/schedulers/queue_link.c:
15469 * testsuite/schedulers/relink.c:
15470 * testsuite/schedulers/unlink.c:
15471 * testsuite/schedulers/unref.c:
15472 * testsuite/schedulers/useless_iteration.c:
15473 * testsuite/states/bin.c:
15474 clean out/remove some stuff from the testsuite directories
15476 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15479 check for some headers
15480 * gst/elements/Makefile.am:
15481 * gst/elements/gstelements.c:
15482 don't compile fdsrc without sys/socket.h
15483 * gst/indexers/Makefile.am:
15484 * gst/indexers/gstindexers.c: (plugin_init):
15485 don't compile fileindex without mmap
15487 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15494 * check/Makefile.am:
15495 * docs/gst/Makefile.am:
15496 * examples/helloworld/Makefile.am:
15498 * gst/base/Makefile.am:
15499 * gst/check/Makefile.am:
15500 * gst/elements/Makefile.am:
15501 * gst/indexers/Makefile.am:
15502 * gst/parse/Makefile.am:
15503 * libs/gst/controller/Makefile.am:
15504 * libs/gst/dataprotocol/Makefile.am:
15505 * examples/helloworld/helloworld.c: (event_loop):
15506 compile fixes, though it's not being compiled currently
15508 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15510 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15511 Add some simple tests for the new taglist date API.
15513 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15515 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15516 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15517 Beautify 'last-message' output: print 'none' for buffer timestamps
15518 and durations if none is set; improve alignment with next messages.
15520 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15522 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15523 * gst/gstpluginfeature.h:
15524 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15525 * gst/gstregistry.h:
15526 * docs/gst/gstreamer-sections.txt:
15527 Add new API to check plugin feature version requirements.
15529 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15530 Some basic tests for the above.
15532 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15534 * gst/gststructure.c: (gst_structure_to_string):
15535 guard against NULL printf - happens when for example
15536 a message structure with GstClock gets serialized
15538 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15540 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15541 Fix presumable copy'n'pasto.
15543 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15545 * gst/elements/gstfakesrc.h:
15546 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15547 * gst/elements/gsttypefindelement.c:
15548 fix some signedness
15549 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15550 I wonder if this could actually write +2GB files before
15552 2005-10-13 Andy Wingo <wingo@pobox.com>
15554 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15555 Fix Timmeke Waymans bug.
15556 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15557 string of the proper length to gst_caps_from_string. There's a
15558 potential for, before this fix, that this could cause someone
15559 connecting over the network to cause a segfault if the payload is
15560 not NUL-terminated.
15562 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15564 * docs/design/draft-push-pull.txt:
15565 * docs/design/part-overview.txt:
15566 * docs/random/TODO-pre-0.9:
15567 * docs/random/old/ChangeLog.gstreamer:
15568 * gst/base/gstpushsrc.c:
15572 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15574 * gst/glib-compat.c: (gst_flags_get_first_value):
15575 * gst/glib-compat.h:
15576 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15577 (gst_value_compare_double), (gst_value_serialize_flags):
15578 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15581 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15583 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15584 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15586 * tools/gst-launch.c: (event_loop):
15587 print out clock nicely
15589 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15591 * docs/gst/gstreamer-sections.txt:
15592 * gst/gsttaglist.h:
15593 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15594 (gst_tag_list_get_date_index):
15595 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15596 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15598 2005-10-13 Julien MOUTTE <julien@moutte.net>
15600 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15601 (gst_collectpads_chain):
15602 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15605 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15607 * docs/gst/gstreamer-sections.txt:
15610 * tools/gst-inspect.c: (main):
15611 * tools/gst-launch.c: (main):
15612 * tools/gst-run.c: (main):
15613 * tools/gst-xmlinspect.c: (main):
15614 fix GOption context leaks
15617 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15621 * win32/common/config.h:
15623 * win32/vs6/grammar.dsp:
15624 * win32/vs6/libgstelements.dsp:
15625 * win32/vs6/libgstreamer.dsp:
15628 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15630 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15631 * gst/base/gstbasesrc.c: (gst_base_src_query):
15632 fix more guint64<->gdouble conversions
15634 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15637 add win32-update target
15638 * win32/common/gstconfig.h:
15639 * win32/common/gstenumtypes.c:
15640 * win32/common/gstenumtypes.h:
15641 * win32/common/gstversion.h:
15642 add files that visual studio can't generate
15644 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15647 add a win32-update target
15650 2005-10-12 Wim Taymans <wim@fluendo.com>
15652 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15653 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15654 * gst/gstelement.c: (gst_element_commit_state),
15655 (gst_element_set_state):
15656 Protect flags with proper lock.
15657 unref provided cached clock in dispose.
15659 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15662 * gst/gstminiobject.h:
15664 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15665 removed unused flags from miniobject
15668 2005-10-12 Wim Taymans <wim@fluendo.com>
15670 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15671 (gst_file_sink_event), (gst_file_sink_render):
15672 Flush before seeking.
15674 2005-10-12 Andy Wingo <wingo@pobox.com>
15676 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15677 always been the case.
15679 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15681 * check/gst/gstbin.c: (GST_START_TEST):
15682 * docs/gst/gstreamer-sections.txt:
15683 * gst/base/gstbasesink.c: (gst_base_sink_init):
15684 * gst/base/gstbasesrc.c: (gst_base_src_init),
15685 (gst_base_src_get_range), (gst_base_src_check_get_range),
15686 (gst_base_src_start), (gst_base_src_stop):
15687 * gst/base/gstbasesrc.h:
15688 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15689 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15690 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15694 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15696 * gst/gstelement.c: (gst_element_is_locked_state),
15697 (gst_element_set_locked_state), (gst_element_commit_state),
15698 (gst_element_set_state):
15699 * gst/gstelement.h:
15700 * gst/gstindex.c: (gst_index_init):
15702 * gst/gstminiobject.h:
15703 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15704 (gst_object_set_parent):
15706 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15707 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15709 * gst/gstpadtemplate.h:
15710 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15711 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15712 * gst/gstpipeline.h:
15713 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15714 (gst_file_index_commit):
15715 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15716 * testsuite/pad/link.c: (gst_test_src_init),
15717 (gst_test_filter_init), (gst_test_sink_init):
15718 * testsuite/states/locked.c: (main):
15719 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15720 moved bitshift from macro to enum definition
15722 2005-10-12 Wim Taymans <wim@fluendo.com>
15724 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15725 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15726 (gst_file_sink_render):
15727 Some more debugging info.
15729 2005-10-12 Wim Taymans <wim@fluendo.com>
15731 * docs/design/part-states.txt:
15732 * tools/gst-launch.c: (main):
15734 Revert non-intentional change.
15736 2005-10-12 Wim Taymans <wim@fluendo.com>
15738 * check/gst/gstbin.c: (GST_START_TEST):
15739 * check/gst/gstelement.c: (GST_START_TEST):
15740 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15741 * check/gst/gstghostpad.c: (GST_START_TEST):
15742 * check/gst/gstpipeline.c: (GST_START_TEST):
15743 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15744 * check/states/sinks.c: (GST_START_TEST):
15745 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15746 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15747 (gst_bin_remove_func), (gst_bin_get_state_func),
15748 (gst_bin_recalc_state), (gst_bin_change_state_func),
15750 * gst/gstelement.c: (gst_element_get_state_func),
15751 (gst_element_get_state), (gst_element_abort_state),
15752 (gst_element_commit_state), (gst_element_set_state),
15753 (gst_element_change_state), (gst_element_change_state_func):
15754 * gst/gstelement.h:
15755 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15756 (gst_pipeline_provide_clock_func):
15757 * gst/gstutils.c: (gst_element_link_pads_filtered):
15758 * tools/gst-launch.c: (main):
15759 * tools/gst-typefind.c: (main):
15760 Use GstClockTime in _get_state() instead of GTimeVal.
15761 Remove old code in gstutils.c
15763 2005-10-12 Andy Wingo <wingo@pobox.com>
15765 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15768 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15769 there is no task. Shouldn't affect any code, as nothing in our
15770 plugins checks this return value.
15771 (gst_pad_stop_task): Also take the stream lock if the pad has no
15772 task. Docs updated.
15774 2005-10-12 Wim Taymans <wim@fluendo.com>
15776 * gst/gstpad.c: (pre_activate), (post_activate),
15777 (gst_pad_activate_pull), (gst_pad_activate_push):
15778 Cleanup activation code. Reset old state if
15781 2005-10-12 Wim Taymans <wim@fluendo.com>
15783 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15784 (gst_base_sink_change_state):
15785 No need to prerol after receiving EOS.
15787 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15788 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15789 * gst/elements/gstidentity.c: (gst_identity_event):
15790 Print events more verbosely.
15792 2005-10-12 Wim Taymans <wim@fluendo.com>
15794 * check/Makefile.am:
15795 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15796 * check/states/sinks2.c:
15797 Moved sinks2 testcode in sinks check.
15799 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15800 (gst_bin_remove_func), (gst_bin_recalc_state),
15801 (gst_bin_change_state_func), (bin_bus_handler):
15802 Fix potential race condition when _get_state() iterated over an
15803 ASYNC element right before it posted a state completion.
15806 Do proper cast here.
15808 * gst/gstevent.c: (gst_event_new_newsegment),
15809 (gst_event_parse_newsegment):
15810 A playback rate of 0.0 is not allowed.
15812 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15814 * win32/common/config.h:
15815 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15816 (_trewinddir), (_ttelldir), (_tseekdir):
15817 * win32/common/dirent.h:
15818 * win32/common/gtchar.h:
15819 * win32/common/libgstbase.def:
15820 * win32/common/libgstreamer.def:
15821 * win32/vs6/grammar.dsp:
15822 * win32/vs6/gst_inspect.dsp:
15823 * win32/vs6/gst_launch.dsp:
15824 * win32/vs6/gstreamer.dsw:
15825 * win32/vs6/libgstbase.dsp:
15826 * win32/vs6/libgstelements.dsp:
15827 * win32/vs6/libgstreamer.dsp:
15828 Visual Studio 6 project files, and a new common directory.
15831 2005-10-11 Wim Taymans <wim@fluendo.com>
15833 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15834 (gst_base_sink_do_sync), (gst_base_sink_query),
15835 (gst_base_sink_change_state):
15836 * gst/base/gstbasesink.h:
15837 Correctly parse newsegment info.
15839 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15841 * gst/gst.c: (init_post):
15842 split plugin paths correctly
15844 2005-10-11 Wim Taymans <wim@fluendo.com>
15846 * check/gst/gstevent.c: (GST_START_TEST):
15847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15848 (gst_base_sink_change_state):
15849 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15850 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15851 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15852 * gst/gstevent.c: (gst_event_new_newsegment),
15853 (gst_event_parse_newsegment):
15855 Added extra flag to newsegment for future API freeze.
15856 Updated check and base elements.
15858 2005-10-11 Julien MOUTTE <julien@moutte.net>
15860 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15861 (gst_collectpads_add_pad), (gst_collectpads_pop),
15862 (gst_collectpads_event), (gst_collectpads_chain):
15863 * gst/base/gstcollectpads.h: Handle EOS correctly.
15865 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15867 * tools/gst-launch.c: (main):
15868 more null protecting
15870 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15872 * gst/gst-i18n-lib.h:
15873 check for ENABLE_NLS, not GETTEXT_PACKAGE
15874 * gst/gstregistry.c: (gst_registry_add_plugin),
15875 (gst_registry_scan_path_level),
15876 (_gst_registry_remove_cache_plugins):
15877 protect possibly NULL strings
15878 * gst/parse/types.h:
15879 config.h already included before
15880 * tools/gst-inspect.c: (main):
15881 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15882 check for ENABLE_NLS, not GETTEXT_PACKAGE
15883 * tools/gst-launch.c: (main):
15884 check for ENABLE_NLS, not GETTEXT_PACKAGE
15886 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15889 if we don't have glib, fail before testing 2.8
15890 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15891 fix a leak, should fix plugins-base testsuite
15893 2005-10-11 Andy Wingo <wingo@pobox.com>
15895 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15896 take the mode we're going to as an arg. Go head and set the mode
15897 and flushing flags now, so that if the activate function starts a
15898 thread all the flags will be in the right state.
15899 (post_activate): Renamed also. Just handle making sure streaming
15900 finishes for the deactivation case, and setting the deactivated
15902 (gst_pad_set_active): Complain loudly if deactivation fails.
15903 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15904 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15905 remove the terrible hack.
15907 2005-10-11 Wim Taymans <wim@fluendo.com>
15909 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15910 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15911 (gst_bin_recalc_state), (gst_bin_change_state_func),
15912 (gst_bin_dispose), (bin_bus_handler):
15914 Prepare to make current EOS message queue more generic.
15917 * gst/gstevent.c: (gst_event_new_newsegment),
15918 (gst_event_parse_newsegment):
15920 Rename base to stream_time.
15922 * gst/gstmessage.h:
15925 2005-10-11 Wim Taymans <wim@fluendo.com>
15927 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15928 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15929 (gst_bin_change_state_func), (bin_bus_handler):
15931 Work on proper clock selection.
15933 2005-10-11 Edward Hervey <edward@fluendo.com>
15935 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15936 * libs/gst/controller/gstcontroller.h:
15937 Added GList* version of _remove_properties() in order to be able to wrap
15940 2005-10-11 Wim Taymans <wim@fluendo.com>
15942 * docs/design/part-states.txt:
15945 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15946 (gst_bin_change_state_func), (bin_bus_handler):
15947 Doc updates. Don't distribute the same clock over and over again.
15953 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15954 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15955 (gst_pad_send_event):
15957 Make probe emission threadsafe again.
15958 Register quarks and move _get_name() from utils.
15961 * gst/gstpipeline.c: (gst_pipeline_class_init),
15962 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15963 Only redistribute the clock of it changed.
15965 * gst/gstsystemclock.h:
15970 Moved the _flow_get_name() to GstPad.
15972 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15974 * check/gst-libs/gdp.c: (GST_START_TEST):
15975 * check/gst/gstcaps.c: (GST_START_TEST):
15976 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15977 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15978 (gst_dp_packet_from_caps):
15979 fix more valgrind warnings before turning up the heat
15981 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15983 * gst/parse/grammar.y:
15984 some cleanup before the hacking
15986 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15988 * gst/base/gstbasesrc.c: (gst_base_src_query):
15990 * gst/gstutils.c: (gst_guint64_to_gdouble),
15991 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15993 externalize, basesrc uses it
15994 obviously the implementation needs testing
15996 2005-10-10 Wim Taymans <wim@fluendo.com>
15998 * tests/sched/Makefile.am:
15999 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16000 (make_pipeline3), (make_pipeline4), (print_elem), (main):
16002 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16004 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16005 apparently converting from guint64 to double is not implemented
16008 2005-10-10 Wim Taymans <wim@fluendo.com>
16010 * check/Makefile.am:
16011 * check/generic/states.c: (GST_START_TEST):
16012 * check/gst/gstbin.c: (GST_START_TEST):
16013 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16014 * check/states/sinks.c: (GST_START_TEST):
16015 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16017 Check fixes, use API as stated in design docs, remove hacks.
16019 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16020 (gst_base_sink_change_state):
16021 Catch stopping our task while we're shutting down.
16023 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16024 (gst_bin_remove_func), (gst_bin_get_state_func),
16025 (gst_bin_recalc_state), (gst_bin_change_state_func),
16028 * gst/gstelement.c: (gst_element_init),
16029 (gst_element_get_state_func), (gst_element_abort_state),
16030 (gst_element_commit_state), (gst_element_lost_state),
16031 (gst_element_set_state), (gst_element_change_state),
16032 (gst_element_change_state_func):
16033 * gst/gstelement.h:
16034 New state change algorithm (see #318116)
16036 * gst/gstpipeline.c: (gst_pipeline_class_init),
16037 (gst_pipeline_init), (gst_pipeline_set_property),
16038 (gst_pipeline_get_property), (do_pipeline_seek),
16039 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16040 * gst/gstpipeline.h:
16041 Remove crude state change hacks.
16044 Remove crude hacks.
16046 * tools/gst-launch.c: (main):
16047 Fixes for state change. Needs some more work to fully use the
16050 2005-10-10 Andy Wingo <wingo@pobox.com>
16052 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16054 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16055 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16058 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16060 * gst/gstiterator.c: (gst_iterator_new):
16061 Fix my previous commit: GTypes passed to gst_iterator_new()
16062 can be fundamental types.
16064 2005-10-10 Wim Taymans <wim@fluendo.com>
16066 * gst/gstelement.c: (gst_element_iterate_pad_list),
16067 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16068 (gst_element_iterate_sink_pads):
16069 Use src/sink pads lists for the respective iterators instead
16072 2005-10-10 Andy Wingo <wingo@pobox.com>
16074 Merged in popt removal + GOption addition patch from Ronald, bug
16077 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16078 GstElement macros around, remove popt-related symbols, add goption
16081 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16083 * docs/gst/Makefile.am:
16084 * docs/libs/Makefile.am: No POPT_CFLAGS.
16086 * examples/manual/Makefile.am:
16087 * docs/manual/basics-init.xml: Doc updates with an example.
16089 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16090 (gst_init), (parse_one_option), (parse_goption_arg):
16091 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16092 bit of hand merging and debugging to get the GOption stuff working
16095 * tests/Makefile.am:
16096 * tools/Makefile.am:
16097 * tools/gst-inspect.c: (main):
16098 * tools/gst-launch.c: (main):
16099 * tools/gst-run.c: (main):
16100 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16102 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16104 * gst/gstiterator.c: (gst_iterator_new):
16105 Add assertions to make sure passed GType is likely to really
16106 be a GType (as the compiler won't catch it if the size and
16107 GType arguments get mixed up, see #318447).
16109 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16111 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16113 * gst/gstbin.c: (gst_bin_iterate_sorted):
16114 Pass GType and size arguments to gst_iterator_new() in the right
16115 order (maybe we should make _new() take the GType as first argument
16116 just like _new_list()?) (#318447).
16119 2005-10-10 Wim Taymans <wim@fluendo.com>
16121 * gst/gstelement.c: (gst_element_finalize):
16122 And free the GStaticRecMutex too
16124 2005-10-10 Andy Wingo <wingo@pobox.com>
16126 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16127 Allocate and free the mutex properly.
16129 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16131 (GstElement): The state_lock is now recursive. Rebuild your
16132 plugins, suckers. Old macros adapted.
16134 * docs/gst/gstreamer-sections.txt: Doc updates.
16137 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16138 (g_static_rec_cond_wait): Ported from state changes patch, while
16139 we wait on bug #317802 to be solved in a well-distributed GLib.
16141 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16142 gst_element_change_state, variable name changes.
16143 (gst_element_change_state): Split out of gst_element_set_state in
16144 preparation for the state change merge. Doesn't pay attention to
16145 the 'transition' argument.
16146 (gst_element_set_state): Updates, hopefully purely cosmetic.
16147 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16148 state change patch.
16149 (gst_element_get_state_func): Renamed from get_state, cosmetic
16152 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16154 * gst/elements/gstelements.c:
16155 * win32/GStreamer.vcproj:
16157 * win32/dirent.c: (_tseekdir):
16158 * win32/gst-inspect.vcproj:
16159 * win32/gst-launch.vcproj:
16160 * win32/gstconfig.h:
16161 * win32/gstelements.vcproj:
16162 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16163 * win32/gstreamer.def:
16164 * win32/msvc71.sln:
16165 updates for the win32 build (patch from Sebastien Moutte)
16167 2005-10-10 Andy Wingo <wingo@pobox.com>
16169 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16170 gst_bin_get_state, cleaned up (but no logic changes).
16171 (bin_element_is_sink): Comment updates.
16172 (sink_iterator_filter): Remove needless cast.
16173 (gst_bin_iterate_sinks): Doc update.
16174 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16175 cleaned up (but no logic changes).
16177 * check/states/sinks.c (test_src_sink): Cleanups from the state
16179 (test_livesrc_sink): Sync on the state.
16181 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16182 the state change patch.
16184 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16187 * check/gst/gstbin.c: Merge in some style fixes and additional
16188 checks from Wim's state change patch.
16190 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16192 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16193 (gst_type_find_helper):
16194 Check whether we have the requested data already in our list of
16195 cached buffers before pulling a new buffer; also make the buffer
16196 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16198 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16203 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16204 don't use long long, it's not portable. Replacing with
16205 gint64 seems to work; let's hope no skeletons fall out of the closet.
16207 2005-10-10 Andy Wingo <wingo@pobox.com>
16209 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16211 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16213 * docs/gst/gstreamer-sections.txt:
16218 * gst/gstmessage.c: (gst_message_parse_state_changed):
16221 more docs, fix compilation
16223 2005-10-09 Philippe Khalaf <burger@speedy.org>
16224 * gst/gstmessage.c:
16225 Fixed a few forgotten variables on previous commit
16227 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16229 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16230 Fix evil typefind crasher: getrange() might return a short
16231 buffer at the end of a file, but gst_type_find_peek() must
16232 either return the full data as requested or NULL, but
16233 never a short buffer.
16235 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16237 * gst/gstmessage.c: (gst_message_new_state_changed),
16238 (gst_message_parse_state_changed):
16239 * gst/gstmessage.h:
16240 don't use "new", it's a C++ keyword
16242 2005-10-08 Wim Taymans <wim@fluendo.com>
16244 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16245 * gst/gstelement.c: (gst_element_post_message):
16246 * gst/gstpipeline.c: (gst_pipeline_change_state):
16247 Small docs and debug updates.
16249 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16251 * docs/gst/gstreamer-sections.txt:
16252 * gst/gstelementfactory.c:
16254 * gst/gsttaglist.c:
16257 2005-10-08 Wim Taymans <wim@fluendo.com>
16259 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16260 (gst_bin_dispose), (bin_bus_handler):
16261 Fix typos, add comments.
16262 Clear EOS list when going to PAUSED from any direction and do it
16263 in a threadsafe way.
16264 Get base time in a threadsafe way too.
16265 Fix confusing debug in the change_state function.
16266 Various other small cleanups.
16268 * gst/gstelement.c: (gst_element_post_message):
16269 Fix very verbose bus posting code.
16271 * gst/gstpipeline.c: (gst_pipeline_class_init),
16272 (gst_pipeline_set_property), (gst_pipeline_get_property),
16273 (gst_pipeline_change_state):
16274 Small ARG_ -> PROP_ cleanup
16276 2005-10-08 Wim Taymans <wim@fluendo.com>
16278 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16279 Do a less CPU demanding EOS check because we can.
16281 2005-10-08 Wim Taymans <wim@fluendo.com>
16283 * libs/gst/dataprotocol/dataprotocol.c:
16284 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16285 (gst_dp_packet_from_event):
16286 * libs/gst/dataprotocol/dataprotocol.h:
16287 * libs/gst/dataprotocol/dp-private.h:
16288 It's about time we bump the version number.
16289 Since event types don't fit in the guint8 anymore describing
16290 the payload type, make payload type 16 bits wide.
16292 2005-10-08 Wim Taymans <wim@fluendo.com>
16294 * docs/design/part-TODO.txt:
16295 * docs/design/part-clocks.txt:
16296 * docs/design/part-events.txt:
16297 * docs/design/part-gstbin.txt:
16298 * docs/design/part-gstelement.txt:
16299 * docs/design/part-gstpipeline.txt:
16300 * docs/design/part-live-source.txt:
16301 * docs/design/part-messages.txt:
16302 * docs/design/part-overview.txt:
16303 * docs/design/part-states.txt:
16306 2005-10-08 Wim Taymans <wim@fluendo.com>
16310 Fix event quark registration.
16311 Add some space between events so we can insert them in the
16314 2005-10-08 Wim Taymans <wim@fluendo.com>
16316 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16317 (gst_base_sink_handle_buffer):
16318 Better log message.
16321 * gst/gstelement.h:
16324 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16325 (gst_queue_set_property), (gst_queue_get_property):
16327 Remove old unused properties.
16329 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16330 * docs/gst/gstreamer-sections.txt:
16331 * gst/gstmessage.c:
16332 * gst/gstmessage.h:
16333 * gst/gstminiobject.c:
16334 * gst/gstminiobject.h:
16338 lots of new docs and doc fixes
16340 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16342 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16344 * gst/gstregistry.c: (gst_registry_lookup_locked),
16345 (gst_registry_scan_path_level):
16346 * gst/gstregistryxml.c: (load_plugin):
16347 Only ever load one plugin for a given plugin basename.
16348 This ensures correct overriding of GST_PLUGIN_PATH over
16349 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16350 system installed plugins.
16352 2005-10-08 Wim Taymans <wim@fluendo.com>
16354 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16355 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16356 Prepare for doing QOS.
16358 2005-10-08 Wim Taymans <wim@fluendo.com>
16360 * check/gst/gstbin.c: (GST_START_TEST):
16361 * check/pipelines/cleanup.c: (GST_START_TEST):
16362 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16363 Allow new clock message too.
16365 2005-10-08 Wim Taymans <wim@fluendo.com>
16367 * gst/gstmessage.c: (gst_message_new_error),
16368 (gst_message_new_warning), (gst_message_new_tag),
16369 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16370 (gst_message_new_clock_lost), (gst_message_new_new_clock),
16371 (gst_message_new_segment_start), (gst_message_new_segment_done),
16372 (gst_message_parse_state_changed),
16373 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16374 (gst_message_parse_new_clock):
16375 * gst/gstmessage.h:
16376 Also carry the clock in question.
16378 2005-10-08 Wim Taymans <wim@fluendo.com>
16380 * gst/gstmessage.c: (gst_message_new_custom),
16381 (gst_message_new_eos), (gst_message_new_error),
16382 (gst_message_new_warning), (gst_message_new_tag),
16383 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16384 (gst_message_new_new_clock), (gst_message_new_segment_start),
16385 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16386 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16387 * gst/gstmessage.h:
16389 Added clock related messages.
16391 * gst/gstpipeline.c: (gst_pipeline_change_state):
16392 Post message when the clock changed.
16394 * tools/gst-launch.c: (event_loop):
16397 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
16399 * tools/gst-inspect.c: (print_element_properties_info):
16400 Can't pass NULL strings to g_print() on windows.
16402 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16404 * docs/Makefile.am:
16405 * docs/gst/Makefile.am:
16406 * docs/gst/gstreamer-docs.sgml:
16407 * docs/gst/running.xml:
16408 * docs/version.entities.in:
16409 add a chapter on running GStreamer.
16410 document GST_DEBUG and GST_PLUGIN* env vars
16412 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16417 remove PLUGINS_BUILDDIR stuff
16418 * gst/gst.c: (init_post):
16419 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16421 remove, it was condescending and not needed
16423 2005-10-08 Wim Taymans <wim@fluendo.com>
16425 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16426 (gst_base_sink_handle_object), (gst_base_sink_event),
16427 (gst_base_sink_wait), (gst_base_sink_handle_event),
16428 (gst_base_sink_change_state):
16429 * gst/base/gstbasesink.h:
16430 Repost EOS message while going to PLAYING if still EOS.
16431 Make sure that when receiving a FLUSH_START we don't attempt
16432 to sync on the clock anymore.
16434 2005-10-08 Wim Taymans <wim@fluendo.com>
16436 * tools/gst-launch.c: (event_loop):
16437 Better message printout.
16439 2005-10-08 Wim Taymans <wim@fluendo.com>
16441 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16442 (gst_bin_child_proxy_get_children_count):
16443 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16444 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16445 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16446 (gst_child_proxy_set_valist):
16447 * gst/parse/grammar.y:
16448 Make ChildProxy threadsafe and fix mem leaks.
16450 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16452 * gst/gst.c: (init_post):
16453 debug the GST_PLUGIN_ env vars
16455 2005-10-08 Wim Taymans <wim@fluendo.com>
16457 * check/gst/gstbin.c: (GST_START_TEST):
16458 * check/gst/gstmessage.c: (GST_START_TEST):
16459 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16460 * gst/gstelement.c: (gst_element_commit_state),
16461 (gst_element_lost_state):
16462 * gst/gstmessage.c: (gst_message_new_state_changed),
16463 (gst_message_parse_state_changed):
16464 * gst/gstmessage.h:
16465 * tools/gst-launch.c: (event_loop):
16466 Added extra field to STATE_CHANGE message with the pending
16467 state, which will be different from the new state soon.
16469 2005-10-08 Wim Taymans <wim@fluendo.com>
16471 * gst/gstbus.c: (gst_bus_pop):
16473 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16474 Small cleanups and doc updates.
16476 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16478 * gst/gst.c: (init_pre):
16479 * gst/gstbin.c: (gst_bin_add_func):
16480 log distributing clocks and base time
16481 * gst/gstregistry.c: (gst_registry_add_plugin),
16482 (gst_registry_scan_path_level), (gst_registry_scan_path):
16483 clean up the debugging output a little
16484 * gst/gstutils.c: (gst_element_state_get_name):
16485 warn about a memleak (I've actually seen this be used, though
16486 it was probably a bug)
16488 2005-10-07 Wim Taymans <wim@fluendo.com>
16490 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16491 (gst_base_src_init), (gst_base_src_default_newsegment),
16492 (gst_base_src_newsegment), (gst_base_src_do_seek),
16493 (gst_base_src_loop), (gst_base_src_start):
16494 * gst/base/gstbasesrc.h:
16495 Make the newsegment event customizable by subclasses.
16497 2005-10-07 Wim Taymans <wim@fluendo.com>
16499 * gst/gstevent.c: (gst_event_new_buffersize),
16500 (gst_event_parse_buffersize):
16502 New event for future idea.
16504 2005-10-07 Andy Wingo <wingo@pobox.com>
16506 * gst/gstelement.c (gst_element_post_message): Doc update.
16508 * docs/gst/gstreamer-sections.txt: Update.
16510 * gst/gstmessage.c (gst_message_new_application): Made into a
16511 function like honest API calls.
16512 (gst_message_new_element): New message type.
16514 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16516 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16517 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16520 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16521 NO_PREROLL from gst_element_change_state to fall through.
16523 2005-10-07 Wim Taymans <wim@fluendo.com>
16525 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16526 (gst_ghost_pad_do_activate_push):
16527 Activating a ghostpad with no internal pad in push mode
16530 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16533 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16534 Fixes compilation on Windows.
16536 2005-10-07 Michael Smith <msmith@fluendo.com>
16538 * tools/gst-inspect.c:
16539 Print out feature and plugin count at the end when printing out
16542 2005-10-04 Michael Smith <msmith@fluendo.com>
16544 * gst/gsterror.c: (_gst_stream_errors_init):
16545 Add another error string used in a few existing plugins.
16548 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16549 * tools/gst-inspect.c: (print_element_info):
16550 When a feature disappears from a plugin (and the feature exists in
16551 the cached registry file), things went horribly wrong. This isn't a
16552 complete fix, we should actually be removing the 'missing' features
16553 from the features list when we load the actual plugin. That's not
16556 2005-10-04 Johan Dahlin <johan@gnome.org>
16558 * check/gst/gstiterator.c: (GST_START_TEST):
16559 * gst/gstbin.c: (gst_bin_iterate_elements),
16560 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16561 * gst/gstelement.c: (gst_element_iterate_pads):
16562 * gst/gstformat.c: (gst_format_iterate_definitions):
16563 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16564 (gst_iterator_new_list), (gst_iterator_filter):
16565 * gst/gstiterator.h:
16566 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16567 Add a GType to GstIterator, update callsites and tests.
16569 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16571 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16572 give events a chance to be handled by event probes when the pad
16575 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16577 * gst/gstevent.c: (gst_event_type_get_name),
16578 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16580 add string representations for event types
16582 2005-10-06 Wim Taymans <wim@fluendo.com>
16584 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16585 Don't use NULL pointers.
16587 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16589 * gst/gst_private.h:
16591 * gst/gstelement.c:
16593 * gst/gstpluginfeature.c:
16594 widen the debug category in output to fit the biggest one we have
16595 add a bus category and use it
16596 play with the colors
16597 fix up some categories
16599 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16601 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16602 add push activation of sink ghost pads.
16603 Andye, please verify
16605 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16607 * gst/gstutils.c: (gst_element_link_pads):
16608 fix a bug in the case where neither element has a pad
16609 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16610 add a test for that case
16612 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16614 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16615 emit have-data before checking for peers. This allows
16616 for probe handlers to connect elements. This helps autopluggers.
16617 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16619 add six checks, linked/unlinked with no/true/false probe
16621 2005-10-04 Wim Taymans <wim@fluendo.com>
16623 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16624 (gst_fake_sink_event), (gst_fake_sink_preroll),
16625 (gst_fake_sink_render), (gst_fake_sink_change_state):
16626 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16627 (gst_fake_src_get_property), (gst_fake_src_create),
16628 (gst_fake_src_stop):
16629 * gst/elements/gstidentity.c: (gst_identity_stop):
16630 Protect last_message with lock.
16632 2005-10-04 Edward Hervey <edward@fluendo.com>
16635 Added precision in the comments for GST_FORMAT_DEFAULT
16637 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16639 * tools/gst-launch.c: (main):
16640 Don't try to run erroneous pipelines.
16642 2005-10-04 Julien MOUTTE <julien@moutte.net>
16644 * gst/gstbus.c: We don't need this header.
16646 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16649 back to development
16651 === release 0.9.3 ===
16653 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16657 Releasing 0.9.3, "Unregistered"
16659 2005-10-03 Andy Wingo <wingo@pobox.com>
16661 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16662 whereby calling a pad's activatepush() function can start a thread
16663 that starts to push or pull before the pad gets the FLUSHING flag
16664 unset. Hack around it by holding the stream lock until the flag is
16665 set. Need to replace this with a proper solution. Together with
16666 the ghost pad fixes, this fixes mp3 playing/tagreading.
16668 * docs/design/part-gstghostpad.txt: Add a note about activation of
16669 proxy pads outside of ghost pads.
16671 * gst/gstghostpad.c: Implement the ghost pad activation design.
16673 2005-10-02 Andy Wingo <wingo@pobox.com>
16675 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16676 It is volatile, after all.
16678 * docs/design/part-gstghostpad.txt: Flesh out activation with
16681 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16684 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16687 Fix (unused) AM_CONDITIONAL tests.
16689 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16691 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16693 * gst/gstutils.c: (gst_pad_query_convert):
16694 Add assertion that makes sure src_val is >=0, just like
16695 gst_query_new_convert() has. (#315895)
16697 2005-09-30 Edward Hervey <edward@fluendo.com>
16699 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16700 Let's not iterate pads we're not interested in, it avoids getting
16701 sky-high refcounts on sinkpad.
16703 2005-09-30 Wim Taymans <wim@fluendo.com>
16705 * gst/gstelement.c: (gst_element_set_state),
16706 (gst_element_change_state):
16707 Small tweak, element in ASYNC remains ASYNC.
16709 2005-09-30 Wim Taymans <wim@fluendo.com>
16711 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16712 Only error is an error.
16714 * gst/gstbin.c: (gst_bin_change_state):
16717 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16718 Also call pad_block in pad alloc.
16720 * gst/gstutils.c: (gst_flow_get_name):
16723 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16725 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16726 (gst_base_src_get_range):
16727 Fix documentation typos. Add some more debug info.
16729 2005-09-29 David Schleef <ds@schleef.org>
16731 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16732 more end-user friendly.
16733 * tools/gst-inspect.c: (main): Check if command-line argument is
16734 a file and attempt to load that file as a plugin.
16736 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16738 * check/gst/gstbin.c:
16739 * check/states/sinks.c:
16740 fix tests for the new warning
16741 * check/gst/gstpipeline.c:
16742 add a test for pipeline and bus interaction
16743 * gst/gstelement.c:
16744 elements should be NULL if they get disposed; add a warning if not
16746 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16749 for 2.6 refcounting, make debug log more correct by printing
16750 the actual refcounts at the time of swap (Wim)
16752 2005-09-29 Andy Wingo <wingo@pobox.com>
16754 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16755 removes signal watches previously added via
16756 gst_bus_add_signal_watch.
16757 (gst_bus_add_signal_watch): Don't return the source id, just store
16758 it on the bus if there wasn't an id already.
16760 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16761 add_signal_watch and remove_signal_watch.
16763 2005-09-29 Edward Hervey <edward@fluendo.com>
16765 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16766 Better if we actually iterate the list :)
16768 2005-09-29 Wim Taymans <wim@fluendo.com>
16770 * check/gst/gstbin.c: (GST_START_TEST):
16771 Change for new bus API.
16773 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16774 (send_messages), (GST_START_TEST), (gstbus_suite):
16775 Change for new bus signal API.
16777 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16778 (gst_bus_source_prepare), (gst_bus_source_check),
16779 (gst_bus_create_watch), (gst_bus_add_watch_full),
16780 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16781 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16783 Remove support for multiple GSources operating on different
16784 message types as it is too complex and unneeded when using
16786 Added support for receiving signals from the bus.
16788 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16790 * docs/libs/tmpl/gstdataprotocol.sgml:
16791 * docs/manual/advanced-dataaccess.xml:
16792 * gst/elements/gstcapsfilter.c:
16794 rename filter-caps to caps property
16796 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16798 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16799 More robust fraction string parsing.
16801 * docs/pwg/appendix-porting.xml:
16802 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16804 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16806 * gst/gstcaps.c: (gst_caps_do_simplify):
16807 Thou shalt not free a structure and then continue using it
16808 in the next loop iteration.
16810 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16812 Add test case for caps simplification.
16814 2005-09-29 Wim Taymans <wim@fluendo.com>
16816 * check/gst/gstbin.c: (GST_START_TEST):
16819 2005-09-29 Wim Taymans <wim@fluendo.com>
16821 * check/gst/gstbin.c: (GST_START_TEST):
16824 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16825 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16826 (find_element), (gst_bin_sort_iterator_next),
16827 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16828 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16829 (gst_bin_change_state), (gst_bin_dispose):
16830 A bin does not have a bus, it gets the bus from the parent.
16832 * gst/gstelement.c: (gst_element_requires_clock),
16833 (gst_element_provides_clock), (gst_element_is_indexable),
16834 (gst_element_is_locked_state), (gst_element_change_state),
16835 (gst_element_set_bus_func):
16838 * gst/gstpipeline.c: (gst_pipeline_class_init),
16839 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16840 The pipeline provides a bus.
16842 2005-09-28 Johan Dahlin <johan@gnome.org>
16844 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16845 gst_structure_get_enum instead of gst_structure_get_int
16847 * gst/gststructure.c (gst_structure_get_enum): Impl.
16849 * gst/gststructure.h (gst_structure_get_enum): Add
16851 * docs/gst/gstreamer-sections.txt: Ditto
16853 * gst/gstmessage.c (gst_message_new_state_changed): Use
16854 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16855 which does introspection.
16856 Reviewed by Christian Schaller
16858 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16860 * gst/gstinfo.c: (gst_debug_log_default):
16861 don't do dummy g_strdup()s
16862 * libs/gst/controller/gstcontroller.c:
16863 (on_object_controlled_property_changed),
16864 (gst_controlled_property_new), (gst_controller_new_valist),
16865 (gst_controller_new_list),
16866 (gst_controller_remove_properties_valist), (gst_controller_set),
16867 (gst_controller_get), (gst_controller_sync_values),
16868 (gst_controller_get_value_array), (_gst_controller_class_init),
16869 (gst_controller_get_type):
16870 * libs/gst/controller/gstcontroller.h:
16871 * libs/gst/controller/gstinterpolation.c:
16872 (gst_controlled_property_find_timed_value_node):
16873 convert // to /**/ comments
16875 2005-09-28 Wim Taymans <wim@fluendo.com>
16877 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16878 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16879 (gst_bus_sync_signal_handler):
16881 Added async-message and sync-message signals to the bus.
16882 Added helper BusFunc to emit signals for all posted messages.
16884 * gst/gstmessage.c: (gst_message_type_get_name),
16885 (gst_message_type_to_quark), (gst_message_get_type):
16886 * gst/gstmessage.h:
16887 Register quarks for message names.
16889 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16891 * docs/libs/gstreamer-libs-sections.txt:
16892 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16893 (gst_controller_new_list):
16894 * libs/gst/controller/gstcontroller.h:
16895 added another constructor for language bindings
16897 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16899 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16903 * gst/gstinfo.c: (_gst_debug_init):
16904 slightly more readable color for refcount debugging
16906 2005-09-28 Wim Taymans <wim@fluendo.com>
16908 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16909 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16910 (find_element), (gst_bin_sort_iterator_next),
16911 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16912 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16913 (gst_bin_change_state), (gst_bin_dispose):
16914 Small doc fixes. get_clock -> provide_clock.
16916 * gst/gstelement.c: (gst_element_class_init),
16917 (gst_element_provides_clock), (gst_element_provide_clock),
16918 (gst_element_get_clock), (gst_element_commit_state),
16919 (gst_element_lost_state):
16920 * gst/gstelement.h:
16921 Make get/set_clock() symetric. Add provide_clock vmethod since
16922 that is actually what this function does.
16924 * gst/gstpipeline.c: (gst_pipeline_class_init),
16925 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16926 (gst_pipeline_get_clock):
16927 get_clock -> provide_clock.
16929 2005-09-28 Andy Wingo <wingo@pobox.com>
16931 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16932 lieu of real docs...
16934 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16936 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16938 * gst/elements/gstcapsfilter.c:
16939 * gst/elements/gstfakesink.c:
16940 * gst/elements/gstfakesrc.c:
16941 * gst/elements/gstfdsink.c:
16942 * gst/elements/gstfdsrc.c:
16943 * gst/elements/gstfilesink.c:
16944 * gst/elements/gstfilesrc.c:
16945 * gst/elements/gstidentity.c:
16946 * gst/elements/gsttee.c:
16947 * gst/elements/gsttypefindelement.c:
16948 Make element details static.
16950 2005-09-28 Wim Taymans <wim@fluendo.com>
16952 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16953 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16954 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16955 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16956 (gst_bin_change_state), (gst_bin_dispose):
16957 Some documentation updates.
16958 Clean up dispose handlers.
16960 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16961 * gst/gstpad.c: (gst_pad_dispose):
16962 Clean up dispose handler.
16964 * gst/gstpipeline.c: (gst_pipeline_change_state):
16965 Removed spurious UNLOCK.
16967 2005-09-27 Stefan Kost <ensonic@users.sf.net>
16969 * docs/gst/gstreamer-sections.txt:
16970 * gst/base/gstbasesrc.h:
16971 * gst/gstelement.h:
16975 * gst/gstpipeline.c:
16976 * gst/gstpipeline.h:
16979 added two new functions to the docs
16980 documents all undocumented GstXXXFlags
16981 completed some incomplete docs
16983 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
16985 * gst/gstbin.c: (gst_bin_dispose):
16986 * gst/gstelement.c: (gst_element_dispose):
16987 remove now useless and leaky resurrection code in dispose
16988 * gst/base/gstbasesrc.c: (gst_base_src_init):
16989 * gst/gstelementfactory.c: (gst_element_factory_create):
16990 * gst/gstobject.c: (gst_object_set_parent):
16993 2005-09-27 Wim Taymans <wim@fluendo.com>
16995 * docs/design/part-TODO.txt:
16998 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16999 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17000 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17001 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17002 (gst_bin_change_state):
17003 * gst/gstelement.h:
17004 Remove element variable, we keep element info in the iterator now.
17006 2005-09-27 Andy Wingo <wingo@pobox.com>
17008 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17011 2005-09-27 Wim Taymans <wim@fluendo.com>
17013 * check/gst/gstbin.c: (GST_START_TEST):
17014 Enable check that works now.
17016 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17017 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17018 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17019 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17020 (gst_bin_change_state):
17022 Redid the state change algorithm using a topological sort algo.
17023 Handles all cases correctly.
17024 Exposed iterator for state change order.
17026 * gst/gstelement.h:
17027 Temp storage for state changes. Need to get rid of this soon.
17029 2005-09-27 Wim Taymans <wim@fluendo.com>
17031 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17032 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17033 (link_fold_func), (gst_pad_proxy_setcaps):
17034 Leak fixes, the fold functions need to unref the passed object and
17035 _get_parent_*() returns ref to parent.
17037 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17039 * check/gst/gstbuffer.c: (test_make_writable):
17040 Plug leak in test case and fix 'make check-valgrind'
17042 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17044 * gst/gstbuffer.c: (gst_subbuffer_init):
17045 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17046 works correctly in all circumstances (we could have just copied
17047 the parent buffer's readonly flag, but conceptually it seems
17048 cleaner to mark all subbuffers as read-only). (based on patch
17049 by Alessandro Decina, #314710).
17051 * check/gst/gstbuffer.c: (create_read_only_buffer),
17052 (test_make_writable), (test_subbuffer_make_writable),
17054 Add some tests for gst_buffer_make_writable().
17056 2005-09-27 Wim Taymans <wim@fluendo.com>
17058 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17059 use gst_object_has_ancestor().
17061 * gst/gstobject.c: (gst_object_has_ancestor):
17063 gst_object_has_ancestor() copied from gstbin.c as it is a
17066 * tests/instantiate/create.c: (create_all_elements):
17067 * tests/lat.c: (handoff_src), (handoff_sink):
17068 * tests/sched/runxml.c: (main):
17069 * tests/seeking/seeking1.c: (main):
17070 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17072 Fix compilation of some tests.
17074 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17077 Remove comment. GST_TYPE_G_ERROR is here to stay,
17078 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17079 (#316961, #300610).
17081 2005-09-26 Wim Taymans <wim@fluendo.com>
17083 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17084 Added check that shows error in state change order.
17086 2005-09-26 Wim Taymans <wim@fluendo.com>
17088 * gst/gstbin.c: (gst_bin_change_state):
17089 Make state change function use 3 queues again, we were
17090 adding elements in the wrong order.
17092 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17095 * gst/gstpad.c: (gst_pad_dispose):
17096 Added some debug info first.
17098 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17100 * docs/design/draft-push-pull.txt:
17101 * docs/design/part-events.txt:
17102 * docs/design/part-overview.txt:
17103 * docs/design/part-scheduling.txt:
17104 Replace all _pull_region() with _pull_range()
17106 2005-09-26 Andy Wingo <wingo@pobox.com>
17108 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17110 * check/gst-libs/controller.c: Update for controller api change.
17113 * tests/Makefile.am:
17114 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17115 over by GLib bug 118439.
17117 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17118 routines to a function.
17120 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17122 * libs/gst/controller/gsthelper.c:
17123 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17124 (gst_object_sync_values): Renamed from sink_values. Ugh.
17126 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17128 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17129 Renamed from controller_key, as it is exported.
17131 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17133 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17138 * gst/gstpadtemplate.h:
17141 * gst/gstqueryutils.c:
17142 * gst/gstqueryutils.h:
17143 remove queryutils headers after moving the two used functions
17144 to gstquery. also fixes build problem for gstsiddec
17146 2005-09-26 Michael Smith <msmith@fluendo.com>
17148 * tools/gst-launch.1.in:
17149 Correct documentation in manpage of debug syntax
17151 2005-09-26 Wim Taymans <wim@fluendo.com>
17153 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17154 (gst_base_src_is_seekable), (gst_base_src_change_state):
17155 Some more debugging info.
17157 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17159 * docs/gst/gstreamer-sections.txt:
17160 * gst/base/gstbasetransform.h:
17164 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17166 * docs/gst/.cvsignore:
17167 * docs/gst/tmpl/.cvsignore:
17168 * docs/gst/tmpl/gstpipeline.sgml:
17169 * docs/gst/tmpl/gstplugin.sgml:
17170 * gst/gstpipeline.c:
17173 inlined the last two docs files
17174 removed the tmpl directory from cvs (no more conflicts here!)
17176 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17178 * docs/gst/gstreamer-sections.txt:
17179 * docs/gst/tmpl/.cvsignore:
17180 * docs/gst/tmpl/gstpad.sgml:
17181 * docs/gst/tmpl/gstpadtemplate.sgml:
17183 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17184 (gst_pad_finalize), (gst_pad_set_pad_template):
17186 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17187 (gst_pad_template_class_init), (gst_pad_template_init),
17188 (gst_pad_template_dispose), (name_is_valid),
17189 (gst_static_pad_template_get), (gst_pad_template_new),
17190 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17191 (gst_pad_template_pad_created):
17192 * gst/gstpadtemplate.h:
17193 inlined two more docs
17194 factored gstpadtemplate out of gstpad
17196 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17198 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17199 (test_children_state_change_order_semi_sink):
17200 Fix test case: we can't rely on a fixed state change order when
17201 going from READY => PAUSED because the sink might commit its
17202 new state first when the first buffer created by the source
17203 reaches the sink before the source has finished its change state.
17204 (Test case still fails at times, see #316856, comment 5 onwards)
17206 2005-09-24 Wim Taymans <wim@fluendo.com>
17208 * docs/design/part-events.txt:
17209 * docs/design/part-gstbus.txt:
17210 * docs/design/part-gstpipeline.txt:
17211 * docs/design/part-messages.txt:
17212 * docs/design/part-overview.txt:
17213 * docs/design/part-segments.txt:
17217 * gst/gstelement.c:
17220 * gst/gstiterator.c:
17221 Various documentation updates.
17223 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17226 Well, that's embarassing. Luckily we weren't using
17227 GST_CLOCK_DIFF anywhere.
17229 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17231 * common/gtk-doc.mak:
17232 don't fail on building XML, FC4 slave shows a bunch of doc
17233 missing bits that I don't get
17235 * gst/gstpipeline.c:
17236 * gst/gststructure.c:
17239 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17241 * docs/design/part-gstbin.txt:
17242 * docs/design/part-gstbus.txt:
17244 Add blurb about how the bus goes into flushing mode and
17245 drops all messages when its bin goes from READY into NULL
17248 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17250 * docs/gst/gstreamer-sections.txt:
17251 * gst/gststructure.c: (gst_structure_get_clock_time):
17252 * gst/gststructure.h:
17253 add a method to get a GstClockTime out of a structure
17255 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17257 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17258 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17259 Added test to check state change order in bins (can still be made
17260 to fail here under heavy disk load; bails out with 'Push on pad
17261 fakesink:sink0, but it was not activated in push mode').
17263 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17264 Fix state change order when there is only a semi sink (#316856)
17266 * gst/gstbus.c: (gst_bus_class_init):
17267 Use _class_peek_parent(), not _class_ref(); fix docs to say
17268 'default main context' instead of 'mainloop' where that is
17271 * gst/gstelement.c: (gst_element_commit_state),
17272 (gst_element_set_state):
17273 Fix typos in debug messages
17275 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17278 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17279 * gst/gstpluginfeature.c:
17281 various doc updates
17282 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17283 change an assert into an error until it gets fixed properly
17285 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17287 * docs/gst/gstreamer-sections.txt:
17288 * docs/gst/tmpl/.cvsignore:
17289 * docs/gst/tmpl/gstelement.sgml:
17290 * docs/gst/tmpl/gstinfo.sgml:
17291 * docs/gst/tmpl/gstobject.sgml:
17292 * gst/gstelement.c:
17293 * gst/gstelement.h:
17296 * gst/gstobject.c: (gst_object_class_init):
17298 inlined 3 more biiiig doc files and added some missing docs on the fly
17300 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17302 * check/gst/.cvsignore:
17303 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17304 * gst/gstregistryxml.c: (load_plugin),
17305 (gst_registry_xml_save_plugin):
17306 put back source in registry. add checks for find_plugin.
17307 * testsuite/states/bin.c: (assert_state), (empty_bin),
17308 (test_adding_one_element), (main):
17309 * testsuite/states/locked.c: (main):
17310 some compile/run fixes
17312 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17314 * check/gst/gstvalue.c: (GST_START_TEST):
17315 fix leaks in the test itself
17317 2005-09-22 Wim Taymans <wim@fluendo.com>
17319 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17320 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17321 (gst_base_sink_query):
17322 Prepare for more accurate position reporting and query
17325 * gst/gstelement.c: (gst_element_send_event),
17326 (gst_element_set_state):
17329 2005-09-22 Wim Taymans <wim@fluendo.com>
17331 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17332 (gst_query_parse_segment):
17334 More documentation.
17335 Add segment query for future use.
17337 2005-09-22 Wim Taymans <wim@fluendo.com>
17339 * gst/gstbin.c: (gst_bin_add_func):
17340 Some more debug info.
17342 * gst/gstelement.c: (gst_element_send_event):
17343 Simplify send_event
17345 * gst/gstelement.h:
17346 Don't know how flags got broken.
17351 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17353 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17354 Add simplistic test suite for GST_TYPE_DATE serialisation and
17357 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17359 * docs/gst/gstreamer-sections.txt:
17360 * gst/gststructure.c: (gst_structure_set_valist),
17361 (gst_structure_get_date):
17362 * gst/gststructure.h:
17363 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17364 (gst_date_copy), (gst_value_compare_date),
17365 (gst_value_serialize_date), (gst_value_deserialize_date),
17366 (gst_value_transform_date_string),
17367 (gst_value_transform_string_date), (_gst_value_initialize):
17369 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17370 bunch of utility functions along with a hack that checks that
17371 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17372 is required. Part of the grand scheme in #170777.
17374 2005-09-22 Andy Wingo <wingo@pobox.com>
17376 * gst/gstconfig.h.in: Psych out gtk-doc.
17378 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17380 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17382 * tools/gst-inspect.c (print_element_list): Plug some
17383 inconsequential leaks.
17385 * gst/gstregistry.c (gst_registry_get_default): Doc.
17387 * check/gst/gstplugin.c:
17388 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17389 * gst/gstelementfactory.c (gst_element_factory_create):
17390 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17393 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17394 (gst_plugin_feature_load): Doc, don't eat refs.
17396 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17397 (gst_plugin_list_free): Doc.
17398 (gst_plugin_load_file): Doc updates.
17400 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17401 accessors returning refcounted objects, return a ref.
17403 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17404 accessor for caps. IDEMPOTENCE. Oh yes.
17406 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
17408 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17410 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17411 (_gst_debug_register_funcptr):
17412 Add mutex to serialise access to the hash table with
17413 the function pointer => function name string mapping;
17414 make that hash table static scope (#316809).
17416 * gst/registries/.cvsignore:
17417 Remove left-over file.
17419 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17421 * docs/pwg/appendix-porting.xml:
17422 And something about newsegment events and caps-on-buffers to
17423 the porting guide (feel free to improve).
17425 2005-09-21 Andy Wingo <wingo@pobox.com>
17427 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17428 data and event probes on the same pad.
17429 (test_buffer_probe_once): Test that removing probes from within
17430 the probe functions works.
17432 2005-09-21 Andy Wingo <wingo@pobox.com>
17434 * check/gst/gstutils.c: New file.
17435 (test_buffer_probe_n_times): A simple buffer probe test. More to
17438 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17439 have-data::buffer, not have-data.
17440 (gst_pad_add_event_probe): Likewise for have-data::event.
17441 (gst_pad_add_data_probe): More docs. The part about 'resolving the
17442 peer' isn't quite right yet though.
17443 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
17444 (gst_pad_remove_data_probe): Change to take the guint handler_id
17445 as their arg, not the function+data, which is more glib-like.
17447 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17448 the signal emission to indicate if the data is a buffer or an
17450 (gst_pad_get_type): Initialize buffer and event quarks.
17451 (gst_pad_class_init): have-data is now a detailed signal, yes it
17454 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17456 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17457 * gst/gstutils.c: (gst_util_set_value_from_string),
17458 (gst_util_set_object_arg):
17459 Don't put functional code in g_return_if_fail() or
17460 g_return_val_if_fail() statements, otherwise things will
17461 break when G_DISABLE_CHECKS is defined during compilation.
17463 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17465 * docs/gst/tmpl/.cvsignore:
17466 * docs/gst/tmpl/gstvalue.sgml:
17469 inlied another one and added some obvious docs
17471 2005-09-21 Wim Taymans <wim@fluendo.com>
17473 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17474 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17475 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17476 (gst_fdsrc_get_property), (gst_fdsrc_create):
17477 * gst/elements/gstfdsrc.h:
17478 Properly implement fdsrc. Removed signal and timeout,
17479 better implemented somewhere else.
17481 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17483 * docs/gst/tmpl/.cvsignore:
17484 * docs/gst/tmpl/gstimplementsinterface.sgml:
17485 * gst/gstinterface.c:
17488 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17490 * docs/gst/gstreamer-sections.txt:
17491 * docs/gst/tmpl/.cvsignore:
17492 * docs/gst/tmpl/gstenumtypes.sgml:
17493 remove obsolete doc file
17495 2005-09-21 David Schleef <ds@schleef.org>
17497 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17498 little beer, fix a little leak.
17500 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17502 * docs/gst/gstreamer-docs.sgml:
17503 * docs/gst/gstreamer-sections.txt:
17504 * docs/gst/tmpl/.cvsignore:
17508 * gst/gstelement.h:
17509 * gst/gstindex.c: (gst_index_class_init):
17511 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17512 (gst_index_factory_class_init), (gst_index_factory_init),
17513 (gst_index_factory_finalize), (gst_index_factory_new),
17514 (gst_index_factory_destroy), (gst_index_factory_find),
17515 (gst_index_factory_create), (gst_index_factory_make):
17516 * gst/gstindexfactory.h:
17517 * gst/gstpluginfeature.c:
17518 * gst/gstpluginfeature.h:
17519 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17520 more docs inlined, splitted gstindex.{c,h}
17522 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17524 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17527 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17529 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17530 Set sync to FALSE by default.
17532 2005-09-20 Wim Taymans <wim@fluendo.com>
17534 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17535 (gst_base_sink_init):
17536 Make sync property settable from subclass.
17538 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17539 (gst_fake_sink_change_state):
17540 Set sync to FALSE by default.
17542 2005-09-20 Wim Taymans <wim@fluendo.com>
17544 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17545 * tools/gst-launch.c: (main):
17546 The timeout handler should have lower priority than the source
17547 so we don't timeout before popping a message with 0 timeout.
17548 Dump error messages after failed state change.
17550 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17552 * tools/gst-inspect.c: (print_element_properties_info):
17555 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17557 * check/gst/gstevent.c:
17558 * gst/elements/gstfakesink.c:
17559 * gst/elements/gstfakesink.h:
17560 remove the sync property from fakesink.
17561 has the side effect of setting sync TRUE
17562 for fakesink, which is a change. Anyone who knows how
17563 to fix this nicely in a GObject-y way, feel free.
17565 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17567 * docs/gst/gstreamer-docs.sgml:
17568 remove probe refsection
17570 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17572 * check/Makefile.am:
17573 disable valgrinding the controller test again
17574 * docs/gst/gstreamer-sections.txt:
17575 update for api-changes
17577 2005-09-20 Wim Taymans <wim@fluendo.com>
17579 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17580 (gst_base_sink_set_property), (gst_base_sink_get_property),
17581 (gst_base_sink_do_sync):
17582 * gst/base/gstbasesink.h:
17583 Added sync property to basesink to disable clock sync.
17585 2005-09-20 Andy Wingo <wingo@pobox.com>
17587 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17588 eating the caller's refcount.
17590 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17591 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17594 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17595 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17596 of GLib 2.8 public, so we can know which refcount to check in
17599 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17600 (gst_object_init): Only set the gst refcount if we're going ahead
17601 with the refcount hack.
17603 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17605 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17606 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17607 more leaks plumbed, added more debug-logging
17611 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17613 * gst/gstmessage.c:
17614 remove include of gstmemchunk.h
17616 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17618 * gst/gstclock.c: (_gst_clock_id_free):
17619 Commit from the Political Party For More Atomic CVS Commits,
17620 so that people don't waste too much of their day fishing
17621 out obvious leaks out of massive commits.
17622 Oh, and fix a pretty damn obvious leak in the memchunk
17625 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17627 * check/Makefile.am:
17628 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17629 plug mem-leak, re-add to valgrindable tests
17631 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17634 unbreak the build for those who have chronic arthritis
17635 and typing "make check" is just too taxing on the hands
17637 2005-09-20 Andy Wingo <wingo@pobox.com>
17639 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17640 really want it out, you should fix plugins at the same time.
17642 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17645 * docs/gst/gstreamer-sections.txt:
17647 added missing symbols to api docs
17648 disable ref-count hack if we have glib >= 2.8
17650 2005-09-19 David Schleef <ds@schleef.org>
17652 * docs/gst/Makefile.am: Ignore a few more internal headers
17653 * docs/gst/gstreamer-docs.sgml: Remove old sections
17654 * docs/gst/gstreamer-sections.txt: Remove old sections
17655 * docs/gst/tmpl/gstobject.sgml: update
17656 * docs/gst/tmpl/gstplugin.sgml: update
17657 * docs/gst/tmpl/gstpluginfeature.sgml: update
17658 * docs/random/ds/0.9-suggested-changes: update.
17659 * gst/Makefile.am: remove memchunk and trashstack, since they're
17661 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17662 * gst/gst.h: don't include some headers
17663 * gst/gstchildproxy.c: add gstmarshal.h
17664 * gst/gstclock.c: Don't use memchunks
17665 * gst/gstminiobject.c: Add some docs
17666 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17667 * gst/gstobject.h: same
17668 * gst/gstplugin.c: include gstmacros.h
17669 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17670 * gst/gstquery.c: don't use memchunks
17671 * gst/gstregistry.c: rename gst_registry_deinit()
17672 * gst/gstregistry.h: same
17674 2005-09-19 David Schleef <ds@schleef.org>
17676 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17677 * docs/libs/gstreamer-libs-sections.txt:
17678 * docs/libs/tmpl/gstgetbits.sgml:
17679 * docs/libs/tmpl/gstputbits.sgml:
17681 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17683 * win32/gstenumtypes.c:
17684 * win32/gstenumtypes.h:
17687 2005-09-19 Wim Taymans <wim@fluendo.com>
17689 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17690 Automatically PAUSE and RESUME a pipeline when a flushing seek
17693 2005-09-19 Andy Wingo <wingo@pobox.com>
17695 * gst/gstregistry.h: Spacing fixen.
17697 2005-09-19 Wim Taymans <wim@fluendo.com>
17699 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17700 Handle state change failure more correctly.
17702 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17704 * check/Makefile.am:
17705 * check/pipelines/cleanup.c: (run_pipeline):
17706 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17708 enable cleanup again after fixing the leak
17710 some more info on docs
17712 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17714 * check/Makefile.am:
17715 re-enable tests now that leaks are plugged
17717 * check/gst/gstbin.c:
17718 * check/gst/gstpipeline.c:
17719 add some more tests while fixing leaks
17720 * common/check.mak:
17721 make sure binaries are uptodate when valgrinding/gdbing
17723 * gst/gstelementfactory.c:
17724 remove a ref too many, and add a FIXME for when we get
17725 round to disposing of classes
17727 fix the refcounting when loading a plugin from a file and
17728 the code pretends that the pointer is the same even though
17729 of course it can change
17730 * gst/gstpluginfeature.c:
17731 unref plugins marked cached (a bit confusing as a name)
17732 as the docs state should be done
17733 various doc additions to explain refcounting
17734 * gst/gstregistry.c:
17735 * gst/gstregistryxml.c:
17738 2005-09-19 Wim Taymans <wim@fluendo.com>
17740 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17741 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17742 (send_messages), (GST_START_TEST), (gstbus_suite):
17743 * check/gst/gstpipeline.c: (GST_START_TEST):
17744 * check/pipelines/cleanup.c: (run_pipeline):
17745 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17747 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17748 (gst_bus_source_check), (gst_bus_source_dispatch),
17749 (gst_bus_create_watch), (gst_bus_add_watch_full),
17750 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17752 * tools/gst-launch.c: (event_loop):
17753 * tools/gst-md5sum.c: (event_loop):
17754 GstBusHandler -> GstBusFunc, return value has the same meaning as
17755 any other GSource (FALSE == remove source).
17756 _add_watch() and _add_watch_full() now take a MessageType mask to
17757 only handle specific types of messages.
17758 _poll() returns the GstMessage instead of the message type to avoid
17760 _have_pending() takes a MessageType mask now too.
17761 Added testsuite for multiple bus watches.
17762 Fix testsuites and applications for new bus API.
17764 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17766 * check/Makefile.am:
17767 mark a bunch of the tests as to fix until we fix them
17769 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17771 * common/check.mak:
17772 use GST_PLUGIN settings for valgrind tests as well, so we're
17773 valgrinding the correct thing
17774 * gst/gst.c: (init_post):
17777 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17779 * gst/gst.c: (init_post), (gst_deinit):
17780 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17781 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17782 * gst/gstindex.c: (gst_index_factory_class_init),
17783 (gst_index_factory_finalize):
17784 * gst/gstobject.c: (gst_object_dispose):
17785 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17786 (gst_plugin_load_file), (gst_plugin_desc_free):
17787 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17788 (gst_plugin_feature_finalize):
17789 * gst/gstregistry.c: (gst_registry_class_init),
17790 (gst_registry_init), (gst_registry_finalize),
17791 (gst_registry_get_default), (gst_registry_deinit):
17792 * gst/gstregistry.h:
17793 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17794 various cleanups and memleak plugging. make valgrind is happy now.
17796 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17798 * common/check.mak:
17799 add a check-valgrind target
17801 2005-09-18 David Schleef <ds@schleef.org>
17803 * tools/gst-inspect.c: Revert the GOption code.
17805 2005-09-17 David Schleef <ds@schleef.org>
17807 * check/Makefile.am: Fix environment variables.
17808 * check/gst/gstplugin.c: Fix for API changes.
17809 * tools/gst-inspect.c: Fix for API changes.
17810 * tools/gst-xmlinspect.c: Fix for API changes.
17811 * gst/gstelementfactory.c:
17814 * gst/gstpluginfeature.c:
17815 * gst/gstpluginfeature.h:
17816 * gst/gstregistry.c:
17817 * gst/gstregistry.h:
17818 * gst/gstregistryxml.c:
17819 * gst/gsttypefind.c:
17820 * gst/gsttypefindfactory.c:
17821 * gst/indexers/gstfileindex.c:
17822 * gst/indexers/gstmemindex.c:
17823 * gst/schedulers/Makefile.am:
17824 Change registry to keep track of both plugins and features,
17825 removing the feature tracking from plugins themselves.
17827 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17829 * check/Makefile.am:
17830 * tools/gst-register.1.in:
17831 remove gst-register
17833 2005-09-15 David Schleef <ds@schleef.org>
17835 * check/gst/gstplugin.c:
17836 * gst/gstelementfactory.c:
17838 * gst/gstpluginfeature.c:
17839 * gst/gstregistry.c:
17840 Getting tired of debugging. Disabled all the unreffing of
17841 plugins and features, which fixes the segfaults, but of
17842 course leaks like crazy. At least playbin works.
17844 2005-09-15 David Schleef <ds@schleef.org>
17846 * check/gst/gstplugin.c: (register_check_elements),
17847 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17849 * gst/elements/gsttypefindelement.c: Fix refcounting.
17850 * gst/gsttypefind.c:
17851 * gst/gsttypefindfactory.c:
17852 * gst/gsttypefindfactory.h:
17854 2005-09-15 David Schleef <ds@schleef.org>
17856 * gst/gstindex.c: get refcounting correct.
17857 * gst/gstregistry.c: Handle the case where a feature/plugin is
17860 2005-09-15 David Schleef <ds@schleef.org>
17862 * check/Makefile.am:
17863 * check/gst/gstplugin.c: Add test
17864 * gst/gstplugin.c: Fix problems noticed by testsuite
17866 * gst/gstregistry.c:
17867 * gst/gstregistry.h:
17869 2005-09-15 David Schleef <ds@schleef.org>
17871 * gst/gstplugin.c: Implement semi-decent recounting and locking
17872 in plugins and plugin features.
17874 * gst/gstpluginfeature.c:
17875 * gst/gstpluginfeature.h:
17876 * gst/gstregistry.c:
17878 2005-09-15 Michael Smith <msmith@fluendo.com>
17880 * gst/gstregistry.c: (gst_registry_get_feature_list):
17881 Implement this. Makes oggdemux work; decodebin still broken.
17883 2005-09-14 David Schleef <ds@schleef.org>
17885 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17887 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17888 * gst/check/Makefile.am:
17889 * libs/gst/controller/Makefile.am:
17890 * libs/gst/dataprotocol/Makefile.am:
17892 2005-09-14 David Schleef <ds@schleef.org>
17894 * configure.ac: Remove getbits library. Nothing uses it, and
17895 it should be in something like liboil if someone did want
17897 * libs/gst/Makefile.am:
17898 * libs/gst/getbits/Makefile.am:
17899 * libs/gst/getbits/gbtest.c:
17900 * libs/gst/getbits/getbits.c:
17901 * libs/gst/getbits/getbits.h:
17902 * libs/gst/getbits/gstgetbits_generic.c:
17903 * libs/gst/getbits/gstgetbits_i386.s:
17904 * libs/gst/getbits/gstgetbits_inl.h:
17906 2005-09-14 David Schleef <ds@schleef.org>
17908 * gst/Makefile.am: Dist glib-compat.h
17910 2005-09-14 David Schleef <ds@schleef.org>
17912 * configure.ac: Remove gst/registries, since it's no longer used.
17913 * gst/registries/Makefile.am:
17914 * gst/registries/gstlibxmlregistry.c:
17915 * gst/registries/gstlibxmlregistry.h:
17916 * gst/registries/gstxmlregistry.c:
17917 * gst/registries/gstxmlregistry.h:
17918 * gst/registries/registrytest.c:
17920 2005-09-14 David Schleef <ds@schleef.org>
17922 * gst/glib-compat.h:
17923 * gst/gstregistryxml.c:
17924 Convergence is near. Seriously.
17926 2005-09-14 David Schleef <ds@schleef.org>
17928 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17929 * gst/glib-compat.h:
17930 Attempt #4 to appease the buildbots.
17932 2005-09-14 David Schleef <ds@schleef.org>
17934 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17937 2005-09-14 David Schleef <ds@schleef.org>
17939 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17942 2005-09-14 David Schleef <ds@schleef.org>
17944 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17947 2005-09-14 David Schleef <ds@schleef.org>
17949 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17950 * gst/glib-compat.h: Add some functions that are in newer versions
17951 of glib than we care to require.
17952 * gst/gstregistryxml.c: Use them.
17954 2005-09-14 David Schleef <ds@schleef.org>
17956 * po/POTFILES.in: remove gst-register.c
17958 2005-09-14 David Schleef <ds@schleef.org>
17960 * docs/gst/gstreamer-docs.sgml:
17961 * docs/gst/gstreamer-sections.txt:
17962 * docs/gst/gstreamer.types:
17963 * docs/gst/tmpl/gstelement.sgml:
17964 * docs/gst/tmpl/gstplugin.sgml:
17965 * docs/gst/tmpl/gstpluginfeature.sgml:
17966 Documentation updates for registry changes.
17968 2005-09-14 David Schleef <ds@schleef.org>
17970 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17971 because we don't require glib-2.8.
17973 2005-09-14 David Schleef <ds@schleef.org>
17975 * gst/gstregistryxml.c: Added. Essentially moved out of the
17976 registries directory.
17978 2005-09-14 David Schleef <ds@schleef.org>
17980 * check/Makefile.am:
17981 * check/generic/states.c:
17985 * gst/gst_private.h:
17986 * gst/gstelementfactory.c:
17991 * gst/gstpluginfeature.c:
17992 * gst/gstpluginfeature.h:
17993 * gst/gstregistry.c:
17994 * gst/gstregistry.h:
17995 * gst/gstregistrypool.c: remove
17996 * gst/gstregistrypool.h: remove
17997 * gst/gsttypefind.c:
17998 * gst/gsttypefindfactory.c:
18000 * tools/Makefile.am:
18001 * tools/gst-compprep.c:
18002 * tools/gst-inspect.c:
18003 * tools/gst-register.c: remove
18004 * tools/gst-xmlinspect.c:
18005 Registry rewrite. Changes registry from being a file created
18006 by a tool into a simple cache file created automatically by
18007 libgstreamer. Removed gst-register (because it's no longer
18008 needed). Remove registry pools, because we only have one
18009 registry implementation (XML). Fix up other subsystems as
18012 2005-09-13 Michael Smith <msmith@fluendo.com>
18014 * gst/gstconfig.h.in:
18015 Don't Use windows linking attributes for MinGW. Fixes #316157
18017 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
18019 * gst/gstutils.c: (set_state_async_thread_func),
18020 (gst_element_set_state_async):
18021 Apparently people think it's better if this function doesn't
18022 try to set the state to whatever state was asked for on the first
18023 call to this function for any object. Seriously.
18025 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18027 * check/gst/gstpipeline.c: (GST_START_TEST):
18028 * docs/gst/gstreamer-sections.txt:
18029 * gst/gstutils.c: (set_state_async_thread_func),
18030 (gst_element_set_state_async):
18032 add a "gst_element_set_state_async" method that
18033 sets the state and starts a thread to make sure the state
18034 change completes as best as it can
18036 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18038 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18039 codify design+behaviour in testsuite after discussion
18041 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18043 * docs/gst/tmpl/gstelement.sgml:
18044 * docs/manual/appendix-quotes.xml:
18046 * gst/gstelement.c: (gst_element_set_state):
18049 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18051 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18052 (gst_base_transform_prepare_output_buf),
18053 (gst_base_transform_handle_buffer):
18054 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18055 (gst_capsfilter_prepare_buf):
18056 Remove the requirement for sub-classes to call the parent
18057 implementation of prepare_output_buffer with a wrapper function.
18059 * gst/gsttaglist.h:
18060 * gst/gsttagsetter.h:
18061 Fix #define wrapper
18063 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18065 * docs/gst/gstreamer-sections.txt:
18068 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18070 * docs/gst/gstreamer-sections.txt:
18071 * docs/gst/tmpl/gstelement.sgml:
18072 * docs/gst/tmpl/gstplugin.sgml:
18073 * gst/gstminiobject.c:
18075 docs now stop throwing warnings
18077 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18079 * docs/gst/gstreamer-sections.txt:
18080 * docs/gst/gstreamer.types:
18081 * docs/gst/tmpl/gstpad.sgml:
18082 * docs/gst/tmpl/gsttypes.sgml:
18083 * gst/base/gstadapter.h:
18084 * gst/base/gstbasesink.h:
18085 * gst/base/gstbasesrc.h:
18091 * gst/gstelement.h:
18093 * gst/gstmessage.h:
18095 * gst/gststructure.c:
18096 * gst/registries/gstlibxmlregistry.h:
18097 various documentation fixes
18099 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18101 * docs/gst/gstreamer-sections.txt:
18102 * docs/gst/tmpl/gstvalue.sgml:
18103 rearrange gstvalue section
18104 * gst/gstutils.c: (gst_element_state_get_name):
18106 * gst/gstvalue.c: (_gst_value_initialize):
18110 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18112 * check/gst-libs/controller.c:
18113 Header include fix.
18114 * gst/base/gstbasetransform.c:
18115 (gst_base_transform_default_prepare_buf),
18116 (gst_base_transform_handle_buffer):
18117 * gst/base/gstbasetransform.h:
18118 Some more basetransform changes and fixes to enable sub-classes
18119 that modify buffer metadata only.
18120 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18121 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18122 (gst_capsfilter_prepare_buf):
18123 If the output pad has fixed allowed caps and input buffers
18124 don't have any, set the fixed caps on outgoing buffers.
18126 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18127 * check/elements/identity.c: (GST_START_TEST):
18128 Make the error a little clearer when the test fails because
18129 identity made a copy of the buffer.
18130 * docs/gst/gstreamer-sections.txt:
18131 New symbols in gstbasetransform.h
18132 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18133 (gst_base_transform_init), (gst_base_transform_transform_size),
18134 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18135 (gst_base_transform_default_prepare_buf),
18136 (gst_base_transform_get_unit_size),
18137 (gst_base_transform_buffer_alloc),
18138 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18139 (gst_base_transform_change_state),
18140 (gst_base_transform_set_passthrough),
18141 (gst_base_transform_set_in_place),
18142 (gst_base_transform_is_in_place):
18143 * gst/base/gstbasetransform.h:
18144 Change BaseTransform to separate in_place operate from same_caps
18145 output. in_place implies that the element can perform the transform
18146 on incoming buffers in-place, even if the caps on the output are
18148 Sub-class elements can now implement special buffer allocation
18149 methods for outgoing buffers if they wish to.
18150 Big documentation addition.
18151 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18152 * gst/elements/gstelements.c:
18153 Changes for basetransform modifications.
18154 * gst/elements/Makefile.am:
18155 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18156 Compile fix. Extra debug output.
18158 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18160 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18162 add tests for valid pad naming
18163 * gst/check/gstcheck.c: (gst_check_log_message_func),
18164 (gst_check_log_critical_func):
18166 remove printing of code, it is fragile when the code contains
18167 % and the line number is enough info
18168 * gst/check/gstcheck.h:
18169 * gst/gstpad.c: (gst_pad_template_new):
18172 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18175 say what CHECK flags we use
18176 * docs/libs/gstreamer-libs.types:
18177 * libs/gst/controller/Makefile.am:
18178 * libs/gst/controller/gst-controller.c:
18179 * libs/gst/controller/gst-controller.h:
18180 * libs/gst/controller/gst-helper.c:
18181 * libs/gst/controller/gst-interpolation.c:
18182 * libs/gst/controller/gstcontroller.c:
18183 * libs/gst/controller/gsthelper.c:
18184 * libs/gst/controller/gstinterpolation.c:
18185 * tools/gst-inspect.c: (print_plugin_info):
18186 we don't use dashes in header names
18188 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18190 * check/Makefile.am:
18191 * check/gst/.cvsignore:
18192 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18193 (gst_pipeline_suite), (main):
18194 adding a test for pipelines and state changes
18195 * gst/gstutils.c: (get_state_func):
18197 * gstreamer.spec.in:
18200 2005-09-08 Michael Smith <msmith@fluendo.com>
18202 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18203 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18204 (gst_file_src_is_seekable), (gst_file_src_get_size),
18205 (gst_file_src_start):
18206 * gst/elements/gstfilesrc.h:
18207 Various fixes for unseekable, unmmapable, and non-normal files, so
18208 that fallback to read() rather than mmap() works.
18209 * gst/gstevent.c: (gst_event_new_newsegment):
18210 Allow newsegment events with segment_start == segment_end, as will
18211 correctly happen if you use filesrc on a zero-size file, for
18214 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18216 * gst/gstplugin.c: (gst_plugin_load_file):
18217 Call g_module_close when we don't load the module
18219 * gst/registries/gstlibxmlregistry.c:
18220 (gst_xml_registry_get_property):
18221 Port leak fix from 0.8
18223 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18225 * docs/gst/gstreamer-docs.sgml:
18226 * docs/gst/tmpl/.cvsignore:
18227 * docs/gst/tmpl/gsttrace.sgml:
18228 * docs/gst/tmpl/gsttrashstack.sgml:
18231 * gst/gstelement.h:
18233 * gst/gstmessage.c:
18234 * gst/gstmessage.h:
18237 * gst/gsttaginterface.c:
18238 * gst/gsttaginterface.h:
18239 * gst/gsttaglist.c:
18240 * gst/gsttaglist.h:
18241 * gst/gsttagsetter.c:
18242 * gst/gsttagsetter.h:
18245 * gst/gsttrashstack.c:
18246 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18247 inlined docs for gsttrace, gsttrashstack
18249 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18252 * gst/elements/gstbufferstore.h:
18253 * gst/elements/gsttypefindelement.c:
18254 * gst/elements/gsttypefindelement.h:
18256 * gst/gsttypefind.c:
18257 * gst/gsttypefind.h:
18258 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18259 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18260 (gst_type_find_factory_dispose),
18261 (gst_type_find_factory_unload_thyself),
18262 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18263 (gst_type_find_factory_get_caps),
18264 (gst_type_find_factory_get_extensions),
18265 (gst_type_find_factory_call_function):
18266 * gst/gsttypefindfactory.h:
18267 * gst/registries/gstlibxmlregistry.c:
18268 * gst/registries/gstxmlregistry.c:
18269 splitted gsttypefind into gsttypefind, gsttypefindfactory
18271 2005-09-07 Andy Wingo <wingo@pobox.com>
18273 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18274 condition whereby the pad's task function is entered before the
18275 pad_mode variable was set.
18277 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18279 * gst/gstpad.c: (gst_pad_alloc_buffer):
18280 Catch misbehaving pad_alloc functions that don't
18281 set up caps and do it for them.
18283 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18285 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18286 test for pipe!=NULL
18287 * docs/gst/tmpl/.cvsignore:
18288 * docs/gst/tmpl/gstmemchunk.sgml:
18289 * docs/gst/tmpl/gstparse.sgml:
18290 * docs/gst/tmpl/gsttaglist.sgml:
18291 * docs/gst/tmpl/gsttagsetter.sgml:
18292 * docs/gst/tmpl/gsttypefind.sgml:
18293 * docs/gst/tmpl/gsttypefindfactory.sgml:
18294 * gst/gstmemchunk.c:
18297 * gst/gsttaginterface.c:
18298 * gst/gsttypefind.c:
18299 * gst/gsttypefind.h:
18302 === release 0.9.2 ===
18304 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18309 releasing 0.9.2, "South"
18311 2005-09-05 Andy Wingo <wingo@pobox.com>
18313 * gst/registries/gstxmlregistry.h:
18314 * gst/registries/gstxmlregistry.c: Um... resurrect...
18316 * gst/registries/gstxmlregistry.h:
18317 * gst/registries/gstxmlregistry.c: and update to newer API.
18318 Incidentally they should be a bit faster now that they don't have
18321 2005-09-05 Andy Wingo <wingo@pobox.com>
18323 * gst/registries/gstxmlregistry.h:
18324 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18325 replaced by the libxml registry a while back
18327 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18329 * docs/gst/tmpl/gstplugin.sgml:
18330 * gst/elements/gstelements.c:
18332 * gst/gstplugin.c: (gst_plugin_register_func),
18333 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18334 (gst_plugin_get_source):
18336 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18337 (gst_xml_registry_save_plugin):
18338 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18339 (gst_xml_registry_save_plugin):
18340 * tools/gst-inspect.c: (print_plugin_info):
18341 add a "source" plugin description field, to represent the source
18342 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18343 will set it to PACKAGE, which is automake's idea of the name of
18344 the source project.
18346 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18351 * docs/Makefile.am:
18352 * docs/faq/Makefile.am:
18353 * docs/gst/tmpl/gstelement.sgml:
18354 * docs/gst/tmpl/gsttypes.sgml:
18355 * docs/htmlinstall.mak:
18356 * docs/manual/Makefile.am:
18357 * docs/pwg/Makefile.am:
18358 reorganize doc build a little
18359 split out docbook and gtk-doc stuff
18360 have two separate --enable's and enable them through autogen
18361 but disable by default in configure (to be similar to other
18363 * gstreamer.spec.in:
18364 clean up docs install
18382 translation updates
18384 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18386 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18389 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18390 (gst_fake_sink_change_state):
18391 Make state change function thread-safe.
18393 * gst/gstpad.c: (gst_pad_alloc_buffer):
18394 Set offset on generic buffer allocated by fallback.
18396 2005-09-03 Stefan Kost <ensonic@users.sf.net>
18398 * docs/gst/gstreamer-sections.txt:
18399 * docs/gst/tmpl/gstelement.sgml:
18401 * libs/gst/controller/gst-controller.c:
18402 (gst_controlled_property_set_interpolation_mode),
18403 (gst_controlled_property_new),
18404 (gst_controller_find_controlled_property):
18405 run the wingo-magic script against the docs
18407 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18409 * docs/gst/gstreamer-docs.sgml:
18410 * docs/gst/gstreamer-sections.txt:
18411 * docs/gst/tmpl/.cvsignore:
18412 * docs/gst/tmpl/gstelementdetails.sgml:
18413 * docs/gst/tmpl/gstelementfactory.sgml:
18416 * gst/gstelementfactory.c:
18417 * gst/gstelementfactory.h:
18418 merged elementdetails docs into elementfactory docs
18421 2005-09-02 Andy Wingo <wingo@pobox.com>
18423 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18424 consider this enum an enum and not a flags.
18426 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18428 * docs/gst/gstreamer-docs.sgml:
18429 * docs/gst/tmpl/.cvsignore:
18430 * docs/gst/tmpl/gstghostpad.sgml:
18431 * docs/gst/tmpl/gstiterator.sgml:
18432 * docs/gst/tmpl/gstmacros.sgml:
18433 * docs/gst/tmpl/gstrealpad.sgml:
18434 * docs/gst/tmpl/gstregistry.sgml:
18435 * docs/gst/tmpl/gstregistrypool.sgml:
18436 * docs/gst/tmpl/gststructure.sgml:
18437 * docs/gst/tmpl/gstsystemclock.sgml:
18438 * docs/gst/tmpl/gsttrace.sgml:
18439 * gst/gstghostpad.c:
18441 * gst/gstmemchunk.c:
18442 * gst/gstmemchunk.h:
18444 * gst/gstregistry.c:
18445 * gst/gstregistrypool.c:
18446 * gst/gststructure.c:
18447 * gst/gstsystemclock.c:
18450 2005-09-02 Andy Wingo <wingo@pobox.com>
18452 * gst/gstelement.h (GstState): Renamed from GstElementState,
18453 changed to be a normal enum instead of flags.
18454 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18455 munged to be GST_STATE_CHANGE_*.
18456 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18457 work with the new state representation.
18458 (GstStateChange): New enumeration of possible state transitions.
18459 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18460 (GstElementClass::change_state): Pass the GstStateChange along as
18461 an argument. Helps language bindings, so they don't have to use
18462 tricky lock-needing macros like GST_STATE_CHANGE ().
18464 * scripts/update-states (file): New script. Run it on a file to
18465 update it for state naming and API changes. Updates files in
18468 * All files updated for the new API.
18470 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
18472 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18473 * gst/gstutils.c: (gst_util_set_value_from_string),
18474 (gst_util_set_object_arg):
18475 fix a bunch of unchecked return values
18476 * tools/gst-complete.c: (main):
18477 * gstreamer.spec.in:
18480 2005-09-01 Wim Taymans <wim@fluendo.com>
18482 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18483 (gst_base_sink_event), (gst_base_sink_do_sync),
18484 (gst_base_sink_handle_event):
18485 * gst/base/gstbasesink.h:
18486 Handle newsegments more correctly.
18491 * gst/gstevent.c: (gst_event_new_newsegment):
18492 A newsegment cannot have a start_time of -1
18494 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
18496 * win32/gstenumtypes.c:
18497 * win32/gstenumtypes.h:
18500 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18502 * libs/gst/controller/gst-controller.c:
18503 (gst_controlled_property_set_interpolation_mode),
18504 (gst_controlled_property_new):
18505 fixed boolean again
18507 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
18509 * docs/faq/gst-uninstalled:
18514 * gst/gstutils.c: (gst_element_link_filtered):
18516 add gst_element_link_filtered
18518 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18520 * docs/gst/gstreamer-docs.sgml:
18521 * docs/gst/gstreamer-sections.txt:
18522 * docs/gst/tmpl/.cvsignore:
18523 * docs/gst/tmpl/gsterror.sgml:
18524 * docs/gst/tmpl/gstfilter.sgml:
18525 * docs/gst/tmpl/gsturihandler.sgml:
18526 * docs/gst/tmpl/gsturitype.sgml:
18527 * docs/gst/tmpl/gstutils.sgml:
18528 * docs/gst/tmpl/gstxml.sgml:
18533 * gst/gsturitype.c:
18536 inlined more docs, fixed double id-ref
18538 2005-08-31 Wim Taymans <wim@fluendo.com>
18540 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18541 (gst_base_transform_handle_buffer):
18542 Passthrough elements don't need the caps as they don't care.
18544 2005-08-31 Wim Taymans <wim@fluendo.com>
18546 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18547 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18548 Don't leak refcounts on buffers.
18550 2005-08-31 Wim Taymans <wim@fluendo.com>
18552 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18553 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18554 (gst_base_transform_chain), (gst_base_transform_change_state):
18555 * gst/base/gstbasetransform.h:
18556 Handle the case where we are not negotiated more gracefully.
18558 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18560 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18561 (gst_file_src_map_region):
18562 Set READONLY flag on mmap'ed buffers, otherwise
18563 gst_buffer_make_writable() won't work properly (#314708).
18565 2005-08-31 Wim Taymans <wim@fluendo.com>
18567 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18568 passthrough elements can even do inplace on non writable
18569 buffers (as they don't touch them).
18571 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18573 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18574 (gst_test_mono_source_set_property),
18575 (gst_test_mono_source_class_init), (GST_START_TEST),
18576 (gst_controller_suite):
18577 more tests (hehe I have the most)
18579 describe popping messages whenusing mulltiple sources
18580 * libs/gst/controller/gst-controller.c:
18581 (gst_controlled_property_set_interpolation_mode),
18582 (gst_controlled_property_new):
18583 * libs/gst/controller/gst-controller.h:
18584 * libs/gst/controller/gst-interpolation.c:
18585 implement boolean properties
18587 2005-08-31 Wim Taymans <wim@fluendo.com>
18589 * gst/gstminiobject.c: (gst_mini_object_ref):
18590 Cannot assert that the refcount has to be positive
18591 since a disposed object can be resurrected.
18593 2005-08-31 Wim Taymans <wim@fluendo.com>
18595 * gst/gstpad.c: (gst_pad_init):
18596 Revert change, need to first fix badly behaving
18599 2005-08-30 Wim Taymans <wim@fluendo.com>
18601 * check/elements/fakesrc.c: (setup_fakesrc):
18602 * check/elements/identity.c: (setup_identity):
18603 Activate pads before using them.
18605 2005-08-30 Wim Taymans <wim@fluendo.com>
18607 * gst/base/gstadapter.c: (gst_adapter_flush):
18608 Flushing out 0 bytes is ok for this function.
18610 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18611 no newsegment gives a warning and sets the start/stop to
18614 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18615 (gst_base_transform_set_passthrough):
18618 * gst/gstminiobject.c: (gst_mini_object_ref):
18619 Check refcount here too.
18621 * gst/gstpad.c: (gst_pad_init):
18622 Pads are initially flushing and refusing data.
18624 * gst/gstutils.c: (gst_element_link_pads_filtered):
18625 When adding a capsfilter element make sure it has the
18626 same state as the parent bin.
18628 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18630 * docs/gst/tmpl/.cvsignore:
18631 * docs/gst/tmpl/gstformat.sgml:
18632 * docs/gst/tmpl/gstversion.sgml:
18636 * gst/gstversion.h.in:
18637 more docs and two more inlined
18639 2005-08-30 Wim Taymans <wim@fluendo.com>
18641 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18642 Don't sync to clock.
18644 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18646 * docs/gst/gstreamer-sections.txt:
18647 ultral33t func10ns deserve to appear in the docs actually
18648 * docs/gst/tmpl/.cvsignore:
18649 * docs/gst/tmpl/gstcompat.sgml:
18650 * docs/gst/tmpl/gstconfig.sgml:
18651 * gst/check/gstcheck.c:
18653 * gst/gstconfig.h.in:
18656 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18658 * docs/gst/tmpl/.cvsignore:
18659 * docs/gst/tmpl/gstquery.sgml:
18660 * docs/gst/tmpl/gstutils.sgml:
18663 inlined and extended docs
18665 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18667 * check/gst-libs/controller.c: (GST_START_TEST),
18668 (gst_controller_suite):
18670 * docs/gst/tmpl/gstutils.sgml:
18671 * docs/libs/gstreamer-libs-sections.txt:
18672 * docs/libs/tmpl/gstdataprotocol.sgml:
18674 * examples/controller/audio-example.c: (main):
18675 controller example works now
18678 * tools/gst-inspect.c: (print_element_properties_info):
18679 show param spec flags
18681 2005-08-29 Andy Wingo <wingo@pobox.com>
18683 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18685 2005-08-28 Andy Wingo <wingo@pobox.com>
18687 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18688 as having two arguments instead of just one. Allows superclasses
18689 to access information on subclasses -- see the terrible for() loop
18690 in gtype.c:g_type_create_instance for the reason why. All callers
18693 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18695 * docs/design/part-messages.txt:
18697 * docs/gst/tmpl/.cvsignore:
18698 * docs/gst/tmpl/gstcaps.sgml:
18699 * docs/gst/tmpl/gstclock.sgml:
18705 * gst/gstmessage.c:
18706 added descriptions for bus and message
18707 inline caps and clock docs
18709 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18711 * gst/gstmessage.c:
18712 * gst/gstmessage.h:
18715 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18717 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18720 2005-08-26 Andy Wingo <wingo@pobox.com>
18722 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18723 element_set_state's return val.
18724 (test_2_elements): Add test that's been disabled for months.
18726 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18727 can-activate-pull properties.
18729 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18730 can-activate-pull properties. Implement is_seekable so fakesrc can
18731 operate in pull mode.
18733 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18735 (gst_base_sink_activate, gst_base_sink_activate_pull)
18736 (gst_base_sink_activate_push): Make activation mode choosing work.
18738 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18739 is right. Make pull mode work. Post an eos before pausing in pull
18741 (gst_base_sink_change_state): Pay attention to the core's
18742 change_state() return val.
18744 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18745 has-getrange properties. Cleanups.
18747 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18748 has_getrange and replace with can_activate_pull and
18751 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18752 locking comments. Remove has_loop, has_chain and replace with
18753 can_activate_pull and can_activate_push.
18755 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18758 * examples/Makefile.am:
18759 * examples/metadata/Makefile.am:
18760 * examples/metadata/read-metadata.c: (message_loop),
18761 (have_pad_handler), (make_pipeline), (print_tag), (main):
18762 Add metadata reading example that loops over a list of filenames,
18763 dumping any tags found.
18765 * gst/gstbus.c: (gst_bus_dispose):
18766 * gst/gstelement.c: (gst_element_dispose):
18767 Release a few potentially-held references in dispose.
18769 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18771 * docs/gst/tmpl/gstminiobject.sgml:
18772 do *not* add tmpl/*.sgml files to CVS!
18774 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18776 * libs/gst/bytestream/.cvsignore:
18777 * libs/gst/bytestream/Makefile.am:
18778 * libs/gst/bytestream/adapter.c:
18779 * libs/gst/bytestream/adapter.h:
18780 * libs/gst/bytestream/bytestream.c:
18781 * libs/gst/bytestream/bytestream.h:
18782 * libs/gst/bytestream/filepad.c:
18783 * libs/gst/bytestream/filepad.h:
18784 removing obsolete files
18786 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18788 * docs/gst/gstreamer-docs.sgml:
18789 * docs/libs/gstreamer-libs-docs.sgml:
18790 disabed additional index entries again, as this makes docs-gen just
18791 slow and they aren't useful yet
18792 * docs/libs/gstreamer-libs-sections.txt:
18793 little -section.txt cleanup for libs
18795 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18798 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18799 fix up some debugging
18800 (gst_base_transform_get_unit_size),
18801 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18802 (gst_base_transform_handle_buffer):
18803 * gst/base/gstbasetransform.h:
18804 handle and store timed NEWSEGMENT events so that subclasses that
18805 calculate time by counting samples have a segment_start time they
18806 need to add to their timestamps - see audioresample
18808 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18811 removed ';' from the end of macro defs
18812 * docs/gst/gstreamer-docs.sgml:
18813 * docs/gst/gstreamer-sections.txt:
18814 * docs/gst/tmpl/.cvsignore:
18816 * gst/gstelement.c: (gst_element_class_init),
18817 (gst_element_set_state), (activate_pads),
18818 (gst_element_save_thyself):
18819 * gst/gstevent.c: (gst_event_new_newsegment):
18821 * gst/gstiterator.c:
18822 * gst/gstiterator.h:
18825 * gst/gstutils.c: (gst_pad_query_convert):
18827 fixed parameter name mismatches between source, header and docs
18828 added some more docs, resolved the last batch of unused elements in
18829 docs (now someone needs to doc them)
18831 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18833 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18834 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18835 don't walk through the plugins backwards. Where is all this
18836 reversed logic coming from ?
18838 2005-08-25 Wim Taymans <wim@fluendo.com>
18840 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18841 (gst_base_transform_transform_size),
18842 (gst_base_transform_configure_caps),
18843 (gst_base_transform_get_unit_size),
18844 (gst_base_transform_buffer_alloc),
18845 (gst_base_transform_change_state):
18846 * gst/base/gstbasetransform.h:
18847 Cache caps unit_size.
18848 Make sure we cannot negotiate up and downstream at the
18851 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18853 * gst/gst.c: (init_pre), (init_post):
18854 register the installed plugin path after the env var
18855 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18856 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18857 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18858 directories, so the tests can prefer uninstalled over installed
18860 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18862 * gst/base/gstbasetransform.h:
18867 2005-08-25 Wim Taymans <wim@fluendo.com>
18869 * gst/gstbin.c: (bin_bus_handler):
18870 Be a bit more conservative about the posted message.
18872 * gst/gstbus.c: (gst_bus_post):
18873 Some cleanups, warn wrong return values.
18875 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18877 * check/gst/gstbin.c: (GST_START_TEST):
18878 * gst/gstbin.c: (bin_bus_handler):
18879 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18880 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18881 (gst_message_new_warning), (gst_message_new_tag),
18882 (gst_message_new_state_changed), (gst_message_new_segment_start),
18883 (gst_message_new_segment_done), (gst_message_new_custom):
18884 * gst/gstmessage.h:
18885 * tools/gst-launch.c: (event_loop):
18886 * tools/gst-md5sum.c: (event_loop):
18887 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18889 2005-08-25 Wim Taymans <wim@fluendo.com>
18891 * check/generic/states.c: (GST_START_TEST):
18892 Cleanup can be done at the end.
18894 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18895 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18896 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18897 Oh boy.. Thanks for finding this, Thomas.
18899 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18901 * docs/gst/gstreamer.types:
18902 added missing types
18904 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18906 * docs/gst/gstreamer-docs.sgml:
18907 * docs/gst/gstreamer-sections.txt:
18908 * docs/gst/tmpl/.cvsignore:
18910 * gst/gstiterator.c:
18912 * gst/registries/gstxmlregistry.h:
18913 added missing classes and symbols (123 more to go)
18914 removed removed symbols from section file
18915 fixed many doc-comments
18917 2005-08-24 Wim Taymans <wim@fluendo.com>
18919 * check/generic/states.c: (GST_START_TEST):
18920 Make sure all tasks are stopped.
18922 * check/gst/gstbin.c: (GST_START_TEST):
18923 Unref after usage for proper valgrinding.
18925 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18926 Really wait for the task to stop before destroying the
18929 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18930 (gst_queue_src_activate_push):
18931 Small cleanups. Don't stop the task when we did not start
18934 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18935 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18936 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18939 Protect the stream lock with the object lock.
18940 Disallow setting the stream lock when running.
18941 Add cleanup_all to wait for the threadpool to finish.
18942 Remove code to autoallocate a mutex if none was provided.
18943 Add _join() to wait for a task to stop.
18944 Protect the thread pool with a global lock.
18946 2005-08-24 Wim Taymans <wim@fluendo.com>
18948 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18949 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18950 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18951 * gst/base/gstbasesink.h:
18952 Handle newsegment events correctly.
18953 Drop buffers out of the segment range.
18955 2005-08-22 Andy Wingo <wingo@pobox.com>
18957 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18958 macro, implements an interface and gstimplementsinterface for a
18961 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18963 * check/Makefile.am:
18964 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18965 add a test that does a bunch of state changes on elements
18966 needs some fixing for valgrind
18967 * check/states/sinks.c: (gst_object_suite):
18970 add prototype for gst_caps_is_equal_fixed
18972 * gst/gstregistrypool.c:
18975 2005-08-24 Andy Wingo <wingo@pobox.com>
18977 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18978 convert a negative value. Doesn't make much sense. Mostly this is
18979 here to force callers to ensure -1 maps to -1.
18981 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18983 * docs/pwg/advanced-types.xml:
18984 Well done to Michael for catching my deliberate introduction
18985 of this spelling mistake.
18986 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18987 * gst/gstelement.h:
18988 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18989 unlink pads before removing the element from the bin.
18991 2005-08-24 Andy Wingo <wingo@pobox.com>
18993 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18994 the same thing as GST_DEBUG=*:4.
18995 (parse_debug_level, parse_debug_category): New helper parsers.
18997 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18999 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19000 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19001 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19002 (gst_base_transform_buffer_alloc),
19003 (gst_base_transform_handle_buffer):
19004 use gboolean return values and pointers to size so we can use the
19005 full GST_BUFFER_SIZE range (guint) for buffer sizes
19006 use GstPadDirection for transform_caps
19007 * gst/base/gstbasetransform.h:
19008 rename get_size to get_unit_size since that's what it is
19009 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19010 use GstPadDirection for transform_caps
19011 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19013 cleanup and debugging
19015 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19017 * gst/gstelement.c: (gst_element_class_init),
19018 (gst_element_set_state), (activate_pads),
19019 (gst_element_save_thyself):
19020 * tools/gst-compprep.c: (main):
19021 * tools/gst-inspect.c: (print_element_properties_info):
19022 * tools/gst-xmlinspect.c: (print_element_properties):
19023 Fixed long standing mem-leak
19025 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19027 * check/gst/gstbin.c: (GST_START_TEST):
19028 * gst/gstbin.c: (bin_bus_handler):
19029 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19030 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19031 (gst_message_new_warning), (gst_message_new_tag),
19032 (gst_message_new_state_changed), (gst_message_new_segment_start),
19033 (gst_message_new_segment_done), (gst_message_new_custom):
19034 * gst/gstmessage.h:
19035 * tools/gst-launch.c: (event_loop):
19036 * tools/gst-md5sum.c: (event_loop):
19037 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19038 that applications can sensibly post custom messages with references
19039 to their own objects.
19041 2005-08-24 Andy Wingo <wingo@pobox.com>
19043 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19046 2005-08-24 Wim Taymans <wim@fluendo.com>
19048 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19049 (gst_base_transform_transform_caps),
19050 (gst_base_transform_transform_size),
19051 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19052 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19053 (gst_base_transform_handle_buffer):
19054 * gst/base/gstbasetransform.h:
19055 Many fixes and new features added by Thomas. Can now also do
19056 transforms with variable sizes and a custom fixate_caps function.
19058 2005-08-24 Wim Taymans <wim@fluendo.com>
19060 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19064 Cast to ClockTime before formatting to time.
19069 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19071 * check/gst-libs/controller.c: (GST_START_TEST),
19072 (gst_controller_suite):
19073 * docs/gst/tmpl/gstcaps.sgml:
19074 * docs/gst/tmpl/gstghostpad.sgml:
19075 * docs/gst/tmpl/gstquery.sgml:
19076 * docs/gst/tmpl/gstutils.sgml:
19077 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19078 (gst_object_sink_values), (gst_object_get_value_arrays),
19079 (gst_object_get_value_array):
19080 gracefully handle helper method calls to objects that are not beeing
19081 controlled, added test case for that
19083 2005-08-23 Wim Taymans <wim@fluendo.com>
19085 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19086 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19087 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19088 (gst_event_parse_qos), (gst_event_new_seek),
19089 (gst_event_parse_seek):
19091 Some more debugging output and doc cleanups.
19093 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19094 Fix possible deadlock.
19096 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19098 * docs/gst/gstreamer-docs.sgml:
19099 * docs/gst/gstreamer-sections.txt:
19100 * docs/gst/gstreamer.types:
19101 * docs/gst/tmpl/.cvsignore:
19104 * gst/gstelement.c:
19106 added 100 symbols from gstreamer-unused.txt to the right sections
19107 fixed more broken comments
19108 added GstBus to docs
19110 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19112 * docs/gst/gstreamer-sections.txt:
19113 * docs/gst/tmpl/.cvsignore:
19114 * docs/gst/tmpl/gstbin.sgml:
19115 * docs/gst/tmpl/gstbuffer.sgml:
19116 * gst/base/gstbasesrc.c:
19117 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19120 * tools/gst-launch.1.in:
19121 inlined more doc comments, added missing comments and fixed comments
19124 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19126 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19130 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19132 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19133 * gst/gststructure.h:
19134 add a fixate function for booleans; add a FIXME that these func
19135 names should probably be gst_structure_fixate_*
19137 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19139 * docs/gst/gstreamer-docs.sgml:
19140 * docs/gst/gstreamer-sections.txt:
19142 * gst/gstbin.c: (gst_bin_get_type),
19143 (gst_bin_child_proxy_get_child_by_index),
19144 (gst_bin_child_proxy_get_children_count),
19145 (gst_bin_child_proxy_init):
19146 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19147 (gst_child_proxy_get_child_by_index),
19148 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19149 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19150 (gst_child_proxy_get), (gst_child_proxy_set_property),
19151 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19152 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19153 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19154 * gst/gstchildproxy.h:
19155 * gst/parse/grammar.y:
19156 * tools/gst-inspect.c: (print_interfaces),
19157 (print_element_properties_info), (print_element_info):
19158 ported gstchildproxy over from 0.8
19159 ported gst-inspect fixes and enhancements over from 0.8
19161 2005-08-22 Wim Taymans <wim@fluendo.com>
19163 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19164 (gst_base_transform_handle_buffer):
19165 Also call the transform function if we have ANY caps.
19167 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19170 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19172 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19173 Don't pretend to handle seek events if the source is not seekable
19175 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19177 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19178 Remove extra parameter to debug output
19180 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19181 (gst_base_src_do_seek), (gst_base_src_activate_push):
19182 Fix seek event handling.
19184 * gst/gstpipeline.c: (gst_pipeline_change_state):
19185 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19186 (gst_queue_src_activate_push):
19187 Don't start the src pad task on FLUSH_STOP if the pad
19191 2005-08-22 Wim Taymans <wim@fluendo.com>
19193 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19194 Added check for gst_static_caps_get() refcounting.
19196 2005-08-22 Wim Taymans <wim@fluendo.com>
19198 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19199 Make _static_caps_get() refcounting sane.
19201 * gst/gstelement.c: (gst_element_set_state):
19202 Add g_return_val_if_fail() to protect against segfaults.
19204 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19206 * docs/gst/tmpl/gstevent.sgml:
19209 inlined remaining docs, added missing doc comments
19211 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19213 * check/gst/gstbin.c: (GST_START_TEST):
19214 since we don't know when preroll is done, use refcount range
19216 * gst/check/gstcheck.h:
19217 add macro for checking refcount range
19219 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19221 * check/Makefile.am:
19222 clean up environment for when registry gets built versus
19223 when actual tests are run; valgrind seems to not report
19224 leaks if GST_PLUGIN_PATH is set to some specific values
19225 * check/gst/gstbin.c: (GST_START_TEST):
19226 add more refcounting checks; maybe this exposes a
19228 * common/check.mak:
19229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19230 * gst/check/gstcheck.h:
19231 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19232 (gst_bin_change_state):
19233 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19234 add/fix debugging/whitespace
19236 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19238 * check/gst/gstevent.c: (event_probe), (test_event),
19240 Er, don't call gst_bin_watch_for_state_change you idiot.
19242 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19244 * check/Makefile.am:
19245 Use CHECK_CFLAGS and CHECK_LIBS
19246 * check/gst/gstevent.c: (event_probe), (test_event),
19249 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19250 (gst_base_src_start), (gst_base_src_stop),
19251 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19252 (gst_base_src_change_state):
19253 Sprinkle gst_base_src_stop liberally around error paths to fix
19254 problems reusing a source after failed state changes.
19255 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19256 (helper_find_suggest), (gst_type_find_helper):
19257 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19259 * docs/gst/tmpl/gstevent.sgml:
19260 Migrate part of the docs from the SGML file. Wait for ensonic to
19261 tell me how I did it wrong ;)
19262 * tools/gst-typefind.c: (main):
19263 Extra robustness to state changes between files.
19265 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19267 * check/Makefile.am:
19268 don't valgrind the controller test - it's leaking - Stefan, HELP
19269 * gst/check/gstcheck.c: (gst_check_message_error),
19270 (gst_check_chain_func), (gst_check_setup_element),
19271 (gst_check_teardown_element), (gst_check_setup_src_pad),
19272 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19273 (gst_check_teardown_sink_pad):
19274 * gst/check/gstcheck.h:
19275 add a bunch of methods to set up elements, and src and sink pads
19276 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19277 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19280 * gst/gstmessage.c:
19282 whitespace/doc fixes
19284 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19286 * gst/gstelement.h:
19287 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19288 be handled by the application and not always printed as well
19290 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19292 * check/Makefile.am:
19294 * gst/check/gstcheck.c: (gst_check_message_error):
19295 * gst/check/gstcheck.h:
19296 add a fail_unless_equals_int
19297 add fail_unless for error messages
19299 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19301 * check/Makefile.am:
19303 * common/Makefile.am:
19304 * common/check.mak:
19306 factor out some of the common stuff so we can use it
19308 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19310 * check/Makefile.am:
19311 * check/gst/gstiterator.c: (GST_START_TEST):
19312 * check/gst/gstsystemclock.c: (GST_START_TEST),
19313 (gst_systemclock_suite):
19314 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19316 valgrind more tests
19318 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19320 * check/elements/.cvsignore:
19321 * check/elements/gstfakesrc.c:
19322 rename to name of element
19323 * check/elements/identity.c: (chain_func), (event_func),
19324 (setup_identity), (cleanup_identity), (GST_START_TEST),
19325 (identity_suite), (main):
19326 add a test for identity
19327 * check/Makefile.am:
19328 * pkgconfig/Makefile.am:
19329 * pkgconfig/gstreamer-check.pc.in:
19330 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19334 move the check stuff to a library that gets installed
19335 * check/gst-libs/controller.c: (GST_START_TEST):
19336 * check/gst-libs/gdp.c:
19337 * check/gst/gst.c: (GST_START_TEST):
19338 * check/gst/gstbin.c:
19339 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19340 * check/gst/gstbus.c:
19341 * check/gst/gstcaps.c: (GST_START_TEST):
19342 * check/gst/gstelement.c:
19343 * check/gst/gstghostpad.c:
19344 * check/gst/gstiterator.c:
19345 * check/gst/gstmessage.c:
19346 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19347 * check/gst/gstobject.c:
19348 * check/gst/gstpad.c: (GST_START_TEST):
19349 * check/gst/gststructure.c: (GST_START_TEST):
19350 * check/gst/gstsystemclock.c: (GST_START_TEST),
19351 (gst_systemclock_suite):
19352 * check/gst/gsttag.c: (gst_tag_suite):
19353 * check/gst/gstvalue.c:
19354 * check/pipelines/cleanup.c:
19355 * check/pipelines/simple_launch_lines.c:
19356 * check/states/sinks.c:
19357 change include statement
19359 * docs/gst/gstreamer-sections.txt:
19360 * docs/gst/tmpl/gstpad.sgml:
19361 document more pad stuff
19362 * gst/gstminiobject.c: (gst_mini_object_ref),
19363 (gst_mini_object_unref):
19366 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19368 * docs/gst/tmpl/gst.sgml:
19370 eliminate another tmpl file, fix spelling in the long-description
19372 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19374 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19375 (test_event), (timediff), (gstevents_suite):
19376 Should fix build on 64-bit arch's
19378 2005-08-18 Andy Wingo <wingo@pobox.com>
19380 Make sure that when a pipeline goes to PLAYING, that data has
19381 actually hit the sink.
19383 * check/states/sinks.c (test_sink): A sink that doesn't get any
19384 data shouldn't return SUCCESS for going to either PLAYING or
19385 PAUSED. Test also the return values on the way back down.
19387 * gst/gstelement.c (gst_element_set_state): When changing the
19388 state of an element currently changing state asynchronously, go to
19389 lost-state after commiting the pending state. Makes future calls
19390 to get_state continue to return ASYNC.
19392 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19393 ASYNC when going to PLAYING if we still don't have preroll, as can
19394 happen with live sources.
19396 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19398 * docs/pwg/advanced-types.xml:
19399 Hack long paragraph into 2 chunks as a workaround for buggy
19400 jadetex version in sid and breezy that loops infinitely and
19403 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19405 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19406 (test_event), (timediff), (gstevents_suite):
19407 Provide more error margin in clock measurements to allow for
19408 g_get_current_time inaccuracies.
19410 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19412 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19413 (test_event), (timediff), (gstevents_suite):
19414 Fix error message output so I might be able to tell why the
19415 test works here but fails on the build farm.
19417 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19419 * check/Makefile.am:
19420 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19421 (test_event), (timediff), (gstevents_suite), (main):
19424 * docs/design/part-seeking.txt:
19425 Spelling correction
19427 * docs/gst/tmpl/gstevent.sgml:
19428 * docs/gst/tmpl/gstfakesrc.sgml:
19431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19432 Treat a buffer-without-newsegment the same as a receiving
19433 a newsegment not in time format, and disable syncing to the clock
19436 * gst/gstbus.c: (gst_bus_set_sync_handler):
19437 Assert if anyone tries to replace the existing sync_handler for bus,
19438 as only the owner should be setting it.
19441 Have a fixed set of custom event enums with events identified by
19442 their structure name (as in 0.8), rather than a free-for-all
19443 allowing collisions between enum values from different plugins.
19445 * gst/gstpad.c: (gst_pad_class_init):
19448 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19449 Handle out-of-band downstream events from the sending thread.
19451 2005-08-17 Andy Wingo <wingo@pobox.com>
19453 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19454 play-timeout==0 to mean no timeout at all. In that case, don't
19455 bother with a get_state or a warning, just return directly, even
19458 * gst/base/gstbasetransform.c: Debug changes.
19461 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19462 ensure bins post state change messages. A bit of a hack but I can't
19463 think of a way to avoid it.
19465 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19467 2005-08-16 Andy Wingo <wingo@pobox.com>
19469 * gst/base/gstadapter.h:
19470 * gst/base/gstadapter.c (gst_adapter_take): New function, like
19471 peek() but you own the data. Not terribly efficient atm.
19473 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19475 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19476 (gst_element_found_tags):
19478 Add two utility functions for tag handling.
19480 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19482 * docs/manual/advanced-dataaccess.xml:
19483 * docs/manual/basics-helloworld.xml:
19484 Fix docs to use _bin_add() before _link(), which fixes the examples
19485 with recent core versions (reported by Madhan Raj M
19486 <raj_madan@rediffmail.com>, #313199).
19488 2005-08-16 Wim Taymans <wim@fluendo.com>
19490 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19491 Added subtract checks.
19493 * docs/design/part-events.txt:
19494 Some more docs about newsegment
19496 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19499 * gst/gstcaps.c: (gst_caps_to_string):
19500 Add comments, cleanups.
19502 * gst/gstelement.c: (gst_element_save_thyself):
19505 * gst/gstvalue.c: (gst_value_collect_int_range),
19506 (gst_string_unwrap), (gst_value_union_int_int_range),
19507 (gst_value_union_int_range_int_range),
19508 (gst_value_intersect_int_int_range),
19509 (gst_value_intersect_int_range_int_range),
19510 (gst_value_intersect_double_double_range),
19511 (gst_value_intersect_double_range_double_range),
19512 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19513 (gst_value_subtract_int_range_int),
19514 (gst_value_subtract_double_range_double),
19515 (gst_value_subtract_double_range_double_range),
19516 (gst_value_subtract_from_list), (gst_value_subtract_list),
19517 (gst_value_can_compare), (gst_value_compare_fraction):
19518 Cleanups, add comments, remove unneeded asserts.
19520 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19522 * tools/gst-launch.c: (event_loop):
19523 don't convert NULL structures to strings
19525 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19527 * docs/gst/gstreamer-sections.txt:
19528 made some defines private
19529 * docs/gst/tmpl/gstconfig.sgml:
19530 * docs/gst/tmpl/gstqueue.sgml:
19531 * docs/gst/tmpl/gsttaglist.sgml:
19532 * docs/gst/tmpl/gsttypes.sgml:
19533 * docs/gst/tmpl/gstutils.sgml:
19534 * docs/pwg/appendix-porting.xml:
19535 * gst/base/gstbasesink.h:
19536 * gst/base/gstbasesrc.c:
19537 * gst/base/gstbasesrc.h:
19538 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19539 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19540 * gst/gstelement.c: (gst_element_class_init):
19541 * gst/gstpad.c: (gst_pad_class_init):
19542 * gst/gstqueue.c: (gst_queue_class_init):
19543 * gst/gstxml.c: (gst_xml_class_init):
19544 documented all undocumented signal inline
19545 * libs/gst/controller/gst-controller.h:
19548 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19550 * docs/pwg/appendix-porting.xml:
19551 Document _set_link_function -> _set_setcaps_function.
19553 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19555 * check/Makefile.am:
19556 add a .check target for running the check
19557 * check/gst-libs/controller.c: (GST_START_TEST):
19559 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19560 complete checks for gstbuffer; would be nice if I could get the
19561 gcov stuff to work so I can see if I actually completed gstbuffer.c
19562 * check/gstcheck.h:
19563 add ASSERT_BUFFER_REFCOUNT
19565 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19567 * docs/gst/gstreamer-sections.txt:
19568 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19570 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19571 spew out a warning if a tag that is already registered
19572 is re-registered, unless it is re-registered with a
19573 different type (#308438).
19575 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19577 * docs/pwg/appendix-porting.xml:
19578 * docs/pwg/building-state.xml:
19579 Add some paragraphs about state changes in 0.9 to the PWG
19580 and the porting guide, in particular about the new meaning
19581 of GST_STATE_PAUSED and how to write state change functions
19582 with concurrent access by multiple threads in mind.
19584 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19586 * docs/gst/gstreamer-docs.sgml:
19587 * docs/libs/gstreamer-libs-docs.sgml:
19588 added deprecation and since indexes
19589 * libs/gst/controller/gst-controller.c:
19590 * libs/gst/controller/gst-helper.c:
19594 2005-08-11 Wim Taymans <wim@fluendo.com>
19596 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19597 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19598 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19599 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19600 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19601 (gst_ghost_pad_set_target):
19602 Actually implement (re)setting the target on a ghostpad
19603 as described in the docs.
19605 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19607 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19608 Check whether GST_DEBUG_NO_COLOR environment variable is
19609 set and disable coloured debug output if that is the case.
19611 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19613 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19614 (gst_type_find_helper):
19615 The memory returned by gst_type_find_peek() needs to
19616 stay valid until the end of a typefind function, and
19617 typefind functions may keep results from different
19618 offsets around, so we can't just unref the buffer from
19619 the previous _peek(), but have to save all buffers
19620 returned by _peek() until typefinding is done and only
19623 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19625 * docs/gst/gstreamer-sections.txt:
19627 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19629 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19631 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19632 Fix a pretty good memleak.
19634 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19636 * gst/gstiterator.h:
19637 Fix wrong include and 'make distcheck'.
19639 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19641 * gst/gstbin.c: (bin_bus_handler):
19642 Use gst_element_post_message() instead.
19644 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19646 * gst/base/gstadapter.h:
19647 * gst/base/gstbasesink.h:
19648 * gst/base/gstbasesrc.h:
19649 * gst/base/gstbasetransform.h:
19650 * gst/base/gstcollectpads.h:
19651 * gst/base/gstpushsrc.h:
19652 * gst/gstiterator.h:
19653 Add padding to our base elements' class and instance structs and
19654 to GstIterator (you will need to rebuild all plugins and apps!)
19656 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19658 * gst/gstbin.c: (bin_bus_handler):
19659 Make default message forwarding from child->bus to bin->bus
19660 threadsafe and make it not emit warnings if the parent has no bus.
19662 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19664 * gst/gstelement.c: (activate_pads):
19665 On paused->ready, set pad->caps to NULL, as is the documented
19666 behaviour in this state change. Fixes playback of series of
19667 media files when visualization is enabled in Totem.
19669 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19671 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19672 Allow NULL as filter-caps (which means "any").
19674 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19676 * docs/libs/gstreamer-libs-sections.txt:
19677 * libs/gst/controller/gst-controller.c:
19678 * libs/gst/controller/gst-controller.h:
19679 * libs/gst/controller/gst-helper.c:
19680 adding more entries to the docs and fix small doc-bugs
19682 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19684 * docs/gst/gstreamer-docs.sgml:
19685 * docs/gst/gstreamer-sections.txt:
19686 * docs/gst/gstreamer.types:
19687 * docs/gst/tmpl/gstbasesink.sgml:
19688 * docs/gst/tmpl/gstbasesrc.sgml:
19689 * docs/gst/tmpl/gstbasetransform.sgml:
19690 * docs/gst/tmpl/gstfakesrc.sgml:
19691 * gst/base/gstcollectpads.c:
19692 * gst/base/gstcollectpads.h:
19693 * libs/gst/controller/gst-controller.c:
19694 * libs/gst/controller/gst-controller.h:
19695 * libs/gst/controller/gst-helper.c:
19696 * libs/gst/controller/gst-interpolation.c:
19697 * libs/gst/controller/lib.c:
19698 added long/short desc for controller docs
19699 added collectpads base class docs
19700 added correct includes to base-class docs
19702 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19704 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19705 (gst_test_mono_source_set_property),
19706 (gst_test_mono_source_class_init), (GST_START_TEST),
19707 (gst_controller_suite):
19708 * docs/gst/gstreamer-docs.sgml:
19709 * docs/gst/gstreamer-sections.txt:
19710 * docs/gst/gstreamer.types:
19711 * docs/libs/gstreamer-libs-docs.sgml:
19712 * docs/libs/gstreamer-libs-sections.txt:
19713 * gst/base/gstadapter.c:
19714 * libs/gst/controller/gst-controller.c:
19715 (gst_controlled_property_new), (gst_controlled_property_free),
19716 (gst_controller_new_valist),
19717 (gst_controller_remove_properties_valist),
19718 (gst_controller_sink_values), (_gst_controller_finalize):
19719 * libs/gst/controller/gst-controller.h:
19720 * libs/gst/controller/gst-helper.c:
19721 (gst_object_control_properties), (gst_object_uncontrol_properties),
19722 (gst_object_get_controller), (gst_object_set_controller),
19723 (gst_object_sink_values), (gst_object_get_value_arrays),
19724 (gst_object_get_value_array):
19725 more tests (and fixes) for the controller
19726 more docs for the controller
19727 integrated companies docs for the adapter
19729 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19731 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19732 (GST_START_TEST), (fakesrc_suite):
19733 add tests for sizetype
19735 2005-08-04 Andy Wingo <wingo@pobox.com>
19737 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19738 fixes buffer_alloc proxying among other things.
19740 * gst/base/gstbasetransform.c:
19741 * gst/base/gstbasetransform.h:
19742 Revert patch to gstbasetransform from 7-28 removing
19745 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19746 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19747 Semantics changed, should return not the size of the output buffer
19748 but the byte size of a buffer with a given caps.
19750 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19752 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19753 out) are not the pad caps until setcaps finishes.
19754 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19755 not-in-place case as well. Deal with changing from in-place to
19756 not-in-place within calling pad_alloc_buffer. Still a bit
19757 concerned about the overhead here...
19759 2005-08-03 Andy Wingo <wingo@pobox.com>
19761 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19762 fixating is an error.
19764 2005-08-04 Edward Hervey <edward@fluendo.com>
19766 * gst/base/gstadapter.h:
19767 Added gst_adapter_get_type() to the header
19769 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19771 * check/Makefile.am:
19772 * check/gst-libs/controller.c:
19773 * libs/gst/controller/gst-controller.c:
19774 (gst_controller_new_valist):
19775 added check test suite for the controller
19776 * gst/base/gstpushsrc.c:
19779 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19781 * docs/gst/Makefile.am:
19782 * docs/gst/gstreamer-docs.sgml:
19783 * docs/gst/gstreamer-sections.txt:
19784 * docs/gst/gstreamer.types:
19785 * docs/gst/tmpl/gstfakesrc.sgml:
19787 * gst/base/gstbasesink.c:
19788 * gst/base/gstbasesink.h:
19789 * gst/base/gstbasesrc.c:
19790 * gst/base/gstbasesrc.h:
19791 * gst/base/gstbasetransform.c:
19792 * gst/base/gstpushsrc.c:
19793 * gst/base/gstpushsrc.h:
19794 add short/long description docs to base classes
19795 add pushsrc to the docs
19796 remove consolidated doc fragments
19798 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19801 * docs/libs/Makefile.am:
19802 * docs/libs/gstreamer-libs-docs.sgml:
19803 * docs/libs/gstreamer-libs-sections.txt:
19804 * docs/libs/gstreamer-libs.types:
19805 * examples/Makefile.am:
19806 * examples/controller/.cvsignore:
19807 * examples/controller/Makefile.am:
19808 * examples/controller/audio-example.c: (main):
19809 * libs/gst/Makefile.am:
19810 * libs/gst/controller/.cvsignore:
19811 * libs/gst/controller/Makefile.am:
19812 * libs/gst/controller/gst-controller.c:
19813 (on_object_controlled_property_changed), (gst_timed_value_compare),
19814 (gst_timed_value_find),
19815 (gst_controlled_property_set_interpolation_mode),
19816 (gst_controlled_property_new), (gst_controlled_property_free),
19817 (gst_controller_find_controlled_property),
19818 (gst_controller_new_valist), (gst_controller_new),
19819 (gst_controller_remove_properties_valist),
19820 (gst_controller_remove_properties), (gst_controller_set),
19821 (gst_controller_set_from_list), (gst_controller_unset),
19822 (gst_controller_get), (gst_controller_get_all),
19823 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19824 (gst_controller_get_value_array),
19825 (gst_controller_set_interpolation_mode),
19826 (_gst_controller_finalize), (_gst_controller_init),
19827 (_gst_controller_class_init), (gst_controller_get_type):
19828 * libs/gst/controller/gst-controller.h:
19829 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19830 (g_object_uncontrol_properties), (g_object_get_controller),
19831 (g_object_set_controller), (g_object_sink_values),
19832 (g_object_get_value_arrays), (g_object_get_value_array):
19833 * libs/gst/controller/gst-interpolation.c:
19834 (gst_controlled_property_find_timed_value_node),
19835 (interpolate_none_get), (interpolate_trigger_get),
19836 (interpolate_trigger_get_value_array):
19837 * libs/gst/controller/lib.c: (gst_controller_init):
19838 * pkgconfig/Makefile.am:
19839 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19840 * pkgconfig/gstreamer-control.pc.in:
19841 * testsuite/Makefile.am:
19842 * testsuite/controller/.cvsignore:
19843 * testsuite/controller/Makefile.am:
19844 * testsuite/controller/interpolator.c: (main):
19845 added controller code
19846 removed dparam pc files
19848 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19849 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19850 (gst_collectpads_stop):
19851 Broadcast the condition when shutting down, to make sure we wake all
19852 threads up. Shut down pads on finalize, for safety.
19854 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19855 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19856 (gst_base_transform_handle_buffer),
19857 (gst_base_transform_change_state):
19858 Handle PAUSED->READY->PAUSED transition after negotiation
19860 * gst/gstmessage.c: (gst_message_init):
19861 Extra piece of debug for new messages.
19863 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19866 * docs/gst/tmpl/gstbasesrc.sgml:
19867 * docs/gst/tmpl/gstelement.sgml:
19868 * docs/gst/tmpl/gstevent.sgml:
19869 * docs/gst/tmpl/gstfakesrc.sgml:
19870 * docs/gst/tmpl/gstformat.sgml:
19871 * docs/gst/tmpl/gstghostpad.sgml:
19872 * docs/gst/tmpl/gstpad.sgml:
19873 * docs/gst/tmpl/gstquery.sgml:
19874 * docs/gst/tmpl/gststructure.sgml:
19875 * docs/gst/tmpl/gsttaglist.sgml:
19876 * docs/gst/tmpl/gstvalue.sgml:
19877 * docs/libs/gstreamer-libs-docs.sgml:
19878 * docs/libs/gstreamer-libs-sections.txt:
19879 * docs/libs/gstreamer-libs.types:
19880 * libs/gst/Makefile.am:
19881 * libs/gst/control/.cvsignore:
19882 * libs/gst/control/Makefile.am:
19883 * libs/gst/control/control.c:
19884 * libs/gst/control/control.h:
19885 * libs/gst/control/dparam.c:
19886 * libs/gst/control/dparam.h:
19887 * libs/gst/control/dparam_smooth.c:
19888 * libs/gst/control/dparam_smooth.h:
19889 * libs/gst/control/dparamcommon.h:
19890 * libs/gst/control/dparammanager.c:
19891 * libs/gst/control/dparammanager.h:
19892 * libs/gst/control/dplinearinterp.c:
19893 * libs/gst/control/dplinearinterp.h:
19894 * libs/gst/control/unitconvert.c:
19895 * libs/gst/control/unitconvert.h:
19896 * testsuite/Makefile.am:
19897 * testsuite/dynparams/.cvsignore:
19898 * testsuite/dynparams/Makefile.am:
19899 * testsuite/dynparams/dparamstest.c:
19900 * tools/Makefile.am:
19901 * tools/gst-inspect.c: (print_element_info), (main):
19902 * tools/gst-xmlinspect.c: (print_element_info), (main):
19903 deactivate and remove dparams (libgstcontrol)
19905 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19907 * gst/elements/gsttypefindelement.c:
19908 (gst_type_find_element_have_type), (gst_type_find_element_init),
19909 (stop_typefinding), (gst_type_find_element_handle_event),
19910 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19911 * gst/elements/gsttypefindelement.h:
19912 Set caps on all outgoing buffers, not just the first one.
19914 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19916 * gst/elements/gsttypefindelement.c:
19917 (gst_type_find_element_have_type),
19918 (gst_type_find_element_check_set_buffer_caps),
19919 (gst_type_find_element_init), (stop_typefinding),
19920 (gst_type_find_element_handle_event),
19921 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19922 * gst/elements/gsttypefindelement.h:
19923 Set caps on first outgoing buffer when we've found the type.
19925 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19927 * docs/gst/gstreamer-docs.sgml:
19928 * docs/gst/gstreamer-sections.txt:
19929 * docs/gst/tmpl/gstscheduler.sgml:
19930 * docs/gst/tmpl/gstschedulerfactory.sgml:
19931 Remove some old cruft from docs.
19933 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19936 Fix inline docs for GstPadLinkReturn.
19938 * gst/gststructure.c: (gst_structure_has_name):
19939 * gst/gststructure.h:
19940 * docs/gst/gstreamer-sections.txt:
19941 New API: gst_structure_has_name().
19943 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19946 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19947 and _LARGEFILE_SOURCE in config.h as required. Do not
19948 export those flags in our .pc files any longer (#142209).
19950 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19952 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19953 (gst_file_sink_do_seek), (gst_file_sink_event),
19954 (gst_file_sink_get_current_offset), (gst_file_sink_render):
19955 Redo seek/tell calls with large file support in mind; add some
19956 debugging messages; add log message that tells us when large
19957 file support is unavailable or not enabled for some reason.
19959 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19960 Add log message that tells us when large file support
19961 is unavailable or not enabled for some reason.
19963 2005-07-29 Wim Taymans <wim@fluendo.com>
19965 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19966 Added test for removing an element with ghostpad from a bin.
19967 Fixed test as current implementation does the right thing.
19969 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19970 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19971 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19972 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19973 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19974 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19975 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19976 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19977 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19978 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19979 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19980 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19981 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19982 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19983 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19984 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19985 * gst/gstghostpad.h:
19986 Clean up ghostpads, remove properties for internal stuff.
19989 Prepare for switching targets, not all use cases work yet.
19991 2005-07-29 Wim Taymans <wim@fluendo.com>
19993 * docs/design/part-gstghostpad.txt:
19996 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19997 (gst_bin_remove_func):
19998 Unlinking pads while holding the bin LOCK is not a good
20001 * gst/gstpad.c: (gst_pad_class_init),
20002 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20003 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20004 No prob setting template after creating the pad.
20006 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
20008 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20009 (gst_bus_peek), (gst_bus_source_dispatch),
20010 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20011 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20012 gst_bus_poll may be called from other threads. Handle
20013 this nicely by not making poll_data disappear off the
20014 stack once gst_bus_poll returns.
20015 gst_bus_peek now increments the refcount on the returned
20018 2005-07-29 Wim Taymans <wim@fluendo.com>
20020 * docs/design/part-gstghostpad.txt:
20021 Overview of current GhostPad datastructures and use
20022 cases for changing the target.
20024 2005-07-28 Wim Taymans <wim@fluendo.com>
20026 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20027 Added checks for hierarchy consistency whan adding linked
20030 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20031 Added check to test element scheduling without bin/pipeline.
20033 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20034 First add elements to bin, then link.
20036 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20037 (gst_bin_remove_func):
20038 Unlink pads from elements added/removed from bin to maintain
20039 hierarchy consistency.
20041 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20043 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20044 (gst_base_transform_handle_buffer):
20045 * gst/base/gstbasetransform.h:
20046 Remove broken delay_configure (fixes renegotiation of software
20047 scaling pipelines); remove some leftover printf()s.
20049 2005-07-28 Wim Taymans <wim@fluendo.com>
20051 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20052 Added some more tests for wrong hierarchy
20054 * docs/design/part-overview.txt:
20057 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20060 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20061 (gst_element_dispose):
20062 Some more cleanups.
20064 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20065 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20066 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20067 (gst_pad_set_caps), (gst_pad_send_event):
20068 Check for correct hierarchy when linking pads. Moving to
20069 strict requirement for ghostpads when linking elements in
20073 Clean ups. Added WRONG_HIERARCHY return value.
20075 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20077 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20078 Better debug if no transform is possible.
20080 2005-07-27 Wim Taymans <wim@fluendo.com>
20082 * docs/random/wtay/network-transp:
20083 Some old doc I had.
20085 2005-07-27 Wim Taymans <wim@fluendo.com>
20087 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20088 (gst_dp_event_from_packet):
20089 Fix serialization of seek events.
20091 2005-07-27 Wim Taymans <wim@fluendo.com>
20093 * check/gst-libs/gdp.c: (GST_START_TEST):
20094 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20095 Fix compilation and fix event serialization.
20097 2005-07-27 Wim Taymans <wim@fluendo.com>
20100 * docs/design/part-TODO.txt:
20101 * docs/design/part-events.txt:
20104 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20105 (gst_base_sink_event), (gst_base_sink_do_sync),
20106 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20107 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20108 (gst_base_src_do_seek), (gst_base_src_event_handler),
20109 (gst_base_src_loop):
20110 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20111 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20112 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20113 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20114 (gst_base_transform_set_passthrough),
20115 (gst_base_transform_is_passthrough):
20116 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20117 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20123 * gst/gstelement.c: (gst_element_seek):
20124 * gst/gstelement.h:
20125 Update gst_element_seek.
20127 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20128 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20129 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20130 (gst_event_new_eos), (gst_event_new_newsegment),
20131 (gst_event_parse_newsegment), (gst_event_new_tag),
20132 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20133 (gst_event_parse_qos), (gst_event_new_seek),
20134 (gst_event_parse_seek), (gst_event_new_navigation):
20136 Make GstEvent use GstStructure. Add parsing code, make sure the
20137 API is sufficiently generic.
20138 Mark possible directions of events and serialization.
20140 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20141 (_gst_message_copy), (gst_message_new_segment_start),
20142 (gst_message_new_segment_done), (gst_message_new_custom),
20143 (gst_message_parse_segment_start),
20144 (gst_message_parse_segment_done):
20147 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20148 (gst_pad_set_caps), (gst_pad_send_event):
20149 Update for new events.
20150 Catch events sent in wrong directions.
20152 * gst/gstqueue.c: (gst_queue_link_src),
20153 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20154 (gst_queue_handle_src_query):
20159 Remove event code from this file.
20161 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20162 (gst_dp_event_from_packet):
20165 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20167 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20168 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20169 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20170 Make debugging actually useful.
20172 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20174 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20175 (gst_pad_fixate_caps):
20176 Implement default fixation once again, so that gst_pad_fixate()
20177 actually does anything at all. This probably needs to be some
20178 sort of a last resort, and use profile-based fixation first, but
20179 since that doesn't exist yet, this is the best we have. Fixes
20180 visualization in Totem.
20182 2005-07-22 Wim Taymans <wim@fluendo.com>
20184 * docs/design/part-events.txt:
20187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20188 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20189 (gst_base_sink_activate_pull):
20190 Some more comments.
20192 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20193 (gst_fake_src_create):
20194 Fix handoff marshall.
20196 * gst/elements/gstidentity.c: (gst_identity_class_init),
20197 (gst_identity_transform_ip):
20198 We're a real inplace element.
20200 * gst/gstbus.c: (gst_bus_post):
20201 Added some comments.
20203 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20204 * tests/muxing/case1.c: (main):
20205 * tests/sched/dynamic-pipeline.c: (main):
20206 * tests/sched/interrupt1.c: (main):
20207 * tests/sched/interrupt2.c: (main):
20208 * tests/sched/interrupt3.c: (main):
20209 * tests/sched/runxml.c: (main):
20210 * tests/sched/sched-stress.c: (main):
20211 * tests/seeking/seeking1.c: (event_received), (main):
20212 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20214 * tests/threadstate/threadstate3.c: (main):
20215 * tests/threadstate/threadstate4.c: (main):
20216 * tests/threadstate/threadstate5.c: (main):
20219 2005-07-21 Wim Taymans <wim@fluendo.com>
20221 * docs/design/part-seeking.txt:
20222 Some small additions.
20224 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20225 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20226 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20227 * gst/base/gstbasesink.h:
20228 discont values are gint64, handle the math correctly.
20230 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20231 Make the basesrc report error if the source pad is not linked.
20233 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20234 (gst_queue_loop), (gst_queue_handle_src_query),
20235 (gst_queue_src_activate_push):
20236 Make queue collect data even if the srcpad is not linked.
20237 Start pushing out data as soon as it is linked.
20239 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20241 Added gst_flow_get_name() to ease error reporting.
20243 2005-07-20 Wim Taymans <wim@fluendo.com>
20245 * gst/gstmessage.c: (gst_message_new_segment_start),
20246 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20247 (gst_message_parse_segment_done):
20248 * gst/gstmessage.h:
20249 Added a bunch of messages for advanced seeking.
20251 * gst/parse/grammar.y:
20252 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20253 (gst_dpman_state_changed):
20254 Fix some new-pad -> pad-added signals
20256 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20258 * docs/manual/appendix-porting.xml:
20259 * docs/pwg/appendix-porting.xml:
20260 Document new-pad/state-change signal renames and the FixedList
20263 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20265 * docs/manual/advanced-autoplugging.xml:
20266 * docs/manual/basics-helloworld.xml:
20267 * docs/manual/basics-pads.xml:
20268 * docs/random/ds/0.9-suggested-changes:
20269 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20270 * gst/gstelement.h:
20274 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20275 (gst_structure_parse_array), (gst_structure_parse_value):
20276 * gst/gstvalue.c: (gst_type_is_fixed),
20277 (gst_value_list_prepend_value), (gst_value_list_append_value),
20278 (gst_value_list_get_size), (gst_value_list_get_value),
20279 (gst_value_transform_array_string), (gst_value_serialize_array),
20280 (gst_value_deserialize_array), (gst_value_intersect_array),
20281 (gst_value_is_fixed), (_gst_value_initialize):
20283 GstElement::new-pad -> pad-added, GstElement::state-change ->
20284 state-changed, GstValueFixedList -> GstValueArray, add format and
20285 flags as their own arguments in gst_element_seek() (should improve
20286 "bindeability"), remove function generators since they don't work
20287 under a whole bunch of compilers (they were deprecated already
20290 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20292 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20293 (_gst_debug_register_funcptr):
20295 Fix illegal cast on some platforms (#309253).
20297 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20299 * gst/gstmessage.c: (gst_message_new_custom):
20300 * gst/gstmessage.h:
20301 Add _new_custom, make _new_application a macro to _new_custom.
20303 2005-07-20 Wim Taymans <wim@fluendo.com>
20305 * gst/base/gstbasesrc.c: (gst_base_src_init),
20306 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20307 * gst/base/gstbasesrc.h:
20308 Add a gboolean to decide when to push out a discont.
20310 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20311 (gst_queue_loop), (gst_queue_handle_src_query),
20312 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20313 (gst_queue_set_property), (gst_queue_get_property):
20316 * tests/threadstate/threadstate1.c: (main):
20317 Make a thread test compile and run... very silly..
20320 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20322 * docs/manual/appendix-porting.xml:
20323 Mention removal of libgstgconf-0.9.la and existence of gconf
20326 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20328 * docs/pwg/advanced-clock.xml:
20329 * docs/pwg/appendix-porting.xml:
20330 * docs/pwg/intro-preface.xml:
20331 * docs/pwg/other-base.xml:
20332 * docs/pwg/other-manager.xml:
20333 * docs/pwg/other-nton.xml:
20334 * docs/pwg/other-ntoone.xml:
20335 * docs/pwg/other-oneton.xml:
20336 * docs/pwg/pwg.xml:
20337 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20338 demuxer), remove n-to-n (was never written), fix some code examples
20339 and links and update the porting section to include all this.
20341 2005-07-19 Wim Taymans <wim@fluendo.com>
20343 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20344 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20345 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20346 (gst_queue_src_activate_push), (gst_queue_change_state),
20347 (gst_queue_get_property):
20349 Propagate GstFlowReturn more intelligently upstream and output
20350 an ERROR/EOS when streaming stopped due to fatal error.
20352 2005-07-19 Wim Taymans <wim@fluendo.com>
20354 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20355 Don't block forever for the state change to complete, the
20356 pipeline already did with a sensible timeout.
20358 2005-07-19 Wim Taymans <wim@fluendo.com>
20360 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20361 Make sure we never call the create function is we
20364 2005-07-19 Andy Wingo <wingo@pobox.com>
20366 * gst/parse/parse.l: Attempt to solve bug #172815.
20368 2005-07-19 Wim Taymans <wim@fluendo.com>
20370 * docs/design/part-clocks.txt:
20371 * docs/design/part-events.txt:
20372 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20373 Small docs updates.
20374 Only update the seeking values when we are not
20377 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20379 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20380 Oops, ignore the result of gst_pad_push_event here.
20382 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20384 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20385 (gst_base_src_activate_push):
20386 Send discont event from the loop function, as pads
20387 aren't activated yet in the activate_push handler.
20389 * gst/gstbin.c: (bin_bus_handler):
20390 Don't leak element name.
20392 2005-07-18 Andy Wingo <wingo@pobox.com>
20394 * configure.ac: Use AS_LIBTOOL_TAGS.
20396 2005-07-18 Wim Taymans <wim@fluendo.com>
20398 * docs/gst/gstreamer.types:
20399 Remove deleted types.
20401 2005-07-18 Wim Taymans <wim@fluendo.com>
20403 * check/elements/gstfakesrc.c: (GST_START_TEST):
20406 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20407 (init_popt_callback):
20409 * gst/gst_private.h:
20410 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20411 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20414 * gst/gstconfig.h.in:
20415 * gst/gstelement.c: (gst_element_class_init),
20416 (gst_element_set_base_time), (gst_element_get_base_time),
20417 (iterator_fold_with_resync), (gst_element_change_state),
20418 (gst_element_dispose), (gst_element_get_bus):
20419 * gst/gstelement.h:
20420 * gst/gstelementfactory.h:
20421 * gst/gsterror.c: (_gst_core_errors_init):
20424 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20426 * gst/gstinfo.c: (_gst_debug_init):
20427 * gst/gstmessage.c: (_gst_message_copy):
20428 * gst/gstmessage.h:
20429 * gst/gstminiobject.h:
20432 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20433 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20436 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20437 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20438 (gst_pipeline_get_last_stream_time):
20439 * gst/gstpipeline.h:
20440 * gst/gstpluginfeature.h:
20442 * gst/gstscheduler.c:
20443 * gst/gstscheduler.h:
20444 * gst/gststructure.h:
20445 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20446 (gst_task_finalize), (gst_task_func), (gst_task_create),
20447 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20448 (gst_task_stop), (gst_task_pause):
20450 * gst/gsttypefind.h:
20452 * gst/registries/gstlibxmlregistry.c: (load_feature),
20453 (gst_xml_registry_load), (gst_xml_registry_save_feature):
20454 * gst/registries/gstxmlregistry.c:
20455 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20456 * gst/schedulers/threadscheduler.c:
20457 * libs/gst/control/dparammanager.h:
20458 * tools/gst-inspect.c: (print_element_list),
20459 (print_plugin_features), (print_element_features):
20460 * tools/gst-xmlinspect.c: (print_element_list),
20461 (print_plugin_info), (main):
20462 Removed plugable schedulers.
20463 Removed Scheduler/Manager from elements.
20464 Removed gsttypes.h, rearranged includes.
20465 Removed dependency pad<->element, element<>pipeline, and
20466 various others, fix includes.
20467 implement gst_pad_get_parent() with gst_object_get_parent()
20468 Make GstTask sefcontained.
20469 Fix _get_state() on GstBin, it did not return ASYNC with a 0
20471 Fix endless loop in iterator_fold_with_resync.
20474 2005-07-18 Wim Taymans <wim@fluendo.com>
20480 2005-07-18 Wim Taymans <wim@fluendo.com>
20483 No more cothreads.h
20485 2005-07-18 Wim Taymans <wim@fluendo.com>
20489 Let's remove these.
20491 2005-07-18 Wim Taymans <wim@fluendo.com>
20493 * docs/design/part-dynamic.txt:
20494 * docs/design/part-events.txt:
20495 * docs/design/part-seeking.txt:
20496 Some more docs in the works.
20498 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20499 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20500 (gst_base_transform_setcaps), (gst_base_transform_get_size),
20501 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20502 (gst_base_transform_handle_buffer),
20503 (gst_base_transform_sink_activate_push),
20504 (gst_base_transform_src_activate_pull),
20505 (gst_base_transform_set_passthrough),
20506 (gst_base_transform_is_passthrough):
20509 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20512 * gst/gstevent.c: (gst_event_finalize):
20515 * gst/gstutils.c: (gst_element_unlink),
20516 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20517 (gst_pad_proxy_setcaps):
20519 Add _get_parent_element() to get a pads parent as an element.
20521 2005-07-18 Wim Taymans <wim@fluendo.com>
20523 * check/gst/gstbin.c: (GST_START_TEST):
20526 2005-07-18 Wim Taymans <wim@fluendo.com>
20528 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20529 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20530 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20531 (gst_base_sink_event), (gst_base_sink_do_sync),
20532 (gst_base_sink_chain), (gst_base_sink_loop),
20533 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20534 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20536 Fix logic for returning ASYNC when not prerolled.
20538 2005-07-18 Wim Taymans <wim@fluendo.com>
20540 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20541 Fix nasty refcount bug.
20543 2005-07-16 Philippe Khalaf <burger@speedy.org>
20545 * gst/elements/gstfdsrc.c:
20546 * gst/elements/gstfdsrc.h:
20547 * gst/elements/gstelements.c:
20548 * gst/elements/Makefile.am:
20549 Ported fdsrc to 0.9.
20551 2005-07-16 Wim Taymans <wim@fluendo.com>
20553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20554 (gst_base_sink_do_sync):
20557 2005-07-16 Wim Taymans <wim@fluendo.com>
20559 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20560 (gst_base_sink_event), (gst_base_sink_get_times),
20561 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20562 * gst/base/gstbasesink.h:
20563 Store and use discont values when syncing buffers as described
20566 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20567 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20568 (gst_base_src_activate_push):
20569 Push discont event when starting.
20571 * gst/elements/gstidentity.c: (gst_identity_transform):
20574 * gst/gstbin.c: (gst_bin_change_state):
20575 Small cleanups in base_time distribution.
20577 * gst/gstelement.c: (gst_element_set_base_time),
20578 (gst_element_get_base_time), (gst_element_change_state):
20579 * gst/gstelement.h:
20580 Added methods for the base_time of the element.
20583 * gst/gstpipeline.c: (gst_pipeline_send_event),
20584 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20585 (gst_pipeline_get_last_stream_time):
20586 * gst/gstpipeline.h:
20588 Handle seeking as described in design doc, remove stream_time
20590 Cleanups clock and stream_time selection code. Added accessors
20591 for the stream_time.
20594 2005-07-16 Andy Wingo <wingo@pobox.com>
20596 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20599 2005-07-16 Wim Taymans <wim@fluendo.com>
20601 * check/gst/gstbin.c: (GST_START_TEST):
20602 Make elements silent as the deep_notify refs the
20603 parent, which might make the test fail.
20605 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20606 Don't hold the lock for too long.
20608 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20610 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20611 Don't unref the caps we passed to gst_caps_make_writable() after
20612 passing them. gst_caps_make_writable() will do that for us.
20614 2005-07-15 Andy Wingo <wingo@pobox.com>
20616 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20619 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20620 own marshalling function for the handoff signal. Properly type the
20621 buffer as a buffer. Fixes some warnings. Should do a more general
20623 (gst_identity_class_init): Plug into the right marshaller.
20625 2005-07-15 Wim Taymans <wim@fluendo.com>
20627 * docs/design/part-TODO.txt:
20628 * docs/design/part-clocks.txt:
20629 * docs/design/part-element-sink.txt:
20630 * docs/design/part-events.txt:
20631 * docs/design/part-gstpipeline.txt:
20632 Updated docs, mostly DISCONT related.
20634 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20636 * docs/pwg/building-pads.xml:
20637 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20639 2005-07-15 Andy Wingo <wingo@pobox.com>
20641 * tools/gst-typefind.c: Update, add copyright block.
20643 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20644 Normalize and truncate caps before fixation.
20647 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20648 discards all but the first structure from its argument.
20650 2005-07-15 Wim Taymans <wim@fluendo.com>
20652 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20653 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20654 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20655 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20656 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20657 (gst_base_transform_chain), (gst_base_transform_change_state),
20658 (gst_base_transform_set_passthrough),
20659 (gst_base_transform_is_passthrough):
20660 * gst/base/gstbasetransform.h:
20661 Make passthrough work using the bufferpools.
20662 Changed API a bit, subclasses have to write into a buffer
20663 provided by the base class.
20664 More debug info in nego functions.
20666 * gst/elements/gstidentity.c: (gst_identity_init),
20667 (gst_identity_transform):
20668 Port to new base class.
20670 2005-07-15 Wim Taymans <wim@fluendo.com>
20672 * gst/gstmessage.c: (gst_message_new_state_changed):
20673 * tools/gst-launch.c: (event_loop), (main):
20674 Totally dump messages in -launch with the -m option.
20675 Fix message name for State messages,
20677 2005-07-14 Wim Taymans <wim@fluendo.com>
20679 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20680 Post error messages on errors.
20682 2005-07-14 Wim Taymans <wim@fluendo.com>
20684 * gst/gstcaps.c: (gst_caps_do_simplify):
20688 Define error for stream stopped.
20690 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20691 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20692 Do proper return values.
20694 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20695 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20696 (gst_pad_get_range):
20697 Better return values.
20700 Reorganise return values, add macro to check for fatal errors.
20702 * gst/gstqueue.c: (gst_queue_chain):
20703 Return proper GstFlowReturn values,
20705 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20707 * docs/gst/gstreamer-sections.txt:
20708 * docs/gst/gstreamer.types:
20709 * docs/gst/tmpl/gst.sgml:
20710 * docs/gst/tmpl/gstbasesink.sgml:
20711 * docs/gst/tmpl/gstbasesrc.sgml:
20712 * docs/gst/tmpl/gstbasetransform.sgml:
20713 * docs/gst/tmpl/gstbin.sgml:
20714 * docs/gst/tmpl/gstbuffer.sgml:
20715 * docs/gst/tmpl/gstcaps.sgml:
20716 * docs/gst/tmpl/gstclock.sgml:
20717 * docs/gst/tmpl/gstcompat.sgml:
20718 * docs/gst/tmpl/gstconfig.sgml:
20719 * docs/gst/tmpl/gstelement.sgml:
20720 * docs/gst/tmpl/gstelementdetails.sgml:
20721 * docs/gst/tmpl/gstelementfactory.sgml:
20722 * docs/gst/tmpl/gstenumtypes.sgml:
20723 * docs/gst/tmpl/gsterror.sgml:
20724 * docs/gst/tmpl/gstevent.sgml:
20725 * docs/gst/tmpl/gstfakesink.sgml:
20726 * docs/gst/tmpl/gstfakesrc.sgml:
20727 * docs/gst/tmpl/gstfilesink.sgml:
20728 * docs/gst/tmpl/gstfilesrc.sgml:
20729 * docs/gst/tmpl/gstfilter.sgml:
20730 * docs/gst/tmpl/gstformat.sgml:
20731 * docs/gst/tmpl/gstghostpad.sgml:
20732 * docs/gst/tmpl/gstimplementsinterface.sgml:
20733 * docs/gst/tmpl/gstindex.sgml:
20734 * docs/gst/tmpl/gstindexfactory.sgml:
20735 * docs/gst/tmpl/gstinfo.sgml:
20736 * docs/gst/tmpl/gstiterator.sgml:
20737 * docs/gst/tmpl/gstmacros.sgml:
20738 * docs/gst/tmpl/gstmemchunk.sgml:
20739 * docs/gst/tmpl/gstminiobject.sgml:
20740 * docs/gst/tmpl/gstobject.sgml:
20741 * docs/gst/tmpl/gstpad.sgml:
20742 * docs/gst/tmpl/gstpadtemplate.sgml:
20743 * docs/gst/tmpl/gstparse.sgml:
20744 * docs/gst/tmpl/gstpipeline.sgml:
20745 * docs/gst/tmpl/gstplugin.sgml:
20746 * docs/gst/tmpl/gstpluginfeature.sgml:
20747 * docs/gst/tmpl/gstquery.sgml:
20748 * docs/gst/tmpl/gstqueue.sgml:
20749 * docs/gst/tmpl/gstregistry.sgml:
20750 * docs/gst/tmpl/gstregistrypool.sgml:
20751 * docs/gst/tmpl/gstscheduler.sgml:
20752 * docs/gst/tmpl/gstschedulerfactory.sgml:
20753 * docs/gst/tmpl/gststructure.sgml:
20754 * docs/gst/tmpl/gstsystemclock.sgml:
20755 * docs/gst/tmpl/gsttaglist.sgml:
20756 * docs/gst/tmpl/gsttagsetter.sgml:
20757 * docs/gst/tmpl/gsttrace.sgml:
20758 * docs/gst/tmpl/gsttrashstack.sgml:
20759 * docs/gst/tmpl/gsttypefind.sgml:
20760 * docs/gst/tmpl/gsttypefindfactory.sgml:
20761 * docs/gst/tmpl/gsttypes.sgml:
20762 * docs/gst/tmpl/gsturihandler.sgml:
20763 * docs/gst/tmpl/gsturitype.sgml:
20764 * docs/gst/tmpl/gstutils.sgml:
20765 * docs/gst/tmpl/gstvalue.sgml:
20766 * docs/gst/tmpl/gstversion.sgml:
20767 * docs/gst/tmpl/gstxml.sgml:
20768 * docs/libs/tmpl/gstcontrol.sgml:
20769 * docs/libs/tmpl/gstdataprotocol.sgml:
20770 * docs/libs/tmpl/gstdparam.sgml:
20771 * docs/libs/tmpl/gstdplinint.sgml:
20772 * docs/libs/tmpl/gstdpman.sgml:
20773 * docs/libs/tmpl/gstdpsmooth.sgml:
20774 * docs/libs/tmpl/gstgetbits.sgml:
20775 * docs/libs/tmpl/gstunitconvert.sgml:
20776 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20777 (gst_push_src_base_init), (gst_push_src_class_init),
20778 (gst_push_src_init), (gst_push_src_create):
20779 * gst/base/gstpushsrc.h:
20780 * gst/elements/gstelements.c:
20781 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20782 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20783 (gst_fake_sink_init), (gst_fake_sink_set_property),
20784 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20785 (gst_fake_sink_event), (gst_fake_sink_preroll),
20786 (gst_fake_sink_render), (gst_fake_sink_change_state):
20787 * gst/elements/gstfakesink.h:
20788 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20789 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20790 (gst_fake_src_base_init), (gst_fake_src_class_init),
20791 (gst_fake_src_init), (gst_fake_src_event_handler),
20792 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20793 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20794 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20795 (gst_fake_src_create_buffer), (gst_fake_src_create),
20796 (gst_fake_src_start), (gst_fake_src_stop):
20797 * gst/elements/gstfakesrc.h:
20798 * gst/elements/gstfilesink.c: (_do_init),
20799 (gst_file_sink_base_init), (gst_file_sink_class_init),
20800 (gst_file_sink_init), (gst_file_sink_dispose),
20801 (gst_file_sink_set_location), (gst_file_sink_set_property),
20802 (gst_file_sink_get_property), (gst_file_sink_open_file),
20803 (gst_file_sink_close_file), (gst_file_sink_query),
20804 (gst_file_sink_event), (gst_file_sink_render),
20805 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20806 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20807 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20808 * gst/elements/gstfilesink.h:
20809 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20810 (gst_file_src_class_init), (gst_file_src_init),
20811 (gst_file_src_finalize), (gst_file_src_set_location),
20812 (gst_file_src_set_property), (gst_file_src_get_property),
20813 (gst_file_src_map_region), (gst_file_src_map_small_region),
20814 (gst_file_src_create_mmap), (gst_file_src_create_read),
20815 (gst_file_src_create), (gst_file_src_is_seekable),
20816 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20817 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20818 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20819 (gst_file_src_uri_handler_init):
20820 * gst/elements/gstfilesrc.h:
20821 more autistic cleanliness in functions/names/defines
20823 2005-07-13 Andy Wingo <wingo@pobox.com>
20825 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20826 source couldn't negotiate.
20828 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20832 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20833 function. I am channeling Hades. Put your boots on suckers!!!
20835 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20837 * testsuite/caps/Makefile.am:
20838 * testsuite/caps/value_compare.c:
20839 * testsuite/caps/value_intersect.c:
20840 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20841 move two testsuite apps over to the check dir
20843 2005-07-12 Wim Taymans <wim@fluendo.com>
20845 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20846 Added more debug info in the negotiate process.
20848 * gst/gstmessage.h:
20849 Prepare for segment playback.
20851 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20857 * tools/gst-launch.c: (main):
20858 NULL pipeline on errors.
20860 2005-07-12 Andy Wingo <wingo@pobox.com>
20862 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20863 not it comes from a malloc region. Make sure our copy gets freed.
20865 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20867 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20868 * check/gst/gstmessage.c: (GST_START_TEST):
20869 * check/gst/gststructure.c: (GST_START_TEST),
20870 (gst_structure_suite), (main):
20872 * gst/gstelement.c: (gst_element_message_full):
20873 clean up GError and debug string now that they get copied
20874 * gst/gstmessage.c: (gst_message_new_error),
20875 (gst_message_new_warning), (gst_message_parse_error),
20876 (gst_message_parse_warning):
20877 use GST_TYPE_G_ERROR for structure_new, and take copies of
20878 arguments, so that we don't mess up refcounting
20880 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20882 * check/Makefile.am:
20883 add per-test valgrind targets
20884 * check/gst-libs/gdp.c: (GST_START_TEST),
20885 (gst_data_protocol_suite), (main):
20888 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20890 * check/Makefile.am:
20891 instate more valgrindable tests
20892 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20893 (GST_START_TEST), (fakesrc_suite):
20894 * check/gst/gstpad.c: (GST_START_TEST):
20895 * check/gst/gststructure.c: (GST_START_TEST):
20897 * docs/gst/tmpl/gstminiobject.sgml:
20898 * gst/gstpad.c: (gst_pad_finalize):
20899 fix the static mutex leak
20901 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20903 * check/Makefile.am:
20904 add two more tests for valgrinding
20905 * check/gst/gstvalue.c: (GST_START_TEST):
20906 test refcount of deserialized buffer, found a leak
20907 * docs/gst/gstreamer-docs.sgml:
20908 * docs/gst/gstreamer-sections.txt:
20909 * docs/gst/gstreamer.types:
20910 * docs/gst/tmpl/gstminiobject.sgml:
20911 add miniobject to docs
20912 * gst/gstminiobject.c:
20914 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20915 (gst_string_unwrap):
20916 fix a hard-to-find invalid write for one of the tests
20917 fix a leak for deserialized buffers
20919 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20921 * docs/pwg/advanced-events.xml:
20922 * docs/pwg/advanced-request.xml:
20923 * docs/pwg/advanced-scheduling.xml:
20924 * docs/pwg/appendix-porting.xml:
20925 * docs/pwg/building-boiler.xml:
20926 * docs/pwg/intro-preface.xml:
20927 * docs/pwg/other-ntoone.xml:
20928 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20929 of example code and explanation for pad activation, loop() and
20930 getrange() functions and a bit more. Remove old comments pointing
20932 * examples/pwg/Makefile.am:
20933 Add loop/getrange examples.
20935 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20938 check for valgrind binary + some fixes
20940 valgrind suppressions for the tests
20941 * check/Makefile.am:
20942 add a valgrind: target that valgrinds the unit tests
20943 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20944 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20945 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20946 * check/gst/gstghostpad.c:
20948 * check/gst/gstdata.c:
20950 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20951 (thread_unref), (gst_mini_object_suite), (main):
20953 * gst/gst.c: (gst_deinit):
20955 add a method to clean up.
20956 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20957 (gst_system_clock_obtain):
20958 allow for disposing the system clock.
20959 * tools/gst-launch.c: (main):
20962 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20964 * docs/gst/tmpl/gstbasesrc.sgml:
20965 * docs/gst/tmpl/gstfakesrc.sgml:
20966 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20967 (gst_base_src_init), (gst_base_src_set_property),
20968 (gst_base_src_get_property), (gst_base_src_get_range),
20969 (gst_base_src_start):
20970 * gst/base/gstbasesrc.h:
20971 add num-buffers property
20972 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20973 (gst_fakesrc_init), (gst_fakesrc_set_property),
20974 (gst_fakesrc_get_property), (gst_fakesrc_create),
20975 (gst_fakesrc_start):
20976 remove num-buffers property
20978 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20980 * docs/gst/gstreamer-sections.txt:
20981 * docs/gst/tmpl/gstbasesink.sgml:
20982 * docs/gst/tmpl/gstbasesrc.sgml:
20983 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20984 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20985 (gst_base_sink_finalize), (gst_base_sink_set_clock),
20986 (gst_base_sink_set_property), (gst_base_sink_get_property),
20987 (gst_base_sink_handle_object), (gst_base_sink_event),
20988 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20989 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20990 (gst_base_sink_loop), (gst_base_sink_deactivate),
20991 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20992 (gst_base_sink_change_state):
20993 * gst/base/gstbasesink.h:
20994 * gst/base/gstbasesrc.h:
20995 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20996 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20997 (gst_filesink_init):
20998 more macro splitting
21000 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21002 * gst/gstelement.c: (gst_element_get_bus):
21004 * tools/gst-launch.c: (check_intr), (event_loop):
21007 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21009 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21012 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21014 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21015 (gst_base_src_finalize):
21016 add finalize method and clean up properly
21017 * gst/gstpipeline.c: (gst_pipeline_dispose):
21020 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21022 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21024 add more things to check
21025 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21026 * gst/gstelement.c:
21029 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21031 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21032 (GST_START_TEST), (fakesrc_suite):
21033 * check/gst-libs/gdp.c: (GST_START_TEST):
21034 * check/gst/gst.c: (GST_START_TEST):
21035 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21036 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21037 * check/gst/gstbus.c: (GST_START_TEST):
21038 * check/gst/gstcaps.c: (GST_START_TEST):
21039 * check/gst/gstdata.c: (GST_START_TEST):
21040 * check/gst/gstelement.c: (GST_START_TEST):
21041 * check/gst/gstghostpad.c: (GST_START_TEST):
21042 * check/gst/gstiterator.c: (GST_START_TEST):
21043 * check/gst/gstmessage.c: (GST_START_TEST):
21044 * check/gst/gstobject.c: (GST_START_TEST):
21045 * check/gst/gstpad.c: (GST_START_TEST):
21046 * check/gst/gststructure.c: (GST_START_TEST):
21047 * check/gst/gstsystemclock.c: (GST_START_TEST),
21048 (gst_systemclock_suite):
21049 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21050 * check/gst/gstvalue.c: (GST_START_TEST):
21051 * check/pipelines/cleanup.c: (GST_START_TEST):
21052 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21053 * check/states/sinks.c: (GST_START_TEST):
21054 * check/gstcheck.c: (gst_check_init):
21055 * check/gstcheck.h:
21056 add debugging category
21057 use GST_START_TEST now, so we add a debug line
21059 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21061 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21062 add test for state change message on a bin
21063 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21065 * gst/gstbin.c: (gst_bin_init):
21066 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21067 * gst/gstelement.c: (gst_element_post_message),
21068 (gst_element_set_state):
21069 * gst/gstelementfactory.c: (gst_element_factory_create):
21070 * gst/gstmessage.c: (gst_message_new):
21071 * gst/gstscheduler.c:
21072 various debugging additions and cleanups
21074 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21076 * check/Makefile.am:
21077 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21079 adding tests for elements
21080 * gst/gstelement.c: (gst_element_dispose):
21082 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21084 * gst/registries/gstlibxmlregistry.c: (load_feature):
21085 plug more leaks. A simple gst_init() now is leakfree, yay.
21087 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21089 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21090 (gst_xml_registry_load):
21091 plug another memleak
21093 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21096 use GST_SET_ERROR_CFLAGS
21097 * docs/faq/cvs.xml:
21098 change to ERROR_CFLAGS
21100 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21103 make GST_ERROR_CFLAGS overridable and re-enable Werror
21104 * docs/faq/cvs.xml:
21105 add a note about error CFLAGS
21106 * docs/gst/tmpl/gstfakesrc.sgml:
21107 * gst/elements/gstfakesrc.c:
21108 comment out some unused code
21109 * gst/gst.c: (split_and_iterate):
21110 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21114 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21116 * common/Makefile.am:
21117 * common/gtk-doc.mak:
21118 * docs/gst/Makefile.am:
21119 factor out gtk-doc.mak
21121 2005-07-07 Wim Taymans <wim@fluendo.com>
21123 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21124 (gst_thread_scheduler_dispose):
21125 Unlock the STREAM_LOCK completely.
21127 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21129 * check/Makefile.am:
21130 * check/elements/.cvsignore:
21131 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21132 (START_TEST), (fakesrc_suite), (main):
21133 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21134 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21135 (gst_fakesrc_create), (gst_fakesrc_start):
21136 * gst/elements/gstfakesrc.h:
21137 adding a first element test
21139 2005-07-07 Andy Wingo <wingo@pobox.com>
21141 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21144 2005-07-07 Wim Taymans <wim@fluendo.com>
21150 2005-07-07 Wim Taymans <wim@fluendo.com>
21152 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21153 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21154 Allow subclasses to implement their own negotiation.
21156 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21158 * docs/design/part-gstbin.txt:
21159 * docs/design/part-gstpipeline.txt:
21160 Update design notes to reflect the movement of
21161 responsibility for bus handling from GstPipeline to
21164 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21167 Remove unnecessary queue2/3/4 examples.
21169 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21171 * examples/Makefile.am:
21172 * examples/helloworld/helloworld.c: (event_loop), (main):
21173 * examples/queue/queue.c: (event_loop), (main):
21174 * examples/queue2/queue2.c: (main):
21175 Update a couple of the examples to work again.
21177 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21178 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21179 Spelling corrections and extra debug.
21181 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21182 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21183 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21185 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21186 (gst_pipeline_change_state):
21187 * gst/gstpipeline.h:
21188 Move the bus handler for children to the GstBin, and create a
21189 separate bus for receiving messages from children to the one the
21190 bus sends 'upwards' on.
21192 2005-07-06 Wim Taymans <wim@fluendo.com>
21195 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21196 (gst_base_sink_handle_object), (gst_base_sink_loop),
21197 (gst_base_sink_change_state):
21198 * gst/base/gstbasesink.h:
21199 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21200 (gst_base_src_init), (gst_base_src_setcaps),
21201 (gst_base_src_getcaps), (gst_base_src_loop),
21202 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21203 (gst_base_src_start), (gst_base_src_change_state):
21204 * gst/base/gstbasesrc.h:
21205 Make basesrc negotiate.
21206 Handle the case where preroll fails in basesink.
21209 2005-07-06 Wim Taymans <wim@fluendo.com>
21211 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21212 Implement the fixate function.
21213 Clean up acceptcaps.
21215 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21217 * docs/pwg/building-filterfactory.xml:
21218 * docs/pwg/pwg.xml:
21219 Remove never-written filter-factory chapter; I'll add the various
21220 base classes to part 4 ("other element types") later on.
21222 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21224 * docs/pwg/advanced-negotiation.xml:
21225 * docs/pwg/building-boiler.xml:
21226 * docs/pwg/building-pads.xml:
21227 * docs/pwg/pwg.xml:
21228 * examples/pwg/Makefile.am:
21229 Add a chapter on caps negotiation, simplify the original code
21230 samples a bit w.r.t. caps negotiation, add link to the advanced
21231 section. Add a bunch of examples showing different use cases of
21232 different types of caps negotiation. Upstream renegotiation isn't
21233 fully documented yet since nobody knows how that works.
21235 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21237 * check/gst/gstpad.c:
21238 * check/gstcheck.c:
21239 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21240 if pad has no parent, return NULL as list of internal links
21242 2005-07-05 Andy Wingo <wingo@pobox.com>
21244 * gst/elements/gstfilesrc.c:
21245 * gst/elements/gstfakesrc.c:
21246 * gst/base/gstpushsrc.c:
21247 * gst/base/gstbasesrc.h:
21248 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21250 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21253 better report generation target (lcov needs a patch)
21255 2005-07-05 Andy Wingo <wingo@pobox.com>
21257 * gst/elements, testsuite: Null if we got it...
21259 2005-07-05 Wim Taymans <wim@fluendo.com>
21262 * libs/gst/dataprotocol/Makefile.am:
21263 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21264 * libs/gst/dataprotocol/dataprotocol.h:
21265 * pkgconfig/Makefile.am:
21266 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21267 * pkgconfig/gstreamer-dataprotocol.pc.in:
21268 Ported dataprotol to 0.9.
21269 Added pkgconfig files.
21271 2005-07-05 Andy Wingo <wingo@pobox.com>
21273 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21274 Default to returning TRUE for the case when tranform_caps returns
21275 a fixed caps, like for identity or volume.
21277 * check/gst/gstbus.c (pound_bus_with_messages):
21278 * check/gst/gstmessage.c (START_TEST):
21279 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21280 message API change.
21282 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21283 logic weaks here: always run transform_caps, trying passthrough
21284 operation only if the original caps intersects with the transform.
21286 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21287 source and sink caps.
21289 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21290 Intersect the peer caps with the pad template before going into
21292 (gst_base_transform_transform_caps): More debugging.
21294 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21297 2005-07-04 Edward Hervey <edward@fluendo.com>
21301 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21304 2005-07-04 Andy Wingo <wingo@pobox.com>
21306 * check/gst/gstpad.c: Only set explicit caps on pads.
21308 2005-07-01 Andy Wingo <wingo@pobox.com>
21310 * tests/network-clock.scm: Commentary update.
21312 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21313 Didn't really make sense, not implementable with basetransform,
21315 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21316 attempt at implementing the sync property, needs an unlock method.
21318 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21319 New func, by default returns the same caps (the identity
21321 (gst_base_transform_getcaps): Uses transform_caps to return
21322 something sensible.
21323 (gst_base_transform_setcaps): Complicated logic to get caps on
21324 both pads, even if they are different, and to call set_caps once
21325 for every time both pads get their caps set.
21326 (gst_base_transform_handle_buffer): Give the ref to the transform
21327 function. Allows in-place modification of the buffer.
21329 * gst/base/gstbasetransform.h (transform_caps): New class method.
21330 Given caps on one side, what can I do on the other.
21331 (set_caps): Take two caps, one for each side of the element.
21334 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21335 caps in place. This is safe because we can check the mutability of
21336 the caps, and a good idea because fixate functions are just called
21337 as a matter of last resort. (Not actually implemented.)
21338 (gst_pad_set_caps): If the caps we're setting is actually the same
21339 as the existing pad caps, just update the pointer without calling
21340 setcaps. Assert that caps is either NULL or fixed, as per the
21343 * gst/gstghostpad.c: Update for fixate changes.
21345 2005-07-02 Andy Wingo <wingo@pobox.com>
21348 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21349 two refcounts makes it immutable, which is enough. Doc more.
21351 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21353 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21354 Put the mini_object into GValue as a mini_object,
21355 not a gpointer, since that's how we declared
21358 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21360 * examples/pwg/Makefile.am:
21361 Fix buildbot again.
21363 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21365 * docs/pwg/building-testapp.xml:
21367 * examples/pwg/Makefile.am:
21370 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21373 * examples/Makefile.am:
21374 * examples/pwg/Makefile.am:
21375 * examples/pwg/extract.pl:
21376 Enable building the PWG examples.
21377 * docs/pwg/advanced-interfaces.xml:
21378 Add URI interface stub.
21379 * docs/pwg/advanced-types.xml:
21380 * docs/pwg/other-autoplugger.xml:
21381 * docs/pwg/appendix-porting.xml:
21382 * docs/pwg/pwg.xml:
21383 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21384 * docs/pwg/building-boiler.xml:
21385 * docs/pwg/building-chainfn.xml:
21386 * docs/pwg/building-pads.xml:
21387 * docs/pwg/building-props.xml:
21388 * docs/pwg/building-state.xml:
21389 * docs/pwg/building-testapp.xml:
21390 Update the building-*.xml parts for 0.9 changes. All examples
21391 code blocks compile in examples/pwg/*.
21393 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21395 * docs/manual/advanced-autoplugging.xml:
21396 * docs/manual/appendix-checklist.xml:
21397 * docs/manual/appendix-integration.xml:
21398 * docs/manual/highlevel-components.xml:
21399 Fix playbin/decodebin examples, update docs a bit, mention bus
21400 instead of signals in various places, mention kmplayer and
21401 kaffeine since they have a working GStreamer backend in the KDE
21404 2005-06-30 Wim Taymans <wim@fluendo.com>
21407 * docs/design/draft-ghostpads.txt:
21408 * docs/design/draft-push-pull.txt:
21409 * docs/design/draft-query.txt:
21410 * docs/design/part-TODO.txt:
21411 * docs/design/part-query.txt:
21412 Added CHANGES-0.9 doc, updated status of other docs.
21417 2005-06-30 Wim Taymans <wim@fluendo.com>
21419 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21420 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21421 (gst_base_sink_change_state):
21422 * gst/base/gstbasesink.h:
21423 Some tweaks, only EOS and a buffer complete a preroll.
21425 2005-06-30 Andy Wingo <wingo@pobox.com>
21427 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21428 activate_push down to the internal pad as well.
21430 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
21432 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21434 * gst/gsttaginterface.c:
21435 Some documentation fixes (#307394 and #307397).
21437 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
21439 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21441 * gst/gstvalue.c: (gst_value_intersect_list):
21442 Fix memleak (#309125).
21444 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21446 * docs/manual/advanced-dataaccess.xml:
21447 Fix fakesrc example to compile; doesn't work, bug somewhere...?
21448 * docs/manual/basics-pads.xml:
21449 Add reference for filtered caps to above chapter.
21451 2005-06-30 Wim Taymans <wim@fluendo.com>
21453 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21454 (gst_bin_change_state):
21456 Lame attempt at making the state change function a bit
21459 2005-06-30 Wim Taymans <wim@fluendo.com>
21461 * docs/design/part-clocks.txt:
21462 * docs/design/part-element-sink.txt:
21463 * docs/design/part-events.txt:
21464 * docs/design/part-preroll.txt:
21465 * docs/design/part-states.txt:
21466 Some more tweeks and additions to the docs.
21468 2005-06-30 Wim Taymans <wim@fluendo.com>
21470 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21471 (default_have_data), (gst_pad_class_init), (gst_pad_init),
21472 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21473 (gst_pad_check_pull_range), (gst_pad_get_range),
21474 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21476 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21477 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21478 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21479 (gst_pad_remove_buffer_probe):
21480 Removed atomic operations, use existing LOCK.
21481 Move exception handling out of main code path.
21483 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21485 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21486 (silly_return_true_function), (gst_pad_class_init),
21487 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21488 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21489 (gst_pad_send_event):
21490 Fix accumulator, add default value by using _emitv() instead
21491 of _emit() for signal emission.
21493 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21495 * docs/manual/advanced-dataaccess.xml:
21496 * examples/manual/Makefile.am:
21498 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21501 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
21503 * gst/elements/gstfilesink.c: (gst_filesink_render):
21504 Simplify code so that we don't have to handle short
21505 writes and return GST_FLOW_ERROR if an error occured.
21507 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21509 * docs/gst/gstreamer-docs.sgml:
21510 Remove probes more.
21512 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21514 * docs/gst/gstreamer-sections.txt:
21515 * docs/gst/tmpl/gstpad.sgml:
21516 * docs/gst/tmpl/gstprobe.sgml:
21518 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21519 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21520 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21521 (gst_pad_push_event), (gst_pad_send_event):
21523 * gst/gstutils.c: (gst_pad_add_data_probe),
21524 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21525 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21526 (gst_pad_remove_buffer_probe):
21528 Remove old probes, add new g-signal-based probes and some utility
21531 2005-06-29 Edward Hervey <edward@fluendo.com>
21533 * gst/gstelementfactory.c:
21536 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21537 the definition to the header file.
21539 2005-06-29 Andy Wingo <wingo@pobox.com>
21541 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21542 plugins from the source directory.
21544 2005-06-29 Wim Taymans <wim@fluendo.com>
21546 * docs/gst/tmpl/gstbuffer.sgml:
21547 * docs/gst/tmpl/gstclock.sgml:
21548 Some fixings for blantently wrong text.
21550 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21552 * check/Makefile.am:
21553 * gst/gst.c: (add_path_func), (init_pre):
21554 * gst/gstregistry.c: (gst_registry_add_path):
21555 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21556 only scan the GST_PLUGIN_PATH locations, and not add
21559 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21561 * docs/gst/gstreamer-sections.txt:
21562 * docs/gst/tmpl/gstbasesrc.sgml:
21563 * gst/gstelement.c:
21564 * gst/gstelement.h:
21569 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21571 * docs/manual/advanced-autoplugging.xml:
21572 Fix autoplugging example.
21574 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21576 * docs/manual/advanced-autoplugging.xml:
21577 * docs/manual/mime-world.fig:
21578 Try to get autoplugging working, fix type detection. Fix text
21579 in hello-world image.
21581 2005-06-29 Wim Taymans <wim@fluendo.com>
21583 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21584 (gst_base_sink_change_state):
21588 map SIGNAL and BROADCAST to the right function.
21591 Remove redundant braces.
21593 * gst/gstpad.c: (gst_pad_set_caps):
21594 Don't call setcaps function when reseting caps to NULL.
21596 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21597 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21598 (gst_system_clock_id_unschedule):
21599 Use BROADCAST as this is what we do.
21601 2005-06-29 Wim Taymans <wim@fluendo.com>
21603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21604 We are actually prerolling before commiting the state
21607 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21609 * docs/manual/advanced-clocks.xml:
21610 * docs/manual/advanced-interfaces.xml:
21611 * docs/manual/advanced-metadata.xml:
21612 * docs/manual/advanced-position.xml:
21613 * docs/manual/advanced-schedulers.xml:
21614 * docs/manual/advanced-threads.xml:
21615 * docs/manual/appendix-porting.xml:
21616 * docs/manual/basics-bins.xml:
21617 * docs/manual/basics-bus.xml:
21618 * docs/manual/basics-elements.xml:
21619 * docs/manual/basics-helloworld.xml:
21620 * docs/manual/basics-pads.xml:
21621 * docs/manual/highlevel-components.xml:
21622 * docs/manual/manual.xml:
21623 * docs/manual/thread.fig:
21624 Update (until threads/scheduling) Application Development Manual;
21625 remove GstThread, add GstBus, add simple porting checklist, add
21626 documentation for tag writing, clocks, make all examples until this
21627 part compile and run.
21628 * examples/manual/Makefile.am:
21629 Update from changes to Application Development Manual; add bus
21630 example, remove thread example.
21632 2005-06-28 Wim Taymans <wim@fluendo.com>
21634 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21635 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21636 (gst_bus_source_dispatch):
21637 Add debugging messages.
21638 Make internal methods static.
21639 Handle the case where the bus is flushed in the handler.
21641 * gst/gstelement.c: (gst_element_get_bus):
21642 Fix refcount in _get_bus();
21644 * gst/gstpipeline.c: (gst_pipeline_change_state),
21645 (gst_pipeline_get_clock_func):
21646 Clock refcounting fixes.
21647 Handle the case where preroll timed out more gracefully.
21649 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21650 Clean up the internal thread in dispose. This is needed
21651 for subclasses that actually get disposed.
21653 * gst/schedulers/threadscheduler.c:
21654 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21655 (gst_thread_scheduler_dispose):
21656 Free thread pool in dispose.
21658 2005-06-28 Andy Wingo <wingo@pobox.com>
21660 * tests/network-clock-utils.scm (debug, print-event): New utils.
21662 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21663 (*packet-loss*): Unified loss probability.
21664 (network-time): Report out-of-band events.
21666 * tests/plot-data: Add support for out-of-band events. Hack it
21667 into this script instead of passing it down the pipe; should fix
21670 2005-06-28 Wim Taymans <wim@fluendo.com>
21672 * docs/gst/gstreamer.types:
21673 * docs/gst/tmpl/gstbasesrc.sgml:
21674 * docs/gst/tmpl/gstpad.sgml:
21677 2005-06-28 Wim Taymans <wim@fluendo.com>
21679 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21680 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21681 (gst_proxy_pad_do_fixatecaps):
21682 Correctly proxy the check_pull_range function.
21684 2005-06-28 Andy Wingo <wingo@pobox.com>
21686 * tests/network-clock.scm: Removed need for slib.
21688 2005-06-28 Wim Taymans <wim@fluendo.com>
21690 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21691 (gst_basesink_preroll_queue_flush):
21692 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21693 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21694 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21695 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21696 (gst_proxy_pad_set_property):
21699 * gst/gstqueue.c: (gst_queue_init):
21700 The deprecated pad loop function is removed now.
21702 2005-06-28 Andy Wingo <wingo@pobox.com>
21704 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21705 New parameters, simulate network packet loss.
21707 * tests/network-clock-utils.scm: Initialize the RNG.
21709 2005-06-28 Wim Taymans <wim@fluendo.com>
21711 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21712 (gst_basesink_event), (gst_basesink_deactivate):
21713 Flushing the preroll queue always needs to unlock the waiters.
21715 2005-06-28 Edward Hervey <edward@fluendo.com>
21717 * gst/gstpipeline.c: (gst_pipeline_send_event):
21718 Wheen a seek was successful on a pipeline, set the stream_time to the
21719 seek offset in order to have a synchronized stream_time.
21721 2005-06-28 Wim Taymans <wim@fluendo.com>
21723 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21724 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21725 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21726 (gst_proxy_pad_do_fixatecaps):
21727 Call wrapper function instead of just calling the function
21728 pointers. This takes care of any locking and whatmore.
21730 2005-06-28 Wim Taymans <wim@fluendo.com>
21732 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21733 (gst_pad_pull_range):
21735 CONNECTED -> LINKED.
21737 2005-06-28 Andy Wingo <wingo@pobox.com>
21739 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21740 source-munging commit!!!
21742 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21743 (gst_object_sink): Take gpointer arguments, not GstObject --
21744 avoids casts. Like GLib.
21746 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21749 2005-06-27 Andy Wingo <wingo@pobox.com>
21751 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21754 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21755 returns a sorted copy of the trace list.
21756 (gst_alloc_trace_print_live): New API, only prints traces with
21757 live objects. Sort the list.
21758 (gst_alloc_trace_print_all): Sort the list.
21759 (gst_alloc_trace_print): Align columns.
21761 * gst/elements/gstttypefindelement.c:
21762 * gst/elements/gsttee.c:
21763 * gst/base/gstbasesrc.c:
21764 * gst/base/gstbasesink.c:
21765 * gst/base/gstbasetransform.c:
21766 * gst/gstqueue.c: Adapt for pad activation changes.
21768 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21770 (gst_pipeline_dispose): Drop ref on sched.
21772 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21773 (gst_pad_activate_default): Push mode by default.
21774 (pre_activate_switch, post_activate_switch): New stubs, things to
21775 do before and after switching activation modes on pads.
21776 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21777 the pad's activate function to choose which mode to activate.
21778 Shortcut on deactivation and call the right function directly.
21779 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21781 (gst_pad_activate_push): New API, same for push mode.
21782 (gst_pad_set_activate_function)
21783 (gst_pad_set_activatepull_function)
21784 (gst_pad_set_activatepush_function): Setters for new API.
21786 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21787 Trace all miniobjects.
21788 (gst_mini_object_make_writable): Unref the arg if we copy, like
21789 gst_caps_make_writable.
21791 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21793 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21794 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21795 Adapt for new pad API.
21797 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21799 * gst/gstelement.h:
21800 * gst/gstelement.c (gst_element_iterate_src_pads)
21801 (gst_element_iterate_sink_pads): New API functions.
21803 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21804 should fold into gstiterator.c in some form.
21805 (gst_element_pads_activate): Simplified via use of fold and
21806 delegation of decisions to gstpad->activate.
21808 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21811 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21812 class once in init, like gstmessage. Didn't run into this issue
21813 but it seems correct. Don't initialize a trace, gstminiobject does
21816 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21817 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21819 (assert_live_count): New util function, uses alloc traces to check
21822 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21823 To be modified when unlink drops the internal pad.
21825 2005-06-27 Wim Taymans <wim@fluendo.com>
21827 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21828 (gst_bin_change_state):
21829 Cleanup the get_state() function a little, make sure it
21830 iterates the same set of elements.
21831 Added stub iterate_state_order().
21833 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21835 * docs/gst/gstreamer-docs.sgml:
21836 * docs/gst/gstreamer-sections.txt:
21837 * docs/gst/gstreamer.types:
21838 * docs/gst/tmpl/gstbasesink.sgml:
21839 * docs/gst/tmpl/gstbasesrc.sgml:
21840 * docs/gst/tmpl/gstbasetransform.sgml:
21841 * docs/gst/tmpl/gstelement.sgml:
21842 * docs/gst/tmpl/gstiterator.sgml:
21843 * gst/base/gstbasesrc.c:
21844 * gst/base/gstbasesrc.h:
21845 * gst/base/gstbasetransform.h:
21846 * gst/gstelement.c:
21847 * gst/gstiterator.h:
21848 adding basetransform and iterator docs
21850 2005-06-27 Andy Wingo <wingo@pobox.com>
21852 * docs/design/part-activation.txt: Notes on how activation should
21853 work -- not quite implemented yet.
21855 2005-06-25 Wim Taymans <wim@fluendo.com>
21857 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21858 At least get the chain function correct, needs more
21861 2005-06-25 Wim Taymans <wim@fluendo.com>
21863 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21864 (gst_basesink_handle_object), (gst_basesink_event),
21865 (gst_basesink_do_sync), (gst_basesink_handle_event),
21866 (gst_basesink_change_state):
21868 Right, two problems here: ghostpads don't take locks and
21869 glib _rec_mutex_lock_full() with depth==0 still locks.
21870 Catch illegal locking and g_warn them.
21872 2005-06-25 Wim Taymans <wim@fluendo.com>
21874 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21875 Have to check for completion now...
21877 2005-06-25 Wim Taymans <wim@fluendo.com>
21879 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21880 (gst_basesink_handle_object), (gst_basesink_event),
21881 (gst_basesink_do_sync), (gst_basesink_handle_event),
21882 (gst_basesink_change_state):
21884 Unlock STREAM_LOCK whatever the recursion was.
21886 2005-06-25 Wim Taymans <wim@fluendo.com>
21888 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21889 (gst_basesink_preroll_queue_empty),
21890 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21891 (gst_basesink_event), (gst_basesink_do_sync),
21892 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21893 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21894 (gst_basesink_change_state):
21895 Reworked the base sink, handle event and buffer serialisation
21896 correctly and removed possible deadlock.
21897 Handle EOS correctly.
21899 2005-06-25 Wim Taymans <wim@fluendo.com>
21901 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21902 (gst_pipeline_change_state):
21903 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21904 Allow elements to post EOS in the state change function.
21905 Fix up -launch, make it exit the poll loop when the
21906 pipeline actually changed state.
21907 Fix up warning parsing in -launch.
21909 2005-06-25 Wim Taymans <wim@fluendo.com>
21911 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21912 (gst_tee_sink_activate):
21913 Core takes STREAM_LOCK for us now.
21915 2005-06-25 Wim Taymans <wim@fluendo.com>
21917 * gst/gstelement.c: (gst_element_get_state_func),
21918 (gst_element_set_state):
21919 * gst/gstelement.h:
21920 * gst/gstmessage.c: (gst_message_parse_error),
21921 (gst_message_parse_warning):
21922 Keep track of current target state while performing a state
21923 change so that subclasses can do something interesting.
21924 Fix parsing of warning/error messages when GError is NULL.
21926 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21928 * docs/gst/Makefile.am:
21929 * docs/gst/gstreamer-docs.sgml:
21930 * docs/gst/gstreamer-sections.txt:
21931 * docs/gst/gstreamer.types:
21932 * docs/gst/tmpl/gstbasesink.sgml:
21933 * docs/gst/tmpl/gstbasesrc.sgml:
21934 * docs/gst/tmpl/gstbin.sgml:
21935 * docs/gst/tmpl/gstcompat.sgml:
21936 * docs/gst/tmpl/gstfakesink.sgml:
21937 * docs/gst/tmpl/gstfakesrc.sgml:
21938 * docs/gst/tmpl/gstfilesink.sgml:
21939 * docs/gst/tmpl/gstfilesrc.sgml:
21940 * docs/gst/tmpl/gstindex.sgml:
21941 * docs/manual/appendix-quotes.xml:
21942 * gst/base/gstbasesrc.h:
21943 * gst/elements/gstfakesrc.h:
21944 * gst/gstmessage.h:
21945 start pulling in base classes and elements in our docs
21947 2005-06-24 Stefan Kost <ensonic@users.sf.net>
21949 * docs/gst/Makefile.am:
21950 * docs/libs/Makefile.am:
21951 fixed make distcheck with gtk-doc 1.3
21953 2005-06-23 Wim Taymans <wim@fluendo.com>
21955 * gst/gstelement.c: (gst_element_get_state_func),
21956 (gst_element_set_state), (gst_element_change_state):
21957 When the state did not change, also report NO_PREROLL
21960 2005-06-23 Wim Taymans <wim@fluendo.com>
21962 * gst/gstpad.c: (gst_pad_event_default):
21963 * gst/gstqueue.c: (gst_queue_loop):
21964 No unsafe task pausing please.
21966 2005-06-23 Wim Taymans <wim@fluendo.com>
21968 * gst/schedulers/threadscheduler.c:
21969 (gst_thread_scheduler_task_start),
21970 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21971 Ref the task before pushing it on the threadpool. This
21972 makes sure that we have a ref when the threadfunction is
21975 2005-06-23 Andy Wingo <wingo@pobox.com>
21977 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21978 offset is greater than the file's size.
21980 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
21981 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21982 * gst/gstobject.c (gst_object_class_init): Make the class lock
21983 recursive. Wim won't let me drop deep_notify. Decodebin works
21984 again, whoopdy doo.
21986 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21987 internal pad, and hacks accordingly. Doesn't do it on the target
21988 pad because we change its caps. Probably catches all cases of
21990 (gst_ghost_pad_set_property): Connect to notify::caps as
21993 * tests/network-clock.scm (plot-simulation): Pipe data to the
21994 elite python skript.
21996 * tests/network-clock-utils.scm (define-parameter): New macro,
21997 defines a parameter that can be set via the command line.
21998 (set-parameter!, parse-parameter-arguments): Command line args
22001 * tests/plot-data: Simple matplotlib-based plotter, takes input on
22004 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
22006 * gst/elements/gsttypefindelement.c:
22007 (gst_type_find_element_handle_event):
22008 Don't restart typefinding on a discont.
22009 * gst/gstelement.c: (gst_element_set_state):
22010 Debug spelling fix.
22011 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22012 Allow changing mode of an active pad.
22013 Debug output fixes.
22014 * gst/registries/gstlibxmlregistry.c: (load_feature):
22015 Don't cast a static pad template to a normal pad template.
22017 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
22019 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22020 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22021 remove gst_strtoll completely, since it didn't actually do
22022 anything more than what g_ascii_strtoull already does.
22023 check for range errors when deserializing
22024 do a cast for the unsigned cases; but further fixing needs
22025 a decision on what the interpretation of "(int)" and
22026 deserialization should be for values that fall outside the
22027 type's boundaries (ie, refuse, or interpret as casting)
22029 2005-06-23 Wim Taymans <wim@fluendo.com>
22031 * check/Makefile.am:
22032 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22033 * docs/design/part-live-source.txt:
22034 * docs/design/part-states.txt:
22035 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22036 (gst_basesrc_set_live), (gst_basesrc_is_live),
22037 (gst_basesrc_get_range), (gst_basesrc_activate),
22038 (gst_basesrc_change_state):
22039 * gst/base/gstbasesrc.h:
22040 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22041 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22042 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22043 * gst/gstelement.c: (gst_element_get_state_func),
22044 (gst_element_set_state):
22045 * gst/gstelement.h:
22047 * tools/gst-launch.c: (event_loop), (main):
22048 Added support for live sources and other elements that
22050 Updated design docs, added live-source design doc.
22051 Implemented live source functionality in basesrc
22052 Fix error condition in _bin_get_state()
22053 Implement live source handling in -launch.
22054 Added check for live sources.
22055 Fixed case in GstBin where elements were changed state
22059 2005-06-23 Andy Wingo <wingo@pobox.com>
22061 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22062 borken refcounting.
22064 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22065 gst_caps_replace takes care of this for us.
22067 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22068 gst_pad_set_caps on the target, not just its setcaps() function.
22070 * tests/network-clock.scm:
22071 * tests/network-clock-utils.scm: A network clock simulator.
22072 Something of an algorithmic testbed before doing something in C.
22074 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22076 * check/Makefile.am:
22077 * check/gst/capslist.h:
22078 copy over from 0.8, and add two with bitmasks specified with
22080 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22081 add test to parse everything from capslist.h
22082 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22084 add test for structure deserialization
22085 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22086 add tests for deserialization of strings to int types
22087 * gst/gststructure.c: (gst_structure_nth_field_name):
22088 * gst/gststructure.h:
22089 add a way to get the name of a field referenced by index
22090 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22091 instead of checking if the resulting long long lies between
22092 min and max, we check if the long long would fit into
22093 a number of bytes for the final type.
22094 This fixes cases where a string represents 2^32 - 1, which
22095 when cast to int would be the (valid) -1, but is bigger than
22098 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22100 * gst/parse/grammar.y:
22101 add a log line for type deserialization
22103 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22105 * check/gst/gstvalue.c: (START_TEST):
22106 * gst/gstvalue.c: (gst_value_deserialize):
22107 return long long, not int, so gint64 deserialization actually
22108 works. Is there any flag that makes the compiler check this ?
22111 2005-06-22 Wim Taymans <wim@fluendo.com>
22114 Added convenience macros for setting buffers in GValue.
22116 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22118 * check/gst/.cvsignore:
22119 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22120 add a test deserializing int64, and comment part out because
22123 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22125 * check/Makefile.am:
22126 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22127 * testsuite/Makefile.am:
22128 * testsuite/caps/Makefile.am:
22129 * testsuite/caps/value_serialize.c:
22130 * testsuite/test_gst_init.c:
22131 move a value_serialize test over
22133 2005-06-20 Wim Taymans <wim@fluendo.com>
22138 * gst/gstvalue.c: (gst_value_compare_buffer),
22139 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22140 (gst_value_compare_flags), (gst_value_serialize_flags),
22141 (gst_value_deserialize_flags), (_gst_value_initialize):
22142 Fix serialisation of buffers, they are not boxed types anymore
22144 2005-06-20 Wim Taymans <wim@fluendo.com>
22146 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22147 Testcase to show error in buffer-on-caps serialisation.
22149 2005-06-20 Andy Wingo <wingo@pobox.com>
22151 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22152 will be adding to later.
22154 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22155 if its socks fill with rocks.
22156 (gst_system_clock_obtain): Set the name on object construction.
22157 Avoid double-checked locking.
22159 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22161 * gst/gsturi.c: (gst_element_make_from_uri):
22162 Fix potential endless loop.
22164 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22166 * check/Makefile.am:
22168 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22170 move over from testsuite dir and clean up
22173 * testsuite/Makefile.am:
22174 * testsuite/tags/.cvsignore:
22175 * testsuite/tags/Makefile.am:
22176 * testsuite/tags/merge.c:
22177 remove testsuite/tags
22179 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22181 * docs/gst/gstreamer-sections.txt:
22182 * docs/gst/tmpl/gstenumtypes.sgml:
22183 * win32/gstenumtypes.c:
22184 clean up documentation build a little
22186 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22188 * check/gstcheck.h:
22189 add macros for checking refcounts on objects and caps
22190 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22191 add some more unit tests
22192 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22193 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22194 fix leaked refcounts (I hope :)) so unittest works
22198 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22200 * configure.ac: back to HEAD
22202 === release 0.9.1 ===
22204 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22210 2005-06-17 Andy Wingo <wingo@pobox.com>
22212 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22213 assert; it's always possible that the pad gets deactivated in
22214 between the checks in gstpad.c and the implementation. Rely on
22215 finish_preroll() to return a FLUSHING or similar instead of on the
22218 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22219 clock and post an EOS message if we come out of finish_preroll in
22222 2005-06-16 David Schleef <ds@schleef.org>
22224 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22225 (gst_capsfilter_set_property): Allow NULL as possible value
22226 for filter_caps property, indicating GST_CAPS_ANY.
22228 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22230 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22232 * gst/schedulers/Makefile.am:
22234 * gstreamer.spec.in:
22237 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22239 * gstreamer.spec.in:
22242 2005-06-08 Andy Wingo <wingo@pobox.com>
22244 * gst/gstutils.c: RPAD fixes all around.
22245 (gst_element_link_pads): Refcounting fixes.
22247 * tools/gst-inspect.c:
22248 * tools/gst-xmlinspect.c:
22250 * gst/base/gsttypefindhelper.c:
22251 * gst/base/gstbasesink.c:
22252 * gst/gstqueue.c: RPAD fixes.
22254 * gst/gstghostpad.h:
22255 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22256 pads. The tricky thing is they provide both source and sink
22257 interfaces, since they proxy the internal pad for the external
22258 pad, and vice versa. Implement with lower-level ProxyPad objects,
22259 with the interior proxy pad as a child of the exterior ghost pad.
22260 Should write a doc on this.
22262 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22263 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22266 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22267 pads are real pads. No ghost pads in this file. Not documenting
22268 the myriad s/RPAD/PAD/ and REALIZE fixes.
22269 (gst_pad_class_init): Add properties for "direction" and
22270 "template". Both are construct-only, so they can't change during
22271 the life of the pad. Fixes properly deriving from GstPad.
22272 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22273 derived objects, just set properties when creating the objects via
22275 (gst_pad_get_parent): Implement as a function, return NULL if the
22276 parent is not an element.
22277 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22278 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22280 * gst/gstobject.c (gst_object_class_init): Make name a construct
22281 property. Don't set it in the object init.
22283 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22284 with UNKNOWN direction.
22285 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22286 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22287 (gst_element_remove_pad): Remove ghost-pad special cases.
22288 (gst_element_pads_activate): Remove rpad cruft.
22290 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22291 catch the pad's-parent-not-an-element case.
22293 * gst/gst.h: Include gstghostpad.h.
22295 * gst/gst.c (init_post): No more real, ghost pads.
22297 * gst/Makefile.am: Add gstghostpad.[ch].
22299 * check/Makefile.am:
22300 * check/gst/gstbin.c:
22301 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22302 into a bin creates ghost pads, and that the refcounts are right.
22303 Partly moved from gstbin.c.
22305 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22307 * check/gst-libs/.cvsignore:
22308 * check/gst/.cvsignore:
22309 * check/pipelines/.cvsignore:
22311 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22312 (START_TEST), (cleanup_suite), (main):
22313 add some tests related to cleanup after running pipelines
22315 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22317 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22318 add a testsuite for GstBuffer
22320 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22322 * gst/gstminiobject.h:
22323 add defines for accessing the refcount
22325 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22327 * Makefile.am: added support for html unit test coverage reports
22329 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22331 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22332 Free existing caps if the capsfilter changes. Add a FIXME about
22333 setting those caps on the pads.
22335 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22336 Before adding a ghost pad to a parent bin, check that there isn't
22337 already one for the element on the bin. Prevents infinite recursion
22338 when using decodebin in parse pipelines. Andy says he'll rewrite the
22339 way this works anyway, so ignore the hack.
22341 2005-06-02 Andy Wingo <wingo@pobox.com>
22343 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22344 file size, pass it on to the type find helper.
22346 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22347 segment_start and segment_end properly according to the seek
22348 method. Segment_end is still a bit flaky because offset can be
22349 negative for CUR and END cases, but it takes -1 as an "unset"
22352 2005-06-02 Wim Taymans <wim@fluendo.com>
22354 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22355 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22356 (gst_basesink_activate):
22357 * gst/base/gstbasesink.h:
22358 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22359 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22360 (gst_pad_query), (gst_pad_start_task):
22362 * gst/gstqueue.c: (gst_queue_bufferalloc),
22363 (gst_queue_handle_sink_event), (gst_queue_chain):
22364 Bufferalloc: return GstFlowReturn to more accuratly report
22365 why allocation failed.
22367 2005-06-02 Wim Taymans <wim@fluendo.com>
22369 * gst/gstpipeline.c: (gst_pipeline_send_event):
22370 Take snapshot of state without blocking.
22372 2005-06-02 Wim Taymans <wim@fluendo.com>
22374 * docs/design/part-TODO.txt:
22375 * docs/design/part-caps.txt:
22376 * docs/design/part-clocks.txt:
22377 * docs/design/part-negotiation.txt:
22378 * docs/design/part-preroll.txt:
22381 2005-05-30 Wim Taymans <wim@fluendo.com>
22383 * gst/elements/gstidentity.c: (gst_identity_event),
22384 (gst_identity_transform), (gst_identity_get_property):
22385 Protect last_message property as it is accessed from
22388 2005-05-30 Wim Taymans <wim@fluendo.com>
22390 * gst/gstelement.c: (gst_element_init),
22391 (gst_element_pads_activate), (gst_element_change_state):
22392 Slicker pad activation code.
22394 2005-05-30 Wim Taymans <wim@fluendo.com>
22397 * gst/gstelement.h:
22398 * gst/gstelementfactory.h:
22400 Move elementfactory methods to separate .h file.
22402 2005-05-30 Wim Taymans <wim@fluendo.com>
22404 * docs/design/part-overview.txt:
22405 * gst/gstsystemclock.h:
22406 Small typo fixes, doc updates.
22408 2005-05-30 Wim Taymans <wim@fluendo.com>
22410 * gst/gst.c: (gst_init_get_popt_table), (init_post),
22411 (init_popt_callback):
22412 Remove cpu-opt flag.
22414 2005-05-30 Wim Taymans <wim@fluendo.com>
22416 * gst/gstbuffer.c: (gst_subbuffer_finalize),
22417 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22419 Avoid typechecking in places where not needed.
22420 Added accessor for malloc_data.
22422 2005-05-30 Wim Taymans <wim@fluendo.com>
22424 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22425 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22426 (gst_pad_configure_sink), (gst_pad_configure_src),
22427 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22428 (gst_pad_start_task):
22429 Propagate errors from _set_caps() in configure_src/sink
22430 functions instead of returning TRUE.
22431 FLUSH events can travel up and downstream
22434 2005-05-30 Wim Taymans <wim@fluendo.com>
22436 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22437 (gst_basesink_activate):
22438 Handle EOS in preroll.
22440 2005-05-30 Wim Taymans <wim@fluendo.com>
22442 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22443 (gst_queue_loop), (gst_queue_handle_src_event):
22444 Remove old pieces of code
22445 Flushing the queue in an upstream event is a very bad idea.
22447 2005-05-26 Andy Wingo <wingo@pobox.com>
22449 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22450 gst_value_set_mini_object so as to add a ref on the object (which
22451 will be removed when the value is unset).
22453 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22454 arg type in ::handoff.
22456 * gst/gstelement.c (gst_element_change_state): Also deactivate
22457 pads in READY->NULL, just in case the element didn't make it to
22458 PAUSED. Wingo tested, Wim approved.
22460 2005-05-26 Wim Taymans <wim@fluendo.com>
22462 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22463 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22464 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22465 A flushing pad cannot be used to alloc_buffer from.
22467 2005-05-26 Wim Taymans <wim@fluendo.com>
22469 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22470 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22471 (gst_bus_source_dispatch), (gst_bus_source_finalize),
22472 (gst_bus_create_watch), (gst_bus_add_watch_full):
22474 Implement a real GSource and use g_main_context_wakeup() to
22475 signal new messages instead of the socketpair.
22477 2005-05-25 Wim Taymans <wim@fluendo.com>
22479 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22480 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22481 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22482 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22483 (gst_pad_send_event), (gst_pad_start_task):
22484 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22485 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22486 (gst_queue_sink_activate), (gst_queue_src_activate),
22487 (gst_queue_change_state):
22489 Fix state changes for non sinks. We now change sinks, then elements
22490 with unconnected srcpads, then the rest.
22491 More efficient queue unlocking in flush and state changes.
22492 Set the pad activate mode even if it does not have an activate
22495 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22497 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22498 Don't go in pull mode for non-seekable sources.
22499 * gst/elements/gsttypefindelement.h:
22500 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22501 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22502 (free_entry), (stop_typefinding),
22503 (gst_type_find_element_handle_event), (find_peek),
22504 (gst_type_find_element_chain), (do_pull_typefind),
22505 (gst_type_find_element_change_state):
22506 Allow typefinding (w/o seeking) in push-mode, simplified version
22507 of what was in 0.8.
22508 * gst/gstutils.c: (gst_buffer_join):
22510 gst_buffer_join() from 0.8.
22512 2005-05-25 Wim Taymans <wim@fluendo.com>
22514 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22515 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22516 (gst_pad_send_event), (gst_pad_start_task):
22517 Disable attempt at mode switching until it is figured out.
22519 2005-05-25 Wim Taymans <wim@fluendo.com>
22521 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22522 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22523 (gst_basesink_finish_preroll), (gst_basesink_chain),
22524 (gst_basesink_loop), (gst_basesink_activate),
22525 (gst_basesink_change_state):
22526 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22527 (gst_basesrc_get_range), (gst_basesrc_loop),
22528 (gst_basesrc_activate):
22529 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22530 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22531 (gst_real_pad_init), (gst_real_pad_set_property),
22532 (gst_real_pad_get_property), (gst_pad_set_active),
22533 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22534 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22535 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22536 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22537 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22538 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22539 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22540 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22541 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22542 (gst_pad_stop_task):
22544 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22545 (gst_queue_loop), (gst_queue_src_activate):
22546 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22547 (gst_task_get_state):
22549 * gst/schedulers/threadscheduler.c:
22550 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22551 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22553 Remove ACTIVE pad flag, use FLUSHING everywhere
22554 Added _pad_chain(), _pad_get_range() to call chain/getrange
22556 Add locks around IS_FLUSHING when reading.
22557 Take STREAM lock in chain(), get_range() functions so plugins
22558 don't need to take it anymore.
22562 2005-05-25 Wim Taymans <wim@fluendo.com>
22564 * tools/gst-launch.c: (event_loop):
22565 Unref message after using its contents instead of
22568 2005-05-24 Wim Taymans <wim@fluendo.com>
22570 * docs/design/draft-ghostpads.txt:
22571 * docs/design/draft-push-pull.txt:
22572 * docs/design/draft-query.txt:
22573 * docs/design/part-overview.txt:
22574 Docs updates, added general overview doc.
22576 2005-05-21 David Schleef <ds@schleef.org>
22578 * docs/gst/tmpl/old/GstBin.sgml:
22579 * docs/gst/tmpl/old/GstBuffer.sgml:
22580 * docs/gst/tmpl/old/GstCaps.sgml:
22581 * docs/gst/tmpl/old/GstClock.sgml:
22582 * docs/gst/tmpl/old/GstCompat.sgml:
22583 * docs/gst/tmpl/old/GstData.sgml:
22584 * docs/gst/tmpl/old/GstElement.sgml:
22585 * docs/gst/tmpl/old/GstEvent.sgml:
22586 * docs/gst/tmpl/old/GstIndex.sgml:
22587 * docs/gst/tmpl/old/GstStructure.sgml:
22588 * docs/gst/tmpl/old/GstTag.sgml:
22589 * docs/gst/tmpl/old/cothreads.sgml:
22590 * docs/gst/tmpl/old/cothreads_compat.sgml:
22591 * docs/gst/tmpl/old/gettext.sgml:
22592 * docs/gst/tmpl/old/gobject2gtk.sgml:
22593 * docs/gst/tmpl/old/grammar.tab.sgml:
22594 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22595 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22596 * docs/gst/tmpl/old/gst_private.sgml:
22597 * docs/gst/tmpl/old/gstaggregator.sgml:
22598 * docs/gst/tmpl/old/gstarch.sgml:
22599 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22600 * docs/gst/tmpl/old/gstbufferstore.sgml:
22601 * docs/gst/tmpl/old/gstdata_private.sgml:
22602 * docs/gst/tmpl/old/gstdisksink.sgml:
22603 * docs/gst/tmpl/old/gstdisksrc.sgml:
22604 * docs/gst/tmpl/old/gstelementfactory.sgml:
22605 * docs/gst/tmpl/old/gstextratypes.sgml:
22606 * docs/gst/tmpl/old/gstfakesink.sgml:
22607 * docs/gst/tmpl/old/gstfakesrc.sgml:
22608 * docs/gst/tmpl/old/gstfdsink.sgml:
22609 * docs/gst/tmpl/old/gstfdsrc.sgml:
22610 * docs/gst/tmpl/old/gstfilesink.sgml:
22611 * docs/gst/tmpl/old/gstfilesrc.sgml:
22612 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22613 * docs/gst/tmpl/old/gstidentity.sgml:
22614 * docs/gst/tmpl/old/gstindexfactory.sgml:
22615 * docs/gst/tmpl/old/gstmarshal.sgml:
22616 * docs/gst/tmpl/old/gstmd5sink.sgml:
22617 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22618 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22619 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22620 * docs/gst/tmpl/old/gstpipefilter.sgml:
22621 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22622 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22623 * docs/gst/tmpl/old/gstshaper.sgml:
22624 * docs/gst/tmpl/old/gstspider.sgml:
22625 * docs/gst/tmpl/old/gstspideridentity.sgml:
22626 * docs/gst/tmpl/old/gststatistics.sgml:
22627 * docs/gst/tmpl/old/gsttee.sgml:
22628 * docs/gst/tmpl/old/gsttimecache.sgml:
22629 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22630 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22631 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22632 * docs/gst/tmpl/old/types.sgml:
22633 I didn't intend to add these or check them in.
22635 2005-05-19 David Schleef <ds@schleef.org>
22637 * configure.ac: Use -no-common everywhere. In a sane world, it
22638 would be the default in libtool, because without it, you can't
22639 build DLLs on Windows.
22640 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22641 * docs/gst/gstreamer-sections.txt:
22642 * docs/gst/tmpl/gstcpu.sgml:
22643 * docs/gst/tmpl/gstdata.sgml:
22644 * docs/gst/tmpl/gstthread.sgml:
22646 2005-05-19 David Schleef <ds@schleef.org>
22648 * gst/gstminiobject.c: (gst_value_set_mini_object),
22649 (gst_value_take_mini_object), (gst_value_get_mini_object):
22650 * gst/gstminiobject.h: Add GValue set/get functions.
22652 2005-05-19 Wim Taymans <wim@fluendo.com>
22654 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22655 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22656 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22658 * gst/gstbus.c: (gst_bus_post):
22659 * gst/gstelement.c: (gst_element_get_random_pad):
22660 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22661 Make subbufer unref the parent in finalize.
22662 some more debugging info.
22665 2005-05-19 Wim Taymans <wim@fluendo.com>
22667 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22668 (gst_basesink_init), (gst_basesink_finalize),
22669 (gst_basesink_activate), (gst_basesink_change_state):
22670 Don't free preroll queue too early.
22672 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22676 Hi, I'm outdated. Please shoot me.
22678 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22680 * gst/gstpipeline.c: (gst_pipeline_send_event):
22681 Do not access variables after they have been deleted.
22683 2005-05-19 Wim Taymans <wim@fluendo.com>
22685 * tools/gst-inspect.c: (print_plugin_features):
22686 A plugin feature does unfortunatly not use the
22689 2005-05-18 Wim Taymans <wim@fluendo.com>
22691 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22692 Port _span() functions to new subbuffers.
22694 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22696 * gst/gstbin.c: (gst_bin_add_func):
22697 Fix clock settery in bins when adding kids after the clock has
22700 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22702 * gst/elements/gstidentity.c: (gst_identity_class_init):
22703 Workaround until signals support GstMiniObject.
22705 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22708 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22710 2005-05-18 Wim Taymans <wim@fluendo.com>
22712 * gst/base/Makefile.am:
22713 * gst/base/gstadapter.c: (gst_adapter_base_init),
22714 (gst_adapter_class_init), (gst_adapter_init),
22715 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22716 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22717 (gst_adapter_flush), (gst_adapter_available),
22718 (gst_adapter_available_fast):
22719 * gst/base/gstadapter.h:
22720 Ported and added adapter to the base classes.
22722 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22725 * gst/gstmessage.c:
22726 Make sure the class is reffed/unreffed once before threads can be
22727 used. Fixes #304551.
22729 2005-05-17 Wim Taymans <wim@fluendo.com>
22731 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22732 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22733 * gst/gstminiobject.c: (gst_mini_object_get_type),
22734 (gst_mini_object_free):
22735 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22736 (gst_pad_push), (gst_pad_push_event):
22737 * gst/gstqueue.c: (gst_queue_change_state):
22738 Don't queue buffers in basesink when we are flushing.
22739 Unref buffer when flushing in basesink.
22740 Flush queue when going to READY
22741 Unref buffer when _push() returns an error.
22742 Don't free MiniObject instance when refcount is incremented
22743 in _finalize() so that we can recover objects.
22745 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22747 * docs/manual/advanced-schedulers.xml:
22748 * docs/manual/appendix-checklist.xml:
22749 * docs/pwg/advanced-clock.xml:
22750 * docs/pwg/advanced-interfaces.xml:
22751 * docs/pwg/advanced-request.xml:
22752 * docs/pwg/advanced-types.xml:
22753 * docs/pwg/intro-preface.xml:
22754 * examples/plugins/example.c: (gst_example_get_type),
22755 (gst_example_class_init), (gst_example_chain),
22756 (gst_example_set_property), (gst_example_get_property),
22757 (gst_example_change_state), (plugin_init):
22758 * examples/plugins/example.h:
22761 2005-05-17 Wim Taymans <wim@fluendo.com>
22763 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22764 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22765 * gst/gstqueue.c: (gst_queue_change_state):
22766 Clear queue when going to READY.
22767 Remove IN_SETCAPS flag too.
22769 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22771 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22772 Remove implicit cast from gboolean to GstElementStateReturn;
22773 make sure we still return failure in paused => ready case if
22774 the parent class fails to change state and our own stop
22777 2005-05-17 Wim Taymans <wim@fluendo.com>
22779 * tools/gst-launch.c: (event_loop):
22780 Message was unreffed too soon.
22782 2005-05-16 Andy Wingo <wingo@pobox.com>
22784 * gst/gstbin.c (sink_iterator_filter): Err... um...
22786 * check/gst/gstbin.c (test_ghost_pads): New test for the
22787 ghosting-if-elements-not-in-same-bin behavior.
22789 2005-05-16 David Schleef <ds@schleef.org>
22791 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22792 accessing refcount directly.
22794 2005-05-15 David Schleef <ds@schleef.org>
22796 * check/Makefile.am: remove GstData checks
22797 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22798 * gst/Makefile.am: add miniobject, remove data
22799 * gst/gst.h: add miniobject, remove data
22800 * gst/gstdata.c: remove
22801 * gst/gstdata.h: remove
22802 * gst/gstdata_private.h: remove
22803 * gst/gsttypes.h: remove GstEvent and GstMessage
22804 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22805 * gst/gstmarshal.list: change BOXED -> OBJECT
22807 Implement GstMiniObject.
22808 * gst/gstminiobject.c:
22809 * gst/gstminiobject.h:
22811 Modify to be subclasses of GstMiniObject.
22812 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22813 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22814 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22815 (gst_subbuffer_get_type), (gst_subbuffer_init),
22816 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22819 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22820 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22821 (_gst_event_copy), (gst_event_new):
22823 * gst/gstmessage.c: (_gst_message_initialize),
22824 (gst_message_get_type), (gst_message_class_init),
22825 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22826 (gst_message_new), (gst_message_new_error),
22827 (gst_message_new_warning), (gst_message_new_tag),
22828 (gst_message_new_state_changed), (gst_message_new_application):
22829 * gst/gstmessage.h:
22830 * gst/gstprobe.c: (gst_probe_perform),
22831 (gst_probe_dispatcher_dispatch):
22833 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22834 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22835 (_gst_query_copy), (gst_query_new):
22837 Update elements for GstData -> GstMiniObject changes
22839 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22840 (gst_queue_chain), (gst_queue_loop):
22841 * gst/elements/gstbufferstore.c:
22842 (gst_buffer_store_add_buffer_func),
22843 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22844 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22845 (gst_fakesink_render):
22846 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22847 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22848 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22849 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22850 (gst_filesrc_create_read):
22851 * gst/elements/gstidentity.c: (gst_identity_class_init):
22852 * gst/elements/gsttypefindelement.c:
22853 (gst_type_find_element_src_event), (free_entry_buffers),
22854 (gst_type_find_element_handle_event):
22855 * libs/gst/dataprotocol/dataprotocol.c:
22856 (gst_dp_header_from_buffer):
22857 * libs/gst/dataprotocol/dataprotocol.h:
22858 * libs/gst/dataprotocol/dp-private.h:
22860 2005-05-15 David Schleef <ds@schleef.org>
22862 * gst/elements/gstelements.c: Don't include headers that were
22865 2005-05-15 David Schleef <ds@schleef.org>
22867 * gst/elements/Makefile.am: Remove some elements that don't
22868 need to be in the core (or even exist at all).
22869 * gst/elements/gstaggregator.c:
22870 * gst/elements/gstaggregator.h:
22871 * gst/elements/gstmd5sink.c:
22872 * gst/elements/gstmd5sink.h:
22873 * gst/elements/gstmultifilesrc.c:
22874 * gst/elements/gstmultifilesrc.h:
22875 * gst/elements/gstpipefilter.c:
22876 * gst/elements/gstpipefilter.h:
22877 * gst/elements/gstshaper.c:
22878 * gst/elements/gstshaper.h:
22879 * gst/elements/gststatistics.c:
22880 * gst/elements/gststatistics.h:
22881 * po/POTFILES.in: Remove above files.
22883 2005-05-14 Andy Wingo <wingo@pobox.com>
22885 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22886 so as to get the refs right.
22887 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22888 unreffing objects that don't pass the filter.
22890 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22891 gst_element_set_bus.
22892 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22893 normal cases, this will destroy the bus.
22895 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22898 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22901 2005-05-13 Andy Wingo <wingo@pobox.com>
22903 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22904 gst_pad_link, call pad_link_maybe_ghosting,
22905 (pad_link_maybe_ghosting): Links pads, making sure that the
22906 elements being linked are in the same bin.
22907 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22908 Helpers for pad_link_maybe_ghosting.
22910 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22913 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22915 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22917 * docs/design/part-element-source.txt:
22920 2005-05-12 Wim Taymans <wim@fluendo.com>
22922 * gst/base/gstbasesink.c: (gst_basesink_init),
22923 (gst_basesink_activate):
22924 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22925 (gst_basesrc_is_seekable):
22926 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22927 (bin_element_is_sink), (gst_bin_change_state):
22928 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22929 * gst/gstelement.h:
22930 Identify sinks by their flag to avoid overly complicated
22932 Do state changes even for elements not reachable from the
22934 BaseSink is a sink now :)
22935 Some more debugging info in the basesrc.
22938 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22940 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22941 Implement _query on a bin, similar to _send_event.
22943 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22945 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22946 Discont event offset format should be GST_FORMAT_BYTES,
22947 not GST_FORMAT_TIME.
22949 2005-05-12 Wim Taymans <wim@fluendo.com>
22951 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22952 Same fix as Ronald's but without the signal.
22954 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22956 * gst/gstutils.c: (gst_element_query_position):
22957 No, an element is not a pad.
22959 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22961 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22962 (gst_bin_get_state):
22963 If a child is removed from a bin while we remove the child from
22964 the bin and while we're retrieving its state, signal this to the
22965 get_state function so we abort the wait (instead of waiting for
22966 a timeout) and can immediately re-iterate over all other elements.
22968 2005-05-12 Wim Taymans <wim@fluendo.com>
22970 * gst/base/Makefile.am:
22971 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22972 (gst_basesrc_start):
22973 * gst/base/gstbasesrc.h:
22974 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22975 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22976 (gst_pushsrc_init), (gst_pushsrc_create):
22977 * gst/base/gstpushsrc.h:
22978 Added is_seekable to BaseSrc
22979 Added simple PushSrc.
22981 2005-05-11 Wim Taymans <wim@fluendo.com>
22983 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22984 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22985 (gst_element_link_pads), (gst_element_query_position),
22986 (gst_element_query_convert), (intersect_caps_func),
22987 (gst_pad_query_position), (gst_pad_query_convert):
22988 Fix refcounting in utils function.
22989 No point in trying to activate a pad when it's added, it could
22990 be added from the state change function and then we deadlock, the
22991 element has to decide what to do.
22993 2005-05-10 Andy Wingo <wingo@pobox.com>
22995 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22996 *all* the arguments.
22998 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22999 stream lock if it's a FLUSH_DONE; normal flushes don't get the
23000 lock (according to the docs -- if this is wrong change the docs).
23002 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23003 flush messages in the NULL state.
23005 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23006 message immediately and return.
23007 (gst_bus_set_flushing): New function. If a bus is flushing, it
23008 flushes out any queued messages and immediately unrefs new
23009 messages. This is so when an element goes to NULL, all of the
23010 unhandled messages coming from it can be freed, and their
23011 references to the element dropped. In other words: message source
23012 ref considered harmful :P
23014 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23015 we're finished with it.
23017 * gst/gstmessage.c (gst_message_new_state_changed):
23019 2005-05-10 Wim Taymans <wim@fluendo.com>
23021 * gst/gstvalue.c: (gst_value_compare_flags),
23022 (gst_value_serialize_flags), (gst_value_deserialize_flags),
23023 (_gst_value_initialize):
23024 Added flags serialize/deserialize/compare code.
23026 2005-05-09 Andy Wingo <wingo@pobox.com>
23028 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23029 Intersect the peer's caps with our caps.
23031 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23033 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23034 * gst/elements/gsttypefindelement.c: (find_peek):
23035 Handle negative offsets better. Fixes decodebin.
23037 2005-05-09 Wim Taymans <wim@fluendo.com>
23039 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23040 (gst_base_transform_event):
23041 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23042 Implement accept_caps.
23043 Fix silly lock/unlock mismatch in base class.
23045 2005-05-09 Wim Taymans <wim@fluendo.com>
23047 * docs/design/draft-push-pull.txt:
23048 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23049 * gst/elements/gstfilesink.c: (gst_filesink_init),
23050 (gst_filesink_query):
23051 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23052 (gst_type_find_handle_src_query), (find_element_get_length):
23053 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23054 * gst/gstelement.h:
23055 * gst/gstmessage.c:
23056 * gst/gstmessage.h:
23057 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23058 (gst_real_pad_get_caps_unlocked),
23059 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23060 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23061 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23062 (gst_real_pad_dispose), (gst_real_pad_finalize),
23063 (gst_pad_load_and_link), (gst_pad_save_thyself),
23064 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23065 (gst_pad_check_pull_range), (gst_pad_pull_range),
23066 (gst_pad_template_get_type), (gst_pad_template_class_init),
23067 (gst_pad_template_init), (gst_pad_template_dispose),
23068 (name_is_valid), (gst_static_pad_template_get),
23069 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23070 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23071 (gst_pad_get_element_private), (gst_pad_start_task),
23072 (gst_pad_pause_task), (gst_pad_stop_task),
23073 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23074 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23075 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23076 (gst_ghost_pad_new):
23078 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23079 (gst_query_new_position), (gst_query_set_position),
23080 (gst_query_parse_position), (gst_query_new_convert),
23081 (gst_query_set_convert), (gst_query_parse_convert):
23083 * gst/gstqueryutils.c:
23084 * gst/gstqueryutils.h:
23085 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23086 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23087 (gst_queue_handle_src_query):
23088 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23089 (gst_element_query_position), (gst_element_query_convert),
23090 (intersect_caps_func), (gst_pad_query_position),
23091 (gst_pad_query_convert):
23093 * tools/gst-inspect.c: (print_pad_info):
23094 * tools/gst-xmlinspect.c: (print_element_info):
23095 Remove old query functions. Ported old code.
23096 Added position/convert helper functions to gstutils.
23097 Reordered gstpad.c code, grouping relevant things.
23098 Remove gst_message_new(), always need to speficy a specific
23102 2005-05-09 Andy Wingo <wingo@pobox.com>
23104 * gst/gstiterator.h: Add some includes.
23106 * gst/gstqueryutils.h: Include more headers.
23109 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23110 some uses of gst_pad_query.
23112 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23113 NULL out parameters.
23114 (gst_query_new_position): New proc, allocates a new position
23117 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23118 gstqueryutils.c to the build.
23120 * gst/gststructure.c (gst_structure_set_valist): Implement with
23121 the generic G_VALUE_COLLECT.
23123 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23125 * gst/Makefile.am: (gst_headers):
23126 Added gstqueryutils.h to the list of headers to install, that was
23127 a 'nachty' move wingo :)
23129 2005-05-06 Andy Wingo <wingo@pobox.com>
23132 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23133 GstData, init a memchunk.
23134 (standard_definitions): Add a few query types, deprecate a few.
23135 (gst_query_get_type): New proc.
23136 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23138 (gst_query_new_application, gst_query_get_structure): New public
23141 * docs/design/draft-query.txt: Removed LINKS from the query types,
23142 because all the rest can be dispatched to other pads -- seemed
23143 ugly to have a query that couldn't be dispatched. internal_links
23144 is fine as a pad method.
23146 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23147 in gstpad.c, but maintain binary compatibility for the moment.
23148 Will fix before 0.9 is out.
23150 * gst/gstqueryutils.c:
23151 * gst/gstqueryutils.h: New files, implement 3 methods for each
23152 query type: parse_query, parse_response, and set. Probably need an
23155 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23157 * gst/elements/gstfilesink.c (gst_filesink_query2):
23158 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23159 query_types, and formats methods.
23161 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23162 (gst_pad_set_query2_function): New functions.
23163 (gst_real_pad_init): Set query2_default as the default query2
23164 function. Basically just dispatches to internally linked pads.
23168 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23169 without using the atomic operations. Only one thread can possibly
23170 be accessing the data at this point. Changed so as to avoid
23171 gst_atomic operations.
23173 2005-05-06 Wim Taymans <wim@fluendo.com>
23175 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23176 Also set caps if we use the fallback buffer alloc.
23178 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23180 * docs/gst/Makefile.am:
23181 * docs/gst/gstreamer-docs.sgml:
23182 * docs/gst/gstreamer-sections.txt:
23183 * docs/gst/tmpl/gstatomic.sgml:
23184 * docs/gst/tmpl/gstmemchunk.sgml:
23185 * testsuite/elements/struct_i386.h:
23186 * win32/GStreamer.vcproj:
23188 Purge GstAtomic stuff from docs and win32 makefiles as well
23190 2005-05-06 Wim Taymans <wim@fluendo.com>
23192 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23193 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23194 * gst/gstpad.c: (gst_pad_peer_get_caps):
23195 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23196 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23197 (gst_queue_src_activate), (gst_queue_change_state):
23199 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23200 (intersect_caps_func):
23201 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23202 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23203 Some fixes for the peer_get_caps() change.
23205 2005-05-06 Wim Taymans <wim@fluendo.com>
23207 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23208 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23209 (gst_basesink_activate):
23210 Actually do something with error codes returned from the push
23213 2005-05-06 Wim Taymans <wim@fluendo.com>
23215 * docs/design/part-element-sink.txt:
23216 * docs/design/part-element-source.txt:
23217 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23218 (gst_basesink_event), (gst_basesink_activate):
23219 * gst/base/gstbasesink.h:
23220 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23221 (gst_basesrc_activate):
23222 * gst/base/gstbasesrc.h:
23223 * gst/gstelement.c: (gst_element_pads_activate):
23224 Some more documentation.
23225 Fixed scheduling decision in _pads_activate().
23227 2005-05-05 Andy Wingo <wingo@pobox.com>
23229 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23232 2005-05-05 Wim Taymans <wim@fluendo.com>
23234 * gst/base/Makefile.am:
23235 * gst/base/gstbasesink.h:
23236 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23237 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23238 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23239 (gst_collectpads_class_init), (gst_collectpads_init),
23240 (gst_collectpads_finalize), (gst_collectpads_new),
23241 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23242 (find_pad), (gst_collectpads_remove_pad),
23243 (gst_collectpads_is_active), (gst_collectpads_collect),
23244 (gst_collectpads_collect_range), (gst_collectpads_start),
23245 (gst_collectpads_stop), (gst_collectpads_peek),
23246 (gst_collectpads_pop), (gst_collectpads_available),
23247 (gst_collectpads_read), (gst_collectpads_flush),
23248 (gst_collectpads_chain):
23249 * gst/base/gstcollectpads.h:
23250 * gst/elements/Makefile.am:
23251 * gst/elements/gstelements.c:
23252 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23253 (gst_fakesink_get_times), (gst_fakesink_event),
23254 (gst_fakesink_preroll), (gst_fakesink_render):
23255 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23256 (gst_filesink_init), (gst_filesink_set_location),
23257 (gst_filesink_open_file), (gst_filesink_close_file),
23258 (gst_filesink_pad_query), (gst_filesink_event),
23259 (gst_filesink_render), (gst_filesink_change_state):
23260 * gst/elements/gstfilesink.h:
23261 Added object to help in making collect pad based elements.
23263 Make event function in sink baseclass return gboolean.
23265 2005-05-05 Wim Taymans <wim@fluendo.com>
23267 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23268 (gst_bin_get_by_name):
23270 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23271 (gst_clock_finalize):
23272 * gst/gstdata.c: (gst_data_replace):
23274 * gst/gstelement.c: (gst_element_request_pad),
23275 (gst_element_pads_activate):
23276 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23277 (gst_object_unref):
23278 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23279 (gst_pad_set_checkgetrange_function),
23280 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23281 (gst_pad_check_pull_range), (gst_pad_pull_range),
23282 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23283 (gst_pad_pause_task), (gst_pad_stop_task):
23284 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23285 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23286 Fix name lookup in GstBin.
23287 Added _data_replace() function and _buffer_replace()
23288 Use finalize method to clean up clock.
23289 Fix refcounting on request pads.
23290 Fix pad schedule mode error.
23291 Some more object refcounting debug info,
23294 2005-05-04 Andy Wingo <wingo@pobox.com>
23296 * check/Makefile.am:
23297 * docs/gst/tmpl/gstatomic.sgml:
23298 * docs/gst/tmpl/gstplugin.sgml:
23299 * gst/base/gstbasesink.c: (gst_basesink_activate):
23300 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23301 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23302 (gst_basesrc_query), (gst_basesrc_set_property),
23303 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23304 (gst_basesrc_activate):
23305 * gst/base/gstbasesrc.h:
23306 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23307 (gst_base_transform_src_activate):
23308 * gst/elements/gstelements.c:
23309 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23310 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23311 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23312 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23313 (gst_type_find_element_checkgetrange),
23314 (gst_type_find_element_activate):
23315 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23316 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23317 (gst_caps_load_thyself):
23318 * gst/gstelement.c: (gst_element_pads_activate),
23319 (gst_element_save_thyself), (gst_element_restore_thyself):
23320 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23321 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23323 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23324 (gst_xml_parse_file), (gst_xml_parse_memory),
23325 (gst_xml_get_element), (gst_xml_make_element):
23326 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23327 (_file_index_id_save_xml), (gst_file_index_commit):
23328 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23329 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23331 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23332 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23333 * tools/gst-complete.c: (main):
23334 * tools/gst-compprep.c: (main):
23335 * tools/gst-inspect.c: (print_element_properties_info):
23336 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23337 * tools/gst-xmlinspect.c: (print_element_properties):
23340 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23342 * gst/gstplugin.c: (gst_plugin_check_module),
23343 (gst_plugin_check_file), (gst_plugin_load_file):
23344 apply patch from #172526 to make register work on MacOSX
23346 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23348 * docs/gst/tmpl/gstconfig.sgml:
23349 * gst/gstconfig.h.in:
23350 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23351 * testsuite/debug/printf_extension.c: (main):
23352 Do not use GST_PTR_FORMAT on pointers to types with
23353 sizeof < sizeof(gpointer). Fixes test on 64-bit
23354 * testsuite/elements/property.h:
23355 use correct printf format
23357 2005-05-02 Wim Taymans <wim@fluendo.com>
23359 * docs/design/draft-push-pull.txt:
23360 * docs/design/draft-query.txt:
23361 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23362 (gst_basesrc_start):
23363 Added draft for new query API.
23364 Added draft for better selecting scheduling methods.
23365 Make basesrc ignore length if the subclass does not support
23368 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23371 possible fixes for automake-1.5 - _LIBADD is reserved
23373 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23375 * docs/faq/Makefile.am:
23376 * docs/manual/Makefile.am:
23377 * docs/manuals.mak:
23378 * docs/pwg/Makefile.am:
23380 possible fixes for automake-1.5
23382 2005-04-28 Wim Taymans <wim@fluendo.com>
23384 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23385 (gst_basesink_pad_getcaps), (gst_basesink_init),
23386 (gst_basesink_do_sync):
23387 * gst/gstclock.c: (gst_clock_entry_new):
23388 * gst/gstevent.c: (gst_event_discont_get_value):
23389 * gst/gstpipeline.c: (pipeline_bus_handler),
23390 (gst_pipeline_change_state):
23391 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23392 Better debugging of clocking info.
23393 Allow NULL values when getting discont values.
23395 2005-04-27 Wim Taymans <wim@fluendo.com>
23397 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23398 * check/gst/gstpad.c: (gst_pad_suite):
23399 Increase timeout for checks.
23401 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23403 * check/Makefile.am:
23404 fix the broken rule for cleanup. Apparently this rule is
23405 only needed on FC2, so maybe this warrants further autotool
23408 2005-04-26 Wim Taymans <wim@fluendo.com>
23410 * gst/gsttrashstack.h:
23411 Ooohh. a nasty one! After having a failed pop() from the stack,
23412 it's possible that the stack is empty. In that case, don't
23413 follow the NULL pointer.
23415 2005-04-25 Wim Taymans <wim@fluendo.com>
23417 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23418 (gst_pad_set_checkgetrange_function),
23419 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23420 (gst_pad_check_pull_range), (gst_pad_pull_range),
23421 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23422 (gst_pad_pause_task), (gst_pad_stop_task):
23423 * gst/gstplugin.c: (gst_plugin_load):
23425 Remove gst_library_load as it does more harm than good with
23426 the new g_module flags.
23427 Revert bogus caps template check in pad linking, pad caps
23428 are important when linking not the template, which is more
23429 general than the current caps.
23431 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23433 * gst/autoplug/.cvsignore:
23434 * gst/autoplug/Makefile.am:
23435 * gst/autoplug/gstsearchfuncs.c:
23436 * gst/autoplug/gstsearchfuncs.h:
23437 * gst/autoplug/gstspider.c:
23438 * gst/autoplug/gstspider.h:
23439 * gst/autoplug/gstspideridentity.c:
23440 * gst/autoplug/gstspideridentity.h:
23441 * gst/autoplug/spidertest.c:
23444 2005-04-25 Wim Taymans <wim@fluendo.com>
23446 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23447 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23448 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23449 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23451 Added stubs for unimplemented functions.
23453 2005-04-24 David Schleef <ds@schleef.org>
23455 * gst/gstpad.h: Disable some unimplemented functions. Wim,
23458 2005-04-24 David Schleef <ds@schleef.org>
23460 Convert everything from GstAtomicInt to g_atomic_int_*, and
23465 * gst/gstatomic_impl.h:
23473 * gst/gstdata_private.h:
23477 * gst/gstmessage.c:
23480 * gst/gststructure.c:
23481 * gst/gststructure.h:
23482 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23485 2005-04-24 David Schleef <ds@schleef.org>
23487 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23488 make the regressions tests work. Remove some code that is no
23490 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23491 Disable warning for pads without templates.
23493 2005-04-24 David Schleef <ds@schleef.org>
23495 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
23496 functions that handle filtered links.
23497 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23499 * gst/gstutils.c: Fix/remove utility functions that handle
23502 * gst/gstvalue.c: Add serialization/deserialization of caps
23503 * gst/parse/grammar.y: Ignore filtered caps when linking. This
23504 requires fixing so that the filter caps notation creates
23505 a capsfilter element and sets the filter_caps property. I
23506 think everyone probably wants to keep the shorthand notation.
23507 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23508 * docs/gst/tmpl/gstpad.sgml:
23510 * gst/elements/gstelements.c: Register capsfilter element.
23511 * gst/Makefile.am: fix spacing
23512 * docs/random/ds/0.9-suggested-changes: random
23514 2005-04-23 David Schleef <ds@schleef.org>
23516 * gst/elements/Makefile.am:
23517 * gst/elements/gstcapsfilter.c: New element that acts like an
23518 identity, but filters caps. Will eventually replace filtered
23519 caps in pad linking.
23520 * gst/gstutils.c: (gst_element_create_all_pads): New function
23521 to create all the ALWAYS pads that are registered with an
23522 element class. This functionality should eventually be
23523 merged in with GstElement initialization.
23525 * testsuite/trigger/README: part of trigger test code that should
23526 have been checked in a long time ago.
23528 2005-04-23 David Schleef <ds@schleef.org>
23530 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23531 needed with new versions of libtool (nobody will confirm this),
23532 and hard to carry around.
23533 * gst/autoplug/Makefile.am:
23534 * gst/base/Makefile.am:
23535 * gst/elements/Makefile.am:
23536 * gst/indexers/Makefile.am:
23537 * gst/schedulers/Makefile.am:
23538 * libs/gst/bytestream/Makefile.am:
23539 * libs/gst/control/Makefile.am:
23540 * libs/gst/dataprotocol/Makefile.am:
23541 * libs/gst/getbits/Makefile.am:
23543 2005-04-21 Wim Taymans <wim@fluendo.com>
23545 * docs/design/draft-push-pull.txt:
23546 * docs/design/part-MT-refcounting.txt:
23547 * docs/design/part-TODO.txt:
23548 * docs/design/part-caps.txt:
23549 * docs/design/part-events.txt:
23550 * docs/design/part-gstbus.txt:
23551 * docs/design/part-gstpipeline.txt:
23552 * docs/design/part-messages.txt:
23553 * docs/design/part-push-pull.txt:
23554 * docs/design/part-query.txt:
23557 2005-04-21 Wim Taymans <wim@fluendo.com>
23559 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23560 (gst_message_new), (gst_message_new_error),
23561 (gst_message_new_warning), (gst_message_new_tag),
23562 (gst_message_new_state_changed), (gst_message_new_application),
23563 (gst_message_get_structure):
23564 * gst/gstmessage.h:
23565 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23566 (gst_structure_copy_conditional):
23567 Use parent refcount in GstMessage to ensure GstStructure
23569 Cleaned up headers a bit.
23572 2005-04-20 Wim Taymans <wim@fluendo.com>
23574 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23575 (gst_basesink_pad_getcaps), (gst_basesink_init),
23576 (gst_basesink_chain_unlocked):
23577 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23578 (gst_type_find_helper):
23579 * gst/elements/gsttypefindelement.c:
23580 (gst_type_find_element_have_type), (gst_type_find_element_init),
23581 (stop_typefinding), (gst_type_find_element_handle_event),
23582 (find_suggest), (gst_type_find_element_chain),
23583 (gst_type_find_element_checkgetrange),
23584 (gst_type_find_element_getrange), (do_typefind),
23585 (gst_type_find_element_activate):
23586 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23587 (gst_buffer_default_free), (gst_buffer_default_copy),
23588 (gst_buffer_set_caps):
23589 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23590 (gst_caps_replace):
23591 * gst/gstmessage.c: (gst_message_new),
23592 (gst_message_new_state_changed):
23593 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23594 (gst_pad_set_checkgetrange_function),
23595 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23596 (gst_pad_set_caps), (gst_pad_check_pull_range),
23597 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23599 * gst/gsttypefind.c: (gst_type_find_register):
23600 Make gst_caps_replace() work like other _replace() functions.
23601 Use _caps_replace() where possible.
23602 Make sure _message_new() initialises its field.
23603 Add gst_static_pad_template_get_caps()
23606 2005-04-18 Andy Wingo <wingo@pobox.com>
23608 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23609 on the peer, not the pad. I think that was a typo. Pass an extra
23610 arg to see if random access is possible. Activate the pads as
23611 PULL_RANGE if possible.
23613 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23615 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23616 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23619 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23621 * docs/faq/using.xml:
23622 Add note on gstreamer-properties (#154996).
23624 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23626 * docs/random/bbb/optional-properties:
23627 Some analysis on optional properties.
23629 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23631 * docs/gst/tmpl/gstelementfactory.sgml:
23632 * gst/gstelement.h:
23633 * gst/gstelementfactory.c: (gst_element_factory_init),
23634 (gst_element_factory_cleanup), (gst_element_register),
23635 (__gst_element_factory_add_static_pad_template),
23636 (gst_element_factory_get_static_pad_templates),
23637 (gst_element_factory_can_src_caps),
23638 (gst_element_factory_can_sink_caps):
23639 * gst/registries/Makefile.am:
23640 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23641 (gst_xml_registry_class_init), (gst_xml_registry_init),
23642 (gst_xml_registry_new), (gst_xml_registry_set_property),
23643 (gst_xml_registry_get_property), (get_time), (make_dir),
23644 (gst_xml_registry_get_perms_func),
23645 (plugin_times_older_than_recurse), (plugin_times_older_than),
23646 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23647 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23648 (add_to_char_array), (read_string), (read_uint), (read_enum),
23649 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23650 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23651 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23652 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23653 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23654 (gst_xml_registry_rebuild):
23655 * gst/registries/gstlibxmlregistry.h:
23656 * tools/gst-compprep.c: (main):
23657 * tools/gst-inspect.c: (print_pad_templates_info):
23658 * tools/gst-xmlinspect.c: (print_element_info):
23659 Use libxml2 for registry parsing, use staticpadtemplates in
23660 elementfactories. Makes gst_init() +/- 10x faster.
23662 2005-04-12 Wim Taymans <wim@fluendo.com>
23664 * gst/base/Makefile.am:
23665 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23666 (gst_basesink_pad_getcaps), (gst_basesink_init),
23667 (gst_basesink_event), (gst_basesink_change_state):
23668 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23669 (gst_basesrc_init), (gst_basesrc_query),
23670 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23671 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23672 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23673 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23674 (gst_basesrc_stop), (gst_basesrc_activate),
23675 (gst_basesrc_change_state):
23676 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23677 (helper_find_suggest), (gst_type_find_helper):
23678 * gst/base/gsttypefindhelper.h:
23679 * gst/elements/Makefile.am:
23680 * gst/elements/gstelements.c:
23681 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23682 (gst_fakesink_get_times), (gst_fakesink_event),
23683 (gst_fakesink_preroll), (gst_fakesink_render):
23684 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23685 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23686 (gst_fakesrc_get_property), (gst_fakesrc_create),
23687 (gst_fakesrc_start), (gst_fakesrc_stop):
23688 * gst/elements/gstfakesrc.h:
23689 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23690 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23691 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23692 (gst_filesrc_create_read), (gst_filesrc_create),
23693 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23694 (gst_filesrc_start):
23695 * gst/elements/gsttypefindelement.c:
23696 (gst_type_find_element_have_type), (gst_type_find_element_init),
23697 (start_typefinding), (stop_typefinding), (push_buffer_store),
23698 (gst_type_find_element_handle_event),
23699 (gst_type_find_element_chain),
23700 (gst_type_find_element_checkgetrange),
23701 (gst_type_find_element_getrange), (do_typefind),
23702 (gst_type_find_element_activate),
23703 (gst_type_find_element_change_state):
23704 * gst/elements/gsttypefindelement.h:
23705 * gst/gstpipeline.c: (pipeline_bus_handler):
23706 Added typefind helper.
23707 Small preroll fix in the base sink.
23708 Disable typefind code in basesrc.
23709 Crude port of typefindelement.
23713 2005-04-11 Wim Taymans <wim@fluendo.com>
23715 * check/gst/gstbus.c: (gstbus_suite):
23716 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23717 * check/gstcheck.h:
23718 Fix up the timeout so that the test does not fail.
23720 2005-04-06 Wim Taymans <wim@fluendo.com>
23723 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23724 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23725 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23726 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23727 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23728 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23729 (gst_basesrc_stop), (gst_basesrc_activate),
23730 (gst_basesrc_change_state), (basesrc_find_peek),
23731 (basesrc_find_suggest), (gst_basesrc_type_find):
23732 * gst/base/gstbasesrc.h:
23733 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23734 (gst_filesrc_class_init), (gst_filesrc_init),
23735 (gst_filesrc_finalize), (gst_filesrc_set_location),
23736 (gst_filesrc_set_property), (gst_filesrc_get_property),
23737 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23738 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23739 (gst_filesrc_create_read), (gst_filesrc_create),
23740 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23741 * gst/elements/gstfilesrc.h:
23742 * gst/gstelement.c: (gst_element_get_state_func),
23743 (gst_element_lost_state), (gst_element_pads_activate):
23744 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23745 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23746 (gst_pad_pull_range):
23748 More work on the generic source base class, implement seeking,
23750 Make filesrc extend the base source class.
23751 Added gst_pad_set_checkgetrange_function to GstPad.
23753 2005-04-06 Andy Wingo <wingo@pobox.com>
23755 * pkgconfig/gstreamer-base.pc.in:
23756 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23758 * pkgconfig/Makefile.am:
23759 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23761 2005-04-04 Wim Taymans <wim@fluendo.com>
23763 * gst/base/Makefile.am:
23765 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23766 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23767 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23768 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23769 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23770 (gst_basesrc_base_init), (gst_basesrc_class_init),
23771 (gst_basesrc_init), (gst_basesrc_get_formats),
23772 (gst_basesrc_get_query_types), (gst_basesrc_query),
23773 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23774 (gst_basesrc_set_property), (gst_basesrc_get_property),
23775 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23776 (gst_basesrc_loop), (gst_basesrc_activate),
23777 (gst_basesrc_change_state):
23778 * gst/base/gstbasesrc.h:
23779 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23780 (gst_fakesrc_class_init), (gst_fakesrc_init),
23781 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23782 (gst_fakesrc_get_property), (gst_fakesrc_create):
23783 * gst/elements/gstfakesrc.h:
23784 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23785 (gst_filesrc_open_file), (gst_filesrc_loop),
23786 (gst_filesrc_activate), (filesrc_find_peek),
23787 (gst_filesrc_type_find):
23788 Made base source class, make fakesrc extend it.
23789 Add comments to basesink class.
23790 Some filesrc cleanup.
23792 2005-03-31 David Schleef <ds@schleef.org>
23794 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23795 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23796 expected to link against libgstreamer.
23797 * gst/base/Makefile.am: link against libgstreamer
23798 * gst/elements/Makefile.am: same
23800 2005-03-31 Andy Wingo <wingo@pobox.com>
23802 * tests/instantiate/Makefile.am:
23803 * tests/instantiate/caps.c: Add test to test speed of caps copy
23806 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23807 GMemChunk to be fair.
23809 * gst/gsttrashstack.h: Remove warning about using the fallback
23810 trash stack implementation, it's still faster than malloc.
23812 2005-03-30 Andy Wingo <wingo@pobox.com>
23814 * tests/complexity.c: Add a copyright.
23816 2005-03-31 Wim Taymans <wim@fluendo.com>
23818 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23819 (gst_base_transform_class_init), (gst_base_transform_init),
23820 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23821 (gst_base_transform_get_property),
23822 (gst_base_transform_sink_activate),
23823 (gst_base_transform_src_activate),
23824 (gst_base_transform_change_state):
23825 * gst/base/gstbasetransform.h:
23826 * gst/elements/gstidentity.c: (gst_identity_class_init),
23827 (gst_identity_event), (gst_identity_check_perfect),
23828 (gst_identity_transform), (gst_identity_start),
23829 (gst_identity_stop):
23830 Added start/stop methods to transform base class so subclasses
23831 don't need to deal with state changes even.
23833 2005-03-31 Wim Taymans <wim@fluendo.com>
23835 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23836 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23838 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23839 (gst_pad_pull_range):
23840 Added rate to the discont event to prepare for variable speed
23841 and reverse playback.
23843 2005-03-29 David Schleef <ds@schleef.org>
23846 * testsuite/trigger/Makefile.am:
23847 * testsuite/trigger/trigger.c: A little example program to show
23848 how trigger-based elements can work.
23850 2005-03-29 Wim Taymans <wim@fluendo.com>
23852 * gst/base/Makefile.am:
23854 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23855 (gst_basesink_base_init), (gst_basesink_class_init),
23856 (gst_basesink_pad_getcaps), (gst_basesink_init),
23857 (gst_basesink_activate), (gst_basesink_change_state):
23858 * gst/base/gstbasesink.h:
23859 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23860 (gst_base_transform_base_init), (gst_base_transform_finalize),
23861 (gst_base_transform_class_init), (gst_base_transform_init),
23862 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23863 (gst_base_transform_event), (gst_base_transform_getrange),
23864 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23865 (gst_base_transform_set_property),
23866 (gst_base_transform_get_property),
23867 (gst_base_transform_sink_activate),
23868 (gst_base_transform_src_activate),
23869 (gst_base_transform_change_state):
23870 * gst/base/gstbasetransform.h:
23871 * gst/elements/gstidentity.c: (gst_identity_finalize),
23872 (gst_identity_class_init), (gst_identity_init),
23873 (gst_identity_event), (gst_identity_check_perfect),
23874 (gst_identity_transform), (gst_identity_set_property),
23875 (gst_identity_get_property), (gst_identity_change_state):
23876 * gst/elements/gstidentity.h:
23877 * gst/gstelement.c: (gst_element_get_state_func),
23878 (gst_element_lost_state), (gst_element_pads_activate):
23879 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23880 (gst_pad_check_pull_range), (gst_pad_pull_range):
23882 Simplify pad activation.
23883 Added function to check if pull_range can be performed.
23884 Error out when pulling inactive or flushing pads.
23885 Removed const from refcounted types as it does not make sense.
23886 Simplify pad templates in basesink
23887 Added base class for simple 1-to-1 transforms.
23888 Make identity subclass the base transform.
23890 2005-03-29 Andy Wingo <wingo@pobox.com>
23892 * docs/libs/gstreamer-libs-overrides.txt:
23893 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23894 really don't understand what's going on, but like whatever. I want
23897 * docs/gst/Makefile.am:
23898 * docs/libs/Makefile.am: Dist the overrides files.
23900 * check/Makefile.am (clean-local): Remove .libs directories.
23902 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23903 elements to EXTRA_DIST, so po/ files are happy.
23905 * po/POTFILES.in: Er, remove it here.
23907 * po/POTFILES: Remove gstspider.c.
23909 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23911 * docs/libs/gstreamer-libs-docs.sgml:
23912 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23915 * tests/complexity.c (main): Set the length of the preroll queue
23916 on the sinks to prevent a lockup.
23918 * libs/gst/dataprotocol/Makefile.am:
23919 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23920 the same as the one in check/gst-libs/gdp.c.
23922 * po/, docs/gst/: Commit automatic changes to docs and po files.
23924 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23925 the versioned libgstbase.
23927 * check/Makefile.am: Depend on an unversioned gst-register, seems
23928 to make autoconf happier.
23930 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23932 2005-03-28 Wim Taymans <wim@fluendo.com>
23935 * docs/design/part-gstelement.txt:
23936 * docs/design/part-negotiation.txt:
23937 * docs/design/part-preroll.txt:
23938 * docs/design/part-scheduling.txt:
23939 * docs/design/part-states.txt:
23941 * gst/base/Makefile.am:
23943 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23944 (gst_basesink_base_init), (gst_basesink_class_init),
23945 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23946 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23947 (gst_basesink_set_pad_functions),
23948 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23949 (gst_basesink_set_property), (gst_basesink_get_property),
23950 (gst_base_sink_get_template), (gst_base_sink_get_caps),
23951 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23952 (gst_basesink_preroll_queue_push),
23953 (gst_basesink_preroll_queue_empty),
23954 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23955 (gst_basesink_event), (gst_basesink_get_times),
23956 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23957 (gst_basesink_chain_unlocked), (gst_basesink_chain),
23958 (gst_basesink_loop), (gst_basesink_activate),
23959 (gst_basesink_change_state):
23960 * gst/base/gstbasesink.h:
23961 * gst/elements/Makefile.am:
23962 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23963 (gst_fakesink_class_init), (gst_fakesink_init),
23964 (gst_fakesink_set_property), (gst_fakesink_get_property),
23965 (gst_fakesink_get_times), (gst_fakesink_event),
23966 (gst_fakesink_preroll), (gst_fakesink_render),
23967 (gst_fakesink_change_state):
23968 * gst/elements/gstfakesink.h:
23969 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23970 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23971 * gst/gstelement.c: (gst_element_add_pad),
23972 (gst_element_get_state_func), (gst_element_abort_state),
23973 (gst_element_commit_state), (gst_element_lost_state),
23974 (gst_element_set_state), (gst_element_pads_activate):
23975 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23976 * gst/gstpipeline.c: (gst_pipeline_send_event),
23977 (gst_pipeline_change_state):
23978 Added state change code.
23979 Added/updated docs.
23980 Added sink base class, make fakesink extend the base class.
23981 Small cleanups in GstPipeline.
23983 2005-03-26 David Schleef <ds@schleef.org>
23985 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
23986 is broken and should be implemented in a different library.
23987 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23988 * gst/gst.h: remove gstcpu.h
23989 * gst/gstcpu.c: remove
23990 * gst/gstcpu.h: remove
23991 * gst/Makefile.am.future: Remove this file. It's ancient.
23993 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23995 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23996 (gst_bin_send_event):
23997 Add default event/set_manager handlers. The set_manager handler
23998 takes care that the manager is distributed over kids that were
23999 already in the bin before the manager was set. The event handler
24000 is a utility virtual function that sends the event over all sinks,
24001 so that gst_element_send_event (bin, event); has the expected
24003 * gst/gstpad.c: (gst_pad_event_default):
24004 Re-install default event handling for discontinuities, so that
24005 seeking works without requiring hacks in applications or extra
24007 * gst/gstpipeline.c: (gst_pipeline_class_init),
24008 (gst_pipeline_send_event):
24009 Half hack, half utility: set a pipeline to PAUSED for seek events,
24010 since that is the only way we can guarantee a/v sync. Means that
24011 you can do gst_element_seek (pipeline, method, pos); on a pipeline
24012 and it "just works".
24014 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24016 * gst/gstpipeline.c: (gst_pipeline_use_clock):
24017 Lock/unlock mismatch.
24019 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
24021 * docs/faq/gst-uninstalled:
24022 add gst-plugins-base
24023 * docs/gst/Makefile.am:
24024 don't error out until docs are fixed
24025 * docs/gst/gstreamer.types:
24028 2005-03-22 Wim Taymans <wim@fluendo.com>
24030 * check/Makefile.am:
24031 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24032 * gst/gststructure.c: (gst_structure_set_valist),
24033 (gst_structure_copy_conditional):
24034 Activated more tests.
24035 Added message test.
24036 Added G_TYPE_POINTER to GstStructure.
24039 2005-03-22 Wim Taymans <wim@fluendo.com>
24041 * docs/design/part-TODO.txt:
24042 * docs/design/part-events.txt:
24043 * docs/design/part-gstbin.txt:
24044 * docs/design/part-gstbus.txt:
24045 * docs/design/part-gstpipeline.txt:
24046 * docs/design/part-messages.txt:
24048 * gst/gstmessage.c:
24051 2005-03-21 Wim Taymans <wim@fluendo.com>
24053 * gst/gstbus.c: (gst_bus_post):
24054 Fix copy-and-paste error.
24056 2005-03-21 Wim Taymans <wim@fluendo.com>
24058 * check/Makefile.am:
24060 * gst/elements/Makefile.am:
24061 * gst/elements/gstelements.c:
24062 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24063 (gst_fakesink_event), (gst_fakesink_chain):
24064 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24065 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24066 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24067 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24068 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24069 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24070 (gst_fakesrc_loop), (gst_fakesrc_activate),
24071 (gst_fakesrc_change_state):
24072 * gst/elements/gstfakesrc.h:
24073 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24074 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24075 (gst_filesrc_open_file), (gst_filesrc_loop),
24076 (gst_filesrc_activate), (gst_filesrc_change_state),
24077 (filesrc_find_peek), (filesrc_find_suggest),
24078 (gst_filesrc_type_find):
24079 * gst/elements/gstidentity.c: (gst_identity_finalize),
24080 (gst_identity_class_init), (gst_identity_init),
24081 (gst_identity_proxy_getcaps), (identity_queue_push),
24082 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24083 (gst_identity_getrange), (gst_identity_chain),
24084 (gst_identity_sink_loop), (gst_identity_src_loop),
24085 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24086 (gst_identity_set_property), (gst_identity_get_property),
24087 (gst_identity_change_state):
24088 * gst/elements/gstidentity.h:
24089 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24090 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24091 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24092 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24093 (gst_tee_sink_activate):
24094 * gst/elements/gsttee.h:
24095 * gst/gst.c: (gst_register_core_elements), (init_post):
24097 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24098 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24099 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24100 (gst_bin_change_state):
24102 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24103 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24104 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24105 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24106 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24107 (bus_watch_callback), (bus_watch_destroy),
24108 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24109 (poll_timeout), (gst_bus_poll):
24113 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24114 (gst_element_post_message), (gst_element_message_full),
24115 (gst_element_get_state_func), (gst_element_get_state),
24116 (gst_element_abort_state), (gst_element_commit_state),
24117 (gst_element_lost_state), (gst_element_set_state),
24118 (gst_element_pads_activate), (gst_element_change_state),
24119 (gst_element_dispose), (gst_element_set_manager_func),
24120 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24121 (gst_element_set_manager), (gst_element_get_manager),
24122 (gst_element_set_bus), (gst_element_get_bus),
24123 (gst_element_set_scheduler), (gst_element_get_scheduler):
24124 * gst/gstelement.h:
24125 * gst/gstevent.c: (gst_event_new_segment_seek),
24126 (gst_event_new_flush):
24128 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24129 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24130 (gst_message_new_eos), (gst_message_new_error),
24131 (gst_message_new_warning), (gst_message_new_tag),
24132 (gst_message_new_state_changed), (gst_message_new_application),
24133 (gst_message_get_structure), (gst_message_parse_tag),
24134 (gst_message_parse_state_changed), (gst_message_parse_error),
24135 (gst_message_parse_warning):
24136 * gst/gstmessage.h:
24137 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24138 (gst_real_pad_set_property), (gst_pad_set_active),
24139 (gst_pad_is_active), (gst_pad_set_blocked_async),
24140 (gst_pad_set_blocked), (gst_pad_is_blocked),
24141 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24142 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24143 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24144 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24145 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24146 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24147 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24148 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24149 (gst_pad_set_caps), (gst_pad_configure_sink),
24150 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24151 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24152 (gst_real_pad_dispose), (gst_real_pad_finalize),
24153 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24154 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24155 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24157 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24158 (pipeline_bus_handler), (gst_pipeline_change_state),
24159 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24160 * gst/gstpipeline.h:
24162 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24163 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24164 (gst_queue_link_src), (gst_queue_bufferalloc),
24165 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24166 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24167 (gst_queue_loop), (gst_queue_handle_src_event),
24168 (gst_queue_handle_src_query), (gst_queue_src_activate),
24169 (gst_queue_change_state):
24171 * gst/gstscheduler.c: (gst_scheduler_init),
24172 (gst_scheduler_dispose), (gst_scheduler_create_task),
24173 (gst_scheduler_factory_create):
24174 * gst/gstscheduler.h:
24175 * gst/gststructure.c: (gst_structure_get_type),
24176 (gst_structure_copy_conditional):
24177 * gst/gststructure.h:
24178 * gst/gsttaginterface.h:
24179 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24180 (gst_task_init), (gst_task_dispose), (gst_task_create),
24181 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24187 * gst/schedulers/Makefile.am:
24188 * gst/schedulers/cothreads_compat.h:
24189 * gst/schedulers/entryscheduler.c:
24190 * gst/schedulers/faircothreads.c:
24191 * gst/schedulers/faircothreads.h:
24192 * gst/schedulers/fairscheduler.c:
24193 * gst/schedulers/gstbasicscheduler.c:
24194 * gst/schedulers/gstoptimalscheduler.c:
24195 * gst/schedulers/gthread-cothreads.h:
24196 * gst/schedulers/threadscheduler.c:
24197 (gst_thread_scheduler_task_get_type),
24198 (gst_thread_scheduler_task_class_init),
24199 (gst_thread_scheduler_task_init),
24200 (gst_thread_scheduler_task_start),
24201 (gst_thread_scheduler_task_stop),
24202 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24203 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24204 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24205 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24207 * libs/gst/Makefile.am:
24208 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24209 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24210 (gst_file_pad_parent_set):
24211 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24212 (gst_dp_event_from_packet):
24213 * tests/complexity.c: (main):
24214 * tests/mass_elements.c: (main):
24215 * testsuite/states/locked.c: (message_received), (main):
24216 * testsuite/states/parent.c: (main):
24217 * tools/gst-inspect.c: (print_element_flag_info),
24218 (print_implementation_info), (print_pad_info):
24219 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24221 * tools/gst-md5sum.c: (event_loop), (main):
24222 * tools/gst-typefind.c: (main):
24223 * tools/gst-xmlinspect.c: (print_element_info):
24225 Added GstBus for mainloop integration.
24226 Added GstMessage for sending notifications on the bus.
24227 Added GstTask as an abstraction for pipeline entry points.
24229 Removed Schedulers.
24230 Simplified GstQueue for multithreaded core.
24231 Made _link threadsafe, removed old capsnego.
24232 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24233 Added pad blocking functions.
24234 Reworked scheduling functions in GstPad to prepare for
24235 scheduling updates soon.
24236 Moved events out of data stream.
24237 Simplified GstEvent types.
24238 Added return values to push/pull.
24239 Removed clocking from GstElement.
24240 Added prototypes for state change function for next merge.
24241 Removed iterate from bins and state change management.
24242 Fixed some elements, disabled others for now.
24243 Fixed -inspect and -launch.
24244 Added check for GstBus.
24246 2005-03-10 Wim Taymans <wim@fluendo.com>
24248 * docs/design/part-MT-refcounting.txt:
24249 * docs/design/part-clocks.txt:
24250 * docs/design/part-gstelement.txt:
24251 * docs/design/part-gstobject.txt:
24252 * docs/design/part-standards.txt:
24253 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24254 (gst_bin_remove_func), (gst_bin_remove):
24258 * testsuite/clock/clock1.c: (main):
24259 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24261 * testsuite/dlopen/loadgst.c: (do_test):
24262 * testsuite/refcounting/bin.c: (add_remove_test1),
24263 (add_remove_test2), (main):
24264 * testsuite/refcounting/element.c: (main):
24265 * testsuite/refcounting/element_pad.c: (main):
24266 * testsuite/refcounting/pad.c: (main):
24267 * tools/gst-launch.c: (sigint_handler_sighandler):
24268 * tools/gst-typefind.c: (main):
24270 Added doc about clock.
24271 removed gst_bin_iterate_recurse_up(), marked methods
24273 Fix more testsuites.
24275 2005-03-09 Wim Taymans <wim@fluendo.com>
24277 * gst/gstpad.c: (gst_pad_get_direction),
24278 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24279 (gst_pad_collect_valist):
24280 * testsuite/bins/interface.c: (main):
24281 * testsuite/caps/audioscale.c: (test_caps):
24282 * testsuite/caps/caps.c: (test1), (test2), (test3):
24283 * testsuite/caps/deserialize.c: (main):
24284 * testsuite/caps/enumcaps.c: (main):
24285 * testsuite/caps/filtercaps.c: (main):
24286 * testsuite/caps/intersect2.c: (main):
24287 * testsuite/caps/random.c: (main):
24288 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24289 * testsuite/caps/sets.c: (check_caps):
24290 * testsuite/caps/simplify.c: (check_caps), (main):
24291 * testsuite/caps/subtract.c: (check_caps):
24292 Fix _pad_get_direction wrt ghostpads.
24293 Fix caps testsuite.
24295 2005-03-09 Wim Taymans <wim@fluendo.com>
24297 * check/Makefile.am:
24298 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24299 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24300 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24301 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24302 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24303 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24304 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24305 (bin_element_is_sink), (gst_bin_iterate_sinks),
24306 (gst_bin_iterate_all_by_interface):
24308 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24309 (gst_element_change_state), (gst_element_dispose),
24310 (gst_element_finalize), (gst_element_set_loop_function):
24311 * gst/gstelement.h:
24312 * gst/gstiterator.c: (find_custom_fold_func):
24313 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24314 (gst_pad_collectv), (gst_pad_collect_valist),
24315 (gst_pad_template_new):
24316 * gst/gstpipeline.c: (gst_pipeline_class_init),
24317 (gst_pipeline_dispose), (gst_pipeline_set_property),
24318 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24319 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24320 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24322 * gst/schedulers/entryscheduler.c:
24323 * gst/schedulers/gstbasicscheduler.c:
24324 (gst_basic_scheduler_cothreaded_chain),
24325 (gst_basic_scheduler_chain_add_element):
24326 * testsuite/bins/interface.c: (main):
24328 Added GstSystemClock test.
24329 Implemented clock distribution code in GstBin.
24330 Implemented iterate sinks method for future use.
24331 Rearranged gstelement.h
24332 Fix GstIterator comparison bug.
24333 Moved some code to GstPipeline, mostly clocking related.
24335 2005-03-09 Wim Taymans <wim@fluendo.com>
24338 * gst/gst_private.h:
24339 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24340 (gst_bin_remove_func), (gst_bin_remove),
24341 (gst_bin_get_by_name_recurse_up):
24342 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24343 (gst_clock_id_compare_func), (gst_clock_id_wait),
24344 (gst_clock_id_wait_async), (gst_clock_init),
24345 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24346 * gst/gstelement.h:
24347 * gst/gstinfo.c: (_gst_debug_init):
24349 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24350 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24352 Bump version number, we're now 0.9.0
24353 Add future debugging category.
24354 Fix NULL _unref() in _get_by_name_recurse_up
24355 Rearrange gstpad.h.
24358 2005-03-08 Wim Taymans <wim@fluendo.com>
24360 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24361 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24362 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24363 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24364 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24365 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24366 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24367 * gst/elements/gstidentity.c: (gst_identity_class_init):
24368 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24369 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24370 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24371 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24372 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24374 * gst/gstelement.c: (gst_element_class_init),
24375 (gst_element_base_class_init), (gst_element_init),
24376 (gst_element_get_random_pad), (gst_element_wait_state_change),
24377 (gst_element_change_state), (gst_element_dispose),
24378 (gst_element_finalize), (gst_element_set_loop_function):
24379 * gst/gstelement.h:
24380 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24381 * gst/gstthread.c: (gst_thread_class_init),
24382 (gst_thread_release_children_locks), (gst_thread_change_state):
24383 * gst/schedulers/gstbasicscheduler.c:
24384 (gst_basic_scheduler_loopfunc_wrapper),
24385 (gst_basic_scheduler_chain_wrapper),
24386 (gst_basic_scheduler_src_wrapper),
24387 (gst_basic_scheduler_remove_element):
24388 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24389 Remove threadsafe properties. Fix elements because GObject
24390 complains when installing a property before declaring a
24391 set/get_property handler.
24392 Rearrange gstelement.h file, use STATE macros for state locks.
24393 Free mutexes in the finalize method instead of dispose.
24395 2005-03-08 Wim Taymans <wim@fluendo.com>
24397 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24398 * gst/gstthread.c: (gst_thread_release_children_locks):
24399 Added parentage check.
24400 Fix build og GstThread again.
24402 2005-03-08 Wim Taymans <wim@fluendo.com>
24404 * docs/design/part-MT-refcounting.txt:
24405 * docs/design/part-conventions.txt:
24406 * docs/design/part-gstobject.txt:
24407 * docs/design/part-relations.txt:
24408 * docs/design/part-standards.txt:
24409 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24410 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24411 (gst_bin_get_by_name), (gst_bin_get_by_interface),
24412 (gst_bin_iterate_all_by_interface):
24415 * gst/gstelement.c: (gst_element_class_init),
24416 (gst_element_change_state), (gst_element_set_loop_function):
24417 * gst/gstelement.h:
24418 * gst/gstiterator.c:
24419 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24420 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24421 (gst_object_dispatch_properties_changed), (gst_object_set_name),
24422 (gst_object_set_parent), (gst_object_unparent),
24423 (gst_object_check_uniqueness):
24425 Docs updates, clean up some headers.
24427 2005-03-07 Wim Taymans <wim@fluendo.com>
24429 * check/.cvsignore:
24430 * check/Makefile.am:
24431 * check/gst-libs/.cvsignore:
24432 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24433 * check/gst/.cvsignore:
24434 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24435 (START_TEST), (gstbus_suite), (main):
24436 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24437 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24438 (gst_data_suite), (main):
24439 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24440 (add_fold_func), (gstiterator_suite), (main):
24441 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24442 (thread_name_object), (thread_name_object_default),
24443 (gst_object_name_compare), (gst_object_suite), (main):
24444 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24445 (gst_pad_suite), (main):
24446 * check/gstcheck.c: (gst_check_log_message_func),
24447 (gst_check_log_critical_func), (gst_check_init):
24448 * check/gstcheck.h:
24449 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24450 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24453 2005-03-07 Wim Taymans <wim@fluendo.com>
24455 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24456 (gst_list_iterator_next), (gst_list_iterator_resync),
24457 (gst_list_iterator_free), (gst_iterator_new_list),
24458 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24459 (gst_iterator_free), (gst_iterator_push), (filter_next),
24460 (filter_resync), (filter_uninit), (filter_free),
24461 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24462 (gst_iterator_foreach), (find_custom_fold_func),
24463 (gst_iterator_find_custom):
24464 * gst/gstiterator.h:
24465 Added missing files.
24467 2005-03-07 Wim Taymans <wim@fluendo.com>
24471 * docs/design/part-MT-refcounting.txt:
24472 * docs/design/part-conventions.txt:
24473 * docs/design/part-gstobject.txt:
24474 * docs/design/part-relations.txt:
24475 * examples/mixer/mixer.c: (main):
24476 * examples/thread/thread.c: (eos), (main):
24478 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24479 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24480 (gst_spider_plug_from_srcpad):
24481 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24482 (gst_spider_identity_change_state),
24483 (gst_spider_identity_sink_loop_type_finding):
24484 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24485 * gst/elements/gstidentity.c: (gst_identity_init):
24486 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24487 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24488 * gst/elements/gsttypefindelement.c: (free_entry):
24491 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24492 (gst_bin_set_clock_func), (gst_bin_auto_clock),
24493 (gst_bin_set_index), (gst_bin_set_element_sched),
24494 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24495 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24496 (gst_bin_iterate_elements), (iterate_child_recurse),
24497 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24498 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24499 (compare_interface), (gst_bin_get_by_interface),
24500 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24502 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24503 (gst_buffer_default_free), (gst_buffer_default_copy),
24504 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24505 (gst_buffer_create_sub):
24507 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24508 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24509 (gst_caps_unref), (gst_static_caps_get),
24510 (gst_caps_remove_and_get_structure), (gst_caps_append),
24511 (gst_caps_append_structure), (gst_caps_remove_structure),
24512 (gst_caps_copy_nth), (gst_caps_set_simple),
24513 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24514 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24515 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24516 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24517 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24518 (gst_caps_structure_figure_out_union),
24519 (gst_caps_switch_structures), (gst_caps_do_simplify),
24520 (gst_caps_replace), (gst_caps_from_string),
24521 (gst_caps_copy_conditional):
24523 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24524 (_gst_clock_id_free), (gst_clock_id_unref),
24525 (gst_clock_id_compare_func), (gst_clock_id_wait),
24526 (gst_clock_id_wait_async), (gst_clock_class_init),
24527 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24528 (gst_clock_get_time), (gst_clock_set_time_adjust),
24529 (gst_clock_set_property), (gst_clock_get_property):
24532 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24533 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24535 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24536 (gst_element_requires_clock), (gst_element_provides_clock),
24537 (gst_element_set_clock), (gst_element_clock_wait),
24538 (gst_element_wait), (gst_element_set_time_delay),
24539 (gst_element_is_indexable), (gst_element_add_pad),
24540 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24541 (pad_compare_name), (gst_element_get_static_pad),
24542 (gst_element_request_pad), (gst_element_get_request_pad),
24543 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24544 (gst_element_class_get_pad_template_list),
24545 (gst_element_class_get_pad_template), (gst_element_error_func),
24546 (gst_element_get_random_pad), (gst_element_get_event_masks),
24547 (gst_element_send_event), (gst_element_seek),
24548 (gst_element_get_query_types), (gst_element_query),
24549 (gst_element_get_formats), (gst_element_convert),
24550 (gst_element_is_locked_state), (gst_element_set_locked_state),
24551 (gst_element_sync_state_with_parent), (gst_element_change_state),
24552 (gst_element_finalize), (gst_element_yield),
24553 (gst_element_interrupt), (gst_element_set_scheduler),
24554 (gst_element_get_scheduler), (gst_element_set_loop_function):
24555 * gst/gstelement.h:
24557 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24558 (gst_format_get_by_nick), (gst_format_get_details),
24559 (gst_format_iterate_definitions):
24561 * gst/gstindex.c: (gst_index_gtype_resolver):
24564 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24565 (gst_mem_chunk_free):
24566 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24567 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24568 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24569 (gst_object_dispatch_properties_changed),
24570 (gst_object_set_name_default), (gst_object_set_name),
24571 (gst_object_get_name), (gst_object_set_name_prefix),
24572 (gst_object_get_name_prefix), (gst_object_set_parent),
24573 (gst_object_get_parent), (gst_object_unparent),
24574 (gst_object_check_uniqueness), (gst_object_save_thyself),
24575 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24576 (gst_object_set_property), (gst_object_get_property),
24577 (gst_object_get_path_string):
24579 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24580 (gst_real_pad_init), (gst_real_pad_get_property),
24581 (gst_pad_custom_new), (gst_pad_get_direction),
24582 (gst_pad_set_active), (gst_pad_is_active),
24583 (gst_pad_set_event_function), (gst_pad_is_linked),
24584 (gst_pad_link_free), (gst_pad_link_intersect),
24585 (gst_pad_link_fixate), (gst_pad_set_caps),
24586 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24587 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24588 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24589 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24590 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24591 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24592 (gst_pad_realize), (gst_pad_get_allowed_caps),
24593 (gst_real_pad_dispose), (gst_real_pad_finalize),
24594 (gst_pad_collectv), (gst_pad_collect_valist),
24595 (gst_pad_template_dispose), (gst_pad_template_new),
24596 (gst_pad_get_internal_links):
24598 * gst/gstpipeline.c: (gst_pipeline_dispose),
24599 (gst_pipeline_change_state):
24600 * gst/gstpipeline.h:
24602 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24603 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24604 * gst/gstpluginfeature.h:
24605 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24606 * gst/gstquery.c: (_gst_query_type_initialize),
24607 (gst_query_type_register), (gst_query_type_get_by_nick),
24608 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24610 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24611 * gst/gstscheduler.c: (gst_scheduler_add_element),
24612 (gst_scheduler_factory_create):
24613 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24614 (gst_structure_free), (gst_structure_set_name),
24615 (gst_structure_id_set_value), (gst_structure_set_value),
24616 (gst_structure_set_valist), (gst_structure_remove_field),
24617 (gst_structure_remove_fields),
24618 (gst_structure_remove_fields_valist),
24619 (gst_structure_remove_all_fields), (gst_structure_foreach),
24620 (gst_structure_map_in_place),
24621 (gst_caps_structure_fixate_field_nearest_int),
24622 (gst_caps_structure_fixate_field_nearest_double):
24623 * gst/gststructure.h:
24624 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24625 (gst_system_clock_init), (gst_system_clock_dispose),
24626 (gst_system_clock_async_thread),
24627 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24628 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24629 * gst/gstsystemclock.h:
24630 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24631 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24632 * gst/gsttaginterface.c:
24633 * gst/gstthread.c: (gst_thread_dispose),
24634 (gst_thread_release_children_locks), (gst_thread_change_state),
24635 (gst_thread_main_loop):
24636 * gst/gsttrashstack.h:
24637 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24639 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24640 (gst_element_request_pad), (gst_element_get_pad_from_template),
24641 (gst_element_request_compatible_pad),
24642 (gst_element_get_compatible_pad_filtered),
24643 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24644 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24645 (gst_element_link_many), (gst_element_link),
24646 (gst_element_link_pads), (gst_element_unlink_pads),
24647 (gst_element_unlink_many), (gst_element_unlink),
24648 (gst_pad_can_link_filtered), (gst_pad_can_link),
24649 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24650 (gst_object_default_error), (gst_bin_add_many),
24651 (gst_bin_remove_many), (gst_element_populate_std_props),
24652 (gst_element_class_install_std_props), (gst_buffer_merge),
24653 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24654 (link_fold_func), (gst_pad_proxy_setcaps):
24656 * gst/gstvalue.c: (gst_value_deserialize_string):
24657 * gst/parse/grammar.y:
24658 * gst/schedulers/gstbasicscheduler.c:
24659 (gst_basic_scheduler_cothreaded_chain),
24660 (gst_basic_scheduler_chain_recursive_add),
24661 (gst_basic_scheduler_pad_link):
24662 * gst/schedulers/gstoptimalscheduler.c:
24663 (get_group_schedule_function),
24664 (gst_opt_scheduler_state_transition),
24665 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24666 * libs/gst/bytestream/bytestream.c:
24667 * libs/gst/dataprotocol/dataprotocol.c:
24668 (gst_dp_header_from_buffer):
24671 * tests/threadstate/threadstate2.c: (eos):
24672 * tools/gst-compprep.c: (main):
24673 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24674 (print_pad_info), (print_children_info):
24675 * tools/gst-launch.c: (idle_func), (main):
24676 * tools/gst-md5sum.c: (idle_func), (main):
24677 * tools/gst-xmlinspect.c: (print_element_info):
24678 First THREADED backport attempt, focusing on adding locks and
24679 making sure the API is threadsafe. Needs more work. More docs
24682 2005-02-24 Andy Wingo <wingo@pobox.com>
24684 * tests/bench-complexity.scm:
24685 * tests/complexity.gnuplot: New files, good for running complexity
24688 * tests/Makefile.am:
24689 * tests/complexity.c: New test, sets up N elements, at each level
24690 teeing into M streams per element. Eeeenteresting.
24692 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24693 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24694 running bench-mass_elements.scm.
24696 * tests/bench-mass_elements.scm: New script, runs mass_elements
24697 for various numbers of identities, outputting the results to a
24698 file. Requires guile 1.6. Just for testing.
24700 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24702 * gst/schedulers/fairscheduler.c:
24703 compile with debug disabled
24705 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24708 hunting season on 0.9 is now OPEN