1 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/gststructure.c: (gst_structure_parse_value):
4 When deserialising foo=bar without a type cast, check if it's a
5 boolean before falling back to a string type, otherwise things like
6 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7 because the filtercaps end up having a signed=(string)true field,
8 which causes problems later when intersection caps.
10 * tests/check/gst/gststructure.c: (GST_START_TEST):
11 Add a unit test for this.
13 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
15 Reviewed by: Stefan Kost <ensonic@users.sf.net>
17 * libs/gst/controller/Makefile.am:
18 * libs/gst/controller/gstcontroller.c:
19 (gst_controlled_property_add_interpolation_control_source),
20 (gst_controlled_property_new), (gst_controlled_property_free),
21 (gst_controller_find_controlled_property),
22 (gst_controller_new_valist), (gst_controller_new_list),
23 (gst_controller_new), (gst_controller_remove_properties_valist),
24 (gst_controller_remove_properties_list),
25 (gst_controller_remove_properties),
26 (gst_controller_set_property_disabled),
27 (gst_controller_set_disabled), (gst_controller_set_control_source),
28 (gst_controller_get_control_source), (gst_controller_get),
29 (gst_controller_sync_values), (gst_controller_get_value_array),
30 (_gst_controller_dispose), (gst_controller_get_type),
31 (gst_controlled_property_set_interpolation_mode),
32 (gst_controller_set), (gst_controller_set_from_list),
33 (gst_controller_unset), (gst_controller_unset_all),
34 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
35 * libs/gst/controller/gstcontroller.h:
36 * libs/gst/controller/gstcontrollerprivate.h:
37 * libs/gst/controller/gstcontrolsource.c:
38 (gst_control_source_class_init), (gst_control_source_init),
39 (gst_control_source_get_value),
40 (gst_control_source_get_value_array), (gst_control_source_bind):
41 * libs/gst/controller/gstcontrolsource.h:
42 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
43 (gst_object_get_control_source):
44 * libs/gst/controller/gstinterpolation.c:
45 (gst_interpolation_control_source_find_control_point_node),
46 (gst_interpolation_control_source_get_first_value),
47 (_interpolate_none_get), (interpolate_none_get),
48 (interpolate_none_get_boolean_value_array),
49 (interpolate_none_get_enum_value_array),
50 (interpolate_none_get_string_value_array),
51 (_interpolate_trigger_get), (interpolate_trigger_get),
52 (interpolate_trigger_get_boolean_value_array),
53 (interpolate_trigger_get_enum_value_array),
54 (interpolate_trigger_get_string_value_array):
55 * libs/gst/controller/gstinterpolationcontrolsource.c:
56 (gst_control_point_free), (gst_interpolation_control_source_reset),
57 (gst_interpolation_control_source_new),
58 (gst_interpolation_control_source_set_interpolation_mode),
59 (gst_interpolation_control_source_bind),
60 (gst_control_point_compare), (gst_control_point_find),
61 (gst_interpolation_control_source_set_internal),
62 (gst_interpolation_control_source_set),
63 (gst_interpolation_control_source_set_from_list),
64 (gst_interpolation_control_source_unset),
65 (gst_interpolation_control_source_unset_all),
66 (gst_interpolation_control_source_get_all),
67 (gst_interpolation_control_source_get_count),
68 (gst_interpolation_control_source_init),
69 (gst_interpolation_control_source_finalize),
70 (gst_interpolation_control_source_dispose),
71 (gst_interpolation_control_source_class_init):
72 * libs/gst/controller/gstinterpolationcontrolsource.h:
73 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
74 API: Refactor GstController into the core controller which can take
75 a GstControlSource for providing actual values for timestamps.
76 Implement a interpolation control source and use this for backward
77 compatibility, deprecate a bunch of functions that are now handled
78 by GstControlSource or GstInterpolationControlSource.
79 Make it possible to disable the controller completely or only for
80 specific properties. Fixes #450711.
81 * docs/libs/gstreamer-libs-docs.sgml:
82 * docs/libs/gstreamer-libs-sections.txt:
83 * docs/libs/gstreamer-libs.types:
84 Add new functions and classes to the docs.
85 * tests/check/libs/controller.c: (GST_START_TEST),
86 (gst_controller_suite):
87 * tests/examples/controller/audio-example.c: (main):
88 Port unit test and example to the new API and add some new
91 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
93 Patch by: Mark Nauwelaerts <manauw at skynet be>
95 * plugins/elements/gstmultiqueue.c:
96 (gst_multi_queue_get_internal_links), (apply_buffer),
97 (single_queue_overrun_cb), (gst_single_queue_new):
98 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
99 the pipeline layout can be tracked correctly. Fixes #453732.
101 2007-07-05 Stefan Kost <ensonic@users.sf.net>
103 * docs/gst/Makefile.am:
104 * docs/libs/Makefile.am:
105 * docs/plugins/Makefile.am:
106 Simplity --extra-dir as gtkdoc scans recursively.
108 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
110 * tools/gst-launch.c: (main):
111 When we got an error, there is no point in waiting for preroll when
114 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
116 * plugins/elements/gsttee.c: (gst_tee_base_init),
117 (gst_tee_request_new_pad), (gst_tee_release_pad),
118 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
119 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
121 Be a lot smarter when deciding what srcpad to use for proxying
122 the buffer_alloc. Also handle pad added/removed when doing so.
124 Keep track of what pads we already pushed on in case we have pads
125 added/removed while pushing. Fixes #374639
127 * tests/check/Makefile.am:
128 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
130 Added unit test for pad resync.
132 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
136 Updated translations.
138 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
140 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
144 Added new Finnish translation.
146 2007-06-28 Wim Taymans <wim@fluendo.com>
148 * plugins/elements/gstmultiqueue.c: (apply_buffer),
149 (single_queue_overrun_cb):
150 When figuring out when a queue is filled, use our internal time estimate
151 based on segments, just like check_full does.
153 2007-06-27 Stefan Kost <ensonic@users.sf.net>
155 * gst/gstminiobject.c: (gst_mini_object_get_type):
156 Remove 3 do-nothing methods.
158 2007-06-27 Wim Taymans <wim@fluendo.com>
160 Patch by: Tim Angus <tim at ngus dot net>
162 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
163 (gst_capsfilter_set_property):
164 Take a reference instead of a copy when setting "caps".
165 Fix documentation to clarify this behaviour. Fixes #449414.
167 2007-06-27 Stefan Kost <ensonic@users.sf.net>
169 * gst/gstindexfactory.c: (gst_index_factory_get_type):
170 * gst/gstplugin.c: (gst_plugin_init):
171 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
172 * gst/gstquery.c: (gst_query_get_type):
173 * gst/gstregistry.c: (gst_registry_init):
174 * gst/gsturi.c: (gst_uri_handler_base_init):
175 Remove empty instance_init() functions to save relocs and lessen the
176 noise. Remove some of the function prototypes that are doubled by
179 2007-06-27 Wim Taymans <wim@fluendo.com>
181 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
183 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
184 Add peer and direction in the XML serialisation of ghostpads.
187 2007-06-26 Stefan Kost <ensonic@users.sf.net>
190 Preserve useful information, thanks Tim.
192 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
194 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
195 (gst_single_queue_flush), (apply_segment), (apply_buffer),
196 (gst_single_queue_push_one), (gst_multi_queue_loop),
197 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
198 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
199 (compute_high_id), (gst_single_queue_new):
200 * plugins/elements/gstmultiqueue.h:
201 Take the multiqueue lock when updating the fill level so we don't get
204 After applying a buffer or event on the src pad segment, make sure to
205 call gst_data_queue_limits_changed() to get the data queue to unblock
206 and check the filled state again.
208 Rework the not-linked pad handling so the logic is that not-linked
209 pads can push as fast as they like, but only so they never get
210 ahead of any linked pads.
212 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
213 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
214 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
216 Add a test to check that not-linked pads always stay behind
221 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
223 * docs/random/release:
224 Some updates to the release procedure.
226 2007-06-26 Stefan Kost <ensonic@users.sf.net>
228 * gst/gstelementfactory.c: (__gst_element_details_clear):
229 Microoptimization that saves stunning 80 bytes.
231 2007-06-25 Stefan Kost <ensonic@users.sf.net>
233 * docs/plugins/gstreamer-plugins.args:
234 * docs/plugins/inspect/plugin-coreelements.xml:
235 * docs/plugins/inspect/plugin-coreindexers.xml:
236 Update docs with caps info.
238 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
241 Updated Italian translation.
243 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
247 Update Vietnamese translations.
249 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
251 * libs/gst/base/gstbasesink.c:
252 Remove unused signal enum.
254 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
256 * docs/gst/gstreamer-sections.txt:
258 * gst/gstutils.c: (gst_type_register_static_full):
259 Beef up and include the docs for gst_type_register_static_full and
260 gst_element_class_set_details_simple and add the API keyword
263 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
265 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
266 (update_time_level), (gst_single_queue_push_one),
267 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
268 (single_queue_overrun_cb), (single_queue_underrun_cb),
269 (single_queue_check_full):
270 Fix setting max-* properties after adding queues.
271 Use IS_FILLED for checking visible items.
272 Signal overrun if multiple queues overrun.
273 Add extra debug output.
274 Patch by: Wim Taymans <wim@fluendo.com>
276 2007-06-21 Stefan Kost <ensonic@users.sf.net>
278 * gst/gstelement.c: (gst_element_class_set_details_simple):
280 * gst/gstutils.c: (gst_type_register_static_full):
282 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
283 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
284 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
285 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
286 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
287 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
288 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
289 * plugins/elements/gstidentity.c: (gst_identity_base_init):
290 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
291 * plugins/elements/gstqueue.c: (gst_queue_base_init),
292 (apply_buffer), (gst_queue_chain):
293 * plugins/elements/gsttee.c: (gst_tee_base_init):
294 * plugins/elements/gsttypefindelement.c:
295 (gst_type_find_element_base_init),
296 (gst_type_find_element_class_init):
297 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
298 API: add gst_type_register_static_full
299 API: add gst_element_class_set_details_simple
301 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
303 * docs/pwg/advanced-types.xml:
304 Fix typo in iana.org URI.
306 2007-06-19 Andy Wingo <wingo@pobox.com>
308 * tests/check/pipelines/simple-launch-lines.c
309 (test_state_change_returns): Enable pull-mode tests now that
310 basesink has been fixed.
312 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
313 Changed from gst_base_sink_is_prerolled, reversing the sense of
314 the return value. Returns FALSE also if the sink is in pull mode,
315 in which case it needs no preroll.
316 (gst_base_sink_query, gst_base_sink_change_state): Update for
317 needs_preroll change.
318 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
319 chaining up, in which we return SUCCESS directly if we activated
320 in pull mode instead of ASYNC. Involves countering an async_start
321 message sent before chaining up; not sure if this is correct, in
322 an ideal world we only send async-start when activating in push
325 * tests/check/pipelines/simple-launch-lines.c
326 (test_state_change_returns): New test, partially disabled until
329 2007-06-19 Wim Taymans <wim@fluendo.com>
331 * plugins/elements/gstmultiqueue.c: (apply_buffer),
332 (gst_multi_queue_sink_event):
335 2007-06-19 Wim Taymans <wim@fluendo.com>
337 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
338 (gst_bin_change_state_func), (bin_push_state_continue),
339 (bin_handle_async_start), (bin_handle_async_done),
340 (gst_bin_handle_message_func):
341 Move the common code for posting state-change messages into
343 Broadcast the state signal after we posted the messages.
344 Mark the bin as busy when it's doing a state-change.
345 Make sure async-start/done messages don't interfere with the bin's
346 state when it's busy.
347 After the state change, let the bin check which elements completed the
348 state change while it was busy so that it can update its state.
350 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
352 * docs/random/release:
353 Add a note about updating the doap file to the release checklist
355 2007-06-18 Wim Taymans <wim@fluendo.com>
357 * plugins/elements/gstmultiqueue.c: (apply_buffer),
358 (gst_single_queue_push_one), (gst_multi_queue_chain),
359 (gst_multi_queue_sink_event):
360 Make sure we don't reference the buffer/event after we have given away
361 ownership in the queue.
363 2007-06-18 Wim Taymans <wim@fluendo.com>
365 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
366 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
367 Update queue state _after_ adding the item in the queue because else we
368 could end up being full without the element added yet.
370 2007-06-18 Wim Taymans <wim@fluendo.com>
372 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
373 (gst_bin_remove_func), (gst_bin_get_state_func),
374 (gst_bin_element_set_state), (gst_bin_continue_func),
375 (bin_push_state_continue), (bin_handle_async_start),
376 (bin_handle_async_done), (gst_bin_handle_message_func):
378 Immediatly commit the toplevel bin state when receiving an async-done
379 message. This enables us to avoid spawning a thread to commit the state
380 in some common cases and it also avoids some races.
381 Avoid spawning a state thread when adding/removing async elements to a
382 toplevel bin. Instead we immediatly update the bin state.
383 Get rid of iterating all the children when getting the state in the bin
384 because it is now always up-to-date.
385 Fix bug where locked elements would always return _SUCCESS even it they
386 returned NO_PREROLL before being locked.
387 Fix the order of the state_change, async-start/done messages that was
389 Mark the state_dirty field as deprecated, we don't need it anymore as we
390 are always up-to-date.
392 * gst/gstelement.c: (gst_element_get_state_func),
393 (gst_element_continue_state):
394 Small debug inprovements.
395 Return the previous element state return when nothing is pending instead
396 of blindly returning SUCCESS.
398 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
400 Add a whole bunch of new testcases.
402 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
408 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
411 Fix typo in the docs.
413 2007-06-15 Wim Taymans <wim@fluendo.com>
415 * docs/libs/gstreamer-libs-sections.txt:
416 Add docs for new methods.
418 2007-06-15 Wim Taymans <wim@fluendo.com>
420 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
421 (gst_multi_queue_item_new):
422 Don't use GSlice because we don't depend on >= 2.10 yet.
424 2007-06-15 Wim Taymans <wim@fluendo.com>
426 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
427 (update_time_level), (apply_segment), (apply_buffer),
428 (gst_single_queue_push_one), (gst_multi_queue_item_new),
429 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
430 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
431 (single_queue_underrun_cb), (single_queue_check_full):
434 2007-06-15 Wim Taymans <wim@fluendo.com>
436 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
437 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
438 (gst_data_queue_set_flushing), (gst_data_queue_push),
439 (gst_data_queue_pop), (gst_data_queue_drop_head),
440 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
441 * libs/gst/base/gstdataqueue.h:
443 Added methods to get the current levels and to inform the queue that the
444 'full' limits changed.
446 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
447 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
448 (gst_single_queue_flush), (update_time_level), (apply_segment),
449 (apply_buffer), (gst_single_queue_push_one),
450 (gst_multi_queue_item_steal_object),
451 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
452 (gst_multi_queue_loop), (gst_multi_queue_chain),
453 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
454 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
455 (gst_multi_queue_src_query), (single_queue_overrun_cb),
456 (single_queue_underrun_cb), (single_queue_check_full),
457 (gst_single_queue_new):
458 Keep track of time in the queue by measuring the difference between
459 running_time on input and output. This gives more accurate results and
460 can compensate for segments correctly.
461 Make a queue by default only 5 buffers deep. We will now increase the
462 buffer size depending on the filledness of the other queues.
463 Factor out commong flush code.
464 Make sure we don't add additional refcounts to buffers when we can avoid
466 Propagate GstFlowReturn differently.
467 Use GSlice for intermediate GstMultiQueueItems.
469 Resize queues on over and underruns based on filled level of other
471 When checking if the queue is filled, prefer to measure in time if we
472 can and fall back to bytes when no time is known.
474 * plugins/elements/gstqueue.c:
477 2007-06-15 Wim Taymans <wim@fluendo.com>
479 * libs/gst/base/gstbasetransform.c:
480 (gst_base_transform_sink_event):
481 Work around the brokenness of the event vmethod in basetransform. Prefer
482 to return TRUE when the subclass returned FALSE (meaning don't forward
485 * libs/gst/base/gstbasetransform.h:
488 2007-06-15 Wim Taymans <wim@fluendo.com>
490 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
491 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
492 (gst_base_src_default_query), (gst_base_src_get_range),
493 (gst_base_src_start):
494 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
497 2007-06-15 Stefan Kost <ensonic@users.sf.net>
499 * docs/pwg/advanced-types.xml:
500 Added more formats to caps table.
502 2007-06-15 Stefan Kost <ensonic@users.sf.net>
504 * tools/gst-launch.c: (main):
505 Remove crufy code. GOption does not need this workaround.
507 2007-06-14 Stefan Kost <ensonic@users.sf.net>
509 * libs/gst/controller/gstcontroller.c:
510 (gst_controlled_property_set_interpolation_mode):
511 Fix wrong getter for enums in controller.
513 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
515 * libs/gst/check/gstcheck.c: (gst_check_init):
516 Intercept criticals and warnings in the Gst-Phonon log domain, so
517 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
520 2007-06-14 Edward Hervey <edward@fluendo.com>
522 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
523 Since this file doesn't include "gst.h" it will not go through the
524 macros that disable GST_LOG if debugging was disabled.
526 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
528 * libs/gst/check/Makefile.am:
529 * libs/gst/check/gstcheck.h:
530 * pkgconfig/gstreamer-check-uninstalled.pc.in:
531 * pkgconfig/gstreamer-check.pc.in:
532 Ugly 'fix' for the controller unit test on the p5 bot: in
533 fail_unless_equals_float() check whether the values are 'almost
534 equal' by allowing a small absolute error, which should be good
535 enough for our use cases (normal numbers and values close to 0).
536 Proper fixage left to floating point arithmetic aficionados.
538 2007-06-14 Stefan Kost <ensonic@users.sf.net>
540 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
541 (gst_base_sink_render_object), (gst_base_sink_get_position):
542 Add two breaks thats where missing.
544 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
546 * docs/libs/gstreamer-libs-sections.txt:
547 * libs/gst/check/gstcheck.h:
548 API: add fail_unless_equals_float() and assert_equals_float().
549 Add documentation for some of the macros.
551 * tests/check/libs/controller.c: (GST_START_TEST):
552 Use newly-added asserts.
554 2007-06-14 Stefan Kost <ensonic@users.sf.net>
556 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
557 Show the caps change in the log to help spotting the case of not
558 exactly matching caps.
560 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
562 * docs/pwg/building-boiler.xml:
563 Fix typos, spotted by Thijs Vermeir (#447190).
565 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
567 * docs/plugins/tmpl/.cvsignore:
568 Ignore file to keep the buildbots happy
570 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
572 * docs/plugins/Makefile.am:
573 * docs/plugins/gstreamer-plugins-docs.sgml:
574 * docs/plugins/gstreamer-plugins-sections.txt:
575 Pull fdsink into the docs too.
577 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
579 * libs/gst/controller/gstinterpolation.c:
580 Actually use the new functions with min/max checks for the trigger and
581 none interpolation modes for get() and get_value_array() instead of
584 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
586 * libs/gst/controller/gstcontroller.c:
587 (gst_controlled_property_free):
588 Unset the minimum and maximum GValues when freeing the corresponding
589 GstControllerProperty struct.
591 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
593 * libs/gst/controller/gstcontroller.c:
594 (gst_controlled_property_new):
595 * libs/gst/controller/gstcontrollerprivate.h:
596 * libs/gst/controller/gstinterpolation.c:
597 (gst_controlled_property_find_control_point_node),
598 (interpolate_none_get), (interpolate_none_get_enum_value_array),
599 (interpolate_none_get_string_value_array),
600 (interpolate_trigger_get),
601 (interpolate_trigger_get_enum_value_array),
602 (interpolate_trigger_get_string_value_array):
603 Protect against values larger or smaller than the minimum or maximum
604 allowed value for the property when using values that can be compared.
606 Optimize trigger interpolator a bit by taking the last requested value
607 into account instead of always looping through the complete list.
609 Fix coding style a bit, everywhere else we use "return foo" instead
612 * tests/check/libs/controller.c: (GST_START_TEST),
613 (gst_controller_suite):
614 Add unit test for the protection against too large or too small
617 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
619 * docs/random/slomo/controller.txt:
620 Add some thoughts about the future of the controller.
622 2007-06-08 Wim Taymans <wim@fluendo.com>
624 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
625 Don't overflow in retimestamping code.
627 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
629 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
630 Use gst_util_guint64_to_gdouble for conversions.
631 * win32/common/libgstreamer.def:
632 Add new exported functions.
634 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
639 2007-06-07 Stefan Kost <ensonic@users.sf.net>
642 Remove that test line again.
644 2007-06-07 Stefan Kost <ensonic@users.sf.net>
647 Test commit mail sending.
649 2007-06-07 Stefan Kost <ensonic@users.sf.net>
652 Fix typo and test commit mail sending.
654 2007-06-07 Stefan Kost <ensonic@users.sf.net>
656 * tests/examples/controller/audio-example.c:
657 Improve comment and test commit mail sending.
659 2007-06-07 Wim Taymans <wim@fluendo.com>
661 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
662 (gst_bin_remove_func), (gst_bin_element_set_state),
663 (bin_handle_async_start), (bin_handle_async_done),
664 (gst_bin_handle_message_func):
665 Add helper function to find messages.
666 Generate the async-done messages together with the state change
668 Small cleanups in handling toplevel bins.
670 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
672 * libs/gst/base/gstdataqueue.c:
673 * libs/gst/base/gstdataqueue.h:
674 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
675 (gst_multi_queue_item_new), (gst_multi_queue_chain),
676 (gst_multi_queue_sink_event):
677 * tests/check/elements/multiqueue.c: (multiqueue_suite):
678 Fix multiqueue leaking buffers and events when downstream or the
679 queue are flushing. Make refcounting assumptions explicit and
680 document them (shouldn't break existing code that uses it other than
681 maybe leak miniobjects, but that already happens anyway). Add unit
682 test for the most common flushing case. Fixes #423700.
684 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
686 * libs/gst/controller/gstcontroller.c:
687 Clarify docs: The get_all, get_value_array(s) functions
688 don't modify the GObject properties.
690 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
692 * libs/gst/controller/gstcontroller.c:
693 (gst_controlled_property_set_interpolation_mode),
694 (gst_controlled_property_prepend_default),
695 (gst_controlled_property_new), (gst_controller_set_unlocked),
696 (gst_controller_set), (gst_controller_set_from_list),
697 (gst_controller_unset), (gst_controller_unset_all):
698 * libs/gst/controller/gstcontrollerprivate.h:
699 * libs/gst/controller/gstinterpolation.c:
700 Factor out the 'set' logic into gst_controller_set_unlocked for the
701 gst_controller_set and gst_controller_set_from_list functions.
703 To make life of the interpolators easier always add a control point
704 at timestamp zero with the default value.
706 In the linear interpolator make things more obvious by better variable
709 Implement cubic interpolation mode (by using a natural cubic spline)
710 and map the quadratic interpolation mode to this too (as quadratic
711 doesn't make much sense, see discussion on the list).
713 * tests/check/libs/controller.c: (GST_START_TEST),
714 (gst_controller_suite):
715 Add unit test for the cubic interpolation mode and check everywhere
716 if the interpolation mode could be set as expected.
718 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
720 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
721 Don't use GLib-2.10 functions, we still depend on
722 GLib-how-old-is-it-again-2.8.
724 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
726 * docs/gst/gstreamer-sections.txt:
730 * gst/gstparamspecs.c: (_gst_param_fraction_init),
731 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
732 (_gst_param_fraction_values_cmp),
733 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
734 * gst/gstparamspecs.h:
736 * tests/check/Makefile.am:
737 * tests/check/gst/.cvsignore:
738 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
739 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
740 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
741 (GST_START_TEST), (gst_param_spec_suite):
742 API: add GstParamSpecFraction, so elements can have fraction
743 properties without lots of painful string parsing (#444648).
745 2007-06-05 Wim Taymans <wim@fluendo.com>
747 * gst/gstobject.c: (gst_object_class_init):
748 Fix signal signature.
751 Add small clarification in the api docs.
753 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
754 States are protected with object lock.
756 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
759 I should probably be listed as an author by now.
761 * docs/random/release:
762 Update the release doc
764 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
767 Make docs for gst_value_compare() mention return enums that
770 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
775 === release 0.10.13 ===
777 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
780 releasing 0.10.13, "With or without you"
782 2007-05-25 Wim Taymans <wim@fluendo.com>
784 * gst/gstbin.c: (bin_handle_async_done):
785 Make sure that the child bin stops after completing the async state
786 change so that the parent can continue the state change to PLAYING.
789 2007-05-25 Wim Taymans <wim@fluendo.com>
791 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
792 (unref_data), (gst_collect_pads_remove_pad),
793 (gst_collect_pads_check_pads):
794 Use additional refcounting to avoid crashes when dynamically adding and
795 removing pads. Fixes #420206.
797 2007-05-24 Wim Taymans <wim@fluendo.com>
799 * tools/gst-launch.c: (event_loop):
800 When buffering goes from a two digit to a single digit number, make sure
801 to remove the old second digit by writing a blank over it.
803 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
805 * libs/gst/base/gstdataqueue.c:
806 Eliminate tabs and trailing comma in enum list; fix some typos.
808 2007-05-24 Wim Taymans <wim@fluendo.com>
810 * tests/check/gst/gstbin.c: (GST_START_TEST):
811 Allow refcount of 3 and 4 because some state thread might still be busy
814 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
816 * plugins/elements/Makefile.am:
817 * plugins/elements/gstmultiqueue.h:
818 * plugins/elements/gstqueue.h:
819 These are not installed headers, no need for padding.
821 2007-05-24 Wim Taymans <wim@fluendo.com>
823 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
824 (gst_bin_continue_func):
825 Enable latency for next release.
826 Restore STATE_LOCK around recalc_state that was left out during the
827 rewrite and could result in racy behaviour when _get_state and
828 recalc_state are run concurrently. See #440463.
830 2007-05-23 Wim Taymans <wim@fluendo.com>
832 * tests/check/gst/gstsystemclock.c: (store_callback),
834 Improve test_async_order to also work when both timers are already
835 expired when we get scheduled to check it.
837 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
839 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
840 (gst_bin_set_property), (gst_bin_get_property),
841 (gst_bin_remove_func), (gst_bin_handle_message_func):
843 'private' is a c++ keyword, let's not use that in header files,
844 otherwise c++ compilers will throw a tantrum.
846 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
848 * plugins/elements/gstelements.c:
849 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
850 (gst_file_sink_get_current_offset):
851 * plugins/indexers/gstindexers.c: (plugin_init):
852 Use #ifdef for HAVE_XYZ for consistency.
854 * tests/check/Makefile.am:
855 * tests/check/elements/.cvsignore:
856 * tests/check/elements/filesink.c: (setup_filesink),
857 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
858 Add some unit tests for filesink.
860 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
862 Patch by: Mark Nauwelaerts <manauw at skynet be>
864 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
865 (gst_file_sink_query), (gst_file_sink_do_seek),
866 (gst_file_sink_get_current_offset), (gst_file_sink_render):
867 * plugins/elements/gstfilesink.h:
868 Fix position reporting; rename data_written member to current_pos to
869 reflect its real meaning (fixes #412648).
871 2007-05-22 Edward Hervey <edward@fluendo.com>
873 * docs/gst/gstreamer-sections.txt:
874 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
875 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
876 (gst_bin_remove_func), (gst_bin_handle_message_func):
878 Add a property for bins that handle the state change of their childs.
881 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
883 * libs/gst/controller/gstinterpolation.c:
884 Use an array of the correct type when using _get_value_array with
885 linear interpolation.
887 2007-05-22 Stefan Kost <ensonic@users.sf.net>
889 * gst/gstelement.c (gst_element_requires_clock,
890 gst_element_provides_clock, gst_element_request_pad,
891 gst_element_class_set_details, gst_element_class_set_details_simple,
892 gst_element_default_send_event, gst_element_abort_state,
893 gst_element_continue_state, gst_element_set_state,
894 gst_element_set_state_func, iterator_activate_fold_with_resync):
895 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
896 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
897 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
898 gst_pad_get_range, gst_pad_pull_range):
899 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
900 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
901 GstPadActivateModeFunction, GstPadChainFunction,
902 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
903 GstPadFixateCapsFunction, GstPadTemplate):
904 * gst/gstpipeline.c (gst_pipeline_change_state,
905 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
906 gst_pipeline_set_clock, gst_pipeline_auto_clock,
907 gst_pipeline_get_delay):
908 Whitespace and docs fixes.
910 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
912 * libs/gst/controller/gstinterpolation.c:
913 (interpolate_trigger_get_enum_value_array),
914 (interpolate_trigger_get_string_value_array):
915 Add support for retrieving value arrays when using the trigger
918 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
920 * libs/gst/controller/gstcontroller.c:
921 (gst_controller_get_value_array):
922 * libs/gst/controller/gstcontroller.h:
923 Clarify the docs of gst_controller_get_value_array(): The array where
924 the values should be written to must be allocated as there seems to be
925 no way to get the size of a random GType. This doesn't change any
926 behaviour. Also fix some typos all over the place and remove an unused,
927 commented function that is not necessary as g_object_set() could be
929 * tests/check/libs/controller.c: (GST_START_TEST),
930 (gst_controller_suite):
931 Add unit test for gst_controller_get_value_array().
933 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
935 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
937 Disable part of the gst_buffer_try_new_and_alloc test, because
938 it can happily succeed on 64-bit systems where there's more address
941 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
943 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
944 Add unit test for the improved caps checking from bug #421543.
946 2007-05-21 Wim Taymans <wim@fluendo.com>
948 * docs/design/part-synchronisation.txt:
951 * gst/gstbin.c: (gst_bin_query):
952 * plugins/elements/gstqueue.c: (apply_segment):
958 2007-05-21 Wim Taymans <wim@fluendo.com>
960 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
961 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
962 (gst_pad_configure_src):
963 Added simple version of improved caps checking. It was previously
964 assumed that a setcaps function would check the validity of the caps but
965 people prefer us to check caps against the template automatically.
968 2007-05-21 Wim Taymans <wim@fluendo.com>
970 * libs/gst/base/gstbasetransform.h:
971 Fix macro for locking/unlocking the transform lock.
973 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
975 * docs/plugins/tmpl/.cvsignore:
978 2007-05-18 Edward Hervey <edward@fluendo.com>
980 * plugins/elements/gstqueue.c: (gst_queue_loop):
981 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
982 for the subtle art of warning a potentially blocking thread that it
983 should check the source pad return value, and relay the information
986 2007-05-18 Edward Hervey <edward@fluendo.com>
988 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
989 Release the queue lock !
991 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
993 * docs/libs/gstreamer-libs-sections.txt:
994 Add the two new controller functions to the appropiate places.
996 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
998 reviewed by: Stefan Kost <ensonic@users.sf.net>
1000 * libs/gst/controller/gstcontroller.c:
1001 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1002 (_gst_controller_get_property), (_gst_controller_set_property),
1003 (_gst_controller_init), (_gst_controller_class_init):
1004 * libs/gst/controller/gstcontroller.h:
1005 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1006 (gst_object_get_control_rate), (gst_object_set_control_rate):
1007 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1008 Add API that provides sync suggestion timestamps for elements that
1009 call gst_object_sync_values() from which those elements can subdivide
1010 their processing loop to get the best results for the controlled
1011 properties. For now it just suggests last_sync + control_rate as
1012 new timestamp but this will be improved in the future.
1014 While doing that change the control-rate property to a GstClockTime
1015 from guint and change it's meaning from samples to nanoseconds as
1016 the GstController doesn't know anything about sampling rate. Strictly
1017 speaking this breaks ABI but as the control-rate property didn't do
1018 anything in the past and as such couldn't be used this should be no
1021 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1023 reviewed by: Stefan Kost <ensonic@users.sf.net>
1025 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1026 (gst_controller_unset_all):
1027 * libs/gst/controller/gstcontrollerprivate.h:
1028 * libs/gst/controller/gstinterpolation.c:
1029 (gst_controlled_property_find_control_point_node):
1030 Save last synced value from the list to continue searching from there
1031 in future syncs. This speeds everything up a bit.
1033 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1035 reviewed by: Stefan Kost <ensonic@users.sf.net>
1037 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1038 (gst_control_point_find), (gst_controlled_property_new),
1039 (gst_control_point_free), (gst_controlled_property_free),
1040 (gst_controller_set), (gst_controller_set_from_list),
1041 (gst_controller_unset), (gst_controller_unset_all),
1042 (gst_controller_sync_values):
1043 * libs/gst/controller/gstcontroller.h:
1044 * libs/gst/controller/gstcontrollerprivate.h:
1045 * libs/gst/controller/gstinterpolation.c:
1046 (gst_controlled_property_find_control_point_node),
1047 (interpolate_none_get), (interpolate_trigger_get):
1048 Add a new private GstControlPoint struct which "inherits" from
1049 GstTimedValue to allow different interpolators to store internal
1050 values next to each control point. From the outside everything is
1051 still a GstControlPoint so we don't loose binary compatibility.
1052 Also fixup all the GValue handling to not leak GValues or list nodes.
1053 * tests/check/libs/controller.c: (GST_START_TEST):
1054 Free the list nodes and GValues in the controller_misc test.
1056 2007-05-17 Edward Hervey <edward@fluendo.com>
1061 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1063 * gst/gstplugin.c: (gst_plugin_load_file):
1064 If we fail to load a plugin because of unresolved symbols or missing
1065 libraries and spew a warning to stderr, we may just as well mention
1066 which plugin it was that failed to load.
1068 2007-05-13 David Schleef <ds@schleef.org>
1070 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1071 handles the case when ENABLE_GTK_DOC is false, and installs
1072 the prebuilt documentation. So gtk-doc subdirs are
1073 unconditionally enabled. Fixes: #349099.
1075 2007-05-13 David Schleef <ds@schleef.org>
1077 * gst/gstutils.h: Reword some documentation.
1079 2007-05-12 David Schleef <ds@schleef.org>
1081 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1082 do anything with the passed "module" parameter, so remove it.
1083 Allows removal of additional vestigal code.
1085 2007-05-12 David Schleef <ds@schleef.org>
1088 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1089 Switch to using g_stat() because it's more portable.
1091 2007-05-12 David Schleef <ds@schleef.org>
1094 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1095 parsing for embedded systems.
1096 * gst/gstelementfactory.c:
1097 Allow gst_element_register() to be called with plugin==NULL.
1098 Did nobody notice that static elements were broken?
1100 2007-05-12 Wim Taymans <wim@fluendo.com>
1102 * tools/gst-launch.c: (event_loop):
1103 Give more interesting info when buffering starts and stops.
1104 Fix case where buffering starts but we fail to update the buffering flag
1105 because the target state is not PLAYING.
1107 2007-05-12 Wim Taymans <wim@fluendo.com>
1109 * plugins/elements/gstqueue.c: (gst_queue_init),
1110 (gst_queue_finalize), (update_time_level), (apply_segment),
1111 (apply_buffer), (gst_queue_locked_flush),
1112 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1113 (gst_queue_handle_sink_event), (gst_queue_chain),
1114 (gst_queue_push_one), (gst_queue_loop):
1115 * plugins/elements/gstqueue.h:
1116 Refactor an cleanup queue a bit.
1117 Do better time level calculations that also work when the srcpad is not
1119 Remove some unneeded debug lines.
1121 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1122 Added testcase for time level measurement.
1123 Try to make some stuff more racefree.
1125 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1127 * gst/gsturi.c: (gst_element_make_from_uri):
1128 Don't leak plugin feature.
1130 * tests/check/Makefile.am:
1131 * tests/check/gst/.cvsignore:
1132 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1133 Add brain-dead unit test.
1135 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1137 Patch by: Jeroen Wouters <woutersj at gmail com>
1139 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1140 Treat protocol strings in a case-insensitive way (#437563).
1142 2007-05-11 Michael Smith <msmith@fluendo.com>
1144 * gst/gstplugin.c: (gst_plugin_load_file):
1145 * gst/gstregistry.c: (gst_registry_scan_path_level):
1146 Don't print a g_warning for any failure to load a shared object.
1147 Instead, push this down into gstplugin.c, and warn _only_ if we
1148 failed to open the module (i.e. failure to link).
1149 Avoids warnings on normal, working, non-plugin .so files.
1151 2007-05-11 Stefan Kost <ensonic@users.sf.net>
1153 * gst/gstplugin.c (gst_plugin_load_file):
1154 * gst/gstregistry.c (GST_CAT_DEFAULT,
1155 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1156 Print a g_warning if there was an error when loading a plugins during
1157 registry scan. The shuld help beginners starting with gst-plugin
1160 2007-05-10 Wim Taymans <wim@fluendo.com>
1162 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1163 (update_time_level), (gst_queue_locked_flush),
1164 (gst_queue_handle_sink_event), (gst_queue_chain),
1165 (gst_queue_push_one), (gst_queue_loop):
1166 * plugins/elements/gstqueue.h:
1167 Be smarter when calculating the current amount of data in the queue by
1168 measuring the difference between start and end timestamps (in running
1169 time) inside the queue. Fixes #432876.
1170 API: GstQueue::pushing to notify elements that we are pushing data again
1171 since the running signal is rather broken for this purpose.
1173 2007-05-10 Stefan Kost <ensonic@users.sf.net>
1175 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1176 gst_queue_base_init, gst_queue_init):
1179 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
1181 * win32/common/libgstreamer.def:
1182 Add new exported functions.
1183 * win32/vs6/grammar.dsp:
1184 Use grammar pre-generated files.
1186 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1188 Based on patch by: Peter Kjellerstedt <pkj at axis com>
1191 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1193 * gst/gstutils.c: (gst_parse_bin_from_description):
1195 Maintain API and ABI when --disable-parse is used. Now that
1196 we have an appropriate error code, we can just return NULL and the
1197 appropriate error when gst_parse_launch() is used despite it having
1198 been disabled (#342564).
1200 * tests/check/Makefile.am:
1201 * tests/check/pipelines/.cvsignore:
1202 * tests/check/pipelines/parse-disabled.c:
1203 Make sure these functions exist and return NULL plus a GError when
1204 --disable-parse is used.
1206 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1208 * tests/benchmarks/complexity.c: (main):
1209 * tests/benchmarks/mass-elements.c: (main):
1210 Set a good example and don't leak messages.
1212 2007-05-06 Stefan Kost <ensonic@users.sf.net>
1214 * docs/gst/Makefile.am:
1215 * docs/libs/Makefile.am:
1216 Correct fixxrefs options.
1218 * docs/plugins/Makefile.am:
1219 * docs/plugins/gstreamer-plugins-docs.sgml:
1220 * docs/plugins/gstreamer-plugins-sections.txt:
1221 * plugins/elements/Makefile.am:
1222 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1223 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1224 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1225 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1226 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1227 _GstCapsFilterClass, trans_class):
1228 * plugins/elements/gstelements.c (name, rank, type, _elements):
1229 * plugins/elements/gstidentity.c
1230 (gst_identity_check_imperfect_timestamp,
1231 gst_identity_check_imperfect_offset):
1232 Document capsfilter and add doc-blurb to identity.
1234 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
1236 * libs/gst/controller/gstcontroller.c:
1237 (gst_controlled_property_set_interpolation_mode):
1238 * libs/gst/controller/gstinterpolation.c:
1239 Don't crash if someone tries to set an interpolation mode that
1240 is invalid or that isn't supported yet. Fixes #422295.
1242 * tests/check/libs/controller.c: (GST_START_TEST),
1243 (gst_controller_suite):
1244 Add a test case for the above.
1246 2007-05-03 Edward Hervey <edward@fluendo.com>
1248 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1249 Properly set the last_stop position on GstSegment. This will only happen
1250 if there is a buffer to push out.
1252 2007-05-03 Wim Taymans <wim@fluendo.com>
1254 * libs/gst/base/gstbasetransform.c:
1255 (gst_base_transform_buffer_alloc):
1256 always_in_place does not mean that the sink and source caps are the
1257 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1259 2007-05-03 Wim Taymans <wim@fluendo.com>
1261 * docs/libs/gstreamer-libs-sections.txt:
1262 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1263 (gst_base_src_default_query), (gst_base_src_get_range):
1264 * libs/gst/base/gstbasesrc.h:
1265 API: gst_base_src_query_latency(). Added method so that subclasses can
1266 easily get the latency values of the base source class.
1268 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1270 * tools/gst-inspect.c (print_implementation_info):
1273 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1275 * tools/Makefile.am:
1276 * tools/gst-launch.1.in:
1277 Don't create a customised man page based on the host architecture,
1278 describe the default registry path generically. That way the man
1279 page is the same for all architectures and packagers have one
1280 multilib issue less to deal with. Fixes #434926.
1282 2007-05-02 Wim Taymans <wim@fluendo.com>
1285 Fix documentation as spotted by rg on IRC.
1287 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1290 Improve docs for gst_element_{link,unlink}.
1292 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1294 * docs/design/part-events.txt:
1295 * docs/design/part-overview.txt:
1299 * libs/gst/base/gstbasesink.c:
1300 Typo fixes; minor docs addition.
1302 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1304 * docs/gst/gstreamer-sections.txt:
1305 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1306 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1308 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1309 or src that supports a given URI protocol exists.
1311 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1313 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1314 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1315 Set the location to NULL if "file://" is set as URI. Otherwise
1316 some random previous URI would still be set if "file://" is
1317 set on an already used filesink/filesrc.
1319 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1321 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1322 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1323 Special case the "file://" URI as as this is used by some
1324 applications to test with gst_element_make_from_uri if there's
1325 an element that supports the URI protocol.
1326 Also move the g_path_is_absolute() check for the location part
1327 of the URI to also check this for "file://localhost/bla" URIs.
1329 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1331 * docs/gst/gstreamer-sections.txt:
1332 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1334 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1336 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1338 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1340 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1341 (gst_registry_binary_load_pad_template),
1342 (gst_registry_binary_load_plugin),
1343 (gst_registry_binary_read_cache):
1344 * gst/gstregistrybinary.h:
1345 Implement no-mmap alternative for registry reading. Do code cleanups.
1346 Add more comments about avoiding strdups for all text data. Comments
1349 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1351 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1352 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1353 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1354 Comment structs and reformat to fix the build (that stuff should go
1355 into a priv. header).
1357 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1359 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1360 (gst_registry_binary_load_feature):
1361 * gst/gstregistrybinary.h:
1362 Refactor so that we can implement multiple features. Add support for
1363 TypeFindFactory features.
1365 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1367 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1370 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1372 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1374 * gst/gstbin.c: (gst_bin_element_set_state),
1375 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1376 (bin_handle_async_done), (gst_bin_handle_message_func):
1377 Fix build with --gst-disable-gst-debug
1379 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1381 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1382 Make sure streaming has finished before calling the ::stop() vfunc,
1383 since that vfunc might clear state which is being used in the
1384 streaming thread. This fixes a race that caused crashes in
1385 audioresample when shutting down a pipeline (#420106).
1387 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1389 * docs/gst/gstreamer-sections.txt:
1390 That was one byte missing.
1392 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1395 * docs/gst/gstreamer-sections.txt:
1397 * gst/gstconfig.h.in:
1398 * gst/gstobject.c: (gst_object_class_init),
1399 (gst_signal_object_class_init):
1401 2nd attempt to have a xml-less build as a joined effort of #413123
1404 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1406 * docs/design/draft-tagreading.txt:
1407 Added open issues/thoughts to draft.
1409 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1411 * gst/parse/grammar.tab.pre.c:
1412 * gst/parse/grammar.tab.pre.h:
1413 * gst/parse/lex._gst_parse_yy.pre.c:
1414 Update the prebuild parser sources.
1416 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1418 * gst/parse/Makefile.am:
1419 And now fix the building of the flex sources. Now everything should
1422 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1424 * gst/parse/Makefile.am:
1425 Now hopefully fix the build failures by setting proper rule
1426 dependencies and moving instead of copying.
1428 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1430 * tests/benchmarks/complexity.gnuplot:
1431 * tests/benchmarks/complexity.scm:
1432 * tests/benchmarks/mass-elements.gnuplot:
1433 * tests/benchmarks/mass-elements.scm:
1434 Total licensification.
1436 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1438 * gst/parse/Makefile.am:
1439 Fix the build by correcting the rule that gave wrong files to flex.
1441 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1443 * tests/benchmarks/complexity.c:
1444 * tests/benchmarks/mass-elements.c:
1445 Change licence to LGPL as granted by Benjamin and Andy.
1447 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1449 * gst/parse/Makefile.am:
1450 Add correct grammar.tab.h dependency if compiling without new enough
1451 flex. Fixes #431150.
1453 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1455 * gst/parse/Makefile.am:
1456 Fix typo and use outdated sources if the flex/bison sources are newer
1457 than the pregenerated ones but flex is too old. Print a warning in
1458 that case. This should fix the build on the build bot.
1460 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1462 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1463 * gst/parse/Makefile.am:
1464 * gst/parse/grammar.y:
1465 * gst/parse/parse.l:
1466 Make the parser reentrant and recursively callable. This requires flex
1467 >= 2.5.31, for older versions pregenerated sources are used as we
1468 can't bump the build dependency. Finally fixes #349180.
1470 * gst/gstparse.c: (gst_parse_launch):
1471 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1474 * docs/gst/Makefile.am:
1475 * docs/gst/Makefile.am:
1476 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1477 (__gst_parse_strfree), (__gst_parse_link_new),
1478 (__gst_parse_link_free), (__gst_parse_chain_new),
1479 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1480 (gst_parse_element_set), (gst_parse_free_link),
1481 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1482 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1483 (_gst_parse_launch):
1484 * gst/parse/grammar.tab.pre.h:
1485 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1486 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1487 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1488 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1489 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1490 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1491 (_gst_parse_yypop_buffer_state),
1492 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1493 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1494 (yy_fatal_error), (_gst_parse_yyget_extra),
1495 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1496 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1497 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1498 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1499 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1500 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1501 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1502 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1503 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1504 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1505 (_gst_parse_yyfree):
1506 If the installed flex version is too old use pre-generated parser
1507 sources. These pre-generated parser sources are always updated when
1508 the actual flex/bison sources change but require everybody who wants
1509 to change something in the parser to have flex >= 2.5.31 installed.
1511 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1513 * common/m4/gst-gettext.m4:
1514 * gst/gst-i18n-lib.h:
1515 Make --disable-nls to work
1517 2007-04-17 Wim Taymans <wim@fluendo.com>
1519 * gst/gstconfig.h.in:
1520 Revert previous change that broke the build.
1522 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1526 * gst/gstconfig.h.in:
1527 Drop libxml2 dependency when building with
1528 --enable-binary-registry --disable-loadsave
1530 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1532 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1533 (gst_registry_binary_read_cache):
1534 * gst/gstregistrybinary.h:
1535 Remove unnecessary <sys/mman.h> include which broke the win32 build
1536 with MingW; move includes from header file to .c file, even if the
1537 header file isn't installed; use g_strerror() where UTF-8 strings
1538 are expected, such as in GST_DEBUG messages.
1540 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1542 * docs/libs/gstreamer-libs-sections.txt:
1543 Remove bogus addition for API I didn't end up keeping.
1545 * libs/gst/base/gstbasesrc.h:
1546 Mention Since: 0.10.13 in the documentation.
1548 Add the API keyword to the previous ChangeLog entry.
1550 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1552 * docs/libs/gstreamer-libs-sections.txt:
1553 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1554 (gst_base_src_default_prepare_seek_segment),
1555 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1556 * libs/gst/base/gstbasesrc.h:
1557 Allow basesrc derived classes to execute seeks in other formats
1558 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1559 to prepare the GstSegment in any format that their perform_seek method
1560 will be able to understand. The default implementation provides the
1561 old behaviour of attempting to convert the seek offsets to the
1562 configured native format.
1564 API: basesrc::prepare_seek_segment vmethod.
1566 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1568 * gst/gstelement.c: (gst_element_get_state_func):
1569 Don't output the same debug statement twice.
1571 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1572 (gst_adapter_peek), (gst_adapter_take_buffer):
1573 Optimise the case where we have buffers at the head of the queue that
1574 can be joined quickly (because they're contiguous sub-buffers) by
1575 merging them together rather than copying data out into new memory.
1577 * gst/parse/grammar.y:
1578 * tests/check/pipelines/parse-launch.c:
1579 Fix a leak in an error path for parse_launch, and add a check
1580 for it to the testsuite.
1582 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1584 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1585 Don't deadlock when releasing a pad - gst_pad_set_active may try
1586 and take the multiqueue lock too.
1588 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1590 * gst/gsterror.c: (_gst_core_errors_init):
1592 API: add GST_CORE_ERROR_DISABLED (#392804).
1594 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1596 * docs/faq/gst-uninstalled:
1597 don't get empty paths on the PATH variables
1598 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1599 Don't format for the uncommon terminal width of 84 characters.
1601 2007-04-06 Wim Taymans <wim@fluendo.com>
1603 * gst/gstpipeline.c: (reset_stream_time),
1604 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1605 Only try to select a different pipeline clock when we went back to
1606 PAUSED and not when we merely got flushed.
1608 2007-04-05 Michael Smith <msmith@fluendo.com>
1610 * tools/gst-launch.1.in:
1611 fractions are better supported in gstreamer than ractions, so
1612 suggest using those.
1614 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1616 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1620 Added Danish translation.
1622 2007-04-05 Wim Taymans <wim@fluendo.com>
1624 * libs/gst/base/gstbasesink.c:
1625 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1626 Fix leak caused when refusing newsegment after EOS.
1628 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1629 (gst_fake_sink_init), (gst_fake_sink_set_property),
1630 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1631 (gst_fake_sink_render), (gst_fake_sink_change_state):
1632 * plugins/elements/gstfakesink.h:
1633 Add num-buffers property to make the element generate EOS after a
1634 configurable amount of buffers.
1635 API: fakesink::num-buffers property.
1637 * tests/check/elements/fakesink.c: (GST_START_TEST),
1639 Fix GstBus leak in test.
1640 Test for fakesink num-buffers.
1642 2007-04-05 Wim Taymans <wim@fluendo.com>
1644 * libs/gst/base/gstbasesink.c:
1645 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1646 (gst_base_sink_change_state):
1647 Don't accept anything after an EOS, return UNEXPECTED instead.
1649 * tests/check/elements/fakesink.c: (GST_START_TEST),
1651 Unit test for new EOS behaviour.
1653 2007-04-05 Wim Taymans <wim@fluendo.com>
1655 * gst/gstelement.c: (gst_element_get_request_pad):
1656 Make padtemplates also work when they don't contain %s or %d.
1658 2007-04-05 Wim Taymans <wim@fluendo.com>
1660 * docs/gst/gstreamer-sections.txt:
1661 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1662 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1664 Improve _adjust_unlocked() so that it overflows less.
1665 Add gst_clock_unadjust_unlocked to convert from external time to
1666 internal time based on calibration.
1667 Add some more debug.
1668 API: GstClock::gst_clock_unadjust_unlocked()
1670 2007-04-03 Wim Taymans <wim@fluendo.com>
1672 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1674 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1675 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1676 when releasing sink pad. Fixes #425400.
1678 2007-04-02 Stefan Kost <ensonic@users.sf.net>
1680 * docs/random/ensonic/dynlink.txt:
1681 More work on proposal for new core api.
1683 * docs/libs/gstreamer-libs-sections.txt:
1684 * libs/gst/base/gstbasetransform.h:
1685 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1687 * libs/gst/controller/gstcontroller.c:
1688 (on_object_controlled_property_changed),
1689 (gst_controller_sync_values),
1690 (gst_controller_set_interpolation_mode):
1691 * libs/gst/controller/gstcontroller.h:
1692 Less verbose logging add docs for unimplemented parts and correctly
1693 return when using unavailable parts.
1695 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1697 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1698 Move all the debug to the CLOCK category, and associate it with
1701 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1703 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1704 Make take_buffer a bit quicker by removing redundant checks
1705 caused by calling gst_adapter_take.
1707 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1709 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1712 * tests/check/Makefile.am:
1713 * tests/check/elements/.cvsignore:
1714 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1715 (GST_START_TEST), (multiqueue_suite):
1716 Add some dead simple unit tests for the 'multiqueue' element
1717 (some bits don't work yet and are disabled for now).
1719 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1721 * gst/gstelement.c: (gst_element_get_request_pad),
1722 (gst_element_class_get_request_pad_template):
1723 Make gst_element_get_request_pad() create request pads only for
1724 request pad templates and not for, say, sometimes pad templates.
1726 2007-03-28 Stefan Kost <ensonic@users.sf.net>
1728 * docs/design/draft-klass.txt:
1729 Add example that needs more thinking.
1731 * docs/design/draft-missing-plugins.txt:
1732 More thoughts about wrapper plugins.
1734 * docs/random/ensonic/embedded.txt:
1735 * docs/random/ensonic/profiling.txt:
1738 2007-03-25 Wim Taymans <wim@fluendo.com>
1740 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1741 (gst_base_src_loop):
1742 Only push the segment events in the PLAYING state for live sources.
1744 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
1746 * gst/gstpipeline.c: (gst_pipeline_change_state):
1747 Modify the clock distribution path in PAUSED->PLAYING so that we
1748 never attempt to choose a new clock unless we're actually leaving
1749 the PAUSED state for the first time. This prevents choosing a
1750 different clock when the state_change gets called for a 2nd time due
1751 to some element doing an async state change.
1753 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1755 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
1756 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
1757 (gst_pad_chain_unchecked), (gst_pad_push):
1758 Revert last commit. This needs some more thoughts.
1760 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1762 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
1763 (gst_pad_chain_unchecked), (gst_pad_push):
1764 Check in set_caps if the caps are compatible with the pad and remove
1765 two functions that are redundant now. Fixes #421543.
1767 2007-03-22 Wim Taymans <wim@fluendo.com>
1769 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1770 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
1771 Unref some more to make valgrind happy.
1773 2007-03-22 Wim Taymans <wim@fluendo.com>
1775 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
1776 (gst_system_clock_id_wait_jitter),
1777 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
1778 Fix anoying regression that survived a few releases. When adding an
1779 async entry while blocking on a sync entry, the sync entry will unblock
1780 but still be busy, so it should continue to wait instead of returning
1782 Add some comments here and there.
1784 * tests/check/gst/gstsystemclock.c: (mixed_thread),
1785 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
1786 Add testcase for this.
1788 2007-03-22 Wim Taymans <wim@fluendo.com>
1790 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
1791 Handle errors from the clock sync better, only UNSCHEDULED indicates a
1792 WRONG_STATE and can silently pause the task. All other cases should
1795 2007-03-22 Wim Taymans <wim@fluendo.com>
1797 Patch by: Ville Syrjala <syrjala at sci dot fi>
1799 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
1800 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
1803 2007-03-21 Michael Smith <msmith@fluendo.com>
1805 * docs/pwg/advanced-types.xml:
1806 Fix some errors in the typefinding docs pointed out on irc.
1808 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
1810 * libs/gst/base/gstbasesrc.c:
1811 Clarify FIXME comment in the face of having added unlock_stop()
1813 2007-03-21 Wim Taymans <wim@fluendo.com>
1815 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
1816 Prepare for release where we warn against possible app breakage in the
1817 case of live pipelines along with an env var to enable/disable live
1818 preroll mode (GST_COMPAT=[no-]live-preroll).
1820 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1822 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
1823 So we should use correct constants for checking for None offset.
1825 2007-03-20 Wim Taymans <wim@fluendo.com>
1827 * docs/design/part-block.txt:
1828 Mention the fact that the newly switched element should be set to at
1831 2007-03-20 Wim Taymans <wim@fluendo.com>
1834 Fix compilation with registry disabled as spotted by Saur.
1836 2007-03-20 Wim Taymans <wim@fluendo.com>
1838 Patch by: Olivier Crete <tester at tester dot ca>
1840 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1841 Look at the pending state too when syncing the element state to the
1842 parent. Fixes #420133.
1844 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
1846 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1847 (gst_base_sink_change_state):
1848 * libs/gst/base/gstbasesink.h:
1849 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1850 (gst_base_src_default_event), (gst_base_src_unlock_stop),
1851 (gst_base_src_deactivate):
1852 * libs/gst/base/gstbasesrc.h:
1853 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
1854 for sub-classes to correctly clear any state they set trying to
1855 unlock, such as clearing out unlock commands from a command fd.
1856 API: basesrc::unlock_stop
1857 API: basesink::unlock_stop
1859 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
1860 (gst_fd_sink_render), (gst_fd_sink_unlock),
1861 (gst_fd_sink_unlock_stop):
1862 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1863 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
1864 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
1866 Implement unlock_stop in fdsrc and fdsink.
1867 Implement seeking in fdsrc when a seekable fd is passed, as in
1868 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
1870 2007-03-19 Wim Taymans <wim@fluendo.com>
1872 Patch by: Evan Nemerson <evan at coeus dash group dot com>
1874 * gst/gstelement.c: (gst_element_class_init):
1875 Fix pad-added and pad-removed signal signatures so that the pad type is
1876 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
1878 2007-03-19 Wim Taymans <wim@fluendo.com>
1880 * docs/gst/gstreamer-sections.txt:
1881 Add new element field and method.
1883 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1884 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
1885 (gst_bin_recalc_state), (gst_bin_get_state_func),
1886 (gst_bin_element_set_state), (gst_bin_change_state_func),
1887 (gst_bin_continue_func), (bin_bus_handler),
1888 (bin_push_state_continue), (bin_handle_async_start),
1889 (bin_handle_async_done), (gst_bin_handle_message_func):
1890 Make async state changes a bit smarter by using new ASYNC_START and
1891 ASYNC_DONE messages. This reduces the number of times we run the state
1892 recalculation thread.
1893 Don't change state of element with a pending ASYNC_START message.
1894 Deprecate STATE_DIRTY messages.
1896 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
1897 (gst_element_get_state_func), (gst_element_continue_state),
1898 (gst_element_lost_state), (gst_element_set_state_func),
1899 (gst_element_change_state):
1901 Keep the state that was last set by the app in a new element field.
1902 Don't allow state changes when handling an element event.
1903 Post ASYNC_START and ASYNC_DONE messages.
1904 Change lost_state so that we go to PAUSED and wait for the parent to set
1905 us to PLAYING again (so latency calculation can be performed)
1906 Export gst_element_change_state() method so that subclasses can use it.
1907 API: gst_element_change_state()
1908 API: GST_STATE_TARGET
1910 * gst/gstpipeline.c: (gst_pipeline_class_init),
1911 (reset_stream_time), (gst_pipeline_change_state),
1912 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
1913 Using the new ASYNC_START message we can reset the base_time when
1914 needed. This can then be used to implement base_time redistribution in
1915 flushing seeks so that we can remove the explicit seek handling.
1916 Perform latency query and configuration when going to PLAYING.
1918 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1919 (gst_base_sink_query), (gst_base_sink_change_state):
1920 Post new ASYNC_START/ASYNC_DONE messages.
1922 * tests/check/generic/sinks.c: (GST_START_TEST):
1923 Fix test because the bin will not set the async element to PLAYING right
1926 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
1927 Make the message check a little stronger.
1928 Handle ASYNC messages.
1930 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
1931 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
1932 Expect ASYNC_DONE messages.
1934 2007-03-19 Wim Taymans <wim@fluendo.com>
1936 * docs/gst/gstreamer-sections.txt:
1937 * gst/gstmessage.c: (gst_message_new_async_start),
1938 (gst_message_new_async_done), (gst_message_parse_info),
1939 (gst_message_parse_async_start):
1941 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
1944 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
1946 * tools/gst-inspect.c:
1947 (print_plugin_automatic_install_info_codecs):
1948 Now that we don't check for the 'Codec' keyword any longer in the
1949 klass, we shouldn't spew a warning if the klass isn't a decoder or
1950 encoder (since it might be a Source/Network, for example).
1952 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
1954 * tools/gst-inspect.c:
1955 (print_plugin_automatic_install_info_codecs):
1956 Don't require decoder/demuxer/depayloader elements or
1957 encoder/muxer/paylader elements to have 'Codec' as part of their
1958 factory class string when introspecting a plugin's capabilities.
1959 draft-klass.txt mentions that it might be removed in future, and
1960 flump3dec doesn't have it as part of its class string, so chances
1961 are others might also not have it.
1963 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
1985 Update translations from translation project
1987 2007-03-14 Stefan Kost <ensonic@users.sf.net>
1989 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
1990 (gst_child_proxy_set_property):
1991 Invert precondition check to be alike the ones in the mimiced gobject
1994 2007-03-13 Stefan Kost <ensonic@users.sf.net>
1996 * docs/design/draft-tagreading.txt:
1997 * docs/random/ensonic/audiobaseclasses.txt:
1998 Do some Architect work.
2000 * gst/gstobject.c: (gst_object_set_name):
2004 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2006 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2008 * gst/gstsystemclock.c: (gst_system_clock_init),
2009 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2010 Defer starting the async system clock thread until the first async
2011 wait is scheduled. Fixes #414986.
2013 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2015 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2016 (gst_single_queue_free):
2017 Fix small leak (free GstSingleQueue structure too, not only contents).
2019 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2021 * gst/gstbin.c:(gst_bin_add):
2022 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2023 * win32/common/libgstbase.def:
2024 * win32/common/libgstreamer.def:
2025 Add new exported functions.
2027 2007-03-09 Wim Taymans <wim@fluendo.com>
2029 * docs/plugins/gstreamer-plugins-sections.txt:
2032 2007-03-09 Wim Taymans <wim@fluendo.com>
2034 * docs/gst/gstreamer-sections.txt:
2035 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2037 Add metadata copy functions. Fixes #393099.
2038 API: gst_buffer_copy_metadata()
2040 * gst/gstutils.c: (gst_buffer_stamp):
2041 * libs/gst/base/gstbasetransform.c:
2042 (gst_base_transform_prepare_output_buffer):
2043 Use new metadata copy functions.
2045 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2047 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2048 (gst_identity_init), (gst_identity_check_perfect),
2049 (gst_identity_check_imperfect_timestamp),
2050 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2051 (gst_identity_set_property), (gst_identity_get_property):
2052 * plugins/elements/gstidentity.h:
2053 Separate out check-imperfect-timestamp and check-imperfect-offset.
2054 Put back check-perfect as it was to keep compatibility.
2056 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2058 * gst/gstelement.c: (gst_element_dispose):
2059 There's no need to warn if VOID_PENDING is not NONE here, as
2060 long as the state is NULL it's ok, and that's checked immediately
2063 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2065 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2066 Fix check for perfect stream to ignore buffers with -1
2067 offsets/offset ends when checking data contiguity.
2069 2007-03-08 Wim Taymans <wim@fluendo.com>
2071 * tools/gst-launch.c: (event_loop):
2072 Print INFO messages.
2074 2007-03-08 Wim Taymans <wim@fluendo.com>
2076 * libs/gst/base/gstbasetransform.c:
2077 (gst_base_transform_sink_eventfunc),
2078 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2079 (gst_base_transform_activate):
2080 * libs/gst/base/gstbasetransform.h:
2081 Add support for dropping buffers with custom GstFlowReturn.
2082 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2083 buffers or dropped buffers.
2085 * docs/libs/gstreamer-libs-sections.txt:
2086 docs for new custom return code.
2088 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2089 Use drop support in base class to implement drop-probability.
2091 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2093 * gst/gst.c: (load_plugin_func):
2094 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2095 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2096 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2097 Remove newlines at end of debug log strings.
2099 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2101 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2102 Only post bus message at max, once per buffer received.
2104 2007-03-07 Wim Taymans <wim@fluendo.com>
2106 * docs/design/Makefile.am:
2107 * docs/design/part-synchronisation.txt:
2108 Add doc about synchronisation
2110 * docs/design/draft-latency.txt:
2111 * docs/design/part-TODO.txt:
2112 * docs/design/part-clocks.txt:
2113 * docs/design/part-events.txt:
2114 * docs/design/part-gstbus.txt:
2115 * docs/design/part-gstpipeline.txt:
2116 * docs/design/part-live-source.txt:
2117 * docs/design/part-messages.txt:
2118 * docs/design/part-overview.txt:
2119 * docs/design/part-streams.txt:
2120 * docs/design/part-trickmodes.txt:
2121 Documentation updates.
2123 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2126 Update the doap file.
2128 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2130 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2131 Rename non-perfect to imperfect for Mike and for the sanctity of the
2133 Also make sure bus message gets emitted for data-incontiguities.
2135 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2137 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2138 (gst_identity_start):
2139 * plugins/elements/gstidentity.h:
2140 Emit bus message if check-perfect is true and we encounter a
2141 non-perfect stream between 2 consecutive buffers.
2144 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2149 === release 0.10.12 ===
2151 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2154 releasing 0.10.12, "Inevitable Demise"
2156 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
2159 Version 0.10.11.2 (0.10.12 pre-release)
2160 Bump libtool versioning.
2162 2007-03-01 Stefan Kost <ensonic@users.sf.net>
2164 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2165 Log flow-names and not numbers.
2167 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2170 Convert to new AG_GST style.
2172 2007-02-28 Wim Taymans <wim@fluendo.com>
2174 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2175 Don't unref query twice.
2177 2007-02-28 Wim Taymans <wim@fluendo.com>
2179 * gst/gstvalue.c: (gst_value_transform_object_string),
2180 (_gst_value_initialize):
2181 Implement GstObject -> string transform so we print object names
2182 when serializing GValues containing GstObjects.
2184 2007-02-28 Wim Taymans <wim@fluendo.com>
2186 * docs/gst/gstreamer-sections.txt:
2187 Add new stuff to docs.
2189 2007-02-28 Wim Taymans <wim@fluendo.com>
2191 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2192 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2193 (gst_base_sink_change_state):
2194 Improve latency query code.
2195 Don't leak latency events.
2197 * tests/check/gst/gstbin.c: (GST_START_TEST):
2200 2007-02-28 Wim Taymans <wim@fluendo.com>
2202 * gst/gstelement.c: (gst_element_message_full),
2203 (gst_element_get_state_func):
2205 Improve docs a little. Added Since: for new macro.
2207 * gst/gstobject.c: (gst_object_sink):
2208 * gst/gstpipeline.c: (gst_pipeline_change_state),
2209 (gst_pipeline_set_new_stream_time):
2210 * gst/gstpipeline.h:
2211 Improve debugging and docs.
2213 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2216 2007-02-28 Wim Taymans <wim@fluendo.com>
2218 * gst/gstelement.c: (gst_element_message_full),
2219 (gst_element_set_locked_state), (gst_element_get_state_func),
2220 (gst_element_change_state):
2221 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2222 Documentation updates.
2223 Small code cleanups.
2225 * gst/gstmessage.c: (gst_message_new_info),
2226 (gst_message_parse_info):
2228 API: gst_message_new_info()
2229 API: gst_message_parse_info()
2230 Add INFO message create and parse code.
2232 2007-02-28 Wim Taymans <wim@fluendo.com>
2234 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2235 (bin_query_latency_done):
2236 Also report the live parameter of a latency query.
2238 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2240 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2241 Copy the current generic/states example from -base and adapt so
2242 we can use the exact same code everywhere.
2243 Check a STATES_IGNORE_ELEMENTS env var which can be used
2244 to ignore certain element factories for this test, which is
2245 what is being done in -base
2246 * tests/check/Makefile.am:
2247 Mention this environment variable.
2249 2007-02-27 Wim Taymans <wim@fluendo.com>
2251 * docs/gst/gstreamer-sections.txt:
2252 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2253 (gst_bus_timed_pop), (gst_bus_pop):
2255 API: gst_bus_timed_pop()
2256 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2257 message to arrive on the bus.
2259 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2261 Two unit tests for new _timed_pop() function.
2263 2007-02-23 Wim Taymans <wim@fluendo.com>
2265 * gst/gstpipeline.c: (gst_pipeline_change_state),
2266 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2267 Don't ref a NULL clock in _provide_clock_func().
2268 Don't allow an INVALID delay.
2269 Don't try to calculate base_time with an invalid start_time.
2270 Also distribute and notify a NULL clock when it was selected.
2272 * tools/gst-launch.c: (event_loop):
2273 Don't crash when a NULL clock was selected in the pipeline.
2275 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2277 * docs/design/Makefile.am:
2278 * docs/design/draft-missing-plugins.txt:
2279 * docs/random/draft-missing-plugins.txt:
2280 Some small updates: update plugin system identifier prefix
2281 ('gstreamer.net' to 'gstreamer'), mention our new install
2282 API in libgstbaseutils rather than libgimme-codec, add
2283 reference to the online docs.
2285 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2287 * win32/common/config.h:
2288 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2289 use moap cl ci to only check in what is mentioned in the ChangeLog.
2291 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2293 * docs/gst/gstreamer-sections.txt:
2295 Fix up documentation to link to the correct GstGError section.
2296 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2298 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2300 * tools/gst-launch.c: (event_loop):
2301 Make sure that we actually show the important message part of a
2303 No need to check if the gerror is not NULL to free; first of all
2304 g_free accepts NULL; and second the default error handler would
2305 segfault if gerror was NULL.
2307 2007-02-21 Wim Taymans <wim@fluendo.com>
2309 * docs/gst/gstreamer-sections.txt:
2310 Removed docs as well.
2312 2007-02-21 Wim Taymans <wim@fluendo.com>
2314 * gst/gstmessage.c: (gst_message_parse_duration):
2316 Remove new messages for release.
2318 2007-02-20 Wim Taymans <wim@fluendo.com>
2320 * docs/design/part-gstghostpad.txt:
2321 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2322 (gst_ghost_pad_new_full):
2323 Make the ghostpad a parent of the internal pad again for better backward
2324 compatibility. Don't write code that relies on this however.
2326 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2327 (gst_pad_link_check_hierarchy):
2328 Require that parents should be GstElements in the hierarchy check.
2330 2007-02-20 Wim Taymans <wim@fluendo.com>
2332 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2333 (gst_bin_change_state_func), (bin_query_min_max_init),
2334 (bin_query_latency_fold), (bin_query_latency_done),
2337 Implement latency query.
2339 2007-02-20 Wim Taymans <wim@fluendo.com>
2341 * docs/design/part-gstghostpad.txt:
2342 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2343 (gst_ghost_pad_internal_do_activate_push),
2344 (gst_ghost_pad_internal_do_activate_pull),
2345 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2346 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2347 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2348 Do not set the internal pad as a parent anymore so we can avoid
2349 hierarchy linking errors when the ghostpad has no parent yet. This also
2350 fixes failed activation because of unlinked internal pads, which in
2351 turn fixes the impossible case where you have to activate a pad before
2352 you can add it to a running element.
2355 * gst/gstpad.c: (pre_activate), (post_activate),
2356 (gst_pad_set_active), (gst_pad_activate_pull),
2357 (gst_pad_activate_push), (gst_pad_check_pull_range):
2358 Add some more debug info.
2359 Mark activation mode in pre_activate so that we don't try to activate in
2360 endless loops. Fixes #385084.
2362 2007-02-19 Wim Taymans <wim@fluendo.com>
2364 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2365 (gst_base_transform_check_get_range):
2366 Implement a checkgetrange function instead of relying on the default
2367 core behaviour that assumes we can operate in pull mode if we have a
2368 getrange function. First step at fixing #385084.
2370 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2372 * gst/gstchildproxy.h:
2373 * libs/gst/base/gstbasesink.h:
2374 * libs/gst/base/gstbasesrc.h:
2375 * libs/gst/base/gstbasetransform.h:
2376 More docs coverage and some ChangeLog surgery (add missing names)
2378 2007-02-15 Wim Taymans <wim@fluendo.com>
2380 * docs/design/part-TODO.txt:
2381 * docs/design/part-activation.txt:
2382 * docs/design/part-block.txt:
2383 * docs/design/part-buffering.txt:
2384 * docs/design/part-clocks.txt:
2385 * docs/design/part-element-source.txt:
2386 * docs/design/part-events.txt:
2387 * docs/design/part-gstbin.txt:
2388 * docs/design/part-gstbus.txt:
2389 * docs/design/part-gstpipeline.txt:
2390 * docs/design/part-live-source.txt:
2391 * docs/design/part-messages.txt:
2392 * docs/design/part-overview.txt:
2393 * docs/design/part-qos.txt:
2394 * docs/design/part-query.txt:
2395 * docs/design/part-states.txt:
2396 * docs/design/part-trickmodes.txt:
2397 Some doc updates. Start renaming from stream_time to running_time where
2398 it was used wrongly.
2400 2007-02-15 Wim Taymans <wim@fluendo.com>
2402 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2403 Answer LATENCY query.
2405 2007-02-15 Wim Taymans <wim@fluendo.com>
2407 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2411 2007-02-15 Wim Taymans <wim@fluendo.com>
2413 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2414 (gst_pad_dispatcher):
2415 Improve debugging of default pad dispatcher and query functions.
2417 2007-02-15 Wim Taymans <wim@fluendo.com>
2419 * docs/gst/gstreamer-sections.txt:
2420 Remove old unused method.
2422 2007-02-13 Wim Taymans <wim@fluendo.com>
2424 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2427 2007-02-13 Wim Taymans <wim@fluendo.com>
2429 * docs/design/part-seeking.txt:
2432 * gst/gstsegment.c: (gst_segment_set_seek):
2433 Revert old bogus change that should make seeking work again.
2435 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2437 * docs/random/ensonic/dynlink.txt:
2438 * docs/random/ensonic/interfaces.txt:
2439 * docs/random/ensonic/receipies.txt:
2440 Possible dynamic reconnection api, plus some type fixes the other two
2443 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2445 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2446 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2447 Also check for an absolute path following file:// in the filesrc
2448 element. Remove redundant check and call g_path_is_absolute() on the
2451 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2453 * docs/design/draft-klass.txt:
2454 Add existing category analysis.
2457 Fix doc example, framerate is a fraction.
2459 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2462 * docs/gst/Makefile.am:
2463 * docs/gst/gstreamer-sections.txt:
2464 * docs/libs/Makefile.am:
2465 Erm, forgot a bunch of --extra-dir.
2467 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2470 * docs/gst/Makefile.am:
2471 * docs/libs/Makefile.am:
2472 * docs/plugins/Makefile.am:
2473 Add crossreferences to glib/gobject docs.
2475 2007-02-12 Wim Taymans <wim@fluendo.com>
2477 * docs/design/draft-latency.txt:
2480 * docs/libs/gstreamer-libs-sections.txt:
2481 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2482 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2483 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2484 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2485 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2486 (gst_base_sink_get_position), (gst_base_sink_query),
2487 (gst_base_sink_change_state):
2488 * libs/gst/base/gstbasesink.h:
2489 API: gst_base_sink_query_latency() to let subclasses query the upstream
2491 API: gst_base_sink_get_latency() to let subclasses query the configured
2492 latency in the sink.
2493 Implement query and set latency.
2495 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2496 don't continue preroll when we are flushing. Fixes #405284.
2498 * tests/check/pipelines/stress.c: (change_state_timeout),
2499 (quit_timeout), (GST_START_TEST), (stress_suite):
2502 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2504 Patch by: René Stadler <mail at renestadler de>
2506 * docs/gst/gstreamer-sections.txt:
2507 * gst/gsttaglist.c: (_gst_tag_initialize):
2509 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2511 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2513 * docs/libs/Makefile.am:
2514 Fix path to core docs.
2516 * gst/gstbin.c: (gst_bin_get_by_interface),
2517 (gst_bin_iterate_all_by_interface):
2518 Refix docs by also renaming 'interface' to 'iface' in implementation.
2520 * docs/gst/gstreamer-sections.txt:
2522 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2523 * gst/gstchildproxy.h:
2524 * gst/gstelementfactory.c:
2525 * gst/gstpadtemplate.h:
2526 * libs/gst/controller/gstcontroller.c:
2527 (gst_controlled_property_new):
2530 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2532 * gst/gstbin.h:(gst_bin_get_by_interface),
2533 (gst_bin_iterate_all_by_interface):
2534 Replace interface parameter name by iface as interface is
2535 a reserved keyword in Visual Studio for C++ projects so it removes
2536 a build error for application developpers using VS.
2537 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2538 Fix a bug on Windows in uri format check. Now the prefix checked
2539 is file:// and next we check if the path after file:// is absolute.
2540 * win32/common/libgstbase.def:
2541 * win32/common/libgstdataprotocol.def:
2542 * win32/common/libgstgstreamer.def:
2543 Add new exported functions.
2545 2007-02-09 Andy Wingo <wingo@pobox.com>
2547 * tests/check/pipelines/simple-launch-lines.c
2548 (simple_launch_lines_suite, test_tee): Disable tee test until I
2549 have time to fix it :-(
2551 * tests/check/Makefile.am (noinst_HEADERS):
2552 * tests/check/libs/libsabi.c:
2553 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2554 * tests/check/gst/gstabi.c:
2555 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2557 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2558 tests for push and pull tee behavior.
2560 * plugins/elements/gsttee.h:
2561 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2562 mark as deprecated as well as unimplemented. It was a crack idea.
2563 Add support for tee operating in pull mode, off by default.
2565 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2566 normal-case logs down to LOG, raise errors to WARNING.
2567 (gst_registry_xml_read_cache): Don't log before calling a function
2570 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2571 exit (registry finalize).
2572 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2573 DEBUG log when we emit signals that people don't even have the
2574 chance to connect to.
2575 (gst_registry_scan_path_level): Less logging in the normal case.
2577 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2579 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2581 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2582 Correctly generate EOS for non-seekable files. We don't have a total
2583 length for them and would get an unexpected end of file if we only
2584 special-cased for regular files. (Fixes: #404569)
2586 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2588 * tests/check/elements/filesrc.c: (GST_START_TEST),
2590 Add unit test for the GstURIHandler interface in filesrc. This also
2591 tests the newly added file://localhost/foo/bar support.
2593 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2595 * gst/gstelementfactory.h:
2596 The klass string is not a hierarchy. Add reference to the design doc
2597 for more information and common types.
2599 2007-02-02 Wim Taymans <wim@fluendo.com>
2601 * gst/gstquery.c: (gst_query_new_latency):
2602 Remove old structure field.
2604 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2606 * tools/gst-launch.1.in:
2607 Give example for network streaming (#351998)
2609 2007-02-02 Wim Taymans <wim@fluendo.com>
2611 * docs/gst/gstreamer-sections.txt:
2612 Add docs for new methods.
2614 * gst/gstevent.c: (gst_event_new_latency),
2615 (gst_event_parse_latency):
2617 Add new LATENCY event to configure latency in a pipeline.
2618 API: gst_event_new_latency
2619 API: gst_event_parse_latency
2621 * gst/gstmessage.c: (gst_message_new_buffering),
2622 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2623 (gst_message_new_latency), (gst_message_parse_buffering),
2624 (gst_message_parse_lost_preroll):
2626 Added messages used in draft-latency.
2627 API: gst_message_new_lost_preroll
2628 API: gst_message_parse_lost_preroll
2629 API: gst_message_new_prerolled
2630 API: gst_message_new_latency
2632 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2633 (gst_query_parse_latency):
2635 Implemented new latency query as in design doc.
2636 API: gst_query_new_latency
2637 API: gst_query_set_latency
2638 API: gst_query_parse_latency
2640 2007-02-02 Wim Taymans <wim@fluendo.com>
2642 * docs/design/draft-latency.txt:
2643 Slight redesign to allow for dynamic latency adjustments.
2645 * docs/design/part-negotiation.txt:
2648 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2650 reviewed by: Wim Taymans <wim@fluendo.com>
2652 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2653 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2654 Allow file://localhost/foo/bar URLs and correctly fail for every other
2655 hostname that one sets. This was gnomevfssrc is linked for those if
2656 installed as it can handle it (#403172)
2658 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2660 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2662 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2663 (unref_data), (gst_collect_pads_add_pad_full):
2664 * libs/gst/base/gstcollectpads.h:
2665 Don't put the previously added destroy notify in the GstCollectData
2666 struct as all it's padding is already used and we don't want to break
2667 ABI. Instead put in the pad's GObject data for now. This should be
2668 cleaned up for 0.11 (#402393).
2670 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2672 reviewed by: Wim Taymans <wim@fluendo.com>
2674 * docs/libs/gstreamer-libs-sections.txt:
2675 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2676 (unref_data), (gst_collect_pads_add_pad),
2677 (gst_collect_pads_add_pad_full):
2678 * libs/gst/base/gstcollectpads.h:
2679 API: Add function to specify a destroy notification for custom
2680 GstCollectData when adding new pads in GstCollectPads (#402393).
2682 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
2685 Update Swedish translation (#378255).
2687 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2689 * docs/design/draft-klass.txt:
2690 Fix the previous change, this is a list of categories and not a hierarchy.
2692 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2694 * docs/design/draft-klass.txt:
2695 Add info about how to get a list of used classes.
2697 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
2699 * plugins/elements/gsttypefindelement.c:
2700 (gst_type_find_element_chain_do_typefinding),
2701 (gst_type_find_element_change_state):
2702 Don't leak found caps in chain function (no idea why that never
2703 showed up as a leak anywhere).
2705 2007-01-30 Stefan Kost <ensonic@users.sf.net>
2708 Fix and expand GstPluginDesc API docs.
2710 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2713 * gst/gstelementfactory.c:
2714 * gst/gstpadtemplate.h:
2717 * libs/gst/controller/gstcontroller.c:
2718 (gst_controlled_property_new):
2719 * tests/examples/controller/audio-example.c:
2722 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2725 comment about refining the xml deps
2728 comments about moving away from jade for docs
2731 recommit the ifdefs to use the binary registry
2733 * gst/gstbin.c: (gst_bin_change_state_func):
2734 this break is obsolete
2736 * gst/gstelementfactory.h:
2737 better GST_ELEMENT_DETAILS docs, add comment about translation
2742 * gst/gstobject.c: (gst_signal_object_get_type):
2743 add G_UNLIKELY as usual
2745 * gst/gstpad.c: (gst_pad_event_default):
2746 add fall trhu comment
2748 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2749 (gst_registry_binary_initialize_magic),
2750 (gst_registry_binary_save_string),
2751 (gst_registry_binary_save_pad_template),
2752 (gst_registry_binary_save_feature),
2753 (gst_registry_binary_save_plugin),
2754 (gst_registry_binary_write_cache),
2755 (gst_registry_binary_check_magic),
2756 (gst_registry_binary_load_pad_template),
2757 (gst_registry_binary_load_feature),
2758 (gst_registry_binary_load_plugin),
2759 (gst_registry_binary_read_cache):
2760 comment typo and formatting
2762 * gst/gstutils.c: (gst_element_state_get_name),
2763 (gst_element_state_change_return_get_name):
2764 remove obsolete breaks
2766 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2767 add FIXME 0.11 and remove cpp comment
2769 2007-01-29 Edward Hervey <edward@fluendo.com>
2771 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2772 Fix print statement in an even more portable way.
2774 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
2776 * docs/gst/gstreamer-sections.txt:
2778 API: add GST_ROUND_DOWN_* macros (#401781).
2780 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
2782 * docs/gst/gstreamer.types.in:
2783 * gst/gstregistry.c: (gst_registry_class_init):
2784 Document registry signals and make gtk-doc pick them up (#401381).
2786 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
2788 * docs/pwg/building-testapp.xml:
2789 Add some audioconverts and audioresample to the pipeline, and some
2790 more comments and error handling.
2792 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
2794 * docs/manual/manual.xml:
2798 2007-01-26 Wim Taymans <wim@fluendo.com>
2800 * gst/gstcaps.c: (gst_static_caps_get):
2801 Init caps flags too.
2803 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
2805 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
2807 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2808 If not using mmap'ed files try to seek to the end instead of the
2809 start to determine whether we can seek at all. This fixes the case
2810 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
2811 seeks for everything afterwards fail. Fixes #400656
2813 2007-01-25 Wim Taymans <wim@fluendo.com>
2815 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
2816 Add some refcount debugging.
2817 Make gst_static_caps_get threadsafe, which is needed when autoplugging
2818 in multiple streaming threads.
2820 2007-01-25 Wim Taymans <wim@fluendo.com>
2822 Patch by: David Schleef <ds at schleef dot org>
2824 * docs/libs/gstreamer-libs-sections.txt:
2825 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
2826 * libs/gst/base/gstadapter.h:
2827 API: gst_adapter_copy() that can reduce the amount of memcpy when
2828 getting data from the adapter. Fixes #388201.
2830 2007-01-25 Edward Hervey <edward@fluendo.com>
2832 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2833 In print statements, "%x" is for guint. Fixes build on macosx.
2835 2007-01-24 Edward Hervey <edward@fluendo.com>
2837 * plugins/elements/gstmultiqueue.c:
2838 (gst_multi_queue_loop):
2840 (single_queue_overrun_cb), (single_queue_underrun_cb),
2841 (single_queue_check_full), (gst_single_queue_new):
2842 Implement single queue growth system.
2843 This uses the extra-size properties, and will grow single queues by
2844 that much if one goes full whereas there are others empty. This is
2845 called extra-mode in the code.
2846 When a single queue's levels go back below the initial max-size
2847 limits, it is no longer in extra-mode. This is to ensure we don't
2848 consume too much memory.
2851 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
2853 * gst/gst.c: (gst_init_get_option_group):
2854 Make warning about late g_thread_init() calls a bit more explicit,
2855 so that it's more obvious to application developers what they need
2856 to do if a user files a bug against their application.
2858 2007-01-22 Edward Hervey <edward@fluendo.com>
2860 * plugins/elements/gstmultiqueue.c:
2861 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
2862 Remove previous hack of unsetting the flushing flag for the source pad
2863 instead of activating it. Instead, fix the source pad activate function
2864 so that it no longer depends on having a parent set or not.
2866 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
2868 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
2870 * docs/manual/basics-bus.xml:
2871 Fix example code, gst_element_unref() doesn't exist any longer.
2873 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
2875 Patch by: Mark Nauwelaerts <manauw at skynet be>
2878 Fix two docs typoes (#399094).
2880 2007-01-19 Edward Hervey <edward@fluendo.com>
2882 * docs/faq/gst-uninstalled:
2883 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
2884 depending on libgstbaseutils can work in uninstalled environment.
2886 2007-01-18 Stefan Kost <ensonic@users.sf.net>
2889 * gst/gsttagsetter.c:
2890 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
2891 statement for new tag.
2893 2007-01-17 Edward Hervey <edward@fluendo.com>
2895 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
2896 When dynamically creating single queues, activate sinkpad before adding
2898 We should be doing the same thing for the source pad, but we can't
2899 since it would call a method which needs the parent to be set in order
2900 to work propertly. Instead of activating the source pad, we just unset
2901 the flushing flag, which is the minimal requirement for adding a pad
2902 to an element in a state greater than READY.
2904 2007-01-17 Edward Hervey <edward@fluendo.com>
2906 * docs/faq/gst-uninstalled:
2907 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
2910 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
2912 * tests/check/gst/gstabi.c:
2913 * tests/check/gst/struct_hppa.h:
2914 * tests/check/libs/libsabi.c:
2915 * tests/check/libs/struct_hppa.h:
2916 Add ABI structs for HPPA (see #393796).
2918 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
2920 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2921 Actually write ABI structs to the file specified in the GST_ABI
2922 environment variable, as the message we print claims we would.
2924 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2926 * tests/check/gst/gsttask.c:
2929 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2931 * gst/gsttaglist.c: (_gst_tag_initialize):
2932 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
2933 previous two entries.
2935 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2937 * docs/gst/gstreamer-sections.txt:
2938 * gst/gsttaglist.c: (_gst_tag_initialize):
2940 Add tag support for beat-per-minute.
2942 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2944 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2945 (gst_registry_binary_initialize_magic),
2946 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
2947 (gst_registry_binary_save_pad_template),
2948 (gst_registry_binary_save_feature),
2949 (gst_registry_binary_save_plugin),
2950 (gst_registry_binary_write_cache),
2951 (gst_registry_binary_check_magic),
2952 (gst_registry_binary_load_pad_template),
2953 (gst_registry_binary_load_feature),
2954 (gst_registry_binary_load_plugin),
2955 (gst_registry_binary_read_cache):
2956 * gst/gstregistrybinary.h:
2957 Use glib types, cleanup comments, impement interfaces and uri-types.
2959 2007-01-13 Andy Wingo <wingo@pobox.com>
2961 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
2962 getrange() to return buffers with other caps, while we fix
2963 demuxers and typefind, or otherwise change part-negotiation.txt.
2965 2007-01-12 Andy Wingo <wingo@pobox.com>
2967 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
2968 Factor start/stop into this private function instead of partially
2969 in activate functions and partially in the change_state function.
2970 Fixes setup before the element has changed from READY->PAUSED, as
2971 is the case in pull-mode pipelines.
2972 (gst_base_transform_sink_activate_push)
2973 (gst_base_transform_src_activate_pull): Refactor to use
2974 gst_base_transform_activate().
2975 (gst_base_transform_change_state): Removed, not needed any more.
2977 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2978 Truncate before fixating.
2980 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2981 Don't set_caps() if the result of fixating is ANY, as it's not
2982 supported, and not necessary in the case of a link with no
2983 template caps on either side. Fixes tests/check/libs/basesrc in
2984 some pull-mode tests.
2986 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
2987 (gst_base_transform_init, gst_base_transform_sink_activate_push)
2988 (gst_base_transform_src_activate_pull):
2989 Track the activation mode.
2990 (gst_base_transform_setcaps): In pull mode, when activating the
2991 src pad, after activating the sink pad, activate the sink pad's
2992 peer, as discussed in part-negotiation.txt.
2994 * libs/gst/base/gstbasesrc.h:
2995 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
2996 vmethod, as in basesink.
2998 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3000 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3001 mode, first proxy the setcaps to the peer pad.
3002 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3004 (gst_base_sink_default_activate_pull): Rename from
3005 gst_base_sink_activate_pull.
3006 (gst_base_sink_negotiate_pull): New function, performs negotiation
3007 in pull mode before calling ::activate_pull().
3008 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3009 vmethod instead of the default implementation. I have no idea how
3010 this worked before. Negotiate before calling activate_pull.
3012 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3013 sink pads in pull mode. In addition to being correct, fixes
3014 filesrc ! decodebin ! identity ! fakesink.
3015 (gst_pad_get_range, gst_pad_pull_range): Don't call
3016 gst_pad_set_caps() if the caps changes; instead error out with
3017 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3019 2007-01-12 Andy Wingo <wingo@pobox.com>
3021 * docs/design/part-negotiation.txt: Update with more policy.
3023 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3025 * libs/gst/check/gstbufferstraw.h:
3026 * libs/gst/check/gstcheck.h:
3027 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3030 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3032 * tests/check/Makefile.am:
3033 * tests/check/gst/.cvsignore:
3034 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3035 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3036 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3037 (GST_START_TEST), (gst_tag_setter_suite):
3038 Add minimal unit test for beforementioned GstTagSetter bug.
3040 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3042 Patch by: René Stadler <mail at renestadler dot de>
3044 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3045 gst_tag_list_merge() returns a new list, so it's not the best idea
3046 to ingore its return value. Effectively meant that tags could only
3047 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3048 Also add function guard to require a non-NULL taglist as input (has
3049 always been so due to gst_tag_list_copy(), just making it explicit).
3051 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3053 * docs/random/draft-missing-plugins.txt:
3054 Some additions: mention new API that is supposed to be used at the
3055 various stages; short blob about new gst-inspect introspection
3056 option; mention potential future problem with plugins that have
3057 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3059 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3061 * tools/gst-inspect.c:
3062 (print_plugin_automatic_install_info_codecs),
3063 (print_plugin_automatic_install_info_protocols),
3064 (print_plugin_automatic_install_info), (main):
3065 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3066 introspect plugin files and get machine-parsable output that corresponds
3067 to the last bit of the missing-plugin installer string (small gotcha:
3068 doesn't take into account ranks).
3070 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3073 * docs/gst/gstreamer-sections.txt:
3075 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3076 (gst_registry_lookup_locked):
3077 * gst/gstregistry.h:
3078 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3079 (gst_registry_binary_initialize_magic),
3080 (gst_registry_binary_save_string),
3081 (gst_registry_binary_save_pad_template),
3082 (gst_registry_binary_save_feature),
3083 (gst_registry_binary_save_plugin),
3084 (gst_registry_binary_write_cache),
3085 (gst_registry_binary_check_magic),
3086 (gst_registry_binary_load_pad_template),
3087 (gst_registry_binary_load_feature),
3088 (gst_registry_binary_load_plugin),
3089 (gst_registry_binary_read_cache):
3090 * gst/gstregistrybinary.h:
3091 * gst/gstregistryxml.c: (load_feature),
3092 (gst_registry_xml_read_cache):
3093 commit binary registry (disabled by default, see #359653)
3095 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3097 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3098 Fix 'make check' too.
3100 2007-01-10 Andy Wingo <wingo@pobox.com>
3102 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3105 * docs/design/part-negotiation.txt: Update with, um, one way that
3106 pull-mode negotiation might work?
3109 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3110 that the pad must be a src pad; makes sense to call it the other
3111 way in pull mode, and the logic is symmetric anyway.
3113 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3115 * plugins/elements/gstfilesink.c:
3116 Include <stdio.h> for fseeko().
3118 2007-01-10 Wim Taymans <wim@fluendo.com>
3122 Reserve LATENCY event.
3124 2007-01-09 Wim Taymans <wim@fluendo.com>
3126 * docs/design/draft-latency.txt:
3129 2007-01-09 Wim Taymans <wim@fluendo.com>
3131 * docs/design/draft-latency.txt:
3135 * gst/gststructure.c:
3139 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
3141 * tests/check/.cvsignore:
3142 Ignore test-registry.xml as well.
3144 2007-01-09 Wim Taymans <wim@fluendo.com>
3146 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3147 unref data at the end when we are done with the pad.
3149 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3151 * docs/gst/gstreamer-sections.txt:
3152 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3153 (init_post), (gst_deinit), (gst_update_registry):
3155 API: add gst_update_registry() (#391296).
3157 * tests/check/Makefile.am:
3158 * tests/check/gst/gstregistry.c:
3159 * tests/check/gst/.cvsignore:
3160 Simple unit test for the above.
3162 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3164 * gst/gstregistry.c: (gst_registry_scan_path_level):
3165 Plugin extension on HP-UX is .sl, add that to the list of approved
3166 plugin extensions (see #393796).
3168 * tests/check/gst/gstpad.c: (GST_START_TEST):
3169 ulong => gulong. Fixes compilation with HP-UX compiler.
3171 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3172 Fix compilation if valgrind headers are not available.
3174 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
3176 * win32/common/libgstreamer.def:
3177 Add new exported function.
3178 * win32/vs6/libgstbase.dsp:
3179 Add gstdataqueue.c to the build.
3180 * win32/vs6/libgstcoreelements.dsp:
3181 Add gstmultiqueue.c to the build.
3183 2007-01-06 Andy Wingo <wingo@pobox.com>
3185 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3186 activate_pull(), providing for a way to specialize the process of
3187 spawning a thread to pull on the sink pad. There is a default
3190 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3191 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3192 (gst_base_sink_init): Renamed pad activation functions (inserting
3193 "_pad" in their names). Refactor to use the new activate_pull
3194 vmethod, as appropriate.
3195 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3196 default activate_pull function to start a task pulling from the
3197 sink pad, as before.
3199 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3200 on the pads if necessary, as in push()/chain(). Update docs.
3201 Shouldn't affect existing pull() usage as it is currently only
3202 being used on buffers without caps.
3204 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3206 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3208 Call g_thread_init() first thing in gst_init() / gst_check_init().
3209 When initialisation is done via gst_init_get_option_group() and
3210 GOption parsing, issue a warning if the GLib thread system has not
3211 been initialised yet by the time gst_init_get_option_group() is
3212 called, as it's quite likely other GLib functions such as
3213 g_option_context_new() have been called already then, and
3214 g_thread_init() must be called before any other GLib function. The
3215 application in question must be fixed in that case, since memory
3216 corruption might happen otherwise.
3217 We issue the warning because even if the GLib folks decide to work
3218 around the problem on their end in future, this is still an issue
3219 with all GLib versions >= 2.10.0, so we should warn until we depend
3220 on a GLib version we know to be safe.
3221 Update documentation as well.
3224 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3226 * tools/gst-inspect.c: (main):
3227 * tools/gst-launch.c: (main):
3228 * tools/gst-typefind.c: (main):
3229 * tools/gst-xmlinspect.c: (main):
3230 Call g_thread_init() really really early, before any other GLib
3231 function (see #342564 and recent discussion on gtk-devel-list).
3233 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3235 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
3237 * gst/gst_private.h:
3238 * gst/gstconfig.h.in:
3240 On win32, all the __declspec stuff for symbol exporting is
3241 apparently only needed with MSVC, but doesn't work with MingW.
3242 Fixes compilation with MingW and #391909.
3244 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3246 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3247 Change some GST_ERROR_OBJECT that aren't really errors to
3248 GST_WARNING_OBJECT in order to reduce terminal spam.
3250 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3252 * tests/check/Makefile.am:
3253 disable test again, as there seem to be still race problems
3255 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3257 * tests/check/Makefile.am:
3258 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3259 (GST_START_TEST), (queue_suite):
3260 enable queue test again, add tests for the leaky behaviour
3262 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3265 * tests/examples/Makefile.am:
3266 Compile adapter test/example only if the required headers are
3267 available (fixes #391915).
3269 2007-01-01 David Schleef <ds@schleef.org>
3272 Restore the previous signal handler for SIGSEGV instead of
3273 setting to default, since we may have stolen it away from
3274 someone. (i.e., Mono)
3276 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3278 * docs/random/draft-missing-plugins.txt:
3279 Some small additions and clarifications.
3281 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3283 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3284 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3285 since that can lead to random memory corruptions and crashes
3286 (may or may not be related to #383244, #386711, and #386711).
3288 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3290 * tests/check/.cvsignore:
3291 * tests/check/Makefile.am:
3292 sync .cvsignome and CLEANFILES
3294 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3296 * tests/check/Makefile.am:
3299 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3301 * docs/design/part-states.txt:
3302 two tiny additional comments
3304 * gst/gststructure.c:
3307 * tests/check/Makefile.am:
3308 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3310 disable test for now, unless it gets fixed
3312 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3314 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3316 fix race in underrun test
3318 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3320 * tests/check/elements/.cvsignore:
3323 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3325 try to narrow test failure
3327 2006-12-21 David Schleef <ds@schleef.org>
3329 * plugins/elements/gstfakesrc.c:
3330 Use g_random_int_range(), since it produces better random
3331 numbers in a range than almost-correct floating point code.
3333 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3335 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3336 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3337 (gst_check_teardown_sink_pad):
3338 do not automatically (de)activate pads
3340 * tests/check/Makefile.am:
3341 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3342 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3343 add new, yet simple tests for queue
3345 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3346 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3347 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3349 * tests/check/elements/identity.c: (cleanup_identity):
3350 consistent pad (de)activation
3352 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3354 Patch by: Sebastian Dröge <slomo ubuntu com>
3356 * libs/gst/base/gstcollectpads.c:
3357 Fix two doc typos (#387866).
3359 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3361 * docs/manual/advanced-dparams.xml:
3362 Fix typo (g_object_control_properties() doesn't exist).
3364 2006-12-19 Edward Hervey <edward@fluendo.com>
3366 * gst/gstsegment.c: (gst_segment_set_seek):
3367 Fine tune the cases where the segment start/stop values are really
3369 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3370 Add tests for the return values of gst_segment_set_seek().
3372 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3377 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3379 Fix incorrect documentation and flesh it out a bit more.
3380 Set default values for the max properties on the GParamSpec as well,
3381 so it shows up correctly in gst-inspect.
3383 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3385 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3386 Correct docs of queue, add more detail and crosslink it more.
3388 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3390 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3391 Print additional debug info when the stream isn't perfectly
3392 timestamped; don't try to use invalid durations.
3394 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3396 * docs/design/Makefile.am:
3397 Dist new design docs.
3399 2006-12-16 Wim Taymans <wim@fluendo.com>
3401 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3403 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3404 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3405 (gst_collect_pads_stop), (gst_collect_pads_event),
3406 (gst_collect_pads_chain):
3407 * libs/gst/base/gstcollectpads.h:
3408 Add refcounting to the collectpads data so we can track when it's safe
3409 to free the data. Fixes #383382.
3411 2006-12-15 Wim Taymans <wim@fluendo.com>
3413 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3414 (gst_collect_pads_remove_pad):
3415 Automatically activate/deactivate pads when they are added to a
3416 started/stoped collectpads.
3418 2006-12-15 Wim Taymans <wim@fluendo.com>
3420 * gst/gstelement.c: (gst_element_add_pad):
3421 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3422 * gst/gstpad.c: (gst_pad_init):
3423 Set pads to FLUSHING when they are created. Check, warn and fix when a
3424 demuxer adds an inactive pad to itself when running. Fixes #339326.
3426 2006-12-15 Wim Taymans <wim@fluendo.com>
3428 * gst/gstelement.c: (gst_element_class_init),
3429 (gst_element_default_send_event), (gst_element_send_event),
3430 (gst_element_default_query), (gst_element_query):
3431 Expose default element send_event and query handling as vmethods that
3432 subclasses can chain up to.
3434 2006-12-15 Wim Taymans <wim@fluendo.com>
3436 * gst/gstelement.c: (gst_element_set_state_func):
3437 Small documentation fixes.
3439 2006-12-15 Wim Taymans <wim@fluendo.com>
3441 * docs/design/draft-latency.txt:
3442 Checked in draft for handling latency in pipelines.
3444 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3448 * gstreamer.spec.in:
3451 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3453 * gst/gst.c: (init_pre), (init_post):
3454 init_pre() and init_post() might be called via our GOptionGroup or
3455 from gst_init(), and we should skip both of them if we've already
3456 been initialised, otherwise we will init some things twice or add
3457 two default log functions.
3459 2006-12-13 Edward Hervey <edward@fluendo.com>
3461 * docs/manual/basics-bus.xml:
3462 No, gst_main_loop does not exist. Its g_main_loop.
3463 Discovered by somebody who abused the copy-paste technique of coding :)
3465 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3467 * gst/gstghostpad.c:
3468 Log ghostpad debug stuff to the GST_PADS category as well rather
3469 than just to the default category.
3471 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3474 * gst/gst.c: (init_pre):
3475 Add some basic system details such as OS and architecture
3476 to the debug output if possible, courtesy of uname().
3478 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3480 * docs/gst/running.xml:
3481 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3482 environment variables.
3484 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3486 * tests/check/gst/gstbin.c: (GST_START_TEST):
3487 It is acceptable to have a refcount of 2 or 3 at this point in the
3488 test, because the pipeline might be just posting its state_change
3489 message. The next line then waits for that message to appear using
3490 bus_poll, so that should be fine too.
3492 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3494 * gst/gst.c: (ensure_current_registry_forking):
3495 Ignore EINTR when reading from the child registry pipe.
3496 Explicitly ignore the return value from close, since it makes no
3499 * gst/gstminiobject.c: (gst_mini_object_ref),
3500 (gst_mini_object_unref):
3501 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3503 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3504 When removing cached plugins, remove their features too, so they're
3505 not visible after they've disappeared.
3507 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3508 In the unlikely case that we are linking pads with no parents, don't
3509 crash trying to get the non-existent parent bin.
3511 * gst/parse/grammar.y:
3512 Output debug in the PIPELINE category
3514 2005-03-08 Wim Taymans <wim@fluendo.com>
3516 Patch by: René Stadler <mail at renestadler dot de>
3518 * gst/gstclock.c: (gst_clock_new_periodic_id):
3519 Reject invalid clock times for interval of periodic ids.
3522 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3524 * gst/gstelementfactory.c: (gst_element_factory_create):
3525 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3526 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3527 * tools/gst-inspect.c: (print_element_info):
3528 Fix refcounting of gst_plugin_feature_load to match the docs.
3531 2006-12-07 Wim Taymans <wim@fluendo.com>
3533 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3534 (gst_base_sink_get_position):
3535 Improve debugging of events.
3537 2006-12-07 Wim Taymans <wim@fluendo.com>
3539 Patch by: René Stadler <mail at renestadler dot de>
3541 * gst/gstclock.c: (gst_clock_id_wait):
3542 Make period ids add the interval to the origial requested time instead
3543 of the possibly updated time which can be wrong when there are multiple
3544 waiters for the same id. Fixes #382592.
3546 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3547 (gst_system_clock_id_wait_jitter_unlocked),
3548 (gst_system_clock_id_wait_jitter):
3549 Fix restart in the async notify thread when an async entry is added to
3550 the front of the list. Fixes #381492.
3552 * tests/check/gst/gstsystemclock.c: (store_callback),
3553 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3554 Added test for multiple async waits.
3555 Added test for async wait order.
3557 2006-12-07 Wim Taymans <wim@fluendo.com>
3559 * gst/gstbin.c: (gst_bin_query):
3560 Add some more docs about the POSITION query.
3562 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3565 Bump version nano - back to CVS.
3567 === release 0.10.11 ===
3569 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3572 releasing 0.10.11, "Love never runs on time"
3574 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3576 * win32/common/libgstbase.def:
3577 * win32/common/libgstreamer.def:
3578 * win32/vs8/libgstbase.vcproj:
3579 * win32/vs8/libgstcoreelements.vcproj:
3580 * win32/vs8/libgstreamer.vcproj:
3581 Fix compilation on win32 under VS8
3582 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3583 Partially fixes #381175
3585 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3587 * gst/gstvalue.c: (gst_value_compare_fraction):
3588 If someone is foolish enough to compare 2 fractions with denominator =
3589 0, return UNORDERED rather than aborting.
3591 2006-11-28 Edward Hervey <edward@fluendo.com>
3593 * libs/gst/base/Makefile.am:
3594 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3595 (gst_data_queue_base_init), (gst_data_queue_class_init),
3596 (gst_data_queue_init), (gst_data_queue_new),
3597 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3598 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3599 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3600 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3601 (gst_data_queue_set_flushing), (gst_data_queue_push),
3602 (gst_data_queue_pop), (gst_data_queue_drop_head),
3603 (gst_data_queue_set_property), (gst_data_queue_get_property):
3604 * libs/gst/base/gstdataqueue.h:
3605 New GstDataQueue object for threadsafe queueing. Most useful for
3606 elements that need some queueing functionnality.
3607 * docs/libs/gstreamer-libs-docs.sgml:
3608 * docs/libs/gstreamer-libs-sections.txt:
3609 Insert documentation for GstDataQueue
3610 * plugins/elements/Makefile.am:
3611 * plugins/elements/gstelements.c:
3612 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3613 (gst_multi_queue_class_init), (gst_multi_queue_init),
3614 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3615 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3616 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3617 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3618 (gst_multi_queue_loop), (gst_multi_queue_chain),
3619 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3620 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3621 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3622 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3623 (wake_up_next_non_linked), (compute_next_non_linked),
3624 (single_queue_overrun_cb), (single_queue_underrun_cb),
3625 (single_queue_check_full), (gst_single_queue_new):
3626 * plugins/elements/gstmultiqueue.h:
3627 New multiqueue element, using GstDataQueue. Used for queuing multiple
3629 Closes #344639 and #347785
3631 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3633 * docs/pwg/advanced-types.xml:
3634 add more missing type details
3636 * tools/gst-run.c: (main):
3637 remove unused variable
3639 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3641 * docs/libs/Makefile.am:
3642 * docs/libs/gstreamer-libs.types:
3643 add types of base classes to enable gobject specific stuff in the docs
3645 * docs/random/ensonic/embedded.txt:
3646 more ideas about isolating platform specific things
3648 2006-11-20 Wim Taymans <wim@fluendo.com>
3650 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3652 * libs/gst/check/gstcheck.h:
3653 Fix compilation and running against 0.9.4. Fixes #377332.
3655 2006-11-20 Wim Taymans <wim@fluendo.com>
3657 * gst/gstsegment.c: (gst_segment_set_seek),
3658 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3659 (gst_segment_to_running_time):
3660 Fix boundary checking in to_running_time() and to_stream_time().
3663 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3664 stream and running time can now be calculated for the complete
3667 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3669 * gst/gstpad.c: (gst_pad_push_event):
3670 Can't access event structure after giving away ownership of
3673 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3675 * docs/random/ensonic/embedded.txt:
3676 * docs/random/ensonic/profiling.txt:
3677 * docs/random/ensonic/receipies.txt:
3680 2006-11-13 Wim Taymans <wim@fluendo.com>
3682 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3685 Fix documentation for gst_pad_dispatcher. Fixes #374475.
3687 2006-11-13 Wim Taymans <wim@fluendo.com>
3689 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3691 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3692 Store new length in segment duration so we don't keep on calling the
3693 potentially expensize get_size() call. Fixes #370865.
3695 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
3697 Patch by: Sergey Scobich <sergey.scobich at gmail com>
3699 * win32/common/libgstreamer.def:
3700 Add two missing symbols (#366492).
3702 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
3704 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3705 (gst_adapter_take_buffer):
3706 Fix format string to use all its arguments.
3707 Remove useless >= check on a guint
3709 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3711 * tests/examples/adapter/.cvsignore:
3712 Ignore build file as commanded by the build-bot
3714 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3716 * tests/examples/adapter/Makefile.am:
3717 * tests/examples/adapter/adapter_test.c: (run_test_take),
3718 (run_test_take_buffer), (run_tests), (main):
3720 Add new files from the previous commit
3722 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3726 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3727 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3728 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3729 * libs/gst/base/gstadapter.h:
3730 * tests/check/libs/adapter.c: (create_and_fill_adapter),
3731 (GST_START_TEST), (gst_adapter_suite):
3732 * tests/examples/Makefile.am:
3733 Do some optimisation work in GstAdapter to avoid copies in more cases.
3734 It could still do slightly better by merging buffers when
3735 gst_buffer_is_span_fast is true, but is already faster.
3737 Also, avoid traversing a single-linked list to append each incoming
3738 buffer inside the adapter.
3740 Add simple test app that times the adapter behaviour in different
3741 situations, and extend the unit test to check that bytes enter and
3742 exit the adapter in their original order.
3744 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
3746 * docs/random/draft-missing-plugins.txt:
3747 Update: use element message instead of adding a new message
3748 type to the core; don't provide GStreamer API to initiate the
3749 plugin download, just provide API to compose the strings needed
3750 and let an external libgimmestuff handle the rest.
3752 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
3754 * tools/gst-inspect.c: (print_element_properties_info):
3755 Print a string instead of 'unknown type' for GValueArray properties
3757 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
3759 * docs/random/draft-missing-plugins.txt:
3762 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3764 * tests/examples/typefind/typefind.c: (type_found), (main):
3765 Make typefind element example work again (#371894); add a
3768 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3770 * docs/random/draft-missing-plugins.txt:
3771 Commit initial draft about how to deal with missing plugins,
3772 needs work (API too).
3774 2006-11-07 Stefan Kost <ensonic@users.sf.net>
3776 * docs/pwg/advanced-types.xml:
3777 documents the new caps elements (see #363118)
3779 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
3781 * gst/gstplugin.c: (gst_plugin_load_file):
3782 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
3783 (gst_file_src_map_region), (gst_file_src_start):
3784 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
3785 (gst_file_index_commit):
3786 Use g_strerror() instead of strerror() - we want UTF-8.
3788 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
3790 Patch by: Peter Kjellerstedt <pkj at axis com>
3792 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3793 Another printf fix (#371493).
3795 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3797 * tests/check/gst/gsttag.c:
3798 relicence (okay with author=company)
3800 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3802 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3803 (gst_pad_push_event):
3804 Enhance debug and improve docs
3809 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3811 * docs/random/ensonic/distributed.txt:
3812 * docs/random/ensonic/profiling.txt:
3815 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3817 * docs/gst/gstreamer-sections.txt:
3818 add new API and fix the build
3820 * gst/gstbin.c: (gst_bin_recalc_state):
3821 * gst/gstelement.c: (gst_element_message_full),
3822 (gst_element_get_state_func), (gst_element_set_state_func):
3823 use new API and improve logging
3825 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3827 API: add function to get StateChangereturn names to improve logs
3829 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
3831 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3832 I'm considering shooting the next person to put strerror stuff
3833 in the translateable part of the message.
3835 2006-11-03 Wim Taymans <wim@fluendo.com>
3837 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3838 Get the type and printf conversion specifiers right.
3840 2006-11-03 Wim Taymans <wim@fluendo.com>
3842 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3844 * gst/gstpad.c: (gst_pad_init), (pre_activate),
3845 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
3846 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
3847 Some small cleanups. Improve debugging.
3849 Signal all waiting threads with a broadcast instead of just one.
3852 2006-11-03 Wim Taymans <wim@fluendo.com>
3854 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
3855 (gst_fd_src_create):
3857 Only update fd when it's different from the old.
3859 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
3861 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
3862 Printf fixes for PPC/OSX, take two (#369366).
3864 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
3866 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
3868 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3869 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3870 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3871 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
3872 don't cast to long long for portability reasons, but use
3873 GLib's types instead.
3875 2006-10-30 Michael Smith <msmith@fluendo.com>
3877 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3878 Get the arguments to lseek() the right way around.
3881 2006-10-30 Wim Taymans <wim@fluendo.com>
3883 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
3886 _declspec should be __declspec (two underscores, not one). Fixes 366572.
3888 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
3890 Patch by: Kjartan Maraas <kmaraas at gnome org>
3892 * docs/design/part-MT-refcounting.txt:
3893 * docs/random/wtay/capsnego2-docs:
3896 Typo fixes (#366212).
3898 2006-10-28 Wim Taymans <wim@fluendo.com>
3900 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3903 * win32/common/libgstbase.def:
3904 * win32/common/libgstreamer.def:
3905 * win32/vs8/libgstbase.vcproj:
3906 * win32/vs8/libgstcontroller.vcproj:
3907 Add needed entries in .def files.
3909 Rearrange def files in vs8 solutions. Fixes #366286.
3911 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
3913 * win32/common/gstconfig.h:
3914 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
3915 hand-made win32 gstconfig.h. Fixes #366321.
3917 2006-10-27 Wim Taymans <wim@fluendo.com>
3919 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
3920 (gst_ghost_pad_new_full):
3921 Make acceptcaps return TRUE when we don't have a target, just like
3924 2006-10-27 Wim Taymans <wim@fluendo.com>
3926 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3927 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
3929 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
3931 * gst/gststructure.c: (gst_structure_id_set_value):
3932 If someone tries to set a non-UTF8 string field on a structure,
3933 don't just print a warning, but also ignore the request and do
3934 not change/add that field to the structure.
3936 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3939 2006-10-25 David Schleef <ds@schleef.org>
3942 g_hash_table_insert() needs a cast to a non-const pointer duh.
3944 2006-10-25 David Schleef <ds@schleef.org>
3948 Change name parameter of _gst_debug_register_funcptr to const
3949 to reflect the constness of its use in the function as well
3950 as to quiet a gcc warning.
3952 2006-10-25 Edward Hervey <edward@fluendo.com>
3954 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3955 Don't push the buffer if it's empty.
3958 2006-10-24 Wim Taymans <wim@fluendo.com>
3963 * libs/gst/base/gstbasetransform.c:
3964 (gst_base_transform_sink_eventfunc):
3965 Debug segment values *after* updating them as this is more
3968 2006-10-23 Wim Taymans <wim@fluendo.com>
3970 * docs/design/part-events.txt:
3973 * docs/design/part-block.txt:
3974 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3975 (gst_pad_push_event):
3976 Revert BLOCKING patch, it tries to be smart without really having a
3977 clear idea what or how. So, now we discard all FLUSHING events again on
3978 a blocking pad. Should fix gnonlin again.
3980 2006-10-23 Wim Taymans <wim@fluendo.com>
3982 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3984 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3985 (gst_base_src_start), (gst_base_src_activate_push):
3986 Make sure size is always initialized. Fixes #364388.
3988 2006-10-20 Stefan Kost <ensonic@users.sf.net>
3990 * docs/random/ensonic/distributed.txt:
3991 add some ideas about doing distributed processing
3993 * docs/random/ensonic/profiling.txt:
3994 get_rusage look promising
3996 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3998 * docs/manual/basics-helloworld.xml:
3999 Add a cast in example to fix compile warning
4001 2006-10-18 Wim Taymans <wim@fluendo.com>
4003 * gst/gstsegment.c: (gst_segment_set_last_stop),
4004 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4005 Relax arg checking again, -1 is allowed.
4007 2006-10-18 Wim Taymans <wim@fluendo.com>
4009 * gst/gstsegment.c: (gst_segment_set_last_stop),
4010 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4011 _set_last_stop() must be with a value != -1
4012 A _TYPE_SET to -1 means seek to 0.
4013 Calc last_stop correctly for negative rates.
4014 Make sure we work with positive durations when updating a segment.
4016 2006-10-18 Wim Taymans <wim@fluendo.com>
4018 * docs/design/part-live-source.txt:
4022 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4025 Add an explicit cast to GstBuffer** to keep old code that added an
4026 explicit cast to GstMiniObject** for gst_mini_object_replace()
4027 compiling without warning.
4029 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4031 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4032 check for validity of dates
4034 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4036 * docs/gst/gstreamer-sections.txt:
4037 Forgot this one, makes gtk-doc shut up.
4039 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4041 Patch by: Peter Kjellerstedt <pkj at axis com>
4044 Don't define xmlNodePtr to gpointer if the core was built with
4045 --disable-loadsave and --disable-registry, this will break
4046 applications that want to use libxml2 but are buildling against a
4047 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4048 instead so we don't have to mess with the libxml2 namespace
4051 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4054 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4055 type-punned pointer warnings.
4057 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4060 Add casts to the correct return type to state <=> state transition
4063 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4065 * docs/design/part-live-source.txt:
4066 describe howto handle latency
4068 * docs/random/ensonic/profiling.txt:
4071 * tools/gst-plot-timeline.py:
4072 fix log parsing for solaris, remove unused function
4074 2006-10-16 Wim Taymans <wim@fluendo.com>
4076 * docs/design/part-trickmodes.txt:
4078 Update some docs regarding reverse playback.
4080 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4082 Patch by: Marcus Granado <mrc dot gran at gmail com>
4084 * win32/vs8/grammar.vcproj:
4085 Error out with a warning if glib-genmarshal.exe is not in path,
4086 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4088 2006-10-13 Wim Taymans <wim@fluendo.com>
4090 * gst/gstsegment.c: (gst_segment_set_seek):
4091 When seeking to stop -1, set last_stop (current position) to the
4092 duration of the segment.
4094 2006-10-13 Wim Taymans <wim@fluendo.com>
4097 Clarify _NO_PREROLL a bit more.
4102 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4103 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4104 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4105 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4106 due to wrong locking order. Fixes #361769.
4107 Remove some redundant/misplaced checks in pad_block.
4109 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4110 For negative rates, count backwards from the duration.
4112 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4114 * gst/gsterror.c: (_gst_library_errors_init):
4115 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4116 up with something better).
4118 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4120 * win32/vs6/libgstreamer.dsp:
4121 * win32/vs7/libgstreamer.vcproj:
4122 * win32/vs8/libgstreamer.vcproj:
4123 Don't reference glib-compat.c which is currently not used and not
4124 disted; add gstquark.c which was recently added. Fixes #361730.
4126 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4128 * win32/common/libgstbase.def:
4129 * win32/common/libgstcontroller.def:
4130 * win32/common/libgstreamer.def:
4131 Add gst_caps_merge() and a bunch of other recently-added functions.
4134 2006-10-11 Wim Taymans <wim@fluendo.com>
4136 * docs/plugins/gstreamer-plugins.args:
4137 * docs/plugins/inspect/plugin-coreelements.xml:
4138 * docs/plugins/inspect/plugin-coreindexers.xml:
4139 Update element args.
4141 * gst/gstsystemclock.c:
4142 Small comment update.
4144 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4145 (gst_tee_request_new_pad), (gst_tee_release_pad),
4146 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4147 (gst_tee_sink_activate_pull):
4148 * plugins/elements/gsttee.h:
4150 Add default property defines.
4151 Implement release pad function.
4152 Give properties better blubs etc.
4153 Activate pads before adding them to a running tee.
4154 Do simple buffer_alloc on the first requested pad.
4155 Post error when activation fails.
4157 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4159 * gst/gst.c: (ensure_current_registry_forking):
4160 Check return value of write() to make compiler happy.
4162 2006-10-11 Wim Taymans <wim@fluendo.com>
4164 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4166 * plugins/elements/gstqueue.c: (gst_queue_chain):
4167 Recheck queue filledness after signalling the overrun when we're about
4168 to leak downstream because we released the lock when emitting the signal
4169 and the queue could be empty again. Fixes #352345.
4171 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4173 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4174 Fix refcounting here too, just like we did for _new_valist() a few
4175 days ago (#357180) (thanks to René Stadler). Also remove all those
4176 'Since: 0.9' from the gtk-doc blobs.
4178 * tests/check/libs/controller.c: (controller_refcount_new_list),
4179 (gst_controller_suite):
4180 Unit test for the above.
4182 2006-10-10 Wim Taymans <wim@fluendo.com>
4184 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4186 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4187 (gst_pad_save_thyself):
4189 Write pad direction in XML output. Fixes #345496.
4191 2006-10-10 Wim Taymans <wim@fluendo.com>
4193 Patch by: René Stadler <mail at renestadler dot de>
4195 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4196 (gst_controller_new_list), (_gst_controller_dispose),
4197 (_gst_controller_finalize), (_gst_controller_class_init):
4198 Take ref to controlled object so that it cannot disappear.
4201 2006-10-10 Wim Taymans <wim@fluendo.com>
4203 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4204 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4205 (gst_check_teardown_sink_pad):
4206 Activate/deactivate pads in setup/teardown respectively.
4208 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4210 Patch by: Josep Torre Valles <josep@fluendo.com>
4213 Cast values when making gstenumtypes.h. This pacifies Forte
4214 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4217 2006-10-09 Wim Taymans <wim@fluendo.com>
4219 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4220 Rename some more @cur to @start to fix docs.
4222 * gst/gstsegment.c: (gst_segment_set_seek):
4224 time and start must always stay in sync as defined in design doc.
4226 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4227 Rename param to fix docs.
4229 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4230 Check that start and time are in sync.
4232 * tests/check/pipelines/parse-launch.c:
4233 (gst_parse_test_element_change_state):
4234 Activate pad before adding to the element.
4236 2006-10-09 Wim Taymans <wim@fluendo.com>
4238 * docs/design/part-qos.txt:
4243 Update seek event docs regarding negative rates.
4244 Rename @cur to @start.
4246 * gst/gstsegment.c: (gst_segment_set_seek):
4248 Update set_seek docs regarding negative rates.
4249 Correctly update last_stop to @stop when dealing with negative
4251 Rename @cur to @start.
4253 * tests/check/gst/gstpad.c: (GST_START_TEST):
4254 Activate pads before trying to use them.
4256 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4257 (gst_segment_suite):
4258 Add simple check for segments and negative rates.
4260 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4262 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4264 * docs/gst/gstreamer-sections.txt:
4265 API: add gst_tag_list_is_empty() (#360467).
4267 * tests/check/gst/gsttag.c: (GST_START_TEST):
4270 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4273 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4274 a value that doesn't fit on enumeration.
4276 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4278 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4279 Remove local debugging system and use Gstreamer's instead.
4281 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4283 Patch by: Josep Torre Valles <josep@fluendo.com>
4285 * common/m4/gst-error.m4:
4286 Disable warning of statement not reached on Forte.
4288 Fix warning on Forte (value doesn't fit on enumeration).
4289 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4290 Fix warning on Forte (value doesn't fit on enumeration).
4291 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4292 DEBUG macro says it takes minimum of 2 args and so Forte
4293 complains about the use with just 1 arg.
4294 * plugins/elements/gstfdsink.c:
4295 * plugins/elements/gstfdsrc.c:
4296 * plugins/elements/gstfilesink.c:
4297 * plugins/elements/gstfilesrc.c:
4298 Use correct return type for the uri handler implementations.
4300 All these fix warnings in Forte. Fixes bug #360860.
4302 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4305 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4306 format string, so don't use G_GNUC_PRINTF for those versions.
4308 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4310 * gst/gsttaglist.c: (gst_is_tag_list):
4312 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4314 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4315 Small test for the above.
4317 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4320 Less tabs, more spaces.
4322 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4325 Those two function declarations do actually belong there, revert
4326 commit from yesterday that turned them intro macros.
4328 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4330 Patch by: Josep Torre Valles <josep@fluendo.com>
4332 * gst/gst.c: (gst_init_get_option_group):
4333 Fix empty declaration and type mismatch.
4334 * gst/gstbin.c: (gst_bin_change_state_func):
4336 * gst/gstelement.c: (gst_element_continue_state),
4337 (gst_element_set_state_func), (gst_element_change_state),
4338 (gst_element_change_state_func):
4339 Fix type mismatches.
4340 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4341 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4342 Cast as appropriate.
4343 * gst/gstobject.c: (gst_class_signal_connect):
4344 Cast as appropriate. The function pointer parameter really
4345 has the wrong type but would break API if we change it.
4347 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4348 order of including string.h.
4349 * gst/gstutils.c: (gst_element_state_get_name):
4350 Remove unreachable line.
4351 * gst/gstxml.c: (gst_xml_parse_doc):
4353 All these caught by Forte.
4355 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4357 Patch by: Josep Torre Valles <josep@fluendo.com>
4359 * common/m4/gst-error.m4:
4361 We need to disable warnings on Forte for empty declarations
4362 due to gst-indent adding ;s to lines that just use macros
4363 where the macro actually doesn't need a ; at end to end
4366 2006-10-06 Wim Taymans <wim@fluendo.com>
4368 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4369 (gst_file_sink_close_file), (gst_file_sink_event),
4370 (gst_file_sink_render):
4371 Add some FIXME for the NEWSEGMENT handling.
4373 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4375 * gst/parse/grammar.y:
4376 Remove static function gst_parse_element_lock as all it does
4377 is return. Looks like cruft from 0.8.
4379 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4381 Patch by: Josep Torre Valles <josep@fluendo.com>
4383 * common/m4/gst-error.m4:
4385 * libs/gst/net/Makefile.am:
4386 Fix a compilation issue with Forte on Solaris. inet_aton is in
4389 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4391 * gst/gstpad.c: (pre_activate):
4392 * gst/gstregistry.c: (gst_registry_scan_path_level):
4393 * gst/gstregistryxml.c: (load_plugin):
4394 * libs/gst/controller/gstcontroller.c:
4395 (gst_controlled_property_set_interpolation_mode):
4396 * libs/gst/dataprotocol/dataprotocol.c:
4397 (gst_dp_packet_from_event_1_0):
4398 * libs/gst/net/gstnetclientclock.c:
4399 (gst_net_client_clock_observe_times):
4400 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4403 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4406 * docs/gst/gstreamer-sections.txt:
4407 * gst/gstconfig.h.in:
4410 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4411 whether we can use G_GNUC_PRINTF in other header files and at
4412 least check the printf format/arguments of debug messages and
4413 GST_ELEMENT_ERROR messages when the printf extension is not
4415 Replace more tabs with spaces in gstinfo.h and remove two spurious
4416 function declarations in GST_DISABLE_DEBUG part with macros.
4418 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4420 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4421 More docs for the sync-message signal (mention that it is not
4422 emitted by default); log message structures of messages posted on
4425 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4427 * gst/gst.c: (ensure_current_registry_forking):
4428 Use a pipe pair to receive status results from the forked child, and
4429 ignore the result from waitpid. Fixes #355499
4431 2006-10-02 Wim Taymans <wim@fluendo.com>
4433 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4434 (gst_ghost_pad_suite):
4437 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4440 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4442 2006-10-02 Edward Hervey <edward@fluendo.com>
4444 * docs/design/part-block.txt:
4445 Further explain the use of flushing on blocked pads.
4446 * docs/gst/gstreamer-sections.txt:
4447 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4448 (gst_pad_push_event):
4450 Added new GstPadFlag : GST_PAD_BLOCKING.
4451 Adds the notion of pads really blocking, which enables to properly
4452 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4454 API: gst_pad_is_blocking()
4455 API: GST_PAD_IS_BLOCKING() macro
4456 API: GST_PAD_BLOCKING GstPadFlag
4458 2006-10-02 Wim Taymans <wim@fluendo.com>
4460 Patch by: mrcgran <mrc.gran at gmail dot com>
4462 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4463 Filter the proxied caps against the padtemplate if we have one.
4465 * gst/gstquery.c: (gst_query_new_segment):
4466 Add include for gstinfo.h so that compilation with
4467 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4469 2006-10-02 Wim Taymans <wim@fluendo.com>
4471 Patch by: Alessandro Decina <alessandro at nnva org>
4473 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4474 (gst_file_sink_set_location), (gst_file_sink_open_file),
4475 (gst_file_sink_close_file), (gst_file_sink_event),
4476 (gst_file_sink_render):
4477 Set file to NULL when closing filesink so that we can set a new filename
4478 in READY. Fixes #358613.
4480 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4482 Patch by: Alessandro Decina <alessandro at nnva org>
4484 * gst/gstevent.c: (_gst_event_copy):
4485 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4486 with event structures by setting the parent refcount address of the
4487 copied structure to the address of the refcount member of the newly
4488 copied event rather than the address of the refcount member of the
4489 original event. Fixes #358737.
4491 * tests/check/gst/gstevent.c: (GST_START_TEST):
4492 Unit test for the above.
4494 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4496 * docs/design/Makefile.am:
4497 Dist some more files.
4499 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4501 * tests/check/libs/controller.c: (GST_START_TEST),
4502 (gst_controller_suite):
4503 Add test for the previous fix; add some more tests
4504 for correct refcounting behaviour; fix a few leaks
4505 in test cases; call gst_controller_init() at start
4508 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4510 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4511 (gst_controller_set_from_list):
4512 Don't g_return_val_if_fail() on timed values with invalid timestamps
4513 inside a critical section without unlocking the mutex. Spotted by
4514 René Stadler. (#357617)
4515 Also, fix up refcounting properly: when returning an existing
4516 controller, we should increase the reference only once and not
4517 once per property and when trying to control a property again
4518 we should also increase the refcount.
4520 2006-09-29 Wim Taymans <wim@fluendo.com>
4522 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4523 * libs/gst/net/gstnettimeprovider.c:
4524 (gst_net_time_provider_thread):
4525 Stop reading commands when EOF as well.
4527 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4528 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4529 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4530 Unify description of the dump property.
4532 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4534 * tests/examples/manual/.cvsignore:
4535 OK, so it's actually cvsignore that needs changing. Stop laughing.
4537 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4539 * tests/examples/manual/Makefile.am:
4540 Gah, declare vars *before* using them
4542 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4544 * gst/gst.c: (init_pre), (scan_and_update_registry),
4545 (ensure_current_registry_nonforking),
4546 (ensure_current_registry_forking), (ensure_current_registry),
4547 (init_post), (gst_debug_help), (gst_deinit):
4548 * gst/gst_private.h:
4549 * gst/gstregistry.c: (gst_registry_finalize),
4550 (gst_registry_remove_features_for_plugin_unlocked),
4551 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4552 (gst_registry_scan_path),
4553 (_priv_gst_registry_remove_cache_plugins),
4554 (_priv_gst_registry_cleanup):
4555 * gst/gstregistry.h:
4556 Re-commit the registry changes, along with an extra fix:
4557 When a cached plugin is encountered at a different file path,
4558 update the stored path in the registry cache so that the parent
4559 process knows where it actually is now when it re-reads the registry
4560 cache. Fixes the thing that broke distcheck with the previous commit.
4562 * tests/check/Makefile.am:
4563 Clean up files named 'core' too when running make clean.
4565 * tests/examples/manual/Makefile.am:
4566 Set up a registry path for running these tests, and clean it properly
4569 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4572 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4573 want gmodule-no-export-2.0.pc instead so that we don't drag in
4574 --export-dynamic on every project that links to GStreamer.
4576 Also, make our export regex only match the start of symbols, rather
4577 than any symbol that contains '_gst' somewhere.
4579 * libs/gst/check/Makefile.am:
4580 The libgstcheck we build does however need export-dynamic, as it
4581 produces some symbols that don't match our _gst... style regex.
4584 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4586 * gst/gst.c: (init_pre), (scan_and_update_registry),
4587 (ensure_current_registry_nonforking),
4588 (ensure_current_registry_forking), (ensure_current_registry),
4589 (init_post), (gst_debug_help), (gst_deinit):
4590 * gst/gst_private.h:
4591 * gst/gstregistry.c: (gst_registry_finalize),
4592 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4593 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4594 (_gst_registry_cleanup):
4595 * gst/gstregistry.h:
4596 Revert previous change until I figure out why it breaks distcheck.
4598 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4600 * gst/gst.c: (init_pre), (scan_and_update_registry),
4601 (ensure_current_registry_nonforking),
4602 (ensure_current_registry_forking), (ensure_current_registry),
4603 (init_post), (gst_debug_help), (gst_deinit):
4605 Make init_pre and init_post take the full complement of GOptionFunc
4606 args so they can return useful GErrors. Make the registry updating
4609 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4610 ensure that the registry we're about to write out doesn't contain
4611 stale information about old-deleted plugin files.
4613 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4614 that deletion of plugin files is considered a registry change.
4616 * gst/gst_private.h:
4617 * gst/gstregistry.c: (gst_registry_finalize),
4618 (gst_registry_remove_features_for_plugin_unlocked),
4619 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4620 (gst_registry_scan_path),
4621 (_priv_gst_registry_remove_cache_plugins),
4622 (_priv_gst_registry_cleanup):
4623 * gst/gstregistry.h:
4624 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4625 by adding _priv prefix, so that they won't appear in the global
4626 symbol table. They still do atm though because of #318031. Move the
4627 prototypes to gst_private.h
4629 When removing a plugin, remove all features for that plugin too.
4632 2006-09-27 Wim Taymans <wim@fluendo.com>
4634 * docs/random/moving-plugins:
4635 Make it clear that the "compiled-in descriptions" really mean
4636 the element details.
4638 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4639 (gst_base_sink_wait_preroll):
4642 * docs/libs/gstreamer-libs-sections.txt:
4643 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4644 (gst_base_src_get_range), (gst_base_src_activate_push):
4645 * libs/gst/base/gstbasesrc.h:
4646 Added function to block while waiting for PLAYING, this function
4647 is used by live sources that block on the clock.
4648 API: gst_base_src_wait_playing()
4650 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4652 Patch by: Peter Kjellerstedt <pkj at axis com>
4655 gst-element-check.m4 is generated and should therefore be
4656 copied from the build dir rather than the source dir (#357593).
4657 'make distcheck' hasn't noticed this because we were disting
4658 the file as well, so stop doing that.
4660 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4662 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4663 Add some tests for gst_caps_intersect().
4665 * tools/gst-launch.c: (event_loop):
4666 Print all buffering percentages we get, even the 100% one.
4668 2006-09-26 Wim Taymans <wim@fluendo.com>
4670 * tools/gst-inspect.c: (print_element_properties_info),
4671 (print_signal_info):
4672 Fix printing of flags to match the look of enums.
4674 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4676 * gst/gstelementfactory.c:
4677 Fix typo in docs blurb.
4679 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4681 * gst/gsturi.c: (search_by_entry):
4682 Don't assert/crash here if a uri handler doesn't return any
4683 supported protocols. The list of protocols could be generated
4684 dynamically at runtime or at plugin registration, and an error
4685 in the underlying library shouldn't be fatal (#353301).
4687 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4690 Fix warning if HAVE_PRINTF_EXTENSION is undefined
4691 (spotted by Peter Kjellerstedt).
4693 2006-09-23 Wim Taymans <wim@fluendo.com>
4695 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4697 * libs/gst/base/gstbasesrc.c:
4698 (gst_base_src_default_check_get_range), (gst_base_src_start),
4699 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4700 (gst_base_src_change_state):
4701 Match _start/_stop calls in the activate functions. Remove redundant
4702 _stop call from the state change function. Fixes #356910.
4703 Turn failure DEBUG into ERROR.
4705 2006-09-22 Wim Taymans <wim@fluendo.com>
4707 * docs/design/part-buffering.txt:
4708 * gst/gstmessage.c: (gst_message_new_buffering),
4709 (gst_message_parse_buffering):
4710 Update docs about buffering.
4712 * docs/design/part-trickmodes.txt:
4715 2006-09-22 Stefan Kost <ensonic@users.sf.net>
4717 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4718 (gst_controller_new_list):
4719 Ref instances when returning them again (fixes #357180)
4721 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
4723 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4724 Don't forget to release proxy lock when there's an error.
4726 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
4729 Add extra initialisers for Caps things, to fix some plugin warnings
4732 2006-09-18 Wim Taymans <wim@fluendo.com>
4734 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4735 Also set template on the internal pad so that a getcaps from the
4736 target pad returns the template caps.
4738 2006-09-18 Wim Taymans <wim@fluendo.com>
4740 * gst/gstelement.c: (gst_element_post_message),
4741 (gst_element_dispose):
4742 Use _DEBUG_OBJECT some more.
4744 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4747 * tools/gst-launch.c: (main):
4748 If the toplevel element is not a GstPipeline, it must be put in a
4749 pipeline so that a bus and clock is selected.
4751 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4753 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4754 JITTER, RATE, and LATENCY query should be handled by the
4755 default case and not by the CONVERT query code.
4757 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4759 * gst/gstformat.c: (gst_format_register):
4760 Fix locking order (must take lock before using n_values).
4762 * gst/gstvalue.c: (gst_value_serialize_enum),
4763 (gst_value_deserialize_enum_iter_cmp),
4764 (gst_value_deserialize_enum):
4765 Fix serialisation/deserialisation of custom registered GstFormats.
4767 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4768 Unit test for custom format serialisation/deserialisation.
4770 2006-09-17 Stefan Kost <ensonic@users.sf.net>
4772 * docs/pwg/building-boiler.xml:
4773 * plugins/elements/gstcapsfilter.c:
4774 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
4777 2006-09-16 Edward Hervey <edward@fluendo.com>
4779 * libs/gst/base/gstbasetransform.c:
4780 (gst_base_transform_buffer_alloc):
4781 Check if requested caps are the same as the sinks caps IF
4782 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
4784 This fixes the renegotiation issues stated in #352827.
4786 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4789 * docs/manual/advanced-autoplugging.xml:
4790 * tests/examples/Makefile.am:
4791 * tests/examples/manual/.cvsignore:
4792 * tests/examples/manual/Makefile.am:
4793 * tests/examples/manual/extract.pl:
4794 Extract the manual examples again like we used to do.
4797 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4799 * win32/common/config.h:
4802 2006-09-16 Stefan Kost <ensonic@users.sf.net>
4805 Documents how to receive errors.
4807 2006-09-15 Wim Taymans <wim@fluendo.com>
4809 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
4810 (event_loop), (main):
4811 Added some comments here and there.
4812 Post an application message when an interrupt is caught instead of doing
4813 an uncontrolled state change.
4814 Clean up the event loop.
4815 Handle buffering messages, pause/resume the pipeline.
4816 Make shutdown because of an interrupt more reliable.
4818 2006-09-15 Wim Taymans <wim@fluendo.com>
4820 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4821 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
4822 (gst_base_sink_preroll_object):
4823 Make sure that our internal state is correct when we commit our state
4824 asynchronously. This solves a race where a state change to PLAYING
4825 could cause the sink to remain blocked in preroll in some situations.
4827 2006-09-15 Wim Taymans <wim@fluendo.com>
4829 * tools/gst-inspect.c: (print_element_properties_info),
4830 (print_signal_info):
4831 List flags as hex so it's easier to deal with.
4833 2006-09-15 Wim Taymans <wim@fluendo.com>
4835 * docs/libs/gstreamer-libs-sections.txt:
4836 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
4837 (gst_base_sink_do_sync):
4838 * libs/gst/base/gstbasesink.h:
4839 Expose logic to wait for preroll so that subclasses such as audiosink
4840 can also use this method.
4841 API: gst_base_sink_wait_preroll()
4843 2006-09-15 Wim Taymans <wim@fluendo.com>
4845 * gst/gstobject.c: (gst_object_set_parent):
4846 * gst/gstpipeline.c: (do_pipeline_seek):
4847 Small cleanups in docs and code.
4849 * gst/gstsegment.c: (gst_segment_clip):
4850 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4851 if stop == start and start is in the segment, no clipping should be
4852 done. Also add a test for this.
4854 2006-09-15 Wim Taymans <wim@fluendo.com>
4856 * docs/design/part-buffering.txt:
4857 * docs/gst/gstreamer-sections.txt:
4858 * gst/gstmessage.c: (gst_message_new_buffering),
4859 (gst_message_parse_buffering):
4861 Added methods to create and parse BUFFERING messages.
4862 Added preliminary docs about buffering.
4863 API: gst_message_new_buffering
4864 API: gst_message_parse_buffering
4866 2006-09-06 Wim Taymans <wim@fluendo.com>
4869 Update documentation.
4871 * gst/gstelement.c: (gst_element_class_init),
4872 (gst_element_release_request_pad), (gst_element_set_clock),
4873 (gst_element_get_index), (gst_element_add_pad),
4874 (gst_element_remove_pad), (gst_element_get_random_pad),
4875 (gst_element_send_event), (gst_element_get_query_types),
4876 (gst_element_query), (gst_element_post_message),
4877 (gst_element_message_full), (gst_element_continue_state),
4878 (gst_element_lost_state), (gst_element_save_thyself),
4879 (gst_element_restore_thyself):
4880 Documentation updates.
4881 Rename last bit of the new-pad -> pad-added signal rename.
4882 Fix the case where an element query would only work if the source
4884 Avoid some useless type checking in message handling.
4889 Documentation updates.
4891 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4893 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4894 add an INFO line for when we actually update the fd
4896 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4901 === release 0.10.10 ===
4903 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4906 releasing 0.10.10, "Pais"
4908 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
4910 * docs/manual/advanced-position.xml:
4911 Fix typo in sample code.
4913 2006-09-05 Wim Taymans <wim@fluendo.com>
4915 * libs/gst/net/gstnetclientclock.c: (inet_aton),
4916 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
4917 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
4918 * libs/gst/net/gstnetclientclock.h:
4919 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4920 * libs/gst/net/gstnettimepacket.h:
4921 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
4922 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
4923 (gst_net_time_provider_thread), (gst_net_time_provider_new):
4924 * libs/gst/net/gstnettimeprovider.h:
4925 Make stuff compile on windows. Fixes #345295.
4927 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4929 * gst/gst.c: (ensure_current_registry_forking):
4930 Print better details when child was terminated by signal.
4932 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4934 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
4935 Print a warning rather than g_assert() if a plugin feature
4936 is a URI handler but returns no protocols (#353976).
4938 2006-09-02 Stefan Kost <ensonic@users.sf.net>
4940 * docs/random/moving-plugins:
4943 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
4945 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
4946 Fix locking order, handle NULL function values properly.
4951 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
4952 Initialise variable before using it and fix debug statement to
4953 print the address of the function rather than the address of the
4954 variable on the stack holding the address of the function.
4956 2006-09-01 Wim Taymans <wim@fluendo.com>
4958 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
4959 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
4960 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4961 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
4962 (gst_ghost_pad_parent_unset),
4963 (gst_ghost_pad_internal_do_activate_push),
4964 (gst_ghost_pad_internal_do_activate_pull),
4965 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4966 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4967 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
4968 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
4969 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
4970 (gst_ghost_pad_new_no_target_from_template),
4971 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4973 Avoid needless typechecking in macros.
4974 Since the internal pad is always present and never changes, there is
4975 no need to locking or ref when retrieving it.
4976 Improve debugging a bit.
4977 Handle link errors when setting the target. Fixes #341029.
4979 2006-09-01 Wim Taymans <wim@fluendo.com>
4981 * docs/libs/gstreamer-libs-sections.txt:
4982 * docs/plugins/gstreamer-plugins-sections.txt:
4985 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4986 (gst_collect_pads_event):
4987 * libs/gst/base/gstcollectpads.h:
4988 Documentation updates.
4989 Free queued buffer when removing a pad.
4991 2006-08-31 Michael Smith <msmith@fluendo.com>
4993 * gst/gstutils.c: (gst_element_link_pads),
4994 (gst_element_link_pads_filtered):
4995 Ensure that we set a capsfilter to NULL if we failed to link it
4996 when doing filtered linking, to avoid criticals.
4998 No need to check for unreffing srcpad, which is explicly NULLed
4999 above (a trivial code cleanup).
5001 2006-08-31 Wim Taymans <wim@fluendo.com>
5003 * docs/design/part-gstghostpad.txt:
5004 Update ascii art in documentation.
5006 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5007 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5008 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5009 (gst_ghost_pad_internal_do_activate_push),
5010 (gst_ghost_pad_internal_do_activate_pull),
5011 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5012 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5013 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5014 (gst_ghost_pad_set_target):
5015 Small cleanups and leak fixes.
5016 Remove some checks now that the internal pad is never NULL.
5017 Fix the case where linking pads without a target would create nasty
5018 criticals. Fixes #341029.
5019 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5020 value of _set_target().
5022 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5023 (gst_ghost_pad_suite):
5024 Some more tests for creating and linking untargeted ghostpads.
5026 2006-08-31 Edward Hervey <edward@fluendo.com>
5028 * docs/gst/gstreamer-sections.txt:
5029 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5030 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5031 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5032 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5033 (gst_ghost_pad_new_from_template),
5034 (gst_ghost_pad_new_no_target_from_template):
5035 * gst/gstghostpad.h:
5036 Refactored *_new() functions.
5037 Templates are now used as a g_object_new() parameter.
5038 Use template in _do_getcaps() if we don't have a target.
5039 Small documentation cleanups.
5040 Added two new constructors:
5041 gst_ghost_pad_new_from_template()
5042 gst_ghost_pad_new_no_target_from_template()
5043 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5044 (gst_ghost_pad_suite):
5045 Added tests for new ghostpad instanciation functions.
5047 API additions: gst_ghost_pad_new_from_template,
5048 gst_ghost_pad_new_no_target_from_template
5050 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5052 * docs/random/ensonic/profiling.txt:
5053 Ideas about qos profiling.
5055 2006-08-29 Wim Taymans <wim@fluendo.com>
5057 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5061 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5064 Improve and detypofy docs.
5066 * tests/check/Makefile.am:
5067 * tests/check/gst/.cvsignore:
5068 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5069 Add a basic test suite for GstXML.
5071 2006-08-29 Wim Taymans <wim@fluendo.com>
5073 * gst/gstelement.c: (activate_pads), (clear_caps),
5074 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5075 Clear the pad caps when the element shut down all of the pads and
5076 is not streaming data that could modify the caps.
5079 2006-08-28 Michael Smith <msmith@fluendo.com>
5081 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5082 Revert previous change; I misunderstood single-segment mode.
5084 2006-08-28 Michael Smith <msmith@fluendo.com>
5086 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5087 Unset DISCONT on buffers when using single-segment mode.
5089 2006-08-28 Wim Taymans <wim@fluendo.com>
5091 * gst/gstcaps.c: (gst_caps_merge_structure):
5093 Fix docs and indentation again.
5095 * tests/check/gst/gstquery.c: (GST_START_TEST):
5096 Fix leak in tests and add some more tests.
5098 2006-08-28 Edward Hervey <edward@fluendo.com>
5100 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5101 Inform GstSegment of the last stop position in order for the current
5102 segment to have a proper duration if it doesn't have a specific stop
5103 position from which a duration could be calculated.
5104 This bug was noticeable when a non-flushing, non-update new segment was
5105 followed by another segment (all buffers from the new segment were being
5108 2006-08-28 Wim Taymans <wim@fluendo.com>
5110 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5111 Small comment update.
5113 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5114 (gst_identity_transform_ip):
5115 Drop-probability is broken, mention this in the code with a
5116 FIXME and also in the property description.
5117 Make silent also be silent about the drop messages.
5119 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5121 * docs/manual/appendix-win32.xml:
5122 Remove mention of popt, we don't depend on that any
5123 longer (#353136). Add some comments pointing out that
5124 this section is slightly outdated.
5126 2006-08-28 Wim Taymans <wim@fluendo.com>
5128 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5130 * gst/gstquery.c: (gst_query_new_segment):
5131 * tests/check/gst/gstquery.c: (GST_START_TEST):
5132 Initialize variables when creating a new segment query.
5135 2006-08-28 Wim Taymans <wim@fluendo.com>
5137 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5139 * gst/gstelement.c: (gst_element_get_bus):
5140 * tests/check/gst/gstelement.c: (GST_START_TEST):
5141 Check for NULL before _reffing the bus. Fixes #353122.
5143 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
5145 * docs/manual/basics-bus.xml:
5146 Docs update: fix wrong callback return value explanation; add
5147 some lines about the implicit relationship between main loop
5148 and main context; remove duplicate main loop variable declaration.
5150 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
5152 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5153 Don't leak caps in unit test; add a few more simple
5156 2006-08-24 Stefan Kost <ensonic@users.sf.net>
5158 * docs/gst/gstreamer-sections.txt:
5159 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5160 (gst_caps_structure_is_subset), (gst_caps_merge),
5161 (gst_caps_merge_structure):
5163 * libs/gst/base/gstbasetransform.c:
5164 (gst_base_transform_transform_caps):
5165 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5166 implement caps merging (fixes #352580)
5168 2006-08-23 Stefan Kost <ensonic@users.sf.net>
5170 * tools/Makefile.am:
5171 * tools/gst-plot-timeline.py:
5172 add debug-log plotting developer tool (#340674)
5174 2006-08-23 Wim Taymans <wim@fluendo.com>
5176 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5177 (gst_pad_stop_task):
5178 Improve debugging for task functions.
5180 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5181 (gst_task_start), (gst_task_pause), (gst_task_join):
5182 Make sure that the task function started and finished after a
5184 Don't try to push the task function on the threadpool multiple
5186 Improve the g_warning message with some useful suggestions
5187 about how to fix the problem.
5189 2006-08-23 Wim Taymans <wim@fluendo.com>
5191 * gst/gstutils.c: (gst_pad_proxy_getcaps):
5192 Handle RESYNC correctly in _proxy_getcaps.
5194 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
5196 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5197 (gst_xml_parse_memory), (gst_xml_get_element):
5198 Chain up to parent class in dispose function and also
5199 unref the elements in the toplevel_elements GList.
5200 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5201 Always return a reference in gst_xml_get_element() rather
5202 than only sometimes.
5204 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5205 Don't leak GstXml object.
5207 2006-08-21 Stefan Kost <ensonic@users.sf.net>
5209 * docs/gst/gstreamer-sections.txt:
5210 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5213 * libs/gst/base/gstbasetransform.c:
5214 (gst_base_transform_transform_caps):
5215 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5218 2006-08-21 Edward Hervey <edward@fluendo.com>
5220 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5221 Implement GObject::dispose virtual method in GstXML so we can free the
5224 2006-08-21 Wim Taymans <wim@fluendo.com>
5226 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5227 (gst_buffer_create_sub):
5228 Copy duration/offset_end/caps when creating a subbuffer of the
5230 Make the subbuffer read-only when we make the metadata writable for
5233 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5234 Added check for metadata copy when creating subbuffers.
5236 2006-08-21 Edward Hervey <edward@fluendo.com>
5238 * libs/gst/base/gstbasetransform.c:
5239 (gst_base_transform_buffer_alloc):
5240 Only call downstream buffer_alloc if transform element is passthrough
5241 or always_in_place. Closes #350449.
5243 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5246 ChangeLog surgery to add comments to previous changes
5248 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5253 * gst/gstpad.c: (gst_pad_set_active):
5254 Be more verbose in the log
5256 * libs/gst/base/gstbasetransform.c:
5257 (gst_base_transform_transform_caps):
5258 Simplify caps to get rid of duplicates, fixes #345444
5260 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5264 Use these optimizations only internally.
5266 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5268 * gst/gstvalue.c: (gst_value_compare_list),
5269 (gst_value_compare_fraction_range),
5270 (gst_value_intersect_fraction_fraction_range),
5271 (gst_value_intersect_fraction_range_fraction_range),
5272 (gst_value_subtract_fraction_fraction_range),
5273 (gst_value_subtract_fraction_range_fraction_range),
5274 (gst_value_get_compare_func), (gst_value_compare),
5275 (gst_value_compare_with_func):
5277 Saves the expensive lookup of the compare function in many cases
5280 2006-08-18 Edward Hervey <edward@fluendo.com>
5282 * tests/check/gst/gstinfo.c: (gst_info_suite):
5283 Disable test that require gstdebug if it wasn't built in core.
5285 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5287 * docs/random/ensonic/logging.txt:
5290 * gst/gstinfo.c: (gst_debug_log_default):
5291 reorder fields, save some columns, add optional color codes for log
5294 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5296 * docs/random/ensonic/logging.txt:
5297 add ideas about making the logs a bit more useful
5299 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5301 * docs/pwg/advanced-events.xml:
5302 * docs/pwg/titlepage.xml:
5303 Update for 0.10 API (#340627). Add myself
5306 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5308 * docs/libs/gstreamer-libs-docs.sgml:
5309 * docs/libs/gstreamer-libs-sections.txt:
5310 * libs/gst/check/gstbufferstraw.c:
5311 Make gstcheck stuff show up in docs (still needs to
5312 be documented properly though).
5314 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5316 * docs/gst/gstreamer-sections.txt:
5318 * gst/gst.c: (init_post):
5319 * gst/gst_private.h:
5320 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5322 * gst/gstquery.c: (gst_query_new_position),
5323 (gst_query_set_position), (gst_query_parse_position),
5324 (gst_query_new_duration), (gst_query_set_duration),
5325 (gst_query_parse_duration), (gst_query_new_convert),
5326 (gst_query_set_convert), (gst_query_parse_convert),
5327 (gst_query_new_segment), (gst_query_set_segment),
5328 (gst_query_parse_segment), (gst_query_new_seeking),
5329 (gst_query_set_seeking), (gst_query_parse_seeking):
5330 Add internal helpers for pre-registering quarks from static strings
5331 and using the quark values directly instead of looking them up when
5332 creating and parsing queries. Can be used for event construction too.
5335 2006-08-16 Wim Taymans <wim@fluendo.com>
5340 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5342 * gst/gstutils.c: (gst_util_set_value_from_string):
5343 Fix memleak (#351502).
5345 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5346 Add unit test for most of gst_util_set_value_from_string()
5347 (not that one would want to encourage use of this function).
5349 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5351 * libs/gst/check/gstcheck.h:
5352 Use const gchar * variables in fail_unless_equals_string
5353 macro to avoid compiler warnings (and don't use tabs for
5356 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5358 * tools/gst-launch.c: (print_tag):
5359 More space on the left for the tag names, to cater
5360 for the 'extended comment' tag (not touching the
5361 string for the first line since it's translated).
5363 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5365 * libs/gst/check/gstcheck.h:
5366 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5367 print something when they fail.
5369 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5371 * docs/gst/gstreamer-sections.txt:
5372 * gst/gsttaglist.c: (_gst_tag_initialize):
5374 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5375 Also change merge function for GST_TAG_COMMENT to
5378 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5380 * gst/gstinfo.c: (gst_debug_print_object):
5381 Make GST_PTR_FORMAT print messages as well.
5383 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5384 (GST_START_TEST), (gst_info_suite):
5387 2006-08-14 Edward Hervey <edward@fluendo.com>
5389 * gst/gstelementfactory.c: (gst_element_register):
5390 If the GstElementClass doesn't have a GstElementDetails with all fields
5391 filled up correctly (longname, description AND author), then error out
5392 nicely instead of crashing.
5394 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5396 * gst/gststructure.c:
5397 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5400 Expand on the difference between arrays and lists as we use them.
5402 2006-08-14 Wim Taymans <wim@fluendo.com>
5404 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5405 If the parent state change function failed, don't assume we can safely
5406 stop the source, this will be done when the pads are deactivated.
5408 2006-08-14 Wim Taymans <wim@fluendo.com>
5411 * gst/gsttask.c: (gst_task_join):
5414 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5415 (gst_pad_stop_task):
5416 When pad (de)activation failed for some reason, restore the old
5417 activation mode and set the pad to flushing instead of assuming the
5419 If the _task_join() failed, reinstall the task on the pad so that it can
5420 be stopped later and return an error.
5422 2006-08-11 Andy Wingo <wingo@pobox.com>
5425 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5426 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5427 is only for users of API that don't want to see deprecated
5428 functions in the headers; people that want to compile out
5429 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5430 CFLAGS. Fixes the build of multifdsink, or will soon..
5432 2006-08-11 Wim Taymans <wim@fluendo.com>
5434 * docs/gst/gstreamer-sections.txt:
5435 Add GstClockClass vmethod docs.
5438 Mark #endif with comment for associated #if
5440 * gst/gstclock.c: (gst_clock_id_wait):
5442 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5443 most clock implementations.
5445 Flesh out docs about resolution methods.
5446 API: GstClockClass::wait_jitter
5448 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5449 (gst_system_clock_async_thread),
5450 (gst_system_clock_id_wait_jitter_unlocked),
5451 (gst_system_clock_id_wait_jitter):
5452 Use base class wait_jitter variant for improved performance
5453 due to less clock polling.
5455 2006-08-11 Edward Hervey <edward@fluendo.com>
5457 * gst/gst.c: (gst_init_check), (init_post):
5458 Set gst as being initialized before scanning/updating the registry,
5459 since there might be my python plugin loader that calls gst_init() and
5460 we don't want to loop back in.
5463 2006-08-11 Wim Taymans <wim@fluendo.com>
5465 * docs/design/part-qos.txt:
5466 Bring docs in line with the code. Mostly the sign of the jitter was
5467 wrong in the docs. Fixes #349943.
5470 Fix the docs for the jitter.
5472 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5473 (gst_event_parse_tag), (gst_event_new_buffer_size),
5474 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5475 (gst_event_new_seek), (gst_event_parse_seek),
5476 (gst_event_new_navigation):
5477 Make sure the GstStructure has no parent when creating custom
5479 Add some more argument checking so that we avoid 0.0 rates.
5480 Flesh out the docs for the QoS event some more.
5482 2006-08-11 Wim Taymans <wim@fluendo.com>
5484 * docs/gst/gstreamer-sections.txt:
5485 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5486 (ensure_current_registry_forking), (ensure_current_registry),
5487 (parse_one_option), (parse_goption_arg), (gst_deinit),
5488 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5491 Added API and command line option to disable registry forking in
5492 addition to the environment variable.
5493 Constify some static arrays.
5494 Added some more debug.
5496 API: gst_registry_fork_is_enabled()
5497 API: gst_registry_fork_set_enabled()
5498 API: --gst-disable-registry-fork command line option
5501 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5503 * gst/gst.c: (gst_init):
5504 Fix typo in error message.
5506 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5508 * libs/gst/controller/gstcontroller.h:
5509 fix ABI size-correction
5511 * tests/check/libs/gdp.c: (gst_dp_suite):
5512 make tests that use deprecated API conditional
5514 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5516 * docs/libs/gstreamer-libs-sections.txt:
5517 * libs/gst/controller/gstcontroller.c:
5518 (_gst_controller_get_property), (_gst_controller_set_property),
5519 (_gst_controller_init), (_gst_controller_class_init):
5520 * libs/gst/controller/gstcontroller.h:
5521 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5522 (gst_object_set_control_rate):
5523 API: add gst_object_{s,g}et_control_rate(), add private data section,
5526 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5527 * libs/gst/dataprotocol/dataprotocol.h:
5528 add deprecation guards to make gtk-doc happy and allow disabling cruft
5530 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5532 * tests/check/Makefile.am:
5533 * tests/check/gst/.cvsignore:
5534 Let's enable the new unit test as well.
5536 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5539 * docs/gst/gstreamer-sections.txt:
5540 * gst/gstconfig.h.in:
5541 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5542 (_gst_info_printf_extension_ptr),
5543 (_gst_info_printf_extension_segment):
5544 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5545 register that lets us easily dump GstSegments into debug
5548 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5549 (info_segment_format_printf_extension), (gst_info_suite):
5550 Add simple unit test that logs a bunch of different segments (not
5551 valgrinded at the moment because of leaks in
5552 gst_debug_add_log_function).
5554 2006-08-09 Edward Hervey <edward@fluendo.com>
5556 * libs/gst/base/gstbasetransform.c:
5557 (gst_base_transform_buffer_alloc):
5558 Even if we can't figure out the proper format to request downstream,
5559 call buffer_alloc() downstream with the input parameters without setting
5560 the caps on the srcpad. This will force negotiation in the chain
5564 2006-08-08 Edward Hervey <edward@fluendo.com>
5566 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5567 Unlinking from a pad without a target is now a perfectly valid case
5568 which should NOT raise an assertion.
5569 This case would happen if a linked ghostpad its target set to NULL after
5570 it was previously linked.
5572 2006-08-08 Edward Hervey <edward@fluendo.com>
5574 * tests/check/libs/gdp.c:
5575 Also comment out the test (see below).
5577 2006-08-08 Edward Hervey <edward@fluendo.com>
5579 * tests/check/libs/gdp.c: (gst_dp_suite):
5580 Use the architecture information from config.h and not gcc macros
5581 in order to properly disable a test that fails on PPC64.
5583 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5585 * gst/gstelement.c: (gst_element_remove_pad):
5586 Don't crash printing the warning if the pad has no parent.
5588 2006-08-02 Wim Taymans <wim@fluendo.com>
5590 * libs/gst/dataprotocol/dataprotocol.c:
5591 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5592 (gst_dp_crc), (gst_dp_header_payload_length),
5593 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5594 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5595 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5596 (gst_dp_event_from_packet), (gst_dp_validate_header),
5597 (gst_dp_validate_payload):
5598 Make debug category static
5599 Constify the crc table.
5600 Do some more arg checking in public functions.
5601 Fix some docs and do some small cleanups.
5603 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5604 Add some more checks to see if GDP deals with bogus input.
5606 2006-07-31 Wim Taymans <wim@fluendo.com>
5608 * gst/gstvalue.c: (gst_value_compare_list):
5609 Fix GstValueList comparison code. Fixes #347293.
5611 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5612 Check to test GstValueList comparison.
5614 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5616 * gst/gstelementfactory.c: (gst_element_factory_create):
5617 Remove unnecessary ref/unref pair
5619 * gst/parse/grammar.y:
5620 Make sure to free the parse buffer on all code paths.
5621 Move a g_free up to the error handler where it's easier to see.
5623 * tests/check/gst/gstevent.c: (test_event):
5624 Extending timeout for downstream travelling events to 10 seconds to
5625 hopefully avoid intermittent failure on the buildbots.
5627 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5628 Don't manually set the state of the src element - it will happen as a
5629 natural consequence of the pipeline changing state, and that way it
5630 will do it in the right order too.
5632 2006-07-31 Wim Taymans <wim@fluendo.com>
5634 * libs/gst/base/gstbasetransform.c:
5635 (gst_base_transform_buffer_alloc):
5636 Use OBJECT_LOCK and refcounting to get the pad caps in the
5637 buffer_alloc function because the caps could change while we are
5638 busy with them. Fixes #349105
5640 2006-07-31 Wim Taymans <wim@fluendo.com>
5642 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5643 Protect _PAD_CAPS with OBJECT_LOCK.
5645 2006-07-31 Wim Taymans <wim@fluendo.com>
5647 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5648 (gst_pad_get_property), (gst_pad_activate_pull),
5649 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5650 (gst_pad_set_activate_function),
5651 (gst_pad_set_activatepull_function),
5652 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5653 (gst_pad_set_getrange_function),
5654 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5655 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5656 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5657 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5658 (gst_pad_set_acceptcaps_function),
5659 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5660 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5661 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5662 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5663 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5664 (gst_pad_configure_sink), (gst_pad_configure_src),
5665 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5666 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5667 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5668 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5669 (gst_pad_send_event):
5670 Use _DEBUG_OBJECT when it makes sense.
5671 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5672 Small cleanups and code reflows.
5673 Avoid caps refcounting in _accept_caps.
5674 Refactor alloc_buffer so that the code performed on the peer is in a
5675 separate function. Also if the pad does not implement a buffer alloc
5676 function, we should still check if the pad is flushing before falling
5677 back to the default allocator.
5679 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5681 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5682 Make all uses of identity and fakesink have silent=true to avoid
5683 serialising every passing data structure, which is breaking tests
5684 on FC4 for some unknown reason.
5686 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5688 * gst/parse/Makefile.am:
5689 * gst/parse/grammar.y:
5690 * gst/parse/parse.l:
5691 Reverted previous patch as it required to bump the flex dependency to
5692 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5694 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5696 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5698 * gst/parse/Makefile.am:
5699 * gst/parse/grammar.y:
5700 * gst/parse/parse.l:
5701 push & pop the state of the lexer for reentrant use case
5704 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
5706 * libs/gst/base/gstbasesrc.h:
5707 Note in the docs that the ::newsegment vfunc is not actually used by
5710 2006-07-28 Wim Taymans <wim@fluendo.com>
5712 * libs/gst/base/gstcollectpads.c:
5713 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5714 (gst_collect_pads_clear), (gst_collect_pads_flush),
5715 (gst_collect_pads_event), (gst_collect_pads_chain):
5716 When flushing a pad, also clear the queued buffer so that we don't
5717 accidentally use it when we shouldn't.
5718 Fix leaks by inreffing incomming buffer.
5719 Flush out queued buffers in case of errors.
5722 2006-07-28 Wim Taymans <wim@fluendo.com>
5724 * docs/random/phonon-gst:
5725 Random notes about a Phonon backend.
5727 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5729 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5731 * tests/check/libs/gdp.c: (gst_dp_suite):
5732 Take a whack at fixing the ppc compile using a different define to
5733 disable the broken test.
5735 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5736 Remove excess g_print()
5738 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5740 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5741 Oops, meant to uncomment this line too to dampen the noise a bit.
5743 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5745 * gst/parse/grammar.y:
5746 * gst/parse/parse.l:
5747 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5748 (GST_START_TEST), (parse_suite):
5749 Fix some of the leaks exposed by extending the parse-launch testsuite,
5750 and move the 3 I can't figure out into a separate test that won't run
5751 the pipelines unless the appropriate line is uncommented.
5753 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5755 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5756 Requesting 0 bytes before the end of the file should result in
5757 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
5760 2006-07-27 Wim Taymans <wim@fluendo.com>
5762 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
5763 Fix useless assert, a uint is always positive.
5765 * gst/gststructure.c: (gst_structure_nth_field_name),
5766 (gst_structure_foreach), (gst_structure_map_in_place):
5767 Check input arguments for public functions to avoid obvious crashes.
5769 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
5770 * plugins/elements/gstfakesink.h:
5771 Do less useless typechecking.
5773 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5775 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5776 Do not use mmap() by default since there are a number of error
5777 conditions that we would like to handle in a non-fatal way that
5778 will result in a SIGBUS if we use mmap(). Examples: external
5779 devices (USB harddrive, portable music player) being unplugged
5780 while in use; file on mounted CD/DVD that can't be read because
5781 the medium is partly damaged. Fixes #348455 and #348475.
5783 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5786 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
5789 2006-07-26 Stefan Kost <ensonic@users.sf.net>
5791 * gst/gstregistry.c:
5792 Move big documentation comment into class section header, so that it
5793 appears in the API docs.
5795 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5797 * docs/gst/gstreamer-sections.txt:
5798 Oops. Commit the docs additions too for new API.
5799 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
5801 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5803 * gst/gststructure.c: (gst_structure_id_set),
5804 (gst_structure_id_set_valist):
5805 * gst/gststructure.h:
5806 Add API for setting values into structures without performing
5807 a quark lookup, if the appropriate quark is already known.
5809 API: gst_structure_id_set
5810 API: gst_structure_id_set_valist
5812 * gst/parse/grammar.y:
5813 * gst/parse/parse.l:
5814 Remove some dead code shown by the coverage information.
5815 Don't throw a critical g_warning when encountering a syntax error,
5816 just warn and let the normal error path handle it.
5818 * plugins/elements/gstelements.c:
5819 Bump the rank of filesink up to PRIMARY so that it is preferred over
5820 gnomevfssink for file:// sink uri's
5822 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5823 (GST_START_TEST), (run_delayed_test),
5824 (gst_parse_test_element_base_init),
5825 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
5826 (gst_parse_test_element_change_state),
5827 (gst_register_parse_element), (parse_suite):
5828 Beef up the tests for parse syntax to check that more error cases
5829 fail as they are supposed to. Increases the test coverage a bit.
5831 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
5833 * docs/manual/basics-elements.xml:
5834 Fix gst_element_link() example.
5837 Mention in API docs that one should usually gst_bin_add()
5838 elements to a bin or pipeline before doing the linking.
5840 2006-07-26 Wim Taymans <wim@fluendo.com>
5842 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
5843 (gst_subbuffer_get_type), (gst_buffer_create_sub):
5844 Avoid function call for known types by keeping the buffer and
5845 subbuffer GType global.
5847 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5848 Random silly optimisations in read() path.
5850 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5852 * tools/gst-launch.c: (main):
5853 If the top-level of the parse is a normal bin, it doesn't do the
5854 right logic to run as a top-level element, so place it inside a
5857 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
5859 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
5860 Remove superfluous g_object_notify() calls, GObject does
5861 that for us automatically.
5863 2006-07-25 Stefan Kost <ensonic@users.sf.net>
5866 on Win32, use dllspec to export the debug category symbols
5868 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
5870 * gst/gsttaglist.c: (_gst_tag_initialize):
5871 Allow more than one GST_TAG_IMAGE per taglist.
5873 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
5875 * gst/gstminiobject.c:
5877 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
5878 (gst_fd_src_create):
5879 log recurring events at LOG level
5880 add more debug for when the fd gets set
5882 2006-07-21 Stefan Kost <ensonic@users.sf.net>
5884 * gst/gstparse.c: (gst_parse_launch):
5885 Also remove reentrance checks if flex is MT safe (#348179)
5886 Fix my empty ChangeLog entry below
5888 2006-07-21 Andy Wingo <wingo@pobox.com>
5890 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
5892 * libs/gst/check/Makefile.am
5893 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
5894 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
5895 * libs/gst/check/gstbufferstraw.h:
5896 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
5897 functions, thus proving I am still a GStreamer haxor. OK I wrote
5898 them a long time ago, but anyways.
5900 2006-07-21 Stefan Kost <ensonic@users.sf.net>
5903 * gst/gstparse.c: (gst_parse_launch):
5904 Check for flex version and omit mutex if we have a MT save flex
5907 2006-07-21 Wim Taymans <wim@fluendo.com>
5909 * gst/gstparse.c: (gst_parse_launch):
5910 Protect recursive calls to _parse with a recursive mutex
5913 2006-07-21 Wim Taymans <wim@fluendo.com>
5915 * tests/check/gst/gstpad.c: (GST_START_TEST):
5918 2006-07-20 Stefan Kost <ensonic@users.sf.net>
5920 * gst/gstparse.c: (gst_parse_launch):
5921 Do not hang on recursive usage of gst_parse_launch()
5923 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5926 Add some more docs, comments and FIXME 0.11s here and there
5927 and also fix some typos.
5929 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5932 Convert tabs to spaces for better readability.
5934 2006-07-20 Edward Hervey <edward@fluendo.com>
5936 * tests/check/libs/gdp.c: (gst_dp_suite):
5937 the test_buffer test fails at line 140 on ppc64 at the following
5939 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
5940 GST_BUFFER_FLAG_IN_CAPS),
5941 "GST_BUFFER_IN_CAPS flag should have been copied !");
5942 See bug #348114 for more details.
5944 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
5946 * docs/pwg/advanced-scheduling.xml:
5948 Fix typos (#348000).
5950 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
5952 * docs/pwg/intro-basics.xml:
5953 Fix wrong links (#347927).
5955 2006-07-18 Stefan Kost <ensonic@users.sf.net>
5957 * gst/gstregistry.h:
5958 * gst/gstregistryxml.c: (load_feature),
5959 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
5960 * win32/common/config.h:
5961 make --disable-index work (#342564)
5963 2006-07-18 Wim Taymans <wim@fluendo.com>
5965 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5969 The attached patch adds two missing defines to gsttrace.h when tracing
5970 is disabled. It also corrects one existing define.
5973 2006-07-17 Wim Taymans <wim@fluendo.com>
5975 * docs/gst/gstreamer-sections.txt:
5976 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
5978 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
5979 Add two functions to check and change the SIGSEGV behaviour
5980 when loading plugins.
5981 Don't mess with the SIGSEGV handler when we were told not to.
5983 API: gst_segtrap_is_enabled
5984 API: gst_segtrap_set_enabled
5986 2006-07-14 Wim Taymans <wim@fluendo.com>
5988 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5989 * tests/check/elements/filesrc.c: (GST_START_TEST):
5990 Revert fix for regression in #347408 after release.
5992 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
5994 Patch by: Antoine Tremblay <hexa00 at gmail com>
5996 * gst/gstutils.c: (gst_element_unlink):
5997 Free iterator when done (#347311).
5999 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6000 And add a test case for this.
6002 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6005 Bump nano back to CVS
6007 === release 0.10.9 ===
6009 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6012 releasing 0.10.9, "On the road again"
6014 2006-07-13 Wim Taymans <wim@fluendo.com>
6016 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6017 * tests/check/elements/filesrc.c: (GST_START_TEST):
6018 Revert pull-0 fix for release. Disable check. Fixes #347408.
6020 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6022 * libs/gst/dataprotocol/dataprotocol.c:
6023 (gst_dp_event_from_packet_1_0):
6024 Fixes #347337: failure to deserialize event packets with
6025 empty payload (only event type)
6027 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6030 do not install a .c file in the header directory
6032 2006-07-13 Edward Hervey <edward@fluendo.com>
6034 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6035 GhostPad no longer implicitely use the padtemplates of the targets.
6038 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6040 * gst/gstvalue.c: (gst_value_compare_list),
6041 (gst_value_compare_array), (_gst_value_initialize):
6042 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6043 Make GstValueArray comparison be order dependent as designed.
6044 Add checks for value lists and value array comparisons.
6047 2006-07-11 Edward Hervey <edward@fluendo.com>
6049 * gst/gstbin.c: (activate_pads),
6050 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6051 (gst_bin_change_state_func):
6052 (de)activate src pads before calling state_change on the childs.
6053 This is to avoid the case where a src ghostpad is blocked (holding the
6054 stream lock), which would block the deactivation of the ghostpad's
6056 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6057 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6058 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6059 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6060 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6061 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6062 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6063 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6064 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6065 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6066 (gst_ghost_pad_class_init),
6067 (gst_ghost_pad_internal_do_activate_push),
6068 (gst_ghost_pad_internal_do_activate_pull),
6069 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6070 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6071 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6072 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6073 GhostPads now create their internal GstProxyPad at creation (and not
6074 when they're linked, as it was being done previously).
6075 The internal and target pads are linked straight away.
6076 The data will also travel through the other pad in order to make
6077 pad blocking and probes non-hackish (the probe/block now really happens
6078 on the GhostPad and not on the target).
6079 * gst/gstpad.c: (gst_pad_set_blocked_async),
6080 (gst_pad_link_prepare), (gst_pad_push_event):
6081 Remove previous ghostpad cruft.
6082 * gst/gstutils.c: (gst_pad_add_data_probe),
6083 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6084 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6085 (gst_pad_remove_buffer_probe):
6086 Remove previous ghost pad cruft.
6087 Added more detailed debug statements.
6088 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6089 Fix the testsuite for refcounting changes.
6090 The comments about who has references were correct, but the refcount
6091 being checked wasn't the same (!?!).
6095 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6097 * docs/gst/gstreamer-sections.txt:
6098 * gst/gstconfig.h.in:
6099 More docs for configuration options, add docs to gtk-doc.
6101 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6104 * gst/gstconfig.h.in:
6105 * win32/common/config.h:
6106 Fix build when disabling tracing (fixes #344016). Also start to document
6107 the defines that disable the sub-systems.
6109 2006-07-10 Edward Hervey <edward@fluendo.com>
6111 * gst/gst.c: (ensure_current_registry_forking):
6112 let's make valgrind happy...
6114 2006-07-09 Wim Taymans <wim@fluendo.com>
6116 * gst/gstelement.c: (activate_pads),
6117 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6118 Better pad activation code: Reset the collect value too on resync.
6121 2006-07-09 Wim Taymans <wim@fluendo.com>
6123 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6124 (gst_pad_activate_push):
6125 Use some more macros where it makes sense.
6126 Allow pad mode switching instead of asserting. When a pad
6127 is activated in one mode and we activate it in another,
6128 deactivate it first before activating it in a different mode.
6131 2006-07-08 Andy Wingo <wingo@pobox.com>
6133 * tools/gst-launch.c (main): Handle err == NULL.
6135 * gst/gst.c (init_post, ensure_current_registry)
6136 (ensure_current_registry_forking)
6137 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6138 factoring out the registry scanning into separate functions. Don't
6139 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6140 Better environment var name/interface suggestions accepted.
6142 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6144 * gst/gstobject.c: (gst_object_set_name_default),
6145 (gst_object_set_name):
6146 Random micro-optimisation: don't use a hash table
6147 with strings as keys and the usual strdup/strcmp
6148 involved, but rather just use the GQuark of the
6149 type name as key, since it needs to be looked up
6150 anyway to get the type name string.
6152 * tests/check/gst/gstobject.c: (GST_START_TEST):
6155 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6157 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6158 (gst_bin_iterate_all_by_interface):
6159 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6160 GTypes are gulongs and thus the top 4 bytes might be cut
6161 off on some platforms when doing GPOINTER_TO_INT, leading
6162 to invalid GTypes and bad things happening (see RH bug #179654).
6163 Also add a check to make sure the type passed in is really
6166 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6171 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6175 * gst-element-check.m4:
6176 * gst-element-check.m4.in:
6177 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6178 instead of the unversioned gst-inspect (#324176, #168659).
6180 2006-07-06 Wim Taymans <wim@fluendo.com>
6183 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6186 2006-07-06 Wim Taymans <wim@fluendo.com>
6188 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6189 (gst_base_src_wait), (gst_base_src_update_length),
6190 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6191 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6192 (gst_base_src_loop), (gst_base_src_start),
6193 (gst_base_src_activate_pull):
6195 blocksize == 0 now means the default blocksize when working in push
6197 Remove some pointless asserts in _wait function.
6198 Fix offset/length calculations and EOS handling. We can now pull 0
6199 bytes as well, which is allowed.
6200 use _check_get_range() to decide if we can operate in _pull based
6202 Fix refcounting leak when check_get_range function was not
6204 API GstBaseSrc::blocksize range can be 0 too now (default)
6206 * tests/check/elements/filesrc.c: (GST_START_TEST),
6208 Added check to test _get_range() behaviour.
6210 2006-07-06 Wim Taymans <wim@fluendo.com>
6212 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6213 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6214 (gst_pad_pull_range):
6216 Lots of comments and docs added to the pad functions.
6217 Flesh out the expected behaviour of the get_range() functions.
6219 2006-07-06 Wim Taymans <wim@fluendo.com>
6224 * gst/gstiterator.h:
6228 Remove comma at end of enumerator list.
6230 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
6232 * win32/common/libgstbase.def:
6233 * win32/common/libgstdataprotocol.def:
6234 * win32/common/libsgtreamer.def:
6235 Add new exported functions.
6237 2006-07-05 Wim Taymans <wim@fluendo.com>
6239 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6240 Add some more docs here and there.
6242 2006-07-05 Wim Taymans <wim@fluendo.com>
6244 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6245 (gst_base_sink_loop), (gst_base_sink_get_position):
6246 When operating in pull mode update the offset so that we
6249 2006-07-05 Wim Taymans <wim@fluendo.com>
6251 * gst/gstregistryxml.c: (read_string):
6252 Avoid strdup. (will happen in libxml, but hey!)
6257 2006-07-05 Wim Taymans <wim@fluendo.com>
6259 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6260 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6262 No point in checking if the size of the subbuffer > 0, the
6263 code handles it correclty as demonstrated by unit test.
6264 Also add a unit test for the zero sized _new_and_alloc and
6265 _copy. Fixes #346663.
6267 2006-07-05 Wim Taymans <wim@fluendo.com>
6269 * libs/gst/base/gstbasetransform.c:
6270 (gst_base_transform_prepare_output_buffer),
6271 (gst_base_transform_buffer_alloc),
6272 (gst_base_transform_handle_buffer):
6273 Make sure the buffer we pass to transform_ip has a refcount of
6274 1 and thus is writable. Fixes #343196
6276 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6278 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6279 (gst_file_src_init), (gst_file_src_set_property),
6280 (gst_file_src_get_property), (gst_file_src_map_region):
6281 * plugins/elements/gstfilesrc.h:
6282 Add "sequential" property, off by default, to use madvise and hint
6283 to the kernel that sequential access is desired.
6284 Touch all retrieved pages by default to ensure they are pulled
6285 into memory. (Closes #345720)
6287 2006-07-03 Wim Taymans <wim@fluendo.com>
6289 * docs/design/part-block.txt:
6290 * docs/design/part-dynamic.txt:
6293 2006-07-03 Wim Taymans <wim@fluendo.com>
6295 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6296 (gst_caps_unref), (gst_static_caps_get),
6297 (gst_caps_append_structure):
6298 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6299 Use GSlice when the glib we build against is >= 2.10
6301 2006-07-03 Wim Taymans <wim@fluendo.com>
6303 * gst/gstelement.c: (gst_element_pads_activate):
6304 Small cleanup in pad activation code.
6306 2006-07-03 Wim Taymans <wim@fluendo.com>
6308 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6310 * gst/gst-i18n-app.h:
6311 * gst/gst-i18n-lib.h:
6312 * tools/gst-inspect.c: (print_signal_info):
6313 The attached patch will make the inclusion of gettext.h unconditional in
6314 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6315 libintl.h in tools/gst-inspect.c.
6316 This allows use of --disable-nls again and fixes #344642.
6318 2006-07-03 Edward Hervey <edward@fluendo.com>
6320 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6321 Implement pad blocking on events according to part-block.txt.
6322 More comments on behaviour.
6323 * tests/check/gst/gstevent.c: (test_event):
6324 Send event to peer pad of blocked pad (else it will block).
6326 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6328 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6329 (gst_check_run_suite):
6330 if we get the wrong message, give us the types as string
6331 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6333 * tests/check/elements/filesrc.c: (GST_START_TEST):
6334 add a test for trying to open a non-existing file
6336 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6338 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6339 add a test for adding self
6341 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6343 * libs/gst/check/gstcheck.h:
6344 add some assert_ as alias for fail_unless_*
6345 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6346 increase test coverage
6348 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6351 include lcov.mak for lcov coverage generation
6352 * tools/Makefile.am:
6355 2006-07-02 Edward Hervey <edward@fluendo.com>
6357 * tests/check/elements/.cvsignore:
6360 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6363 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6364 * tests/check/Makefile.am:
6367 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6369 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6370 remove gst_caps_simplify; it was not declared and not used
6371 and deprecated in 0.8
6373 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6375 * docs/faq/gst-uninstalled:
6376 don't put empty paths on PYTHONPATH
6377 * docs/gst/gstreamer-sections.txt:
6378 remove some symbols that are not there
6380 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6382 * gst/gstcaps.c: (gst_caps_compare_structures):
6384 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6385 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6388 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6390 * libs/gst/dataprotocol/Makefile.am:
6391 build dataprotocol test by linking to the lib, instead of
6392 compiling the source, so we get coverage
6393 * tests/check/Makefile.am:
6394 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6395 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6396 add a test for filesrc
6398 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6400 * tests/check/gst/gststructure.c: (GST_START_TEST),
6401 (gst_structure_suite):
6402 Push coverage from 59.04% to 70.00%
6404 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6406 * tests/check/Makefile.am:
6407 gst-inspect every element; this makes sure that we also get
6408 coverage on element's get/set functions
6410 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6413 set CFLAGS and friends to -O0 if gcov is being used
6416 * libs/gst/base/Makefile.am:
6417 * libs/gst/check/Makefile.am:
6418 * libs/gst/controller/Makefile.am:
6419 * libs/gst/dataprotocol/Makefile.am:
6420 * libs/gst/net/Makefile.am:
6421 * plugins/elements/Makefile.am:
6422 * plugins/indexers/Makefile.am:
6423 add makefile rules to generate gcov data and clean up
6424 * tests/check/Makefile.am:
6425 add a coverage target that generates an html overview
6428 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6430 * tests/check/elements/fakesink.c:
6431 * tests/check/elements/fakesrc.c:
6432 * tests/check/elements/fdsrc.c:
6433 * tests/check/elements/identity.c:
6434 * tests/check/generic/sinks.c: (gst_sinks_suite):
6435 * tests/check/generic/states.c:
6436 * tests/check/gst/gst.c:
6437 * tests/check/gst/gstabi.c:
6438 * tests/check/gst/gstbin.c:
6439 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6440 * tests/check/gst/gstbus.c: (gst_bus_suite):
6441 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6442 * tests/check/gst/gstelement.c:
6443 * tests/check/gst/gstevent.c: (gst_event_suite):
6444 * tests/check/gst/gstghostpad.c:
6445 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6446 * tests/check/gst/gstmessage.c: (gst_message_suite):
6447 * tests/check/gst/gstminiobject.c:
6448 * tests/check/gst/gstobject.c:
6449 * tests/check/gst/gstpad.c:
6450 * tests/check/gst/gstpipeline.c:
6451 * tests/check/gst/gstplugin.c:
6452 * tests/check/gst/gstquery.c: (gst_query_suite):
6453 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6454 * tests/check/gst/gststructure.c:
6455 * tests/check/gst/gstsystemclock.c:
6456 * tests/check/gst/gsttag.c:
6457 * tests/check/gst/gsttask.c: (gst_task_suite):
6458 * tests/check/gst/gstutils.c:
6459 * tests/check/gst/gstvalue.c:
6460 * tests/check/libs/adapter.c:
6461 * tests/check/libs/basesrc.c:
6462 * tests/check/libs/collectpads.c:
6463 * tests/check/libs/controller.c:
6464 * tests/check/libs/gdp.c: (gst_dp_suite):
6465 * tests/check/libs/gstnetclientclock.c:
6466 * tests/check/libs/gstnettimeprovider.c:
6467 * tests/check/libs/libsabi.c: (libsabi_suite):
6468 * tests/check/libs/typefindhelper.c:
6469 * tests/check/pipelines/cleanup.c:
6470 * tests/check/pipelines/parse-launch.c:
6471 * tests/check/pipelines/simple-launch-lines.c:
6472 * tests/check/pipelines/stress.c: (stress_suite):
6475 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6477 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6478 * libs/gst/check/gstcheck.h:
6479 create a macro and function so that the simple unit test
6480 case can be just one macro to create main()
6482 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6484 * gst/gstbin.c: (gst_bin_restore_thyself):
6485 * gst/gstxml.c: (gst_xml_make_element):
6486 Fix deserialisation from XML. Set parent manually
6487 instead of using gst_bin_add(), since gst_bin_add()
6488 will unlink all pads of the element being added.
6491 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6493 Patch by: Peter Kjellerstedt <pkj at axis com>
6495 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6496 Fix missing g_strdup() and double free when using the
6497 --gst-plugin-load command line option (#346097).
6499 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6502 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6504 * libs/gst/net/gstnetclientclock.c:
6505 * libs/gst/net/gstnettimeprovider.c:
6506 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6508 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6510 * docs/manual/advanced-dataaccess.xml:
6511 Fix buffer probe example compilation in
6514 2006-06-22 Edward Hervey <edward@fluendo.com>
6516 * gst/gstelement.c: (gst_element_pads_activate):
6517 We need to deactivate src pads first and then sink pads.
6518 The reason is the src pads might be blocking while holding the streaming
6519 lock, so we need to deactivate them first so that deactivating the sink
6520 pads doesn't block (since it will require the streaming lock).
6522 2006-06-22 Wim Taymans <wim@fluendo.com>
6524 * libs/gst/base/gstbasetransform.c:
6525 (gst_base_transform_buffer_alloc):
6526 Forgot to remove two unneeded unrefs.
6527 Simplify a check _is_equal allready checks the obvious case.
6529 2006-06-22 Wim Taymans <wim@fluendo.com>
6531 * docs/design/part-block.txt:
6532 Some docs about what pad_block should do.
6534 2006-06-22 Wim Taymans <wim@fluendo.com>
6536 * gst/gstcaps.c: (gst_caps_replace):
6537 Fix crasher when passed NULL. Doc clarification.
6538 Optimize for the trivial case.
6540 * gst/gstpipeline.c: (gst_pipeline_change_state):
6543 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6544 Small documentation cleanup.
6546 * libs/gst/base/gstbasetransform.c:
6547 (gst_base_transform_buffer_alloc):
6548 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6549 is what we need and it avoids a whole lot of redundant
6550 refcount operations.
6552 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6554 Patch by: Philip Jägenstedt <philip at lysator liu se>
6556 * docs/manual/advanced-dataaccess.xml:
6557 Fix 'Embedding static elements' section to use
6558 GST_PLUGIN_DEFINE_STATIC (#345607).
6560 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6562 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6563 Attempt to 'fix' spuriously failing test case: it seems like the
6564 timeout of half a second is simply too small when the system is under
6565 load otherwise, and the timeout doesn't really seem to serve any
6566 particular purpose here. Give the pipeline a few seconds to preroll
6567 first, and then give it another half a second to go from PAUSED to
6568 PLAYING and marshal the message into the main thread.
6570 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6572 * tools/gst-feedback-m.m:
6573 Don't only use unversioned tools, try versioned tools as well
6576 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6578 * gst/gstbus.c: (gst_bus_class_init):
6579 Fix some typos, make docs more explicit.
6581 2006-06-20 Wim Taymans <wim@fluendo.com>
6583 * tests/check/gst/gstghostpad.c: (block_callback),
6584 (GST_START_TEST), (gst_ghost_pad_suite):
6585 Added some more ghostpad tests, mainly blocking
6588 2006-06-16 Wim Taymans <wim@fluendo.com>
6590 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6591 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6592 (gst_file_sink_event), (gst_file_sink_render):
6593 * plugins/elements/gstfilesink.h:
6594 Check if we can seek in the file instead of assuming
6595 we always can. Post an error when we are asked to seek in a
6596 non-seekable file (like a fifo). Fixes #343312.
6599 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6601 * tools/gst-launch.1.in:
6602 Un-garble (fourcc) bit in filtered caps section.
6604 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6606 * docs/manual/advanced-autoplugging.xml:
6607 * docs/manual/basics-helloworld.xml:
6608 * docs/manual/highlevel-components.xml:
6609 Don't leak bus reference in sample code.
6611 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6614 Add default for new --enable-plugin-docs switch.
6617 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6621 Use new ENABLE_PLUGIN_DOCS conditional.
6623 2006-06-14 Wim Taymans <wim@fluendo.com>
6625 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6626 Make it clear with a FIXME and a real define what the #if 0
6627 previously disabled.
6629 2006-06-14 Wim Taymans <wim@fluendo.com>
6631 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6632 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6633 * libs/gst/base/gstbasetransform.c:
6634 (gst_base_transform_sink_eventfunc):
6635 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6636 Don't randomly and silently reset a segment when the format
6637 changes as this is a bug somewhere upstream. Fixes #330379.
6639 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6641 Patch by: Wouter Paesen <wouter at kangaroot net>
6643 * libs/gst/controller/gstcontroller.c:
6644 (gst_controlled_property_new):
6645 Fix controlling of float properties (#344849).
6647 * tests/check/libs/controller.c:
6648 (gst_test_mono_source_get_property),
6649 (gst_test_mono_source_set_property),
6650 (gst_test_mono_source_class_init), (GST_START_TEST):
6651 While we're at it, add some float stuff to unit test.
6653 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6656 * docs/images/gdp-header.svg:
6658 * docs/libs/Makefile.am:
6659 * docs/libs/gdp-header.png:
6660 * libs/gst/dataprotocol/dataprotocol.c:
6661 add it to the API docs
6662 * docs/manual/intro-motivation.xml:
6665 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6667 * gst/gst.c: (scan_and_update_registry), (init_post):
6668 If the fork()'ed child process can't write the updated registry cache
6669 file to disk for some reason, make it exit with a failure exit code,
6670 so that the parent can then re-scan the plugins itself and update the
6671 registry structures in memory and work with that (rather than failing
6672 when creating elements because seemingly no plugins are available).
6673 Refactor registry scanning code into separate function for this and
6674 also separate fork() and non-fork() code paths. Fixes #344748.
6676 2006-06-13 Wim Taymans <wim@fluendo.com>
6678 * docs/manual/advanced-dataaccess.xml:
6679 Fix wrong PluginDesc. Fixes #344755.
6681 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6683 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6684 Fix silly bug that prevented us from creating
6685 ~/.gstreamer-0.10 and writing the registry in one
6686 go (the first call to g_mkstemp() would overwrite the
6687 placeholder in the template string, so the second call
6688 to g_mkstemp() after creating the missing directory
6689 would then error out with 'invalid argument').
6691 2006-06-13 Edward Hervey <edward@fluendo.com>
6693 * gst/gst.c: (init_post):
6696 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6698 * gst/glib-compat-private.h:
6699 * gst/glib-compat.c:
6700 * gst/glib-compat.h:
6701 * gst/gstvalue.c: (gst_value_serialize_flags):
6702 remove GLib 2.6 compatibility code
6704 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
6706 * gst/parse/Makefile.am:
6707 Fix build with 'make -j N' even more (#340016).
6709 2006-06-12 Wim Taymans <wim@fluendo.com>
6711 * docs/gst/gstreamer-sections.txt:
6714 2006-06-12 Wim Taymans <wim@fluendo.com>
6716 * gst/gstsegment.c: (gst_segment_set_duration),
6717 (gst_segment_set_last_stop), (gst_segment_set_seek),
6718 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6719 (gst_segment_to_running_time), (gst_segment_clip):
6720 Use G_UNLIKELY to help the compiler a bit.
6722 2006-06-12 Wim Taymans <wim@fluendo.com>
6724 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6726 * gst/gstevent.c: (gst_event_get_type):
6728 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6730 constify quark registration strings. Fixes #344115
6731 Avoid unneeded type checking is _pad_push() by internally
6732 calling gst_pad_chain_unchecked().
6734 2006-06-12 Wim Taymans <wim@fluendo.com>
6736 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6737 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6738 (gst_subbuffer_finalize), (gst_buffer_create_sub),
6739 (gst_buffer_is_span_fast), (gst_buffer_span):
6740 Init _type for consistency.
6741 Use _FLAGS macro to avoid type check.
6742 Avoid unneeded type checks in subbufer code.
6744 2006-06-12 Wim Taymans <wim@fluendo.com>
6746 * gst/gst.c: (gst_debug_help):
6747 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6748 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6749 (gst_plugin_feature_list_free):
6750 * gst/gstregistry.c: (gst_registry_add_plugin),
6751 (gst_registry_add_feature), (gst_registry_plugin_filter),
6752 (gst_registry_feature_filter), (gst_registry_find_plugin),
6753 (gst_registry_find_feature), (gst_registry_get_plugin_list),
6754 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
6755 * gst/gstregistryxml.c: (load_feature),
6756 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
6757 * gst/gstminiobject.c: (gst_mini_object_unref),
6758 (gst_mini_object_replace), (gst_value_mini_object_free),
6759 (gst_value_mini_object_copy):
6760 Use _CAST macros to avoid unneeded type checking.
6761 Added some more G_UNLIKELY.
6763 2006-06-12 Wim Taymans <wim@fluendo.com>
6766 Avoid unneeded type checking.
6767 API: GST_BUFFER_IS_DISCONT
6769 * gst/gstminiobject.h:
6770 Avoid type check in flag accessor.
6772 * gst/gstelementfactory.h:
6774 * gst/gstpluginfeature.h:
6776 API: GST_ELEMENT_FACTORY_CAST
6777 API: GST_PLUGIN_CAST
6778 API: GST_PLUGIN_FEATURE_CAST
6780 2006-06-12 Wim Taymans <wim@fluendo.com>
6782 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
6784 Add G_UNLIKELY in type registration.
6785 Avoid type check in _ref/_unref since that is also
6788 2006-06-12 Wim Taymans <wim@fluendo.com>
6790 * gst/gsterror.c: (gst_g_error_get_type):
6791 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6792 (gst_static_pad_template_get_type):
6793 * gst/gsttaglist.c: (gst_tag_list_get_type):
6794 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
6795 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
6796 * gst/gsturi.c: (gst_uri_handler_get_type):
6797 * gst/gstvalue.c: (gst_date_get_type):
6798 * gst/gstxml.c: (gst_xml_get_type):
6799 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
6800 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6801 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
6802 Add G_UNLIKELY in type registration.
6804 2006-06-12 Wim Taymans <wim@fluendo.com>
6806 * tools/gst-inspect.c: (print_signal_info):
6807 Properly print enum values.
6809 2006-06-12 Wim Taymans <wim@fluendo.com>
6811 * gst/gstinfo.c: (gst_debug_set_active),
6812 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
6814 Add some G_[UN]LIKELY.
6815 Maintain __gst_debug_min to avoid formatting the arguments of
6816 debug messages that will be dropped anyway to avoid a lot of
6817 overhead from the debugging system.
6819 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6823 add missing files containing translatable strings, tell intltool about
6826 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6828 * tests/check/libs/.cvsignore:
6829 add test-binary to ignore list
6831 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6833 * docs/libs/gstreamer-libs-docs.sgml:
6834 reorder (put dp into a chapter) and indent
6836 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6841 === release 0.10.8 ===
6843 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6846 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
6848 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6850 * gst/gst.c: (init_post):
6851 move pid declaration to declaration block
6853 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6855 * gst/gst.c: (init_post):
6856 use _exit() instead of exit() in our forked child; this ensures
6857 that none of the registered exit handlers from whatever is using
6858 GStreamer get executed. This fixes gnome-mixer-applet failing
6859 to load, because ORBit would shut down.
6860 Spotted by: Edward Hervey <edward@fluendo.com>
6861 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
6864 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6869 === release 0.10.7 ===
6871 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6874 releasing 0.10.7, "Soepeke, ik zie ou"
6876 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
6899 * win32/common/config.h:
6902 2006-06-07 Wim Taymans <wim@fluendo.com>
6904 * gst/gstindex.c: (gst_index_gtype_resolver):
6905 * tools/gst-xmlinspect.c: (print_plugin_info):
6906 Fix leak spotted by coverity checker. Fixes #343827
6907 Fix another other leak found by paolo borelli.
6909 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6911 * libs/gst/dataprotocol/dataprotocol.c:
6912 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6913 (gst_dp_version_get_type), (gst_dp_init),
6914 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
6915 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
6916 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
6917 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
6918 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
6919 (gst_dp_packetizer_free):
6920 * libs/gst/dataprotocol/dataprotocol.h:
6921 API: add a GstDPPacketizer object, and create/free functions
6922 API: add GstDPVersion enum
6923 Add 1.0 event function that uses the string serialization
6924 Serialize more useful buffer flags
6927 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6929 * tests/check/Makefile.am:
6930 * tests/check/gst/gstabi.c:
6931 * tests/check/gst/struct_ppc64.h:
6932 * tests/check/libs/libsabi.c:
6933 * tests/check/libs/struct_ppc64.h:
6934 add ppc64 structure sizes
6936 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6938 * tests/check/Makefile.am:
6939 * tests/check/gst/gstabi.c:
6940 * tests/check/gst/struct_x86_64.h:
6941 * tests/check/libs/libsabi.c:
6942 * tests/check/libs/struct_x86_64.h:
6943 generate and add structure size lists for x86_64
6945 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6947 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6948 * libs/gst/check/gstcheck.h:
6949 factor out the method from tests that checks size of structures,
6950 and add code to generate the header containing these sizes
6951 * tests/check/gst/gstabi.c: (GST_START_TEST):
6952 * tests/check/gst/struct_i386.h:
6953 * tests/check/libs/libsabi.c: (GST_START_TEST):
6954 * tests/check/libs/struct_i386.h:
6957 2006-06-06 Michael Smith <msmith@fluendo.com>
6960 Don't use c++-style comments, fixes #343929
6962 2006-06-05 Edward Hervey <edward@fluendo.com>
6965 plugin_paths is not used if we build without registry support.
6967 * gst/gstsegment.c: (gst_segment_copy):
6968 _copy() was always returning NULL...
6970 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6972 * libs/gst/dataprotocol/dataprotocol.c:
6973 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6974 (gst_dp_packet_from_event):
6977 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6979 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
6980 make sure we unset caps
6982 2006-06-02 Michael Smith <msmith@fluendo.com>
6984 * libs/gst/check/gstcheck.c: (gst_check_init),
6985 (gst_check_chain_func):
6986 * libs/gst/check/gstcheck.h:
6987 Add a cond/mutex to the check support lib, signal this whenever we
6988 add to the buffers list. This will allow tests to not busy-wait on
6991 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6993 * libs/gst/dataprotocol/dataprotocol.c:
6994 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6995 (gst_dp_packet_from_event):
6996 factor out some common header init code
6998 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7000 * docs/libs/gstreamer-libs-sections.txt:
7001 * docs/libs/tmpl/gstdataprotocol.sgml:
7002 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7003 * libs/gst/dataprotocol/dataprotocol.h:
7004 API: make gst_dp_crc() public
7006 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7008 * plugins/indexers/gstindexers.c: (plugin_init):
7009 conditionally register fileindexer (fixes #343598)
7011 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7013 * gst/gsttagsetter.h:
7014 Can't cast ifaces to a class
7016 * libs/gst/net/gstnetclientclock.h:
7017 * libs/gst/net/gstnettimeprovider.h:
7018 * plugins/elements/gstfakesink.h:
7019 * plugins/elements/gstfakesrc.h:
7020 * plugins/elements/gstfdsink.h:
7021 * plugins/elements/gstfdsrc.h:
7022 * plugins/elements/gstfilesink.h:
7023 * plugins/elements/gstfilesrc.h:
7024 * plugins/elements/gstidentity.h:
7025 * plugins/elements/gstqueue.h:
7026 * plugins/elements/gsttee.h:
7027 * plugins/indexers/gstfileindex.c:
7028 * plugins/indexers/gstmemindex.c:
7029 * tests/old/examples/plugins/example.h:
7030 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7032 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7034 * libs/gst/dataprotocol/dataprotocol.c:
7035 (gst_dp_header_from_buffer):
7036 make sure we zero the whole ABI-compatible area
7038 2006-06-01 Wim Taymans <wim@fluendo.com>
7040 Patch by: Alessandro Decina <alessandro at nnva dot org>
7042 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7043 Make sure the EOS flag is cleared from pads after a flush
7044 or stop. Fixes #343538.
7046 * tests/check/libs/collectpads.c: (GST_START_TEST),
7047 (gst_collect_pads_suite):
7048 Added test for collectpads reusage after EOS.
7050 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7053 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7054 * win32/common/libgstbase.def:
7055 export gst_collect_pads_set_flushing
7056 * win32/common/libgstreamer.def:
7057 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7058 gst_value_fraction_multiply
7059 * win32/vs6/gst_inspect.dsp:
7060 add a link to intl.lib
7062 2006-05-30 Wim Taymans <wim@fluendo.com>
7064 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7065 (gst_collect_pads_chain):
7066 Handle the case where a pad is removed from the collection
7067 that could cause the other pads to become collectable.
7069 2006-05-30 Wim Taymans <wim@fluendo.com>
7072 Clarify the use of _release_request_pad() and
7073 _get_request_pad() a bit better.
7075 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7076 (gst_adapter_take_buffer):
7077 Fix some doc and comment typos.
7079 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7081 * docs/gst/gstreamer-sections.txt:
7082 * docs/libs/gstreamer-libs-sections.txt:
7083 add declared symbols
7085 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7087 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7088 Add debug that can be enabled using a #define at the top of the file,
7089 for dumping stats about how late/early we were when waking up from
7090 waiting on the clock.
7092 2006-05-30 Wim Taymans <wim@fluendo.com>
7094 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7095 When rebuilding the pad list, don't leak the previous list.
7097 2006-05-30 Wim Taymans <wim@fluendo.com>
7099 Patch by: Lutz Mueller <lutz at topfrose dot de>
7101 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7102 (gst_base_src_get_query_types), (gst_base_src_update_length):
7103 Publish supported query types.
7104 Update last_stop field in get_range mode so the position
7105 query works. Fixes #342321.
7107 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7109 * docs/gst/gstreamer-sections.txt:
7110 * gst/gsttaglist.c: (_gst_tag_initialize):
7112 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7114 2006-05-30 Wim Taymans <wim@fluendo.com>
7116 Patch by: Alessandro Decina <alessandro at nnva dot org>
7118 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7119 Unlock mutex when removing an unknown pad.
7122 * tests/check/Makefile.am:
7123 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7124 (push_event), (setup), (teardown), (GST_START_TEST),
7125 (gst_collect_pads_suite), (main):
7126 Added collecpads check, disabled for now as check crashes for
7129 2006-05-29 Wim Taymans <wim@fluendo.com>
7131 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7132 Don't leak pads lists.
7134 2006-05-29 Wim Taymans <wim@fluendo.com>
7136 * docs/libs/gstreamer-libs-sections.txt:
7137 * libs/gst/base/gstcollectpads.c:
7138 (gst_collect_pads_set_flushing_unlocked),
7139 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7140 (gst_collect_pads_stop):
7141 * libs/gst/base/gstcollectpads.h:
7142 API: gst_collect_pads_set_flushing()
7143 Added api to set the pads to flushing, useful for seeking
7144 code in elements using collectpads.
7145 Clear segment when receiving a flush.
7147 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
7149 * gst/gst.c: (add_path_func), (init_post):
7150 Don't scan registry paths passed via --gst-plugin-path immediately
7151 (will crash, because absolutely nothing is set up and no types are
7152 registered etc.); do this later in init_post(). Fixes #343057.
7154 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
7156 * gst/gst.c: (init_post):
7157 if we have fork, fork while reading/rebuilding the registry
7158 so the parent doesn't take the hit of having all plugins loaded
7159 in memory. Fixes #342777.
7161 Check if we have fork()
7162 * win32/common/config.h.in:
7165 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7167 * plugins/elements/gstelements.c:
7168 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7169 (gst_file_src_init), (gst_file_src_set_property),
7170 (gst_file_src_get_property), (gst_file_src_start):
7171 * plugins/elements/gstfilesrc.h:
7172 API: GstFileSrc::use-mmap
7174 Add a use-mmap property to enable easier testing of all code paths.
7175 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7176 in the absence of gnomevfssrc. (Closes #340501)
7178 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7180 * tools/gst-inspect.c:
7181 Add missing include, removes warning of ngettext not being defined on
7184 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7186 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7187 Handle NULL input and output pointers silently as a failed conversion,
7188 rather than g_warnings.
7190 2006-05-25 Wim Taymans <wim@fluendo.com>
7192 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7193 Initialize variable before using. Fixes #342820.
7195 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
7197 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7198 Fix off-by-one bug that would only allow peeks of N-1 bytes
7199 from the start even if the buffer to typefind on contains
7200 in fact N bytes of data (makes vorbis typefinding from a
7201 vorbis identification header buffer work).
7203 * tests/check/Makefile.am:
7204 * tests/check/libs/.cvsignore:
7205 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7206 (gst_typefindhelper_suite), (main), (foobar_typefind),
7208 Add very basic unit test for gst_type_find_helper_for_buffer()
7209 that checks for the problem fixed above.
7211 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
7213 * tools/gst-inspect.c: (print_interfaces),
7214 (print_element_properties_info), (print_element_list), (main):
7215 add more translatable strings
7217 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
7219 Patch by: Julien Moutte <julien at moutte net>
7221 * docs/gst/gstreamer-sections.txt:
7222 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7224 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7225 (gst_fake_sink_preroll):
7226 * plugins/elements/gstfakesink.h:
7227 API: Add new GstFakeSink::preroll-handoff signal (#337100).
7229 2006-05-23 Wim Taymans <wim@fluendo.com>
7231 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7233 Added _CUSTOM error and success GstFlowReturn that can be
7234 used be elements internally.
7235 Added macro to check for SUCCESS flowreturns.
7236 API: GST_FLOW_CUSTOM_SUCCESS
7237 API: GST_FLOW_CUSTOM_ERROR
7238 API: GST_FLOW_IS_SUCCESS
7240 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7241 Added check for GstFlowReturn sanity.
7243 2006-05-23 Wim Taymans <wim@fluendo.com>
7245 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7247 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7248 (gst_collect_pads_event):
7249 clear/reset segment info in FLUSH_STOP.
7252 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7254 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7255 (gst_collect_pads_check_collected):
7256 Flush queued buffer on _stop(), fixes playing again (#342454)
7258 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7260 * tests/check/gst/gststructure.c: (GST_START_TEST),
7261 (gst_structure_suite):
7262 add a test for a complete structure
7264 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7266 * docs/faq/developing.xml:
7268 * docs/faq/troubleshooting.xml:
7269 * docs/faq/using.xml:
7270 Some minor FAQ updates that won't change the fact that
7271 our FAQ is badly structured, full of information hardly
7272 anyone new to GStreamer needs to know and lacking lots
7273 of information people constantly ask for.
7275 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7277 * gst/gstpad.c: (gst_pad_set_caps):
7278 Short-circuit gst_pad_set_caps if setting the existing
7279 caps pointer again, and avoid printing debug and
7280 reffing/unreffing the caps.
7282 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7283 There's actually no need to set the caps before pushing -
7284 the acceptcaps method will handle it anyway.
7286 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7288 * docs/gst/gstreamer-sections.txt:
7289 * win32/common/libgstreamer.def:
7290 * gst/gstutils.c: (gst_element_seek_simple):
7292 API: add gst_element_seek_simple() (#342238).
7294 2006-05-18 Edward Hervey <edward@fluendo.com>
7296 * gst/gsttypefind.c: (gst_type_find_get_type):
7297 * gst/gsttypefind.h:
7298 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7299 registered for GstTypeFind pointers. This allows wrapping the structure
7300 in bindings (i.e. gst-python).
7302 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7304 * gst/gsttagsetter.c:
7305 Docs additions and fixes (see #339918).
7307 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7309 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7310 The caps intersection algorithm can produce multiple copies of the
7311 caps. Until that is fixed, we need to simplify the result to be
7312 sure whether the allowed caps are fixed or not.
7314 * plugins/elements/gstqueue.c: (gst_queue_init),
7315 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7316 (gst_queue_push_one):
7317 Proxied buffer alloc should not set the caps on the source pad.
7318 When pushing buffers, we always accept the caps change that triggers.
7319 This prevents negotiation errors caused by caps changing mid-stream
7320 and then being refused on our source pad (because upstream is now
7321 refusing those caps).
7323 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7325 * tests/examples/helloworld/helloworld.c: (main):
7326 Must plug audioconvert and audioresample between decoder
7329 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7331 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7332 (load_feature), (load_plugin):
7333 Allow empty strings for some of the plugin fields so we don't
7334 drop valid plugin entries that were written out correctly
7337 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7339 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7340 Use g_remove and g_rename instead of remove and rename that don't
7341 handle utf8 characters. rename was failing for users who had specific
7342 characters in their name then the registry was built at each
7344 * win32/vs6/gst_inspect.dsp:
7345 * win32/vs6/gst_launch.dsp:
7346 * win32/vs6/libgstbase.dsp:
7347 * win32/vs6/libgstcoreelements.dsp:
7348 * win32/vs6/libgstreamer.dsp:
7349 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7350 build of libgstreamer and clean unused libraries in projects link
7353 2006-05-17 Edward Hervey <edward@fluendo.com>
7355 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7356 The queue is not responsible for pushing an EOS when receiving a fatal
7357 flow error. It's up to the real element driving the pipeline to do that.
7359 2006-05-16 Edward Hervey <edward@fluendo.com>
7361 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7362 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7363 buffer returned a fatal error. It should just send an EOS and stop
7365 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7366 when pushing buffers on the queue and will be able to handle the event.
7368 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7370 * docs/manual/basics-bins.xml:
7371 * docs/manual/basics-init.xml:
7372 Fix typos and minor errors in sample code (#341856).
7374 2006-05-16 Wim Taymans <wim@fluendo.com>
7376 * docs/design/part-qos.txt:
7377 Fix indexes in formulas to make more sense.
7379 2006-05-15 Wim Taymans <wim@fluendo.com>
7381 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7382 Don't report POSITION based on clock time if sync is
7385 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7388 Add cast to make compiler happy - refcount variable was a gint
7389 in GstObject but is a guint in GObject and g_atomic_int_get()
7392 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7394 * gst/parse/Makefile.am:
7395 chain commands using &&, which also makes parallel make work
7397 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7399 * docs/gst/gstreamer-sections.txt:
7405 === release 0.10.6 ===
7407 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7410 releasing 0.10.6, "Take the cannoli"
7412 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7414 * tools/gst-launch.c: (print_tag):
7415 Fix use of uninitialized variable in the hypothetical
7416 case that some broken plugin creates a GST_TAG_IMAGE
7417 tag containing a NULL buffer (#341667).
7419 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7421 * tools/gst-launch.c: (print_tag):
7422 Print something more intelligible for image tags when
7423 using the -t switch (#341556).
7425 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7430 define GST_MAJORMINOR so we have it available in win32/common/config.h
7431 Possibly remove it from our Makefile.am files later
7432 * win32/common/config.h:
7433 * win32/common/config.h.in:
7434 added GST_MAJORMINOR
7435 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7436 * win32/common/gstversion.h:
7439 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7442 Update win32 files listing.
7443 * win32/common/gstversion.h:
7444 Add GST_MAJORMINOR definition.
7445 * win32/common/libgstreamer.def:
7446 Add new exported functions.
7448 2006-05-12 Michael Smith <msmith@fluendo.com>
7450 * gst/gstplugin.c: (gst_plugin_load_file):
7451 If an so file has no plugin entry point, unload the module.
7453 2006-05-11 Wim Taymans <wim@fluendo.com>
7455 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7456 (gst_queue_set_property):
7457 Don't forget to signal the _chain or _loop function
7458 when the queue size or thresholds change since that might
7459 cause them to make progres again.
7461 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7463 * gst/gstclock.c: (gst_clock_class_init):
7464 * gst/gstindex.c: (gst_index_class_init):
7465 * gst/gstobject.c: (gst_object_class_init):
7466 * gst/gstpad.c: (gst_pad_class_init):
7467 * gst/gstpipeline.c: (gst_pipeline_class_init):
7468 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7469 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7470 * libs/gst/base/gstbasetransform.c:
7471 (gst_base_transform_class_init):
7472 * libs/gst/net/gstnetclientclock.c:
7473 (gst_net_client_clock_class_init):
7474 * libs/gst/net/gstnettimeprovider.c:
7475 (gst_net_time_provider_class_init):
7476 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7477 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7478 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7479 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7480 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7481 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7482 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7483 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7484 * plugins/elements/gsttee.c: (gst_tee_class_init):
7485 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7486 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7487 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7489 2006-05-11 Wim Taymans <wim@fluendo.com>
7491 * gst/gstbuffer.c: (_gst_buffer_initialize):
7492 Register subbufer along with the buffer type so that
7493 it does not accidentally gets registered from N
7494 different streaming threads in a non threadsafe way.
7496 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7501 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7502 gst_event_ref() and gst_message_ref() functions again
7503 (ugly hack, please do fix if there's a better way besides
7504 overrides.txt, which doesn't seem to work).
7506 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7508 * libs/gst/check/gstcheck.h:
7509 add an assert for setting state to avoid lots of repetitive code
7512 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7514 * gst/gstvalue.c: (gst_value_serialize_flags):
7515 fix a leak if no flags are set
7516 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7519 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7521 * docs/manual/basics-pads.xml:
7522 Expand a bit on caps and filtered links and update
7523 examples that were still using the no longer existing
7524 gst_pad_link_filtered() (#338206).
7526 2006-05-10 Wim Taymans <wim@fluendo.com>
7528 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7529 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7530 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7531 (gst_collect_pads_stop):
7532 * libs/gst/base/gstcollectpads.h:
7533 No need to call _stop in _finalize.
7534 Iterate the main pad list in _finalize.
7535 Added some more debug.
7536 Free lists and data in the right order.
7537 Also free data whem doing _remove_pad when stopped for
7538 backward compatibility protect ::started with PAD_LOCK as
7541 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7543 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7544 (gst_structure_parse_value):
7546 rename a method so that it actually says what it does better
7548 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7550 * gst/gstevent.c: (_gst_event_initialize):
7551 * gst/gstformat.c: (_gst_format_initialize):
7552 make sure some essential types used by events are registered
7553 as part of gst_init()
7554 * gst/gstvalue.c: (gst_value_serialize_flags):
7555 if no flags are set, serialize them to a value that represents NONE
7556 so that deserializing them works
7557 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7558 add tests for serialization and deserialization of flags
7560 2006-05-10 Wim Taymans <wim@fluendo.com>
7562 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7563 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7564 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7565 (gst_collect_pads_event), (gst_collect_pads_chain):
7568 Catch and return errors from the collect function
7569 Refuse data on eos pads.
7571 2006-05-10 Edward Hervey <edward@fluendo.com>
7573 * gst/gstinterface.h:
7574 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7575 GInterface type checking.
7576 They were previously using non-defined macros.
7578 2006-05-09 Wim Taymans <wim@fluendo.com>
7580 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7581 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7582 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7583 (gst_collect_pads_start), (gst_collect_pads_stop),
7584 (gst_collect_pads_peek), (gst_collect_pads_pop),
7585 (gst_collect_pads_available), (gst_collect_pads_read),
7586 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7587 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7588 (gst_collect_pads_chain):
7589 * libs/gst/base/gstcollectpads.h:
7590 Clean up the mess that is collectpads, add comments and
7591 FIXMEs where needed.
7592 Maintain a separate pad list so we can add pads while
7593 collecting the other ones. For this we need a new separate
7595 Fix memory leak in finalize.
7596 Refactor some weird code to set/unset pad flushing flags, mark
7598 Don't crash in _available, _read, _flush when we're EOS.
7600 * tests/check/libs/.cvsignore:
7601 Ignore adapter check binary.
7603 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7605 * gst/gstindex.c: (gst_index_resolver_get_type):
7606 * plugins/elements/gstfakesink.c:
7607 (gst_fake_sink_state_error_get_type):
7608 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7609 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7610 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7611 Const-ify GEnumValue arrays.
7613 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7615 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7616 Add test case for flags + gst_buffer_make_metadata_writable().
7618 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7620 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7621 gst_buffer_make_metadata_writable() should maintain the
7622 buffer flags (those that make sense at least) (see #340859).
7624 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7626 * tools/gst-inspect.c:
7627 * tools/gst-launch.c:
7628 * tools/gst-typefind.c:
7629 * tools/gst-xmlinspect.c:
7631 Fix up includes: need to include stdlib.h in tools.h for exit().
7633 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7635 * gst/gsttaglist.c: (_gst_tag_initialize):
7637 API: add GST_TAG_IMAGE tag (#340721).
7639 2006-05-08 Wim Taymans <wim@fluendo.com>
7642 Added some docs for the segment query.
7644 2006-05-08 Wim Taymans <wim@fluendo.com>
7646 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7647 (gst_base_src_loop), (gst_base_src_change_state):
7648 Always push non-flushing serialized events in the streaming
7651 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7653 * gst/gsterror.c: (_gst_stream_errors_init):
7654 Add a missing error string.
7656 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7658 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7659 Add applied_rate to the debug
7661 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7662 Copy applied_rate into the outgoing NEWSEGMENT event
7664 2006-05-08 Wim Taymans <wim@fluendo.com>
7666 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7668 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7669 (gst_base_sink_change_state):
7670 call ::unlock before taking the PREROLL_LOCK so we can safely
7671 handle elements that lock in ::render.
7674 2006-05-08 Edward Hervey <edward@fluendo.com>
7676 * autogen.sh: (CONFIGURE_DEF_OPT):
7677 Darwin's libtoolize is in fact called glibtoolize.
7678 Adding glibtoolize to the list of accepted names for libtoolize.
7680 2006-05-08 Wim Taymans <wim@fluendo.com>
7682 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7683 Unify error handling, don't post an error message
7684 when a push() returns EOS but perform our normal EOS
7685 handling code. Fixes #340772.
7687 2006-05-08 Wim Taymans <wim@fluendo.com>
7689 * docs/design/part-overview.txt:
7690 Make upsteam/downstream concepts more clear.
7691 Give an example of serialized/non-serialized events.
7693 * docs/design/part-events.txt:
7694 * docs/design/part-streams.txt:
7695 Mention applied_rate.
7697 * docs/design/part-trickmodes.txt:
7698 Mention applied rate, flesh out some more use cases.
7700 * gst/gstevent.c: (gst_event_new_new_segment),
7701 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7702 (gst_event_parse_new_segment_full), (gst_event_new_tag),
7703 (gst_event_parse_tag), (gst_event_new_buffer_size),
7704 (gst_event_parse_buffer_size), (gst_event_new_qos),
7705 (gst_event_parse_qos), (gst_event_parse_seek),
7706 (gst_event_new_navigation):
7708 Add applied_rate field to NEWSEGMENT event.
7709 API: gst_event_new_new_segment_full()
7710 API: gst_event_parse_new_segment_full()
7712 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7713 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7714 (gst_segment_to_stream_time), (gst_segment_to_running_time):
7716 Add applied_rate to GstSegment structure.
7717 Make calculation of stream_time and running_time more correct
7718 wrt rate/applied_rate.
7720 API: GstSegment::applied_rate field
7721 API: gst_segment_set_newsegment_full();
7723 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7724 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7725 * libs/gst/base/gstbasetransform.c:
7726 (gst_base_transform_sink_eventfunc),
7727 (gst_base_transform_handle_buffer):
7728 Parse and use applied_rate in the GstSegment field.
7730 * tests/check/gst/gstevent.c: (GST_START_TEST):
7731 Add check for applied_rate field.
7733 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7734 (gstsegments_suite):
7735 Add more checks for various GstSegment operations.
7737 2006-05-08 Wim Taymans <wim@fluendo.com>
7739 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7740 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7741 (gst_base_sink_get_position), (gst_base_sink_change_state):
7742 Store the sync time of the buffer end position separatly in a
7743 new variable eos_rtime so we can properly sync the EOS event.
7745 Fix the docs for gst_base_sink_set_qos_enabled().
7746 Don't set segment start to invalid value when we receive a
7747 non TIME newsegment.
7748 get closer to handling position reporting for negative rates
7751 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7754 Docs about how to print caps for debug purposes.
7756 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
7757 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
7759 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7762 use full enum names and preprend a '%' in docs strings to make recent
7763 gtk-doc turn that into a link
7765 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7767 * docs/manual/basics-bins.xml:
7768 * docs/manual/basics-bus.xml:
7769 * docs/manual/basics-pads.xml:
7770 Some typo fixes, some additions, some clarifications.
7772 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7774 * tools/gst-inspect.c: (main):
7775 * tools/gst-launch.c: (main):
7776 * tools/gst-run.c: (main):
7777 * tools/gst-typefind.c: (main):
7778 * tools/gst-xmlinspect.c: (main):
7779 Use the string passed to g_option_context_new() for
7780 what it's intended for - the program name is already
7783 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7785 * tools/Makefile.am:
7786 * tools/gst-inspect.c: (main):
7787 * tools/gst-launch.c: (main):
7788 * tools/gst-xmlinspect.c: (main):
7790 Add back --version command line option (#340460).
7792 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
7793 Add --version option and use GOption for argument parsing; refactor a
7794 bit; accept directories as arguments and recurse into them; lastly,
7795 print a decent error message when things go wrong.
7797 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7799 * docs/manual/basics-bins.xml:
7800 Don't mention GstThread (#340611)
7801 * docs/manual/basics-elements.xml:
7802 Update link to GObject tutorial (#340607)
7804 2006-05-05 Wim Taymans <wim@fluendo.com>
7807 * gst/gstminiobject.c:
7808 Add note about refcounting and miniobject/buffer writeability
7809 to docs. Fixes #340604
7811 * gst/gstelementfactory.h:
7812 Added some explanation about @klass.
7814 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7816 * docs/manual/intro-motivation.xml:
7817 * docs/manual/manual.xml:
7818 Avoid CORBA & Bonobo references (#340598)
7820 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7822 * docs/manual/basics-bus.xml:
7823 * docs/manual/basics-pads.xml:
7824 Fix up some inaccuracies and omissions (#340609)
7826 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7828 * gst/gstghostpad.c:
7829 Small typo in docs (#340625)
7831 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7833 * gst/parse/Makefile.am:
7834 Make 'make -j' proof (see #340698).
7836 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7839 Require GLib-2.8 here as well.
7841 2006-05-05 Wim Taymans <wim@fluendo.com>
7843 * gst/glib-compat.c:
7844 * gst/gst.c: (init_pre):
7845 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7846 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
7847 (gst_object_dispatch_properties_changed):
7849 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7850 * gst/gststructure.c: (gst_structure_set_valist):
7851 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7852 Remove pre glib2.8 compatibility, fixes #340508
7854 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
7857 Mention type of tags in doc blurbs.
7859 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
7861 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7862 (gst_pad_configure_src), (gst_pad_push):
7863 Restore acceptcaps checking behaviour now that good plugins have
7866 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
7868 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
7879 * gst/parse/Makefile.am:
7880 * libs/gst/base/gstadapter.c:
7881 * libs/gst/base/gstbasesrc.c:
7882 * libs/gst/base/gstpushsrc.c:
7883 * libs/gst/base/gsttypefindhelper.c:
7884 * plugins/elements/gstfakesrc.c:
7885 * plugins/elements/gstidentity.c:
7886 Make sure gstprivate.h and/or config.h are
7887 always included first, otherwise some of our
7888 defines (like _FILE_OFFSET_BITS) might be
7889 redefined in the system headers. Fixes build
7890 on opensolaris (#340016).
7892 2006-05-04 Wim Taymans <wim@fluendo.com>
7894 * docs/libs/gstreamer-libs-sections.txt:
7895 API: addition: gst_adapter_take_buffer()
7897 * libs/gst/base/gstadapter.c: (gst_adapter_push),
7898 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
7899 (gst_adapter_available_fast):
7900 * libs/gst/base/gstadapter.h:
7901 Prepare for optimizing the hell out of this hugely inefficient
7903 Added gst_adapter_take_buffer() so we can at least start thinking
7904 about subbuffering and merging.
7905 Added some comments.
7907 * tests/check/Makefile.am:
7908 * tests/check/libs/adapter.c: (GST_START_TEST),
7909 (gst_adapter_suite), (main):
7910 Added GstAdapter check.
7912 2006-05-04 Wim Taymans <wim@fluendo.com>
7914 * docs/design/part-overview.txt:
7915 Fix some typos, add blurb about buffer flags.
7917 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7919 * docs/libs/gstreamer-libs-sections.txt:
7920 make sure GstBaseTransformClass shows up in the docs
7921 * libs/gst/base/gstbasetransform.c:
7922 * libs/gst/base/gstbasetransform.h:
7923 move docs so gtk-doc picks it up now
7925 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7927 * docs/libs/gstreamer-libs-sections.txt:
7928 add missing symbols to docs
7930 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7932 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7933 back out the newsegment handling change, see #340060 for ongoing
7936 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
7938 * tools/gst-run.c: (get_candidates), (main):
7939 Fix wrong g_file_test() usage (see glib docs for why it doesn't
7940 work); fix typo in error message. Fixes #340079.
7942 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7944 * common/Makefile.am:
7946 * docs/faq/Makefile.am:
7947 * docs/gst/Makefile.am:
7948 * docs/libs/Makefile.am:
7949 * docs/manual/Makefile.am:
7950 * docs/plugins/Makefile.am:
7951 * docs/pwg/Makefile.am:
7952 * docs/slides/Makefile.am:
7954 * common/upload.mak:
7955 move upload.mak to common
7957 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7959 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7960 add more asserts on refcounts
7961 do more cleanup at end of tests
7962 fix test leaks showing in FC5
7964 2006-04-29 Stefan Kost <ensonic@users.sf.net>
7966 * plugins/elements/gsttypefindelement.c:
7967 (gst_type_find_element_handle_event):
7968 reverted wrong change and reflowed code to avoid others falling into
7971 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7973 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7974 fix changelog entry about last collectpads change,
7975 add notes about proper fix
7977 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7980 * gst/gstregistry.c: (gst_registry_scan_path_level),
7981 (gst_registry_scan_path):
7982 * gst/gstregistry.h:
7983 only write out registry if it has changed, fixes #338339
7985 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7988 * gst/gstpipeline.c:
7989 * plugins/elements/gstcapsfilter.c:
7990 * plugins/elements/gstfakesink.c:
7991 * plugins/elements/gstfakesrc.c:
7992 * plugins/elements/gstfdsink.c:
7993 * plugins/elements/gstfdsrc.c:
7994 * plugins/elements/gstfilesink.c:
7995 * plugins/elements/gstfilesrc.c:
7996 * plugins/elements/gstidentity.c:
7997 * plugins/elements/gstqueue.c:
7998 * plugins/elements/gsttee.c:
7999 * plugins/elements/gsttypefindelement.c:
8000 (gst_type_find_element_handle_event):
8001 make GstElementDetails const
8003 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8005 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8006 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8007 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8008 more detailed debug and formatting cleanup,
8009 forward newsegments to src-pad (so that e.g. adder not eats them)
8011 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8013 * gst/gstutils.c: (gst_element_link_pads):
8016 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8018 * libs/gst/controller/gstcontroller.c:
8019 (gst_controller_sync_values):
8021 * tests/check/libs/controller.c: (GST_START_TEST),
8022 (gst_controller_suite):
8023 a new test for live value handling
8025 2006-04-28 Wim Taymans <wim@fluendo.com>
8027 * gst/gstutils.c: (push_and_ref):
8028 Added some more docs.
8029 Fix refcount issue whith gst_element_found_tags() helper
8030 function. Fixes #338335
8032 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8033 Added testsuite for gst_element_found_tags().
8035 2006-04-28 Michael Smith <msmith@fluendo.com>
8037 * gst/gstvalue.c: (gst_value_serialize_flags):
8038 Avoid NULL dereference when trying to serialize flags containing
8041 2006-04-28 Michael Smith <msmith@fluendo.com>
8043 * plugins/elements/gsttypefindelement.c:
8044 (gst_type_find_element_handle_event):
8045 If we get EOS before any data is accumulated, don't use
8046 uninitialised local variables.
8048 2006-04-28 Michael Smith <msmith@fluendo.com>
8050 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8051 (gst_dp_event_from_packet):
8052 Fixes in reading/writing events over GDP (not currently used?) -
8053 dereferencing NULL events for unknown/invalid event types, memory
8054 leak, and change g_warning to GST_WARNING.
8056 2006-04-28 Wim Taymans <wim@fluendo.com>
8058 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8059 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8060 (gst_base_sink_get_position), (gst_base_sink_change_state):
8061 When frame dropping is enabled, we should not ignore frames
8063 Update some documentation.
8065 2006-04-28 Wim Taymans <wim@fluendo.com>
8067 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8068 (gst_base_src_send_event), (gst_base_src_change_state):
8069 Documentation updates.
8071 2006-04-28 Wim Taymans <wim@fluendo.com>
8073 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8074 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8075 handle EAGAIN, EINTR and short writes correctly. Also clean
8076 up some error cases, avoid a deadlock on bad file descriptors and
8077 use GST_DEBUG_OBJECT.
8080 2006-04-28 Wim Taymans <wim@fluendo.com>
8082 * gst/gstvalue.c: (gst_value_serialize_buffer),
8083 (gst_value_deserialize_buffer):
8084 Don't try to serialize a GValue with a NULL buffer.
8087 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8088 Added check for serialisation of NULL buffers.
8090 2006-04-28 Wim Taymans <wim@fluendo.com>
8092 * gst/gstminiobject.c: (gst_value_take_mini_object):
8093 Taking a NULL miniobject is valid, fix the case where
8094 we try to unref the NULL miniobject.
8096 2006-04-28 Wim Taymans <wim@fluendo.com>
8098 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8100 * gst/gstbin.c: (gst_bin_handle_message_func):
8102 Don't leak bin refcount when a state recalc is
8103 in progress and we delay another one #339808.
8105 2006-04-28 Wim Taymans <wim@fluendo.com>
8107 * docs/design/part-TODO.txt:
8108 Mention QoS as an ongoing work item.
8110 * docs/design/part-buffering.txt:
8111 New doc about buffering that needs to be fleshed out
8114 * docs/design/part-qos.txt:
8115 More QoS policy for decoders/demuxers/transforms
8117 * docs/design/part-trickmodes.txt:
8120 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8125 === release 0.10.5 ===
8127 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8130 releasing 0.10.5, "Fogo"
8132 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
8134 patch by: Wim Taymans
8136 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8137 (gst_pad_configure_src), (gst_pad_push):
8138 * gst/gstpipeline.c: (gst_pipeline_init):
8139 Fix internal data flow errors. Fixes #338711.
8141 2006-04-12 Wim Taymans <wim@fluendo.com>
8143 * tests/check/gst/gstelement.c: (GST_START_TEST):
8144 Don't leak the factory.
8146 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8149 * win32/common/config.h:
8152 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
8154 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8155 (gst_controller_unset_all):
8156 Free allocated GstTimedValues when freeing list nodes.
8157 Should fix leaks 'make check-valgrind' complains about.
8159 * win32/common/libgstcontroller.def:
8160 Add gst_controller_unset_all.
8162 2006-04-11 Stefan Kost <ensonic@users.sf.net>
8164 * docs/libs/gstreamer-libs-sections.txt:
8165 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8166 (gst_controller_unset_all):
8167 * libs/gst/controller/gstcontroller.h:
8168 API: Added new method gst_controller_unset_all()
8169 fixed gst_controller_unset()
8170 * tests/check/libs/controller.c: (GST_START_TEST),
8171 (gst_controller_suite):
8172 Added two testcases for new and fixed method
8174 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
8176 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8177 MSG_DONTWAIT is not defined on Cygwin, so work
8178 around that (fixes #317048).
8180 2006-04-11 Wim Taymans <wim@fluendo.com>
8182 * gst/gstelementfactory.c: (gst_element_register),
8183 (gst_element_factory_create), (gst_element_factory_make):
8186 Updated docs (Fixes #131079)
8188 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8191 * tests/check/gst/gstelement.c: (GST_START_TEST),
8192 (gst_element_suite):
8193 Added testcase for elementfactory class field.
8195 2006-04-10 Wim Taymans <wim@fluendo.com>
8198 Added some more docs.
8200 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8201 (gst_base_sink_reset_qos):
8202 Calculate more accurate rate values.
8204 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
8206 * gst/gst_private.h:
8207 add a new #ifdef to use __declspec(dllimport) only for
8208 other modules and not for gstreamer core
8209 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8210 use gst_guint64_to_gdouble for conversion
8211 * win32/common/libgstreamer.def:
8212 add new exported functions
8213 * win32/vs6/gst_inspect.dsp:
8214 * win32/vs6/gst_launch.dsp:
8215 * win32/vs6/libgstbase.dsp:
8216 * win32/vs6/libgstcontroller.dsp:
8217 * win32/vs6/libgstcoreelements.dsp:
8218 * win32/vs6/libgstdataprotocol.dsp:
8219 * win32/vs6/libgstnet.dsp:
8220 update project files
8222 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8224 * gst/gstbuffer.c: (gst_subbuffer_class_init):
8225 * gst/gstclock.c: (gst_clock_class_init):
8226 * gst/gstelement.c: (gst_element_class_init):
8227 * gst/gstindex.c: (gst_index_class_init):
8228 * gst/gstindexfactory.c: (gst_index_factory_class_init):
8229 * gst/gstobject.c: (gst_object_class_init),
8230 (gst_signal_object_class_init):
8231 * gst/gstpad.c: (gst_pad_class_init):
8232 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8233 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8234 * gst/gstregistry.c: (gst_registry_class_init):
8235 * gst/gstsystemclock.c: (gst_system_clock_class_init):
8236 * gst/gsttask.c: (gst_task_class_init):
8237 * gst/gstxml.c: (gst_xml_class_init):
8238 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8239 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8240 (gst_base_src_loop):
8241 * libs/gst/controller/gstcontroller.c:/
8242 (_gst_controller_class_init):
8243 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8244 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8245 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8246 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8247 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8248 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8250 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8252 * gst/gstpad.c: (gst_pad_link):
8253 Must set peer pads before calling the link function, otherwise
8254 a task started from a link function might get a flow-not-linked
8255 result when trying to push because the other thread where the
8256 linking happens hasn't had a chance to set the peers yet. This
8257 might happen for example when a queue gets linked to a downstream
8258 element, as queue starts a streaming task when its source pad
8259 gets linked. Happens in real life when playing back flac/musepack
8260 files in playbin (#332390).
8262 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8266 * libs/gst/base/gstadapter.h:
8267 * libs/gst/base/gstbasesink.h:
8268 * libs/gst/base/gstbasesrc.h:
8269 * libs/gst/base/gstbasetransform.h:
8270 * libs/gst/base/gstcollectpads.h:
8271 * libs/gst/base/gstpushsrc.h:
8272 Fix broken GObject macros
8274 2006-04-07 Wim Taymans <wim@fluendo.com>
8276 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8277 Initialize start and stop times, thanks valgrind.
8279 2006-04-07 Wim Taymans <wim@fluendo.com>
8281 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8282 Be a bit nicer to badly behaving upstream elements that expect
8283 us to deal with non TIME segments and timestamps (such as fakesrc
8286 2006-04-07 Wim Taymans <wim@fluendo.com>
8289 Small documentation clarification about the signal watch.
8291 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8292 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8293 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8294 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8295 (gst_base_sink_get_position_last),
8296 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8297 Convert and store timestamps in stream time and running time, the
8298 raw timestamps are not useful, also document this better.
8299 Use different window sizes for good and bad QoS observations so
8300 we react to badness a little quicker.
8301 Keep track of the amount of rendered and dropped buffers.
8302 Send QoS timestamps in running time.
8304 * libs/gst/base/gstbasetransform.c:
8305 (gst_base_transform_sink_eventfunc),
8306 (gst_base_transform_handle_buffer):
8307 Compare QoS timestamps against running time.
8309 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8314 2006-04-06 Michael Smith <msmith@fluendo.com>
8316 * gst/gstpad.c: (gst_pad_set_property):
8317 Use g_value_get_object() instead of g_value_dup_gst_object(),
8318 to avoid double-reffing the pad template (which we then sink,
8319 so this worked previously if (and only if) the pad template
8322 * gst/gstpadtemplate.c: (gst_pad_template_init),
8323 (gst_pad_template_pad_created):
8324 Never return floating references to pad templates, create
8325 them as initially-sunken.
8327 Document an extra function (and make this stop sinking our
8328 pad template, since that is now guaranteed to do nothing,
8329 since we created it sunken).
8331 * gst/gstghostpad.c:
8334 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8336 * gst/gstinfo.c: (__gst_in_valgrind):
8339 * plugins/elements/gsttypefindelement.c:
8340 (gst_type_find_element_chain):
8341 Don't leak buffer caps.
8343 2006-04-06 Michael Smith <msmith@fluendo.com>
8345 * gst/parse/grammar.y:
8346 Fix a leak in parse-launch for any source-or-sink named element
8349 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8350 Unref the pipeline if it exists after we've failed parsing.
8352 2006-04-05 Michael Smith <msmith@fluendo.com>
8354 * gst/gstpipeline.c: (gst_pipeline_init):
8355 When we create a pipeline bus, initially create it in flushing mode.
8356 Fixes leaks in at least one test, and makes a new pipeline work the
8357 same as one that has gone to READY and then back to NULL.
8362 2006-04-05 Michael Smith <msmith@fluendo.com>
8364 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8365 Unref a pad we reffed.
8366 * tests/check/gst/gstutils.c: (GST_START_TEST):
8369 2006-04-05 Michael Smith <msmith@fluendo.com>
8371 * gst/gstquery.c: (gst_query_set_formats),
8372 (gst_query_set_formatsv):
8373 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8375 2006-04-05 Michael Smith <msmith@fluendo.com>
8377 * tests/check/generic/sinks.c: (GST_START_TEST):
8378 Fix a variety of memleaks in sinks check, which are only sometimes
8379 shown by running the tests under valgrind (weird?).
8381 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8383 * docs/version.entities.in:
8384 Fix the substituted entity name after thomas' changes on the
8387 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8389 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8392 2006-04-05 Andy Wingo <wingo@pobox.com>
8394 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8396 * libs/gst/base/gstbasetransform.c
8397 (gst_base_transform_sink_eventfunc): When resetting our segment on
8398 FLUSH_STOP, also update the flag saying we haven't seen a
8401 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8403 Patch by: Paolo Borelli <pborelli at katamail dot com>
8405 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8406 (gst_plugin_check_license):
8407 minor clean-ups: G_DEFINE_TYPE already takes care of the
8408 parent_class stuff, no need to do it twice. Mark array of
8409 license strings as constant. (#337103)
8411 2006-04-04 Michael Smith <msmith@fluendo.com>
8413 * tools/gst-inspect.c: (print_element_list):
8414 Free the right plugin list; fixes a memory leak.
8416 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8418 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8420 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8421 Don't error out on empty buffers (#336945).
8423 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8425 * docs/libs/gstreamer-libs-sections.txt:
8427 * libs/gst/base/gstbasesink.c:
8428 * libs/gst/base/gstbasesink.h:
8429 * libs/gst/base/gstbasesrc.c:
8430 * libs/gst/base/gstbasesrc.h:
8431 Documentation updates. Make BaseSink and BaseSrc docs contain the
8432 class structure so that people can actually see the prototypes for
8433 virtual functions they're supposed to be overriding.
8435 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8437 * plugins/elements/gsttypefindelement.c:
8438 (gst_type_find_element_chain):
8439 More debug info; when skipping typefinding, send cached
8440 events in all cases.
8442 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8445 use new AS_VERSION and AS_NANO macros
8446 * gst/gst-i18n-lib.h:
8449 * gst/gstversion.h.in:
8450 * win32/common/config.h:
8451 * win32/common/config.h.in:
8454 2006-03-31 Michael Smith <msmith@fluendo.com>
8456 * plugins/elements/gsttypefindelement.c:
8457 (gst_type_find_element_chain):
8458 Do not typefind content if the buffers already have caps.
8459 Neccesary for icydemux (#333657), and the right thing to do anyway.
8461 2006-03-30 Wim Taymans <wim@fluendo.com>
8463 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8464 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8465 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8466 (gst_base_sink_record_qos_observation),
8467 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8468 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8469 (gst_base_sink_change_state):
8470 More QoS measurements as described in the design doc.
8471 Get rid of ringbuffer with observations, running average is
8472 more simple and equally good.
8473 Calculates valid proportion now.
8474 Added beginning of flood measurement.
8476 2006-03-29 Wim Taymans <wim@fluendo.com>
8478 * docs/design/part-qos.txt:
8480 Small documentation updates and additions.
8482 2006-03-29 Wim Taymans <wim@fluendo.com>
8484 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8485 (gst_base_src_send_event), (gst_base_src_loop),
8486 (gst_base_src_change_state):
8487 Perform the EOS logic when we reach the segment stop position.
8488 Fix compilation on gcc4.1
8490 2006-03-29 Wim Taymans <wim@fluendo.com>
8492 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8494 * plugins/elements/gstqueue.c: (gst_queue_init),
8495 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8496 (gst_queue_set_property):
8497 * plugins/elements/gstqueue.h:
8498 In queue, when EOS is received, if minimum threshold > max_size -
8499 current_level, there is chance that queue blocks forever in conditional
8500 item del wait. This is because the queue is not emptied completely due
8501 to minimum threshold. Here is another approach. Instead of setting
8502 cur_levels to max in EOS, just zero all minimum threshold levels. This
8503 should make sure that queue gives out all data. When going to READY
8504 (stop) state, just reset the original minimum threshold levels.
8507 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8509 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8510 (gst_type_find_element_handle_event),
8511 (gst_type_find_element_send_cached_events),
8512 (gst_type_find_element_change_state):
8513 * plugins/elements/gsttypefindelement.h:
8514 When typefinding is done in push mode, we should cache
8515 events we receive during typefinding instead of just
8516 dropping them (e.g. newsegment, custom events from
8517 dvdreadsrc etc.) and then send them out once we've
8518 determined the type of the stream (and decodebin
8519 has had a chance to plug in a decoder/demuxer).
8521 2006-03-27 Wim Taymans <wim@fluendo.com>
8523 * docs/design/part-qos.txt:
8526 2006-03-27 Wim Taymans <wim@fluendo.com>
8528 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8530 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8531 (gst_base_src_send_event), (gst_base_src_change_state):
8532 Handle element seek correctly when we are streaming.
8535 2006-03-24 Michael Smith <msmith@fluendo.com>
8537 * docs/faq/gst-uninstalled:
8538 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8539 allow you to correctly run intalled applications built against old
8540 core, using plugins that require updated core (e.g. running
8541 installed totem against a full uninstalled gstreamer stack)
8543 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8545 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8548 2006-03-24 Wim Taymans <wim@fluendo.com>
8550 * docs/gst/gstreamer-sections.txt:
8551 Rearrange the order of the methods so that related methods
8552 are grouped together in sections.
8554 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8557 Little clarification in the docs
8559 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8563 * plugins/elements/gstidentity.c:
8564 * plugins/elements/gstqueue.c:
8565 * plugins/elements/gsttee.c:
8566 * plugins/elements/gsttypefindelement.c:
8567 GST_ELEMENT_DETAILS formatting
8569 2006-03-24 Wim Taymans <wim@fluendo.com>
8571 * libs/gst/base/gstbasesink.h:
8572 Only add fields, not insert or we break ABI.
8574 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8576 * win32/common/libgstbase.def:
8577 * win32/common/libgstreamer.def:
8578 Update, add recently added functions.
8580 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8582 * docs/gst/gstreamer-sections.txt:
8583 * gst/gstutils.c: (gst_pad_query_peer_position),
8584 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8586 API: add some new utility functions:
8587 - gst_pad_query_peer_position()
8588 - gst_pad_query_peer_duration()
8589 - gst_pad_query_peer_convert()
8591 2006-03-23 Wim Taymans <wim@fluendo.com>
8593 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8594 (gst_base_sink_init), (gst_base_sink_finalize),
8595 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8596 (gst_base_sink_set_property), (gst_base_sink_get_property),
8597 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8598 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8599 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8600 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8601 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8602 (gst_base_sink_preroll_object), (gst_base_sink_event),
8603 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8604 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8605 (gst_base_sink_query), (gst_base_sink_change_state):
8606 Decouple max-lateness and the fact that QoS messages are generated
8607 with a new property (qos).
8608 added API: GstBaseSink::async_play()
8609 Add vmethod so subclasses can be notified of ASYNC playing
8611 Collect timestamp start and stop to report better current
8612 position in EOS/PLAYING/PAUSED/READY/NULL.
8613 Refactor QoS/frame dropping and other measurements.
8614 API: GstBaseSrc::qos
8617 * libs/gst/base/gstbasesink.h:
8618 Added Private struct.
8619 API: gst_base_sink_set_qos_enabled()
8620 API: gst_base_sink_is_qos_enabled()
8622 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8624 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8625 If compiling against GLib-2.8 or newer, try to read the
8626 registry file using GMappedFile first before falling back
8627 to fopen() + fread() (#332151).
8629 2006-03-22 Wim Taymans <wim@fluendo.com>
8631 * gst/gstinfo.c: (gst_debug_set_active),
8632 (gst_debug_category_set_threshold):
8633 Disable debugging unless explicitly activated.
8636 2006-03-22 Wim Taymans <wim@fluendo.com>
8638 * gst/gstelement.c: (gst_element_set_locked_state),
8639 (gst_element_dispose):
8640 Cleanup the error case.
8642 * gst/gstobject.c: (gst_object_dispose):
8643 print a critical when some object was disposed with
8644 a parent, also revive the object since it might
8647 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8649 * tools/gst-launch.1.in:
8652 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8655 * tests/check/Makefile.am:
8656 disable some tests when we don't have a registry
8657 * tests/check/gst/gstutils.c: (gst_utils_suite):
8658 don't build the part that needs parsing
8660 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8663 * tests/examples/Makefile.am:
8664 fix --disable-parse build
8666 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8668 * tools/gst-feedback.1.in:
8669 Fix typo: s/feeback/feedback/ (#133494).
8671 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8673 * tools/Makefile.am:
8674 * tools/gst-launch.1.in:
8675 Add FILES section and correct entry about GST_REGISTRY_PATH
8676 environment variable (#133495; #133494).
8678 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8680 * tools/Makefile.am:
8681 * tools/gst-md5sum.1.in:
8682 * tools/gst-md5sum.c:
8683 Remove gst-md5sum and man page (the md5sink element
8684 required was removed ages ago)
8686 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8688 * gst/gststructure.c: (gst_structure_id_set_value):
8689 Make sure that string fields in structures/taglists
8690 contain valid UTF-8 - we don't want to pass rubbish to
8691 applications because of a buggy plugin (cp. #334167).
8693 2006-03-21 Edward Hervey <edward@fluendo.com>
8695 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8696 (gst_bin_handle_message_func):
8697 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8698 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8699 (gst_element_set_bus_func):
8700 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8701 * gst/gstminiobject.c: (gst_value_set_mini_object),
8702 (gst_value_take_mini_object):
8703 * gst/gstpad.c: (gst_pad_set_pad_template):
8704 * gst/gstpipeline.c: (gst_pipeline_dispose),
8705 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8706 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8707 (gst_collect_pads_chain):
8708 * libs/gst/net/gstnettimeprovider.c:
8709 (gst_net_time_provider_set_property):
8710 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8711 It's in fact all issues with gst_*object_replace().
8713 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8715 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
8717 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8718 * pkgconfig/gstreamer-check.pc.in:
8719 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8721 2006-03-21 Edward Hervey <edward@fluendo.com>
8726 gst_[buffer|event|message]_ref() macros are replaced by a static
8727 inline functions because gcc-4.1 will about if the return value
8729 * tests/check/gst/gstevent.c: (event_probe):
8730 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8732 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
8735 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8736 the type' case. (Closes: #335195 for now). In the future, when we
8737 depend on GLib 2.10, we could also intern the type name using
8738 g_intern_static_string()
8740 2006-03-20 Wim Taymans <wim@fluendo.com>
8742 * gst/gstbin.c: (gst_bin_handle_message_func),
8743 (bin_query_max_init), (bin_query_position_fold),
8744 (bin_query_position_done), (gst_bin_query):
8745 Position query should also take max of all streams.
8747 2006-03-20 Wim Taymans <wim@fluendo.com>
8749 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8750 (gst_fake_src_finalize):
8751 Fix leaks in fakesrc.
8753 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8754 Fix leaks in the testcase.
8756 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
8758 * gst/gst_private.h:
8759 add win32 specific import decoration(__declspec(dllimport))
8760 for all extern GstDebugCategory * variables
8761 * win32/common/libgstbase.def:
8762 * win32/common/libgstcontroller.def:
8763 * win32/common/libgstreamer.def:
8764 Add some exports, remove empty lines
8765 * win32/common/libgstdataprotocol.def:
8766 * win32/common/libgstdataprotocol.dsp:
8767 * win32/common/libgstnet.def:
8768 * win32/common/libgstnet.dsp:
8769 new project files and exportation files added
8771 2006-03-19 Wim Taymans <wim@fluendo.com>
8773 * tests/check/libs/basesrc.c: (eos_event_counter):
8774 Use proper return value for probe.
8776 2006-03-17 Wim Taymans <wim@fluendo.com>
8778 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8780 Don't leak buffers, caps and pads on negotiation errors.
8782 2006-03-16 Stefan Kost <ensonic@users.sf.net>
8785 * docs/faq/dependencies.xml:
8786 * docs/faq/developing.xml:
8788 * docs/faq/general.xml:
8789 * docs/faq/getting.xml:
8790 * docs/faq/legal.xml:
8791 * docs/faq/troubleshooting.xml:
8792 * docs/faq/using.xml:
8793 Faq review and update.
8795 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
8797 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8799 Don't pound the cpu to pieces by checking get_caps when accept_caps
8800 is called with the same caps as the pad already has.
8801 Use GST_DEBUG_OBJECT when outputting caps change information.
8803 2006-03-15 Wim Taymans <wim@fluendo.com>
8805 * gst/gstclock.c: (gst_clock_class_init):
8808 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
8813 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
8814 (gst_pad_accept_caps), (gst_pad_configure_sink),
8815 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
8816 Make the default acceptcaps behaviour be to check the requested
8817 caps against the gst_pad_get_caps output.
8819 Ensure that gst_pad_accept_caps is used to check caps when a pad
8820 doesn't have a setcaps function, so that pads automatically refuse
8821 caps that they don't allow in their pad template. (Fixes #332986)
8823 When a buffer with attached caps is pushed, ensure that the source
8824 pad receives those caps even if the element didn't call
8825 gst_pad_set_caps first.
8827 2006-03-15 Wim Taymans <wim@fluendo.com>
8829 * libs/gst/base/gstadapter.c:
8832 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
8834 * win32/common/libgstbase.def:
8835 * win32/common/libgstcontroller.def:
8836 * win32/common/libgstreamer.def:
8837 Add a whole bunch of missing functions (#334434).
8839 2006-03-14 Wim Taymans <wim@fluendo.com>
8841 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8842 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8843 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
8844 Better debug info when we receive a segment event.
8845 Reorganize a bit so we can pass the get_times() results around.
8846 Use the segment format when calculating the running time.
8847 Don't do QoS is sync is disabled or we have no clock or the
8848 element does not want us to sync to the clock.
8849 Don't drop buffers if QoS is disabled for now.
8851 2006-03-14 Wim Taymans <wim@fluendo.com>
8853 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
8854 Marked the stats property as unimplemented so people don't get
8856 Add debug message when regression goes wrong.
8857 Added some more docs.
8859 2006-03-14 Wim Taymans <wim@fluendo.com>
8861 * gst/gstsegment.c: (gst_segment_to_stream_time):
8862 Return correct return type in case of errors.
8864 2006-03-14 Wim Taymans <wim@fluendo.com>
8866 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
8867 Don't segfault on invalid formats.
8869 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
8871 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8872 Can't use gst_segment_to_running_time() when the segment
8873 is not in GST_TIME_FORMAT (like with filesink, for example).
8874 Stops flac encoding pipelines from spewing critical warnings
8877 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
8879 * gst/gstpipeline.c: (gst_pipeline_class_init):
8880 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
8882 * plugins/elements/gsttypefindelement.c:
8883 (gst_type_find_element_handle_event):
8884 Don't try to typefind empty streams.
8886 2006-03-14 Wim Taymans <wim@fluendo.com>
8888 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8889 (gst_base_sink_do_qos):
8890 Separate QoS calculation.
8891 Only drop buffers when lateness is bigger than the
8892 duration of the buffer.
8894 2006-03-13 Wim Taymans <wim@fluendo.com>
8896 * gst/gstpipeline.c: (gst_pipeline_set_property),
8897 (gst_pipeline_get_property), (do_pipeline_seek),
8898 (gst_pipeline_change_state), (gst_pipeline_set_delay),
8899 (gst_pipeline_get_delay):
8900 Don't deadlock when reading properties.
8902 2006-03-13 Wim Taymans <wim@fluendo.com>
8904 * libs/gst/base/gstbasetransform.c:
8905 (gst_base_transform_class_init), (gst_base_transform_init),
8906 (gst_base_transform_sink_event),
8907 (gst_base_transform_sink_eventfunc),
8908 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
8909 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8910 (gst_base_transform_set_property),
8911 (gst_base_transform_get_property),
8912 (gst_base_transform_change_state), (gst_base_transform_update_qos),
8913 (gst_base_transform_set_qos_enabled),
8914 (gst_base_transform_is_qos_enabled):
8915 * libs/gst/base/gstbasetransform.h:
8916 Make basetransform virtual method for src events too.
8917 Handle QOS in basetransform.
8918 API: gst_base_transform_update_qos()
8919 API: gst_base_transform_set_qos_enabled()
8920 API: gst_base_transform_is_qos_enabled()
8922 2006-03-13 Wim Taymans <wim@fluendo.com>
8924 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8925 (gst_base_sink_do_sync):
8927 Use QOS debug category.
8929 2006-03-13 Wim Taymans <wim@fluendo.com>
8931 * plugins/elements/gstqueue.c:
8932 Very small doc update.
8934 2006-03-13 Wim Taymans <wim@fluendo.com>
8936 * gst/gst_private.h:
8937 * gst/gstinfo.c: (_gst_debug_init):
8938 Added QOS debug category
8940 2006-03-13 Wim Taymans <wim@fluendo.com>
8942 * docs/gst/gstreamer-sections.txt:
8943 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
8945 * gst/gstbus.c: (gst_bus_class_init):
8948 * gst/gstelement.c: (gst_element_set_locked_state):
8950 Documentation updates.
8952 * gst/gstpipeline.c: (gst_pipeline_get_type),
8953 (gst_pipeline_class_init), (gst_pipeline_init),
8954 (gst_pipeline_dispose), (gst_pipeline_set_property),
8955 (gst_pipeline_get_property), (do_pipeline_seek),
8956 (gst_pipeline_send_event), (gst_pipeline_change_state),
8957 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
8958 (gst_pipeline_get_delay):
8959 * gst/gstpipeline.h:
8960 Added methods for setting the delay.
8961 API: gst_pipeline_set_delay()
8962 API: gst_pipeline_get_delay()
8963 Add pipeline debug category
8966 Don't reset stream time when seek failed.
8968 2006-03-13 Wim Taymans <wim@fluendo.com>
8970 * docs/design/draft-klass.txt:
8971 * docs/design/part-clocks.txt:
8972 * docs/design/part-events.txt:
8973 * docs/design/part-gstbin.txt:
8974 * docs/design/part-gstpipeline.txt:
8975 * docs/design/part-messages.txt:
8976 * docs/design/part-negotiation.txt:
8977 * docs/design/part-overview.txt:
8978 * docs/design/part-preroll.txt:
8979 * docs/design/part-seeking.txt:
8980 * docs/design/part-states.txt:
8981 * docs/design/part-streams.txt:
8982 Documentation updates.
8984 2006-03-12 Julien MOUTTE <julien@moutte.net>
8986 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
8987 us to leak strings...
8989 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
8991 * libs/gst/net/gstnettimeprovider.c:
8993 * win32/common/config.h:
8996 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
8998 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9001 Don't check for libgnomeui (leftover from old examples
9002 that aren't built or disted any longer) (#334303).
9004 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9006 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9007 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9008 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9009 there's no space left on the device.
9011 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9014 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9015 to cast the input to GstClockTime before comparing with
9016 another GstClockTime value.
9018 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9023 === release 0.10.4 ===
9025 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9028 releasing 0.10.4, "Light"
9030 2006-03-10 Michael Smith <msmith@fluendo.com>
9032 * libs/gst/dataprotocol/dataprotocol.c:
9033 Fix docs for dataprocotol to not get the return types completely
9034 wrong for a few functions.
9036 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9038 * docs/gst/gstreamer-sections.txt:
9039 * gst/gstpipeline.c: (gst_pipeline_class_init),
9040 (gst_pipeline_init), (gst_pipeline_set_property),
9041 (gst_pipeline_get_property), (gst_pipeline_change_state),
9042 (gst_pipeline_set_auto_flush_bus),
9043 (gst_pipeline_get_auto_flush_bus):
9044 * gst/gstpipeline.h:
9045 Add new API: gst_pipeline_set_auto_flush_bus() and
9046 gst_pipeline_get_auto_flush_bus() to disable automatic
9047 flushing of the pipeline's GstBus when going from READY
9048 to NULL state (#332045).
9050 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9052 * docs/gst/gstreamer-sections.txt:
9053 * gst/gsturi.c: (gst_uri_has_protocol):
9055 Add new API: gst_uri_has_protocol() (#333779).
9057 2006-03-09 Wim Taymans <wim@fluendo.com>
9059 * gst/gstclock.c: (gst_clock_entry_new),
9060 (gst_clock_id_compare_func), (gst_clock_id_wait),
9061 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9062 (gst_clock_init), (gst_clock_get_internal_time),
9063 (gst_clock_set_master), (do_linear_regression),
9064 (gst_clock_add_observation), (gst_clock_set_property):
9068 Fix a possible segfault when the window-size is made smaller.
9069 Calculate jitter before performing the clock wait. Ideally
9070 the clock implementation should calculate jitter but we need
9071 API breakage for that.
9073 * gst/gstsystemclock.c: (gst_system_clock_init):
9076 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9077 Remove leftover else
9079 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9080 (gst_systemclock_suite):
9081 Added check to test GST_CLOCK_DIFF.
9083 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9085 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9086 (gst_type_find_helper_get_range):
9087 If we are provided with the size, we should implement
9088 GstTypeFind::get_length, so that typefind functions who
9089 want to can actually peek at the middle of a file.
9091 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9093 * docs/manual/advanced-dataaccess.xml:
9094 Add some very very basic error checking.
9096 * docs/pwg/appendix-checklist.xml:
9097 Some updates to the list of things to check when writing an element.
9099 2006-03-08 Wim Taymans <wim@fluendo.com>
9101 * docs/design/part-element-transform.txt:
9102 Added some docs about the design of tranform elements.
9104 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9105 (gst_base_src_loop), (gst_base_src_change_state):
9106 Mark buffers with the DISCONT flag.
9108 2006-03-08 Michael Smith <msmith@fluendo.com>
9110 * gst/gstregistry.h:
9111 * gst/gstregistryxml.c: (gst_registry_save),
9112 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9113 (gst_registry_xml_save_pad_template),
9114 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9115 (gst_registry_xml_write_cache):
9116 Rewrite registry-saving to avoid race conditions and check for
9119 2006-03-08 Wim Taymans <wim@fluendo.com>
9121 * libs/gst/base/gstbasetransform.c:
9122 (gst_base_transform_transform_caps),
9123 (gst_base_transform_transform_size),
9124 (gst_base_transform_prepare_output_buffer),
9125 (gst_base_transform_get_unit_size),
9126 (gst_base_transform_buffer_alloc),
9127 (gst_base_transform_handle_buffer),
9128 (gst_base_transform_change_state):
9129 Cleanups, separate normal flow from errors, add sensible
9131 Don't try to renegotiate when allocating an output buffer.
9132 Also copy DISCONT buffer flag when copying a buffer.
9133 Reset the transform after we finish streaming, not during.
9135 2006-03-08 Wim Taymans <wim@fluendo.com>
9137 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9138 Use last buffer timestamp in qos message.
9140 2006-03-07 Wim Taymans <wim@fluendo.com>
9142 Patch by: Christophe Fergeau
9144 * docs/pwg/advanced-tagging.xml:
9145 * docs/pwg/building-pads.xml:
9148 2006-03-07 Wim Taymans <wim@fluendo.com>
9150 * docs/libs/gstreamer-libs-sections.txt:
9151 Added basesink new methods.
9155 Docs updates. Flesh out the QoS docs.
9157 * libs/gst/base/gstadapter.c:
9158 Small doc clarification about ownership and flushing.
9160 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9161 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9162 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9163 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9164 * libs/gst/base/gstbasesink.h:
9166 Added new methods to allow subclass to control max-lateness
9168 Generate very basic QoS events based on last sync observation.
9169 Updated docs, fix typo, added some QoS blurb.
9171 * libs/gst/base/gstbasesrc.c:
9172 Remove obsolete _get_state() calls from docs.
9174 2006-03-07 Wim Taymans <wim@fluendo.com>
9176 * docs/libs/gstreamer-libs-sections.txt:
9177 * libs/gst/base/gstbasetransform.h:
9178 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9179 Fix docs for GstBaseSrc.
9181 2006-03-07 Wim Taymans <wim@fluendo.com>
9183 * docs/gst/gstreamer-sections.txt:
9186 * libs/gst/base/gstbasetransform.h:
9187 Small documentation fixes.
9189 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9192 Document thread-unsafety of gst_value_register_foo_func()
9193 when used at the same time as gst_value_foo() (#322628).
9195 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9197 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9198 (gst_push_src_check_get_range):
9199 Push sources don't support pull mode by default.
9201 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9203 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9204 (gst_base_src_init), (gst_base_src_pad_check_get_range),
9205 (gst_base_src_default_check_get_range):
9206 * libs/gst/base/gstbasesrc.h:
9207 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9208 provide default implementation, and rename
9209 gst_base_src_check_get_range() to
9210 gst_base_src_pad_check_get_range() for clarity.
9212 2006-03-06 Wim Taymans <wim@fluendo.com>
9214 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9215 Make property overridable.
9217 2006-03-06 Wim Taymans <wim@fluendo.com>
9219 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9220 (gst_base_sink_init), (gst_base_sink_set_property),
9221 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9222 * libs/gst/base/gstbasesink.h:
9223 API addition: Make max-lateness a property.
9225 2006-03-06 Wim Taymans <wim@fluendo.com>
9227 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9228 (gst_base_sink_do_sync), (gst_base_sink_render_object):
9229 Don't ever draw a frame that is >10ms late.
9231 2006-03-06 Michael Smith <msmith@fluendo.com>
9233 * gst/gstmessage.c: (_gst_message_copy):
9234 When copying a message, set the parent_refcount of the enclosed
9235 structure to point at the copy, not the original message.
9237 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9239 Patch by: Christophe Fergeau
9242 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9243 usable in c++ code (#333417)
9245 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9248 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9250 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9252 * libs/gst/base/gstbasetransform.c:
9253 (gst_base_transform_transform_caps):
9254 Make sure caps are writable before passing them to
9257 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9260 Fix some minor docs errors.
9262 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9264 Patch by: Ross Burton <ross at burtonini dot com>
9266 * gst/gsterror.c: (_gst_resource_errors_init):
9268 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9270 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9273 Add a check and output a g_warning when GStreamer is built
9274 against GLib 2.6 but running against 2.8 or higher, and vice
9275 versa. (Closes: #323542)
9277 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9279 * gst/parse/parse.l:
9280 Commit patch for parse_launch syntax from #331255. Removes
9281 support for quoted strings and mimetypes when writing filtered
9282 caps. See the bug report for more details - I'm pretty sure this
9283 obscure feature is not in use by _anyone_ anywhere.
9285 With this simple change, the size of the gstreamer.so here
9286 drops from 2193KB to 1565KB.
9288 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9290 * plugins/elements/gsttypefindelement.h:
9291 * plugins/elements/gsttypefindelement.c:
9292 (gst_type_find_element_src_event), (start_typefinding),
9293 (stop_typefinding), (gst_type_find_element_handle_event),
9294 (gst_type_find_element_chain),
9295 (gst_type_find_element_chain_do_typefinding):
9296 Use gst_type_find_helper_for_buffer() for chain-based
9299 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9301 * plugins/elements/gsttypefindelement.c:
9302 (gst_type_find_element_class_init),
9303 (gst_type_find_element_set_property),
9304 (gst_type_find_element_get_property):
9305 Deprecate "maximum" property (not only was it only taken into
9306 account for typefinding in push-mode anyway, it also was never
9307 actually possible to set it in the first place because the
9308 property was registered with the numeric property ID for the
9309 "minimum" property). Register "maximum" property correctly,
9310 for the sake of future copy'n'pasters. Remove some cruft
9311 from property get/set functions.
9313 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9315 * plugins/elements/gsttypefindelement.c:
9316 (gst_type_find_element_activate):
9317 Use gst_type_find_helper_get_range() here, so we
9318 can honour the "minimum" property and also emit
9319 the signal with the correct probability of the found caps.
9321 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9323 * docs/libs/gstreamer-libs-sections.txt:
9324 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9325 (helper_find_suggest), (gst_type_find_helper_get_range),
9326 (gst_type_find_helper):
9327 * libs/gst/base/gsttypefindhelper.h:
9328 New API: gst_type_find_helper_get_range() (#333042).
9330 2006-03-02 Michael Smith <msmith@fluendo.com>
9332 * gst/gstregistryxml.c: (load_feature):
9333 Asserting on a failure to read part of the registry is Not Cool.
9334 Just log a warning and return NULL (which is already handled)
9336 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9338 * win32/common/libgstbase.def:
9339 added export of gst_type_find_helper_for_buffer
9340 * win32/common/libgstbase.def:
9341 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9342 gst_ghost_pad_get_target
9344 2006-02-28 Wim Taymans <wim@fluendo.com>
9346 * docs/design/draft-klass.txt:
9348 Added Connector to mark elements that are only used to
9349 allow pipeline connections.
9350 Moved Debug to extra feature since most of them are
9351 functionally something else.
9353 2006-02-28 Wim Taymans <wim@fluendo.com>
9355 * docs/design/draft-klass.txt:
9356 Some updates and clarifications.
9358 2006-02-28 Wim Taymans <wim@fluendo.com>
9360 * docs/design/draft-klass.txt:
9361 Proposal for klass field values.
9363 * docs/design/part-streams.txt:
9364 Start of a doc describing stream anatomy.
9366 2006-02-28 Wim Taymans <wim@fluendo.com>
9368 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9369 Help the compiler a bit with type registration.
9370 Use existing forward cod path instead of duplicating it when
9373 * gst/gstbus.c: (gst_bus_get_type):
9374 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9375 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9376 * gst/gstclock.c: (gst_clock_get_type):
9377 * gst/gstelement.c: (gst_element_get_type),
9378 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9379 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9380 * gst/gstminiobject.c: (gst_mini_object_get_type):
9381 * gst/gstpad.c: (gst_pad_get_type):
9382 * gst/gstsegment.c: (gst_segment_get_type):
9383 * gst/gststructure.c: (gst_structure_get_type):
9384 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9385 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9387 Help compiler with type registration.
9389 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9392 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9394 * plugins/elements/gsttypefindelement.c:
9395 (gst_type_find_element_handle_event):
9396 When we get an EOS event and have not found a type yet
9397 (most likely because we had not yet accumulated
9398 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9399 type given the data we have so far. Fixes typefinding
9400 for very short streams again, most notably quicktime
9401 redirections as used on Apple's trailer site (#331701).
9403 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9405 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9406 (gst_type_find_helper):
9407 Try typefinding factories with the highest rank first.
9409 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9411 * docs/libs/gstreamer-libs-docs.sgml:
9412 * docs/libs/gstreamer-libs-sections.txt:
9413 * libs/gst/base/gsttypefindhelper.c:
9414 Add section for typefind helper and add documentation
9415 for the old and the new function.
9417 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9419 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9420 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9421 (gst_type_find_helper_for_buffer):
9422 * libs/gst/base/gsttypefindhelper.h:
9423 New API: gst_type_find_helper_for_buffer() (#332723).
9425 2006-02-27 Michael Smith <msmith@fluendo.com>
9427 Patch by: Loïc Minier
9431 * docs/slides/Makefile.am:
9432 prevent CVS directories getting disted.
9434 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9436 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9437 Use the REFCOUNTING category for caps refcounting.
9439 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9441 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9442 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9444 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9446 * plugins/elements/gsttypefindelement.c:
9447 (gst_type_find_element_activate):
9448 Use gst_pad_check_pull_range() before _activate_pull()
9449 to avoid unnecessary open/close (see #331690).
9451 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9454 Docs enhancement: make it crystal clear what the
9455 gst_pad_add_*_probe() callbacks should look like.
9457 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9459 * libs/gst/base/gstbasesrc.c:
9460 Document how applications can stop recording from
9461 live sources (see #330996).
9463 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9465 * tests/check/Makefile.am:
9466 * tests/check/libs/basesrc.c: (eos_event_counter),
9467 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9468 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9469 (gst_basesrc_suite), (main):
9470 ... and add some tests for the base source EOS stuff.
9472 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9474 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9475 Test case originally showed the problem fixed below,
9476 but was then amended. Add checks back at the place
9477 where they used to be.
9479 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9481 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9482 (gst_base_src_init), (gst_base_src_loop),
9483 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9484 (gst_base_src_change_state):
9485 * libs/gst/base/gstbasesrc.h:
9486 Don't unconditionally send EOS when going from PAUSED to
9487 READY state, esp. make sure we don't send two EOS events
9488 in some cases (e.g. one when reaching EOS and one when
9489 going from PAUSED to READY). Also, we don't want to send
9490 EOS events when operating in pull mode. However, we do
9491 want to send an EOS event when shutting down a live
9492 source explicitly, for example (fixes #330996).
9494 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9496 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9497 Update src->read_position after a seek when not using mmap.
9498 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9500 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9506 Make things work with --disable-parse as they do with
9507 --disable-load-save - the symbols involved disappear, but the
9508 header is still installed and GST_DISABLE_PARSE is included via
9511 2006-02-20 Julien MOUTTE <julien@moutte.net>
9513 * libs/gst/base/gstbasetransform.c:
9514 (gst_base_transform_change_state): Fix a stupid bug. I was
9515 sure I compiled that.
9517 2006-02-20 Julien MOUTTE <julien@moutte.net>
9519 * gst/gstpad.c: (gst_pad_set_blocked_async):
9520 * gst/gstutils.c: (gst_pad_add_data_probe),
9521 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9522 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9523 (gst_pad_remove_buffer_probe): Make those function act on the
9524 ghostpad target when it's a ghostpad. (Closes #331727)
9526 2006-02-20 Julien MOUTTE <julien@moutte.net>
9528 * libs/gst/base/gstbasetransform.c:
9529 (gst_base_transform_change_state): Make basetransform reusable.
9532 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9534 * docs/random/release:
9535 Move the current documentation of how to do a release to the top
9538 * gst/gstbin.c: (gst_bin_class_init),
9539 (gst_bin_handle_message_func):
9540 Allow multiple state-recalculation threads. (Closes #328873)
9542 2006-02-19 Julien MOUTTE <julien@moutte.net>
9544 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9545 * gst/gstpad.c: (gst_pad_set_event_function),
9546 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9547 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9548 2 strings. You can't use the STR_NULL macro on that.
9550 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9552 * gst/gstpad.c: (gst_pad_set_event_function),
9553 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9554 (gst_pad_set_getcaps_function)
9555 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9556 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9557 So now, we can use --gst-debug-level=5 on Windows
9558 * win32/common/libgstcontroller.def:
9559 Added export of gst_controller_init
9560 * win32/vs6/libgstcontroller.dsp:
9561 Fixed Release post build configuration
9563 2006-02-17 Wim Taymans <wim@fluendo.com>
9565 * tests/check/gst/gstquery.c: (GST_START_TEST):
9566 Added another check.
9568 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9570 * plugins/elements/gsttypefindelement.c: (find_peek):
9571 We can do peeks at non-zero offsets, as long as they
9572 fall within the buffer we have.
9574 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9576 * tests/check/Makefile.am:
9577 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9578 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9579 (parse_suite), (main):
9580 Add testsuite for parse launch syntax
9582 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9584 * plugins/elements/gsttypefindelement.c:
9585 (gst_type_find_element_chain):
9586 When typefinding is unsuccessful in the chain function, don't
9587 error out immediately. Only error out with NO_CAPS_FOUND if
9588 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9589 otherwise simply wait for more data so we can try typefinding
9590 again with more data later. Also, don't attempt to typefind
9591 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9592 this should improve typefinding from network sources where the
9593 size of the first buffer can be somewhat random.
9595 2006-02-14 Wim Taymans <wim@fluendo.com>
9597 * docs/gst/gstreamer-sections.txt:
9598 * gst/gstpadtemplate.c:
9599 * gst/gstpadtemplate.h:
9600 Fix padtemplate docs, fixes #328805.
9602 2006-02-14 Wim Taymans <wim@fluendo.com>
9604 * tools/gst-launch.c: (main):
9605 NO_PREROLL is not an ERROR so don't send confusing messages
9608 2006-02-14 Wim Taymans <wim@fluendo.com>
9610 Patch by: Torsten Schoenfeld
9612 * gst/gstregistry.c: (gst_registry_get_default),
9613 (_gst_registry_cleanup):
9614 Protect default registry with lock and ref/sink it.
9617 2006-02-14 Wim Taymans <wim@fluendo.com>
9620 * gst/gstquery.c: (gst_query_list_add_format),
9621 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9622 (gst_query_parse_formats_nth):
9623 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9626 2006-02-14 Wim Taymans <wim@fluendo.com>
9628 * docs/gst/gstreamer-sections.txt:
9629 Reworked query docs.
9631 * gst/gstquery.c: (gst_query_new_formats),
9632 (gst_query_list_add_format), (gst_query_set_formats),
9633 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9634 (gst_query_parse_formats_nth):
9636 Flesh out formats query, added some new methods.
9637 Fix part of #324398.
9639 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9640 Added query creation tests.
9642 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9644 * gst/gstpad.c: (fixate_value):
9645 Add a default fixation for fraction lists.
9647 2006-02-13 Wim Taymans <wim@fluendo.com>
9649 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9650 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9653 Detect and warn for obvious deadlocks. fixes #320340
9654 Fix error case where lock was not released.
9656 * tests/check/Makefile.am:
9657 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9658 (task_func), (gst_element_suite), (main):
9661 2006-02-13 Wim Taymans <wim@fluendo.com>
9663 * docs/gst/gstreamer-sections.txt:
9665 Add new functions to docs.
9667 2006-02-13 Wim Taymans <wim@fluendo.com>
9669 * docs/design/part-TODO.txt:
9670 Updated TODO list, basesrc supports seeking to non-bytes
9673 * docs/design/part-element-sink.txt:
9676 * gst/gstbin.c: (bin_replace_message),
9677 (gst_bin_handle_message_func):
9678 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9679 * gst/gstevent.c: (gst_event_finalize):
9680 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9681 (gst_pad_send_event):
9682 Use shiny new _TYPE_NAME macros.
9684 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9685 Move debug statement up.
9687 * gst/gstelement.c: (gst_element_set_locked_state):
9690 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
9692 * docs/gst/gstreamer-sections.txt:
9695 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9696 macros (#330906). Also, document the already existing
9697 GST_QUERY_TYPE macro.
9699 2006-02-13 Wim Taymans <wim@fluendo.com>
9701 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9702 (event_probe), (GST_START_TEST):
9703 Only events up to the pipeline EOS are counted, there are
9704 some more when going to NULL currently which we don't care
9707 2006-02-13 Wim Taymans <wim@fluendo.com>
9709 * gst/gstpad.c: (gst_pad_send_event):
9710 Correctly check flushing and emit probes. fixes #330125
9712 2006-02-10 Andy Wingo <wingo@pobox.com>
9714 * gst/gstbus.c (gst_bus_class_init): Declare our private data
9716 (gst_bus_init): Cache the location of the private data in the
9718 (gst_bus_enable_sync_message_emission)
9719 (gst_bus_disable_sync_message_emission): Implement new public
9721 (gst_bus_post): Emit the sync-message signal if the user asked for
9724 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9725 location of the bus-private structure.
9726 (gst_bus_enable_sync_message_emission)
9727 (gst_bus_disable_sync_message_emission): API addition
9729 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
9731 Patch by: Vincent Torri
9733 * docs/pwg/building-boiler.xml:
9734 PWG patch from #326800
9736 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
9740 * docs/design/Makefile.am:
9743 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9748 === release 0.10.3 ===
9750 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9753 releasing 0.10.3, "Like a virgin"
9755 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9758 2nd prerelease of 0.10.3
9759 Bump libtool versioning.
9761 2006-02-07 Andy Wingo <wingo@pobox.com>
9763 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
9764 update last_stop if we're in TIME format and the timestamp is
9767 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
9768 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
9769 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
9770 If we get a new newsegment with a different format, adapt
9773 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
9774 of 0. Not a problem, really.
9776 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
9779 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
9784 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
9787 project files updated to the default vs7 configuration
9788 * win32/common/libgstbase.def:
9789 * win32/common/libgstreamer.def:
9791 removed empty lines,
9792 sorted all exported symbols alphabetically
9793 * win32/common/dirent.c:
9794 * win32/common/dirent.h:
9795 * win32/common/gchar.h:
9796 use windows line end.
9798 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
9800 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9801 Send EOS event when stopping.
9803 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
9806 Tell folks what to do if the plugin-foobar.xml file
9807 hasn't been generated for a newly-added plugin.
9809 2006-02-05 Julien MOUTTE <julien@moutte.net>
9811 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9812 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9813 (gst_collect_pads_start), (gst_collect_pads_stop),
9814 (gst_collect_pads_event): Collectpads now holds a reference
9815 to the GstPad that was added. Indeed we don't want to look
9816 at pads that might just go away with no warning...
9818 2006-02-05 Julien MOUTTE <julien@moutte.net>
9820 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9821 (gst_collect_pads_start), (gst_collect_pads_stop),
9822 (gst_collect_pads_event), (gst_collect_pads_chain):
9823 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
9824 Mark Nauwelaerts's patch on bug #328491.
9826 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
9828 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
9830 Add some simple tests for gst_parse_bin_from_description() and
9831 gst_bin_find_unconnected_pad() (#329069).
9833 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
9835 * tools/gst-launch.c: (event_loop), (main):
9836 Catch errors during preroll (#320084).
9838 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
9840 * plugins/elements/gsttypefindelement.c:
9841 (gst_type_find_element_activate):
9842 Post TYPE_NOT_FOUND error message when typefinding
9843 is unsuccessful in the activate function as well.
9845 2006-02-02 Wim Taymans <wim@fluendo.com>
9847 * docs/design/part-element-sink.txt:
9850 2006-02-02 Wim Taymans <wim@fluendo.com>
9852 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9853 (gst_base_sink_render_object),
9854 (gst_base_sink_queue_object_unlocked):
9855 Only keep track of prerollable items when we are
9857 Before rendering after preroll, always check if we
9859 Added some more debugging.
9861 2006-02-02 Wim Taymans <wim@fluendo.com>
9863 * gst/gstelement.c: (gst_element_continue_state),
9864 (gst_element_set_state_func), (gst_element_change_state):
9865 Fixed #326576, been running this for quite some time with
9866 no regressions at all.
9868 2006-02-02 Wim Taymans <wim@fluendo.com>
9871 Added more suppressions
9873 2006-02-02 Wim Taymans <wim@fluendo.com>
9875 * docs/design/part-element-sink.txt:
9878 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9879 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
9880 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
9881 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9882 (gst_base_sink_do_sync), (gst_base_sink_render_object),
9883 (gst_base_sink_preroll_object),
9884 (gst_base_sink_queue_object_unlocked),
9885 (gst_base_sink_queue_object), (gst_base_sink_event),
9886 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
9887 (gst_base_sink_loop), (gst_base_sink_activate_pull),
9888 (gst_base_sink_get_position), (gst_base_sink_change_state):
9889 * libs/gst/base/gstbasesink.h:
9890 Totally refactored matching the design doc.
9891 Use two segments, one to clip incomming buffers and another to
9893 Handle queueing correctly, bypass the queue when playing.
9894 Make EOS cancelable.
9895 Handle errors correctly when operating in pull based mode.
9897 * tests/check/elements/fakesink.c: (GST_START_TEST),
9899 Added new check for sinks.
9901 2006-02-02 Wim Taymans <wim@fluendo.com>
9903 * gst/gstsegment.c: (gst_segment_clip):
9904 No reason to refuse to clip when start == -1
9906 2006-02-02 Stefan Kost <ensonic@users.sf.net>
9909 * docs/manual/intro-basics.xml:
9910 * docs/manual/intro-preface.xml:
9911 * docs/manual/manual.xml:
9912 * docs/pwg/advanced-dparams.xml:
9913 * docs/pwg/intro-basics.xml:
9914 * docs/pwg/intro-preface.xml:
9916 describe dparams (controller) for plugins
9917 unify docs a little more
9919 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
9921 * docs/gst/gstreamer-sections.txt:
9922 * gst/gstutils.c: (element_find_unconnected_pad),
9923 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
9925 Add new API: gst_parse_bin_from_description() and
9926 gst_bin_find_unconnected_pad() (#329069).
9928 2006-02-01 Stefan Kost <ensonic@users.sf.net>
9930 * docs/manual/README:
9931 uncover a nasty detail of the docs build
9933 2006-01-31 Wim Taymans <wim@fluendo.com>
9935 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
9936 Don't cache duration messages if we're not going to use or
9939 2006-01-31 Stefan Kost <ensonic@users.sf.net>
9941 * docs/manual/advanced-dparams.xml:
9942 * docs/pwg/advanced-dparams.xml:
9946 * libs/gst/controller/lib.c: (gst_controller_init):
9949 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
9951 * gst/gstelement.c: (gst_element_message_full):
9952 also show file/line/func if no additional debug was given
9954 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
9956 * win32/vs7/grammar.vcproj:
9957 activate copy of autogenerated files for Release mode
9959 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9961 * win32/common/libgstreamer.def:
9962 export gst_value_compare
9964 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
9966 * plugins/elements/Makefile.am:
9967 * plugins/elements/gstelements.c:
9968 * plugins/elements/gstfdsink.c: (_do_init),
9969 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
9970 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
9971 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
9972 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
9973 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
9974 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
9975 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
9976 * plugins/elements/gstfdsink.h:
9977 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
9979 2006-01-30 Stefan Kost <ensonic@users.sf.net>
9981 * docs/manual/advanced-dparams.xml:
9983 * docs/manual/advanced-position.xml:
9984 * docs/manual/basics-init.xml:
9985 * docs/manual/manual.xml:
9986 * docs/manual/titlepage.xml:
9988 * docs/pwg/titlepage.xml:
9989 cleanup xml (more to come)
9990 * libs/gst/controller/gstcontroller.c:
9993 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9995 * win32/vs6/grammar.dsp:
9996 add autogen of gstmarshal.c,h for Release mode
9998 2006-01-30 Wim Taymans <wim@fluendo.com>
10000 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10001 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10002 (gst_base_sink_handle_object), (gst_base_sink_event),
10003 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10004 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10005 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10006 (gst_base_sink_deactivate), (gst_base_sink_activate),
10007 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10008 (gst_base_sink_query), (gst_base_sink_change_state):
10009 Basesink cleanups, remove some old code.
10010 Handle the case where a subclass can preroll in the render
10011 method (mostly audiosinks).
10012 Handle more events.
10013 Remove some locks around variables that are now protected
10014 with the PREROLL_LOCK (clock_id, flushing, ..).
10015 Optimize position query some more, do correct locking.
10016 Remove old code to push queue in state change, this is not
10017 needed anymore since preroll blocks on all prerollable items
10019 Almost implemented as described in design doc.
10021 2006-01-30 Wim Taymans <wim@fluendo.com>
10023 * tests/check/gst/gstbin.c: (GST_START_TEST):
10024 Wait for refcount to settle down before checking.
10026 2006-01-30 Wim Taymans <wim@fluendo.com>
10028 * docs/design/part-element-sink.txt:
10029 Pseudo code overview of desired sink behaviour regarding
10032 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10033 * win32/vs6/grammar.dsp:
10034 fix some bugs in Release mode for autogenerated files
10036 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10037 * win32/common/libgstbase.def:
10038 * win32/common/libgstreamer.def:
10039 export some new symbols: gst_base_src_set_format,
10040 gst_iterator_next, gst_structure_set_valist
10042 2006-01-29 Julien MOUTTE <julien@moutte.net>
10044 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10045 Set pad functions unconditionally. Fixes #329105.
10047 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10049 add vs8 project files created by Sergey Scobich
10051 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10053 * gst/gstutils.c: (gst_element_unlink_pads):
10054 Don't leak pad references.
10056 * tests/check/elements/fakesink.c: (GST_START_TEST):
10057 * tests/check/generic/sinks.c: (GST_START_TEST):
10058 * tests/check/generic/states.c: (GST_START_TEST):
10059 * tests/check/gst/gstbin.c: (GST_START_TEST):
10060 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10061 * tests/check/gst/gstelement.c: (GST_START_TEST):
10062 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10063 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10064 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10065 Fix a bunch of leaks. Make generic/sinks.c
10066 use a bit less cpu by slowing the buffer rate
10067 between fakesrc and fakesink.
10069 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10071 * gst/gstelement.c: (gst_element_send_event):
10074 * gst/gstiterator.c:
10075 * gst/gstiterator.h:
10076 * gst/gstpad.c: (gst_pad_send_event):
10077 * gst/gststructure.c:
10081 * libs/gst/base/gstadapter.c:
10082 doc fixes, to link to function, just write gst_cool_function(), don't
10085 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10087 * plugins/elements/gsttee.c: (gst_tee_do_push),
10088 (gst_tee_handle_buffer):
10089 Always prefer an actual return value from a src
10090 pad in place of NOT_LINKED. This means we return
10091 WRONG_STATE when all src pads are WRONG_STATE
10092 instead of NOT_LINKED.
10094 Lock when replacing the last message to prevent
10095 racing with the get_property method.
10099 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10101 * tests/check/Makefile.am:
10102 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10104 Add a very simple check that should have caught the memleak I fixed
10105 last night (if not for the slice allocator hiding it)
10107 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10109 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10110 (gst_bin_remove_func), (gst_bin_handle_message_func),
10111 (bin_query_duration_fold), (bin_query_generic_fold):
10112 Clean up references to the clock provider when disposed or when
10113 handling a clock-lost message from it.
10115 Unref sinks when performing a query via gst_iterator_fold, as the
10116 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10118 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10119 (gst_clock_set_master):
10120 Drop our reference to the master clock, if any, when we are disposed.
10122 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10123 Chain up in dispose.
10125 2006-01-26 Wim Taymans <wim@fluendo.com>
10127 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10128 Add some debugging.
10130 2006-01-26 Julien MOUTTE <julien@moutte.net>
10132 * plugins/elements/gsttee.c: (gst_tee_do_push),
10133 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10134 handles pad being NOT_LINKED or in WRONG_STATE.
10136 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10141 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10144 remove obsolete entry
10146 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10148 * docs/gst/gstreamer-sections.txt:
10149 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10150 (gst_bin_iterate_sources), (gst_bin_send_event):
10152 * gst/gstelement.c: (gst_element_send_event):
10154 * gst/gstpad.c: (gst_pad_send_event):
10155 added code for downstream events, reviewed docs in gstevent.c
10157 2006-01-25 Julien MOUTTE <julien@moutte.net>
10159 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10160 We only query position using the clock in the playing state.
10161 Query peer in the other cases.
10162 * win32/common/config.h: Updates.
10164 2006-01-24 Wim Taymans <wim@fluendo.com>
10166 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10167 A clock entry that is scheduled for the exact time of the
10168 clock is still in time.
10170 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10171 (gst_base_sink_do_sync):
10172 Add some more debug info.
10174 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10177 Add new vs7 project files and solution.
10179 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10182 all files removed as they were out-dated.
10184 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10186 * docs/random/release:
10188 * gst/gstbin.c: (gst_bin_init):
10189 * gst/gstbus.c: (gst_bus_new):
10191 * gst/gstpipeline.c: (gst_pipeline_init):
10192 use gst_bus_new(), improve logging, fix docs
10193 * win32/common/config.h:
10194 update for cvs build
10196 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10199 up required version of automake to 1.7
10201 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
10203 * win32/common/libgstreamer.def:
10204 export gst_buffer_is_metadata_writable
10206 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
10208 * docs/gst/gstreamer-sections.txt:
10210 Add gst_event_replace() (#327001)
10212 2006-01-20 Wim Taymans <wim@fluendo.com>
10214 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10215 Make it actually compile too..
10217 2006-01-20 Wim Taymans <wim@fluendo.com>
10220 Clarify behaviour of _is_equal() when passing NULL parameters.
10222 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10223 (gst_pad_set_caps):
10224 Cleanups. Don't unref NULL caps.
10225 When setting the same caps, protect caps of the pad with
10227 Use full functionality of _is_equal() when comparing caps.
10229 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10231 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10232 Don't loop infinitely if there are no buffers to present. Partially
10233 fixes #327197, but collectpads is just broken for reusing elements
10234 to do multiple encodes atm.
10236 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10238 * tools/gst-inspect.c: (print_element_features):
10239 * tools/gst-xmlinspect.c: (main):
10240 URL_HANDLER is not a plugin feature we can search for in
10243 2006-01-19 Edward Hervey <edward@fluendo.com>
10245 * gst/gstelement.c: (gst_element_pads_activate):
10246 When activating, do src pads first, then sink pads.
10247 When de-activating, do sink pads first, then src pads.
10249 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10251 * docs/gst/gstreamer-sections.txt:
10252 Add gst_index_add_associationv to the docs
10254 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10259 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10260 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10261 Do some refactoring. Doesn't actually change functionality,
10262 but makes landing the DRAIN event easier later.
10264 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10266 * docs/pwg/advanced-scheduling.xml:
10267 Update from 0.9.x to 0.10 API and make example a bit
10270 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10272 * docs/gst/gstreamer-sections.txt:
10273 Add gst_buffer_(is|make)_metadata_writable methods.
10275 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10277 * docs/design/part-sparsestreams.txt:
10278 Update sparse streams doc, hopefully for greater clarity
10280 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10282 * docs/design/part-events.txt:
10283 Remove mention of FILLER events.
10286 * docs/design/part-sparsestreams.txt:
10287 Write some things about using NEWSEGMENT to keep sparse streams
10290 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10292 * gst/gstbin.c: (gst_bin_dispose):
10293 Guard gst_object_unref call against a NULL object (dispose
10294 can theoretically be called multiple times).
10296 2006-01-18 Wim Taymans <wim@fluendo.com>
10298 * gst/gstbin.c: (gst_bin_element_set_state):
10299 * gst/gstclock.c: (gst_clock_id_wait):
10300 Added some more debug info.
10302 * libs/gst/base/gstadapter.c:
10305 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10306 (gst_base_sink_do_sync), (gst_base_sink_chain):
10307 Added some comments.
10309 2006-01-18 Wim Taymans <wim@fluendo.com>
10311 * tests/check/Makefile.am:
10312 * tests/check/elements/fakesink.c: (chain_async_buffer),
10313 (chain_async), (chain_async_return), (GST_START_TEST),
10314 (fakesink_suite), (main):
10315 Added fakesink test that checks prerolling and clipping
10318 * tests/check/gst/gstutils.c: (GST_START_TEST):
10319 Make check run faster so that buildbots don't timeout.
10321 2006-01-18 Wim Taymans <wim@fluendo.com>
10323 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10324 (gst_base_sink_do_sync):
10326 When the sink finishes blocking on the preroll buffer, it can
10327 immediatly render it instead of rendering when the next buffer
10330 2006-01-18 Wim Taymans <wim@fluendo.com>
10332 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10333 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10334 (gst_base_sink_chain):
10336 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10337 Don't store _last_stop if the buffer is dropped.
10339 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10341 * plugins/elements/gsttypefindelement.c:
10342 (gst_type_find_element_class_init):
10343 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10344 object method handler that sets the caps on the pad and we want
10345 that to happen before we emit the signal (fixes e.g. feeding a
10346 plain text file to decodebin).
10348 2006-01-18 Christian Schaller <Christian@fluendo.com>
10350 * gst/gstplugin.c: Add MPL and Proprietary as license options
10352 2006-01-18 Andy Wingo <wingo@pobox.com>
10354 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10355 symbol was exported before, it appears this was just an oversight.
10357 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10359 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10360 prototype to gint. OK since this prototype was not in the header.
10362 2006-01-17 Andy Wingo <wingo@pobox.com>
10364 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10365 registry while we remove plugins.
10367 * tools/gst-inspect.c (print_element_info): Don't unref the
10368 factory arg, that should be the responsibility of whatever code
10369 received the ref. Fixes a double-free when called from
10370 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10371 (main): Unref the factory if we have one.
10372 (print_element_list): No change -- relies on the
10373 plugin_feature_list_free to free the list of features.
10375 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10377 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10378 (gst_buffer_make_metadata_writable):
10380 * libs/gst/base/gstbasetransform.c:
10381 (gst_base_transform_prepare_output_buf):
10382 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10383 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10384 Replace gst_buffer_(make|is)_metadata_writable patch now
10385 that the release is out.
10387 2006-01-17 Andy Wingo <wingo@pobox.com>
10389 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10390 in the present tense without reference to versions.
10392 * gst/gstregistry.c (gst_registry_add_plugin)
10393 (gst_registry_remove_plugin, gst_registry_remove_feature)
10394 (gst_registry_find_feature, gst_registry_get_feature_list)
10395 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10396 (gst_registry_lookup, gst_registry_scan_path)
10397 (_gst_registry_remove_cache_plugins)
10398 (gst_registry_get_feature_list_by_plugin): Add argument
10401 === release 0.10.2 ===
10403 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10406 releasing 0.10.2, "If man is five"
10408 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10412 * libs/gst/base/gstbasetransform.c:
10413 (gst_base_transform_prepare_output_buf):
10414 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10415 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10416 Back out patch until after the release.
10418 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10420 * gst/gstminiobject.c:
10421 Spelling fix in docs.
10422 * ChangeLog - remove conflict indicator
10424 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10426 Reviewed By: Andy Wingo
10428 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10429 (gst_buffer_make_metadata_writable):
10431 Add gst_buffer_(is|make)_metadata_writable as analogues of
10432 gst_buffer_(is|make)_writable.
10434 * libs/gst/base/gstbasetransform.c:
10435 (gst_base_transform_prepare_output_buf):
10436 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10437 Use name gst_buffer_(is|make)_metadata_writable functions.
10439 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10440 Test gst_buffer_(is|make)_metadata_writable
10444 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10446 * docs/manual/Makefile.am:
10447 don't do parallel make
10450 * win32/common/config.h.in:
10451 add generations for HOST_CPU and GST_MAJORMINOR
10452 * win32/common/config.h:
10453 commit generated result
10455 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10457 * docs/manual/appendix-integration.xml:
10458 Update GNOME integration section to use gst_init_get_option_group()
10459 instead of the old popt stuff (#322911). Also, GNOME applications
10460 should now use gconf*sink and gconf*src instead of the old gconf
10463 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10466 * docs/gst/gstreamer-docs.sgml:
10467 * docs/gst/gstreamer-sections.txt:
10468 * docs/libs/gstreamer-libs-sections.txt:
10469 add new API entries to the docs
10470 * libs/gst/controller/Makefile.am:
10471 * libs/gst/controller/gstcontroller.c:
10472 * libs/gst/controller/gstcontroller.h:
10473 * libs/gst/controller/gstcontrollerprivate.h:
10474 * libs/gst/controller/gsthelper.c:
10475 * libs/gst/controller/gstinterpolation.c:
10476 move private structs to private header
10478 gstreamer-0.7 -> gstreamer-0.10
10479 * tests/check/libs/struct_i386.h:
10480 remove private structs
10482 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10484 * plugins/indexers/Makefile.am:
10485 Fixes as part of #317048
10487 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10489 * plugins/indexers/Makefile.am:
10490 fix #316086 - compilation when mmap is missing
10492 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10494 * libs/gst/base/gstbasesink.c:
10495 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10496 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10497 * win32/common/config.h:
10498 added some defines GST_MAJORMINOR and HOST_CPU
10499 * win32/common/libgstbase.def:
10500 * win32/common/libgstreamer.def:
10501 added some exported functions.
10503 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10505 * libs/gst/controller/gstcontroller.c:
10506 (gst_controlled_property_set_interpolation_mode),
10507 (gst_controlled_property_new):
10508 * libs/gst/controller/gstcontroller.h:
10509 * libs/gst/controller/gstinterpolation.c:
10510 (interpolate_none_get_string_value_array):
10511 make G_TYPE_STRING controlable
10513 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10516 * tools/gst-feedback.1.in:
10517 * tools/gst-inspect.1.in:
10518 * tools/gst-launch.1.in:
10519 * tools/gst-md5sum.1.in:
10520 * tools/gst-typefind.1.in:
10521 * tools/gst-xmlinspect.1.in:
10522 * tools/gst-xmllaunch.1.in:
10523 cleanup man-pages, remove reference to gst-register, document env-vars
10525 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10527 * gst/gstbuffer.c: (gst_buffer_span):
10528 gst_buffer_span should copy the timestamp of the first buffer
10529 if they were both originally overlapping subbuffers of the
10530 same parent, using the same logic as the 'slow copy' case.
10532 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10534 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10535 Need to awaken ALL the pads when we pop a buffer, otherwise
10536 collectpads only works when there is 2 input streams.
10538 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10540 * docs/random/ensonic/media-device-daemon.txt:
10543 fix doc example, add clarification
10544 * tools/gst-launch.1.in:
10545 add initial info about GST_PLUGIN_PATH, needs more work
10547 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10549 * docs/manual/basics-bins.xml:
10550 * docs/manual/basics-elements.xml:
10551 * docs/manual/intro-basics.xml:
10552 Some more minor docs additions and updates.
10554 2006-01-11 Wim Taymans <wim@fluendo.com>
10556 * docs/manual/basics-bins.xml:
10557 * docs/manual/basics-elements.xml:
10558 Some small fixes as pointed out by Ser-ver on IRC.
10560 2006-01-10 Edward Hervey <edward@fluendo.com>
10562 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10563 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10564 the single-segment mode.
10566 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10568 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10570 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10571 (gst_base_src_perform_seek), (gst_base_src_send_event),
10572 (gst_base_src_set_property), (gst_base_src_get_property),
10573 (gst_base_src_loop), (gst_base_src_start),
10574 (gst_base_src_activate_push):
10575 * libs/gst/base/gstbasesrc.h:
10576 Name (private) union; makes Sun's Forte compiler happy (#324900).
10578 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10581 gst-register is gone.
10583 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10585 * gst/gstvalue.c: (_gst_value_initialize):
10586 make the G_TYPE_DATE instantiation work if debug is disabled
10588 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10590 * gst/gstmessage.c: (gst_message_parse_tag),
10591 (gst_message_parse_error), (gst_message_parse_warning):
10592 Don't crash when return location for error/warning debug
10593 string is NULL; add fact that return locations can be
10594 NULL to docs where appropriate.
10596 2006-01-05 Wim Taymans <wim@fluendo.com>
10598 * gst/gstplugin.c: (gst_plugin_load_file):
10599 Replace strdup by g_strdup.
10601 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10603 * docs/pwg/advanced-types.xml:
10606 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10608 submitted by: Abel Cheung
10612 Added Chinese (traditional) translation
10614 2006-01-04 Wim Taymans <wim@fluendo.com>
10616 * docs/manual/basics-pads.xml:
10617 * docs/plugins/Makefile.am:
10618 * docs/plugins/gstreamer-plugins-docs.sgml:
10619 * docs/plugins/gstreamer-plugins-sections.txt:
10620 * docs/pwg/advanced-clock.xml:
10621 * docs/pwg/advanced-scheduling.xml:
10622 * docs/pwg/advanced-types.xml:
10623 * plugins/elements/gstfdsink.c:
10624 * plugins/elements/gstfdsrc.c:
10625 * plugins/elements/gstfdsrc.h:
10626 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10627 * plugins/elements/gstidentity.h:
10628 * plugins/elements/gstqueue.h:
10629 * plugins/elements/gsttee.c:
10630 * plugins/elements/gsttee.h:
10631 * plugins/elements/gsttypefindelement.c:
10632 (gst_type_find_element_class_init):
10633 * plugins/elements/gsttypefindelement.h:
10634 Small updates to various docs.
10635 Added core plugins to docs.
10637 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10640 add a suppression for liboil's uninitialized variable
10642 2006-01-02 James Livingston <jrl at ids dot org dot au>
10644 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10647 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10648 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10649 compiler switch is being used (#325429).
10651 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10653 * gst/gstbin.c: (gst_bin_query):
10654 Disable duration query caching in bins until it gets
10655 fixed (see #324807).
10657 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10659 * tools/gst-inspect.c: (print_element_properties_info):
10660 Handle properties of POINTER and BOXED type.
10662 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10664 * gst/gst.c: (init_post):
10665 Init tags stuff and some other things before loading
10666 any static plugins (there may be other static plugins
10667 than just the GStreamer ones, and they may want to
10668 register their own tags or formats or whatever, and
10669 preferably without segfaulting).
10671 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10672 Print at least a warning in the debug logs if we drop a
10673 query just because we don't know how to adjust the value
10674 in the particular format.
10676 2005-12-24 David Schleef <ds@schleef.org>
10678 * tools/gstreamer-completion:
10679 Replacement for gst-complete written in sh and sed. Only
10680 completes names of features, but that's 90% of what I want
10681 it for. Properties are not available in registry.xml. (Maybe
10684 === release 0.10.1 ===
10686 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
10689 releasing 0.10.1, "Nollaig chridheil"
10691 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
10693 * docs/faq/cvs.xml:
10694 Add missing quote, should be make ERROR_CFLAGS="".
10696 2005-12-20 Wim Taymans <wim@fluendo.com>
10698 * docs/design/part-trickmodes.txt:
10699 More documentation on trickmodes.
10701 2005-12-20 Edward Hervey <edward@fluendo.com>
10703 * gst/gstcaps.c: (gst_static_caps_get_type):
10705 API addition: GST_TYPE_STATIC_CAPS
10706 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10707 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10708 * gst/gstpadtemplate.h:
10709 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10710 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10713 2005-12-18 Wim Taymans <wim@fluendo.com>
10715 * libs/gst/base/gstadapter.c:
10716 * libs/gst/base/gstadapter.h:
10717 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10718 (gst_base_sink_get_position):
10719 * libs/gst/base/gstbasesink.h:
10720 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10721 (gst_base_src_default_query), (gst_base_src_default_do_seek),
10722 (gst_base_src_do_seek), (gst_base_src_perform_seek),
10723 (gst_base_src_send_event), (gst_base_src_update_length),
10724 (gst_base_src_get_range), (gst_base_src_loop),
10725 (gst_base_src_start):
10726 * libs/gst/base/gstbasesrc.h:
10727 * libs/gst/base/gstbasetransform.h:
10728 * libs/gst/base/gstcollectpads.h:
10729 * libs/gst/base/gstpushsrc.c:
10730 * libs/gst/base/gstpushsrc.h:
10731 * libs/gst/dataprotocol/dataprotocol.c:
10732 * libs/gst/dataprotocol/dataprotocol.h:
10733 * libs/gst/net/gstnetclientclock.h:
10734 * libs/gst/net/gstnettimeprovider.h:
10735 Documentation updates.
10737 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
10739 * docs/manual/basics-helloworld.xml:
10740 Remove superfluous closing bracket in helloworld example.
10742 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
10744 * tools/gst-launch.1.in:
10745 Update gst-launch man page; add a section with useful
10746 environment variables. Fixes #323882.
10748 2005-12-16 Stefan Kost <ensonic@users.sf.net>
10751 * gst/gst_private.h:
10752 change some char* into char[]
10754 2005-12-16 Wim Taymans <wim@fluendo.com>
10756 * gst/gstregistryxml.c: (load_feature):
10758 Don't use g_object_unref on GstObjects so that we avoid
10759 leaks on unsafe glibs.
10761 2005-12-16 Wim Taymans <wim@fluendo.com>
10763 * gst/gstbin.c: (gst_bin_recalc_state):
10766 2005-12-16 Wim Taymans <wim@fluendo.com>
10768 * common/check.mak:
10769 Added make forever target for check.
10771 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
10773 * gst/gst.c: (init_post):
10774 make the registry cache file HOST_CPU-dependent
10776 2005-12-16 Andy Wingo <wingo@pobox.com>
10778 * plugins/elements/gstbufferstore.c
10779 (gst_buffer_store_cleared_func): Pay attention to g_list_append
10782 * tests/check/gst/gstobject.c
10783 (test_fake_object_name_threaded_unique): Pay attention to
10784 g_list_sort return value.
10786 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
10788 * tools/gst-feedback-m.m:
10789 Update for 0.9/0.10 (fixes #323870).
10791 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
10793 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
10794 Fix lcopy for mini objects, the mini object needs to be ref'ed.
10796 * tests/check/gst/gstminiobject.c: (my_foo_init),
10797 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
10798 (test_value_collection), (gst_mini_object_suite):
10799 Add test to ensure refcounts end up as expected when passing
10800 GstMiniObjects through g_object_get() and g_object_set().
10802 2005-12-14 Julien MOUTTE <julien@moutte.net>
10804 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10805 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
10806 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
10807 of collectpads. This version removes a lot of races without
10808 touching API/ABI. Yay !
10810 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
10812 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
10813 Don't allow activation of a srcpad in pull_range if it has no
10815 Change some debug statements to be a little clearer
10817 * plugins/elements/gsttypefindelement.c:
10818 (gst_type_find_handle_src_query):
10819 Check that we have a peer before executing queries thereupon.
10821 * tests/examples/metadata/read-metadata.c: (message_loop):
10822 Use gst_bus_pop instead of gst_bus_poll when we just want it to
10823 immediately return us any available message with 0 timeout.
10825 2005-12-12 Michael Smith <msmith@fluendo.com>
10827 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10828 Don't unref factories after calling them.
10829 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
10830 * plugins/elements/gsttypefindelement.c:
10831 (gst_type_find_element_chain):
10832 Free lists of factories after using them. Fixing typefinding memory
10835 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10837 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10838 (gst_plugin_feature_load):
10839 more meaningful debug output
10841 * tests/Makefile.am:
10842 * tests/old/examples/Makefile.am:
10843 make make distcheck happy again
10845 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
10847 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10848 Catch the special case where we are operating chain-based,
10849 but the downstream peer pad has no chain function. Emit a
10850 custom error message in this case instead of letting the
10851 core generate one implying that this is some sort of core
10852 bug. It's not, it just means that whatever got plugged
10853 into the pipeline downstream when we announced the type
10854 can only operate pull-based, while our source can only
10855 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
10856 Error string has not been marked for translation yet, as
10857 it probably needs some more work first.
10859 (gst_type_find_element_get_best_possibility):
10860 Add helper function to find the best of all available
10861 found possibilities that qualify given the min. threshold.
10863 (gst_type_find_element_handle_event):
10864 Fix the case where we get an EOS while still in TYPEFIND
10865 mode (we want to chose the best of all possible types,
10866 not just the first type that happens to be in our unsorted
10867 list of possible types).
10869 (gst_type_find_element_chain):
10870 Make sure we return GST_FLOW_ERROR when we errored out
10871 in stop_typefinding(); also, don't just find the best of
10872 all found type entries and then use the last examined
10873 type entry, but actually use the best entry.
10875 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
10877 * tests/examples/typefind/typefind.c: (type_found):
10878 * tests/examples/xml/runxml.c: (xml_loaded):
10879 More gcc4 fixes and a mem leak fix.
10881 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10883 * tests/examples/xml/createxml.c: (object_saved):
10886 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10888 * tests/Makefile.am:
10889 enable the examples even more
10891 2005-12-12 Andy Wingo <wingo@pobox.com>
10893 * libs/gst/net/gstnettimeprovider.c
10894 (gst_net_time_provider_class_init, gst_net_time_provider_init)
10895 (gst_net_time_provider_set_property)
10896 (gst_net_time_provider_get_property):
10897 API addition: Export "active" as a GObject property.
10898 (gst_net_time_provider_thread): Only respond to time queries if
10899 the time provider is active.
10901 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
10902 NetTimeProvider, preserving binary compat.
10904 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10906 * tests/examples/controller/audio-example.c: (main):
10907 * tests/examples/launch/Makefile.am:
10908 convert comments again
10910 2005-12-12 Wim Taymans <wim@fluendo.com>
10912 * libs/gst/base/gstpushsrc.c:
10915 2005-12-12 Wim Taymans <wim@fluendo.com>
10917 * docs/libs/gstreamer-libs-sections.txt:
10918 Added new symbol to docs.
10920 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10921 (gst_base_src_init), (gst_base_src_set_format),
10922 (gst_base_src_default_query), (gst_base_src_query),
10923 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
10924 (gst_base_src_perform_seek), (gst_base_src_send_event),
10925 (gst_base_src_default_event), (gst_base_src_event_handler),
10926 (gst_base_src_set_property), (gst_base_src_get_property),
10927 (gst_base_src_wait), (gst_base_src_do_sync),
10928 (gst_base_src_update_length), (gst_base_src_get_range),
10929 (gst_base_src_check_get_range), (gst_base_src_loop),
10930 (gst_base_src_default_negotiate), (gst_base_src_start),
10931 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10932 (gst_base_src_change_state):
10933 * libs/gst/base/gstbasesrc.h:
10934 Implement seeking to other formats than _BYTES.
10935 Implement more seeking methods correctly.
10937 Added query vmethod.
10938 Added do_seek vmethod to make life easier for subclasses
10940 API addition: gst_base_src_set_format()
10942 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10944 * tests/examples/Makefile.am:
10947 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10950 * docs/random/ensonic/media-device-daemon.txt:
10951 * tests/examples/controller/.cvsignore:
10952 * tests/examples/controller/Makefile.am:
10953 * tests/examples/controller/audio-example.c: (main):
10954 * tests/examples/helloworld/.cvsignore:
10955 * tests/examples/helloworld/Makefile.am:
10956 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
10957 * tests/examples/launch/.cvsignore:
10958 * tests/examples/launch/Makefile.am:
10959 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
10960 * tests/examples/metadata/.cvsignore:
10961 * tests/examples/metadata/Makefile.am:
10962 * tests/examples/metadata/read-metadata.c: (message_loop),
10963 (make_pipeline), (print_tag), (main):
10964 * tests/examples/queue/.cvsignore:
10965 * tests/examples/queue/Makefile.am:
10966 * tests/examples/queue/queue.c: (event_loop), (main):
10967 * tests/examples/typefind/.cvsignore:
10968 * tests/examples/typefind/Makefile.am:
10969 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
10971 * tests/examples/xml/.cvsignore:
10972 * tests/examples/xml/Makefile.am:
10973 * tests/examples/xml/createxml.c: (object_saved), (main):
10974 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
10975 * tests/old/examples/Makefile.am:
10976 * tests/old/examples/TODO:
10977 * tests/old/examples/controller/.cvsignore:
10978 * tests/old/examples/controller/Makefile.am:
10979 * tests/old/examples/controller/audio-example.c:
10980 * tests/old/examples/helloworld/.cvsignore:
10981 * tests/old/examples/helloworld/Makefile.am:
10982 * tests/old/examples/helloworld/helloworld.c:
10983 * tests/old/examples/launch/.cvsignore:
10984 * tests/old/examples/launch/Makefile.am:
10985 * tests/old/examples/launch/mp3parselaunch.c:
10986 * tests/old/examples/launch/mp3play:
10987 * tests/old/examples/manual/Makefile.am:
10988 * tests/old/examples/metadata/Makefile.am:
10989 * tests/old/examples/metadata/read-metadata.c:
10990 * tests/old/examples/queue/.cvsignore:
10991 * tests/old/examples/queue/Makefile.am:
10992 * tests/old/examples/queue/queue.c:
10993 * tests/old/examples/typefind/.cvsignore:
10994 * tests/old/examples/typefind/Makefile.am:
10995 * tests/old/examples/typefind/typefind.c:
10996 * tests/old/examples/xml/.cvsignore:
10997 * tests/old/examples/xml/Makefile.am:
10998 * tests/old/examples/xml/createxml.c:
10999 * tests/old/examples/xml/runxml.c:
11000 applied some simple fixing to some examples
11001 re-enabled the working examples
11003 2005-12-12 Wim Taymans <wim@fluendo.com>
11005 * gst/gstsegment.c: (gst_segment_init),
11006 (gst_segment_set_last_stop), (gst_segment_set_seek),
11007 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11008 (gst_segment_to_running_time):
11009 Added more documentation.
11010 Make sure the last_pos value is updated properly.
11011 Make sure to_stream_time and to_running_time don't
11012 operate on wrong values.
11014 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11017 2005-12-12 Michael Smith <msmith@fluendo.com>
11019 * plugins/elements/gsttypefindelement.c: (free_entry),
11020 (gst_type_find_element_chain):
11021 Now that we're not leaking factories, make sure we keep references
11022 to them while we need them.
11024 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11026 * tests/check/gst/struct_i386.h:
11027 ifdef out the XML structs
11029 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11031 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11032 floor is not needed, F is always positive; this obviates the
11033 need for adding -lm when building without libxml
11035 2005-12-12 Wim Taymans <wim@fluendo.com>
11037 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11038 Take current playback rate into account when reporting
11041 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11043 * docs/manual/mime-world.fig:
11044 Let's try this again, this time with a file that is
11045 actually in XFig format.
11047 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11049 * docs/manual/mime-world.fig:
11050 Add audioconvert element to diagram so that it
11051 matches the text and the code (fixes #319526).
11053 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11055 * docs/pwg/building-chainfn.xml:
11056 * docs/pwg/building-pads.xml:
11057 * docs/pwg/building-state.xml:
11058 * docs/pwg/other-source.xml:
11059 Update state change stuff for 0.10 (fixes #322969).
11061 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11063 * docs/manual/advanced-dataaccess.xml:
11064 * docs/manual/appendix-checklist.xml:
11065 * docs/manual/appendix-programs.xml:
11066 * docs/manual/basics-pads.xml:
11067 * docs/manual/highlevel-components.xml:
11068 * docs/manual/manual.xml:
11069 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11070 add converters in front of pipelines; remove curly
11071 brackets for threads stuff, they no longer exist; use
11072 GST_TYPE_FRACTION for framerates; update some pieces of
11073 code to 0.10, but there's plenty more to do.
11075 * docs/manual/appendix-porting.xml:
11076 Expand on asynchroneous state changes; s/0.9/0.10/;
11077 mention disappearance of gst_init_get_popt_table()
11080 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11082 * docs/faq/using.xml:
11083 Spider no longer exists, and neither does gst-launch-ext.
11084 Update examples to use decodebin and playbin and put
11085 converters in front of sinks (fixes #323726).
11087 2005-12-09 Michael Smith <msmith@fluendo.com>
11089 * plugins/elements/gsttypefindelement.c: (find_peek),
11090 (gst_type_find_element_chain):
11091 Fix leaking element factories in typefinding.
11092 Fix problem where we forgot about a probable type on non-seekable
11093 files, and thus later mis-typefound it.
11095 2005-12-09 Michael Smith <msmith@fluendo.com>
11097 * common/m4/gst-makecontext.m4:
11098 * common/m4/gst-mcsc.m4:
11100 * win32/common/config.h:
11101 * win32/common/config.h.in:
11102 Remove makecontext stuff; not used in 0.10 and causes problems on
11103 HPUX according to bug #322441
11105 2005-12-07 Wim Taymans <wim@fluendo.com>
11107 * tests/check/Makefile.am:
11108 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11110 * tests/check/libs/struct_i386.h:
11111 Added ABI check for libs
11113 2005-12-07 Wim Taymans <wim@fluendo.com>
11115 * tests/check/Makefile.am:
11116 And add the struct_i386.h to dist.
11118 2005-12-07 Wim Taymans <wim@fluendo.com>
11120 * tests/check/Makefile.am:
11121 * tests/check/gst/.cvsignore:
11122 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11124 * tests/check/gst/struct_i386.h:
11125 Added check for ABI compatibility.
11127 2005-12-07 Wim Taymans <wim@fluendo.com>
11129 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11130 (gst_fake_src_get_times), (gst_fake_src_create):
11131 Fix broken sync option, fixes #323259
11133 2005-12-07 Wim Taymans <wim@fluendo.com>
11138 * gst/gstcaps.c: (gst_caps_is_equal):
11139 Don't assert on NULL <--> X. Fixes #323260
11141 * gst/gstminiobject.c: (gst_mini_object_replace):
11142 If we're doing atomic operations, we might just as well use
11143 the proper way to get an atomic pointer.
11145 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11146 Clean up debugging.
11148 2005-12-07 Michael Smith <msmith@fluendo.com>
11150 * gst/parse/grammar.y:
11151 Remove handling of { } for threads.
11153 2005-12-06 David Schleef <ds@schleef.org>
11155 * libs/gst/base/gstbasetransform.c: speling fix.
11157 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
11159 * docs/libs/tmpl/gstdataprotocol.sgml:
11160 * docs/random/omega/testing/gstobject.c:
11163 * gst/gstelement.c:
11164 * gst/gstelementfactory.c:
11167 * gst/gstghostpad.c:
11169 * gst/gstpadtemplate.c:
11170 * gst/gstregistryxml.c:
11171 * gst/gsttaglist.c:
11172 * gst/gsttagsetter.c:
11173 * gst/gsttypefind.c:
11175 * libs/gst/base/gstbasesrc.c:
11176 * libs/gst/net/gstnetclientclock.c:
11177 * libs/gst/net/gstnettimeprovider.c:
11178 * plugins/elements/gstfakesrc.c:
11179 * plugins/elements/gstfdsrc.c:
11180 * plugins/elements/gstfilesrc.c:
11181 * plugins/elements/gstidentity.c:
11182 * plugins/elements/gstqueue.c:
11183 * plugins/elements/gsttypefindelement.c:
11184 * plugins/indexers/gstfileindex.c:
11185 * plugins/indexers/gstmemindex.c:
11186 * tests/check/gst/gsttag.c:
11187 * tests/old/examples/cutter/cutter.c:
11188 * tests/old/examples/mixer/mixer.c:
11189 * tests/old/examples/xml/runxml.c: (main):
11190 * tests/old/testsuite/caps/normalisation.c:
11191 * tests/old/testsuite/debug/global.c:
11192 * tests/old/testsuite/parse/parse1.c:
11193 * tools/gst-xmlinspect.c:
11194 * win32/common/dirent.c:
11197 === release 0.10.0 ===
11199 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11202 releasing 0.10.0, "Maroilles"
11204 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11206 submitted by: Funda Wang <fundawang@linux.net.cn>
11210 added Chinese (Traditional) translation
11212 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11214 * docs/gst/gstreamer-sections.txt:
11215 * docs/libs/tmpl/gstdataprotocol.sgml:
11216 * docs/random/thomasvs/TODO:
11221 2005-12-05 Andy Wingo <wingo@pobox.com>
11223 patch by: Wim Taymans <wim@fluendo.com>
11225 * libs/gst/base/gstbasetransform.c
11226 (gst_base_transform_prepare_output_buf)
11227 (gst_base_transform_buffer_alloc):
11228 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11229 alloc_buffer_and_set_caps.
11231 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11232 set_caps on the source pad.
11233 (gst_pad_alloc_buffer_and_set_caps): New function, does what
11234 alloc_buffer used to do. Fixes #322874.
11236 * docs/gst/gstreamer-sections.txt:
11237 * docs/design/part-negotiation.txt:
11238 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11241 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11243 patch by: Sebastien Moutte
11246 * win32/common/config.h.in:
11247 * win32/vs6/libgstcontroller.dsp:
11250 2005-12-05 Wim Taymans <wim@fluendo.com>
11252 * gst/gstcaps.c: (gst_caps_is_equal):
11253 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11254 (gst_fake_src_create):
11255 Back out previous code changes, leave doc updates, file bugs
11258 2005-12-05 Wim Taymans <wim@fluendo.com>
11260 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11261 (gst_fake_src_get_times), (gst_fake_src_create):
11262 * plugins/elements/gstfakesrc.h:
11263 Fix broken sync code.
11265 2005-12-05 Wim Taymans <wim@fluendo.com>
11267 * gst/gstcaps.c: (gst_caps_is_equal):
11268 Comparing NULL against !NULL yields different caps, not a
11271 2005-12-05 Wim Taymans <wim@fluendo.com>
11273 * gst/gstpipeline.c:
11274 Fix small typo in docs.
11276 2005-12-05 Andy Wingo <wingo@pobox.com>
11278 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11280 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11281 registries/plugins with a MAJORMINOR one.
11282 (plugin_desc): Rename library from gstcoreleements to
11283 staticelements. Fixes #323222.
11285 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11287 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11288 Change debug category to 'collectpads' from 'collect_pads'
11291 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11293 patch by: Sebastien Moutte
11295 * libs/gst/controller/gstinterpolation.c:
11296 use convert function for uint64/double
11297 * win32/vs6/libgstcontroller.dsp:
11300 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11302 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11303 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11305 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11306 add tests that seem to show that the guint64/gdouble conversions
11309 2005-12-02 Wim Taymans <wim@fluendo.com>
11311 * gst/gstregistry.c: (gst_registry_add_path):
11312 * gst/gstregistry.h:
11313 * gst/gstregistryxml.c:
11316 2005-12-02 Wim Taymans <wim@fluendo.com>
11318 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11319 (gst_util_uint64_scale_int):
11322 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11323 Add debug log line.
11325 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11328 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11331 * win32/common/config.h:
11332 * win32/vs6/gstreamer.dsw:
11333 * win32/vs6/libgstcoreelements.dsp:
11334 * win32/vs6/libgstelements.dsp:
11335 renamed core elements plugin
11337 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11339 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11341 do piece-wise major/minor comparison so 0.9 < 0.10
11342 also allow .exe extensions for tools
11344 2005-12-02 Michael Smith <msmith@fluendo.com>
11347 Escape a % to make gtkdoc happier; bug 322958.
11349 === release 0.9.7 ===
11351 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11354 releasing 0.9.7, "My Dog Has No Nose"
11356 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11358 * common/gst-xmlinspect.py:
11360 * docs/libs/tmpl/gstdataprotocol.sgml:
11361 * docs/random/release:
11380 * win32/common/config.h:
11381 * win32/common/config.h.in:
11382 * win32/vs6/gst_inspect.dsp:
11383 * win32/vs6/gst_launch.dsp:
11384 * win32/vs6/libgstbase.dsp:
11385 * win32/vs6/libgstelements.dsp:
11386 * win32/vs6/libgstreamer.dsp:
11387 * win32/vs7/GStreamer.vcproj:
11388 * win32/vs7/gst-inspect.vcproj:
11389 * win32/vs7/gst-launch.vcproj:
11390 * win32/vs7/libgstbase.vcproj:
11391 bump GST_MAJORMINOR to 0.10
11392 reset libtool version
11394 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11398 Added Bulgarian translation by (Alexander Shopov)
11400 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11402 * tests/check/gst/gstplugin.c:
11405 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11407 * common/gst-xmlinspect.py:
11408 * common/gtk-doc-plugins.mak:
11410 * docs/Makefile.am:
11411 * docs/gst/Makefile.am:
11412 * docs/gst/gstreamer-docs.sgml:
11413 * docs/gst/gstreamer-sections.txt:
11414 * docs/gst/gstreamer.types:
11415 * docs/gst/gstreamer.types.in:
11416 * docs/plugins/Makefile.am:
11417 * docs/plugins/gstreamer-plugins-docs.sgml:
11418 * docs/plugins/gstreamer-plugins-sections.txt:
11419 * docs/plugins/gstreamer-plugins.types:
11420 * docs/plugins/inspect.stamp:
11421 * docs/plugins/inspect/plugin-coreelements.xml:
11422 * docs/plugins/inspect/plugin-coreindexers.xml:
11423 * docs/plugins/scanobj-build.stamp:
11424 * gstreamer.spec.in:
11425 * plugins/elements/Makefile.am:
11426 * plugins/elements/gstelements.c:
11427 * plugins/elements/gstfakesink.c:
11428 * plugins/elements/gstfakesrc.c:
11429 * plugins/elements/gstfilesink.c:
11430 * plugins/elements/gstfilesrc.c:
11431 * plugins/elements/gstqueue.c:
11432 * plugins/indexers/Makefile.am:
11433 * plugins/indexers/gstindexers.c:
11434 document core plugins in a separate document just like all the
11436 rename these plugins to something starting with core
11438 2005-12-01 Andy Wingo <wingo@pobox.com>
11440 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11441 padding here before, but it missed the commit.
11443 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11445 * libs/gst/controller/gstinterpolation.c:
11446 whitespace prices have crashed, we should feel free to use some now
11447 use gst_guint64_to_gdouble
11449 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11451 * libs/gst/controller/gstcontroller.c:
11452 * libs/gst/controller/gsthelper.c:
11453 * libs/gst/controller/gstinterpolation.c:
11454 * libs/gst/controller/lib.c:
11455 wrap config.h include
11457 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11459 * docs/gst/gstreamer-sections.txt:
11462 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11464 * plugins/elements/gstelements.c:
11465 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11466 (gst_fd_sink__class_init), (gst_fd_sink__init),
11467 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11468 (gst_fd_sink__get_property):
11469 * plugins/elements/gstfdsink.h:
11470 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11471 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11472 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11473 (gst_fd_src_unlock), (gst_fd_src_set_property),
11474 (gst_fd_src_get_property), (gst_fd_src_create),
11475 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11476 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11477 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11478 (gst_fd_src_uri_handler_init):
11479 * plugins/elements/gstfdsrc.h:
11480 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11483 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11485 * docs/gst/Makefile.am:
11486 * docs/gst/gstreamer.types.in:
11490 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11496 * gst/gstregistry.h:
11497 * tests/benchmarks/complexity.c:
11498 * tests/benchmarks/mass-elements.c:
11499 * tests/check/Makefile.am:
11500 * tools/Makefile.am:
11501 * tools/gst-inspect.c:
11502 * tools/gst-xmlinspect.c:
11503 various fixes to make
11504 --disable-nls --disable-registry --disable-loadsave
11505 --disable-parse --disable-gst-debug
11506 work and get the core .so down to 360444 bytes after stripping
11508 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11513 * docs/random/thomasvs/TODO:
11514 * tests/Makefile.am:
11518 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11520 * win32/GStreamer.vcproj:
11523 * win32/Makefile.inspect:
11524 * win32/Makefile.launch:
11525 * win32/Makefile.register:
11526 * win32/README.txt:
11527 * win32/gst-inspect.vcproj:
11528 * win32/gst-launch.vcproj:
11529 * win32/gst-register.vcproj:
11530 * win32/gstelements.vcproj:
11531 * win32/gstgetbits.def:
11532 * win32/gstgetbits.vcproj:
11533 * win32/gstreamer-dbg.def:
11534 * win32/gstreamer.def:
11535 * win32/libgstbase.def:
11536 * win32/libgstbase.vcproj:
11537 * win32/link_oldruntime.c:
11541 * win32/msvc71.sln:
11542 move even more stuff, win32/ is nice and clean now
11544 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11546 * libs/gst/control/.cvsignore:
11551 * win32/gstbytestream.def:
11552 * win32/gstbytestream.vcproj:
11553 * win32/gstconfig.h:
11554 * win32/gstenumtypes.c:
11555 * win32/gstenumtypes.h:
11556 * win32/gstoptimalscheduler.vcproj:
11557 * win32/gstversion.h:
11559 * win32/testsuite/bins.vcproj:
11560 * win32/testsuite/bytestream.vcproj:
11561 * win32/testsuite/caps.vcproj:
11562 * win32/testsuite/cleanup.vcproj:
11563 * win32/testsuite/clock.vcproj:
11564 * win32/testsuite/debug.vcproj:
11565 * win32/testsuite/dlopen.vcproj:
11566 * win32/testsuite/dynparams.vcproj:
11567 * win32/testsuite/elements.vcproj:
11568 * win32/testsuite/ghostpads.vcproj:
11569 * win32/testsuite/indexers.vcproj:
11570 * win32/testsuite/negotiation.vcproj:
11571 * win32/testsuite/parse.vcproj:
11572 * win32/testsuite/plugin.vcproj:
11573 * win32/testsuite/refcounting.vcproj:
11574 * win32/testsuite/schedulers.vcproj:
11575 * win32/testsuite/states.vcproj:
11576 * win32/testsuite/tags.vcproj:
11577 * win32/testsuite/threads.vcproj:
11578 remove old win32 stuff that isn't maintained and should be
11581 2005-11-30 Andy Wingo <wingo@pobox.com>
11583 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11584 loading the gst.interfaces python module bork.
11586 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11587 available since GLib 2.2. Fixes #318031.
11589 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11592 * check/.cvsignore:
11593 * check/Makefile.am:
11594 * check/elements/.cvsignore:
11595 * check/elements/fakesrc.c:
11596 * check/elements/fdsrc.c:
11597 * check/elements/identity.c:
11598 * check/generic/.cvsignore:
11599 * check/generic/states.c:
11600 * check/gst-libs/.cvsignore:
11601 * check/gst-libs/controller.c:
11602 * check/gst-libs/gdp.c:
11603 * check/gst/.cvsignore:
11604 * check/gst/capslist.h:
11606 * check/gst/gstbin.c:
11607 * check/gst/gstbuffer.c:
11608 * check/gst/gstbus.c:
11609 * check/gst/gstcaps.c:
11610 * check/gst/gstelement.c:
11611 * check/gst/gstevent.c:
11612 * check/gst/gstghostpad.c:
11613 * check/gst/gstiterator.c:
11614 * check/gst/gstmessage.c:
11615 * check/gst/gstminiobject.c:
11616 * check/gst/gstobject.c:
11617 * check/gst/gstpad.c:
11618 * check/gst/gstpipeline.c:
11619 * check/gst/gstplugin.c:
11620 * check/gst/gstsegment.c:
11621 * check/gst/gststructure.c:
11622 * check/gst/gstsystemclock.c:
11623 * check/gst/gsttag.c:
11624 * check/gst/gstutils.c:
11625 * check/gst/gstvalue.c:
11626 * check/net/.cvsignore:
11627 * check/net/gstnetclientclock.c:
11628 * check/net/gstnettimeprovider.c:
11629 * check/pipelines/.cvsignore:
11630 * check/pipelines/cleanup.c:
11631 * check/pipelines/simple_launch_lines.c:
11632 * check/pipelines/stress.c:
11633 * check/states/.cvsignore:
11634 * check/states/sinks.c:
11636 * examples/Makefile.am:
11637 * examples/appreader/.cvsignore:
11638 * examples/appreader/Makefile.am:
11639 * examples/appreader/appreader.c:
11640 * examples/controller/.cvsignore:
11641 * examples/controller/Makefile.am:
11642 * examples/controller/audio-example.c:
11643 * examples/cutter/.cvsignore:
11644 * examples/cutter/Makefile.am:
11645 * examples/cutter/cutter.c:
11646 * examples/cutter/cutter.h:
11647 * examples/events/Makefile.am:
11648 * examples/events/seek.c:
11649 * examples/helloworld/.cvsignore:
11650 * examples/helloworld/Makefile.am:
11651 * examples/helloworld/helloworld.c:
11652 * examples/helloworld2/.cvsignore:
11653 * examples/helloworld2/Makefile.am:
11654 * examples/helloworld2/helloworld2.c:
11655 * examples/launch/.cvsignore:
11656 * examples/launch/Makefile.am:
11657 * examples/launch/mp3parselaunch.c:
11658 * examples/launch/mp3play:
11659 * examples/manual/.cvsignore:
11660 * examples/manual/Makefile.am:
11661 * examples/manual/extract.pl:
11662 * examples/metadata/Makefile.am:
11663 * examples/metadata/read-metadata.c:
11664 * examples/mixer/.cvsignore:
11665 * examples/mixer/Makefile.am:
11666 * examples/mixer/mixer.c:
11667 * examples/mixer/mixer.h:
11668 * examples/pingpong/.cvsignore:
11669 * examples/pingpong/Makefile.am:
11670 * examples/pingpong/pingpong.c:
11671 * examples/plugins/.cvsignore:
11672 * examples/plugins/Makefile.am:
11673 * examples/plugins/example.c:
11674 * examples/plugins/example.h:
11675 * examples/pwg/.cvsignore:
11676 * examples/pwg/Makefile.am:
11677 * examples/pwg/extract.pl:
11678 * examples/queue/.cvsignore:
11679 * examples/queue/Makefile.am:
11680 * examples/queue/queue.c:
11681 * examples/queue2/.cvsignore:
11682 * examples/queue2/Makefile.am:
11683 * examples/queue2/queue2.c:
11684 * examples/queue3/.cvsignore:
11685 * examples/queue3/Makefile.am:
11686 * examples/queue3/queue3.c:
11687 * examples/queue4/.cvsignore:
11688 * examples/queue4/Makefile.am:
11689 * examples/queue4/queue4.c:
11690 * examples/retag/.cvsignore:
11691 * examples/retag/Makefile.am:
11692 * examples/retag/retag.c:
11693 * examples/retag/transcode.c:
11694 * examples/thread/.cvsignore:
11695 * examples/thread/Makefile.am:
11696 * examples/thread/thread.c:
11697 * examples/typefind/.cvsignore:
11698 * examples/typefind/Makefile.am:
11699 * examples/typefind/typefind.c:
11700 * examples/xml/.cvsignore:
11701 * examples/xml/Makefile.am:
11702 * examples/xml/createxml.c:
11703 * examples/xml/runxml.c:
11704 * tests/Makefile.am:
11705 * tests/check/Makefile.am:
11706 * testsuite/.cvsignore:
11707 * testsuite/Makefile.am:
11709 * testsuite/caps/.cvsignore:
11710 * testsuite/caps/Makefile.am:
11711 * testsuite/caps/app_fixate.c:
11712 * testsuite/caps/audioscale.c:
11713 * testsuite/caps/caps.c:
11714 * testsuite/caps/caps.h:
11715 * testsuite/caps/caps_strings:
11716 * testsuite/caps/compatibility.c:
11717 * testsuite/caps/deserialize.c:
11718 * testsuite/caps/enumcaps.c:
11719 * testsuite/caps/eratosthenes.c:
11720 * testsuite/caps/filtercaps.c:
11721 * testsuite/caps/fixed.c:
11722 * testsuite/caps/fraction-convert.c:
11723 * testsuite/caps/fraction-multiply-and-zero.c:
11724 * testsuite/caps/intersect2.c:
11725 * testsuite/caps/intersection.c:
11726 * testsuite/caps/normalisation.c:
11727 * testsuite/caps/random.c:
11728 * testsuite/caps/renegotiate.c:
11729 * testsuite/caps/sets.c:
11730 * testsuite/caps/simplify.c:
11731 * testsuite/caps/string-conversions.c:
11732 * testsuite/caps/structure.c:
11733 * testsuite/caps/subtract.c:
11734 * testsuite/caps/union.c:
11735 * testsuite/debug/.cvsignore:
11736 * testsuite/debug/Makefile.am:
11737 * testsuite/debug/category.c:
11738 * testsuite/debug/commandline.c:
11739 * testsuite/debug/global.c:
11740 * testsuite/debug/output.c:
11741 * testsuite/debug/printf_extension.c:
11742 * testsuite/dlopen/.cvsignore:
11743 * testsuite/dlopen/Makefile.am:
11744 * testsuite/dlopen/dlopen_gst.c:
11745 * testsuite/dlopen/loadgst.c:
11746 * testsuite/elements/.cvsignore:
11747 * testsuite/elements/Makefile.am:
11748 * testsuite/elements/gst-inspect-check.in:
11749 * testsuite/elements/struct_i386.h:
11750 * testsuite/elements/struct_size.c:
11751 * testsuite/indexers/.cvsignore:
11752 * testsuite/indexers/Makefile.am:
11753 * testsuite/indexers/cache1.c:
11754 * testsuite/indexers/indexdump.c:
11755 * testsuite/parse/.cvsignore:
11756 * testsuite/parse/Makefile.am:
11757 * testsuite/parse/parse1.c:
11758 * testsuite/parse/parse2.c:
11759 * testsuite/plugin/.cvsignore:
11760 * testsuite/plugin/Makefile.am:
11761 * testsuite/plugin/README:
11762 * testsuite/plugin/dynamic.c:
11763 * testsuite/plugin/linked.c:
11764 * testsuite/plugin/loading.c:
11765 * testsuite/plugin/registry.c:
11766 * testsuite/plugin/static.c:
11767 * testsuite/plugin/static2.c:
11768 * testsuite/plugin/testplugin.c:
11769 * testsuite/plugin/testplugin2.c:
11770 * testsuite/plugin/testplugin2_s.c:
11771 * testsuite/plugin/testplugin_s.c:
11772 * testsuite/refcounting/.cvsignore:
11773 * testsuite/refcounting/Makefile.am:
11774 * testsuite/refcounting/bin.c:
11775 * testsuite/refcounting/element.c:
11776 * testsuite/refcounting/element_pad.c:
11777 * testsuite/refcounting/mainloop.c:
11778 * testsuite/refcounting/mem.c:
11779 * testsuite/refcounting/mem.h:
11780 * testsuite/refcounting/object.c:
11781 * testsuite/refcounting/pad.c:
11782 * testsuite/refcounting/sched.c:
11783 * testsuite/refcounting/thread.c:
11784 * testsuite/states/.cvsignore:
11785 * testsuite/states/Makefile.am:
11786 * testsuite/states/bin.c:
11787 * testsuite/states/locked.c:
11788 * testsuite/states/parent.c:
11789 * testsuite/threads/.cvsignore:
11790 * testsuite/threads/159566.c:
11791 * testsuite/threads/159852.c:
11792 * testsuite/threads/Makefile.am:
11793 * testsuite/threads/queue.c:
11794 * testsuite/threads/signals.c:
11795 * testsuite/threads/staticrec.c:
11796 * testsuite/threads/thread.c:
11797 * testsuite/threads/threadb.c:
11798 * testsuite/threads/threadc.c:
11799 * testsuite/threads/threadd.c:
11800 * testsuite/threads/threade.c:
11801 * testsuite/threads/threadf.c:
11802 * testsuite/threads/threadg.c:
11803 * testsuite/threads/threadh.c:
11804 * testsuite/threads/threadi.c:
11805 move all of these under tests
11807 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11810 * tests/Makefile.am:
11813 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11815 * docs/gst/gstreamer-sections.txt:
11816 * tests/sched/.cvsignore:
11817 * tests/sched/Makefile.am:
11818 * tests/sched/cases/(fs-fs).xml:
11819 * tests/sched/cases/(fs-i-fs).xml:
11820 * tests/sched/cases/(fs-i-i-fs).xml:
11821 * tests/sched/cases/(fs-i-q[i-fs]).xml:
11822 * tests/sched/dynamic-pipeline.c:
11823 * tests/sched/interrupt1.c:
11824 * tests/sched/interrupt2.c:
11825 * tests/sched/interrupt3.c:
11826 * tests/sched/runtestcases:
11827 * tests/sched/runxml.c:
11828 * tests/sched/sched-stress.c:
11829 * tests/sched/sort.c:
11830 * tests/sched/testcases:
11831 * tests/sched/testcases1.tc:
11832 * tests/seeking/.cvsignore:
11833 * tests/seeking/Makefile.am:
11834 * tests/seeking/seeking1.c:
11835 * tests/threadstate/.cvsignore:
11836 * tests/threadstate/Makefile.am:
11837 * tests/threadstate/test1.c:
11838 * tests/threadstate/test2.c:
11839 * tests/threadstate/threadstate1.c:
11840 * tests/threadstate/threadstate2.c:
11841 * tests/threadstate/threadstate3.c:
11842 * tests/threadstate/threadstate4.c:
11843 * tests/threadstate/threadstate5.c:
11844 remove obsolete tests
11846 * tests/bench-complexity.scm:
11847 * tests/bench-mass_elements.scm:
11848 * tests/complexity.c:
11849 * tests/complexity.gnuplot:
11850 * tests/instantiate/.cvsignore:
11851 * tests/instantiate/Makefile.am:
11852 * tests/instantiate/caps.c:
11853 * tests/mass_elements.c:
11854 * tests/network-clock-utils.scm:
11855 * tests/network-clock.scm:
11857 First pass at cleaning up tests/ dir before moving the rest
11858 Combined with CVS surgery
11860 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11863 queue has moved, update
11865 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11867 * docs/gst/gstreamer-sections.txt:
11868 remove double entries from the docs
11869 * gst/gst_private.h:
11870 * gst/gstinfo.c: (_gst_debug_init):
11871 remove the THREAD debug category
11875 * docs/gst/gstreamer.types:
11876 * plugins/elements/gstqueue.c: (gst_queue_get_type),
11877 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
11878 completely move queue and fix up debugging categories
11880 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11882 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11883 make initialization portable, using LL is not
11885 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11887 * win32/common/gstconfig.h:
11890 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11892 * win32/common/libgstreamer.def:
11893 rename symbols; sort base section
11895 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11897 * gst/gstclock.c: (do_linear_regression):
11898 remove crack non-portable handrolled DEBUG macro
11900 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11902 * docs/random/release:
11904 * win32/common/gstenumtypes.c: (register_gst_object_flags),
11905 (gst_object_flags_get_type), (register_gst_bin_flags),
11906 (gst_bin_flags_get_type), (register_gst_buffer_flag),
11907 (gst_buffer_flag_get_type), (register_gst_bus_flags),
11908 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
11909 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
11910 (gst_caps_flags_get_type), (register_gst_clock_return),
11911 (gst_clock_return_get_type), (register_gst_clock_entry_type),
11912 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
11913 (gst_clock_flags_get_type), (register_gst_state),
11914 (gst_state_get_type), (register_gst_state_change_return),
11915 (gst_state_change_return_get_type), (register_gst_state_change),
11916 (gst_state_change_get_type), (register_gst_element_flags),
11917 (gst_element_flags_get_type), (register_gst_core_error),
11918 (gst_core_error_get_type), (register_gst_library_error),
11919 (gst_library_error_get_type), (register_gst_resource_error),
11920 (gst_resource_error_get_type), (register_gst_stream_error),
11921 (gst_stream_error_get_type), (register_gst_event_type_flags),
11922 (gst_event_type_flags_get_type), (register_gst_event_type),
11923 (gst_event_type_get_type), (register_gst_seek_type),
11924 (gst_seek_type_get_type), (register_gst_seek_flags),
11925 (gst_seek_flags_get_type), (register_gst_format),
11926 (gst_format_get_type), (register_gst_index_certainty),
11927 (gst_index_certainty_get_type), (register_gst_index_entry_type),
11928 (gst_index_entry_type_get_type),
11929 (register_gst_index_lookup_method),
11930 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
11931 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
11932 (gst_index_resolver_method_get_type), (register_gst_index_flags),
11933 (gst_index_flags_get_type), (register_gst_debug_level),
11934 (gst_debug_level_get_type), (register_gst_debug_color_flags),
11935 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11936 (gst_iterator_result_get_type), (register_gst_iterator_item),
11937 (gst_iterator_item_get_type), (register_gst_message_type),
11938 (gst_message_type_get_type), (register_gst_mini_object_flags),
11939 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11940 (gst_pad_link_return_get_type), (register_gst_flow_return),
11941 (gst_flow_return_get_type), (register_gst_activate_mode),
11942 (gst_activate_mode_get_type), (register_gst_pad_direction),
11943 (gst_pad_direction_get_type), (register_gst_pad_flags),
11944 (gst_pad_flags_get_type), (register_gst_pad_presence),
11945 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11946 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11947 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11948 (gst_plugin_error_get_type), (register_gst_plugin_flags),
11949 (gst_plugin_flags_get_type), (register_gst_rank),
11950 (gst_rank_get_type), (register_gst_query_type),
11951 (gst_query_type_get_type), (register_gst_tag_merge_mode),
11952 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11953 (gst_tag_flag_get_type), (register_gst_task_state),
11954 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11955 (gst_alloc_trace_flags_get_type),
11956 (register_gst_type_find_probability),
11957 (gst_type_find_probability_get_type), (register_gst_uri_type),
11958 (gst_uri_type_get_type), (register_gst_parse_error),
11959 (gst_parse_error_get_type):
11960 * win32/common/gstenumtypes.h:
11961 * win32/common/gstversion.h:
11962 update visual studio generated files
11964 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11966 * win32/vs6/libgstbase.dsp:
11967 * win32/vs6/libgstelements.dsp:
11968 update project files for new locations
11970 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11975 reinstate and update
11980 * docs/random/LICENSE:
11983 2005-11-30 Edward Hervey <edward@fluendo.com>
11985 * gst/gsttypefind.c: (gst_type_find_register):
11986 * gst/gsttypefind.h:
11987 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
11988 (gst_type_find_factory_dispose):
11989 * gst/gsttypefindfactory.h:
11990 Fix memory leak in GstTypeFindFactory.
11992 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11995 * plugins/elements/Makefile.am:
11996 * plugins/elements/gstelements.c:
11997 * plugins/elements/gstqueue.c:
11998 move queue from core to the elements plugin
12000 2005-11-29 Andy Wingo <wingo@pobox.com>
12002 * libs/gst/base/gstbasetransform.h:
12003 * libs/gst/base/gstbasesrc.h:
12004 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12006 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12007 of pointers by which to pad very extensible base classes (like the
12008 ones in libs/gst/base).
12010 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12012 * docs/gst/gstreamer-docs.sgml:
12013 * docs/gst/gstreamer-sections.txt:
12014 * docs/libs/gstreamer-libs-docs.sgml:
12015 * docs/libs/gstreamer-libs-sections.txt:
12016 moving documentation from core to lib
12018 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12020 * check/Makefile.am:
12022 * docs/gst/Makefile.am:
12024 * gst/base/.cvsignore:
12025 * gst/base/Makefile.am:
12027 * gst/base/gstadapter.c:
12028 * gst/base/gstadapter.h:
12029 * gst/base/gstbasesink.c:
12030 * gst/base/gstbasesink.h:
12031 * gst/base/gstbasesrc.c:
12032 * gst/base/gstbasesrc.h:
12033 * gst/base/gstbasetransform.c:
12034 * gst/base/gstbasetransform.h:
12035 * gst/base/gstcollectpads.c:
12036 * gst/base/gstcollectpads.h:
12037 * gst/base/gstpushsrc.c:
12038 * gst/base/gstpushsrc.h:
12039 * gst/base/gsttypefindhelper.c:
12040 * gst/base/gsttypefindhelper.h:
12041 * gst/check/Makefile.am:
12042 * gst/check/gstcheck.c:
12043 * gst/check/gstcheck.h:
12044 * gst/net/Makefile.am:
12045 * gst/net/gstnet.h:
12046 * gst/net/gstnetclientclock.c:
12047 * gst/net/gstnetclientclock.h:
12048 * gst/net/gstnettimepacket.c:
12049 * gst/net/gstnettimepacket.h:
12050 * gst/net/gstnettimeprovider.c:
12051 * gst/net/gstnettimeprovider.h:
12052 * libs/gst/Makefile.am:
12053 * libs/gst/base/Makefile.am:
12054 * libs/gst/base/gstbasetransform.c:
12055 * libs/gst/check/Makefile.am:
12056 * plugins/elements/Makefile.am:
12058 CVS surgery + support to move base, check, and net out of gst
12061 2005-11-29 Andy Wingo <wingo@pobox.com>
12063 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12065 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12068 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12070 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12072 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12074 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12075 padding; reduces object size by about 30%. We don't expect
12076 anything else to go into gstobject.
12078 * gst/gstminiobject.h (struct _GstMiniObject)
12079 (struct _GstMiniObjectClass): Only one pointer of padding; the
12080 payload is only a pointer and two ints anyway. For the class there
12081 are only two methods as well.
12083 * gst/gstelement.h (struct _GstElementClass): Removed
12084 the state_changed signal callback, it is not used.
12086 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12088 * docs/gst/gstreamer.types:
12089 fix includes, though they are a little dinky
12091 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12093 * check/Makefile.am:
12094 look in the right place for elements, a lot more chance of
12097 remove indexers and elements subdirs
12098 * plugins/Makefile.am:
12099 make indexers conditional
12101 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12105 * plugins/elements/Makefile.am:
12106 * plugins/elements/gstcapsfilter.c:
12107 * plugins/elements/gstfilesink.c:
12108 * plugins/elements/gstfilesrc.c:
12109 * plugins/elements/gstidentity.c:
12110 * plugins/indexers/Makefile.am:
12111 do CVS surgery and related build fixery to move elements
12112 and indexers in a new gstreamer/plugins directory, out of the
12115 2005-11-29 Andy Wingo <wingo@pobox.com>
12117 * check/Makefile.am:
12118 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12119 * pkgconfig/gstreamer-net.pc.in:
12120 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12123 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12125 * tools/Makefile.am:
12126 * tools/gst-complete.1.in:
12127 * tools/gst-complete.c:
12128 * tools/gst-compprep.1.in:
12129 * tools/gst-compprep.c:
12130 removing -compprep and -complete
12132 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12134 * gst/gstevent.c: (gst_event_new_new_segment),
12135 (gst_event_parse_new_segment):
12137 fix #320529 - clean up new_segment API and structure.
12138 Let's hope everyone was using the methods, and not the structure.
12140 2005-11-29 Edward Hervey <edward@fluendo.com>
12142 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12143 (gst_base_sink_event), (gst_base_sink_do_sync),
12144 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12145 Properly handle non GST_FORMAT_TIME segment
12146 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12147 Properly handle non GST_FORMAT_TIME segment
12148 * gst/gstsegment.c:
12149 This function is valid if the accumulator is 0 and the format
12150 is different from the requested format.
12152 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12154 * docs/gst/gstreamer-sections.txt:
12155 Add gst_query_new_seeking and gst_query_parse_seeking to the
12158 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12160 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12161 Treat a pad alloc with new caps the same as if we were not
12162 negotiated, in order to allow a changing upstream output
12163 to produce a new format of data.
12165 2005-11-29 Edward Hervey <edward@fluendo.com>
12167 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12168 (gst_base_transform_event), (gst_base_transform_eventfunc):
12169 The event virtual method is now properly implemented, with a default
12171 Sub classes should call the parent_class event method. They should
12172 return FALSE if they had a problem handling the given event, or don't
12173 want GstBaseTransform to send that even downstream
12174 * gst/elements/gstidentity.c: (gst_identity_class_init),
12175 (gst_identity_init), (gst_identity_event),
12176 (gst_identity_transform_ip), (gst_identity_set_property),
12177 (gst_identity_get_property):
12178 * gst/elements/gstidentity.h:
12179 Added the single-segment boolean property.
12180 If set to TRUE, it will output a single segment of data, starting from
12181 0, will eat up all incoming newsegment, and modify the timestamp of the
12182 buffers accordingly
12184 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
12186 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12187 Don't ref NULL target pad (#322751). Improve docs.
12189 2005-11-29 Michael Smith <msmith@fluendo.com>
12191 * gst/gstregistryxml.c: (load_plugin):
12192 Don't crash if we failed to load a feature from a plugin.
12194 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12196 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12198 use more check API and less GLib API
12200 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12203 don't run checks if we don't have check
12204 * common/check.mak:
12205 remove the registry when running make torture
12206 * docs/gst/gstreamer-sections.txt:
12207 remove second multiply
12208 * gst/gstqueue.c: (gst_queue_loop):
12209 fix a compile warning when disabling debug
12211 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12214 Hey! Let's print the pad name if the pointer != NULL instead
12215 of when it == NULL :-)
12217 2005-11-28 Wim Taymans <wim@fluendo.com>
12219 * check/gst/gstutils.c: (GST_START_TEST):
12220 Updated check, add some scaling accuracy checking code.
12222 * gst/gstutils.c: (gst_util_div128_64),
12223 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12224 (gst_util_uint64_scale_int):
12225 Fix 6 times faster division code. Optimize for common
12226 1/1 and less common X/1 cases.
12228 2005-11-28 Wim Taymans <wim@fluendo.com>
12230 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12233 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12234 (do_linear_regression), (gst_clock_add_observation):
12236 Release lock when the clock cannot be slaved.
12237 Catch the case where the regression returned an invalid denominator.
12239 * gst/gstutils.c: (gst_util_div128_64_iterate),
12240 (gst_util_div128_64), (gst_util_uint64_scale_int64),
12241 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12242 Add protentially more performant non-iterative 128/64 divide function
12243 that unfortunatly does not work yet.
12244 Shortcut the trivial 0/X = 0 case.
12245 Remove the warnings on overflow.
12247 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12249 * gst/gstplugin.c: (gst_plugin_register_func):
12250 everything causing a plugin not to load should be at least a WARNING
12252 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12254 * docs/random/ensonic/dparams.txt:
12255 some TODOs for the next dev cycle
12256 * libs/gst/controller/gstcontroller.c:
12257 (gst_controlled_property_set_interpolation_mode),
12258 (gst_controlled_property_new):
12259 * libs/gst/controller/gstcontroller.h:
12260 use base type to assign acccessor functions
12262 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12264 * check/Makefile.am:
12265 Oops, that should have been top_srcdir
12267 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12269 * check/Makefile.am:
12270 * check/elements/fdsrc.c: (GST_START_TEST):
12271 Use a cmdline define to specify the location of a file to use for
12272 testing, to avoid breaking distcheck.
12274 2005-11-28 Andy Wingo <wingo@pobox.com>
12276 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12278 2005-11-28 Edward Hervey <edward@fluendo.com>
12280 * tools/gst-launch.c: (main):
12281 Clarify the output strings, makes it easier to translate.
12284 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12287 don't try and build net if we don't even have <sys/socket.h>
12289 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12291 * check/Makefile.am:
12292 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12293 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12294 Add tests for fdsrc seekability
12296 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12297 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12298 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12299 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12300 * gst/elements/gstfdsrc.h:
12301 fdsrc should not be a 'live' source.
12302 Implement seeking on seekable fd's.
12304 * gst/gstquery.c: (gst_query_new_seeking),
12305 (gst_query_parse_seeking):
12307 Implement SEEKING query functions:
12308 *_new_seeking and *_parse_seeking
12310 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12312 * gst/gstelement.c: (gst_element_dispose):
12315 * gst/gstiterator.c:
12316 * gst/gststructure.c:
12319 * libs/gst/controller/gstcontroller.c:
12320 (gst_controlled_property_set_interpolation_mode):
12321 * libs/gst/controller/gstcontroller.h:
12322 * libs/gst/controller/gstinterpolation.c:
12323 (interpolate_none_get_enum_value_array):
12324 support controlling enums
12326 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12329 Improve documentation for gst_value_union().
12332 Change return value for union, intersect and subtract functions
12333 from gint to gboolean.
12335 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12337 * gst/gstvalue.c: (gst_value_serialize_any_list),
12338 (gst_value_transform_any_list_string),
12339 (gst_value_deserialize_list), (gst_value_deserialize_array),
12340 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12341 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12342 (gst_value_set_fraction_range_full),
12343 (gst_value_deserialize_fraction_range),
12344 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12345 (gst_value_deserialize_boolean),
12346 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12347 (gst_value_serialize_float), (gst_value_deserialize_float),
12348 (gst_string_wrap), (gst_value_deserialize_string),
12349 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12350 (gst_value_union_int_range_int_range),
12351 (gst_value_intersect_int_range_int_range),
12352 (gst_value_intersect_double_range_double_range),
12353 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12354 (gst_value_subtract_int_range_int_range),
12355 (gst_value_subtract_double_double_range),
12356 (gst_value_subtract_double_range_double_range),
12357 (gst_value_deserialize_fraction):
12359 Use gint, gdouble and gchar in our API instead of int, double and
12360 char (and make usage in gstvalue.c more consistent).
12362 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12364 * check/Makefile.am:
12365 * libs/gst/controller/Makefile.am:
12366 * libs/gst/dataprotocol/Makefile.am:
12367 fix up Makefile.am and remove GST_ENABLE_NEW
12369 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12373 * gst/base/Makefile.am:
12374 * gst/check/Makefile.am:
12375 * gst/elements/Makefile.am:
12376 * gst/net/Makefile.am:
12377 update LDFLAGS use some more
12379 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12381 * common/m4/gst-doc.m4:
12384 2005-11-26 Edward Hervey <edward@fluendo.com>
12386 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12387 This shouldn't issue a g_warning since it returns NULL if it
12388 couldn't find the plugin, and all functions using this behave
12389 properly on a NULL return. Switching to a GST_WARNING.
12391 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12393 * gst/gstbin.c: (gst_bin_handle_message_func):
12394 Don't leak clock messages.
12396 2005-11-25 Wim Taymans <wim@fluendo.com>
12398 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12399 (gst_util_uint64_scale_int):
12400 Optimisations, remove unneeded vars.
12402 2005-11-25 Wim Taymans <wim@fluendo.com>
12404 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12405 Added more checks for the high precision uint64 cases.
12407 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12408 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12409 Implement high precision (guint64 * guint64) / guint64.
12411 2005-11-24 Wim Taymans <wim@fluendo.com>
12413 * gst/base/gstbasesrc.c: (gst_base_src_query):
12414 Fix wrong percentage query.
12416 * gst/gstutils.c: (gst_util_uint64_scale),
12417 (gst_util_uint64_scale_int):
12418 Add some more common cases that can be handled
12419 efficiently to _scale.
12421 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12423 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12424 (gst_mini_object_suite):
12425 don't use check calls from threads; check probably isn't
12426 threadsafe and using a lock to make it threadsafe would
12427 defeat the purpose of this check
12428 * gst/check/gstcheck.c:
12429 * gst/check/gstcheck.h:
12430 use GST_DEBUG some more
12432 2005-11-24 Wim Taymans <wim@fluendo.com>
12434 * gst/gstutils.c: (gst_util_uint64_scale),
12435 (gst_util_uint64_scale_int):
12436 Chain trivial case to _scale_int.
12438 2005-11-24 Wim Taymans <wim@fluendo.com>
12440 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12441 Added test for scaling.
12446 * gst/gstutils.c: (gst_util_uint64_scale_int):
12447 Implemented high precision scaling code.
12449 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12452 do not crash on pad==NULL
12454 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12456 Patch by: Stefan Kost
12458 * common/gtk-doc.mak:
12459 * docs/gst/Makefile.am:
12460 * docs/libs/Makefile.am:
12461 Fix distcheck issues for the libraries docs build
12464 2005-11-24 Michael Smith <msmith@fluendo.com>
12466 * docs/manual/basics-helloworld.xml:
12467 Fix bug #315027: memory leak in example code in docs.
12469 2005-11-24 Michael Smith <msmith@fluendo.com>
12471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12472 Unlock the PREROLL_LOCK in a failure case.
12474 2005-11-24 Wim Taymans <wim@fluendo.com>
12476 * docs/gst/gstreamer-sections.txt:
12477 * gst/base/gstadapter.h:
12478 * gst/base/gstbasesink.h:
12479 * gst/base/gstbasesrc.h:
12480 * gst/base/gstbasetransform.h:
12481 * gst/base/gstpushsrc.h:
12482 * gst/elements/gstfakesink.h:
12483 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12484 * gst/elements/gstfakesrc.h:
12485 * gst/elements/gstfilesink.h:
12486 * gst/elements/gstfilesrc.h:
12489 * gst/gstbuffer.c: (_gst_buffer_copy):
12492 * gst/gstchildproxy.c:
12494 * gst/gstelement.c:
12495 * gst/gstelementfactory.c:
12496 * gst/gstelementfactory.h:
12498 * gst/gstghostpad.h:
12500 * gst/gstinterface.h:
12501 * gst/gstminiobject.c:
12502 * gst/gstminiobject.h:
12505 * gst/gstpadtemplate.h:
12506 * gst/gstpipeline.h:
12507 * gst/gstpluginfeature.h:
12510 * gst/gsttaglist.c:
12511 * gst/gsttaglist.h:
12512 * gst/gsttagsetter.c:
12513 * gst/gsttagsetter.h:
12516 * gst/gsttypefind.h:
12519 * gst/net/gstnetclientclock.c:
12520 * gst/net/gstnetclientclock.h:
12521 * gst/net/gstnettimepacket.c:
12522 * gst/net/gstnettimeprovider.c:
12523 * gst/net/gstnettimeprovider.h:
12526 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12528 * configure.ac: back to HEAD
12530 === release 0.9.6 ===
12532 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12535 releasing 0.9.6, "Always On Time"
12537 2005-11-23 Wim Taymans <wim@fluendo.com>
12539 * docs/gst/gstreamer-sections.txt:
12540 * gst/glib-compat.c:
12541 * gst/gsttagsetter.c:
12543 * gst/net/gstnetclientclock.c:
12544 * gst/net/gstnettimepacket.h:
12547 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12549 * docs/faq/using.xml:
12550 * docs/libs/tmpl/gstcontrol.sgml:
12551 * docs/manual/advanced-dparams.xml:
12552 * docs/manual/appendix-checklist.xml:
12553 * docs/manual/basics-elements.xml:
12554 * docs/pwg/other-source.xml:
12555 * docs/random/moving-plugins:
12557 * tools/gst-launch.1.in:
12558 remove mentions of sinesrc
12560 2005-11-23 Michael Smith <msmith@fluendo.com>
12562 * docs/gst/gstreamer-sections.txt:
12563 Update for new API and API changes.
12565 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12567 Documentation typo fix.
12568 * gst/net/gstnettimepacket.c:
12569 Documentation fixes for arguments.
12571 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12573 * gst/gststructure.c: (gst_structure_get_fraction),
12574 (gst_structure_parse_value),
12575 (gst_structure_fixate_field_nearest_fraction):
12576 * gst/gststructure.h:
12577 * gst/gstutils.c: (gst_util_uint64_scale_int):
12579 * scripts/update-funcnames:
12581 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12582 Make gst_structure_fixate_field_nearest_fraction take a numerator
12583 and denominator argument instead of a GValue
12584 add gst_structure_get_fraction helper function.
12586 2005-11-23 Wim Taymans <wim@fluendo.com>
12588 * docs/design/part-TODO.txt:
12591 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12592 * gst/net/gstnetclientclock.h:
12593 Use parent fields for timeout and window_size.
12595 2005-11-23 Andy Wingo <wingo@pobox.com>
12597 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12598 rate_num/rate_denom change.
12600 * gst/net/gstnetclientclock.c
12601 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12602 OBJECT_LOCK. Don't call add_observation with the lock.
12604 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12606 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12608 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12609 deal with rate as a fraction whose numerator and denominator are
12610 GstClockTime values.
12611 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12612 master; the other fields are protected by the SLAVE_LOCK.
12613 (do_linear_regression): Note that this must be called with the
12615 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12616 OBJECT_LOCK. Call set_calibration instead of touching the
12617 variables directly.
12618 (gst_clock_set_property, gst_clock_get_property): Protect
12619 master/slave parameters with the SLAVE_LOCK.
12621 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12622 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12623 note that all of the instance variables that add_observation and
12624 the set_master functions use are protected by that lock and not
12626 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12628 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12629 the caller to take the object lock.
12631 2005-11-23 Wim Taymans <wim@fluendo.com>
12633 * gst/gsterror.c: (_gst_core_errors_init):
12635 Add error for clock stuff.
12637 * gst/gstpipeline.c: (gst_pipeline_change_state),
12638 (gst_pipeline_set_clock):
12639 Post clock error when clock cannot be used in a pipeline.
12641 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12643 * docs/gst/gstreamer-sections.txt:
12644 make two symbols from gstinfo private for the docs
12645 * gst/base/gstcollectpads.h:
12647 fix doc typos, update docs
12649 2005-11-22 Wim Taymans <wim@fluendo.com>
12651 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12652 (gst_base_sink_wait), (gst_base_sink_do_sync),
12653 (gst_base_sink_handle_event):
12654 * gst/base/gstbasesink.h:
12655 No need to store the clock, the parent element class already
12658 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12659 Updates for clock_set returning a gboolean
12661 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12662 (gst_clock_id_wait_async), (gst_clock_class_init),
12663 (gst_clock_init), (gst_clock_finalize),
12664 (gst_clock_get_internal_time), (gst_clock_get_time),
12665 (gst_clock_slave_callback), (gst_clock_set_master),
12666 (gst_clock_get_master), (do_linear_regression),
12667 (gst_clock_add_observation), (gst_clock_set_property),
12668 (gst_clock_get_property):
12670 Implement master/slave. When setting a clock as a slave, a
12671 periodic timeout is scheduled to sample master and slave times.
12672 Then the slave clock is recalibrated to match offset and rate
12673 of the master clock.
12674 Update logging a bit.
12675 Add flag so that a clock can state that is cannot be slaved to
12678 * gst/gstelement.c: (gst_element_set_clock):
12679 * gst/gstelement.h:
12680 The set clock returns a gboolean for when an element cannot
12681 deal with the selected clock in the pipeline.
12683 * gst/gstpipeline.c: (gst_pipeline_change_state),
12684 (gst_pipeline_set_clock):
12685 * gst/gstpipeline.h:
12686 Handle the case where the selected clock cannot be set on
12689 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12690 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12691 (gst_net_client_clock_set_property),
12692 (gst_net_client_clock_get_property),
12693 (gst_net_client_clock_observe_times):
12694 * gst/net/gstnetclientclock.h:
12695 Use regression code in GstClock parent, remove duplicated
12698 2005-11-22 Michael Smith <msmith@fluendo.com>
12700 * gst/gstutils.c: (gst_util_clock_time_scale):
12702 * docs/gst/gstreamer-sections.txt:
12703 Rename method to have extra underscore.
12705 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
12707 * gst/elements/Makefile.am:
12708 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12709 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12710 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12711 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12712 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12713 * gst/elements/gstfakesrc.h:
12714 * gst/gstqueue.c: (queue_leaky_get_type):
12715 correctly fix GEnumValues so that nick is the short lowercase
12717 * tools/gst-inspect.c: (print_element_properties_info):
12718 also show the nick, since it's useful to use from parse_launch
12722 2005-11-22 Michael Smith <msmith@fluendo.com>
12724 * gst/gstutils.c: (gst_util_clocktime_scale):
12726 * docs/gst/gstreamer-sections.txt:
12727 Add util method for scaling a clocktime by a fraction. Useful
12728 implementation is left as an exercise for the reader.
12730 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12732 * gst/gstvalue.c: (gst_value_collect_fraction_range):
12733 If needed, allocate storage in the destination value during
12736 2005-11-22 Edward Hervey <edward@fluendo.com>
12738 * docs/gst/gstreamer-sections.txt:
12741 * gst/gsturitype.c:
12742 * gst/gsturitype.h:
12743 * gst/gstutils.c: (gst_util_set_object_arg):
12744 * tools/gst-compprep.c: (main):
12745 * tools/gst-inspect.c: (print_element_properties_info):
12746 Removed GstURI, closes bug #321061
12748 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12750 * check/gst/gststructure.c: (GST_START_TEST):
12751 * gst/gststructure.c: (gst_structure_parse_value):
12752 Oops, broke automatic string type parsing.
12753 Add a test to catch it in future.
12755 2005-11-22 Andy Wingo <wingo@pobox.com>
12757 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
12758 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
12759 Actually rename the function implementations. Grr.
12761 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12763 * check/gst/capslist.h:
12765 * check/gst/gststructure.c: (GST_START_TEST),
12766 (gst_structure_suite):
12767 Test automatic value type detection in gst_structure_from_string.
12768 * gst/gststructure.c: (gst_structure_parse_value):
12769 Add fraction as a type we try and guess automatically in
12770 caps/structure strings.
12772 2005-11-22 Andy Wingo <wingo@pobox.com>
12774 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
12776 * gst/gsttagsetter.h:
12777 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
12778 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
12779 (gst_tag_setter_add_tag_valist)
12780 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
12781 _add_values, _add_valist, and _add_valist_values. Since this is an
12782 interface the function suffixes should be more explicit so
12783 language binding don't end up with element.add_valist ->
12784 gst_tag_setter_add_valist, for example. Fixes #322069.
12786 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12788 * check/gst/gstcaps.c: (GST_START_TEST):
12789 Extend caps string tests to check that a caps to string
12790 conversion is reversible and produces the same caps.
12792 * gst/gststructure.c: (gst_structure_value_get_generic_type):
12793 Output "fraction" as the generic type fraction range, so caps
12794 serialisation and deserialisation works.
12795 * check/gst/capslist.h:
12796 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12797 Support 'MIN' and 'MAX' for deserialising fractions.
12799 2005-11-22 Andy Wingo <wingo@pobox.com>
12801 * gst/gstevent.h (gst_event_new_new_segment)
12802 (gst_event_parse_new_segment, gst_event_new_buffer_size)
12803 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
12804 Renamed from *_newsegment, *_buffersize, *_notarget.
12806 * scripts/update-funcnames: New script, performs the changes
12809 2005-11-22 Wim Taymans <wim@fluendo.com>
12811 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12812 Make sure the GstFlowReturn is returned.
12814 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
12815 (gst_bus_add_signal_watch):
12817 add gst_bus_add_signal_watch_full.
12819 * gst/gstplugin.c: (gst_plugin_load_file):
12820 Small style cleanup.
12822 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12824 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
12825 Block the fakesrc srcpad when we send an event, to avoid
12826 contention on the stream_lock causing random test failures.
12828 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12830 * check/gst/gstvalue.c: (GST_START_TEST):
12831 * gst/gstvalue.c: (gst_value_fraction_subtract):
12834 2005-11-22 Stefan Kost <ensonic@users.sf.net>
12837 include "gstchildproxy.h"
12838 * gst/gstchildproxy.h:
12839 * libs/gst/controller/gstcontroller.h:
12840 use G_GNUC_NULL_TERMINATED
12842 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12844 * check/gst/capslist.h:
12845 * check/gst/gstcaps.c: (GST_START_TEST):
12846 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12847 * gst/gststructure.c: (gst_structure_parse_range),
12848 (gst_structure_fixate_field_nearest_fraction):
12849 * gst/gststructure.h:
12850 * gst/gstvalue.c: (gst_value_init_fraction_range),
12851 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
12852 (gst_value_collect_fraction_range),
12853 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
12854 (gst_value_set_fraction_range_full),
12855 (gst_value_get_fraction_range_min),
12856 (gst_value_get_fraction_range_max),
12857 (gst_value_serialize_fraction_range),
12858 (gst_value_transform_fraction_range_string),
12859 (gst_value_compare_fraction_range),
12860 (gst_value_deserialize_fraction_range),
12861 (gst_value_intersect_fraction_fraction_range),
12862 (gst_value_intersect_fraction_range_fraction_range),
12863 (gst_value_subtract_fraction_fraction_range),
12864 (gst_value_subtract_fraction_range_fraction),
12865 (gst_value_subtract_fraction_range_fraction_range),
12866 (gst_value_collect_fraction), (gst_value_fraction_multiply),
12867 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
12868 (gst_value_transform_string_fraction), (_gst_value_initialize):
12870 Implement fraction ranges and extend GstFraction to support
12871 arithmetic subtraction, as well as deserialization from integer
12872 strings such as "100"
12873 Add a testsuite as for int and double range set operations
12875 2005-11-21 Andy Wingo <wingo@pobox.com>
12877 * gst/gsttaglist.h:
12879 * gst/gststructure.h: Add glib-compat.h.
12881 2005-11-21 Wim Taymans <wim@fluendo.com>
12883 * gst/gstbin.c: (gst_bin_change_state_func):
12886 2005-11-21 Wim Taymans <wim@fluendo.com>
12888 * gst/gstsegment.h:
12889 And add a nice define too.
12891 2005-11-21 Wim Taymans <wim@fluendo.com>
12893 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
12894 (gst_segment_new), (gst_segment_free), (gst_segment_init),
12895 (gst_segment_set_duration), (gst_segment_set_last_stop),
12896 (gst_segment_set_seek), (gst_segment_set_newsegment),
12897 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12898 (gst_segment_clip):
12899 * gst/gstsegment.h:
12900 Make binding friendly.
12902 2005-11-21 Andy Wingo <wingo@pobox.com>
12904 * gst/gsttagsetter.h:
12905 * gst/gsttaglist.h:
12906 * gst/gststructure.h:
12908 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
12911 * gst/gsterror.c (_gst_core_errors_init):
12912 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
12915 * gst/Makefile.am (gst_headers): Add glib-compat.h.
12916 (noinst_HEADERS): noinst the -private.
12918 2005-11-21 Michael Smith <msmith@fluendo.com>
12921 * gst/gstregistry.h:
12922 Remove unimplemented declarations for which we can see no sensible
12925 2005-11-21 Andy Wingo <wingo@pobox.com>
12927 * gst/gst.h: Include glib-compat.h.
12929 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
12931 * gst/glib-compat.c: Include the public and the private header.
12933 * gst/glib-compat-private.h: Copied here from glib-compat.h.
12937 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
12939 * check/gst/gstevent.c (create_custom_events): Check that
12940 FLUSH_STOP is serialized.
12942 * check/elements/identity.c (event_func):
12943 * check/elements/fakesrc.c (event_func): No stream lock, the core
12946 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
12947 stream lock taking, yay.
12949 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
12950 ensure that core takes the stream lock.
12952 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
12955 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
12956 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
12957 it already. For the flush start we do take it though so we get the
12958 right preroll state change messages.
12960 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
12961 the stream lock here, the core does it for us.
12963 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
12964 GST_STREAM_GET_LOCK.
12965 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
12966 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
12967 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
12968 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
12969 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
12970 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
12972 * gst/gstpad.c: Update for stream lock name change.
12974 * gst/base/gstbasesink.c: Update for preroll lock name change.
12976 2005-11-21 Wim Taymans <wim@fluendo.com>
12978 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
12979 (gst_clock_get_master):
12981 * gst/gstsystemclock.c: (gst_system_clock_init):
12982 Convert Clock flags to object flags.
12983 Added methods to manage master/slave clocks.
12985 2005-11-21 Wim Taymans <wim@fluendo.com>
12987 * check/gst/gstsegment.c: (GST_START_TEST):
12988 * docs/design/part-TODO.txt:
12989 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12990 (gst_base_sink_event), (gst_base_sink_do_sync),
12991 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12992 (gst_base_sink_query), (gst_base_sink_change_state):
12993 * gst/base/gstbasesink.h:
12994 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12995 (gst_base_src_default_newsegment),
12996 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12997 (gst_base_src_get_range), (gst_base_src_loop),
12998 (gst_base_src_change_state):
12999 * gst/base/gstbasesrc.h:
13000 * gst/base/gstbasetransform.c:
13001 (gst_base_transform_prepare_output_buf),
13002 (gst_base_transform_event), (gst_base_transform_change_state):
13003 * gst/base/gstbasetransform.h:
13004 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13005 (gst_collect_pads_event):
13006 * gst/base/gstcollectpads.h:
13007 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13008 (gst_fake_src_create):
13009 * gst/elements/gstfakesrc.h:
13010 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13011 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13012 (gst_segment_set_last_stop), (gst_segment_set_seek),
13013 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13014 (gst_segment_to_running_time), (gst_segment_clip):
13015 * gst/gstsegment.h:
13016 More segment updates, replace code in plugins with segment
13019 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13021 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13022 Don't ignore sscanf results
13024 2005-11-21 Andy Wingo <wingo@pobox.com>
13026 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13029 * *.c: Ran scripts/update-macros. Oh yes.
13031 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13032 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13035 * scripts/update-macros: New script. Run it on your files to
13036 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13039 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13041 * docs/gst/Makefile.am:
13042 * docs/gst/gstreamer-docs.sgml:
13043 * docs/gst/gstreamer-sections.txt:
13044 * docs/gst/gstreamer.types:
13046 more docs fixes, add new api to the docs
13048 2005-11-21 Andy Wingo <wingo@pobox.com>
13050 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13051 state_broadcast call.
13053 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13055 2005-11-21 Julien MOUTTE <julien@moutte.net>
13057 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13058 function calls for arrays.
13060 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13062 * docs/random/ensonic/media-device-daemon.txt:
13063 wild idea, can this be done?
13064 * docs/gst/gstreamer-sections.txt:
13069 * gst/gstpluginfeature.c:
13073 doc fixes and additions
13075 2005-11-21 Andy Wingo <wingo@pobox.com>
13077 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13078 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13079 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13080 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13081 private to the basesrc implementation.
13083 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13084 behalf of event function if necessary. It should no longer be
13085 necessary to take the stream lock in pad's event functions. Fixes
13088 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13089 * docs/gst/gstreamer-sections.txt:
13090 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13091 (gst_structure_fixate_field_nearest_double),
13092 (gst_structure_fixate_field_boolean):
13093 * gst/gststructure.h:
13094 * win32/common/libgstreamer.def:
13095 * win32/gstreamer.def:
13097 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13100 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13102 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13103 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13104 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13105 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13106 (gst_fdsrc_uri_handler_init):
13107 * gst/elements/gstfdsrc.h:
13108 Port fd:// URI handler from 0.8 to fdsrc
13110 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13112 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13113 (gst_value_serialize_fourcc):
13115 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13116 consistent with our other format defines (#320324).
13118 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13120 * gst/gstvalue.c: (gst_value_is_fixed):
13121 Revert previous commit. Value lists are by definition
13122 not fixed, as they are a list of possible values.
13124 2005-11-21 Andy Wingo <wingo@pobox.com>
13126 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13127 during the stable series if we need it. Fixes #319178.
13129 * gst/gstevent.c (gst_event_new_filler): Removed.
13131 * check/gst/gstevent.c: Update comment about filler events.
13133 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13135 * gst/gstvalue.c: (gst_value_is_fixed):
13136 Should handle both value arrays and value lists.
13138 2005-11-21 Andy Wingo <wingo@pobox.com>
13140 patch by: Alessandro Dessina <alessandro nnva org>
13142 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13143 functions to access arrays. Fixes #321962.
13145 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13147 * docs/gst/gstreamer.types:
13148 gst_collectpads_get_type => gst_collect_pads_get_type.
13150 * gst/base/gstbasetransform.c:
13151 Remove unused SIGNAL_HANDOFF enum.
13153 2005-11-21 Andy Wingo <wingo@pobox.com>
13155 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13156 the event type (upstream, downstream, serialized). Renamed
13157 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13158 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13159 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13161 * gst/gstevent.c: Update for new CUSTOM event names.
13163 * check/gst/gstevent.c: Update check for new CUSTOM event names.
13166 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13169 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13171 * docs/gst/gstreamer-sections.txt:
13172 * win32/common/libgstbase.def:
13173 * win32/libgstbase.def:
13174 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13175 (gst_collect_pads_class_init), (gst_collect_pads_init),
13176 (gst_collect_pads_finalize), (gst_collect_pads_new),
13177 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13178 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13179 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13180 (gst_collect_pads_start), (gst_collect_pads_stop),
13181 (gst_collect_pads_peek), (gst_collect_pads_pop),
13182 (gst_collect_pads_available), (gst_collect_pads_read),
13183 (gst_collect_pads_flush), (gst_collect_pads_event),
13184 (gst_collect_pads_chain):
13185 * gst/base/gstcollectpads.h:
13186 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13187 unimplemented functions as unimplemented. Add padding to
13188 GstCollectData. (#320766, #320423)
13190 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13192 * gst/gstmessage.c:
13193 Improve docs for DURATION message (usage of duration parameter)
13196 2005-11-20 Wim Taymans <wim@fluendo.com>
13198 * check/Makefile.am:
13199 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13203 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13204 (gst_segment_set_seek), (gst_segment_set_newsegment),
13205 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13206 (gst_segment_clip):
13207 * gst/gstsegment.h:
13208 Added segment helper structure and methods. Not fully implemented
13210 Added segment check.
13212 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
13214 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13215 Add a deserialisation test for fractions
13216 * examples/metadata/read-metadata.c: (message_loop),
13217 (make_pipeline), (main):
13218 Fix up metadata reading sample.
13219 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13221 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13222 Don't try and fixate empty caps
13223 * gst/gst_private.h:
13224 Wrap in G_BEGIN_DECLS/G_END_DECLS
13225 * gst/gstvalue.c: (gst_value_collect_fraction),
13226 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13227 (gst_value_transform_string_fraction),
13228 (gst_value_compare_fraction):
13229 Add some extra guards to ensure that we don't end up
13230 with an invalid denominator of 0 in a gstfraction and
13231 that fractions always get reduced.
13233 2005-11-20 Wim Taymans <wim@fluendo.com>
13235 * docs/gst/gstreamer-sections.txt:
13237 * gst/gstelement.c:
13246 2005-11-20 Wim Taymans <wim@fluendo.com>
13248 * docs/design/part-TODO.txt:
13250 Make a proper enum of the flag.
13252 2005-11-19 Wim Taymans <wim@fluendo.com>
13254 * docs/design/part-TODO.txt:
13255 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13256 (gst_format_to_quark), (gst_format_register):
13258 * gst/gstquery.c: (_gst_query_initialize),
13259 (gst_query_type_get_name), (gst_query_type_to_quark),
13260 (gst_query_type_register):
13262 Add type to quark and type to string conversions.
13264 2005-11-19 Andy Wingo <wingo@pobox.com>
13266 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13269 2005-11-19 Wim Taymans <wim@fluendo.com>
13271 * docs/design/part-TODO.txt:
13272 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13273 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13274 (gst_bin_handle_message_func):
13276 Make message handling overridable.
13278 2005-11-19 Andy Wingo <wingo@pobox.com>
13280 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13283 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13285 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13286 is a GstClockTime. Fixes #321710.
13288 * gst/gstclock.h (GstClock): Remove offset property. Add
13289 internal_calibration and external_calibration. Fix padding. Pad
13290 also by GstClockTime so we don't run into problems.
13292 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13293 (gst_clock_get_rate_offset): Remove.
13294 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13297 * gst/gstutils.c (g_static_rec_cond_wait)
13298 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13300 * gst/gstbin.c: Remove terrible continue_state prototype.
13302 * gst/gstelement.h (gst_element_continue_state): Make public.
13304 * gst/gstelement.h:
13305 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13306 by continue_state. Fixes #319389.
13308 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13309 Really fixes #168438. However I don't see anywhere where the
13310 filter function is called... stupid GStreamer...
13312 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13313 don't have a dispose function, so it won't get called when the
13314 object is unreffed, but oh well!
13316 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13317 allows a destroy function to be set so user_data can be freed.
13319 (gst_index_set_filter): Call gst_index_set_filter_full.
13321 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13323 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13324 string should produce an error, given the lack of a way to
13325 represent NULL strings. Fixes #165650.
13328 * gst/gstvalue.c (gst_value_array_append_value)
13329 (gst_value_array_prepend_value, gst_value_array_get_size)
13330 (gst_value_array_get_value): New API, copied from
13331 gst_value_list_*, only operates on arrays.
13332 (gst_value_list_append_value, gst_value_list_prepend_value)
13333 (gst_value_list_concat, gst_value_list_get_size)
13334 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13336 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13337 init_list, because it works on both.
13338 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13339 (gst_value_copy_list_or_array): Renamed from copy_list.
13340 (gst_value_free_list_or_array): Renamed from free_list.
13341 (gst_value_collect_list_or_array): Renamed from collect_list.
13342 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13343 (gst_value_list_or_array_peek_pointer): Renamed from
13345 (_gst_value_array_value_table, _gst_value_list_value_table):
13346 Update value table functions.
13347 (gst_value_compare_list_or_array): Renamed from compare_list.
13349 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13352 * gst/gsttaglist.c:
13353 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13354 GstTagList*. Fixes #143472.
13356 * gst/gststructure.h: Clarify what the foreach/map functions can
13357 or can't do to their arguments.
13359 2005-11-18 Wim Taymans <wim@fluendo.com>
13361 * gst/gstclock.c: (gst_clock_set_calibration),
13362 (gst_clock_get_calibration):
13364 Calibration can be set with internal time equal to current
13367 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13373 2005-11-18 Andy Wingo <wingo@pobox.com>
13376 * pkgconfig/gstreamer-net.pc.in:
13377 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13378 * pkgconfig/Makefile.am: Add net pkgconfig files.
13380 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13383 * gst/gstghostpad.c:
13389 2005-11-18 Andy Wingo <wingo@pobox.com>
13391 * gst/net/gstnetclientclock.c: Turn off debugging.
13393 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13394 times connverge somewhat. Can't make a real test.
13396 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13397 integer arithmetic. Return the minimum of the domain, which can be
13398 set as "internal" for gst_clock_set_calibration.
13399 (gst_net_client_clock_observe_times): Call _set_calibration.
13400 (gst_net_client_clock_new): Call _set_calibration instead of
13403 * check/net/gstnetclientclock.c (test_functioning): Use the right
13407 * gst/gstclock.c (gst_clock_get_calibration)
13408 (gst_clock_set_calibration): New functions, obsolete the ones I
13409 added yesterday. Doh. Precision issues mean we have to extrapolate
13410 from a point in the more recent past than 1970.
13411 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13413 (gst_clock_adjust_unlocked): Use the right calibration data.
13415 2005-11-18 Edward Hervey <edward@fluendo.com>
13417 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13418 Also reset the ->current_* values in READY->PAUSED
13420 2005-11-18 Andy Wingo <wingo@pobox.com>
13422 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13423 Whoops, check the right fd. Also add some debugging.
13424 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13425 (do_linear_regression): Add a crapload of debugging. Subtract off
13426 the minimum values from the input series to discard unneeded bits.
13427 Use only int arithmetic. There is still double arithmetic when
13428 calculating the intercept that needs fixing. Return boolean to
13429 indicate success; FALSE would mean the domain or range is too
13430 great. Still needs fixes.
13432 2005-11-18 Wim Taymans <wim@fluendo.com>
13434 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13435 For the current position in stream time, we need to subtract
13438 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13439 Release lock before calling the callback function of async
13442 2005-11-18 Andy Wingo <wingo@pobox.com>
13444 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13445 Port goes all the way to MAXUINT16.
13447 * gst/net/gstnettimeprovider.c: Make the port range the same as
13448 for the kernel: 0 assigns, otherwise ports are less than
13451 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13454 * check/net/gstnetclientclock.c (test_functioning): Add the start
13457 2005-11-18 Wim Taymans <wim@fluendo.com>
13459 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13460 (gst_bin_remove_func), (bin_bus_handler):
13462 Removing a clock provider from a bin, triggers a clock lost message
13463 so that a new clock will be selected.
13464 Adding a clock to a bin triggers a clock provider message.
13465 Make sure we reselect a clock when we received a clock lost message.
13466 Keep a reference to the element that provided the clock.
13468 2005-11-18 Andy Wingo <wingo@pobox.com>
13470 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13471 the clock initially so it produces values around the base time.
13472 (gst_net_client_clock_class_init): Typo fix.
13473 (gst_net_client_clock_thread): Add note on when the socket gets
13476 2005-11-17 Wim Taymans <wim@fluendo.com>
13478 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13479 Free remote and local time arrays.
13481 2005-11-17 Wim Taymans <wim@fluendo.com>
13483 * gst/net/gstnetclientclock.c: (do_linear_regression),
13484 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13485 Fix compilation, uninitialized vars and a forgotten continue.
13487 2005-11-17 Andy Wingo <wingo@pobox.com>
13489 * check/Makefile.am (check_PROGRAMS):
13490 * check/net/gstnetclientclock.c: Add a most minimal test for the
13491 net client clock. More to come later.
13493 * gst/net/gstnet.h:
13494 * gst/net/Makefile.am: Add netclientclock.
13496 * gst/net/gstnetclientclock.h:
13497 * gst/net/gstnetclientclock.c: New files, implement an untested
13498 GstClock that takes its time from a network time provider.
13499 Implements the algorithm in network-clock.scm.
13501 * tests/network-clock.scm (*window-size*): Rename from
13503 * tests/network-clock.scm (network-time):
13504 * tests/network-clock-utils.scm (q-push): Update callers.
13506 2005-11-17 Wim Taymans <wim@fluendo.com>
13508 * gst/gstbin.c: (gst_bin_provide_clock_func),
13509 (gst_bin_sort_iterator_new):
13510 And unref the child too..
13512 2005-11-17 Wim Taymans <wim@fluendo.com>
13514 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13515 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13516 Refactor the sort iterator so it can be used while holding the
13518 Make clock selection select a clock closest to the source.
13520 2005-11-17 Michael Smith <msmith@fluendo.com>
13522 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13523 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13525 Anonymous structs are a gcc (and some other compilers) extension, so
13526 don't use them. Since this is only for ABI-compatibility, and our
13527 API/ABI freeze is over in a few days, this whole thing will only
13528 last a few days, so don't bother trying to think up a meaningful
13529 name for the struct.
13531 2005-11-17 Andy Wingo <wingo@pobox.com>
13533 * gst/gstclock.h (GstClock): Add rate and offset properties,
13534 preserving ABI stability. Add rate/offset accessors. Will file bug
13535 for the freeze break.
13537 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13538 and offset, trying to keep precision and avoiding
13539 underflow/overflow.
13540 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13541 functions. Make gst_clock_set_time_adjust obsolete.
13542 (gst_clock_set_time_adjust): Note that this function is obsolete.
13543 Will file bug soon.
13545 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13546 greppable by using GST_PADDING-1+1.
13548 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13550 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13552 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13553 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13555 * gst/gstpadtemplate.h:
13556 * gst/gstpluginfeature.h:
13557 Don't use c++ style comments in headers (#321638).
13559 2005-11-16 Andy Wingo <wingo@pobox.com>
13561 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13564 * check/net/gstnettimeprovider.c: Check to see that the time
13565 provider actually provides times. Works, yo!
13567 2005-11-16 Wim Taymans <wim@fluendo.com>
13569 * check/Makefile.am:
13572 * check/elements/fakesrc.c: (GST_START_TEST):
13573 Set element to NULL before disposing it.
13575 2005-11-16 Andy Wingo <wingo@pobox.com>
13577 * gst/net/Makefile.am:
13578 * gst/net/gstnet.h:
13579 * gst/net/gstnettimeprovider.c:
13580 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13581 provider, include it from gstnet.h, and add it to the build.
13583 * gst/net/gstnettimepacket.h:
13584 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13585 sending and receiving.
13587 2005-11-16 Wim Taymans <wim@fluendo.com>
13589 * check/Makefile.am:
13590 Enable valgrind check.
13592 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13593 (gst_fake_src_alloc_buffer):
13596 2005-11-16 Wim Taymans <wim@fluendo.com>
13598 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13599 Call parent finalize too.
13601 2005-11-16 Wim Taymans <wim@fluendo.com>
13603 * check/Makefile.am:
13604 Enable valgrind check that should work fine now.
13606 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13607 * gst/gstqueue.c: (gst_queue_init):
13608 Fix memleaks in pad allocation.
13610 2005-11-16 Andy Wingo <wingo@pobox.com>
13612 * gst/net/Makefile.am:
13613 * gst/net/gstnet.h: New part of core to hold network elements and
13614 objects. Put in core because it exposes API that applications want
13615 to use. The library is named libgstnet-tempname right now because
13616 of the existing libgstnet in gst-plugins-base. Solution is
13617 probably to rename the one in plugins-base; will file a bug for
13620 * gst/net/gstnettimeprovider.c:
13621 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13622 get_time call over the network.
13625 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13627 * check/Makefile.am:
13628 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13629 get additions shortly.
13631 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13633 * gst/gstpad.c: (gst_pad_new_from_static_template):
13635 add gst_pad_new_from_static_template functions
13636 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13637 (gst_check_setup_sink_pad):
13638 * gst/elements/gsttee.c: (gst_tee_init):
13641 2005-11-16 Wim Taymans <wim@fluendo.com>
13643 * gst/gstpad.c: (gst_pad_pause_task):
13644 Removed warning, it's not really an error either.
13646 2005-11-16 Wim Taymans <wim@fluendo.com>
13648 * gst/base/gstbasetransform.c:
13649 (gst_base_transform_prepare_output_buf),
13650 (gst_base_transform_event):
13651 Check if the caps are NULL, this can happen if the element
13652 is shutting down and the pad caps are set to NULL.
13654 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13656 * gst/elements/gsttee.c: (gst_tee_init):
13657 fix pad template leak in tee
13659 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13661 * gst/glib-compat.c: (g_value_dup_gst_object):
13662 * gst/glib-compat.h:
13663 * gst/gstpad.c: (gst_pad_set_property):
13664 use gst_object_ref when setting the pad template; this will
13665 trigger the pad template leaks on GLib 2.6 and the slaves
13667 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13669 * gst/glib-compat.c: (gst_flags_get_first_value):
13670 * gst/glib-compat.h:
13671 * gst/gstregistryxml.c:
13672 remove functions copied from GLib 2.6
13674 2005-11-16 Michael Smith <msmith@fluendo.com>
13677 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13678 do, but only breaks with newer valgrind versions. We're not a
13679 valgrind tool, we have no link-time dependencies on libcoregrind.
13681 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13683 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13685 * gst/gstmessage.h:
13688 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13690 * gst/base/gstbasesrc.c: (gst_base_src_init):
13691 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13692 * gst/gstqueue.c: (gst_queue_init):
13693 * gst/gstregistryxml.c: (load_feature):
13694 Revert all these unrefs, they don't even pass make check !
13696 2005-11-15 Johan Dahlin <johan@gnome.org>
13698 * gst/base/gstbasesrc.c: (gst_base_src_init):
13699 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13700 * gst/gstqueue.c: (gst_queue_init):
13701 Free pad templates, fixes a couple of leaks.
13703 2005-11-15 Daniel Fischer <dan at f3c dot com>
13705 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13707 * gst/gstpad.c: (gst_pad_get_property):
13708 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13709 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13712 2005-11-15 Wim Taymans <wim@fluendo.com>
13717 2005-11-15 Andy Wingo <wingo@pobox.com>
13719 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13721 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13722 using GST_CLOCK_TIME_NONE to disable base time management.
13723 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13724 time if it was NONE before.
13725 (gst_pipeline_change_state): Only munge the base time if
13726 stream_time != GST_CLOCK_TIME_NONE.
13728 * check/gst/gstpipeline.c (test_base_time): Punt around the
13729 problem of the probe not being called, because that's not the
13730 issue I'm looking at. Add a check that setting stream_time to NONE
13731 disables base time management.
13733 2005-11-15 Wim Taymans <wim@fluendo.com>
13735 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13736 segment_stop == -1 at startup.
13738 * gst/base/gstbasetransform.c: (gst_base_transform_event),
13739 (gst_base_transform_change_state):
13740 Init segment values at start.
13742 2005-11-15 Wim Taymans <wim@fluendo.com>
13744 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13745 0 segment values are 0 in any format.
13747 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13748 * gst/base/gstbasetransform.h:
13749 Parse newsegment correctly in basetransform
13751 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13752 Sync to clock using updated segment values.
13754 2005-11-15 Andy Wingo <wingo@pobox.com>
13756 * check/gst/gstpipeline.c (test_base_time): Add check that the
13757 base time and stream time are reset correctly.
13759 2005-11-15 Wim Taymans <wim@fluendo.com>
13761 * docs/design/part-TODO.txt:
13762 Some more TODO items.
13764 2005-11-15 Andy Wingo <wingo@pobox.com>
13766 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
13767 error if the user selected "no clock" as the clocking method.
13769 * check/gst/gstpipeline.c (test_base_time): New test for buffer
13770 timestamps with live capture.
13772 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
13773 is 0 but we are a live source, timestamp the buffers using the
13776 2005-11-14 Stefan Kost <ensonic@users.sf.net>
13778 * docs/gst/gstreamer-sections.txt:
13780 * gst/gstghostpad.c:
13785 2005-11-14 Wim Taymans <wim@fluendo.com>
13788 add suppressions from Wim's Debian machine
13790 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
13793 add suppressions from Andy's AMD64 Ubuntu machine
13795 2005-11-14 Andy Wingo <wingo@pobox.com>
13797 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
13798 STATE_LOCK not necessary. Fixes #311489.
13800 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
13803 * gst/gstindex.c (gst_index_add_object): Note in the docs that
13804 this function is not implemented.
13806 2005-11-14 Julien MOUTTE <julien@moutte.net>
13808 * gst/base/gstbasetransform.c:
13809 (gst_base_transform_prepare_output_buf):
13810 Ref the source pad caps while we need them.
13813 2005-11-11 Wim Taymans <wim@fluendo.com>
13815 * docs/gst/gstreamer-sections.txt:
13816 Added some docs for GstCollectData.
13818 * gst/base/gstadapter.c:
13819 Some small code example fix.
13821 * gst/base/gstcollectpads.c:
13822 * gst/base/gstcollectpads.h:
13823 Document some more.
13825 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
13827 * configure.ac: back to HEAD
13829 === release 0.9.5 ===
13831 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
13834 releasing 0.9.5, "Bike Lunch Day"
13836 2005-11-11 Wim Taymans <wim@fluendo.com>
13838 * gst/gstbuffer.c: (_gst_buffer_copy):
13841 * gst/gstcaps.c: (gst_caps_is_equal):
13843 Make _is_equal fast in the trivial cases.
13845 * gst/gstminiobject.c:
13846 * gst/gstminiobject.h:
13847 More docs. Spifify .h file.
13852 2005-11-11 Wim Taymans <wim@fluendo.com>
13854 * gst/base/gstbasetransform.c:
13855 (gst_base_transform_prepare_output_buf),
13856 (gst_base_transform_handle_buffer):
13858 If we're processing a buffer and need to allocate an output
13859 buffer, we cannot accept a format change. If we did get a
13860 format change, we have to alloc a buffer ourselves of the
13863 2005-11-11 Wim Taymans <wim@fluendo.com>
13865 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
13866 While checking the flag for reentrancy in the gstcaps function
13867 is nice to detect recursive invocations, it also makes it
13868 impossible to call getcaps from multiple threads, which must be
13869 possible. So, checking for recursive calls has to go.
13871 2005-11-11 Michael Smith <msmith@fluendo.com>
13873 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13874 Don't sync on buffers that fall partially outside our current
13875 segment. Prevents an assertion failure/abort playing some files.
13877 2005-11-10 Andy Wingo <wingo@pobox.com>
13879 * check/gst/gstbin.c (test_message_state_changed_children): Style
13882 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
13883 gst_bus_poll with the signal watch. Ensures that poll and a signal
13884 watch see the same messages.
13886 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
13887 a poll and a watch at the same time get the same messages.
13889 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
13891 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
13892 * gst/gstcaps.c: (gst_caps_intersect):
13893 Don't call gst_caps_do_simplify - it doesn't respect order of caps
13894 and it's not needed.
13896 2005-11-10 Wim Taymans <wim@fluendo.com>
13898 * docs/design/part-TODO.txt:
13901 2005-11-10 Wim Taymans <wim@fluendo.com>
13903 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13904 * gst/base/gstbasesrc.c: (gst_base_src_wait),
13905 (gst_base_src_do_sync), (gst_base_src_get_range):
13906 Implement clock sync in base class.
13908 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
13910 patch by: Tim-Philipp Müller <tim at centricular dot net>
13912 * gst/gststructure.c: (gst_structure_parse_field),
13913 (gst_structure_from_string):
13914 Forward-port a 0.8 patch to handle escaped spaces in structure string,
13915 so that gst_parse_launch() can deal with spaces in filtered link
13916 caps (fixes #164479)
13917 * check/gst/capslist.h:
13918 * check/gst/gststructure.c: (GST_START_TEST):
13919 add unit tests for this change
13921 2005-11-10 Wim Taymans <wim@fluendo.com>
13923 * docs/gst/gstreamer-sections.txt:
13924 * gst/gstelement.c:
13925 * gst/gstelement.h:
13926 Fix docs, move some STATE macros to private.
13928 2005-11-10 Wim Taymans <wim@fluendo.com>
13930 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13931 Added check for bug #317341
13935 Some more spiffifying.
13937 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
13938 Call peer linkfunction if we are a source pad. Totally fixes
13942 Update docs, source pads should call the peer linkfunction
13943 so they can atomically perform the pad link.
13945 2005-11-09 Wim Taymans <wim@fluendo.com>
13949 Uber-spiffy-spiffify some more.
13951 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
13953 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
13954 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13955 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13956 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
13957 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
13958 * gst/gstpad.c: (gst_pad_init):
13959 Use GST_DEBUG_FUNCPTR() more extensively.
13961 2005-11-09 Wim Taymans <wim@fluendo.com>
13963 * gst/gstobject.c: (gst_object_class_init):
13965 Documentation fixes.
13967 2005-11-09 Edward Hervey <edward@fluendo.com>
13969 * gst/gsttypefindfactory.c:
13972 2005-11-09 Edward Hervey <edward@fluendo.com>
13974 * gst/base/gsttypefindhelper.c:
13975 * gst/gsttypefind.c:
13976 * gst/gsttypefind.h:
13979 2005-11-09 Wim Taymans <wim@fluendo.com>
13981 * gst/gstiterator.c:
13988 2005-11-09 Wim Taymans <wim@fluendo.com>
13994 2005-11-09 Wim Taymans <wim@fluendo.com>
13996 * docs/gst/gstreamer-sections.txt:
13997 Moved the message async delivery private lock and cond
13998 to the private section.
14000 * gst/gstmessage.c:
14001 * gst/gstmessage.h:
14004 2005-11-09 Edward Hervey <edward@fluendo.com>
14006 * docs/gst/gstreamer-sections.txt:
14009 Document GstURIHandler
14011 2005-11-09 Wim Taymans <wim@fluendo.com>
14013 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14014 (gst_iterator_find_custom):
14015 * gst/gstiterator.h:
14018 2005-11-09 Wim Taymans <wim@fluendo.com>
14021 Document another field.
14023 * gst/gststructure.c:
14024 * gst/gststructure.h:
14027 2005-11-09 Wim Taymans <wim@fluendo.com>
14030 Documented structs.
14032 2005-11-09 Wim Taymans <wim@fluendo.com>
14034 * docs/gst/gstreamer-sections.txt:
14035 Added some new macros.
14042 2005-11-09 Wim Taymans <wim@fluendo.com>
14044 * docs/design/part-TODO.txt:
14045 Some more items for the TODO
14051 2005-11-09 Andy Wingo <wingo@pobox.com>
14053 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14054 to work on something else now tho...
14056 * gst/base/gstadapter.c: More adapter docs.
14058 * gst/elements/gstfilesink.c (gst_file_sink_start)
14059 (gst_file_sink_stop): New functions, replace the state change
14061 (gst_file_sink_class_init): Hook up the start and stop functions.
14062 (gst_file_sink_base_init): Don't set the state change handler any
14063 more. It was a bit ugly too, being set from here...
14064 (gst_file_sink_get_property, gst_file_sink_set_property):
14066 (gst_file_sink_set_location): More robust check that doesn't call
14067 GST_STATE. Ugggggg.
14069 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14071 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14072 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14074 2005-11-08 Wim Taymans <wim@fluendo.com>
14076 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14077 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14078 (gst_base_sink_chain), (gst_base_sink_change_state):
14079 * gst/base/gstbasesink.h:
14080 * gst/base/gstbasesrc.h:
14081 * gst/gstelement.h:
14083 Avoid excessive typechecking in macros.
14085 * gst/gstminiobject.c: (gst_mini_object_get_type),
14086 (gst_mini_object_init), (gst_mini_object_new),
14087 (gst_mini_object_free):
14088 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14089 (gst_object_finalize):
14090 Remove cruft code, optimize alloc_trace.
14092 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14094 * docs/faq/gst-uninstalled:
14095 fix up PS1 for systems that try to reset it
14097 2005-11-07 Wim Taymans <wim@fluendo.com>
14099 * gst/base/gstbasesrc.c: (gst_base_src_init),
14100 (gst_base_src_get_range):
14101 Set the segment_end to -1 initially. Fixed typefind.
14103 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14105 * gst/base/gstadapter.c:
14106 Debug category should be 'adapter', not 'GstAdapter'.
14108 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14109 (gst_collectpads_class_init), (gst_collectpads_init),
14110 (gst_collectpads_peek), (gst_collectpads_pop),
14111 (gst_collectpads_event), (gst_collectpads_chain):
14112 Add debug category and some debugging output. Use boilerplate
14113 macros. Remove some extraneous words from docs.
14115 2005-11-05 Andy Wingo <wingo@pobox.com>
14117 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14120 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14122 * docs/gst/gstreamer-sections.txt:
14125 * gst/gstminiobject.h:
14130 2005-11-04 Wim Taymans <wim@fluendo.com>
14132 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14133 Small update to stop at the configured segment_end
14136 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14138 * gst/gstregistry.c:
14139 * gst/gstregistry.h:
14142 2005-11-04 Edward Hervey <edward@fluendo.com>
14144 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14145 Check if we are doing a segment seek and have arrived at the
14146 end of that segment.
14148 2005-11-04 Wim Taymans <wim@fluendo.com>
14150 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14151 Don't leak a mutex unlock in case of an error.
14156 2005-11-04 Wim Taymans <wim@fluendo.com>
14158 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14160 Get the context to wake up only once.
14162 2005-11-03 Wim Taymans <wim@fluendo.com>
14164 * check/states/sinks.c: (GST_START_TEST):
14165 Uncomment fixed check.
14167 * docs/design/part-TODO.txt:
14170 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14171 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14172 (gst_base_sink_get_position):
14173 If we are going to PLAYING, post the right pending state
14174 when we post the intermediate paused message.
14176 * gst/gstelement.c: (gst_element_continue_state),
14177 (gst_element_set_state_func), (gst_element_change_state):
14178 Don't post state changes that were between the same state
14179 and were not ASYNC.
14181 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14183 * docs/gst/gstreamer-sections.txt:
14186 * gst/gstminiobject.h:
14189 more docs and doc style fixes
14191 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14193 * docs/gst/gstreamer-sections.txt:
14194 * gst/gstelement.c:
14195 * gst/gstminiobject.c:
14198 2005-11-03 Andy Wingo <wingo@pobox.com>
14200 * check/states/sinks.c (test_livesrc_sink): Add checks that the
14201 state-changed messages actually have the right order and the right
14204 2005-11-03 Wim Taymans <wim@fluendo.com>
14206 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14207 Added some more checks. Specifically the case where NO_PREROLL
14208 elements are in the pipeline.
14210 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14211 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14212 (gst_base_sink_get_position):
14213 Post READY->PAUSED state change messages too.
14214 Fix bug where VOID was posted as pending state...
14216 * gst/gstbin.c: (gst_bin_recalc_state):
14217 use _element_continue_state() to continue the state change.
14219 * gst/gstelement.c: (gst_element_continue_state),
14220 (gst_element_commit_state), (gst_element_set_state_func),
14221 (gst_element_change_state), (gst_element_change_state_func):
14222 Lots of state change cleanups, assign the STATE_RETURN in
14223 a new continue_state() function that also propagates the
14224 last return value from a state change to the app.
14225 Update some debug statements with proper category.
14227 2005-11-03 Wim Taymans <wim@fluendo.com>
14229 * docs/design/part-events.txt:
14230 * docs/design/part-gstpipeline.txt:
14231 * docs/design/part-messages.txt:
14232 * docs/design/part-overview.txt:
14233 * docs/design/part-seeking.txt:
14234 * docs/design/part-states.txt:
14235 * docs/design/part-trickmodes.txt:
14236 * docs/manual/advanced-position.xml:
14237 Small docs updates.
14240 People think !! is ugly, this looks better.
14242 * gst/gstpad.c: (gst_pad_set_blocked_async):
14243 Remove !! since it's fixed elsewhere now.
14245 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14247 * gst/gstminiobject.h:
14249 Add !! to _FLAG_IS_SET macros to make the result boolean.
14251 2005-11-03 Edward Hervey <edward@fluendo.com>
14253 * gst/gstpad.c: (gst_pad_set_blocked_async):
14254 comparing a flag and a gboolean rarely returns coherent results...
14255 Added two characters (!!) to make that work correctly.
14257 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14259 * gst/gstbus.c: (gst_bus_class_init):
14262 * gst/gstqueue.c: (gst_queue_loop):
14263 Don't assume a miniobject that isn't a buffer is an
14264 event (it could be that there is a refcounting
14265 problem somewhere and the pointer is stale and
14266 refers to an already destroyed miniobject).
14268 2005-11-03 Julien MOUTTE <julien@moutte.net>
14270 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14272 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14274 * docs/manual/advanced-position.xml:
14275 Update seek example and explanations to current 0.9 API.
14277 * gst/elements/gsttypefindelement.c:
14278 (gst_type_find_element_activate):
14279 Remove FIXME comment now that the found caps
14282 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14284 * gst/gstregistryxml.c: (load_feature):
14285 Add another GST_STR_NULL instance
14287 2005-11-02 Edward Hervey <edward@fluendo.com>
14289 * gst/gstpad.c: (handle_pad_block):
14290 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14292 2005-11-02 Wim Taymans <wim@fluendo.com>
14297 * gst/gstelement.c: (gst_element_commit_state):
14298 Remove unused value.
14300 * gst/gstiterator.c:
14301 Mention that the returned element is reffed in the docs.
14303 2005-11-02 Wim Taymans <wim@fluendo.com>
14305 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14306 (gst_pad_push), (gst_pad_push_event):
14307 Unlock blocked pads when they are flushed.
14309 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14312 * docs/gst/gstreamer-sections.txt:
14315 * gst/gstregistry.c: (gst_registry_scan_path_level):
14316 fix for a nasty little missed situation where an installed plug-in
14317 which was in the cache did not get overridden by an uninstalled one
14318 which was earlier in the plugin path because the newly created plugin
14319 for the uninstalled one (not in the registry) didn't get its
14320 ->registered set to TRUE
14322 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14324 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14325 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14326 (gst_collectpads_is_active), (gst_collectpads_collect),
14327 (gst_collectpads_collect_range), (gst_collectpads_start),
14328 (gst_collectpads_stop), (gst_collectpads_peek),
14329 (gst_collectpads_pop), (gst_collectpads_available),
14330 (gst_collectpads_read), (gst_collectpads_flush):
14331 Guard public API with assertions.
14334 Fix docs for gst_pad_set_link_function().
14336 2005-11-02 Johan Dahlin <johan@gnome.org>
14338 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14339 Unref found_caps after we used it.
14341 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14343 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14344 Don't try to ref NULL.
14346 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14348 * win32/common/config.h.in:
14349 provide a GST_FUNCTION that just gives a string for now
14351 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14353 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14354 (gst_object_flags_get_type), (register_gst_bin_flags),
14355 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14356 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14357 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14358 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14359 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14360 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14361 (gst_clock_flags_get_type), (register_gst_state),
14362 (gst_state_get_type), (register_gst_state_change_return),
14363 (gst_state_change_return_get_type), (register_gst_state_change),
14364 (gst_state_change_get_type), (register_gst_element_flags),
14365 (gst_element_flags_get_type), (register_gst_core_error),
14366 (gst_core_error_get_type), (register_gst_library_error),
14367 (gst_library_error_get_type), (register_gst_resource_error),
14368 (gst_resource_error_get_type), (register_gst_stream_error),
14369 (gst_stream_error_get_type), (register_gst_event_type),
14370 (gst_event_type_get_type), (register_gst_seek_type),
14371 (gst_seek_type_get_type), (register_gst_seek_flags),
14372 (gst_seek_flags_get_type), (register_gst_format),
14373 (gst_format_get_type), (register_gst_index_certainty),
14374 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14375 (gst_index_entry_type_get_type),
14376 (register_gst_index_lookup_method),
14377 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14378 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14379 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14380 (gst_index_flags_get_type), (register_gst_debug_level),
14381 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14382 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14383 (gst_iterator_result_get_type), (register_gst_iterator_item),
14384 (gst_iterator_item_get_type), (register_gst_message_type),
14385 (gst_message_type_get_type), (register_gst_mini_object_flags),
14386 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14387 (gst_pad_link_return_get_type), (register_gst_flow_return),
14388 (gst_flow_return_get_type), (register_gst_activate_mode),
14389 (gst_activate_mode_get_type), (register_gst_pad_direction),
14390 (gst_pad_direction_get_type), (register_gst_pad_flags),
14391 (gst_pad_flags_get_type), (register_gst_pad_presence),
14392 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14393 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14394 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14395 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14396 (gst_plugin_flags_get_type), (register_gst_rank),
14397 (gst_rank_get_type), (register_gst_query_type),
14398 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14399 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14400 (gst_tag_flag_get_type), (register_gst_task_state),
14401 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14402 (gst_alloc_trace_flags_get_type),
14403 (register_gst_type_find_probability),
14404 (gst_type_find_probability_get_type), (register_gst_uri_type),
14405 (gst_uri_type_get_type), (register_gst_parse_error),
14406 (gst_parse_error_get_type):
14407 * win32/common/gstversion.h:
14408 update win32 copies
14410 2005-11-01 Luca Ognibene <luogni@tin.it>
14413 fix docs. popt is dead, long live GOption.
14415 2005-10-31 Wim Taymans <wim@fluendo.com>
14420 2005-10-31 Andy Wingo <wingo@pobox.com>
14424 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14426 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14427 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14428 the possibility of deadlocks here if code calling notify() or
14429 set() has a lock that can be taken in another notify handler (ABBA
14430 with class lock and e.g. python GIL state lock).
14432 2005-10-28 Julien MOUTTE <julien@moutte.net>
14434 * gst/gstbus.c: Doc updates.
14436 2005-10-28 Wim Taymans <wim@fluendo.com>
14438 * docs/design/part-TODO.txt:
14439 * gst/gstiterator.c:
14440 * gst/gstsystemclock.c:
14441 * gst/gstsystemclock.h:
14444 2005-10-28 Edward Hervey <edward@fluendo.com>
14446 * docs/gst/gstreamer-docs.sgml:
14447 * docs/gst/gstreamer-sections.txt:
14448 the GstURIType documentation page is private, it only defines GstURIType
14449 which should be defined in the GstURIHandler page
14451 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14453 * gst/gstbin.c: (gst_bin_class_init):
14456 Documentation updates.
14458 2005-10-28 Wim Taymans <wim@fluendo.com>
14460 * docs/gst/gstreamer-sections.txt:
14463 Documented the clocks.
14465 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14467 * docs/gst/gstreamer-sections.txt:
14468 move some macros to private sections
14469 * gst/gstminiobject.c:
14470 * gst/gstminiobject.h:
14471 add descriptions provided by ds and some more
14473 mark macro as to be removed
14475 2005-10-28 Wim Taymans <wim@fluendo.com>
14477 * docs/design/part-TODO.txt:
14478 Add an item to TODO.
14480 * gst/gstiterator.c: (gst_iterator_fold),
14481 (gst_iterator_find_custom):
14482 * gst/gstiterator.h:
14485 2005-10-28 Wim Taymans <wim@fluendo.com>
14487 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14488 (gst_base_transform_init):
14491 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14492 An EOS event marks the queue as completely filled.
14494 2005-10-27 Wim Taymans <wim@fluendo.com>
14496 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14497 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14498 Some more debugging.
14500 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14501 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14502 (gst_base_transform_event), (gst_base_transform_getrange),
14503 (gst_base_transform_chain):
14504 * gst/base/gstbasetransform.h:
14506 Protect transform and concurrent buffer alloc with a new lock.
14507 Try not to break ABI/API.
14509 2005-10-27 Wim Taymans <wim@fluendo.com>
14511 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14512 (gst_base_src_init), (gst_base_src_query),
14513 (gst_base_src_default_newsegment),
14514 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14515 (gst_base_src_send_event), (gst_base_src_event_handler),
14516 (gst_base_src_pad_get_range), (gst_base_src_loop),
14517 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14518 (gst_base_src_start), (gst_base_src_deactivate),
14519 (gst_base_src_activate_push), (gst_base_src_change_state):
14520 Move some stuff around and cleanup things.
14522 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14524 * gst/base/gstbasesrc.c: (gst_base_src_query):
14525 Add missing break statements.
14527 2005-10-27 Wim Taymans <wim@fluendo.com>
14529 * check/gst/gstbin.c: (GST_START_TEST):
14530 An extra refcount is taken in basesrc.
14532 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14533 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14534 (gst_base_src_loop):
14535 Small cleanups, check for flushing after being unlocked from the
14536 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14537 Don't send out EOS when going to READY.
14539 2005-10-27 Wim Taymans <wim@fluendo.com>
14541 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14542 (gst_base_sink_get_position):
14545 * gst/gstbin.c: (message_check), (bin_replace_message),
14546 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14547 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14548 (bin_query_duration_init), (bin_query_duration_fold),
14549 (bin_query_duration_done), (bin_query_generic_fold),
14551 * tools/gst-launch.c: (main):
14554 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14556 * examples/controller/audio-example.c: (main):
14557 * examples/queue/queue.c: (event_loop):
14558 * gst/base/gstbasetransform.h:
14559 * gst/gstelement.c: (gst_element_send_event):
14561 * gst/gstpad.c: (gst_pad_send_event):
14564 changing log priority in error situations
14566 2005-10-25 Wim Taymans <wim@fluendo.com>
14568 * gst/gstbin.c: (message_check), (bin_replace_message),
14569 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14570 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14571 (bin_query_duration_init), (bin_query_duration_fold),
14572 (bin_query_duration_done), (bin_query_generic_fold),
14574 Some doc and debug updates.
14575 Cache previously requested query DURATION for speed. invalidate
14576 cached duration if element posts a DURATION message.
14578 2005-10-25 Wim Taymans <wim@fluendo.com>
14580 * docs/design/part-TODO.txt:
14583 * gst/gstbin.c: (message_check), (bin_replace_message),
14584 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14585 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14586 (bin_query_duration_init), (bin_query_duration_fold),
14587 (bin_query_duration_done), (bin_query_generic_fold),
14589 Handle SEGMENT_START/DONE messages correctly.
14590 More evolved query algorithm that handles duration queries
14593 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14594 (gst_element_get_state_func), (gst_element_abort_state),
14595 (gst_element_commit_state), (gst_element_lost_state):
14596 Some more debugging.
14598 * gst/gstmessage.h:
14601 2005-10-25 Wim Taymans <wim@fluendo.com>
14603 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14604 Don't use invalid stream_time.
14606 * gst/gstevent.c: (gst_event_new_newsegment):
14607 stream_time in newsegment cannot be undefined.
14609 2005-10-24 Wim Taymans <wim@fluendo.com>
14614 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14616 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14618 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14620 * docs/libs/tmpl/gstdparam.sgml:
14621 * docs/libs/tmpl/gstdplinint.sgml:
14622 * docs/libs/tmpl/gstdpman.sgml:
14623 * docs/libs/tmpl/gstdpsmooth.sgml:
14624 * docs/libs/tmpl/gstunitconvert.sgml:
14627 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14632 === release 0.9.4 ===
14634 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14637 releasing 0.9.4, "Tyrannosaurus Rex"
14639 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14641 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14642 (gst_file_sink_get_current_offset):
14643 Use fseeko() and ftello() if available. When falling back on
14644 lseek() to get the current offset, fflush() first to make sure
14645 everything is up-to-date and we get the right offset.
14647 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14649 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14650 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14651 * gst/gsterror.c: (_gst_stream_errors_init):
14653 * gst/gstqueue.c: (gst_queue_loop):
14655 remove prematurely added error category and clean up the instances
14657 2005-10-21 Wim Taymans <wim@fluendo.com>
14659 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14660 (gst_base_sink_get_position), (gst_base_sink_query),
14661 (gst_base_sink_change_state):
14662 Simply set the right flag when going to playing, that's all
14663 we need to do instead of calling a function inside the object
14664 lock (that could take the lock as well and deadlock)
14666 2005-10-21 Wim Taymans <wim@fluendo.com>
14668 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14669 (gst_base_src_loop):
14670 Don't warn, the peer element knows what to do best when
14671 the seek failed, it might try something else.
14673 2005-10-21 Wim Taymans <wim@fluendo.com>
14675 * gst/base/gstbasesrc.c: (gst_base_src_init),
14676 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14679 2005-10-21 Wim Taymans <wim@fluendo.com>
14681 * docs/design/part-segments.txt:
14684 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14685 Correctly set caps, even on the subbufer.
14687 2005-10-21 Wim Taymans <wim@fluendo.com>
14689 * docs/gst/gstreamer-docs.sgml:
14690 * docs/gst/gstreamer-sections.txt:
14691 * gst/gstelement.h:
14694 * gst/gstmessage.h:
14697 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14701 And 2% more doc coverage.
14703 2005-10-21 Andy Wingo <wingo@pobox.com>
14705 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14706 position reporting.
14708 2005-10-20 Wim Taymans <wim@fluendo.com>
14710 * gst/gsterror.c: (gst_error_get_message):
14713 * gst/gststructure.c:
14718 2005-10-20 Wim Taymans <wim@fluendo.com>
14723 Another 1% more coverage.
14725 2005-10-20 Wim Taymans <wim@fluendo.com>
14727 * docs/gst/gstreamer-sections.txt:
14728 * gst/gstelement.c: (gst_element_get_state_func),
14729 (gst_element_abort_state), (gst_element_commit_state),
14730 (gst_element_lost_state):
14732 * gst/gstquery.c: (gst_query_set_position),
14733 (gst_query_parse_position), (gst_query_set_duration),
14734 (gst_query_parse_duration), (gst_query_new_convert):
14736 Yay! 1% more docs coverage.
14738 2005-10-20 Wim Taymans <wim@fluendo.com>
14741 * gst/gstquery.c: (gst_query_set_position),
14742 (gst_query_parse_position), (gst_query_set_duration),
14743 (gst_query_parse_duration), (gst_query_new_convert):
14745 * gst/gstutils.c: (gst_element_query_convert):
14747 Docs and consistency fixes.
14749 2005-10-20 Wim Taymans <wim@fluendo.com>
14755 2005-10-20 Wim Taymans <wim@fluendo.com>
14757 * gst/gstbin.c: (message_check), (bin_replace_message),
14758 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14759 (update_degree), (gst_bin_sort_iterator_next),
14760 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
14761 Reworked the message handling a bit, cache the messages instead of
14762 only the senders. alows us to do more in the future.
14764 2005-10-20 Wim Taymans <wim@fluendo.com>
14766 * docs/design/part-TODO.txt:
14769 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14770 (gst_base_sink_query):
14771 Don't use clock time to report position when in EOS.
14773 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
14775 * tools/gst-inspect.c: (print_interfaces),
14776 (print_element_properties_info), (print_element_info):
14777 Fix interface output with gst-inspect -a; don't print
14778 newlines after double/float properties.
14780 2005-10-20 Wim Taymans <wim@fluendo.com>
14782 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14783 (gst_base_sink_query):
14784 Speed up current position calculation.
14786 * gst/base/gstbasesrc.c: (gst_base_src_query),
14787 (gst_base_src_default_newsegment):
14788 Correctly set stream position in newsegment.
14790 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
14791 (update_degree), (gst_bin_sort_iterator_next),
14792 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
14793 * gst/gstmessage.c: (gst_message_new_custom):
14794 Clean up debugging info
14796 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14797 (gst_queue_loop), (gst_queue_handle_src_query):
14800 2005-10-19 Wim Taymans <wim@fluendo.com>
14802 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14803 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14804 Fix query handling again.
14806 2005-10-19 Wim Taymans <wim@fluendo.com>
14808 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14809 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14810 * gst/base/gstbasesrc.c: (gst_base_src_query):
14811 * gst/elements/gstfilesink.c: (gst_file_sink_query):
14812 * gst/elements/gsttypefindelement.c:
14813 (gst_type_find_handle_src_query), (find_element_get_length),
14814 (gst_type_find_element_activate):
14817 * gst/gstquery.c: (gst_query_new_position),
14818 (gst_query_set_position), (gst_query_parse_position),
14819 (gst_query_new_duration), (gst_query_set_duration),
14820 (gst_query_parse_duration), (gst_query_set_segment),
14821 (gst_query_parse_segment):
14823 Bundling query position/duration is not a good idea since duration
14824 does not change much and we don't want to recalculate it for every
14825 position query, so they are separated again..
14826 Base value in segment query is not needed.
14828 * gst/gstqueue.c: (gst_queue_handle_src_query):
14829 * gst/gstutils.c: (gst_element_query_position),
14830 (gst_element_query_duration), (gst_pad_query_position),
14831 (gst_pad_query_duration):
14833 Updates for query API change.
14834 Added some docs here and there.
14836 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
14838 * check/gst/gstbin.c: (GST_START_TEST):
14839 * check/gst/gstghostpad.c: (GST_START_TEST):
14840 * check/pipelines/cleanup.c: (GST_START_TEST):
14841 wait on thread to die so we can check refcount correctly
14843 2005-10-18 Wim Taymans <wim@fluendo.com>
14845 * check/pipelines/stress.c: (GST_START_TEST):
14846 Make check a little more time consuming.
14848 2005-10-18 Wim Taymans <wim@fluendo.com>
14850 * check/Makefile.am:
14851 * check/pipelines/stress.c: (GST_START_TEST),
14852 (simple_launch_lines_suite), (main):
14853 Small state change torture test.
14855 * docs/design/part-states.txt:
14856 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14857 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
14858 (gst_base_sink_change_state):
14859 Never take state lock from streaming thread, clean up ugly
14860 hacks. Unfortunatly core does not yet support nice ways to
14861 async commit state.
14863 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
14865 Start state recalc if a STATE_DIRTY message is posted, but only
14866 on the toplevel bin.
14868 * gst/gstelement.c: (gst_element_sync_state_with_parent),
14869 (gst_element_get_state_func), (gst_element_abort_state),
14870 (gst_element_commit_state), (gst_element_lost_state),
14871 (gst_element_set_state_func), (gst_element_change_state):
14872 * gst/gstelement.h:
14873 State variables are now protected with the LOCK, the state
14874 lock is only used to serialize _set_state().
14876 2005-10-18 Wim Taymans <wim@fluendo.com>
14878 * check/gst/gstbin.c: (GST_START_TEST):
14879 * check/gst/gstmessage.c: (GST_START_TEST):
14880 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14881 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
14883 * gst/gstelement.c: (gst_element_abort_state),
14884 (gst_element_commit_state), (gst_element_lost_state):
14885 * gst/gstmessage.c: (gst_message_new_state_changed),
14886 (gst_message_new_state_dirty), (gst_message_new_segment_start),
14887 (gst_message_new_segment_done), (gst_message_new_duration),
14888 (gst_message_parse_state_changed),
14889 (gst_message_parse_segment_start),
14890 (gst_message_parse_segment_done), (gst_message_parse_duration):
14891 * gst/gstmessage.h:
14892 * tools/gst-launch.c: (event_loop):
14893 Seriously, this is better than a previous commit as we only need
14894 to notify the fact that an element changed state in a streaming
14895 thread, marking the state of the parents dirty, hence the
14896 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
14899 2005-10-18 Wim Taymans <wim@fluendo.com>
14901 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
14902 (gst_bin_recalc_func):
14903 * gst/gstelement.c: (gst_element_set_clock),
14904 (gst_element_abort_state), (gst_element_lost_state):
14905 Cleanups, prepare for state change fixes.
14907 2005-10-18 Wim Taymans <wim@fluendo.com>
14910 * gst/gstelement.c: (gst_element_class_init),
14911 (gst_element_set_state), (gst_element_set_state_func):
14912 * gst/gstelement.h:
14913 Pending ABI changes.
14914 GThreadPool in GstBinClass to monitor async state changes.
14915 state_cookie in GstElement to detect concurrent gst/set state.
14916 set_state is now virtual too in case a very complicated element
14917 has to be constructed.
14919 2005-10-18 Wim Taymans <wim@fluendo.com>
14921 * check/gst/gstbin.c: (GST_START_TEST):
14922 * check/gst/gstmessage.c: (GST_START_TEST):
14923 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14924 * gst/gstbin.c: (bin_bus_handler):
14925 * gst/gstelement.c: (gst_element_commit_state),
14926 (gst_element_lost_state):
14927 * gst/gstmessage.c: (gst_message_new_state_changed),
14928 (gst_message_new_segment_start), (gst_message_new_segment_done),
14929 (gst_message_new_duration), (gst_message_parse_state_changed),
14930 (gst_message_parse_segment_start),
14931 (gst_message_parse_segment_done), (gst_message_parse_duration):
14932 * gst/gstmessage.h:
14933 * tools/gst-launch.c: (event_loop):
14934 Make messages future proof.
14935 state-change gets a flag if it was a message comming from the
14937 segment-start/stop can also be specified in other formats.
14938 A message to notify an app that a pipeline changed playback
14940 Also fix a GstMessage leak in -launch
14942 2005-10-18 Andy Wingo <wingo@pobox.com>
14944 * gst/gstelement.c (gst_element_dispose): More helpful message.
14946 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14948 reviewed by: <delete if not using a buddy>
14950 * common/gtk-doc.mak:
14952 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14954 * gst/gstregistry.c: (gst_registry_scan_path_level):
14955 unref a plug-in we get that was already initialized
14957 2005-10-18 Stefan Kost <ensonic@users.sf.net>
14959 * docs/gst/gstreamer-sections.txt:
14960 * docs/libs/gstreamer-libs-sections.txt:
14961 * gst/gstelement.h:
14962 add new api entries
14963 hide internal macro
14965 2005-10-17 Andy Wingo <wingo@pobox.com>
14967 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
14970 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
14972 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
14974 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
14975 (gst_element_get_state_func): Better debug message.
14976 (gst_element_commit_state): s/INFO/DEBUG/.
14977 (gst_element_lost_state, gst_element_change_state):
14979 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
14980 (gst_message_new_custom): s/INFO/LOG/.
14982 2005-10-17 Michael Smith <msmith@fluendo.com>
14984 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14985 Check if end time is valid using end time, not start time.
14987 2005-10-17 Stefan Kost <ensonic@users.sf.net>
14989 * check/gst-libs/controller.c: (GST_START_TEST),
14990 (gst_controller_suite):
14991 * libs/gst/controller/gstcontroller.c:
14992 (gst_controlled_property_set_interpolation_mode):
14993 * libs/gst/controller/gstcontroller.h:
14994 * libs/gst/controller/gstinterpolation.c:
14995 * testsuite/controller/.cvsignore:
14996 * testsuite/controller/Makefile.am:
14997 * testsuite/controller/interpolator.c:
14998 merge controller testsuites
15000 remove mem-chunk from docs
15002 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15004 * gst/gstmemchunk.c:
15005 * gst/gstmemchunk.h:
15006 * gst/gsttrashstack.c:
15007 * gst/gsttrashstack.h:
15008 out. get out. you're fired. to the Attic !
15010 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15012 * gst/gstcaps.c: (gst_caps_intersect):
15013 fix signedness issues in a (hopefully) correct way
15014 * gst/gstelement.c: (gst_element_pads_activate):
15016 * gst/gstobject.c: (gst_object_set_parent):
15019 2005-10-17 Julien MOUTTE <julien@moutte.net>
15021 * gst/gstvalue.h: Fix prototypes.
15023 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15025 * docs/gst/gstreamer-sections.txt:
15026 * gst/gst.c: (gst_version_string):
15028 * gst/gstversion.h.in:
15029 * win32/common/libgstreamer.def:
15030 add gst_version_string ()
15032 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15036 * gst/gst.c: (init_post):
15037 * win32/common/config.h.in:
15039 * gst/gstcaps.c: (gst_caps_intersect):
15040 use gint64, the range could be bigger than a guint
15042 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15045 document potential problem in 2038
15047 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15049 * gst/gstcaps.c: (gst_caps_intersect):
15050 Fix guint j diving under 0
15052 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15055 * win32/common/config.h:
15056 * win32/common/config.h.in:
15057 check for process.h, declares getpid() on Windows
15059 include process.h if we have it
15060 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15061 * gst/gstmemchunk.h:
15062 fix signedness issues
15063 * win32/common/libgstreamer.def:
15066 2005-10-16 Julien MOUTTE <julien@moutte.net>
15068 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15069 fix. Because of unsigned ints, caps intersection was going nuts and
15070 trying to access structures with G_MAXUINT index. That fixes
15071 videotestsrc ! ffmpegcolorspace ! fakesink
15072 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15075 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15078 use the gettext macro
15079 * gst/elements/gstelements.c:
15081 * gst/indexers/gstindexers.c:
15082 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15083 * win32/common/config.h:
15085 * win32/common/config.h.in:
15086 add the template to generate config.h
15087 * win32/common/gstenumtypes.c:
15088 * win32/common/gstversion.h:
15091 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15093 * gst/gst.c: (gst_version):
15094 * gst/gstversion.h.in:
15097 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15100 Oops, add missing closing bracket.
15102 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15105 use common m4's for argument checking
15107 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15109 * docs/gst/gstreamer-sections.txt:
15111 Add GST_EVENT_TYPE_NAME() macro.
15113 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15116 * gst/gstpluginfeature.c:
15118 privatize more symbols
15120 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15123 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15124 everything that uses GStreamer API should have the includes
15126 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15128 * docs/gst/gstreamer-sections.txt:
15129 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15131 give each value a _get_type, removes the DATA exports
15133 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15137 remove _gst_registry_auto_load, not used anymore
15138 * gst/gstbin.c: (gst_bin_get_type):
15140 * gst/gstelement.c: (gst_element_get_type):
15141 * gst/gstelement.h:
15142 * gst/gstobject.c: (gst_object_get_type):
15144 * gst/gstpad.c: (gst_pad_get_type):
15146 make _get_type functions similar, fixes data export from library
15148 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15151 correctly make conditionals
15152 * gst/elements/Makefile.am:
15153 * gst/elements/gstelements.c:
15154 fix typo causing fdsrc not to build
15156 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15158 * testsuite/Makefile.am:
15159 * testsuite/bytestream/.cvsignore:
15160 * testsuite/bytestream/Makefile.am:
15161 * testsuite/bytestream/filepadsink.c:
15162 * testsuite/bytestream/gstbstest.c:
15163 * testsuite/bytestream/test1.c:
15164 * testsuite/bytestream/testfile1:
15165 * testsuite/caps/normalisation.c:
15166 * testsuite/caps/random.c: (main):
15167 * testsuite/cleanup/.cvsignore:
15168 * testsuite/cleanup/Makefile.am:
15169 * testsuite/cleanup/cleanup1.c:
15170 * testsuite/cleanup/cleanup2.c:
15171 * testsuite/cleanup/cleanup3.c:
15172 * testsuite/cleanup/cleanup4.c:
15173 * testsuite/cleanup/cleanup5.c:
15174 * testsuite/controller/interpolator.c:
15175 * testsuite/debug/printf_extension.c: (main):
15176 * testsuite/elements/tee.c:
15177 * testsuite/negotiation/.cvsignore:
15178 * testsuite/negotiation/Makefile.am:
15179 * testsuite/negotiation/pad_link.c:
15180 * testsuite/pad/Makefile.am:
15181 * testsuite/pad/chainnopull.c:
15182 * testsuite/pad/getnopush.c:
15183 * testsuite/pad/link.c:
15184 * testsuite/refcounting/sched.c: (create_pipeline):
15185 * testsuite/registry/Makefile.am:
15186 * testsuite/registry/gst-print-formats.c:
15187 * testsuite/schedulers/.cvsignore:
15188 * testsuite/schedulers/142183-2.c:
15189 * testsuite/schedulers/142183.c:
15190 * testsuite/schedulers/143777-2.c:
15191 * testsuite/schedulers/143777.c:
15192 * testsuite/schedulers/147713.c:
15193 * testsuite/schedulers/147819.c:
15194 * testsuite/schedulers/147894-2.c:
15195 * testsuite/schedulers/147894.c:
15196 * testsuite/schedulers/Makefile.am:
15197 * testsuite/schedulers/group_link.c:
15198 * testsuite/schedulers/queue_link.c:
15199 * testsuite/schedulers/relink.c:
15200 * testsuite/schedulers/unlink.c:
15201 * testsuite/schedulers/unref.c:
15202 * testsuite/schedulers/useless_iteration.c:
15203 * testsuite/states/bin.c:
15204 clean out/remove some stuff from the testsuite directories
15206 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15209 check for some headers
15210 * gst/elements/Makefile.am:
15211 * gst/elements/gstelements.c:
15212 don't compile fdsrc without sys/socket.h
15213 * gst/indexers/Makefile.am:
15214 * gst/indexers/gstindexers.c: (plugin_init):
15215 don't compile fileindex without mmap
15217 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15224 * check/Makefile.am:
15225 * docs/gst/Makefile.am:
15226 * examples/helloworld/Makefile.am:
15228 * gst/base/Makefile.am:
15229 * gst/check/Makefile.am:
15230 * gst/elements/Makefile.am:
15231 * gst/indexers/Makefile.am:
15232 * gst/parse/Makefile.am:
15233 * libs/gst/controller/Makefile.am:
15234 * libs/gst/dataprotocol/Makefile.am:
15235 * examples/helloworld/helloworld.c: (event_loop):
15236 compile fixes, though it's not being compiled currently
15238 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15240 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15241 Add some simple tests for the new taglist date API.
15243 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15245 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15246 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15247 Beautify 'last-message' output: print 'none' for buffer timestamps
15248 and durations if none is set; improve alignment with next messages.
15250 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15252 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15253 * gst/gstpluginfeature.h:
15254 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15255 * gst/gstregistry.h:
15256 * docs/gst/gstreamer-sections.txt:
15257 Add new API to check plugin feature version requirements.
15259 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15260 Some basic tests for the above.
15262 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15264 * gst/gststructure.c: (gst_structure_to_string):
15265 guard against NULL printf - happens when for example
15266 a message structure with GstClock gets serialized
15268 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15270 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15271 Fix presumable copy'n'pasto.
15273 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15275 * gst/elements/gstfakesrc.h:
15276 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15277 * gst/elements/gsttypefindelement.c:
15278 fix some signedness
15279 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15280 I wonder if this could actually write +2GB files before
15282 2005-10-13 Andy Wingo <wingo@pobox.com>
15284 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15285 Fix Timmeke Waymans bug.
15286 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15287 string of the proper length to gst_caps_from_string. There's a
15288 potential for, before this fix, that this could cause someone
15289 connecting over the network to cause a segfault if the payload is
15290 not NUL-terminated.
15292 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15294 * docs/design/draft-push-pull.txt:
15295 * docs/design/part-overview.txt:
15296 * docs/random/TODO-pre-0.9:
15297 * docs/random/old/ChangeLog.gstreamer:
15298 * gst/base/gstpushsrc.c:
15302 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15304 * gst/glib-compat.c: (gst_flags_get_first_value):
15305 * gst/glib-compat.h:
15306 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15307 (gst_value_compare_double), (gst_value_serialize_flags):
15308 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15311 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15314 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15316 * tools/gst-launch.c: (event_loop):
15317 print out clock nicely
15319 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15321 * docs/gst/gstreamer-sections.txt:
15322 * gst/gsttaglist.h:
15323 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15324 (gst_tag_list_get_date_index):
15325 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15326 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15328 2005-10-13 Julien MOUTTE <julien@moutte.net>
15330 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15331 (gst_collectpads_chain):
15332 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15335 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15337 * docs/gst/gstreamer-sections.txt:
15340 * tools/gst-inspect.c: (main):
15341 * tools/gst-launch.c: (main):
15342 * tools/gst-run.c: (main):
15343 * tools/gst-xmlinspect.c: (main):
15344 fix GOption context leaks
15347 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15351 * win32/common/config.h:
15353 * win32/vs6/grammar.dsp:
15354 * win32/vs6/libgstelements.dsp:
15355 * win32/vs6/libgstreamer.dsp:
15358 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15360 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15361 * gst/base/gstbasesrc.c: (gst_base_src_query):
15362 fix more guint64<->gdouble conversions
15364 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15367 add win32-update target
15368 * win32/common/gstconfig.h:
15369 * win32/common/gstenumtypes.c:
15370 * win32/common/gstenumtypes.h:
15371 * win32/common/gstversion.h:
15372 add files that visual studio can't generate
15374 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15377 add a win32-update target
15380 2005-10-12 Wim Taymans <wim@fluendo.com>
15382 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15383 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15384 * gst/gstelement.c: (gst_element_commit_state),
15385 (gst_element_set_state):
15386 Protect flags with proper lock.
15387 unref provided cached clock in dispose.
15389 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15392 * gst/gstminiobject.h:
15394 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15395 removed unused flags from miniobject
15398 2005-10-12 Wim Taymans <wim@fluendo.com>
15400 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15401 (gst_file_sink_event), (gst_file_sink_render):
15402 Flush before seeking.
15404 2005-10-12 Andy Wingo <wingo@pobox.com>
15406 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15407 always been the case.
15409 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15411 * check/gst/gstbin.c: (GST_START_TEST):
15412 * docs/gst/gstreamer-sections.txt:
15413 * gst/base/gstbasesink.c: (gst_base_sink_init):
15414 * gst/base/gstbasesrc.c: (gst_base_src_init),
15415 (gst_base_src_get_range), (gst_base_src_check_get_range),
15416 (gst_base_src_start), (gst_base_src_stop):
15417 * gst/base/gstbasesrc.h:
15418 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15419 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15420 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15424 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15426 * gst/gstelement.c: (gst_element_is_locked_state),
15427 (gst_element_set_locked_state), (gst_element_commit_state),
15428 (gst_element_set_state):
15429 * gst/gstelement.h:
15430 * gst/gstindex.c: (gst_index_init):
15432 * gst/gstminiobject.h:
15433 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15434 (gst_object_set_parent):
15436 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15437 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15439 * gst/gstpadtemplate.h:
15440 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15441 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15442 * gst/gstpipeline.h:
15443 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15444 (gst_file_index_commit):
15445 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15446 * testsuite/pad/link.c: (gst_test_src_init),
15447 (gst_test_filter_init), (gst_test_sink_init):
15448 * testsuite/states/locked.c: (main):
15449 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15450 moved bitshift from macro to enum definition
15452 2005-10-12 Wim Taymans <wim@fluendo.com>
15454 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15455 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15456 (gst_file_sink_render):
15457 Some more debugging info.
15459 2005-10-12 Wim Taymans <wim@fluendo.com>
15461 * docs/design/part-states.txt:
15462 * tools/gst-launch.c: (main):
15464 Revert non-intentional change.
15466 2005-10-12 Wim Taymans <wim@fluendo.com>
15468 * check/gst/gstbin.c: (GST_START_TEST):
15469 * check/gst/gstelement.c: (GST_START_TEST):
15470 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15471 * check/gst/gstghostpad.c: (GST_START_TEST):
15472 * check/gst/gstpipeline.c: (GST_START_TEST):
15473 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15474 * check/states/sinks.c: (GST_START_TEST):
15475 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15476 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15477 (gst_bin_remove_func), (gst_bin_get_state_func),
15478 (gst_bin_recalc_state), (gst_bin_change_state_func),
15480 * gst/gstelement.c: (gst_element_get_state_func),
15481 (gst_element_get_state), (gst_element_abort_state),
15482 (gst_element_commit_state), (gst_element_set_state),
15483 (gst_element_change_state), (gst_element_change_state_func):
15484 * gst/gstelement.h:
15485 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15486 (gst_pipeline_provide_clock_func):
15487 * gst/gstutils.c: (gst_element_link_pads_filtered):
15488 * tools/gst-launch.c: (main):
15489 * tools/gst-typefind.c: (main):
15490 Use GstClockTime in _get_state() instead of GTimeVal.
15491 Remove old code in gstutils.c
15493 2005-10-12 Andy Wingo <wingo@pobox.com>
15495 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15498 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15499 there is no task. Shouldn't affect any code, as nothing in our
15500 plugins checks this return value.
15501 (gst_pad_stop_task): Also take the stream lock if the pad has no
15502 task. Docs updated.
15504 2005-10-12 Wim Taymans <wim@fluendo.com>
15506 * gst/gstpad.c: (pre_activate), (post_activate),
15507 (gst_pad_activate_pull), (gst_pad_activate_push):
15508 Cleanup activation code. Reset old state if
15511 2005-10-12 Wim Taymans <wim@fluendo.com>
15513 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15514 (gst_base_sink_change_state):
15515 No need to prerol after receiving EOS.
15517 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15518 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15519 * gst/elements/gstidentity.c: (gst_identity_event):
15520 Print events more verbosely.
15522 2005-10-12 Wim Taymans <wim@fluendo.com>
15524 * check/Makefile.am:
15525 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15526 * check/states/sinks2.c:
15527 Moved sinks2 testcode in sinks check.
15529 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15530 (gst_bin_remove_func), (gst_bin_recalc_state),
15531 (gst_bin_change_state_func), (bin_bus_handler):
15532 Fix potential race condition when _get_state() iterated over an
15533 ASYNC element right before it posted a state completion.
15536 Do proper cast here.
15538 * gst/gstevent.c: (gst_event_new_newsegment),
15539 (gst_event_parse_newsegment):
15540 A playback rate of 0.0 is not allowed.
15542 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15544 * win32/common/config.h:
15545 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15546 (_trewinddir), (_ttelldir), (_tseekdir):
15547 * win32/common/dirent.h:
15548 * win32/common/gtchar.h:
15549 * win32/common/libgstbase.def:
15550 * win32/common/libgstreamer.def:
15551 * win32/vs6/grammar.dsp:
15552 * win32/vs6/gst_inspect.dsp:
15553 * win32/vs6/gst_launch.dsp:
15554 * win32/vs6/gstreamer.dsw:
15555 * win32/vs6/libgstbase.dsp:
15556 * win32/vs6/libgstelements.dsp:
15557 * win32/vs6/libgstreamer.dsp:
15558 Visual Studio 6 project files, and a new common directory.
15561 2005-10-11 Wim Taymans <wim@fluendo.com>
15563 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15564 (gst_base_sink_do_sync), (gst_base_sink_query),
15565 (gst_base_sink_change_state):
15566 * gst/base/gstbasesink.h:
15567 Correctly parse newsegment info.
15569 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15571 * gst/gst.c: (init_post):
15572 split plugin paths correctly
15574 2005-10-11 Wim Taymans <wim@fluendo.com>
15576 * check/gst/gstevent.c: (GST_START_TEST):
15577 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15578 (gst_base_sink_change_state):
15579 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15580 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15581 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15582 * gst/gstevent.c: (gst_event_new_newsegment),
15583 (gst_event_parse_newsegment):
15585 Added extra flag to newsegment for future API freeze.
15586 Updated check and base elements.
15588 2005-10-11 Julien MOUTTE <julien@moutte.net>
15590 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15591 (gst_collectpads_add_pad), (gst_collectpads_pop),
15592 (gst_collectpads_event), (gst_collectpads_chain):
15593 * gst/base/gstcollectpads.h: Handle EOS correctly.
15595 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15597 * tools/gst-launch.c: (main):
15598 more null protecting
15600 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15602 * gst/gst-i18n-lib.h:
15603 check for ENABLE_NLS, not GETTEXT_PACKAGE
15604 * gst/gstregistry.c: (gst_registry_add_plugin),
15605 (gst_registry_scan_path_level),
15606 (_gst_registry_remove_cache_plugins):
15607 protect possibly NULL strings
15608 * gst/parse/types.h:
15609 config.h already included before
15610 * tools/gst-inspect.c: (main):
15611 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15612 check for ENABLE_NLS, not GETTEXT_PACKAGE
15613 * tools/gst-launch.c: (main):
15614 check for ENABLE_NLS, not GETTEXT_PACKAGE
15616 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15619 if we don't have glib, fail before testing 2.8
15620 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15621 fix a leak, should fix plugins-base testsuite
15623 2005-10-11 Andy Wingo <wingo@pobox.com>
15625 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15626 take the mode we're going to as an arg. Go head and set the mode
15627 and flushing flags now, so that if the activate function starts a
15628 thread all the flags will be in the right state.
15629 (post_activate): Renamed also. Just handle making sure streaming
15630 finishes for the deactivation case, and setting the deactivated
15632 (gst_pad_set_active): Complain loudly if deactivation fails.
15633 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15634 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15635 remove the terrible hack.
15637 2005-10-11 Wim Taymans <wim@fluendo.com>
15639 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15640 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15641 (gst_bin_recalc_state), (gst_bin_change_state_func),
15642 (gst_bin_dispose), (bin_bus_handler):
15644 Prepare to make current EOS message queue more generic.
15647 * gst/gstevent.c: (gst_event_new_newsegment),
15648 (gst_event_parse_newsegment):
15650 Rename base to stream_time.
15652 * gst/gstmessage.h:
15655 2005-10-11 Wim Taymans <wim@fluendo.com>
15657 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15658 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15659 (gst_bin_change_state_func), (bin_bus_handler):
15661 Work on proper clock selection.
15663 2005-10-11 Edward Hervey <edward@fluendo.com>
15665 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15666 * libs/gst/controller/gstcontroller.h:
15667 Added GList* version of _remove_properties() in order to be able to wrap
15670 2005-10-11 Wim Taymans <wim@fluendo.com>
15672 * docs/design/part-states.txt:
15675 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15676 (gst_bin_change_state_func), (bin_bus_handler):
15677 Doc updates. Don't distribute the same clock over and over again.
15683 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15684 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15685 (gst_pad_send_event):
15687 Make probe emission threadsafe again.
15688 Register quarks and move _get_name() from utils.
15691 * gst/gstpipeline.c: (gst_pipeline_class_init),
15692 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15693 Only redistribute the clock of it changed.
15695 * gst/gstsystemclock.h:
15700 Moved the _flow_get_name() to GstPad.
15702 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15704 * check/gst-libs/gdp.c: (GST_START_TEST):
15705 * check/gst/gstcaps.c: (GST_START_TEST):
15706 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15707 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15708 (gst_dp_packet_from_caps):
15709 fix more valgrind warnings before turning up the heat
15711 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15713 * gst/parse/grammar.y:
15714 some cleanup before the hacking
15716 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15718 * gst/base/gstbasesrc.c: (gst_base_src_query):
15720 * gst/gstutils.c: (gst_guint64_to_gdouble),
15721 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15723 externalize, basesrc uses it
15724 obviously the implementation needs testing
15726 2005-10-10 Wim Taymans <wim@fluendo.com>
15728 * tests/sched/Makefile.am:
15729 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15730 (make_pipeline3), (make_pipeline4), (print_elem), (main):
15732 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15734 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15735 apparently converting from guint64 to double is not implemented
15738 2005-10-10 Wim Taymans <wim@fluendo.com>
15740 * check/Makefile.am:
15741 * check/generic/states.c: (GST_START_TEST):
15742 * check/gst/gstbin.c: (GST_START_TEST):
15743 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15744 * check/states/sinks.c: (GST_START_TEST):
15745 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15747 Check fixes, use API as stated in design docs, remove hacks.
15749 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15750 (gst_base_sink_change_state):
15751 Catch stopping our task while we're shutting down.
15753 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15754 (gst_bin_remove_func), (gst_bin_get_state_func),
15755 (gst_bin_recalc_state), (gst_bin_change_state_func),
15758 * gst/gstelement.c: (gst_element_init),
15759 (gst_element_get_state_func), (gst_element_abort_state),
15760 (gst_element_commit_state), (gst_element_lost_state),
15761 (gst_element_set_state), (gst_element_change_state),
15762 (gst_element_change_state_func):
15763 * gst/gstelement.h:
15764 New state change algorithm (see #318116)
15766 * gst/gstpipeline.c: (gst_pipeline_class_init),
15767 (gst_pipeline_init), (gst_pipeline_set_property),
15768 (gst_pipeline_get_property), (do_pipeline_seek),
15769 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15770 * gst/gstpipeline.h:
15771 Remove crude state change hacks.
15774 Remove crude hacks.
15776 * tools/gst-launch.c: (main):
15777 Fixes for state change. Needs some more work to fully use the
15780 2005-10-10 Andy Wingo <wingo@pobox.com>
15782 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
15784 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
15785 this flag, but it's not even in GLib 2.6. Odd. Hack around the
15788 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15790 * gst/gstiterator.c: (gst_iterator_new):
15791 Fix my previous commit: GTypes passed to gst_iterator_new()
15792 can be fundamental types.
15794 2005-10-10 Wim Taymans <wim@fluendo.com>
15796 * gst/gstelement.c: (gst_element_iterate_pad_list),
15797 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
15798 (gst_element_iterate_sink_pads):
15799 Use src/sink pads lists for the respective iterators instead
15802 2005-10-10 Andy Wingo <wingo@pobox.com>
15804 Merged in popt removal + GOption addition patch from Ronald, bug
15807 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
15808 GstElement macros around, remove popt-related symbols, add goption
15811 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
15813 * docs/gst/Makefile.am:
15814 * docs/libs/Makefile.am: No POPT_CFLAGS.
15816 * examples/manual/Makefile.am:
15817 * docs/manual/basics-init.xml: Doc updates with an example.
15819 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
15820 (gst_init), (parse_one_option), (parse_goption_arg):
15821 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
15822 bit of hand merging and debugging to get the GOption stuff working
15825 * tests/Makefile.am:
15826 * tools/Makefile.am:
15827 * tools/gst-inspect.c: (main):
15828 * tools/gst-launch.c: (main):
15829 * tools/gst-run.c: (main):
15830 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
15832 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15834 * gst/gstiterator.c: (gst_iterator_new):
15835 Add assertions to make sure passed GType is likely to really
15836 be a GType (as the compiler won't catch it if the size and
15837 GType arguments get mixed up, see #318447).
15839 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
15841 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15843 * gst/gstbin.c: (gst_bin_iterate_sorted):
15844 Pass GType and size arguments to gst_iterator_new() in the right
15845 order (maybe we should make _new() take the GType as first argument
15846 just like _new_list()?) (#318447).
15849 2005-10-10 Wim Taymans <wim@fluendo.com>
15851 * gst/gstelement.c: (gst_element_finalize):
15852 And free the GStaticRecMutex too
15854 2005-10-10 Andy Wingo <wingo@pobox.com>
15856 * gst/gstelement.c (gst_element_init, gst_element_finalize):
15857 Allocate and free the mutex properly.
15859 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
15861 (GstElement): The state_lock is now recursive. Rebuild your
15862 plugins, suckers. Old macros adapted.
15864 * docs/gst/gstreamer-sections.txt: Doc updates.
15867 * gst/gstutils.c (g_static_rec_cond_timed_wait)
15868 (g_static_rec_cond_wait): Ported from state changes patch, while
15869 we wait on bug #317802 to be solved in a well-distributed GLib.
15871 * gst/gstelement.c (gst_element_change_state_func): Renamed from
15872 gst_element_change_state, variable name changes.
15873 (gst_element_change_state): Split out of gst_element_set_state in
15874 preparation for the state change merge. Doesn't pay attention to
15875 the 'transition' argument.
15876 (gst_element_set_state): Updates, hopefully purely cosmetic.
15877 (gst_element_sync_state_with_parent): MT-safety. Ported from the
15878 state change patch.
15879 (gst_element_get_state_func): Renamed from get_state, cosmetic
15882 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15884 * gst/elements/gstelements.c:
15885 * win32/GStreamer.vcproj:
15887 * win32/dirent.c: (_tseekdir):
15888 * win32/gst-inspect.vcproj:
15889 * win32/gst-launch.vcproj:
15890 * win32/gstconfig.h:
15891 * win32/gstelements.vcproj:
15892 * win32/gstenumtypes.c: (gst_object_flags_get_type):
15893 * win32/gstreamer.def:
15894 * win32/msvc71.sln:
15895 updates for the win32 build (patch from Sebastien Moutte)
15897 2005-10-10 Andy Wingo <wingo@pobox.com>
15899 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
15900 gst_bin_get_state, cleaned up (but no logic changes).
15901 (bin_element_is_sink): Comment updates.
15902 (sink_iterator_filter): Remove needless cast.
15903 (gst_bin_iterate_sinks): Doc update.
15904 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
15905 cleaned up (but no logic changes).
15907 * check/states/sinks.c (test_src_sink): Cleanups from the state
15909 (test_livesrc_sink): Sync on the state.
15911 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
15912 the state change patch.
15914 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
15917 * check/gst/gstbin.c: Merge in some style fixes and additional
15918 checks from Wim's state change patch.
15920 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15922 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15923 (gst_type_find_helper):
15924 Check whether we have the requested data already in our list of
15925 cached buffers before pulling a new buffer; also make the buffer
15926 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
15928 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15933 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15934 don't use long long, it's not portable. Replacing with
15935 gint64 seems to work; let's hope no skeletons fall out of the closet.
15937 2005-10-10 Andy Wingo <wingo@pobox.com>
15939 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
15941 2005-10-09 Stefan Kost <ensonic@users.sf.net>
15943 * docs/gst/gstreamer-sections.txt:
15948 * gst/gstmessage.c: (gst_message_parse_state_changed):
15951 more docs, fix compilation
15953 2005-10-09 Philippe Khalaf <burger@speedy.org>
15954 * gst/gstmessage.c:
15955 Fixed a few forgotten variables on previous commit
15957 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
15959 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15960 Fix evil typefind crasher: getrange() might return a short
15961 buffer at the end of a file, but gst_type_find_peek() must
15962 either return the full data as requested or NULL, but
15963 never a short buffer.
15965 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
15967 * gst/gstmessage.c: (gst_message_new_state_changed),
15968 (gst_message_parse_state_changed):
15969 * gst/gstmessage.h:
15970 don't use "new", it's a C++ keyword
15972 2005-10-08 Wim Taymans <wim@fluendo.com>
15974 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
15975 * gst/gstelement.c: (gst_element_post_message):
15976 * gst/gstpipeline.c: (gst_pipeline_change_state):
15977 Small docs and debug updates.
15979 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15981 * docs/gst/gstreamer-sections.txt:
15982 * gst/gstelementfactory.c:
15984 * gst/gsttaglist.c:
15987 2005-10-08 Wim Taymans <wim@fluendo.com>
15989 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
15990 (gst_bin_dispose), (bin_bus_handler):
15991 Fix typos, add comments.
15992 Clear EOS list when going to PAUSED from any direction and do it
15993 in a threadsafe way.
15994 Get base time in a threadsafe way too.
15995 Fix confusing debug in the change_state function.
15996 Various other small cleanups.
15998 * gst/gstelement.c: (gst_element_post_message):
15999 Fix very verbose bus posting code.
16001 * gst/gstpipeline.c: (gst_pipeline_class_init),
16002 (gst_pipeline_set_property), (gst_pipeline_get_property),
16003 (gst_pipeline_change_state):
16004 Small ARG_ -> PROP_ cleanup
16006 2005-10-08 Wim Taymans <wim@fluendo.com>
16008 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16009 Do a less CPU demanding EOS check because we can.
16011 2005-10-08 Wim Taymans <wim@fluendo.com>
16013 * libs/gst/dataprotocol/dataprotocol.c:
16014 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16015 (gst_dp_packet_from_event):
16016 * libs/gst/dataprotocol/dataprotocol.h:
16017 * libs/gst/dataprotocol/dp-private.h:
16018 It's about time we bump the version number.
16019 Since event types don't fit in the guint8 anymore describing
16020 the payload type, make payload type 16 bits wide.
16022 2005-10-08 Wim Taymans <wim@fluendo.com>
16024 * docs/design/part-TODO.txt:
16025 * docs/design/part-clocks.txt:
16026 * docs/design/part-events.txt:
16027 * docs/design/part-gstbin.txt:
16028 * docs/design/part-gstelement.txt:
16029 * docs/design/part-gstpipeline.txt:
16030 * docs/design/part-live-source.txt:
16031 * docs/design/part-messages.txt:
16032 * docs/design/part-overview.txt:
16033 * docs/design/part-states.txt:
16036 2005-10-08 Wim Taymans <wim@fluendo.com>
16040 Fix event quark registration.
16041 Add some space between events so we can insert them in the
16044 2005-10-08 Wim Taymans <wim@fluendo.com>
16046 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16047 (gst_base_sink_handle_buffer):
16048 Better log message.
16051 * gst/gstelement.h:
16054 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16055 (gst_queue_set_property), (gst_queue_get_property):
16057 Remove old unused properties.
16059 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16060 * docs/gst/gstreamer-sections.txt:
16061 * gst/gstmessage.c:
16062 * gst/gstmessage.h:
16063 * gst/gstminiobject.c:
16064 * gst/gstminiobject.h:
16068 lots of new docs and doc fixes
16070 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16072 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16074 * gst/gstregistry.c: (gst_registry_lookup_locked),
16075 (gst_registry_scan_path_level):
16076 * gst/gstregistryxml.c: (load_plugin):
16077 Only ever load one plugin for a given plugin basename.
16078 This ensures correct overriding of GST_PLUGIN_PATH over
16079 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16080 system installed plugins.
16082 2005-10-08 Wim Taymans <wim@fluendo.com>
16084 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16085 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16086 Prepare for doing QOS.
16088 2005-10-08 Wim Taymans <wim@fluendo.com>
16090 * check/gst/gstbin.c: (GST_START_TEST):
16091 * check/pipelines/cleanup.c: (GST_START_TEST):
16092 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16093 Allow new clock message too.
16095 2005-10-08 Wim Taymans <wim@fluendo.com>
16097 * gst/gstmessage.c: (gst_message_new_error),
16098 (gst_message_new_warning), (gst_message_new_tag),
16099 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16100 (gst_message_new_clock_lost), (gst_message_new_new_clock),
16101 (gst_message_new_segment_start), (gst_message_new_segment_done),
16102 (gst_message_parse_state_changed),
16103 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16104 (gst_message_parse_new_clock):
16105 * gst/gstmessage.h:
16106 Also carry the clock in question.
16108 2005-10-08 Wim Taymans <wim@fluendo.com>
16110 * gst/gstmessage.c: (gst_message_new_custom),
16111 (gst_message_new_eos), (gst_message_new_error),
16112 (gst_message_new_warning), (gst_message_new_tag),
16113 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16114 (gst_message_new_new_clock), (gst_message_new_segment_start),
16115 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16116 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16117 * gst/gstmessage.h:
16119 Added clock related messages.
16121 * gst/gstpipeline.c: (gst_pipeline_change_state):
16122 Post message when the clock changed.
16124 * tools/gst-launch.c: (event_loop):
16127 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
16129 * tools/gst-inspect.c: (print_element_properties_info):
16130 Can't pass NULL strings to g_print() on windows.
16132 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16134 * docs/Makefile.am:
16135 * docs/gst/Makefile.am:
16136 * docs/gst/gstreamer-docs.sgml:
16137 * docs/gst/running.xml:
16138 * docs/version.entities.in:
16139 add a chapter on running GStreamer.
16140 document GST_DEBUG and GST_PLUGIN* env vars
16142 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16147 remove PLUGINS_BUILDDIR stuff
16148 * gst/gst.c: (init_post):
16149 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16151 remove, it was condescending and not needed
16153 2005-10-08 Wim Taymans <wim@fluendo.com>
16155 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16156 (gst_base_sink_handle_object), (gst_base_sink_event),
16157 (gst_base_sink_wait), (gst_base_sink_handle_event),
16158 (gst_base_sink_change_state):
16159 * gst/base/gstbasesink.h:
16160 Repost EOS message while going to PLAYING if still EOS.
16161 Make sure that when receiving a FLUSH_START we don't attempt
16162 to sync on the clock anymore.
16164 2005-10-08 Wim Taymans <wim@fluendo.com>
16166 * tools/gst-launch.c: (event_loop):
16167 Better message printout.
16169 2005-10-08 Wim Taymans <wim@fluendo.com>
16171 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16172 (gst_bin_child_proxy_get_children_count):
16173 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16174 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16175 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16176 (gst_child_proxy_set_valist):
16177 * gst/parse/grammar.y:
16178 Make ChildProxy threadsafe and fix mem leaks.
16180 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16182 * gst/gst.c: (init_post):
16183 debug the GST_PLUGIN_ env vars
16185 2005-10-08 Wim Taymans <wim@fluendo.com>
16187 * check/gst/gstbin.c: (GST_START_TEST):
16188 * check/gst/gstmessage.c: (GST_START_TEST):
16189 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16190 * gst/gstelement.c: (gst_element_commit_state),
16191 (gst_element_lost_state):
16192 * gst/gstmessage.c: (gst_message_new_state_changed),
16193 (gst_message_parse_state_changed):
16194 * gst/gstmessage.h:
16195 * tools/gst-launch.c: (event_loop):
16196 Added extra field to STATE_CHANGE message with the pending
16197 state, which will be different from the new state soon.
16199 2005-10-08 Wim Taymans <wim@fluendo.com>
16201 * gst/gstbus.c: (gst_bus_pop):
16203 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16204 Small cleanups and doc updates.
16206 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16208 * gst/gst.c: (init_pre):
16209 * gst/gstbin.c: (gst_bin_add_func):
16210 log distributing clocks and base time
16211 * gst/gstregistry.c: (gst_registry_add_plugin),
16212 (gst_registry_scan_path_level), (gst_registry_scan_path):
16213 clean up the debugging output a little
16214 * gst/gstutils.c: (gst_element_state_get_name):
16215 warn about a memleak (I've actually seen this be used, though
16216 it was probably a bug)
16218 2005-10-07 Wim Taymans <wim@fluendo.com>
16220 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16221 (gst_base_src_init), (gst_base_src_default_newsegment),
16222 (gst_base_src_newsegment), (gst_base_src_do_seek),
16223 (gst_base_src_loop), (gst_base_src_start):
16224 * gst/base/gstbasesrc.h:
16225 Make the newsegment event customizable by subclasses.
16227 2005-10-07 Wim Taymans <wim@fluendo.com>
16229 * gst/gstevent.c: (gst_event_new_buffersize),
16230 (gst_event_parse_buffersize):
16232 New event for future idea.
16234 2005-10-07 Andy Wingo <wingo@pobox.com>
16236 * gst/gstelement.c (gst_element_post_message): Doc update.
16238 * docs/gst/gstreamer-sections.txt: Update.
16240 * gst/gstmessage.c (gst_message_new_application): Made into a
16241 function like honest API calls.
16242 (gst_message_new_element): New message type.
16244 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16246 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16247 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16250 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16251 NO_PREROLL from gst_element_change_state to fall through.
16253 2005-10-07 Wim Taymans <wim@fluendo.com>
16255 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16256 (gst_ghost_pad_do_activate_push):
16257 Activating a ghostpad with no internal pad in push mode
16260 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16263 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16264 Fixes compilation on Windows.
16266 2005-10-07 Michael Smith <msmith@fluendo.com>
16268 * tools/gst-inspect.c:
16269 Print out feature and plugin count at the end when printing out
16272 2005-10-04 Michael Smith <msmith@fluendo.com>
16274 * gst/gsterror.c: (_gst_stream_errors_init):
16275 Add another error string used in a few existing plugins.
16278 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16279 * tools/gst-inspect.c: (print_element_info):
16280 When a feature disappears from a plugin (and the feature exists in
16281 the cached registry file), things went horribly wrong. This isn't a
16282 complete fix, we should actually be removing the 'missing' features
16283 from the features list when we load the actual plugin. That's not
16286 2005-10-04 Johan Dahlin <johan@gnome.org>
16288 * check/gst/gstiterator.c: (GST_START_TEST):
16289 * gst/gstbin.c: (gst_bin_iterate_elements),
16290 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16291 * gst/gstelement.c: (gst_element_iterate_pads):
16292 * gst/gstformat.c: (gst_format_iterate_definitions):
16293 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16294 (gst_iterator_new_list), (gst_iterator_filter):
16295 * gst/gstiterator.h:
16296 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16297 Add a GType to GstIterator, update callsites and tests.
16299 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16301 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16302 give events a chance to be handled by event probes when the pad
16305 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16307 * gst/gstevent.c: (gst_event_type_get_name),
16308 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16310 add string representations for event types
16312 2005-10-06 Wim Taymans <wim@fluendo.com>
16314 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16315 Don't use NULL pointers.
16317 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16319 * gst/gst_private.h:
16321 * gst/gstelement.c:
16323 * gst/gstpluginfeature.c:
16324 widen the debug category in output to fit the biggest one we have
16325 add a bus category and use it
16326 play with the colors
16327 fix up some categories
16329 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16331 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16332 add push activation of sink ghost pads.
16333 Andye, please verify
16335 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16337 * gst/gstutils.c: (gst_element_link_pads):
16338 fix a bug in the case where neither element has a pad
16339 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16340 add a test for that case
16342 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16344 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16345 emit have-data before checking for peers. This allows
16346 for probe handlers to connect elements. This helps autopluggers.
16347 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16349 add six checks, linked/unlinked with no/true/false probe
16351 2005-10-04 Wim Taymans <wim@fluendo.com>
16353 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16354 (gst_fake_sink_event), (gst_fake_sink_preroll),
16355 (gst_fake_sink_render), (gst_fake_sink_change_state):
16356 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16357 (gst_fake_src_get_property), (gst_fake_src_create),
16358 (gst_fake_src_stop):
16359 * gst/elements/gstidentity.c: (gst_identity_stop):
16360 Protect last_message with lock.
16362 2005-10-04 Edward Hervey <edward@fluendo.com>
16365 Added precision in the comments for GST_FORMAT_DEFAULT
16367 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16369 * tools/gst-launch.c: (main):
16370 Don't try to run erroneous pipelines.
16372 2005-10-04 Julien MOUTTE <julien@moutte.net>
16374 * gst/gstbus.c: We don't need this header.
16376 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16379 back to development
16381 === release 0.9.3 ===
16383 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16387 Releasing 0.9.3, "Unregistered"
16389 2005-10-03 Andy Wingo <wingo@pobox.com>
16391 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16392 whereby calling a pad's activatepush() function can start a thread
16393 that starts to push or pull before the pad gets the FLUSHING flag
16394 unset. Hack around it by holding the stream lock until the flag is
16395 set. Need to replace this with a proper solution. Together with
16396 the ghost pad fixes, this fixes mp3 playing/tagreading.
16398 * docs/design/part-gstghostpad.txt: Add a note about activation of
16399 proxy pads outside of ghost pads.
16401 * gst/gstghostpad.c: Implement the ghost pad activation design.
16403 2005-10-02 Andy Wingo <wingo@pobox.com>
16405 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16406 It is volatile, after all.
16408 * docs/design/part-gstghostpad.txt: Flesh out activation with
16411 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16414 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16417 Fix (unused) AM_CONDITIONAL tests.
16419 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16421 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16423 * gst/gstutils.c: (gst_pad_query_convert):
16424 Add assertion that makes sure src_val is >=0, just like
16425 gst_query_new_convert() has. (#315895)
16427 2005-09-30 Edward Hervey <edward@fluendo.com>
16429 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16430 Let's not iterate pads we're not interested in, it avoids getting
16431 sky-high refcounts on sinkpad.
16433 2005-09-30 Wim Taymans <wim@fluendo.com>
16435 * gst/gstelement.c: (gst_element_set_state),
16436 (gst_element_change_state):
16437 Small tweak, element in ASYNC remains ASYNC.
16439 2005-09-30 Wim Taymans <wim@fluendo.com>
16441 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16442 Only error is an error.
16444 * gst/gstbin.c: (gst_bin_change_state):
16447 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16448 Also call pad_block in pad alloc.
16450 * gst/gstutils.c: (gst_flow_get_name):
16453 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16455 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16456 (gst_base_src_get_range):
16457 Fix documentation typos. Add some more debug info.
16459 2005-09-29 David Schleef <ds@schleef.org>
16461 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16462 more end-user friendly.
16463 * tools/gst-inspect.c: (main): Check if command-line argument is
16464 a file and attempt to load that file as a plugin.
16466 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16468 * check/gst/gstbin.c:
16469 * check/states/sinks.c:
16470 fix tests for the new warning
16471 * check/gst/gstpipeline.c:
16472 add a test for pipeline and bus interaction
16473 * gst/gstelement.c:
16474 elements should be NULL if they get disposed; add a warning if not
16476 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16479 for 2.6 refcounting, make debug log more correct by printing
16480 the actual refcounts at the time of swap (Wim)
16482 2005-09-29 Andy Wingo <wingo@pobox.com>
16484 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16485 removes signal watches previously added via
16486 gst_bus_add_signal_watch.
16487 (gst_bus_add_signal_watch): Don't return the source id, just store
16488 it on the bus if there wasn't an id already.
16490 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16491 add_signal_watch and remove_signal_watch.
16493 2005-09-29 Edward Hervey <edward@fluendo.com>
16495 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16496 Better if we actually iterate the list :)
16498 2005-09-29 Wim Taymans <wim@fluendo.com>
16500 * check/gst/gstbin.c: (GST_START_TEST):
16501 Change for new bus API.
16503 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16504 (send_messages), (GST_START_TEST), (gstbus_suite):
16505 Change for new bus signal API.
16507 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16508 (gst_bus_source_prepare), (gst_bus_source_check),
16509 (gst_bus_create_watch), (gst_bus_add_watch_full),
16510 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16511 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16513 Remove support for multiple GSources operating on different
16514 message types as it is too complex and unneeded when using
16516 Added support for receiving signals from the bus.
16518 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16520 * docs/libs/tmpl/gstdataprotocol.sgml:
16521 * docs/manual/advanced-dataaccess.xml:
16522 * gst/elements/gstcapsfilter.c:
16524 rename filter-caps to caps property
16526 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16528 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16529 More robust fraction string parsing.
16531 * docs/pwg/appendix-porting.xml:
16532 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16534 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16536 * gst/gstcaps.c: (gst_caps_do_simplify):
16537 Thou shalt not free a structure and then continue using it
16538 in the next loop iteration.
16540 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16542 Add test case for caps simplification.
16544 2005-09-29 Wim Taymans <wim@fluendo.com>
16546 * check/gst/gstbin.c: (GST_START_TEST):
16549 2005-09-29 Wim Taymans <wim@fluendo.com>
16551 * check/gst/gstbin.c: (GST_START_TEST):
16554 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16555 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16556 (find_element), (gst_bin_sort_iterator_next),
16557 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16558 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16559 (gst_bin_change_state), (gst_bin_dispose):
16560 A bin does not have a bus, it gets the bus from the parent.
16562 * gst/gstelement.c: (gst_element_requires_clock),
16563 (gst_element_provides_clock), (gst_element_is_indexable),
16564 (gst_element_is_locked_state), (gst_element_change_state),
16565 (gst_element_set_bus_func):
16568 * gst/gstpipeline.c: (gst_pipeline_class_init),
16569 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16570 The pipeline provides a bus.
16572 2005-09-28 Johan Dahlin <johan@gnome.org>
16574 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16575 gst_structure_get_enum instead of gst_structure_get_int
16577 * gst/gststructure.c (gst_structure_get_enum): Impl.
16579 * gst/gststructure.h (gst_structure_get_enum): Add
16581 * docs/gst/gstreamer-sections.txt: Ditto
16583 * gst/gstmessage.c (gst_message_new_state_changed): Use
16584 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16585 which does introspection.
16586 Reviewed by Christian Schaller
16588 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16590 * gst/gstinfo.c: (gst_debug_log_default):
16591 don't do dummy g_strdup()s
16592 * libs/gst/controller/gstcontroller.c:
16593 (on_object_controlled_property_changed),
16594 (gst_controlled_property_new), (gst_controller_new_valist),
16595 (gst_controller_new_list),
16596 (gst_controller_remove_properties_valist), (gst_controller_set),
16597 (gst_controller_get), (gst_controller_sync_values),
16598 (gst_controller_get_value_array), (_gst_controller_class_init),
16599 (gst_controller_get_type):
16600 * libs/gst/controller/gstcontroller.h:
16601 * libs/gst/controller/gstinterpolation.c:
16602 (gst_controlled_property_find_timed_value_node):
16603 convert // to /**/ comments
16605 2005-09-28 Wim Taymans <wim@fluendo.com>
16607 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16608 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16609 (gst_bus_sync_signal_handler):
16611 Added async-message and sync-message signals to the bus.
16612 Added helper BusFunc to emit signals for all posted messages.
16614 * gst/gstmessage.c: (gst_message_type_get_name),
16615 (gst_message_type_to_quark), (gst_message_get_type):
16616 * gst/gstmessage.h:
16617 Register quarks for message names.
16619 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16621 * docs/libs/gstreamer-libs-sections.txt:
16622 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16623 (gst_controller_new_list):
16624 * libs/gst/controller/gstcontroller.h:
16625 added another constructor for language bindings
16627 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16629 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16633 * gst/gstinfo.c: (_gst_debug_init):
16634 slightly more readable color for refcount debugging
16636 2005-09-28 Wim Taymans <wim@fluendo.com>
16638 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16639 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16640 (find_element), (gst_bin_sort_iterator_next),
16641 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16642 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16643 (gst_bin_change_state), (gst_bin_dispose):
16644 Small doc fixes. get_clock -> provide_clock.
16646 * gst/gstelement.c: (gst_element_class_init),
16647 (gst_element_provides_clock), (gst_element_provide_clock),
16648 (gst_element_get_clock), (gst_element_commit_state),
16649 (gst_element_lost_state):
16650 * gst/gstelement.h:
16651 Make get/set_clock() symetric. Add provide_clock vmethod since
16652 that is actually what this function does.
16654 * gst/gstpipeline.c: (gst_pipeline_class_init),
16655 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16656 (gst_pipeline_get_clock):
16657 get_clock -> provide_clock.
16659 2005-09-28 Andy Wingo <wingo@pobox.com>
16661 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16662 lieu of real docs...
16664 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16666 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16668 * gst/elements/gstcapsfilter.c:
16669 * gst/elements/gstfakesink.c:
16670 * gst/elements/gstfakesrc.c:
16671 * gst/elements/gstfdsink.c:
16672 * gst/elements/gstfdsrc.c:
16673 * gst/elements/gstfilesink.c:
16674 * gst/elements/gstfilesrc.c:
16675 * gst/elements/gstidentity.c:
16676 * gst/elements/gsttee.c:
16677 * gst/elements/gsttypefindelement.c:
16678 Make element details static.
16680 2005-09-28 Wim Taymans <wim@fluendo.com>
16682 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16683 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16684 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16685 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16686 (gst_bin_change_state), (gst_bin_dispose):
16687 Some documentation updates.
16688 Clean up dispose handlers.
16690 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16691 * gst/gstpad.c: (gst_pad_dispose):
16692 Clean up dispose handler.
16694 * gst/gstpipeline.c: (gst_pipeline_change_state):
16695 Removed spurious UNLOCK.
16697 2005-09-27 Stefan Kost <ensonic@users.sf.net>
16699 * docs/gst/gstreamer-sections.txt:
16700 * gst/base/gstbasesrc.h:
16701 * gst/gstelement.h:
16705 * gst/gstpipeline.c:
16706 * gst/gstpipeline.h:
16709 added two new functions to the docs
16710 documents all undocumented GstXXXFlags
16711 completed some incomplete docs
16713 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
16715 * gst/gstbin.c: (gst_bin_dispose):
16716 * gst/gstelement.c: (gst_element_dispose):
16717 remove now useless and leaky resurrection code in dispose
16718 * gst/base/gstbasesrc.c: (gst_base_src_init):
16719 * gst/gstelementfactory.c: (gst_element_factory_create):
16720 * gst/gstobject.c: (gst_object_set_parent):
16723 2005-09-27 Wim Taymans <wim@fluendo.com>
16725 * docs/design/part-TODO.txt:
16728 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16729 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16730 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16731 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16732 (gst_bin_change_state):
16733 * gst/gstelement.h:
16734 Remove element variable, we keep element info in the iterator now.
16736 2005-09-27 Andy Wingo <wingo@pobox.com>
16738 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16741 2005-09-27 Wim Taymans <wim@fluendo.com>
16743 * check/gst/gstbin.c: (GST_START_TEST):
16744 Enable check that works now.
16746 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16747 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16748 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16749 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16750 (gst_bin_change_state):
16752 Redid the state change algorithm using a topological sort algo.
16753 Handles all cases correctly.
16754 Exposed iterator for state change order.
16756 * gst/gstelement.h:
16757 Temp storage for state changes. Need to get rid of this soon.
16759 2005-09-27 Wim Taymans <wim@fluendo.com>
16761 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
16762 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
16763 (link_fold_func), (gst_pad_proxy_setcaps):
16764 Leak fixes, the fold functions need to unref the passed object and
16765 _get_parent_*() returns ref to parent.
16767 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16769 * check/gst/gstbuffer.c: (test_make_writable):
16770 Plug leak in test case and fix 'make check-valgrind'
16772 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16774 * gst/gstbuffer.c: (gst_subbuffer_init):
16775 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
16776 works correctly in all circumstances (we could have just copied
16777 the parent buffer's readonly flag, but conceptually it seems
16778 cleaner to mark all subbuffers as read-only). (based on patch
16779 by Alessandro Decina, #314710).
16781 * check/gst/gstbuffer.c: (create_read_only_buffer),
16782 (test_make_writable), (test_subbuffer_make_writable),
16784 Add some tests for gst_buffer_make_writable().
16786 2005-09-27 Wim Taymans <wim@fluendo.com>
16788 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
16789 use gst_object_has_ancestor().
16791 * gst/gstobject.c: (gst_object_has_ancestor):
16793 gst_object_has_ancestor() copied from gstbin.c as it is a
16796 * tests/instantiate/create.c: (create_all_elements):
16797 * tests/lat.c: (handoff_src), (handoff_sink):
16798 * tests/sched/runxml.c: (main):
16799 * tests/seeking/seeking1.c: (main):
16800 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16802 Fix compilation of some tests.
16804 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16807 Remove comment. GST_TYPE_G_ERROR is here to stay,
16808 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
16809 (#316961, #300610).
16811 2005-09-26 Wim Taymans <wim@fluendo.com>
16813 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16814 Added check that shows error in state change order.
16816 2005-09-26 Wim Taymans <wim@fluendo.com>
16818 * gst/gstbin.c: (gst_bin_change_state):
16819 Make state change function use 3 queues again, we were
16820 adding elements in the wrong order.
16822 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
16825 * gst/gstpad.c: (gst_pad_dispose):
16826 Added some debug info first.
16828 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
16830 * docs/design/draft-push-pull.txt:
16831 * docs/design/part-events.txt:
16832 * docs/design/part-overview.txt:
16833 * docs/design/part-scheduling.txt:
16834 Replace all _pull_region() with _pull_range()
16836 2005-09-26 Andy Wingo <wingo@pobox.com>
16838 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
16840 * check/gst-libs/controller.c: Update for controller api change.
16843 * tests/Makefile.am:
16844 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
16845 over by GLib bug 118439.
16847 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
16848 routines to a function.
16850 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
16852 * libs/gst/controller/gsthelper.c:
16853 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
16854 (gst_object_sync_values): Renamed from sink_values. Ugh.
16856 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
16858 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
16859 Renamed from controller_key, as it is exported.
16861 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
16863 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
16868 * gst/gstpadtemplate.h:
16871 * gst/gstqueryutils.c:
16872 * gst/gstqueryutils.h:
16873 remove queryutils headers after moving the two used functions
16874 to gstquery. also fixes build problem for gstsiddec
16876 2005-09-26 Michael Smith <msmith@fluendo.com>
16878 * tools/gst-launch.1.in:
16879 Correct documentation in manpage of debug syntax
16881 2005-09-26 Wim Taymans <wim@fluendo.com>
16883 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16884 (gst_base_src_is_seekable), (gst_base_src_change_state):
16885 Some more debugging info.
16887 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16889 * docs/gst/gstreamer-sections.txt:
16890 * gst/base/gstbasetransform.h:
16894 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16896 * docs/gst/.cvsignore:
16897 * docs/gst/tmpl/.cvsignore:
16898 * docs/gst/tmpl/gstpipeline.sgml:
16899 * docs/gst/tmpl/gstplugin.sgml:
16900 * gst/gstpipeline.c:
16903 inlined the last two docs files
16904 removed the tmpl directory from cvs (no more conflicts here!)
16906 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16908 * docs/gst/gstreamer-sections.txt:
16909 * docs/gst/tmpl/.cvsignore:
16910 * docs/gst/tmpl/gstpad.sgml:
16911 * docs/gst/tmpl/gstpadtemplate.sgml:
16913 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
16914 (gst_pad_finalize), (gst_pad_set_pad_template):
16916 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
16917 (gst_pad_template_class_init), (gst_pad_template_init),
16918 (gst_pad_template_dispose), (name_is_valid),
16919 (gst_static_pad_template_get), (gst_pad_template_new),
16920 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
16921 (gst_pad_template_pad_created):
16922 * gst/gstpadtemplate.h:
16923 inlined two more docs
16924 factored gstpadtemplate out of gstpad
16926 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
16928 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16929 (test_children_state_change_order_semi_sink):
16930 Fix test case: we can't rely on a fixed state change order when
16931 going from READY => PAUSED because the sink might commit its
16932 new state first when the first buffer created by the source
16933 reaches the sink before the source has finished its change state.
16934 (Test case still fails at times, see #316856, comment 5 onwards)
16936 2005-09-24 Wim Taymans <wim@fluendo.com>
16938 * docs/design/part-events.txt:
16939 * docs/design/part-gstbus.txt:
16940 * docs/design/part-gstpipeline.txt:
16941 * docs/design/part-messages.txt:
16942 * docs/design/part-overview.txt:
16943 * docs/design/part-segments.txt:
16947 * gst/gstelement.c:
16950 * gst/gstiterator.c:
16951 Various documentation updates.
16953 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
16956 Well, that's embarassing. Luckily we weren't using
16957 GST_CLOCK_DIFF anywhere.
16959 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16961 * common/gtk-doc.mak:
16962 don't fail on building XML, FC4 slave shows a bunch of doc
16963 missing bits that I don't get
16965 * gst/gstpipeline.c:
16966 * gst/gststructure.c:
16969 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16971 * docs/design/part-gstbin.txt:
16972 * docs/design/part-gstbus.txt:
16974 Add blurb about how the bus goes into flushing mode and
16975 drops all messages when its bin goes from READY into NULL
16978 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16980 * docs/gst/gstreamer-sections.txt:
16981 * gst/gststructure.c: (gst_structure_get_clock_time):
16982 * gst/gststructure.h:
16983 add a method to get a GstClockTime out of a structure
16985 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16987 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16988 (test_children_state_change_order_semi_sink), (gst_bin_suite):
16989 Added test to check state change order in bins (can still be made
16990 to fail here under heavy disk load; bails out with 'Push on pad
16991 fakesink:sink0, but it was not activated in push mode').
16993 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
16994 Fix state change order when there is only a semi sink (#316856)
16996 * gst/gstbus.c: (gst_bus_class_init):
16997 Use _class_peek_parent(), not _class_ref(); fix docs to say
16998 'default main context' instead of 'mainloop' where that is
17001 * gst/gstelement.c: (gst_element_commit_state),
17002 (gst_element_set_state):
17003 Fix typos in debug messages
17005 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17008 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17009 * gst/gstpluginfeature.c:
17011 various doc updates
17012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17013 change an assert into an error until it gets fixed properly
17015 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17017 * docs/gst/gstreamer-sections.txt:
17018 * docs/gst/tmpl/.cvsignore:
17019 * docs/gst/tmpl/gstelement.sgml:
17020 * docs/gst/tmpl/gstinfo.sgml:
17021 * docs/gst/tmpl/gstobject.sgml:
17022 * gst/gstelement.c:
17023 * gst/gstelement.h:
17026 * gst/gstobject.c: (gst_object_class_init):
17028 inlined 3 more biiiig doc files and added some missing docs on the fly
17030 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17032 * check/gst/.cvsignore:
17033 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17034 * gst/gstregistryxml.c: (load_plugin),
17035 (gst_registry_xml_save_plugin):
17036 put back source in registry. add checks for find_plugin.
17037 * testsuite/states/bin.c: (assert_state), (empty_bin),
17038 (test_adding_one_element), (main):
17039 * testsuite/states/locked.c: (main):
17040 some compile/run fixes
17042 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17044 * check/gst/gstvalue.c: (GST_START_TEST):
17045 fix leaks in the test itself
17047 2005-09-22 Wim Taymans <wim@fluendo.com>
17049 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17050 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17051 (gst_base_sink_query):
17052 Prepare for more accurate position reporting and query
17055 * gst/gstelement.c: (gst_element_send_event),
17056 (gst_element_set_state):
17059 2005-09-22 Wim Taymans <wim@fluendo.com>
17061 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17062 (gst_query_parse_segment):
17064 More documentation.
17065 Add segment query for future use.
17067 2005-09-22 Wim Taymans <wim@fluendo.com>
17069 * gst/gstbin.c: (gst_bin_add_func):
17070 Some more debug info.
17072 * gst/gstelement.c: (gst_element_send_event):
17073 Simplify send_event
17075 * gst/gstelement.h:
17076 Don't know how flags got broken.
17081 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17083 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17084 Add simplistic test suite for GST_TYPE_DATE serialisation and
17087 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17089 * docs/gst/gstreamer-sections.txt:
17090 * gst/gststructure.c: (gst_structure_set_valist),
17091 (gst_structure_get_date):
17092 * gst/gststructure.h:
17093 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17094 (gst_date_copy), (gst_value_compare_date),
17095 (gst_value_serialize_date), (gst_value_deserialize_date),
17096 (gst_value_transform_date_string),
17097 (gst_value_transform_string_date), (_gst_value_initialize):
17099 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17100 bunch of utility functions along with a hack that checks that
17101 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17102 is required. Part of the grand scheme in #170777.
17104 2005-09-22 Andy Wingo <wingo@pobox.com>
17106 * gst/gstconfig.h.in: Psych out gtk-doc.
17108 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17110 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17112 * tools/gst-inspect.c (print_element_list): Plug some
17113 inconsequential leaks.
17115 * gst/gstregistry.c (gst_registry_get_default): Doc.
17117 * check/gst/gstplugin.c:
17118 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17119 * gst/gstelementfactory.c (gst_element_factory_create):
17120 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17123 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17124 (gst_plugin_feature_load): Doc, don't eat refs.
17126 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17127 (gst_plugin_list_free): Doc.
17128 (gst_plugin_load_file): Doc updates.
17130 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17131 accessors returning refcounted objects, return a ref.
17133 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17134 accessor for caps. IDEMPOTENCE. Oh yes.
17136 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
17138 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17140 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17141 (_gst_debug_register_funcptr):
17142 Add mutex to serialise access to the hash table with
17143 the function pointer => function name string mapping;
17144 make that hash table static scope (#316809).
17146 * gst/registries/.cvsignore:
17147 Remove left-over file.
17149 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17151 * docs/pwg/appendix-porting.xml:
17152 And something about newsegment events and caps-on-buffers to
17153 the porting guide (feel free to improve).
17155 2005-09-21 Andy Wingo <wingo@pobox.com>
17157 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17158 data and event probes on the same pad.
17159 (test_buffer_probe_once): Test that removing probes from within
17160 the probe functions works.
17162 2005-09-21 Andy Wingo <wingo@pobox.com>
17164 * check/gst/gstutils.c: New file.
17165 (test_buffer_probe_n_times): A simple buffer probe test. More to
17168 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17169 have-data::buffer, not have-data.
17170 (gst_pad_add_event_probe): Likewise for have-data::event.
17171 (gst_pad_add_data_probe): More docs. The part about 'resolving the
17172 peer' isn't quite right yet though.
17173 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
17174 (gst_pad_remove_data_probe): Change to take the guint handler_id
17175 as their arg, not the function+data, which is more glib-like.
17177 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17178 the signal emission to indicate if the data is a buffer or an
17180 (gst_pad_get_type): Initialize buffer and event quarks.
17181 (gst_pad_class_init): have-data is now a detailed signal, yes it
17184 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17186 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17187 * gst/gstutils.c: (gst_util_set_value_from_string),
17188 (gst_util_set_object_arg):
17189 Don't put functional code in g_return_if_fail() or
17190 g_return_val_if_fail() statements, otherwise things will
17191 break when G_DISABLE_CHECKS is defined during compilation.
17193 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17195 * docs/gst/tmpl/.cvsignore:
17196 * docs/gst/tmpl/gstvalue.sgml:
17199 inlied another one and added some obvious docs
17201 2005-09-21 Wim Taymans <wim@fluendo.com>
17203 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17204 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17205 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17206 (gst_fdsrc_get_property), (gst_fdsrc_create):
17207 * gst/elements/gstfdsrc.h:
17208 Properly implement fdsrc. Removed signal and timeout,
17209 better implemented somewhere else.
17211 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17213 * docs/gst/tmpl/.cvsignore:
17214 * docs/gst/tmpl/gstimplementsinterface.sgml:
17215 * gst/gstinterface.c:
17218 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17220 * docs/gst/gstreamer-sections.txt:
17221 * docs/gst/tmpl/.cvsignore:
17222 * docs/gst/tmpl/gstenumtypes.sgml:
17223 remove obsolete doc file
17225 2005-09-21 David Schleef <ds@schleef.org>
17227 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17228 little beer, fix a little leak.
17230 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17232 * docs/gst/gstreamer-docs.sgml:
17233 * docs/gst/gstreamer-sections.txt:
17234 * docs/gst/tmpl/.cvsignore:
17238 * gst/gstelement.h:
17239 * gst/gstindex.c: (gst_index_class_init):
17241 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17242 (gst_index_factory_class_init), (gst_index_factory_init),
17243 (gst_index_factory_finalize), (gst_index_factory_new),
17244 (gst_index_factory_destroy), (gst_index_factory_find),
17245 (gst_index_factory_create), (gst_index_factory_make):
17246 * gst/gstindexfactory.h:
17247 * gst/gstpluginfeature.c:
17248 * gst/gstpluginfeature.h:
17249 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17250 more docs inlined, splitted gstindex.{c,h}
17252 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17254 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17257 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17259 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17260 Set sync to FALSE by default.
17262 2005-09-20 Wim Taymans <wim@fluendo.com>
17264 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17265 (gst_base_sink_init):
17266 Make sync property settable from subclass.
17268 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17269 (gst_fake_sink_change_state):
17270 Set sync to FALSE by default.
17272 2005-09-20 Wim Taymans <wim@fluendo.com>
17274 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17275 * tools/gst-launch.c: (main):
17276 The timeout handler should have lower priority than the source
17277 so we don't timeout before popping a message with 0 timeout.
17278 Dump error messages after failed state change.
17280 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17282 * tools/gst-inspect.c: (print_element_properties_info):
17285 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17287 * check/gst/gstevent.c:
17288 * gst/elements/gstfakesink.c:
17289 * gst/elements/gstfakesink.h:
17290 remove the sync property from fakesink.
17291 has the side effect of setting sync TRUE
17292 for fakesink, which is a change. Anyone who knows how
17293 to fix this nicely in a GObject-y way, feel free.
17295 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17297 * docs/gst/gstreamer-docs.sgml:
17298 remove probe refsection
17300 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17302 * check/Makefile.am:
17303 disable valgrinding the controller test again
17304 * docs/gst/gstreamer-sections.txt:
17305 update for api-changes
17307 2005-09-20 Wim Taymans <wim@fluendo.com>
17309 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17310 (gst_base_sink_set_property), (gst_base_sink_get_property),
17311 (gst_base_sink_do_sync):
17312 * gst/base/gstbasesink.h:
17313 Added sync property to basesink to disable clock sync.
17315 2005-09-20 Andy Wingo <wingo@pobox.com>
17317 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17318 eating the caller's refcount.
17320 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17321 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17324 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17325 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17326 of GLib 2.8 public, so we can know which refcount to check in
17329 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17330 (gst_object_init): Only set the gst refcount if we're going ahead
17331 with the refcount hack.
17333 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17335 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17336 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17337 more leaks plumbed, added more debug-logging
17341 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17343 * gst/gstmessage.c:
17344 remove include of gstmemchunk.h
17346 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17348 * gst/gstclock.c: (_gst_clock_id_free):
17349 Commit from the Political Party For More Atomic CVS Commits,
17350 so that people don't waste too much of their day fishing
17351 out obvious leaks out of massive commits.
17352 Oh, and fix a pretty damn obvious leak in the memchunk
17355 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17357 * check/Makefile.am:
17358 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17359 plug mem-leak, re-add to valgrindable tests
17361 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17364 unbreak the build for those who have chronic arthritis
17365 and typing "make check" is just too taxing on the hands
17367 2005-09-20 Andy Wingo <wingo@pobox.com>
17369 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17370 really want it out, you should fix plugins at the same time.
17372 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17375 * docs/gst/gstreamer-sections.txt:
17377 added missing symbols to api docs
17378 disable ref-count hack if we have glib >= 2.8
17380 2005-09-19 David Schleef <ds@schleef.org>
17382 * docs/gst/Makefile.am: Ignore a few more internal headers
17383 * docs/gst/gstreamer-docs.sgml: Remove old sections
17384 * docs/gst/gstreamer-sections.txt: Remove old sections
17385 * docs/gst/tmpl/gstobject.sgml: update
17386 * docs/gst/tmpl/gstplugin.sgml: update
17387 * docs/gst/tmpl/gstpluginfeature.sgml: update
17388 * docs/random/ds/0.9-suggested-changes: update.
17389 * gst/Makefile.am: remove memchunk and trashstack, since they're
17391 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17392 * gst/gst.h: don't include some headers
17393 * gst/gstchildproxy.c: add gstmarshal.h
17394 * gst/gstclock.c: Don't use memchunks
17395 * gst/gstminiobject.c: Add some docs
17396 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17397 * gst/gstobject.h: same
17398 * gst/gstplugin.c: include gstmacros.h
17399 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17400 * gst/gstquery.c: don't use memchunks
17401 * gst/gstregistry.c: rename gst_registry_deinit()
17402 * gst/gstregistry.h: same
17404 2005-09-19 David Schleef <ds@schleef.org>
17406 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17407 * docs/libs/gstreamer-libs-sections.txt:
17408 * docs/libs/tmpl/gstgetbits.sgml:
17409 * docs/libs/tmpl/gstputbits.sgml:
17411 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17413 * win32/gstenumtypes.c:
17414 * win32/gstenumtypes.h:
17417 2005-09-19 Wim Taymans <wim@fluendo.com>
17419 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17420 Automatically PAUSE and RESUME a pipeline when a flushing seek
17423 2005-09-19 Andy Wingo <wingo@pobox.com>
17425 * gst/gstregistry.h: Spacing fixen.
17427 2005-09-19 Wim Taymans <wim@fluendo.com>
17429 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17430 Handle state change failure more correctly.
17432 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17434 * check/Makefile.am:
17435 * check/pipelines/cleanup.c: (run_pipeline):
17436 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17438 enable cleanup again after fixing the leak
17440 some more info on docs
17442 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17444 * check/Makefile.am:
17445 re-enable tests now that leaks are plugged
17447 * check/gst/gstbin.c:
17448 * check/gst/gstpipeline.c:
17449 add some more tests while fixing leaks
17450 * common/check.mak:
17451 make sure binaries are uptodate when valgrinding/gdbing
17453 * gst/gstelementfactory.c:
17454 remove a ref too many, and add a FIXME for when we get
17455 round to disposing of classes
17457 fix the refcounting when loading a plugin from a file and
17458 the code pretends that the pointer is the same even though
17459 of course it can change
17460 * gst/gstpluginfeature.c:
17461 unref plugins marked cached (a bit confusing as a name)
17462 as the docs state should be done
17463 various doc additions to explain refcounting
17464 * gst/gstregistry.c:
17465 * gst/gstregistryxml.c:
17468 2005-09-19 Wim Taymans <wim@fluendo.com>
17470 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17471 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17472 (send_messages), (GST_START_TEST), (gstbus_suite):
17473 * check/gst/gstpipeline.c: (GST_START_TEST):
17474 * check/pipelines/cleanup.c: (run_pipeline):
17475 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17477 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17478 (gst_bus_source_check), (gst_bus_source_dispatch),
17479 (gst_bus_create_watch), (gst_bus_add_watch_full),
17480 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17482 * tools/gst-launch.c: (event_loop):
17483 * tools/gst-md5sum.c: (event_loop):
17484 GstBusHandler -> GstBusFunc, return value has the same meaning as
17485 any other GSource (FALSE == remove source).
17486 _add_watch() and _add_watch_full() now take a MessageType mask to
17487 only handle specific types of messages.
17488 _poll() returns the GstMessage instead of the message type to avoid
17490 _have_pending() takes a MessageType mask now too.
17491 Added testsuite for multiple bus watches.
17492 Fix testsuites and applications for new bus API.
17494 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17496 * check/Makefile.am:
17497 mark a bunch of the tests as to fix until we fix them
17499 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17501 * common/check.mak:
17502 use GST_PLUGIN settings for valgrind tests as well, so we're
17503 valgrinding the correct thing
17504 * gst/gst.c: (init_post):
17507 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17509 * gst/gst.c: (init_post), (gst_deinit):
17510 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17511 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17512 * gst/gstindex.c: (gst_index_factory_class_init),
17513 (gst_index_factory_finalize):
17514 * gst/gstobject.c: (gst_object_dispose):
17515 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17516 (gst_plugin_load_file), (gst_plugin_desc_free):
17517 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17518 (gst_plugin_feature_finalize):
17519 * gst/gstregistry.c: (gst_registry_class_init),
17520 (gst_registry_init), (gst_registry_finalize),
17521 (gst_registry_get_default), (gst_registry_deinit):
17522 * gst/gstregistry.h:
17523 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17524 various cleanups and memleak plugging. make valgrind is happy now.
17526 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17528 * common/check.mak:
17529 add a check-valgrind target
17531 2005-09-18 David Schleef <ds@schleef.org>
17533 * tools/gst-inspect.c: Revert the GOption code.
17535 2005-09-17 David Schleef <ds@schleef.org>
17537 * check/Makefile.am: Fix environment variables.
17538 * check/gst/gstplugin.c: Fix for API changes.
17539 * tools/gst-inspect.c: Fix for API changes.
17540 * tools/gst-xmlinspect.c: Fix for API changes.
17541 * gst/gstelementfactory.c:
17544 * gst/gstpluginfeature.c:
17545 * gst/gstpluginfeature.h:
17546 * gst/gstregistry.c:
17547 * gst/gstregistry.h:
17548 * gst/gstregistryxml.c:
17549 * gst/gsttypefind.c:
17550 * gst/gsttypefindfactory.c:
17551 * gst/indexers/gstfileindex.c:
17552 * gst/indexers/gstmemindex.c:
17553 * gst/schedulers/Makefile.am:
17554 Change registry to keep track of both plugins and features,
17555 removing the feature tracking from plugins themselves.
17557 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17559 * check/Makefile.am:
17560 * tools/gst-register.1.in:
17561 remove gst-register
17563 2005-09-15 David Schleef <ds@schleef.org>
17565 * check/gst/gstplugin.c:
17566 * gst/gstelementfactory.c:
17568 * gst/gstpluginfeature.c:
17569 * gst/gstregistry.c:
17570 Getting tired of debugging. Disabled all the unreffing of
17571 plugins and features, which fixes the segfaults, but of
17572 course leaks like crazy. At least playbin works.
17574 2005-09-15 David Schleef <ds@schleef.org>
17576 * check/gst/gstplugin.c: (register_check_elements),
17577 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17579 * gst/elements/gsttypefindelement.c: Fix refcounting.
17580 * gst/gsttypefind.c:
17581 * gst/gsttypefindfactory.c:
17582 * gst/gsttypefindfactory.h:
17584 2005-09-15 David Schleef <ds@schleef.org>
17586 * gst/gstindex.c: get refcounting correct.
17587 * gst/gstregistry.c: Handle the case where a feature/plugin is
17590 2005-09-15 David Schleef <ds@schleef.org>
17592 * check/Makefile.am:
17593 * check/gst/gstplugin.c: Add test
17594 * gst/gstplugin.c: Fix problems noticed by testsuite
17596 * gst/gstregistry.c:
17597 * gst/gstregistry.h:
17599 2005-09-15 David Schleef <ds@schleef.org>
17601 * gst/gstplugin.c: Implement semi-decent recounting and locking
17602 in plugins and plugin features.
17604 * gst/gstpluginfeature.c:
17605 * gst/gstpluginfeature.h:
17606 * gst/gstregistry.c:
17608 2005-09-15 Michael Smith <msmith@fluendo.com>
17610 * gst/gstregistry.c: (gst_registry_get_feature_list):
17611 Implement this. Makes oggdemux work; decodebin still broken.
17613 2005-09-14 David Schleef <ds@schleef.org>
17615 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17617 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17618 * gst/check/Makefile.am:
17619 * libs/gst/controller/Makefile.am:
17620 * libs/gst/dataprotocol/Makefile.am:
17622 2005-09-14 David Schleef <ds@schleef.org>
17624 * configure.ac: Remove getbits library. Nothing uses it, and
17625 it should be in something like liboil if someone did want
17627 * libs/gst/Makefile.am:
17628 * libs/gst/getbits/Makefile.am:
17629 * libs/gst/getbits/gbtest.c:
17630 * libs/gst/getbits/getbits.c:
17631 * libs/gst/getbits/getbits.h:
17632 * libs/gst/getbits/gstgetbits_generic.c:
17633 * libs/gst/getbits/gstgetbits_i386.s:
17634 * libs/gst/getbits/gstgetbits_inl.h:
17636 2005-09-14 David Schleef <ds@schleef.org>
17638 * gst/Makefile.am: Dist glib-compat.h
17640 2005-09-14 David Schleef <ds@schleef.org>
17642 * configure.ac: Remove gst/registries, since it's no longer used.
17643 * gst/registries/Makefile.am:
17644 * gst/registries/gstlibxmlregistry.c:
17645 * gst/registries/gstlibxmlregistry.h:
17646 * gst/registries/gstxmlregistry.c:
17647 * gst/registries/gstxmlregistry.h:
17648 * gst/registries/registrytest.c:
17650 2005-09-14 David Schleef <ds@schleef.org>
17652 * gst/glib-compat.h:
17653 * gst/gstregistryxml.c:
17654 Convergence is near. Seriously.
17656 2005-09-14 David Schleef <ds@schleef.org>
17658 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17659 * gst/glib-compat.h:
17660 Attempt #4 to appease the buildbots.
17662 2005-09-14 David Schleef <ds@schleef.org>
17664 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17667 2005-09-14 David Schleef <ds@schleef.org>
17669 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17672 2005-09-14 David Schleef <ds@schleef.org>
17674 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17677 2005-09-14 David Schleef <ds@schleef.org>
17679 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17680 * gst/glib-compat.h: Add some functions that are in newer versions
17681 of glib than we care to require.
17682 * gst/gstregistryxml.c: Use them.
17684 2005-09-14 David Schleef <ds@schleef.org>
17686 * po/POTFILES.in: remove gst-register.c
17688 2005-09-14 David Schleef <ds@schleef.org>
17690 * docs/gst/gstreamer-docs.sgml:
17691 * docs/gst/gstreamer-sections.txt:
17692 * docs/gst/gstreamer.types:
17693 * docs/gst/tmpl/gstelement.sgml:
17694 * docs/gst/tmpl/gstplugin.sgml:
17695 * docs/gst/tmpl/gstpluginfeature.sgml:
17696 Documentation updates for registry changes.
17698 2005-09-14 David Schleef <ds@schleef.org>
17700 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17701 because we don't require glib-2.8.
17703 2005-09-14 David Schleef <ds@schleef.org>
17705 * gst/gstregistryxml.c: Added. Essentially moved out of the
17706 registries directory.
17708 2005-09-14 David Schleef <ds@schleef.org>
17710 * check/Makefile.am:
17711 * check/generic/states.c:
17715 * gst/gst_private.h:
17716 * gst/gstelementfactory.c:
17721 * gst/gstpluginfeature.c:
17722 * gst/gstpluginfeature.h:
17723 * gst/gstregistry.c:
17724 * gst/gstregistry.h:
17725 * gst/gstregistrypool.c: remove
17726 * gst/gstregistrypool.h: remove
17727 * gst/gsttypefind.c:
17728 * gst/gsttypefindfactory.c:
17730 * tools/Makefile.am:
17731 * tools/gst-compprep.c:
17732 * tools/gst-inspect.c:
17733 * tools/gst-register.c: remove
17734 * tools/gst-xmlinspect.c:
17735 Registry rewrite. Changes registry from being a file created
17736 by a tool into a simple cache file created automatically by
17737 libgstreamer. Removed gst-register (because it's no longer
17738 needed). Remove registry pools, because we only have one
17739 registry implementation (XML). Fix up other subsystems as
17742 2005-09-13 Michael Smith <msmith@fluendo.com>
17744 * gst/gstconfig.h.in:
17745 Don't Use windows linking attributes for MinGW. Fixes #316157
17747 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
17749 * gst/gstutils.c: (set_state_async_thread_func),
17750 (gst_element_set_state_async):
17751 Apparently people think it's better if this function doesn't
17752 try to set the state to whatever state was asked for on the first
17753 call to this function for any object. Seriously.
17755 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17757 * check/gst/gstpipeline.c: (GST_START_TEST):
17758 * docs/gst/gstreamer-sections.txt:
17759 * gst/gstutils.c: (set_state_async_thread_func),
17760 (gst_element_set_state_async):
17762 add a "gst_element_set_state_async" method that
17763 sets the state and starts a thread to make sure the state
17764 change completes as best as it can
17766 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17768 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17769 codify design+behaviour in testsuite after discussion
17771 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17773 * docs/gst/tmpl/gstelement.sgml:
17774 * docs/manual/appendix-quotes.xml:
17776 * gst/gstelement.c: (gst_element_set_state):
17779 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
17781 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17782 (gst_base_transform_prepare_output_buf),
17783 (gst_base_transform_handle_buffer):
17784 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
17785 (gst_capsfilter_prepare_buf):
17786 Remove the requirement for sub-classes to call the parent
17787 implementation of prepare_output_buffer with a wrapper function.
17789 * gst/gsttaglist.h:
17790 * gst/gsttagsetter.h:
17791 Fix #define wrapper
17793 2005-09-11 Stefan Kost <ensonic@users.sf.net>
17795 * docs/gst/gstreamer-sections.txt:
17798 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17800 * docs/gst/gstreamer-sections.txt:
17801 * docs/gst/tmpl/gstelement.sgml:
17802 * docs/gst/tmpl/gstplugin.sgml:
17803 * gst/gstminiobject.c:
17805 docs now stop throwing warnings
17807 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17809 * docs/gst/gstreamer-sections.txt:
17810 * docs/gst/gstreamer.types:
17811 * docs/gst/tmpl/gstpad.sgml:
17812 * docs/gst/tmpl/gsttypes.sgml:
17813 * gst/base/gstadapter.h:
17814 * gst/base/gstbasesink.h:
17815 * gst/base/gstbasesrc.h:
17821 * gst/gstelement.h:
17823 * gst/gstmessage.h:
17825 * gst/gststructure.c:
17826 * gst/registries/gstlibxmlregistry.h:
17827 various documentation fixes
17829 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17831 * docs/gst/gstreamer-sections.txt:
17832 * docs/gst/tmpl/gstvalue.sgml:
17833 rearrange gstvalue section
17834 * gst/gstutils.c: (gst_element_state_get_name):
17836 * gst/gstvalue.c: (_gst_value_initialize):
17840 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
17842 * check/gst-libs/controller.c:
17843 Header include fix.
17844 * gst/base/gstbasetransform.c:
17845 (gst_base_transform_default_prepare_buf),
17846 (gst_base_transform_handle_buffer):
17847 * gst/base/gstbasetransform.h:
17848 Some more basetransform changes and fixes to enable sub-classes
17849 that modify buffer metadata only.
17850 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17851 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
17852 (gst_capsfilter_prepare_buf):
17853 If the output pad has fixed allowed caps and input buffers
17854 don't have any, set the fixed caps on outgoing buffers.
17856 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
17857 * check/elements/identity.c: (GST_START_TEST):
17858 Make the error a little clearer when the test fails because
17859 identity made a copy of the buffer.
17860 * docs/gst/gstreamer-sections.txt:
17861 New symbols in gstbasetransform.h
17862 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17863 (gst_base_transform_init), (gst_base_transform_transform_size),
17864 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17865 (gst_base_transform_default_prepare_buf),
17866 (gst_base_transform_get_unit_size),
17867 (gst_base_transform_buffer_alloc),
17868 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
17869 (gst_base_transform_change_state),
17870 (gst_base_transform_set_passthrough),
17871 (gst_base_transform_set_in_place),
17872 (gst_base_transform_is_in_place):
17873 * gst/base/gstbasetransform.h:
17874 Change BaseTransform to separate in_place operate from same_caps
17875 output. in_place implies that the element can perform the transform
17876 on incoming buffers in-place, even if the caps on the output are
17878 Sub-class elements can now implement special buffer allocation
17879 methods for outgoing buffers if they wish to.
17880 Big documentation addition.
17881 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
17882 * gst/elements/gstelements.c:
17883 Changes for basetransform modifications.
17884 * gst/elements/Makefile.am:
17885 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
17886 Compile fix. Extra debug output.
17888 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17890 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
17892 add tests for valid pad naming
17893 * gst/check/gstcheck.c: (gst_check_log_message_func),
17894 (gst_check_log_critical_func):
17896 remove printing of code, it is fragile when the code contains
17897 % and the line number is enough info
17898 * gst/check/gstcheck.h:
17899 * gst/gstpad.c: (gst_pad_template_new):
17902 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17905 say what CHECK flags we use
17906 * docs/libs/gstreamer-libs.types:
17907 * libs/gst/controller/Makefile.am:
17908 * libs/gst/controller/gst-controller.c:
17909 * libs/gst/controller/gst-controller.h:
17910 * libs/gst/controller/gst-helper.c:
17911 * libs/gst/controller/gst-interpolation.c:
17912 * libs/gst/controller/gstcontroller.c:
17913 * libs/gst/controller/gsthelper.c:
17914 * libs/gst/controller/gstinterpolation.c:
17915 * tools/gst-inspect.c: (print_plugin_info):
17916 we don't use dashes in header names
17918 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17920 * check/Makefile.am:
17921 * check/gst/.cvsignore:
17922 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
17923 (gst_pipeline_suite), (main):
17924 adding a test for pipelines and state changes
17925 * gst/gstutils.c: (get_state_func):
17927 * gstreamer.spec.in:
17930 2005-09-08 Michael Smith <msmith@fluendo.com>
17932 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
17933 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
17934 (gst_file_src_is_seekable), (gst_file_src_get_size),
17935 (gst_file_src_start):
17936 * gst/elements/gstfilesrc.h:
17937 Various fixes for unseekable, unmmapable, and non-normal files, so
17938 that fallback to read() rather than mmap() works.
17939 * gst/gstevent.c: (gst_event_new_newsegment):
17940 Allow newsegment events with segment_start == segment_end, as will
17941 correctly happen if you use filesrc on a zero-size file, for
17944 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17946 * gst/gstplugin.c: (gst_plugin_load_file):
17947 Call g_module_close when we don't load the module
17949 * gst/registries/gstlibxmlregistry.c:
17950 (gst_xml_registry_get_property):
17951 Port leak fix from 0.8
17953 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17955 * docs/gst/gstreamer-docs.sgml:
17956 * docs/gst/tmpl/.cvsignore:
17957 * docs/gst/tmpl/gsttrace.sgml:
17958 * docs/gst/tmpl/gsttrashstack.sgml:
17961 * gst/gstelement.h:
17963 * gst/gstmessage.c:
17964 * gst/gstmessage.h:
17967 * gst/gsttaginterface.c:
17968 * gst/gsttaginterface.h:
17969 * gst/gsttaglist.c:
17970 * gst/gsttaglist.h:
17971 * gst/gsttagsetter.c:
17972 * gst/gsttagsetter.h:
17975 * gst/gsttrashstack.c:
17976 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
17977 inlined docs for gsttrace, gsttrashstack
17979 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17982 * gst/elements/gstbufferstore.h:
17983 * gst/elements/gsttypefindelement.c:
17984 * gst/elements/gsttypefindelement.h:
17986 * gst/gsttypefind.c:
17987 * gst/gsttypefind.h:
17988 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
17989 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
17990 (gst_type_find_factory_dispose),
17991 (gst_type_find_factory_unload_thyself),
17992 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
17993 (gst_type_find_factory_get_caps),
17994 (gst_type_find_factory_get_extensions),
17995 (gst_type_find_factory_call_function):
17996 * gst/gsttypefindfactory.h:
17997 * gst/registries/gstlibxmlregistry.c:
17998 * gst/registries/gstxmlregistry.c:
17999 splitted gsttypefind into gsttypefind, gsttypefindfactory
18001 2005-09-07 Andy Wingo <wingo@pobox.com>
18003 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18004 condition whereby the pad's task function is entered before the
18005 pad_mode variable was set.
18007 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18009 * gst/gstpad.c: (gst_pad_alloc_buffer):
18010 Catch misbehaving pad_alloc functions that don't
18011 set up caps and do it for them.
18013 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18015 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18016 test for pipe!=NULL
18017 * docs/gst/tmpl/.cvsignore:
18018 * docs/gst/tmpl/gstmemchunk.sgml:
18019 * docs/gst/tmpl/gstparse.sgml:
18020 * docs/gst/tmpl/gsttaglist.sgml:
18021 * docs/gst/tmpl/gsttagsetter.sgml:
18022 * docs/gst/tmpl/gsttypefind.sgml:
18023 * docs/gst/tmpl/gsttypefindfactory.sgml:
18024 * gst/gstmemchunk.c:
18027 * gst/gsttaginterface.c:
18028 * gst/gsttypefind.c:
18029 * gst/gsttypefind.h:
18032 === release 0.9.2 ===
18034 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18039 releasing 0.9.2, "South"
18041 2005-09-05 Andy Wingo <wingo@pobox.com>
18043 * gst/registries/gstxmlregistry.h:
18044 * gst/registries/gstxmlregistry.c: Um... resurrect...
18046 * gst/registries/gstxmlregistry.h:
18047 * gst/registries/gstxmlregistry.c: and update to newer API.
18048 Incidentally they should be a bit faster now that they don't have
18051 2005-09-05 Andy Wingo <wingo@pobox.com>
18053 * gst/registries/gstxmlregistry.h:
18054 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18055 replaced by the libxml registry a while back
18057 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18059 * docs/gst/tmpl/gstplugin.sgml:
18060 * gst/elements/gstelements.c:
18062 * gst/gstplugin.c: (gst_plugin_register_func),
18063 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18064 (gst_plugin_get_source):
18066 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18067 (gst_xml_registry_save_plugin):
18068 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18069 (gst_xml_registry_save_plugin):
18070 * tools/gst-inspect.c: (print_plugin_info):
18071 add a "source" plugin description field, to represent the source
18072 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18073 will set it to PACKAGE, which is automake's idea of the name of
18074 the source project.
18076 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18081 * docs/Makefile.am:
18082 * docs/faq/Makefile.am:
18083 * docs/gst/tmpl/gstelement.sgml:
18084 * docs/gst/tmpl/gsttypes.sgml:
18085 * docs/htmlinstall.mak:
18086 * docs/manual/Makefile.am:
18087 * docs/pwg/Makefile.am:
18088 reorganize doc build a little
18089 split out docbook and gtk-doc stuff
18090 have two separate --enable's and enable them through autogen
18091 but disable by default in configure (to be similar to other
18093 * gstreamer.spec.in:
18094 clean up docs install
18112 translation updates
18114 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18116 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18119 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18120 (gst_fake_sink_change_state):
18121 Make state change function thread-safe.
18123 * gst/gstpad.c: (gst_pad_alloc_buffer):
18124 Set offset on generic buffer allocated by fallback.
18126 2005-09-03 Stefan Kost <ensonic@users.sf.net>
18128 * docs/gst/gstreamer-sections.txt:
18129 * docs/gst/tmpl/gstelement.sgml:
18131 * libs/gst/controller/gst-controller.c:
18132 (gst_controlled_property_set_interpolation_mode),
18133 (gst_controlled_property_new),
18134 (gst_controller_find_controlled_property):
18135 run the wingo-magic script against the docs
18137 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18139 * docs/gst/gstreamer-docs.sgml:
18140 * docs/gst/gstreamer-sections.txt:
18141 * docs/gst/tmpl/.cvsignore:
18142 * docs/gst/tmpl/gstelementdetails.sgml:
18143 * docs/gst/tmpl/gstelementfactory.sgml:
18146 * gst/gstelementfactory.c:
18147 * gst/gstelementfactory.h:
18148 merged elementdetails docs into elementfactory docs
18151 2005-09-02 Andy Wingo <wingo@pobox.com>
18153 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18154 consider this enum an enum and not a flags.
18156 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18158 * docs/gst/gstreamer-docs.sgml:
18159 * docs/gst/tmpl/.cvsignore:
18160 * docs/gst/tmpl/gstghostpad.sgml:
18161 * docs/gst/tmpl/gstiterator.sgml:
18162 * docs/gst/tmpl/gstmacros.sgml:
18163 * docs/gst/tmpl/gstrealpad.sgml:
18164 * docs/gst/tmpl/gstregistry.sgml:
18165 * docs/gst/tmpl/gstregistrypool.sgml:
18166 * docs/gst/tmpl/gststructure.sgml:
18167 * docs/gst/tmpl/gstsystemclock.sgml:
18168 * docs/gst/tmpl/gsttrace.sgml:
18169 * gst/gstghostpad.c:
18171 * gst/gstmemchunk.c:
18172 * gst/gstmemchunk.h:
18174 * gst/gstregistry.c:
18175 * gst/gstregistrypool.c:
18176 * gst/gststructure.c:
18177 * gst/gstsystemclock.c:
18180 2005-09-02 Andy Wingo <wingo@pobox.com>
18182 * gst/gstelement.h (GstState): Renamed from GstElementState,
18183 changed to be a normal enum instead of flags.
18184 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18185 munged to be GST_STATE_CHANGE_*.
18186 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18187 work with the new state representation.
18188 (GstStateChange): New enumeration of possible state transitions.
18189 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18190 (GstElementClass::change_state): Pass the GstStateChange along as
18191 an argument. Helps language bindings, so they don't have to use
18192 tricky lock-needing macros like GST_STATE_CHANGE ().
18194 * scripts/update-states (file): New script. Run it on a file to
18195 update it for state naming and API changes. Updates files in
18198 * All files updated for the new API.
18200 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
18202 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18203 * gst/gstutils.c: (gst_util_set_value_from_string),
18204 (gst_util_set_object_arg):
18205 fix a bunch of unchecked return values
18206 * tools/gst-complete.c: (main):
18207 * gstreamer.spec.in:
18210 2005-09-01 Wim Taymans <wim@fluendo.com>
18212 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18213 (gst_base_sink_event), (gst_base_sink_do_sync),
18214 (gst_base_sink_handle_event):
18215 * gst/base/gstbasesink.h:
18216 Handle newsegments more correctly.
18221 * gst/gstevent.c: (gst_event_new_newsegment):
18222 A newsegment cannot have a start_time of -1
18224 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
18226 * win32/gstenumtypes.c:
18227 * win32/gstenumtypes.h:
18230 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18232 * libs/gst/controller/gst-controller.c:
18233 (gst_controlled_property_set_interpolation_mode),
18234 (gst_controlled_property_new):
18235 fixed boolean again
18237 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
18239 * docs/faq/gst-uninstalled:
18244 * gst/gstutils.c: (gst_element_link_filtered):
18246 add gst_element_link_filtered
18248 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18250 * docs/gst/gstreamer-docs.sgml:
18251 * docs/gst/gstreamer-sections.txt:
18252 * docs/gst/tmpl/.cvsignore:
18253 * docs/gst/tmpl/gsterror.sgml:
18254 * docs/gst/tmpl/gstfilter.sgml:
18255 * docs/gst/tmpl/gsturihandler.sgml:
18256 * docs/gst/tmpl/gsturitype.sgml:
18257 * docs/gst/tmpl/gstutils.sgml:
18258 * docs/gst/tmpl/gstxml.sgml:
18263 * gst/gsturitype.c:
18266 inlined more docs, fixed double id-ref
18268 2005-08-31 Wim Taymans <wim@fluendo.com>
18270 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18271 (gst_base_transform_handle_buffer):
18272 Passthrough elements don't need the caps as they don't care.
18274 2005-08-31 Wim Taymans <wim@fluendo.com>
18276 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18277 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18278 Don't leak refcounts on buffers.
18280 2005-08-31 Wim Taymans <wim@fluendo.com>
18282 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18283 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18284 (gst_base_transform_chain), (gst_base_transform_change_state):
18285 * gst/base/gstbasetransform.h:
18286 Handle the case where we are not negotiated more gracefully.
18288 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18290 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18291 (gst_file_src_map_region):
18292 Set READONLY flag on mmap'ed buffers, otherwise
18293 gst_buffer_make_writable() won't work properly (#314708).
18295 2005-08-31 Wim Taymans <wim@fluendo.com>
18297 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18298 passthrough elements can even do inplace on non writable
18299 buffers (as they don't touch them).
18301 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18303 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18304 (gst_test_mono_source_set_property),
18305 (gst_test_mono_source_class_init), (GST_START_TEST),
18306 (gst_controller_suite):
18307 more tests (hehe I have the most)
18309 describe popping messages whenusing mulltiple sources
18310 * libs/gst/controller/gst-controller.c:
18311 (gst_controlled_property_set_interpolation_mode),
18312 (gst_controlled_property_new):
18313 * libs/gst/controller/gst-controller.h:
18314 * libs/gst/controller/gst-interpolation.c:
18315 implement boolean properties
18317 2005-08-31 Wim Taymans <wim@fluendo.com>
18319 * gst/gstminiobject.c: (gst_mini_object_ref):
18320 Cannot assert that the refcount has to be positive
18321 since a disposed object can be resurrected.
18323 2005-08-31 Wim Taymans <wim@fluendo.com>
18325 * gst/gstpad.c: (gst_pad_init):
18326 Revert change, need to first fix badly behaving
18329 2005-08-30 Wim Taymans <wim@fluendo.com>
18331 * check/elements/fakesrc.c: (setup_fakesrc):
18332 * check/elements/identity.c: (setup_identity):
18333 Activate pads before using them.
18335 2005-08-30 Wim Taymans <wim@fluendo.com>
18337 * gst/base/gstadapter.c: (gst_adapter_flush):
18338 Flushing out 0 bytes is ok for this function.
18340 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18341 no newsegment gives a warning and sets the start/stop to
18344 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18345 (gst_base_transform_set_passthrough):
18348 * gst/gstminiobject.c: (gst_mini_object_ref):
18349 Check refcount here too.
18351 * gst/gstpad.c: (gst_pad_init):
18352 Pads are initially flushing and refusing data.
18354 * gst/gstutils.c: (gst_element_link_pads_filtered):
18355 When adding a capsfilter element make sure it has the
18356 same state as the parent bin.
18358 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18360 * docs/gst/tmpl/.cvsignore:
18361 * docs/gst/tmpl/gstformat.sgml:
18362 * docs/gst/tmpl/gstversion.sgml:
18366 * gst/gstversion.h.in:
18367 more docs and two more inlined
18369 2005-08-30 Wim Taymans <wim@fluendo.com>
18371 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18372 Don't sync to clock.
18374 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18376 * docs/gst/gstreamer-sections.txt:
18377 ultral33t func10ns deserve to appear in the docs actually
18378 * docs/gst/tmpl/.cvsignore:
18379 * docs/gst/tmpl/gstcompat.sgml:
18380 * docs/gst/tmpl/gstconfig.sgml:
18381 * gst/check/gstcheck.c:
18383 * gst/gstconfig.h.in:
18386 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18388 * docs/gst/tmpl/.cvsignore:
18389 * docs/gst/tmpl/gstquery.sgml:
18390 * docs/gst/tmpl/gstutils.sgml:
18393 inlined and extended docs
18395 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18397 * check/gst-libs/controller.c: (GST_START_TEST),
18398 (gst_controller_suite):
18400 * docs/gst/tmpl/gstutils.sgml:
18401 * docs/libs/gstreamer-libs-sections.txt:
18402 * docs/libs/tmpl/gstdataprotocol.sgml:
18404 * examples/controller/audio-example.c: (main):
18405 controller example works now
18408 * tools/gst-inspect.c: (print_element_properties_info):
18409 show param spec flags
18411 2005-08-29 Andy Wingo <wingo@pobox.com>
18413 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18415 2005-08-28 Andy Wingo <wingo@pobox.com>
18417 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18418 as having two arguments instead of just one. Allows superclasses
18419 to access information on subclasses -- see the terrible for() loop
18420 in gtype.c:g_type_create_instance for the reason why. All callers
18423 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18425 * docs/design/part-messages.txt:
18427 * docs/gst/tmpl/.cvsignore:
18428 * docs/gst/tmpl/gstcaps.sgml:
18429 * docs/gst/tmpl/gstclock.sgml:
18435 * gst/gstmessage.c:
18436 added descriptions for bus and message
18437 inline caps and clock docs
18439 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18441 * gst/gstmessage.c:
18442 * gst/gstmessage.h:
18445 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18447 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18450 2005-08-26 Andy Wingo <wingo@pobox.com>
18452 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18453 element_set_state's return val.
18454 (test_2_elements): Add test that's been disabled for months.
18456 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18457 can-activate-pull properties.
18459 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18460 can-activate-pull properties. Implement is_seekable so fakesrc can
18461 operate in pull mode.
18463 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18465 (gst_base_sink_activate, gst_base_sink_activate_pull)
18466 (gst_base_sink_activate_push): Make activation mode choosing work.
18468 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18469 is right. Make pull mode work. Post an eos before pausing in pull
18471 (gst_base_sink_change_state): Pay attention to the core's
18472 change_state() return val.
18474 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18475 has-getrange properties. Cleanups.
18477 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18478 has_getrange and replace with can_activate_pull and
18481 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18482 locking comments. Remove has_loop, has_chain and replace with
18483 can_activate_pull and can_activate_push.
18485 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18488 * examples/Makefile.am:
18489 * examples/metadata/Makefile.am:
18490 * examples/metadata/read-metadata.c: (message_loop),
18491 (have_pad_handler), (make_pipeline), (print_tag), (main):
18492 Add metadata reading example that loops over a list of filenames,
18493 dumping any tags found.
18495 * gst/gstbus.c: (gst_bus_dispose):
18496 * gst/gstelement.c: (gst_element_dispose):
18497 Release a few potentially-held references in dispose.
18499 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18501 * docs/gst/tmpl/gstminiobject.sgml:
18502 do *not* add tmpl/*.sgml files to CVS!
18504 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18506 * libs/gst/bytestream/.cvsignore:
18507 * libs/gst/bytestream/Makefile.am:
18508 * libs/gst/bytestream/adapter.c:
18509 * libs/gst/bytestream/adapter.h:
18510 * libs/gst/bytestream/bytestream.c:
18511 * libs/gst/bytestream/bytestream.h:
18512 * libs/gst/bytestream/filepad.c:
18513 * libs/gst/bytestream/filepad.h:
18514 removing obsolete files
18516 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18518 * docs/gst/gstreamer-docs.sgml:
18519 * docs/libs/gstreamer-libs-docs.sgml:
18520 disabed additional index entries again, as this makes docs-gen just
18521 slow and they aren't useful yet
18522 * docs/libs/gstreamer-libs-sections.txt:
18523 little -section.txt cleanup for libs
18525 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18528 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18529 fix up some debugging
18530 (gst_base_transform_get_unit_size),
18531 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18532 (gst_base_transform_handle_buffer):
18533 * gst/base/gstbasetransform.h:
18534 handle and store timed NEWSEGMENT events so that subclasses that
18535 calculate time by counting samples have a segment_start time they
18536 need to add to their timestamps - see audioresample
18538 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18541 removed ';' from the end of macro defs
18542 * docs/gst/gstreamer-docs.sgml:
18543 * docs/gst/gstreamer-sections.txt:
18544 * docs/gst/tmpl/.cvsignore:
18546 * gst/gstelement.c: (gst_element_class_init),
18547 (gst_element_set_state), (activate_pads),
18548 (gst_element_save_thyself):
18549 * gst/gstevent.c: (gst_event_new_newsegment):
18551 * gst/gstiterator.c:
18552 * gst/gstiterator.h:
18555 * gst/gstutils.c: (gst_pad_query_convert):
18557 fixed parameter name mismatches between source, header and docs
18558 added some more docs, resolved the last batch of unused elements in
18559 docs (now someone needs to doc them)
18561 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18563 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18564 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18565 don't walk through the plugins backwards. Where is all this
18566 reversed logic coming from ?
18568 2005-08-25 Wim Taymans <wim@fluendo.com>
18570 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18571 (gst_base_transform_transform_size),
18572 (gst_base_transform_configure_caps),
18573 (gst_base_transform_get_unit_size),
18574 (gst_base_transform_buffer_alloc),
18575 (gst_base_transform_change_state):
18576 * gst/base/gstbasetransform.h:
18577 Cache caps unit_size.
18578 Make sure we cannot negotiate up and downstream at the
18581 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18583 * gst/gst.c: (init_pre), (init_post):
18584 register the installed plugin path after the env var
18585 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18586 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18587 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18588 directories, so the tests can prefer uninstalled over installed
18590 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18592 * gst/base/gstbasetransform.h:
18597 2005-08-25 Wim Taymans <wim@fluendo.com>
18599 * gst/gstbin.c: (bin_bus_handler):
18600 Be a bit more conservative about the posted message.
18602 * gst/gstbus.c: (gst_bus_post):
18603 Some cleanups, warn wrong return values.
18605 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18607 * check/gst/gstbin.c: (GST_START_TEST):
18608 * gst/gstbin.c: (bin_bus_handler):
18609 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18610 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18611 (gst_message_new_warning), (gst_message_new_tag),
18612 (gst_message_new_state_changed), (gst_message_new_segment_start),
18613 (gst_message_new_segment_done), (gst_message_new_custom):
18614 * gst/gstmessage.h:
18615 * tools/gst-launch.c: (event_loop):
18616 * tools/gst-md5sum.c: (event_loop):
18617 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18619 2005-08-25 Wim Taymans <wim@fluendo.com>
18621 * check/generic/states.c: (GST_START_TEST):
18622 Cleanup can be done at the end.
18624 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18625 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18626 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18627 Oh boy.. Thanks for finding this, Thomas.
18629 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18631 * docs/gst/gstreamer.types:
18632 added missing types
18634 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18636 * docs/gst/gstreamer-docs.sgml:
18637 * docs/gst/gstreamer-sections.txt:
18638 * docs/gst/tmpl/.cvsignore:
18640 * gst/gstiterator.c:
18642 * gst/registries/gstxmlregistry.h:
18643 added missing classes and symbols (123 more to go)
18644 removed removed symbols from section file
18645 fixed many doc-comments
18647 2005-08-24 Wim Taymans <wim@fluendo.com>
18649 * check/generic/states.c: (GST_START_TEST):
18650 Make sure all tasks are stopped.
18652 * check/gst/gstbin.c: (GST_START_TEST):
18653 Unref after usage for proper valgrinding.
18655 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18656 Really wait for the task to stop before destroying the
18659 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18660 (gst_queue_src_activate_push):
18661 Small cleanups. Don't stop the task when we did not start
18664 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18665 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18666 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18669 Protect the stream lock with the object lock.
18670 Disallow setting the stream lock when running.
18671 Add cleanup_all to wait for the threadpool to finish.
18672 Remove code to autoallocate a mutex if none was provided.
18673 Add _join() to wait for a task to stop.
18674 Protect the thread pool with a global lock.
18676 2005-08-24 Wim Taymans <wim@fluendo.com>
18678 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18679 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18680 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18681 * gst/base/gstbasesink.h:
18682 Handle newsegment events correctly.
18683 Drop buffers out of the segment range.
18685 2005-08-22 Andy Wingo <wingo@pobox.com>
18687 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18688 macro, implements an interface and gstimplementsinterface for a
18691 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18693 * check/Makefile.am:
18694 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18695 add a test that does a bunch of state changes on elements
18696 needs some fixing for valgrind
18697 * check/states/sinks.c: (gst_object_suite):
18700 add prototype for gst_caps_is_equal_fixed
18702 * gst/gstregistrypool.c:
18705 2005-08-24 Andy Wingo <wingo@pobox.com>
18707 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18708 convert a negative value. Doesn't make much sense. Mostly this is
18709 here to force callers to ensure -1 maps to -1.
18711 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18713 * docs/pwg/advanced-types.xml:
18714 Well done to Michael for catching my deliberate introduction
18715 of this spelling mistake.
18716 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18717 * gst/gstelement.h:
18718 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18719 unlink pads before removing the element from the bin.
18721 2005-08-24 Andy Wingo <wingo@pobox.com>
18723 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18724 the same thing as GST_DEBUG=*:4.
18725 (parse_debug_level, parse_debug_category): New helper parsers.
18727 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18729 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18730 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18731 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18732 (gst_base_transform_buffer_alloc),
18733 (gst_base_transform_handle_buffer):
18734 use gboolean return values and pointers to size so we can use the
18735 full GST_BUFFER_SIZE range (guint) for buffer sizes
18736 use GstPadDirection for transform_caps
18737 * gst/base/gstbasetransform.h:
18738 rename get_size to get_unit_size since that's what it is
18739 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18740 use GstPadDirection for transform_caps
18741 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18743 cleanup and debugging
18745 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18747 * gst/gstelement.c: (gst_element_class_init),
18748 (gst_element_set_state), (activate_pads),
18749 (gst_element_save_thyself):
18750 * tools/gst-compprep.c: (main):
18751 * tools/gst-inspect.c: (print_element_properties_info):
18752 * tools/gst-xmlinspect.c: (print_element_properties):
18753 Fixed long standing mem-leak
18755 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18757 * check/gst/gstbin.c: (GST_START_TEST):
18758 * gst/gstbin.c: (bin_bus_handler):
18759 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18760 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18761 (gst_message_new_warning), (gst_message_new_tag),
18762 (gst_message_new_state_changed), (gst_message_new_segment_start),
18763 (gst_message_new_segment_done), (gst_message_new_custom):
18764 * gst/gstmessage.h:
18765 * tools/gst-launch.c: (event_loop):
18766 * tools/gst-md5sum.c: (event_loop):
18767 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
18768 that applications can sensibly post custom messages with references
18769 to their own objects.
18771 2005-08-24 Andy Wingo <wingo@pobox.com>
18773 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
18776 2005-08-24 Wim Taymans <wim@fluendo.com>
18778 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18779 (gst_base_transform_transform_caps),
18780 (gst_base_transform_transform_size),
18781 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18782 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18783 (gst_base_transform_handle_buffer):
18784 * gst/base/gstbasetransform.h:
18785 Many fixes and new features added by Thomas. Can now also do
18786 transforms with variable sizes and a custom fixate_caps function.
18788 2005-08-24 Wim Taymans <wim@fluendo.com>
18790 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18794 Cast to ClockTime before formatting to time.
18799 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18801 * check/gst-libs/controller.c: (GST_START_TEST),
18802 (gst_controller_suite):
18803 * docs/gst/tmpl/gstcaps.sgml:
18804 * docs/gst/tmpl/gstghostpad.sgml:
18805 * docs/gst/tmpl/gstquery.sgml:
18806 * docs/gst/tmpl/gstutils.sgml:
18807 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
18808 (gst_object_sink_values), (gst_object_get_value_arrays),
18809 (gst_object_get_value_array):
18810 gracefully handle helper method calls to objects that are not beeing
18811 controlled, added test case for that
18813 2005-08-23 Wim Taymans <wim@fluendo.com>
18815 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
18816 (gst_event_new_newsegment), (gst_event_parse_newsegment),
18817 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
18818 (gst_event_parse_qos), (gst_event_new_seek),
18819 (gst_event_parse_seek):
18821 Some more debugging output and doc cleanups.
18823 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18824 Fix possible deadlock.
18826 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18828 * docs/gst/gstreamer-docs.sgml:
18829 * docs/gst/gstreamer-sections.txt:
18830 * docs/gst/gstreamer.types:
18831 * docs/gst/tmpl/.cvsignore:
18834 * gst/gstelement.c:
18836 added 100 symbols from gstreamer-unused.txt to the right sections
18837 fixed more broken comments
18838 added GstBus to docs
18840 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18842 * docs/gst/gstreamer-sections.txt:
18843 * docs/gst/tmpl/.cvsignore:
18844 * docs/gst/tmpl/gstbin.sgml:
18845 * docs/gst/tmpl/gstbuffer.sgml:
18846 * gst/base/gstbasesrc.c:
18847 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
18850 * tools/gst-launch.1.in:
18851 inlined more doc comments, added missing comments and fixed comments
18854 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
18856 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18860 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
18862 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
18863 * gst/gststructure.h:
18864 add a fixate function for booleans; add a FIXME that these func
18865 names should probably be gst_structure_fixate_*
18867 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18869 * docs/gst/gstreamer-docs.sgml:
18870 * docs/gst/gstreamer-sections.txt:
18872 * gst/gstbin.c: (gst_bin_get_type),
18873 (gst_bin_child_proxy_get_child_by_index),
18874 (gst_bin_child_proxy_get_children_count),
18875 (gst_bin_child_proxy_init):
18876 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18877 (gst_child_proxy_get_child_by_index),
18878 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
18879 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
18880 (gst_child_proxy_get), (gst_child_proxy_set_property),
18881 (gst_child_proxy_set_valist), (gst_child_proxy_set),
18882 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
18883 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
18884 * gst/gstchildproxy.h:
18885 * gst/parse/grammar.y:
18886 * tools/gst-inspect.c: (print_interfaces),
18887 (print_element_properties_info), (print_element_info):
18888 ported gstchildproxy over from 0.8
18889 ported gst-inspect fixes and enhancements over from 0.8
18891 2005-08-22 Wim Taymans <wim@fluendo.com>
18893 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18894 (gst_base_transform_handle_buffer):
18895 Also call the transform function if we have ANY caps.
18897 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
18900 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
18902 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
18903 Don't pretend to handle seek events if the source is not seekable
18905 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
18907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18908 Remove extra parameter to debug output
18910 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18911 (gst_base_src_do_seek), (gst_base_src_activate_push):
18912 Fix seek event handling.
18914 * gst/gstpipeline.c: (gst_pipeline_change_state):
18915 * gst/gstqueue.c: (gst_queue_handle_sink_event),
18916 (gst_queue_src_activate_push):
18917 Don't start the src pad task on FLUSH_STOP if the pad
18921 2005-08-22 Wim Taymans <wim@fluendo.com>
18923 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
18924 Added check for gst_static_caps_get() refcounting.
18926 2005-08-22 Wim Taymans <wim@fluendo.com>
18928 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
18929 Make _static_caps_get() refcounting sane.
18931 * gst/gstelement.c: (gst_element_set_state):
18932 Add g_return_val_if_fail() to protect against segfaults.
18934 2005-08-22 Stefan Kost <ensonic@users.sf.net>
18936 * docs/gst/tmpl/gstevent.sgml:
18939 inlined remaining docs, added missing doc comments
18941 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
18943 * check/gst/gstbin.c: (GST_START_TEST):
18944 since we don't know when preroll is done, use refcount range
18946 * gst/check/gstcheck.h:
18947 add macro for checking refcount range
18949 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18951 * check/Makefile.am:
18952 clean up environment for when registry gets built versus
18953 when actual tests are run; valgrind seems to not report
18954 leaks if GST_PLUGIN_PATH is set to some specific values
18955 * check/gst/gstbin.c: (GST_START_TEST):
18956 add more refcounting checks; maybe this exposes a
18958 * common/check.mak:
18959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18960 * gst/check/gstcheck.h:
18961 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
18962 (gst_bin_change_state):
18963 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
18964 add/fix debugging/whitespace
18966 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18968 * check/gst/gstevent.c: (event_probe), (test_event),
18970 Er, don't call gst_bin_watch_for_state_change you idiot.
18972 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18974 * check/Makefile.am:
18975 Use CHECK_CFLAGS and CHECK_LIBS
18976 * check/gst/gstevent.c: (event_probe), (test_event),
18979 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18980 (gst_base_src_start), (gst_base_src_stop),
18981 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18982 (gst_base_src_change_state):
18983 Sprinkle gst_base_src_stop liberally around error paths to fix
18984 problems reusing a source after failed state changes.
18985 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18986 (helper_find_suggest), (gst_type_find_helper):
18987 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
18989 * docs/gst/tmpl/gstevent.sgml:
18990 Migrate part of the docs from the SGML file. Wait for ensonic to
18991 tell me how I did it wrong ;)
18992 * tools/gst-typefind.c: (main):
18993 Extra robustness to state changes between files.
18995 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18997 * check/Makefile.am:
18998 don't valgrind the controller test - it's leaking - Stefan, HELP
18999 * gst/check/gstcheck.c: (gst_check_message_error),
19000 (gst_check_chain_func), (gst_check_setup_element),
19001 (gst_check_teardown_element), (gst_check_setup_src_pad),
19002 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19003 (gst_check_teardown_sink_pad):
19004 * gst/check/gstcheck.h:
19005 add a bunch of methods to set up elements, and src and sink pads
19006 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19007 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19010 * gst/gstmessage.c:
19012 whitespace/doc fixes
19014 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19016 * gst/gstelement.h:
19017 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19018 be handled by the application and not always printed as well
19020 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19022 * check/Makefile.am:
19024 * gst/check/gstcheck.c: (gst_check_message_error):
19025 * gst/check/gstcheck.h:
19026 add a fail_unless_equals_int
19027 add fail_unless for error messages
19029 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19031 * check/Makefile.am:
19033 * common/Makefile.am:
19034 * common/check.mak:
19036 factor out some of the common stuff so we can use it
19038 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19040 * check/Makefile.am:
19041 * check/gst/gstiterator.c: (GST_START_TEST):
19042 * check/gst/gstsystemclock.c: (GST_START_TEST),
19043 (gst_systemclock_suite):
19044 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19046 valgrind more tests
19048 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19050 * check/elements/.cvsignore:
19051 * check/elements/gstfakesrc.c:
19052 rename to name of element
19053 * check/elements/identity.c: (chain_func), (event_func),
19054 (setup_identity), (cleanup_identity), (GST_START_TEST),
19055 (identity_suite), (main):
19056 add a test for identity
19057 * check/Makefile.am:
19058 * pkgconfig/Makefile.am:
19059 * pkgconfig/gstreamer-check.pc.in:
19060 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19064 move the check stuff to a library that gets installed
19065 * check/gst-libs/controller.c: (GST_START_TEST):
19066 * check/gst-libs/gdp.c:
19067 * check/gst/gst.c: (GST_START_TEST):
19068 * check/gst/gstbin.c:
19069 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19070 * check/gst/gstbus.c:
19071 * check/gst/gstcaps.c: (GST_START_TEST):
19072 * check/gst/gstelement.c:
19073 * check/gst/gstghostpad.c:
19074 * check/gst/gstiterator.c:
19075 * check/gst/gstmessage.c:
19076 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19077 * check/gst/gstobject.c:
19078 * check/gst/gstpad.c: (GST_START_TEST):
19079 * check/gst/gststructure.c: (GST_START_TEST):
19080 * check/gst/gstsystemclock.c: (GST_START_TEST),
19081 (gst_systemclock_suite):
19082 * check/gst/gsttag.c: (gst_tag_suite):
19083 * check/gst/gstvalue.c:
19084 * check/pipelines/cleanup.c:
19085 * check/pipelines/simple_launch_lines.c:
19086 * check/states/sinks.c:
19087 change include statement
19089 * docs/gst/gstreamer-sections.txt:
19090 * docs/gst/tmpl/gstpad.sgml:
19091 document more pad stuff
19092 * gst/gstminiobject.c: (gst_mini_object_ref),
19093 (gst_mini_object_unref):
19096 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19098 * docs/gst/tmpl/gst.sgml:
19100 eliminate another tmpl file, fix spelling in the long-description
19102 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19104 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19105 (test_event), (timediff), (gstevents_suite):
19106 Should fix build on 64-bit arch's
19108 2005-08-18 Andy Wingo <wingo@pobox.com>
19110 Make sure that when a pipeline goes to PLAYING, that data has
19111 actually hit the sink.
19113 * check/states/sinks.c (test_sink): A sink that doesn't get any
19114 data shouldn't return SUCCESS for going to either PLAYING or
19115 PAUSED. Test also the return values on the way back down.
19117 * gst/gstelement.c (gst_element_set_state): When changing the
19118 state of an element currently changing state asynchronously, go to
19119 lost-state after commiting the pending state. Makes future calls
19120 to get_state continue to return ASYNC.
19122 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19123 ASYNC when going to PLAYING if we still don't have preroll, as can
19124 happen with live sources.
19126 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19128 * docs/pwg/advanced-types.xml:
19129 Hack long paragraph into 2 chunks as a workaround for buggy
19130 jadetex version in sid and breezy that loops infinitely and
19133 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19135 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19136 (test_event), (timediff), (gstevents_suite):
19137 Provide more error margin in clock measurements to allow for
19138 g_get_current_time inaccuracies.
19140 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19142 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19143 (test_event), (timediff), (gstevents_suite):
19144 Fix error message output so I might be able to tell why the
19145 test works here but fails on the build farm.
19147 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19149 * check/Makefile.am:
19150 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19151 (test_event), (timediff), (gstevents_suite), (main):
19154 * docs/design/part-seeking.txt:
19155 Spelling correction
19157 * docs/gst/tmpl/gstevent.sgml:
19158 * docs/gst/tmpl/gstfakesrc.sgml:
19161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19162 Treat a buffer-without-newsegment the same as a receiving
19163 a newsegment not in time format, and disable syncing to the clock
19166 * gst/gstbus.c: (gst_bus_set_sync_handler):
19167 Assert if anyone tries to replace the existing sync_handler for bus,
19168 as only the owner should be setting it.
19171 Have a fixed set of custom event enums with events identified by
19172 their structure name (as in 0.8), rather than a free-for-all
19173 allowing collisions between enum values from different plugins.
19175 * gst/gstpad.c: (gst_pad_class_init):
19178 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19179 Handle out-of-band downstream events from the sending thread.
19181 2005-08-17 Andy Wingo <wingo@pobox.com>
19183 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19184 play-timeout==0 to mean no timeout at all. In that case, don't
19185 bother with a get_state or a warning, just return directly, even
19188 * gst/base/gstbasetransform.c: Debug changes.
19191 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19192 ensure bins post state change messages. A bit of a hack but I can't
19193 think of a way to avoid it.
19195 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19197 2005-08-16 Andy Wingo <wingo@pobox.com>
19199 * gst/base/gstadapter.h:
19200 * gst/base/gstadapter.c (gst_adapter_take): New function, like
19201 peek() but you own the data. Not terribly efficient atm.
19203 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19205 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19206 (gst_element_found_tags):
19208 Add two utility functions for tag handling.
19210 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19212 * docs/manual/advanced-dataaccess.xml:
19213 * docs/manual/basics-helloworld.xml:
19214 Fix docs to use _bin_add() before _link(), which fixes the examples
19215 with recent core versions (reported by Madhan Raj M
19216 <raj_madan@rediffmail.com>, #313199).
19218 2005-08-16 Wim Taymans <wim@fluendo.com>
19220 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19221 Added subtract checks.
19223 * docs/design/part-events.txt:
19224 Some more docs about newsegment
19226 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19229 * gst/gstcaps.c: (gst_caps_to_string):
19230 Add comments, cleanups.
19232 * gst/gstelement.c: (gst_element_save_thyself):
19235 * gst/gstvalue.c: (gst_value_collect_int_range),
19236 (gst_string_unwrap), (gst_value_union_int_int_range),
19237 (gst_value_union_int_range_int_range),
19238 (gst_value_intersect_int_int_range),
19239 (gst_value_intersect_int_range_int_range),
19240 (gst_value_intersect_double_double_range),
19241 (gst_value_intersect_double_range_double_range),
19242 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19243 (gst_value_subtract_int_range_int),
19244 (gst_value_subtract_double_range_double),
19245 (gst_value_subtract_double_range_double_range),
19246 (gst_value_subtract_from_list), (gst_value_subtract_list),
19247 (gst_value_can_compare), (gst_value_compare_fraction):
19248 Cleanups, add comments, remove unneeded asserts.
19250 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19252 * tools/gst-launch.c: (event_loop):
19253 don't convert NULL structures to strings
19255 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19257 * docs/gst/gstreamer-sections.txt:
19258 made some defines private
19259 * docs/gst/tmpl/gstconfig.sgml:
19260 * docs/gst/tmpl/gstqueue.sgml:
19261 * docs/gst/tmpl/gsttaglist.sgml:
19262 * docs/gst/tmpl/gsttypes.sgml:
19263 * docs/gst/tmpl/gstutils.sgml:
19264 * docs/pwg/appendix-porting.xml:
19265 * gst/base/gstbasesink.h:
19266 * gst/base/gstbasesrc.c:
19267 * gst/base/gstbasesrc.h:
19268 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19269 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19270 * gst/gstelement.c: (gst_element_class_init):
19271 * gst/gstpad.c: (gst_pad_class_init):
19272 * gst/gstqueue.c: (gst_queue_class_init):
19273 * gst/gstxml.c: (gst_xml_class_init):
19274 documented all undocumented signal inline
19275 * libs/gst/controller/gst-controller.h:
19278 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19280 * docs/pwg/appendix-porting.xml:
19281 Document _set_link_function -> _set_setcaps_function.
19283 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19285 * check/Makefile.am:
19286 add a .check target for running the check
19287 * check/gst-libs/controller.c: (GST_START_TEST):
19289 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19290 complete checks for gstbuffer; would be nice if I could get the
19291 gcov stuff to work so I can see if I actually completed gstbuffer.c
19292 * check/gstcheck.h:
19293 add ASSERT_BUFFER_REFCOUNT
19295 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19297 * docs/gst/gstreamer-sections.txt:
19298 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19300 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19301 spew out a warning if a tag that is already registered
19302 is re-registered, unless it is re-registered with a
19303 different type (#308438).
19305 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19307 * docs/pwg/appendix-porting.xml:
19308 * docs/pwg/building-state.xml:
19309 Add some paragraphs about state changes in 0.9 to the PWG
19310 and the porting guide, in particular about the new meaning
19311 of GST_STATE_PAUSED and how to write state change functions
19312 with concurrent access by multiple threads in mind.
19314 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19316 * docs/gst/gstreamer-docs.sgml:
19317 * docs/libs/gstreamer-libs-docs.sgml:
19318 added deprecation and since indexes
19319 * libs/gst/controller/gst-controller.c:
19320 * libs/gst/controller/gst-helper.c:
19324 2005-08-11 Wim Taymans <wim@fluendo.com>
19326 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19327 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19328 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19329 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19330 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19331 (gst_ghost_pad_set_target):
19332 Actually implement (re)setting the target on a ghostpad
19333 as described in the docs.
19335 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19337 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19338 Check whether GST_DEBUG_NO_COLOR environment variable is
19339 set and disable coloured debug output if that is the case.
19341 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19343 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19344 (gst_type_find_helper):
19345 The memory returned by gst_type_find_peek() needs to
19346 stay valid until the end of a typefind function, and
19347 typefind functions may keep results from different
19348 offsets around, so we can't just unref the buffer from
19349 the previous _peek(), but have to save all buffers
19350 returned by _peek() until typefinding is done and only
19353 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19355 * docs/gst/gstreamer-sections.txt:
19357 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19359 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19361 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19362 Fix a pretty good memleak.
19364 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19366 * gst/gstiterator.h:
19367 Fix wrong include and 'make distcheck'.
19369 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19371 * gst/gstbin.c: (bin_bus_handler):
19372 Use gst_element_post_message() instead.
19374 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19376 * gst/base/gstadapter.h:
19377 * gst/base/gstbasesink.h:
19378 * gst/base/gstbasesrc.h:
19379 * gst/base/gstbasetransform.h:
19380 * gst/base/gstcollectpads.h:
19381 * gst/base/gstpushsrc.h:
19382 * gst/gstiterator.h:
19383 Add padding to our base elements' class and instance structs and
19384 to GstIterator (you will need to rebuild all plugins and apps!)
19386 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19388 * gst/gstbin.c: (bin_bus_handler):
19389 Make default message forwarding from child->bus to bin->bus
19390 threadsafe and make it not emit warnings if the parent has no bus.
19392 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19394 * gst/gstelement.c: (activate_pads):
19395 On paused->ready, set pad->caps to NULL, as is the documented
19396 behaviour in this state change. Fixes playback of series of
19397 media files when visualization is enabled in Totem.
19399 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19401 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19402 Allow NULL as filter-caps (which means "any").
19404 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19406 * docs/libs/gstreamer-libs-sections.txt:
19407 * libs/gst/controller/gst-controller.c:
19408 * libs/gst/controller/gst-controller.h:
19409 * libs/gst/controller/gst-helper.c:
19410 adding more entries to the docs and fix small doc-bugs
19412 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19414 * docs/gst/gstreamer-docs.sgml:
19415 * docs/gst/gstreamer-sections.txt:
19416 * docs/gst/gstreamer.types:
19417 * docs/gst/tmpl/gstbasesink.sgml:
19418 * docs/gst/tmpl/gstbasesrc.sgml:
19419 * docs/gst/tmpl/gstbasetransform.sgml:
19420 * docs/gst/tmpl/gstfakesrc.sgml:
19421 * gst/base/gstcollectpads.c:
19422 * gst/base/gstcollectpads.h:
19423 * libs/gst/controller/gst-controller.c:
19424 * libs/gst/controller/gst-controller.h:
19425 * libs/gst/controller/gst-helper.c:
19426 * libs/gst/controller/gst-interpolation.c:
19427 * libs/gst/controller/lib.c:
19428 added long/short desc for controller docs
19429 added collectpads base class docs
19430 added correct includes to base-class docs
19432 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19434 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19435 (gst_test_mono_source_set_property),
19436 (gst_test_mono_source_class_init), (GST_START_TEST),
19437 (gst_controller_suite):
19438 * docs/gst/gstreamer-docs.sgml:
19439 * docs/gst/gstreamer-sections.txt:
19440 * docs/gst/gstreamer.types:
19441 * docs/libs/gstreamer-libs-docs.sgml:
19442 * docs/libs/gstreamer-libs-sections.txt:
19443 * gst/base/gstadapter.c:
19444 * libs/gst/controller/gst-controller.c:
19445 (gst_controlled_property_new), (gst_controlled_property_free),
19446 (gst_controller_new_valist),
19447 (gst_controller_remove_properties_valist),
19448 (gst_controller_sink_values), (_gst_controller_finalize):
19449 * libs/gst/controller/gst-controller.h:
19450 * libs/gst/controller/gst-helper.c:
19451 (gst_object_control_properties), (gst_object_uncontrol_properties),
19452 (gst_object_get_controller), (gst_object_set_controller),
19453 (gst_object_sink_values), (gst_object_get_value_arrays),
19454 (gst_object_get_value_array):
19455 more tests (and fixes) for the controller
19456 more docs for the controller
19457 integrated companies docs for the adapter
19459 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19461 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19462 (GST_START_TEST), (fakesrc_suite):
19463 add tests for sizetype
19465 2005-08-04 Andy Wingo <wingo@pobox.com>
19467 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19468 fixes buffer_alloc proxying among other things.
19470 * gst/base/gstbasetransform.c:
19471 * gst/base/gstbasetransform.h:
19472 Revert patch to gstbasetransform from 7-28 removing
19475 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19476 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19477 Semantics changed, should return not the size of the output buffer
19478 but the byte size of a buffer with a given caps.
19480 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19482 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19483 out) are not the pad caps until setcaps finishes.
19484 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19485 not-in-place case as well. Deal with changing from in-place to
19486 not-in-place within calling pad_alloc_buffer. Still a bit
19487 concerned about the overhead here...
19489 2005-08-03 Andy Wingo <wingo@pobox.com>
19491 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19492 fixating is an error.
19494 2005-08-04 Edward Hervey <edward@fluendo.com>
19496 * gst/base/gstadapter.h:
19497 Added gst_adapter_get_type() to the header
19499 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19501 * check/Makefile.am:
19502 * check/gst-libs/controller.c:
19503 * libs/gst/controller/gst-controller.c:
19504 (gst_controller_new_valist):
19505 added check test suite for the controller
19506 * gst/base/gstpushsrc.c:
19509 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19511 * docs/gst/Makefile.am:
19512 * docs/gst/gstreamer-docs.sgml:
19513 * docs/gst/gstreamer-sections.txt:
19514 * docs/gst/gstreamer.types:
19515 * docs/gst/tmpl/gstfakesrc.sgml:
19517 * gst/base/gstbasesink.c:
19518 * gst/base/gstbasesink.h:
19519 * gst/base/gstbasesrc.c:
19520 * gst/base/gstbasesrc.h:
19521 * gst/base/gstbasetransform.c:
19522 * gst/base/gstpushsrc.c:
19523 * gst/base/gstpushsrc.h:
19524 add short/long description docs to base classes
19525 add pushsrc to the docs
19526 remove consolidated doc fragments
19528 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19531 * docs/libs/Makefile.am:
19532 * docs/libs/gstreamer-libs-docs.sgml:
19533 * docs/libs/gstreamer-libs-sections.txt:
19534 * docs/libs/gstreamer-libs.types:
19535 * examples/Makefile.am:
19536 * examples/controller/.cvsignore:
19537 * examples/controller/Makefile.am:
19538 * examples/controller/audio-example.c: (main):
19539 * libs/gst/Makefile.am:
19540 * libs/gst/controller/.cvsignore:
19541 * libs/gst/controller/Makefile.am:
19542 * libs/gst/controller/gst-controller.c:
19543 (on_object_controlled_property_changed), (gst_timed_value_compare),
19544 (gst_timed_value_find),
19545 (gst_controlled_property_set_interpolation_mode),
19546 (gst_controlled_property_new), (gst_controlled_property_free),
19547 (gst_controller_find_controlled_property),
19548 (gst_controller_new_valist), (gst_controller_new),
19549 (gst_controller_remove_properties_valist),
19550 (gst_controller_remove_properties), (gst_controller_set),
19551 (gst_controller_set_from_list), (gst_controller_unset),
19552 (gst_controller_get), (gst_controller_get_all),
19553 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19554 (gst_controller_get_value_array),
19555 (gst_controller_set_interpolation_mode),
19556 (_gst_controller_finalize), (_gst_controller_init),
19557 (_gst_controller_class_init), (gst_controller_get_type):
19558 * libs/gst/controller/gst-controller.h:
19559 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19560 (g_object_uncontrol_properties), (g_object_get_controller),
19561 (g_object_set_controller), (g_object_sink_values),
19562 (g_object_get_value_arrays), (g_object_get_value_array):
19563 * libs/gst/controller/gst-interpolation.c:
19564 (gst_controlled_property_find_timed_value_node),
19565 (interpolate_none_get), (interpolate_trigger_get),
19566 (interpolate_trigger_get_value_array):
19567 * libs/gst/controller/lib.c: (gst_controller_init):
19568 * pkgconfig/Makefile.am:
19569 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19570 * pkgconfig/gstreamer-control.pc.in:
19571 * testsuite/Makefile.am:
19572 * testsuite/controller/.cvsignore:
19573 * testsuite/controller/Makefile.am:
19574 * testsuite/controller/interpolator.c: (main):
19575 added controller code
19576 removed dparam pc files
19578 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19579 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19580 (gst_collectpads_stop):
19581 Broadcast the condition when shutting down, to make sure we wake all
19582 threads up. Shut down pads on finalize, for safety.
19584 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19585 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19586 (gst_base_transform_handle_buffer),
19587 (gst_base_transform_change_state):
19588 Handle PAUSED->READY->PAUSED transition after negotiation
19590 * gst/gstmessage.c: (gst_message_init):
19591 Extra piece of debug for new messages.
19593 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19596 * docs/gst/tmpl/gstbasesrc.sgml:
19597 * docs/gst/tmpl/gstelement.sgml:
19598 * docs/gst/tmpl/gstevent.sgml:
19599 * docs/gst/tmpl/gstfakesrc.sgml:
19600 * docs/gst/tmpl/gstformat.sgml:
19601 * docs/gst/tmpl/gstghostpad.sgml:
19602 * docs/gst/tmpl/gstpad.sgml:
19603 * docs/gst/tmpl/gstquery.sgml:
19604 * docs/gst/tmpl/gststructure.sgml:
19605 * docs/gst/tmpl/gsttaglist.sgml:
19606 * docs/gst/tmpl/gstvalue.sgml:
19607 * docs/libs/gstreamer-libs-docs.sgml:
19608 * docs/libs/gstreamer-libs-sections.txt:
19609 * docs/libs/gstreamer-libs.types:
19610 * libs/gst/Makefile.am:
19611 * libs/gst/control/.cvsignore:
19612 * libs/gst/control/Makefile.am:
19613 * libs/gst/control/control.c:
19614 * libs/gst/control/control.h:
19615 * libs/gst/control/dparam.c:
19616 * libs/gst/control/dparam.h:
19617 * libs/gst/control/dparam_smooth.c:
19618 * libs/gst/control/dparam_smooth.h:
19619 * libs/gst/control/dparamcommon.h:
19620 * libs/gst/control/dparammanager.c:
19621 * libs/gst/control/dparammanager.h:
19622 * libs/gst/control/dplinearinterp.c:
19623 * libs/gst/control/dplinearinterp.h:
19624 * libs/gst/control/unitconvert.c:
19625 * libs/gst/control/unitconvert.h:
19626 * testsuite/Makefile.am:
19627 * testsuite/dynparams/.cvsignore:
19628 * testsuite/dynparams/Makefile.am:
19629 * testsuite/dynparams/dparamstest.c:
19630 * tools/Makefile.am:
19631 * tools/gst-inspect.c: (print_element_info), (main):
19632 * tools/gst-xmlinspect.c: (print_element_info), (main):
19633 deactivate and remove dparams (libgstcontrol)
19635 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19637 * gst/elements/gsttypefindelement.c:
19638 (gst_type_find_element_have_type), (gst_type_find_element_init),
19639 (stop_typefinding), (gst_type_find_element_handle_event),
19640 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19641 * gst/elements/gsttypefindelement.h:
19642 Set caps on all outgoing buffers, not just the first one.
19644 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19646 * gst/elements/gsttypefindelement.c:
19647 (gst_type_find_element_have_type),
19648 (gst_type_find_element_check_set_buffer_caps),
19649 (gst_type_find_element_init), (stop_typefinding),
19650 (gst_type_find_element_handle_event),
19651 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19652 * gst/elements/gsttypefindelement.h:
19653 Set caps on first outgoing buffer when we've found the type.
19655 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19657 * docs/gst/gstreamer-docs.sgml:
19658 * docs/gst/gstreamer-sections.txt:
19659 * docs/gst/tmpl/gstscheduler.sgml:
19660 * docs/gst/tmpl/gstschedulerfactory.sgml:
19661 Remove some old cruft from docs.
19663 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19666 Fix inline docs for GstPadLinkReturn.
19668 * gst/gststructure.c: (gst_structure_has_name):
19669 * gst/gststructure.h:
19670 * docs/gst/gstreamer-sections.txt:
19671 New API: gst_structure_has_name().
19673 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19676 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19677 and _LARGEFILE_SOURCE in config.h as required. Do not
19678 export those flags in our .pc files any longer (#142209).
19680 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19682 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19683 (gst_file_sink_do_seek), (gst_file_sink_event),
19684 (gst_file_sink_get_current_offset), (gst_file_sink_render):
19685 Redo seek/tell calls with large file support in mind; add some
19686 debugging messages; add log message that tells us when large
19687 file support is unavailable or not enabled for some reason.
19689 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19690 Add log message that tells us when large file support
19691 is unavailable or not enabled for some reason.
19693 2005-07-29 Wim Taymans <wim@fluendo.com>
19695 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19696 Added test for removing an element with ghostpad from a bin.
19697 Fixed test as current implementation does the right thing.
19699 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19700 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19701 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19702 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19703 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19704 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19705 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19706 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19707 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19708 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19709 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19710 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19711 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19712 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19713 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19714 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19715 * gst/gstghostpad.h:
19716 Clean up ghostpads, remove properties for internal stuff.
19719 Prepare for switching targets, not all use cases work yet.
19721 2005-07-29 Wim Taymans <wim@fluendo.com>
19723 * docs/design/part-gstghostpad.txt:
19726 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19727 (gst_bin_remove_func):
19728 Unlinking pads while holding the bin LOCK is not a good
19731 * gst/gstpad.c: (gst_pad_class_init),
19732 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19733 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19734 No prob setting template after creating the pad.
19736 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
19738 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19739 (gst_bus_peek), (gst_bus_source_dispatch),
19740 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19741 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19742 gst_bus_poll may be called from other threads. Handle
19743 this nicely by not making poll_data disappear off the
19744 stack once gst_bus_poll returns.
19745 gst_bus_peek now increments the refcount on the returned
19748 2005-07-29 Wim Taymans <wim@fluendo.com>
19750 * docs/design/part-gstghostpad.txt:
19751 Overview of current GhostPad datastructures and use
19752 cases for changing the target.
19754 2005-07-28 Wim Taymans <wim@fluendo.com>
19756 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19757 Added checks for hierarchy consistency whan adding linked
19760 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19761 Added check to test element scheduling without bin/pipeline.
19763 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19764 First add elements to bin, then link.
19766 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19767 (gst_bin_remove_func):
19768 Unlink pads from elements added/removed from bin to maintain
19769 hierarchy consistency.
19771 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19773 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19774 (gst_base_transform_handle_buffer):
19775 * gst/base/gstbasetransform.h:
19776 Remove broken delay_configure (fixes renegotiation of software
19777 scaling pipelines); remove some leftover printf()s.
19779 2005-07-28 Wim Taymans <wim@fluendo.com>
19781 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19782 Added some more tests for wrong hierarchy
19784 * docs/design/part-overview.txt:
19787 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
19790 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
19791 (gst_element_dispose):
19792 Some more cleanups.
19794 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
19795 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
19796 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19797 (gst_pad_set_caps), (gst_pad_send_event):
19798 Check for correct hierarchy when linking pads. Moving to
19799 strict requirement for ghostpads when linking elements in
19803 Clean ups. Added WRONG_HIERARCHY return value.
19805 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19807 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19808 Better debug if no transform is possible.
19810 2005-07-27 Wim Taymans <wim@fluendo.com>
19812 * docs/random/wtay/network-transp:
19813 Some old doc I had.
19815 2005-07-27 Wim Taymans <wim@fluendo.com>
19817 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19818 (gst_dp_event_from_packet):
19819 Fix serialization of seek events.
19821 2005-07-27 Wim Taymans <wim@fluendo.com>
19823 * check/gst-libs/gdp.c: (GST_START_TEST):
19824 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19825 Fix compilation and fix event serialization.
19827 2005-07-27 Wim Taymans <wim@fluendo.com>
19830 * docs/design/part-TODO.txt:
19831 * docs/design/part-events.txt:
19834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19835 (gst_base_sink_event), (gst_base_sink_do_sync),
19836 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19837 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19838 (gst_base_src_do_seek), (gst_base_src_event_handler),
19839 (gst_base_src_loop):
19840 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19841 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19842 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19843 (gst_base_transform_event), (gst_base_transform_handle_buffer),
19844 (gst_base_transform_set_passthrough),
19845 (gst_base_transform_is_passthrough):
19846 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19847 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19853 * gst/gstelement.c: (gst_element_seek):
19854 * gst/gstelement.h:
19855 Update gst_element_seek.
19857 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
19858 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
19859 (gst_event_new_flush_start), (gst_event_new_flush_stop),
19860 (gst_event_new_eos), (gst_event_new_newsegment),
19861 (gst_event_parse_newsegment), (gst_event_new_tag),
19862 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
19863 (gst_event_parse_qos), (gst_event_new_seek),
19864 (gst_event_parse_seek), (gst_event_new_navigation):
19866 Make GstEvent use GstStructure. Add parsing code, make sure the
19867 API is sufficiently generic.
19868 Mark possible directions of events and serialization.
19870 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
19871 (_gst_message_copy), (gst_message_new_segment_start),
19872 (gst_message_new_segment_done), (gst_message_new_custom),
19873 (gst_message_parse_segment_start),
19874 (gst_message_parse_segment_done):
19877 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19878 (gst_pad_set_caps), (gst_pad_send_event):
19879 Update for new events.
19880 Catch events sent in wrong directions.
19882 * gst/gstqueue.c: (gst_queue_link_src),
19883 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
19884 (gst_queue_handle_src_query):
19889 Remove event code from this file.
19891 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19892 (gst_dp_event_from_packet):
19895 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19897 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
19898 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19899 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
19900 Make debugging actually useful.
19902 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19904 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
19905 (gst_pad_fixate_caps):
19906 Implement default fixation once again, so that gst_pad_fixate()
19907 actually does anything at all. This probably needs to be some
19908 sort of a last resort, and use profile-based fixation first, but
19909 since that doesn't exist yet, this is the best we have. Fixes
19910 visualization in Totem.
19912 2005-07-22 Wim Taymans <wim@fluendo.com>
19914 * docs/design/part-events.txt:
19917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19918 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
19919 (gst_base_sink_activate_pull):
19920 Some more comments.
19922 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
19923 (gst_fake_src_create):
19924 Fix handoff marshall.
19926 * gst/elements/gstidentity.c: (gst_identity_class_init),
19927 (gst_identity_transform_ip):
19928 We're a real inplace element.
19930 * gst/gstbus.c: (gst_bus_post):
19931 Added some comments.
19933 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
19934 * tests/muxing/case1.c: (main):
19935 * tests/sched/dynamic-pipeline.c: (main):
19936 * tests/sched/interrupt1.c: (main):
19937 * tests/sched/interrupt2.c: (main):
19938 * tests/sched/interrupt3.c: (main):
19939 * tests/sched/runxml.c: (main):
19940 * tests/sched/sched-stress.c: (main):
19941 * tests/seeking/seeking1.c: (event_received), (main):
19942 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19944 * tests/threadstate/threadstate3.c: (main):
19945 * tests/threadstate/threadstate4.c: (main):
19946 * tests/threadstate/threadstate5.c: (main):
19949 2005-07-21 Wim Taymans <wim@fluendo.com>
19951 * docs/design/part-seeking.txt:
19952 Some small additions.
19954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19955 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19956 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19957 * gst/base/gstbasesink.h:
19958 discont values are gint64, handle the math correctly.
19960 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19961 Make the basesrc report error if the source pad is not linked.
19963 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19964 (gst_queue_loop), (gst_queue_handle_src_query),
19965 (gst_queue_src_activate_push):
19966 Make queue collect data even if the srcpad is not linked.
19967 Start pushing out data as soon as it is linked.
19969 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
19971 Added gst_flow_get_name() to ease error reporting.
19973 2005-07-20 Wim Taymans <wim@fluendo.com>
19975 * gst/gstmessage.c: (gst_message_new_segment_start),
19976 (gst_message_new_segment_done), (gst_message_parse_segment_start),
19977 (gst_message_parse_segment_done):
19978 * gst/gstmessage.h:
19979 Added a bunch of messages for advanced seeking.
19981 * gst/parse/grammar.y:
19982 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
19983 (gst_dpman_state_changed):
19984 Fix some new-pad -> pad-added signals
19986 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19988 * docs/manual/appendix-porting.xml:
19989 * docs/pwg/appendix-porting.xml:
19990 Document new-pad/state-change signal renames and the FixedList
19993 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19995 * docs/manual/advanced-autoplugging.xml:
19996 * docs/manual/basics-helloworld.xml:
19997 * docs/manual/basics-pads.xml:
19998 * docs/random/ds/0.9-suggested-changes:
19999 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20000 * gst/gstelement.h:
20004 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20005 (gst_structure_parse_array), (gst_structure_parse_value):
20006 * gst/gstvalue.c: (gst_type_is_fixed),
20007 (gst_value_list_prepend_value), (gst_value_list_append_value),
20008 (gst_value_list_get_size), (gst_value_list_get_value),
20009 (gst_value_transform_array_string), (gst_value_serialize_array),
20010 (gst_value_deserialize_array), (gst_value_intersect_array),
20011 (gst_value_is_fixed), (_gst_value_initialize):
20013 GstElement::new-pad -> pad-added, GstElement::state-change ->
20014 state-changed, GstValueFixedList -> GstValueArray, add format and
20015 flags as their own arguments in gst_element_seek() (should improve
20016 "bindeability"), remove function generators since they don't work
20017 under a whole bunch of compilers (they were deprecated already
20020 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20022 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20023 (_gst_debug_register_funcptr):
20025 Fix illegal cast on some platforms (#309253).
20027 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20029 * gst/gstmessage.c: (gst_message_new_custom):
20030 * gst/gstmessage.h:
20031 Add _new_custom, make _new_application a macro to _new_custom.
20033 2005-07-20 Wim Taymans <wim@fluendo.com>
20035 * gst/base/gstbasesrc.c: (gst_base_src_init),
20036 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20037 * gst/base/gstbasesrc.h:
20038 Add a gboolean to decide when to push out a discont.
20040 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20041 (gst_queue_loop), (gst_queue_handle_src_query),
20042 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20043 (gst_queue_set_property), (gst_queue_get_property):
20046 * tests/threadstate/threadstate1.c: (main):
20047 Make a thread test compile and run... very silly..
20050 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20052 * docs/manual/appendix-porting.xml:
20053 Mention removal of libgstgconf-0.9.la and existence of gconf
20056 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20058 * docs/pwg/advanced-clock.xml:
20059 * docs/pwg/appendix-porting.xml:
20060 * docs/pwg/intro-preface.xml:
20061 * docs/pwg/other-base.xml:
20062 * docs/pwg/other-manager.xml:
20063 * docs/pwg/other-nton.xml:
20064 * docs/pwg/other-ntoone.xml:
20065 * docs/pwg/other-oneton.xml:
20066 * docs/pwg/pwg.xml:
20067 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20068 demuxer), remove n-to-n (was never written), fix some code examples
20069 and links and update the porting section to include all this.
20071 2005-07-19 Wim Taymans <wim@fluendo.com>
20073 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20074 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20075 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20076 (gst_queue_src_activate_push), (gst_queue_change_state),
20077 (gst_queue_get_property):
20079 Propagate GstFlowReturn more intelligently upstream and output
20080 an ERROR/EOS when streaming stopped due to fatal error.
20082 2005-07-19 Wim Taymans <wim@fluendo.com>
20084 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20085 Don't block forever for the state change to complete, the
20086 pipeline already did with a sensible timeout.
20088 2005-07-19 Wim Taymans <wim@fluendo.com>
20090 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20091 Make sure we never call the create function is we
20094 2005-07-19 Andy Wingo <wingo@pobox.com>
20096 * gst/parse/parse.l: Attempt to solve bug #172815.
20098 2005-07-19 Wim Taymans <wim@fluendo.com>
20100 * docs/design/part-clocks.txt:
20101 * docs/design/part-events.txt:
20102 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20103 Small docs updates.
20104 Only update the seeking values when we are not
20107 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20109 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20110 Oops, ignore the result of gst_pad_push_event here.
20112 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20114 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20115 (gst_base_src_activate_push):
20116 Send discont event from the loop function, as pads
20117 aren't activated yet in the activate_push handler.
20119 * gst/gstbin.c: (bin_bus_handler):
20120 Don't leak element name.
20122 2005-07-18 Andy Wingo <wingo@pobox.com>
20124 * configure.ac: Use AS_LIBTOOL_TAGS.
20126 2005-07-18 Wim Taymans <wim@fluendo.com>
20128 * docs/gst/gstreamer.types:
20129 Remove deleted types.
20131 2005-07-18 Wim Taymans <wim@fluendo.com>
20133 * check/elements/gstfakesrc.c: (GST_START_TEST):
20136 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20137 (init_popt_callback):
20139 * gst/gst_private.h:
20140 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20141 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20144 * gst/gstconfig.h.in:
20145 * gst/gstelement.c: (gst_element_class_init),
20146 (gst_element_set_base_time), (gst_element_get_base_time),
20147 (iterator_fold_with_resync), (gst_element_change_state),
20148 (gst_element_dispose), (gst_element_get_bus):
20149 * gst/gstelement.h:
20150 * gst/gstelementfactory.h:
20151 * gst/gsterror.c: (_gst_core_errors_init):
20154 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20156 * gst/gstinfo.c: (_gst_debug_init):
20157 * gst/gstmessage.c: (_gst_message_copy):
20158 * gst/gstmessage.h:
20159 * gst/gstminiobject.h:
20162 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20163 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20166 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20167 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20168 (gst_pipeline_get_last_stream_time):
20169 * gst/gstpipeline.h:
20170 * gst/gstpluginfeature.h:
20172 * gst/gstscheduler.c:
20173 * gst/gstscheduler.h:
20174 * gst/gststructure.h:
20175 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20176 (gst_task_finalize), (gst_task_func), (gst_task_create),
20177 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20178 (gst_task_stop), (gst_task_pause):
20180 * gst/gsttypefind.h:
20182 * gst/registries/gstlibxmlregistry.c: (load_feature),
20183 (gst_xml_registry_load), (gst_xml_registry_save_feature):
20184 * gst/registries/gstxmlregistry.c:
20185 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20186 * gst/schedulers/threadscheduler.c:
20187 * libs/gst/control/dparammanager.h:
20188 * tools/gst-inspect.c: (print_element_list),
20189 (print_plugin_features), (print_element_features):
20190 * tools/gst-xmlinspect.c: (print_element_list),
20191 (print_plugin_info), (main):
20192 Removed plugable schedulers.
20193 Removed Scheduler/Manager from elements.
20194 Removed gsttypes.h, rearranged includes.
20195 Removed dependency pad<->element, element<>pipeline, and
20196 various others, fix includes.
20197 implement gst_pad_get_parent() with gst_object_get_parent()
20198 Make GstTask sefcontained.
20199 Fix _get_state() on GstBin, it did not return ASYNC with a 0
20201 Fix endless loop in iterator_fold_with_resync.
20204 2005-07-18 Wim Taymans <wim@fluendo.com>
20210 2005-07-18 Wim Taymans <wim@fluendo.com>
20213 No more cothreads.h
20215 2005-07-18 Wim Taymans <wim@fluendo.com>
20219 Let's remove these.
20221 2005-07-18 Wim Taymans <wim@fluendo.com>
20223 * docs/design/part-dynamic.txt:
20224 * docs/design/part-events.txt:
20225 * docs/design/part-seeking.txt:
20226 Some more docs in the works.
20228 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20229 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20230 (gst_base_transform_setcaps), (gst_base_transform_get_size),
20231 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20232 (gst_base_transform_handle_buffer),
20233 (gst_base_transform_sink_activate_push),
20234 (gst_base_transform_src_activate_pull),
20235 (gst_base_transform_set_passthrough),
20236 (gst_base_transform_is_passthrough):
20239 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20242 * gst/gstevent.c: (gst_event_finalize):
20245 * gst/gstutils.c: (gst_element_unlink),
20246 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20247 (gst_pad_proxy_setcaps):
20249 Add _get_parent_element() to get a pads parent as an element.
20251 2005-07-18 Wim Taymans <wim@fluendo.com>
20253 * check/gst/gstbin.c: (GST_START_TEST):
20256 2005-07-18 Wim Taymans <wim@fluendo.com>
20258 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20259 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20260 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20261 (gst_base_sink_event), (gst_base_sink_do_sync),
20262 (gst_base_sink_chain), (gst_base_sink_loop),
20263 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20264 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20266 Fix logic for returning ASYNC when not prerolled.
20268 2005-07-18 Wim Taymans <wim@fluendo.com>
20270 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20271 Fix nasty refcount bug.
20273 2005-07-16 Philippe Khalaf <burger@speedy.org>
20275 * gst/elements/gstfdsrc.c:
20276 * gst/elements/gstfdsrc.h:
20277 * gst/elements/gstelements.c:
20278 * gst/elements/Makefile.am:
20279 Ported fdsrc to 0.9.
20281 2005-07-16 Wim Taymans <wim@fluendo.com>
20283 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20284 (gst_base_sink_do_sync):
20287 2005-07-16 Wim Taymans <wim@fluendo.com>
20289 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20290 (gst_base_sink_event), (gst_base_sink_get_times),
20291 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20292 * gst/base/gstbasesink.h:
20293 Store and use discont values when syncing buffers as described
20296 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20297 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20298 (gst_base_src_activate_push):
20299 Push discont event when starting.
20301 * gst/elements/gstidentity.c: (gst_identity_transform):
20304 * gst/gstbin.c: (gst_bin_change_state):
20305 Small cleanups in base_time distribution.
20307 * gst/gstelement.c: (gst_element_set_base_time),
20308 (gst_element_get_base_time), (gst_element_change_state):
20309 * gst/gstelement.h:
20310 Added methods for the base_time of the element.
20313 * gst/gstpipeline.c: (gst_pipeline_send_event),
20314 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20315 (gst_pipeline_get_last_stream_time):
20316 * gst/gstpipeline.h:
20318 Handle seeking as described in design doc, remove stream_time
20320 Cleanups clock and stream_time selection code. Added accessors
20321 for the stream_time.
20324 2005-07-16 Andy Wingo <wingo@pobox.com>
20326 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20329 2005-07-16 Wim Taymans <wim@fluendo.com>
20331 * check/gst/gstbin.c: (GST_START_TEST):
20332 Make elements silent as the deep_notify refs the
20333 parent, which might make the test fail.
20335 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20336 Don't hold the lock for too long.
20338 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20340 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20341 Don't unref the caps we passed to gst_caps_make_writable() after
20342 passing them. gst_caps_make_writable() will do that for us.
20344 2005-07-15 Andy Wingo <wingo@pobox.com>
20346 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20349 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20350 own marshalling function for the handoff signal. Properly type the
20351 buffer as a buffer. Fixes some warnings. Should do a more general
20353 (gst_identity_class_init): Plug into the right marshaller.
20355 2005-07-15 Wim Taymans <wim@fluendo.com>
20357 * docs/design/part-TODO.txt:
20358 * docs/design/part-clocks.txt:
20359 * docs/design/part-element-sink.txt:
20360 * docs/design/part-events.txt:
20361 * docs/design/part-gstpipeline.txt:
20362 Updated docs, mostly DISCONT related.
20364 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20366 * docs/pwg/building-pads.xml:
20367 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20369 2005-07-15 Andy Wingo <wingo@pobox.com>
20371 * tools/gst-typefind.c: Update, add copyright block.
20373 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20374 Normalize and truncate caps before fixation.
20377 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20378 discards all but the first structure from its argument.
20380 2005-07-15 Wim Taymans <wim@fluendo.com>
20382 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20383 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20384 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20385 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20386 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20387 (gst_base_transform_chain), (gst_base_transform_change_state),
20388 (gst_base_transform_set_passthrough),
20389 (gst_base_transform_is_passthrough):
20390 * gst/base/gstbasetransform.h:
20391 Make passthrough work using the bufferpools.
20392 Changed API a bit, subclasses have to write into a buffer
20393 provided by the base class.
20394 More debug info in nego functions.
20396 * gst/elements/gstidentity.c: (gst_identity_init),
20397 (gst_identity_transform):
20398 Port to new base class.
20400 2005-07-15 Wim Taymans <wim@fluendo.com>
20402 * gst/gstmessage.c: (gst_message_new_state_changed):
20403 * tools/gst-launch.c: (event_loop), (main):
20404 Totally dump messages in -launch with the -m option.
20405 Fix message name for State messages,
20407 2005-07-14 Wim Taymans <wim@fluendo.com>
20409 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20410 Post error messages on errors.
20412 2005-07-14 Wim Taymans <wim@fluendo.com>
20414 * gst/gstcaps.c: (gst_caps_do_simplify):
20418 Define error for stream stopped.
20420 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20421 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20422 Do proper return values.
20424 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20425 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20426 (gst_pad_get_range):
20427 Better return values.
20430 Reorganise return values, add macro to check for fatal errors.
20432 * gst/gstqueue.c: (gst_queue_chain):
20433 Return proper GstFlowReturn values,
20435 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20437 * docs/gst/gstreamer-sections.txt:
20438 * docs/gst/gstreamer.types:
20439 * docs/gst/tmpl/gst.sgml:
20440 * docs/gst/tmpl/gstbasesink.sgml:
20441 * docs/gst/tmpl/gstbasesrc.sgml:
20442 * docs/gst/tmpl/gstbasetransform.sgml:
20443 * docs/gst/tmpl/gstbin.sgml:
20444 * docs/gst/tmpl/gstbuffer.sgml:
20445 * docs/gst/tmpl/gstcaps.sgml:
20446 * docs/gst/tmpl/gstclock.sgml:
20447 * docs/gst/tmpl/gstcompat.sgml:
20448 * docs/gst/tmpl/gstconfig.sgml:
20449 * docs/gst/tmpl/gstelement.sgml:
20450 * docs/gst/tmpl/gstelementdetails.sgml:
20451 * docs/gst/tmpl/gstelementfactory.sgml:
20452 * docs/gst/tmpl/gstenumtypes.sgml:
20453 * docs/gst/tmpl/gsterror.sgml:
20454 * docs/gst/tmpl/gstevent.sgml:
20455 * docs/gst/tmpl/gstfakesink.sgml:
20456 * docs/gst/tmpl/gstfakesrc.sgml:
20457 * docs/gst/tmpl/gstfilesink.sgml:
20458 * docs/gst/tmpl/gstfilesrc.sgml:
20459 * docs/gst/tmpl/gstfilter.sgml:
20460 * docs/gst/tmpl/gstformat.sgml:
20461 * docs/gst/tmpl/gstghostpad.sgml:
20462 * docs/gst/tmpl/gstimplementsinterface.sgml:
20463 * docs/gst/tmpl/gstindex.sgml:
20464 * docs/gst/tmpl/gstindexfactory.sgml:
20465 * docs/gst/tmpl/gstinfo.sgml:
20466 * docs/gst/tmpl/gstiterator.sgml:
20467 * docs/gst/tmpl/gstmacros.sgml:
20468 * docs/gst/tmpl/gstmemchunk.sgml:
20469 * docs/gst/tmpl/gstminiobject.sgml:
20470 * docs/gst/tmpl/gstobject.sgml:
20471 * docs/gst/tmpl/gstpad.sgml:
20472 * docs/gst/tmpl/gstpadtemplate.sgml:
20473 * docs/gst/tmpl/gstparse.sgml:
20474 * docs/gst/tmpl/gstpipeline.sgml:
20475 * docs/gst/tmpl/gstplugin.sgml:
20476 * docs/gst/tmpl/gstpluginfeature.sgml:
20477 * docs/gst/tmpl/gstquery.sgml:
20478 * docs/gst/tmpl/gstqueue.sgml:
20479 * docs/gst/tmpl/gstregistry.sgml:
20480 * docs/gst/tmpl/gstregistrypool.sgml:
20481 * docs/gst/tmpl/gstscheduler.sgml:
20482 * docs/gst/tmpl/gstschedulerfactory.sgml:
20483 * docs/gst/tmpl/gststructure.sgml:
20484 * docs/gst/tmpl/gstsystemclock.sgml:
20485 * docs/gst/tmpl/gsttaglist.sgml:
20486 * docs/gst/tmpl/gsttagsetter.sgml:
20487 * docs/gst/tmpl/gsttrace.sgml:
20488 * docs/gst/tmpl/gsttrashstack.sgml:
20489 * docs/gst/tmpl/gsttypefind.sgml:
20490 * docs/gst/tmpl/gsttypefindfactory.sgml:
20491 * docs/gst/tmpl/gsttypes.sgml:
20492 * docs/gst/tmpl/gsturihandler.sgml:
20493 * docs/gst/tmpl/gsturitype.sgml:
20494 * docs/gst/tmpl/gstutils.sgml:
20495 * docs/gst/tmpl/gstvalue.sgml:
20496 * docs/gst/tmpl/gstversion.sgml:
20497 * docs/gst/tmpl/gstxml.sgml:
20498 * docs/libs/tmpl/gstcontrol.sgml:
20499 * docs/libs/tmpl/gstdataprotocol.sgml:
20500 * docs/libs/tmpl/gstdparam.sgml:
20501 * docs/libs/tmpl/gstdplinint.sgml:
20502 * docs/libs/tmpl/gstdpman.sgml:
20503 * docs/libs/tmpl/gstdpsmooth.sgml:
20504 * docs/libs/tmpl/gstgetbits.sgml:
20505 * docs/libs/tmpl/gstunitconvert.sgml:
20506 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20507 (gst_push_src_base_init), (gst_push_src_class_init),
20508 (gst_push_src_init), (gst_push_src_create):
20509 * gst/base/gstpushsrc.h:
20510 * gst/elements/gstelements.c:
20511 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20512 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20513 (gst_fake_sink_init), (gst_fake_sink_set_property),
20514 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20515 (gst_fake_sink_event), (gst_fake_sink_preroll),
20516 (gst_fake_sink_render), (gst_fake_sink_change_state):
20517 * gst/elements/gstfakesink.h:
20518 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20519 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20520 (gst_fake_src_base_init), (gst_fake_src_class_init),
20521 (gst_fake_src_init), (gst_fake_src_event_handler),
20522 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20523 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20524 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20525 (gst_fake_src_create_buffer), (gst_fake_src_create),
20526 (gst_fake_src_start), (gst_fake_src_stop):
20527 * gst/elements/gstfakesrc.h:
20528 * gst/elements/gstfilesink.c: (_do_init),
20529 (gst_file_sink_base_init), (gst_file_sink_class_init),
20530 (gst_file_sink_init), (gst_file_sink_dispose),
20531 (gst_file_sink_set_location), (gst_file_sink_set_property),
20532 (gst_file_sink_get_property), (gst_file_sink_open_file),
20533 (gst_file_sink_close_file), (gst_file_sink_query),
20534 (gst_file_sink_event), (gst_file_sink_render),
20535 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20536 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20537 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20538 * gst/elements/gstfilesink.h:
20539 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20540 (gst_file_src_class_init), (gst_file_src_init),
20541 (gst_file_src_finalize), (gst_file_src_set_location),
20542 (gst_file_src_set_property), (gst_file_src_get_property),
20543 (gst_file_src_map_region), (gst_file_src_map_small_region),
20544 (gst_file_src_create_mmap), (gst_file_src_create_read),
20545 (gst_file_src_create), (gst_file_src_is_seekable),
20546 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20547 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20548 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20549 (gst_file_src_uri_handler_init):
20550 * gst/elements/gstfilesrc.h:
20551 more autistic cleanliness in functions/names/defines
20553 2005-07-13 Andy Wingo <wingo@pobox.com>
20555 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20556 source couldn't negotiate.
20558 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20562 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20563 function. I am channeling Hades. Put your boots on suckers!!!
20565 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20567 * testsuite/caps/Makefile.am:
20568 * testsuite/caps/value_compare.c:
20569 * testsuite/caps/value_intersect.c:
20570 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20571 move two testsuite apps over to the check dir
20573 2005-07-12 Wim Taymans <wim@fluendo.com>
20575 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20576 Added more debug info in the negotiate process.
20578 * gst/gstmessage.h:
20579 Prepare for segment playback.
20581 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20587 * tools/gst-launch.c: (main):
20588 NULL pipeline on errors.
20590 2005-07-12 Andy Wingo <wingo@pobox.com>
20592 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20593 not it comes from a malloc region. Make sure our copy gets freed.
20595 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20597 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20598 * check/gst/gstmessage.c: (GST_START_TEST):
20599 * check/gst/gststructure.c: (GST_START_TEST),
20600 (gst_structure_suite), (main):
20602 * gst/gstelement.c: (gst_element_message_full):
20603 clean up GError and debug string now that they get copied
20604 * gst/gstmessage.c: (gst_message_new_error),
20605 (gst_message_new_warning), (gst_message_parse_error),
20606 (gst_message_parse_warning):
20607 use GST_TYPE_G_ERROR for structure_new, and take copies of
20608 arguments, so that we don't mess up refcounting
20610 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20612 * check/Makefile.am:
20613 add per-test valgrind targets
20614 * check/gst-libs/gdp.c: (GST_START_TEST),
20615 (gst_data_protocol_suite), (main):
20618 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20620 * check/Makefile.am:
20621 instate more valgrindable tests
20622 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20623 (GST_START_TEST), (fakesrc_suite):
20624 * check/gst/gstpad.c: (GST_START_TEST):
20625 * check/gst/gststructure.c: (GST_START_TEST):
20627 * docs/gst/tmpl/gstminiobject.sgml:
20628 * gst/gstpad.c: (gst_pad_finalize):
20629 fix the static mutex leak
20631 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20633 * check/Makefile.am:
20634 add two more tests for valgrinding
20635 * check/gst/gstvalue.c: (GST_START_TEST):
20636 test refcount of deserialized buffer, found a leak
20637 * docs/gst/gstreamer-docs.sgml:
20638 * docs/gst/gstreamer-sections.txt:
20639 * docs/gst/gstreamer.types:
20640 * docs/gst/tmpl/gstminiobject.sgml:
20641 add miniobject to docs
20642 * gst/gstminiobject.c:
20644 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20645 (gst_string_unwrap):
20646 fix a hard-to-find invalid write for one of the tests
20647 fix a leak for deserialized buffers
20649 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20651 * docs/pwg/advanced-events.xml:
20652 * docs/pwg/advanced-request.xml:
20653 * docs/pwg/advanced-scheduling.xml:
20654 * docs/pwg/appendix-porting.xml:
20655 * docs/pwg/building-boiler.xml:
20656 * docs/pwg/intro-preface.xml:
20657 * docs/pwg/other-ntoone.xml:
20658 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20659 of example code and explanation for pad activation, loop() and
20660 getrange() functions and a bit more. Remove old comments pointing
20662 * examples/pwg/Makefile.am:
20663 Add loop/getrange examples.
20665 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20668 check for valgrind binary + some fixes
20670 valgrind suppressions for the tests
20671 * check/Makefile.am:
20672 add a valgrind: target that valgrinds the unit tests
20673 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20674 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20675 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20676 * check/gst/gstghostpad.c:
20678 * check/gst/gstdata.c:
20680 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20681 (thread_unref), (gst_mini_object_suite), (main):
20683 * gst/gst.c: (gst_deinit):
20685 add a method to clean up.
20686 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20687 (gst_system_clock_obtain):
20688 allow for disposing the system clock.
20689 * tools/gst-launch.c: (main):
20692 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20694 * docs/gst/tmpl/gstbasesrc.sgml:
20695 * docs/gst/tmpl/gstfakesrc.sgml:
20696 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20697 (gst_base_src_init), (gst_base_src_set_property),
20698 (gst_base_src_get_property), (gst_base_src_get_range),
20699 (gst_base_src_start):
20700 * gst/base/gstbasesrc.h:
20701 add num-buffers property
20702 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20703 (gst_fakesrc_init), (gst_fakesrc_set_property),
20704 (gst_fakesrc_get_property), (gst_fakesrc_create),
20705 (gst_fakesrc_start):
20706 remove num-buffers property
20708 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20710 * docs/gst/gstreamer-sections.txt:
20711 * docs/gst/tmpl/gstbasesink.sgml:
20712 * docs/gst/tmpl/gstbasesrc.sgml:
20713 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20714 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20715 (gst_base_sink_finalize), (gst_base_sink_set_clock),
20716 (gst_base_sink_set_property), (gst_base_sink_get_property),
20717 (gst_base_sink_handle_object), (gst_base_sink_event),
20718 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20719 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20720 (gst_base_sink_loop), (gst_base_sink_deactivate),
20721 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20722 (gst_base_sink_change_state):
20723 * gst/base/gstbasesink.h:
20724 * gst/base/gstbasesrc.h:
20725 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20726 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20727 (gst_filesink_init):
20728 more macro splitting
20730 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20732 * gst/gstelement.c: (gst_element_get_bus):
20734 * tools/gst-launch.c: (check_intr), (event_loop):
20737 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20739 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20742 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20744 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20745 (gst_base_src_finalize):
20746 add finalize method and clean up properly
20747 * gst/gstpipeline.c: (gst_pipeline_dispose):
20750 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20752 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20754 add more things to check
20755 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20756 * gst/gstelement.c:
20759 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20761 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20762 (GST_START_TEST), (fakesrc_suite):
20763 * check/gst-libs/gdp.c: (GST_START_TEST):
20764 * check/gst/gst.c: (GST_START_TEST):
20765 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20766 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20767 * check/gst/gstbus.c: (GST_START_TEST):
20768 * check/gst/gstcaps.c: (GST_START_TEST):
20769 * check/gst/gstdata.c: (GST_START_TEST):
20770 * check/gst/gstelement.c: (GST_START_TEST):
20771 * check/gst/gstghostpad.c: (GST_START_TEST):
20772 * check/gst/gstiterator.c: (GST_START_TEST):
20773 * check/gst/gstmessage.c: (GST_START_TEST):
20774 * check/gst/gstobject.c: (GST_START_TEST):
20775 * check/gst/gstpad.c: (GST_START_TEST):
20776 * check/gst/gststructure.c: (GST_START_TEST):
20777 * check/gst/gstsystemclock.c: (GST_START_TEST),
20778 (gst_systemclock_suite):
20779 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20780 * check/gst/gstvalue.c: (GST_START_TEST):
20781 * check/pipelines/cleanup.c: (GST_START_TEST):
20782 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20783 * check/states/sinks.c: (GST_START_TEST):
20784 * check/gstcheck.c: (gst_check_init):
20785 * check/gstcheck.h:
20786 add debugging category
20787 use GST_START_TEST now, so we add a debug line
20789 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20791 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
20792 add test for state change message on a bin
20793 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
20795 * gst/gstbin.c: (gst_bin_init):
20796 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
20797 * gst/gstelement.c: (gst_element_post_message),
20798 (gst_element_set_state):
20799 * gst/gstelementfactory.c: (gst_element_factory_create):
20800 * gst/gstmessage.c: (gst_message_new):
20801 * gst/gstscheduler.c:
20802 various debugging additions and cleanups
20804 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20806 * check/Makefile.am:
20807 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
20809 adding tests for elements
20810 * gst/gstelement.c: (gst_element_dispose):
20812 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20814 * gst/registries/gstlibxmlregistry.c: (load_feature):
20815 plug more leaks. A simple gst_init() now is leakfree, yay.
20817 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20819 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
20820 (gst_xml_registry_load):
20821 plug another memleak
20823 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20826 use GST_SET_ERROR_CFLAGS
20827 * docs/faq/cvs.xml:
20828 change to ERROR_CFLAGS
20830 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20833 make GST_ERROR_CFLAGS overridable and re-enable Werror
20834 * docs/faq/cvs.xml:
20835 add a note about error CFLAGS
20836 * docs/gst/tmpl/gstfakesrc.sgml:
20837 * gst/elements/gstfakesrc.c:
20838 comment out some unused code
20839 * gst/gst.c: (split_and_iterate):
20840 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
20844 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
20846 * common/Makefile.am:
20847 * common/gtk-doc.mak:
20848 * docs/gst/Makefile.am:
20849 factor out gtk-doc.mak
20851 2005-07-07 Wim Taymans <wim@fluendo.com>
20853 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
20854 (gst_thread_scheduler_dispose):
20855 Unlock the STREAM_LOCK completely.
20857 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
20859 * check/Makefile.am:
20860 * check/elements/.cvsignore:
20861 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20862 (START_TEST), (fakesrc_suite), (main):
20863 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20864 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
20865 (gst_fakesrc_create), (gst_fakesrc_start):
20866 * gst/elements/gstfakesrc.h:
20867 adding a first element test
20869 2005-07-07 Andy Wingo <wingo@pobox.com>
20871 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
20874 2005-07-07 Wim Taymans <wim@fluendo.com>
20880 2005-07-07 Wim Taymans <wim@fluendo.com>
20882 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20883 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
20884 Allow subclasses to implement their own negotiation.
20886 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20888 * docs/design/part-gstbin.txt:
20889 * docs/design/part-gstpipeline.txt:
20890 Update design notes to reflect the movement of
20891 responsibility for bus handling from GstPipeline to
20894 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20897 Remove unnecessary queue2/3/4 examples.
20899 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20901 * examples/Makefile.am:
20902 * examples/helloworld/helloworld.c: (event_loop), (main):
20903 * examples/queue/queue.c: (event_loop), (main):
20904 * examples/queue2/queue2.c: (main):
20905 Update a couple of the examples to work again.
20907 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20908 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
20909 Spelling corrections and extra debug.
20911 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
20912 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
20913 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
20915 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20916 (gst_pipeline_change_state):
20917 * gst/gstpipeline.h:
20918 Move the bus handler for children to the GstBin, and create a
20919 separate bus for receiving messages from children to the one the
20920 bus sends 'upwards' on.
20922 2005-07-06 Wim Taymans <wim@fluendo.com>
20925 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20926 (gst_base_sink_handle_object), (gst_base_sink_loop),
20927 (gst_base_sink_change_state):
20928 * gst/base/gstbasesink.h:
20929 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20930 (gst_base_src_init), (gst_base_src_setcaps),
20931 (gst_base_src_getcaps), (gst_base_src_loop),
20932 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
20933 (gst_base_src_start), (gst_base_src_change_state):
20934 * gst/base/gstbasesrc.h:
20935 Make basesrc negotiate.
20936 Handle the case where preroll fails in basesink.
20939 2005-07-06 Wim Taymans <wim@fluendo.com>
20941 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
20942 Implement the fixate function.
20943 Clean up acceptcaps.
20945 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20947 * docs/pwg/building-filterfactory.xml:
20948 * docs/pwg/pwg.xml:
20949 Remove never-written filter-factory chapter; I'll add the various
20950 base classes to part 4 ("other element types") later on.
20952 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20954 * docs/pwg/advanced-negotiation.xml:
20955 * docs/pwg/building-boiler.xml:
20956 * docs/pwg/building-pads.xml:
20957 * docs/pwg/pwg.xml:
20958 * examples/pwg/Makefile.am:
20959 Add a chapter on caps negotiation, simplify the original code
20960 samples a bit w.r.t. caps negotiation, add link to the advanced
20961 section. Add a bunch of examples showing different use cases of
20962 different types of caps negotiation. Upstream renegotiation isn't
20963 fully documented yet since nobody knows how that works.
20965 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
20967 * check/gst/gstpad.c:
20968 * check/gstcheck.c:
20969 * gst/gstpad.c: (gst_pad_get_internal_links_default):
20970 if pad has no parent, return NULL as list of internal links
20972 2005-07-05 Andy Wingo <wingo@pobox.com>
20974 * gst/elements/gstfilesrc.c:
20975 * gst/elements/gstfakesrc.c:
20976 * gst/base/gstpushsrc.c:
20977 * gst/base/gstbasesrc.h:
20978 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
20980 2005-07-05 Stefan Kost <ensonic@users.sf.net>
20983 better report generation target (lcov needs a patch)
20985 2005-07-05 Andy Wingo <wingo@pobox.com>
20987 * gst/elements, testsuite: Null if we got it...
20989 2005-07-05 Wim Taymans <wim@fluendo.com>
20992 * libs/gst/dataprotocol/Makefile.am:
20993 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
20994 * libs/gst/dataprotocol/dataprotocol.h:
20995 * pkgconfig/Makefile.am:
20996 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
20997 * pkgconfig/gstreamer-dataprotocol.pc.in:
20998 Ported dataprotol to 0.9.
20999 Added pkgconfig files.
21001 2005-07-05 Andy Wingo <wingo@pobox.com>
21003 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21004 Default to returning TRUE for the case when tranform_caps returns
21005 a fixed caps, like for identity or volume.
21007 * check/gst/gstbus.c (pound_bus_with_messages):
21008 * check/gst/gstmessage.c (START_TEST):
21009 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21010 message API change.
21012 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21013 logic weaks here: always run transform_caps, trying passthrough
21014 operation only if the original caps intersects with the transform.
21016 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21017 source and sink caps.
21019 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21020 Intersect the peer caps with the pad template before going into
21022 (gst_base_transform_transform_caps): More debugging.
21024 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21027 2005-07-04 Edward Hervey <edward@fluendo.com>
21031 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21034 2005-07-04 Andy Wingo <wingo@pobox.com>
21036 * check/gst/gstpad.c: Only set explicit caps on pads.
21038 2005-07-01 Andy Wingo <wingo@pobox.com>
21040 * tests/network-clock.scm: Commentary update.
21042 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21043 Didn't really make sense, not implementable with basetransform,
21045 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21046 attempt at implementing the sync property, needs an unlock method.
21048 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21049 New func, by default returns the same caps (the identity
21051 (gst_base_transform_getcaps): Uses transform_caps to return
21052 something sensible.
21053 (gst_base_transform_setcaps): Complicated logic to get caps on
21054 both pads, even if they are different, and to call set_caps once
21055 for every time both pads get their caps set.
21056 (gst_base_transform_handle_buffer): Give the ref to the transform
21057 function. Allows in-place modification of the buffer.
21059 * gst/base/gstbasetransform.h (transform_caps): New class method.
21060 Given caps on one side, what can I do on the other.
21061 (set_caps): Take two caps, one for each side of the element.
21064 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21065 caps in place. This is safe because we can check the mutability of
21066 the caps, and a good idea because fixate functions are just called
21067 as a matter of last resort. (Not actually implemented.)
21068 (gst_pad_set_caps): If the caps we're setting is actually the same
21069 as the existing pad caps, just update the pointer without calling
21070 setcaps. Assert that caps is either NULL or fixed, as per the
21073 * gst/gstghostpad.c: Update for fixate changes.
21075 2005-07-02 Andy Wingo <wingo@pobox.com>
21078 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21079 two refcounts makes it immutable, which is enough. Doc more.
21081 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21083 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21084 Put the mini_object into GValue as a mini_object,
21085 not a gpointer, since that's how we declared
21088 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21090 * examples/pwg/Makefile.am:
21091 Fix buildbot again.
21093 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21095 * docs/pwg/building-testapp.xml:
21097 * examples/pwg/Makefile.am:
21100 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21103 * examples/Makefile.am:
21104 * examples/pwg/Makefile.am:
21105 * examples/pwg/extract.pl:
21106 Enable building the PWG examples.
21107 * docs/pwg/advanced-interfaces.xml:
21108 Add URI interface stub.
21109 * docs/pwg/advanced-types.xml:
21110 * docs/pwg/other-autoplugger.xml:
21111 * docs/pwg/appendix-porting.xml:
21112 * docs/pwg/pwg.xml:
21113 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21114 * docs/pwg/building-boiler.xml:
21115 * docs/pwg/building-chainfn.xml:
21116 * docs/pwg/building-pads.xml:
21117 * docs/pwg/building-props.xml:
21118 * docs/pwg/building-state.xml:
21119 * docs/pwg/building-testapp.xml:
21120 Update the building-*.xml parts for 0.9 changes. All examples
21121 code blocks compile in examples/pwg/*.
21123 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21125 * docs/manual/advanced-autoplugging.xml:
21126 * docs/manual/appendix-checklist.xml:
21127 * docs/manual/appendix-integration.xml:
21128 * docs/manual/highlevel-components.xml:
21129 Fix playbin/decodebin examples, update docs a bit, mention bus
21130 instead of signals in various places, mention kmplayer and
21131 kaffeine since they have a working GStreamer backend in the KDE
21134 2005-06-30 Wim Taymans <wim@fluendo.com>
21137 * docs/design/draft-ghostpads.txt:
21138 * docs/design/draft-push-pull.txt:
21139 * docs/design/draft-query.txt:
21140 * docs/design/part-TODO.txt:
21141 * docs/design/part-query.txt:
21142 Added CHANGES-0.9 doc, updated status of other docs.
21147 2005-06-30 Wim Taymans <wim@fluendo.com>
21149 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21150 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21151 (gst_base_sink_change_state):
21152 * gst/base/gstbasesink.h:
21153 Some tweaks, only EOS and a buffer complete a preroll.
21155 2005-06-30 Andy Wingo <wingo@pobox.com>
21157 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21158 activate_push down to the internal pad as well.
21160 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
21162 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21164 * gst/gsttaginterface.c:
21165 Some documentation fixes (#307394 and #307397).
21167 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
21169 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21171 * gst/gstvalue.c: (gst_value_intersect_list):
21172 Fix memleak (#309125).
21174 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21176 * docs/manual/advanced-dataaccess.xml:
21177 Fix fakesrc example to compile; doesn't work, bug somewhere...?
21178 * docs/manual/basics-pads.xml:
21179 Add reference for filtered caps to above chapter.
21181 2005-06-30 Wim Taymans <wim@fluendo.com>
21183 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21184 (gst_bin_change_state):
21186 Lame attempt at making the state change function a bit
21189 2005-06-30 Wim Taymans <wim@fluendo.com>
21191 * docs/design/part-clocks.txt:
21192 * docs/design/part-element-sink.txt:
21193 * docs/design/part-events.txt:
21194 * docs/design/part-preroll.txt:
21195 * docs/design/part-states.txt:
21196 Some more tweeks and additions to the docs.
21198 2005-06-30 Wim Taymans <wim@fluendo.com>
21200 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21201 (default_have_data), (gst_pad_class_init), (gst_pad_init),
21202 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21203 (gst_pad_check_pull_range), (gst_pad_get_range),
21204 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21206 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21207 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21208 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21209 (gst_pad_remove_buffer_probe):
21210 Removed atomic operations, use existing LOCK.
21211 Move exception handling out of main code path.
21213 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21215 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21216 (silly_return_true_function), (gst_pad_class_init),
21217 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21218 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21219 (gst_pad_send_event):
21220 Fix accumulator, add default value by using _emitv() instead
21221 of _emit() for signal emission.
21223 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21225 * docs/manual/advanced-dataaccess.xml:
21226 * examples/manual/Makefile.am:
21228 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21231 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
21233 * gst/elements/gstfilesink.c: (gst_filesink_render):
21234 Simplify code so that we don't have to handle short
21235 writes and return GST_FLOW_ERROR if an error occured.
21237 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21239 * docs/gst/gstreamer-docs.sgml:
21240 Remove probes more.
21242 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21244 * docs/gst/gstreamer-sections.txt:
21245 * docs/gst/tmpl/gstpad.sgml:
21246 * docs/gst/tmpl/gstprobe.sgml:
21248 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21249 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21250 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21251 (gst_pad_push_event), (gst_pad_send_event):
21253 * gst/gstutils.c: (gst_pad_add_data_probe),
21254 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21255 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21256 (gst_pad_remove_buffer_probe):
21258 Remove old probes, add new g-signal-based probes and some utility
21261 2005-06-29 Edward Hervey <edward@fluendo.com>
21263 * gst/gstelementfactory.c:
21266 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21267 the definition to the header file.
21269 2005-06-29 Andy Wingo <wingo@pobox.com>
21271 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21272 plugins from the source directory.
21274 2005-06-29 Wim Taymans <wim@fluendo.com>
21276 * docs/gst/tmpl/gstbuffer.sgml:
21277 * docs/gst/tmpl/gstclock.sgml:
21278 Some fixings for blantently wrong text.
21280 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21282 * check/Makefile.am:
21283 * gst/gst.c: (add_path_func), (init_pre):
21284 * gst/gstregistry.c: (gst_registry_add_path):
21285 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21286 only scan the GST_PLUGIN_PATH locations, and not add
21289 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21291 * docs/gst/gstreamer-sections.txt:
21292 * docs/gst/tmpl/gstbasesrc.sgml:
21293 * gst/gstelement.c:
21294 * gst/gstelement.h:
21299 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21301 * docs/manual/advanced-autoplugging.xml:
21302 Fix autoplugging example.
21304 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21306 * docs/manual/advanced-autoplugging.xml:
21307 * docs/manual/mime-world.fig:
21308 Try to get autoplugging working, fix type detection. Fix text
21309 in hello-world image.
21311 2005-06-29 Wim Taymans <wim@fluendo.com>
21313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21314 (gst_base_sink_change_state):
21318 map SIGNAL and BROADCAST to the right function.
21321 Remove redundant braces.
21323 * gst/gstpad.c: (gst_pad_set_caps):
21324 Don't call setcaps function when reseting caps to NULL.
21326 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21327 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21328 (gst_system_clock_id_unschedule):
21329 Use BROADCAST as this is what we do.
21331 2005-06-29 Wim Taymans <wim@fluendo.com>
21333 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21334 We are actually prerolling before commiting the state
21337 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21339 * docs/manual/advanced-clocks.xml:
21340 * docs/manual/advanced-interfaces.xml:
21341 * docs/manual/advanced-metadata.xml:
21342 * docs/manual/advanced-position.xml:
21343 * docs/manual/advanced-schedulers.xml:
21344 * docs/manual/advanced-threads.xml:
21345 * docs/manual/appendix-porting.xml:
21346 * docs/manual/basics-bins.xml:
21347 * docs/manual/basics-bus.xml:
21348 * docs/manual/basics-elements.xml:
21349 * docs/manual/basics-helloworld.xml:
21350 * docs/manual/basics-pads.xml:
21351 * docs/manual/highlevel-components.xml:
21352 * docs/manual/manual.xml:
21353 * docs/manual/thread.fig:
21354 Update (until threads/scheduling) Application Development Manual;
21355 remove GstThread, add GstBus, add simple porting checklist, add
21356 documentation for tag writing, clocks, make all examples until this
21357 part compile and run.
21358 * examples/manual/Makefile.am:
21359 Update from changes to Application Development Manual; add bus
21360 example, remove thread example.
21362 2005-06-28 Wim Taymans <wim@fluendo.com>
21364 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21365 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21366 (gst_bus_source_dispatch):
21367 Add debugging messages.
21368 Make internal methods static.
21369 Handle the case where the bus is flushed in the handler.
21371 * gst/gstelement.c: (gst_element_get_bus):
21372 Fix refcount in _get_bus();
21374 * gst/gstpipeline.c: (gst_pipeline_change_state),
21375 (gst_pipeline_get_clock_func):
21376 Clock refcounting fixes.
21377 Handle the case where preroll timed out more gracefully.
21379 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21380 Clean up the internal thread in dispose. This is needed
21381 for subclasses that actually get disposed.
21383 * gst/schedulers/threadscheduler.c:
21384 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21385 (gst_thread_scheduler_dispose):
21386 Free thread pool in dispose.
21388 2005-06-28 Andy Wingo <wingo@pobox.com>
21390 * tests/network-clock-utils.scm (debug, print-event): New utils.
21392 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21393 (*packet-loss*): Unified loss probability.
21394 (network-time): Report out-of-band events.
21396 * tests/plot-data: Add support for out-of-band events. Hack it
21397 into this script instead of passing it down the pipe; should fix
21400 2005-06-28 Wim Taymans <wim@fluendo.com>
21402 * docs/gst/gstreamer.types:
21403 * docs/gst/tmpl/gstbasesrc.sgml:
21404 * docs/gst/tmpl/gstpad.sgml:
21407 2005-06-28 Wim Taymans <wim@fluendo.com>
21409 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21410 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21411 (gst_proxy_pad_do_fixatecaps):
21412 Correctly proxy the check_pull_range function.
21414 2005-06-28 Andy Wingo <wingo@pobox.com>
21416 * tests/network-clock.scm: Removed need for slib.
21418 2005-06-28 Wim Taymans <wim@fluendo.com>
21420 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21421 (gst_basesink_preroll_queue_flush):
21422 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21423 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21424 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21425 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21426 (gst_proxy_pad_set_property):
21429 * gst/gstqueue.c: (gst_queue_init):
21430 The deprecated pad loop function is removed now.
21432 2005-06-28 Andy Wingo <wingo@pobox.com>
21434 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21435 New parameters, simulate network packet loss.
21437 * tests/network-clock-utils.scm: Initialize the RNG.
21439 2005-06-28 Wim Taymans <wim@fluendo.com>
21441 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21442 (gst_basesink_event), (gst_basesink_deactivate):
21443 Flushing the preroll queue always needs to unlock the waiters.
21445 2005-06-28 Edward Hervey <edward@fluendo.com>
21447 * gst/gstpipeline.c: (gst_pipeline_send_event):
21448 Wheen a seek was successful on a pipeline, set the stream_time to the
21449 seek offset in order to have a synchronized stream_time.
21451 2005-06-28 Wim Taymans <wim@fluendo.com>
21453 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21454 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21455 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21456 (gst_proxy_pad_do_fixatecaps):
21457 Call wrapper function instead of just calling the function
21458 pointers. This takes care of any locking and whatmore.
21460 2005-06-28 Wim Taymans <wim@fluendo.com>
21462 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21463 (gst_pad_pull_range):
21465 CONNECTED -> LINKED.
21467 2005-06-28 Andy Wingo <wingo@pobox.com>
21469 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21470 source-munging commit!!!
21472 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21473 (gst_object_sink): Take gpointer arguments, not GstObject --
21474 avoids casts. Like GLib.
21476 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21479 2005-06-27 Andy Wingo <wingo@pobox.com>
21481 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21484 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21485 returns a sorted copy of the trace list.
21486 (gst_alloc_trace_print_live): New API, only prints traces with
21487 live objects. Sort the list.
21488 (gst_alloc_trace_print_all): Sort the list.
21489 (gst_alloc_trace_print): Align columns.
21491 * gst/elements/gstttypefindelement.c:
21492 * gst/elements/gsttee.c:
21493 * gst/base/gstbasesrc.c:
21494 * gst/base/gstbasesink.c:
21495 * gst/base/gstbasetransform.c:
21496 * gst/gstqueue.c: Adapt for pad activation changes.
21498 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21500 (gst_pipeline_dispose): Drop ref on sched.
21502 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21503 (gst_pad_activate_default): Push mode by default.
21504 (pre_activate_switch, post_activate_switch): New stubs, things to
21505 do before and after switching activation modes on pads.
21506 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21507 the pad's activate function to choose which mode to activate.
21508 Shortcut on deactivation and call the right function directly.
21509 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21511 (gst_pad_activate_push): New API, same for push mode.
21512 (gst_pad_set_activate_function)
21513 (gst_pad_set_activatepull_function)
21514 (gst_pad_set_activatepush_function): Setters for new API.
21516 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21517 Trace all miniobjects.
21518 (gst_mini_object_make_writable): Unref the arg if we copy, like
21519 gst_caps_make_writable.
21521 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21523 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21524 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21525 Adapt for new pad API.
21527 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21529 * gst/gstelement.h:
21530 * gst/gstelement.c (gst_element_iterate_src_pads)
21531 (gst_element_iterate_sink_pads): New API functions.
21533 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21534 should fold into gstiterator.c in some form.
21535 (gst_element_pads_activate): Simplified via use of fold and
21536 delegation of decisions to gstpad->activate.
21538 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21541 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21542 class once in init, like gstmessage. Didn't run into this issue
21543 but it seems correct. Don't initialize a trace, gstminiobject does
21546 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21547 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21549 (assert_live_count): New util function, uses alloc traces to check
21552 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21553 To be modified when unlink drops the internal pad.
21555 2005-06-27 Wim Taymans <wim@fluendo.com>
21557 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21558 (gst_bin_change_state):
21559 Cleanup the get_state() function a little, make sure it
21560 iterates the same set of elements.
21561 Added stub iterate_state_order().
21563 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21565 * docs/gst/gstreamer-docs.sgml:
21566 * docs/gst/gstreamer-sections.txt:
21567 * docs/gst/gstreamer.types:
21568 * docs/gst/tmpl/gstbasesink.sgml:
21569 * docs/gst/tmpl/gstbasesrc.sgml:
21570 * docs/gst/tmpl/gstbasetransform.sgml:
21571 * docs/gst/tmpl/gstelement.sgml:
21572 * docs/gst/tmpl/gstiterator.sgml:
21573 * gst/base/gstbasesrc.c:
21574 * gst/base/gstbasesrc.h:
21575 * gst/base/gstbasetransform.h:
21576 * gst/gstelement.c:
21577 * gst/gstiterator.h:
21578 adding basetransform and iterator docs
21580 2005-06-27 Andy Wingo <wingo@pobox.com>
21582 * docs/design/part-activation.txt: Notes on how activation should
21583 work -- not quite implemented yet.
21585 2005-06-25 Wim Taymans <wim@fluendo.com>
21587 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21588 At least get the chain function correct, needs more
21591 2005-06-25 Wim Taymans <wim@fluendo.com>
21593 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21594 (gst_basesink_handle_object), (gst_basesink_event),
21595 (gst_basesink_do_sync), (gst_basesink_handle_event),
21596 (gst_basesink_change_state):
21598 Right, two problems here: ghostpads don't take locks and
21599 glib _rec_mutex_lock_full() with depth==0 still locks.
21600 Catch illegal locking and g_warn them.
21602 2005-06-25 Wim Taymans <wim@fluendo.com>
21604 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21605 Have to check for completion now...
21607 2005-06-25 Wim Taymans <wim@fluendo.com>
21609 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21610 (gst_basesink_handle_object), (gst_basesink_event),
21611 (gst_basesink_do_sync), (gst_basesink_handle_event),
21612 (gst_basesink_change_state):
21614 Unlock STREAM_LOCK whatever the recursion was.
21616 2005-06-25 Wim Taymans <wim@fluendo.com>
21618 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21619 (gst_basesink_preroll_queue_empty),
21620 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21621 (gst_basesink_event), (gst_basesink_do_sync),
21622 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21623 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21624 (gst_basesink_change_state):
21625 Reworked the base sink, handle event and buffer serialisation
21626 correctly and removed possible deadlock.
21627 Handle EOS correctly.
21629 2005-06-25 Wim Taymans <wim@fluendo.com>
21631 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21632 (gst_pipeline_change_state):
21633 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21634 Allow elements to post EOS in the state change function.
21635 Fix up -launch, make it exit the poll loop when the
21636 pipeline actually changed state.
21637 Fix up warning parsing in -launch.
21639 2005-06-25 Wim Taymans <wim@fluendo.com>
21641 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21642 (gst_tee_sink_activate):
21643 Core takes STREAM_LOCK for us now.
21645 2005-06-25 Wim Taymans <wim@fluendo.com>
21647 * gst/gstelement.c: (gst_element_get_state_func),
21648 (gst_element_set_state):
21649 * gst/gstelement.h:
21650 * gst/gstmessage.c: (gst_message_parse_error),
21651 (gst_message_parse_warning):
21652 Keep track of current target state while performing a state
21653 change so that subclasses can do something interesting.
21654 Fix parsing of warning/error messages when GError is NULL.
21656 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21658 * docs/gst/Makefile.am:
21659 * docs/gst/gstreamer-docs.sgml:
21660 * docs/gst/gstreamer-sections.txt:
21661 * docs/gst/gstreamer.types:
21662 * docs/gst/tmpl/gstbasesink.sgml:
21663 * docs/gst/tmpl/gstbasesrc.sgml:
21664 * docs/gst/tmpl/gstbin.sgml:
21665 * docs/gst/tmpl/gstcompat.sgml:
21666 * docs/gst/tmpl/gstfakesink.sgml:
21667 * docs/gst/tmpl/gstfakesrc.sgml:
21668 * docs/gst/tmpl/gstfilesink.sgml:
21669 * docs/gst/tmpl/gstfilesrc.sgml:
21670 * docs/gst/tmpl/gstindex.sgml:
21671 * docs/manual/appendix-quotes.xml:
21672 * gst/base/gstbasesrc.h:
21673 * gst/elements/gstfakesrc.h:
21674 * gst/gstmessage.h:
21675 start pulling in base classes and elements in our docs
21677 2005-06-24 Stefan Kost <ensonic@users.sf.net>
21679 * docs/gst/Makefile.am:
21680 * docs/libs/Makefile.am:
21681 fixed make distcheck with gtk-doc 1.3
21683 2005-06-23 Wim Taymans <wim@fluendo.com>
21685 * gst/gstelement.c: (gst_element_get_state_func),
21686 (gst_element_set_state), (gst_element_change_state):
21687 When the state did not change, also report NO_PREROLL
21690 2005-06-23 Wim Taymans <wim@fluendo.com>
21692 * gst/gstpad.c: (gst_pad_event_default):
21693 * gst/gstqueue.c: (gst_queue_loop):
21694 No unsafe task pausing please.
21696 2005-06-23 Wim Taymans <wim@fluendo.com>
21698 * gst/schedulers/threadscheduler.c:
21699 (gst_thread_scheduler_task_start),
21700 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21701 Ref the task before pushing it on the threadpool. This
21702 makes sure that we have a ref when the threadfunction is
21705 2005-06-23 Andy Wingo <wingo@pobox.com>
21707 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21708 offset is greater than the file's size.
21710 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
21711 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21712 * gst/gstobject.c (gst_object_class_init): Make the class lock
21713 recursive. Wim won't let me drop deep_notify. Decodebin works
21714 again, whoopdy doo.
21716 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21717 internal pad, and hacks accordingly. Doesn't do it on the target
21718 pad because we change its caps. Probably catches all cases of
21720 (gst_ghost_pad_set_property): Connect to notify::caps as
21723 * tests/network-clock.scm (plot-simulation): Pipe data to the
21724 elite python skript.
21726 * tests/network-clock-utils.scm (define-parameter): New macro,
21727 defines a parameter that can be set via the command line.
21728 (set-parameter!, parse-parameter-arguments): Command line args
21731 * tests/plot-data: Simple matplotlib-based plotter, takes input on
21734 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
21736 * gst/elements/gsttypefindelement.c:
21737 (gst_type_find_element_handle_event):
21738 Don't restart typefinding on a discont.
21739 * gst/gstelement.c: (gst_element_set_state):
21740 Debug spelling fix.
21741 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21742 Allow changing mode of an active pad.
21743 Debug output fixes.
21744 * gst/registries/gstlibxmlregistry.c: (load_feature):
21745 Don't cast a static pad template to a normal pad template.
21747 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
21749 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21750 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21751 remove gst_strtoll completely, since it didn't actually do
21752 anything more than what g_ascii_strtoull already does.
21753 check for range errors when deserializing
21754 do a cast for the unsigned cases; but further fixing needs
21755 a decision on what the interpretation of "(int)" and
21756 deserialization should be for values that fall outside the
21757 type's boundaries (ie, refuse, or interpret as casting)
21759 2005-06-23 Wim Taymans <wim@fluendo.com>
21761 * check/Makefile.am:
21762 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
21763 * docs/design/part-live-source.txt:
21764 * docs/design/part-states.txt:
21765 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21766 (gst_basesrc_set_live), (gst_basesrc_is_live),
21767 (gst_basesrc_get_range), (gst_basesrc_activate),
21768 (gst_basesrc_change_state):
21769 * gst/base/gstbasesrc.h:
21770 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21771 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21772 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
21773 * gst/gstelement.c: (gst_element_get_state_func),
21774 (gst_element_set_state):
21775 * gst/gstelement.h:
21777 * tools/gst-launch.c: (event_loop), (main):
21778 Added support for live sources and other elements that
21780 Updated design docs, added live-source design doc.
21781 Implemented live source functionality in basesrc
21782 Fix error condition in _bin_get_state()
21783 Implement live source handling in -launch.
21784 Added check for live sources.
21785 Fixed case in GstBin where elements were changed state
21789 2005-06-23 Andy Wingo <wingo@pobox.com>
21791 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
21792 borken refcounting.
21794 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
21795 gst_caps_replace takes care of this for us.
21797 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
21798 gst_pad_set_caps on the target, not just its setcaps() function.
21800 * tests/network-clock.scm:
21801 * tests/network-clock-utils.scm: A network clock simulator.
21802 Something of an algorithmic testbed before doing something in C.
21804 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21806 * check/Makefile.am:
21807 * check/gst/capslist.h:
21808 copy over from 0.8, and add two with bitmasks specified with
21810 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21811 add test to parse everything from capslist.h
21812 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
21814 add test for structure deserialization
21815 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21816 add tests for deserialization of strings to int types
21817 * gst/gststructure.c: (gst_structure_nth_field_name):
21818 * gst/gststructure.h:
21819 add a way to get the name of a field referenced by index
21820 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21821 instead of checking if the resulting long long lies between
21822 min and max, we check if the long long would fit into
21823 a number of bytes for the final type.
21824 This fixes cases where a string represents 2^32 - 1, which
21825 when cast to int would be the (valid) -1, but is bigger than
21828 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21830 * gst/parse/grammar.y:
21831 add a log line for type deserialization
21833 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21835 * check/gst/gstvalue.c: (START_TEST):
21836 * gst/gstvalue.c: (gst_value_deserialize):
21837 return long long, not int, so gint64 deserialization actually
21838 works. Is there any flag that makes the compiler check this ?
21841 2005-06-22 Wim Taymans <wim@fluendo.com>
21844 Added convenience macros for setting buffers in GValue.
21846 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
21848 * check/gst/.cvsignore:
21849 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21850 add a test deserializing int64, and comment part out because
21853 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
21855 * check/Makefile.am:
21856 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
21857 * testsuite/Makefile.am:
21858 * testsuite/caps/Makefile.am:
21859 * testsuite/caps/value_serialize.c:
21860 * testsuite/test_gst_init.c:
21861 move a value_serialize test over
21863 2005-06-20 Wim Taymans <wim@fluendo.com>
21868 * gst/gstvalue.c: (gst_value_compare_buffer),
21869 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
21870 (gst_value_compare_flags), (gst_value_serialize_flags),
21871 (gst_value_deserialize_flags), (_gst_value_initialize):
21872 Fix serialisation of buffers, they are not boxed types anymore
21874 2005-06-20 Wim Taymans <wim@fluendo.com>
21876 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21877 Testcase to show error in buffer-on-caps serialisation.
21879 2005-06-20 Andy Wingo <wingo@pobox.com>
21881 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
21882 will be adding to later.
21884 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
21885 if its socks fill with rocks.
21886 (gst_system_clock_obtain): Set the name on object construction.
21887 Avoid double-checked locking.
21889 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
21891 * gst/gsturi.c: (gst_element_make_from_uri):
21892 Fix potential endless loop.
21894 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21896 * check/Makefile.am:
21898 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
21900 move over from testsuite dir and clean up
21903 * testsuite/Makefile.am:
21904 * testsuite/tags/.cvsignore:
21905 * testsuite/tags/Makefile.am:
21906 * testsuite/tags/merge.c:
21907 remove testsuite/tags
21909 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21911 * docs/gst/gstreamer-sections.txt:
21912 * docs/gst/tmpl/gstenumtypes.sgml:
21913 * win32/gstenumtypes.c:
21914 clean up documentation build a little
21916 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21918 * check/gstcheck.h:
21919 add macros for checking refcounts on objects and caps
21920 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
21921 add some more unit tests
21922 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21923 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
21924 fix leaked refcounts (I hope :)) so unittest works
21928 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21930 * configure.ac: back to HEAD
21932 === release 0.9.1 ===
21934 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
21940 2005-06-17 Andy Wingo <wingo@pobox.com>
21942 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
21943 assert; it's always possible that the pad gets deactivated in
21944 between the checks in gstpad.c and the implementation. Rely on
21945 finish_preroll() to return a FLUSHING or similar instead of on the
21948 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
21949 clock and post an EOS message if we come out of finish_preroll in
21952 2005-06-16 David Schleef <ds@schleef.org>
21954 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21955 (gst_capsfilter_set_property): Allow NULL as possible value
21956 for filter_caps property, indicating GST_CAPS_ANY.
21958 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21960 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
21962 * gst/schedulers/Makefile.am:
21964 * gstreamer.spec.in:
21967 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21969 * gstreamer.spec.in:
21972 2005-06-08 Andy Wingo <wingo@pobox.com>
21974 * gst/gstutils.c: RPAD fixes all around.
21975 (gst_element_link_pads): Refcounting fixes.
21977 * tools/gst-inspect.c:
21978 * tools/gst-xmlinspect.c:
21980 * gst/base/gsttypefindhelper.c:
21981 * gst/base/gstbasesink.c:
21982 * gst/gstqueue.c: RPAD fixes.
21984 * gst/gstghostpad.h:
21985 * gst/gstghostpad.c: New ghost pad implementation as full proxy
21986 pads. The tricky thing is they provide both source and sink
21987 interfaces, since they proxy the internal pad for the external
21988 pad, and vice versa. Implement with lower-level ProxyPad objects,
21989 with the interior proxy pad as a child of the exterior ghost pad.
21990 Should write a doc on this.
21992 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
21993 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
21996 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
21997 pads are real pads. No ghost pads in this file. Not documenting
21998 the myriad s/RPAD/PAD/ and REALIZE fixes.
21999 (gst_pad_class_init): Add properties for "direction" and
22000 "template". Both are construct-only, so they can't change during
22001 the life of the pad. Fixes properly deriving from GstPad.
22002 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22003 derived objects, just set properties when creating the objects via
22005 (gst_pad_get_parent): Implement as a function, return NULL if the
22006 parent is not an element.
22007 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22008 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22010 * gst/gstobject.c (gst_object_class_init): Make name a construct
22011 property. Don't set it in the object init.
22013 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22014 with UNKNOWN direction.
22015 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22016 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22017 (gst_element_remove_pad): Remove ghost-pad special cases.
22018 (gst_element_pads_activate): Remove rpad cruft.
22020 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22021 catch the pad's-parent-not-an-element case.
22023 * gst/gst.h: Include gstghostpad.h.
22025 * gst/gst.c (init_post): No more real, ghost pads.
22027 * gst/Makefile.am: Add gstghostpad.[ch].
22029 * check/Makefile.am:
22030 * check/gst/gstbin.c:
22031 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22032 into a bin creates ghost pads, and that the refcounts are right.
22033 Partly moved from gstbin.c.
22035 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22037 * check/gst-libs/.cvsignore:
22038 * check/gst/.cvsignore:
22039 * check/pipelines/.cvsignore:
22041 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22042 (START_TEST), (cleanup_suite), (main):
22043 add some tests related to cleanup after running pipelines
22045 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22047 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22048 add a testsuite for GstBuffer
22050 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22052 * gst/gstminiobject.h:
22053 add defines for accessing the refcount
22055 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22057 * Makefile.am: added support for html unit test coverage reports
22059 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22061 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22062 Free existing caps if the capsfilter changes. Add a FIXME about
22063 setting those caps on the pads.
22065 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22066 Before adding a ghost pad to a parent bin, check that there isn't
22067 already one for the element on the bin. Prevents infinite recursion
22068 when using decodebin in parse pipelines. Andy says he'll rewrite the
22069 way this works anyway, so ignore the hack.
22071 2005-06-02 Andy Wingo <wingo@pobox.com>
22073 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22074 file size, pass it on to the type find helper.
22076 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22077 segment_start and segment_end properly according to the seek
22078 method. Segment_end is still a bit flaky because offset can be
22079 negative for CUR and END cases, but it takes -1 as an "unset"
22082 2005-06-02 Wim Taymans <wim@fluendo.com>
22084 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22085 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22086 (gst_basesink_activate):
22087 * gst/base/gstbasesink.h:
22088 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22089 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22090 (gst_pad_query), (gst_pad_start_task):
22092 * gst/gstqueue.c: (gst_queue_bufferalloc),
22093 (gst_queue_handle_sink_event), (gst_queue_chain):
22094 Bufferalloc: return GstFlowReturn to more accuratly report
22095 why allocation failed.
22097 2005-06-02 Wim Taymans <wim@fluendo.com>
22099 * gst/gstpipeline.c: (gst_pipeline_send_event):
22100 Take snapshot of state without blocking.
22102 2005-06-02 Wim Taymans <wim@fluendo.com>
22104 * docs/design/part-TODO.txt:
22105 * docs/design/part-caps.txt:
22106 * docs/design/part-clocks.txt:
22107 * docs/design/part-negotiation.txt:
22108 * docs/design/part-preroll.txt:
22111 2005-05-30 Wim Taymans <wim@fluendo.com>
22113 * gst/elements/gstidentity.c: (gst_identity_event),
22114 (gst_identity_transform), (gst_identity_get_property):
22115 Protect last_message property as it is accessed from
22118 2005-05-30 Wim Taymans <wim@fluendo.com>
22120 * gst/gstelement.c: (gst_element_init),
22121 (gst_element_pads_activate), (gst_element_change_state):
22122 Slicker pad activation code.
22124 2005-05-30 Wim Taymans <wim@fluendo.com>
22127 * gst/gstelement.h:
22128 * gst/gstelementfactory.h:
22130 Move elementfactory methods to separate .h file.
22132 2005-05-30 Wim Taymans <wim@fluendo.com>
22134 * docs/design/part-overview.txt:
22135 * gst/gstsystemclock.h:
22136 Small typo fixes, doc updates.
22138 2005-05-30 Wim Taymans <wim@fluendo.com>
22140 * gst/gst.c: (gst_init_get_popt_table), (init_post),
22141 (init_popt_callback):
22142 Remove cpu-opt flag.
22144 2005-05-30 Wim Taymans <wim@fluendo.com>
22146 * gst/gstbuffer.c: (gst_subbuffer_finalize),
22147 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22149 Avoid typechecking in places where not needed.
22150 Added accessor for malloc_data.
22152 2005-05-30 Wim Taymans <wim@fluendo.com>
22154 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22155 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22156 (gst_pad_configure_sink), (gst_pad_configure_src),
22157 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22158 (gst_pad_start_task):
22159 Propagate errors from _set_caps() in configure_src/sink
22160 functions instead of returning TRUE.
22161 FLUSH events can travel up and downstream
22164 2005-05-30 Wim Taymans <wim@fluendo.com>
22166 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22167 (gst_basesink_activate):
22168 Handle EOS in preroll.
22170 2005-05-30 Wim Taymans <wim@fluendo.com>
22172 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22173 (gst_queue_loop), (gst_queue_handle_src_event):
22174 Remove old pieces of code
22175 Flushing the queue in an upstream event is a very bad idea.
22177 2005-05-26 Andy Wingo <wingo@pobox.com>
22179 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22180 gst_value_set_mini_object so as to add a ref on the object (which
22181 will be removed when the value is unset).
22183 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22184 arg type in ::handoff.
22186 * gst/gstelement.c (gst_element_change_state): Also deactivate
22187 pads in READY->NULL, just in case the element didn't make it to
22188 PAUSED. Wingo tested, Wim approved.
22190 2005-05-26 Wim Taymans <wim@fluendo.com>
22192 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22193 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22194 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22195 A flushing pad cannot be used to alloc_buffer from.
22197 2005-05-26 Wim Taymans <wim@fluendo.com>
22199 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22200 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22201 (gst_bus_source_dispatch), (gst_bus_source_finalize),
22202 (gst_bus_create_watch), (gst_bus_add_watch_full):
22204 Implement a real GSource and use g_main_context_wakeup() to
22205 signal new messages instead of the socketpair.
22207 2005-05-25 Wim Taymans <wim@fluendo.com>
22209 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22210 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22211 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22212 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22213 (gst_pad_send_event), (gst_pad_start_task):
22214 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22215 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22216 (gst_queue_sink_activate), (gst_queue_src_activate),
22217 (gst_queue_change_state):
22219 Fix state changes for non sinks. We now change sinks, then elements
22220 with unconnected srcpads, then the rest.
22221 More efficient queue unlocking in flush and state changes.
22222 Set the pad activate mode even if it does not have an activate
22225 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22227 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22228 Don't go in pull mode for non-seekable sources.
22229 * gst/elements/gsttypefindelement.h:
22230 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22231 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22232 (free_entry), (stop_typefinding),
22233 (gst_type_find_element_handle_event), (find_peek),
22234 (gst_type_find_element_chain), (do_pull_typefind),
22235 (gst_type_find_element_change_state):
22236 Allow typefinding (w/o seeking) in push-mode, simplified version
22237 of what was in 0.8.
22238 * gst/gstutils.c: (gst_buffer_join):
22240 gst_buffer_join() from 0.8.
22242 2005-05-25 Wim Taymans <wim@fluendo.com>
22244 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22245 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22246 (gst_pad_send_event), (gst_pad_start_task):
22247 Disable attempt at mode switching until it is figured out.
22249 2005-05-25 Wim Taymans <wim@fluendo.com>
22251 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22252 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22253 (gst_basesink_finish_preroll), (gst_basesink_chain),
22254 (gst_basesink_loop), (gst_basesink_activate),
22255 (gst_basesink_change_state):
22256 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22257 (gst_basesrc_get_range), (gst_basesrc_loop),
22258 (gst_basesrc_activate):
22259 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22260 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22261 (gst_real_pad_init), (gst_real_pad_set_property),
22262 (gst_real_pad_get_property), (gst_pad_set_active),
22263 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22264 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22265 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22266 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22267 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22268 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22269 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22270 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22271 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22272 (gst_pad_stop_task):
22274 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22275 (gst_queue_loop), (gst_queue_src_activate):
22276 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22277 (gst_task_get_state):
22279 * gst/schedulers/threadscheduler.c:
22280 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22281 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22283 Remove ACTIVE pad flag, use FLUSHING everywhere
22284 Added _pad_chain(), _pad_get_range() to call chain/getrange
22286 Add locks around IS_FLUSHING when reading.
22287 Take STREAM lock in chain(), get_range() functions so plugins
22288 don't need to take it anymore.
22292 2005-05-25 Wim Taymans <wim@fluendo.com>
22294 * tools/gst-launch.c: (event_loop):
22295 Unref message after using its contents instead of
22298 2005-05-24 Wim Taymans <wim@fluendo.com>
22300 * docs/design/draft-ghostpads.txt:
22301 * docs/design/draft-push-pull.txt:
22302 * docs/design/draft-query.txt:
22303 * docs/design/part-overview.txt:
22304 Docs updates, added general overview doc.
22306 2005-05-21 David Schleef <ds@schleef.org>
22308 * docs/gst/tmpl/old/GstBin.sgml:
22309 * docs/gst/tmpl/old/GstBuffer.sgml:
22310 * docs/gst/tmpl/old/GstCaps.sgml:
22311 * docs/gst/tmpl/old/GstClock.sgml:
22312 * docs/gst/tmpl/old/GstCompat.sgml:
22313 * docs/gst/tmpl/old/GstData.sgml:
22314 * docs/gst/tmpl/old/GstElement.sgml:
22315 * docs/gst/tmpl/old/GstEvent.sgml:
22316 * docs/gst/tmpl/old/GstIndex.sgml:
22317 * docs/gst/tmpl/old/GstStructure.sgml:
22318 * docs/gst/tmpl/old/GstTag.sgml:
22319 * docs/gst/tmpl/old/cothreads.sgml:
22320 * docs/gst/tmpl/old/cothreads_compat.sgml:
22321 * docs/gst/tmpl/old/gettext.sgml:
22322 * docs/gst/tmpl/old/gobject2gtk.sgml:
22323 * docs/gst/tmpl/old/grammar.tab.sgml:
22324 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22325 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22326 * docs/gst/tmpl/old/gst_private.sgml:
22327 * docs/gst/tmpl/old/gstaggregator.sgml:
22328 * docs/gst/tmpl/old/gstarch.sgml:
22329 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22330 * docs/gst/tmpl/old/gstbufferstore.sgml:
22331 * docs/gst/tmpl/old/gstdata_private.sgml:
22332 * docs/gst/tmpl/old/gstdisksink.sgml:
22333 * docs/gst/tmpl/old/gstdisksrc.sgml:
22334 * docs/gst/tmpl/old/gstelementfactory.sgml:
22335 * docs/gst/tmpl/old/gstextratypes.sgml:
22336 * docs/gst/tmpl/old/gstfakesink.sgml:
22337 * docs/gst/tmpl/old/gstfakesrc.sgml:
22338 * docs/gst/tmpl/old/gstfdsink.sgml:
22339 * docs/gst/tmpl/old/gstfdsrc.sgml:
22340 * docs/gst/tmpl/old/gstfilesink.sgml:
22341 * docs/gst/tmpl/old/gstfilesrc.sgml:
22342 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22343 * docs/gst/tmpl/old/gstidentity.sgml:
22344 * docs/gst/tmpl/old/gstindexfactory.sgml:
22345 * docs/gst/tmpl/old/gstmarshal.sgml:
22346 * docs/gst/tmpl/old/gstmd5sink.sgml:
22347 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22348 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22349 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22350 * docs/gst/tmpl/old/gstpipefilter.sgml:
22351 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22352 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22353 * docs/gst/tmpl/old/gstshaper.sgml:
22354 * docs/gst/tmpl/old/gstspider.sgml:
22355 * docs/gst/tmpl/old/gstspideridentity.sgml:
22356 * docs/gst/tmpl/old/gststatistics.sgml:
22357 * docs/gst/tmpl/old/gsttee.sgml:
22358 * docs/gst/tmpl/old/gsttimecache.sgml:
22359 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22360 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22361 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22362 * docs/gst/tmpl/old/types.sgml:
22363 I didn't intend to add these or check them in.
22365 2005-05-19 David Schleef <ds@schleef.org>
22367 * configure.ac: Use -no-common everywhere. In a sane world, it
22368 would be the default in libtool, because without it, you can't
22369 build DLLs on Windows.
22370 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22371 * docs/gst/gstreamer-sections.txt:
22372 * docs/gst/tmpl/gstcpu.sgml:
22373 * docs/gst/tmpl/gstdata.sgml:
22374 * docs/gst/tmpl/gstthread.sgml:
22376 2005-05-19 David Schleef <ds@schleef.org>
22378 * gst/gstminiobject.c: (gst_value_set_mini_object),
22379 (gst_value_take_mini_object), (gst_value_get_mini_object):
22380 * gst/gstminiobject.h: Add GValue set/get functions.
22382 2005-05-19 Wim Taymans <wim@fluendo.com>
22384 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22385 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22386 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22388 * gst/gstbus.c: (gst_bus_post):
22389 * gst/gstelement.c: (gst_element_get_random_pad):
22390 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22391 Make subbufer unref the parent in finalize.
22392 some more debugging info.
22395 2005-05-19 Wim Taymans <wim@fluendo.com>
22397 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22398 (gst_basesink_init), (gst_basesink_finalize),
22399 (gst_basesink_activate), (gst_basesink_change_state):
22400 Don't free preroll queue too early.
22402 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22406 Hi, I'm outdated. Please shoot me.
22408 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22410 * gst/gstpipeline.c: (gst_pipeline_send_event):
22411 Do not access variables after they have been deleted.
22413 2005-05-19 Wim Taymans <wim@fluendo.com>
22415 * tools/gst-inspect.c: (print_plugin_features):
22416 A plugin feature does unfortunatly not use the
22419 2005-05-18 Wim Taymans <wim@fluendo.com>
22421 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22422 Port _span() functions to new subbuffers.
22424 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22426 * gst/gstbin.c: (gst_bin_add_func):
22427 Fix clock settery in bins when adding kids after the clock has
22430 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22432 * gst/elements/gstidentity.c: (gst_identity_class_init):
22433 Workaround until signals support GstMiniObject.
22435 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22438 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22440 2005-05-18 Wim Taymans <wim@fluendo.com>
22442 * gst/base/Makefile.am:
22443 * gst/base/gstadapter.c: (gst_adapter_base_init),
22444 (gst_adapter_class_init), (gst_adapter_init),
22445 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22446 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22447 (gst_adapter_flush), (gst_adapter_available),
22448 (gst_adapter_available_fast):
22449 * gst/base/gstadapter.h:
22450 Ported and added adapter to the base classes.
22452 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22455 * gst/gstmessage.c:
22456 Make sure the class is reffed/unreffed once before threads can be
22457 used. Fixes #304551.
22459 2005-05-17 Wim Taymans <wim@fluendo.com>
22461 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22462 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22463 * gst/gstminiobject.c: (gst_mini_object_get_type),
22464 (gst_mini_object_free):
22465 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22466 (gst_pad_push), (gst_pad_push_event):
22467 * gst/gstqueue.c: (gst_queue_change_state):
22468 Don't queue buffers in basesink when we are flushing.
22469 Unref buffer when flushing in basesink.
22470 Flush queue when going to READY
22471 Unref buffer when _push() returns an error.
22472 Don't free MiniObject instance when refcount is incremented
22473 in _finalize() so that we can recover objects.
22475 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22477 * docs/manual/advanced-schedulers.xml:
22478 * docs/manual/appendix-checklist.xml:
22479 * docs/pwg/advanced-clock.xml:
22480 * docs/pwg/advanced-interfaces.xml:
22481 * docs/pwg/advanced-request.xml:
22482 * docs/pwg/advanced-types.xml:
22483 * docs/pwg/intro-preface.xml:
22484 * examples/plugins/example.c: (gst_example_get_type),
22485 (gst_example_class_init), (gst_example_chain),
22486 (gst_example_set_property), (gst_example_get_property),
22487 (gst_example_change_state), (plugin_init):
22488 * examples/plugins/example.h:
22491 2005-05-17 Wim Taymans <wim@fluendo.com>
22493 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22494 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22495 * gst/gstqueue.c: (gst_queue_change_state):
22496 Clear queue when going to READY.
22497 Remove IN_SETCAPS flag too.
22499 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22501 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22502 Remove implicit cast from gboolean to GstElementStateReturn;
22503 make sure we still return failure in paused => ready case if
22504 the parent class fails to change state and our own stop
22507 2005-05-17 Wim Taymans <wim@fluendo.com>
22509 * tools/gst-launch.c: (event_loop):
22510 Message was unreffed too soon.
22512 2005-05-16 Andy Wingo <wingo@pobox.com>
22514 * gst/gstbin.c (sink_iterator_filter): Err... um...
22516 * check/gst/gstbin.c (test_ghost_pads): New test for the
22517 ghosting-if-elements-not-in-same-bin behavior.
22519 2005-05-16 David Schleef <ds@schleef.org>
22521 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22522 accessing refcount directly.
22524 2005-05-15 David Schleef <ds@schleef.org>
22526 * check/Makefile.am: remove GstData checks
22527 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22528 * gst/Makefile.am: add miniobject, remove data
22529 * gst/gst.h: add miniobject, remove data
22530 * gst/gstdata.c: remove
22531 * gst/gstdata.h: remove
22532 * gst/gstdata_private.h: remove
22533 * gst/gsttypes.h: remove GstEvent and GstMessage
22534 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22535 * gst/gstmarshal.list: change BOXED -> OBJECT
22537 Implement GstMiniObject.
22538 * gst/gstminiobject.c:
22539 * gst/gstminiobject.h:
22541 Modify to be subclasses of GstMiniObject.
22542 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22543 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22544 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22545 (gst_subbuffer_get_type), (gst_subbuffer_init),
22546 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22549 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22550 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22551 (_gst_event_copy), (gst_event_new):
22553 * gst/gstmessage.c: (_gst_message_initialize),
22554 (gst_message_get_type), (gst_message_class_init),
22555 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22556 (gst_message_new), (gst_message_new_error),
22557 (gst_message_new_warning), (gst_message_new_tag),
22558 (gst_message_new_state_changed), (gst_message_new_application):
22559 * gst/gstmessage.h:
22560 * gst/gstprobe.c: (gst_probe_perform),
22561 (gst_probe_dispatcher_dispatch):
22563 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22564 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22565 (_gst_query_copy), (gst_query_new):
22567 Update elements for GstData -> GstMiniObject changes
22569 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22570 (gst_queue_chain), (gst_queue_loop):
22571 * gst/elements/gstbufferstore.c:
22572 (gst_buffer_store_add_buffer_func),
22573 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22574 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22575 (gst_fakesink_render):
22576 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22577 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22578 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22579 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22580 (gst_filesrc_create_read):
22581 * gst/elements/gstidentity.c: (gst_identity_class_init):
22582 * gst/elements/gsttypefindelement.c:
22583 (gst_type_find_element_src_event), (free_entry_buffers),
22584 (gst_type_find_element_handle_event):
22585 * libs/gst/dataprotocol/dataprotocol.c:
22586 (gst_dp_header_from_buffer):
22587 * libs/gst/dataprotocol/dataprotocol.h:
22588 * libs/gst/dataprotocol/dp-private.h:
22590 2005-05-15 David Schleef <ds@schleef.org>
22592 * gst/elements/gstelements.c: Don't include headers that were
22595 2005-05-15 David Schleef <ds@schleef.org>
22597 * gst/elements/Makefile.am: Remove some elements that don't
22598 need to be in the core (or even exist at all).
22599 * gst/elements/gstaggregator.c:
22600 * gst/elements/gstaggregator.h:
22601 * gst/elements/gstmd5sink.c:
22602 * gst/elements/gstmd5sink.h:
22603 * gst/elements/gstmultifilesrc.c:
22604 * gst/elements/gstmultifilesrc.h:
22605 * gst/elements/gstpipefilter.c:
22606 * gst/elements/gstpipefilter.h:
22607 * gst/elements/gstshaper.c:
22608 * gst/elements/gstshaper.h:
22609 * gst/elements/gststatistics.c:
22610 * gst/elements/gststatistics.h:
22611 * po/POTFILES.in: Remove above files.
22613 2005-05-14 Andy Wingo <wingo@pobox.com>
22615 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22616 so as to get the refs right.
22617 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22618 unreffing objects that don't pass the filter.
22620 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22621 gst_element_set_bus.
22622 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22623 normal cases, this will destroy the bus.
22625 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22628 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22631 2005-05-13 Andy Wingo <wingo@pobox.com>
22633 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22634 gst_pad_link, call pad_link_maybe_ghosting,
22635 (pad_link_maybe_ghosting): Links pads, making sure that the
22636 elements being linked are in the same bin.
22637 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22638 Helpers for pad_link_maybe_ghosting.
22640 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22643 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22645 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22647 * docs/design/part-element-source.txt:
22650 2005-05-12 Wim Taymans <wim@fluendo.com>
22652 * gst/base/gstbasesink.c: (gst_basesink_init),
22653 (gst_basesink_activate):
22654 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22655 (gst_basesrc_is_seekable):
22656 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22657 (bin_element_is_sink), (gst_bin_change_state):
22658 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22659 * gst/gstelement.h:
22660 Identify sinks by their flag to avoid overly complicated
22662 Do state changes even for elements not reachable from the
22664 BaseSink is a sink now :)
22665 Some more debugging info in the basesrc.
22668 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22670 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22671 Implement _query on a bin, similar to _send_event.
22673 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22675 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22676 Discont event offset format should be GST_FORMAT_BYTES,
22677 not GST_FORMAT_TIME.
22679 2005-05-12 Wim Taymans <wim@fluendo.com>
22681 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22682 Same fix as Ronald's but without the signal.
22684 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22686 * gst/gstutils.c: (gst_element_query_position):
22687 No, an element is not a pad.
22689 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22691 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22692 (gst_bin_get_state):
22693 If a child is removed from a bin while we remove the child from
22694 the bin and while we're retrieving its state, signal this to the
22695 get_state function so we abort the wait (instead of waiting for
22696 a timeout) and can immediately re-iterate over all other elements.
22698 2005-05-12 Wim Taymans <wim@fluendo.com>
22700 * gst/base/Makefile.am:
22701 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22702 (gst_basesrc_start):
22703 * gst/base/gstbasesrc.h:
22704 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22705 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22706 (gst_pushsrc_init), (gst_pushsrc_create):
22707 * gst/base/gstpushsrc.h:
22708 Added is_seekable to BaseSrc
22709 Added simple PushSrc.
22711 2005-05-11 Wim Taymans <wim@fluendo.com>
22713 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22714 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22715 (gst_element_link_pads), (gst_element_query_position),
22716 (gst_element_query_convert), (intersect_caps_func),
22717 (gst_pad_query_position), (gst_pad_query_convert):
22718 Fix refcounting in utils function.
22719 No point in trying to activate a pad when it's added, it could
22720 be added from the state change function and then we deadlock, the
22721 element has to decide what to do.
22723 2005-05-10 Andy Wingo <wingo@pobox.com>
22725 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22726 *all* the arguments.
22728 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22729 stream lock if it's a FLUSH_DONE; normal flushes don't get the
22730 lock (according to the docs -- if this is wrong change the docs).
22732 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22733 flush messages in the NULL state.
22735 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22736 message immediately and return.
22737 (gst_bus_set_flushing): New function. If a bus is flushing, it
22738 flushes out any queued messages and immediately unrefs new
22739 messages. This is so when an element goes to NULL, all of the
22740 unhandled messages coming from it can be freed, and their
22741 references to the element dropped. In other words: message source
22742 ref considered harmful :P
22744 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22745 we're finished with it.
22747 * gst/gstmessage.c (gst_message_new_state_changed):
22749 2005-05-10 Wim Taymans <wim@fluendo.com>
22751 * gst/gstvalue.c: (gst_value_compare_flags),
22752 (gst_value_serialize_flags), (gst_value_deserialize_flags),
22753 (_gst_value_initialize):
22754 Added flags serialize/deserialize/compare code.
22756 2005-05-09 Andy Wingo <wingo@pobox.com>
22758 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
22759 Intersect the peer's caps with our caps.
22761 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22763 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22764 * gst/elements/gsttypefindelement.c: (find_peek):
22765 Handle negative offsets better. Fixes decodebin.
22767 2005-05-09 Wim Taymans <wim@fluendo.com>
22769 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
22770 (gst_base_transform_event):
22771 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
22772 Implement accept_caps.
22773 Fix silly lock/unlock mismatch in base class.
22775 2005-05-09 Wim Taymans <wim@fluendo.com>
22777 * docs/design/draft-push-pull.txt:
22778 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
22779 * gst/elements/gstfilesink.c: (gst_filesink_init),
22780 (gst_filesink_query):
22781 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22782 (gst_type_find_handle_src_query), (find_element_get_length):
22783 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
22784 * gst/gstelement.h:
22785 * gst/gstmessage.c:
22786 * gst/gstmessage.h:
22787 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
22788 (gst_real_pad_get_caps_unlocked),
22789 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
22790 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22791 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
22792 (gst_real_pad_dispose), (gst_real_pad_finalize),
22793 (gst_pad_load_and_link), (gst_pad_save_thyself),
22794 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
22795 (gst_pad_check_pull_range), (gst_pad_pull_range),
22796 (gst_pad_template_get_type), (gst_pad_template_class_init),
22797 (gst_pad_template_init), (gst_pad_template_dispose),
22798 (name_is_valid), (gst_static_pad_template_get),
22799 (gst_pad_template_new), (gst_static_pad_template_get_caps),
22800 (gst_pad_template_get_caps), (gst_pad_set_element_private),
22801 (gst_pad_get_element_private), (gst_pad_start_task),
22802 (gst_pad_pause_task), (gst_pad_stop_task),
22803 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
22804 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
22805 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
22806 (gst_ghost_pad_new):
22808 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
22809 (gst_query_new_position), (gst_query_set_position),
22810 (gst_query_parse_position), (gst_query_new_convert),
22811 (gst_query_set_convert), (gst_query_parse_convert):
22813 * gst/gstqueryutils.c:
22814 * gst/gstqueryutils.h:
22815 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22816 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22817 (gst_queue_handle_src_query):
22818 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22819 (gst_element_query_position), (gst_element_query_convert),
22820 (intersect_caps_func), (gst_pad_query_position),
22821 (gst_pad_query_convert):
22823 * tools/gst-inspect.c: (print_pad_info):
22824 * tools/gst-xmlinspect.c: (print_element_info):
22825 Remove old query functions. Ported old code.
22826 Added position/convert helper functions to gstutils.
22827 Reordered gstpad.c code, grouping relevant things.
22828 Remove gst_message_new(), always need to speficy a specific
22832 2005-05-09 Andy Wingo <wingo@pobox.com>
22834 * gst/gstiterator.h: Add some includes.
22836 * gst/gstqueryutils.h: Include more headers.
22839 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
22840 some uses of gst_pad_query.
22842 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
22843 NULL out parameters.
22844 (gst_query_new_position): New proc, allocates a new position
22847 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
22848 gstqueryutils.c to the build.
22850 * gst/gststructure.c (gst_structure_set_valist): Implement with
22851 the generic G_VALUE_COLLECT.
22853 2005-05-08 Edward Hervey <bilboed@bilboed.com>
22855 * gst/Makefile.am: (gst_headers):
22856 Added gstqueryutils.h to the list of headers to install, that was
22857 a 'nachty' move wingo :)
22859 2005-05-06 Andy Wingo <wingo@pobox.com>
22862 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
22863 GstData, init a memchunk.
22864 (standard_definitions): Add a few query types, deprecate a few.
22865 (gst_query_get_type): New proc.
22866 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
22868 (gst_query_new_application, gst_query_get_structure): New public
22871 * docs/design/draft-query.txt: Removed LINKS from the query types,
22872 because all the rest can be dispatched to other pads -- seemed
22873 ugly to have a query that couldn't be dispatched. internal_links
22874 is fine as a pad method.
22876 * gst/gstpad.h: Add query2 as a pad method, add the new functions
22877 in gstpad.c, but maintain binary compatibility for the moment.
22878 Will fix before 0.9 is out.
22880 * gst/gstqueryutils.c:
22881 * gst/gstqueryutils.h: New files, implement 3 methods for each
22882 query type: parse_query, parse_response, and set. Probably need an
22885 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
22887 * gst/elements/gstfilesink.c (gst_filesink_query2):
22888 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
22889 query_types, and formats methods.
22891 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
22892 (gst_pad_set_query2_function): New functions.
22893 (gst_real_pad_init): Set query2_default as the default query2
22894 function. Basically just dispatches to internally linked pads.
22898 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
22899 without using the atomic operations. Only one thread can possibly
22900 be accessing the data at this point. Changed so as to avoid
22901 gst_atomic operations.
22903 2005-05-06 Wim Taymans <wim@fluendo.com>
22905 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
22906 Also set caps if we use the fallback buffer alloc.
22908 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
22910 * docs/gst/Makefile.am:
22911 * docs/gst/gstreamer-docs.sgml:
22912 * docs/gst/gstreamer-sections.txt:
22913 * docs/gst/tmpl/gstatomic.sgml:
22914 * docs/gst/tmpl/gstmemchunk.sgml:
22915 * testsuite/elements/struct_i386.h:
22916 * win32/GStreamer.vcproj:
22918 Purge GstAtomic stuff from docs and win32 makefiles as well
22920 2005-05-06 Wim Taymans <wim@fluendo.com>
22922 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
22923 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
22924 * gst/gstpad.c: (gst_pad_peer_get_caps):
22925 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22926 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22927 (gst_queue_src_activate), (gst_queue_change_state):
22929 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22930 (intersect_caps_func):
22931 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
22932 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
22933 Some fixes for the peer_get_caps() change.
22935 2005-05-06 Wim Taymans <wim@fluendo.com>
22937 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22938 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
22939 (gst_basesink_activate):
22940 Actually do something with error codes returned from the push
22943 2005-05-06 Wim Taymans <wim@fluendo.com>
22945 * docs/design/part-element-sink.txt:
22946 * docs/design/part-element-source.txt:
22947 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22948 (gst_basesink_event), (gst_basesink_activate):
22949 * gst/base/gstbasesink.h:
22950 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
22951 (gst_basesrc_activate):
22952 * gst/base/gstbasesrc.h:
22953 * gst/gstelement.c: (gst_element_pads_activate):
22954 Some more documentation.
22955 Fixed scheduling decision in _pads_activate().
22957 2005-05-05 Andy Wingo <wingo@pobox.com>
22959 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
22962 2005-05-05 Wim Taymans <wim@fluendo.com>
22964 * gst/base/Makefile.am:
22965 * gst/base/gstbasesink.h:
22966 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22967 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
22968 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
22969 (gst_collectpads_class_init), (gst_collectpads_init),
22970 (gst_collectpads_finalize), (gst_collectpads_new),
22971 (gst_collectpads_set_function), (gst_collectpads_add_pad),
22972 (find_pad), (gst_collectpads_remove_pad),
22973 (gst_collectpads_is_active), (gst_collectpads_collect),
22974 (gst_collectpads_collect_range), (gst_collectpads_start),
22975 (gst_collectpads_stop), (gst_collectpads_peek),
22976 (gst_collectpads_pop), (gst_collectpads_available),
22977 (gst_collectpads_read), (gst_collectpads_flush),
22978 (gst_collectpads_chain):
22979 * gst/base/gstcollectpads.h:
22980 * gst/elements/Makefile.am:
22981 * gst/elements/gstelements.c:
22982 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22983 (gst_fakesink_get_times), (gst_fakesink_event),
22984 (gst_fakesink_preroll), (gst_fakesink_render):
22985 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22986 (gst_filesink_init), (gst_filesink_set_location),
22987 (gst_filesink_open_file), (gst_filesink_close_file),
22988 (gst_filesink_pad_query), (gst_filesink_event),
22989 (gst_filesink_render), (gst_filesink_change_state):
22990 * gst/elements/gstfilesink.h:
22991 Added object to help in making collect pad based elements.
22993 Make event function in sink baseclass return gboolean.
22995 2005-05-05 Wim Taymans <wim@fluendo.com>
22997 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
22998 (gst_bin_get_by_name):
23000 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23001 (gst_clock_finalize):
23002 * gst/gstdata.c: (gst_data_replace):
23004 * gst/gstelement.c: (gst_element_request_pad),
23005 (gst_element_pads_activate):
23006 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23007 (gst_object_unref):
23008 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23009 (gst_pad_set_checkgetrange_function),
23010 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23011 (gst_pad_check_pull_range), (gst_pad_pull_range),
23012 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23013 (gst_pad_pause_task), (gst_pad_stop_task):
23014 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23015 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23016 Fix name lookup in GstBin.
23017 Added _data_replace() function and _buffer_replace()
23018 Use finalize method to clean up clock.
23019 Fix refcounting on request pads.
23020 Fix pad schedule mode error.
23021 Some more object refcounting debug info,
23024 2005-05-04 Andy Wingo <wingo@pobox.com>
23026 * check/Makefile.am:
23027 * docs/gst/tmpl/gstatomic.sgml:
23028 * docs/gst/tmpl/gstplugin.sgml:
23029 * gst/base/gstbasesink.c: (gst_basesink_activate):
23030 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23031 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23032 (gst_basesrc_query), (gst_basesrc_set_property),
23033 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23034 (gst_basesrc_activate):
23035 * gst/base/gstbasesrc.h:
23036 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23037 (gst_base_transform_src_activate):
23038 * gst/elements/gstelements.c:
23039 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23040 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23041 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23042 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23043 (gst_type_find_element_checkgetrange),
23044 (gst_type_find_element_activate):
23045 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23046 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23047 (gst_caps_load_thyself):
23048 * gst/gstelement.c: (gst_element_pads_activate),
23049 (gst_element_save_thyself), (gst_element_restore_thyself):
23050 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23051 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23053 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23054 (gst_xml_parse_file), (gst_xml_parse_memory),
23055 (gst_xml_get_element), (gst_xml_make_element):
23056 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23057 (_file_index_id_save_xml), (gst_file_index_commit):
23058 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23059 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23061 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23062 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23063 * tools/gst-complete.c: (main):
23064 * tools/gst-compprep.c: (main):
23065 * tools/gst-inspect.c: (print_element_properties_info):
23066 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23067 * tools/gst-xmlinspect.c: (print_element_properties):
23070 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23072 * gst/gstplugin.c: (gst_plugin_check_module),
23073 (gst_plugin_check_file), (gst_plugin_load_file):
23074 apply patch from #172526 to make register work on MacOSX
23076 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23078 * docs/gst/tmpl/gstconfig.sgml:
23079 * gst/gstconfig.h.in:
23080 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23081 * testsuite/debug/printf_extension.c: (main):
23082 Do not use GST_PTR_FORMAT on pointers to types with
23083 sizeof < sizeof(gpointer). Fixes test on 64-bit
23084 * testsuite/elements/property.h:
23085 use correct printf format
23087 2005-05-02 Wim Taymans <wim@fluendo.com>
23089 * docs/design/draft-push-pull.txt:
23090 * docs/design/draft-query.txt:
23091 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23092 (gst_basesrc_start):
23093 Added draft for new query API.
23094 Added draft for better selecting scheduling methods.
23095 Make basesrc ignore length if the subclass does not support
23098 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23101 possible fixes for automake-1.5 - _LIBADD is reserved
23103 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23105 * docs/faq/Makefile.am:
23106 * docs/manual/Makefile.am:
23107 * docs/manuals.mak:
23108 * docs/pwg/Makefile.am:
23110 possible fixes for automake-1.5
23112 2005-04-28 Wim Taymans <wim@fluendo.com>
23114 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23115 (gst_basesink_pad_getcaps), (gst_basesink_init),
23116 (gst_basesink_do_sync):
23117 * gst/gstclock.c: (gst_clock_entry_new):
23118 * gst/gstevent.c: (gst_event_discont_get_value):
23119 * gst/gstpipeline.c: (pipeline_bus_handler),
23120 (gst_pipeline_change_state):
23121 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23122 Better debugging of clocking info.
23123 Allow NULL values when getting discont values.
23125 2005-04-27 Wim Taymans <wim@fluendo.com>
23127 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23128 * check/gst/gstpad.c: (gst_pad_suite):
23129 Increase timeout for checks.
23131 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23133 * check/Makefile.am:
23134 fix the broken rule for cleanup. Apparently this rule is
23135 only needed on FC2, so maybe this warrants further autotool
23138 2005-04-26 Wim Taymans <wim@fluendo.com>
23140 * gst/gsttrashstack.h:
23141 Ooohh. a nasty one! After having a failed pop() from the stack,
23142 it's possible that the stack is empty. In that case, don't
23143 follow the NULL pointer.
23145 2005-04-25 Wim Taymans <wim@fluendo.com>
23147 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23148 (gst_pad_set_checkgetrange_function),
23149 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23150 (gst_pad_check_pull_range), (gst_pad_pull_range),
23151 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23152 (gst_pad_pause_task), (gst_pad_stop_task):
23153 * gst/gstplugin.c: (gst_plugin_load):
23155 Remove gst_library_load as it does more harm than good with
23156 the new g_module flags.
23157 Revert bogus caps template check in pad linking, pad caps
23158 are important when linking not the template, which is more
23159 general than the current caps.
23161 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23163 * gst/autoplug/.cvsignore:
23164 * gst/autoplug/Makefile.am:
23165 * gst/autoplug/gstsearchfuncs.c:
23166 * gst/autoplug/gstsearchfuncs.h:
23167 * gst/autoplug/gstspider.c:
23168 * gst/autoplug/gstspider.h:
23169 * gst/autoplug/gstspideridentity.c:
23170 * gst/autoplug/gstspideridentity.h:
23171 * gst/autoplug/spidertest.c:
23174 2005-04-25 Wim Taymans <wim@fluendo.com>
23176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23177 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23178 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23179 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23181 Added stubs for unimplemented functions.
23183 2005-04-24 David Schleef <ds@schleef.org>
23185 * gst/gstpad.h: Disable some unimplemented functions. Wim,
23188 2005-04-24 David Schleef <ds@schleef.org>
23190 Convert everything from GstAtomicInt to g_atomic_int_*, and
23195 * gst/gstatomic_impl.h:
23203 * gst/gstdata_private.h:
23207 * gst/gstmessage.c:
23210 * gst/gststructure.c:
23211 * gst/gststructure.h:
23212 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23215 2005-04-24 David Schleef <ds@schleef.org>
23217 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23218 make the regressions tests work. Remove some code that is no
23220 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23221 Disable warning for pads without templates.
23223 2005-04-24 David Schleef <ds@schleef.org>
23225 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
23226 functions that handle filtered links.
23227 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23229 * gst/gstutils.c: Fix/remove utility functions that handle
23232 * gst/gstvalue.c: Add serialization/deserialization of caps
23233 * gst/parse/grammar.y: Ignore filtered caps when linking. This
23234 requires fixing so that the filter caps notation creates
23235 a capsfilter element and sets the filter_caps property. I
23236 think everyone probably wants to keep the shorthand notation.
23237 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23238 * docs/gst/tmpl/gstpad.sgml:
23240 * gst/elements/gstelements.c: Register capsfilter element.
23241 * gst/Makefile.am: fix spacing
23242 * docs/random/ds/0.9-suggested-changes: random
23244 2005-04-23 David Schleef <ds@schleef.org>
23246 * gst/elements/Makefile.am:
23247 * gst/elements/gstcapsfilter.c: New element that acts like an
23248 identity, but filters caps. Will eventually replace filtered
23249 caps in pad linking.
23250 * gst/gstutils.c: (gst_element_create_all_pads): New function
23251 to create all the ALWAYS pads that are registered with an
23252 element class. This functionality should eventually be
23253 merged in with GstElement initialization.
23255 * testsuite/trigger/README: part of trigger test code that should
23256 have been checked in a long time ago.
23258 2005-04-23 David Schleef <ds@schleef.org>
23260 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23261 needed with new versions of libtool (nobody will confirm this),
23262 and hard to carry around.
23263 * gst/autoplug/Makefile.am:
23264 * gst/base/Makefile.am:
23265 * gst/elements/Makefile.am:
23266 * gst/indexers/Makefile.am:
23267 * gst/schedulers/Makefile.am:
23268 * libs/gst/bytestream/Makefile.am:
23269 * libs/gst/control/Makefile.am:
23270 * libs/gst/dataprotocol/Makefile.am:
23271 * libs/gst/getbits/Makefile.am:
23273 2005-04-21 Wim Taymans <wim@fluendo.com>
23275 * docs/design/draft-push-pull.txt:
23276 * docs/design/part-MT-refcounting.txt:
23277 * docs/design/part-TODO.txt:
23278 * docs/design/part-caps.txt:
23279 * docs/design/part-events.txt:
23280 * docs/design/part-gstbus.txt:
23281 * docs/design/part-gstpipeline.txt:
23282 * docs/design/part-messages.txt:
23283 * docs/design/part-push-pull.txt:
23284 * docs/design/part-query.txt:
23287 2005-04-21 Wim Taymans <wim@fluendo.com>
23289 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23290 (gst_message_new), (gst_message_new_error),
23291 (gst_message_new_warning), (gst_message_new_tag),
23292 (gst_message_new_state_changed), (gst_message_new_application),
23293 (gst_message_get_structure):
23294 * gst/gstmessage.h:
23295 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23296 (gst_structure_copy_conditional):
23297 Use parent refcount in GstMessage to ensure GstStructure
23299 Cleaned up headers a bit.
23302 2005-04-20 Wim Taymans <wim@fluendo.com>
23304 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23305 (gst_basesink_pad_getcaps), (gst_basesink_init),
23306 (gst_basesink_chain_unlocked):
23307 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23308 (gst_type_find_helper):
23309 * gst/elements/gsttypefindelement.c:
23310 (gst_type_find_element_have_type), (gst_type_find_element_init),
23311 (stop_typefinding), (gst_type_find_element_handle_event),
23312 (find_suggest), (gst_type_find_element_chain),
23313 (gst_type_find_element_checkgetrange),
23314 (gst_type_find_element_getrange), (do_typefind),
23315 (gst_type_find_element_activate):
23316 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23317 (gst_buffer_default_free), (gst_buffer_default_copy),
23318 (gst_buffer_set_caps):
23319 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23320 (gst_caps_replace):
23321 * gst/gstmessage.c: (gst_message_new),
23322 (gst_message_new_state_changed):
23323 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23324 (gst_pad_set_checkgetrange_function),
23325 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23326 (gst_pad_set_caps), (gst_pad_check_pull_range),
23327 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23329 * gst/gsttypefind.c: (gst_type_find_register):
23330 Make gst_caps_replace() work like other _replace() functions.
23331 Use _caps_replace() where possible.
23332 Make sure _message_new() initialises its field.
23333 Add gst_static_pad_template_get_caps()
23336 2005-04-18 Andy Wingo <wingo@pobox.com>
23338 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23339 on the peer, not the pad. I think that was a typo. Pass an extra
23340 arg to see if random access is possible. Activate the pads as
23341 PULL_RANGE if possible.
23343 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23345 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23346 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23349 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23351 * docs/faq/using.xml:
23352 Add note on gstreamer-properties (#154996).
23354 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23356 * docs/random/bbb/optional-properties:
23357 Some analysis on optional properties.
23359 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23361 * docs/gst/tmpl/gstelementfactory.sgml:
23362 * gst/gstelement.h:
23363 * gst/gstelementfactory.c: (gst_element_factory_init),
23364 (gst_element_factory_cleanup), (gst_element_register),
23365 (__gst_element_factory_add_static_pad_template),
23366 (gst_element_factory_get_static_pad_templates),
23367 (gst_element_factory_can_src_caps),
23368 (gst_element_factory_can_sink_caps):
23369 * gst/registries/Makefile.am:
23370 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23371 (gst_xml_registry_class_init), (gst_xml_registry_init),
23372 (gst_xml_registry_new), (gst_xml_registry_set_property),
23373 (gst_xml_registry_get_property), (get_time), (make_dir),
23374 (gst_xml_registry_get_perms_func),
23375 (plugin_times_older_than_recurse), (plugin_times_older_than),
23376 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23377 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23378 (add_to_char_array), (read_string), (read_uint), (read_enum),
23379 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23380 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23381 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23382 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23383 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23384 (gst_xml_registry_rebuild):
23385 * gst/registries/gstlibxmlregistry.h:
23386 * tools/gst-compprep.c: (main):
23387 * tools/gst-inspect.c: (print_pad_templates_info):
23388 * tools/gst-xmlinspect.c: (print_element_info):
23389 Use libxml2 for registry parsing, use staticpadtemplates in
23390 elementfactories. Makes gst_init() +/- 10x faster.
23392 2005-04-12 Wim Taymans <wim@fluendo.com>
23394 * gst/base/Makefile.am:
23395 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23396 (gst_basesink_pad_getcaps), (gst_basesink_init),
23397 (gst_basesink_event), (gst_basesink_change_state):
23398 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23399 (gst_basesrc_init), (gst_basesrc_query),
23400 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23401 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23402 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23403 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23404 (gst_basesrc_stop), (gst_basesrc_activate),
23405 (gst_basesrc_change_state):
23406 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23407 (helper_find_suggest), (gst_type_find_helper):
23408 * gst/base/gsttypefindhelper.h:
23409 * gst/elements/Makefile.am:
23410 * gst/elements/gstelements.c:
23411 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23412 (gst_fakesink_get_times), (gst_fakesink_event),
23413 (gst_fakesink_preroll), (gst_fakesink_render):
23414 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23415 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23416 (gst_fakesrc_get_property), (gst_fakesrc_create),
23417 (gst_fakesrc_start), (gst_fakesrc_stop):
23418 * gst/elements/gstfakesrc.h:
23419 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23420 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23421 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23422 (gst_filesrc_create_read), (gst_filesrc_create),
23423 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23424 (gst_filesrc_start):
23425 * gst/elements/gsttypefindelement.c:
23426 (gst_type_find_element_have_type), (gst_type_find_element_init),
23427 (start_typefinding), (stop_typefinding), (push_buffer_store),
23428 (gst_type_find_element_handle_event),
23429 (gst_type_find_element_chain),
23430 (gst_type_find_element_checkgetrange),
23431 (gst_type_find_element_getrange), (do_typefind),
23432 (gst_type_find_element_activate),
23433 (gst_type_find_element_change_state):
23434 * gst/elements/gsttypefindelement.h:
23435 * gst/gstpipeline.c: (pipeline_bus_handler):
23436 Added typefind helper.
23437 Small preroll fix in the base sink.
23438 Disable typefind code in basesrc.
23439 Crude port of typefindelement.
23443 2005-04-11 Wim Taymans <wim@fluendo.com>
23445 * check/gst/gstbus.c: (gstbus_suite):
23446 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23447 * check/gstcheck.h:
23448 Fix up the timeout so that the test does not fail.
23450 2005-04-06 Wim Taymans <wim@fluendo.com>
23453 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23454 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23455 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23456 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23457 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23458 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23459 (gst_basesrc_stop), (gst_basesrc_activate),
23460 (gst_basesrc_change_state), (basesrc_find_peek),
23461 (basesrc_find_suggest), (gst_basesrc_type_find):
23462 * gst/base/gstbasesrc.h:
23463 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23464 (gst_filesrc_class_init), (gst_filesrc_init),
23465 (gst_filesrc_finalize), (gst_filesrc_set_location),
23466 (gst_filesrc_set_property), (gst_filesrc_get_property),
23467 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23468 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23469 (gst_filesrc_create_read), (gst_filesrc_create),
23470 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23471 * gst/elements/gstfilesrc.h:
23472 * gst/gstelement.c: (gst_element_get_state_func),
23473 (gst_element_lost_state), (gst_element_pads_activate):
23474 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23475 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23476 (gst_pad_pull_range):
23478 More work on the generic source base class, implement seeking,
23480 Make filesrc extend the base source class.
23481 Added gst_pad_set_checkgetrange_function to GstPad.
23483 2005-04-06 Andy Wingo <wingo@pobox.com>
23485 * pkgconfig/gstreamer-base.pc.in:
23486 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23488 * pkgconfig/Makefile.am:
23489 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23491 2005-04-04 Wim Taymans <wim@fluendo.com>
23493 * gst/base/Makefile.am:
23495 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23496 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23497 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23498 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23499 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23500 (gst_basesrc_base_init), (gst_basesrc_class_init),
23501 (gst_basesrc_init), (gst_basesrc_get_formats),
23502 (gst_basesrc_get_query_types), (gst_basesrc_query),
23503 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23504 (gst_basesrc_set_property), (gst_basesrc_get_property),
23505 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23506 (gst_basesrc_loop), (gst_basesrc_activate),
23507 (gst_basesrc_change_state):
23508 * gst/base/gstbasesrc.h:
23509 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23510 (gst_fakesrc_class_init), (gst_fakesrc_init),
23511 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23512 (gst_fakesrc_get_property), (gst_fakesrc_create):
23513 * gst/elements/gstfakesrc.h:
23514 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23515 (gst_filesrc_open_file), (gst_filesrc_loop),
23516 (gst_filesrc_activate), (filesrc_find_peek),
23517 (gst_filesrc_type_find):
23518 Made base source class, make fakesrc extend it.
23519 Add comments to basesink class.
23520 Some filesrc cleanup.
23522 2005-03-31 David Schleef <ds@schleef.org>
23524 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23525 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23526 expected to link against libgstreamer.
23527 * gst/base/Makefile.am: link against libgstreamer
23528 * gst/elements/Makefile.am: same
23530 2005-03-31 Andy Wingo <wingo@pobox.com>
23532 * tests/instantiate/Makefile.am:
23533 * tests/instantiate/caps.c: Add test to test speed of caps copy
23536 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23537 GMemChunk to be fair.
23539 * gst/gsttrashstack.h: Remove warning about using the fallback
23540 trash stack implementation, it's still faster than malloc.
23542 2005-03-30 Andy Wingo <wingo@pobox.com>
23544 * tests/complexity.c: Add a copyright.
23546 2005-03-31 Wim Taymans <wim@fluendo.com>
23548 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23549 (gst_base_transform_class_init), (gst_base_transform_init),
23550 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23551 (gst_base_transform_get_property),
23552 (gst_base_transform_sink_activate),
23553 (gst_base_transform_src_activate),
23554 (gst_base_transform_change_state):
23555 * gst/base/gstbasetransform.h:
23556 * gst/elements/gstidentity.c: (gst_identity_class_init),
23557 (gst_identity_event), (gst_identity_check_perfect),
23558 (gst_identity_transform), (gst_identity_start),
23559 (gst_identity_stop):
23560 Added start/stop methods to transform base class so subclasses
23561 don't need to deal with state changes even.
23563 2005-03-31 Wim Taymans <wim@fluendo.com>
23565 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23566 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23568 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23569 (gst_pad_pull_range):
23570 Added rate to the discont event to prepare for variable speed
23571 and reverse playback.
23573 2005-03-29 David Schleef <ds@schleef.org>
23576 * testsuite/trigger/Makefile.am:
23577 * testsuite/trigger/trigger.c: A little example program to show
23578 how trigger-based elements can work.
23580 2005-03-29 Wim Taymans <wim@fluendo.com>
23582 * gst/base/Makefile.am:
23584 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23585 (gst_basesink_base_init), (gst_basesink_class_init),
23586 (gst_basesink_pad_getcaps), (gst_basesink_init),
23587 (gst_basesink_activate), (gst_basesink_change_state):
23588 * gst/base/gstbasesink.h:
23589 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23590 (gst_base_transform_base_init), (gst_base_transform_finalize),
23591 (gst_base_transform_class_init), (gst_base_transform_init),
23592 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23593 (gst_base_transform_event), (gst_base_transform_getrange),
23594 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23595 (gst_base_transform_set_property),
23596 (gst_base_transform_get_property),
23597 (gst_base_transform_sink_activate),
23598 (gst_base_transform_src_activate),
23599 (gst_base_transform_change_state):
23600 * gst/base/gstbasetransform.h:
23601 * gst/elements/gstidentity.c: (gst_identity_finalize),
23602 (gst_identity_class_init), (gst_identity_init),
23603 (gst_identity_event), (gst_identity_check_perfect),
23604 (gst_identity_transform), (gst_identity_set_property),
23605 (gst_identity_get_property), (gst_identity_change_state):
23606 * gst/elements/gstidentity.h:
23607 * gst/gstelement.c: (gst_element_get_state_func),
23608 (gst_element_lost_state), (gst_element_pads_activate):
23609 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23610 (gst_pad_check_pull_range), (gst_pad_pull_range):
23612 Simplify pad activation.
23613 Added function to check if pull_range can be performed.
23614 Error out when pulling inactive or flushing pads.
23615 Removed const from refcounted types as it does not make sense.
23616 Simplify pad templates in basesink
23617 Added base class for simple 1-to-1 transforms.
23618 Make identity subclass the base transform.
23620 2005-03-29 Andy Wingo <wingo@pobox.com>
23622 * docs/libs/gstreamer-libs-overrides.txt:
23623 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23624 really don't understand what's going on, but like whatever. I want
23627 * docs/gst/Makefile.am:
23628 * docs/libs/Makefile.am: Dist the overrides files.
23630 * check/Makefile.am (clean-local): Remove .libs directories.
23632 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23633 elements to EXTRA_DIST, so po/ files are happy.
23635 * po/POTFILES.in: Er, remove it here.
23637 * po/POTFILES: Remove gstspider.c.
23639 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23641 * docs/libs/gstreamer-libs-docs.sgml:
23642 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23645 * tests/complexity.c (main): Set the length of the preroll queue
23646 on the sinks to prevent a lockup.
23648 * libs/gst/dataprotocol/Makefile.am:
23649 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23650 the same as the one in check/gst-libs/gdp.c.
23652 * po/, docs/gst/: Commit automatic changes to docs and po files.
23654 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23655 the versioned libgstbase.
23657 * check/Makefile.am: Depend on an unversioned gst-register, seems
23658 to make autoconf happier.
23660 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23662 2005-03-28 Wim Taymans <wim@fluendo.com>
23665 * docs/design/part-gstelement.txt:
23666 * docs/design/part-negotiation.txt:
23667 * docs/design/part-preroll.txt:
23668 * docs/design/part-scheduling.txt:
23669 * docs/design/part-states.txt:
23671 * gst/base/Makefile.am:
23673 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23674 (gst_basesink_base_init), (gst_basesink_class_init),
23675 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23676 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23677 (gst_basesink_set_pad_functions),
23678 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23679 (gst_basesink_set_property), (gst_basesink_get_property),
23680 (gst_base_sink_get_template), (gst_base_sink_get_caps),
23681 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23682 (gst_basesink_preroll_queue_push),
23683 (gst_basesink_preroll_queue_empty),
23684 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23685 (gst_basesink_event), (gst_basesink_get_times),
23686 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23687 (gst_basesink_chain_unlocked), (gst_basesink_chain),
23688 (gst_basesink_loop), (gst_basesink_activate),
23689 (gst_basesink_change_state):
23690 * gst/base/gstbasesink.h:
23691 * gst/elements/Makefile.am:
23692 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23693 (gst_fakesink_class_init), (gst_fakesink_init),
23694 (gst_fakesink_set_property), (gst_fakesink_get_property),
23695 (gst_fakesink_get_times), (gst_fakesink_event),
23696 (gst_fakesink_preroll), (gst_fakesink_render),
23697 (gst_fakesink_change_state):
23698 * gst/elements/gstfakesink.h:
23699 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23700 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23701 * gst/gstelement.c: (gst_element_add_pad),
23702 (gst_element_get_state_func), (gst_element_abort_state),
23703 (gst_element_commit_state), (gst_element_lost_state),
23704 (gst_element_set_state), (gst_element_pads_activate):
23705 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23706 * gst/gstpipeline.c: (gst_pipeline_send_event),
23707 (gst_pipeline_change_state):
23708 Added state change code.
23709 Added/updated docs.
23710 Added sink base class, make fakesink extend the base class.
23711 Small cleanups in GstPipeline.
23713 2005-03-26 David Schleef <ds@schleef.org>
23715 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
23716 is broken and should be implemented in a different library.
23717 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23718 * gst/gst.h: remove gstcpu.h
23719 * gst/gstcpu.c: remove
23720 * gst/gstcpu.h: remove
23721 * gst/Makefile.am.future: Remove this file. It's ancient.
23723 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23725 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23726 (gst_bin_send_event):
23727 Add default event/set_manager handlers. The set_manager handler
23728 takes care that the manager is distributed over kids that were
23729 already in the bin before the manager was set. The event handler
23730 is a utility virtual function that sends the event over all sinks,
23731 so that gst_element_send_event (bin, event); has the expected
23733 * gst/gstpad.c: (gst_pad_event_default):
23734 Re-install default event handling for discontinuities, so that
23735 seeking works without requiring hacks in applications or extra
23737 * gst/gstpipeline.c: (gst_pipeline_class_init),
23738 (gst_pipeline_send_event):
23739 Half hack, half utility: set a pipeline to PAUSED for seek events,
23740 since that is the only way we can guarantee a/v sync. Means that
23741 you can do gst_element_seek (pipeline, method, pos); on a pipeline
23742 and it "just works".
23744 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23746 * gst/gstpipeline.c: (gst_pipeline_use_clock):
23747 Lock/unlock mismatch.
23749 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
23751 * docs/faq/gst-uninstalled:
23752 add gst-plugins-base
23753 * docs/gst/Makefile.am:
23754 don't error out until docs are fixed
23755 * docs/gst/gstreamer.types:
23758 2005-03-22 Wim Taymans <wim@fluendo.com>
23760 * check/Makefile.am:
23761 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
23762 * gst/gststructure.c: (gst_structure_set_valist),
23763 (gst_structure_copy_conditional):
23764 Activated more tests.
23765 Added message test.
23766 Added G_TYPE_POINTER to GstStructure.
23769 2005-03-22 Wim Taymans <wim@fluendo.com>
23771 * docs/design/part-TODO.txt:
23772 * docs/design/part-events.txt:
23773 * docs/design/part-gstbin.txt:
23774 * docs/design/part-gstbus.txt:
23775 * docs/design/part-gstpipeline.txt:
23776 * docs/design/part-messages.txt:
23778 * gst/gstmessage.c:
23781 2005-03-21 Wim Taymans <wim@fluendo.com>
23783 * gst/gstbus.c: (gst_bus_post):
23784 Fix copy-and-paste error.
23786 2005-03-21 Wim Taymans <wim@fluendo.com>
23788 * check/Makefile.am:
23790 * gst/elements/Makefile.am:
23791 * gst/elements/gstelements.c:
23792 * gst/elements/gstfakesink.c: (gst_fakesink_init),
23793 (gst_fakesink_event), (gst_fakesink_chain):
23794 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23795 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
23796 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
23797 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
23798 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23799 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
23800 (gst_fakesrc_loop), (gst_fakesrc_activate),
23801 (gst_fakesrc_change_state):
23802 * gst/elements/gstfakesrc.h:
23803 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
23804 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
23805 (gst_filesrc_open_file), (gst_filesrc_loop),
23806 (gst_filesrc_activate), (gst_filesrc_change_state),
23807 (filesrc_find_peek), (filesrc_find_suggest),
23808 (gst_filesrc_type_find):
23809 * gst/elements/gstidentity.c: (gst_identity_finalize),
23810 (gst_identity_class_init), (gst_identity_init),
23811 (gst_identity_proxy_getcaps), (identity_queue_push),
23812 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
23813 (gst_identity_getrange), (gst_identity_chain),
23814 (gst_identity_sink_loop), (gst_identity_src_loop),
23815 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
23816 (gst_identity_set_property), (gst_identity_get_property),
23817 (gst_identity_change_state):
23818 * gst/elements/gstidentity.h:
23819 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
23820 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
23821 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
23822 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
23823 (gst_tee_sink_activate):
23824 * gst/elements/gsttee.h:
23825 * gst/gst.c: (gst_register_core_elements), (init_post):
23827 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
23828 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
23829 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
23830 (gst_bin_change_state):
23832 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
23833 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
23834 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
23835 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
23836 (gst_bus_set_sync_handler), (gst_bus_create_watch),
23837 (bus_watch_callback), (bus_watch_destroy),
23838 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
23839 (poll_timeout), (gst_bus_poll):
23843 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23844 (gst_element_post_message), (gst_element_message_full),
23845 (gst_element_get_state_func), (gst_element_get_state),
23846 (gst_element_abort_state), (gst_element_commit_state),
23847 (gst_element_lost_state), (gst_element_set_state),
23848 (gst_element_pads_activate), (gst_element_change_state),
23849 (gst_element_dispose), (gst_element_set_manager_func),
23850 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
23851 (gst_element_set_manager), (gst_element_get_manager),
23852 (gst_element_set_bus), (gst_element_get_bus),
23853 (gst_element_set_scheduler), (gst_element_get_scheduler):
23854 * gst/gstelement.h:
23855 * gst/gstevent.c: (gst_event_new_segment_seek),
23856 (gst_event_new_flush):
23858 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
23859 (_gst_message_free), (gst_message_get_type), (gst_message_new),
23860 (gst_message_new_eos), (gst_message_new_error),
23861 (gst_message_new_warning), (gst_message_new_tag),
23862 (gst_message_new_state_changed), (gst_message_new_application),
23863 (gst_message_get_structure), (gst_message_parse_tag),
23864 (gst_message_parse_state_changed), (gst_message_parse_error),
23865 (gst_message_parse_warning):
23866 * gst/gstmessage.h:
23867 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
23868 (gst_real_pad_set_property), (gst_pad_set_active),
23869 (gst_pad_is_active), (gst_pad_set_blocked_async),
23870 (gst_pad_set_blocked), (gst_pad_is_blocked),
23871 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
23872 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
23873 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
23874 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
23875 (gst_pad_link_filtered), (gst_pad_relink_filtered),
23876 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
23877 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
23878 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
23879 (gst_pad_set_caps), (gst_pad_configure_sink),
23880 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
23881 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
23882 (gst_real_pad_dispose), (gst_real_pad_finalize),
23883 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
23884 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23885 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
23887 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
23888 (pipeline_bus_handler), (gst_pipeline_change_state),
23889 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
23890 * gst/gstpipeline.h:
23892 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23893 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
23894 (gst_queue_link_src), (gst_queue_bufferalloc),
23895 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
23896 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
23897 (gst_queue_loop), (gst_queue_handle_src_event),
23898 (gst_queue_handle_src_query), (gst_queue_src_activate),
23899 (gst_queue_change_state):
23901 * gst/gstscheduler.c: (gst_scheduler_init),
23902 (gst_scheduler_dispose), (gst_scheduler_create_task),
23903 (gst_scheduler_factory_create):
23904 * gst/gstscheduler.h:
23905 * gst/gststructure.c: (gst_structure_get_type),
23906 (gst_structure_copy_conditional):
23907 * gst/gststructure.h:
23908 * gst/gsttaginterface.h:
23909 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23910 (gst_task_init), (gst_task_dispose), (gst_task_create),
23911 (gst_task_get_state), (gst_task_start), (gst_task_stop),
23917 * gst/schedulers/Makefile.am:
23918 * gst/schedulers/cothreads_compat.h:
23919 * gst/schedulers/entryscheduler.c:
23920 * gst/schedulers/faircothreads.c:
23921 * gst/schedulers/faircothreads.h:
23922 * gst/schedulers/fairscheduler.c:
23923 * gst/schedulers/gstbasicscheduler.c:
23924 * gst/schedulers/gstoptimalscheduler.c:
23925 * gst/schedulers/gthread-cothreads.h:
23926 * gst/schedulers/threadscheduler.c:
23927 (gst_thread_scheduler_task_get_type),
23928 (gst_thread_scheduler_task_class_init),
23929 (gst_thread_scheduler_task_init),
23930 (gst_thread_scheduler_task_start),
23931 (gst_thread_scheduler_task_stop),
23932 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
23933 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23934 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
23935 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
23937 * libs/gst/Makefile.am:
23938 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
23939 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
23940 (gst_file_pad_parent_set):
23941 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23942 (gst_dp_event_from_packet):
23943 * tests/complexity.c: (main):
23944 * tests/mass_elements.c: (main):
23945 * testsuite/states/locked.c: (message_received), (main):
23946 * testsuite/states/parent.c: (main):
23947 * tools/gst-inspect.c: (print_element_flag_info),
23948 (print_implementation_info), (print_pad_info):
23949 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
23951 * tools/gst-md5sum.c: (event_loop), (main):
23952 * tools/gst-typefind.c: (main):
23953 * tools/gst-xmlinspect.c: (print_element_info):
23955 Added GstBus for mainloop integration.
23956 Added GstMessage for sending notifications on the bus.
23957 Added GstTask as an abstraction for pipeline entry points.
23959 Removed Schedulers.
23960 Simplified GstQueue for multithreaded core.
23961 Made _link threadsafe, removed old capsnego.
23962 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
23963 Added pad blocking functions.
23964 Reworked scheduling functions in GstPad to prepare for
23965 scheduling updates soon.
23966 Moved events out of data stream.
23967 Simplified GstEvent types.
23968 Added return values to push/pull.
23969 Removed clocking from GstElement.
23970 Added prototypes for state change function for next merge.
23971 Removed iterate from bins and state change management.
23972 Fixed some elements, disabled others for now.
23973 Fixed -inspect and -launch.
23974 Added check for GstBus.
23976 2005-03-10 Wim Taymans <wim@fluendo.com>
23978 * docs/design/part-MT-refcounting.txt:
23979 * docs/design/part-clocks.txt:
23980 * docs/design/part-gstelement.txt:
23981 * docs/design/part-gstobject.txt:
23982 * docs/design/part-standards.txt:
23983 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23984 (gst_bin_remove_func), (gst_bin_remove):
23988 * testsuite/clock/clock1.c: (main):
23989 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
23991 * testsuite/dlopen/loadgst.c: (do_test):
23992 * testsuite/refcounting/bin.c: (add_remove_test1),
23993 (add_remove_test2), (main):
23994 * testsuite/refcounting/element.c: (main):
23995 * testsuite/refcounting/element_pad.c: (main):
23996 * testsuite/refcounting/pad.c: (main):
23997 * tools/gst-launch.c: (sigint_handler_sighandler):
23998 * tools/gst-typefind.c: (main):
24000 Added doc about clock.
24001 removed gst_bin_iterate_recurse_up(), marked methods
24003 Fix more testsuites.
24005 2005-03-09 Wim Taymans <wim@fluendo.com>
24007 * gst/gstpad.c: (gst_pad_get_direction),
24008 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24009 (gst_pad_collect_valist):
24010 * testsuite/bins/interface.c: (main):
24011 * testsuite/caps/audioscale.c: (test_caps):
24012 * testsuite/caps/caps.c: (test1), (test2), (test3):
24013 * testsuite/caps/deserialize.c: (main):
24014 * testsuite/caps/enumcaps.c: (main):
24015 * testsuite/caps/filtercaps.c: (main):
24016 * testsuite/caps/intersect2.c: (main):
24017 * testsuite/caps/random.c: (main):
24018 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24019 * testsuite/caps/sets.c: (check_caps):
24020 * testsuite/caps/simplify.c: (check_caps), (main):
24021 * testsuite/caps/subtract.c: (check_caps):
24022 Fix _pad_get_direction wrt ghostpads.
24023 Fix caps testsuite.
24025 2005-03-09 Wim Taymans <wim@fluendo.com>
24027 * check/Makefile.am:
24028 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24029 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24030 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24031 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24032 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24033 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24034 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24035 (bin_element_is_sink), (gst_bin_iterate_sinks),
24036 (gst_bin_iterate_all_by_interface):
24038 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24039 (gst_element_change_state), (gst_element_dispose),
24040 (gst_element_finalize), (gst_element_set_loop_function):
24041 * gst/gstelement.h:
24042 * gst/gstiterator.c: (find_custom_fold_func):
24043 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24044 (gst_pad_collectv), (gst_pad_collect_valist),
24045 (gst_pad_template_new):
24046 * gst/gstpipeline.c: (gst_pipeline_class_init),
24047 (gst_pipeline_dispose), (gst_pipeline_set_property),
24048 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24049 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24050 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24052 * gst/schedulers/entryscheduler.c:
24053 * gst/schedulers/gstbasicscheduler.c:
24054 (gst_basic_scheduler_cothreaded_chain),
24055 (gst_basic_scheduler_chain_add_element):
24056 * testsuite/bins/interface.c: (main):
24058 Added GstSystemClock test.
24059 Implemented clock distribution code in GstBin.
24060 Implemented iterate sinks method for future use.
24061 Rearranged gstelement.h
24062 Fix GstIterator comparison bug.
24063 Moved some code to GstPipeline, mostly clocking related.
24065 2005-03-09 Wim Taymans <wim@fluendo.com>
24068 * gst/gst_private.h:
24069 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24070 (gst_bin_remove_func), (gst_bin_remove),
24071 (gst_bin_get_by_name_recurse_up):
24072 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24073 (gst_clock_id_compare_func), (gst_clock_id_wait),
24074 (gst_clock_id_wait_async), (gst_clock_init),
24075 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24076 * gst/gstelement.h:
24077 * gst/gstinfo.c: (_gst_debug_init):
24079 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24080 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24082 Bump version number, we're now 0.9.0
24083 Add future debugging category.
24084 Fix NULL _unref() in _get_by_name_recurse_up
24085 Rearrange gstpad.h.
24088 2005-03-08 Wim Taymans <wim@fluendo.com>
24090 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24091 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24092 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24093 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24094 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24095 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24096 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24097 * gst/elements/gstidentity.c: (gst_identity_class_init):
24098 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24099 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24100 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24101 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24102 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24104 * gst/gstelement.c: (gst_element_class_init),
24105 (gst_element_base_class_init), (gst_element_init),
24106 (gst_element_get_random_pad), (gst_element_wait_state_change),
24107 (gst_element_change_state), (gst_element_dispose),
24108 (gst_element_finalize), (gst_element_set_loop_function):
24109 * gst/gstelement.h:
24110 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24111 * gst/gstthread.c: (gst_thread_class_init),
24112 (gst_thread_release_children_locks), (gst_thread_change_state):
24113 * gst/schedulers/gstbasicscheduler.c:
24114 (gst_basic_scheduler_loopfunc_wrapper),
24115 (gst_basic_scheduler_chain_wrapper),
24116 (gst_basic_scheduler_src_wrapper),
24117 (gst_basic_scheduler_remove_element):
24118 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24119 Remove threadsafe properties. Fix elements because GObject
24120 complains when installing a property before declaring a
24121 set/get_property handler.
24122 Rearrange gstelement.h file, use STATE macros for state locks.
24123 Free mutexes in the finalize method instead of dispose.
24125 2005-03-08 Wim Taymans <wim@fluendo.com>
24127 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24128 * gst/gstthread.c: (gst_thread_release_children_locks):
24129 Added parentage check.
24130 Fix build og GstThread again.
24132 2005-03-08 Wim Taymans <wim@fluendo.com>
24134 * docs/design/part-MT-refcounting.txt:
24135 * docs/design/part-conventions.txt:
24136 * docs/design/part-gstobject.txt:
24137 * docs/design/part-relations.txt:
24138 * docs/design/part-standards.txt:
24139 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24140 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24141 (gst_bin_get_by_name), (gst_bin_get_by_interface),
24142 (gst_bin_iterate_all_by_interface):
24145 * gst/gstelement.c: (gst_element_class_init),
24146 (gst_element_change_state), (gst_element_set_loop_function):
24147 * gst/gstelement.h:
24148 * gst/gstiterator.c:
24149 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24150 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24151 (gst_object_dispatch_properties_changed), (gst_object_set_name),
24152 (gst_object_set_parent), (gst_object_unparent),
24153 (gst_object_check_uniqueness):
24155 Docs updates, clean up some headers.
24157 2005-03-07 Wim Taymans <wim@fluendo.com>
24159 * check/.cvsignore:
24160 * check/Makefile.am:
24161 * check/gst-libs/.cvsignore:
24162 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24163 * check/gst/.cvsignore:
24164 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24165 (START_TEST), (gstbus_suite), (main):
24166 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24167 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24168 (gst_data_suite), (main):
24169 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24170 (add_fold_func), (gstiterator_suite), (main):
24171 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24172 (thread_name_object), (thread_name_object_default),
24173 (gst_object_name_compare), (gst_object_suite), (main):
24174 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24175 (gst_pad_suite), (main):
24176 * check/gstcheck.c: (gst_check_log_message_func),
24177 (gst_check_log_critical_func), (gst_check_init):
24178 * check/gstcheck.h:
24179 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24180 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24183 2005-03-07 Wim Taymans <wim@fluendo.com>
24185 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24186 (gst_list_iterator_next), (gst_list_iterator_resync),
24187 (gst_list_iterator_free), (gst_iterator_new_list),
24188 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24189 (gst_iterator_free), (gst_iterator_push), (filter_next),
24190 (filter_resync), (filter_uninit), (filter_free),
24191 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24192 (gst_iterator_foreach), (find_custom_fold_func),
24193 (gst_iterator_find_custom):
24194 * gst/gstiterator.h:
24195 Added missing files.
24197 2005-03-07 Wim Taymans <wim@fluendo.com>
24201 * docs/design/part-MT-refcounting.txt:
24202 * docs/design/part-conventions.txt:
24203 * docs/design/part-gstobject.txt:
24204 * docs/design/part-relations.txt:
24205 * examples/mixer/mixer.c: (main):
24206 * examples/thread/thread.c: (eos), (main):
24208 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24209 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24210 (gst_spider_plug_from_srcpad):
24211 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24212 (gst_spider_identity_change_state),
24213 (gst_spider_identity_sink_loop_type_finding):
24214 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24215 * gst/elements/gstidentity.c: (gst_identity_init):
24216 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24217 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24218 * gst/elements/gsttypefindelement.c: (free_entry):
24221 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24222 (gst_bin_set_clock_func), (gst_bin_auto_clock),
24223 (gst_bin_set_index), (gst_bin_set_element_sched),
24224 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24225 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24226 (gst_bin_iterate_elements), (iterate_child_recurse),
24227 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24228 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24229 (compare_interface), (gst_bin_get_by_interface),
24230 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24232 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24233 (gst_buffer_default_free), (gst_buffer_default_copy),
24234 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24235 (gst_buffer_create_sub):
24237 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24238 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24239 (gst_caps_unref), (gst_static_caps_get),
24240 (gst_caps_remove_and_get_structure), (gst_caps_append),
24241 (gst_caps_append_structure), (gst_caps_remove_structure),
24242 (gst_caps_copy_nth), (gst_caps_set_simple),
24243 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24244 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24245 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24246 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24247 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24248 (gst_caps_structure_figure_out_union),
24249 (gst_caps_switch_structures), (gst_caps_do_simplify),
24250 (gst_caps_replace), (gst_caps_from_string),
24251 (gst_caps_copy_conditional):
24253 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24254 (_gst_clock_id_free), (gst_clock_id_unref),
24255 (gst_clock_id_compare_func), (gst_clock_id_wait),
24256 (gst_clock_id_wait_async), (gst_clock_class_init),
24257 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24258 (gst_clock_get_time), (gst_clock_set_time_adjust),
24259 (gst_clock_set_property), (gst_clock_get_property):
24262 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24263 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24265 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24266 (gst_element_requires_clock), (gst_element_provides_clock),
24267 (gst_element_set_clock), (gst_element_clock_wait),
24268 (gst_element_wait), (gst_element_set_time_delay),
24269 (gst_element_is_indexable), (gst_element_add_pad),
24270 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24271 (pad_compare_name), (gst_element_get_static_pad),
24272 (gst_element_request_pad), (gst_element_get_request_pad),
24273 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24274 (gst_element_class_get_pad_template_list),
24275 (gst_element_class_get_pad_template), (gst_element_error_func),
24276 (gst_element_get_random_pad), (gst_element_get_event_masks),
24277 (gst_element_send_event), (gst_element_seek),
24278 (gst_element_get_query_types), (gst_element_query),
24279 (gst_element_get_formats), (gst_element_convert),
24280 (gst_element_is_locked_state), (gst_element_set_locked_state),
24281 (gst_element_sync_state_with_parent), (gst_element_change_state),
24282 (gst_element_finalize), (gst_element_yield),
24283 (gst_element_interrupt), (gst_element_set_scheduler),
24284 (gst_element_get_scheduler), (gst_element_set_loop_function):
24285 * gst/gstelement.h:
24287 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24288 (gst_format_get_by_nick), (gst_format_get_details),
24289 (gst_format_iterate_definitions):
24291 * gst/gstindex.c: (gst_index_gtype_resolver):
24294 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24295 (gst_mem_chunk_free):
24296 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24297 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24298 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24299 (gst_object_dispatch_properties_changed),
24300 (gst_object_set_name_default), (gst_object_set_name),
24301 (gst_object_get_name), (gst_object_set_name_prefix),
24302 (gst_object_get_name_prefix), (gst_object_set_parent),
24303 (gst_object_get_parent), (gst_object_unparent),
24304 (gst_object_check_uniqueness), (gst_object_save_thyself),
24305 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24306 (gst_object_set_property), (gst_object_get_property),
24307 (gst_object_get_path_string):
24309 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24310 (gst_real_pad_init), (gst_real_pad_get_property),
24311 (gst_pad_custom_new), (gst_pad_get_direction),
24312 (gst_pad_set_active), (gst_pad_is_active),
24313 (gst_pad_set_event_function), (gst_pad_is_linked),
24314 (gst_pad_link_free), (gst_pad_link_intersect),
24315 (gst_pad_link_fixate), (gst_pad_set_caps),
24316 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24317 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24318 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24319 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24320 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24321 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24322 (gst_pad_realize), (gst_pad_get_allowed_caps),
24323 (gst_real_pad_dispose), (gst_real_pad_finalize),
24324 (gst_pad_collectv), (gst_pad_collect_valist),
24325 (gst_pad_template_dispose), (gst_pad_template_new),
24326 (gst_pad_get_internal_links):
24328 * gst/gstpipeline.c: (gst_pipeline_dispose),
24329 (gst_pipeline_change_state):
24330 * gst/gstpipeline.h:
24332 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24333 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24334 * gst/gstpluginfeature.h:
24335 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24336 * gst/gstquery.c: (_gst_query_type_initialize),
24337 (gst_query_type_register), (gst_query_type_get_by_nick),
24338 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24340 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24341 * gst/gstscheduler.c: (gst_scheduler_add_element),
24342 (gst_scheduler_factory_create):
24343 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24344 (gst_structure_free), (gst_structure_set_name),
24345 (gst_structure_id_set_value), (gst_structure_set_value),
24346 (gst_structure_set_valist), (gst_structure_remove_field),
24347 (gst_structure_remove_fields),
24348 (gst_structure_remove_fields_valist),
24349 (gst_structure_remove_all_fields), (gst_structure_foreach),
24350 (gst_structure_map_in_place),
24351 (gst_caps_structure_fixate_field_nearest_int),
24352 (gst_caps_structure_fixate_field_nearest_double):
24353 * gst/gststructure.h:
24354 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24355 (gst_system_clock_init), (gst_system_clock_dispose),
24356 (gst_system_clock_async_thread),
24357 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24358 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24359 * gst/gstsystemclock.h:
24360 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24361 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24362 * gst/gsttaginterface.c:
24363 * gst/gstthread.c: (gst_thread_dispose),
24364 (gst_thread_release_children_locks), (gst_thread_change_state),
24365 (gst_thread_main_loop):
24366 * gst/gsttrashstack.h:
24367 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24369 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24370 (gst_element_request_pad), (gst_element_get_pad_from_template),
24371 (gst_element_request_compatible_pad),
24372 (gst_element_get_compatible_pad_filtered),
24373 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24374 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24375 (gst_element_link_many), (gst_element_link),
24376 (gst_element_link_pads), (gst_element_unlink_pads),
24377 (gst_element_unlink_many), (gst_element_unlink),
24378 (gst_pad_can_link_filtered), (gst_pad_can_link),
24379 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24380 (gst_object_default_error), (gst_bin_add_many),
24381 (gst_bin_remove_many), (gst_element_populate_std_props),
24382 (gst_element_class_install_std_props), (gst_buffer_merge),
24383 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24384 (link_fold_func), (gst_pad_proxy_setcaps):
24386 * gst/gstvalue.c: (gst_value_deserialize_string):
24387 * gst/parse/grammar.y:
24388 * gst/schedulers/gstbasicscheduler.c:
24389 (gst_basic_scheduler_cothreaded_chain),
24390 (gst_basic_scheduler_chain_recursive_add),
24391 (gst_basic_scheduler_pad_link):
24392 * gst/schedulers/gstoptimalscheduler.c:
24393 (get_group_schedule_function),
24394 (gst_opt_scheduler_state_transition),
24395 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24396 * libs/gst/bytestream/bytestream.c:
24397 * libs/gst/dataprotocol/dataprotocol.c:
24398 (gst_dp_header_from_buffer):
24401 * tests/threadstate/threadstate2.c: (eos):
24402 * tools/gst-compprep.c: (main):
24403 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24404 (print_pad_info), (print_children_info):
24405 * tools/gst-launch.c: (idle_func), (main):
24406 * tools/gst-md5sum.c: (idle_func), (main):
24407 * tools/gst-xmlinspect.c: (print_element_info):
24408 First THREADED backport attempt, focusing on adding locks and
24409 making sure the API is threadsafe. Needs more work. More docs
24412 2005-02-24 Andy Wingo <wingo@pobox.com>
24414 * tests/bench-complexity.scm:
24415 * tests/complexity.gnuplot: New files, good for running complexity
24418 * tests/Makefile.am:
24419 * tests/complexity.c: New test, sets up N elements, at each level
24420 teeing into M streams per element. Eeeenteresting.
24422 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24423 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24424 running bench-mass_elements.scm.
24426 * tests/bench-mass_elements.scm: New script, runs mass_elements
24427 for various numbers of identities, outputting the results to a
24428 file. Requires guile 1.6. Just for testing.
24430 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24432 * gst/schedulers/fairscheduler.c:
24433 compile with debug disabled
24435 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24438 hunting season on 0.9 is now OPEN