1 2007-06-18 Wim Taymans <wim@fluendo.com>
3 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4 (gst_single_queue_push_one), (gst_multi_queue_chain),
5 (gst_multi_queue_sink_event):
6 Make sure we don't reference the buffer/event after we have given away
7 ownership in the queue.
9 2007-06-18 Wim Taymans <wim@fluendo.com>
11 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
12 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
13 Update queue state _after_ adding the item in the queue because else we
14 could end up being full without the element added yet.
16 2007-06-18 Wim Taymans <wim@fluendo.com>
18 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19 (gst_bin_remove_func), (gst_bin_get_state_func),
20 (gst_bin_element_set_state), (gst_bin_continue_func),
21 (bin_push_state_continue), (bin_handle_async_start),
22 (bin_handle_async_done), (gst_bin_handle_message_func):
24 Immediatly commit the toplevel bin state when receiving an async-done
25 message. This enables us to avoid spawning a thread to commit the state
26 in some common cases and it also avoids some races.
27 Avoid spawning a state thread when adding/removing async elements to a
28 toplevel bin. Instead we immediatly update the bin state.
29 Get rid of iterating all the children when getting the state in the bin
30 because it is now always up-to-date.
31 Fix bug where locked elements would always return _SUCCESS even it they
32 returned NO_PREROLL before being locked.
33 Fix the order of the state_change, async-start/done messages that was
35 Mark the state_dirty field as deprecated, we don't need it anymore as we
36 are always up-to-date.
38 * gst/gstelement.c: (gst_element_get_state_func),
39 (gst_element_continue_state):
40 Small debug inprovements.
41 Return the previous element state return when nothing is pending instead
42 of blindly returning SUCCESS.
44 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
46 Add a whole bunch of new testcases.
48 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
54 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
59 2007-06-15 Wim Taymans <wim@fluendo.com>
61 * docs/libs/gstreamer-libs-sections.txt:
62 Add docs for new methods.
64 2007-06-15 Wim Taymans <wim@fluendo.com>
66 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
67 (gst_multi_queue_item_new):
68 Don't use GSlice because we don't depend on >= 2.10 yet.
70 2007-06-15 Wim Taymans <wim@fluendo.com>
72 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
73 (update_time_level), (apply_segment), (apply_buffer),
74 (gst_single_queue_push_one), (gst_multi_queue_item_new),
75 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
76 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
77 (single_queue_underrun_cb), (single_queue_check_full):
80 2007-06-15 Wim Taymans <wim@fluendo.com>
82 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
83 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
84 (gst_data_queue_set_flushing), (gst_data_queue_push),
85 (gst_data_queue_pop), (gst_data_queue_drop_head),
86 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
87 * libs/gst/base/gstdataqueue.h:
89 Added methods to get the current levels and to inform the queue that the
90 'full' limits changed.
92 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
93 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
94 (gst_single_queue_flush), (update_time_level), (apply_segment),
95 (apply_buffer), (gst_single_queue_push_one),
96 (gst_multi_queue_item_steal_object),
97 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
98 (gst_multi_queue_loop), (gst_multi_queue_chain),
99 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
100 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
101 (gst_multi_queue_src_query), (single_queue_overrun_cb),
102 (single_queue_underrun_cb), (single_queue_check_full),
103 (gst_single_queue_new):
104 Keep track of time in the queue by measuring the difference between
105 running_time on input and output. This gives more accurate results and
106 can compensate for segments correctly.
107 Make a queue by default only 5 buffers deep. We will now increase the
108 buffer size depending on the filledness of the other queues.
109 Factor out commong flush code.
110 Make sure we don't add additional refcounts to buffers when we can avoid
112 Propagate GstFlowReturn differently.
113 Use GSlice for intermediate GstMultiQueueItems.
115 Resize queues on over and underruns based on filled level of other
117 When checking if the queue is filled, prefer to measure in time if we
118 can and fall back to bytes when no time is known.
120 * plugins/elements/gstqueue.c:
123 2007-06-15 Wim Taymans <wim@fluendo.com>
125 * libs/gst/base/gstbasetransform.c:
126 (gst_base_transform_sink_event):
127 Work around the brokenness of the event vmethod in basetransform. Prefer
128 to return TRUE when the subclass returned FALSE (meaning don't forward
131 * libs/gst/base/gstbasetransform.h:
134 2007-06-15 Wim Taymans <wim@fluendo.com>
136 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
137 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
138 (gst_base_src_default_query), (gst_base_src_get_range),
139 (gst_base_src_start):
140 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
143 2007-06-15 Stefan Kost <ensonic@users.sf.net>
145 * docs/pwg/advanced-types.xml:
146 Added more formats to caps table.
148 2007-06-15 Stefan Kost <ensonic@users.sf.net>
150 * tools/gst-launch.c: (main):
151 Remove crufy code. GOption does not need this workaround.
153 2007-06-14 Stefan Kost <ensonic@users.sf.net>
155 * libs/gst/controller/gstcontroller.c:
156 (gst_controlled_property_set_interpolation_mode):
157 Fix wrong getter for enums in controller.
159 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
161 * libs/gst/check/gstcheck.c: (gst_check_init):
162 Intercept criticals and warnings in the Gst-Phonon log domain, so
163 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
166 2007-06-14 Edward Hervey <edward@fluendo.com>
168 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
169 Since this file doesn't include "gst.h" it will not go through the
170 macros that disable GST_LOG if debugging was disabled.
172 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
174 * libs/gst/check/Makefile.am:
175 * libs/gst/check/gstcheck.h:
176 * pkgconfig/gstreamer-check-uninstalled.pc.in:
177 * pkgconfig/gstreamer-check.pc.in:
178 Ugly 'fix' for the controller unit test on the p5 bot: in
179 fail_unless_equals_float() check whether the values are 'almost
180 equal' by allowing a small absolute error, which should be good
181 enough for our use cases (normal numbers and values close to 0).
182 Proper fixage left to floating point arithmetic aficionados.
184 2007-06-14 Stefan Kost <ensonic@users.sf.net>
186 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
187 (gst_base_sink_render_object), (gst_base_sink_get_position):
188 Add two breaks thats where missing.
190 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
192 * docs/libs/gstreamer-libs-sections.txt:
193 * libs/gst/check/gstcheck.h:
194 API: add fail_unless_equals_float() and assert_equals_float().
195 Add documentation for some of the macros.
197 * tests/check/libs/controller.c: (GST_START_TEST):
198 Use newly-added asserts.
200 2007-06-14 Stefan Kost <ensonic@users.sf.net>
202 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
203 Show the caps change in the log to help spotting the case of not
204 exactly matching caps.
206 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
208 * docs/pwg/building-boiler.xml:
209 Fix typos, spotted by Thijs Vermeir (#447190).
211 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
213 * docs/plugins/tmpl/.cvsignore:
214 Ignore file to keep the buildbots happy
216 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
218 * docs/plugins/Makefile.am:
219 * docs/plugins/gstreamer-plugins-docs.sgml:
220 * docs/plugins/gstreamer-plugins-sections.txt:
221 Pull fdsink into the docs too.
223 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
225 * libs/gst/controller/gstinterpolation.c:
226 Actually use the new functions with min/max checks for the trigger and
227 none interpolation modes for get() and get_value_array() instead of
230 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
232 * libs/gst/controller/gstcontroller.c:
233 (gst_controlled_property_free):
234 Unset the minimum and maximum GValues when freeing the corresponding
235 GstControllerProperty struct.
237 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
239 * libs/gst/controller/gstcontroller.c:
240 (gst_controlled_property_new):
241 * libs/gst/controller/gstcontrollerprivate.h:
242 * libs/gst/controller/gstinterpolation.c:
243 (gst_controlled_property_find_control_point_node),
244 (interpolate_none_get), (interpolate_none_get_enum_value_array),
245 (interpolate_none_get_string_value_array),
246 (interpolate_trigger_get),
247 (interpolate_trigger_get_enum_value_array),
248 (interpolate_trigger_get_string_value_array):
249 Protect against values larger or smaller than the minimum or maximum
250 allowed value for the property when using values that can be compared.
252 Optimize trigger interpolator a bit by taking the last requested value
253 into account instead of always looping through the complete list.
255 Fix coding style a bit, everywhere else we use "return foo" instead
258 * tests/check/libs/controller.c: (GST_START_TEST),
259 (gst_controller_suite):
260 Add unit test for the protection against too large or too small
263 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
265 * docs/random/slomo/controller.txt:
266 Add some thoughts about the future of the controller.
268 2007-06-08 Wim Taymans <wim@fluendo.com>
270 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
271 Don't overflow in retimestamping code.
273 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
275 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
276 Use gst_util_guint64_to_gdouble for conversions.
277 * win32/common/libgstreamer.def:
278 Add new exported functions.
280 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
285 2007-06-07 Stefan Kost <ensonic@users.sf.net>
288 Remove that test line again.
290 2007-06-07 Stefan Kost <ensonic@users.sf.net>
293 Test commit mail sending.
295 2007-06-07 Stefan Kost <ensonic@users.sf.net>
298 Fix typo and test commit mail sending.
300 2007-06-07 Stefan Kost <ensonic@users.sf.net>
302 * tests/examples/controller/audio-example.c:
303 Improve comment and test commit mail sending.
305 2007-06-07 Wim Taymans <wim@fluendo.com>
307 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
308 (gst_bin_remove_func), (gst_bin_element_set_state),
309 (bin_handle_async_start), (bin_handle_async_done),
310 (gst_bin_handle_message_func):
311 Add helper function to find messages.
312 Generate the async-done messages together with the state change
314 Small cleanups in handling toplevel bins.
316 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
318 * libs/gst/base/gstdataqueue.c:
319 * libs/gst/base/gstdataqueue.h:
320 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
321 (gst_multi_queue_item_new), (gst_multi_queue_chain),
322 (gst_multi_queue_sink_event):
323 * tests/check/elements/multiqueue.c: (multiqueue_suite):
324 Fix multiqueue leaking buffers and events when downstream or the
325 queue are flushing. Make refcounting assumptions explicit and
326 document them (shouldn't break existing code that uses it other than
327 maybe leak miniobjects, but that already happens anyway). Add unit
328 test for the most common flushing case. Fixes #423700.
330 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
332 * libs/gst/controller/gstcontroller.c:
333 Clarify docs: The get_all, get_value_array(s) functions
334 don't modify the GObject properties.
336 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
338 * libs/gst/controller/gstcontroller.c:
339 (gst_controlled_property_set_interpolation_mode),
340 (gst_controlled_property_prepend_default),
341 (gst_controlled_property_new), (gst_controller_set_unlocked),
342 (gst_controller_set), (gst_controller_set_from_list),
343 (gst_controller_unset), (gst_controller_unset_all):
344 * libs/gst/controller/gstcontrollerprivate.h:
345 * libs/gst/controller/gstinterpolation.c:
346 Factor out the 'set' logic into gst_controller_set_unlocked for the
347 gst_controller_set and gst_controller_set_from_list functions.
349 To make life of the interpolators easier always add a control point
350 at timestamp zero with the default value.
352 In the linear interpolator make things more obvious by better variable
355 Implement cubic interpolation mode (by using a natural cubic spline)
356 and map the quadratic interpolation mode to this too (as quadratic
357 doesn't make much sense, see discussion on the list).
359 * tests/check/libs/controller.c: (GST_START_TEST),
360 (gst_controller_suite):
361 Add unit test for the cubic interpolation mode and check everywhere
362 if the interpolation mode could be set as expected.
364 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
366 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
367 Don't use GLib-2.10 functions, we still depend on
368 GLib-how-old-is-it-again-2.8.
370 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
372 * docs/gst/gstreamer-sections.txt:
376 * gst/gstparamspecs.c: (_gst_param_fraction_init),
377 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
378 (_gst_param_fraction_values_cmp),
379 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
380 * gst/gstparamspecs.h:
382 * tests/check/Makefile.am:
383 * tests/check/gst/.cvsignore:
384 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
385 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
386 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
387 (GST_START_TEST), (gst_param_spec_suite):
388 API: add GstParamSpecFraction, so elements can have fraction
389 properties without lots of painful string parsing (#444648).
391 2007-06-05 Wim Taymans <wim@fluendo.com>
393 * gst/gstobject.c: (gst_object_class_init):
394 Fix signal signature.
397 Add small clarification in the api docs.
399 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
400 States are protected with object lock.
402 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
405 I should probably be listed as an author by now.
407 * docs/random/release:
408 Update the release doc
410 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
413 Make docs for gst_value_compare() mention return enums that
416 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
421 === release 0.10.13 ===
423 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
426 releasing 0.10.13, "With or without you"
428 2007-05-25 Wim Taymans <wim@fluendo.com>
430 * gst/gstbin.c: (bin_handle_async_done):
431 Make sure that the child bin stops after completing the async state
432 change so that the parent can continue the state change to PLAYING.
435 2007-05-25 Wim Taymans <wim@fluendo.com>
437 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
438 (unref_data), (gst_collect_pads_remove_pad),
439 (gst_collect_pads_check_pads):
440 Use additional refcounting to avoid crashes when dynamically adding and
441 removing pads. Fixes #420206.
443 2007-05-24 Wim Taymans <wim@fluendo.com>
445 * tools/gst-launch.c: (event_loop):
446 When buffering goes from a two digit to a single digit number, make sure
447 to remove the old second digit by writing a blank over it.
449 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
451 * libs/gst/base/gstdataqueue.c:
452 Eliminate tabs and trailing comma in enum list; fix some typos.
454 2007-05-24 Wim Taymans <wim@fluendo.com>
456 * tests/check/gst/gstbin.c: (GST_START_TEST):
457 Allow refcount of 3 and 4 because some state thread might still be busy
460 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
462 * plugins/elements/Makefile.am:
463 * plugins/elements/gstmultiqueue.h:
464 * plugins/elements/gstqueue.h:
465 These are not installed headers, no need for padding.
467 2007-05-24 Wim Taymans <wim@fluendo.com>
469 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
470 (gst_bin_continue_func):
471 Enable latency for next release.
472 Restore STATE_LOCK around recalc_state that was left out during the
473 rewrite and could result in racy behaviour when _get_state and
474 recalc_state are run concurrently. See #440463.
476 2007-05-23 Wim Taymans <wim@fluendo.com>
478 * tests/check/gst/gstsystemclock.c: (store_callback),
480 Improve test_async_order to also work when both timers are already
481 expired when we get scheduled to check it.
483 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
485 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
486 (gst_bin_set_property), (gst_bin_get_property),
487 (gst_bin_remove_func), (gst_bin_handle_message_func):
489 'private' is a c++ keyword, let's not use that in header files,
490 otherwise c++ compilers will throw a tantrum.
492 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
494 * plugins/elements/gstelements.c:
495 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
496 (gst_file_sink_get_current_offset):
497 * plugins/indexers/gstindexers.c: (plugin_init):
498 Use #ifdef for HAVE_XYZ for consistency.
500 * tests/check/Makefile.am:
501 * tests/check/elements/.cvsignore:
502 * tests/check/elements/filesink.c: (setup_filesink),
503 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
504 Add some unit tests for filesink.
506 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
508 Patch by: Mark Nauwelaerts <manauw at skynet be>
510 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
511 (gst_file_sink_query), (gst_file_sink_do_seek),
512 (gst_file_sink_get_current_offset), (gst_file_sink_render):
513 * plugins/elements/gstfilesink.h:
514 Fix position reporting; rename data_written member to current_pos to
515 reflect its real meaning (fixes #412648).
517 2007-05-22 Edward Hervey <edward@fluendo.com>
519 * docs/gst/gstreamer-sections.txt:
520 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
521 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
522 (gst_bin_remove_func), (gst_bin_handle_message_func):
524 Add a property for bins that handle the state change of their childs.
527 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
529 * libs/gst/controller/gstinterpolation.c:
530 Use an array of the correct type when using _get_value_array with
531 linear interpolation.
533 2007-05-22 Stefan Kost <ensonic@users.sf.net>
535 * gst/gstelement.c (gst_element_requires_clock,
536 gst_element_provides_clock, gst_element_request_pad,
537 gst_element_class_set_details, gst_element_class_set_details_simple,
538 gst_element_default_send_event, gst_element_abort_state,
539 gst_element_continue_state, gst_element_set_state,
540 gst_element_set_state_func, iterator_activate_fold_with_resync):
541 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
542 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
543 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
544 gst_pad_get_range, gst_pad_pull_range):
545 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
546 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
547 GstPadActivateModeFunction, GstPadChainFunction,
548 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
549 GstPadFixateCapsFunction, GstPadTemplate):
550 * gst/gstpipeline.c (gst_pipeline_change_state,
551 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
552 gst_pipeline_set_clock, gst_pipeline_auto_clock,
553 gst_pipeline_get_delay):
554 Whitespace and docs fixes.
556 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
558 * libs/gst/controller/gstinterpolation.c:
559 (interpolate_trigger_get_enum_value_array),
560 (interpolate_trigger_get_string_value_array):
561 Add support for retrieving value arrays when using the trigger
564 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
566 * libs/gst/controller/gstcontroller.c:
567 (gst_controller_get_value_array):
568 * libs/gst/controller/gstcontroller.h:
569 Clarify the docs of gst_controller_get_value_array(): The array where
570 the values should be written to must be allocated as there seems to be
571 no way to get the size of a random GType. This doesn't change any
572 behaviour. Also fix some typos all over the place and remove an unused,
573 commented function that is not necessary as g_object_set() could be
575 * tests/check/libs/controller.c: (GST_START_TEST),
576 (gst_controller_suite):
577 Add unit test for gst_controller_get_value_array().
579 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
581 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
583 Disable part of the gst_buffer_try_new_and_alloc test, because
584 it can happily succeed on 64-bit systems where there's more address
587 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
589 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
590 Add unit test for the improved caps checking from bug #421543.
592 2007-05-21 Wim Taymans <wim@fluendo.com>
594 * docs/design/part-synchronisation.txt:
597 * gst/gstbin.c: (gst_bin_query):
598 * plugins/elements/gstqueue.c: (apply_segment):
604 2007-05-21 Wim Taymans <wim@fluendo.com>
606 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
607 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
608 (gst_pad_configure_src):
609 Added simple version of improved caps checking. It was previously
610 assumed that a setcaps function would check the validity of the caps but
611 people prefer us to check caps against the template automatically.
614 2007-05-21 Wim Taymans <wim@fluendo.com>
616 * libs/gst/base/gstbasetransform.h:
617 Fix macro for locking/unlocking the transform lock.
619 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
621 * docs/plugins/tmpl/.cvsignore:
624 2007-05-18 Edward Hervey <edward@fluendo.com>
626 * plugins/elements/gstqueue.c: (gst_queue_loop):
627 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
628 for the subtle art of warning a potentially blocking thread that it
629 should check the source pad return value, and relay the information
632 2007-05-18 Edward Hervey <edward@fluendo.com>
634 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
635 Release the queue lock !
637 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
639 * docs/libs/gstreamer-libs-sections.txt:
640 Add the two new controller functions to the appropiate places.
642 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
644 reviewed by: Stefan Kost <ensonic@users.sf.net>
646 * libs/gst/controller/gstcontroller.c:
647 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
648 (_gst_controller_get_property), (_gst_controller_set_property),
649 (_gst_controller_init), (_gst_controller_class_init):
650 * libs/gst/controller/gstcontroller.h:
651 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
652 (gst_object_get_control_rate), (gst_object_set_control_rate):
653 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
654 Add API that provides sync suggestion timestamps for elements that
655 call gst_object_sync_values() from which those elements can subdivide
656 their processing loop to get the best results for the controlled
657 properties. For now it just suggests last_sync + control_rate as
658 new timestamp but this will be improved in the future.
660 While doing that change the control-rate property to a GstClockTime
661 from guint and change it's meaning from samples to nanoseconds as
662 the GstController doesn't know anything about sampling rate. Strictly
663 speaking this breaks ABI but as the control-rate property didn't do
664 anything in the past and as such couldn't be used this should be no
667 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
669 reviewed by: Stefan Kost <ensonic@users.sf.net>
671 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
672 (gst_controller_unset_all):
673 * libs/gst/controller/gstcontrollerprivate.h:
674 * libs/gst/controller/gstinterpolation.c:
675 (gst_controlled_property_find_control_point_node):
676 Save last synced value from the list to continue searching from there
677 in future syncs. This speeds everything up a bit.
679 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
681 reviewed by: Stefan Kost <ensonic@users.sf.net>
683 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
684 (gst_control_point_find), (gst_controlled_property_new),
685 (gst_control_point_free), (gst_controlled_property_free),
686 (gst_controller_set), (gst_controller_set_from_list),
687 (gst_controller_unset), (gst_controller_unset_all),
688 (gst_controller_sync_values):
689 * libs/gst/controller/gstcontroller.h:
690 * libs/gst/controller/gstcontrollerprivate.h:
691 * libs/gst/controller/gstinterpolation.c:
692 (gst_controlled_property_find_control_point_node),
693 (interpolate_none_get), (interpolate_trigger_get):
694 Add a new private GstControlPoint struct which "inherits" from
695 GstTimedValue to allow different interpolators to store internal
696 values next to each control point. From the outside everything is
697 still a GstControlPoint so we don't loose binary compatibility.
698 Also fixup all the GValue handling to not leak GValues or list nodes.
699 * tests/check/libs/controller.c: (GST_START_TEST):
700 Free the list nodes and GValues in the controller_misc test.
702 2007-05-17 Edward Hervey <edward@fluendo.com>
707 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
709 * gst/gstplugin.c: (gst_plugin_load_file):
710 If we fail to load a plugin because of unresolved symbols or missing
711 libraries and spew a warning to stderr, we may just as well mention
712 which plugin it was that failed to load.
714 2007-05-13 David Schleef <ds@schleef.org>
716 * docs/Makefile.am: the gtk-doc makefile snippet correctly
717 handles the case when ENABLE_GTK_DOC is false, and installs
718 the prebuilt documentation. So gtk-doc subdirs are
719 unconditionally enabled. Fixes: #349099.
721 2007-05-13 David Schleef <ds@schleef.org>
723 * gst/gstutils.h: Reword some documentation.
725 2007-05-12 David Schleef <ds@schleef.org>
727 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
728 do anything with the passed "module" parameter, so remove it.
729 Allows removal of additional vestigal code.
731 2007-05-12 David Schleef <ds@schleef.org>
734 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
735 Switch to using g_stat() because it's more portable.
737 2007-05-12 David Schleef <ds@schleef.org>
740 Add GST_DISABLE_OPTION_PARSING, in order to disable option
741 parsing for embedded systems.
742 * gst/gstelementfactory.c:
743 Allow gst_element_register() to be called with plugin==NULL.
744 Did nobody notice that static elements were broken?
746 2007-05-12 Wim Taymans <wim@fluendo.com>
748 * tools/gst-launch.c: (event_loop):
749 Give more interesting info when buffering starts and stops.
750 Fix case where buffering starts but we fail to update the buffering flag
751 because the target state is not PLAYING.
753 2007-05-12 Wim Taymans <wim@fluendo.com>
755 * plugins/elements/gstqueue.c: (gst_queue_init),
756 (gst_queue_finalize), (update_time_level), (apply_segment),
757 (apply_buffer), (gst_queue_locked_flush),
758 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
759 (gst_queue_handle_sink_event), (gst_queue_chain),
760 (gst_queue_push_one), (gst_queue_loop):
761 * plugins/elements/gstqueue.h:
762 Refactor an cleanup queue a bit.
763 Do better time level calculations that also work when the srcpad is not
765 Remove some unneeded debug lines.
767 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
768 Added testcase for time level measurement.
769 Try to make some stuff more racefree.
771 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
773 * gst/gsturi.c: (gst_element_make_from_uri):
774 Don't leak plugin feature.
776 * tests/check/Makefile.am:
777 * tests/check/gst/.cvsignore:
778 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
779 Add brain-dead unit test.
781 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
783 Patch by: Jeroen Wouters <woutersj at gmail com>
785 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
786 Treat protocol strings in a case-insensitive way (#437563).
788 2007-05-11 Michael Smith <msmith@fluendo.com>
790 * gst/gstplugin.c: (gst_plugin_load_file):
791 * gst/gstregistry.c: (gst_registry_scan_path_level):
792 Don't print a g_warning for any failure to load a shared object.
793 Instead, push this down into gstplugin.c, and warn _only_ if we
794 failed to open the module (i.e. failure to link).
795 Avoids warnings on normal, working, non-plugin .so files.
797 2007-05-11 Stefan Kost <ensonic@users.sf.net>
799 * gst/gstplugin.c (gst_plugin_load_file):
800 * gst/gstregistry.c (GST_CAT_DEFAULT,
801 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
802 Print a g_warning if there was an error when loading a plugins during
803 registry scan. The shuld help beginners starting with gst-plugin
806 2007-05-10 Wim Taymans <wim@fluendo.com>
808 * plugins/elements/gstqueue.c: (gst_queue_class_init),
809 (update_time_level), (gst_queue_locked_flush),
810 (gst_queue_handle_sink_event), (gst_queue_chain),
811 (gst_queue_push_one), (gst_queue_loop):
812 * plugins/elements/gstqueue.h:
813 Be smarter when calculating the current amount of data in the queue by
814 measuring the difference between start and end timestamps (in running
815 time) inside the queue. Fixes #432876.
816 API: GstQueue::pushing to notify elements that we are pushing data again
817 since the running signal is rather broken for this purpose.
819 2007-05-10 Stefan Kost <ensonic@users.sf.net>
821 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
822 gst_queue_base_init, gst_queue_init):
825 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
827 * win32/common/libgstreamer.def:
828 Add new exported functions.
829 * win32/vs6/grammar.dsp:
830 Use grammar pre-generated files.
832 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
834 Based on patch by: Peter Kjellerstedt <pkj at axis com>
837 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
839 * gst/gstutils.c: (gst_parse_bin_from_description):
841 Maintain API and ABI when --disable-parse is used. Now that
842 we have an appropriate error code, we can just return NULL and the
843 appropriate error when gst_parse_launch() is used despite it having
844 been disabled (#342564).
846 * tests/check/Makefile.am:
847 * tests/check/pipelines/.cvsignore:
848 * tests/check/pipelines/parse-disabled.c:
849 Make sure these functions exist and return NULL plus a GError when
850 --disable-parse is used.
852 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
854 * tests/benchmarks/complexity.c: (main):
855 * tests/benchmarks/mass-elements.c: (main):
856 Set a good example and don't leak messages.
858 2007-05-06 Stefan Kost <ensonic@users.sf.net>
860 * docs/gst/Makefile.am:
861 * docs/libs/Makefile.am:
862 Correct fixxrefs options.
864 * docs/plugins/Makefile.am:
865 * docs/plugins/gstreamer-plugins-docs.sgml:
866 * docs/plugins/gstreamer-plugins-sections.txt:
867 * plugins/elements/Makefile.am:
868 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
869 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
870 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
871 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
872 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
873 _GstCapsFilterClass, trans_class):
874 * plugins/elements/gstelements.c (name, rank, type, _elements):
875 * plugins/elements/gstidentity.c
876 (gst_identity_check_imperfect_timestamp,
877 gst_identity_check_imperfect_offset):
878 Document capsfilter and add doc-blurb to identity.
880 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
882 * libs/gst/controller/gstcontroller.c:
883 (gst_controlled_property_set_interpolation_mode):
884 * libs/gst/controller/gstinterpolation.c:
885 Don't crash if someone tries to set an interpolation mode that
886 is invalid or that isn't supported yet. Fixes #422295.
888 * tests/check/libs/controller.c: (GST_START_TEST),
889 (gst_controller_suite):
890 Add a test case for the above.
892 2007-05-03 Edward Hervey <edward@fluendo.com>
894 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
895 Properly set the last_stop position on GstSegment. This will only happen
896 if there is a buffer to push out.
898 2007-05-03 Wim Taymans <wim@fluendo.com>
900 * libs/gst/base/gstbasetransform.c:
901 (gst_base_transform_buffer_alloc):
902 always_in_place does not mean that the sink and source caps are the
903 same! Make sure we don't blindly proxy the buffer_alloc in this case.
905 2007-05-03 Wim Taymans <wim@fluendo.com>
907 * docs/libs/gstreamer-libs-sections.txt:
908 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
909 (gst_base_src_default_query), (gst_base_src_get_range):
910 * libs/gst/base/gstbasesrc.h:
911 API: gst_base_src_query_latency(). Added method so that subclasses can
912 easily get the latency values of the base source class.
914 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
916 * tools/gst-inspect.c (print_implementation_info):
919 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
922 * tools/gst-launch.1.in:
923 Don't create a customised man page based on the host architecture,
924 describe the default registry path generically. That way the man
925 page is the same for all architectures and packagers have one
926 multilib issue less to deal with. Fixes #434926.
928 2007-05-02 Wim Taymans <wim@fluendo.com>
931 Fix documentation as spotted by rg on IRC.
933 2007-04-29 Stefan Kost <ensonic@users.sf.net>
936 Improve docs for gst_element_{link,unlink}.
938 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
940 * docs/design/part-events.txt:
941 * docs/design/part-overview.txt:
945 * libs/gst/base/gstbasesink.c:
946 Typo fixes; minor docs addition.
948 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
950 * docs/gst/gstreamer-sections.txt:
951 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
952 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
954 API: Add gst_uri_protocol_is_supported(), which checks if an sink
955 or src that supports a given URI protocol exists.
957 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
959 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
960 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
961 Set the location to NULL if "file://" is set as URI. Otherwise
962 some random previous URI would still be set if "file://" is
963 set on an already used filesink/filesrc.
965 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
967 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
968 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
969 Special case the "file://" URI as as this is used by some
970 applications to test with gst_element_make_from_uri if there's
971 an element that supports the URI protocol.
972 Also move the g_path_is_absolute() check for the location part
973 of the URI to also check this for "file://localhost/bla" URIs.
975 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
977 * docs/gst/gstreamer-sections.txt:
978 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
980 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
982 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
984 2007-04-26 Stefan Kost <ensonic@users.sf.net>
986 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
987 (gst_registry_binary_load_pad_template),
988 (gst_registry_binary_load_plugin),
989 (gst_registry_binary_read_cache):
990 * gst/gstregistrybinary.h:
991 Implement no-mmap alternative for registry reading. Do code cleanups.
992 Add more comments about avoiding strdups for all text data. Comments
995 2007-04-25 Stefan Kost <ensonic@users.sf.net>
997 * gst/gstregistrybinary.h (GstBinaryPluginElement,
998 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
999 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1000 Comment structs and reformat to fix the build (that stuff should go
1001 into a priv. header).
1003 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1005 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1006 (gst_registry_binary_load_feature):
1007 * gst/gstregistrybinary.h:
1008 Refactor so that we can implement multiple features. Add support for
1009 TypeFindFactory features.
1011 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1013 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1016 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1018 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1020 * gst/gstbin.c: (gst_bin_element_set_state),
1021 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1022 (bin_handle_async_done), (gst_bin_handle_message_func):
1023 Fix build with --gst-disable-gst-debug
1025 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1027 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1028 Make sure streaming has finished before calling the ::stop() vfunc,
1029 since that vfunc might clear state which is being used in the
1030 streaming thread. This fixes a race that caused crashes in
1031 audioresample when shutting down a pipeline (#420106).
1033 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1035 * docs/gst/gstreamer-sections.txt:
1036 That was one byte missing.
1038 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1041 * docs/gst/gstreamer-sections.txt:
1043 * gst/gstconfig.h.in:
1044 * gst/gstobject.c: (gst_object_class_init),
1045 (gst_signal_object_class_init):
1047 2nd attempt to have a xml-less build as a joined effort of #413123
1050 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1052 * docs/design/draft-tagreading.txt:
1053 Added open issues/thoughts to draft.
1055 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1057 * gst/parse/grammar.tab.pre.c:
1058 * gst/parse/grammar.tab.pre.h:
1059 * gst/parse/lex._gst_parse_yy.pre.c:
1060 Update the prebuild parser sources.
1062 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1064 * gst/parse/Makefile.am:
1065 And now fix the building of the flex sources. Now everything should
1068 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1070 * gst/parse/Makefile.am:
1071 Now hopefully fix the build failures by setting proper rule
1072 dependencies and moving instead of copying.
1074 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1076 * tests/benchmarks/complexity.gnuplot:
1077 * tests/benchmarks/complexity.scm:
1078 * tests/benchmarks/mass-elements.gnuplot:
1079 * tests/benchmarks/mass-elements.scm:
1080 Total licensification.
1082 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1084 * gst/parse/Makefile.am:
1085 Fix the build by correcting the rule that gave wrong files to flex.
1087 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1089 * tests/benchmarks/complexity.c:
1090 * tests/benchmarks/mass-elements.c:
1091 Change licence to LGPL as granted by Benjamin and Andy.
1093 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1095 * gst/parse/Makefile.am:
1096 Add correct grammar.tab.h dependency if compiling without new enough
1097 flex. Fixes #431150.
1099 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1101 * gst/parse/Makefile.am:
1102 Fix typo and use outdated sources if the flex/bison sources are newer
1103 than the pregenerated ones but flex is too old. Print a warning in
1104 that case. This should fix the build on the build bot.
1106 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1108 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1109 * gst/parse/Makefile.am:
1110 * gst/parse/grammar.y:
1111 * gst/parse/parse.l:
1112 Make the parser reentrant and recursively callable. This requires flex
1113 >= 2.5.31, for older versions pregenerated sources are used as we
1114 can't bump the build dependency. Finally fixes #349180.
1116 * gst/gstparse.c: (gst_parse_launch):
1117 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1120 * docs/gst/Makefile.am:
1121 * docs/gst/Makefile.am:
1122 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1123 (__gst_parse_strfree), (__gst_parse_link_new),
1124 (__gst_parse_link_free), (__gst_parse_chain_new),
1125 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1126 (gst_parse_element_set), (gst_parse_free_link),
1127 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1128 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1129 (_gst_parse_launch):
1130 * gst/parse/grammar.tab.pre.h:
1131 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1132 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1133 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1134 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1135 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1136 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1137 (_gst_parse_yypop_buffer_state),
1138 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1139 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1140 (yy_fatal_error), (_gst_parse_yyget_extra),
1141 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1142 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1143 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1144 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1145 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1146 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1147 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1148 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1149 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1150 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1151 (_gst_parse_yyfree):
1152 If the installed flex version is too old use pre-generated parser
1153 sources. These pre-generated parser sources are always updated when
1154 the actual flex/bison sources change but require everybody who wants
1155 to change something in the parser to have flex >= 2.5.31 installed.
1157 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1159 * common/m4/gst-gettext.m4:
1160 * gst/gst-i18n-lib.h:
1161 Make --disable-nls to work
1163 2007-04-17 Wim Taymans <wim@fluendo.com>
1165 * gst/gstconfig.h.in:
1166 Revert previous change that broke the build.
1168 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1172 * gst/gstconfig.h.in:
1173 Drop libxml2 dependency when building with
1174 --enable-binary-registry --disable-loadsave
1176 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1178 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1179 (gst_registry_binary_read_cache):
1180 * gst/gstregistrybinary.h:
1181 Remove unnecessary <sys/mman.h> include which broke the win32 build
1182 with MingW; move includes from header file to .c file, even if the
1183 header file isn't installed; use g_strerror() where UTF-8 strings
1184 are expected, such as in GST_DEBUG messages.
1186 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1188 * docs/libs/gstreamer-libs-sections.txt:
1189 Remove bogus addition for API I didn't end up keeping.
1191 * libs/gst/base/gstbasesrc.h:
1192 Mention Since: 0.10.13 in the documentation.
1194 Add the API keyword to the previous ChangeLog entry.
1196 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1198 * docs/libs/gstreamer-libs-sections.txt:
1199 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1200 (gst_base_src_default_prepare_seek_segment),
1201 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1202 * libs/gst/base/gstbasesrc.h:
1203 Allow basesrc derived classes to execute seeks in other formats
1204 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1205 to prepare the GstSegment in any format that their perform_seek method
1206 will be able to understand. The default implementation provides the
1207 old behaviour of attempting to convert the seek offsets to the
1208 configured native format.
1210 API: basesrc::prepare_seek_segment vmethod.
1212 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1214 * gst/gstelement.c: (gst_element_get_state_func):
1215 Don't output the same debug statement twice.
1217 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1218 (gst_adapter_peek), (gst_adapter_take_buffer):
1219 Optimise the case where we have buffers at the head of the queue that
1220 can be joined quickly (because they're contiguous sub-buffers) by
1221 merging them together rather than copying data out into new memory.
1223 * gst/parse/grammar.y:
1224 * tests/check/pipelines/parse-launch.c:
1225 Fix a leak in an error path for parse_launch, and add a check
1226 for it to the testsuite.
1228 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1230 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1231 Don't deadlock when releasing a pad - gst_pad_set_active may try
1232 and take the multiqueue lock too.
1234 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1236 * gst/gsterror.c: (_gst_core_errors_init):
1238 API: add GST_CORE_ERROR_DISABLED (#392804).
1240 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1242 * docs/faq/gst-uninstalled:
1243 don't get empty paths on the PATH variables
1244 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1245 Don't format for the uncommon terminal width of 84 characters.
1247 2007-04-06 Wim Taymans <wim@fluendo.com>
1249 * gst/gstpipeline.c: (reset_stream_time),
1250 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1251 Only try to select a different pipeline clock when we went back to
1252 PAUSED and not when we merely got flushed.
1254 2007-04-05 Michael Smith <msmith@fluendo.com>
1256 * tools/gst-launch.1.in:
1257 fractions are better supported in gstreamer than ractions, so
1258 suggest using those.
1260 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1262 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1266 Added Danish translation.
1268 2007-04-05 Wim Taymans <wim@fluendo.com>
1270 * libs/gst/base/gstbasesink.c:
1271 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1272 Fix leak caused when refusing newsegment after EOS.
1274 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1275 (gst_fake_sink_init), (gst_fake_sink_set_property),
1276 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1277 (gst_fake_sink_render), (gst_fake_sink_change_state):
1278 * plugins/elements/gstfakesink.h:
1279 Add num-buffers property to make the element generate EOS after a
1280 configurable amount of buffers.
1281 API: fakesink::num-buffers property.
1283 * tests/check/elements/fakesink.c: (GST_START_TEST),
1285 Fix GstBus leak in test.
1286 Test for fakesink num-buffers.
1288 2007-04-05 Wim Taymans <wim@fluendo.com>
1290 * libs/gst/base/gstbasesink.c:
1291 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1292 (gst_base_sink_change_state):
1293 Don't accept anything after an EOS, return UNEXPECTED instead.
1295 * tests/check/elements/fakesink.c: (GST_START_TEST),
1297 Unit test for new EOS behaviour.
1299 2007-04-05 Wim Taymans <wim@fluendo.com>
1301 * gst/gstelement.c: (gst_element_get_request_pad):
1302 Make padtemplates also work when they don't contain %s or %d.
1304 2007-04-05 Wim Taymans <wim@fluendo.com>
1306 * docs/gst/gstreamer-sections.txt:
1307 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1308 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1310 Improve _adjust_unlocked() so that it overflows less.
1311 Add gst_clock_unadjust_unlocked to convert from external time to
1312 internal time based on calibration.
1313 Add some more debug.
1314 API: GstClock::gst_clock_unadjust_unlocked()
1316 2007-04-03 Wim Taymans <wim@fluendo.com>
1318 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1320 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1321 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1322 when releasing sink pad. Fixes #425400.
1324 2007-04-02 Stefan Kost <ensonic@users.sf.net>
1326 * docs/random/ensonic/dynlink.txt:
1327 More work on proposal for new core api.
1329 * docs/libs/gstreamer-libs-sections.txt:
1330 * libs/gst/base/gstbasetransform.h:
1331 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1333 * libs/gst/controller/gstcontroller.c:
1334 (on_object_controlled_property_changed),
1335 (gst_controller_sync_values),
1336 (gst_controller_set_interpolation_mode):
1337 * libs/gst/controller/gstcontroller.h:
1338 Less verbose logging add docs for unimplemented parts and correctly
1339 return when using unavailable parts.
1341 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1343 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1344 Move all the debug to the CLOCK category, and associate it with
1347 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1349 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1350 Make take_buffer a bit quicker by removing redundant checks
1351 caused by calling gst_adapter_take.
1353 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1355 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1358 * tests/check/Makefile.am:
1359 * tests/check/elements/.cvsignore:
1360 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1361 (GST_START_TEST), (multiqueue_suite):
1362 Add some dead simple unit tests for the 'multiqueue' element
1363 (some bits don't work yet and are disabled for now).
1365 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1367 * gst/gstelement.c: (gst_element_get_request_pad),
1368 (gst_element_class_get_request_pad_template):
1369 Make gst_element_get_request_pad() create request pads only for
1370 request pad templates and not for, say, sometimes pad templates.
1372 2007-03-28 Stefan Kost <ensonic@users.sf.net>
1374 * docs/design/draft-klass.txt:
1375 Add example that needs more thinking.
1377 * docs/design/draft-missing-plugins.txt:
1378 More thoughts about wrapper plugins.
1380 * docs/random/ensonic/embedded.txt:
1381 * docs/random/ensonic/profiling.txt:
1384 2007-03-25 Wim Taymans <wim@fluendo.com>
1386 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1387 (gst_base_src_loop):
1388 Only push the segment events in the PLAYING state for live sources.
1390 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
1392 * gst/gstpipeline.c: (gst_pipeline_change_state):
1393 Modify the clock distribution path in PAUSED->PLAYING so that we
1394 never attempt to choose a new clock unless we're actually leaving
1395 the PAUSED state for the first time. This prevents choosing a
1396 different clock when the state_change gets called for a 2nd time due
1397 to some element doing an async state change.
1399 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1401 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
1402 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
1403 (gst_pad_chain_unchecked), (gst_pad_push):
1404 Revert last commit. This needs some more thoughts.
1406 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1408 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
1409 (gst_pad_chain_unchecked), (gst_pad_push):
1410 Check in set_caps if the caps are compatible with the pad and remove
1411 two functions that are redundant now. Fixes #421543.
1413 2007-03-22 Wim Taymans <wim@fluendo.com>
1415 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1416 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
1417 Unref some more to make valgrind happy.
1419 2007-03-22 Wim Taymans <wim@fluendo.com>
1421 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
1422 (gst_system_clock_id_wait_jitter),
1423 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
1424 Fix anoying regression that survived a few releases. When adding an
1425 async entry while blocking on a sync entry, the sync entry will unblock
1426 but still be busy, so it should continue to wait instead of returning
1428 Add some comments here and there.
1430 * tests/check/gst/gstsystemclock.c: (mixed_thread),
1431 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
1432 Add testcase for this.
1434 2007-03-22 Wim Taymans <wim@fluendo.com>
1436 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
1437 Handle errors from the clock sync better, only UNSCHEDULED indicates a
1438 WRONG_STATE and can silently pause the task. All other cases should
1441 2007-03-22 Wim Taymans <wim@fluendo.com>
1443 Patch by: Ville Syrjala <syrjala at sci dot fi>
1445 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
1446 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
1449 2007-03-21 Michael Smith <msmith@fluendo.com>
1451 * docs/pwg/advanced-types.xml:
1452 Fix some errors in the typefinding docs pointed out on irc.
1454 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
1456 * libs/gst/base/gstbasesrc.c:
1457 Clarify FIXME comment in the face of having added unlock_stop()
1459 2007-03-21 Wim Taymans <wim@fluendo.com>
1461 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
1462 Prepare for release where we warn against possible app breakage in the
1463 case of live pipelines along with an env var to enable/disable live
1464 preroll mode (GST_COMPAT=[no-]live-preroll).
1466 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1468 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
1469 So we should use correct constants for checking for None offset.
1471 2007-03-20 Wim Taymans <wim@fluendo.com>
1473 * docs/design/part-block.txt:
1474 Mention the fact that the newly switched element should be set to at
1477 2007-03-20 Wim Taymans <wim@fluendo.com>
1480 Fix compilation with registry disabled as spotted by Saur.
1482 2007-03-20 Wim Taymans <wim@fluendo.com>
1484 Patch by: Olivier Crete <tester at tester dot ca>
1486 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1487 Look at the pending state too when syncing the element state to the
1488 parent. Fixes #420133.
1490 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
1492 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1493 (gst_base_sink_change_state):
1494 * libs/gst/base/gstbasesink.h:
1495 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1496 (gst_base_src_default_event), (gst_base_src_unlock_stop),
1497 (gst_base_src_deactivate):
1498 * libs/gst/base/gstbasesrc.h:
1499 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
1500 for sub-classes to correctly clear any state they set trying to
1501 unlock, such as clearing out unlock commands from a command fd.
1502 API: basesrc::unlock_stop
1503 API: basesink::unlock_stop
1505 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
1506 (gst_fd_sink_render), (gst_fd_sink_unlock),
1507 (gst_fd_sink_unlock_stop):
1508 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1509 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
1510 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
1512 Implement unlock_stop in fdsrc and fdsink.
1513 Implement seeking in fdsrc when a seekable fd is passed, as in
1514 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
1516 2007-03-19 Wim Taymans <wim@fluendo.com>
1518 Patch by: Evan Nemerson <evan at coeus dash group dot com>
1520 * gst/gstelement.c: (gst_element_class_init):
1521 Fix pad-added and pad-removed signal signatures so that the pad type is
1522 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
1524 2007-03-19 Wim Taymans <wim@fluendo.com>
1526 * docs/gst/gstreamer-sections.txt:
1527 Add new element field and method.
1529 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1530 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
1531 (gst_bin_recalc_state), (gst_bin_get_state_func),
1532 (gst_bin_element_set_state), (gst_bin_change_state_func),
1533 (gst_bin_continue_func), (bin_bus_handler),
1534 (bin_push_state_continue), (bin_handle_async_start),
1535 (bin_handle_async_done), (gst_bin_handle_message_func):
1536 Make async state changes a bit smarter by using new ASYNC_START and
1537 ASYNC_DONE messages. This reduces the number of times we run the state
1538 recalculation thread.
1539 Don't change state of element with a pending ASYNC_START message.
1540 Deprecate STATE_DIRTY messages.
1542 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
1543 (gst_element_get_state_func), (gst_element_continue_state),
1544 (gst_element_lost_state), (gst_element_set_state_func),
1545 (gst_element_change_state):
1547 Keep the state that was last set by the app in a new element field.
1548 Don't allow state changes when handling an element event.
1549 Post ASYNC_START and ASYNC_DONE messages.
1550 Change lost_state so that we go to PAUSED and wait for the parent to set
1551 us to PLAYING again (so latency calculation can be performed)
1552 Export gst_element_change_state() method so that subclasses can use it.
1553 API: gst_element_change_state()
1554 API: GST_STATE_TARGET
1556 * gst/gstpipeline.c: (gst_pipeline_class_init),
1557 (reset_stream_time), (gst_pipeline_change_state),
1558 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
1559 Using the new ASYNC_START message we can reset the base_time when
1560 needed. This can then be used to implement base_time redistribution in
1561 flushing seeks so that we can remove the explicit seek handling.
1562 Perform latency query and configuration when going to PLAYING.
1564 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1565 (gst_base_sink_query), (gst_base_sink_change_state):
1566 Post new ASYNC_START/ASYNC_DONE messages.
1568 * tests/check/generic/sinks.c: (GST_START_TEST):
1569 Fix test because the bin will not set the async element to PLAYING right
1572 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
1573 Make the message check a little stronger.
1574 Handle ASYNC messages.
1576 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
1577 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
1578 Expect ASYNC_DONE messages.
1580 2007-03-19 Wim Taymans <wim@fluendo.com>
1582 * docs/gst/gstreamer-sections.txt:
1583 * gst/gstmessage.c: (gst_message_new_async_start),
1584 (gst_message_new_async_done), (gst_message_parse_info),
1585 (gst_message_parse_async_start):
1587 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
1590 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
1592 * tools/gst-inspect.c:
1593 (print_plugin_automatic_install_info_codecs):
1594 Now that we don't check for the 'Codec' keyword any longer in the
1595 klass, we shouldn't spew a warning if the klass isn't a decoder or
1596 encoder (since it might be a Source/Network, for example).
1598 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
1600 * tools/gst-inspect.c:
1601 (print_plugin_automatic_install_info_codecs):
1602 Don't require decoder/demuxer/depayloader elements or
1603 encoder/muxer/paylader elements to have 'Codec' as part of their
1604 factory class string when introspecting a plugin's capabilities.
1605 draft-klass.txt mentions that it might be removed in future, and
1606 flump3dec doesn't have it as part of its class string, so chances
1607 are others might also not have it.
1609 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
1631 Update translations from translation project
1633 2007-03-14 Stefan Kost <ensonic@users.sf.net>
1635 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
1636 (gst_child_proxy_set_property):
1637 Invert precondition check to be alike the ones in the mimiced gobject
1640 2007-03-13 Stefan Kost <ensonic@users.sf.net>
1642 * docs/design/draft-tagreading.txt:
1643 * docs/random/ensonic/audiobaseclasses.txt:
1644 Do some Architect work.
1646 * gst/gstobject.c: (gst_object_set_name):
1650 Add docs that point from gst_pad_get_range to gst_pad_pull_range
1652 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
1654 * gst/gstsystemclock.c: (gst_system_clock_init),
1655 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
1656 Defer starting the async system clock thread until the first async
1657 wait is scheduled. Fixes #414986.
1659 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
1661 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
1662 (gst_single_queue_free):
1663 Fix small leak (free GstSingleQueue structure too, not only contents).
1665 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
1667 * gst/gstbin.c:(gst_bin_add):
1668 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
1669 * win32/common/libgstbase.def:
1670 * win32/common/libgstreamer.def:
1671 Add new exported functions.
1673 2007-03-09 Wim Taymans <wim@fluendo.com>
1675 * docs/plugins/gstreamer-plugins-sections.txt:
1678 2007-03-09 Wim Taymans <wim@fluendo.com>
1680 * docs/gst/gstreamer-sections.txt:
1681 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
1683 Add metadata copy functions. Fixes #393099.
1684 API: gst_buffer_copy_metadata()
1686 * gst/gstutils.c: (gst_buffer_stamp):
1687 * libs/gst/base/gstbasetransform.c:
1688 (gst_base_transform_prepare_output_buffer):
1689 Use new metadata copy functions.
1691 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
1693 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1694 (gst_identity_init), (gst_identity_check_perfect),
1695 (gst_identity_check_imperfect_timestamp),
1696 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
1697 (gst_identity_set_property), (gst_identity_get_property):
1698 * plugins/elements/gstidentity.h:
1699 Separate out check-imperfect-timestamp and check-imperfect-offset.
1700 Put back check-perfect as it was to keep compatibility.
1702 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
1704 * gst/gstelement.c: (gst_element_dispose):
1705 There's no need to warn if VOID_PENDING is not NONE here, as
1706 long as the state is NULL it's ok, and that's checked immediately
1709 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1711 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1712 Fix check for perfect stream to ignore buffers with -1
1713 offsets/offset ends when checking data contiguity.
1715 2007-03-08 Wim Taymans <wim@fluendo.com>
1717 * tools/gst-launch.c: (event_loop):
1718 Print INFO messages.
1720 2007-03-08 Wim Taymans <wim@fluendo.com>
1722 * libs/gst/base/gstbasetransform.c:
1723 (gst_base_transform_sink_eventfunc),
1724 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1725 (gst_base_transform_activate):
1726 * libs/gst/base/gstbasetransform.h:
1727 Add support for dropping buffers with custom GstFlowReturn.
1728 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
1729 buffers or dropped buffers.
1731 * docs/libs/gstreamer-libs-sections.txt:
1732 docs for new custom return code.
1734 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1735 Use drop support in base class to implement drop-probability.
1737 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
1739 * gst/gst.c: (load_plugin_func):
1740 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1741 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1742 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1743 Remove newlines at end of debug log strings.
1745 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1747 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1748 Only post bus message at max, once per buffer received.
1750 2007-03-07 Wim Taymans <wim@fluendo.com>
1752 * docs/design/Makefile.am:
1753 * docs/design/part-synchronisation.txt:
1754 Add doc about synchronisation
1756 * docs/design/draft-latency.txt:
1757 * docs/design/part-TODO.txt:
1758 * docs/design/part-clocks.txt:
1759 * docs/design/part-events.txt:
1760 * docs/design/part-gstbus.txt:
1761 * docs/design/part-gstpipeline.txt:
1762 * docs/design/part-live-source.txt:
1763 * docs/design/part-messages.txt:
1764 * docs/design/part-overview.txt:
1765 * docs/design/part-streams.txt:
1766 * docs/design/part-trickmodes.txt:
1767 Documentation updates.
1769 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1772 Update the doap file.
1774 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1776 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1777 Rename non-perfect to imperfect for Mike and for the sanctity of the
1779 Also make sure bus message gets emitted for data-incontiguities.
1781 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1783 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1784 (gst_identity_start):
1785 * plugins/elements/gstidentity.h:
1786 Emit bus message if check-perfect is true and we encounter a
1787 non-perfect stream between 2 consecutive buffers.
1790 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1795 === release 0.10.12 ===
1797 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1800 releasing 0.10.12, "Inevitable Demise"
1802 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
1805 Version 0.10.11.2 (0.10.12 pre-release)
1806 Bump libtool versioning.
1808 2007-03-01 Stefan Kost <ensonic@users.sf.net>
1810 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1811 Log flow-names and not numbers.
1813 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1816 Convert to new AG_GST style.
1818 2007-02-28 Wim Taymans <wim@fluendo.com>
1820 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1821 Don't unref query twice.
1823 2007-02-28 Wim Taymans <wim@fluendo.com>
1825 * gst/gstvalue.c: (gst_value_transform_object_string),
1826 (_gst_value_initialize):
1827 Implement GstObject -> string transform so we print object names
1828 when serializing GValues containing GstObjects.
1830 2007-02-28 Wim Taymans <wim@fluendo.com>
1832 * docs/gst/gstreamer-sections.txt:
1833 Add new stuff to docs.
1835 2007-02-28 Wim Taymans <wim@fluendo.com>
1837 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1838 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1839 (gst_base_sink_change_state):
1840 Improve latency query code.
1841 Don't leak latency events.
1843 * tests/check/gst/gstbin.c: (GST_START_TEST):
1846 2007-02-28 Wim Taymans <wim@fluendo.com>
1848 * gst/gstelement.c: (gst_element_message_full),
1849 (gst_element_get_state_func):
1851 Improve docs a little. Added Since: for new macro.
1853 * gst/gstobject.c: (gst_object_sink):
1854 * gst/gstpipeline.c: (gst_pipeline_change_state),
1855 (gst_pipeline_set_new_stream_time):
1856 * gst/gstpipeline.h:
1857 Improve debugging and docs.
1859 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1862 2007-02-28 Wim Taymans <wim@fluendo.com>
1864 * gst/gstelement.c: (gst_element_message_full),
1865 (gst_element_set_locked_state), (gst_element_get_state_func),
1866 (gst_element_change_state):
1867 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1868 Documentation updates.
1869 Small code cleanups.
1871 * gst/gstmessage.c: (gst_message_new_info),
1872 (gst_message_parse_info):
1874 API: gst_message_new_info()
1875 API: gst_message_parse_info()
1876 Add INFO message create and parse code.
1878 2007-02-28 Wim Taymans <wim@fluendo.com>
1880 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1881 (bin_query_latency_done):
1882 Also report the live parameter of a latency query.
1884 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1886 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1887 Copy the current generic/states example from -base and adapt so
1888 we can use the exact same code everywhere.
1889 Check a STATES_IGNORE_ELEMENTS env var which can be used
1890 to ignore certain element factories for this test, which is
1891 what is being done in -base
1892 * tests/check/Makefile.am:
1893 Mention this environment variable.
1895 2007-02-27 Wim Taymans <wim@fluendo.com>
1897 * docs/gst/gstreamer-sections.txt:
1898 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1899 (gst_bus_timed_pop), (gst_bus_pop):
1901 API: gst_bus_timed_pop()
1902 Implement gst_bus_timed_pop() to do a blocking timed wait for a
1903 message to arrive on the bus.
1905 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1907 Two unit tests for new _timed_pop() function.
1909 2007-02-23 Wim Taymans <wim@fluendo.com>
1911 * gst/gstpipeline.c: (gst_pipeline_change_state),
1912 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1913 Don't ref a NULL clock in _provide_clock_func().
1914 Don't allow an INVALID delay.
1915 Don't try to calculate base_time with an invalid start_time.
1916 Also distribute and notify a NULL clock when it was selected.
1918 * tools/gst-launch.c: (event_loop):
1919 Don't crash when a NULL clock was selected in the pipeline.
1921 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
1923 * docs/design/Makefile.am:
1924 * docs/design/draft-missing-plugins.txt:
1925 * docs/random/draft-missing-plugins.txt:
1926 Some small updates: update plugin system identifier prefix
1927 ('gstreamer.net' to 'gstreamer'), mention our new install
1928 API in libgstbaseutils rather than libgimme-codec, add
1929 reference to the online docs.
1931 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1933 * win32/common/config.h:
1934 Pretty sure Bill never made a powerpc version. Powerpc hackers,
1935 use moap cl ci to only check in what is mentioned in the ChangeLog.
1937 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1939 * docs/gst/gstreamer-sections.txt:
1941 Fix up documentation to link to the correct GstGError section.
1942 Add GST_ELEMENT_INFO macro since someone else added a Info message.
1944 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1946 * tools/gst-launch.c: (event_loop):
1947 Make sure that we actually show the important message part of a
1949 No need to check if the gerror is not NULL to free; first of all
1950 g_free accepts NULL; and second the default error handler would
1951 segfault if gerror was NULL.
1953 2007-02-21 Wim Taymans <wim@fluendo.com>
1955 * docs/gst/gstreamer-sections.txt:
1956 Removed docs as well.
1958 2007-02-21 Wim Taymans <wim@fluendo.com>
1960 * gst/gstmessage.c: (gst_message_parse_duration):
1962 Remove new messages for release.
1964 2007-02-20 Wim Taymans <wim@fluendo.com>
1966 * docs/design/part-gstghostpad.txt:
1967 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1968 (gst_ghost_pad_new_full):
1969 Make the ghostpad a parent of the internal pad again for better backward
1970 compatibility. Don't write code that relies on this however.
1972 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1973 (gst_pad_link_check_hierarchy):
1974 Require that parents should be GstElements in the hierarchy check.
1976 2007-02-20 Wim Taymans <wim@fluendo.com>
1978 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1979 (gst_bin_change_state_func), (bin_query_min_max_init),
1980 (bin_query_latency_fold), (bin_query_latency_done),
1983 Implement latency query.
1985 2007-02-20 Wim Taymans <wim@fluendo.com>
1987 * docs/design/part-gstghostpad.txt:
1988 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1989 (gst_ghost_pad_internal_do_activate_push),
1990 (gst_ghost_pad_internal_do_activate_pull),
1991 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1992 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1993 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1994 Do not set the internal pad as a parent anymore so we can avoid
1995 hierarchy linking errors when the ghostpad has no parent yet. This also
1996 fixes failed activation because of unlinked internal pads, which in
1997 turn fixes the impossible case where you have to activate a pad before
1998 you can add it to a running element.
2001 * gst/gstpad.c: (pre_activate), (post_activate),
2002 (gst_pad_set_active), (gst_pad_activate_pull),
2003 (gst_pad_activate_push), (gst_pad_check_pull_range):
2004 Add some more debug info.
2005 Mark activation mode in pre_activate so that we don't try to activate in
2006 endless loops. Fixes #385084.
2008 2007-02-19 Wim Taymans <wim@fluendo.com>
2010 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2011 (gst_base_transform_check_get_range):
2012 Implement a checkgetrange function instead of relying on the default
2013 core behaviour that assumes we can operate in pull mode if we have a
2014 getrange function. First step at fixing #385084.
2016 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2018 * gst/gstchildproxy.h:
2019 * libs/gst/base/gstbasesink.h:
2020 * libs/gst/base/gstbasesrc.h:
2021 * libs/gst/base/gstbasetransform.h:
2022 More docs coverage and some ChangeLog surgery (add missing names)
2024 2007-02-15 Wim Taymans <wim@fluendo.com>
2026 * docs/design/part-TODO.txt:
2027 * docs/design/part-activation.txt:
2028 * docs/design/part-block.txt:
2029 * docs/design/part-buffering.txt:
2030 * docs/design/part-clocks.txt:
2031 * docs/design/part-element-source.txt:
2032 * docs/design/part-events.txt:
2033 * docs/design/part-gstbin.txt:
2034 * docs/design/part-gstbus.txt:
2035 * docs/design/part-gstpipeline.txt:
2036 * docs/design/part-live-source.txt:
2037 * docs/design/part-messages.txt:
2038 * docs/design/part-overview.txt:
2039 * docs/design/part-qos.txt:
2040 * docs/design/part-query.txt:
2041 * docs/design/part-states.txt:
2042 * docs/design/part-trickmodes.txt:
2043 Some doc updates. Start renaming from stream_time to running_time where
2044 it was used wrongly.
2046 2007-02-15 Wim Taymans <wim@fluendo.com>
2048 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2049 Answer LATENCY query.
2051 2007-02-15 Wim Taymans <wim@fluendo.com>
2053 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2057 2007-02-15 Wim Taymans <wim@fluendo.com>
2059 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2060 (gst_pad_dispatcher):
2061 Improve debugging of default pad dispatcher and query functions.
2063 2007-02-15 Wim Taymans <wim@fluendo.com>
2065 * docs/gst/gstreamer-sections.txt:
2066 Remove old unused method.
2068 2007-02-13 Wim Taymans <wim@fluendo.com>
2070 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2073 2007-02-13 Wim Taymans <wim@fluendo.com>
2075 * docs/design/part-seeking.txt:
2078 * gst/gstsegment.c: (gst_segment_set_seek):
2079 Revert old bogus change that should make seeking work again.
2081 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2083 * docs/random/ensonic/dynlink.txt:
2084 * docs/random/ensonic/interfaces.txt:
2085 * docs/random/ensonic/receipies.txt:
2086 Possible dynamic reconnection api, plus some type fixes the other two
2089 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2091 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2092 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2093 Also check for an absolute path following file:// in the filesrc
2094 element. Remove redundant check and call g_path_is_absolute() on the
2097 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2099 * docs/design/draft-klass.txt:
2100 Add existing category analysis.
2103 Fix doc example, framerate is a fraction.
2105 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2108 * docs/gst/Makefile.am:
2109 * docs/gst/gstreamer-sections.txt:
2110 * docs/libs/Makefile.am:
2111 Erm, forgot a bunch of --extra-dir.
2113 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2116 * docs/gst/Makefile.am:
2117 * docs/libs/Makefile.am:
2118 * docs/plugins/Makefile.am:
2119 Add crossreferences to glib/gobject docs.
2121 2007-02-12 Wim Taymans <wim@fluendo.com>
2123 * docs/design/draft-latency.txt:
2126 * docs/libs/gstreamer-libs-sections.txt:
2127 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2128 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2129 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2130 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2131 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2132 (gst_base_sink_get_position), (gst_base_sink_query),
2133 (gst_base_sink_change_state):
2134 * libs/gst/base/gstbasesink.h:
2135 API: gst_base_sink_query_latency() to let subclasses query the upstream
2137 API: gst_base_sink_get_latency() to let subclasses query the configured
2138 latency in the sink.
2139 Implement query and set latency.
2141 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2142 don't continue preroll when we are flushing. Fixes #405284.
2144 * tests/check/pipelines/stress.c: (change_state_timeout),
2145 (quit_timeout), (GST_START_TEST), (stress_suite):
2148 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2150 Patch by: René Stadler <mail at renestadler de>
2152 * docs/gst/gstreamer-sections.txt:
2153 * gst/gsttaglist.c: (_gst_tag_initialize):
2155 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2157 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2159 * docs/libs/Makefile.am:
2160 Fix path to core docs.
2162 * gst/gstbin.c: (gst_bin_get_by_interface),
2163 (gst_bin_iterate_all_by_interface):
2164 Refix docs by also renaming 'interface' to 'iface' in implementation.
2166 * docs/gst/gstreamer-sections.txt:
2168 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2169 * gst/gstchildproxy.h:
2170 * gst/gstelementfactory.c:
2171 * gst/gstpadtemplate.h:
2172 * libs/gst/controller/gstcontroller.c:
2173 (gst_controlled_property_new):
2176 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2178 * gst/gstbin.h:(gst_bin_get_by_interface),
2179 (gst_bin_iterate_all_by_interface):
2180 Replace interface parameter name by iface as interface is
2181 a reserved keyword in Visual Studio for C++ projects so it removes
2182 a build error for application developpers using VS.
2183 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2184 Fix a bug on Windows in uri format check. Now the prefix checked
2185 is file:// and next we check if the path after file:// is absolute.
2186 * win32/common/libgstbase.def:
2187 * win32/common/libgstdataprotocol.def:
2188 * win32/common/libgstgstreamer.def:
2189 Add new exported functions.
2191 2007-02-09 Andy Wingo <wingo@pobox.com>
2193 * tests/check/pipelines/simple-launch-lines.c
2194 (simple_launch_lines_suite, test_tee): Disable tee test until I
2195 have time to fix it :-(
2197 * tests/check/Makefile.am (noinst_HEADERS):
2198 * tests/check/libs/libsabi.c:
2199 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2200 * tests/check/gst/gstabi.c:
2201 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2203 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2204 tests for push and pull tee behavior.
2206 * plugins/elements/gsttee.h:
2207 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2208 mark as deprecated as well as unimplemented. It was a crack idea.
2209 Add support for tee operating in pull mode, off by default.
2211 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2212 normal-case logs down to LOG, raise errors to WARNING.
2213 (gst_registry_xml_read_cache): Don't log before calling a function
2216 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2217 exit (registry finalize).
2218 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2219 DEBUG log when we emit signals that people don't even have the
2220 chance to connect to.
2221 (gst_registry_scan_path_level): Less logging in the normal case.
2223 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2225 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2227 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2228 Correctly generate EOS for non-seekable files. We don't have a total
2229 length for them and would get an unexpected end of file if we only
2230 special-cased for regular files. (Fixes: #404569)
2232 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2234 * tests/check/elements/filesrc.c: (GST_START_TEST),
2236 Add unit test for the GstURIHandler interface in filesrc. This also
2237 tests the newly added file://localhost/foo/bar support.
2239 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2241 * gst/gstelementfactory.h:
2242 The klass string is not a hierarchy. Add reference to the design doc
2243 for more information and common types.
2245 2007-02-02 Wim Taymans <wim@fluendo.com>
2247 * gst/gstquery.c: (gst_query_new_latency):
2248 Remove old structure field.
2250 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2252 * tools/gst-launch.1.in:
2253 Give example for network streaming (#351998)
2255 2007-02-02 Wim Taymans <wim@fluendo.com>
2257 * docs/gst/gstreamer-sections.txt:
2258 Add docs for new methods.
2260 * gst/gstevent.c: (gst_event_new_latency),
2261 (gst_event_parse_latency):
2263 Add new LATENCY event to configure latency in a pipeline.
2264 API: gst_event_new_latency
2265 API: gst_event_parse_latency
2267 * gst/gstmessage.c: (gst_message_new_buffering),
2268 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2269 (gst_message_new_latency), (gst_message_parse_buffering),
2270 (gst_message_parse_lost_preroll):
2272 Added messages used in draft-latency.
2273 API: gst_message_new_lost_preroll
2274 API: gst_message_parse_lost_preroll
2275 API: gst_message_new_prerolled
2276 API: gst_message_new_latency
2278 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2279 (gst_query_parse_latency):
2281 Implemented new latency query as in design doc.
2282 API: gst_query_new_latency
2283 API: gst_query_set_latency
2284 API: gst_query_parse_latency
2286 2007-02-02 Wim Taymans <wim@fluendo.com>
2288 * docs/design/draft-latency.txt:
2289 Slight redesign to allow for dynamic latency adjustments.
2291 * docs/design/part-negotiation.txt:
2294 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2296 reviewed by: Wim Taymans <wim@fluendo.com>
2298 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2299 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2300 Allow file://localhost/foo/bar URLs and correctly fail for every other
2301 hostname that one sets. This was gnomevfssrc is linked for those if
2302 installed as it can handle it (#403172)
2304 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2306 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2308 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2309 (unref_data), (gst_collect_pads_add_pad_full):
2310 * libs/gst/base/gstcollectpads.h:
2311 Don't put the previously added destroy notify in the GstCollectData
2312 struct as all it's padding is already used and we don't want to break
2313 ABI. Instead put in the pad's GObject data for now. This should be
2314 cleaned up for 0.11 (#402393).
2316 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2318 reviewed by: Wim Taymans <wim@fluendo.com>
2320 * docs/libs/gstreamer-libs-sections.txt:
2321 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2322 (unref_data), (gst_collect_pads_add_pad),
2323 (gst_collect_pads_add_pad_full):
2324 * libs/gst/base/gstcollectpads.h:
2325 API: Add function to specify a destroy notification for custom
2326 GstCollectData when adding new pads in GstCollectPads (#402393).
2328 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
2331 Update Swedish translation (#378255).
2333 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2335 * docs/design/draft-klass.txt:
2336 Fix the previous change, this is a list of categories and not a hierarchy.
2338 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2340 * docs/design/draft-klass.txt:
2341 Add info about how to get a list of used classes.
2343 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
2345 * plugins/elements/gsttypefindelement.c:
2346 (gst_type_find_element_chain_do_typefinding),
2347 (gst_type_find_element_change_state):
2348 Don't leak found caps in chain function (no idea why that never
2349 showed up as a leak anywhere).
2351 2007-01-30 Stefan Kost <ensonic@users.sf.net>
2354 Fix and expand GstPluginDesc API docs.
2356 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2359 * gst/gstelementfactory.c:
2360 * gst/gstpadtemplate.h:
2363 * libs/gst/controller/gstcontroller.c:
2364 (gst_controlled_property_new):
2365 * tests/examples/controller/audio-example.c:
2368 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2371 comment about refining the xml deps
2374 comments about moving away from jade for docs
2377 recommit the ifdefs to use the binary registry
2379 * gst/gstbin.c: (gst_bin_change_state_func):
2380 this break is obsolete
2382 * gst/gstelementfactory.h:
2383 better GST_ELEMENT_DETAILS docs, add comment about translation
2388 * gst/gstobject.c: (gst_signal_object_get_type):
2389 add G_UNLIKELY as usual
2391 * gst/gstpad.c: (gst_pad_event_default):
2392 add fall trhu comment
2394 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2395 (gst_registry_binary_initialize_magic),
2396 (gst_registry_binary_save_string),
2397 (gst_registry_binary_save_pad_template),
2398 (gst_registry_binary_save_feature),
2399 (gst_registry_binary_save_plugin),
2400 (gst_registry_binary_write_cache),
2401 (gst_registry_binary_check_magic),
2402 (gst_registry_binary_load_pad_template),
2403 (gst_registry_binary_load_feature),
2404 (gst_registry_binary_load_plugin),
2405 (gst_registry_binary_read_cache):
2406 comment typo and formatting
2408 * gst/gstutils.c: (gst_element_state_get_name),
2409 (gst_element_state_change_return_get_name):
2410 remove obsolete breaks
2412 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2413 add FIXME 0.11 and remove cpp comment
2415 2007-01-29 Edward Hervey <edward@fluendo.com>
2417 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2418 Fix print statement in an even more portable way.
2420 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
2422 * docs/gst/gstreamer-sections.txt:
2424 API: add GST_ROUND_DOWN_* macros (#401781).
2426 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
2428 * docs/gst/gstreamer.types.in:
2429 * gst/gstregistry.c: (gst_registry_class_init):
2430 Document registry signals and make gtk-doc pick them up (#401381).
2432 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
2434 * docs/pwg/building-testapp.xml:
2435 Add some audioconverts and audioresample to the pipeline, and some
2436 more comments and error handling.
2438 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
2440 * docs/manual/manual.xml:
2444 2007-01-26 Wim Taymans <wim@fluendo.com>
2446 * gst/gstcaps.c: (gst_static_caps_get):
2447 Init caps flags too.
2449 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
2451 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
2453 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2454 If not using mmap'ed files try to seek to the end instead of the
2455 start to determine whether we can seek at all. This fixes the case
2456 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
2457 seeks for everything afterwards fail. Fixes #400656
2459 2007-01-25 Wim Taymans <wim@fluendo.com>
2461 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
2462 Add some refcount debugging.
2463 Make gst_static_caps_get threadsafe, which is needed when autoplugging
2464 in multiple streaming threads.
2466 2007-01-25 Wim Taymans <wim@fluendo.com>
2468 Patch by: David Schleef <ds at schleef dot org>
2470 * docs/libs/gstreamer-libs-sections.txt:
2471 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
2472 * libs/gst/base/gstadapter.h:
2473 API: gst_adapter_copy() that can reduce the amount of memcpy when
2474 getting data from the adapter. Fixes #388201.
2476 2007-01-25 Edward Hervey <edward@fluendo.com>
2478 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2479 In print statements, "%x" is for guint. Fixes build on macosx.
2481 2007-01-24 Edward Hervey <edward@fluendo.com>
2483 * plugins/elements/gstmultiqueue.c:
2484 (gst_multi_queue_loop):
2486 (single_queue_overrun_cb), (single_queue_underrun_cb),
2487 (single_queue_check_full), (gst_single_queue_new):
2488 Implement single queue growth system.
2489 This uses the extra-size properties, and will grow single queues by
2490 that much if one goes full whereas there are others empty. This is
2491 called extra-mode in the code.
2492 When a single queue's levels go back below the initial max-size
2493 limits, it is no longer in extra-mode. This is to ensure we don't
2494 consume too much memory.
2497 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
2499 * gst/gst.c: (gst_init_get_option_group):
2500 Make warning about late g_thread_init() calls a bit more explicit,
2501 so that it's more obvious to application developers what they need
2502 to do if a user files a bug against their application.
2504 2007-01-22 Edward Hervey <edward@fluendo.com>
2506 * plugins/elements/gstmultiqueue.c:
2507 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
2508 Remove previous hack of unsetting the flushing flag for the source pad
2509 instead of activating it. Instead, fix the source pad activate function
2510 so that it no longer depends on having a parent set or not.
2512 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
2514 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
2516 * docs/manual/basics-bus.xml:
2517 Fix example code, gst_element_unref() doesn't exist any longer.
2519 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
2521 Patch by: Mark Nauwelaerts <manauw at skynet be>
2524 Fix two docs typoes (#399094).
2526 2007-01-19 Edward Hervey <edward@fluendo.com>
2528 * docs/faq/gst-uninstalled:
2529 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
2530 depending on libgstbaseutils can work in uninstalled environment.
2532 2007-01-18 Stefan Kost <ensonic@users.sf.net>
2535 * gst/gsttagsetter.c:
2536 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
2537 statement for new tag.
2539 2007-01-17 Edward Hervey <edward@fluendo.com>
2541 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
2542 When dynamically creating single queues, activate sinkpad before adding
2544 We should be doing the same thing for the source pad, but we can't
2545 since it would call a method which needs the parent to be set in order
2546 to work propertly. Instead of activating the source pad, we just unset
2547 the flushing flag, which is the minimal requirement for adding a pad
2548 to an element in a state greater than READY.
2550 2007-01-17 Edward Hervey <edward@fluendo.com>
2552 * docs/faq/gst-uninstalled:
2553 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
2556 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
2558 * tests/check/gst/gstabi.c:
2559 * tests/check/gst/struct_hppa.h:
2560 * tests/check/libs/libsabi.c:
2561 * tests/check/libs/struct_hppa.h:
2562 Add ABI structs for HPPA (see #393796).
2564 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
2566 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2567 Actually write ABI structs to the file specified in the GST_ABI
2568 environment variable, as the message we print claims we would.
2570 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2572 * tests/check/gst/gsttask.c:
2575 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2577 * gst/gsttaglist.c: (_gst_tag_initialize):
2578 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
2579 previous two entries.
2581 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2583 * docs/gst/gstreamer-sections.txt:
2584 * gst/gsttaglist.c: (_gst_tag_initialize):
2586 Add tag support for beat-per-minute.
2588 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2590 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2591 (gst_registry_binary_initialize_magic),
2592 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
2593 (gst_registry_binary_save_pad_template),
2594 (gst_registry_binary_save_feature),
2595 (gst_registry_binary_save_plugin),
2596 (gst_registry_binary_write_cache),
2597 (gst_registry_binary_check_magic),
2598 (gst_registry_binary_load_pad_template),
2599 (gst_registry_binary_load_feature),
2600 (gst_registry_binary_load_plugin),
2601 (gst_registry_binary_read_cache):
2602 * gst/gstregistrybinary.h:
2603 Use glib types, cleanup comments, impement interfaces and uri-types.
2605 2007-01-13 Andy Wingo <wingo@pobox.com>
2607 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
2608 getrange() to return buffers with other caps, while we fix
2609 demuxers and typefind, or otherwise change part-negotiation.txt.
2611 2007-01-12 Andy Wingo <wingo@pobox.com>
2613 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
2614 Factor start/stop into this private function instead of partially
2615 in activate functions and partially in the change_state function.
2616 Fixes setup before the element has changed from READY->PAUSED, as
2617 is the case in pull-mode pipelines.
2618 (gst_base_transform_sink_activate_push)
2619 (gst_base_transform_src_activate_pull): Refactor to use
2620 gst_base_transform_activate().
2621 (gst_base_transform_change_state): Removed, not needed any more.
2623 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2624 Truncate before fixating.
2626 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2627 Don't set_caps() if the result of fixating is ANY, as it's not
2628 supported, and not necessary in the case of a link with no
2629 template caps on either side. Fixes tests/check/libs/basesrc in
2630 some pull-mode tests.
2632 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
2633 (gst_base_transform_init, gst_base_transform_sink_activate_push)
2634 (gst_base_transform_src_activate_pull):
2635 Track the activation mode.
2636 (gst_base_transform_setcaps): In pull mode, when activating the
2637 src pad, after activating the sink pad, activate the sink pad's
2638 peer, as discussed in part-negotiation.txt.
2640 * libs/gst/base/gstbasesrc.h:
2641 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
2642 vmethod, as in basesink.
2644 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
2646 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
2647 mode, first proxy the setcaps to the peer pad.
2648 (gst_base_sink_pad_fixate): Add a fixate function that calls the
2650 (gst_base_sink_default_activate_pull): Rename from
2651 gst_base_sink_activate_pull.
2652 (gst_base_sink_negotiate_pull): New function, performs negotiation
2653 in pull mode before calling ::activate_pull().
2654 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
2655 vmethod instead of the default implementation. I have no idea how
2656 this worked before. Negotiate before calling activate_pull.
2658 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
2659 sink pads in pull mode. In addition to being correct, fixes
2660 filesrc ! decodebin ! identity ! fakesink.
2661 (gst_pad_get_range, gst_pad_pull_range): Don't call
2662 gst_pad_set_caps() if the caps changes; instead error out with
2663 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
2665 2007-01-12 Andy Wingo <wingo@pobox.com>
2667 * docs/design/part-negotiation.txt: Update with more policy.
2669 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2671 * libs/gst/check/gstbufferstraw.h:
2672 * libs/gst/check/gstcheck.h:
2673 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
2676 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2678 * tests/check/Makefile.am:
2679 * tests/check/gst/.cvsignore:
2680 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
2681 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
2682 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
2683 (GST_START_TEST), (gst_tag_setter_suite):
2684 Add minimal unit test for beforementioned GstTagSetter bug.
2686 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2688 Patch by: René Stadler <mail at renestadler dot de>
2690 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2691 gst_tag_list_merge() returns a new list, so it's not the best idea
2692 to ingore its return value. Effectively meant that tags could only
2693 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
2694 Also add function guard to require a non-NULL taglist as input (has
2695 always been so due to gst_tag_list_copy(), just making it explicit).
2697 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2699 * docs/random/draft-missing-plugins.txt:
2700 Some additions: mention new API that is supposed to be used at the
2701 various stages; short blob about new gst-inspect introspection
2702 option; mention potential future problem with plugins that have
2703 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
2705 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2707 * tools/gst-inspect.c:
2708 (print_plugin_automatic_install_info_codecs),
2709 (print_plugin_automatic_install_info_protocols),
2710 (print_plugin_automatic_install_info), (main):
2711 Add --print-plugin-auto-install-info option to gst-inspect, so we can
2712 introspect plugin files and get machine-parsable output that corresponds
2713 to the last bit of the missing-plugin installer string (small gotcha:
2714 doesn't take into account ranks).
2716 2007-01-11 Stefan Kost <ensonic@users.sf.net>
2719 * docs/gst/gstreamer-sections.txt:
2721 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
2722 (gst_registry_lookup_locked):
2723 * gst/gstregistry.h:
2724 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2725 (gst_registry_binary_initialize_magic),
2726 (gst_registry_binary_save_string),
2727 (gst_registry_binary_save_pad_template),
2728 (gst_registry_binary_save_feature),
2729 (gst_registry_binary_save_plugin),
2730 (gst_registry_binary_write_cache),
2731 (gst_registry_binary_check_magic),
2732 (gst_registry_binary_load_pad_template),
2733 (gst_registry_binary_load_feature),
2734 (gst_registry_binary_load_plugin),
2735 (gst_registry_binary_read_cache):
2736 * gst/gstregistrybinary.h:
2737 * gst/gstregistryxml.c: (load_feature),
2738 (gst_registry_xml_read_cache):
2739 commit binary registry (disabled by default, see #359653)
2741 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2743 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2744 Fix 'make check' too.
2746 2007-01-10 Andy Wingo <wingo@pobox.com>
2748 * docs/design/part-negotiation.txt: Fix a typo, add a couple
2751 * docs/design/part-negotiation.txt: Update with, um, one way that
2752 pull-mode negotiation might work?
2755 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2756 that the pad must be a src pad; makes sense to call it the other
2757 way in pull mode, and the logic is symmetric anyway.
2759 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
2761 * plugins/elements/gstfilesink.c:
2762 Include <stdio.h> for fseeko().
2764 2007-01-10 Wim Taymans <wim@fluendo.com>
2768 Reserve LATENCY event.
2770 2007-01-09 Wim Taymans <wim@fluendo.com>
2772 * docs/design/draft-latency.txt:
2775 2007-01-09 Wim Taymans <wim@fluendo.com>
2777 * docs/design/draft-latency.txt:
2781 * gst/gststructure.c:
2785 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
2787 * tests/check/.cvsignore:
2788 Ignore test-registry.xml as well.
2790 2007-01-09 Wim Taymans <wim@fluendo.com>
2792 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2793 unref data at the end when we are done with the pad.
2795 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2797 * docs/gst/gstreamer-sections.txt:
2798 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2799 (init_post), (gst_deinit), (gst_update_registry):
2801 API: add gst_update_registry() (#391296).
2803 * tests/check/Makefile.am:
2804 * tests/check/gst/gstregistry.c:
2805 * tests/check/gst/.cvsignore:
2806 Simple unit test for the above.
2808 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2810 * gst/gstregistry.c: (gst_registry_scan_path_level):
2811 Plugin extension on HP-UX is .sl, add that to the list of approved
2812 plugin extensions (see #393796).
2814 * tests/check/gst/gstpad.c: (GST_START_TEST):
2815 ulong => gulong. Fixes compilation with HP-UX compiler.
2817 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2818 Fix compilation if valgrind headers are not available.
2820 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
2822 * win32/common/libgstreamer.def:
2823 Add new exported function.
2824 * win32/vs6/libgstbase.dsp:
2825 Add gstdataqueue.c to the build.
2826 * win32/vs6/libgstcoreelements.dsp:
2827 Add gstmultiqueue.c to the build.
2829 2007-01-06 Andy Wingo <wingo@pobox.com>
2831 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2832 activate_pull(), providing for a way to specialize the process of
2833 spawning a thread to pull on the sink pad. There is a default
2836 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2837 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2838 (gst_base_sink_init): Renamed pad activation functions (inserting
2839 "_pad" in their names). Refactor to use the new activate_pull
2840 vmethod, as appropriate.
2841 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2842 default activate_pull function to start a task pulling from the
2843 sink pad, as before.
2845 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2846 on the pads if necessary, as in push()/chain(). Update docs.
2847 Shouldn't affect existing pull() usage as it is currently only
2848 being used on buffers without caps.
2850 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2852 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2854 Call g_thread_init() first thing in gst_init() / gst_check_init().
2855 When initialisation is done via gst_init_get_option_group() and
2856 GOption parsing, issue a warning if the GLib thread system has not
2857 been initialised yet by the time gst_init_get_option_group() is
2858 called, as it's quite likely other GLib functions such as
2859 g_option_context_new() have been called already then, and
2860 g_thread_init() must be called before any other GLib function. The
2861 application in question must be fixed in that case, since memory
2862 corruption might happen otherwise.
2863 We issue the warning because even if the GLib folks decide to work
2864 around the problem on their end in future, this is still an issue
2865 with all GLib versions >= 2.10.0, so we should warn until we depend
2866 on a GLib version we know to be safe.
2867 Update documentation as well.
2870 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2872 * tools/gst-inspect.c: (main):
2873 * tools/gst-launch.c: (main):
2874 * tools/gst-typefind.c: (main):
2875 * tools/gst-xmlinspect.c: (main):
2876 Call g_thread_init() really really early, before any other GLib
2877 function (see #342564 and recent discussion on gtk-devel-list).
2879 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2881 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
2883 * gst/gst_private.h:
2884 * gst/gstconfig.h.in:
2886 On win32, all the __declspec stuff for symbol exporting is
2887 apparently only needed with MSVC, but doesn't work with MingW.
2888 Fixes compilation with MingW and #391909.
2890 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2892 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2893 Change some GST_ERROR_OBJECT that aren't really errors to
2894 GST_WARNING_OBJECT in order to reduce terminal spam.
2896 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2898 * tests/check/Makefile.am:
2899 disable test again, as there seem to be still race problems
2901 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2903 * tests/check/Makefile.am:
2904 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2905 (GST_START_TEST), (queue_suite):
2906 enable queue test again, add tests for the leaky behaviour
2908 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
2911 * tests/examples/Makefile.am:
2912 Compile adapter test/example only if the required headers are
2913 available (fixes #391915).
2915 2007-01-01 David Schleef <ds@schleef.org>
2918 Restore the previous signal handler for SIGSEGV instead of
2919 setting to default, since we may have stolen it away from
2920 someone. (i.e., Mono)
2922 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2924 * docs/random/draft-missing-plugins.txt:
2925 Some small additions and clarifications.
2927 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2929 * gst/gstregistryxml.c: (gst_registry_save_escaped):
2930 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2931 since that can lead to random memory corruptions and crashes
2932 (may or may not be related to #383244, #386711, and #386711).
2934 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2936 * tests/check/.cvsignore:
2937 * tests/check/Makefile.am:
2938 sync .cvsignome and CLEANFILES
2940 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2942 * tests/check/Makefile.am:
2945 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2947 * docs/design/part-states.txt:
2948 two tiny additional comments
2950 * gst/gststructure.c:
2953 * tests/check/Makefile.am:
2954 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2956 disable test for now, unless it gets fixed
2958 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2960 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2962 fix race in underrun test
2964 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2966 * tests/check/elements/.cvsignore:
2969 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2971 try to narrow test failure
2973 2006-12-21 David Schleef <ds@schleef.org>
2975 * plugins/elements/gstfakesrc.c:
2976 Use g_random_int_range(), since it produces better random
2977 numbers in a range than almost-correct floating point code.
2979 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2981 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2982 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2983 (gst_check_teardown_sink_pad):
2984 do not automatically (de)activate pads
2986 * tests/check/Makefile.am:
2987 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2988 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2989 add new, yet simple tests for queue
2991 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2992 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2993 * tests/check/elements/filesrc.c: (cleanup_filesrc),
2995 * tests/check/elements/identity.c: (cleanup_identity):
2996 consistent pad (de)activation
2998 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3000 Patch by: Sebastian Dröge <slomo ubuntu com>
3002 * libs/gst/base/gstcollectpads.c:
3003 Fix two doc typos (#387866).
3005 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3007 * docs/manual/advanced-dparams.xml:
3008 Fix typo (g_object_control_properties() doesn't exist).
3010 2006-12-19 Edward Hervey <edward@fluendo.com>
3012 * gst/gstsegment.c: (gst_segment_set_seek):
3013 Fine tune the cases where the segment start/stop values are really
3015 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3016 Add tests for the return values of gst_segment_set_seek().
3018 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3023 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3025 Fix incorrect documentation and flesh it out a bit more.
3026 Set default values for the max properties on the GParamSpec as well,
3027 so it shows up correctly in gst-inspect.
3029 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3031 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3032 Correct docs of queue, add more detail and crosslink it more.
3034 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3036 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3037 Print additional debug info when the stream isn't perfectly
3038 timestamped; don't try to use invalid durations.
3040 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3042 * docs/design/Makefile.am:
3043 Dist new design docs.
3045 2006-12-16 Wim Taymans <wim@fluendo.com>
3047 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3049 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3050 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3051 (gst_collect_pads_stop), (gst_collect_pads_event),
3052 (gst_collect_pads_chain):
3053 * libs/gst/base/gstcollectpads.h:
3054 Add refcounting to the collectpads data so we can track when it's safe
3055 to free the data. Fixes #383382.
3057 2006-12-15 Wim Taymans <wim@fluendo.com>
3059 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3060 (gst_collect_pads_remove_pad):
3061 Automatically activate/deactivate pads when they are added to a
3062 started/stoped collectpads.
3064 2006-12-15 Wim Taymans <wim@fluendo.com>
3066 * gst/gstelement.c: (gst_element_add_pad):
3067 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3068 * gst/gstpad.c: (gst_pad_init):
3069 Set pads to FLUSHING when they are created. Check, warn and fix when a
3070 demuxer adds an inactive pad to itself when running. Fixes #339326.
3072 2006-12-15 Wim Taymans <wim@fluendo.com>
3074 * gst/gstelement.c: (gst_element_class_init),
3075 (gst_element_default_send_event), (gst_element_send_event),
3076 (gst_element_default_query), (gst_element_query):
3077 Expose default element send_event and query handling as vmethods that
3078 subclasses can chain up to.
3080 2006-12-15 Wim Taymans <wim@fluendo.com>
3082 * gst/gstelement.c: (gst_element_set_state_func):
3083 Small documentation fixes.
3085 2006-12-15 Wim Taymans <wim@fluendo.com>
3087 * docs/design/draft-latency.txt:
3088 Checked in draft for handling latency in pipelines.
3090 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3094 * gstreamer.spec.in:
3097 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3099 * gst/gst.c: (init_pre), (init_post):
3100 init_pre() and init_post() might be called via our GOptionGroup or
3101 from gst_init(), and we should skip both of them if we've already
3102 been initialised, otherwise we will init some things twice or add
3103 two default log functions.
3105 2006-12-13 Edward Hervey <edward@fluendo.com>
3107 * docs/manual/basics-bus.xml:
3108 No, gst_main_loop does not exist. Its g_main_loop.
3109 Discovered by somebody who abused the copy-paste technique of coding :)
3111 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3113 * gst/gstghostpad.c:
3114 Log ghostpad debug stuff to the GST_PADS category as well rather
3115 than just to the default category.
3117 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3120 * gst/gst.c: (init_pre):
3121 Add some basic system details such as OS and architecture
3122 to the debug output if possible, courtesy of uname().
3124 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3126 * docs/gst/running.xml:
3127 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3128 environment variables.
3130 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3132 * tests/check/gst/gstbin.c: (GST_START_TEST):
3133 It is acceptable to have a refcount of 2 or 3 at this point in the
3134 test, because the pipeline might be just posting its state_change
3135 message. The next line then waits for that message to appear using
3136 bus_poll, so that should be fine too.
3138 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3140 * gst/gst.c: (ensure_current_registry_forking):
3141 Ignore EINTR when reading from the child registry pipe.
3142 Explicitly ignore the return value from close, since it makes no
3145 * gst/gstminiobject.c: (gst_mini_object_ref),
3146 (gst_mini_object_unref):
3147 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3149 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3150 When removing cached plugins, remove their features too, so they're
3151 not visible after they've disappeared.
3153 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3154 In the unlikely case that we are linking pads with no parents, don't
3155 crash trying to get the non-existent parent bin.
3157 * gst/parse/grammar.y:
3158 Output debug in the PIPELINE category
3160 2005-03-08 Wim Taymans <wim@fluendo.com>
3162 Patch by: René Stadler <mail at renestadler dot de>
3164 * gst/gstclock.c: (gst_clock_new_periodic_id):
3165 Reject invalid clock times for interval of periodic ids.
3168 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3170 * gst/gstelementfactory.c: (gst_element_factory_create):
3171 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3172 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3173 * tools/gst-inspect.c: (print_element_info):
3174 Fix refcounting of gst_plugin_feature_load to match the docs.
3177 2006-12-07 Wim Taymans <wim@fluendo.com>
3179 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3180 (gst_base_sink_get_position):
3181 Improve debugging of events.
3183 2006-12-07 Wim Taymans <wim@fluendo.com>
3185 Patch by: René Stadler <mail at renestadler dot de>
3187 * gst/gstclock.c: (gst_clock_id_wait):
3188 Make period ids add the interval to the origial requested time instead
3189 of the possibly updated time which can be wrong when there are multiple
3190 waiters for the same id. Fixes #382592.
3192 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3193 (gst_system_clock_id_wait_jitter_unlocked),
3194 (gst_system_clock_id_wait_jitter):
3195 Fix restart in the async notify thread when an async entry is added to
3196 the front of the list. Fixes #381492.
3198 * tests/check/gst/gstsystemclock.c: (store_callback),
3199 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3200 Added test for multiple async waits.
3201 Added test for async wait order.
3203 2006-12-07 Wim Taymans <wim@fluendo.com>
3205 * gst/gstbin.c: (gst_bin_query):
3206 Add some more docs about the POSITION query.
3208 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3211 Bump version nano - back to CVS.
3213 === release 0.10.11 ===
3215 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3218 releasing 0.10.11, "Love never runs on time"
3220 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3222 * win32/common/libgstbase.def:
3223 * win32/common/libgstreamer.def:
3224 * win32/vs8/libgstbase.vcproj:
3225 * win32/vs8/libgstcoreelements.vcproj:
3226 * win32/vs8/libgstreamer.vcproj:
3227 Fix compilation on win32 under VS8
3228 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3229 Partially fixes #381175
3231 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3233 * gst/gstvalue.c: (gst_value_compare_fraction):
3234 If someone is foolish enough to compare 2 fractions with denominator =
3235 0, return UNORDERED rather than aborting.
3237 2006-11-28 Edward Hervey <edward@fluendo.com>
3239 * libs/gst/base/Makefile.am:
3240 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3241 (gst_data_queue_base_init), (gst_data_queue_class_init),
3242 (gst_data_queue_init), (gst_data_queue_new),
3243 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3244 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3245 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3246 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3247 (gst_data_queue_set_flushing), (gst_data_queue_push),
3248 (gst_data_queue_pop), (gst_data_queue_drop_head),
3249 (gst_data_queue_set_property), (gst_data_queue_get_property):
3250 * libs/gst/base/gstdataqueue.h:
3251 New GstDataQueue object for threadsafe queueing. Most useful for
3252 elements that need some queueing functionnality.
3253 * docs/libs/gstreamer-libs-docs.sgml:
3254 * docs/libs/gstreamer-libs-sections.txt:
3255 Insert documentation for GstDataQueue
3256 * plugins/elements/Makefile.am:
3257 * plugins/elements/gstelements.c:
3258 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3259 (gst_multi_queue_class_init), (gst_multi_queue_init),
3260 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3261 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3262 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3263 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3264 (gst_multi_queue_loop), (gst_multi_queue_chain),
3265 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3266 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3267 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3268 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3269 (wake_up_next_non_linked), (compute_next_non_linked),
3270 (single_queue_overrun_cb), (single_queue_underrun_cb),
3271 (single_queue_check_full), (gst_single_queue_new):
3272 * plugins/elements/gstmultiqueue.h:
3273 New multiqueue element, using GstDataQueue. Used for queuing multiple
3275 Closes #344639 and #347785
3277 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3279 * docs/pwg/advanced-types.xml:
3280 add more missing type details
3282 * tools/gst-run.c: (main):
3283 remove unused variable
3285 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3287 * docs/libs/Makefile.am:
3288 * docs/libs/gstreamer-libs.types:
3289 add types of base classes to enable gobject specific stuff in the docs
3291 * docs/random/ensonic/embedded.txt:
3292 more ideas about isolating platform specific things
3294 2006-11-20 Wim Taymans <wim@fluendo.com>
3296 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3298 * libs/gst/check/gstcheck.h:
3299 Fix compilation and running against 0.9.4. Fixes #377332.
3301 2006-11-20 Wim Taymans <wim@fluendo.com>
3303 * gst/gstsegment.c: (gst_segment_set_seek),
3304 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3305 (gst_segment_to_running_time):
3306 Fix boundary checking in to_running_time() and to_stream_time().
3309 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3310 stream and running time can now be calculated for the complete
3313 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3315 * gst/gstpad.c: (gst_pad_push_event):
3316 Can't access event structure after giving away ownership of
3319 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3321 * docs/random/ensonic/embedded.txt:
3322 * docs/random/ensonic/profiling.txt:
3323 * docs/random/ensonic/receipies.txt:
3326 2006-11-13 Wim Taymans <wim@fluendo.com>
3328 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3331 Fix documentation for gst_pad_dispatcher. Fixes #374475.
3333 2006-11-13 Wim Taymans <wim@fluendo.com>
3335 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3337 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3338 Store new length in segment duration so we don't keep on calling the
3339 potentially expensize get_size() call. Fixes #370865.
3341 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
3343 Patch by: Sergey Scobich <sergey.scobich at gmail com>
3345 * win32/common/libgstreamer.def:
3346 Add two missing symbols (#366492).
3348 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
3350 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3351 (gst_adapter_take_buffer):
3352 Fix format string to use all its arguments.
3353 Remove useless >= check on a guint
3355 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3357 * tests/examples/adapter/.cvsignore:
3358 Ignore build file as commanded by the build-bot
3360 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3362 * tests/examples/adapter/Makefile.am:
3363 * tests/examples/adapter/adapter_test.c: (run_test_take),
3364 (run_test_take_buffer), (run_tests), (main):
3366 Add new files from the previous commit
3368 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3372 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3373 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3374 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3375 * libs/gst/base/gstadapter.h:
3376 * tests/check/libs/adapter.c: (create_and_fill_adapter),
3377 (GST_START_TEST), (gst_adapter_suite):
3378 * tests/examples/Makefile.am:
3379 Do some optimisation work in GstAdapter to avoid copies in more cases.
3380 It could still do slightly better by merging buffers when
3381 gst_buffer_is_span_fast is true, but is already faster.
3383 Also, avoid traversing a single-linked list to append each incoming
3384 buffer inside the adapter.
3386 Add simple test app that times the adapter behaviour in different
3387 situations, and extend the unit test to check that bytes enter and
3388 exit the adapter in their original order.
3390 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
3392 * docs/random/draft-missing-plugins.txt:
3393 Update: use element message instead of adding a new message
3394 type to the core; don't provide GStreamer API to initiate the
3395 plugin download, just provide API to compose the strings needed
3396 and let an external libgimmestuff handle the rest.
3398 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
3400 * tools/gst-inspect.c: (print_element_properties_info):
3401 Print a string instead of 'unknown type' for GValueArray properties
3403 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
3405 * docs/random/draft-missing-plugins.txt:
3408 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3410 * tests/examples/typefind/typefind.c: (type_found), (main):
3411 Make typefind element example work again (#371894); add a
3414 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3416 * docs/random/draft-missing-plugins.txt:
3417 Commit initial draft about how to deal with missing plugins,
3418 needs work (API too).
3420 2006-11-07 Stefan Kost <ensonic@users.sf.net>
3422 * docs/pwg/advanced-types.xml:
3423 documents the new caps elements (see #363118)
3425 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
3427 * gst/gstplugin.c: (gst_plugin_load_file):
3428 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
3429 (gst_file_src_map_region), (gst_file_src_start):
3430 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
3431 (gst_file_index_commit):
3432 Use g_strerror() instead of strerror() - we want UTF-8.
3434 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
3436 Patch by: Peter Kjellerstedt <pkj at axis com>
3438 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3439 Another printf fix (#371493).
3441 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3443 * tests/check/gst/gsttag.c:
3444 relicence (okay with author=company)
3446 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3448 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3449 (gst_pad_push_event):
3450 Enhance debug and improve docs
3455 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3457 * docs/random/ensonic/distributed.txt:
3458 * docs/random/ensonic/profiling.txt:
3461 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3463 * docs/gst/gstreamer-sections.txt:
3464 add new API and fix the build
3466 * gst/gstbin.c: (gst_bin_recalc_state):
3467 * gst/gstelement.c: (gst_element_message_full),
3468 (gst_element_get_state_func), (gst_element_set_state_func):
3469 use new API and improve logging
3471 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3473 API: add function to get StateChangereturn names to improve logs
3475 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
3477 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3478 I'm considering shooting the next person to put strerror stuff
3479 in the translateable part of the message.
3481 2006-11-03 Wim Taymans <wim@fluendo.com>
3483 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3484 Get the type and printf conversion specifiers right.
3486 2006-11-03 Wim Taymans <wim@fluendo.com>
3488 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3490 * gst/gstpad.c: (gst_pad_init), (pre_activate),
3491 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
3492 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
3493 Some small cleanups. Improve debugging.
3495 Signal all waiting threads with a broadcast instead of just one.
3498 2006-11-03 Wim Taymans <wim@fluendo.com>
3500 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
3501 (gst_fd_src_create):
3503 Only update fd when it's different from the old.
3505 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
3507 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
3508 Printf fixes for PPC/OSX, take two (#369366).
3510 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
3512 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
3514 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3515 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3516 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3517 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
3518 don't cast to long long for portability reasons, but use
3519 GLib's types instead.
3521 2006-10-30 Michael Smith <msmith@fluendo.com>
3523 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3524 Get the arguments to lseek() the right way around.
3527 2006-10-30 Wim Taymans <wim@fluendo.com>
3529 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
3532 _declspec should be __declspec (two underscores, not one). Fixes 366572.
3534 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
3536 Patch by: Kjartan Maraas <kmaraas at gnome org>
3538 * docs/design/part-MT-refcounting.txt:
3539 * docs/random/wtay/capsnego2-docs:
3542 Typo fixes (#366212).
3544 2006-10-28 Wim Taymans <wim@fluendo.com>
3546 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3549 * win32/common/libgstbase.def:
3550 * win32/common/libgstreamer.def:
3551 * win32/vs8/libgstbase.vcproj:
3552 * win32/vs8/libgstcontroller.vcproj:
3553 Add needed entries in .def files.
3555 Rearrange def files in vs8 solutions. Fixes #366286.
3557 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
3559 * win32/common/gstconfig.h:
3560 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
3561 hand-made win32 gstconfig.h. Fixes #366321.
3563 2006-10-27 Wim Taymans <wim@fluendo.com>
3565 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
3566 (gst_ghost_pad_new_full):
3567 Make acceptcaps return TRUE when we don't have a target, just like
3570 2006-10-27 Wim Taymans <wim@fluendo.com>
3572 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3573 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
3575 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
3577 * gst/gststructure.c: (gst_structure_id_set_value):
3578 If someone tries to set a non-UTF8 string field on a structure,
3579 don't just print a warning, but also ignore the request and do
3580 not change/add that field to the structure.
3582 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3585 2006-10-25 David Schleef <ds@schleef.org>
3588 g_hash_table_insert() needs a cast to a non-const pointer duh.
3590 2006-10-25 David Schleef <ds@schleef.org>
3594 Change name parameter of _gst_debug_register_funcptr to const
3595 to reflect the constness of its use in the function as well
3596 as to quiet a gcc warning.
3598 2006-10-25 Edward Hervey <edward@fluendo.com>
3600 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3601 Don't push the buffer if it's empty.
3604 2006-10-24 Wim Taymans <wim@fluendo.com>
3609 * libs/gst/base/gstbasetransform.c:
3610 (gst_base_transform_sink_eventfunc):
3611 Debug segment values *after* updating them as this is more
3614 2006-10-23 Wim Taymans <wim@fluendo.com>
3616 * docs/design/part-events.txt:
3619 * docs/design/part-block.txt:
3620 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3621 (gst_pad_push_event):
3622 Revert BLOCKING patch, it tries to be smart without really having a
3623 clear idea what or how. So, now we discard all FLUSHING events again on
3624 a blocking pad. Should fix gnonlin again.
3626 2006-10-23 Wim Taymans <wim@fluendo.com>
3628 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3630 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3631 (gst_base_src_start), (gst_base_src_activate_push):
3632 Make sure size is always initialized. Fixes #364388.
3634 2006-10-20 Stefan Kost <ensonic@users.sf.net>
3636 * docs/random/ensonic/distributed.txt:
3637 add some ideas about doing distributed processing
3639 * docs/random/ensonic/profiling.txt:
3640 get_rusage look promising
3642 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3644 * docs/manual/basics-helloworld.xml:
3645 Add a cast in example to fix compile warning
3647 2006-10-18 Wim Taymans <wim@fluendo.com>
3649 * gst/gstsegment.c: (gst_segment_set_last_stop),
3650 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3651 Relax arg checking again, -1 is allowed.
3653 2006-10-18 Wim Taymans <wim@fluendo.com>
3655 * gst/gstsegment.c: (gst_segment_set_last_stop),
3656 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3657 _set_last_stop() must be with a value != -1
3658 A _TYPE_SET to -1 means seek to 0.
3659 Calc last_stop correctly for negative rates.
3660 Make sure we work with positive durations when updating a segment.
3662 2006-10-18 Wim Taymans <wim@fluendo.com>
3664 * docs/design/part-live-source.txt:
3668 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
3671 Add an explicit cast to GstBuffer** to keep old code that added an
3672 explicit cast to GstMiniObject** for gst_mini_object_replace()
3673 compiling without warning.
3675 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3677 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
3678 check for validity of dates
3680 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3682 * docs/gst/gstreamer-sections.txt:
3683 Forgot this one, makes gtk-doc shut up.
3685 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3687 Patch by: Peter Kjellerstedt <pkj at axis com>
3690 Don't define xmlNodePtr to gpointer if the core was built with
3691 --disable-loadsave and --disable-registry, this will break
3692 applications that want to use libxml2 but are buildling against a
3693 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
3694 instead so we don't have to mess with the libxml2 namespace
3697 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3700 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
3701 type-punned pointer warnings.
3703 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
3706 Add casts to the correct return type to state <=> state transition
3709 2006-10-16 Stefan Kost <ensonic@users.sf.net>
3711 * docs/design/part-live-source.txt:
3712 describe howto handle latency
3714 * docs/random/ensonic/profiling.txt:
3717 * tools/gst-plot-timeline.py:
3718 fix log parsing for solaris, remove unused function
3720 2006-10-16 Wim Taymans <wim@fluendo.com>
3722 * docs/design/part-trickmodes.txt:
3724 Update some docs regarding reverse playback.
3726 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
3728 Patch by: Marcus Granado <mrc dot gran at gmail com>
3730 * win32/vs8/grammar.vcproj:
3731 Error out with a warning if glib-genmarshal.exe is not in path,
3732 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
3734 2006-10-13 Wim Taymans <wim@fluendo.com>
3736 * gst/gstsegment.c: (gst_segment_set_seek):
3737 When seeking to stop -1, set last_stop (current position) to the
3738 duration of the segment.
3740 2006-10-13 Wim Taymans <wim@fluendo.com>
3743 Clarify _NO_PREROLL a bit more.
3748 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3749 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3750 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3751 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3752 due to wrong locking order. Fixes #361769.
3753 Remove some redundant/misplaced checks in pad_block.
3755 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3756 For negative rates, count backwards from the duration.
3758 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
3760 * gst/gsterror.c: (_gst_library_errors_init):
3761 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3762 up with something better).
3764 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3766 * win32/vs6/libgstreamer.dsp:
3767 * win32/vs7/libgstreamer.vcproj:
3768 * win32/vs8/libgstreamer.vcproj:
3769 Don't reference glib-compat.c which is currently not used and not
3770 disted; add gstquark.c which was recently added. Fixes #361730.
3772 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3774 * win32/common/libgstbase.def:
3775 * win32/common/libgstcontroller.def:
3776 * win32/common/libgstreamer.def:
3777 Add gst_caps_merge() and a bunch of other recently-added functions.
3780 2006-10-11 Wim Taymans <wim@fluendo.com>
3782 * docs/plugins/gstreamer-plugins.args:
3783 * docs/plugins/inspect/plugin-coreelements.xml:
3784 * docs/plugins/inspect/plugin-coreindexers.xml:
3785 Update element args.
3787 * gst/gstsystemclock.c:
3788 Small comment update.
3790 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3791 (gst_tee_request_new_pad), (gst_tee_release_pad),
3792 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3793 (gst_tee_sink_activate_pull):
3794 * plugins/elements/gsttee.h:
3796 Add default property defines.
3797 Implement release pad function.
3798 Give properties better blubs etc.
3799 Activate pads before adding them to a running tee.
3800 Do simple buffer_alloc on the first requested pad.
3801 Post error when activation fails.
3803 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3805 * gst/gst.c: (ensure_current_registry_forking):
3806 Check return value of write() to make compiler happy.
3808 2006-10-11 Wim Taymans <wim@fluendo.com>
3810 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3812 * plugins/elements/gstqueue.c: (gst_queue_chain):
3813 Recheck queue filledness after signalling the overrun when we're about
3814 to leak downstream because we released the lock when emitting the signal
3815 and the queue could be empty again. Fixes #352345.
3817 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3819 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3820 Fix refcounting here too, just like we did for _new_valist() a few
3821 days ago (#357180) (thanks to René Stadler). Also remove all those
3822 'Since: 0.9' from the gtk-doc blobs.
3824 * tests/check/libs/controller.c: (controller_refcount_new_list),
3825 (gst_controller_suite):
3826 Unit test for the above.
3828 2006-10-10 Wim Taymans <wim@fluendo.com>
3830 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3832 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3833 (gst_pad_save_thyself):
3835 Write pad direction in XML output. Fixes #345496.
3837 2006-10-10 Wim Taymans <wim@fluendo.com>
3839 Patch by: René Stadler <mail at renestadler dot de>
3841 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3842 (gst_controller_new_list), (_gst_controller_dispose),
3843 (_gst_controller_finalize), (_gst_controller_class_init):
3844 Take ref to controlled object so that it cannot disappear.
3847 2006-10-10 Wim Taymans <wim@fluendo.com>
3849 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3850 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3851 (gst_check_teardown_sink_pad):
3852 Activate/deactivate pads in setup/teardown respectively.
3854 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3856 Patch by: Josep Torre Valles <josep@fluendo.com>
3859 Cast values when making gstenumtypes.h. This pacifies Forte
3860 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3863 2006-10-09 Wim Taymans <wim@fluendo.com>
3865 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3866 Rename some more @cur to @start to fix docs.
3868 * gst/gstsegment.c: (gst_segment_set_seek):
3870 time and start must always stay in sync as defined in design doc.
3872 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3873 Rename param to fix docs.
3875 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3876 Check that start and time are in sync.
3878 * tests/check/pipelines/parse-launch.c:
3879 (gst_parse_test_element_change_state):
3880 Activate pad before adding to the element.
3882 2006-10-09 Wim Taymans <wim@fluendo.com>
3884 * docs/design/part-qos.txt:
3889 Update seek event docs regarding negative rates.
3890 Rename @cur to @start.
3892 * gst/gstsegment.c: (gst_segment_set_seek):
3894 Update set_seek docs regarding negative rates.
3895 Correctly update last_stop to @stop when dealing with negative
3897 Rename @cur to @start.
3899 * tests/check/gst/gstpad.c: (GST_START_TEST):
3900 Activate pads before trying to use them.
3902 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3903 (gst_segment_suite):
3904 Add simple check for segments and negative rates.
3906 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
3908 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3910 * docs/gst/gstreamer-sections.txt:
3911 API: add gst_tag_list_is_empty() (#360467).
3913 * tests/check/gst/gsttag.c: (GST_START_TEST):
3916 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3919 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3920 a value that doesn't fit on enumeration.
3922 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3924 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3925 Remove local debugging system and use Gstreamer's instead.
3927 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3929 Patch by: Josep Torre Valles <josep@fluendo.com>
3931 * common/m4/gst-error.m4:
3932 Disable warning of statement not reached on Forte.
3934 Fix warning on Forte (value doesn't fit on enumeration).
3935 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3936 Fix warning on Forte (value doesn't fit on enumeration).
3937 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3938 DEBUG macro says it takes minimum of 2 args and so Forte
3939 complains about the use with just 1 arg.
3940 * plugins/elements/gstfdsink.c:
3941 * plugins/elements/gstfdsrc.c:
3942 * plugins/elements/gstfilesink.c:
3943 * plugins/elements/gstfilesrc.c:
3944 Use correct return type for the uri handler implementations.
3946 All these fix warnings in Forte. Fixes bug #360860.
3948 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
3951 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3952 format string, so don't use G_GNUC_PRINTF for those versions.
3954 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3956 * gst/gsttaglist.c: (gst_is_tag_list):
3958 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3960 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3961 Small test for the above.
3963 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3966 Less tabs, more spaces.
3968 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
3971 Those two function declarations do actually belong there, revert
3972 commit from yesterday that turned them intro macros.
3974 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3976 Patch by: Josep Torre Valles <josep@fluendo.com>
3978 * gst/gst.c: (gst_init_get_option_group):
3979 Fix empty declaration and type mismatch.
3980 * gst/gstbin.c: (gst_bin_change_state_func):
3982 * gst/gstelement.c: (gst_element_continue_state),
3983 (gst_element_set_state_func), (gst_element_change_state),
3984 (gst_element_change_state_func):
3985 Fix type mismatches.
3986 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3987 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3988 Cast as appropriate.
3989 * gst/gstobject.c: (gst_class_signal_connect):
3990 Cast as appropriate. The function pointer parameter really
3991 has the wrong type but would break API if we change it.
3993 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3994 order of including string.h.
3995 * gst/gstutils.c: (gst_element_state_get_name):
3996 Remove unreachable line.
3997 * gst/gstxml.c: (gst_xml_parse_doc):
3999 All these caught by Forte.
4001 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4003 Patch by: Josep Torre Valles <josep@fluendo.com>
4005 * common/m4/gst-error.m4:
4007 We need to disable warnings on Forte for empty declarations
4008 due to gst-indent adding ;s to lines that just use macros
4009 where the macro actually doesn't need a ; at end to end
4012 2006-10-06 Wim Taymans <wim@fluendo.com>
4014 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4015 (gst_file_sink_close_file), (gst_file_sink_event),
4016 (gst_file_sink_render):
4017 Add some FIXME for the NEWSEGMENT handling.
4019 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4021 * gst/parse/grammar.y:
4022 Remove static function gst_parse_element_lock as all it does
4023 is return. Looks like cruft from 0.8.
4025 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4027 Patch by: Josep Torre Valles <josep@fluendo.com>
4029 * common/m4/gst-error.m4:
4031 * libs/gst/net/Makefile.am:
4032 Fix a compilation issue with Forte on Solaris. inet_aton is in
4035 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4037 * gst/gstpad.c: (pre_activate):
4038 * gst/gstregistry.c: (gst_registry_scan_path_level):
4039 * gst/gstregistryxml.c: (load_plugin):
4040 * libs/gst/controller/gstcontroller.c:
4041 (gst_controlled_property_set_interpolation_mode):
4042 * libs/gst/dataprotocol/dataprotocol.c:
4043 (gst_dp_packet_from_event_1_0):
4044 * libs/gst/net/gstnetclientclock.c:
4045 (gst_net_client_clock_observe_times):
4046 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4049 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4052 * docs/gst/gstreamer-sections.txt:
4053 * gst/gstconfig.h.in:
4056 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4057 whether we can use G_GNUC_PRINTF in other header files and at
4058 least check the printf format/arguments of debug messages and
4059 GST_ELEMENT_ERROR messages when the printf extension is not
4061 Replace more tabs with spaces in gstinfo.h and remove two spurious
4062 function declarations in GST_DISABLE_DEBUG part with macros.
4064 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4066 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4067 More docs for the sync-message signal (mention that it is not
4068 emitted by default); log message structures of messages posted on
4071 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4073 * gst/gst.c: (ensure_current_registry_forking):
4074 Use a pipe pair to receive status results from the forked child, and
4075 ignore the result from waitpid. Fixes #355499
4077 2006-10-02 Wim Taymans <wim@fluendo.com>
4079 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4080 (gst_ghost_pad_suite):
4083 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4086 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4088 2006-10-02 Edward Hervey <edward@fluendo.com>
4090 * docs/design/part-block.txt:
4091 Further explain the use of flushing on blocked pads.
4092 * docs/gst/gstreamer-sections.txt:
4093 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4094 (gst_pad_push_event):
4096 Added new GstPadFlag : GST_PAD_BLOCKING.
4097 Adds the notion of pads really blocking, which enables to properly
4098 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4100 API: gst_pad_is_blocking()
4101 API: GST_PAD_IS_BLOCKING() macro
4102 API: GST_PAD_BLOCKING GstPadFlag
4104 2006-10-02 Wim Taymans <wim@fluendo.com>
4106 Patch by: mrcgran <mrc.gran at gmail dot com>
4108 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4109 Filter the proxied caps against the padtemplate if we have one.
4111 * gst/gstquery.c: (gst_query_new_segment):
4112 Add include for gstinfo.h so that compilation with
4113 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4115 2006-10-02 Wim Taymans <wim@fluendo.com>
4117 Patch by: Alessandro Decina <alessandro at nnva org>
4119 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4120 (gst_file_sink_set_location), (gst_file_sink_open_file),
4121 (gst_file_sink_close_file), (gst_file_sink_event),
4122 (gst_file_sink_render):
4123 Set file to NULL when closing filesink so that we can set a new filename
4124 in READY. Fixes #358613.
4126 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4128 Patch by: Alessandro Decina <alessandro at nnva org>
4130 * gst/gstevent.c: (_gst_event_copy):
4131 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4132 with event structures by setting the parent refcount address of the
4133 copied structure to the address of the refcount member of the newly
4134 copied event rather than the address of the refcount member of the
4135 original event. Fixes #358737.
4137 * tests/check/gst/gstevent.c: (GST_START_TEST):
4138 Unit test for the above.
4140 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4142 * docs/design/Makefile.am:
4143 Dist some more files.
4145 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4147 * tests/check/libs/controller.c: (GST_START_TEST),
4148 (gst_controller_suite):
4149 Add test for the previous fix; add some more tests
4150 for correct refcounting behaviour; fix a few leaks
4151 in test cases; call gst_controller_init() at start
4154 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4156 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4157 (gst_controller_set_from_list):
4158 Don't g_return_val_if_fail() on timed values with invalid timestamps
4159 inside a critical section without unlocking the mutex. Spotted by
4160 René Stadler. (#357617)
4161 Also, fix up refcounting properly: when returning an existing
4162 controller, we should increase the reference only once and not
4163 once per property and when trying to control a property again
4164 we should also increase the refcount.
4166 2006-09-29 Wim Taymans <wim@fluendo.com>
4168 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4169 * libs/gst/net/gstnettimeprovider.c:
4170 (gst_net_time_provider_thread):
4171 Stop reading commands when EOF as well.
4173 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4174 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4175 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4176 Unify description of the dump property.
4178 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4180 * tests/examples/manual/.cvsignore:
4181 OK, so it's actually cvsignore that needs changing. Stop laughing.
4183 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4185 * tests/examples/manual/Makefile.am:
4186 Gah, declare vars *before* using them
4188 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4190 * gst/gst.c: (init_pre), (scan_and_update_registry),
4191 (ensure_current_registry_nonforking),
4192 (ensure_current_registry_forking), (ensure_current_registry),
4193 (init_post), (gst_debug_help), (gst_deinit):
4194 * gst/gst_private.h:
4195 * gst/gstregistry.c: (gst_registry_finalize),
4196 (gst_registry_remove_features_for_plugin_unlocked),
4197 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4198 (gst_registry_scan_path),
4199 (_priv_gst_registry_remove_cache_plugins),
4200 (_priv_gst_registry_cleanup):
4201 * gst/gstregistry.h:
4202 Re-commit the registry changes, along with an extra fix:
4203 When a cached plugin is encountered at a different file path,
4204 update the stored path in the registry cache so that the parent
4205 process knows where it actually is now when it re-reads the registry
4206 cache. Fixes the thing that broke distcheck with the previous commit.
4208 * tests/check/Makefile.am:
4209 Clean up files named 'core' too when running make clean.
4211 * tests/examples/manual/Makefile.am:
4212 Set up a registry path for running these tests, and clean it properly
4215 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4218 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4219 want gmodule-no-export-2.0.pc instead so that we don't drag in
4220 --export-dynamic on every project that links to GStreamer.
4222 Also, make our export regex only match the start of symbols, rather
4223 than any symbol that contains '_gst' somewhere.
4225 * libs/gst/check/Makefile.am:
4226 The libgstcheck we build does however need export-dynamic, as it
4227 produces some symbols that don't match our _gst... style regex.
4230 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4232 * gst/gst.c: (init_pre), (scan_and_update_registry),
4233 (ensure_current_registry_nonforking),
4234 (ensure_current_registry_forking), (ensure_current_registry),
4235 (init_post), (gst_debug_help), (gst_deinit):
4236 * gst/gst_private.h:
4237 * gst/gstregistry.c: (gst_registry_finalize),
4238 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4239 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4240 (_gst_registry_cleanup):
4241 * gst/gstregistry.h:
4242 Revert previous change until I figure out why it breaks distcheck.
4244 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4246 * gst/gst.c: (init_pre), (scan_and_update_registry),
4247 (ensure_current_registry_nonforking),
4248 (ensure_current_registry_forking), (ensure_current_registry),
4249 (init_post), (gst_debug_help), (gst_deinit):
4251 Make init_pre and init_post take the full complement of GOptionFunc
4252 args so they can return useful GErrors. Make the registry updating
4255 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4256 ensure that the registry we're about to write out doesn't contain
4257 stale information about old-deleted plugin files.
4259 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4260 that deletion of plugin files is considered a registry change.
4262 * gst/gst_private.h:
4263 * gst/gstregistry.c: (gst_registry_finalize),
4264 (gst_registry_remove_features_for_plugin_unlocked),
4265 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4266 (gst_registry_scan_path),
4267 (_priv_gst_registry_remove_cache_plugins),
4268 (_priv_gst_registry_cleanup):
4269 * gst/gstregistry.h:
4270 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4271 by adding _priv prefix, so that they won't appear in the global
4272 symbol table. They still do atm though because of #318031. Move the
4273 prototypes to gst_private.h
4275 When removing a plugin, remove all features for that plugin too.
4278 2006-09-27 Wim Taymans <wim@fluendo.com>
4280 * docs/random/moving-plugins:
4281 Make it clear that the "compiled-in descriptions" really mean
4282 the element details.
4284 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4285 (gst_base_sink_wait_preroll):
4288 * docs/libs/gstreamer-libs-sections.txt:
4289 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4290 (gst_base_src_get_range), (gst_base_src_activate_push):
4291 * libs/gst/base/gstbasesrc.h:
4292 Added function to block while waiting for PLAYING, this function
4293 is used by live sources that block on the clock.
4294 API: gst_base_src_wait_playing()
4296 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4298 Patch by: Peter Kjellerstedt <pkj at axis com>
4301 gst-element-check.m4 is generated and should therefore be
4302 copied from the build dir rather than the source dir (#357593).
4303 'make distcheck' hasn't noticed this because we were disting
4304 the file as well, so stop doing that.
4306 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4308 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4309 Add some tests for gst_caps_intersect().
4311 * tools/gst-launch.c: (event_loop):
4312 Print all buffering percentages we get, even the 100% one.
4314 2006-09-26 Wim Taymans <wim@fluendo.com>
4316 * tools/gst-inspect.c: (print_element_properties_info),
4317 (print_signal_info):
4318 Fix printing of flags to match the look of enums.
4320 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4322 * gst/gstelementfactory.c:
4323 Fix typo in docs blurb.
4325 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4327 * gst/gsturi.c: (search_by_entry):
4328 Don't assert/crash here if a uri handler doesn't return any
4329 supported protocols. The list of protocols could be generated
4330 dynamically at runtime or at plugin registration, and an error
4331 in the underlying library shouldn't be fatal (#353301).
4333 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4336 Fix warning if HAVE_PRINTF_EXTENSION is undefined
4337 (spotted by Peter Kjellerstedt).
4339 2006-09-23 Wim Taymans <wim@fluendo.com>
4341 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4343 * libs/gst/base/gstbasesrc.c:
4344 (gst_base_src_default_check_get_range), (gst_base_src_start),
4345 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4346 (gst_base_src_change_state):
4347 Match _start/_stop calls in the activate functions. Remove redundant
4348 _stop call from the state change function. Fixes #356910.
4349 Turn failure DEBUG into ERROR.
4351 2006-09-22 Wim Taymans <wim@fluendo.com>
4353 * docs/design/part-buffering.txt:
4354 * gst/gstmessage.c: (gst_message_new_buffering),
4355 (gst_message_parse_buffering):
4356 Update docs about buffering.
4358 * docs/design/part-trickmodes.txt:
4361 2006-09-22 Stefan Kost <ensonic@users.sf.net>
4363 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4364 (gst_controller_new_list):
4365 Ref instances when returning them again (fixes #357180)
4367 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
4369 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4370 Don't forget to release proxy lock when there's an error.
4372 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
4375 Add extra initialisers for Caps things, to fix some plugin warnings
4378 2006-09-18 Wim Taymans <wim@fluendo.com>
4380 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4381 Also set template on the internal pad so that a getcaps from the
4382 target pad returns the template caps.
4384 2006-09-18 Wim Taymans <wim@fluendo.com>
4386 * gst/gstelement.c: (gst_element_post_message),
4387 (gst_element_dispose):
4388 Use _DEBUG_OBJECT some more.
4390 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4393 * tools/gst-launch.c: (main):
4394 If the toplevel element is not a GstPipeline, it must be put in a
4395 pipeline so that a bus and clock is selected.
4397 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4399 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4400 JITTER, RATE, and LATENCY query should be handled by the
4401 default case and not by the CONVERT query code.
4403 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4405 * gst/gstformat.c: (gst_format_register):
4406 Fix locking order (must take lock before using n_values).
4408 * gst/gstvalue.c: (gst_value_serialize_enum),
4409 (gst_value_deserialize_enum_iter_cmp),
4410 (gst_value_deserialize_enum):
4411 Fix serialisation/deserialisation of custom registered GstFormats.
4413 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4414 Unit test for custom format serialisation/deserialisation.
4416 2006-09-17 Stefan Kost <ensonic@users.sf.net>
4418 * docs/pwg/building-boiler.xml:
4419 * plugins/elements/gstcapsfilter.c:
4420 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
4423 2006-09-16 Edward Hervey <edward@fluendo.com>
4425 * libs/gst/base/gstbasetransform.c:
4426 (gst_base_transform_buffer_alloc):
4427 Check if requested caps are the same as the sinks caps IF
4428 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
4430 This fixes the renegotiation issues stated in #352827.
4432 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4435 * docs/manual/advanced-autoplugging.xml:
4436 * tests/examples/Makefile.am:
4437 * tests/examples/manual/.cvsignore:
4438 * tests/examples/manual/Makefile.am:
4439 * tests/examples/manual/extract.pl:
4440 Extract the manual examples again like we used to do.
4443 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4445 * win32/common/config.h:
4448 2006-09-16 Stefan Kost <ensonic@users.sf.net>
4451 Documents how to receive errors.
4453 2006-09-15 Wim Taymans <wim@fluendo.com>
4455 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
4456 (event_loop), (main):
4457 Added some comments here and there.
4458 Post an application message when an interrupt is caught instead of doing
4459 an uncontrolled state change.
4460 Clean up the event loop.
4461 Handle buffering messages, pause/resume the pipeline.
4462 Make shutdown because of an interrupt more reliable.
4464 2006-09-15 Wim Taymans <wim@fluendo.com>
4466 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4467 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
4468 (gst_base_sink_preroll_object):
4469 Make sure that our internal state is correct when we commit our state
4470 asynchronously. This solves a race where a state change to PLAYING
4471 could cause the sink to remain blocked in preroll in some situations.
4473 2006-09-15 Wim Taymans <wim@fluendo.com>
4475 * tools/gst-inspect.c: (print_element_properties_info),
4476 (print_signal_info):
4477 List flags as hex so it's easier to deal with.
4479 2006-09-15 Wim Taymans <wim@fluendo.com>
4481 * docs/libs/gstreamer-libs-sections.txt:
4482 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
4483 (gst_base_sink_do_sync):
4484 * libs/gst/base/gstbasesink.h:
4485 Expose logic to wait for preroll so that subclasses such as audiosink
4486 can also use this method.
4487 API: gst_base_sink_wait_preroll()
4489 2006-09-15 Wim Taymans <wim@fluendo.com>
4491 * gst/gstobject.c: (gst_object_set_parent):
4492 * gst/gstpipeline.c: (do_pipeline_seek):
4493 Small cleanups in docs and code.
4495 * gst/gstsegment.c: (gst_segment_clip):
4496 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4497 if stop == start and start is in the segment, no clipping should be
4498 done. Also add a test for this.
4500 2006-09-15 Wim Taymans <wim@fluendo.com>
4502 * docs/design/part-buffering.txt:
4503 * docs/gst/gstreamer-sections.txt:
4504 * gst/gstmessage.c: (gst_message_new_buffering),
4505 (gst_message_parse_buffering):
4507 Added methods to create and parse BUFFERING messages.
4508 Added preliminary docs about buffering.
4509 API: gst_message_new_buffering
4510 API: gst_message_parse_buffering
4512 2006-09-06 Wim Taymans <wim@fluendo.com>
4515 Update documentation.
4517 * gst/gstelement.c: (gst_element_class_init),
4518 (gst_element_release_request_pad), (gst_element_set_clock),
4519 (gst_element_get_index), (gst_element_add_pad),
4520 (gst_element_remove_pad), (gst_element_get_random_pad),
4521 (gst_element_send_event), (gst_element_get_query_types),
4522 (gst_element_query), (gst_element_post_message),
4523 (gst_element_message_full), (gst_element_continue_state),
4524 (gst_element_lost_state), (gst_element_save_thyself),
4525 (gst_element_restore_thyself):
4526 Documentation updates.
4527 Rename last bit of the new-pad -> pad-added signal rename.
4528 Fix the case where an element query would only work if the source
4530 Avoid some useless type checking in message handling.
4535 Documentation updates.
4537 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4539 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4540 add an INFO line for when we actually update the fd
4542 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4547 === release 0.10.10 ===
4549 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4552 releasing 0.10.10, "Pais"
4554 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
4556 * docs/manual/advanced-position.xml:
4557 Fix typo in sample code.
4559 2006-09-05 Wim Taymans <wim@fluendo.com>
4561 * libs/gst/net/gstnetclientclock.c: (inet_aton),
4562 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
4563 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
4564 * libs/gst/net/gstnetclientclock.h:
4565 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4566 * libs/gst/net/gstnettimepacket.h:
4567 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
4568 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
4569 (gst_net_time_provider_thread), (gst_net_time_provider_new):
4570 * libs/gst/net/gstnettimeprovider.h:
4571 Make stuff compile on windows. Fixes #345295.
4573 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4575 * gst/gst.c: (ensure_current_registry_forking):
4576 Print better details when child was terminated by signal.
4578 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4580 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
4581 Print a warning rather than g_assert() if a plugin feature
4582 is a URI handler but returns no protocols (#353976).
4584 2006-09-02 Stefan Kost <ensonic@users.sf.net>
4586 * docs/random/moving-plugins:
4589 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
4591 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
4592 Fix locking order, handle NULL function values properly.
4597 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
4598 Initialise variable before using it and fix debug statement to
4599 print the address of the function rather than the address of the
4600 variable on the stack holding the address of the function.
4602 2006-09-01 Wim Taymans <wim@fluendo.com>
4604 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
4605 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
4606 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4607 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
4608 (gst_ghost_pad_parent_unset),
4609 (gst_ghost_pad_internal_do_activate_push),
4610 (gst_ghost_pad_internal_do_activate_pull),
4611 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4612 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4613 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
4614 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
4615 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
4616 (gst_ghost_pad_new_no_target_from_template),
4617 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4619 Avoid needless typechecking in macros.
4620 Since the internal pad is always present and never changes, there is
4621 no need to locking or ref when retrieving it.
4622 Improve debugging a bit.
4623 Handle link errors when setting the target. Fixes #341029.
4625 2006-09-01 Wim Taymans <wim@fluendo.com>
4627 * docs/libs/gstreamer-libs-sections.txt:
4628 * docs/plugins/gstreamer-plugins-sections.txt:
4631 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4632 (gst_collect_pads_event):
4633 * libs/gst/base/gstcollectpads.h:
4634 Documentation updates.
4635 Free queued buffer when removing a pad.
4637 2006-08-31 Michael Smith <msmith@fluendo.com>
4639 * gst/gstutils.c: (gst_element_link_pads),
4640 (gst_element_link_pads_filtered):
4641 Ensure that we set a capsfilter to NULL if we failed to link it
4642 when doing filtered linking, to avoid criticals.
4644 No need to check for unreffing srcpad, which is explicly NULLed
4645 above (a trivial code cleanup).
4647 2006-08-31 Wim Taymans <wim@fluendo.com>
4649 * docs/design/part-gstghostpad.txt:
4650 Update ascii art in documentation.
4652 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
4653 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
4654 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4655 (gst_ghost_pad_internal_do_activate_push),
4656 (gst_ghost_pad_internal_do_activate_pull),
4657 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4658 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4659 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
4660 (gst_ghost_pad_set_target):
4661 Small cleanups and leak fixes.
4662 Remove some checks now that the internal pad is never NULL.
4663 Fix the case where linking pads without a target would create nasty
4664 criticals. Fixes #341029.
4665 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
4666 value of _set_target().
4668 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4669 (gst_ghost_pad_suite):
4670 Some more tests for creating and linking untargeted ghostpads.
4672 2006-08-31 Edward Hervey <edward@fluendo.com>
4674 * docs/gst/gstreamer-sections.txt:
4675 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
4676 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4677 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
4678 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
4679 (gst_ghost_pad_new_from_template),
4680 (gst_ghost_pad_new_no_target_from_template):
4681 * gst/gstghostpad.h:
4682 Refactored *_new() functions.
4683 Templates are now used as a g_object_new() parameter.
4684 Use template in _do_getcaps() if we don't have a target.
4685 Small documentation cleanups.
4686 Added two new constructors:
4687 gst_ghost_pad_new_from_template()
4688 gst_ghost_pad_new_no_target_from_template()
4689 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4690 (gst_ghost_pad_suite):
4691 Added tests for new ghostpad instanciation functions.
4693 API additions: gst_ghost_pad_new_from_template,
4694 gst_ghost_pad_new_no_target_from_template
4696 2006-08-30 Stefan Kost <ensonic@users.sf.net>
4698 * docs/random/ensonic/profiling.txt:
4699 Ideas about qos profiling.
4701 2006-08-29 Wim Taymans <wim@fluendo.com>
4703 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
4707 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
4710 Improve and detypofy docs.
4712 * tests/check/Makefile.am:
4713 * tests/check/gst/.cvsignore:
4714 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
4715 Add a basic test suite for GstXML.
4717 2006-08-29 Wim Taymans <wim@fluendo.com>
4719 * gst/gstelement.c: (activate_pads), (clear_caps),
4720 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4721 Clear the pad caps when the element shut down all of the pads and
4722 is not streaming data that could modify the caps.
4725 2006-08-28 Michael Smith <msmith@fluendo.com>
4727 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4728 Revert previous change; I misunderstood single-segment mode.
4730 2006-08-28 Michael Smith <msmith@fluendo.com>
4732 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4733 Unset DISCONT on buffers when using single-segment mode.
4735 2006-08-28 Wim Taymans <wim@fluendo.com>
4737 * gst/gstcaps.c: (gst_caps_merge_structure):
4739 Fix docs and indentation again.
4741 * tests/check/gst/gstquery.c: (GST_START_TEST):
4742 Fix leak in tests and add some more tests.
4744 2006-08-28 Edward Hervey <edward@fluendo.com>
4746 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4747 Inform GstSegment of the last stop position in order for the current
4748 segment to have a proper duration if it doesn't have a specific stop
4749 position from which a duration could be calculated.
4750 This bug was noticeable when a non-flushing, non-update new segment was
4751 followed by another segment (all buffers from the new segment were being
4754 2006-08-28 Wim Taymans <wim@fluendo.com>
4756 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4757 Small comment update.
4759 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4760 (gst_identity_transform_ip):
4761 Drop-probability is broken, mention this in the code with a
4762 FIXME and also in the property description.
4763 Make silent also be silent about the drop messages.
4765 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
4767 * docs/manual/appendix-win32.xml:
4768 Remove mention of popt, we don't depend on that any
4769 longer (#353136). Add some comments pointing out that
4770 this section is slightly outdated.
4772 2006-08-28 Wim Taymans <wim@fluendo.com>
4774 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4776 * gst/gstquery.c: (gst_query_new_segment):
4777 * tests/check/gst/gstquery.c: (GST_START_TEST):
4778 Initialize variables when creating a new segment query.
4781 2006-08-28 Wim Taymans <wim@fluendo.com>
4783 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4785 * gst/gstelement.c: (gst_element_get_bus):
4786 * tests/check/gst/gstelement.c: (GST_START_TEST):
4787 Check for NULL before _reffing the bus. Fixes #353122.
4789 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
4791 * docs/manual/basics-bus.xml:
4792 Docs update: fix wrong callback return value explanation; add
4793 some lines about the implicit relationship between main loop
4794 and main context; remove duplicate main loop variable declaration.
4796 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
4798 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4799 Don't leak caps in unit test; add a few more simple
4802 2006-08-24 Stefan Kost <ensonic@users.sf.net>
4804 * docs/gst/gstreamer-sections.txt:
4805 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4806 (gst_caps_structure_is_subset), (gst_caps_merge),
4807 (gst_caps_merge_structure):
4809 * libs/gst/base/gstbasetransform.c:
4810 (gst_base_transform_transform_caps):
4811 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4812 implement caps merging (fixes #352580)
4814 2006-08-23 Stefan Kost <ensonic@users.sf.net>
4816 * tools/Makefile.am:
4817 * tools/gst-plot-timeline.py:
4818 add debug-log plotting developer tool (#340674)
4820 2006-08-23 Wim Taymans <wim@fluendo.com>
4822 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4823 (gst_pad_stop_task):
4824 Improve debugging for task functions.
4826 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4827 (gst_task_start), (gst_task_pause), (gst_task_join):
4828 Make sure that the task function started and finished after a
4830 Don't try to push the task function on the threadpool multiple
4832 Improve the g_warning message with some useful suggestions
4833 about how to fix the problem.
4835 2006-08-23 Wim Taymans <wim@fluendo.com>
4837 * gst/gstutils.c: (gst_pad_proxy_getcaps):
4838 Handle RESYNC correctly in _proxy_getcaps.
4840 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
4842 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4843 (gst_xml_parse_memory), (gst_xml_get_element):
4844 Chain up to parent class in dispose function and also
4845 unref the elements in the toplevel_elements GList.
4846 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4847 Always return a reference in gst_xml_get_element() rather
4848 than only sometimes.
4850 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4851 Don't leak GstXml object.
4853 2006-08-21 Stefan Kost <ensonic@users.sf.net>
4855 * docs/gst/gstreamer-sections.txt:
4856 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4859 * libs/gst/base/gstbasetransform.c:
4860 (gst_base_transform_transform_caps):
4861 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4864 2006-08-21 Edward Hervey <edward@fluendo.com>
4866 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4867 Implement GObject::dispose virtual method in GstXML so we can free the
4870 2006-08-21 Wim Taymans <wim@fluendo.com>
4872 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4873 (gst_buffer_create_sub):
4874 Copy duration/offset_end/caps when creating a subbuffer of the
4876 Make the subbuffer read-only when we make the metadata writable for
4879 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4880 Added check for metadata copy when creating subbuffers.
4882 2006-08-21 Edward Hervey <edward@fluendo.com>
4884 * libs/gst/base/gstbasetransform.c:
4885 (gst_base_transform_buffer_alloc):
4886 Only call downstream buffer_alloc if transform element is passthrough
4887 or always_in_place. Closes #350449.
4889 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4892 ChangeLog surgery to add comments to previous changes
4894 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4899 * gst/gstpad.c: (gst_pad_set_active):
4900 Be more verbose in the log
4902 * libs/gst/base/gstbasetransform.c:
4903 (gst_base_transform_transform_caps):
4904 Simplify caps to get rid of duplicates, fixes #345444
4906 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4910 Use these optimizations only internally.
4912 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4914 * gst/gstvalue.c: (gst_value_compare_list),
4915 (gst_value_compare_fraction_range),
4916 (gst_value_intersect_fraction_fraction_range),
4917 (gst_value_intersect_fraction_range_fraction_range),
4918 (gst_value_subtract_fraction_fraction_range),
4919 (gst_value_subtract_fraction_range_fraction_range),
4920 (gst_value_get_compare_func), (gst_value_compare),
4921 (gst_value_compare_with_func):
4923 Saves the expensive lookup of the compare function in many cases
4926 2006-08-18 Edward Hervey <edward@fluendo.com>
4928 * tests/check/gst/gstinfo.c: (gst_info_suite):
4929 Disable test that require gstdebug if it wasn't built in core.
4931 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4933 * docs/random/ensonic/logging.txt:
4936 * gst/gstinfo.c: (gst_debug_log_default):
4937 reorder fields, save some columns, add optional color codes for log
4940 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4942 * docs/random/ensonic/logging.txt:
4943 add ideas about making the logs a bit more useful
4945 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4947 * docs/pwg/advanced-events.xml:
4948 * docs/pwg/titlepage.xml:
4949 Update for 0.10 API (#340627). Add myself
4952 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4954 * docs/libs/gstreamer-libs-docs.sgml:
4955 * docs/libs/gstreamer-libs-sections.txt:
4956 * libs/gst/check/gstbufferstraw.c:
4957 Make gstcheck stuff show up in docs (still needs to
4958 be documented properly though).
4960 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
4962 * docs/gst/gstreamer-sections.txt:
4964 * gst/gst.c: (init_post):
4965 * gst/gst_private.h:
4966 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4968 * gst/gstquery.c: (gst_query_new_position),
4969 (gst_query_set_position), (gst_query_parse_position),
4970 (gst_query_new_duration), (gst_query_set_duration),
4971 (gst_query_parse_duration), (gst_query_new_convert),
4972 (gst_query_set_convert), (gst_query_parse_convert),
4973 (gst_query_new_segment), (gst_query_set_segment),
4974 (gst_query_parse_segment), (gst_query_new_seeking),
4975 (gst_query_set_seeking), (gst_query_parse_seeking):
4976 Add internal helpers for pre-registering quarks from static strings
4977 and using the quark values directly instead of looking them up when
4978 creating and parsing queries. Can be used for event construction too.
4981 2006-08-16 Wim Taymans <wim@fluendo.com>
4986 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4988 * gst/gstutils.c: (gst_util_set_value_from_string):
4989 Fix memleak (#351502).
4991 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4992 Add unit test for most of gst_util_set_value_from_string()
4993 (not that one would want to encourage use of this function).
4995 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4997 * libs/gst/check/gstcheck.h:
4998 Use const gchar * variables in fail_unless_equals_string
4999 macro to avoid compiler warnings (and don't use tabs for
5002 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5004 * tools/gst-launch.c: (print_tag):
5005 More space on the left for the tag names, to cater
5006 for the 'extended comment' tag (not touching the
5007 string for the first line since it's translated).
5009 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5011 * libs/gst/check/gstcheck.h:
5012 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5013 print something when they fail.
5015 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5017 * docs/gst/gstreamer-sections.txt:
5018 * gst/gsttaglist.c: (_gst_tag_initialize):
5020 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5021 Also change merge function for GST_TAG_COMMENT to
5024 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5026 * gst/gstinfo.c: (gst_debug_print_object):
5027 Make GST_PTR_FORMAT print messages as well.
5029 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5030 (GST_START_TEST), (gst_info_suite):
5033 2006-08-14 Edward Hervey <edward@fluendo.com>
5035 * gst/gstelementfactory.c: (gst_element_register):
5036 If the GstElementClass doesn't have a GstElementDetails with all fields
5037 filled up correctly (longname, description AND author), then error out
5038 nicely instead of crashing.
5040 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5042 * gst/gststructure.c:
5043 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5046 Expand on the difference between arrays and lists as we use them.
5048 2006-08-14 Wim Taymans <wim@fluendo.com>
5050 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5051 If the parent state change function failed, don't assume we can safely
5052 stop the source, this will be done when the pads are deactivated.
5054 2006-08-14 Wim Taymans <wim@fluendo.com>
5057 * gst/gsttask.c: (gst_task_join):
5060 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5061 (gst_pad_stop_task):
5062 When pad (de)activation failed for some reason, restore the old
5063 activation mode and set the pad to flushing instead of assuming the
5065 If the _task_join() failed, reinstall the task on the pad so that it can
5066 be stopped later and return an error.
5068 2006-08-11 Andy Wingo <wingo@pobox.com>
5071 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5072 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5073 is only for users of API that don't want to see deprecated
5074 functions in the headers; people that want to compile out
5075 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5076 CFLAGS. Fixes the build of multifdsink, or will soon..
5078 2006-08-11 Wim Taymans <wim@fluendo.com>
5080 * docs/gst/gstreamer-sections.txt:
5081 Add GstClockClass vmethod docs.
5084 Mark #endif with comment for associated #if
5086 * gst/gstclock.c: (gst_clock_id_wait):
5088 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5089 most clock implementations.
5091 Flesh out docs about resolution methods.
5092 API: GstClockClass::wait_jitter
5094 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5095 (gst_system_clock_async_thread),
5096 (gst_system_clock_id_wait_jitter_unlocked),
5097 (gst_system_clock_id_wait_jitter):
5098 Use base class wait_jitter variant for improved performance
5099 due to less clock polling.
5101 2006-08-11 Edward Hervey <edward@fluendo.com>
5103 * gst/gst.c: (gst_init_check), (init_post):
5104 Set gst as being initialized before scanning/updating the registry,
5105 since there might be my python plugin loader that calls gst_init() and
5106 we don't want to loop back in.
5109 2006-08-11 Wim Taymans <wim@fluendo.com>
5111 * docs/design/part-qos.txt:
5112 Bring docs in line with the code. Mostly the sign of the jitter was
5113 wrong in the docs. Fixes #349943.
5116 Fix the docs for the jitter.
5118 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5119 (gst_event_parse_tag), (gst_event_new_buffer_size),
5120 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5121 (gst_event_new_seek), (gst_event_parse_seek),
5122 (gst_event_new_navigation):
5123 Make sure the GstStructure has no parent when creating custom
5125 Add some more argument checking so that we avoid 0.0 rates.
5126 Flesh out the docs for the QoS event some more.
5128 2006-08-11 Wim Taymans <wim@fluendo.com>
5130 * docs/gst/gstreamer-sections.txt:
5131 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5132 (ensure_current_registry_forking), (ensure_current_registry),
5133 (parse_one_option), (parse_goption_arg), (gst_deinit),
5134 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5137 Added API and command line option to disable registry forking in
5138 addition to the environment variable.
5139 Constify some static arrays.
5140 Added some more debug.
5142 API: gst_registry_fork_is_enabled()
5143 API: gst_registry_fork_set_enabled()
5144 API: --gst-disable-registry-fork command line option
5147 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5149 * gst/gst.c: (gst_init):
5150 Fix typo in error message.
5152 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5154 * libs/gst/controller/gstcontroller.h:
5155 fix ABI size-correction
5157 * tests/check/libs/gdp.c: (gst_dp_suite):
5158 make tests that use deprecated API conditional
5160 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5162 * docs/libs/gstreamer-libs-sections.txt:
5163 * libs/gst/controller/gstcontroller.c:
5164 (_gst_controller_get_property), (_gst_controller_set_property),
5165 (_gst_controller_init), (_gst_controller_class_init):
5166 * libs/gst/controller/gstcontroller.h:
5167 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5168 (gst_object_set_control_rate):
5169 API: add gst_object_{s,g}et_control_rate(), add private data section,
5172 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5173 * libs/gst/dataprotocol/dataprotocol.h:
5174 add deprecation guards to make gtk-doc happy and allow disabling cruft
5176 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5178 * tests/check/Makefile.am:
5179 * tests/check/gst/.cvsignore:
5180 Let's enable the new unit test as well.
5182 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5185 * docs/gst/gstreamer-sections.txt:
5186 * gst/gstconfig.h.in:
5187 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5188 (_gst_info_printf_extension_ptr),
5189 (_gst_info_printf_extension_segment):
5190 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5191 register that lets us easily dump GstSegments into debug
5194 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5195 (info_segment_format_printf_extension), (gst_info_suite):
5196 Add simple unit test that logs a bunch of different segments (not
5197 valgrinded at the moment because of leaks in
5198 gst_debug_add_log_function).
5200 2006-08-09 Edward Hervey <edward@fluendo.com>
5202 * libs/gst/base/gstbasetransform.c:
5203 (gst_base_transform_buffer_alloc):
5204 Even if we can't figure out the proper format to request downstream,
5205 call buffer_alloc() downstream with the input parameters without setting
5206 the caps on the srcpad. This will force negotiation in the chain
5210 2006-08-08 Edward Hervey <edward@fluendo.com>
5212 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5213 Unlinking from a pad without a target is now a perfectly valid case
5214 which should NOT raise an assertion.
5215 This case would happen if a linked ghostpad its target set to NULL after
5216 it was previously linked.
5218 2006-08-08 Edward Hervey <edward@fluendo.com>
5220 * tests/check/libs/gdp.c:
5221 Also comment out the test (see below).
5223 2006-08-08 Edward Hervey <edward@fluendo.com>
5225 * tests/check/libs/gdp.c: (gst_dp_suite):
5226 Use the architecture information from config.h and not gcc macros
5227 in order to properly disable a test that fails on PPC64.
5229 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5231 * gst/gstelement.c: (gst_element_remove_pad):
5232 Don't crash printing the warning if the pad has no parent.
5234 2006-08-02 Wim Taymans <wim@fluendo.com>
5236 * libs/gst/dataprotocol/dataprotocol.c:
5237 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5238 (gst_dp_crc), (gst_dp_header_payload_length),
5239 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5240 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5241 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5242 (gst_dp_event_from_packet), (gst_dp_validate_header),
5243 (gst_dp_validate_payload):
5244 Make debug category static
5245 Constify the crc table.
5246 Do some more arg checking in public functions.
5247 Fix some docs and do some small cleanups.
5249 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5250 Add some more checks to see if GDP deals with bogus input.
5252 2006-07-31 Wim Taymans <wim@fluendo.com>
5254 * gst/gstvalue.c: (gst_value_compare_list):
5255 Fix GstValueList comparison code. Fixes #347293.
5257 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5258 Check to test GstValueList comparison.
5260 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5262 * gst/gstelementfactory.c: (gst_element_factory_create):
5263 Remove unnecessary ref/unref pair
5265 * gst/parse/grammar.y:
5266 Make sure to free the parse buffer on all code paths.
5267 Move a g_free up to the error handler where it's easier to see.
5269 * tests/check/gst/gstevent.c: (test_event):
5270 Extending timeout for downstream travelling events to 10 seconds to
5271 hopefully avoid intermittent failure on the buildbots.
5273 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5274 Don't manually set the state of the src element - it will happen as a
5275 natural consequence of the pipeline changing state, and that way it
5276 will do it in the right order too.
5278 2006-07-31 Wim Taymans <wim@fluendo.com>
5280 * libs/gst/base/gstbasetransform.c:
5281 (gst_base_transform_buffer_alloc):
5282 Use OBJECT_LOCK and refcounting to get the pad caps in the
5283 buffer_alloc function because the caps could change while we are
5284 busy with them. Fixes #349105
5286 2006-07-31 Wim Taymans <wim@fluendo.com>
5288 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5289 Protect _PAD_CAPS with OBJECT_LOCK.
5291 2006-07-31 Wim Taymans <wim@fluendo.com>
5293 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5294 (gst_pad_get_property), (gst_pad_activate_pull),
5295 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5296 (gst_pad_set_activate_function),
5297 (gst_pad_set_activatepull_function),
5298 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5299 (gst_pad_set_getrange_function),
5300 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5301 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5302 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5303 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5304 (gst_pad_set_acceptcaps_function),
5305 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5306 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5307 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5308 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5309 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5310 (gst_pad_configure_sink), (gst_pad_configure_src),
5311 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5312 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5313 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5314 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5315 (gst_pad_send_event):
5316 Use _DEBUG_OBJECT when it makes sense.
5317 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5318 Small cleanups and code reflows.
5319 Avoid caps refcounting in _accept_caps.
5320 Refactor alloc_buffer so that the code performed on the peer is in a
5321 separate function. Also if the pad does not implement a buffer alloc
5322 function, we should still check if the pad is flushing before falling
5323 back to the default allocator.
5325 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5327 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5328 Make all uses of identity and fakesink have silent=true to avoid
5329 serialising every passing data structure, which is breaking tests
5330 on FC4 for some unknown reason.
5332 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5334 * gst/parse/Makefile.am:
5335 * gst/parse/grammar.y:
5336 * gst/parse/parse.l:
5337 Reverted previous patch as it required to bump the flex dependency to
5338 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5340 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5342 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5344 * gst/parse/Makefile.am:
5345 * gst/parse/grammar.y:
5346 * gst/parse/parse.l:
5347 push & pop the state of the lexer for reentrant use case
5350 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
5352 * libs/gst/base/gstbasesrc.h:
5353 Note in the docs that the ::newsegment vfunc is not actually used by
5356 2006-07-28 Wim Taymans <wim@fluendo.com>
5358 * libs/gst/base/gstcollectpads.c:
5359 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5360 (gst_collect_pads_clear), (gst_collect_pads_flush),
5361 (gst_collect_pads_event), (gst_collect_pads_chain):
5362 When flushing a pad, also clear the queued buffer so that we don't
5363 accidentally use it when we shouldn't.
5364 Fix leaks by inreffing incomming buffer.
5365 Flush out queued buffers in case of errors.
5368 2006-07-28 Wim Taymans <wim@fluendo.com>
5370 * docs/random/phonon-gst:
5371 Random notes about a Phonon backend.
5373 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5375 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5377 * tests/check/libs/gdp.c: (gst_dp_suite):
5378 Take a whack at fixing the ppc compile using a different define to
5379 disable the broken test.
5381 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5382 Remove excess g_print()
5384 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5386 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5387 Oops, meant to uncomment this line too to dampen the noise a bit.
5389 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5391 * gst/parse/grammar.y:
5392 * gst/parse/parse.l:
5393 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5394 (GST_START_TEST), (parse_suite):
5395 Fix some of the leaks exposed by extending the parse-launch testsuite,
5396 and move the 3 I can't figure out into a separate test that won't run
5397 the pipelines unless the appropriate line is uncommented.
5399 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5401 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5402 Requesting 0 bytes before the end of the file should result in
5403 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
5406 2006-07-27 Wim Taymans <wim@fluendo.com>
5408 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
5409 Fix useless assert, a uint is always positive.
5411 * gst/gststructure.c: (gst_structure_nth_field_name),
5412 (gst_structure_foreach), (gst_structure_map_in_place):
5413 Check input arguments for public functions to avoid obvious crashes.
5415 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
5416 * plugins/elements/gstfakesink.h:
5417 Do less useless typechecking.
5419 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5421 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5422 Do not use mmap() by default since there are a number of error
5423 conditions that we would like to handle in a non-fatal way that
5424 will result in a SIGBUS if we use mmap(). Examples: external
5425 devices (USB harddrive, portable music player) being unplugged
5426 while in use; file on mounted CD/DVD that can't be read because
5427 the medium is partly damaged. Fixes #348455 and #348475.
5429 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5432 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
5435 2006-07-26 Stefan Kost <ensonic@users.sf.net>
5437 * gst/gstregistry.c:
5438 Move big documentation comment into class section header, so that it
5439 appears in the API docs.
5441 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5443 * docs/gst/gstreamer-sections.txt:
5444 Oops. Commit the docs additions too for new API.
5445 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
5447 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5449 * gst/gststructure.c: (gst_structure_id_set),
5450 (gst_structure_id_set_valist):
5451 * gst/gststructure.h:
5452 Add API for setting values into structures without performing
5453 a quark lookup, if the appropriate quark is already known.
5455 API: gst_structure_id_set
5456 API: gst_structure_id_set_valist
5458 * gst/parse/grammar.y:
5459 * gst/parse/parse.l:
5460 Remove some dead code shown by the coverage information.
5461 Don't throw a critical g_warning when encountering a syntax error,
5462 just warn and let the normal error path handle it.
5464 * plugins/elements/gstelements.c:
5465 Bump the rank of filesink up to PRIMARY so that it is preferred over
5466 gnomevfssink for file:// sink uri's
5468 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5469 (GST_START_TEST), (run_delayed_test),
5470 (gst_parse_test_element_base_init),
5471 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
5472 (gst_parse_test_element_change_state),
5473 (gst_register_parse_element), (parse_suite):
5474 Beef up the tests for parse syntax to check that more error cases
5475 fail as they are supposed to. Increases the test coverage a bit.
5477 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
5479 * docs/manual/basics-elements.xml:
5480 Fix gst_element_link() example.
5483 Mention in API docs that one should usually gst_bin_add()
5484 elements to a bin or pipeline before doing the linking.
5486 2006-07-26 Wim Taymans <wim@fluendo.com>
5488 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
5489 (gst_subbuffer_get_type), (gst_buffer_create_sub):
5490 Avoid function call for known types by keeping the buffer and
5491 subbuffer GType global.
5493 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5494 Random silly optimisations in read() path.
5496 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5498 * tools/gst-launch.c: (main):
5499 If the top-level of the parse is a normal bin, it doesn't do the
5500 right logic to run as a top-level element, so place it inside a
5503 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
5505 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
5506 Remove superfluous g_object_notify() calls, GObject does
5507 that for us automatically.
5509 2006-07-25 Stefan Kost <ensonic@users.sf.net>
5512 on Win32, use dllspec to export the debug category symbols
5514 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
5516 * gst/gsttaglist.c: (_gst_tag_initialize):
5517 Allow more than one GST_TAG_IMAGE per taglist.
5519 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
5521 * gst/gstminiobject.c:
5523 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
5524 (gst_fd_src_create):
5525 log recurring events at LOG level
5526 add more debug for when the fd gets set
5528 2006-07-21 Stefan Kost <ensonic@users.sf.net>
5530 * gst/gstparse.c: (gst_parse_launch):
5531 Also remove reentrance checks if flex is MT safe (#348179)
5532 Fix my empty ChangeLog entry below
5534 2006-07-21 Andy Wingo <wingo@pobox.com>
5536 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
5538 * libs/gst/check/Makefile.am
5539 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
5540 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
5541 * libs/gst/check/gstbufferstraw.h:
5542 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
5543 functions, thus proving I am still a GStreamer haxor. OK I wrote
5544 them a long time ago, but anyways.
5546 2006-07-21 Stefan Kost <ensonic@users.sf.net>
5549 * gst/gstparse.c: (gst_parse_launch):
5550 Check for flex version and omit mutex if we have a MT save flex
5553 2006-07-21 Wim Taymans <wim@fluendo.com>
5555 * gst/gstparse.c: (gst_parse_launch):
5556 Protect recursive calls to _parse with a recursive mutex
5559 2006-07-21 Wim Taymans <wim@fluendo.com>
5561 * tests/check/gst/gstpad.c: (GST_START_TEST):
5564 2006-07-20 Stefan Kost <ensonic@users.sf.net>
5566 * gst/gstparse.c: (gst_parse_launch):
5567 Do not hang on recursive usage of gst_parse_launch()
5569 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5572 Add some more docs, comments and FIXME 0.11s here and there
5573 and also fix some typos.
5575 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5578 Convert tabs to spaces for better readability.
5580 2006-07-20 Edward Hervey <edward@fluendo.com>
5582 * tests/check/libs/gdp.c: (gst_dp_suite):
5583 the test_buffer test fails at line 140 on ppc64 at the following
5585 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
5586 GST_BUFFER_FLAG_IN_CAPS),
5587 "GST_BUFFER_IN_CAPS flag should have been copied !");
5588 See bug #348114 for more details.
5590 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
5592 * docs/pwg/advanced-scheduling.xml:
5594 Fix typos (#348000).
5596 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
5598 * docs/pwg/intro-basics.xml:
5599 Fix wrong links (#347927).
5601 2006-07-18 Stefan Kost <ensonic@users.sf.net>
5603 * gst/gstregistry.h:
5604 * gst/gstregistryxml.c: (load_feature),
5605 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
5606 * win32/common/config.h:
5607 make --disable-index work (#342564)
5609 2006-07-18 Wim Taymans <wim@fluendo.com>
5611 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5615 The attached patch adds two missing defines to gsttrace.h when tracing
5616 is disabled. It also corrects one existing define.
5619 2006-07-17 Wim Taymans <wim@fluendo.com>
5621 * docs/gst/gstreamer-sections.txt:
5622 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
5624 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
5625 Add two functions to check and change the SIGSEGV behaviour
5626 when loading plugins.
5627 Don't mess with the SIGSEGV handler when we were told not to.
5629 API: gst_segtrap_is_enabled
5630 API: gst_segtrap_set_enabled
5632 2006-07-14 Wim Taymans <wim@fluendo.com>
5634 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5635 * tests/check/elements/filesrc.c: (GST_START_TEST):
5636 Revert fix for regression in #347408 after release.
5638 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
5640 Patch by: Antoine Tremblay <hexa00 at gmail com>
5642 * gst/gstutils.c: (gst_element_unlink):
5643 Free iterator when done (#347311).
5645 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5646 And add a test case for this.
5648 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
5651 Bump nano back to CVS
5653 === release 0.10.9 ===
5655 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5658 releasing 0.10.9, "On the road again"
5660 2006-07-13 Wim Taymans <wim@fluendo.com>
5662 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5663 * tests/check/elements/filesrc.c: (GST_START_TEST):
5664 Revert pull-0 fix for release. Disable check. Fixes #347408.
5666 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5668 * libs/gst/dataprotocol/dataprotocol.c:
5669 (gst_dp_event_from_packet_1_0):
5670 Fixes #347337: failure to deserialize event packets with
5671 empty payload (only event type)
5673 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5676 do not install a .c file in the header directory
5678 2006-07-13 Edward Hervey <edward@fluendo.com>
5680 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5681 GhostPad no longer implicitely use the padtemplates of the targets.
5684 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
5686 * gst/gstvalue.c: (gst_value_compare_list),
5687 (gst_value_compare_array), (_gst_value_initialize):
5688 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5689 Make GstValueArray comparison be order dependent as designed.
5690 Add checks for value lists and value array comparisons.
5693 2006-07-11 Edward Hervey <edward@fluendo.com>
5695 * gst/gstbin.c: (activate_pads),
5696 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
5697 (gst_bin_change_state_func):
5698 (de)activate src pads before calling state_change on the childs.
5699 This is to avoid the case where a src ghostpad is blocked (holding the
5700 stream lock), which would block the deactivation of the ghostpad's
5702 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
5703 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
5704 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
5705 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5706 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5707 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5708 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5709 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
5710 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
5711 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5712 (gst_ghost_pad_class_init),
5713 (gst_ghost_pad_internal_do_activate_push),
5714 (gst_ghost_pad_internal_do_activate_pull),
5715 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5716 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5717 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
5718 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
5719 GhostPads now create their internal GstProxyPad at creation (and not
5720 when they're linked, as it was being done previously).
5721 The internal and target pads are linked straight away.
5722 The data will also travel through the other pad in order to make
5723 pad blocking and probes non-hackish (the probe/block now really happens
5724 on the GhostPad and not on the target).
5725 * gst/gstpad.c: (gst_pad_set_blocked_async),
5726 (gst_pad_link_prepare), (gst_pad_push_event):
5727 Remove previous ghostpad cruft.
5728 * gst/gstutils.c: (gst_pad_add_data_probe),
5729 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5730 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5731 (gst_pad_remove_buffer_probe):
5732 Remove previous ghost pad cruft.
5733 Added more detailed debug statements.
5734 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5735 Fix the testsuite for refcounting changes.
5736 The comments about who has references were correct, but the refcount
5737 being checked wasn't the same (!?!).
5741 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5743 * docs/gst/gstreamer-sections.txt:
5744 * gst/gstconfig.h.in:
5745 More docs for configuration options, add docs to gtk-doc.
5747 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5750 * gst/gstconfig.h.in:
5751 * win32/common/config.h:
5752 Fix build when disabling tracing (fixes #344016). Also start to document
5753 the defines that disable the sub-systems.
5755 2006-07-10 Edward Hervey <edward@fluendo.com>
5757 * gst/gst.c: (ensure_current_registry_forking):
5758 let's make valgrind happy...
5760 2006-07-09 Wim Taymans <wim@fluendo.com>
5762 * gst/gstelement.c: (activate_pads),
5763 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5764 Better pad activation code: Reset the collect value too on resync.
5767 2006-07-09 Wim Taymans <wim@fluendo.com>
5769 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5770 (gst_pad_activate_push):
5771 Use some more macros where it makes sense.
5772 Allow pad mode switching instead of asserting. When a pad
5773 is activated in one mode and we activate it in another,
5774 deactivate it first before activating it in a different mode.
5777 2006-07-08 Andy Wingo <wingo@pobox.com>
5779 * tools/gst-launch.c (main): Handle err == NULL.
5781 * gst/gst.c (init_post, ensure_current_registry)
5782 (ensure_current_registry_forking)
5783 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5784 factoring out the registry scanning into separate functions. Don't
5785 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5786 Better environment var name/interface suggestions accepted.
5788 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5790 * gst/gstobject.c: (gst_object_set_name_default),
5791 (gst_object_set_name):
5792 Random micro-optimisation: don't use a hash table
5793 with strings as keys and the usual strdup/strcmp
5794 involved, but rather just use the GQuark of the
5795 type name as key, since it needs to be looked up
5796 anyway to get the type name string.
5798 * tests/check/gst/gstobject.c: (GST_START_TEST):
5801 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5803 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5804 (gst_bin_iterate_all_by_interface):
5805 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5806 GTypes are gulongs and thus the top 4 bytes might be cut
5807 off on some platforms when doing GPOINTER_TO_INT, leading
5808 to invalid GTypes and bad things happening (see RH bug #179654).
5809 Also add a check to make sure the type passed in is really
5812 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5817 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5821 * gst-element-check.m4:
5822 * gst-element-check.m4.in:
5823 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5824 instead of the unversioned gst-inspect (#324176, #168659).
5826 2006-07-06 Wim Taymans <wim@fluendo.com>
5829 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5832 2006-07-06 Wim Taymans <wim@fluendo.com>
5834 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5835 (gst_base_src_wait), (gst_base_src_update_length),
5836 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5837 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5838 (gst_base_src_loop), (gst_base_src_start),
5839 (gst_base_src_activate_pull):
5841 blocksize == 0 now means the default blocksize when working in push
5843 Remove some pointless asserts in _wait function.
5844 Fix offset/length calculations and EOS handling. We can now pull 0
5845 bytes as well, which is allowed.
5846 use _check_get_range() to decide if we can operate in _pull based
5848 Fix refcounting leak when check_get_range function was not
5850 API GstBaseSrc::blocksize range can be 0 too now (default)
5852 * tests/check/elements/filesrc.c: (GST_START_TEST),
5854 Added check to test _get_range() behaviour.
5856 2006-07-06 Wim Taymans <wim@fluendo.com>
5858 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5859 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5860 (gst_pad_pull_range):
5862 Lots of comments and docs added to the pad functions.
5863 Flesh out the expected behaviour of the get_range() functions.
5865 2006-07-06 Wim Taymans <wim@fluendo.com>
5870 * gst/gstiterator.h:
5874 Remove comma at end of enumerator list.
5876 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
5878 * win32/common/libgstbase.def:
5879 * win32/common/libgstdataprotocol.def:
5880 * win32/common/libsgtreamer.def:
5881 Add new exported functions.
5883 2006-07-05 Wim Taymans <wim@fluendo.com>
5885 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5886 Add some more docs here and there.
5888 2006-07-05 Wim Taymans <wim@fluendo.com>
5890 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5891 (gst_base_sink_loop), (gst_base_sink_get_position):
5892 When operating in pull mode update the offset so that we
5895 2006-07-05 Wim Taymans <wim@fluendo.com>
5897 * gst/gstregistryxml.c: (read_string):
5898 Avoid strdup. (will happen in libxml, but hey!)
5903 2006-07-05 Wim Taymans <wim@fluendo.com>
5905 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5906 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5908 No point in checking if the size of the subbuffer > 0, the
5909 code handles it correclty as demonstrated by unit test.
5910 Also add a unit test for the zero sized _new_and_alloc and
5911 _copy. Fixes #346663.
5913 2006-07-05 Wim Taymans <wim@fluendo.com>
5915 * libs/gst/base/gstbasetransform.c:
5916 (gst_base_transform_prepare_output_buffer),
5917 (gst_base_transform_buffer_alloc),
5918 (gst_base_transform_handle_buffer):
5919 Make sure the buffer we pass to transform_ip has a refcount of
5920 1 and thus is writable. Fixes #343196
5922 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
5924 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5925 (gst_file_src_init), (gst_file_src_set_property),
5926 (gst_file_src_get_property), (gst_file_src_map_region):
5927 * plugins/elements/gstfilesrc.h:
5928 Add "sequential" property, off by default, to use madvise and hint
5929 to the kernel that sequential access is desired.
5930 Touch all retrieved pages by default to ensure they are pulled
5931 into memory. (Closes #345720)
5933 2006-07-03 Wim Taymans <wim@fluendo.com>
5935 * docs/design/part-block.txt:
5936 * docs/design/part-dynamic.txt:
5939 2006-07-03 Wim Taymans <wim@fluendo.com>
5941 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5942 (gst_caps_unref), (gst_static_caps_get),
5943 (gst_caps_append_structure):
5944 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5945 Use GSlice when the glib we build against is >= 2.10
5947 2006-07-03 Wim Taymans <wim@fluendo.com>
5949 * gst/gstelement.c: (gst_element_pads_activate):
5950 Small cleanup in pad activation code.
5952 2006-07-03 Wim Taymans <wim@fluendo.com>
5954 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5956 * gst/gst-i18n-app.h:
5957 * gst/gst-i18n-lib.h:
5958 * tools/gst-inspect.c: (print_signal_info):
5959 The attached patch will make the inclusion of gettext.h unconditional in
5960 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5961 libintl.h in tools/gst-inspect.c.
5962 This allows use of --disable-nls again and fixes #344642.
5964 2006-07-03 Edward Hervey <edward@fluendo.com>
5966 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5967 Implement pad blocking on events according to part-block.txt.
5968 More comments on behaviour.
5969 * tests/check/gst/gstevent.c: (test_event):
5970 Send event to peer pad of blocked pad (else it will block).
5972 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5974 * libs/gst/check/gstcheck.c: (gst_check_message_error),
5975 (gst_check_run_suite):
5976 if we get the wrong message, give us the types as string
5977 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5979 * tests/check/elements/filesrc.c: (GST_START_TEST):
5980 add a test for trying to open a non-existing file
5982 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5984 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5985 add a test for adding self
5987 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5989 * libs/gst/check/gstcheck.h:
5990 add some assert_ as alias for fail_unless_*
5991 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5992 increase test coverage
5994 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5997 include lcov.mak for lcov coverage generation
5998 * tools/Makefile.am:
6001 2006-07-02 Edward Hervey <edward@fluendo.com>
6003 * tests/check/elements/.cvsignore:
6006 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6009 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6010 * tests/check/Makefile.am:
6013 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6015 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6016 remove gst_caps_simplify; it was not declared and not used
6017 and deprecated in 0.8
6019 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6021 * docs/faq/gst-uninstalled:
6022 don't put empty paths on PYTHONPATH
6023 * docs/gst/gstreamer-sections.txt:
6024 remove some symbols that are not there
6026 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6028 * gst/gstcaps.c: (gst_caps_compare_structures):
6030 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6031 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6034 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6036 * libs/gst/dataprotocol/Makefile.am:
6037 build dataprotocol test by linking to the lib, instead of
6038 compiling the source, so we get coverage
6039 * tests/check/Makefile.am:
6040 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6041 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6042 add a test for filesrc
6044 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6046 * tests/check/gst/gststructure.c: (GST_START_TEST),
6047 (gst_structure_suite):
6048 Push coverage from 59.04% to 70.00%
6050 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6052 * tests/check/Makefile.am:
6053 gst-inspect every element; this makes sure that we also get
6054 coverage on element's get/set functions
6056 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6059 set CFLAGS and friends to -O0 if gcov is being used
6062 * libs/gst/base/Makefile.am:
6063 * libs/gst/check/Makefile.am:
6064 * libs/gst/controller/Makefile.am:
6065 * libs/gst/dataprotocol/Makefile.am:
6066 * libs/gst/net/Makefile.am:
6067 * plugins/elements/Makefile.am:
6068 * plugins/indexers/Makefile.am:
6069 add makefile rules to generate gcov data and clean up
6070 * tests/check/Makefile.am:
6071 add a coverage target that generates an html overview
6074 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6076 * tests/check/elements/fakesink.c:
6077 * tests/check/elements/fakesrc.c:
6078 * tests/check/elements/fdsrc.c:
6079 * tests/check/elements/identity.c:
6080 * tests/check/generic/sinks.c: (gst_sinks_suite):
6081 * tests/check/generic/states.c:
6082 * tests/check/gst/gst.c:
6083 * tests/check/gst/gstabi.c:
6084 * tests/check/gst/gstbin.c:
6085 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6086 * tests/check/gst/gstbus.c: (gst_bus_suite):
6087 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6088 * tests/check/gst/gstelement.c:
6089 * tests/check/gst/gstevent.c: (gst_event_suite):
6090 * tests/check/gst/gstghostpad.c:
6091 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6092 * tests/check/gst/gstmessage.c: (gst_message_suite):
6093 * tests/check/gst/gstminiobject.c:
6094 * tests/check/gst/gstobject.c:
6095 * tests/check/gst/gstpad.c:
6096 * tests/check/gst/gstpipeline.c:
6097 * tests/check/gst/gstplugin.c:
6098 * tests/check/gst/gstquery.c: (gst_query_suite):
6099 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6100 * tests/check/gst/gststructure.c:
6101 * tests/check/gst/gstsystemclock.c:
6102 * tests/check/gst/gsttag.c:
6103 * tests/check/gst/gsttask.c: (gst_task_suite):
6104 * tests/check/gst/gstutils.c:
6105 * tests/check/gst/gstvalue.c:
6106 * tests/check/libs/adapter.c:
6107 * tests/check/libs/basesrc.c:
6108 * tests/check/libs/collectpads.c:
6109 * tests/check/libs/controller.c:
6110 * tests/check/libs/gdp.c: (gst_dp_suite):
6111 * tests/check/libs/gstnetclientclock.c:
6112 * tests/check/libs/gstnettimeprovider.c:
6113 * tests/check/libs/libsabi.c: (libsabi_suite):
6114 * tests/check/libs/typefindhelper.c:
6115 * tests/check/pipelines/cleanup.c:
6116 * tests/check/pipelines/parse-launch.c:
6117 * tests/check/pipelines/simple-launch-lines.c:
6118 * tests/check/pipelines/stress.c: (stress_suite):
6121 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6123 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6124 * libs/gst/check/gstcheck.h:
6125 create a macro and function so that the simple unit test
6126 case can be just one macro to create main()
6128 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6130 * gst/gstbin.c: (gst_bin_restore_thyself):
6131 * gst/gstxml.c: (gst_xml_make_element):
6132 Fix deserialisation from XML. Set parent manually
6133 instead of using gst_bin_add(), since gst_bin_add()
6134 will unlink all pads of the element being added.
6137 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6139 Patch by: Peter Kjellerstedt <pkj at axis com>
6141 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6142 Fix missing g_strdup() and double free when using the
6143 --gst-plugin-load command line option (#346097).
6145 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6148 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6150 * libs/gst/net/gstnetclientclock.c:
6151 * libs/gst/net/gstnettimeprovider.c:
6152 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6154 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6156 * docs/manual/advanced-dataaccess.xml:
6157 Fix buffer probe example compilation in
6160 2006-06-22 Edward Hervey <edward@fluendo.com>
6162 * gst/gstelement.c: (gst_element_pads_activate):
6163 We need to deactivate src pads first and then sink pads.
6164 The reason is the src pads might be blocking while holding the streaming
6165 lock, so we need to deactivate them first so that deactivating the sink
6166 pads doesn't block (since it will require the streaming lock).
6168 2006-06-22 Wim Taymans <wim@fluendo.com>
6170 * libs/gst/base/gstbasetransform.c:
6171 (gst_base_transform_buffer_alloc):
6172 Forgot to remove two unneeded unrefs.
6173 Simplify a check _is_equal allready checks the obvious case.
6175 2006-06-22 Wim Taymans <wim@fluendo.com>
6177 * docs/design/part-block.txt:
6178 Some docs about what pad_block should do.
6180 2006-06-22 Wim Taymans <wim@fluendo.com>
6182 * gst/gstcaps.c: (gst_caps_replace):
6183 Fix crasher when passed NULL. Doc clarification.
6184 Optimize for the trivial case.
6186 * gst/gstpipeline.c: (gst_pipeline_change_state):
6189 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6190 Small documentation cleanup.
6192 * libs/gst/base/gstbasetransform.c:
6193 (gst_base_transform_buffer_alloc):
6194 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6195 is what we need and it avoids a whole lot of redundant
6196 refcount operations.
6198 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6200 Patch by: Philip Jägenstedt <philip at lysator liu se>
6202 * docs/manual/advanced-dataaccess.xml:
6203 Fix 'Embedding static elements' section to use
6204 GST_PLUGIN_DEFINE_STATIC (#345607).
6206 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6208 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6209 Attempt to 'fix' spuriously failing test case: it seems like the
6210 timeout of half a second is simply too small when the system is under
6211 load otherwise, and the timeout doesn't really seem to serve any
6212 particular purpose here. Give the pipeline a few seconds to preroll
6213 first, and then give it another half a second to go from PAUSED to
6214 PLAYING and marshal the message into the main thread.
6216 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6218 * tools/gst-feedback-m.m:
6219 Don't only use unversioned tools, try versioned tools as well
6222 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6224 * gst/gstbus.c: (gst_bus_class_init):
6225 Fix some typos, make docs more explicit.
6227 2006-06-20 Wim Taymans <wim@fluendo.com>
6229 * tests/check/gst/gstghostpad.c: (block_callback),
6230 (GST_START_TEST), (gst_ghost_pad_suite):
6231 Added some more ghostpad tests, mainly blocking
6234 2006-06-16 Wim Taymans <wim@fluendo.com>
6236 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6237 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6238 (gst_file_sink_event), (gst_file_sink_render):
6239 * plugins/elements/gstfilesink.h:
6240 Check if we can seek in the file instead of assuming
6241 we always can. Post an error when we are asked to seek in a
6242 non-seekable file (like a fifo). Fixes #343312.
6245 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6247 * tools/gst-launch.1.in:
6248 Un-garble (fourcc) bit in filtered caps section.
6250 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6252 * docs/manual/advanced-autoplugging.xml:
6253 * docs/manual/basics-helloworld.xml:
6254 * docs/manual/highlevel-components.xml:
6255 Don't leak bus reference in sample code.
6257 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6260 Add default for new --enable-plugin-docs switch.
6263 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6267 Use new ENABLE_PLUGIN_DOCS conditional.
6269 2006-06-14 Wim Taymans <wim@fluendo.com>
6271 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6272 Make it clear with a FIXME and a real define what the #if 0
6273 previously disabled.
6275 2006-06-14 Wim Taymans <wim@fluendo.com>
6277 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6278 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6279 * libs/gst/base/gstbasetransform.c:
6280 (gst_base_transform_sink_eventfunc):
6281 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6282 Don't randomly and silently reset a segment when the format
6283 changes as this is a bug somewhere upstream. Fixes #330379.
6285 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6287 Patch by: Wouter Paesen <wouter at kangaroot net>
6289 * libs/gst/controller/gstcontroller.c:
6290 (gst_controlled_property_new):
6291 Fix controlling of float properties (#344849).
6293 * tests/check/libs/controller.c:
6294 (gst_test_mono_source_get_property),
6295 (gst_test_mono_source_set_property),
6296 (gst_test_mono_source_class_init), (GST_START_TEST):
6297 While we're at it, add some float stuff to unit test.
6299 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6302 * docs/images/gdp-header.svg:
6304 * docs/libs/Makefile.am:
6305 * docs/libs/gdp-header.png:
6306 * libs/gst/dataprotocol/dataprotocol.c:
6307 add it to the API docs
6308 * docs/manual/intro-motivation.xml:
6311 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6313 * gst/gst.c: (scan_and_update_registry), (init_post):
6314 If the fork()'ed child process can't write the updated registry cache
6315 file to disk for some reason, make it exit with a failure exit code,
6316 so that the parent can then re-scan the plugins itself and update the
6317 registry structures in memory and work with that (rather than failing
6318 when creating elements because seemingly no plugins are available).
6319 Refactor registry scanning code into separate function for this and
6320 also separate fork() and non-fork() code paths. Fixes #344748.
6322 2006-06-13 Wim Taymans <wim@fluendo.com>
6324 * docs/manual/advanced-dataaccess.xml:
6325 Fix wrong PluginDesc. Fixes #344755.
6327 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6329 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6330 Fix silly bug that prevented us from creating
6331 ~/.gstreamer-0.10 and writing the registry in one
6332 go (the first call to g_mkstemp() would overwrite the
6333 placeholder in the template string, so the second call
6334 to g_mkstemp() after creating the missing directory
6335 would then error out with 'invalid argument').
6337 2006-06-13 Edward Hervey <edward@fluendo.com>
6339 * gst/gst.c: (init_post):
6342 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6344 * gst/glib-compat-private.h:
6345 * gst/glib-compat.c:
6346 * gst/glib-compat.h:
6347 * gst/gstvalue.c: (gst_value_serialize_flags):
6348 remove GLib 2.6 compatibility code
6350 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
6352 * gst/parse/Makefile.am:
6353 Fix build with 'make -j N' even more (#340016).
6355 2006-06-12 Wim Taymans <wim@fluendo.com>
6357 * docs/gst/gstreamer-sections.txt:
6360 2006-06-12 Wim Taymans <wim@fluendo.com>
6362 * gst/gstsegment.c: (gst_segment_set_duration),
6363 (gst_segment_set_last_stop), (gst_segment_set_seek),
6364 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6365 (gst_segment_to_running_time), (gst_segment_clip):
6366 Use G_UNLIKELY to help the compiler a bit.
6368 2006-06-12 Wim Taymans <wim@fluendo.com>
6370 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6372 * gst/gstevent.c: (gst_event_get_type):
6374 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6376 constify quark registration strings. Fixes #344115
6377 Avoid unneeded type checking is _pad_push() by internally
6378 calling gst_pad_chain_unchecked().
6380 2006-06-12 Wim Taymans <wim@fluendo.com>
6382 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6383 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6384 (gst_subbuffer_finalize), (gst_buffer_create_sub),
6385 (gst_buffer_is_span_fast), (gst_buffer_span):
6386 Init _type for consistency.
6387 Use _FLAGS macro to avoid type check.
6388 Avoid unneeded type checks in subbufer code.
6390 2006-06-12 Wim Taymans <wim@fluendo.com>
6392 * gst/gst.c: (gst_debug_help):
6393 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6394 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6395 (gst_plugin_feature_list_free):
6396 * gst/gstregistry.c: (gst_registry_add_plugin),
6397 (gst_registry_add_feature), (gst_registry_plugin_filter),
6398 (gst_registry_feature_filter), (gst_registry_find_plugin),
6399 (gst_registry_find_feature), (gst_registry_get_plugin_list),
6400 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
6401 * gst/gstregistryxml.c: (load_feature),
6402 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
6403 * gst/gstminiobject.c: (gst_mini_object_unref),
6404 (gst_mini_object_replace), (gst_value_mini_object_free),
6405 (gst_value_mini_object_copy):
6406 Use _CAST macros to avoid unneeded type checking.
6407 Added some more G_UNLIKELY.
6409 2006-06-12 Wim Taymans <wim@fluendo.com>
6412 Avoid unneeded type checking.
6413 API: GST_BUFFER_IS_DISCONT
6415 * gst/gstminiobject.h:
6416 Avoid type check in flag accessor.
6418 * gst/gstelementfactory.h:
6420 * gst/gstpluginfeature.h:
6422 API: GST_ELEMENT_FACTORY_CAST
6423 API: GST_PLUGIN_CAST
6424 API: GST_PLUGIN_FEATURE_CAST
6426 2006-06-12 Wim Taymans <wim@fluendo.com>
6428 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
6430 Add G_UNLIKELY in type registration.
6431 Avoid type check in _ref/_unref since that is also
6434 2006-06-12 Wim Taymans <wim@fluendo.com>
6436 * gst/gsterror.c: (gst_g_error_get_type):
6437 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6438 (gst_static_pad_template_get_type):
6439 * gst/gsttaglist.c: (gst_tag_list_get_type):
6440 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
6441 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
6442 * gst/gsturi.c: (gst_uri_handler_get_type):
6443 * gst/gstvalue.c: (gst_date_get_type):
6444 * gst/gstxml.c: (gst_xml_get_type):
6445 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
6446 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6447 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
6448 Add G_UNLIKELY in type registration.
6450 2006-06-12 Wim Taymans <wim@fluendo.com>
6452 * tools/gst-inspect.c: (print_signal_info):
6453 Properly print enum values.
6455 2006-06-12 Wim Taymans <wim@fluendo.com>
6457 * gst/gstinfo.c: (gst_debug_set_active),
6458 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
6460 Add some G_[UN]LIKELY.
6461 Maintain __gst_debug_min to avoid formatting the arguments of
6462 debug messages that will be dropped anyway to avoid a lot of
6463 overhead from the debugging system.
6465 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6469 add missing files containing translatable strings, tell intltool about
6472 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6474 * tests/check/libs/.cvsignore:
6475 add test-binary to ignore list
6477 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6479 * docs/libs/gstreamer-libs-docs.sgml:
6480 reorder (put dp into a chapter) and indent
6482 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6487 === release 0.10.8 ===
6489 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6492 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
6494 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6496 * gst/gst.c: (init_post):
6497 move pid declaration to declaration block
6499 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6501 * gst/gst.c: (init_post):
6502 use _exit() instead of exit() in our forked child; this ensures
6503 that none of the registered exit handlers from whatever is using
6504 GStreamer get executed. This fixes gnome-mixer-applet failing
6505 to load, because ORBit would shut down.
6506 Spotted by: Edward Hervey <edward@fluendo.com>
6507 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
6510 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6515 === release 0.10.7 ===
6517 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6520 releasing 0.10.7, "Soepeke, ik zie ou"
6522 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
6545 * win32/common/config.h:
6548 2006-06-07 Wim Taymans <wim@fluendo.com>
6550 * gst/gstindex.c: (gst_index_gtype_resolver):
6551 * tools/gst-xmlinspect.c: (print_plugin_info):
6552 Fix leak spotted by coverity checker. Fixes #343827
6553 Fix another other leak found by paolo borelli.
6555 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6557 * libs/gst/dataprotocol/dataprotocol.c:
6558 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6559 (gst_dp_version_get_type), (gst_dp_init),
6560 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
6561 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
6562 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
6563 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
6564 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
6565 (gst_dp_packetizer_free):
6566 * libs/gst/dataprotocol/dataprotocol.h:
6567 API: add a GstDPPacketizer object, and create/free functions
6568 API: add GstDPVersion enum
6569 Add 1.0 event function that uses the string serialization
6570 Serialize more useful buffer flags
6573 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6575 * tests/check/Makefile.am:
6576 * tests/check/gst/gstabi.c:
6577 * tests/check/gst/struct_ppc64.h:
6578 * tests/check/libs/libsabi.c:
6579 * tests/check/libs/struct_ppc64.h:
6580 add ppc64 structure sizes
6582 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6584 * tests/check/Makefile.am:
6585 * tests/check/gst/gstabi.c:
6586 * tests/check/gst/struct_x86_64.h:
6587 * tests/check/libs/libsabi.c:
6588 * tests/check/libs/struct_x86_64.h:
6589 generate and add structure size lists for x86_64
6591 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6593 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6594 * libs/gst/check/gstcheck.h:
6595 factor out the method from tests that checks size of structures,
6596 and add code to generate the header containing these sizes
6597 * tests/check/gst/gstabi.c: (GST_START_TEST):
6598 * tests/check/gst/struct_i386.h:
6599 * tests/check/libs/libsabi.c: (GST_START_TEST):
6600 * tests/check/libs/struct_i386.h:
6603 2006-06-06 Michael Smith <msmith@fluendo.com>
6606 Don't use c++-style comments, fixes #343929
6608 2006-06-05 Edward Hervey <edward@fluendo.com>
6611 plugin_paths is not used if we build without registry support.
6613 * gst/gstsegment.c: (gst_segment_copy):
6614 _copy() was always returning NULL...
6616 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6618 * libs/gst/dataprotocol/dataprotocol.c:
6619 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6620 (gst_dp_packet_from_event):
6623 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6625 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
6626 make sure we unset caps
6628 2006-06-02 Michael Smith <msmith@fluendo.com>
6630 * libs/gst/check/gstcheck.c: (gst_check_init),
6631 (gst_check_chain_func):
6632 * libs/gst/check/gstcheck.h:
6633 Add a cond/mutex to the check support lib, signal this whenever we
6634 add to the buffers list. This will allow tests to not busy-wait on
6637 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6639 * libs/gst/dataprotocol/dataprotocol.c:
6640 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6641 (gst_dp_packet_from_event):
6642 factor out some common header init code
6644 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6646 * docs/libs/gstreamer-libs-sections.txt:
6647 * docs/libs/tmpl/gstdataprotocol.sgml:
6648 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6649 * libs/gst/dataprotocol/dataprotocol.h:
6650 API: make gst_dp_crc() public
6652 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6654 * plugins/indexers/gstindexers.c: (plugin_init):
6655 conditionally register fileindexer (fixes #343598)
6657 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6659 * gst/gsttagsetter.h:
6660 Can't cast ifaces to a class
6662 * libs/gst/net/gstnetclientclock.h:
6663 * libs/gst/net/gstnettimeprovider.h:
6664 * plugins/elements/gstfakesink.h:
6665 * plugins/elements/gstfakesrc.h:
6666 * plugins/elements/gstfdsink.h:
6667 * plugins/elements/gstfdsrc.h:
6668 * plugins/elements/gstfilesink.h:
6669 * plugins/elements/gstfilesrc.h:
6670 * plugins/elements/gstidentity.h:
6671 * plugins/elements/gstqueue.h:
6672 * plugins/elements/gsttee.h:
6673 * plugins/indexers/gstfileindex.c:
6674 * plugins/indexers/gstmemindex.c:
6675 * tests/old/examples/plugins/example.h:
6676 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
6678 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
6680 * libs/gst/dataprotocol/dataprotocol.c:
6681 (gst_dp_header_from_buffer):
6682 make sure we zero the whole ABI-compatible area
6684 2006-06-01 Wim Taymans <wim@fluendo.com>
6686 Patch by: Alessandro Decina <alessandro at nnva dot org>
6688 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
6689 Make sure the EOS flag is cleared from pads after a flush
6690 or stop. Fixes #343538.
6692 * tests/check/libs/collectpads.c: (GST_START_TEST),
6693 (gst_collect_pads_suite):
6694 Added test for collectpads reusage after EOS.
6696 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
6699 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
6700 * win32/common/libgstbase.def:
6701 export gst_collect_pads_set_flushing
6702 * win32/common/libgstreamer.def:
6703 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
6704 gst_value_fraction_multiply
6705 * win32/vs6/gst_inspect.dsp:
6706 add a link to intl.lib
6708 2006-05-30 Wim Taymans <wim@fluendo.com>
6710 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6711 (gst_collect_pads_chain):
6712 Handle the case where a pad is removed from the collection
6713 that could cause the other pads to become collectable.
6715 2006-05-30 Wim Taymans <wim@fluendo.com>
6718 Clarify the use of _release_request_pad() and
6719 _get_request_pad() a bit better.
6721 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
6722 (gst_adapter_take_buffer):
6723 Fix some doc and comment typos.
6725 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6727 * docs/gst/gstreamer-sections.txt:
6728 * docs/libs/gstreamer-libs-sections.txt:
6729 add declared symbols
6731 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
6733 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6734 Add debug that can be enabled using a #define at the top of the file,
6735 for dumping stats about how late/early we were when waking up from
6736 waiting on the clock.
6738 2006-05-30 Wim Taymans <wim@fluendo.com>
6740 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6741 When rebuilding the pad list, don't leak the previous list.
6743 2006-05-30 Wim Taymans <wim@fluendo.com>
6745 Patch by: Lutz Mueller <lutz at topfrose dot de>
6747 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6748 (gst_base_src_get_query_types), (gst_base_src_update_length):
6749 Publish supported query types.
6750 Update last_stop field in get_range mode so the position
6751 query works. Fixes #342321.
6753 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
6755 * docs/gst/gstreamer-sections.txt:
6756 * gst/gsttaglist.c: (_gst_tag_initialize):
6758 API: add GST_TAG_PREVIEW_IMAGE (#343341).
6760 2006-05-30 Wim Taymans <wim@fluendo.com>
6762 Patch by: Alessandro Decina <alessandro at nnva dot org>
6764 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6765 Unlock mutex when removing an unknown pad.
6768 * tests/check/Makefile.am:
6769 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6770 (push_event), (setup), (teardown), (GST_START_TEST),
6771 (gst_collect_pads_suite), (main):
6772 Added collecpads check, disabled for now as check crashes for
6775 2006-05-29 Wim Taymans <wim@fluendo.com>
6777 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6778 Don't leak pads lists.
6780 2006-05-29 Wim Taymans <wim@fluendo.com>
6782 * docs/libs/gstreamer-libs-sections.txt:
6783 * libs/gst/base/gstcollectpads.c:
6784 (gst_collect_pads_set_flushing_unlocked),
6785 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6786 (gst_collect_pads_stop):
6787 * libs/gst/base/gstcollectpads.h:
6788 API: gst_collect_pads_set_flushing()
6789 Added api to set the pads to flushing, useful for seeking
6790 code in elements using collectpads.
6791 Clear segment when receiving a flush.
6793 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
6795 * gst/gst.c: (add_path_func), (init_post):
6796 Don't scan registry paths passed via --gst-plugin-path immediately
6797 (will crash, because absolutely nothing is set up and no types are
6798 registered etc.); do this later in init_post(). Fixes #343057.
6800 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
6802 * gst/gst.c: (init_post):
6803 if we have fork, fork while reading/rebuilding the registry
6804 so the parent doesn't take the hit of having all plugins loaded
6805 in memory. Fixes #342777.
6807 Check if we have fork()
6808 * win32/common/config.h.in:
6811 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6813 * plugins/elements/gstelements.c:
6814 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6815 (gst_file_src_init), (gst_file_src_set_property),
6816 (gst_file_src_get_property), (gst_file_src_start):
6817 * plugins/elements/gstfilesrc.h:
6818 API: GstFileSrc::use-mmap
6820 Add a use-mmap property to enable easier testing of all code paths.
6821 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6822 in the absence of gnomevfssrc. (Closes #340501)
6824 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6826 * tools/gst-inspect.c:
6827 Add missing include, removes warning of ngettext not being defined on
6830 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6832 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6833 Handle NULL input and output pointers silently as a failed conversion,
6834 rather than g_warnings.
6836 2006-05-25 Wim Taymans <wim@fluendo.com>
6838 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6839 Initialize variable before using. Fixes #342820.
6841 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
6843 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6844 Fix off-by-one bug that would only allow peeks of N-1 bytes
6845 from the start even if the buffer to typefind on contains
6846 in fact N bytes of data (makes vorbis typefinding from a
6847 vorbis identification header buffer work).
6849 * tests/check/Makefile.am:
6850 * tests/check/libs/.cvsignore:
6851 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6852 (gst_typefindhelper_suite), (main), (foobar_typefind),
6854 Add very basic unit test for gst_type_find_helper_for_buffer()
6855 that checks for the problem fixed above.
6857 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
6859 * tools/gst-inspect.c: (print_interfaces),
6860 (print_element_properties_info), (print_element_list), (main):
6861 add more translatable strings
6863 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
6865 Patch by: Julien Moutte <julien at moutte net>
6867 * docs/gst/gstreamer-sections.txt:
6868 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6870 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6871 (gst_fake_sink_preroll):
6872 * plugins/elements/gstfakesink.h:
6873 API: Add new GstFakeSink::preroll-handoff signal (#337100).
6875 2006-05-23 Wim Taymans <wim@fluendo.com>
6877 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6879 Added _CUSTOM error and success GstFlowReturn that can be
6880 used be elements internally.
6881 Added macro to check for SUCCESS flowreturns.
6882 API: GST_FLOW_CUSTOM_SUCCESS
6883 API: GST_FLOW_CUSTOM_ERROR
6884 API: GST_FLOW_IS_SUCCESS
6886 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6887 Added check for GstFlowReturn sanity.
6889 2006-05-23 Wim Taymans <wim@fluendo.com>
6891 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6893 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6894 (gst_collect_pads_event):
6895 clear/reset segment info in FLUSH_STOP.
6898 2006-05-22 Stefan Kost <ensonic@users.sf.net>
6900 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6901 (gst_collect_pads_check_collected):
6902 Flush queued buffer on _stop(), fixes playing again (#342454)
6904 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
6906 * tests/check/gst/gststructure.c: (GST_START_TEST),
6907 (gst_structure_suite):
6908 add a test for a complete structure
6910 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6912 * docs/faq/developing.xml:
6914 * docs/faq/troubleshooting.xml:
6915 * docs/faq/using.xml:
6916 Some minor FAQ updates that won't change the fact that
6917 our FAQ is badly structured, full of information hardly
6918 anyone new to GStreamer needs to know and lacking lots
6919 of information people constantly ask for.
6921 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
6923 * gst/gstpad.c: (gst_pad_set_caps):
6924 Short-circuit gst_pad_set_caps if setting the existing
6925 caps pointer again, and avoid printing debug and
6926 reffing/unreffing the caps.
6928 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6929 There's actually no need to set the caps before pushing -
6930 the acceptcaps method will handle it anyway.
6932 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6934 * docs/gst/gstreamer-sections.txt:
6935 * win32/common/libgstreamer.def:
6936 * gst/gstutils.c: (gst_element_seek_simple):
6938 API: add gst_element_seek_simple() (#342238).
6940 2006-05-18 Edward Hervey <edward@fluendo.com>
6942 * gst/gsttypefind.c: (gst_type_find_get_type):
6943 * gst/gsttypefind.h:
6944 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6945 registered for GstTypeFind pointers. This allows wrapping the structure
6946 in bindings (i.e. gst-python).
6948 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6950 * gst/gsttagsetter.c:
6951 Docs additions and fixes (see #339918).
6953 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6955 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6956 The caps intersection algorithm can produce multiple copies of the
6957 caps. Until that is fixed, we need to simplify the result to be
6958 sure whether the allowed caps are fixed or not.
6960 * plugins/elements/gstqueue.c: (gst_queue_init),
6961 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6962 (gst_queue_push_one):
6963 Proxied buffer alloc should not set the caps on the source pad.
6964 When pushing buffers, we always accept the caps change that triggers.
6965 This prevents negotiation errors caused by caps changing mid-stream
6966 and then being refused on our source pad (because upstream is now
6967 refusing those caps).
6969 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6971 * tests/examples/helloworld/helloworld.c: (main):
6972 Must plug audioconvert and audioresample between decoder
6975 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
6977 * gst/gstregistryxml.c: (read_string), (load_pad_template),
6978 (load_feature), (load_plugin):
6979 Allow empty strings for some of the plugin fields so we don't
6980 drop valid plugin entries that were written out correctly
6983 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
6985 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6986 Use g_remove and g_rename instead of remove and rename that don't
6987 handle utf8 characters. rename was failing for users who had specific
6988 characters in their name then the registry was built at each
6990 * win32/vs6/gst_inspect.dsp:
6991 * win32/vs6/gst_launch.dsp:
6992 * win32/vs6/libgstbase.dsp:
6993 * win32/vs6/libgstcoreelements.dsp:
6994 * win32/vs6/libgstreamer.dsp:
6995 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
6996 build of libgstreamer and clean unused libraries in projects link
6999 2006-05-17 Edward Hervey <edward@fluendo.com>
7001 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7002 The queue is not responsible for pushing an EOS when receiving a fatal
7003 flow error. It's up to the real element driving the pipeline to do that.
7005 2006-05-16 Edward Hervey <edward@fluendo.com>
7007 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7008 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7009 buffer returned a fatal error. It should just send an EOS and stop
7011 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7012 when pushing buffers on the queue and will be able to handle the event.
7014 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7016 * docs/manual/basics-bins.xml:
7017 * docs/manual/basics-init.xml:
7018 Fix typos and minor errors in sample code (#341856).
7020 2006-05-16 Wim Taymans <wim@fluendo.com>
7022 * docs/design/part-qos.txt:
7023 Fix indexes in formulas to make more sense.
7025 2006-05-15 Wim Taymans <wim@fluendo.com>
7027 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7028 Don't report POSITION based on clock time if sync is
7031 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7034 Add cast to make compiler happy - refcount variable was a gint
7035 in GstObject but is a guint in GObject and g_atomic_int_get()
7038 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7040 * gst/parse/Makefile.am:
7041 chain commands using &&, which also makes parallel make work
7043 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7045 * docs/gst/gstreamer-sections.txt:
7051 === release 0.10.6 ===
7053 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7056 releasing 0.10.6, "Take the cannoli"
7058 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7060 * tools/gst-launch.c: (print_tag):
7061 Fix use of uninitialized variable in the hypothetical
7062 case that some broken plugin creates a GST_TAG_IMAGE
7063 tag containing a NULL buffer (#341667).
7065 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7067 * tools/gst-launch.c: (print_tag):
7068 Print something more intelligible for image tags when
7069 using the -t switch (#341556).
7071 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7076 define GST_MAJORMINOR so we have it available in win32/common/config.h
7077 Possibly remove it from our Makefile.am files later
7078 * win32/common/config.h:
7079 * win32/common/config.h.in:
7080 added GST_MAJORMINOR
7081 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7082 * win32/common/gstversion.h:
7085 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7088 Update win32 files listing.
7089 * win32/common/gstversion.h:
7090 Add GST_MAJORMINOR definition.
7091 * win32/common/libgstreamer.def:
7092 Add new exported functions.
7094 2006-05-12 Michael Smith <msmith@fluendo.com>
7096 * gst/gstplugin.c: (gst_plugin_load_file):
7097 If an so file has no plugin entry point, unload the module.
7099 2006-05-11 Wim Taymans <wim@fluendo.com>
7101 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7102 (gst_queue_set_property):
7103 Don't forget to signal the _chain or _loop function
7104 when the queue size or thresholds change since that might
7105 cause them to make progres again.
7107 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7109 * gst/gstclock.c: (gst_clock_class_init):
7110 * gst/gstindex.c: (gst_index_class_init):
7111 * gst/gstobject.c: (gst_object_class_init):
7112 * gst/gstpad.c: (gst_pad_class_init):
7113 * gst/gstpipeline.c: (gst_pipeline_class_init):
7114 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7115 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7116 * libs/gst/base/gstbasetransform.c:
7117 (gst_base_transform_class_init):
7118 * libs/gst/net/gstnetclientclock.c:
7119 (gst_net_client_clock_class_init):
7120 * libs/gst/net/gstnettimeprovider.c:
7121 (gst_net_time_provider_class_init):
7122 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7123 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7124 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7125 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7126 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7127 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7128 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7129 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7130 * plugins/elements/gsttee.c: (gst_tee_class_init):
7131 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7132 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7133 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7135 2006-05-11 Wim Taymans <wim@fluendo.com>
7137 * gst/gstbuffer.c: (_gst_buffer_initialize):
7138 Register subbufer along with the buffer type so that
7139 it does not accidentally gets registered from N
7140 different streaming threads in a non threadsafe way.
7142 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7147 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7148 gst_event_ref() and gst_message_ref() functions again
7149 (ugly hack, please do fix if there's a better way besides
7150 overrides.txt, which doesn't seem to work).
7152 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7154 * libs/gst/check/gstcheck.h:
7155 add an assert for setting state to avoid lots of repetitive code
7158 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7160 * gst/gstvalue.c: (gst_value_serialize_flags):
7161 fix a leak if no flags are set
7162 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7165 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7167 * docs/manual/basics-pads.xml:
7168 Expand a bit on caps and filtered links and update
7169 examples that were still using the no longer existing
7170 gst_pad_link_filtered() (#338206).
7172 2006-05-10 Wim Taymans <wim@fluendo.com>
7174 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7175 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7176 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7177 (gst_collect_pads_stop):
7178 * libs/gst/base/gstcollectpads.h:
7179 No need to call _stop in _finalize.
7180 Iterate the main pad list in _finalize.
7181 Added some more debug.
7182 Free lists and data in the right order.
7183 Also free data whem doing _remove_pad when stopped for
7184 backward compatibility protect ::started with PAD_LOCK as
7187 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7189 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7190 (gst_structure_parse_value):
7192 rename a method so that it actually says what it does better
7194 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7196 * gst/gstevent.c: (_gst_event_initialize):
7197 * gst/gstformat.c: (_gst_format_initialize):
7198 make sure some essential types used by events are registered
7199 as part of gst_init()
7200 * gst/gstvalue.c: (gst_value_serialize_flags):
7201 if no flags are set, serialize them to a value that represents NONE
7202 so that deserializing them works
7203 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7204 add tests for serialization and deserialization of flags
7206 2006-05-10 Wim Taymans <wim@fluendo.com>
7208 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7209 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7210 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7211 (gst_collect_pads_event), (gst_collect_pads_chain):
7214 Catch and return errors from the collect function
7215 Refuse data on eos pads.
7217 2006-05-10 Edward Hervey <edward@fluendo.com>
7219 * gst/gstinterface.h:
7220 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7221 GInterface type checking.
7222 They were previously using non-defined macros.
7224 2006-05-09 Wim Taymans <wim@fluendo.com>
7226 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7227 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7228 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7229 (gst_collect_pads_start), (gst_collect_pads_stop),
7230 (gst_collect_pads_peek), (gst_collect_pads_pop),
7231 (gst_collect_pads_available), (gst_collect_pads_read),
7232 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7233 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7234 (gst_collect_pads_chain):
7235 * libs/gst/base/gstcollectpads.h:
7236 Clean up the mess that is collectpads, add comments and
7237 FIXMEs where needed.
7238 Maintain a separate pad list so we can add pads while
7239 collecting the other ones. For this we need a new separate
7241 Fix memory leak in finalize.
7242 Refactor some weird code to set/unset pad flushing flags, mark
7244 Don't crash in _available, _read, _flush when we're EOS.
7246 * tests/check/libs/.cvsignore:
7247 Ignore adapter check binary.
7249 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7251 * gst/gstindex.c: (gst_index_resolver_get_type):
7252 * plugins/elements/gstfakesink.c:
7253 (gst_fake_sink_state_error_get_type):
7254 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7255 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7256 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7257 Const-ify GEnumValue arrays.
7259 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7261 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7262 Add test case for flags + gst_buffer_make_metadata_writable().
7264 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7266 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7267 gst_buffer_make_metadata_writable() should maintain the
7268 buffer flags (those that make sense at least) (see #340859).
7270 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7272 * tools/gst-inspect.c:
7273 * tools/gst-launch.c:
7274 * tools/gst-typefind.c:
7275 * tools/gst-xmlinspect.c:
7277 Fix up includes: need to include stdlib.h in tools.h for exit().
7279 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7281 * gst/gsttaglist.c: (_gst_tag_initialize):
7283 API: add GST_TAG_IMAGE tag (#340721).
7285 2006-05-08 Wim Taymans <wim@fluendo.com>
7288 Added some docs for the segment query.
7290 2006-05-08 Wim Taymans <wim@fluendo.com>
7292 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7293 (gst_base_src_loop), (gst_base_src_change_state):
7294 Always push non-flushing serialized events in the streaming
7297 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7299 * gst/gsterror.c: (_gst_stream_errors_init):
7300 Add a missing error string.
7302 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7304 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7305 Add applied_rate to the debug
7307 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7308 Copy applied_rate into the outgoing NEWSEGMENT event
7310 2006-05-08 Wim Taymans <wim@fluendo.com>
7312 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7314 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7315 (gst_base_sink_change_state):
7316 call ::unlock before taking the PREROLL_LOCK so we can safely
7317 handle elements that lock in ::render.
7320 2006-05-08 Edward Hervey <edward@fluendo.com>
7322 * autogen.sh: (CONFIGURE_DEF_OPT):
7323 Darwin's libtoolize is in fact called glibtoolize.
7324 Adding glibtoolize to the list of accepted names for libtoolize.
7326 2006-05-08 Wim Taymans <wim@fluendo.com>
7328 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7329 Unify error handling, don't post an error message
7330 when a push() returns EOS but perform our normal EOS
7331 handling code. Fixes #340772.
7333 2006-05-08 Wim Taymans <wim@fluendo.com>
7335 * docs/design/part-overview.txt:
7336 Make upsteam/downstream concepts more clear.
7337 Give an example of serialized/non-serialized events.
7339 * docs/design/part-events.txt:
7340 * docs/design/part-streams.txt:
7341 Mention applied_rate.
7343 * docs/design/part-trickmodes.txt:
7344 Mention applied rate, flesh out some more use cases.
7346 * gst/gstevent.c: (gst_event_new_new_segment),
7347 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7348 (gst_event_parse_new_segment_full), (gst_event_new_tag),
7349 (gst_event_parse_tag), (gst_event_new_buffer_size),
7350 (gst_event_parse_buffer_size), (gst_event_new_qos),
7351 (gst_event_parse_qos), (gst_event_parse_seek),
7352 (gst_event_new_navigation):
7354 Add applied_rate field to NEWSEGMENT event.
7355 API: gst_event_new_new_segment_full()
7356 API: gst_event_parse_new_segment_full()
7358 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7359 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7360 (gst_segment_to_stream_time), (gst_segment_to_running_time):
7362 Add applied_rate to GstSegment structure.
7363 Make calculation of stream_time and running_time more correct
7364 wrt rate/applied_rate.
7366 API: GstSegment::applied_rate field
7367 API: gst_segment_set_newsegment_full();
7369 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7370 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7371 * libs/gst/base/gstbasetransform.c:
7372 (gst_base_transform_sink_eventfunc),
7373 (gst_base_transform_handle_buffer):
7374 Parse and use applied_rate in the GstSegment field.
7376 * tests/check/gst/gstevent.c: (GST_START_TEST):
7377 Add check for applied_rate field.
7379 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7380 (gstsegments_suite):
7381 Add more checks for various GstSegment operations.
7383 2006-05-08 Wim Taymans <wim@fluendo.com>
7385 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7386 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7387 (gst_base_sink_get_position), (gst_base_sink_change_state):
7388 Store the sync time of the buffer end position separatly in a
7389 new variable eos_rtime so we can properly sync the EOS event.
7391 Fix the docs for gst_base_sink_set_qos_enabled().
7392 Don't set segment start to invalid value when we receive a
7393 non TIME newsegment.
7394 get closer to handling position reporting for negative rates
7397 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7400 Docs about how to print caps for debug purposes.
7402 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
7403 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
7405 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7408 use full enum names and preprend a '%' in docs strings to make recent
7409 gtk-doc turn that into a link
7411 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7413 * docs/manual/basics-bins.xml:
7414 * docs/manual/basics-bus.xml:
7415 * docs/manual/basics-pads.xml:
7416 Some typo fixes, some additions, some clarifications.
7418 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7420 * tools/gst-inspect.c: (main):
7421 * tools/gst-launch.c: (main):
7422 * tools/gst-run.c: (main):
7423 * tools/gst-typefind.c: (main):
7424 * tools/gst-xmlinspect.c: (main):
7425 Use the string passed to g_option_context_new() for
7426 what it's intended for - the program name is already
7429 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7431 * tools/Makefile.am:
7432 * tools/gst-inspect.c: (main):
7433 * tools/gst-launch.c: (main):
7434 * tools/gst-xmlinspect.c: (main):
7436 Add back --version command line option (#340460).
7438 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
7439 Add --version option and use GOption for argument parsing; refactor a
7440 bit; accept directories as arguments and recurse into them; lastly,
7441 print a decent error message when things go wrong.
7443 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7445 * docs/manual/basics-bins.xml:
7446 Don't mention GstThread (#340611)
7447 * docs/manual/basics-elements.xml:
7448 Update link to GObject tutorial (#340607)
7450 2006-05-05 Wim Taymans <wim@fluendo.com>
7453 * gst/gstminiobject.c:
7454 Add note about refcounting and miniobject/buffer writeability
7455 to docs. Fixes #340604
7457 * gst/gstelementfactory.h:
7458 Added some explanation about @klass.
7460 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7462 * docs/manual/intro-motivation.xml:
7463 * docs/manual/manual.xml:
7464 Avoid CORBA & Bonobo references (#340598)
7466 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7468 * docs/manual/basics-bus.xml:
7469 * docs/manual/basics-pads.xml:
7470 Fix up some inaccuracies and omissions (#340609)
7472 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7474 * gst/gstghostpad.c:
7475 Small typo in docs (#340625)
7477 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7479 * gst/parse/Makefile.am:
7480 Make 'make -j' proof (see #340698).
7482 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7485 Require GLib-2.8 here as well.
7487 2006-05-05 Wim Taymans <wim@fluendo.com>
7489 * gst/glib-compat.c:
7490 * gst/gst.c: (init_pre):
7491 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7492 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
7493 (gst_object_dispatch_properties_changed):
7495 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7496 * gst/gststructure.c: (gst_structure_set_valist):
7497 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7498 Remove pre glib2.8 compatibility, fixes #340508
7500 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
7503 Mention type of tags in doc blurbs.
7505 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
7507 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7508 (gst_pad_configure_src), (gst_pad_push):
7509 Restore acceptcaps checking behaviour now that good plugins have
7512 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
7514 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
7525 * gst/parse/Makefile.am:
7526 * libs/gst/base/gstadapter.c:
7527 * libs/gst/base/gstbasesrc.c:
7528 * libs/gst/base/gstpushsrc.c:
7529 * libs/gst/base/gsttypefindhelper.c:
7530 * plugins/elements/gstfakesrc.c:
7531 * plugins/elements/gstidentity.c:
7532 Make sure gstprivate.h and/or config.h are
7533 always included first, otherwise some of our
7534 defines (like _FILE_OFFSET_BITS) might be
7535 redefined in the system headers. Fixes build
7536 on opensolaris (#340016).
7538 2006-05-04 Wim Taymans <wim@fluendo.com>
7540 * docs/libs/gstreamer-libs-sections.txt:
7541 API: addition: gst_adapter_take_buffer()
7543 * libs/gst/base/gstadapter.c: (gst_adapter_push),
7544 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
7545 (gst_adapter_available_fast):
7546 * libs/gst/base/gstadapter.h:
7547 Prepare for optimizing the hell out of this hugely inefficient
7549 Added gst_adapter_take_buffer() so we can at least start thinking
7550 about subbuffering and merging.
7551 Added some comments.
7553 * tests/check/Makefile.am:
7554 * tests/check/libs/adapter.c: (GST_START_TEST),
7555 (gst_adapter_suite), (main):
7556 Added GstAdapter check.
7558 2006-05-04 Wim Taymans <wim@fluendo.com>
7560 * docs/design/part-overview.txt:
7561 Fix some typos, add blurb about buffer flags.
7563 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7565 * docs/libs/gstreamer-libs-sections.txt:
7566 make sure GstBaseTransformClass shows up in the docs
7567 * libs/gst/base/gstbasetransform.c:
7568 * libs/gst/base/gstbasetransform.h:
7569 move docs so gtk-doc picks it up now
7571 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7573 * docs/libs/gstreamer-libs-sections.txt:
7574 add missing symbols to docs
7576 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7578 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7579 back out the newsegment handling change, see #340060 for ongoing
7582 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
7584 * tools/gst-run.c: (get_candidates), (main):
7585 Fix wrong g_file_test() usage (see glib docs for why it doesn't
7586 work); fix typo in error message. Fixes #340079.
7588 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7590 * common/Makefile.am:
7592 * docs/faq/Makefile.am:
7593 * docs/gst/Makefile.am:
7594 * docs/libs/Makefile.am:
7595 * docs/manual/Makefile.am:
7596 * docs/plugins/Makefile.am:
7597 * docs/pwg/Makefile.am:
7598 * docs/slides/Makefile.am:
7600 * common/upload.mak:
7601 move upload.mak to common
7603 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7605 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7606 add more asserts on refcounts
7607 do more cleanup at end of tests
7608 fix test leaks showing in FC5
7610 2006-04-29 Stefan Kost <ensonic@users.sf.net>
7612 * plugins/elements/gsttypefindelement.c:
7613 (gst_type_find_element_handle_event):
7614 reverted wrong change and reflowed code to avoid others falling into
7617 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7619 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7620 fix changelog entry about last collectpads change,
7621 add notes about proper fix
7623 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7626 * gst/gstregistry.c: (gst_registry_scan_path_level),
7627 (gst_registry_scan_path):
7628 * gst/gstregistry.h:
7629 only write out registry if it has changed, fixes #338339
7631 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7634 * gst/gstpipeline.c:
7635 * plugins/elements/gstcapsfilter.c:
7636 * plugins/elements/gstfakesink.c:
7637 * plugins/elements/gstfakesrc.c:
7638 * plugins/elements/gstfdsink.c:
7639 * plugins/elements/gstfdsrc.c:
7640 * plugins/elements/gstfilesink.c:
7641 * plugins/elements/gstfilesrc.c:
7642 * plugins/elements/gstidentity.c:
7643 * plugins/elements/gstqueue.c:
7644 * plugins/elements/gsttee.c:
7645 * plugins/elements/gsttypefindelement.c:
7646 (gst_type_find_element_handle_event):
7647 make GstElementDetails const
7649 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7651 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
7652 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7653 (gst_collect_pads_is_collected), (gst_collect_pads_event):
7654 more detailed debug and formatting cleanup,
7655 forward newsegments to src-pad (so that e.g. adder not eats them)
7657 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7659 * gst/gstutils.c: (gst_element_link_pads):
7662 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7664 * libs/gst/controller/gstcontroller.c:
7665 (gst_controller_sync_values):
7667 * tests/check/libs/controller.c: (GST_START_TEST),
7668 (gst_controller_suite):
7669 a new test for live value handling
7671 2006-04-28 Wim Taymans <wim@fluendo.com>
7673 * gst/gstutils.c: (push_and_ref):
7674 Added some more docs.
7675 Fix refcount issue whith gst_element_found_tags() helper
7676 function. Fixes #338335
7678 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7679 Added testsuite for gst_element_found_tags().
7681 2006-04-28 Michael Smith <msmith@fluendo.com>
7683 * gst/gstvalue.c: (gst_value_serialize_flags):
7684 Avoid NULL dereference when trying to serialize flags containing
7687 2006-04-28 Michael Smith <msmith@fluendo.com>
7689 * plugins/elements/gsttypefindelement.c:
7690 (gst_type_find_element_handle_event):
7691 If we get EOS before any data is accumulated, don't use
7692 uninitialised local variables.
7694 2006-04-28 Michael Smith <msmith@fluendo.com>
7696 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7697 (gst_dp_event_from_packet):
7698 Fixes in reading/writing events over GDP (not currently used?) -
7699 dereferencing NULL events for unknown/invalid event types, memory
7700 leak, and change g_warning to GST_WARNING.
7702 2006-04-28 Wim Taymans <wim@fluendo.com>
7704 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
7705 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7706 (gst_base_sink_get_position), (gst_base_sink_change_state):
7707 When frame dropping is enabled, we should not ignore frames
7709 Update some documentation.
7711 2006-04-28 Wim Taymans <wim@fluendo.com>
7713 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7714 (gst_base_src_send_event), (gst_base_src_change_state):
7715 Documentation updates.
7717 2006-04-28 Wim Taymans <wim@fluendo.com>
7719 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
7720 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
7721 handle EAGAIN, EINTR and short writes correctly. Also clean
7722 up some error cases, avoid a deadlock on bad file descriptors and
7723 use GST_DEBUG_OBJECT.
7726 2006-04-28 Wim Taymans <wim@fluendo.com>
7728 * gst/gstvalue.c: (gst_value_serialize_buffer),
7729 (gst_value_deserialize_buffer):
7730 Don't try to serialize a GValue with a NULL buffer.
7733 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7734 Added check for serialisation of NULL buffers.
7736 2006-04-28 Wim Taymans <wim@fluendo.com>
7738 * gst/gstminiobject.c: (gst_value_take_mini_object):
7739 Taking a NULL miniobject is valid, fix the case where
7740 we try to unref the NULL miniobject.
7742 2006-04-28 Wim Taymans <wim@fluendo.com>
7744 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7746 * gst/gstbin.c: (gst_bin_handle_message_func):
7748 Don't leak bin refcount when a state recalc is
7749 in progress and we delay another one #339808.
7751 2006-04-28 Wim Taymans <wim@fluendo.com>
7753 * docs/design/part-TODO.txt:
7754 Mention QoS as an ongoing work item.
7756 * docs/design/part-buffering.txt:
7757 New doc about buffering that needs to be fleshed out
7760 * docs/design/part-qos.txt:
7761 More QoS policy for decoders/demuxers/transforms
7763 * docs/design/part-trickmodes.txt:
7766 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7771 === release 0.10.5 ===
7773 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7776 releasing 0.10.5, "Fogo"
7778 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
7780 patch by: Wim Taymans
7782 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7783 (gst_pad_configure_src), (gst_pad_push):
7784 * gst/gstpipeline.c: (gst_pipeline_init):
7785 Fix internal data flow errors. Fixes #338711.
7787 2006-04-12 Wim Taymans <wim@fluendo.com>
7789 * tests/check/gst/gstelement.c: (GST_START_TEST):
7790 Don't leak the factory.
7792 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7795 * win32/common/config.h:
7798 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
7800 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7801 (gst_controller_unset_all):
7802 Free allocated GstTimedValues when freeing list nodes.
7803 Should fix leaks 'make check-valgrind' complains about.
7805 * win32/common/libgstcontroller.def:
7806 Add gst_controller_unset_all.
7808 2006-04-11 Stefan Kost <ensonic@users.sf.net>
7810 * docs/libs/gstreamer-libs-sections.txt:
7811 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7812 (gst_controller_unset_all):
7813 * libs/gst/controller/gstcontroller.h:
7814 API: Added new method gst_controller_unset_all()
7815 fixed gst_controller_unset()
7816 * tests/check/libs/controller.c: (GST_START_TEST),
7817 (gst_controller_suite):
7818 Added two testcases for new and fixed method
7820 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
7822 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7823 MSG_DONTWAIT is not defined on Cygwin, so work
7824 around that (fixes #317048).
7826 2006-04-11 Wim Taymans <wim@fluendo.com>
7828 * gst/gstelementfactory.c: (gst_element_register),
7829 (gst_element_factory_create), (gst_element_factory_make):
7832 Updated docs (Fixes #131079)
7834 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7837 * tests/check/gst/gstelement.c: (GST_START_TEST),
7838 (gst_element_suite):
7839 Added testcase for elementfactory class field.
7841 2006-04-10 Wim Taymans <wim@fluendo.com>
7844 Added some more docs.
7846 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7847 (gst_base_sink_reset_qos):
7848 Calculate more accurate rate values.
7850 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
7852 * gst/gst_private.h:
7853 add a new #ifdef to use __declspec(dllimport) only for
7854 other modules and not for gstreamer core
7855 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7856 use gst_guint64_to_gdouble for conversion
7857 * win32/common/libgstreamer.def:
7858 add new exported functions
7859 * win32/vs6/gst_inspect.dsp:
7860 * win32/vs6/gst_launch.dsp:
7861 * win32/vs6/libgstbase.dsp:
7862 * win32/vs6/libgstcontroller.dsp:
7863 * win32/vs6/libgstcoreelements.dsp:
7864 * win32/vs6/libgstdataprotocol.dsp:
7865 * win32/vs6/libgstnet.dsp:
7866 update project files
7868 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7870 * gst/gstbuffer.c: (gst_subbuffer_class_init):
7871 * gst/gstclock.c: (gst_clock_class_init):
7872 * gst/gstelement.c: (gst_element_class_init):
7873 * gst/gstindex.c: (gst_index_class_init):
7874 * gst/gstindexfactory.c: (gst_index_factory_class_init):
7875 * gst/gstobject.c: (gst_object_class_init),
7876 (gst_signal_object_class_init):
7877 * gst/gstpad.c: (gst_pad_class_init):
7878 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7879 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7880 * gst/gstregistry.c: (gst_registry_class_init):
7881 * gst/gstsystemclock.c: (gst_system_clock_class_init):
7882 * gst/gsttask.c: (gst_task_class_init):
7883 * gst/gstxml.c: (gst_xml_class_init):
7884 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7885 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7886 (gst_base_src_loop):
7887 * libs/gst/controller/gstcontroller.c:/
7888 (_gst_controller_class_init):
7889 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7890 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7891 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7892 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7893 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7894 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7896 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
7898 * gst/gstpad.c: (gst_pad_link):
7899 Must set peer pads before calling the link function, otherwise
7900 a task started from a link function might get a flow-not-linked
7901 result when trying to push because the other thread where the
7902 linking happens hasn't had a chance to set the peers yet. This
7903 might happen for example when a queue gets linked to a downstream
7904 element, as queue starts a streaming task when its source pad
7905 gets linked. Happens in real life when playing back flac/musepack
7906 files in playbin (#332390).
7908 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7912 * libs/gst/base/gstadapter.h:
7913 * libs/gst/base/gstbasesink.h:
7914 * libs/gst/base/gstbasesrc.h:
7915 * libs/gst/base/gstbasetransform.h:
7916 * libs/gst/base/gstcollectpads.h:
7917 * libs/gst/base/gstpushsrc.h:
7918 Fix broken GObject macros
7920 2006-04-07 Wim Taymans <wim@fluendo.com>
7922 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7923 Initialize start and stop times, thanks valgrind.
7925 2006-04-07 Wim Taymans <wim@fluendo.com>
7927 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7928 Be a bit nicer to badly behaving upstream elements that expect
7929 us to deal with non TIME segments and timestamps (such as fakesrc
7932 2006-04-07 Wim Taymans <wim@fluendo.com>
7935 Small documentation clarification about the signal watch.
7937 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7938 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7939 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7940 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7941 (gst_base_sink_get_position_last),
7942 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7943 Convert and store timestamps in stream time and running time, the
7944 raw timestamps are not useful, also document this better.
7945 Use different window sizes for good and bad QoS observations so
7946 we react to badness a little quicker.
7947 Keep track of the amount of rendered and dropped buffers.
7948 Send QoS timestamps in running time.
7950 * libs/gst/base/gstbasetransform.c:
7951 (gst_base_transform_sink_eventfunc),
7952 (gst_base_transform_handle_buffer):
7953 Compare QoS timestamps against running time.
7955 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7960 2006-04-06 Michael Smith <msmith@fluendo.com>
7962 * gst/gstpad.c: (gst_pad_set_property):
7963 Use g_value_get_object() instead of g_value_dup_gst_object(),
7964 to avoid double-reffing the pad template (which we then sink,
7965 so this worked previously if (and only if) the pad template
7968 * gst/gstpadtemplate.c: (gst_pad_template_init),
7969 (gst_pad_template_pad_created):
7970 Never return floating references to pad templates, create
7971 them as initially-sunken.
7973 Document an extra function (and make this stop sinking our
7974 pad template, since that is now guaranteed to do nothing,
7975 since we created it sunken).
7977 * gst/gstghostpad.c:
7980 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7982 * gst/gstinfo.c: (__gst_in_valgrind):
7985 * plugins/elements/gsttypefindelement.c:
7986 (gst_type_find_element_chain):
7987 Don't leak buffer caps.
7989 2006-04-06 Michael Smith <msmith@fluendo.com>
7991 * gst/parse/grammar.y:
7992 Fix a leak in parse-launch for any source-or-sink named element
7995 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7996 Unref the pipeline if it exists after we've failed parsing.
7998 2006-04-05 Michael Smith <msmith@fluendo.com>
8000 * gst/gstpipeline.c: (gst_pipeline_init):
8001 When we create a pipeline bus, initially create it in flushing mode.
8002 Fixes leaks in at least one test, and makes a new pipeline work the
8003 same as one that has gone to READY and then back to NULL.
8008 2006-04-05 Michael Smith <msmith@fluendo.com>
8010 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8011 Unref a pad we reffed.
8012 * tests/check/gst/gstutils.c: (GST_START_TEST):
8015 2006-04-05 Michael Smith <msmith@fluendo.com>
8017 * gst/gstquery.c: (gst_query_set_formats),
8018 (gst_query_set_formatsv):
8019 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8021 2006-04-05 Michael Smith <msmith@fluendo.com>
8023 * tests/check/generic/sinks.c: (GST_START_TEST):
8024 Fix a variety of memleaks in sinks check, which are only sometimes
8025 shown by running the tests under valgrind (weird?).
8027 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8029 * docs/version.entities.in:
8030 Fix the substituted entity name after thomas' changes on the
8033 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8035 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8038 2006-04-05 Andy Wingo <wingo@pobox.com>
8040 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8042 * libs/gst/base/gstbasetransform.c
8043 (gst_base_transform_sink_eventfunc): When resetting our segment on
8044 FLUSH_STOP, also update the flag saying we haven't seen a
8047 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8049 Patch by: Paolo Borelli <pborelli at katamail dot com>
8051 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8052 (gst_plugin_check_license):
8053 minor clean-ups: G_DEFINE_TYPE already takes care of the
8054 parent_class stuff, no need to do it twice. Mark array of
8055 license strings as constant. (#337103)
8057 2006-04-04 Michael Smith <msmith@fluendo.com>
8059 * tools/gst-inspect.c: (print_element_list):
8060 Free the right plugin list; fixes a memory leak.
8062 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8064 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8066 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8067 Don't error out on empty buffers (#336945).
8069 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8071 * docs/libs/gstreamer-libs-sections.txt:
8073 * libs/gst/base/gstbasesink.c:
8074 * libs/gst/base/gstbasesink.h:
8075 * libs/gst/base/gstbasesrc.c:
8076 * libs/gst/base/gstbasesrc.h:
8077 Documentation updates. Make BaseSink and BaseSrc docs contain the
8078 class structure so that people can actually see the prototypes for
8079 virtual functions they're supposed to be overriding.
8081 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8083 * plugins/elements/gsttypefindelement.c:
8084 (gst_type_find_element_chain):
8085 More debug info; when skipping typefinding, send cached
8086 events in all cases.
8088 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8091 use new AS_VERSION and AS_NANO macros
8092 * gst/gst-i18n-lib.h:
8095 * gst/gstversion.h.in:
8096 * win32/common/config.h:
8097 * win32/common/config.h.in:
8100 2006-03-31 Michael Smith <msmith@fluendo.com>
8102 * plugins/elements/gsttypefindelement.c:
8103 (gst_type_find_element_chain):
8104 Do not typefind content if the buffers already have caps.
8105 Neccesary for icydemux (#333657), and the right thing to do anyway.
8107 2006-03-30 Wim Taymans <wim@fluendo.com>
8109 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8110 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8111 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8112 (gst_base_sink_record_qos_observation),
8113 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8114 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8115 (gst_base_sink_change_state):
8116 More QoS measurements as described in the design doc.
8117 Get rid of ringbuffer with observations, running average is
8118 more simple and equally good.
8119 Calculates valid proportion now.
8120 Added beginning of flood measurement.
8122 2006-03-29 Wim Taymans <wim@fluendo.com>
8124 * docs/design/part-qos.txt:
8126 Small documentation updates and additions.
8128 2006-03-29 Wim Taymans <wim@fluendo.com>
8130 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8131 (gst_base_src_send_event), (gst_base_src_loop),
8132 (gst_base_src_change_state):
8133 Perform the EOS logic when we reach the segment stop position.
8134 Fix compilation on gcc4.1
8136 2006-03-29 Wim Taymans <wim@fluendo.com>
8138 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8140 * plugins/elements/gstqueue.c: (gst_queue_init),
8141 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8142 (gst_queue_set_property):
8143 * plugins/elements/gstqueue.h:
8144 In queue, when EOS is received, if minimum threshold > max_size -
8145 current_level, there is chance that queue blocks forever in conditional
8146 item del wait. This is because the queue is not emptied completely due
8147 to minimum threshold. Here is another approach. Instead of setting
8148 cur_levels to max in EOS, just zero all minimum threshold levels. This
8149 should make sure that queue gives out all data. When going to READY
8150 (stop) state, just reset the original minimum threshold levels.
8153 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8155 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8156 (gst_type_find_element_handle_event),
8157 (gst_type_find_element_send_cached_events),
8158 (gst_type_find_element_change_state):
8159 * plugins/elements/gsttypefindelement.h:
8160 When typefinding is done in push mode, we should cache
8161 events we receive during typefinding instead of just
8162 dropping them (e.g. newsegment, custom events from
8163 dvdreadsrc etc.) and then send them out once we've
8164 determined the type of the stream (and decodebin
8165 has had a chance to plug in a decoder/demuxer).
8167 2006-03-27 Wim Taymans <wim@fluendo.com>
8169 * docs/design/part-qos.txt:
8172 2006-03-27 Wim Taymans <wim@fluendo.com>
8174 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8176 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8177 (gst_base_src_send_event), (gst_base_src_change_state):
8178 Handle element seek correctly when we are streaming.
8181 2006-03-24 Michael Smith <msmith@fluendo.com>
8183 * docs/faq/gst-uninstalled:
8184 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8185 allow you to correctly run intalled applications built against old
8186 core, using plugins that require updated core (e.g. running
8187 installed totem against a full uninstalled gstreamer stack)
8189 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8191 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8194 2006-03-24 Wim Taymans <wim@fluendo.com>
8196 * docs/gst/gstreamer-sections.txt:
8197 Rearrange the order of the methods so that related methods
8198 are grouped together in sections.
8200 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8203 Little clarification in the docs
8205 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8209 * plugins/elements/gstidentity.c:
8210 * plugins/elements/gstqueue.c:
8211 * plugins/elements/gsttee.c:
8212 * plugins/elements/gsttypefindelement.c:
8213 GST_ELEMENT_DETAILS formatting
8215 2006-03-24 Wim Taymans <wim@fluendo.com>
8217 * libs/gst/base/gstbasesink.h:
8218 Only add fields, not insert or we break ABI.
8220 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8222 * win32/common/libgstbase.def:
8223 * win32/common/libgstreamer.def:
8224 Update, add recently added functions.
8226 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8228 * docs/gst/gstreamer-sections.txt:
8229 * gst/gstutils.c: (gst_pad_query_peer_position),
8230 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8232 API: add some new utility functions:
8233 - gst_pad_query_peer_position()
8234 - gst_pad_query_peer_duration()
8235 - gst_pad_query_peer_convert()
8237 2006-03-23 Wim Taymans <wim@fluendo.com>
8239 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8240 (gst_base_sink_init), (gst_base_sink_finalize),
8241 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8242 (gst_base_sink_set_property), (gst_base_sink_get_property),
8243 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8244 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8245 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8246 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8247 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8248 (gst_base_sink_preroll_object), (gst_base_sink_event),
8249 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8250 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8251 (gst_base_sink_query), (gst_base_sink_change_state):
8252 Decouple max-lateness and the fact that QoS messages are generated
8253 with a new property (qos).
8254 added API: GstBaseSink::async_play()
8255 Add vmethod so subclasses can be notified of ASYNC playing
8257 Collect timestamp start and stop to report better current
8258 position in EOS/PLAYING/PAUSED/READY/NULL.
8259 Refactor QoS/frame dropping and other measurements.
8260 API: GstBaseSrc::qos
8263 * libs/gst/base/gstbasesink.h:
8264 Added Private struct.
8265 API: gst_base_sink_set_qos_enabled()
8266 API: gst_base_sink_is_qos_enabled()
8268 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8270 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8271 If compiling against GLib-2.8 or newer, try to read the
8272 registry file using GMappedFile first before falling back
8273 to fopen() + fread() (#332151).
8275 2006-03-22 Wim Taymans <wim@fluendo.com>
8277 * gst/gstinfo.c: (gst_debug_set_active),
8278 (gst_debug_category_set_threshold):
8279 Disable debugging unless explicitly activated.
8282 2006-03-22 Wim Taymans <wim@fluendo.com>
8284 * gst/gstelement.c: (gst_element_set_locked_state),
8285 (gst_element_dispose):
8286 Cleanup the error case.
8288 * gst/gstobject.c: (gst_object_dispose):
8289 print a critical when some object was disposed with
8290 a parent, also revive the object since it might
8293 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8295 * tools/gst-launch.1.in:
8298 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8301 * tests/check/Makefile.am:
8302 disable some tests when we don't have a registry
8303 * tests/check/gst/gstutils.c: (gst_utils_suite):
8304 don't build the part that needs parsing
8306 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8309 * tests/examples/Makefile.am:
8310 fix --disable-parse build
8312 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8314 * tools/gst-feedback.1.in:
8315 Fix typo: s/feeback/feedback/ (#133494).
8317 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8319 * tools/Makefile.am:
8320 * tools/gst-launch.1.in:
8321 Add FILES section and correct entry about GST_REGISTRY_PATH
8322 environment variable (#133495; #133494).
8324 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8326 * tools/Makefile.am:
8327 * tools/gst-md5sum.1.in:
8328 * tools/gst-md5sum.c:
8329 Remove gst-md5sum and man page (the md5sink element
8330 required was removed ages ago)
8332 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8334 * gst/gststructure.c: (gst_structure_id_set_value):
8335 Make sure that string fields in structures/taglists
8336 contain valid UTF-8 - we don't want to pass rubbish to
8337 applications because of a buggy plugin (cp. #334167).
8339 2006-03-21 Edward Hervey <edward@fluendo.com>
8341 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8342 (gst_bin_handle_message_func):
8343 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8344 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8345 (gst_element_set_bus_func):
8346 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8347 * gst/gstminiobject.c: (gst_value_set_mini_object),
8348 (gst_value_take_mini_object):
8349 * gst/gstpad.c: (gst_pad_set_pad_template):
8350 * gst/gstpipeline.c: (gst_pipeline_dispose),
8351 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8352 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8353 (gst_collect_pads_chain):
8354 * libs/gst/net/gstnettimeprovider.c:
8355 (gst_net_time_provider_set_property):
8356 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8357 It's in fact all issues with gst_*object_replace().
8359 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8361 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
8363 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8364 * pkgconfig/gstreamer-check.pc.in:
8365 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8367 2006-03-21 Edward Hervey <edward@fluendo.com>
8372 gst_[buffer|event|message]_ref() macros are replaced by a static
8373 inline functions because gcc-4.1 will about if the return value
8375 * tests/check/gst/gstevent.c: (event_probe):
8376 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8378 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
8381 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8382 the type' case. (Closes: #335195 for now). In the future, when we
8383 depend on GLib 2.10, we could also intern the type name using
8384 g_intern_static_string()
8386 2006-03-20 Wim Taymans <wim@fluendo.com>
8388 * gst/gstbin.c: (gst_bin_handle_message_func),
8389 (bin_query_max_init), (bin_query_position_fold),
8390 (bin_query_position_done), (gst_bin_query):
8391 Position query should also take max of all streams.
8393 2006-03-20 Wim Taymans <wim@fluendo.com>
8395 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8396 (gst_fake_src_finalize):
8397 Fix leaks in fakesrc.
8399 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8400 Fix leaks in the testcase.
8402 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
8404 * gst/gst_private.h:
8405 add win32 specific import decoration(__declspec(dllimport))
8406 for all extern GstDebugCategory * variables
8407 * win32/common/libgstbase.def:
8408 * win32/common/libgstcontroller.def:
8409 * win32/common/libgstreamer.def:
8410 Add some exports, remove empty lines
8411 * win32/common/libgstdataprotocol.def:
8412 * win32/common/libgstdataprotocol.dsp:
8413 * win32/common/libgstnet.def:
8414 * win32/common/libgstnet.dsp:
8415 new project files and exportation files added
8417 2006-03-19 Wim Taymans <wim@fluendo.com>
8419 * tests/check/libs/basesrc.c: (eos_event_counter):
8420 Use proper return value for probe.
8422 2006-03-17 Wim Taymans <wim@fluendo.com>
8424 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8426 Don't leak buffers, caps and pads on negotiation errors.
8428 2006-03-16 Stefan Kost <ensonic@users.sf.net>
8431 * docs/faq/dependencies.xml:
8432 * docs/faq/developing.xml:
8434 * docs/faq/general.xml:
8435 * docs/faq/getting.xml:
8436 * docs/faq/legal.xml:
8437 * docs/faq/troubleshooting.xml:
8438 * docs/faq/using.xml:
8439 Faq review and update.
8441 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
8443 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8445 Don't pound the cpu to pieces by checking get_caps when accept_caps
8446 is called with the same caps as the pad already has.
8447 Use GST_DEBUG_OBJECT when outputting caps change information.
8449 2006-03-15 Wim Taymans <wim@fluendo.com>
8451 * gst/gstclock.c: (gst_clock_class_init):
8454 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
8459 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
8460 (gst_pad_accept_caps), (gst_pad_configure_sink),
8461 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
8462 Make the default acceptcaps behaviour be to check the requested
8463 caps against the gst_pad_get_caps output.
8465 Ensure that gst_pad_accept_caps is used to check caps when a pad
8466 doesn't have a setcaps function, so that pads automatically refuse
8467 caps that they don't allow in their pad template. (Fixes #332986)
8469 When a buffer with attached caps is pushed, ensure that the source
8470 pad receives those caps even if the element didn't call
8471 gst_pad_set_caps first.
8473 2006-03-15 Wim Taymans <wim@fluendo.com>
8475 * libs/gst/base/gstadapter.c:
8478 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
8480 * win32/common/libgstbase.def:
8481 * win32/common/libgstcontroller.def:
8482 * win32/common/libgstreamer.def:
8483 Add a whole bunch of missing functions (#334434).
8485 2006-03-14 Wim Taymans <wim@fluendo.com>
8487 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8488 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8489 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
8490 Better debug info when we receive a segment event.
8491 Reorganize a bit so we can pass the get_times() results around.
8492 Use the segment format when calculating the running time.
8493 Don't do QoS is sync is disabled or we have no clock or the
8494 element does not want us to sync to the clock.
8495 Don't drop buffers if QoS is disabled for now.
8497 2006-03-14 Wim Taymans <wim@fluendo.com>
8499 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
8500 Marked the stats property as unimplemented so people don't get
8502 Add debug message when regression goes wrong.
8503 Added some more docs.
8505 2006-03-14 Wim Taymans <wim@fluendo.com>
8507 * gst/gstsegment.c: (gst_segment_to_stream_time):
8508 Return correct return type in case of errors.
8510 2006-03-14 Wim Taymans <wim@fluendo.com>
8512 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
8513 Don't segfault on invalid formats.
8515 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
8517 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8518 Can't use gst_segment_to_running_time() when the segment
8519 is not in GST_TIME_FORMAT (like with filesink, for example).
8520 Stops flac encoding pipelines from spewing critical warnings
8523 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
8525 * gst/gstpipeline.c: (gst_pipeline_class_init):
8526 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
8528 * plugins/elements/gsttypefindelement.c:
8529 (gst_type_find_element_handle_event):
8530 Don't try to typefind empty streams.
8532 2006-03-14 Wim Taymans <wim@fluendo.com>
8534 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8535 (gst_base_sink_do_qos):
8536 Separate QoS calculation.
8537 Only drop buffers when lateness is bigger than the
8538 duration of the buffer.
8540 2006-03-13 Wim Taymans <wim@fluendo.com>
8542 * gst/gstpipeline.c: (gst_pipeline_set_property),
8543 (gst_pipeline_get_property), (do_pipeline_seek),
8544 (gst_pipeline_change_state), (gst_pipeline_set_delay),
8545 (gst_pipeline_get_delay):
8546 Don't deadlock when reading properties.
8548 2006-03-13 Wim Taymans <wim@fluendo.com>
8550 * libs/gst/base/gstbasetransform.c:
8551 (gst_base_transform_class_init), (gst_base_transform_init),
8552 (gst_base_transform_sink_event),
8553 (gst_base_transform_sink_eventfunc),
8554 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
8555 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8556 (gst_base_transform_set_property),
8557 (gst_base_transform_get_property),
8558 (gst_base_transform_change_state), (gst_base_transform_update_qos),
8559 (gst_base_transform_set_qos_enabled),
8560 (gst_base_transform_is_qos_enabled):
8561 * libs/gst/base/gstbasetransform.h:
8562 Make basetransform virtual method for src events too.
8563 Handle QOS in basetransform.
8564 API: gst_base_transform_update_qos()
8565 API: gst_base_transform_set_qos_enabled()
8566 API: gst_base_transform_is_qos_enabled()
8568 2006-03-13 Wim Taymans <wim@fluendo.com>
8570 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8571 (gst_base_sink_do_sync):
8573 Use QOS debug category.
8575 2006-03-13 Wim Taymans <wim@fluendo.com>
8577 * plugins/elements/gstqueue.c:
8578 Very small doc update.
8580 2006-03-13 Wim Taymans <wim@fluendo.com>
8582 * gst/gst_private.h:
8583 * gst/gstinfo.c: (_gst_debug_init):
8584 Added QOS debug category
8586 2006-03-13 Wim Taymans <wim@fluendo.com>
8588 * docs/gst/gstreamer-sections.txt:
8589 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
8591 * gst/gstbus.c: (gst_bus_class_init):
8594 * gst/gstelement.c: (gst_element_set_locked_state):
8596 Documentation updates.
8598 * gst/gstpipeline.c: (gst_pipeline_get_type),
8599 (gst_pipeline_class_init), (gst_pipeline_init),
8600 (gst_pipeline_dispose), (gst_pipeline_set_property),
8601 (gst_pipeline_get_property), (do_pipeline_seek),
8602 (gst_pipeline_send_event), (gst_pipeline_change_state),
8603 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
8604 (gst_pipeline_get_delay):
8605 * gst/gstpipeline.h:
8606 Added methods for setting the delay.
8607 API: gst_pipeline_set_delay()
8608 API: gst_pipeline_get_delay()
8609 Add pipeline debug category
8612 Don't reset stream time when seek failed.
8614 2006-03-13 Wim Taymans <wim@fluendo.com>
8616 * docs/design/draft-klass.txt:
8617 * docs/design/part-clocks.txt:
8618 * docs/design/part-events.txt:
8619 * docs/design/part-gstbin.txt:
8620 * docs/design/part-gstpipeline.txt:
8621 * docs/design/part-messages.txt:
8622 * docs/design/part-negotiation.txt:
8623 * docs/design/part-overview.txt:
8624 * docs/design/part-preroll.txt:
8625 * docs/design/part-seeking.txt:
8626 * docs/design/part-states.txt:
8627 * docs/design/part-streams.txt:
8628 Documentation updates.
8630 2006-03-12 Julien MOUTTE <julien@moutte.net>
8632 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
8633 us to leak strings...
8635 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
8637 * libs/gst/net/gstnettimeprovider.c:
8639 * win32/common/config.h:
8642 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
8644 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
8647 Don't check for libgnomeui (leftover from old examples
8648 that aren't built or disted any longer) (#334303).
8650 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
8652 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
8653 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8654 Emit RESOURCE_NO_SPACE_LEFT error here as well when
8655 there's no space left on the device.
8657 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
8660 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
8661 to cast the input to GstClockTime before comparing with
8662 another GstClockTime value.
8664 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8669 === release 0.10.4 ===
8671 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8674 releasing 0.10.4, "Light"
8676 2006-03-10 Michael Smith <msmith@fluendo.com>
8678 * libs/gst/dataprotocol/dataprotocol.c:
8679 Fix docs for dataprocotol to not get the return types completely
8680 wrong for a few functions.
8682 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8684 * docs/gst/gstreamer-sections.txt:
8685 * gst/gstpipeline.c: (gst_pipeline_class_init),
8686 (gst_pipeline_init), (gst_pipeline_set_property),
8687 (gst_pipeline_get_property), (gst_pipeline_change_state),
8688 (gst_pipeline_set_auto_flush_bus),
8689 (gst_pipeline_get_auto_flush_bus):
8690 * gst/gstpipeline.h:
8691 Add new API: gst_pipeline_set_auto_flush_bus() and
8692 gst_pipeline_get_auto_flush_bus() to disable automatic
8693 flushing of the pipeline's GstBus when going from READY
8694 to NULL state (#332045).
8696 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8698 * docs/gst/gstreamer-sections.txt:
8699 * gst/gsturi.c: (gst_uri_has_protocol):
8701 Add new API: gst_uri_has_protocol() (#333779).
8703 2006-03-09 Wim Taymans <wim@fluendo.com>
8705 * gst/gstclock.c: (gst_clock_entry_new),
8706 (gst_clock_id_compare_func), (gst_clock_id_wait),
8707 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
8708 (gst_clock_init), (gst_clock_get_internal_time),
8709 (gst_clock_set_master), (do_linear_regression),
8710 (gst_clock_add_observation), (gst_clock_set_property):
8714 Fix a possible segfault when the window-size is made smaller.
8715 Calculate jitter before performing the clock wait. Ideally
8716 the clock implementation should calculate jitter but we need
8717 API breakage for that.
8719 * gst/gstsystemclock.c: (gst_system_clock_init):
8722 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8723 Remove leftover else
8725 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8726 (gst_systemclock_suite):
8727 Added check to test GST_CLOCK_DIFF.
8729 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8731 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
8732 (gst_type_find_helper_get_range):
8733 If we are provided with the size, we should implement
8734 GstTypeFind::get_length, so that typefind functions who
8735 want to can actually peek at the middle of a file.
8737 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
8739 * docs/manual/advanced-dataaccess.xml:
8740 Add some very very basic error checking.
8742 * docs/pwg/appendix-checklist.xml:
8743 Some updates to the list of things to check when writing an element.
8745 2006-03-08 Wim Taymans <wim@fluendo.com>
8747 * docs/design/part-element-transform.txt:
8748 Added some docs about the design of tranform elements.
8750 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8751 (gst_base_src_loop), (gst_base_src_change_state):
8752 Mark buffers with the DISCONT flag.
8754 2006-03-08 Michael Smith <msmith@fluendo.com>
8756 * gst/gstregistry.h:
8757 * gst/gstregistryxml.c: (gst_registry_save),
8758 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8759 (gst_registry_xml_save_pad_template),
8760 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8761 (gst_registry_xml_write_cache):
8762 Rewrite registry-saving to avoid race conditions and check for
8765 2006-03-08 Wim Taymans <wim@fluendo.com>
8767 * libs/gst/base/gstbasetransform.c:
8768 (gst_base_transform_transform_caps),
8769 (gst_base_transform_transform_size),
8770 (gst_base_transform_prepare_output_buffer),
8771 (gst_base_transform_get_unit_size),
8772 (gst_base_transform_buffer_alloc),
8773 (gst_base_transform_handle_buffer),
8774 (gst_base_transform_change_state):
8775 Cleanups, separate normal flow from errors, add sensible
8777 Don't try to renegotiate when allocating an output buffer.
8778 Also copy DISCONT buffer flag when copying a buffer.
8779 Reset the transform after we finish streaming, not during.
8781 2006-03-08 Wim Taymans <wim@fluendo.com>
8783 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8784 Use last buffer timestamp in qos message.
8786 2006-03-07 Wim Taymans <wim@fluendo.com>
8788 Patch by: Christophe Fergeau
8790 * docs/pwg/advanced-tagging.xml:
8791 * docs/pwg/building-pads.xml:
8794 2006-03-07 Wim Taymans <wim@fluendo.com>
8796 * docs/libs/gstreamer-libs-sections.txt:
8797 Added basesink new methods.
8801 Docs updates. Flesh out the QoS docs.
8803 * libs/gst/base/gstadapter.c:
8804 Small doc clarification about ownership and flushing.
8806 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8807 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8808 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8809 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8810 * libs/gst/base/gstbasesink.h:
8812 Added new methods to allow subclass to control max-lateness
8814 Generate very basic QoS events based on last sync observation.
8815 Updated docs, fix typo, added some QoS blurb.
8817 * libs/gst/base/gstbasesrc.c:
8818 Remove obsolete _get_state() calls from docs.
8820 2006-03-07 Wim Taymans <wim@fluendo.com>
8822 * docs/libs/gstreamer-libs-sections.txt:
8823 * libs/gst/base/gstbasetransform.h:
8824 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8825 Fix docs for GstBaseSrc.
8827 2006-03-07 Wim Taymans <wim@fluendo.com>
8829 * docs/gst/gstreamer-sections.txt:
8832 * libs/gst/base/gstbasetransform.h:
8833 Small documentation fixes.
8835 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8838 Document thread-unsafety of gst_value_register_foo_func()
8839 when used at the same time as gst_value_foo() (#322628).
8841 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8843 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8844 (gst_push_src_check_get_range):
8845 Push sources don't support pull mode by default.
8847 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8849 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8850 (gst_base_src_init), (gst_base_src_pad_check_get_range),
8851 (gst_base_src_default_check_get_range):
8852 * libs/gst/base/gstbasesrc.h:
8853 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8854 provide default implementation, and rename
8855 gst_base_src_check_get_range() to
8856 gst_base_src_pad_check_get_range() for clarity.
8858 2006-03-06 Wim Taymans <wim@fluendo.com>
8860 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8861 Make property overridable.
8863 2006-03-06 Wim Taymans <wim@fluendo.com>
8865 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8866 (gst_base_sink_init), (gst_base_sink_set_property),
8867 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8868 * libs/gst/base/gstbasesink.h:
8869 API addition: Make max-lateness a property.
8871 2006-03-06 Wim Taymans <wim@fluendo.com>
8873 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8874 (gst_base_sink_do_sync), (gst_base_sink_render_object):
8875 Don't ever draw a frame that is >10ms late.
8877 2006-03-06 Michael Smith <msmith@fluendo.com>
8879 * gst/gstmessage.c: (_gst_message_copy):
8880 When copying a message, set the parent_refcount of the enclosed
8881 structure to point at the copy, not the original message.
8883 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8885 Patch by: Christophe Fergeau
8888 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8889 usable in c++ code (#333417)
8891 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
8894 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8896 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
8898 * libs/gst/base/gstbasetransform.c:
8899 (gst_base_transform_transform_caps):
8900 Make sure caps are writable before passing them to
8903 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8906 Fix some minor docs errors.
8908 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8910 Patch by: Ross Burton <ross at burtonini dot com>
8912 * gst/gsterror.c: (_gst_resource_errors_init):
8914 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8916 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8919 Add a check and output a g_warning when GStreamer is built
8920 against GLib 2.6 but running against 2.8 or higher, and vice
8921 versa. (Closes: #323542)
8923 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8925 * gst/parse/parse.l:
8926 Commit patch for parse_launch syntax from #331255. Removes
8927 support for quoted strings and mimetypes when writing filtered
8928 caps. See the bug report for more details - I'm pretty sure this
8929 obscure feature is not in use by _anyone_ anywhere.
8931 With this simple change, the size of the gstreamer.so here
8932 drops from 2193KB to 1565KB.
8934 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8936 * plugins/elements/gsttypefindelement.h:
8937 * plugins/elements/gsttypefindelement.c:
8938 (gst_type_find_element_src_event), (start_typefinding),
8939 (stop_typefinding), (gst_type_find_element_handle_event),
8940 (gst_type_find_element_chain),
8941 (gst_type_find_element_chain_do_typefinding):
8942 Use gst_type_find_helper_for_buffer() for chain-based
8945 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8947 * plugins/elements/gsttypefindelement.c:
8948 (gst_type_find_element_class_init),
8949 (gst_type_find_element_set_property),
8950 (gst_type_find_element_get_property):
8951 Deprecate "maximum" property (not only was it only taken into
8952 account for typefinding in push-mode anyway, it also was never
8953 actually possible to set it in the first place because the
8954 property was registered with the numeric property ID for the
8955 "minimum" property). Register "maximum" property correctly,
8956 for the sake of future copy'n'pasters. Remove some cruft
8957 from property get/set functions.
8959 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8961 * plugins/elements/gsttypefindelement.c:
8962 (gst_type_find_element_activate):
8963 Use gst_type_find_helper_get_range() here, so we
8964 can honour the "minimum" property and also emit
8965 the signal with the correct probability of the found caps.
8967 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
8969 * docs/libs/gstreamer-libs-sections.txt:
8970 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8971 (helper_find_suggest), (gst_type_find_helper_get_range),
8972 (gst_type_find_helper):
8973 * libs/gst/base/gsttypefindhelper.h:
8974 New API: gst_type_find_helper_get_range() (#333042).
8976 2006-03-02 Michael Smith <msmith@fluendo.com>
8978 * gst/gstregistryxml.c: (load_feature):
8979 Asserting on a failure to read part of the registry is Not Cool.
8980 Just log a warning and return NULL (which is already handled)
8982 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
8984 * win32/common/libgstbase.def:
8985 added export of gst_type_find_helper_for_buffer
8986 * win32/common/libgstbase.def:
8987 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8988 gst_ghost_pad_get_target
8990 2006-02-28 Wim Taymans <wim@fluendo.com>
8992 * docs/design/draft-klass.txt:
8994 Added Connector to mark elements that are only used to
8995 allow pipeline connections.
8996 Moved Debug to extra feature since most of them are
8997 functionally something else.
8999 2006-02-28 Wim Taymans <wim@fluendo.com>
9001 * docs/design/draft-klass.txt:
9002 Some updates and clarifications.
9004 2006-02-28 Wim Taymans <wim@fluendo.com>
9006 * docs/design/draft-klass.txt:
9007 Proposal for klass field values.
9009 * docs/design/part-streams.txt:
9010 Start of a doc describing stream anatomy.
9012 2006-02-28 Wim Taymans <wim@fluendo.com>
9014 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9015 Help the compiler a bit with type registration.
9016 Use existing forward cod path instead of duplicating it when
9019 * gst/gstbus.c: (gst_bus_get_type):
9020 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9021 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9022 * gst/gstclock.c: (gst_clock_get_type):
9023 * gst/gstelement.c: (gst_element_get_type),
9024 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9025 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9026 * gst/gstminiobject.c: (gst_mini_object_get_type):
9027 * gst/gstpad.c: (gst_pad_get_type):
9028 * gst/gstsegment.c: (gst_segment_get_type):
9029 * gst/gststructure.c: (gst_structure_get_type):
9030 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9031 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9033 Help compiler with type registration.
9035 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9038 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9040 * plugins/elements/gsttypefindelement.c:
9041 (gst_type_find_element_handle_event):
9042 When we get an EOS event and have not found a type yet
9043 (most likely because we had not yet accumulated
9044 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9045 type given the data we have so far. Fixes typefinding
9046 for very short streams again, most notably quicktime
9047 redirections as used on Apple's trailer site (#331701).
9049 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9051 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9052 (gst_type_find_helper):
9053 Try typefinding factories with the highest rank first.
9055 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9057 * docs/libs/gstreamer-libs-docs.sgml:
9058 * docs/libs/gstreamer-libs-sections.txt:
9059 * libs/gst/base/gsttypefindhelper.c:
9060 Add section for typefind helper and add documentation
9061 for the old and the new function.
9063 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9065 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9066 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9067 (gst_type_find_helper_for_buffer):
9068 * libs/gst/base/gsttypefindhelper.h:
9069 New API: gst_type_find_helper_for_buffer() (#332723).
9071 2006-02-27 Michael Smith <msmith@fluendo.com>
9073 Patch by: Loïc Minier
9077 * docs/slides/Makefile.am:
9078 prevent CVS directories getting disted.
9080 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9082 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9083 Use the REFCOUNTING category for caps refcounting.
9085 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9087 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9088 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9090 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9092 * plugins/elements/gsttypefindelement.c:
9093 (gst_type_find_element_activate):
9094 Use gst_pad_check_pull_range() before _activate_pull()
9095 to avoid unnecessary open/close (see #331690).
9097 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9100 Docs enhancement: make it crystal clear what the
9101 gst_pad_add_*_probe() callbacks should look like.
9103 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9105 * libs/gst/base/gstbasesrc.c:
9106 Document how applications can stop recording from
9107 live sources (see #330996).
9109 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9111 * tests/check/Makefile.am:
9112 * tests/check/libs/basesrc.c: (eos_event_counter),
9113 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9114 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9115 (gst_basesrc_suite), (main):
9116 ... and add some tests for the base source EOS stuff.
9118 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9120 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9121 Test case originally showed the problem fixed below,
9122 but was then amended. Add checks back at the place
9123 where they used to be.
9125 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9127 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9128 (gst_base_src_init), (gst_base_src_loop),
9129 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9130 (gst_base_src_change_state):
9131 * libs/gst/base/gstbasesrc.h:
9132 Don't unconditionally send EOS when going from PAUSED to
9133 READY state, esp. make sure we don't send two EOS events
9134 in some cases (e.g. one when reaching EOS and one when
9135 going from PAUSED to READY). Also, we don't want to send
9136 EOS events when operating in pull mode. However, we do
9137 want to send an EOS event when shutting down a live
9138 source explicitly, for example (fixes #330996).
9140 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9142 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9143 Update src->read_position after a seek when not using mmap.
9144 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9146 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9152 Make things work with --disable-parse as they do with
9153 --disable-load-save - the symbols involved disappear, but the
9154 header is still installed and GST_DISABLE_PARSE is included via
9157 2006-02-20 Julien MOUTTE <julien@moutte.net>
9159 * libs/gst/base/gstbasetransform.c:
9160 (gst_base_transform_change_state): Fix a stupid bug. I was
9161 sure I compiled that.
9163 2006-02-20 Julien MOUTTE <julien@moutte.net>
9165 * gst/gstpad.c: (gst_pad_set_blocked_async):
9166 * gst/gstutils.c: (gst_pad_add_data_probe),
9167 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9168 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9169 (gst_pad_remove_buffer_probe): Make those function act on the
9170 ghostpad target when it's a ghostpad. (Closes #331727)
9172 2006-02-20 Julien MOUTTE <julien@moutte.net>
9174 * libs/gst/base/gstbasetransform.c:
9175 (gst_base_transform_change_state): Make basetransform reusable.
9178 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9180 * docs/random/release:
9181 Move the current documentation of how to do a release to the top
9184 * gst/gstbin.c: (gst_bin_class_init),
9185 (gst_bin_handle_message_func):
9186 Allow multiple state-recalculation threads. (Closes #328873)
9188 2006-02-19 Julien MOUTTE <julien@moutte.net>
9190 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9191 * gst/gstpad.c: (gst_pad_set_event_function),
9192 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9193 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9194 2 strings. You can't use the STR_NULL macro on that.
9196 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9198 * gst/gstpad.c: (gst_pad_set_event_function),
9199 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9200 (gst_pad_set_getcaps_function)
9201 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9202 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9203 So now, we can use --gst-debug-level=5 on Windows
9204 * win32/common/libgstcontroller.def:
9205 Added export of gst_controller_init
9206 * win32/vs6/libgstcontroller.dsp:
9207 Fixed Release post build configuration
9209 2006-02-17 Wim Taymans <wim@fluendo.com>
9211 * tests/check/gst/gstquery.c: (GST_START_TEST):
9212 Added another check.
9214 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9216 * plugins/elements/gsttypefindelement.c: (find_peek):
9217 We can do peeks at non-zero offsets, as long as they
9218 fall within the buffer we have.
9220 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9222 * tests/check/Makefile.am:
9223 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9224 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9225 (parse_suite), (main):
9226 Add testsuite for parse launch syntax
9228 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9230 * plugins/elements/gsttypefindelement.c:
9231 (gst_type_find_element_chain):
9232 When typefinding is unsuccessful in the chain function, don't
9233 error out immediately. Only error out with NO_CAPS_FOUND if
9234 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9235 otherwise simply wait for more data so we can try typefinding
9236 again with more data later. Also, don't attempt to typefind
9237 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9238 this should improve typefinding from network sources where the
9239 size of the first buffer can be somewhat random.
9241 2006-02-14 Wim Taymans <wim@fluendo.com>
9243 * docs/gst/gstreamer-sections.txt:
9244 * gst/gstpadtemplate.c:
9245 * gst/gstpadtemplate.h:
9246 Fix padtemplate docs, fixes #328805.
9248 2006-02-14 Wim Taymans <wim@fluendo.com>
9250 * tools/gst-launch.c: (main):
9251 NO_PREROLL is not an ERROR so don't send confusing messages
9254 2006-02-14 Wim Taymans <wim@fluendo.com>
9256 Patch by: Torsten Schoenfeld
9258 * gst/gstregistry.c: (gst_registry_get_default),
9259 (_gst_registry_cleanup):
9260 Protect default registry with lock and ref/sink it.
9263 2006-02-14 Wim Taymans <wim@fluendo.com>
9266 * gst/gstquery.c: (gst_query_list_add_format),
9267 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9268 (gst_query_parse_formats_nth):
9269 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9272 2006-02-14 Wim Taymans <wim@fluendo.com>
9274 * docs/gst/gstreamer-sections.txt:
9275 Reworked query docs.
9277 * gst/gstquery.c: (gst_query_new_formats),
9278 (gst_query_list_add_format), (gst_query_set_formats),
9279 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9280 (gst_query_parse_formats_nth):
9282 Flesh out formats query, added some new methods.
9283 Fix part of #324398.
9285 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9286 Added query creation tests.
9288 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9290 * gst/gstpad.c: (fixate_value):
9291 Add a default fixation for fraction lists.
9293 2006-02-13 Wim Taymans <wim@fluendo.com>
9295 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9296 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9299 Detect and warn for obvious deadlocks. fixes #320340
9300 Fix error case where lock was not released.
9302 * tests/check/Makefile.am:
9303 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9304 (task_func), (gst_element_suite), (main):
9307 2006-02-13 Wim Taymans <wim@fluendo.com>
9309 * docs/gst/gstreamer-sections.txt:
9311 Add new functions to docs.
9313 2006-02-13 Wim Taymans <wim@fluendo.com>
9315 * docs/design/part-TODO.txt:
9316 Updated TODO list, basesrc supports seeking to non-bytes
9319 * docs/design/part-element-sink.txt:
9322 * gst/gstbin.c: (bin_replace_message),
9323 (gst_bin_handle_message_func):
9324 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9325 * gst/gstevent.c: (gst_event_finalize):
9326 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9327 (gst_pad_send_event):
9328 Use shiny new _TYPE_NAME macros.
9330 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9331 Move debug statement up.
9333 * gst/gstelement.c: (gst_element_set_locked_state):
9336 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
9338 * docs/gst/gstreamer-sections.txt:
9341 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9342 macros (#330906). Also, document the already existing
9343 GST_QUERY_TYPE macro.
9345 2006-02-13 Wim Taymans <wim@fluendo.com>
9347 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9348 (event_probe), (GST_START_TEST):
9349 Only events up to the pipeline EOS are counted, there are
9350 some more when going to NULL currently which we don't care
9353 2006-02-13 Wim Taymans <wim@fluendo.com>
9355 * gst/gstpad.c: (gst_pad_send_event):
9356 Correctly check flushing and emit probes. fixes #330125
9358 2006-02-10 Andy Wingo <wingo@pobox.com>
9360 * gst/gstbus.c (gst_bus_class_init): Declare our private data
9362 (gst_bus_init): Cache the location of the private data in the
9364 (gst_bus_enable_sync_message_emission)
9365 (gst_bus_disable_sync_message_emission): Implement new public
9367 (gst_bus_post): Emit the sync-message signal if the user asked for
9370 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9371 location of the bus-private structure.
9372 (gst_bus_enable_sync_message_emission)
9373 (gst_bus_disable_sync_message_emission): API addition
9375 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
9377 Patch by: Vincent Torri
9379 * docs/pwg/building-boiler.xml:
9380 PWG patch from #326800
9382 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
9386 * docs/design/Makefile.am:
9389 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9394 === release 0.10.3 ===
9396 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9399 releasing 0.10.3, "Like a virgin"
9401 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9404 2nd prerelease of 0.10.3
9405 Bump libtool versioning.
9407 2006-02-07 Andy Wingo <wingo@pobox.com>
9409 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
9410 update last_stop if we're in TIME format and the timestamp is
9413 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
9414 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
9415 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
9416 If we get a new newsegment with a different format, adapt
9419 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
9420 of 0. Not a problem, really.
9422 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
9425 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
9430 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
9433 project files updated to the default vs7 configuration
9434 * win32/common/libgstbase.def:
9435 * win32/common/libgstreamer.def:
9437 removed empty lines,
9438 sorted all exported symbols alphabetically
9439 * win32/common/dirent.c:
9440 * win32/common/dirent.h:
9441 * win32/common/gchar.h:
9442 use windows line end.
9444 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
9446 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9447 Send EOS event when stopping.
9449 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
9452 Tell folks what to do if the plugin-foobar.xml file
9453 hasn't been generated for a newly-added plugin.
9455 2006-02-05 Julien MOUTTE <julien@moutte.net>
9457 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9458 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9459 (gst_collect_pads_start), (gst_collect_pads_stop),
9460 (gst_collect_pads_event): Collectpads now holds a reference
9461 to the GstPad that was added. Indeed we don't want to look
9462 at pads that might just go away with no warning...
9464 2006-02-05 Julien MOUTTE <julien@moutte.net>
9466 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9467 (gst_collect_pads_start), (gst_collect_pads_stop),
9468 (gst_collect_pads_event), (gst_collect_pads_chain):
9469 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
9470 Mark Nauwelaerts's patch on bug #328491.
9472 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
9474 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
9476 Add some simple tests for gst_parse_bin_from_description() and
9477 gst_bin_find_unconnected_pad() (#329069).
9479 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
9481 * tools/gst-launch.c: (event_loop), (main):
9482 Catch errors during preroll (#320084).
9484 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
9486 * plugins/elements/gsttypefindelement.c:
9487 (gst_type_find_element_activate):
9488 Post TYPE_NOT_FOUND error message when typefinding
9489 is unsuccessful in the activate function as well.
9491 2006-02-02 Wim Taymans <wim@fluendo.com>
9493 * docs/design/part-element-sink.txt:
9496 2006-02-02 Wim Taymans <wim@fluendo.com>
9498 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9499 (gst_base_sink_render_object),
9500 (gst_base_sink_queue_object_unlocked):
9501 Only keep track of prerollable items when we are
9503 Before rendering after preroll, always check if we
9505 Added some more debugging.
9507 2006-02-02 Wim Taymans <wim@fluendo.com>
9509 * gst/gstelement.c: (gst_element_continue_state),
9510 (gst_element_set_state_func), (gst_element_change_state):
9511 Fixed #326576, been running this for quite some time with
9512 no regressions at all.
9514 2006-02-02 Wim Taymans <wim@fluendo.com>
9517 Added more suppressions
9519 2006-02-02 Wim Taymans <wim@fluendo.com>
9521 * docs/design/part-element-sink.txt:
9524 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9525 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
9526 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
9527 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9528 (gst_base_sink_do_sync), (gst_base_sink_render_object),
9529 (gst_base_sink_preroll_object),
9530 (gst_base_sink_queue_object_unlocked),
9531 (gst_base_sink_queue_object), (gst_base_sink_event),
9532 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
9533 (gst_base_sink_loop), (gst_base_sink_activate_pull),
9534 (gst_base_sink_get_position), (gst_base_sink_change_state):
9535 * libs/gst/base/gstbasesink.h:
9536 Totally refactored matching the design doc.
9537 Use two segments, one to clip incomming buffers and another to
9539 Handle queueing correctly, bypass the queue when playing.
9540 Make EOS cancelable.
9541 Handle errors correctly when operating in pull based mode.
9543 * tests/check/elements/fakesink.c: (GST_START_TEST),
9545 Added new check for sinks.
9547 2006-02-02 Wim Taymans <wim@fluendo.com>
9549 * gst/gstsegment.c: (gst_segment_clip):
9550 No reason to refuse to clip when start == -1
9552 2006-02-02 Stefan Kost <ensonic@users.sf.net>
9555 * docs/manual/intro-basics.xml:
9556 * docs/manual/intro-preface.xml:
9557 * docs/manual/manual.xml:
9558 * docs/pwg/advanced-dparams.xml:
9559 * docs/pwg/intro-basics.xml:
9560 * docs/pwg/intro-preface.xml:
9562 describe dparams (controller) for plugins
9563 unify docs a little more
9565 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
9567 * docs/gst/gstreamer-sections.txt:
9568 * gst/gstutils.c: (element_find_unconnected_pad),
9569 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
9571 Add new API: gst_parse_bin_from_description() and
9572 gst_bin_find_unconnected_pad() (#329069).
9574 2006-02-01 Stefan Kost <ensonic@users.sf.net>
9576 * docs/manual/README:
9577 uncover a nasty detail of the docs build
9579 2006-01-31 Wim Taymans <wim@fluendo.com>
9581 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
9582 Don't cache duration messages if we're not going to use or
9585 2006-01-31 Stefan Kost <ensonic@users.sf.net>
9587 * docs/manual/advanced-dparams.xml:
9588 * docs/pwg/advanced-dparams.xml:
9592 * libs/gst/controller/lib.c: (gst_controller_init):
9595 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
9597 * gst/gstelement.c: (gst_element_message_full):
9598 also show file/line/func if no additional debug was given
9600 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
9602 * win32/vs7/grammar.vcproj:
9603 activate copy of autogenerated files for Release mode
9605 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9607 * win32/common/libgstreamer.def:
9608 export gst_value_compare
9610 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
9612 * plugins/elements/Makefile.am:
9613 * plugins/elements/gstelements.c:
9614 * plugins/elements/gstfdsink.c: (_do_init),
9615 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
9616 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
9617 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
9618 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
9619 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
9620 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
9621 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
9622 * plugins/elements/gstfdsink.h:
9623 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
9625 2006-01-30 Stefan Kost <ensonic@users.sf.net>
9627 * docs/manual/advanced-dparams.xml:
9629 * docs/manual/advanced-position.xml:
9630 * docs/manual/basics-init.xml:
9631 * docs/manual/manual.xml:
9632 * docs/manual/titlepage.xml:
9634 * docs/pwg/titlepage.xml:
9635 cleanup xml (more to come)
9636 * libs/gst/controller/gstcontroller.c:
9639 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9641 * win32/vs6/grammar.dsp:
9642 add autogen of gstmarshal.c,h for Release mode
9644 2006-01-30 Wim Taymans <wim@fluendo.com>
9646 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9647 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
9648 (gst_base_sink_handle_object), (gst_base_sink_event),
9649 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
9650 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9651 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
9652 (gst_base_sink_deactivate), (gst_base_sink_activate),
9653 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9654 (gst_base_sink_query), (gst_base_sink_change_state):
9655 Basesink cleanups, remove some old code.
9656 Handle the case where a subclass can preroll in the render
9657 method (mostly audiosinks).
9659 Remove some locks around variables that are now protected
9660 with the PREROLL_LOCK (clock_id, flushing, ..).
9661 Optimize position query some more, do correct locking.
9662 Remove old code to push queue in state change, this is not
9663 needed anymore since preroll blocks on all prerollable items
9665 Almost implemented as described in design doc.
9667 2006-01-30 Wim Taymans <wim@fluendo.com>
9669 * tests/check/gst/gstbin.c: (GST_START_TEST):
9670 Wait for refcount to settle down before checking.
9672 2006-01-30 Wim Taymans <wim@fluendo.com>
9674 * docs/design/part-element-sink.txt:
9675 Pseudo code overview of desired sink behaviour regarding
9678 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9679 * win32/vs6/grammar.dsp:
9680 fix some bugs in Release mode for autogenerated files
9682 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9683 * win32/common/libgstbase.def:
9684 * win32/common/libgstreamer.def:
9685 export some new symbols: gst_base_src_set_format,
9686 gst_iterator_next, gst_structure_set_valist
9688 2006-01-29 Julien MOUTTE <julien@moutte.net>
9690 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9691 Set pad functions unconditionally. Fixes #329105.
9693 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9695 add vs8 project files created by Sergey Scobich
9697 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
9699 * gst/gstutils.c: (gst_element_unlink_pads):
9700 Don't leak pad references.
9702 * tests/check/elements/fakesink.c: (GST_START_TEST):
9703 * tests/check/generic/sinks.c: (GST_START_TEST):
9704 * tests/check/generic/states.c: (GST_START_TEST):
9705 * tests/check/gst/gstbin.c: (GST_START_TEST):
9706 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9707 * tests/check/gst/gstelement.c: (GST_START_TEST):
9708 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9709 * tests/check/gst/gstiterator.c: (GST_START_TEST):
9710 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9711 Fix a bunch of leaks. Make generic/sinks.c
9712 use a bit less cpu by slowing the buffer rate
9713 between fakesrc and fakesink.
9715 2006-01-27 Stefan Kost <ensonic@users.sf.net>
9717 * gst/gstelement.c: (gst_element_send_event):
9720 * gst/gstiterator.c:
9721 * gst/gstiterator.h:
9722 * gst/gstpad.c: (gst_pad_send_event):
9723 * gst/gststructure.c:
9727 * libs/gst/base/gstadapter.c:
9728 doc fixes, to link to function, just write gst_cool_function(), don't
9731 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9733 * plugins/elements/gsttee.c: (gst_tee_do_push),
9734 (gst_tee_handle_buffer):
9735 Always prefer an actual return value from a src
9736 pad in place of NOT_LINKED. This means we return
9737 WRONG_STATE when all src pads are WRONG_STATE
9738 instead of NOT_LINKED.
9740 Lock when replacing the last message to prevent
9741 racing with the get_property method.
9745 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9747 * tests/check/Makefile.am:
9748 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9750 Add a very simple check that should have caught the memleak I fixed
9751 last night (if not for the slice allocator hiding it)
9753 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9755 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9756 (gst_bin_remove_func), (gst_bin_handle_message_func),
9757 (bin_query_duration_fold), (bin_query_generic_fold):
9758 Clean up references to the clock provider when disposed or when
9759 handling a clock-lost message from it.
9761 Unref sinks when performing a query via gst_iterator_fold, as the
9762 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9764 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9765 (gst_clock_set_master):
9766 Drop our reference to the master clock, if any, when we are disposed.
9768 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9769 Chain up in dispose.
9771 2006-01-26 Wim Taymans <wim@fluendo.com>
9773 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9776 2006-01-26 Julien MOUTTE <julien@moutte.net>
9778 * plugins/elements/gsttee.c: (gst_tee_do_push),
9779 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9780 handles pad being NOT_LINKED or in WRONG_STATE.
9782 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9787 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9790 remove obsolete entry
9792 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9794 * docs/gst/gstreamer-sections.txt:
9795 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9796 (gst_bin_iterate_sources), (gst_bin_send_event):
9798 * gst/gstelement.c: (gst_element_send_event):
9800 * gst/gstpad.c: (gst_pad_send_event):
9801 added code for downstream events, reviewed docs in gstevent.c
9803 2006-01-25 Julien MOUTTE <julien@moutte.net>
9805 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9806 We only query position using the clock in the playing state.
9807 Query peer in the other cases.
9808 * win32/common/config.h: Updates.
9810 2006-01-24 Wim Taymans <wim@fluendo.com>
9812 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9813 A clock entry that is scheduled for the exact time of the
9814 clock is still in time.
9816 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9817 (gst_base_sink_do_sync):
9818 Add some more debug info.
9820 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9823 Add new vs7 project files and solution.
9825 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9828 all files removed as they were out-dated.
9830 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9832 * docs/random/release:
9834 * gst/gstbin.c: (gst_bin_init):
9835 * gst/gstbus.c: (gst_bus_new):
9837 * gst/gstpipeline.c: (gst_pipeline_init):
9838 use gst_bus_new(), improve logging, fix docs
9839 * win32/common/config.h:
9840 update for cvs build
9842 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9845 up required version of automake to 1.7
9847 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
9849 * win32/common/libgstreamer.def:
9850 export gst_buffer_is_metadata_writable
9852 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
9854 * docs/gst/gstreamer-sections.txt:
9856 Add gst_event_replace() (#327001)
9858 2006-01-20 Wim Taymans <wim@fluendo.com>
9860 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9861 Make it actually compile too..
9863 2006-01-20 Wim Taymans <wim@fluendo.com>
9866 Clarify behaviour of _is_equal() when passing NULL parameters.
9868 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9870 Cleanups. Don't unref NULL caps.
9871 When setting the same caps, protect caps of the pad with
9873 Use full functionality of _is_equal() when comparing caps.
9875 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9877 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9878 Don't loop infinitely if there are no buffers to present. Partially
9879 fixes #327197, but collectpads is just broken for reusing elements
9880 to do multiple encodes atm.
9882 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9884 * tools/gst-inspect.c: (print_element_features):
9885 * tools/gst-xmlinspect.c: (main):
9886 URL_HANDLER is not a plugin feature we can search for in
9889 2006-01-19 Edward Hervey <edward@fluendo.com>
9891 * gst/gstelement.c: (gst_element_pads_activate):
9892 When activating, do src pads first, then sink pads.
9893 When de-activating, do sink pads first, then src pads.
9895 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9897 * docs/gst/gstreamer-sections.txt:
9898 Add gst_index_add_associationv to the docs
9900 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9905 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9906 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9907 Do some refactoring. Doesn't actually change functionality,
9908 but makes landing the DRAIN event easier later.
9910 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
9912 * docs/pwg/advanced-scheduling.xml:
9913 Update from 0.9.x to 0.10 API and make example a bit
9916 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9918 * docs/gst/gstreamer-sections.txt:
9919 Add gst_buffer_(is|make)_metadata_writable methods.
9921 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9923 * docs/design/part-sparsestreams.txt:
9924 Update sparse streams doc, hopefully for greater clarity
9926 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
9928 * docs/design/part-events.txt:
9929 Remove mention of FILLER events.
9932 * docs/design/part-sparsestreams.txt:
9933 Write some things about using NEWSEGMENT to keep sparse streams
9936 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9938 * gst/gstbin.c: (gst_bin_dispose):
9939 Guard gst_object_unref call against a NULL object (dispose
9940 can theoretically be called multiple times).
9942 2006-01-18 Wim Taymans <wim@fluendo.com>
9944 * gst/gstbin.c: (gst_bin_element_set_state):
9945 * gst/gstclock.c: (gst_clock_id_wait):
9946 Added some more debug info.
9948 * libs/gst/base/gstadapter.c:
9951 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9952 (gst_base_sink_do_sync), (gst_base_sink_chain):
9953 Added some comments.
9955 2006-01-18 Wim Taymans <wim@fluendo.com>
9957 * tests/check/Makefile.am:
9958 * tests/check/elements/fakesink.c: (chain_async_buffer),
9959 (chain_async), (chain_async_return), (GST_START_TEST),
9960 (fakesink_suite), (main):
9961 Added fakesink test that checks prerolling and clipping
9964 * tests/check/gst/gstutils.c: (GST_START_TEST):
9965 Make check run faster so that buildbots don't timeout.
9967 2006-01-18 Wim Taymans <wim@fluendo.com>
9969 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9970 (gst_base_sink_do_sync):
9972 When the sink finishes blocking on the preroll buffer, it can
9973 immediatly render it instead of rendering when the next buffer
9976 2006-01-18 Wim Taymans <wim@fluendo.com>
9978 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9979 (gst_base_sink_get_property), (gst_base_sink_do_sync),
9980 (gst_base_sink_chain):
9982 GST_ELEMENT_CLOCK and sync are protected with LOCK.
9983 Don't store _last_stop if the buffer is dropped.
9985 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9987 * plugins/elements/gsttypefindelement.c:
9988 (gst_type_find_element_class_init):
9989 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9990 object method handler that sets the caps on the pad and we want
9991 that to happen before we emit the signal (fixes e.g. feeding a
9992 plain text file to decodebin).
9994 2006-01-18 Christian Schaller <Christian@fluendo.com>
9996 * gst/gstplugin.c: Add MPL and Proprietary as license options
9998 2006-01-18 Andy Wingo <wingo@pobox.com>
10000 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10001 symbol was exported before, it appears this was just an oversight.
10003 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10005 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10006 prototype to gint. OK since this prototype was not in the header.
10008 2006-01-17 Andy Wingo <wingo@pobox.com>
10010 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10011 registry while we remove plugins.
10013 * tools/gst-inspect.c (print_element_info): Don't unref the
10014 factory arg, that should be the responsibility of whatever code
10015 received the ref. Fixes a double-free when called from
10016 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10017 (main): Unref the factory if we have one.
10018 (print_element_list): No change -- relies on the
10019 plugin_feature_list_free to free the list of features.
10021 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10023 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10024 (gst_buffer_make_metadata_writable):
10026 * libs/gst/base/gstbasetransform.c:
10027 (gst_base_transform_prepare_output_buf):
10028 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10029 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10030 Replace gst_buffer_(make|is)_metadata_writable patch now
10031 that the release is out.
10033 2006-01-17 Andy Wingo <wingo@pobox.com>
10035 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10036 in the present tense without reference to versions.
10038 * gst/gstregistry.c (gst_registry_add_plugin)
10039 (gst_registry_remove_plugin, gst_registry_remove_feature)
10040 (gst_registry_find_feature, gst_registry_get_feature_list)
10041 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10042 (gst_registry_lookup, gst_registry_scan_path)
10043 (_gst_registry_remove_cache_plugins)
10044 (gst_registry_get_feature_list_by_plugin): Add argument
10047 === release 0.10.2 ===
10049 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10052 releasing 0.10.2, "If man is five"
10054 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10058 * libs/gst/base/gstbasetransform.c:
10059 (gst_base_transform_prepare_output_buf):
10060 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10061 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10062 Back out patch until after the release.
10064 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10066 * gst/gstminiobject.c:
10067 Spelling fix in docs.
10068 * ChangeLog - remove conflict indicator
10070 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10072 Reviewed By: Andy Wingo
10074 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10075 (gst_buffer_make_metadata_writable):
10077 Add gst_buffer_(is|make)_metadata_writable as analogues of
10078 gst_buffer_(is|make)_writable.
10080 * libs/gst/base/gstbasetransform.c:
10081 (gst_base_transform_prepare_output_buf):
10082 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10083 Use name gst_buffer_(is|make)_metadata_writable functions.
10085 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10086 Test gst_buffer_(is|make)_metadata_writable
10090 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10092 * docs/manual/Makefile.am:
10093 don't do parallel make
10096 * win32/common/config.h.in:
10097 add generations for HOST_CPU and GST_MAJORMINOR
10098 * win32/common/config.h:
10099 commit generated result
10101 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10103 * docs/manual/appendix-integration.xml:
10104 Update GNOME integration section to use gst_init_get_option_group()
10105 instead of the old popt stuff (#322911). Also, GNOME applications
10106 should now use gconf*sink and gconf*src instead of the old gconf
10109 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10112 * docs/gst/gstreamer-docs.sgml:
10113 * docs/gst/gstreamer-sections.txt:
10114 * docs/libs/gstreamer-libs-sections.txt:
10115 add new API entries to the docs
10116 * libs/gst/controller/Makefile.am:
10117 * libs/gst/controller/gstcontroller.c:
10118 * libs/gst/controller/gstcontroller.h:
10119 * libs/gst/controller/gstcontrollerprivate.h:
10120 * libs/gst/controller/gsthelper.c:
10121 * libs/gst/controller/gstinterpolation.c:
10122 move private structs to private header
10124 gstreamer-0.7 -> gstreamer-0.10
10125 * tests/check/libs/struct_i386.h:
10126 remove private structs
10128 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10130 * plugins/indexers/Makefile.am:
10131 Fixes as part of #317048
10133 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10135 * plugins/indexers/Makefile.am:
10136 fix #316086 - compilation when mmap is missing
10138 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10140 * libs/gst/base/gstbasesink.c:
10141 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10142 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10143 * win32/common/config.h:
10144 added some defines GST_MAJORMINOR and HOST_CPU
10145 * win32/common/libgstbase.def:
10146 * win32/common/libgstreamer.def:
10147 added some exported functions.
10149 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10151 * libs/gst/controller/gstcontroller.c:
10152 (gst_controlled_property_set_interpolation_mode),
10153 (gst_controlled_property_new):
10154 * libs/gst/controller/gstcontroller.h:
10155 * libs/gst/controller/gstinterpolation.c:
10156 (interpolate_none_get_string_value_array):
10157 make G_TYPE_STRING controlable
10159 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10162 * tools/gst-feedback.1.in:
10163 * tools/gst-inspect.1.in:
10164 * tools/gst-launch.1.in:
10165 * tools/gst-md5sum.1.in:
10166 * tools/gst-typefind.1.in:
10167 * tools/gst-xmlinspect.1.in:
10168 * tools/gst-xmllaunch.1.in:
10169 cleanup man-pages, remove reference to gst-register, document env-vars
10171 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10173 * gst/gstbuffer.c: (gst_buffer_span):
10174 gst_buffer_span should copy the timestamp of the first buffer
10175 if they were both originally overlapping subbuffers of the
10176 same parent, using the same logic as the 'slow copy' case.
10178 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10180 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10181 Need to awaken ALL the pads when we pop a buffer, otherwise
10182 collectpads only works when there is 2 input streams.
10184 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10186 * docs/random/ensonic/media-device-daemon.txt:
10189 fix doc example, add clarification
10190 * tools/gst-launch.1.in:
10191 add initial info about GST_PLUGIN_PATH, needs more work
10193 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10195 * docs/manual/basics-bins.xml:
10196 * docs/manual/basics-elements.xml:
10197 * docs/manual/intro-basics.xml:
10198 Some more minor docs additions and updates.
10200 2006-01-11 Wim Taymans <wim@fluendo.com>
10202 * docs/manual/basics-bins.xml:
10203 * docs/manual/basics-elements.xml:
10204 Some small fixes as pointed out by Ser-ver on IRC.
10206 2006-01-10 Edward Hervey <edward@fluendo.com>
10208 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10209 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10210 the single-segment mode.
10212 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10214 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10216 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10217 (gst_base_src_perform_seek), (gst_base_src_send_event),
10218 (gst_base_src_set_property), (gst_base_src_get_property),
10219 (gst_base_src_loop), (gst_base_src_start),
10220 (gst_base_src_activate_push):
10221 * libs/gst/base/gstbasesrc.h:
10222 Name (private) union; makes Sun's Forte compiler happy (#324900).
10224 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10227 gst-register is gone.
10229 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10231 * gst/gstvalue.c: (_gst_value_initialize):
10232 make the G_TYPE_DATE instantiation work if debug is disabled
10234 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10236 * gst/gstmessage.c: (gst_message_parse_tag),
10237 (gst_message_parse_error), (gst_message_parse_warning):
10238 Don't crash when return location for error/warning debug
10239 string is NULL; add fact that return locations can be
10240 NULL to docs where appropriate.
10242 2006-01-05 Wim Taymans <wim@fluendo.com>
10244 * gst/gstplugin.c: (gst_plugin_load_file):
10245 Replace strdup by g_strdup.
10247 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10249 * docs/pwg/advanced-types.xml:
10252 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10254 submitted by: Abel Cheung
10258 Added Chinese (traditional) translation
10260 2006-01-04 Wim Taymans <wim@fluendo.com>
10262 * docs/manual/basics-pads.xml:
10263 * docs/plugins/Makefile.am:
10264 * docs/plugins/gstreamer-plugins-docs.sgml:
10265 * docs/plugins/gstreamer-plugins-sections.txt:
10266 * docs/pwg/advanced-clock.xml:
10267 * docs/pwg/advanced-scheduling.xml:
10268 * docs/pwg/advanced-types.xml:
10269 * plugins/elements/gstfdsink.c:
10270 * plugins/elements/gstfdsrc.c:
10271 * plugins/elements/gstfdsrc.h:
10272 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10273 * plugins/elements/gstidentity.h:
10274 * plugins/elements/gstqueue.h:
10275 * plugins/elements/gsttee.c:
10276 * plugins/elements/gsttee.h:
10277 * plugins/elements/gsttypefindelement.c:
10278 (gst_type_find_element_class_init):
10279 * plugins/elements/gsttypefindelement.h:
10280 Small updates to various docs.
10281 Added core plugins to docs.
10283 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10286 add a suppression for liboil's uninitialized variable
10288 2006-01-02 James Livingston <jrl at ids dot org dot au>
10290 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10293 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10294 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10295 compiler switch is being used (#325429).
10297 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10299 * gst/gstbin.c: (gst_bin_query):
10300 Disable duration query caching in bins until it gets
10301 fixed (see #324807).
10303 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10305 * tools/gst-inspect.c: (print_element_properties_info):
10306 Handle properties of POINTER and BOXED type.
10308 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10310 * gst/gst.c: (init_post):
10311 Init tags stuff and some other things before loading
10312 any static plugins (there may be other static plugins
10313 than just the GStreamer ones, and they may want to
10314 register their own tags or formats or whatever, and
10315 preferably without segfaulting).
10317 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10318 Print at least a warning in the debug logs if we drop a
10319 query just because we don't know how to adjust the value
10320 in the particular format.
10322 2005-12-24 David Schleef <ds@schleef.org>
10324 * tools/gstreamer-completion:
10325 Replacement for gst-complete written in sh and sed. Only
10326 completes names of features, but that's 90% of what I want
10327 it for. Properties are not available in registry.xml. (Maybe
10330 === release 0.10.1 ===
10332 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
10335 releasing 0.10.1, "Nollaig chridheil"
10337 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
10339 * docs/faq/cvs.xml:
10340 Add missing quote, should be make ERROR_CFLAGS="".
10342 2005-12-20 Wim Taymans <wim@fluendo.com>
10344 * docs/design/part-trickmodes.txt:
10345 More documentation on trickmodes.
10347 2005-12-20 Edward Hervey <edward@fluendo.com>
10349 * gst/gstcaps.c: (gst_static_caps_get_type):
10351 API addition: GST_TYPE_STATIC_CAPS
10352 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10353 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10354 * gst/gstpadtemplate.h:
10355 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10356 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10359 2005-12-18 Wim Taymans <wim@fluendo.com>
10361 * libs/gst/base/gstadapter.c:
10362 * libs/gst/base/gstadapter.h:
10363 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10364 (gst_base_sink_get_position):
10365 * libs/gst/base/gstbasesink.h:
10366 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10367 (gst_base_src_default_query), (gst_base_src_default_do_seek),
10368 (gst_base_src_do_seek), (gst_base_src_perform_seek),
10369 (gst_base_src_send_event), (gst_base_src_update_length),
10370 (gst_base_src_get_range), (gst_base_src_loop),
10371 (gst_base_src_start):
10372 * libs/gst/base/gstbasesrc.h:
10373 * libs/gst/base/gstbasetransform.h:
10374 * libs/gst/base/gstcollectpads.h:
10375 * libs/gst/base/gstpushsrc.c:
10376 * libs/gst/base/gstpushsrc.h:
10377 * libs/gst/dataprotocol/dataprotocol.c:
10378 * libs/gst/dataprotocol/dataprotocol.h:
10379 * libs/gst/net/gstnetclientclock.h:
10380 * libs/gst/net/gstnettimeprovider.h:
10381 Documentation updates.
10383 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
10385 * docs/manual/basics-helloworld.xml:
10386 Remove superfluous closing bracket in helloworld example.
10388 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
10390 * tools/gst-launch.1.in:
10391 Update gst-launch man page; add a section with useful
10392 environment variables. Fixes #323882.
10394 2005-12-16 Stefan Kost <ensonic@users.sf.net>
10397 * gst/gst_private.h:
10398 change some char* into char[]
10400 2005-12-16 Wim Taymans <wim@fluendo.com>
10402 * gst/gstregistryxml.c: (load_feature):
10404 Don't use g_object_unref on GstObjects so that we avoid
10405 leaks on unsafe glibs.
10407 2005-12-16 Wim Taymans <wim@fluendo.com>
10409 * gst/gstbin.c: (gst_bin_recalc_state):
10412 2005-12-16 Wim Taymans <wim@fluendo.com>
10414 * common/check.mak:
10415 Added make forever target for check.
10417 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
10419 * gst/gst.c: (init_post):
10420 make the registry cache file HOST_CPU-dependent
10422 2005-12-16 Andy Wingo <wingo@pobox.com>
10424 * plugins/elements/gstbufferstore.c
10425 (gst_buffer_store_cleared_func): Pay attention to g_list_append
10428 * tests/check/gst/gstobject.c
10429 (test_fake_object_name_threaded_unique): Pay attention to
10430 g_list_sort return value.
10432 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
10434 * tools/gst-feedback-m.m:
10435 Update for 0.9/0.10 (fixes #323870).
10437 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
10439 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
10440 Fix lcopy for mini objects, the mini object needs to be ref'ed.
10442 * tests/check/gst/gstminiobject.c: (my_foo_init),
10443 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
10444 (test_value_collection), (gst_mini_object_suite):
10445 Add test to ensure refcounts end up as expected when passing
10446 GstMiniObjects through g_object_get() and g_object_set().
10448 2005-12-14 Julien MOUTTE <julien@moutte.net>
10450 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10451 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
10452 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
10453 of collectpads. This version removes a lot of races without
10454 touching API/ABI. Yay !
10456 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
10458 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
10459 Don't allow activation of a srcpad in pull_range if it has no
10461 Change some debug statements to be a little clearer
10463 * plugins/elements/gsttypefindelement.c:
10464 (gst_type_find_handle_src_query):
10465 Check that we have a peer before executing queries thereupon.
10467 * tests/examples/metadata/read-metadata.c: (message_loop):
10468 Use gst_bus_pop instead of gst_bus_poll when we just want it to
10469 immediately return us any available message with 0 timeout.
10471 2005-12-12 Michael Smith <msmith@fluendo.com>
10473 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10474 Don't unref factories after calling them.
10475 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
10476 * plugins/elements/gsttypefindelement.c:
10477 (gst_type_find_element_chain):
10478 Free lists of factories after using them. Fixing typefinding memory
10481 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10483 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10484 (gst_plugin_feature_load):
10485 more meaningful debug output
10487 * tests/Makefile.am:
10488 * tests/old/examples/Makefile.am:
10489 make make distcheck happy again
10491 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
10493 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10494 Catch the special case where we are operating chain-based,
10495 but the downstream peer pad has no chain function. Emit a
10496 custom error message in this case instead of letting the
10497 core generate one implying that this is some sort of core
10498 bug. It's not, it just means that whatever got plugged
10499 into the pipeline downstream when we announced the type
10500 can only operate pull-based, while our source can only
10501 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
10502 Error string has not been marked for translation yet, as
10503 it probably needs some more work first.
10505 (gst_type_find_element_get_best_possibility):
10506 Add helper function to find the best of all available
10507 found possibilities that qualify given the min. threshold.
10509 (gst_type_find_element_handle_event):
10510 Fix the case where we get an EOS while still in TYPEFIND
10511 mode (we want to chose the best of all possible types,
10512 not just the first type that happens to be in our unsorted
10513 list of possible types).
10515 (gst_type_find_element_chain):
10516 Make sure we return GST_FLOW_ERROR when we errored out
10517 in stop_typefinding(); also, don't just find the best of
10518 all found type entries and then use the last examined
10519 type entry, but actually use the best entry.
10521 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
10523 * tests/examples/typefind/typefind.c: (type_found):
10524 * tests/examples/xml/runxml.c: (xml_loaded):
10525 More gcc4 fixes and a mem leak fix.
10527 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10529 * tests/examples/xml/createxml.c: (object_saved):
10532 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10534 * tests/Makefile.am:
10535 enable the examples even more
10537 2005-12-12 Andy Wingo <wingo@pobox.com>
10539 * libs/gst/net/gstnettimeprovider.c
10540 (gst_net_time_provider_class_init, gst_net_time_provider_init)
10541 (gst_net_time_provider_set_property)
10542 (gst_net_time_provider_get_property):
10543 API addition: Export "active" as a GObject property.
10544 (gst_net_time_provider_thread): Only respond to time queries if
10545 the time provider is active.
10547 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
10548 NetTimeProvider, preserving binary compat.
10550 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10552 * tests/examples/controller/audio-example.c: (main):
10553 * tests/examples/launch/Makefile.am:
10554 convert comments again
10556 2005-12-12 Wim Taymans <wim@fluendo.com>
10558 * libs/gst/base/gstpushsrc.c:
10561 2005-12-12 Wim Taymans <wim@fluendo.com>
10563 * docs/libs/gstreamer-libs-sections.txt:
10564 Added new symbol to docs.
10566 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10567 (gst_base_src_init), (gst_base_src_set_format),
10568 (gst_base_src_default_query), (gst_base_src_query),
10569 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
10570 (gst_base_src_perform_seek), (gst_base_src_send_event),
10571 (gst_base_src_default_event), (gst_base_src_event_handler),
10572 (gst_base_src_set_property), (gst_base_src_get_property),
10573 (gst_base_src_wait), (gst_base_src_do_sync),
10574 (gst_base_src_update_length), (gst_base_src_get_range),
10575 (gst_base_src_check_get_range), (gst_base_src_loop),
10576 (gst_base_src_default_negotiate), (gst_base_src_start),
10577 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10578 (gst_base_src_change_state):
10579 * libs/gst/base/gstbasesrc.h:
10580 Implement seeking to other formats than _BYTES.
10581 Implement more seeking methods correctly.
10583 Added query vmethod.
10584 Added do_seek vmethod to make life easier for subclasses
10586 API addition: gst_base_src_set_format()
10588 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10590 * tests/examples/Makefile.am:
10593 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10596 * docs/random/ensonic/media-device-daemon.txt:
10597 * tests/examples/controller/.cvsignore:
10598 * tests/examples/controller/Makefile.am:
10599 * tests/examples/controller/audio-example.c: (main):
10600 * tests/examples/helloworld/.cvsignore:
10601 * tests/examples/helloworld/Makefile.am:
10602 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
10603 * tests/examples/launch/.cvsignore:
10604 * tests/examples/launch/Makefile.am:
10605 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
10606 * tests/examples/metadata/.cvsignore:
10607 * tests/examples/metadata/Makefile.am:
10608 * tests/examples/metadata/read-metadata.c: (message_loop),
10609 (make_pipeline), (print_tag), (main):
10610 * tests/examples/queue/.cvsignore:
10611 * tests/examples/queue/Makefile.am:
10612 * tests/examples/queue/queue.c: (event_loop), (main):
10613 * tests/examples/typefind/.cvsignore:
10614 * tests/examples/typefind/Makefile.am:
10615 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
10617 * tests/examples/xml/.cvsignore:
10618 * tests/examples/xml/Makefile.am:
10619 * tests/examples/xml/createxml.c: (object_saved), (main):
10620 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
10621 * tests/old/examples/Makefile.am:
10622 * tests/old/examples/TODO:
10623 * tests/old/examples/controller/.cvsignore:
10624 * tests/old/examples/controller/Makefile.am:
10625 * tests/old/examples/controller/audio-example.c:
10626 * tests/old/examples/helloworld/.cvsignore:
10627 * tests/old/examples/helloworld/Makefile.am:
10628 * tests/old/examples/helloworld/helloworld.c:
10629 * tests/old/examples/launch/.cvsignore:
10630 * tests/old/examples/launch/Makefile.am:
10631 * tests/old/examples/launch/mp3parselaunch.c:
10632 * tests/old/examples/launch/mp3play:
10633 * tests/old/examples/manual/Makefile.am:
10634 * tests/old/examples/metadata/Makefile.am:
10635 * tests/old/examples/metadata/read-metadata.c:
10636 * tests/old/examples/queue/.cvsignore:
10637 * tests/old/examples/queue/Makefile.am:
10638 * tests/old/examples/queue/queue.c:
10639 * tests/old/examples/typefind/.cvsignore:
10640 * tests/old/examples/typefind/Makefile.am:
10641 * tests/old/examples/typefind/typefind.c:
10642 * tests/old/examples/xml/.cvsignore:
10643 * tests/old/examples/xml/Makefile.am:
10644 * tests/old/examples/xml/createxml.c:
10645 * tests/old/examples/xml/runxml.c:
10646 applied some simple fixing to some examples
10647 re-enabled the working examples
10649 2005-12-12 Wim Taymans <wim@fluendo.com>
10651 * gst/gstsegment.c: (gst_segment_init),
10652 (gst_segment_set_last_stop), (gst_segment_set_seek),
10653 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10654 (gst_segment_to_running_time):
10655 Added more documentation.
10656 Make sure the last_pos value is updated properly.
10657 Make sure to_stream_time and to_running_time don't
10658 operate on wrong values.
10660 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10663 2005-12-12 Michael Smith <msmith@fluendo.com>
10665 * plugins/elements/gsttypefindelement.c: (free_entry),
10666 (gst_type_find_element_chain):
10667 Now that we're not leaking factories, make sure we keep references
10668 to them while we need them.
10670 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10672 * tests/check/gst/struct_i386.h:
10673 ifdef out the XML structs
10675 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10677 * gst/gstvalue.c: (gst_value_transform_double_fraction):
10678 floor is not needed, F is always positive; this obviates the
10679 need for adding -lm when building without libxml
10681 2005-12-12 Wim Taymans <wim@fluendo.com>
10683 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10684 Take current playback rate into account when reporting
10687 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10689 * docs/manual/mime-world.fig:
10690 Let's try this again, this time with a file that is
10691 actually in XFig format.
10693 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10695 * docs/manual/mime-world.fig:
10696 Add audioconvert element to diagram so that it
10697 matches the text and the code (fixes #319526).
10699 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10701 * docs/pwg/building-chainfn.xml:
10702 * docs/pwg/building-pads.xml:
10703 * docs/pwg/building-state.xml:
10704 * docs/pwg/other-source.xml:
10705 Update state change stuff for 0.10 (fixes #322969).
10707 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10709 * docs/manual/advanced-dataaccess.xml:
10710 * docs/manual/appendix-checklist.xml:
10711 * docs/manual/appendix-programs.xml:
10712 * docs/manual/basics-pads.xml:
10713 * docs/manual/highlevel-components.xml:
10714 * docs/manual/manual.xml:
10715 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10716 add converters in front of pipelines; remove curly
10717 brackets for threads stuff, they no longer exist; use
10718 GST_TYPE_FRACTION for framerates; update some pieces of
10719 code to 0.10, but there's plenty more to do.
10721 * docs/manual/appendix-porting.xml:
10722 Expand on asynchroneous state changes; s/0.9/0.10/;
10723 mention disappearance of gst_init_get_popt_table()
10726 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10728 * docs/faq/using.xml:
10729 Spider no longer exists, and neither does gst-launch-ext.
10730 Update examples to use decodebin and playbin and put
10731 converters in front of sinks (fixes #323726).
10733 2005-12-09 Michael Smith <msmith@fluendo.com>
10735 * plugins/elements/gsttypefindelement.c: (find_peek),
10736 (gst_type_find_element_chain):
10737 Fix leaking element factories in typefinding.
10738 Fix problem where we forgot about a probable type on non-seekable
10739 files, and thus later mis-typefound it.
10741 2005-12-09 Michael Smith <msmith@fluendo.com>
10743 * common/m4/gst-makecontext.m4:
10744 * common/m4/gst-mcsc.m4:
10746 * win32/common/config.h:
10747 * win32/common/config.h.in:
10748 Remove makecontext stuff; not used in 0.10 and causes problems on
10749 HPUX according to bug #322441
10751 2005-12-07 Wim Taymans <wim@fluendo.com>
10753 * tests/check/Makefile.am:
10754 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10756 * tests/check/libs/struct_i386.h:
10757 Added ABI check for libs
10759 2005-12-07 Wim Taymans <wim@fluendo.com>
10761 * tests/check/Makefile.am:
10762 And add the struct_i386.h to dist.
10764 2005-12-07 Wim Taymans <wim@fluendo.com>
10766 * tests/check/Makefile.am:
10767 * tests/check/gst/.cvsignore:
10768 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10770 * tests/check/gst/struct_i386.h:
10771 Added check for ABI compatibility.
10773 2005-12-07 Wim Taymans <wim@fluendo.com>
10775 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10776 (gst_fake_src_get_times), (gst_fake_src_create):
10777 Fix broken sync option, fixes #323259
10779 2005-12-07 Wim Taymans <wim@fluendo.com>
10784 * gst/gstcaps.c: (gst_caps_is_equal):
10785 Don't assert on NULL <--> X. Fixes #323260
10787 * gst/gstminiobject.c: (gst_mini_object_replace):
10788 If we're doing atomic operations, we might just as well use
10789 the proper way to get an atomic pointer.
10791 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10792 Clean up debugging.
10794 2005-12-07 Michael Smith <msmith@fluendo.com>
10796 * gst/parse/grammar.y:
10797 Remove handling of { } for threads.
10799 2005-12-06 David Schleef <ds@schleef.org>
10801 * libs/gst/base/gstbasetransform.c: speling fix.
10803 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
10805 * docs/libs/tmpl/gstdataprotocol.sgml:
10806 * docs/random/omega/testing/gstobject.c:
10809 * gst/gstelement.c:
10810 * gst/gstelementfactory.c:
10813 * gst/gstghostpad.c:
10815 * gst/gstpadtemplate.c:
10816 * gst/gstregistryxml.c:
10817 * gst/gsttaglist.c:
10818 * gst/gsttagsetter.c:
10819 * gst/gsttypefind.c:
10821 * libs/gst/base/gstbasesrc.c:
10822 * libs/gst/net/gstnetclientclock.c:
10823 * libs/gst/net/gstnettimeprovider.c:
10824 * plugins/elements/gstfakesrc.c:
10825 * plugins/elements/gstfdsrc.c:
10826 * plugins/elements/gstfilesrc.c:
10827 * plugins/elements/gstidentity.c:
10828 * plugins/elements/gstqueue.c:
10829 * plugins/elements/gsttypefindelement.c:
10830 * plugins/indexers/gstfileindex.c:
10831 * plugins/indexers/gstmemindex.c:
10832 * tests/check/gst/gsttag.c:
10833 * tests/old/examples/cutter/cutter.c:
10834 * tests/old/examples/mixer/mixer.c:
10835 * tests/old/examples/xml/runxml.c: (main):
10836 * tests/old/testsuite/caps/normalisation.c:
10837 * tests/old/testsuite/debug/global.c:
10838 * tests/old/testsuite/parse/parse1.c:
10839 * tools/gst-xmlinspect.c:
10840 * win32/common/dirent.c:
10843 === release 0.10.0 ===
10845 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10848 releasing 0.10.0, "Maroilles"
10850 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10852 submitted by: Funda Wang <fundawang@linux.net.cn>
10856 added Chinese (Traditional) translation
10858 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10860 * docs/gst/gstreamer-sections.txt:
10861 * docs/libs/tmpl/gstdataprotocol.sgml:
10862 * docs/random/thomasvs/TODO:
10867 2005-12-05 Andy Wingo <wingo@pobox.com>
10869 patch by: Wim Taymans <wim@fluendo.com>
10871 * libs/gst/base/gstbasetransform.c
10872 (gst_base_transform_prepare_output_buf)
10873 (gst_base_transform_buffer_alloc):
10874 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10875 alloc_buffer_and_set_caps.
10877 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10878 set_caps on the source pad.
10879 (gst_pad_alloc_buffer_and_set_caps): New function, does what
10880 alloc_buffer used to do. Fixes #322874.
10882 * docs/gst/gstreamer-sections.txt:
10883 * docs/design/part-negotiation.txt:
10884 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10887 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10889 patch by: Sebastien Moutte
10892 * win32/common/config.h.in:
10893 * win32/vs6/libgstcontroller.dsp:
10896 2005-12-05 Wim Taymans <wim@fluendo.com>
10898 * gst/gstcaps.c: (gst_caps_is_equal):
10899 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10900 (gst_fake_src_create):
10901 Back out previous code changes, leave doc updates, file bugs
10904 2005-12-05 Wim Taymans <wim@fluendo.com>
10906 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10907 (gst_fake_src_get_times), (gst_fake_src_create):
10908 * plugins/elements/gstfakesrc.h:
10909 Fix broken sync code.
10911 2005-12-05 Wim Taymans <wim@fluendo.com>
10913 * gst/gstcaps.c: (gst_caps_is_equal):
10914 Comparing NULL against !NULL yields different caps, not a
10917 2005-12-05 Wim Taymans <wim@fluendo.com>
10919 * gst/gstpipeline.c:
10920 Fix small typo in docs.
10922 2005-12-05 Andy Wingo <wingo@pobox.com>
10924 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
10926 * gst/gst.c (init_post): remove hard-coded 0.9 location for
10927 registries/plugins with a MAJORMINOR one.
10928 (plugin_desc): Rename library from gstcoreleements to
10929 staticelements. Fixes #323222.
10931 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
10933 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10934 Change debug category to 'collectpads' from 'collect_pads'
10937 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10939 patch by: Sebastien Moutte
10941 * libs/gst/controller/gstinterpolation.c:
10942 use convert function for uint64/double
10943 * win32/vs6/libgstcontroller.dsp:
10946 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10948 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10949 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10951 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10952 add tests that seem to show that the guint64/gdouble conversions
10955 2005-12-02 Wim Taymans <wim@fluendo.com>
10957 * gst/gstregistry.c: (gst_registry_add_path):
10958 * gst/gstregistry.h:
10959 * gst/gstregistryxml.c:
10962 2005-12-02 Wim Taymans <wim@fluendo.com>
10964 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10965 (gst_util_uint64_scale_int):
10968 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10969 Add debug log line.
10971 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10974 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10977 * win32/common/config.h:
10978 * win32/vs6/gstreamer.dsw:
10979 * win32/vs6/libgstcoreelements.dsp:
10980 * win32/vs6/libgstelements.dsp:
10981 renamed core elements plugin
10983 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10985 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10987 do piece-wise major/minor comparison so 0.9 < 0.10
10988 also allow .exe extensions for tools
10990 2005-12-02 Michael Smith <msmith@fluendo.com>
10993 Escape a % to make gtkdoc happier; bug 322958.
10995 === release 0.9.7 ===
10997 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11000 releasing 0.9.7, "My Dog Has No Nose"
11002 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11004 * common/gst-xmlinspect.py:
11006 * docs/libs/tmpl/gstdataprotocol.sgml:
11007 * docs/random/release:
11026 * win32/common/config.h:
11027 * win32/common/config.h.in:
11028 * win32/vs6/gst_inspect.dsp:
11029 * win32/vs6/gst_launch.dsp:
11030 * win32/vs6/libgstbase.dsp:
11031 * win32/vs6/libgstelements.dsp:
11032 * win32/vs6/libgstreamer.dsp:
11033 * win32/vs7/GStreamer.vcproj:
11034 * win32/vs7/gst-inspect.vcproj:
11035 * win32/vs7/gst-launch.vcproj:
11036 * win32/vs7/libgstbase.vcproj:
11037 bump GST_MAJORMINOR to 0.10
11038 reset libtool version
11040 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11044 Added Bulgarian translation by (Alexander Shopov)
11046 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11048 * tests/check/gst/gstplugin.c:
11051 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11053 * common/gst-xmlinspect.py:
11054 * common/gtk-doc-plugins.mak:
11056 * docs/Makefile.am:
11057 * docs/gst/Makefile.am:
11058 * docs/gst/gstreamer-docs.sgml:
11059 * docs/gst/gstreamer-sections.txt:
11060 * docs/gst/gstreamer.types:
11061 * docs/gst/gstreamer.types.in:
11062 * docs/plugins/Makefile.am:
11063 * docs/plugins/gstreamer-plugins-docs.sgml:
11064 * docs/plugins/gstreamer-plugins-sections.txt:
11065 * docs/plugins/gstreamer-plugins.types:
11066 * docs/plugins/inspect.stamp:
11067 * docs/plugins/inspect/plugin-coreelements.xml:
11068 * docs/plugins/inspect/plugin-coreindexers.xml:
11069 * docs/plugins/scanobj-build.stamp:
11070 * gstreamer.spec.in:
11071 * plugins/elements/Makefile.am:
11072 * plugins/elements/gstelements.c:
11073 * plugins/elements/gstfakesink.c:
11074 * plugins/elements/gstfakesrc.c:
11075 * plugins/elements/gstfilesink.c:
11076 * plugins/elements/gstfilesrc.c:
11077 * plugins/elements/gstqueue.c:
11078 * plugins/indexers/Makefile.am:
11079 * plugins/indexers/gstindexers.c:
11080 document core plugins in a separate document just like all the
11082 rename these plugins to something starting with core
11084 2005-12-01 Andy Wingo <wingo@pobox.com>
11086 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11087 padding here before, but it missed the commit.
11089 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11091 * libs/gst/controller/gstinterpolation.c:
11092 whitespace prices have crashed, we should feel free to use some now
11093 use gst_guint64_to_gdouble
11095 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11097 * libs/gst/controller/gstcontroller.c:
11098 * libs/gst/controller/gsthelper.c:
11099 * libs/gst/controller/gstinterpolation.c:
11100 * libs/gst/controller/lib.c:
11101 wrap config.h include
11103 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11105 * docs/gst/gstreamer-sections.txt:
11108 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11110 * plugins/elements/gstelements.c:
11111 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11112 (gst_fd_sink__class_init), (gst_fd_sink__init),
11113 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11114 (gst_fd_sink__get_property):
11115 * plugins/elements/gstfdsink.h:
11116 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11117 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11118 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11119 (gst_fd_src_unlock), (gst_fd_src_set_property),
11120 (gst_fd_src_get_property), (gst_fd_src_create),
11121 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11122 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11123 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11124 (gst_fd_src_uri_handler_init):
11125 * plugins/elements/gstfdsrc.h:
11126 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11129 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11131 * docs/gst/Makefile.am:
11132 * docs/gst/gstreamer.types.in:
11136 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11142 * gst/gstregistry.h:
11143 * tests/benchmarks/complexity.c:
11144 * tests/benchmarks/mass-elements.c:
11145 * tests/check/Makefile.am:
11146 * tools/Makefile.am:
11147 * tools/gst-inspect.c:
11148 * tools/gst-xmlinspect.c:
11149 various fixes to make
11150 --disable-nls --disable-registry --disable-loadsave
11151 --disable-parse --disable-gst-debug
11152 work and get the core .so down to 360444 bytes after stripping
11154 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11159 * docs/random/thomasvs/TODO:
11160 * tests/Makefile.am:
11164 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11166 * win32/GStreamer.vcproj:
11169 * win32/Makefile.inspect:
11170 * win32/Makefile.launch:
11171 * win32/Makefile.register:
11172 * win32/README.txt:
11173 * win32/gst-inspect.vcproj:
11174 * win32/gst-launch.vcproj:
11175 * win32/gst-register.vcproj:
11176 * win32/gstelements.vcproj:
11177 * win32/gstgetbits.def:
11178 * win32/gstgetbits.vcproj:
11179 * win32/gstreamer-dbg.def:
11180 * win32/gstreamer.def:
11181 * win32/libgstbase.def:
11182 * win32/libgstbase.vcproj:
11183 * win32/link_oldruntime.c:
11187 * win32/msvc71.sln:
11188 move even more stuff, win32/ is nice and clean now
11190 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11192 * libs/gst/control/.cvsignore:
11197 * win32/gstbytestream.def:
11198 * win32/gstbytestream.vcproj:
11199 * win32/gstconfig.h:
11200 * win32/gstenumtypes.c:
11201 * win32/gstenumtypes.h:
11202 * win32/gstoptimalscheduler.vcproj:
11203 * win32/gstversion.h:
11205 * win32/testsuite/bins.vcproj:
11206 * win32/testsuite/bytestream.vcproj:
11207 * win32/testsuite/caps.vcproj:
11208 * win32/testsuite/cleanup.vcproj:
11209 * win32/testsuite/clock.vcproj:
11210 * win32/testsuite/debug.vcproj:
11211 * win32/testsuite/dlopen.vcproj:
11212 * win32/testsuite/dynparams.vcproj:
11213 * win32/testsuite/elements.vcproj:
11214 * win32/testsuite/ghostpads.vcproj:
11215 * win32/testsuite/indexers.vcproj:
11216 * win32/testsuite/negotiation.vcproj:
11217 * win32/testsuite/parse.vcproj:
11218 * win32/testsuite/plugin.vcproj:
11219 * win32/testsuite/refcounting.vcproj:
11220 * win32/testsuite/schedulers.vcproj:
11221 * win32/testsuite/states.vcproj:
11222 * win32/testsuite/tags.vcproj:
11223 * win32/testsuite/threads.vcproj:
11224 remove old win32 stuff that isn't maintained and should be
11227 2005-11-30 Andy Wingo <wingo@pobox.com>
11229 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11230 loading the gst.interfaces python module bork.
11232 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11233 available since GLib 2.2. Fixes #318031.
11235 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11238 * check/.cvsignore:
11239 * check/Makefile.am:
11240 * check/elements/.cvsignore:
11241 * check/elements/fakesrc.c:
11242 * check/elements/fdsrc.c:
11243 * check/elements/identity.c:
11244 * check/generic/.cvsignore:
11245 * check/generic/states.c:
11246 * check/gst-libs/.cvsignore:
11247 * check/gst-libs/controller.c:
11248 * check/gst-libs/gdp.c:
11249 * check/gst/.cvsignore:
11250 * check/gst/capslist.h:
11252 * check/gst/gstbin.c:
11253 * check/gst/gstbuffer.c:
11254 * check/gst/gstbus.c:
11255 * check/gst/gstcaps.c:
11256 * check/gst/gstelement.c:
11257 * check/gst/gstevent.c:
11258 * check/gst/gstghostpad.c:
11259 * check/gst/gstiterator.c:
11260 * check/gst/gstmessage.c:
11261 * check/gst/gstminiobject.c:
11262 * check/gst/gstobject.c:
11263 * check/gst/gstpad.c:
11264 * check/gst/gstpipeline.c:
11265 * check/gst/gstplugin.c:
11266 * check/gst/gstsegment.c:
11267 * check/gst/gststructure.c:
11268 * check/gst/gstsystemclock.c:
11269 * check/gst/gsttag.c:
11270 * check/gst/gstutils.c:
11271 * check/gst/gstvalue.c:
11272 * check/net/.cvsignore:
11273 * check/net/gstnetclientclock.c:
11274 * check/net/gstnettimeprovider.c:
11275 * check/pipelines/.cvsignore:
11276 * check/pipelines/cleanup.c:
11277 * check/pipelines/simple_launch_lines.c:
11278 * check/pipelines/stress.c:
11279 * check/states/.cvsignore:
11280 * check/states/sinks.c:
11282 * examples/Makefile.am:
11283 * examples/appreader/.cvsignore:
11284 * examples/appreader/Makefile.am:
11285 * examples/appreader/appreader.c:
11286 * examples/controller/.cvsignore:
11287 * examples/controller/Makefile.am:
11288 * examples/controller/audio-example.c:
11289 * examples/cutter/.cvsignore:
11290 * examples/cutter/Makefile.am:
11291 * examples/cutter/cutter.c:
11292 * examples/cutter/cutter.h:
11293 * examples/events/Makefile.am:
11294 * examples/events/seek.c:
11295 * examples/helloworld/.cvsignore:
11296 * examples/helloworld/Makefile.am:
11297 * examples/helloworld/helloworld.c:
11298 * examples/helloworld2/.cvsignore:
11299 * examples/helloworld2/Makefile.am:
11300 * examples/helloworld2/helloworld2.c:
11301 * examples/launch/.cvsignore:
11302 * examples/launch/Makefile.am:
11303 * examples/launch/mp3parselaunch.c:
11304 * examples/launch/mp3play:
11305 * examples/manual/.cvsignore:
11306 * examples/manual/Makefile.am:
11307 * examples/manual/extract.pl:
11308 * examples/metadata/Makefile.am:
11309 * examples/metadata/read-metadata.c:
11310 * examples/mixer/.cvsignore:
11311 * examples/mixer/Makefile.am:
11312 * examples/mixer/mixer.c:
11313 * examples/mixer/mixer.h:
11314 * examples/pingpong/.cvsignore:
11315 * examples/pingpong/Makefile.am:
11316 * examples/pingpong/pingpong.c:
11317 * examples/plugins/.cvsignore:
11318 * examples/plugins/Makefile.am:
11319 * examples/plugins/example.c:
11320 * examples/plugins/example.h:
11321 * examples/pwg/.cvsignore:
11322 * examples/pwg/Makefile.am:
11323 * examples/pwg/extract.pl:
11324 * examples/queue/.cvsignore:
11325 * examples/queue/Makefile.am:
11326 * examples/queue/queue.c:
11327 * examples/queue2/.cvsignore:
11328 * examples/queue2/Makefile.am:
11329 * examples/queue2/queue2.c:
11330 * examples/queue3/.cvsignore:
11331 * examples/queue3/Makefile.am:
11332 * examples/queue3/queue3.c:
11333 * examples/queue4/.cvsignore:
11334 * examples/queue4/Makefile.am:
11335 * examples/queue4/queue4.c:
11336 * examples/retag/.cvsignore:
11337 * examples/retag/Makefile.am:
11338 * examples/retag/retag.c:
11339 * examples/retag/transcode.c:
11340 * examples/thread/.cvsignore:
11341 * examples/thread/Makefile.am:
11342 * examples/thread/thread.c:
11343 * examples/typefind/.cvsignore:
11344 * examples/typefind/Makefile.am:
11345 * examples/typefind/typefind.c:
11346 * examples/xml/.cvsignore:
11347 * examples/xml/Makefile.am:
11348 * examples/xml/createxml.c:
11349 * examples/xml/runxml.c:
11350 * tests/Makefile.am:
11351 * tests/check/Makefile.am:
11352 * testsuite/.cvsignore:
11353 * testsuite/Makefile.am:
11355 * testsuite/caps/.cvsignore:
11356 * testsuite/caps/Makefile.am:
11357 * testsuite/caps/app_fixate.c:
11358 * testsuite/caps/audioscale.c:
11359 * testsuite/caps/caps.c:
11360 * testsuite/caps/caps.h:
11361 * testsuite/caps/caps_strings:
11362 * testsuite/caps/compatibility.c:
11363 * testsuite/caps/deserialize.c:
11364 * testsuite/caps/enumcaps.c:
11365 * testsuite/caps/eratosthenes.c:
11366 * testsuite/caps/filtercaps.c:
11367 * testsuite/caps/fixed.c:
11368 * testsuite/caps/fraction-convert.c:
11369 * testsuite/caps/fraction-multiply-and-zero.c:
11370 * testsuite/caps/intersect2.c:
11371 * testsuite/caps/intersection.c:
11372 * testsuite/caps/normalisation.c:
11373 * testsuite/caps/random.c:
11374 * testsuite/caps/renegotiate.c:
11375 * testsuite/caps/sets.c:
11376 * testsuite/caps/simplify.c:
11377 * testsuite/caps/string-conversions.c:
11378 * testsuite/caps/structure.c:
11379 * testsuite/caps/subtract.c:
11380 * testsuite/caps/union.c:
11381 * testsuite/debug/.cvsignore:
11382 * testsuite/debug/Makefile.am:
11383 * testsuite/debug/category.c:
11384 * testsuite/debug/commandline.c:
11385 * testsuite/debug/global.c:
11386 * testsuite/debug/output.c:
11387 * testsuite/debug/printf_extension.c:
11388 * testsuite/dlopen/.cvsignore:
11389 * testsuite/dlopen/Makefile.am:
11390 * testsuite/dlopen/dlopen_gst.c:
11391 * testsuite/dlopen/loadgst.c:
11392 * testsuite/elements/.cvsignore:
11393 * testsuite/elements/Makefile.am:
11394 * testsuite/elements/gst-inspect-check.in:
11395 * testsuite/elements/struct_i386.h:
11396 * testsuite/elements/struct_size.c:
11397 * testsuite/indexers/.cvsignore:
11398 * testsuite/indexers/Makefile.am:
11399 * testsuite/indexers/cache1.c:
11400 * testsuite/indexers/indexdump.c:
11401 * testsuite/parse/.cvsignore:
11402 * testsuite/parse/Makefile.am:
11403 * testsuite/parse/parse1.c:
11404 * testsuite/parse/parse2.c:
11405 * testsuite/plugin/.cvsignore:
11406 * testsuite/plugin/Makefile.am:
11407 * testsuite/plugin/README:
11408 * testsuite/plugin/dynamic.c:
11409 * testsuite/plugin/linked.c:
11410 * testsuite/plugin/loading.c:
11411 * testsuite/plugin/registry.c:
11412 * testsuite/plugin/static.c:
11413 * testsuite/plugin/static2.c:
11414 * testsuite/plugin/testplugin.c:
11415 * testsuite/plugin/testplugin2.c:
11416 * testsuite/plugin/testplugin2_s.c:
11417 * testsuite/plugin/testplugin_s.c:
11418 * testsuite/refcounting/.cvsignore:
11419 * testsuite/refcounting/Makefile.am:
11420 * testsuite/refcounting/bin.c:
11421 * testsuite/refcounting/element.c:
11422 * testsuite/refcounting/element_pad.c:
11423 * testsuite/refcounting/mainloop.c:
11424 * testsuite/refcounting/mem.c:
11425 * testsuite/refcounting/mem.h:
11426 * testsuite/refcounting/object.c:
11427 * testsuite/refcounting/pad.c:
11428 * testsuite/refcounting/sched.c:
11429 * testsuite/refcounting/thread.c:
11430 * testsuite/states/.cvsignore:
11431 * testsuite/states/Makefile.am:
11432 * testsuite/states/bin.c:
11433 * testsuite/states/locked.c:
11434 * testsuite/states/parent.c:
11435 * testsuite/threads/.cvsignore:
11436 * testsuite/threads/159566.c:
11437 * testsuite/threads/159852.c:
11438 * testsuite/threads/Makefile.am:
11439 * testsuite/threads/queue.c:
11440 * testsuite/threads/signals.c:
11441 * testsuite/threads/staticrec.c:
11442 * testsuite/threads/thread.c:
11443 * testsuite/threads/threadb.c:
11444 * testsuite/threads/threadc.c:
11445 * testsuite/threads/threadd.c:
11446 * testsuite/threads/threade.c:
11447 * testsuite/threads/threadf.c:
11448 * testsuite/threads/threadg.c:
11449 * testsuite/threads/threadh.c:
11450 * testsuite/threads/threadi.c:
11451 move all of these under tests
11453 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11456 * tests/Makefile.am:
11459 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11461 * docs/gst/gstreamer-sections.txt:
11462 * tests/sched/.cvsignore:
11463 * tests/sched/Makefile.am:
11464 * tests/sched/cases/(fs-fs).xml:
11465 * tests/sched/cases/(fs-i-fs).xml:
11466 * tests/sched/cases/(fs-i-i-fs).xml:
11467 * tests/sched/cases/(fs-i-q[i-fs]).xml:
11468 * tests/sched/dynamic-pipeline.c:
11469 * tests/sched/interrupt1.c:
11470 * tests/sched/interrupt2.c:
11471 * tests/sched/interrupt3.c:
11472 * tests/sched/runtestcases:
11473 * tests/sched/runxml.c:
11474 * tests/sched/sched-stress.c:
11475 * tests/sched/sort.c:
11476 * tests/sched/testcases:
11477 * tests/sched/testcases1.tc:
11478 * tests/seeking/.cvsignore:
11479 * tests/seeking/Makefile.am:
11480 * tests/seeking/seeking1.c:
11481 * tests/threadstate/.cvsignore:
11482 * tests/threadstate/Makefile.am:
11483 * tests/threadstate/test1.c:
11484 * tests/threadstate/test2.c:
11485 * tests/threadstate/threadstate1.c:
11486 * tests/threadstate/threadstate2.c:
11487 * tests/threadstate/threadstate3.c:
11488 * tests/threadstate/threadstate4.c:
11489 * tests/threadstate/threadstate5.c:
11490 remove obsolete tests
11492 * tests/bench-complexity.scm:
11493 * tests/bench-mass_elements.scm:
11494 * tests/complexity.c:
11495 * tests/complexity.gnuplot:
11496 * tests/instantiate/.cvsignore:
11497 * tests/instantiate/Makefile.am:
11498 * tests/instantiate/caps.c:
11499 * tests/mass_elements.c:
11500 * tests/network-clock-utils.scm:
11501 * tests/network-clock.scm:
11503 First pass at cleaning up tests/ dir before moving the rest
11504 Combined with CVS surgery
11506 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11509 queue has moved, update
11511 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11513 * docs/gst/gstreamer-sections.txt:
11514 remove double entries from the docs
11515 * gst/gst_private.h:
11516 * gst/gstinfo.c: (_gst_debug_init):
11517 remove the THREAD debug category
11521 * docs/gst/gstreamer.types:
11522 * plugins/elements/gstqueue.c: (gst_queue_get_type),
11523 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
11524 completely move queue and fix up debugging categories
11526 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11528 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11529 make initialization portable, using LL is not
11531 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11533 * win32/common/gstconfig.h:
11536 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11538 * win32/common/libgstreamer.def:
11539 rename symbols; sort base section
11541 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11543 * gst/gstclock.c: (do_linear_regression):
11544 remove crack non-portable handrolled DEBUG macro
11546 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11548 * docs/random/release:
11550 * win32/common/gstenumtypes.c: (register_gst_object_flags),
11551 (gst_object_flags_get_type), (register_gst_bin_flags),
11552 (gst_bin_flags_get_type), (register_gst_buffer_flag),
11553 (gst_buffer_flag_get_type), (register_gst_bus_flags),
11554 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
11555 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
11556 (gst_caps_flags_get_type), (register_gst_clock_return),
11557 (gst_clock_return_get_type), (register_gst_clock_entry_type),
11558 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
11559 (gst_clock_flags_get_type), (register_gst_state),
11560 (gst_state_get_type), (register_gst_state_change_return),
11561 (gst_state_change_return_get_type), (register_gst_state_change),
11562 (gst_state_change_get_type), (register_gst_element_flags),
11563 (gst_element_flags_get_type), (register_gst_core_error),
11564 (gst_core_error_get_type), (register_gst_library_error),
11565 (gst_library_error_get_type), (register_gst_resource_error),
11566 (gst_resource_error_get_type), (register_gst_stream_error),
11567 (gst_stream_error_get_type), (register_gst_event_type_flags),
11568 (gst_event_type_flags_get_type), (register_gst_event_type),
11569 (gst_event_type_get_type), (register_gst_seek_type),
11570 (gst_seek_type_get_type), (register_gst_seek_flags),
11571 (gst_seek_flags_get_type), (register_gst_format),
11572 (gst_format_get_type), (register_gst_index_certainty),
11573 (gst_index_certainty_get_type), (register_gst_index_entry_type),
11574 (gst_index_entry_type_get_type),
11575 (register_gst_index_lookup_method),
11576 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
11577 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
11578 (gst_index_resolver_method_get_type), (register_gst_index_flags),
11579 (gst_index_flags_get_type), (register_gst_debug_level),
11580 (gst_debug_level_get_type), (register_gst_debug_color_flags),
11581 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11582 (gst_iterator_result_get_type), (register_gst_iterator_item),
11583 (gst_iterator_item_get_type), (register_gst_message_type),
11584 (gst_message_type_get_type), (register_gst_mini_object_flags),
11585 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11586 (gst_pad_link_return_get_type), (register_gst_flow_return),
11587 (gst_flow_return_get_type), (register_gst_activate_mode),
11588 (gst_activate_mode_get_type), (register_gst_pad_direction),
11589 (gst_pad_direction_get_type), (register_gst_pad_flags),
11590 (gst_pad_flags_get_type), (register_gst_pad_presence),
11591 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11592 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11593 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11594 (gst_plugin_error_get_type), (register_gst_plugin_flags),
11595 (gst_plugin_flags_get_type), (register_gst_rank),
11596 (gst_rank_get_type), (register_gst_query_type),
11597 (gst_query_type_get_type), (register_gst_tag_merge_mode),
11598 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11599 (gst_tag_flag_get_type), (register_gst_task_state),
11600 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11601 (gst_alloc_trace_flags_get_type),
11602 (register_gst_type_find_probability),
11603 (gst_type_find_probability_get_type), (register_gst_uri_type),
11604 (gst_uri_type_get_type), (register_gst_parse_error),
11605 (gst_parse_error_get_type):
11606 * win32/common/gstenumtypes.h:
11607 * win32/common/gstversion.h:
11608 update visual studio generated files
11610 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11612 * win32/vs6/libgstbase.dsp:
11613 * win32/vs6/libgstelements.dsp:
11614 update project files for new locations
11616 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11621 reinstate and update
11626 * docs/random/LICENSE:
11629 2005-11-30 Edward Hervey <edward@fluendo.com>
11631 * gst/gsttypefind.c: (gst_type_find_register):
11632 * gst/gsttypefind.h:
11633 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
11634 (gst_type_find_factory_dispose):
11635 * gst/gsttypefindfactory.h:
11636 Fix memory leak in GstTypeFindFactory.
11638 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11641 * plugins/elements/Makefile.am:
11642 * plugins/elements/gstelements.c:
11643 * plugins/elements/gstqueue.c:
11644 move queue from core to the elements plugin
11646 2005-11-29 Andy Wingo <wingo@pobox.com>
11648 * libs/gst/base/gstbasetransform.h:
11649 * libs/gst/base/gstbasesrc.h:
11650 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
11652 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
11653 of pointers by which to pad very extensible base classes (like the
11654 ones in libs/gst/base).
11656 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11658 * docs/gst/gstreamer-docs.sgml:
11659 * docs/gst/gstreamer-sections.txt:
11660 * docs/libs/gstreamer-libs-docs.sgml:
11661 * docs/libs/gstreamer-libs-sections.txt:
11662 moving documentation from core to lib
11664 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11666 * check/Makefile.am:
11668 * docs/gst/Makefile.am:
11670 * gst/base/.cvsignore:
11671 * gst/base/Makefile.am:
11673 * gst/base/gstadapter.c:
11674 * gst/base/gstadapter.h:
11675 * gst/base/gstbasesink.c:
11676 * gst/base/gstbasesink.h:
11677 * gst/base/gstbasesrc.c:
11678 * gst/base/gstbasesrc.h:
11679 * gst/base/gstbasetransform.c:
11680 * gst/base/gstbasetransform.h:
11681 * gst/base/gstcollectpads.c:
11682 * gst/base/gstcollectpads.h:
11683 * gst/base/gstpushsrc.c:
11684 * gst/base/gstpushsrc.h:
11685 * gst/base/gsttypefindhelper.c:
11686 * gst/base/gsttypefindhelper.h:
11687 * gst/check/Makefile.am:
11688 * gst/check/gstcheck.c:
11689 * gst/check/gstcheck.h:
11690 * gst/net/Makefile.am:
11691 * gst/net/gstnet.h:
11692 * gst/net/gstnetclientclock.c:
11693 * gst/net/gstnetclientclock.h:
11694 * gst/net/gstnettimepacket.c:
11695 * gst/net/gstnettimepacket.h:
11696 * gst/net/gstnettimeprovider.c:
11697 * gst/net/gstnettimeprovider.h:
11698 * libs/gst/Makefile.am:
11699 * libs/gst/base/Makefile.am:
11700 * libs/gst/base/gstbasetransform.c:
11701 * libs/gst/check/Makefile.am:
11702 * plugins/elements/Makefile.am:
11704 CVS surgery + support to move base, check, and net out of gst
11707 2005-11-29 Andy Wingo <wingo@pobox.com>
11709 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
11711 * gst/gststructure.h (struct _GstStructure): Only one pointer of
11714 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
11716 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
11718 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
11720 * gst/gstobject.h: (struct _GstObject): Only one pointer of
11721 padding; reduces object size by about 30%. We don't expect
11722 anything else to go into gstobject.
11724 * gst/gstminiobject.h (struct _GstMiniObject)
11725 (struct _GstMiniObjectClass): Only one pointer of padding; the
11726 payload is only a pointer and two ints anyway. For the class there
11727 are only two methods as well.
11729 * gst/gstelement.h (struct _GstElementClass): Removed
11730 the state_changed signal callback, it is not used.
11732 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11734 * docs/gst/gstreamer.types:
11735 fix includes, though they are a little dinky
11737 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11739 * check/Makefile.am:
11740 look in the right place for elements, a lot more chance of
11743 remove indexers and elements subdirs
11744 * plugins/Makefile.am:
11745 make indexers conditional
11747 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11751 * plugins/elements/Makefile.am:
11752 * plugins/elements/gstcapsfilter.c:
11753 * plugins/elements/gstfilesink.c:
11754 * plugins/elements/gstfilesrc.c:
11755 * plugins/elements/gstidentity.c:
11756 * plugins/indexers/Makefile.am:
11757 do CVS surgery and related build fixery to move elements
11758 and indexers in a new gstreamer/plugins directory, out of the
11761 2005-11-29 Andy Wingo <wingo@pobox.com>
11763 * check/Makefile.am:
11764 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11765 * pkgconfig/gstreamer-net.pc.in:
11766 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11769 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11771 * tools/Makefile.am:
11772 * tools/gst-complete.1.in:
11773 * tools/gst-complete.c:
11774 * tools/gst-compprep.1.in:
11775 * tools/gst-compprep.c:
11776 removing -compprep and -complete
11778 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11780 * gst/gstevent.c: (gst_event_new_new_segment),
11781 (gst_event_parse_new_segment):
11783 fix #320529 - clean up new_segment API and structure.
11784 Let's hope everyone was using the methods, and not the structure.
11786 2005-11-29 Edward Hervey <edward@fluendo.com>
11788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11789 (gst_base_sink_event), (gst_base_sink_do_sync),
11790 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11791 Properly handle non GST_FORMAT_TIME segment
11792 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11793 Properly handle non GST_FORMAT_TIME segment
11794 * gst/gstsegment.c:
11795 This function is valid if the accumulator is 0 and the format
11796 is different from the requested format.
11798 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11800 * docs/gst/gstreamer-sections.txt:
11801 Add gst_query_new_seeking and gst_query_parse_seeking to the
11804 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11806 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11807 Treat a pad alloc with new caps the same as if we were not
11808 negotiated, in order to allow a changing upstream output
11809 to produce a new format of data.
11811 2005-11-29 Edward Hervey <edward@fluendo.com>
11813 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11814 (gst_base_transform_event), (gst_base_transform_eventfunc):
11815 The event virtual method is now properly implemented, with a default
11817 Sub classes should call the parent_class event method. They should
11818 return FALSE if they had a problem handling the given event, or don't
11819 want GstBaseTransform to send that even downstream
11820 * gst/elements/gstidentity.c: (gst_identity_class_init),
11821 (gst_identity_init), (gst_identity_event),
11822 (gst_identity_transform_ip), (gst_identity_set_property),
11823 (gst_identity_get_property):
11824 * gst/elements/gstidentity.h:
11825 Added the single-segment boolean property.
11826 If set to TRUE, it will output a single segment of data, starting from
11827 0, will eat up all incoming newsegment, and modify the timestamp of the
11828 buffers accordingly
11830 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
11832 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11833 Don't ref NULL target pad (#322751). Improve docs.
11835 2005-11-29 Michael Smith <msmith@fluendo.com>
11837 * gst/gstregistryxml.c: (load_plugin):
11838 Don't crash if we failed to load a feature from a plugin.
11840 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11842 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11844 use more check API and less GLib API
11846 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11849 don't run checks if we don't have check
11850 * common/check.mak:
11851 remove the registry when running make torture
11852 * docs/gst/gstreamer-sections.txt:
11853 remove second multiply
11854 * gst/gstqueue.c: (gst_queue_loop):
11855 fix a compile warning when disabling debug
11857 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11860 Hey! Let's print the pad name if the pointer != NULL instead
11861 of when it == NULL :-)
11863 2005-11-28 Wim Taymans <wim@fluendo.com>
11865 * check/gst/gstutils.c: (GST_START_TEST):
11866 Updated check, add some scaling accuracy checking code.
11868 * gst/gstutils.c: (gst_util_div128_64),
11869 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11870 (gst_util_uint64_scale_int):
11871 Fix 6 times faster division code. Optimize for common
11872 1/1 and less common X/1 cases.
11874 2005-11-28 Wim Taymans <wim@fluendo.com>
11876 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11879 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11880 (do_linear_regression), (gst_clock_add_observation):
11882 Release lock when the clock cannot be slaved.
11883 Catch the case where the regression returned an invalid denominator.
11885 * gst/gstutils.c: (gst_util_div128_64_iterate),
11886 (gst_util_div128_64), (gst_util_uint64_scale_int64),
11887 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11888 Add protentially more performant non-iterative 128/64 divide function
11889 that unfortunatly does not work yet.
11890 Shortcut the trivial 0/X = 0 case.
11891 Remove the warnings on overflow.
11893 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11895 * gst/gstplugin.c: (gst_plugin_register_func):
11896 everything causing a plugin not to load should be at least a WARNING
11898 2005-11-28 Stefan Kost <ensonic@users.sf.net>
11900 * docs/random/ensonic/dparams.txt:
11901 some TODOs for the next dev cycle
11902 * libs/gst/controller/gstcontroller.c:
11903 (gst_controlled_property_set_interpolation_mode),
11904 (gst_controlled_property_new):
11905 * libs/gst/controller/gstcontroller.h:
11906 use base type to assign acccessor functions
11908 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11910 * check/Makefile.am:
11911 Oops, that should have been top_srcdir
11913 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11915 * check/Makefile.am:
11916 * check/elements/fdsrc.c: (GST_START_TEST):
11917 Use a cmdline define to specify the location of a file to use for
11918 testing, to avoid breaking distcheck.
11920 2005-11-28 Andy Wingo <wingo@pobox.com>
11922 * gst/gstpad.c (fixate_value): Use array functions for arrays.
11924 2005-11-28 Edward Hervey <edward@fluendo.com>
11926 * tools/gst-launch.c: (main):
11927 Clarify the output strings, makes it easier to translate.
11930 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11933 don't try and build net if we don't even have <sys/socket.h>
11935 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
11937 * check/Makefile.am:
11938 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11939 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11940 Add tests for fdsrc seekability
11942 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11943 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11944 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11945 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11946 * gst/elements/gstfdsrc.h:
11947 fdsrc should not be a 'live' source.
11948 Implement seeking on seekable fd's.
11950 * gst/gstquery.c: (gst_query_new_seeking),
11951 (gst_query_parse_seeking):
11953 Implement SEEKING query functions:
11954 *_new_seeking and *_parse_seeking
11956 2005-11-27 Stefan Kost <ensonic@users.sf.net>
11958 * gst/gstelement.c: (gst_element_dispose):
11961 * gst/gstiterator.c:
11962 * gst/gststructure.c:
11965 * libs/gst/controller/gstcontroller.c:
11966 (gst_controlled_property_set_interpolation_mode):
11967 * libs/gst/controller/gstcontroller.h:
11968 * libs/gst/controller/gstinterpolation.c:
11969 (interpolate_none_get_enum_value_array):
11970 support controlling enums
11972 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11975 Improve documentation for gst_value_union().
11978 Change return value for union, intersect and subtract functions
11979 from gint to gboolean.
11981 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11983 * gst/gstvalue.c: (gst_value_serialize_any_list),
11984 (gst_value_transform_any_list_string),
11985 (gst_value_deserialize_list), (gst_value_deserialize_array),
11986 (gst_value_set_int_range), (gst_value_deserialize_int_range),
11987 (gst_value_set_double_range), (gst_value_deserialize_double_range),
11988 (gst_value_set_fraction_range_full),
11989 (gst_value_deserialize_fraction_range),
11990 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11991 (gst_value_deserialize_boolean),
11992 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11993 (gst_value_serialize_float), (gst_value_deserialize_float),
11994 (gst_string_wrap), (gst_value_deserialize_string),
11995 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11996 (gst_value_union_int_range_int_range),
11997 (gst_value_intersect_int_range_int_range),
11998 (gst_value_intersect_double_range_double_range),
11999 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12000 (gst_value_subtract_int_range_int_range),
12001 (gst_value_subtract_double_double_range),
12002 (gst_value_subtract_double_range_double_range),
12003 (gst_value_deserialize_fraction):
12005 Use gint, gdouble and gchar in our API instead of int, double and
12006 char (and make usage in gstvalue.c more consistent).
12008 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12010 * check/Makefile.am:
12011 * libs/gst/controller/Makefile.am:
12012 * libs/gst/dataprotocol/Makefile.am:
12013 fix up Makefile.am and remove GST_ENABLE_NEW
12015 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12019 * gst/base/Makefile.am:
12020 * gst/check/Makefile.am:
12021 * gst/elements/Makefile.am:
12022 * gst/net/Makefile.am:
12023 update LDFLAGS use some more
12025 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12027 * common/m4/gst-doc.m4:
12030 2005-11-26 Edward Hervey <edward@fluendo.com>
12032 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12033 This shouldn't issue a g_warning since it returns NULL if it
12034 couldn't find the plugin, and all functions using this behave
12035 properly on a NULL return. Switching to a GST_WARNING.
12037 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12039 * gst/gstbin.c: (gst_bin_handle_message_func):
12040 Don't leak clock messages.
12042 2005-11-25 Wim Taymans <wim@fluendo.com>
12044 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12045 (gst_util_uint64_scale_int):
12046 Optimisations, remove unneeded vars.
12048 2005-11-25 Wim Taymans <wim@fluendo.com>
12050 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12051 Added more checks for the high precision uint64 cases.
12053 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12054 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12055 Implement high precision (guint64 * guint64) / guint64.
12057 2005-11-24 Wim Taymans <wim@fluendo.com>
12059 * gst/base/gstbasesrc.c: (gst_base_src_query):
12060 Fix wrong percentage query.
12062 * gst/gstutils.c: (gst_util_uint64_scale),
12063 (gst_util_uint64_scale_int):
12064 Add some more common cases that can be handled
12065 efficiently to _scale.
12067 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12069 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12070 (gst_mini_object_suite):
12071 don't use check calls from threads; check probably isn't
12072 threadsafe and using a lock to make it threadsafe would
12073 defeat the purpose of this check
12074 * gst/check/gstcheck.c:
12075 * gst/check/gstcheck.h:
12076 use GST_DEBUG some more
12078 2005-11-24 Wim Taymans <wim@fluendo.com>
12080 * gst/gstutils.c: (gst_util_uint64_scale),
12081 (gst_util_uint64_scale_int):
12082 Chain trivial case to _scale_int.
12084 2005-11-24 Wim Taymans <wim@fluendo.com>
12086 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12087 Added test for scaling.
12092 * gst/gstutils.c: (gst_util_uint64_scale_int):
12093 Implemented high precision scaling code.
12095 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12098 do not crash on pad==NULL
12100 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12102 Patch by: Stefan Kost
12104 * common/gtk-doc.mak:
12105 * docs/gst/Makefile.am:
12106 * docs/libs/Makefile.am:
12107 Fix distcheck issues for the libraries docs build
12110 2005-11-24 Michael Smith <msmith@fluendo.com>
12112 * docs/manual/basics-helloworld.xml:
12113 Fix bug #315027: memory leak in example code in docs.
12115 2005-11-24 Michael Smith <msmith@fluendo.com>
12117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12118 Unlock the PREROLL_LOCK in a failure case.
12120 2005-11-24 Wim Taymans <wim@fluendo.com>
12122 * docs/gst/gstreamer-sections.txt:
12123 * gst/base/gstadapter.h:
12124 * gst/base/gstbasesink.h:
12125 * gst/base/gstbasesrc.h:
12126 * gst/base/gstbasetransform.h:
12127 * gst/base/gstpushsrc.h:
12128 * gst/elements/gstfakesink.h:
12129 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12130 * gst/elements/gstfakesrc.h:
12131 * gst/elements/gstfilesink.h:
12132 * gst/elements/gstfilesrc.h:
12135 * gst/gstbuffer.c: (_gst_buffer_copy):
12138 * gst/gstchildproxy.c:
12140 * gst/gstelement.c:
12141 * gst/gstelementfactory.c:
12142 * gst/gstelementfactory.h:
12144 * gst/gstghostpad.h:
12146 * gst/gstinterface.h:
12147 * gst/gstminiobject.c:
12148 * gst/gstminiobject.h:
12151 * gst/gstpadtemplate.h:
12152 * gst/gstpipeline.h:
12153 * gst/gstpluginfeature.h:
12156 * gst/gsttaglist.c:
12157 * gst/gsttaglist.h:
12158 * gst/gsttagsetter.c:
12159 * gst/gsttagsetter.h:
12162 * gst/gsttypefind.h:
12165 * gst/net/gstnetclientclock.c:
12166 * gst/net/gstnetclientclock.h:
12167 * gst/net/gstnettimepacket.c:
12168 * gst/net/gstnettimeprovider.c:
12169 * gst/net/gstnettimeprovider.h:
12172 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12174 * configure.ac: back to HEAD
12176 === release 0.9.6 ===
12178 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12181 releasing 0.9.6, "Always On Time"
12183 2005-11-23 Wim Taymans <wim@fluendo.com>
12185 * docs/gst/gstreamer-sections.txt:
12186 * gst/glib-compat.c:
12187 * gst/gsttagsetter.c:
12189 * gst/net/gstnetclientclock.c:
12190 * gst/net/gstnettimepacket.h:
12193 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12195 * docs/faq/using.xml:
12196 * docs/libs/tmpl/gstcontrol.sgml:
12197 * docs/manual/advanced-dparams.xml:
12198 * docs/manual/appendix-checklist.xml:
12199 * docs/manual/basics-elements.xml:
12200 * docs/pwg/other-source.xml:
12201 * docs/random/moving-plugins:
12203 * tools/gst-launch.1.in:
12204 remove mentions of sinesrc
12206 2005-11-23 Michael Smith <msmith@fluendo.com>
12208 * docs/gst/gstreamer-sections.txt:
12209 Update for new API and API changes.
12211 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12213 Documentation typo fix.
12214 * gst/net/gstnettimepacket.c:
12215 Documentation fixes for arguments.
12217 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12219 * gst/gststructure.c: (gst_structure_get_fraction),
12220 (gst_structure_parse_value),
12221 (gst_structure_fixate_field_nearest_fraction):
12222 * gst/gststructure.h:
12223 * gst/gstutils.c: (gst_util_uint64_scale_int):
12225 * scripts/update-funcnames:
12227 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12228 Make gst_structure_fixate_field_nearest_fraction take a numerator
12229 and denominator argument instead of a GValue
12230 add gst_structure_get_fraction helper function.
12232 2005-11-23 Wim Taymans <wim@fluendo.com>
12234 * docs/design/part-TODO.txt:
12237 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12238 * gst/net/gstnetclientclock.h:
12239 Use parent fields for timeout and window_size.
12241 2005-11-23 Andy Wingo <wingo@pobox.com>
12243 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12244 rate_num/rate_denom change.
12246 * gst/net/gstnetclientclock.c
12247 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12248 OBJECT_LOCK. Don't call add_observation with the lock.
12250 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12252 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12254 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12255 deal with rate as a fraction whose numerator and denominator are
12256 GstClockTime values.
12257 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12258 master; the other fields are protected by the SLAVE_LOCK.
12259 (do_linear_regression): Note that this must be called with the
12261 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12262 OBJECT_LOCK. Call set_calibration instead of touching the
12263 variables directly.
12264 (gst_clock_set_property, gst_clock_get_property): Protect
12265 master/slave parameters with the SLAVE_LOCK.
12267 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12268 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12269 note that all of the instance variables that add_observation and
12270 the set_master functions use are protected by that lock and not
12272 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12274 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12275 the caller to take the object lock.
12277 2005-11-23 Wim Taymans <wim@fluendo.com>
12279 * gst/gsterror.c: (_gst_core_errors_init):
12281 Add error for clock stuff.
12283 * gst/gstpipeline.c: (gst_pipeline_change_state),
12284 (gst_pipeline_set_clock):
12285 Post clock error when clock cannot be used in a pipeline.
12287 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12289 * docs/gst/gstreamer-sections.txt:
12290 make two symbols from gstinfo private for the docs
12291 * gst/base/gstcollectpads.h:
12293 fix doc typos, update docs
12295 2005-11-22 Wim Taymans <wim@fluendo.com>
12297 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12298 (gst_base_sink_wait), (gst_base_sink_do_sync),
12299 (gst_base_sink_handle_event):
12300 * gst/base/gstbasesink.h:
12301 No need to store the clock, the parent element class already
12304 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12305 Updates for clock_set returning a gboolean
12307 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12308 (gst_clock_id_wait_async), (gst_clock_class_init),
12309 (gst_clock_init), (gst_clock_finalize),
12310 (gst_clock_get_internal_time), (gst_clock_get_time),
12311 (gst_clock_slave_callback), (gst_clock_set_master),
12312 (gst_clock_get_master), (do_linear_regression),
12313 (gst_clock_add_observation), (gst_clock_set_property),
12314 (gst_clock_get_property):
12316 Implement master/slave. When setting a clock as a slave, a
12317 periodic timeout is scheduled to sample master and slave times.
12318 Then the slave clock is recalibrated to match offset and rate
12319 of the master clock.
12320 Update logging a bit.
12321 Add flag so that a clock can state that is cannot be slaved to
12324 * gst/gstelement.c: (gst_element_set_clock):
12325 * gst/gstelement.h:
12326 The set clock returns a gboolean for when an element cannot
12327 deal with the selected clock in the pipeline.
12329 * gst/gstpipeline.c: (gst_pipeline_change_state),
12330 (gst_pipeline_set_clock):
12331 * gst/gstpipeline.h:
12332 Handle the case where the selected clock cannot be set on
12335 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12336 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12337 (gst_net_client_clock_set_property),
12338 (gst_net_client_clock_get_property),
12339 (gst_net_client_clock_observe_times):
12340 * gst/net/gstnetclientclock.h:
12341 Use regression code in GstClock parent, remove duplicated
12344 2005-11-22 Michael Smith <msmith@fluendo.com>
12346 * gst/gstutils.c: (gst_util_clock_time_scale):
12348 * docs/gst/gstreamer-sections.txt:
12349 Rename method to have extra underscore.
12351 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
12353 * gst/elements/Makefile.am:
12354 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12355 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12356 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12357 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12358 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12359 * gst/elements/gstfakesrc.h:
12360 * gst/gstqueue.c: (queue_leaky_get_type):
12361 correctly fix GEnumValues so that nick is the short lowercase
12363 * tools/gst-inspect.c: (print_element_properties_info):
12364 also show the nick, since it's useful to use from parse_launch
12368 2005-11-22 Michael Smith <msmith@fluendo.com>
12370 * gst/gstutils.c: (gst_util_clocktime_scale):
12372 * docs/gst/gstreamer-sections.txt:
12373 Add util method for scaling a clocktime by a fraction. Useful
12374 implementation is left as an exercise for the reader.
12376 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12378 * gst/gstvalue.c: (gst_value_collect_fraction_range):
12379 If needed, allocate storage in the destination value during
12382 2005-11-22 Edward Hervey <edward@fluendo.com>
12384 * docs/gst/gstreamer-sections.txt:
12387 * gst/gsturitype.c:
12388 * gst/gsturitype.h:
12389 * gst/gstutils.c: (gst_util_set_object_arg):
12390 * tools/gst-compprep.c: (main):
12391 * tools/gst-inspect.c: (print_element_properties_info):
12392 Removed GstURI, closes bug #321061
12394 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12396 * check/gst/gststructure.c: (GST_START_TEST):
12397 * gst/gststructure.c: (gst_structure_parse_value):
12398 Oops, broke automatic string type parsing.
12399 Add a test to catch it in future.
12401 2005-11-22 Andy Wingo <wingo@pobox.com>
12403 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
12404 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
12405 Actually rename the function implementations. Grr.
12407 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12409 * check/gst/capslist.h:
12411 * check/gst/gststructure.c: (GST_START_TEST),
12412 (gst_structure_suite):
12413 Test automatic value type detection in gst_structure_from_string.
12414 * gst/gststructure.c: (gst_structure_parse_value):
12415 Add fraction as a type we try and guess automatically in
12416 caps/structure strings.
12418 2005-11-22 Andy Wingo <wingo@pobox.com>
12420 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
12422 * gst/gsttagsetter.h:
12423 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
12424 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
12425 (gst_tag_setter_add_tag_valist)
12426 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
12427 _add_values, _add_valist, and _add_valist_values. Since this is an
12428 interface the function suffixes should be more explicit so
12429 language binding don't end up with element.add_valist ->
12430 gst_tag_setter_add_valist, for example. Fixes #322069.
12432 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12434 * check/gst/gstcaps.c: (GST_START_TEST):
12435 Extend caps string tests to check that a caps to string
12436 conversion is reversible and produces the same caps.
12438 * gst/gststructure.c: (gst_structure_value_get_generic_type):
12439 Output "fraction" as the generic type fraction range, so caps
12440 serialisation and deserialisation works.
12441 * check/gst/capslist.h:
12442 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12443 Support 'MIN' and 'MAX' for deserialising fractions.
12445 2005-11-22 Andy Wingo <wingo@pobox.com>
12447 * gst/gstevent.h (gst_event_new_new_segment)
12448 (gst_event_parse_new_segment, gst_event_new_buffer_size)
12449 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
12450 Renamed from *_newsegment, *_buffersize, *_notarget.
12452 * scripts/update-funcnames: New script, performs the changes
12455 2005-11-22 Wim Taymans <wim@fluendo.com>
12457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12458 Make sure the GstFlowReturn is returned.
12460 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
12461 (gst_bus_add_signal_watch):
12463 add gst_bus_add_signal_watch_full.
12465 * gst/gstplugin.c: (gst_plugin_load_file):
12466 Small style cleanup.
12468 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12470 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
12471 Block the fakesrc srcpad when we send an event, to avoid
12472 contention on the stream_lock causing random test failures.
12474 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12476 * check/gst/gstvalue.c: (GST_START_TEST):
12477 * gst/gstvalue.c: (gst_value_fraction_subtract):
12480 2005-11-22 Stefan Kost <ensonic@users.sf.net>
12483 include "gstchildproxy.h"
12484 * gst/gstchildproxy.h:
12485 * libs/gst/controller/gstcontroller.h:
12486 use G_GNUC_NULL_TERMINATED
12488 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12490 * check/gst/capslist.h:
12491 * check/gst/gstcaps.c: (GST_START_TEST):
12492 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12493 * gst/gststructure.c: (gst_structure_parse_range),
12494 (gst_structure_fixate_field_nearest_fraction):
12495 * gst/gststructure.h:
12496 * gst/gstvalue.c: (gst_value_init_fraction_range),
12497 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
12498 (gst_value_collect_fraction_range),
12499 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
12500 (gst_value_set_fraction_range_full),
12501 (gst_value_get_fraction_range_min),
12502 (gst_value_get_fraction_range_max),
12503 (gst_value_serialize_fraction_range),
12504 (gst_value_transform_fraction_range_string),
12505 (gst_value_compare_fraction_range),
12506 (gst_value_deserialize_fraction_range),
12507 (gst_value_intersect_fraction_fraction_range),
12508 (gst_value_intersect_fraction_range_fraction_range),
12509 (gst_value_subtract_fraction_fraction_range),
12510 (gst_value_subtract_fraction_range_fraction),
12511 (gst_value_subtract_fraction_range_fraction_range),
12512 (gst_value_collect_fraction), (gst_value_fraction_multiply),
12513 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
12514 (gst_value_transform_string_fraction), (_gst_value_initialize):
12516 Implement fraction ranges and extend GstFraction to support
12517 arithmetic subtraction, as well as deserialization from integer
12518 strings such as "100"
12519 Add a testsuite as for int and double range set operations
12521 2005-11-21 Andy Wingo <wingo@pobox.com>
12523 * gst/gsttaglist.h:
12525 * gst/gststructure.h: Add glib-compat.h.
12527 2005-11-21 Wim Taymans <wim@fluendo.com>
12529 * gst/gstbin.c: (gst_bin_change_state_func):
12532 2005-11-21 Wim Taymans <wim@fluendo.com>
12534 * gst/gstsegment.h:
12535 And add a nice define too.
12537 2005-11-21 Wim Taymans <wim@fluendo.com>
12539 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
12540 (gst_segment_new), (gst_segment_free), (gst_segment_init),
12541 (gst_segment_set_duration), (gst_segment_set_last_stop),
12542 (gst_segment_set_seek), (gst_segment_set_newsegment),
12543 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12544 (gst_segment_clip):
12545 * gst/gstsegment.h:
12546 Make binding friendly.
12548 2005-11-21 Andy Wingo <wingo@pobox.com>
12550 * gst/gsttagsetter.h:
12551 * gst/gsttaglist.h:
12552 * gst/gststructure.h:
12554 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
12557 * gst/gsterror.c (_gst_core_errors_init):
12558 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
12561 * gst/Makefile.am (gst_headers): Add glib-compat.h.
12562 (noinst_HEADERS): noinst the -private.
12564 2005-11-21 Michael Smith <msmith@fluendo.com>
12567 * gst/gstregistry.h:
12568 Remove unimplemented declarations for which we can see no sensible
12571 2005-11-21 Andy Wingo <wingo@pobox.com>
12573 * gst/gst.h: Include glib-compat.h.
12575 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
12577 * gst/glib-compat.c: Include the public and the private header.
12579 * gst/glib-compat-private.h: Copied here from glib-compat.h.
12583 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
12585 * check/gst/gstevent.c (create_custom_events): Check that
12586 FLUSH_STOP is serialized.
12588 * check/elements/identity.c (event_func):
12589 * check/elements/fakesrc.c (event_func): No stream lock, the core
12592 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
12593 stream lock taking, yay.
12595 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
12596 ensure that core takes the stream lock.
12598 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
12601 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
12602 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
12603 it already. For the flush start we do take it though so we get the
12604 right preroll state change messages.
12606 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
12607 the stream lock here, the core does it for us.
12609 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
12610 GST_STREAM_GET_LOCK.
12611 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
12612 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
12613 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
12614 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
12615 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
12616 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
12618 * gst/gstpad.c: Update for stream lock name change.
12620 * gst/base/gstbasesink.c: Update for preroll lock name change.
12622 2005-11-21 Wim Taymans <wim@fluendo.com>
12624 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
12625 (gst_clock_get_master):
12627 * gst/gstsystemclock.c: (gst_system_clock_init):
12628 Convert Clock flags to object flags.
12629 Added methods to manage master/slave clocks.
12631 2005-11-21 Wim Taymans <wim@fluendo.com>
12633 * check/gst/gstsegment.c: (GST_START_TEST):
12634 * docs/design/part-TODO.txt:
12635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12636 (gst_base_sink_event), (gst_base_sink_do_sync),
12637 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12638 (gst_base_sink_query), (gst_base_sink_change_state):
12639 * gst/base/gstbasesink.h:
12640 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12641 (gst_base_src_default_newsegment),
12642 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12643 (gst_base_src_get_range), (gst_base_src_loop),
12644 (gst_base_src_change_state):
12645 * gst/base/gstbasesrc.h:
12646 * gst/base/gstbasetransform.c:
12647 (gst_base_transform_prepare_output_buf),
12648 (gst_base_transform_event), (gst_base_transform_change_state):
12649 * gst/base/gstbasetransform.h:
12650 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12651 (gst_collect_pads_event):
12652 * gst/base/gstcollectpads.h:
12653 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
12654 (gst_fake_src_create):
12655 * gst/elements/gstfakesrc.h:
12656 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12657 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12658 (gst_segment_set_last_stop), (gst_segment_set_seek),
12659 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12660 (gst_segment_to_running_time), (gst_segment_clip):
12661 * gst/gstsegment.h:
12662 More segment updates, replace code in plugins with segment
12665 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12667 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
12668 Don't ignore sscanf results
12670 2005-11-21 Andy Wingo <wingo@pobox.com>
12672 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
12675 * *.c: Ran scripts/update-macros. Oh yes.
12677 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
12678 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
12681 * scripts/update-macros: New script. Run it on your files to
12682 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
12685 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12687 * docs/gst/Makefile.am:
12688 * docs/gst/gstreamer-docs.sgml:
12689 * docs/gst/gstreamer-sections.txt:
12690 * docs/gst/gstreamer.types:
12692 more docs fixes, add new api to the docs
12694 2005-11-21 Andy Wingo <wingo@pobox.com>
12696 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
12697 state_broadcast call.
12699 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
12701 2005-11-21 Julien MOUTTE <julien@moutte.net>
12703 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
12704 function calls for arrays.
12706 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12708 * docs/random/ensonic/media-device-daemon.txt:
12709 wild idea, can this be done?
12710 * docs/gst/gstreamer-sections.txt:
12715 * gst/gstpluginfeature.c:
12719 doc fixes and additions
12721 2005-11-21 Andy Wingo <wingo@pobox.com>
12723 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
12724 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
12725 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
12726 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
12727 private to the basesrc implementation.
12729 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
12730 behalf of event function if necessary. It should no longer be
12731 necessary to take the stream lock in pad's event functions. Fixes
12734 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12735 * docs/gst/gstreamer-sections.txt:
12736 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
12737 (gst_structure_fixate_field_nearest_double),
12738 (gst_structure_fixate_field_boolean):
12739 * gst/gststructure.h:
12740 * win32/common/libgstreamer.def:
12741 * win32/gstreamer.def:
12743 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12746 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12748 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12749 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12750 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12751 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12752 (gst_fdsrc_uri_handler_init):
12753 * gst/elements/gstfdsrc.h:
12754 Port fd:// URI handler from 0.8 to fdsrc
12756 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12758 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12759 (gst_value_serialize_fourcc):
12761 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12762 consistent with our other format defines (#320324).
12764 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12766 * gst/gstvalue.c: (gst_value_is_fixed):
12767 Revert previous commit. Value lists are by definition
12768 not fixed, as they are a list of possible values.
12770 2005-11-21 Andy Wingo <wingo@pobox.com>
12772 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12773 during the stable series if we need it. Fixes #319178.
12775 * gst/gstevent.c (gst_event_new_filler): Removed.
12777 * check/gst/gstevent.c: Update comment about filler events.
12779 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12781 * gst/gstvalue.c: (gst_value_is_fixed):
12782 Should handle both value arrays and value lists.
12784 2005-11-21 Andy Wingo <wingo@pobox.com>
12786 patch by: Alessandro Dessina <alessandro nnva org>
12788 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12789 functions to access arrays. Fixes #321962.
12791 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12793 * docs/gst/gstreamer.types:
12794 gst_collectpads_get_type => gst_collect_pads_get_type.
12796 * gst/base/gstbasetransform.c:
12797 Remove unused SIGNAL_HANDOFF enum.
12799 2005-11-21 Andy Wingo <wingo@pobox.com>
12801 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12802 the event type (upstream, downstream, serialized). Renamed
12803 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12804 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12805 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12807 * gst/gstevent.c: Update for new CUSTOM event names.
12809 * check/gst/gstevent.c: Update check for new CUSTOM event names.
12812 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12815 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12817 * docs/gst/gstreamer-sections.txt:
12818 * win32/common/libgstbase.def:
12819 * win32/libgstbase.def:
12820 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12821 (gst_collect_pads_class_init), (gst_collect_pads_init),
12822 (gst_collect_pads_finalize), (gst_collect_pads_new),
12823 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12824 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12825 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12826 (gst_collect_pads_start), (gst_collect_pads_stop),
12827 (gst_collect_pads_peek), (gst_collect_pads_pop),
12828 (gst_collect_pads_available), (gst_collect_pads_read),
12829 (gst_collect_pads_flush), (gst_collect_pads_event),
12830 (gst_collect_pads_chain):
12831 * gst/base/gstcollectpads.h:
12832 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12833 unimplemented functions as unimplemented. Add padding to
12834 GstCollectData. (#320766, #320423)
12836 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12838 * gst/gstmessage.c:
12839 Improve docs for DURATION message (usage of duration parameter)
12842 2005-11-20 Wim Taymans <wim@fluendo.com>
12844 * check/Makefile.am:
12845 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12849 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12850 (gst_segment_set_seek), (gst_segment_set_newsegment),
12851 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12852 (gst_segment_clip):
12853 * gst/gstsegment.h:
12854 Added segment helper structure and methods. Not fully implemented
12856 Added segment check.
12858 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
12860 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12861 Add a deserialisation test for fractions
12862 * examples/metadata/read-metadata.c: (message_loop),
12863 (make_pipeline), (main):
12864 Fix up metadata reading sample.
12865 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12867 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12868 Don't try and fixate empty caps
12869 * gst/gst_private.h:
12870 Wrap in G_BEGIN_DECLS/G_END_DECLS
12871 * gst/gstvalue.c: (gst_value_collect_fraction),
12872 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12873 (gst_value_transform_string_fraction),
12874 (gst_value_compare_fraction):
12875 Add some extra guards to ensure that we don't end up
12876 with an invalid denominator of 0 in a gstfraction and
12877 that fractions always get reduced.
12879 2005-11-20 Wim Taymans <wim@fluendo.com>
12881 * docs/gst/gstreamer-sections.txt:
12883 * gst/gstelement.c:
12892 2005-11-20 Wim Taymans <wim@fluendo.com>
12894 * docs/design/part-TODO.txt:
12896 Make a proper enum of the flag.
12898 2005-11-19 Wim Taymans <wim@fluendo.com>
12900 * docs/design/part-TODO.txt:
12901 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12902 (gst_format_to_quark), (gst_format_register):
12904 * gst/gstquery.c: (_gst_query_initialize),
12905 (gst_query_type_get_name), (gst_query_type_to_quark),
12906 (gst_query_type_register):
12908 Add type to quark and type to string conversions.
12910 2005-11-19 Andy Wingo <wingo@pobox.com>
12912 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12915 2005-11-19 Wim Taymans <wim@fluendo.com>
12917 * docs/design/part-TODO.txt:
12918 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12919 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12920 (gst_bin_handle_message_func):
12922 Make message handling overridable.
12924 2005-11-19 Andy Wingo <wingo@pobox.com>
12926 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12929 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12931 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12932 is a GstClockTime. Fixes #321710.
12934 * gst/gstclock.h (GstClock): Remove offset property. Add
12935 internal_calibration and external_calibration. Fix padding. Pad
12936 also by GstClockTime so we don't run into problems.
12938 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12939 (gst_clock_get_rate_offset): Remove.
12940 (gst_clock_set_time_adjust): Remove. Fixes #321712.
12943 * gst/gstutils.c (g_static_rec_cond_wait)
12944 (g_static_rec_cond_timed_wait): Removed, no longer needed.
12946 * gst/gstbin.c: Remove terrible continue_state prototype.
12948 * gst/gstelement.h (gst_element_continue_state): Make public.
12950 * gst/gstelement.h:
12951 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12952 by continue_state. Fixes #319389.
12954 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12955 Really fixes #168438. However I don't see anywhere where the
12956 filter function is called... stupid GStreamer...
12958 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12959 don't have a dispose function, so it won't get called when the
12960 object is unreffed, but oh well!
12962 * gst/gstindex.c (gst_index_set_filter_full): New API function,
12963 allows a destroy function to be set so user_data can be freed.
12965 (gst_index_set_filter): Call gst_index_set_filter_full.
12967 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12969 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12970 string should produce an error, given the lack of a way to
12971 represent NULL strings. Fixes #165650.
12974 * gst/gstvalue.c (gst_value_array_append_value)
12975 (gst_value_array_prepend_value, gst_value_array_get_size)
12976 (gst_value_array_get_value): New API, copied from
12977 gst_value_list_*, only operates on arrays.
12978 (gst_value_list_append_value, gst_value_list_prepend_value)
12979 (gst_value_list_concat, gst_value_list_get_size)
12980 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12982 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12983 init_list, because it works on both.
12984 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12985 (gst_value_copy_list_or_array): Renamed from copy_list.
12986 (gst_value_free_list_or_array): Renamed from free_list.
12987 (gst_value_collect_list_or_array): Renamed from collect_list.
12988 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12989 (gst_value_list_or_array_peek_pointer): Renamed from
12991 (_gst_value_array_value_table, _gst_value_list_value_table):
12992 Update value table functions.
12993 (gst_value_compare_list_or_array): Renamed from compare_list.
12995 * gsttaglist.h: Whoops, foreach function returns void. Also fix
12998 * gst/gsttaglist.c:
12999 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13000 GstTagList*. Fixes #143472.
13002 * gst/gststructure.h: Clarify what the foreach/map functions can
13003 or can't do to their arguments.
13005 2005-11-18 Wim Taymans <wim@fluendo.com>
13007 * gst/gstclock.c: (gst_clock_set_calibration),
13008 (gst_clock_get_calibration):
13010 Calibration can be set with internal time equal to current
13013 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13019 2005-11-18 Andy Wingo <wingo@pobox.com>
13022 * pkgconfig/gstreamer-net.pc.in:
13023 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13024 * pkgconfig/Makefile.am: Add net pkgconfig files.
13026 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13029 * gst/gstghostpad.c:
13035 2005-11-18 Andy Wingo <wingo@pobox.com>
13037 * gst/net/gstnetclientclock.c: Turn off debugging.
13039 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13040 times connverge somewhat. Can't make a real test.
13042 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13043 integer arithmetic. Return the minimum of the domain, which can be
13044 set as "internal" for gst_clock_set_calibration.
13045 (gst_net_client_clock_observe_times): Call _set_calibration.
13046 (gst_net_client_clock_new): Call _set_calibration instead of
13049 * check/net/gstnetclientclock.c (test_functioning): Use the right
13053 * gst/gstclock.c (gst_clock_get_calibration)
13054 (gst_clock_set_calibration): New functions, obsolete the ones I
13055 added yesterday. Doh. Precision issues mean we have to extrapolate
13056 from a point in the more recent past than 1970.
13057 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13059 (gst_clock_adjust_unlocked): Use the right calibration data.
13061 2005-11-18 Edward Hervey <edward@fluendo.com>
13063 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13064 Also reset the ->current_* values in READY->PAUSED
13066 2005-11-18 Andy Wingo <wingo@pobox.com>
13068 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13069 Whoops, check the right fd. Also add some debugging.
13070 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13071 (do_linear_regression): Add a crapload of debugging. Subtract off
13072 the minimum values from the input series to discard unneeded bits.
13073 Use only int arithmetic. There is still double arithmetic when
13074 calculating the intercept that needs fixing. Return boolean to
13075 indicate success; FALSE would mean the domain or range is too
13076 great. Still needs fixes.
13078 2005-11-18 Wim Taymans <wim@fluendo.com>
13080 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13081 For the current position in stream time, we need to subtract
13084 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13085 Release lock before calling the callback function of async
13088 2005-11-18 Andy Wingo <wingo@pobox.com>
13090 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13091 Port goes all the way to MAXUINT16.
13093 * gst/net/gstnettimeprovider.c: Make the port range the same as
13094 for the kernel: 0 assigns, otherwise ports are less than
13097 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13100 * check/net/gstnetclientclock.c (test_functioning): Add the start
13103 2005-11-18 Wim Taymans <wim@fluendo.com>
13105 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13106 (gst_bin_remove_func), (bin_bus_handler):
13108 Removing a clock provider from a bin, triggers a clock lost message
13109 so that a new clock will be selected.
13110 Adding a clock to a bin triggers a clock provider message.
13111 Make sure we reselect a clock when we received a clock lost message.
13112 Keep a reference to the element that provided the clock.
13114 2005-11-18 Andy Wingo <wingo@pobox.com>
13116 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13117 the clock initially so it produces values around the base time.
13118 (gst_net_client_clock_class_init): Typo fix.
13119 (gst_net_client_clock_thread): Add note on when the socket gets
13122 2005-11-17 Wim Taymans <wim@fluendo.com>
13124 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13125 Free remote and local time arrays.
13127 2005-11-17 Wim Taymans <wim@fluendo.com>
13129 * gst/net/gstnetclientclock.c: (do_linear_regression),
13130 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13131 Fix compilation, uninitialized vars and a forgotten continue.
13133 2005-11-17 Andy Wingo <wingo@pobox.com>
13135 * check/Makefile.am (check_PROGRAMS):
13136 * check/net/gstnetclientclock.c: Add a most minimal test for the
13137 net client clock. More to come later.
13139 * gst/net/gstnet.h:
13140 * gst/net/Makefile.am: Add netclientclock.
13142 * gst/net/gstnetclientclock.h:
13143 * gst/net/gstnetclientclock.c: New files, implement an untested
13144 GstClock that takes its time from a network time provider.
13145 Implements the algorithm in network-clock.scm.
13147 * tests/network-clock.scm (*window-size*): Rename from
13149 * tests/network-clock.scm (network-time):
13150 * tests/network-clock-utils.scm (q-push): Update callers.
13152 2005-11-17 Wim Taymans <wim@fluendo.com>
13154 * gst/gstbin.c: (gst_bin_provide_clock_func),
13155 (gst_bin_sort_iterator_new):
13156 And unref the child too..
13158 2005-11-17 Wim Taymans <wim@fluendo.com>
13160 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13161 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13162 Refactor the sort iterator so it can be used while holding the
13164 Make clock selection select a clock closest to the source.
13166 2005-11-17 Michael Smith <msmith@fluendo.com>
13168 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13169 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13171 Anonymous structs are a gcc (and some other compilers) extension, so
13172 don't use them. Since this is only for ABI-compatibility, and our
13173 API/ABI freeze is over in a few days, this whole thing will only
13174 last a few days, so don't bother trying to think up a meaningful
13175 name for the struct.
13177 2005-11-17 Andy Wingo <wingo@pobox.com>
13179 * gst/gstclock.h (GstClock): Add rate and offset properties,
13180 preserving ABI stability. Add rate/offset accessors. Will file bug
13181 for the freeze break.
13183 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13184 and offset, trying to keep precision and avoiding
13185 underflow/overflow.
13186 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13187 functions. Make gst_clock_set_time_adjust obsolete.
13188 (gst_clock_set_time_adjust): Note that this function is obsolete.
13189 Will file bug soon.
13191 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13192 greppable by using GST_PADDING-1+1.
13194 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13196 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13198 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13199 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13201 * gst/gstpadtemplate.h:
13202 * gst/gstpluginfeature.h:
13203 Don't use c++ style comments in headers (#321638).
13205 2005-11-16 Andy Wingo <wingo@pobox.com>
13207 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13210 * check/net/gstnettimeprovider.c: Check to see that the time
13211 provider actually provides times. Works, yo!
13213 2005-11-16 Wim Taymans <wim@fluendo.com>
13215 * check/Makefile.am:
13218 * check/elements/fakesrc.c: (GST_START_TEST):
13219 Set element to NULL before disposing it.
13221 2005-11-16 Andy Wingo <wingo@pobox.com>
13223 * gst/net/Makefile.am:
13224 * gst/net/gstnet.h:
13225 * gst/net/gstnettimeprovider.c:
13226 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13227 provider, include it from gstnet.h, and add it to the build.
13229 * gst/net/gstnettimepacket.h:
13230 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13231 sending and receiving.
13233 2005-11-16 Wim Taymans <wim@fluendo.com>
13235 * check/Makefile.am:
13236 Enable valgrind check.
13238 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13239 (gst_fake_src_alloc_buffer):
13242 2005-11-16 Wim Taymans <wim@fluendo.com>
13244 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13245 Call parent finalize too.
13247 2005-11-16 Wim Taymans <wim@fluendo.com>
13249 * check/Makefile.am:
13250 Enable valgrind check that should work fine now.
13252 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13253 * gst/gstqueue.c: (gst_queue_init):
13254 Fix memleaks in pad allocation.
13256 2005-11-16 Andy Wingo <wingo@pobox.com>
13258 * gst/net/Makefile.am:
13259 * gst/net/gstnet.h: New part of core to hold network elements and
13260 objects. Put in core because it exposes API that applications want
13261 to use. The library is named libgstnet-tempname right now because
13262 of the existing libgstnet in gst-plugins-base. Solution is
13263 probably to rename the one in plugins-base; will file a bug for
13266 * gst/net/gstnettimeprovider.c:
13267 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13268 get_time call over the network.
13271 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13273 * check/Makefile.am:
13274 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13275 get additions shortly.
13277 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13279 * gst/gstpad.c: (gst_pad_new_from_static_template):
13281 add gst_pad_new_from_static_template functions
13282 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13283 (gst_check_setup_sink_pad):
13284 * gst/elements/gsttee.c: (gst_tee_init):
13287 2005-11-16 Wim Taymans <wim@fluendo.com>
13289 * gst/gstpad.c: (gst_pad_pause_task):
13290 Removed warning, it's not really an error either.
13292 2005-11-16 Wim Taymans <wim@fluendo.com>
13294 * gst/base/gstbasetransform.c:
13295 (gst_base_transform_prepare_output_buf),
13296 (gst_base_transform_event):
13297 Check if the caps are NULL, this can happen if the element
13298 is shutting down and the pad caps are set to NULL.
13300 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13302 * gst/elements/gsttee.c: (gst_tee_init):
13303 fix pad template leak in tee
13305 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13307 * gst/glib-compat.c: (g_value_dup_gst_object):
13308 * gst/glib-compat.h:
13309 * gst/gstpad.c: (gst_pad_set_property):
13310 use gst_object_ref when setting the pad template; this will
13311 trigger the pad template leaks on GLib 2.6 and the slaves
13313 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13315 * gst/glib-compat.c: (gst_flags_get_first_value):
13316 * gst/glib-compat.h:
13317 * gst/gstregistryxml.c:
13318 remove functions copied from GLib 2.6
13320 2005-11-16 Michael Smith <msmith@fluendo.com>
13323 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13324 do, but only breaks with newer valgrind versions. We're not a
13325 valgrind tool, we have no link-time dependencies on libcoregrind.
13327 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13329 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13331 * gst/gstmessage.h:
13334 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13336 * gst/base/gstbasesrc.c: (gst_base_src_init):
13337 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13338 * gst/gstqueue.c: (gst_queue_init):
13339 * gst/gstregistryxml.c: (load_feature):
13340 Revert all these unrefs, they don't even pass make check !
13342 2005-11-15 Johan Dahlin <johan@gnome.org>
13344 * gst/base/gstbasesrc.c: (gst_base_src_init):
13345 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13346 * gst/gstqueue.c: (gst_queue_init):
13347 Free pad templates, fixes a couple of leaks.
13349 2005-11-15 Daniel Fischer <dan at f3c dot com>
13351 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13353 * gst/gstpad.c: (gst_pad_get_property):
13354 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13355 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13358 2005-11-15 Wim Taymans <wim@fluendo.com>
13363 2005-11-15 Andy Wingo <wingo@pobox.com>
13365 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13367 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13368 using GST_CLOCK_TIME_NONE to disable base time management.
13369 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13370 time if it was NONE before.
13371 (gst_pipeline_change_state): Only munge the base time if
13372 stream_time != GST_CLOCK_TIME_NONE.
13374 * check/gst/gstpipeline.c (test_base_time): Punt around the
13375 problem of the probe not being called, because that's not the
13376 issue I'm looking at. Add a check that setting stream_time to NONE
13377 disables base time management.
13379 2005-11-15 Wim Taymans <wim@fluendo.com>
13381 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13382 segment_stop == -1 at startup.
13384 * gst/base/gstbasetransform.c: (gst_base_transform_event),
13385 (gst_base_transform_change_state):
13386 Init segment values at start.
13388 2005-11-15 Wim Taymans <wim@fluendo.com>
13390 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13391 0 segment values are 0 in any format.
13393 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13394 * gst/base/gstbasetransform.h:
13395 Parse newsegment correctly in basetransform
13397 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13398 Sync to clock using updated segment values.
13400 2005-11-15 Andy Wingo <wingo@pobox.com>
13402 * check/gst/gstpipeline.c (test_base_time): Add check that the
13403 base time and stream time are reset correctly.
13405 2005-11-15 Wim Taymans <wim@fluendo.com>
13407 * docs/design/part-TODO.txt:
13408 Some more TODO items.
13410 2005-11-15 Andy Wingo <wingo@pobox.com>
13412 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
13413 error if the user selected "no clock" as the clocking method.
13415 * check/gst/gstpipeline.c (test_base_time): New test for buffer
13416 timestamps with live capture.
13418 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
13419 is 0 but we are a live source, timestamp the buffers using the
13422 2005-11-14 Stefan Kost <ensonic@users.sf.net>
13424 * docs/gst/gstreamer-sections.txt:
13426 * gst/gstghostpad.c:
13431 2005-11-14 Wim Taymans <wim@fluendo.com>
13434 add suppressions from Wim's Debian machine
13436 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
13439 add suppressions from Andy's AMD64 Ubuntu machine
13441 2005-11-14 Andy Wingo <wingo@pobox.com>
13443 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
13444 STATE_LOCK not necessary. Fixes #311489.
13446 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
13449 * gst/gstindex.c (gst_index_add_object): Note in the docs that
13450 this function is not implemented.
13452 2005-11-14 Julien MOUTTE <julien@moutte.net>
13454 * gst/base/gstbasetransform.c:
13455 (gst_base_transform_prepare_output_buf):
13456 Ref the source pad caps while we need them.
13459 2005-11-11 Wim Taymans <wim@fluendo.com>
13461 * docs/gst/gstreamer-sections.txt:
13462 Added some docs for GstCollectData.
13464 * gst/base/gstadapter.c:
13465 Some small code example fix.
13467 * gst/base/gstcollectpads.c:
13468 * gst/base/gstcollectpads.h:
13469 Document some more.
13471 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
13473 * configure.ac: back to HEAD
13475 === release 0.9.5 ===
13477 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
13480 releasing 0.9.5, "Bike Lunch Day"
13482 2005-11-11 Wim Taymans <wim@fluendo.com>
13484 * gst/gstbuffer.c: (_gst_buffer_copy):
13487 * gst/gstcaps.c: (gst_caps_is_equal):
13489 Make _is_equal fast in the trivial cases.
13491 * gst/gstminiobject.c:
13492 * gst/gstminiobject.h:
13493 More docs. Spifify .h file.
13498 2005-11-11 Wim Taymans <wim@fluendo.com>
13500 * gst/base/gstbasetransform.c:
13501 (gst_base_transform_prepare_output_buf),
13502 (gst_base_transform_handle_buffer):
13504 If we're processing a buffer and need to allocate an output
13505 buffer, we cannot accept a format change. If we did get a
13506 format change, we have to alloc a buffer ourselves of the
13509 2005-11-11 Wim Taymans <wim@fluendo.com>
13511 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
13512 While checking the flag for reentrancy in the gstcaps function
13513 is nice to detect recursive invocations, it also makes it
13514 impossible to call getcaps from multiple threads, which must be
13515 possible. So, checking for recursive calls has to go.
13517 2005-11-11 Michael Smith <msmith@fluendo.com>
13519 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13520 Don't sync on buffers that fall partially outside our current
13521 segment. Prevents an assertion failure/abort playing some files.
13523 2005-11-10 Andy Wingo <wingo@pobox.com>
13525 * check/gst/gstbin.c (test_message_state_changed_children): Style
13528 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
13529 gst_bus_poll with the signal watch. Ensures that poll and a signal
13530 watch see the same messages.
13532 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
13533 a poll and a watch at the same time get the same messages.
13535 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
13537 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
13538 * gst/gstcaps.c: (gst_caps_intersect):
13539 Don't call gst_caps_do_simplify - it doesn't respect order of caps
13540 and it's not needed.
13542 2005-11-10 Wim Taymans <wim@fluendo.com>
13544 * docs/design/part-TODO.txt:
13547 2005-11-10 Wim Taymans <wim@fluendo.com>
13549 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13550 * gst/base/gstbasesrc.c: (gst_base_src_wait),
13551 (gst_base_src_do_sync), (gst_base_src_get_range):
13552 Implement clock sync in base class.
13554 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
13556 patch by: Tim-Philipp Müller <tim at centricular dot net>
13558 * gst/gststructure.c: (gst_structure_parse_field),
13559 (gst_structure_from_string):
13560 Forward-port a 0.8 patch to handle escaped spaces in structure string,
13561 so that gst_parse_launch() can deal with spaces in filtered link
13562 caps (fixes #164479)
13563 * check/gst/capslist.h:
13564 * check/gst/gststructure.c: (GST_START_TEST):
13565 add unit tests for this change
13567 2005-11-10 Wim Taymans <wim@fluendo.com>
13569 * docs/gst/gstreamer-sections.txt:
13570 * gst/gstelement.c:
13571 * gst/gstelement.h:
13572 Fix docs, move some STATE macros to private.
13574 2005-11-10 Wim Taymans <wim@fluendo.com>
13576 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13577 Added check for bug #317341
13581 Some more spiffifying.
13583 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
13584 Call peer linkfunction if we are a source pad. Totally fixes
13588 Update docs, source pads should call the peer linkfunction
13589 so they can atomically perform the pad link.
13591 2005-11-09 Wim Taymans <wim@fluendo.com>
13595 Uber-spiffy-spiffify some more.
13597 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
13599 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
13600 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13601 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13602 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
13603 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
13604 * gst/gstpad.c: (gst_pad_init):
13605 Use GST_DEBUG_FUNCPTR() more extensively.
13607 2005-11-09 Wim Taymans <wim@fluendo.com>
13609 * gst/gstobject.c: (gst_object_class_init):
13611 Documentation fixes.
13613 2005-11-09 Edward Hervey <edward@fluendo.com>
13615 * gst/gsttypefindfactory.c:
13618 2005-11-09 Edward Hervey <edward@fluendo.com>
13620 * gst/base/gsttypefindhelper.c:
13621 * gst/gsttypefind.c:
13622 * gst/gsttypefind.h:
13625 2005-11-09 Wim Taymans <wim@fluendo.com>
13627 * gst/gstiterator.c:
13634 2005-11-09 Wim Taymans <wim@fluendo.com>
13640 2005-11-09 Wim Taymans <wim@fluendo.com>
13642 * docs/gst/gstreamer-sections.txt:
13643 Moved the message async delivery private lock and cond
13644 to the private section.
13646 * gst/gstmessage.c:
13647 * gst/gstmessage.h:
13650 2005-11-09 Edward Hervey <edward@fluendo.com>
13652 * docs/gst/gstreamer-sections.txt:
13655 Document GstURIHandler
13657 2005-11-09 Wim Taymans <wim@fluendo.com>
13659 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
13660 (gst_iterator_find_custom):
13661 * gst/gstiterator.h:
13664 2005-11-09 Wim Taymans <wim@fluendo.com>
13667 Document another field.
13669 * gst/gststructure.c:
13670 * gst/gststructure.h:
13673 2005-11-09 Wim Taymans <wim@fluendo.com>
13676 Documented structs.
13678 2005-11-09 Wim Taymans <wim@fluendo.com>
13680 * docs/gst/gstreamer-sections.txt:
13681 Added some new macros.
13688 2005-11-09 Wim Taymans <wim@fluendo.com>
13690 * docs/design/part-TODO.txt:
13691 Some more items for the TODO
13697 2005-11-09 Andy Wingo <wingo@pobox.com>
13699 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
13700 to work on something else now tho...
13702 * gst/base/gstadapter.c: More adapter docs.
13704 * gst/elements/gstfilesink.c (gst_file_sink_start)
13705 (gst_file_sink_stop): New functions, replace the state change
13707 (gst_file_sink_class_init): Hook up the start and stop functions.
13708 (gst_file_sink_base_init): Don't set the state change handler any
13709 more. It was a bit ugly too, being set from here...
13710 (gst_file_sink_get_property, gst_file_sink_set_property):
13712 (gst_file_sink_set_location): More robust check that doesn't call
13713 GST_STATE. Ugggggg.
13715 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
13717 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13718 Hold STREAM_LOCK while pushing newsegment or tag events as well.
13720 2005-11-08 Wim Taymans <wim@fluendo.com>
13722 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13723 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13724 (gst_base_sink_chain), (gst_base_sink_change_state):
13725 * gst/base/gstbasesink.h:
13726 * gst/base/gstbasesrc.h:
13727 * gst/gstelement.h:
13729 Avoid excessive typechecking in macros.
13731 * gst/gstminiobject.c: (gst_mini_object_get_type),
13732 (gst_mini_object_init), (gst_mini_object_new),
13733 (gst_mini_object_free):
13734 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13735 (gst_object_finalize):
13736 Remove cruft code, optimize alloc_trace.
13738 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
13740 * docs/faq/gst-uninstalled:
13741 fix up PS1 for systems that try to reset it
13743 2005-11-07 Wim Taymans <wim@fluendo.com>
13745 * gst/base/gstbasesrc.c: (gst_base_src_init),
13746 (gst_base_src_get_range):
13747 Set the segment_end to -1 initially. Fixed typefind.
13749 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
13751 * gst/base/gstadapter.c:
13752 Debug category should be 'adapter', not 'GstAdapter'.
13754 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13755 (gst_collectpads_class_init), (gst_collectpads_init),
13756 (gst_collectpads_peek), (gst_collectpads_pop),
13757 (gst_collectpads_event), (gst_collectpads_chain):
13758 Add debug category and some debugging output. Use boilerplate
13759 macros. Remove some extraneous words from docs.
13761 2005-11-05 Andy Wingo <wingo@pobox.com>
13763 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13766 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13768 * docs/gst/gstreamer-sections.txt:
13771 * gst/gstminiobject.h:
13776 2005-11-04 Wim Taymans <wim@fluendo.com>
13778 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13779 Small update to stop at the configured segment_end
13782 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13784 * gst/gstregistry.c:
13785 * gst/gstregistry.h:
13788 2005-11-04 Edward Hervey <edward@fluendo.com>
13790 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13791 Check if we are doing a segment seek and have arrived at the
13792 end of that segment.
13794 2005-11-04 Wim Taymans <wim@fluendo.com>
13796 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13797 Don't leak a mutex unlock in case of an error.
13802 2005-11-04 Wim Taymans <wim@fluendo.com>
13804 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13806 Get the context to wake up only once.
13808 2005-11-03 Wim Taymans <wim@fluendo.com>
13810 * check/states/sinks.c: (GST_START_TEST):
13811 Uncomment fixed check.
13813 * docs/design/part-TODO.txt:
13816 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13817 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13818 (gst_base_sink_get_position):
13819 If we are going to PLAYING, post the right pending state
13820 when we post the intermediate paused message.
13822 * gst/gstelement.c: (gst_element_continue_state),
13823 (gst_element_set_state_func), (gst_element_change_state):
13824 Don't post state changes that were between the same state
13825 and were not ASYNC.
13827 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13829 * docs/gst/gstreamer-sections.txt:
13832 * gst/gstminiobject.h:
13835 more docs and doc style fixes
13837 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13839 * docs/gst/gstreamer-sections.txt:
13840 * gst/gstelement.c:
13841 * gst/gstminiobject.c:
13844 2005-11-03 Andy Wingo <wingo@pobox.com>
13846 * check/states/sinks.c (test_livesrc_sink): Add checks that the
13847 state-changed messages actually have the right order and the right
13850 2005-11-03 Wim Taymans <wim@fluendo.com>
13852 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13853 Added some more checks. Specifically the case where NO_PREROLL
13854 elements are in the pipeline.
13856 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13857 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13858 (gst_base_sink_get_position):
13859 Post READY->PAUSED state change messages too.
13860 Fix bug where VOID was posted as pending state...
13862 * gst/gstbin.c: (gst_bin_recalc_state):
13863 use _element_continue_state() to continue the state change.
13865 * gst/gstelement.c: (gst_element_continue_state),
13866 (gst_element_commit_state), (gst_element_set_state_func),
13867 (gst_element_change_state), (gst_element_change_state_func):
13868 Lots of state change cleanups, assign the STATE_RETURN in
13869 a new continue_state() function that also propagates the
13870 last return value from a state change to the app.
13871 Update some debug statements with proper category.
13873 2005-11-03 Wim Taymans <wim@fluendo.com>
13875 * docs/design/part-events.txt:
13876 * docs/design/part-gstpipeline.txt:
13877 * docs/design/part-messages.txt:
13878 * docs/design/part-overview.txt:
13879 * docs/design/part-seeking.txt:
13880 * docs/design/part-states.txt:
13881 * docs/design/part-trickmodes.txt:
13882 * docs/manual/advanced-position.xml:
13883 Small docs updates.
13886 People think !! is ugly, this looks better.
13888 * gst/gstpad.c: (gst_pad_set_blocked_async):
13889 Remove !! since it's fixed elsewhere now.
13891 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13893 * gst/gstminiobject.h:
13895 Add !! to _FLAG_IS_SET macros to make the result boolean.
13897 2005-11-03 Edward Hervey <edward@fluendo.com>
13899 * gst/gstpad.c: (gst_pad_set_blocked_async):
13900 comparing a flag and a gboolean rarely returns coherent results...
13901 Added two characters (!!) to make that work correctly.
13903 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13905 * gst/gstbus.c: (gst_bus_class_init):
13908 * gst/gstqueue.c: (gst_queue_loop):
13909 Don't assume a miniobject that isn't a buffer is an
13910 event (it could be that there is a refcounting
13911 problem somewhere and the pointer is stale and
13912 refers to an already destroyed miniobject).
13914 2005-11-03 Julien MOUTTE <julien@moutte.net>
13916 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13918 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13920 * docs/manual/advanced-position.xml:
13921 Update seek example and explanations to current 0.9 API.
13923 * gst/elements/gsttypefindelement.c:
13924 (gst_type_find_element_activate):
13925 Remove FIXME comment now that the found caps
13928 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
13930 * gst/gstregistryxml.c: (load_feature):
13931 Add another GST_STR_NULL instance
13933 2005-11-02 Edward Hervey <edward@fluendo.com>
13935 * gst/gstpad.c: (handle_pad_block):
13936 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13938 2005-11-02 Wim Taymans <wim@fluendo.com>
13943 * gst/gstelement.c: (gst_element_commit_state):
13944 Remove unused value.
13946 * gst/gstiterator.c:
13947 Mention that the returned element is reffed in the docs.
13949 2005-11-02 Wim Taymans <wim@fluendo.com>
13951 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13952 (gst_pad_push), (gst_pad_push_event):
13953 Unlock blocked pads when they are flushed.
13955 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13958 * docs/gst/gstreamer-sections.txt:
13961 * gst/gstregistry.c: (gst_registry_scan_path_level):
13962 fix for a nasty little missed situation where an installed plug-in
13963 which was in the cache did not get overridden by an uninstalled one
13964 which was earlier in the plugin path because the newly created plugin
13965 for the uninstalled one (not in the registry) didn't get its
13966 ->registered set to TRUE
13968 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13970 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13971 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13972 (gst_collectpads_is_active), (gst_collectpads_collect),
13973 (gst_collectpads_collect_range), (gst_collectpads_start),
13974 (gst_collectpads_stop), (gst_collectpads_peek),
13975 (gst_collectpads_pop), (gst_collectpads_available),
13976 (gst_collectpads_read), (gst_collectpads_flush):
13977 Guard public API with assertions.
13980 Fix docs for gst_pad_set_link_function().
13982 2005-11-02 Johan Dahlin <johan@gnome.org>
13984 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
13985 Unref found_caps after we used it.
13987 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13989 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13990 Don't try to ref NULL.
13992 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13994 * win32/common/config.h.in:
13995 provide a GST_FUNCTION that just gives a string for now
13997 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13999 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14000 (gst_object_flags_get_type), (register_gst_bin_flags),
14001 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14002 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14003 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14004 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14005 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14006 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14007 (gst_clock_flags_get_type), (register_gst_state),
14008 (gst_state_get_type), (register_gst_state_change_return),
14009 (gst_state_change_return_get_type), (register_gst_state_change),
14010 (gst_state_change_get_type), (register_gst_element_flags),
14011 (gst_element_flags_get_type), (register_gst_core_error),
14012 (gst_core_error_get_type), (register_gst_library_error),
14013 (gst_library_error_get_type), (register_gst_resource_error),
14014 (gst_resource_error_get_type), (register_gst_stream_error),
14015 (gst_stream_error_get_type), (register_gst_event_type),
14016 (gst_event_type_get_type), (register_gst_seek_type),
14017 (gst_seek_type_get_type), (register_gst_seek_flags),
14018 (gst_seek_flags_get_type), (register_gst_format),
14019 (gst_format_get_type), (register_gst_index_certainty),
14020 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14021 (gst_index_entry_type_get_type),
14022 (register_gst_index_lookup_method),
14023 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14024 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14025 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14026 (gst_index_flags_get_type), (register_gst_debug_level),
14027 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14028 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14029 (gst_iterator_result_get_type), (register_gst_iterator_item),
14030 (gst_iterator_item_get_type), (register_gst_message_type),
14031 (gst_message_type_get_type), (register_gst_mini_object_flags),
14032 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14033 (gst_pad_link_return_get_type), (register_gst_flow_return),
14034 (gst_flow_return_get_type), (register_gst_activate_mode),
14035 (gst_activate_mode_get_type), (register_gst_pad_direction),
14036 (gst_pad_direction_get_type), (register_gst_pad_flags),
14037 (gst_pad_flags_get_type), (register_gst_pad_presence),
14038 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14039 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14040 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14041 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14042 (gst_plugin_flags_get_type), (register_gst_rank),
14043 (gst_rank_get_type), (register_gst_query_type),
14044 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14045 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14046 (gst_tag_flag_get_type), (register_gst_task_state),
14047 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14048 (gst_alloc_trace_flags_get_type),
14049 (register_gst_type_find_probability),
14050 (gst_type_find_probability_get_type), (register_gst_uri_type),
14051 (gst_uri_type_get_type), (register_gst_parse_error),
14052 (gst_parse_error_get_type):
14053 * win32/common/gstversion.h:
14054 update win32 copies
14056 2005-11-01 Luca Ognibene <luogni@tin.it>
14059 fix docs. popt is dead, long live GOption.
14061 2005-10-31 Wim Taymans <wim@fluendo.com>
14066 2005-10-31 Andy Wingo <wingo@pobox.com>
14070 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14072 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14073 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14074 the possibility of deadlocks here if code calling notify() or
14075 set() has a lock that can be taken in another notify handler (ABBA
14076 with class lock and e.g. python GIL state lock).
14078 2005-10-28 Julien MOUTTE <julien@moutte.net>
14080 * gst/gstbus.c: Doc updates.
14082 2005-10-28 Wim Taymans <wim@fluendo.com>
14084 * docs/design/part-TODO.txt:
14085 * gst/gstiterator.c:
14086 * gst/gstsystemclock.c:
14087 * gst/gstsystemclock.h:
14090 2005-10-28 Edward Hervey <edward@fluendo.com>
14092 * docs/gst/gstreamer-docs.sgml:
14093 * docs/gst/gstreamer-sections.txt:
14094 the GstURIType documentation page is private, it only defines GstURIType
14095 which should be defined in the GstURIHandler page
14097 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14099 * gst/gstbin.c: (gst_bin_class_init):
14102 Documentation updates.
14104 2005-10-28 Wim Taymans <wim@fluendo.com>
14106 * docs/gst/gstreamer-sections.txt:
14109 Documented the clocks.
14111 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14113 * docs/gst/gstreamer-sections.txt:
14114 move some macros to private sections
14115 * gst/gstminiobject.c:
14116 * gst/gstminiobject.h:
14117 add descriptions provided by ds and some more
14119 mark macro as to be removed
14121 2005-10-28 Wim Taymans <wim@fluendo.com>
14123 * docs/design/part-TODO.txt:
14124 Add an item to TODO.
14126 * gst/gstiterator.c: (gst_iterator_fold),
14127 (gst_iterator_find_custom):
14128 * gst/gstiterator.h:
14131 2005-10-28 Wim Taymans <wim@fluendo.com>
14133 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14134 (gst_base_transform_init):
14137 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14138 An EOS event marks the queue as completely filled.
14140 2005-10-27 Wim Taymans <wim@fluendo.com>
14142 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14143 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14144 Some more debugging.
14146 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14147 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14148 (gst_base_transform_event), (gst_base_transform_getrange),
14149 (gst_base_transform_chain):
14150 * gst/base/gstbasetransform.h:
14152 Protect transform and concurrent buffer alloc with a new lock.
14153 Try not to break ABI/API.
14155 2005-10-27 Wim Taymans <wim@fluendo.com>
14157 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14158 (gst_base_src_init), (gst_base_src_query),
14159 (gst_base_src_default_newsegment),
14160 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14161 (gst_base_src_send_event), (gst_base_src_event_handler),
14162 (gst_base_src_pad_get_range), (gst_base_src_loop),
14163 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14164 (gst_base_src_start), (gst_base_src_deactivate),
14165 (gst_base_src_activate_push), (gst_base_src_change_state):
14166 Move some stuff around and cleanup things.
14168 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14170 * gst/base/gstbasesrc.c: (gst_base_src_query):
14171 Add missing break statements.
14173 2005-10-27 Wim Taymans <wim@fluendo.com>
14175 * check/gst/gstbin.c: (GST_START_TEST):
14176 An extra refcount is taken in basesrc.
14178 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14179 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14180 (gst_base_src_loop):
14181 Small cleanups, check for flushing after being unlocked from the
14182 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14183 Don't send out EOS when going to READY.
14185 2005-10-27 Wim Taymans <wim@fluendo.com>
14187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14188 (gst_base_sink_get_position):
14191 * gst/gstbin.c: (message_check), (bin_replace_message),
14192 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14193 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14194 (bin_query_duration_init), (bin_query_duration_fold),
14195 (bin_query_duration_done), (bin_query_generic_fold),
14197 * tools/gst-launch.c: (main):
14200 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14202 * examples/controller/audio-example.c: (main):
14203 * examples/queue/queue.c: (event_loop):
14204 * gst/base/gstbasetransform.h:
14205 * gst/gstelement.c: (gst_element_send_event):
14207 * gst/gstpad.c: (gst_pad_send_event):
14210 changing log priority in error situations
14212 2005-10-25 Wim Taymans <wim@fluendo.com>
14214 * gst/gstbin.c: (message_check), (bin_replace_message),
14215 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14216 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14217 (bin_query_duration_init), (bin_query_duration_fold),
14218 (bin_query_duration_done), (bin_query_generic_fold),
14220 Some doc and debug updates.
14221 Cache previously requested query DURATION for speed. invalidate
14222 cached duration if element posts a DURATION message.
14224 2005-10-25 Wim Taymans <wim@fluendo.com>
14226 * docs/design/part-TODO.txt:
14229 * gst/gstbin.c: (message_check), (bin_replace_message),
14230 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14231 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14232 (bin_query_duration_init), (bin_query_duration_fold),
14233 (bin_query_duration_done), (bin_query_generic_fold),
14235 Handle SEGMENT_START/DONE messages correctly.
14236 More evolved query algorithm that handles duration queries
14239 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14240 (gst_element_get_state_func), (gst_element_abort_state),
14241 (gst_element_commit_state), (gst_element_lost_state):
14242 Some more debugging.
14244 * gst/gstmessage.h:
14247 2005-10-25 Wim Taymans <wim@fluendo.com>
14249 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14250 Don't use invalid stream_time.
14252 * gst/gstevent.c: (gst_event_new_newsegment):
14253 stream_time in newsegment cannot be undefined.
14255 2005-10-24 Wim Taymans <wim@fluendo.com>
14260 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14262 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14264 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14266 * docs/libs/tmpl/gstdparam.sgml:
14267 * docs/libs/tmpl/gstdplinint.sgml:
14268 * docs/libs/tmpl/gstdpman.sgml:
14269 * docs/libs/tmpl/gstdpsmooth.sgml:
14270 * docs/libs/tmpl/gstunitconvert.sgml:
14273 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14278 === release 0.9.4 ===
14280 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14283 releasing 0.9.4, "Tyrannosaurus Rex"
14285 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14287 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14288 (gst_file_sink_get_current_offset):
14289 Use fseeko() and ftello() if available. When falling back on
14290 lseek() to get the current offset, fflush() first to make sure
14291 everything is up-to-date and we get the right offset.
14293 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14295 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14296 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14297 * gst/gsterror.c: (_gst_stream_errors_init):
14299 * gst/gstqueue.c: (gst_queue_loop):
14301 remove prematurely added error category and clean up the instances
14303 2005-10-21 Wim Taymans <wim@fluendo.com>
14305 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14306 (gst_base_sink_get_position), (gst_base_sink_query),
14307 (gst_base_sink_change_state):
14308 Simply set the right flag when going to playing, that's all
14309 we need to do instead of calling a function inside the object
14310 lock (that could take the lock as well and deadlock)
14312 2005-10-21 Wim Taymans <wim@fluendo.com>
14314 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14315 (gst_base_src_loop):
14316 Don't warn, the peer element knows what to do best when
14317 the seek failed, it might try something else.
14319 2005-10-21 Wim Taymans <wim@fluendo.com>
14321 * gst/base/gstbasesrc.c: (gst_base_src_init),
14322 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14325 2005-10-21 Wim Taymans <wim@fluendo.com>
14327 * docs/design/part-segments.txt:
14330 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14331 Correctly set caps, even on the subbufer.
14333 2005-10-21 Wim Taymans <wim@fluendo.com>
14335 * docs/gst/gstreamer-docs.sgml:
14336 * docs/gst/gstreamer-sections.txt:
14337 * gst/gstelement.h:
14340 * gst/gstmessage.h:
14343 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14347 And 2% more doc coverage.
14349 2005-10-21 Andy Wingo <wingo@pobox.com>
14351 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14352 position reporting.
14354 2005-10-20 Wim Taymans <wim@fluendo.com>
14356 * gst/gsterror.c: (gst_error_get_message):
14359 * gst/gststructure.c:
14364 2005-10-20 Wim Taymans <wim@fluendo.com>
14369 Another 1% more coverage.
14371 2005-10-20 Wim Taymans <wim@fluendo.com>
14373 * docs/gst/gstreamer-sections.txt:
14374 * gst/gstelement.c: (gst_element_get_state_func),
14375 (gst_element_abort_state), (gst_element_commit_state),
14376 (gst_element_lost_state):
14378 * gst/gstquery.c: (gst_query_set_position),
14379 (gst_query_parse_position), (gst_query_set_duration),
14380 (gst_query_parse_duration), (gst_query_new_convert):
14382 Yay! 1% more docs coverage.
14384 2005-10-20 Wim Taymans <wim@fluendo.com>
14387 * gst/gstquery.c: (gst_query_set_position),
14388 (gst_query_parse_position), (gst_query_set_duration),
14389 (gst_query_parse_duration), (gst_query_new_convert):
14391 * gst/gstutils.c: (gst_element_query_convert):
14393 Docs and consistency fixes.
14395 2005-10-20 Wim Taymans <wim@fluendo.com>
14401 2005-10-20 Wim Taymans <wim@fluendo.com>
14403 * gst/gstbin.c: (message_check), (bin_replace_message),
14404 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14405 (update_degree), (gst_bin_sort_iterator_next),
14406 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
14407 Reworked the message handling a bit, cache the messages instead of
14408 only the senders. alows us to do more in the future.
14410 2005-10-20 Wim Taymans <wim@fluendo.com>
14412 * docs/design/part-TODO.txt:
14415 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14416 (gst_base_sink_query):
14417 Don't use clock time to report position when in EOS.
14419 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
14421 * tools/gst-inspect.c: (print_interfaces),
14422 (print_element_properties_info), (print_element_info):
14423 Fix interface output with gst-inspect -a; don't print
14424 newlines after double/float properties.
14426 2005-10-20 Wim Taymans <wim@fluendo.com>
14428 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14429 (gst_base_sink_query):
14430 Speed up current position calculation.
14432 * gst/base/gstbasesrc.c: (gst_base_src_query),
14433 (gst_base_src_default_newsegment):
14434 Correctly set stream position in newsegment.
14436 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
14437 (update_degree), (gst_bin_sort_iterator_next),
14438 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
14439 * gst/gstmessage.c: (gst_message_new_custom):
14440 Clean up debugging info
14442 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14443 (gst_queue_loop), (gst_queue_handle_src_query):
14446 2005-10-19 Wim Taymans <wim@fluendo.com>
14448 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14449 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14450 Fix query handling again.
14452 2005-10-19 Wim Taymans <wim@fluendo.com>
14454 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14455 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14456 * gst/base/gstbasesrc.c: (gst_base_src_query):
14457 * gst/elements/gstfilesink.c: (gst_file_sink_query):
14458 * gst/elements/gsttypefindelement.c:
14459 (gst_type_find_handle_src_query), (find_element_get_length),
14460 (gst_type_find_element_activate):
14463 * gst/gstquery.c: (gst_query_new_position),
14464 (gst_query_set_position), (gst_query_parse_position),
14465 (gst_query_new_duration), (gst_query_set_duration),
14466 (gst_query_parse_duration), (gst_query_set_segment),
14467 (gst_query_parse_segment):
14469 Bundling query position/duration is not a good idea since duration
14470 does not change much and we don't want to recalculate it for every
14471 position query, so they are separated again..
14472 Base value in segment query is not needed.
14474 * gst/gstqueue.c: (gst_queue_handle_src_query):
14475 * gst/gstutils.c: (gst_element_query_position),
14476 (gst_element_query_duration), (gst_pad_query_position),
14477 (gst_pad_query_duration):
14479 Updates for query API change.
14480 Added some docs here and there.
14482 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
14484 * check/gst/gstbin.c: (GST_START_TEST):
14485 * check/gst/gstghostpad.c: (GST_START_TEST):
14486 * check/pipelines/cleanup.c: (GST_START_TEST):
14487 wait on thread to die so we can check refcount correctly
14489 2005-10-18 Wim Taymans <wim@fluendo.com>
14491 * check/pipelines/stress.c: (GST_START_TEST):
14492 Make check a little more time consuming.
14494 2005-10-18 Wim Taymans <wim@fluendo.com>
14496 * check/Makefile.am:
14497 * check/pipelines/stress.c: (GST_START_TEST),
14498 (simple_launch_lines_suite), (main):
14499 Small state change torture test.
14501 * docs/design/part-states.txt:
14502 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14503 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
14504 (gst_base_sink_change_state):
14505 Never take state lock from streaming thread, clean up ugly
14506 hacks. Unfortunatly core does not yet support nice ways to
14507 async commit state.
14509 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
14511 Start state recalc if a STATE_DIRTY message is posted, but only
14512 on the toplevel bin.
14514 * gst/gstelement.c: (gst_element_sync_state_with_parent),
14515 (gst_element_get_state_func), (gst_element_abort_state),
14516 (gst_element_commit_state), (gst_element_lost_state),
14517 (gst_element_set_state_func), (gst_element_change_state):
14518 * gst/gstelement.h:
14519 State variables are now protected with the LOCK, the state
14520 lock is only used to serialize _set_state().
14522 2005-10-18 Wim Taymans <wim@fluendo.com>
14524 * check/gst/gstbin.c: (GST_START_TEST):
14525 * check/gst/gstmessage.c: (GST_START_TEST):
14526 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14527 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
14529 * gst/gstelement.c: (gst_element_abort_state),
14530 (gst_element_commit_state), (gst_element_lost_state):
14531 * gst/gstmessage.c: (gst_message_new_state_changed),
14532 (gst_message_new_state_dirty), (gst_message_new_segment_start),
14533 (gst_message_new_segment_done), (gst_message_new_duration),
14534 (gst_message_parse_state_changed),
14535 (gst_message_parse_segment_start),
14536 (gst_message_parse_segment_done), (gst_message_parse_duration):
14537 * gst/gstmessage.h:
14538 * tools/gst-launch.c: (event_loop):
14539 Seriously, this is better than a previous commit as we only need
14540 to notify the fact that an element changed state in a streaming
14541 thread, marking the state of the parents dirty, hence the
14542 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
14545 2005-10-18 Wim Taymans <wim@fluendo.com>
14547 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
14548 (gst_bin_recalc_func):
14549 * gst/gstelement.c: (gst_element_set_clock),
14550 (gst_element_abort_state), (gst_element_lost_state):
14551 Cleanups, prepare for state change fixes.
14553 2005-10-18 Wim Taymans <wim@fluendo.com>
14556 * gst/gstelement.c: (gst_element_class_init),
14557 (gst_element_set_state), (gst_element_set_state_func):
14558 * gst/gstelement.h:
14559 Pending ABI changes.
14560 GThreadPool in GstBinClass to monitor async state changes.
14561 state_cookie in GstElement to detect concurrent gst/set state.
14562 set_state is now virtual too in case a very complicated element
14563 has to be constructed.
14565 2005-10-18 Wim Taymans <wim@fluendo.com>
14567 * check/gst/gstbin.c: (GST_START_TEST):
14568 * check/gst/gstmessage.c: (GST_START_TEST):
14569 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14570 * gst/gstbin.c: (bin_bus_handler):
14571 * gst/gstelement.c: (gst_element_commit_state),
14572 (gst_element_lost_state):
14573 * gst/gstmessage.c: (gst_message_new_state_changed),
14574 (gst_message_new_segment_start), (gst_message_new_segment_done),
14575 (gst_message_new_duration), (gst_message_parse_state_changed),
14576 (gst_message_parse_segment_start),
14577 (gst_message_parse_segment_done), (gst_message_parse_duration):
14578 * gst/gstmessage.h:
14579 * tools/gst-launch.c: (event_loop):
14580 Make messages future proof.
14581 state-change gets a flag if it was a message comming from the
14583 segment-start/stop can also be specified in other formats.
14584 A message to notify an app that a pipeline changed playback
14586 Also fix a GstMessage leak in -launch
14588 2005-10-18 Andy Wingo <wingo@pobox.com>
14590 * gst/gstelement.c (gst_element_dispose): More helpful message.
14592 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14594 reviewed by: <delete if not using a buddy>
14596 * common/gtk-doc.mak:
14598 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14600 * gst/gstregistry.c: (gst_registry_scan_path_level):
14601 unref a plug-in we get that was already initialized
14603 2005-10-18 Stefan Kost <ensonic@users.sf.net>
14605 * docs/gst/gstreamer-sections.txt:
14606 * docs/libs/gstreamer-libs-sections.txt:
14607 * gst/gstelement.h:
14608 add new api entries
14609 hide internal macro
14611 2005-10-17 Andy Wingo <wingo@pobox.com>
14613 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
14616 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
14618 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
14620 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
14621 (gst_element_get_state_func): Better debug message.
14622 (gst_element_commit_state): s/INFO/DEBUG/.
14623 (gst_element_lost_state, gst_element_change_state):
14625 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
14626 (gst_message_new_custom): s/INFO/LOG/.
14628 2005-10-17 Michael Smith <msmith@fluendo.com>
14630 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14631 Check if end time is valid using end time, not start time.
14633 2005-10-17 Stefan Kost <ensonic@users.sf.net>
14635 * check/gst-libs/controller.c: (GST_START_TEST),
14636 (gst_controller_suite):
14637 * libs/gst/controller/gstcontroller.c:
14638 (gst_controlled_property_set_interpolation_mode):
14639 * libs/gst/controller/gstcontroller.h:
14640 * libs/gst/controller/gstinterpolation.c:
14641 * testsuite/controller/.cvsignore:
14642 * testsuite/controller/Makefile.am:
14643 * testsuite/controller/interpolator.c:
14644 merge controller testsuites
14646 remove mem-chunk from docs
14648 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14650 * gst/gstmemchunk.c:
14651 * gst/gstmemchunk.h:
14652 * gst/gsttrashstack.c:
14653 * gst/gsttrashstack.h:
14654 out. get out. you're fired. to the Attic !
14656 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14658 * gst/gstcaps.c: (gst_caps_intersect):
14659 fix signedness issues in a (hopefully) correct way
14660 * gst/gstelement.c: (gst_element_pads_activate):
14662 * gst/gstobject.c: (gst_object_set_parent):
14665 2005-10-17 Julien MOUTTE <julien@moutte.net>
14667 * gst/gstvalue.h: Fix prototypes.
14669 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14671 * docs/gst/gstreamer-sections.txt:
14672 * gst/gst.c: (gst_version_string):
14674 * gst/gstversion.h.in:
14675 * win32/common/libgstreamer.def:
14676 add gst_version_string ()
14678 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14682 * gst/gst.c: (init_post):
14683 * win32/common/config.h.in:
14685 * gst/gstcaps.c: (gst_caps_intersect):
14686 use gint64, the range could be bigger than a guint
14688 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14691 document potential problem in 2038
14693 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14695 * gst/gstcaps.c: (gst_caps_intersect):
14696 Fix guint j diving under 0
14698 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14701 * win32/common/config.h:
14702 * win32/common/config.h.in:
14703 check for process.h, declares getpid() on Windows
14705 include process.h if we have it
14706 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
14707 * gst/gstmemchunk.h:
14708 fix signedness issues
14709 * win32/common/libgstreamer.def:
14712 2005-10-16 Julien MOUTTE <julien@moutte.net>
14714 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
14715 fix. Because of unsigned ints, caps intersection was going nuts and
14716 trying to access structures with G_MAXUINT index. That fixes
14717 videotestsrc ! ffmpegcolorspace ! fakesink
14718 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
14721 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14724 use the gettext macro
14725 * gst/elements/gstelements.c:
14727 * gst/indexers/gstindexers.c:
14728 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
14729 * win32/common/config.h:
14731 * win32/common/config.h.in:
14732 add the template to generate config.h
14733 * win32/common/gstenumtypes.c:
14734 * win32/common/gstversion.h:
14737 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14739 * gst/gst.c: (gst_version):
14740 * gst/gstversion.h.in:
14743 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14746 Oops, add missing closing bracket.
14748 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14751 use common m4's for argument checking
14753 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14755 * docs/gst/gstreamer-sections.txt:
14757 Add GST_EVENT_TYPE_NAME() macro.
14759 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14762 * gst/gstpluginfeature.c:
14764 privatize more symbols
14766 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14769 add srcdir, builddir includes to GST_ALL_CFLAGS, since
14770 everything that uses GStreamer API should have the includes
14772 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14774 * docs/gst/gstreamer-sections.txt:
14775 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14777 give each value a _get_type, removes the DATA exports
14779 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14783 remove _gst_registry_auto_load, not used anymore
14784 * gst/gstbin.c: (gst_bin_get_type):
14786 * gst/gstelement.c: (gst_element_get_type):
14787 * gst/gstelement.h:
14788 * gst/gstobject.c: (gst_object_get_type):
14790 * gst/gstpad.c: (gst_pad_get_type):
14792 make _get_type functions similar, fixes data export from library
14794 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14797 correctly make conditionals
14798 * gst/elements/Makefile.am:
14799 * gst/elements/gstelements.c:
14800 fix typo causing fdsrc not to build
14802 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14804 * testsuite/Makefile.am:
14805 * testsuite/bytestream/.cvsignore:
14806 * testsuite/bytestream/Makefile.am:
14807 * testsuite/bytestream/filepadsink.c:
14808 * testsuite/bytestream/gstbstest.c:
14809 * testsuite/bytestream/test1.c:
14810 * testsuite/bytestream/testfile1:
14811 * testsuite/caps/normalisation.c:
14812 * testsuite/caps/random.c: (main):
14813 * testsuite/cleanup/.cvsignore:
14814 * testsuite/cleanup/Makefile.am:
14815 * testsuite/cleanup/cleanup1.c:
14816 * testsuite/cleanup/cleanup2.c:
14817 * testsuite/cleanup/cleanup3.c:
14818 * testsuite/cleanup/cleanup4.c:
14819 * testsuite/cleanup/cleanup5.c:
14820 * testsuite/controller/interpolator.c:
14821 * testsuite/debug/printf_extension.c: (main):
14822 * testsuite/elements/tee.c:
14823 * testsuite/negotiation/.cvsignore:
14824 * testsuite/negotiation/Makefile.am:
14825 * testsuite/negotiation/pad_link.c:
14826 * testsuite/pad/Makefile.am:
14827 * testsuite/pad/chainnopull.c:
14828 * testsuite/pad/getnopush.c:
14829 * testsuite/pad/link.c:
14830 * testsuite/refcounting/sched.c: (create_pipeline):
14831 * testsuite/registry/Makefile.am:
14832 * testsuite/registry/gst-print-formats.c:
14833 * testsuite/schedulers/.cvsignore:
14834 * testsuite/schedulers/142183-2.c:
14835 * testsuite/schedulers/142183.c:
14836 * testsuite/schedulers/143777-2.c:
14837 * testsuite/schedulers/143777.c:
14838 * testsuite/schedulers/147713.c:
14839 * testsuite/schedulers/147819.c:
14840 * testsuite/schedulers/147894-2.c:
14841 * testsuite/schedulers/147894.c:
14842 * testsuite/schedulers/Makefile.am:
14843 * testsuite/schedulers/group_link.c:
14844 * testsuite/schedulers/queue_link.c:
14845 * testsuite/schedulers/relink.c:
14846 * testsuite/schedulers/unlink.c:
14847 * testsuite/schedulers/unref.c:
14848 * testsuite/schedulers/useless_iteration.c:
14849 * testsuite/states/bin.c:
14850 clean out/remove some stuff from the testsuite directories
14852 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14855 check for some headers
14856 * gst/elements/Makefile.am:
14857 * gst/elements/gstelements.c:
14858 don't compile fdsrc without sys/socket.h
14859 * gst/indexers/Makefile.am:
14860 * gst/indexers/gstindexers.c: (plugin_init):
14861 don't compile fileindex without mmap
14863 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14870 * check/Makefile.am:
14871 * docs/gst/Makefile.am:
14872 * examples/helloworld/Makefile.am:
14874 * gst/base/Makefile.am:
14875 * gst/check/Makefile.am:
14876 * gst/elements/Makefile.am:
14877 * gst/indexers/Makefile.am:
14878 * gst/parse/Makefile.am:
14879 * libs/gst/controller/Makefile.am:
14880 * libs/gst/dataprotocol/Makefile.am:
14881 * examples/helloworld/helloworld.c: (event_loop):
14882 compile fixes, though it's not being compiled currently
14884 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14886 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14887 Add some simple tests for the new taglist date API.
14889 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14891 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14892 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14893 Beautify 'last-message' output: print 'none' for buffer timestamps
14894 and durations if none is set; improve alignment with next messages.
14896 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14898 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14899 * gst/gstpluginfeature.h:
14900 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14901 * gst/gstregistry.h:
14902 * docs/gst/gstreamer-sections.txt:
14903 Add new API to check plugin feature version requirements.
14905 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14906 Some basic tests for the above.
14908 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14910 * gst/gststructure.c: (gst_structure_to_string):
14911 guard against NULL printf - happens when for example
14912 a message structure with GstClock gets serialized
14914 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14916 * gst/base/gstcollectpads.c: (gst_collectpads_event):
14917 Fix presumable copy'n'pasto.
14919 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14921 * gst/elements/gstfakesrc.h:
14922 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14923 * gst/elements/gsttypefindelement.c:
14924 fix some signedness
14925 * gst/elements/gstfilesink.c: (gst_file_sink_render):
14926 I wonder if this could actually write +2GB files before
14928 2005-10-13 Andy Wingo <wingo@pobox.com>
14930 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14931 Fix Timmeke Waymans bug.
14932 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14933 string of the proper length to gst_caps_from_string. There's a
14934 potential for, before this fix, that this could cause someone
14935 connecting over the network to cause a segfault if the payload is
14936 not NUL-terminated.
14938 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14940 * docs/design/draft-push-pull.txt:
14941 * docs/design/part-overview.txt:
14942 * docs/random/TODO-pre-0.9:
14943 * docs/random/old/ChangeLog.gstreamer:
14944 * gst/base/gstpushsrc.c:
14948 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14950 * gst/glib-compat.c: (gst_flags_get_first_value):
14951 * gst/glib-compat.h:
14952 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14953 (gst_value_compare_double), (gst_value_serialize_flags):
14954 GLib 2.6 g_flags_get_first_value has a bug that triggers an
14957 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14960 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14962 * tools/gst-launch.c: (event_loop):
14963 print out clock nicely
14965 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14967 * docs/gst/gstreamer-sections.txt:
14968 * gst/gsttaglist.h:
14969 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14970 (gst_tag_list_get_date_index):
14971 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14972 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14974 2005-10-13 Julien MOUTTE <julien@moutte.net>
14976 * gst/base/gstcollectpads.c: (gst_collectpads_event),
14977 (gst_collectpads_chain):
14978 * gst/base/gstcollectpads.h: Handle newsegment and store informations
14981 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14983 * docs/gst/gstreamer-sections.txt:
14986 * tools/gst-inspect.c: (main):
14987 * tools/gst-launch.c: (main):
14988 * tools/gst-run.c: (main):
14989 * tools/gst-xmlinspect.c: (main):
14990 fix GOption context leaks
14993 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14997 * win32/common/config.h:
14999 * win32/vs6/grammar.dsp:
15000 * win32/vs6/libgstelements.dsp:
15001 * win32/vs6/libgstreamer.dsp:
15004 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15006 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15007 * gst/base/gstbasesrc.c: (gst_base_src_query):
15008 fix more guint64<->gdouble conversions
15010 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15013 add win32-update target
15014 * win32/common/gstconfig.h:
15015 * win32/common/gstenumtypes.c:
15016 * win32/common/gstenumtypes.h:
15017 * win32/common/gstversion.h:
15018 add files that visual studio can't generate
15020 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15023 add a win32-update target
15026 2005-10-12 Wim Taymans <wim@fluendo.com>
15028 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15029 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15030 * gst/gstelement.c: (gst_element_commit_state),
15031 (gst_element_set_state):
15032 Protect flags with proper lock.
15033 unref provided cached clock in dispose.
15035 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15038 * gst/gstminiobject.h:
15040 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15041 removed unused flags from miniobject
15044 2005-10-12 Wim Taymans <wim@fluendo.com>
15046 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15047 (gst_file_sink_event), (gst_file_sink_render):
15048 Flush before seeking.
15050 2005-10-12 Andy Wingo <wingo@pobox.com>
15052 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15053 always been the case.
15055 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15057 * check/gst/gstbin.c: (GST_START_TEST):
15058 * docs/gst/gstreamer-sections.txt:
15059 * gst/base/gstbasesink.c: (gst_base_sink_init):
15060 * gst/base/gstbasesrc.c: (gst_base_src_init),
15061 (gst_base_src_get_range), (gst_base_src_check_get_range),
15062 (gst_base_src_start), (gst_base_src_stop):
15063 * gst/base/gstbasesrc.h:
15064 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15065 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15066 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15070 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15072 * gst/gstelement.c: (gst_element_is_locked_state),
15073 (gst_element_set_locked_state), (gst_element_commit_state),
15074 (gst_element_set_state):
15075 * gst/gstelement.h:
15076 * gst/gstindex.c: (gst_index_init):
15078 * gst/gstminiobject.h:
15079 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15080 (gst_object_set_parent):
15082 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15083 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15085 * gst/gstpadtemplate.h:
15086 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15087 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15088 * gst/gstpipeline.h:
15089 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15090 (gst_file_index_commit):
15091 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15092 * testsuite/pad/link.c: (gst_test_src_init),
15093 (gst_test_filter_init), (gst_test_sink_init):
15094 * testsuite/states/locked.c: (main):
15095 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15096 moved bitshift from macro to enum definition
15098 2005-10-12 Wim Taymans <wim@fluendo.com>
15100 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15101 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15102 (gst_file_sink_render):
15103 Some more debugging info.
15105 2005-10-12 Wim Taymans <wim@fluendo.com>
15107 * docs/design/part-states.txt:
15108 * tools/gst-launch.c: (main):
15110 Revert non-intentional change.
15112 2005-10-12 Wim Taymans <wim@fluendo.com>
15114 * check/gst/gstbin.c: (GST_START_TEST):
15115 * check/gst/gstelement.c: (GST_START_TEST):
15116 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15117 * check/gst/gstghostpad.c: (GST_START_TEST):
15118 * check/gst/gstpipeline.c: (GST_START_TEST):
15119 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15120 * check/states/sinks.c: (GST_START_TEST):
15121 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15122 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15123 (gst_bin_remove_func), (gst_bin_get_state_func),
15124 (gst_bin_recalc_state), (gst_bin_change_state_func),
15126 * gst/gstelement.c: (gst_element_get_state_func),
15127 (gst_element_get_state), (gst_element_abort_state),
15128 (gst_element_commit_state), (gst_element_set_state),
15129 (gst_element_change_state), (gst_element_change_state_func):
15130 * gst/gstelement.h:
15131 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15132 (gst_pipeline_provide_clock_func):
15133 * gst/gstutils.c: (gst_element_link_pads_filtered):
15134 * tools/gst-launch.c: (main):
15135 * tools/gst-typefind.c: (main):
15136 Use GstClockTime in _get_state() instead of GTimeVal.
15137 Remove old code in gstutils.c
15139 2005-10-12 Andy Wingo <wingo@pobox.com>
15141 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15144 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15145 there is no task. Shouldn't affect any code, as nothing in our
15146 plugins checks this return value.
15147 (gst_pad_stop_task): Also take the stream lock if the pad has no
15148 task. Docs updated.
15150 2005-10-12 Wim Taymans <wim@fluendo.com>
15152 * gst/gstpad.c: (pre_activate), (post_activate),
15153 (gst_pad_activate_pull), (gst_pad_activate_push):
15154 Cleanup activation code. Reset old state if
15157 2005-10-12 Wim Taymans <wim@fluendo.com>
15159 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15160 (gst_base_sink_change_state):
15161 No need to prerol after receiving EOS.
15163 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15164 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15165 * gst/elements/gstidentity.c: (gst_identity_event):
15166 Print events more verbosely.
15168 2005-10-12 Wim Taymans <wim@fluendo.com>
15170 * check/Makefile.am:
15171 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15172 * check/states/sinks2.c:
15173 Moved sinks2 testcode in sinks check.
15175 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15176 (gst_bin_remove_func), (gst_bin_recalc_state),
15177 (gst_bin_change_state_func), (bin_bus_handler):
15178 Fix potential race condition when _get_state() iterated over an
15179 ASYNC element right before it posted a state completion.
15182 Do proper cast here.
15184 * gst/gstevent.c: (gst_event_new_newsegment),
15185 (gst_event_parse_newsegment):
15186 A playback rate of 0.0 is not allowed.
15188 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15190 * win32/common/config.h:
15191 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15192 (_trewinddir), (_ttelldir), (_tseekdir):
15193 * win32/common/dirent.h:
15194 * win32/common/gtchar.h:
15195 * win32/common/libgstbase.def:
15196 * win32/common/libgstreamer.def:
15197 * win32/vs6/grammar.dsp:
15198 * win32/vs6/gst_inspect.dsp:
15199 * win32/vs6/gst_launch.dsp:
15200 * win32/vs6/gstreamer.dsw:
15201 * win32/vs6/libgstbase.dsp:
15202 * win32/vs6/libgstelements.dsp:
15203 * win32/vs6/libgstreamer.dsp:
15204 Visual Studio 6 project files, and a new common directory.
15207 2005-10-11 Wim Taymans <wim@fluendo.com>
15209 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15210 (gst_base_sink_do_sync), (gst_base_sink_query),
15211 (gst_base_sink_change_state):
15212 * gst/base/gstbasesink.h:
15213 Correctly parse newsegment info.
15215 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15217 * gst/gst.c: (init_post):
15218 split plugin paths correctly
15220 2005-10-11 Wim Taymans <wim@fluendo.com>
15222 * check/gst/gstevent.c: (GST_START_TEST):
15223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15224 (gst_base_sink_change_state):
15225 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15226 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15227 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15228 * gst/gstevent.c: (gst_event_new_newsegment),
15229 (gst_event_parse_newsegment):
15231 Added extra flag to newsegment for future API freeze.
15232 Updated check and base elements.
15234 2005-10-11 Julien MOUTTE <julien@moutte.net>
15236 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15237 (gst_collectpads_add_pad), (gst_collectpads_pop),
15238 (gst_collectpads_event), (gst_collectpads_chain):
15239 * gst/base/gstcollectpads.h: Handle EOS correctly.
15241 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15243 * tools/gst-launch.c: (main):
15244 more null protecting
15246 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15248 * gst/gst-i18n-lib.h:
15249 check for ENABLE_NLS, not GETTEXT_PACKAGE
15250 * gst/gstregistry.c: (gst_registry_add_plugin),
15251 (gst_registry_scan_path_level),
15252 (_gst_registry_remove_cache_plugins):
15253 protect possibly NULL strings
15254 * gst/parse/types.h:
15255 config.h already included before
15256 * tools/gst-inspect.c: (main):
15257 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15258 check for ENABLE_NLS, not GETTEXT_PACKAGE
15259 * tools/gst-launch.c: (main):
15260 check for ENABLE_NLS, not GETTEXT_PACKAGE
15262 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15265 if we don't have glib, fail before testing 2.8
15266 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15267 fix a leak, should fix plugins-base testsuite
15269 2005-10-11 Andy Wingo <wingo@pobox.com>
15271 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15272 take the mode we're going to as an arg. Go head and set the mode
15273 and flushing flags now, so that if the activate function starts a
15274 thread all the flags will be in the right state.
15275 (post_activate): Renamed also. Just handle making sure streaming
15276 finishes for the deactivation case, and setting the deactivated
15278 (gst_pad_set_active): Complain loudly if deactivation fails.
15279 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15280 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15281 remove the terrible hack.
15283 2005-10-11 Wim Taymans <wim@fluendo.com>
15285 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15286 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15287 (gst_bin_recalc_state), (gst_bin_change_state_func),
15288 (gst_bin_dispose), (bin_bus_handler):
15290 Prepare to make current EOS message queue more generic.
15293 * gst/gstevent.c: (gst_event_new_newsegment),
15294 (gst_event_parse_newsegment):
15296 Rename base to stream_time.
15298 * gst/gstmessage.h:
15301 2005-10-11 Wim Taymans <wim@fluendo.com>
15303 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15304 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15305 (gst_bin_change_state_func), (bin_bus_handler):
15307 Work on proper clock selection.
15309 2005-10-11 Edward Hervey <edward@fluendo.com>
15311 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15312 * libs/gst/controller/gstcontroller.h:
15313 Added GList* version of _remove_properties() in order to be able to wrap
15316 2005-10-11 Wim Taymans <wim@fluendo.com>
15318 * docs/design/part-states.txt:
15321 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15322 (gst_bin_change_state_func), (bin_bus_handler):
15323 Doc updates. Don't distribute the same clock over and over again.
15329 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15330 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15331 (gst_pad_send_event):
15333 Make probe emission threadsafe again.
15334 Register quarks and move _get_name() from utils.
15337 * gst/gstpipeline.c: (gst_pipeline_class_init),
15338 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15339 Only redistribute the clock of it changed.
15341 * gst/gstsystemclock.h:
15346 Moved the _flow_get_name() to GstPad.
15348 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15350 * check/gst-libs/gdp.c: (GST_START_TEST):
15351 * check/gst/gstcaps.c: (GST_START_TEST):
15352 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15353 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15354 (gst_dp_packet_from_caps):
15355 fix more valgrind warnings before turning up the heat
15357 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15359 * gst/parse/grammar.y:
15360 some cleanup before the hacking
15362 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15364 * gst/base/gstbasesrc.c: (gst_base_src_query):
15366 * gst/gstutils.c: (gst_guint64_to_gdouble),
15367 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15369 externalize, basesrc uses it
15370 obviously the implementation needs testing
15372 2005-10-10 Wim Taymans <wim@fluendo.com>
15374 * tests/sched/Makefile.am:
15375 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15376 (make_pipeline3), (make_pipeline4), (print_elem), (main):
15378 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15380 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15381 apparently converting from guint64 to double is not implemented
15384 2005-10-10 Wim Taymans <wim@fluendo.com>
15386 * check/Makefile.am:
15387 * check/generic/states.c: (GST_START_TEST):
15388 * check/gst/gstbin.c: (GST_START_TEST):
15389 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15390 * check/states/sinks.c: (GST_START_TEST):
15391 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15393 Check fixes, use API as stated in design docs, remove hacks.
15395 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15396 (gst_base_sink_change_state):
15397 Catch stopping our task while we're shutting down.
15399 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15400 (gst_bin_remove_func), (gst_bin_get_state_func),
15401 (gst_bin_recalc_state), (gst_bin_change_state_func),
15404 * gst/gstelement.c: (gst_element_init),
15405 (gst_element_get_state_func), (gst_element_abort_state),
15406 (gst_element_commit_state), (gst_element_lost_state),
15407 (gst_element_set_state), (gst_element_change_state),
15408 (gst_element_change_state_func):
15409 * gst/gstelement.h:
15410 New state change algorithm (see #318116)
15412 * gst/gstpipeline.c: (gst_pipeline_class_init),
15413 (gst_pipeline_init), (gst_pipeline_set_property),
15414 (gst_pipeline_get_property), (do_pipeline_seek),
15415 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15416 * gst/gstpipeline.h:
15417 Remove crude state change hacks.
15420 Remove crude hacks.
15422 * tools/gst-launch.c: (main):
15423 Fixes for state change. Needs some more work to fully use the
15426 2005-10-10 Andy Wingo <wingo@pobox.com>
15428 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
15430 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
15431 this flag, but it's not even in GLib 2.6. Odd. Hack around the
15434 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15436 * gst/gstiterator.c: (gst_iterator_new):
15437 Fix my previous commit: GTypes passed to gst_iterator_new()
15438 can be fundamental types.
15440 2005-10-10 Wim Taymans <wim@fluendo.com>
15442 * gst/gstelement.c: (gst_element_iterate_pad_list),
15443 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
15444 (gst_element_iterate_sink_pads):
15445 Use src/sink pads lists for the respective iterators instead
15448 2005-10-10 Andy Wingo <wingo@pobox.com>
15450 Merged in popt removal + GOption addition patch from Ronald, bug
15453 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
15454 GstElement macros around, remove popt-related symbols, add goption
15457 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
15459 * docs/gst/Makefile.am:
15460 * docs/libs/Makefile.am: No POPT_CFLAGS.
15462 * examples/manual/Makefile.am:
15463 * docs/manual/basics-init.xml: Doc updates with an example.
15465 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
15466 (gst_init), (parse_one_option), (parse_goption_arg):
15467 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
15468 bit of hand merging and debugging to get the GOption stuff working
15471 * tests/Makefile.am:
15472 * tools/Makefile.am:
15473 * tools/gst-inspect.c: (main):
15474 * tools/gst-launch.c: (main):
15475 * tools/gst-run.c: (main):
15476 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
15478 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15480 * gst/gstiterator.c: (gst_iterator_new):
15481 Add assertions to make sure passed GType is likely to really
15482 be a GType (as the compiler won't catch it if the size and
15483 GType arguments get mixed up, see #318447).
15485 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
15487 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15489 * gst/gstbin.c: (gst_bin_iterate_sorted):
15490 Pass GType and size arguments to gst_iterator_new() in the right
15491 order (maybe we should make _new() take the GType as first argument
15492 just like _new_list()?) (#318447).
15495 2005-10-10 Wim Taymans <wim@fluendo.com>
15497 * gst/gstelement.c: (gst_element_finalize):
15498 And free the GStaticRecMutex too
15500 2005-10-10 Andy Wingo <wingo@pobox.com>
15502 * gst/gstelement.c (gst_element_init, gst_element_finalize):
15503 Allocate and free the mutex properly.
15505 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
15507 (GstElement): The state_lock is now recursive. Rebuild your
15508 plugins, suckers. Old macros adapted.
15510 * docs/gst/gstreamer-sections.txt: Doc updates.
15513 * gst/gstutils.c (g_static_rec_cond_timed_wait)
15514 (g_static_rec_cond_wait): Ported from state changes patch, while
15515 we wait on bug #317802 to be solved in a well-distributed GLib.
15517 * gst/gstelement.c (gst_element_change_state_func): Renamed from
15518 gst_element_change_state, variable name changes.
15519 (gst_element_change_state): Split out of gst_element_set_state in
15520 preparation for the state change merge. Doesn't pay attention to
15521 the 'transition' argument.
15522 (gst_element_set_state): Updates, hopefully purely cosmetic.
15523 (gst_element_sync_state_with_parent): MT-safety. Ported from the
15524 state change patch.
15525 (gst_element_get_state_func): Renamed from get_state, cosmetic
15528 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15530 * gst/elements/gstelements.c:
15531 * win32/GStreamer.vcproj:
15533 * win32/dirent.c: (_tseekdir):
15534 * win32/gst-inspect.vcproj:
15535 * win32/gst-launch.vcproj:
15536 * win32/gstconfig.h:
15537 * win32/gstelements.vcproj:
15538 * win32/gstenumtypes.c: (gst_object_flags_get_type):
15539 * win32/gstreamer.def:
15540 * win32/msvc71.sln:
15541 updates for the win32 build (patch from Sebastien Moutte)
15543 2005-10-10 Andy Wingo <wingo@pobox.com>
15545 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
15546 gst_bin_get_state, cleaned up (but no logic changes).
15547 (bin_element_is_sink): Comment updates.
15548 (sink_iterator_filter): Remove needless cast.
15549 (gst_bin_iterate_sinks): Doc update.
15550 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
15551 cleaned up (but no logic changes).
15553 * check/states/sinks.c (test_src_sink): Cleanups from the state
15555 (test_livesrc_sink): Sync on the state.
15557 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
15558 the state change patch.
15560 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
15563 * check/gst/gstbin.c: Merge in some style fixes and additional
15564 checks from Wim's state change patch.
15566 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15568 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15569 (gst_type_find_helper):
15570 Check whether we have the requested data already in our list of
15571 cached buffers before pulling a new buffer; also make the buffer
15572 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
15574 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15579 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15580 don't use long long, it's not portable. Replacing with
15581 gint64 seems to work; let's hope no skeletons fall out of the closet.
15583 2005-10-10 Andy Wingo <wingo@pobox.com>
15585 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
15587 2005-10-09 Stefan Kost <ensonic@users.sf.net>
15589 * docs/gst/gstreamer-sections.txt:
15594 * gst/gstmessage.c: (gst_message_parse_state_changed):
15597 more docs, fix compilation
15599 2005-10-09 Philippe Khalaf <burger@speedy.org>
15600 * gst/gstmessage.c:
15601 Fixed a few forgotten variables on previous commit
15603 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
15605 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15606 Fix evil typefind crasher: getrange() might return a short
15607 buffer at the end of a file, but gst_type_find_peek() must
15608 either return the full data as requested or NULL, but
15609 never a short buffer.
15611 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
15613 * gst/gstmessage.c: (gst_message_new_state_changed),
15614 (gst_message_parse_state_changed):
15615 * gst/gstmessage.h:
15616 don't use "new", it's a C++ keyword
15618 2005-10-08 Wim Taymans <wim@fluendo.com>
15620 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
15621 * gst/gstelement.c: (gst_element_post_message):
15622 * gst/gstpipeline.c: (gst_pipeline_change_state):
15623 Small docs and debug updates.
15625 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15627 * docs/gst/gstreamer-sections.txt:
15628 * gst/gstelementfactory.c:
15630 * gst/gsttaglist.c:
15633 2005-10-08 Wim Taymans <wim@fluendo.com>
15635 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
15636 (gst_bin_dispose), (bin_bus_handler):
15637 Fix typos, add comments.
15638 Clear EOS list when going to PAUSED from any direction and do it
15639 in a threadsafe way.
15640 Get base time in a threadsafe way too.
15641 Fix confusing debug in the change_state function.
15642 Various other small cleanups.
15644 * gst/gstelement.c: (gst_element_post_message):
15645 Fix very verbose bus posting code.
15647 * gst/gstpipeline.c: (gst_pipeline_class_init),
15648 (gst_pipeline_set_property), (gst_pipeline_get_property),
15649 (gst_pipeline_change_state):
15650 Small ARG_ -> PROP_ cleanup
15652 2005-10-08 Wim Taymans <wim@fluendo.com>
15654 * gst/gstbin.c: (is_eos), (bin_bus_handler):
15655 Do a less CPU demanding EOS check because we can.
15657 2005-10-08 Wim Taymans <wim@fluendo.com>
15659 * libs/gst/dataprotocol/dataprotocol.c:
15660 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
15661 (gst_dp_packet_from_event):
15662 * libs/gst/dataprotocol/dataprotocol.h:
15663 * libs/gst/dataprotocol/dp-private.h:
15664 It's about time we bump the version number.
15665 Since event types don't fit in the guint8 anymore describing
15666 the payload type, make payload type 16 bits wide.
15668 2005-10-08 Wim Taymans <wim@fluendo.com>
15670 * docs/design/part-TODO.txt:
15671 * docs/design/part-clocks.txt:
15672 * docs/design/part-events.txt:
15673 * docs/design/part-gstbin.txt:
15674 * docs/design/part-gstelement.txt:
15675 * docs/design/part-gstpipeline.txt:
15676 * docs/design/part-live-source.txt:
15677 * docs/design/part-messages.txt:
15678 * docs/design/part-overview.txt:
15679 * docs/design/part-states.txt:
15682 2005-10-08 Wim Taymans <wim@fluendo.com>
15686 Fix event quark registration.
15687 Add some space between events so we can insert them in the
15690 2005-10-08 Wim Taymans <wim@fluendo.com>
15692 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15693 (gst_base_sink_handle_buffer):
15694 Better log message.
15697 * gst/gstelement.h:
15700 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
15701 (gst_queue_set_property), (gst_queue_get_property):
15703 Remove old unused properties.
15705 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15706 * docs/gst/gstreamer-sections.txt:
15707 * gst/gstmessage.c:
15708 * gst/gstmessage.h:
15709 * gst/gstminiobject.c:
15710 * gst/gstminiobject.h:
15714 lots of new docs and doc fixes
15716 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15718 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
15720 * gst/gstregistry.c: (gst_registry_lookup_locked),
15721 (gst_registry_scan_path_level):
15722 * gst/gstregistryxml.c: (load_plugin):
15723 Only ever load one plugin for a given plugin basename.
15724 This ensures correct overriding of GST_PLUGIN_PATH over
15725 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
15726 system installed plugins.
15728 2005-10-08 Wim Taymans <wim@fluendo.com>
15730 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15731 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
15732 Prepare for doing QOS.
15734 2005-10-08 Wim Taymans <wim@fluendo.com>
15736 * check/gst/gstbin.c: (GST_START_TEST):
15737 * check/pipelines/cleanup.c: (GST_START_TEST):
15738 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15739 Allow new clock message too.
15741 2005-10-08 Wim Taymans <wim@fluendo.com>
15743 * gst/gstmessage.c: (gst_message_new_error),
15744 (gst_message_new_warning), (gst_message_new_tag),
15745 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15746 (gst_message_new_clock_lost), (gst_message_new_new_clock),
15747 (gst_message_new_segment_start), (gst_message_new_segment_done),
15748 (gst_message_parse_state_changed),
15749 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15750 (gst_message_parse_new_clock):
15751 * gst/gstmessage.h:
15752 Also carry the clock in question.
15754 2005-10-08 Wim Taymans <wim@fluendo.com>
15756 * gst/gstmessage.c: (gst_message_new_custom),
15757 (gst_message_new_eos), (gst_message_new_error),
15758 (gst_message_new_warning), (gst_message_new_tag),
15759 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15760 (gst_message_new_new_clock), (gst_message_new_segment_start),
15761 (gst_message_new_segment_done), (gst_message_parse_state_changed),
15762 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15763 * gst/gstmessage.h:
15765 Added clock related messages.
15767 * gst/gstpipeline.c: (gst_pipeline_change_state):
15768 Post message when the clock changed.
15770 * tools/gst-launch.c: (event_loop):
15773 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
15775 * tools/gst-inspect.c: (print_element_properties_info):
15776 Can't pass NULL strings to g_print() on windows.
15778 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15780 * docs/Makefile.am:
15781 * docs/gst/Makefile.am:
15782 * docs/gst/gstreamer-docs.sgml:
15783 * docs/gst/running.xml:
15784 * docs/version.entities.in:
15785 add a chapter on running GStreamer.
15786 document GST_DEBUG and GST_PLUGIN* env vars
15788 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15793 remove PLUGINS_BUILDDIR stuff
15794 * gst/gst.c: (init_post):
15795 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15797 remove, it was condescending and not needed
15799 2005-10-08 Wim Taymans <wim@fluendo.com>
15801 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15802 (gst_base_sink_handle_object), (gst_base_sink_event),
15803 (gst_base_sink_wait), (gst_base_sink_handle_event),
15804 (gst_base_sink_change_state):
15805 * gst/base/gstbasesink.h:
15806 Repost EOS message while going to PLAYING if still EOS.
15807 Make sure that when receiving a FLUSH_START we don't attempt
15808 to sync on the clock anymore.
15810 2005-10-08 Wim Taymans <wim@fluendo.com>
15812 * tools/gst-launch.c: (event_loop):
15813 Better message printout.
15815 2005-10-08 Wim Taymans <wim@fluendo.com>
15817 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15818 (gst_bin_child_proxy_get_children_count):
15819 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15820 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15821 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15822 (gst_child_proxy_set_valist):
15823 * gst/parse/grammar.y:
15824 Make ChildProxy threadsafe and fix mem leaks.
15826 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15828 * gst/gst.c: (init_post):
15829 debug the GST_PLUGIN_ env vars
15831 2005-10-08 Wim Taymans <wim@fluendo.com>
15833 * check/gst/gstbin.c: (GST_START_TEST):
15834 * check/gst/gstmessage.c: (GST_START_TEST):
15835 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15836 * gst/gstelement.c: (gst_element_commit_state),
15837 (gst_element_lost_state):
15838 * gst/gstmessage.c: (gst_message_new_state_changed),
15839 (gst_message_parse_state_changed):
15840 * gst/gstmessage.h:
15841 * tools/gst-launch.c: (event_loop):
15842 Added extra field to STATE_CHANGE message with the pending
15843 state, which will be different from the new state soon.
15845 2005-10-08 Wim Taymans <wim@fluendo.com>
15847 * gst/gstbus.c: (gst_bus_pop):
15849 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15850 Small cleanups and doc updates.
15852 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15854 * gst/gst.c: (init_pre):
15855 * gst/gstbin.c: (gst_bin_add_func):
15856 log distributing clocks and base time
15857 * gst/gstregistry.c: (gst_registry_add_plugin),
15858 (gst_registry_scan_path_level), (gst_registry_scan_path):
15859 clean up the debugging output a little
15860 * gst/gstutils.c: (gst_element_state_get_name):
15861 warn about a memleak (I've actually seen this be used, though
15862 it was probably a bug)
15864 2005-10-07 Wim Taymans <wim@fluendo.com>
15866 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15867 (gst_base_src_init), (gst_base_src_default_newsegment),
15868 (gst_base_src_newsegment), (gst_base_src_do_seek),
15869 (gst_base_src_loop), (gst_base_src_start):
15870 * gst/base/gstbasesrc.h:
15871 Make the newsegment event customizable by subclasses.
15873 2005-10-07 Wim Taymans <wim@fluendo.com>
15875 * gst/gstevent.c: (gst_event_new_buffersize),
15876 (gst_event_parse_buffersize):
15878 New event for future idea.
15880 2005-10-07 Andy Wingo <wingo@pobox.com>
15882 * gst/gstelement.c (gst_element_post_message): Doc update.
15884 * docs/gst/gstreamer-sections.txt: Update.
15886 * gst/gstmessage.c (gst_message_new_application): Made into a
15887 function like honest API calls.
15888 (gst_message_new_element): New message type.
15890 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15892 * check/elements/fakesrc.c (test_no_preroll): New check, checks
15893 that setting a live fakesrc to PAUSED returns NO_PREROLL both
15896 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15897 NO_PREROLL from gst_element_change_state to fall through.
15899 2005-10-07 Wim Taymans <wim@fluendo.com>
15901 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15902 (gst_ghost_pad_do_activate_push):
15903 Activating a ghostpad with no internal pad in push mode
15906 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
15909 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15910 Fixes compilation on Windows.
15912 2005-10-07 Michael Smith <msmith@fluendo.com>
15914 * tools/gst-inspect.c:
15915 Print out feature and plugin count at the end when printing out
15918 2005-10-04 Michael Smith <msmith@fluendo.com>
15920 * gst/gsterror.c: (_gst_stream_errors_init):
15921 Add another error string used in a few existing plugins.
15924 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15925 * tools/gst-inspect.c: (print_element_info):
15926 When a feature disappears from a plugin (and the feature exists in
15927 the cached registry file), things went horribly wrong. This isn't a
15928 complete fix, we should actually be removing the 'missing' features
15929 from the features list when we load the actual plugin. That's not
15932 2005-10-04 Johan Dahlin <johan@gnome.org>
15934 * check/gst/gstiterator.c: (GST_START_TEST):
15935 * gst/gstbin.c: (gst_bin_iterate_elements),
15936 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15937 * gst/gstelement.c: (gst_element_iterate_pads):
15938 * gst/gstformat.c: (gst_format_iterate_definitions):
15939 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15940 (gst_iterator_new_list), (gst_iterator_filter):
15941 * gst/gstiterator.h:
15942 * gst/gstquery.c: (gst_query_type_iterate_definitions):
15943 Add a GType to GstIterator, update callsites and tests.
15945 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15947 * gst/gstpad.c: (gst_pad_event_default_dispatch):
15948 give events a chance to be handled by event probes when the pad
15951 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15953 * gst/gstevent.c: (gst_event_type_get_name),
15954 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15956 add string representations for event types
15958 2005-10-06 Wim Taymans <wim@fluendo.com>
15960 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15961 Don't use NULL pointers.
15963 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15965 * gst/gst_private.h:
15967 * gst/gstelement.c:
15969 * gst/gstpluginfeature.c:
15970 widen the debug category in output to fit the biggest one we have
15971 add a bus category and use it
15972 play with the colors
15973 fix up some categories
15975 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15977 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15978 add push activation of sink ghost pads.
15979 Andye, please verify
15981 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15983 * gst/gstutils.c: (gst_element_link_pads):
15984 fix a bug in the case where neither element has a pad
15985 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15986 add a test for that case
15988 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15990 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15991 emit have-data before checking for peers. This allows
15992 for probe handlers to connect elements. This helps autopluggers.
15993 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15995 add six checks, linked/unlinked with no/true/false probe
15997 2005-10-04 Wim Taymans <wim@fluendo.com>
15999 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16000 (gst_fake_sink_event), (gst_fake_sink_preroll),
16001 (gst_fake_sink_render), (gst_fake_sink_change_state):
16002 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16003 (gst_fake_src_get_property), (gst_fake_src_create),
16004 (gst_fake_src_stop):
16005 * gst/elements/gstidentity.c: (gst_identity_stop):
16006 Protect last_message with lock.
16008 2005-10-04 Edward Hervey <edward@fluendo.com>
16011 Added precision in the comments for GST_FORMAT_DEFAULT
16013 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16015 * tools/gst-launch.c: (main):
16016 Don't try to run erroneous pipelines.
16018 2005-10-04 Julien MOUTTE <julien@moutte.net>
16020 * gst/gstbus.c: We don't need this header.
16022 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16025 back to development
16027 === release 0.9.3 ===
16029 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16033 Releasing 0.9.3, "Unregistered"
16035 2005-10-03 Andy Wingo <wingo@pobox.com>
16037 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16038 whereby calling a pad's activatepush() function can start a thread
16039 that starts to push or pull before the pad gets the FLUSHING flag
16040 unset. Hack around it by holding the stream lock until the flag is
16041 set. Need to replace this with a proper solution. Together with
16042 the ghost pad fixes, this fixes mp3 playing/tagreading.
16044 * docs/design/part-gstghostpad.txt: Add a note about activation of
16045 proxy pads outside of ghost pads.
16047 * gst/gstghostpad.c: Implement the ghost pad activation design.
16049 2005-10-02 Andy Wingo <wingo@pobox.com>
16051 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16052 It is volatile, after all.
16054 * docs/design/part-gstghostpad.txt: Flesh out activation with
16057 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16060 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16063 Fix (unused) AM_CONDITIONAL tests.
16065 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16067 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16069 * gst/gstutils.c: (gst_pad_query_convert):
16070 Add assertion that makes sure src_val is >=0, just like
16071 gst_query_new_convert() has. (#315895)
16073 2005-09-30 Edward Hervey <edward@fluendo.com>
16075 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16076 Let's not iterate pads we're not interested in, it avoids getting
16077 sky-high refcounts on sinkpad.
16079 2005-09-30 Wim Taymans <wim@fluendo.com>
16081 * gst/gstelement.c: (gst_element_set_state),
16082 (gst_element_change_state):
16083 Small tweak, element in ASYNC remains ASYNC.
16085 2005-09-30 Wim Taymans <wim@fluendo.com>
16087 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16088 Only error is an error.
16090 * gst/gstbin.c: (gst_bin_change_state):
16093 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16094 Also call pad_block in pad alloc.
16096 * gst/gstutils.c: (gst_flow_get_name):
16099 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16101 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16102 (gst_base_src_get_range):
16103 Fix documentation typos. Add some more debug info.
16105 2005-09-29 David Schleef <ds@schleef.org>
16107 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16108 more end-user friendly.
16109 * tools/gst-inspect.c: (main): Check if command-line argument is
16110 a file and attempt to load that file as a plugin.
16112 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16114 * check/gst/gstbin.c:
16115 * check/states/sinks.c:
16116 fix tests for the new warning
16117 * check/gst/gstpipeline.c:
16118 add a test for pipeline and bus interaction
16119 * gst/gstelement.c:
16120 elements should be NULL if they get disposed; add a warning if not
16122 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16125 for 2.6 refcounting, make debug log more correct by printing
16126 the actual refcounts at the time of swap (Wim)
16128 2005-09-29 Andy Wingo <wingo@pobox.com>
16130 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16131 removes signal watches previously added via
16132 gst_bus_add_signal_watch.
16133 (gst_bus_add_signal_watch): Don't return the source id, just store
16134 it on the bus if there wasn't an id already.
16136 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16137 add_signal_watch and remove_signal_watch.
16139 2005-09-29 Edward Hervey <edward@fluendo.com>
16141 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16142 Better if we actually iterate the list :)
16144 2005-09-29 Wim Taymans <wim@fluendo.com>
16146 * check/gst/gstbin.c: (GST_START_TEST):
16147 Change for new bus API.
16149 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16150 (send_messages), (GST_START_TEST), (gstbus_suite):
16151 Change for new bus signal API.
16153 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16154 (gst_bus_source_prepare), (gst_bus_source_check),
16155 (gst_bus_create_watch), (gst_bus_add_watch_full),
16156 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16157 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16159 Remove support for multiple GSources operating on different
16160 message types as it is too complex and unneeded when using
16162 Added support for receiving signals from the bus.
16164 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16166 * docs/libs/tmpl/gstdataprotocol.sgml:
16167 * docs/manual/advanced-dataaccess.xml:
16168 * gst/elements/gstcapsfilter.c:
16170 rename filter-caps to caps property
16172 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16174 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16175 More robust fraction string parsing.
16177 * docs/pwg/appendix-porting.xml:
16178 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16180 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16182 * gst/gstcaps.c: (gst_caps_do_simplify):
16183 Thou shalt not free a structure and then continue using it
16184 in the next loop iteration.
16186 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16188 Add test case for caps simplification.
16190 2005-09-29 Wim Taymans <wim@fluendo.com>
16192 * check/gst/gstbin.c: (GST_START_TEST):
16195 2005-09-29 Wim Taymans <wim@fluendo.com>
16197 * check/gst/gstbin.c: (GST_START_TEST):
16200 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16201 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16202 (find_element), (gst_bin_sort_iterator_next),
16203 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16204 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16205 (gst_bin_change_state), (gst_bin_dispose):
16206 A bin does not have a bus, it gets the bus from the parent.
16208 * gst/gstelement.c: (gst_element_requires_clock),
16209 (gst_element_provides_clock), (gst_element_is_indexable),
16210 (gst_element_is_locked_state), (gst_element_change_state),
16211 (gst_element_set_bus_func):
16214 * gst/gstpipeline.c: (gst_pipeline_class_init),
16215 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16216 The pipeline provides a bus.
16218 2005-09-28 Johan Dahlin <johan@gnome.org>
16220 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16221 gst_structure_get_enum instead of gst_structure_get_int
16223 * gst/gststructure.c (gst_structure_get_enum): Impl.
16225 * gst/gststructure.h (gst_structure_get_enum): Add
16227 * docs/gst/gstreamer-sections.txt: Ditto
16229 * gst/gstmessage.c (gst_message_new_state_changed): Use
16230 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16231 which does introspection.
16232 Reviewed by Christian Schaller
16234 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16236 * gst/gstinfo.c: (gst_debug_log_default):
16237 don't do dummy g_strdup()s
16238 * libs/gst/controller/gstcontroller.c:
16239 (on_object_controlled_property_changed),
16240 (gst_controlled_property_new), (gst_controller_new_valist),
16241 (gst_controller_new_list),
16242 (gst_controller_remove_properties_valist), (gst_controller_set),
16243 (gst_controller_get), (gst_controller_sync_values),
16244 (gst_controller_get_value_array), (_gst_controller_class_init),
16245 (gst_controller_get_type):
16246 * libs/gst/controller/gstcontroller.h:
16247 * libs/gst/controller/gstinterpolation.c:
16248 (gst_controlled_property_find_timed_value_node):
16249 convert // to /**/ comments
16251 2005-09-28 Wim Taymans <wim@fluendo.com>
16253 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16254 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16255 (gst_bus_sync_signal_handler):
16257 Added async-message and sync-message signals to the bus.
16258 Added helper BusFunc to emit signals for all posted messages.
16260 * gst/gstmessage.c: (gst_message_type_get_name),
16261 (gst_message_type_to_quark), (gst_message_get_type):
16262 * gst/gstmessage.h:
16263 Register quarks for message names.
16265 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16267 * docs/libs/gstreamer-libs-sections.txt:
16268 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16269 (gst_controller_new_list):
16270 * libs/gst/controller/gstcontroller.h:
16271 added another constructor for language bindings
16273 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16275 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16279 * gst/gstinfo.c: (_gst_debug_init):
16280 slightly more readable color for refcount debugging
16282 2005-09-28 Wim Taymans <wim@fluendo.com>
16284 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16285 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16286 (find_element), (gst_bin_sort_iterator_next),
16287 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16288 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16289 (gst_bin_change_state), (gst_bin_dispose):
16290 Small doc fixes. get_clock -> provide_clock.
16292 * gst/gstelement.c: (gst_element_class_init),
16293 (gst_element_provides_clock), (gst_element_provide_clock),
16294 (gst_element_get_clock), (gst_element_commit_state),
16295 (gst_element_lost_state):
16296 * gst/gstelement.h:
16297 Make get/set_clock() symetric. Add provide_clock vmethod since
16298 that is actually what this function does.
16300 * gst/gstpipeline.c: (gst_pipeline_class_init),
16301 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16302 (gst_pipeline_get_clock):
16303 get_clock -> provide_clock.
16305 2005-09-28 Andy Wingo <wingo@pobox.com>
16307 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16308 lieu of real docs...
16310 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16312 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16314 * gst/elements/gstcapsfilter.c:
16315 * gst/elements/gstfakesink.c:
16316 * gst/elements/gstfakesrc.c:
16317 * gst/elements/gstfdsink.c:
16318 * gst/elements/gstfdsrc.c:
16319 * gst/elements/gstfilesink.c:
16320 * gst/elements/gstfilesrc.c:
16321 * gst/elements/gstidentity.c:
16322 * gst/elements/gsttee.c:
16323 * gst/elements/gsttypefindelement.c:
16324 Make element details static.
16326 2005-09-28 Wim Taymans <wim@fluendo.com>
16328 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16329 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16330 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16331 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16332 (gst_bin_change_state), (gst_bin_dispose):
16333 Some documentation updates.
16334 Clean up dispose handlers.
16336 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16337 * gst/gstpad.c: (gst_pad_dispose):
16338 Clean up dispose handler.
16340 * gst/gstpipeline.c: (gst_pipeline_change_state):
16341 Removed spurious UNLOCK.
16343 2005-09-27 Stefan Kost <ensonic@users.sf.net>
16345 * docs/gst/gstreamer-sections.txt:
16346 * gst/base/gstbasesrc.h:
16347 * gst/gstelement.h:
16351 * gst/gstpipeline.c:
16352 * gst/gstpipeline.h:
16355 added two new functions to the docs
16356 documents all undocumented GstXXXFlags
16357 completed some incomplete docs
16359 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
16361 * gst/gstbin.c: (gst_bin_dispose):
16362 * gst/gstelement.c: (gst_element_dispose):
16363 remove now useless and leaky resurrection code in dispose
16364 * gst/base/gstbasesrc.c: (gst_base_src_init):
16365 * gst/gstelementfactory.c: (gst_element_factory_create):
16366 * gst/gstobject.c: (gst_object_set_parent):
16369 2005-09-27 Wim Taymans <wim@fluendo.com>
16371 * docs/design/part-TODO.txt:
16374 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16375 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16376 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16377 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16378 (gst_bin_change_state):
16379 * gst/gstelement.h:
16380 Remove element variable, we keep element info in the iterator now.
16382 2005-09-27 Andy Wingo <wingo@pobox.com>
16384 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16387 2005-09-27 Wim Taymans <wim@fluendo.com>
16389 * check/gst/gstbin.c: (GST_START_TEST):
16390 Enable check that works now.
16392 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16393 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16394 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16395 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16396 (gst_bin_change_state):
16398 Redid the state change algorithm using a topological sort algo.
16399 Handles all cases correctly.
16400 Exposed iterator for state change order.
16402 * gst/gstelement.h:
16403 Temp storage for state changes. Need to get rid of this soon.
16405 2005-09-27 Wim Taymans <wim@fluendo.com>
16407 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
16408 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
16409 (link_fold_func), (gst_pad_proxy_setcaps):
16410 Leak fixes, the fold functions need to unref the passed object and
16411 _get_parent_*() returns ref to parent.
16413 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16415 * check/gst/gstbuffer.c: (test_make_writable):
16416 Plug leak in test case and fix 'make check-valgrind'
16418 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16420 * gst/gstbuffer.c: (gst_subbuffer_init):
16421 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
16422 works correctly in all circumstances (we could have just copied
16423 the parent buffer's readonly flag, but conceptually it seems
16424 cleaner to mark all subbuffers as read-only). (based on patch
16425 by Alessandro Decina, #314710).
16427 * check/gst/gstbuffer.c: (create_read_only_buffer),
16428 (test_make_writable), (test_subbuffer_make_writable),
16430 Add some tests for gst_buffer_make_writable().
16432 2005-09-27 Wim Taymans <wim@fluendo.com>
16434 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
16435 use gst_object_has_ancestor().
16437 * gst/gstobject.c: (gst_object_has_ancestor):
16439 gst_object_has_ancestor() copied from gstbin.c as it is a
16442 * tests/instantiate/create.c: (create_all_elements):
16443 * tests/lat.c: (handoff_src), (handoff_sink):
16444 * tests/sched/runxml.c: (main):
16445 * tests/seeking/seeking1.c: (main):
16446 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16448 Fix compilation of some tests.
16450 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16453 Remove comment. GST_TYPE_G_ERROR is here to stay,
16454 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
16455 (#316961, #300610).
16457 2005-09-26 Wim Taymans <wim@fluendo.com>
16459 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16460 Added check that shows error in state change order.
16462 2005-09-26 Wim Taymans <wim@fluendo.com>
16464 * gst/gstbin.c: (gst_bin_change_state):
16465 Make state change function use 3 queues again, we were
16466 adding elements in the wrong order.
16468 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
16471 * gst/gstpad.c: (gst_pad_dispose):
16472 Added some debug info first.
16474 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
16476 * docs/design/draft-push-pull.txt:
16477 * docs/design/part-events.txt:
16478 * docs/design/part-overview.txt:
16479 * docs/design/part-scheduling.txt:
16480 Replace all _pull_region() with _pull_range()
16482 2005-09-26 Andy Wingo <wingo@pobox.com>
16484 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
16486 * check/gst-libs/controller.c: Update for controller api change.
16489 * tests/Makefile.am:
16490 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
16491 over by GLib bug 118439.
16493 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
16494 routines to a function.
16496 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
16498 * libs/gst/controller/gsthelper.c:
16499 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
16500 (gst_object_sync_values): Renamed from sink_values. Ugh.
16502 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
16504 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
16505 Renamed from controller_key, as it is exported.
16507 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
16509 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
16514 * gst/gstpadtemplate.h:
16517 * gst/gstqueryutils.c:
16518 * gst/gstqueryutils.h:
16519 remove queryutils headers after moving the two used functions
16520 to gstquery. also fixes build problem for gstsiddec
16522 2005-09-26 Michael Smith <msmith@fluendo.com>
16524 * tools/gst-launch.1.in:
16525 Correct documentation in manpage of debug syntax
16527 2005-09-26 Wim Taymans <wim@fluendo.com>
16529 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16530 (gst_base_src_is_seekable), (gst_base_src_change_state):
16531 Some more debugging info.
16533 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16535 * docs/gst/gstreamer-sections.txt:
16536 * gst/base/gstbasetransform.h:
16540 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16542 * docs/gst/.cvsignore:
16543 * docs/gst/tmpl/.cvsignore:
16544 * docs/gst/tmpl/gstpipeline.sgml:
16545 * docs/gst/tmpl/gstplugin.sgml:
16546 * gst/gstpipeline.c:
16549 inlined the last two docs files
16550 removed the tmpl directory from cvs (no more conflicts here!)
16552 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16554 * docs/gst/gstreamer-sections.txt:
16555 * docs/gst/tmpl/.cvsignore:
16556 * docs/gst/tmpl/gstpad.sgml:
16557 * docs/gst/tmpl/gstpadtemplate.sgml:
16559 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
16560 (gst_pad_finalize), (gst_pad_set_pad_template):
16562 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
16563 (gst_pad_template_class_init), (gst_pad_template_init),
16564 (gst_pad_template_dispose), (name_is_valid),
16565 (gst_static_pad_template_get), (gst_pad_template_new),
16566 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
16567 (gst_pad_template_pad_created):
16568 * gst/gstpadtemplate.h:
16569 inlined two more docs
16570 factored gstpadtemplate out of gstpad
16572 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
16574 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16575 (test_children_state_change_order_semi_sink):
16576 Fix test case: we can't rely on a fixed state change order when
16577 going from READY => PAUSED because the sink might commit its
16578 new state first when the first buffer created by the source
16579 reaches the sink before the source has finished its change state.
16580 (Test case still fails at times, see #316856, comment 5 onwards)
16582 2005-09-24 Wim Taymans <wim@fluendo.com>
16584 * docs/design/part-events.txt:
16585 * docs/design/part-gstbus.txt:
16586 * docs/design/part-gstpipeline.txt:
16587 * docs/design/part-messages.txt:
16588 * docs/design/part-overview.txt:
16589 * docs/design/part-segments.txt:
16593 * gst/gstelement.c:
16596 * gst/gstiterator.c:
16597 Various documentation updates.
16599 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
16602 Well, that's embarassing. Luckily we weren't using
16603 GST_CLOCK_DIFF anywhere.
16605 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16607 * common/gtk-doc.mak:
16608 don't fail on building XML, FC4 slave shows a bunch of doc
16609 missing bits that I don't get
16611 * gst/gstpipeline.c:
16612 * gst/gststructure.c:
16615 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16617 * docs/design/part-gstbin.txt:
16618 * docs/design/part-gstbus.txt:
16620 Add blurb about how the bus goes into flushing mode and
16621 drops all messages when its bin goes from READY into NULL
16624 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16626 * docs/gst/gstreamer-sections.txt:
16627 * gst/gststructure.c: (gst_structure_get_clock_time):
16628 * gst/gststructure.h:
16629 add a method to get a GstClockTime out of a structure
16631 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16633 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16634 (test_children_state_change_order_semi_sink), (gst_bin_suite):
16635 Added test to check state change order in bins (can still be made
16636 to fail here under heavy disk load; bails out with 'Push on pad
16637 fakesink:sink0, but it was not activated in push mode').
16639 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
16640 Fix state change order when there is only a semi sink (#316856)
16642 * gst/gstbus.c: (gst_bus_class_init):
16643 Use _class_peek_parent(), not _class_ref(); fix docs to say
16644 'default main context' instead of 'mainloop' where that is
16647 * gst/gstelement.c: (gst_element_commit_state),
16648 (gst_element_set_state):
16649 Fix typos in debug messages
16651 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16654 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
16655 * gst/gstpluginfeature.c:
16657 various doc updates
16658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16659 change an assert into an error until it gets fixed properly
16661 2005-09-23 Stefan Kost <ensonic@users.sf.net>
16663 * docs/gst/gstreamer-sections.txt:
16664 * docs/gst/tmpl/.cvsignore:
16665 * docs/gst/tmpl/gstelement.sgml:
16666 * docs/gst/tmpl/gstinfo.sgml:
16667 * docs/gst/tmpl/gstobject.sgml:
16668 * gst/gstelement.c:
16669 * gst/gstelement.h:
16672 * gst/gstobject.c: (gst_object_class_init):
16674 inlined 3 more biiiig doc files and added some missing docs on the fly
16676 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16678 * check/gst/.cvsignore:
16679 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
16680 * gst/gstregistryxml.c: (load_plugin),
16681 (gst_registry_xml_save_plugin):
16682 put back source in registry. add checks for find_plugin.
16683 * testsuite/states/bin.c: (assert_state), (empty_bin),
16684 (test_adding_one_element), (main):
16685 * testsuite/states/locked.c: (main):
16686 some compile/run fixes
16688 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
16690 * check/gst/gstvalue.c: (GST_START_TEST):
16691 fix leaks in the test itself
16693 2005-09-22 Wim Taymans <wim@fluendo.com>
16695 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16696 (gst_base_sink_send_event), (gst_base_sink_peer_query),
16697 (gst_base_sink_query):
16698 Prepare for more accurate position reporting and query
16701 * gst/gstelement.c: (gst_element_send_event),
16702 (gst_element_set_state):
16705 2005-09-22 Wim Taymans <wim@fluendo.com>
16707 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
16708 (gst_query_parse_segment):
16710 More documentation.
16711 Add segment query for future use.
16713 2005-09-22 Wim Taymans <wim@fluendo.com>
16715 * gst/gstbin.c: (gst_bin_add_func):
16716 Some more debug info.
16718 * gst/gstelement.c: (gst_element_send_event):
16719 Simplify send_event
16721 * gst/gstelement.h:
16722 Don't know how flags got broken.
16727 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16729 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
16730 Add simplistic test suite for GST_TYPE_DATE serialisation and
16733 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16735 * docs/gst/gstreamer-sections.txt:
16736 * gst/gststructure.c: (gst_structure_set_valist),
16737 (gst_structure_get_date):
16738 * gst/gststructure.h:
16739 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16740 (gst_date_copy), (gst_value_compare_date),
16741 (gst_value_serialize_date), (gst_value_deserialize_date),
16742 (gst_value_transform_date_string),
16743 (gst_value_transform_string_date), (_gst_value_initialize):
16745 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16746 bunch of utility functions along with a hack that checks that
16747 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16748 is required. Part of the grand scheme in #170777.
16750 2005-09-22 Andy Wingo <wingo@pobox.com>
16752 * gst/gstconfig.h.in: Psych out gtk-doc.
16754 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16756 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16758 * tools/gst-inspect.c (print_element_list): Plug some
16759 inconsequential leaks.
16761 * gst/gstregistry.c (gst_registry_get_default): Doc.
16763 * check/gst/gstplugin.c:
16764 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16765 * gst/gstelementfactory.c (gst_element_factory_create):
16766 * gst/gstindexfactory.c (gst_index_factory_create): Update for
16769 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16770 (gst_plugin_feature_load): Doc, don't eat refs.
16772 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16773 (gst_plugin_list_free): Doc.
16774 (gst_plugin_load_file): Doc updates.
16776 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16777 accessors returning refcounted objects, return a ref.
16779 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16780 accessor for caps. IDEMPOTENCE. Oh yes.
16782 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
16784 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16786 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16787 (_gst_debug_register_funcptr):
16788 Add mutex to serialise access to the hash table with
16789 the function pointer => function name string mapping;
16790 make that hash table static scope (#316809).
16792 * gst/registries/.cvsignore:
16793 Remove left-over file.
16795 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16797 * docs/pwg/appendix-porting.xml:
16798 And something about newsegment events and caps-on-buffers to
16799 the porting guide (feel free to improve).
16801 2005-09-21 Andy Wingo <wingo@pobox.com>
16803 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16804 data and event probes on the same pad.
16805 (test_buffer_probe_once): Test that removing probes from within
16806 the probe functions works.
16808 2005-09-21 Andy Wingo <wingo@pobox.com>
16810 * check/gst/gstutils.c: New file.
16811 (test_buffer_probe_n_times): A simple buffer probe test. More to
16814 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16815 have-data::buffer, not have-data.
16816 (gst_pad_add_event_probe): Likewise for have-data::event.
16817 (gst_pad_add_data_probe): More docs. The part about 'resolving the
16818 peer' isn't quite right yet though.
16819 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
16820 (gst_pad_remove_data_probe): Change to take the guint handler_id
16821 as their arg, not the function+data, which is more glib-like.
16823 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16824 the signal emission to indicate if the data is a buffer or an
16826 (gst_pad_get_type): Initialize buffer and event quarks.
16827 (gst_pad_class_init): have-data is now a detailed signal, yes it
16830 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16832 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16833 * gst/gstutils.c: (gst_util_set_value_from_string),
16834 (gst_util_set_object_arg):
16835 Don't put functional code in g_return_if_fail() or
16836 g_return_val_if_fail() statements, otherwise things will
16837 break when G_DISABLE_CHECKS is defined during compilation.
16839 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16841 * docs/gst/tmpl/.cvsignore:
16842 * docs/gst/tmpl/gstvalue.sgml:
16845 inlied another one and added some obvious docs
16847 2005-09-21 Wim Taymans <wim@fluendo.com>
16849 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16850 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16851 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16852 (gst_fdsrc_get_property), (gst_fdsrc_create):
16853 * gst/elements/gstfdsrc.h:
16854 Properly implement fdsrc. Removed signal and timeout,
16855 better implemented somewhere else.
16857 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16859 * docs/gst/tmpl/.cvsignore:
16860 * docs/gst/tmpl/gstimplementsinterface.sgml:
16861 * gst/gstinterface.c:
16864 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16866 * docs/gst/gstreamer-sections.txt:
16867 * docs/gst/tmpl/.cvsignore:
16868 * docs/gst/tmpl/gstenumtypes.sgml:
16869 remove obsolete doc file
16871 2005-09-21 David Schleef <ds@schleef.org>
16873 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16874 little beer, fix a little leak.
16876 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16878 * docs/gst/gstreamer-docs.sgml:
16879 * docs/gst/gstreamer-sections.txt:
16880 * docs/gst/tmpl/.cvsignore:
16884 * gst/gstelement.h:
16885 * gst/gstindex.c: (gst_index_class_init):
16887 * gst/gstindexfactory.c: (gst_index_factory_get_type),
16888 (gst_index_factory_class_init), (gst_index_factory_init),
16889 (gst_index_factory_finalize), (gst_index_factory_new),
16890 (gst_index_factory_destroy), (gst_index_factory_find),
16891 (gst_index_factory_create), (gst_index_factory_make):
16892 * gst/gstindexfactory.h:
16893 * gst/gstpluginfeature.c:
16894 * gst/gstpluginfeature.h:
16895 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16896 more docs inlined, splitted gstindex.{c,h}
16898 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16900 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16903 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16905 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16906 Set sync to FALSE by default.
16908 2005-09-20 Wim Taymans <wim@fluendo.com>
16910 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16911 (gst_base_sink_init):
16912 Make sync property settable from subclass.
16914 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16915 (gst_fake_sink_change_state):
16916 Set sync to FALSE by default.
16918 2005-09-20 Wim Taymans <wim@fluendo.com>
16920 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16921 * tools/gst-launch.c: (main):
16922 The timeout handler should have lower priority than the source
16923 so we don't timeout before popping a message with 0 timeout.
16924 Dump error messages after failed state change.
16926 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16928 * tools/gst-inspect.c: (print_element_properties_info):
16931 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16933 * check/gst/gstevent.c:
16934 * gst/elements/gstfakesink.c:
16935 * gst/elements/gstfakesink.h:
16936 remove the sync property from fakesink.
16937 has the side effect of setting sync TRUE
16938 for fakesink, which is a change. Anyone who knows how
16939 to fix this nicely in a GObject-y way, feel free.
16941 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16943 * docs/gst/gstreamer-docs.sgml:
16944 remove probe refsection
16946 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16948 * check/Makefile.am:
16949 disable valgrinding the controller test again
16950 * docs/gst/gstreamer-sections.txt:
16951 update for api-changes
16953 2005-09-20 Wim Taymans <wim@fluendo.com>
16955 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16956 (gst_base_sink_set_property), (gst_base_sink_get_property),
16957 (gst_base_sink_do_sync):
16958 * gst/base/gstbasesink.h:
16959 Added sync property to basesink to disable clock sync.
16961 2005-09-20 Andy Wingo <wingo@pobox.com>
16963 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16964 eating the caller's refcount.
16966 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
16967 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16970 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16971 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16972 of GLib 2.8 public, so we can know which refcount to check in
16975 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16976 (gst_object_init): Only set the gst refcount if we're going ahead
16977 with the refcount hack.
16979 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16981 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16982 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16983 more leaks plumbed, added more debug-logging
16987 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16989 * gst/gstmessage.c:
16990 remove include of gstmemchunk.h
16992 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16994 * gst/gstclock.c: (_gst_clock_id_free):
16995 Commit from the Political Party For More Atomic CVS Commits,
16996 so that people don't waste too much of their day fishing
16997 out obvious leaks out of massive commits.
16998 Oh, and fix a pretty damn obvious leak in the memchunk
17001 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17003 * check/Makefile.am:
17004 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17005 plug mem-leak, re-add to valgrindable tests
17007 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17010 unbreak the build for those who have chronic arthritis
17011 and typing "make check" is just too taxing on the hands
17013 2005-09-20 Andy Wingo <wingo@pobox.com>
17015 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17016 really want it out, you should fix plugins at the same time.
17018 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17021 * docs/gst/gstreamer-sections.txt:
17023 added missing symbols to api docs
17024 disable ref-count hack if we have glib >= 2.8
17026 2005-09-19 David Schleef <ds@schleef.org>
17028 * docs/gst/Makefile.am: Ignore a few more internal headers
17029 * docs/gst/gstreamer-docs.sgml: Remove old sections
17030 * docs/gst/gstreamer-sections.txt: Remove old sections
17031 * docs/gst/tmpl/gstobject.sgml: update
17032 * docs/gst/tmpl/gstplugin.sgml: update
17033 * docs/gst/tmpl/gstpluginfeature.sgml: update
17034 * docs/random/ds/0.9-suggested-changes: update.
17035 * gst/Makefile.am: remove memchunk and trashstack, since they're
17037 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17038 * gst/gst.h: don't include some headers
17039 * gst/gstchildproxy.c: add gstmarshal.h
17040 * gst/gstclock.c: Don't use memchunks
17041 * gst/gstminiobject.c: Add some docs
17042 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17043 * gst/gstobject.h: same
17044 * gst/gstplugin.c: include gstmacros.h
17045 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17046 * gst/gstquery.c: don't use memchunks
17047 * gst/gstregistry.c: rename gst_registry_deinit()
17048 * gst/gstregistry.h: same
17050 2005-09-19 David Schleef <ds@schleef.org>
17052 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17053 * docs/libs/gstreamer-libs-sections.txt:
17054 * docs/libs/tmpl/gstgetbits.sgml:
17055 * docs/libs/tmpl/gstputbits.sgml:
17057 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17059 * win32/gstenumtypes.c:
17060 * win32/gstenumtypes.h:
17063 2005-09-19 Wim Taymans <wim@fluendo.com>
17065 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17066 Automatically PAUSE and RESUME a pipeline when a flushing seek
17069 2005-09-19 Andy Wingo <wingo@pobox.com>
17071 * gst/gstregistry.h: Spacing fixen.
17073 2005-09-19 Wim Taymans <wim@fluendo.com>
17075 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17076 Handle state change failure more correctly.
17078 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17080 * check/Makefile.am:
17081 * check/pipelines/cleanup.c: (run_pipeline):
17082 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17084 enable cleanup again after fixing the leak
17086 some more info on docs
17088 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17090 * check/Makefile.am:
17091 re-enable tests now that leaks are plugged
17093 * check/gst/gstbin.c:
17094 * check/gst/gstpipeline.c:
17095 add some more tests while fixing leaks
17096 * common/check.mak:
17097 make sure binaries are uptodate when valgrinding/gdbing
17099 * gst/gstelementfactory.c:
17100 remove a ref too many, and add a FIXME for when we get
17101 round to disposing of classes
17103 fix the refcounting when loading a plugin from a file and
17104 the code pretends that the pointer is the same even though
17105 of course it can change
17106 * gst/gstpluginfeature.c:
17107 unref plugins marked cached (a bit confusing as a name)
17108 as the docs state should be done
17109 various doc additions to explain refcounting
17110 * gst/gstregistry.c:
17111 * gst/gstregistryxml.c:
17114 2005-09-19 Wim Taymans <wim@fluendo.com>
17116 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17117 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17118 (send_messages), (GST_START_TEST), (gstbus_suite):
17119 * check/gst/gstpipeline.c: (GST_START_TEST):
17120 * check/pipelines/cleanup.c: (run_pipeline):
17121 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17123 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17124 (gst_bus_source_check), (gst_bus_source_dispatch),
17125 (gst_bus_create_watch), (gst_bus_add_watch_full),
17126 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17128 * tools/gst-launch.c: (event_loop):
17129 * tools/gst-md5sum.c: (event_loop):
17130 GstBusHandler -> GstBusFunc, return value has the same meaning as
17131 any other GSource (FALSE == remove source).
17132 _add_watch() and _add_watch_full() now take a MessageType mask to
17133 only handle specific types of messages.
17134 _poll() returns the GstMessage instead of the message type to avoid
17136 _have_pending() takes a MessageType mask now too.
17137 Added testsuite for multiple bus watches.
17138 Fix testsuites and applications for new bus API.
17140 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17142 * check/Makefile.am:
17143 mark a bunch of the tests as to fix until we fix them
17145 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17147 * common/check.mak:
17148 use GST_PLUGIN settings for valgrind tests as well, so we're
17149 valgrinding the correct thing
17150 * gst/gst.c: (init_post):
17153 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17155 * gst/gst.c: (init_post), (gst_deinit):
17156 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17157 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17158 * gst/gstindex.c: (gst_index_factory_class_init),
17159 (gst_index_factory_finalize):
17160 * gst/gstobject.c: (gst_object_dispose):
17161 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17162 (gst_plugin_load_file), (gst_plugin_desc_free):
17163 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17164 (gst_plugin_feature_finalize):
17165 * gst/gstregistry.c: (gst_registry_class_init),
17166 (gst_registry_init), (gst_registry_finalize),
17167 (gst_registry_get_default), (gst_registry_deinit):
17168 * gst/gstregistry.h:
17169 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17170 various cleanups and memleak plugging. make valgrind is happy now.
17172 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17174 * common/check.mak:
17175 add a check-valgrind target
17177 2005-09-18 David Schleef <ds@schleef.org>
17179 * tools/gst-inspect.c: Revert the GOption code.
17181 2005-09-17 David Schleef <ds@schleef.org>
17183 * check/Makefile.am: Fix environment variables.
17184 * check/gst/gstplugin.c: Fix for API changes.
17185 * tools/gst-inspect.c: Fix for API changes.
17186 * tools/gst-xmlinspect.c: Fix for API changes.
17187 * gst/gstelementfactory.c:
17190 * gst/gstpluginfeature.c:
17191 * gst/gstpluginfeature.h:
17192 * gst/gstregistry.c:
17193 * gst/gstregistry.h:
17194 * gst/gstregistryxml.c:
17195 * gst/gsttypefind.c:
17196 * gst/gsttypefindfactory.c:
17197 * gst/indexers/gstfileindex.c:
17198 * gst/indexers/gstmemindex.c:
17199 * gst/schedulers/Makefile.am:
17200 Change registry to keep track of both plugins and features,
17201 removing the feature tracking from plugins themselves.
17203 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17205 * check/Makefile.am:
17206 * tools/gst-register.1.in:
17207 remove gst-register
17209 2005-09-15 David Schleef <ds@schleef.org>
17211 * check/gst/gstplugin.c:
17212 * gst/gstelementfactory.c:
17214 * gst/gstpluginfeature.c:
17215 * gst/gstregistry.c:
17216 Getting tired of debugging. Disabled all the unreffing of
17217 plugins and features, which fixes the segfaults, but of
17218 course leaks like crazy. At least playbin works.
17220 2005-09-15 David Schleef <ds@schleef.org>
17222 * check/gst/gstplugin.c: (register_check_elements),
17223 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17225 * gst/elements/gsttypefindelement.c: Fix refcounting.
17226 * gst/gsttypefind.c:
17227 * gst/gsttypefindfactory.c:
17228 * gst/gsttypefindfactory.h:
17230 2005-09-15 David Schleef <ds@schleef.org>
17232 * gst/gstindex.c: get refcounting correct.
17233 * gst/gstregistry.c: Handle the case where a feature/plugin is
17236 2005-09-15 David Schleef <ds@schleef.org>
17238 * check/Makefile.am:
17239 * check/gst/gstplugin.c: Add test
17240 * gst/gstplugin.c: Fix problems noticed by testsuite
17242 * gst/gstregistry.c:
17243 * gst/gstregistry.h:
17245 2005-09-15 David Schleef <ds@schleef.org>
17247 * gst/gstplugin.c: Implement semi-decent recounting and locking
17248 in plugins and plugin features.
17250 * gst/gstpluginfeature.c:
17251 * gst/gstpluginfeature.h:
17252 * gst/gstregistry.c:
17254 2005-09-15 Michael Smith <msmith@fluendo.com>
17256 * gst/gstregistry.c: (gst_registry_get_feature_list):
17257 Implement this. Makes oggdemux work; decodebin still broken.
17259 2005-09-14 David Schleef <ds@schleef.org>
17261 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17263 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17264 * gst/check/Makefile.am:
17265 * libs/gst/controller/Makefile.am:
17266 * libs/gst/dataprotocol/Makefile.am:
17268 2005-09-14 David Schleef <ds@schleef.org>
17270 * configure.ac: Remove getbits library. Nothing uses it, and
17271 it should be in something like liboil if someone did want
17273 * libs/gst/Makefile.am:
17274 * libs/gst/getbits/Makefile.am:
17275 * libs/gst/getbits/gbtest.c:
17276 * libs/gst/getbits/getbits.c:
17277 * libs/gst/getbits/getbits.h:
17278 * libs/gst/getbits/gstgetbits_generic.c:
17279 * libs/gst/getbits/gstgetbits_i386.s:
17280 * libs/gst/getbits/gstgetbits_inl.h:
17282 2005-09-14 David Schleef <ds@schleef.org>
17284 * gst/Makefile.am: Dist glib-compat.h
17286 2005-09-14 David Schleef <ds@schleef.org>
17288 * configure.ac: Remove gst/registries, since it's no longer used.
17289 * gst/registries/Makefile.am:
17290 * gst/registries/gstlibxmlregistry.c:
17291 * gst/registries/gstlibxmlregistry.h:
17292 * gst/registries/gstxmlregistry.c:
17293 * gst/registries/gstxmlregistry.h:
17294 * gst/registries/registrytest.c:
17296 2005-09-14 David Schleef <ds@schleef.org>
17298 * gst/glib-compat.h:
17299 * gst/gstregistryxml.c:
17300 Convergence is near. Seriously.
17302 2005-09-14 David Schleef <ds@schleef.org>
17304 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17305 * gst/glib-compat.h:
17306 Attempt #4 to appease the buildbots.
17308 2005-09-14 David Schleef <ds@schleef.org>
17310 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17313 2005-09-14 David Schleef <ds@schleef.org>
17315 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17318 2005-09-14 David Schleef <ds@schleef.org>
17320 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17323 2005-09-14 David Schleef <ds@schleef.org>
17325 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17326 * gst/glib-compat.h: Add some functions that are in newer versions
17327 of glib than we care to require.
17328 * gst/gstregistryxml.c: Use them.
17330 2005-09-14 David Schleef <ds@schleef.org>
17332 * po/POTFILES.in: remove gst-register.c
17334 2005-09-14 David Schleef <ds@schleef.org>
17336 * docs/gst/gstreamer-docs.sgml:
17337 * docs/gst/gstreamer-sections.txt:
17338 * docs/gst/gstreamer.types:
17339 * docs/gst/tmpl/gstelement.sgml:
17340 * docs/gst/tmpl/gstplugin.sgml:
17341 * docs/gst/tmpl/gstpluginfeature.sgml:
17342 Documentation updates for registry changes.
17344 2005-09-14 David Schleef <ds@schleef.org>
17346 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17347 because we don't require glib-2.8.
17349 2005-09-14 David Schleef <ds@schleef.org>
17351 * gst/gstregistryxml.c: Added. Essentially moved out of the
17352 registries directory.
17354 2005-09-14 David Schleef <ds@schleef.org>
17356 * check/Makefile.am:
17357 * check/generic/states.c:
17361 * gst/gst_private.h:
17362 * gst/gstelementfactory.c:
17367 * gst/gstpluginfeature.c:
17368 * gst/gstpluginfeature.h:
17369 * gst/gstregistry.c:
17370 * gst/gstregistry.h:
17371 * gst/gstregistrypool.c: remove
17372 * gst/gstregistrypool.h: remove
17373 * gst/gsttypefind.c:
17374 * gst/gsttypefindfactory.c:
17376 * tools/Makefile.am:
17377 * tools/gst-compprep.c:
17378 * tools/gst-inspect.c:
17379 * tools/gst-register.c: remove
17380 * tools/gst-xmlinspect.c:
17381 Registry rewrite. Changes registry from being a file created
17382 by a tool into a simple cache file created automatically by
17383 libgstreamer. Removed gst-register (because it's no longer
17384 needed). Remove registry pools, because we only have one
17385 registry implementation (XML). Fix up other subsystems as
17388 2005-09-13 Michael Smith <msmith@fluendo.com>
17390 * gst/gstconfig.h.in:
17391 Don't Use windows linking attributes for MinGW. Fixes #316157
17393 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
17395 * gst/gstutils.c: (set_state_async_thread_func),
17396 (gst_element_set_state_async):
17397 Apparently people think it's better if this function doesn't
17398 try to set the state to whatever state was asked for on the first
17399 call to this function for any object. Seriously.
17401 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17403 * check/gst/gstpipeline.c: (GST_START_TEST):
17404 * docs/gst/gstreamer-sections.txt:
17405 * gst/gstutils.c: (set_state_async_thread_func),
17406 (gst_element_set_state_async):
17408 add a "gst_element_set_state_async" method that
17409 sets the state and starts a thread to make sure the state
17410 change completes as best as it can
17412 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17414 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17415 codify design+behaviour in testsuite after discussion
17417 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17419 * docs/gst/tmpl/gstelement.sgml:
17420 * docs/manual/appendix-quotes.xml:
17422 * gst/gstelement.c: (gst_element_set_state):
17425 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
17427 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17428 (gst_base_transform_prepare_output_buf),
17429 (gst_base_transform_handle_buffer):
17430 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
17431 (gst_capsfilter_prepare_buf):
17432 Remove the requirement for sub-classes to call the parent
17433 implementation of prepare_output_buffer with a wrapper function.
17435 * gst/gsttaglist.h:
17436 * gst/gsttagsetter.h:
17437 Fix #define wrapper
17439 2005-09-11 Stefan Kost <ensonic@users.sf.net>
17441 * docs/gst/gstreamer-sections.txt:
17444 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17446 * docs/gst/gstreamer-sections.txt:
17447 * docs/gst/tmpl/gstelement.sgml:
17448 * docs/gst/tmpl/gstplugin.sgml:
17449 * gst/gstminiobject.c:
17451 docs now stop throwing warnings
17453 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17455 * docs/gst/gstreamer-sections.txt:
17456 * docs/gst/gstreamer.types:
17457 * docs/gst/tmpl/gstpad.sgml:
17458 * docs/gst/tmpl/gsttypes.sgml:
17459 * gst/base/gstadapter.h:
17460 * gst/base/gstbasesink.h:
17461 * gst/base/gstbasesrc.h:
17467 * gst/gstelement.h:
17469 * gst/gstmessage.h:
17471 * gst/gststructure.c:
17472 * gst/registries/gstlibxmlregistry.h:
17473 various documentation fixes
17475 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17477 * docs/gst/gstreamer-sections.txt:
17478 * docs/gst/tmpl/gstvalue.sgml:
17479 rearrange gstvalue section
17480 * gst/gstutils.c: (gst_element_state_get_name):
17482 * gst/gstvalue.c: (_gst_value_initialize):
17486 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
17488 * check/gst-libs/controller.c:
17489 Header include fix.
17490 * gst/base/gstbasetransform.c:
17491 (gst_base_transform_default_prepare_buf),
17492 (gst_base_transform_handle_buffer):
17493 * gst/base/gstbasetransform.h:
17494 Some more basetransform changes and fixes to enable sub-classes
17495 that modify buffer metadata only.
17496 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17497 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
17498 (gst_capsfilter_prepare_buf):
17499 If the output pad has fixed allowed caps and input buffers
17500 don't have any, set the fixed caps on outgoing buffers.
17502 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
17503 * check/elements/identity.c: (GST_START_TEST):
17504 Make the error a little clearer when the test fails because
17505 identity made a copy of the buffer.
17506 * docs/gst/gstreamer-sections.txt:
17507 New symbols in gstbasetransform.h
17508 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17509 (gst_base_transform_init), (gst_base_transform_transform_size),
17510 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17511 (gst_base_transform_default_prepare_buf),
17512 (gst_base_transform_get_unit_size),
17513 (gst_base_transform_buffer_alloc),
17514 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
17515 (gst_base_transform_change_state),
17516 (gst_base_transform_set_passthrough),
17517 (gst_base_transform_set_in_place),
17518 (gst_base_transform_is_in_place):
17519 * gst/base/gstbasetransform.h:
17520 Change BaseTransform to separate in_place operate from same_caps
17521 output. in_place implies that the element can perform the transform
17522 on incoming buffers in-place, even if the caps on the output are
17524 Sub-class elements can now implement special buffer allocation
17525 methods for outgoing buffers if they wish to.
17526 Big documentation addition.
17527 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
17528 * gst/elements/gstelements.c:
17529 Changes for basetransform modifications.
17530 * gst/elements/Makefile.am:
17531 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
17532 Compile fix. Extra debug output.
17534 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17536 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
17538 add tests for valid pad naming
17539 * gst/check/gstcheck.c: (gst_check_log_message_func),
17540 (gst_check_log_critical_func):
17542 remove printing of code, it is fragile when the code contains
17543 % and the line number is enough info
17544 * gst/check/gstcheck.h:
17545 * gst/gstpad.c: (gst_pad_template_new):
17548 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17551 say what CHECK flags we use
17552 * docs/libs/gstreamer-libs.types:
17553 * libs/gst/controller/Makefile.am:
17554 * libs/gst/controller/gst-controller.c:
17555 * libs/gst/controller/gst-controller.h:
17556 * libs/gst/controller/gst-helper.c:
17557 * libs/gst/controller/gst-interpolation.c:
17558 * libs/gst/controller/gstcontroller.c:
17559 * libs/gst/controller/gsthelper.c:
17560 * libs/gst/controller/gstinterpolation.c:
17561 * tools/gst-inspect.c: (print_plugin_info):
17562 we don't use dashes in header names
17564 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17566 * check/Makefile.am:
17567 * check/gst/.cvsignore:
17568 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
17569 (gst_pipeline_suite), (main):
17570 adding a test for pipelines and state changes
17571 * gst/gstutils.c: (get_state_func):
17573 * gstreamer.spec.in:
17576 2005-09-08 Michael Smith <msmith@fluendo.com>
17578 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
17579 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
17580 (gst_file_src_is_seekable), (gst_file_src_get_size),
17581 (gst_file_src_start):
17582 * gst/elements/gstfilesrc.h:
17583 Various fixes for unseekable, unmmapable, and non-normal files, so
17584 that fallback to read() rather than mmap() works.
17585 * gst/gstevent.c: (gst_event_new_newsegment):
17586 Allow newsegment events with segment_start == segment_end, as will
17587 correctly happen if you use filesrc on a zero-size file, for
17590 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17592 * gst/gstplugin.c: (gst_plugin_load_file):
17593 Call g_module_close when we don't load the module
17595 * gst/registries/gstlibxmlregistry.c:
17596 (gst_xml_registry_get_property):
17597 Port leak fix from 0.8
17599 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17601 * docs/gst/gstreamer-docs.sgml:
17602 * docs/gst/tmpl/.cvsignore:
17603 * docs/gst/tmpl/gsttrace.sgml:
17604 * docs/gst/tmpl/gsttrashstack.sgml:
17607 * gst/gstelement.h:
17609 * gst/gstmessage.c:
17610 * gst/gstmessage.h:
17613 * gst/gsttaginterface.c:
17614 * gst/gsttaginterface.h:
17615 * gst/gsttaglist.c:
17616 * gst/gsttaglist.h:
17617 * gst/gsttagsetter.c:
17618 * gst/gsttagsetter.h:
17621 * gst/gsttrashstack.c:
17622 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
17623 inlined docs for gsttrace, gsttrashstack
17625 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17628 * gst/elements/gstbufferstore.h:
17629 * gst/elements/gsttypefindelement.c:
17630 * gst/elements/gsttypefindelement.h:
17632 * gst/gsttypefind.c:
17633 * gst/gsttypefind.h:
17634 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
17635 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
17636 (gst_type_find_factory_dispose),
17637 (gst_type_find_factory_unload_thyself),
17638 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
17639 (gst_type_find_factory_get_caps),
17640 (gst_type_find_factory_get_extensions),
17641 (gst_type_find_factory_call_function):
17642 * gst/gsttypefindfactory.h:
17643 * gst/registries/gstlibxmlregistry.c:
17644 * gst/registries/gstxmlregistry.c:
17645 splitted gsttypefind into gsttypefind, gsttypefindfactory
17647 2005-09-07 Andy Wingo <wingo@pobox.com>
17649 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
17650 condition whereby the pad's task function is entered before the
17651 pad_mode variable was set.
17653 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17655 * gst/gstpad.c: (gst_pad_alloc_buffer):
17656 Catch misbehaving pad_alloc functions that don't
17657 set up caps and do it for them.
17659 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17661 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17662 test for pipe!=NULL
17663 * docs/gst/tmpl/.cvsignore:
17664 * docs/gst/tmpl/gstmemchunk.sgml:
17665 * docs/gst/tmpl/gstparse.sgml:
17666 * docs/gst/tmpl/gsttaglist.sgml:
17667 * docs/gst/tmpl/gsttagsetter.sgml:
17668 * docs/gst/tmpl/gsttypefind.sgml:
17669 * docs/gst/tmpl/gsttypefindfactory.sgml:
17670 * gst/gstmemchunk.c:
17673 * gst/gsttaginterface.c:
17674 * gst/gsttypefind.c:
17675 * gst/gsttypefind.h:
17678 === release 0.9.2 ===
17680 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
17685 releasing 0.9.2, "South"
17687 2005-09-05 Andy Wingo <wingo@pobox.com>
17689 * gst/registries/gstxmlregistry.h:
17690 * gst/registries/gstxmlregistry.c: Um... resurrect...
17692 * gst/registries/gstxmlregistry.h:
17693 * gst/registries/gstxmlregistry.c: and update to newer API.
17694 Incidentally they should be a bit faster now that they don't have
17697 2005-09-05 Andy Wingo <wingo@pobox.com>
17699 * gst/registries/gstxmlregistry.h:
17700 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
17701 replaced by the libxml registry a while back
17703 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17705 * docs/gst/tmpl/gstplugin.sgml:
17706 * gst/elements/gstelements.c:
17708 * gst/gstplugin.c: (gst_plugin_register_func),
17709 (gst_plugin_desc_copy), (gst_plugin_desc_free),
17710 (gst_plugin_get_source):
17712 * gst/registries/gstlibxmlregistry.c: (load_plugin),
17713 (gst_xml_registry_save_plugin):
17714 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
17715 (gst_xml_registry_save_plugin):
17716 * tools/gst-inspect.c: (print_plugin_info):
17717 add a "source" plugin description field, to represent the source
17718 module this plugin is a part of. By default GST_PLUGIN_DEFINE
17719 will set it to PACKAGE, which is automake's idea of the name of
17720 the source project.
17722 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17727 * docs/Makefile.am:
17728 * docs/faq/Makefile.am:
17729 * docs/gst/tmpl/gstelement.sgml:
17730 * docs/gst/tmpl/gsttypes.sgml:
17731 * docs/htmlinstall.mak:
17732 * docs/manual/Makefile.am:
17733 * docs/pwg/Makefile.am:
17734 reorganize doc build a little
17735 split out docbook and gtk-doc stuff
17736 have two separate --enable's and enable them through autogen
17737 but disable by default in configure (to be similar to other
17739 * gstreamer.spec.in:
17740 clean up docs install
17758 translation updates
17760 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
17762 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17765 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17766 (gst_fake_sink_change_state):
17767 Make state change function thread-safe.
17769 * gst/gstpad.c: (gst_pad_alloc_buffer):
17770 Set offset on generic buffer allocated by fallback.
17772 2005-09-03 Stefan Kost <ensonic@users.sf.net>
17774 * docs/gst/gstreamer-sections.txt:
17775 * docs/gst/tmpl/gstelement.sgml:
17777 * libs/gst/controller/gst-controller.c:
17778 (gst_controlled_property_set_interpolation_mode),
17779 (gst_controlled_property_new),
17780 (gst_controller_find_controlled_property):
17781 run the wingo-magic script against the docs
17783 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17785 * docs/gst/gstreamer-docs.sgml:
17786 * docs/gst/gstreamer-sections.txt:
17787 * docs/gst/tmpl/.cvsignore:
17788 * docs/gst/tmpl/gstelementdetails.sgml:
17789 * docs/gst/tmpl/gstelementfactory.sgml:
17792 * gst/gstelementfactory.c:
17793 * gst/gstelementfactory.h:
17794 merged elementdetails docs into elementfactory docs
17797 2005-09-02 Andy Wingo <wingo@pobox.com>
17799 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17800 consider this enum an enum and not a flags.
17802 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17804 * docs/gst/gstreamer-docs.sgml:
17805 * docs/gst/tmpl/.cvsignore:
17806 * docs/gst/tmpl/gstghostpad.sgml:
17807 * docs/gst/tmpl/gstiterator.sgml:
17808 * docs/gst/tmpl/gstmacros.sgml:
17809 * docs/gst/tmpl/gstrealpad.sgml:
17810 * docs/gst/tmpl/gstregistry.sgml:
17811 * docs/gst/tmpl/gstregistrypool.sgml:
17812 * docs/gst/tmpl/gststructure.sgml:
17813 * docs/gst/tmpl/gstsystemclock.sgml:
17814 * docs/gst/tmpl/gsttrace.sgml:
17815 * gst/gstghostpad.c:
17817 * gst/gstmemchunk.c:
17818 * gst/gstmemchunk.h:
17820 * gst/gstregistry.c:
17821 * gst/gstregistrypool.c:
17822 * gst/gststructure.c:
17823 * gst/gstsystemclock.c:
17826 2005-09-02 Andy Wingo <wingo@pobox.com>
17828 * gst/gstelement.h (GstState): Renamed from GstElementState,
17829 changed to be a normal enum instead of flags.
17830 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17831 munged to be GST_STATE_CHANGE_*.
17832 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17833 work with the new state representation.
17834 (GstStateChange): New enumeration of possible state transitions.
17835 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17836 (GstElementClass::change_state): Pass the GstStateChange along as
17837 an argument. Helps language bindings, so they don't have to use
17838 tricky lock-needing macros like GST_STATE_CHANGE ().
17840 * scripts/update-states (file): New script. Run it on a file to
17841 update it for state naming and API changes. Updates files in
17844 * All files updated for the new API.
17846 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
17848 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17849 * gst/gstutils.c: (gst_util_set_value_from_string),
17850 (gst_util_set_object_arg):
17851 fix a bunch of unchecked return values
17852 * tools/gst-complete.c: (main):
17853 * gstreamer.spec.in:
17856 2005-09-01 Wim Taymans <wim@fluendo.com>
17858 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17859 (gst_base_sink_event), (gst_base_sink_do_sync),
17860 (gst_base_sink_handle_event):
17861 * gst/base/gstbasesink.h:
17862 Handle newsegments more correctly.
17867 * gst/gstevent.c: (gst_event_new_newsegment):
17868 A newsegment cannot have a start_time of -1
17870 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
17872 * win32/gstenumtypes.c:
17873 * win32/gstenumtypes.h:
17876 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17878 * libs/gst/controller/gst-controller.c:
17879 (gst_controlled_property_set_interpolation_mode),
17880 (gst_controlled_property_new):
17881 fixed boolean again
17883 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
17885 * docs/faq/gst-uninstalled:
17890 * gst/gstutils.c: (gst_element_link_filtered):
17892 add gst_element_link_filtered
17894 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17896 * docs/gst/gstreamer-docs.sgml:
17897 * docs/gst/gstreamer-sections.txt:
17898 * docs/gst/tmpl/.cvsignore:
17899 * docs/gst/tmpl/gsterror.sgml:
17900 * docs/gst/tmpl/gstfilter.sgml:
17901 * docs/gst/tmpl/gsturihandler.sgml:
17902 * docs/gst/tmpl/gsturitype.sgml:
17903 * docs/gst/tmpl/gstutils.sgml:
17904 * docs/gst/tmpl/gstxml.sgml:
17909 * gst/gsturitype.c:
17912 inlined more docs, fixed double id-ref
17914 2005-08-31 Wim Taymans <wim@fluendo.com>
17916 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17917 (gst_base_transform_handle_buffer):
17918 Passthrough elements don't need the caps as they don't care.
17920 2005-08-31 Wim Taymans <wim@fluendo.com>
17922 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17923 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17924 Don't leak refcounts on buffers.
17926 2005-08-31 Wim Taymans <wim@fluendo.com>
17928 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17929 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17930 (gst_base_transform_chain), (gst_base_transform_change_state):
17931 * gst/base/gstbasetransform.h:
17932 Handle the case where we are not negotiated more gracefully.
17934 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
17936 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17937 (gst_file_src_map_region):
17938 Set READONLY flag on mmap'ed buffers, otherwise
17939 gst_buffer_make_writable() won't work properly (#314708).
17941 2005-08-31 Wim Taymans <wim@fluendo.com>
17943 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17944 passthrough elements can even do inplace on non writable
17945 buffers (as they don't touch them).
17947 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17949 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17950 (gst_test_mono_source_set_property),
17951 (gst_test_mono_source_class_init), (GST_START_TEST),
17952 (gst_controller_suite):
17953 more tests (hehe I have the most)
17955 describe popping messages whenusing mulltiple sources
17956 * libs/gst/controller/gst-controller.c:
17957 (gst_controlled_property_set_interpolation_mode),
17958 (gst_controlled_property_new):
17959 * libs/gst/controller/gst-controller.h:
17960 * libs/gst/controller/gst-interpolation.c:
17961 implement boolean properties
17963 2005-08-31 Wim Taymans <wim@fluendo.com>
17965 * gst/gstminiobject.c: (gst_mini_object_ref):
17966 Cannot assert that the refcount has to be positive
17967 since a disposed object can be resurrected.
17969 2005-08-31 Wim Taymans <wim@fluendo.com>
17971 * gst/gstpad.c: (gst_pad_init):
17972 Revert change, need to first fix badly behaving
17975 2005-08-30 Wim Taymans <wim@fluendo.com>
17977 * check/elements/fakesrc.c: (setup_fakesrc):
17978 * check/elements/identity.c: (setup_identity):
17979 Activate pads before using them.
17981 2005-08-30 Wim Taymans <wim@fluendo.com>
17983 * gst/base/gstadapter.c: (gst_adapter_flush):
17984 Flushing out 0 bytes is ok for this function.
17986 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17987 no newsegment gives a warning and sets the start/stop to
17990 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17991 (gst_base_transform_set_passthrough):
17994 * gst/gstminiobject.c: (gst_mini_object_ref):
17995 Check refcount here too.
17997 * gst/gstpad.c: (gst_pad_init):
17998 Pads are initially flushing and refusing data.
18000 * gst/gstutils.c: (gst_element_link_pads_filtered):
18001 When adding a capsfilter element make sure it has the
18002 same state as the parent bin.
18004 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18006 * docs/gst/tmpl/.cvsignore:
18007 * docs/gst/tmpl/gstformat.sgml:
18008 * docs/gst/tmpl/gstversion.sgml:
18012 * gst/gstversion.h.in:
18013 more docs and two more inlined
18015 2005-08-30 Wim Taymans <wim@fluendo.com>
18017 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18018 Don't sync to clock.
18020 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18022 * docs/gst/gstreamer-sections.txt:
18023 ultral33t func10ns deserve to appear in the docs actually
18024 * docs/gst/tmpl/.cvsignore:
18025 * docs/gst/tmpl/gstcompat.sgml:
18026 * docs/gst/tmpl/gstconfig.sgml:
18027 * gst/check/gstcheck.c:
18029 * gst/gstconfig.h.in:
18032 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18034 * docs/gst/tmpl/.cvsignore:
18035 * docs/gst/tmpl/gstquery.sgml:
18036 * docs/gst/tmpl/gstutils.sgml:
18039 inlined and extended docs
18041 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18043 * check/gst-libs/controller.c: (GST_START_TEST),
18044 (gst_controller_suite):
18046 * docs/gst/tmpl/gstutils.sgml:
18047 * docs/libs/gstreamer-libs-sections.txt:
18048 * docs/libs/tmpl/gstdataprotocol.sgml:
18050 * examples/controller/audio-example.c: (main):
18051 controller example works now
18054 * tools/gst-inspect.c: (print_element_properties_info):
18055 show param spec flags
18057 2005-08-29 Andy Wingo <wingo@pobox.com>
18059 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18061 2005-08-28 Andy Wingo <wingo@pobox.com>
18063 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18064 as having two arguments instead of just one. Allows superclasses
18065 to access information on subclasses -- see the terrible for() loop
18066 in gtype.c:g_type_create_instance for the reason why. All callers
18069 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18071 * docs/design/part-messages.txt:
18073 * docs/gst/tmpl/.cvsignore:
18074 * docs/gst/tmpl/gstcaps.sgml:
18075 * docs/gst/tmpl/gstclock.sgml:
18081 * gst/gstmessage.c:
18082 added descriptions for bus and message
18083 inline caps and clock docs
18085 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18087 * gst/gstmessage.c:
18088 * gst/gstmessage.h:
18091 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18093 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18096 2005-08-26 Andy Wingo <wingo@pobox.com>
18098 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18099 element_set_state's return val.
18100 (test_2_elements): Add test that's been disabled for months.
18102 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18103 can-activate-pull properties.
18105 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18106 can-activate-pull properties. Implement is_seekable so fakesrc can
18107 operate in pull mode.
18109 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18111 (gst_base_sink_activate, gst_base_sink_activate_pull)
18112 (gst_base_sink_activate_push): Make activation mode choosing work.
18114 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18115 is right. Make pull mode work. Post an eos before pausing in pull
18117 (gst_base_sink_change_state): Pay attention to the core's
18118 change_state() return val.
18120 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18121 has-getrange properties. Cleanups.
18123 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18124 has_getrange and replace with can_activate_pull and
18127 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18128 locking comments. Remove has_loop, has_chain and replace with
18129 can_activate_pull and can_activate_push.
18131 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18134 * examples/Makefile.am:
18135 * examples/metadata/Makefile.am:
18136 * examples/metadata/read-metadata.c: (message_loop),
18137 (have_pad_handler), (make_pipeline), (print_tag), (main):
18138 Add metadata reading example that loops over a list of filenames,
18139 dumping any tags found.
18141 * gst/gstbus.c: (gst_bus_dispose):
18142 * gst/gstelement.c: (gst_element_dispose):
18143 Release a few potentially-held references in dispose.
18145 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18147 * docs/gst/tmpl/gstminiobject.sgml:
18148 do *not* add tmpl/*.sgml files to CVS!
18150 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18152 * libs/gst/bytestream/.cvsignore:
18153 * libs/gst/bytestream/Makefile.am:
18154 * libs/gst/bytestream/adapter.c:
18155 * libs/gst/bytestream/adapter.h:
18156 * libs/gst/bytestream/bytestream.c:
18157 * libs/gst/bytestream/bytestream.h:
18158 * libs/gst/bytestream/filepad.c:
18159 * libs/gst/bytestream/filepad.h:
18160 removing obsolete files
18162 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18164 * docs/gst/gstreamer-docs.sgml:
18165 * docs/libs/gstreamer-libs-docs.sgml:
18166 disabed additional index entries again, as this makes docs-gen just
18167 slow and they aren't useful yet
18168 * docs/libs/gstreamer-libs-sections.txt:
18169 little -section.txt cleanup for libs
18171 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18173 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18174 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18175 fix up some debugging
18176 (gst_base_transform_get_unit_size),
18177 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18178 (gst_base_transform_handle_buffer):
18179 * gst/base/gstbasetransform.h:
18180 handle and store timed NEWSEGMENT events so that subclasses that
18181 calculate time by counting samples have a segment_start time they
18182 need to add to their timestamps - see audioresample
18184 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18187 removed ';' from the end of macro defs
18188 * docs/gst/gstreamer-docs.sgml:
18189 * docs/gst/gstreamer-sections.txt:
18190 * docs/gst/tmpl/.cvsignore:
18192 * gst/gstelement.c: (gst_element_class_init),
18193 (gst_element_set_state), (activate_pads),
18194 (gst_element_save_thyself):
18195 * gst/gstevent.c: (gst_event_new_newsegment):
18197 * gst/gstiterator.c:
18198 * gst/gstiterator.h:
18201 * gst/gstutils.c: (gst_pad_query_convert):
18203 fixed parameter name mismatches between source, header and docs
18204 added some more docs, resolved the last batch of unused elements in
18205 docs (now someone needs to doc them)
18207 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18209 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18210 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18211 don't walk through the plugins backwards. Where is all this
18212 reversed logic coming from ?
18214 2005-08-25 Wim Taymans <wim@fluendo.com>
18216 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18217 (gst_base_transform_transform_size),
18218 (gst_base_transform_configure_caps),
18219 (gst_base_transform_get_unit_size),
18220 (gst_base_transform_buffer_alloc),
18221 (gst_base_transform_change_state):
18222 * gst/base/gstbasetransform.h:
18223 Cache caps unit_size.
18224 Make sure we cannot negotiate up and downstream at the
18227 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18229 * gst/gst.c: (init_pre), (init_post):
18230 register the installed plugin path after the env var
18231 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18232 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18233 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18234 directories, so the tests can prefer uninstalled over installed
18236 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18238 * gst/base/gstbasetransform.h:
18243 2005-08-25 Wim Taymans <wim@fluendo.com>
18245 * gst/gstbin.c: (bin_bus_handler):
18246 Be a bit more conservative about the posted message.
18248 * gst/gstbus.c: (gst_bus_post):
18249 Some cleanups, warn wrong return values.
18251 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18253 * check/gst/gstbin.c: (GST_START_TEST):
18254 * gst/gstbin.c: (bin_bus_handler):
18255 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18256 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18257 (gst_message_new_warning), (gst_message_new_tag),
18258 (gst_message_new_state_changed), (gst_message_new_segment_start),
18259 (gst_message_new_segment_done), (gst_message_new_custom):
18260 * gst/gstmessage.h:
18261 * tools/gst-launch.c: (event_loop):
18262 * tools/gst-md5sum.c: (event_loop):
18263 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18265 2005-08-25 Wim Taymans <wim@fluendo.com>
18267 * check/generic/states.c: (GST_START_TEST):
18268 Cleanup can be done at the end.
18270 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18271 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18272 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18273 Oh boy.. Thanks for finding this, Thomas.
18275 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18277 * docs/gst/gstreamer.types:
18278 added missing types
18280 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18282 * docs/gst/gstreamer-docs.sgml:
18283 * docs/gst/gstreamer-sections.txt:
18284 * docs/gst/tmpl/.cvsignore:
18286 * gst/gstiterator.c:
18288 * gst/registries/gstxmlregistry.h:
18289 added missing classes and symbols (123 more to go)
18290 removed removed symbols from section file
18291 fixed many doc-comments
18293 2005-08-24 Wim Taymans <wim@fluendo.com>
18295 * check/generic/states.c: (GST_START_TEST):
18296 Make sure all tasks are stopped.
18298 * check/gst/gstbin.c: (GST_START_TEST):
18299 Unref after usage for proper valgrinding.
18301 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18302 Really wait for the task to stop before destroying the
18305 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18306 (gst_queue_src_activate_push):
18307 Small cleanups. Don't stop the task when we did not start
18310 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18311 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18312 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18315 Protect the stream lock with the object lock.
18316 Disallow setting the stream lock when running.
18317 Add cleanup_all to wait for the threadpool to finish.
18318 Remove code to autoallocate a mutex if none was provided.
18319 Add _join() to wait for a task to stop.
18320 Protect the thread pool with a global lock.
18322 2005-08-24 Wim Taymans <wim@fluendo.com>
18324 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18325 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18326 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18327 * gst/base/gstbasesink.h:
18328 Handle newsegment events correctly.
18329 Drop buffers out of the segment range.
18331 2005-08-22 Andy Wingo <wingo@pobox.com>
18333 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18334 macro, implements an interface and gstimplementsinterface for a
18337 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18339 * check/Makefile.am:
18340 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18341 add a test that does a bunch of state changes on elements
18342 needs some fixing for valgrind
18343 * check/states/sinks.c: (gst_object_suite):
18346 add prototype for gst_caps_is_equal_fixed
18348 * gst/gstregistrypool.c:
18351 2005-08-24 Andy Wingo <wingo@pobox.com>
18353 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18354 convert a negative value. Doesn't make much sense. Mostly this is
18355 here to force callers to ensure -1 maps to -1.
18357 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18359 * docs/pwg/advanced-types.xml:
18360 Well done to Michael for catching my deliberate introduction
18361 of this spelling mistake.
18362 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18363 * gst/gstelement.h:
18364 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18365 unlink pads before removing the element from the bin.
18367 2005-08-24 Andy Wingo <wingo@pobox.com>
18369 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18370 the same thing as GST_DEBUG=*:4.
18371 (parse_debug_level, parse_debug_category): New helper parsers.
18373 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18375 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18376 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18377 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18378 (gst_base_transform_buffer_alloc),
18379 (gst_base_transform_handle_buffer):
18380 use gboolean return values and pointers to size so we can use the
18381 full GST_BUFFER_SIZE range (guint) for buffer sizes
18382 use GstPadDirection for transform_caps
18383 * gst/base/gstbasetransform.h:
18384 rename get_size to get_unit_size since that's what it is
18385 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18386 use GstPadDirection for transform_caps
18387 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18389 cleanup and debugging
18391 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18393 * gst/gstelement.c: (gst_element_class_init),
18394 (gst_element_set_state), (activate_pads),
18395 (gst_element_save_thyself):
18396 * tools/gst-compprep.c: (main):
18397 * tools/gst-inspect.c: (print_element_properties_info):
18398 * tools/gst-xmlinspect.c: (print_element_properties):
18399 Fixed long standing mem-leak
18401 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18403 * check/gst/gstbin.c: (GST_START_TEST):
18404 * gst/gstbin.c: (bin_bus_handler):
18405 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18406 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18407 (gst_message_new_warning), (gst_message_new_tag),
18408 (gst_message_new_state_changed), (gst_message_new_segment_start),
18409 (gst_message_new_segment_done), (gst_message_new_custom):
18410 * gst/gstmessage.h:
18411 * tools/gst-launch.c: (event_loop):
18412 * tools/gst-md5sum.c: (event_loop):
18413 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
18414 that applications can sensibly post custom messages with references
18415 to their own objects.
18417 2005-08-24 Andy Wingo <wingo@pobox.com>
18419 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
18422 2005-08-24 Wim Taymans <wim@fluendo.com>
18424 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18425 (gst_base_transform_transform_caps),
18426 (gst_base_transform_transform_size),
18427 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18428 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18429 (gst_base_transform_handle_buffer):
18430 * gst/base/gstbasetransform.h:
18431 Many fixes and new features added by Thomas. Can now also do
18432 transforms with variable sizes and a custom fixate_caps function.
18434 2005-08-24 Wim Taymans <wim@fluendo.com>
18436 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18440 Cast to ClockTime before formatting to time.
18445 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18447 * check/gst-libs/controller.c: (GST_START_TEST),
18448 (gst_controller_suite):
18449 * docs/gst/tmpl/gstcaps.sgml:
18450 * docs/gst/tmpl/gstghostpad.sgml:
18451 * docs/gst/tmpl/gstquery.sgml:
18452 * docs/gst/tmpl/gstutils.sgml:
18453 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
18454 (gst_object_sink_values), (gst_object_get_value_arrays),
18455 (gst_object_get_value_array):
18456 gracefully handle helper method calls to objects that are not beeing
18457 controlled, added test case for that
18459 2005-08-23 Wim Taymans <wim@fluendo.com>
18461 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
18462 (gst_event_new_newsegment), (gst_event_parse_newsegment),
18463 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
18464 (gst_event_parse_qos), (gst_event_new_seek),
18465 (gst_event_parse_seek):
18467 Some more debugging output and doc cleanups.
18469 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18470 Fix possible deadlock.
18472 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18474 * docs/gst/gstreamer-docs.sgml:
18475 * docs/gst/gstreamer-sections.txt:
18476 * docs/gst/gstreamer.types:
18477 * docs/gst/tmpl/.cvsignore:
18480 * gst/gstelement.c:
18482 added 100 symbols from gstreamer-unused.txt to the right sections
18483 fixed more broken comments
18484 added GstBus to docs
18486 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18488 * docs/gst/gstreamer-sections.txt:
18489 * docs/gst/tmpl/.cvsignore:
18490 * docs/gst/tmpl/gstbin.sgml:
18491 * docs/gst/tmpl/gstbuffer.sgml:
18492 * gst/base/gstbasesrc.c:
18493 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
18496 * tools/gst-launch.1.in:
18497 inlined more doc comments, added missing comments and fixed comments
18500 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
18502 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18506 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
18508 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
18509 * gst/gststructure.h:
18510 add a fixate function for booleans; add a FIXME that these func
18511 names should probably be gst_structure_fixate_*
18513 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18515 * docs/gst/gstreamer-docs.sgml:
18516 * docs/gst/gstreamer-sections.txt:
18518 * gst/gstbin.c: (gst_bin_get_type),
18519 (gst_bin_child_proxy_get_child_by_index),
18520 (gst_bin_child_proxy_get_children_count),
18521 (gst_bin_child_proxy_init):
18522 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18523 (gst_child_proxy_get_child_by_index),
18524 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
18525 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
18526 (gst_child_proxy_get), (gst_child_proxy_set_property),
18527 (gst_child_proxy_set_valist), (gst_child_proxy_set),
18528 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
18529 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
18530 * gst/gstchildproxy.h:
18531 * gst/parse/grammar.y:
18532 * tools/gst-inspect.c: (print_interfaces),
18533 (print_element_properties_info), (print_element_info):
18534 ported gstchildproxy over from 0.8
18535 ported gst-inspect fixes and enhancements over from 0.8
18537 2005-08-22 Wim Taymans <wim@fluendo.com>
18539 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18540 (gst_base_transform_handle_buffer):
18541 Also call the transform function if we have ANY caps.
18543 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
18546 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
18548 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
18549 Don't pretend to handle seek events if the source is not seekable
18551 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
18553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18554 Remove extra parameter to debug output
18556 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18557 (gst_base_src_do_seek), (gst_base_src_activate_push):
18558 Fix seek event handling.
18560 * gst/gstpipeline.c: (gst_pipeline_change_state):
18561 * gst/gstqueue.c: (gst_queue_handle_sink_event),
18562 (gst_queue_src_activate_push):
18563 Don't start the src pad task on FLUSH_STOP if the pad
18567 2005-08-22 Wim Taymans <wim@fluendo.com>
18569 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
18570 Added check for gst_static_caps_get() refcounting.
18572 2005-08-22 Wim Taymans <wim@fluendo.com>
18574 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
18575 Make _static_caps_get() refcounting sane.
18577 * gst/gstelement.c: (gst_element_set_state):
18578 Add g_return_val_if_fail() to protect against segfaults.
18580 2005-08-22 Stefan Kost <ensonic@users.sf.net>
18582 * docs/gst/tmpl/gstevent.sgml:
18585 inlined remaining docs, added missing doc comments
18587 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
18589 * check/gst/gstbin.c: (GST_START_TEST):
18590 since we don't know when preroll is done, use refcount range
18592 * gst/check/gstcheck.h:
18593 add macro for checking refcount range
18595 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18597 * check/Makefile.am:
18598 clean up environment for when registry gets built versus
18599 when actual tests are run; valgrind seems to not report
18600 leaks if GST_PLUGIN_PATH is set to some specific values
18601 * check/gst/gstbin.c: (GST_START_TEST):
18602 add more refcounting checks; maybe this exposes a
18604 * common/check.mak:
18605 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18606 * gst/check/gstcheck.h:
18607 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
18608 (gst_bin_change_state):
18609 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
18610 add/fix debugging/whitespace
18612 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18614 * check/gst/gstevent.c: (event_probe), (test_event),
18616 Er, don't call gst_bin_watch_for_state_change you idiot.
18618 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18620 * check/Makefile.am:
18621 Use CHECK_CFLAGS and CHECK_LIBS
18622 * check/gst/gstevent.c: (event_probe), (test_event),
18625 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18626 (gst_base_src_start), (gst_base_src_stop),
18627 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18628 (gst_base_src_change_state):
18629 Sprinkle gst_base_src_stop liberally around error paths to fix
18630 problems reusing a source after failed state changes.
18631 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18632 (helper_find_suggest), (gst_type_find_helper):
18633 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
18635 * docs/gst/tmpl/gstevent.sgml:
18636 Migrate part of the docs from the SGML file. Wait for ensonic to
18637 tell me how I did it wrong ;)
18638 * tools/gst-typefind.c: (main):
18639 Extra robustness to state changes between files.
18641 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18643 * check/Makefile.am:
18644 don't valgrind the controller test - it's leaking - Stefan, HELP
18645 * gst/check/gstcheck.c: (gst_check_message_error),
18646 (gst_check_chain_func), (gst_check_setup_element),
18647 (gst_check_teardown_element), (gst_check_setup_src_pad),
18648 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
18649 (gst_check_teardown_sink_pad):
18650 * gst/check/gstcheck.h:
18651 add a bunch of methods to set up elements, and src and sink pads
18652 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
18653 * check/elements/identity.c: (setup_identity), (cleanup_identity),
18656 * gst/gstmessage.c:
18658 whitespace/doc fixes
18660 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18662 * gst/gstelement.h:
18663 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
18664 be handled by the application and not always printed as well
18666 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18668 * check/Makefile.am:
18670 * gst/check/gstcheck.c: (gst_check_message_error):
18671 * gst/check/gstcheck.h:
18672 add a fail_unless_equals_int
18673 add fail_unless for error messages
18675 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18677 * check/Makefile.am:
18679 * common/Makefile.am:
18680 * common/check.mak:
18682 factor out some of the common stuff so we can use it
18684 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18686 * check/Makefile.am:
18687 * check/gst/gstiterator.c: (GST_START_TEST):
18688 * check/gst/gstsystemclock.c: (GST_START_TEST),
18689 (gst_systemclock_suite):
18690 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18692 valgrind more tests
18694 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18696 * check/elements/.cvsignore:
18697 * check/elements/gstfakesrc.c:
18698 rename to name of element
18699 * check/elements/identity.c: (chain_func), (event_func),
18700 (setup_identity), (cleanup_identity), (GST_START_TEST),
18701 (identity_suite), (main):
18702 add a test for identity
18703 * check/Makefile.am:
18704 * pkgconfig/Makefile.am:
18705 * pkgconfig/gstreamer-check.pc.in:
18706 * pkgconfig/gstreamer-check-uninstalled.pc.in:
18710 move the check stuff to a library that gets installed
18711 * check/gst-libs/controller.c: (GST_START_TEST):
18712 * check/gst-libs/gdp.c:
18713 * check/gst/gst.c: (GST_START_TEST):
18714 * check/gst/gstbin.c:
18715 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18716 * check/gst/gstbus.c:
18717 * check/gst/gstcaps.c: (GST_START_TEST):
18718 * check/gst/gstelement.c:
18719 * check/gst/gstghostpad.c:
18720 * check/gst/gstiterator.c:
18721 * check/gst/gstmessage.c:
18722 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
18723 * check/gst/gstobject.c:
18724 * check/gst/gstpad.c: (GST_START_TEST):
18725 * check/gst/gststructure.c: (GST_START_TEST):
18726 * check/gst/gstsystemclock.c: (GST_START_TEST),
18727 (gst_systemclock_suite):
18728 * check/gst/gsttag.c: (gst_tag_suite):
18729 * check/gst/gstvalue.c:
18730 * check/pipelines/cleanup.c:
18731 * check/pipelines/simple_launch_lines.c:
18732 * check/states/sinks.c:
18733 change include statement
18735 * docs/gst/gstreamer-sections.txt:
18736 * docs/gst/tmpl/gstpad.sgml:
18737 document more pad stuff
18738 * gst/gstminiobject.c: (gst_mini_object_ref),
18739 (gst_mini_object_unref):
18742 2005-08-19 Stefan Kost <ensonic@users.sf.net>
18744 * docs/gst/tmpl/gst.sgml:
18746 eliminate another tmpl file, fix spelling in the long-description
18748 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18750 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18751 (test_event), (timediff), (gstevents_suite):
18752 Should fix build on 64-bit arch's
18754 2005-08-18 Andy Wingo <wingo@pobox.com>
18756 Make sure that when a pipeline goes to PLAYING, that data has
18757 actually hit the sink.
18759 * check/states/sinks.c (test_sink): A sink that doesn't get any
18760 data shouldn't return SUCCESS for going to either PLAYING or
18761 PAUSED. Test also the return values on the way back down.
18763 * gst/gstelement.c (gst_element_set_state): When changing the
18764 state of an element currently changing state asynchronously, go to
18765 lost-state after commiting the pending state. Makes future calls
18766 to get_state continue to return ASYNC.
18768 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18769 ASYNC when going to PLAYING if we still don't have preroll, as can
18770 happen with live sources.
18772 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18774 * docs/pwg/advanced-types.xml:
18775 Hack long paragraph into 2 chunks as a workaround for buggy
18776 jadetex version in sid and breezy that loops infinitely and
18779 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18781 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18782 (test_event), (timediff), (gstevents_suite):
18783 Provide more error margin in clock measurements to allow for
18784 g_get_current_time inaccuracies.
18786 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18788 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18789 (test_event), (timediff), (gstevents_suite):
18790 Fix error message output so I might be able to tell why the
18791 test works here but fails on the build farm.
18793 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18795 * check/Makefile.am:
18796 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18797 (test_event), (timediff), (gstevents_suite), (main):
18800 * docs/design/part-seeking.txt:
18801 Spelling correction
18803 * docs/gst/tmpl/gstevent.sgml:
18804 * docs/gst/tmpl/gstfakesrc.sgml:
18807 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18808 Treat a buffer-without-newsegment the same as a receiving
18809 a newsegment not in time format, and disable syncing to the clock
18812 * gst/gstbus.c: (gst_bus_set_sync_handler):
18813 Assert if anyone tries to replace the existing sync_handler for bus,
18814 as only the owner should be setting it.
18817 Have a fixed set of custom event enums with events identified by
18818 their structure name (as in 0.8), rather than a free-for-all
18819 allowing collisions between enum values from different plugins.
18821 * gst/gstpad.c: (gst_pad_class_init):
18824 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18825 Handle out-of-band downstream events from the sending thread.
18827 2005-08-17 Andy Wingo <wingo@pobox.com>
18829 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18830 play-timeout==0 to mean no timeout at all. In that case, don't
18831 bother with a get_state or a warning, just return directly, even
18834 * gst/base/gstbasetransform.c: Debug changes.
18837 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18838 ensure bins post state change messages. A bit of a hack but I can't
18839 think of a way to avoid it.
18841 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18843 2005-08-16 Andy Wingo <wingo@pobox.com>
18845 * gst/base/gstadapter.h:
18846 * gst/base/gstadapter.c (gst_adapter_take): New function, like
18847 peek() but you own the data. Not terribly efficient atm.
18849 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18851 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18852 (gst_element_found_tags):
18854 Add two utility functions for tag handling.
18856 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18858 * docs/manual/advanced-dataaccess.xml:
18859 * docs/manual/basics-helloworld.xml:
18860 Fix docs to use _bin_add() before _link(), which fixes the examples
18861 with recent core versions (reported by Madhan Raj M
18862 <raj_madan@rediffmail.com>, #313199).
18864 2005-08-16 Wim Taymans <wim@fluendo.com>
18866 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18867 Added subtract checks.
18869 * docs/design/part-events.txt:
18870 Some more docs about newsegment
18872 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18875 * gst/gstcaps.c: (gst_caps_to_string):
18876 Add comments, cleanups.
18878 * gst/gstelement.c: (gst_element_save_thyself):
18881 * gst/gstvalue.c: (gst_value_collect_int_range),
18882 (gst_string_unwrap), (gst_value_union_int_int_range),
18883 (gst_value_union_int_range_int_range),
18884 (gst_value_intersect_int_int_range),
18885 (gst_value_intersect_int_range_int_range),
18886 (gst_value_intersect_double_double_range),
18887 (gst_value_intersect_double_range_double_range),
18888 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18889 (gst_value_subtract_int_range_int),
18890 (gst_value_subtract_double_range_double),
18891 (gst_value_subtract_double_range_double_range),
18892 (gst_value_subtract_from_list), (gst_value_subtract_list),
18893 (gst_value_can_compare), (gst_value_compare_fraction):
18894 Cleanups, add comments, remove unneeded asserts.
18896 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18898 * tools/gst-launch.c: (event_loop):
18899 don't convert NULL structures to strings
18901 2005-08-15 Stefan Kost <ensonic@users.sf.net>
18903 * docs/gst/gstreamer-sections.txt:
18904 made some defines private
18905 * docs/gst/tmpl/gstconfig.sgml:
18906 * docs/gst/tmpl/gstqueue.sgml:
18907 * docs/gst/tmpl/gsttaglist.sgml:
18908 * docs/gst/tmpl/gsttypes.sgml:
18909 * docs/gst/tmpl/gstutils.sgml:
18910 * docs/pwg/appendix-porting.xml:
18911 * gst/base/gstbasesink.h:
18912 * gst/base/gstbasesrc.c:
18913 * gst/base/gstbasesrc.h:
18914 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18915 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18916 * gst/gstelement.c: (gst_element_class_init):
18917 * gst/gstpad.c: (gst_pad_class_init):
18918 * gst/gstqueue.c: (gst_queue_class_init):
18919 * gst/gstxml.c: (gst_xml_class_init):
18920 documented all undocumented signal inline
18921 * libs/gst/controller/gst-controller.h:
18924 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18926 * docs/pwg/appendix-porting.xml:
18927 Document _set_link_function -> _set_setcaps_function.
18929 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18931 * check/Makefile.am:
18932 add a .check target for running the check
18933 * check/gst-libs/controller.c: (GST_START_TEST):
18935 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18936 complete checks for gstbuffer; would be nice if I could get the
18937 gcov stuff to work so I can see if I actually completed gstbuffer.c
18938 * check/gstcheck.h:
18939 add ASSERT_BUFFER_REFCOUNT
18941 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
18943 * docs/gst/gstreamer-sections.txt:
18944 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18946 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18947 spew out a warning if a tag that is already registered
18948 is re-registered, unless it is re-registered with a
18949 different type (#308438).
18951 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
18953 * docs/pwg/appendix-porting.xml:
18954 * docs/pwg/building-state.xml:
18955 Add some paragraphs about state changes in 0.9 to the PWG
18956 and the porting guide, in particular about the new meaning
18957 of GST_STATE_PAUSED and how to write state change functions
18958 with concurrent access by multiple threads in mind.
18960 2005-08-11 Stefan Kost <ensonic@users.sf.net>
18962 * docs/gst/gstreamer-docs.sgml:
18963 * docs/libs/gstreamer-libs-docs.sgml:
18964 added deprecation and since indexes
18965 * libs/gst/controller/gst-controller.c:
18966 * libs/gst/controller/gst-helper.c:
18970 2005-08-11 Wim Taymans <wim@fluendo.com>
18972 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18973 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18974 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18975 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18976 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18977 (gst_ghost_pad_set_target):
18978 Actually implement (re)setting the target on a ghostpad
18979 as described in the docs.
18981 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18983 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18984 Check whether GST_DEBUG_NO_COLOR environment variable is
18985 set and disable coloured debug output if that is the case.
18987 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18989 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18990 (gst_type_find_helper):
18991 The memory returned by gst_type_find_peek() needs to
18992 stay valid until the end of a typefind function, and
18993 typefind functions may keep results from different
18994 offsets around, so we can't just unref the buffer from
18995 the previous _peek(), but have to save all buffers
18996 returned by _peek() until typefinding is done and only
18999 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19001 * docs/gst/gstreamer-sections.txt:
19003 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19005 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19007 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19008 Fix a pretty good memleak.
19010 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19012 * gst/gstiterator.h:
19013 Fix wrong include and 'make distcheck'.
19015 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19017 * gst/gstbin.c: (bin_bus_handler):
19018 Use gst_element_post_message() instead.
19020 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19022 * gst/base/gstadapter.h:
19023 * gst/base/gstbasesink.h:
19024 * gst/base/gstbasesrc.h:
19025 * gst/base/gstbasetransform.h:
19026 * gst/base/gstcollectpads.h:
19027 * gst/base/gstpushsrc.h:
19028 * gst/gstiterator.h:
19029 Add padding to our base elements' class and instance structs and
19030 to GstIterator (you will need to rebuild all plugins and apps!)
19032 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19034 * gst/gstbin.c: (bin_bus_handler):
19035 Make default message forwarding from child->bus to bin->bus
19036 threadsafe and make it not emit warnings if the parent has no bus.
19038 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19040 * gst/gstelement.c: (activate_pads):
19041 On paused->ready, set pad->caps to NULL, as is the documented
19042 behaviour in this state change. Fixes playback of series of
19043 media files when visualization is enabled in Totem.
19045 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19047 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19048 Allow NULL as filter-caps (which means "any").
19050 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19052 * docs/libs/gstreamer-libs-sections.txt:
19053 * libs/gst/controller/gst-controller.c:
19054 * libs/gst/controller/gst-controller.h:
19055 * libs/gst/controller/gst-helper.c:
19056 adding more entries to the docs and fix small doc-bugs
19058 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19060 * docs/gst/gstreamer-docs.sgml:
19061 * docs/gst/gstreamer-sections.txt:
19062 * docs/gst/gstreamer.types:
19063 * docs/gst/tmpl/gstbasesink.sgml:
19064 * docs/gst/tmpl/gstbasesrc.sgml:
19065 * docs/gst/tmpl/gstbasetransform.sgml:
19066 * docs/gst/tmpl/gstfakesrc.sgml:
19067 * gst/base/gstcollectpads.c:
19068 * gst/base/gstcollectpads.h:
19069 * libs/gst/controller/gst-controller.c:
19070 * libs/gst/controller/gst-controller.h:
19071 * libs/gst/controller/gst-helper.c:
19072 * libs/gst/controller/gst-interpolation.c:
19073 * libs/gst/controller/lib.c:
19074 added long/short desc for controller docs
19075 added collectpads base class docs
19076 added correct includes to base-class docs
19078 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19080 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19081 (gst_test_mono_source_set_property),
19082 (gst_test_mono_source_class_init), (GST_START_TEST),
19083 (gst_controller_suite):
19084 * docs/gst/gstreamer-docs.sgml:
19085 * docs/gst/gstreamer-sections.txt:
19086 * docs/gst/gstreamer.types:
19087 * docs/libs/gstreamer-libs-docs.sgml:
19088 * docs/libs/gstreamer-libs-sections.txt:
19089 * gst/base/gstadapter.c:
19090 * libs/gst/controller/gst-controller.c:
19091 (gst_controlled_property_new), (gst_controlled_property_free),
19092 (gst_controller_new_valist),
19093 (gst_controller_remove_properties_valist),
19094 (gst_controller_sink_values), (_gst_controller_finalize):
19095 * libs/gst/controller/gst-controller.h:
19096 * libs/gst/controller/gst-helper.c:
19097 (gst_object_control_properties), (gst_object_uncontrol_properties),
19098 (gst_object_get_controller), (gst_object_set_controller),
19099 (gst_object_sink_values), (gst_object_get_value_arrays),
19100 (gst_object_get_value_array):
19101 more tests (and fixes) for the controller
19102 more docs for the controller
19103 integrated companies docs for the adapter
19105 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19107 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19108 (GST_START_TEST), (fakesrc_suite):
19109 add tests for sizetype
19111 2005-08-04 Andy Wingo <wingo@pobox.com>
19113 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19114 fixes buffer_alloc proxying among other things.
19116 * gst/base/gstbasetransform.c:
19117 * gst/base/gstbasetransform.h:
19118 Revert patch to gstbasetransform from 7-28 removing
19121 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19122 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19123 Semantics changed, should return not the size of the output buffer
19124 but the byte size of a buffer with a given caps.
19126 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19128 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19129 out) are not the pad caps until setcaps finishes.
19130 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19131 not-in-place case as well. Deal with changing from in-place to
19132 not-in-place within calling pad_alloc_buffer. Still a bit
19133 concerned about the overhead here...
19135 2005-08-03 Andy Wingo <wingo@pobox.com>
19137 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19138 fixating is an error.
19140 2005-08-04 Edward Hervey <edward@fluendo.com>
19142 * gst/base/gstadapter.h:
19143 Added gst_adapter_get_type() to the header
19145 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19147 * check/Makefile.am:
19148 * check/gst-libs/controller.c:
19149 * libs/gst/controller/gst-controller.c:
19150 (gst_controller_new_valist):
19151 added check test suite for the controller
19152 * gst/base/gstpushsrc.c:
19155 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19157 * docs/gst/Makefile.am:
19158 * docs/gst/gstreamer-docs.sgml:
19159 * docs/gst/gstreamer-sections.txt:
19160 * docs/gst/gstreamer.types:
19161 * docs/gst/tmpl/gstfakesrc.sgml:
19163 * gst/base/gstbasesink.c:
19164 * gst/base/gstbasesink.h:
19165 * gst/base/gstbasesrc.c:
19166 * gst/base/gstbasesrc.h:
19167 * gst/base/gstbasetransform.c:
19168 * gst/base/gstpushsrc.c:
19169 * gst/base/gstpushsrc.h:
19170 add short/long description docs to base classes
19171 add pushsrc to the docs
19172 remove consolidated doc fragments
19174 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19177 * docs/libs/Makefile.am:
19178 * docs/libs/gstreamer-libs-docs.sgml:
19179 * docs/libs/gstreamer-libs-sections.txt:
19180 * docs/libs/gstreamer-libs.types:
19181 * examples/Makefile.am:
19182 * examples/controller/.cvsignore:
19183 * examples/controller/Makefile.am:
19184 * examples/controller/audio-example.c: (main):
19185 * libs/gst/Makefile.am:
19186 * libs/gst/controller/.cvsignore:
19187 * libs/gst/controller/Makefile.am:
19188 * libs/gst/controller/gst-controller.c:
19189 (on_object_controlled_property_changed), (gst_timed_value_compare),
19190 (gst_timed_value_find),
19191 (gst_controlled_property_set_interpolation_mode),
19192 (gst_controlled_property_new), (gst_controlled_property_free),
19193 (gst_controller_find_controlled_property),
19194 (gst_controller_new_valist), (gst_controller_new),
19195 (gst_controller_remove_properties_valist),
19196 (gst_controller_remove_properties), (gst_controller_set),
19197 (gst_controller_set_from_list), (gst_controller_unset),
19198 (gst_controller_get), (gst_controller_get_all),
19199 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19200 (gst_controller_get_value_array),
19201 (gst_controller_set_interpolation_mode),
19202 (_gst_controller_finalize), (_gst_controller_init),
19203 (_gst_controller_class_init), (gst_controller_get_type):
19204 * libs/gst/controller/gst-controller.h:
19205 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19206 (g_object_uncontrol_properties), (g_object_get_controller),
19207 (g_object_set_controller), (g_object_sink_values),
19208 (g_object_get_value_arrays), (g_object_get_value_array):
19209 * libs/gst/controller/gst-interpolation.c:
19210 (gst_controlled_property_find_timed_value_node),
19211 (interpolate_none_get), (interpolate_trigger_get),
19212 (interpolate_trigger_get_value_array):
19213 * libs/gst/controller/lib.c: (gst_controller_init):
19214 * pkgconfig/Makefile.am:
19215 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19216 * pkgconfig/gstreamer-control.pc.in:
19217 * testsuite/Makefile.am:
19218 * testsuite/controller/.cvsignore:
19219 * testsuite/controller/Makefile.am:
19220 * testsuite/controller/interpolator.c: (main):
19221 added controller code
19222 removed dparam pc files
19224 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19225 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19226 (gst_collectpads_stop):
19227 Broadcast the condition when shutting down, to make sure we wake all
19228 threads up. Shut down pads on finalize, for safety.
19230 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19231 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19232 (gst_base_transform_handle_buffer),
19233 (gst_base_transform_change_state):
19234 Handle PAUSED->READY->PAUSED transition after negotiation
19236 * gst/gstmessage.c: (gst_message_init):
19237 Extra piece of debug for new messages.
19239 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19242 * docs/gst/tmpl/gstbasesrc.sgml:
19243 * docs/gst/tmpl/gstelement.sgml:
19244 * docs/gst/tmpl/gstevent.sgml:
19245 * docs/gst/tmpl/gstfakesrc.sgml:
19246 * docs/gst/tmpl/gstformat.sgml:
19247 * docs/gst/tmpl/gstghostpad.sgml:
19248 * docs/gst/tmpl/gstpad.sgml:
19249 * docs/gst/tmpl/gstquery.sgml:
19250 * docs/gst/tmpl/gststructure.sgml:
19251 * docs/gst/tmpl/gsttaglist.sgml:
19252 * docs/gst/tmpl/gstvalue.sgml:
19253 * docs/libs/gstreamer-libs-docs.sgml:
19254 * docs/libs/gstreamer-libs-sections.txt:
19255 * docs/libs/gstreamer-libs.types:
19256 * libs/gst/Makefile.am:
19257 * libs/gst/control/.cvsignore:
19258 * libs/gst/control/Makefile.am:
19259 * libs/gst/control/control.c:
19260 * libs/gst/control/control.h:
19261 * libs/gst/control/dparam.c:
19262 * libs/gst/control/dparam.h:
19263 * libs/gst/control/dparam_smooth.c:
19264 * libs/gst/control/dparam_smooth.h:
19265 * libs/gst/control/dparamcommon.h:
19266 * libs/gst/control/dparammanager.c:
19267 * libs/gst/control/dparammanager.h:
19268 * libs/gst/control/dplinearinterp.c:
19269 * libs/gst/control/dplinearinterp.h:
19270 * libs/gst/control/unitconvert.c:
19271 * libs/gst/control/unitconvert.h:
19272 * testsuite/Makefile.am:
19273 * testsuite/dynparams/.cvsignore:
19274 * testsuite/dynparams/Makefile.am:
19275 * testsuite/dynparams/dparamstest.c:
19276 * tools/Makefile.am:
19277 * tools/gst-inspect.c: (print_element_info), (main):
19278 * tools/gst-xmlinspect.c: (print_element_info), (main):
19279 deactivate and remove dparams (libgstcontrol)
19281 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19283 * gst/elements/gsttypefindelement.c:
19284 (gst_type_find_element_have_type), (gst_type_find_element_init),
19285 (stop_typefinding), (gst_type_find_element_handle_event),
19286 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19287 * gst/elements/gsttypefindelement.h:
19288 Set caps on all outgoing buffers, not just the first one.
19290 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19292 * gst/elements/gsttypefindelement.c:
19293 (gst_type_find_element_have_type),
19294 (gst_type_find_element_check_set_buffer_caps),
19295 (gst_type_find_element_init), (stop_typefinding),
19296 (gst_type_find_element_handle_event),
19297 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19298 * gst/elements/gsttypefindelement.h:
19299 Set caps on first outgoing buffer when we've found the type.
19301 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19303 * docs/gst/gstreamer-docs.sgml:
19304 * docs/gst/gstreamer-sections.txt:
19305 * docs/gst/tmpl/gstscheduler.sgml:
19306 * docs/gst/tmpl/gstschedulerfactory.sgml:
19307 Remove some old cruft from docs.
19309 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19312 Fix inline docs for GstPadLinkReturn.
19314 * gst/gststructure.c: (gst_structure_has_name):
19315 * gst/gststructure.h:
19316 * docs/gst/gstreamer-sections.txt:
19317 New API: gst_structure_has_name().
19319 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19322 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19323 and _LARGEFILE_SOURCE in config.h as required. Do not
19324 export those flags in our .pc files any longer (#142209).
19326 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19328 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19329 (gst_file_sink_do_seek), (gst_file_sink_event),
19330 (gst_file_sink_get_current_offset), (gst_file_sink_render):
19331 Redo seek/tell calls with large file support in mind; add some
19332 debugging messages; add log message that tells us when large
19333 file support is unavailable or not enabled for some reason.
19335 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19336 Add log message that tells us when large file support
19337 is unavailable or not enabled for some reason.
19339 2005-07-29 Wim Taymans <wim@fluendo.com>
19341 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19342 Added test for removing an element with ghostpad from a bin.
19343 Fixed test as current implementation does the right thing.
19345 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19346 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19347 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19348 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19349 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19350 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19351 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19352 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19353 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19354 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19355 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19356 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19357 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19358 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19359 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19360 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19361 * gst/gstghostpad.h:
19362 Clean up ghostpads, remove properties for internal stuff.
19365 Prepare for switching targets, not all use cases work yet.
19367 2005-07-29 Wim Taymans <wim@fluendo.com>
19369 * docs/design/part-gstghostpad.txt:
19372 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19373 (gst_bin_remove_func):
19374 Unlinking pads while holding the bin LOCK is not a good
19377 * gst/gstpad.c: (gst_pad_class_init),
19378 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19379 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19380 No prob setting template after creating the pad.
19382 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
19384 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19385 (gst_bus_peek), (gst_bus_source_dispatch),
19386 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19387 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19388 gst_bus_poll may be called from other threads. Handle
19389 this nicely by not making poll_data disappear off the
19390 stack once gst_bus_poll returns.
19391 gst_bus_peek now increments the refcount on the returned
19394 2005-07-29 Wim Taymans <wim@fluendo.com>
19396 * docs/design/part-gstghostpad.txt:
19397 Overview of current GhostPad datastructures and use
19398 cases for changing the target.
19400 2005-07-28 Wim Taymans <wim@fluendo.com>
19402 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19403 Added checks for hierarchy consistency whan adding linked
19406 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19407 Added check to test element scheduling without bin/pipeline.
19409 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19410 First add elements to bin, then link.
19412 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19413 (gst_bin_remove_func):
19414 Unlink pads from elements added/removed from bin to maintain
19415 hierarchy consistency.
19417 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19419 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19420 (gst_base_transform_handle_buffer):
19421 * gst/base/gstbasetransform.h:
19422 Remove broken delay_configure (fixes renegotiation of software
19423 scaling pipelines); remove some leftover printf()s.
19425 2005-07-28 Wim Taymans <wim@fluendo.com>
19427 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19428 Added some more tests for wrong hierarchy
19430 * docs/design/part-overview.txt:
19433 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
19436 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
19437 (gst_element_dispose):
19438 Some more cleanups.
19440 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
19441 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
19442 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19443 (gst_pad_set_caps), (gst_pad_send_event):
19444 Check for correct hierarchy when linking pads. Moving to
19445 strict requirement for ghostpads when linking elements in
19449 Clean ups. Added WRONG_HIERARCHY return value.
19451 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19453 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19454 Better debug if no transform is possible.
19456 2005-07-27 Wim Taymans <wim@fluendo.com>
19458 * docs/random/wtay/network-transp:
19459 Some old doc I had.
19461 2005-07-27 Wim Taymans <wim@fluendo.com>
19463 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19464 (gst_dp_event_from_packet):
19465 Fix serialization of seek events.
19467 2005-07-27 Wim Taymans <wim@fluendo.com>
19469 * check/gst-libs/gdp.c: (GST_START_TEST):
19470 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19471 Fix compilation and fix event serialization.
19473 2005-07-27 Wim Taymans <wim@fluendo.com>
19476 * docs/design/part-TODO.txt:
19477 * docs/design/part-events.txt:
19480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19481 (gst_base_sink_event), (gst_base_sink_do_sync),
19482 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19483 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19484 (gst_base_src_do_seek), (gst_base_src_event_handler),
19485 (gst_base_src_loop):
19486 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19487 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19488 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19489 (gst_base_transform_event), (gst_base_transform_handle_buffer),
19490 (gst_base_transform_set_passthrough),
19491 (gst_base_transform_is_passthrough):
19492 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19493 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19499 * gst/gstelement.c: (gst_element_seek):
19500 * gst/gstelement.h:
19501 Update gst_element_seek.
19503 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
19504 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
19505 (gst_event_new_flush_start), (gst_event_new_flush_stop),
19506 (gst_event_new_eos), (gst_event_new_newsegment),
19507 (gst_event_parse_newsegment), (gst_event_new_tag),
19508 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
19509 (gst_event_parse_qos), (gst_event_new_seek),
19510 (gst_event_parse_seek), (gst_event_new_navigation):
19512 Make GstEvent use GstStructure. Add parsing code, make sure the
19513 API is sufficiently generic.
19514 Mark possible directions of events and serialization.
19516 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
19517 (_gst_message_copy), (gst_message_new_segment_start),
19518 (gst_message_new_segment_done), (gst_message_new_custom),
19519 (gst_message_parse_segment_start),
19520 (gst_message_parse_segment_done):
19523 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19524 (gst_pad_set_caps), (gst_pad_send_event):
19525 Update for new events.
19526 Catch events sent in wrong directions.
19528 * gst/gstqueue.c: (gst_queue_link_src),
19529 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
19530 (gst_queue_handle_src_query):
19535 Remove event code from this file.
19537 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19538 (gst_dp_event_from_packet):
19541 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19543 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
19544 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19545 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
19546 Make debugging actually useful.
19548 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19550 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
19551 (gst_pad_fixate_caps):
19552 Implement default fixation once again, so that gst_pad_fixate()
19553 actually does anything at all. This probably needs to be some
19554 sort of a last resort, and use profile-based fixation first, but
19555 since that doesn't exist yet, this is the best we have. Fixes
19556 visualization in Totem.
19558 2005-07-22 Wim Taymans <wim@fluendo.com>
19560 * docs/design/part-events.txt:
19563 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19564 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
19565 (gst_base_sink_activate_pull):
19566 Some more comments.
19568 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
19569 (gst_fake_src_create):
19570 Fix handoff marshall.
19572 * gst/elements/gstidentity.c: (gst_identity_class_init),
19573 (gst_identity_transform_ip):
19574 We're a real inplace element.
19576 * gst/gstbus.c: (gst_bus_post):
19577 Added some comments.
19579 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
19580 * tests/muxing/case1.c: (main):
19581 * tests/sched/dynamic-pipeline.c: (main):
19582 * tests/sched/interrupt1.c: (main):
19583 * tests/sched/interrupt2.c: (main):
19584 * tests/sched/interrupt3.c: (main):
19585 * tests/sched/runxml.c: (main):
19586 * tests/sched/sched-stress.c: (main):
19587 * tests/seeking/seeking1.c: (event_received), (main):
19588 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19590 * tests/threadstate/threadstate3.c: (main):
19591 * tests/threadstate/threadstate4.c: (main):
19592 * tests/threadstate/threadstate5.c: (main):
19595 2005-07-21 Wim Taymans <wim@fluendo.com>
19597 * docs/design/part-seeking.txt:
19598 Some small additions.
19600 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19601 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19602 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19603 * gst/base/gstbasesink.h:
19604 discont values are gint64, handle the math correctly.
19606 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19607 Make the basesrc report error if the source pad is not linked.
19609 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19610 (gst_queue_loop), (gst_queue_handle_src_query),
19611 (gst_queue_src_activate_push):
19612 Make queue collect data even if the srcpad is not linked.
19613 Start pushing out data as soon as it is linked.
19615 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
19617 Added gst_flow_get_name() to ease error reporting.
19619 2005-07-20 Wim Taymans <wim@fluendo.com>
19621 * gst/gstmessage.c: (gst_message_new_segment_start),
19622 (gst_message_new_segment_done), (gst_message_parse_segment_start),
19623 (gst_message_parse_segment_done):
19624 * gst/gstmessage.h:
19625 Added a bunch of messages for advanced seeking.
19627 * gst/parse/grammar.y:
19628 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
19629 (gst_dpman_state_changed):
19630 Fix some new-pad -> pad-added signals
19632 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19634 * docs/manual/appendix-porting.xml:
19635 * docs/pwg/appendix-porting.xml:
19636 Document new-pad/state-change signal renames and the FixedList
19639 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19641 * docs/manual/advanced-autoplugging.xml:
19642 * docs/manual/basics-helloworld.xml:
19643 * docs/manual/basics-pads.xml:
19644 * docs/random/ds/0.9-suggested-changes:
19645 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
19646 * gst/gstelement.h:
19650 * gst/gststructure.c: (gst_structure_value_get_generic_type),
19651 (gst_structure_parse_array), (gst_structure_parse_value):
19652 * gst/gstvalue.c: (gst_type_is_fixed),
19653 (gst_value_list_prepend_value), (gst_value_list_append_value),
19654 (gst_value_list_get_size), (gst_value_list_get_value),
19655 (gst_value_transform_array_string), (gst_value_serialize_array),
19656 (gst_value_deserialize_array), (gst_value_intersect_array),
19657 (gst_value_is_fixed), (_gst_value_initialize):
19659 GstElement::new-pad -> pad-added, GstElement::state-change ->
19660 state-changed, GstValueFixedList -> GstValueArray, add format and
19661 flags as their own arguments in gst_element_seek() (should improve
19662 "bindeability"), remove function generators since they don't work
19663 under a whole bunch of compilers (they were deprecated already
19666 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19668 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19669 (_gst_debug_register_funcptr):
19671 Fix illegal cast on some platforms (#309253).
19673 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19675 * gst/gstmessage.c: (gst_message_new_custom):
19676 * gst/gstmessage.h:
19677 Add _new_custom, make _new_application a macro to _new_custom.
19679 2005-07-20 Wim Taymans <wim@fluendo.com>
19681 * gst/base/gstbasesrc.c: (gst_base_src_init),
19682 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19683 * gst/base/gstbasesrc.h:
19684 Add a gboolean to decide when to push out a discont.
19686 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19687 (gst_queue_loop), (gst_queue_handle_src_query),
19688 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
19689 (gst_queue_set_property), (gst_queue_get_property):
19692 * tests/threadstate/threadstate1.c: (main):
19693 Make a thread test compile and run... very silly..
19696 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19698 * docs/manual/appendix-porting.xml:
19699 Mention removal of libgstgconf-0.9.la and existence of gconf
19702 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19704 * docs/pwg/advanced-clock.xml:
19705 * docs/pwg/appendix-porting.xml:
19706 * docs/pwg/intro-preface.xml:
19707 * docs/pwg/other-base.xml:
19708 * docs/pwg/other-manager.xml:
19709 * docs/pwg/other-nton.xml:
19710 * docs/pwg/other-ntoone.xml:
19711 * docs/pwg/other-oneton.xml:
19712 * docs/pwg/pwg.xml:
19713 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
19714 demuxer), remove n-to-n (was never written), fix some code examples
19715 and links and update the porting section to include all this.
19717 2005-07-19 Wim Taymans <wim@fluendo.com>
19719 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
19720 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
19721 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
19722 (gst_queue_src_activate_push), (gst_queue_change_state),
19723 (gst_queue_get_property):
19725 Propagate GstFlowReturn more intelligently upstream and output
19726 an ERROR/EOS when streaming stopped due to fatal error.
19728 2005-07-19 Wim Taymans <wim@fluendo.com>
19730 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19731 Don't block forever for the state change to complete, the
19732 pipeline already did with a sensible timeout.
19734 2005-07-19 Wim Taymans <wim@fluendo.com>
19736 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19737 Make sure we never call the create function is we
19740 2005-07-19 Andy Wingo <wingo@pobox.com>
19742 * gst/parse/parse.l: Attempt to solve bug #172815.
19744 2005-07-19 Wim Taymans <wim@fluendo.com>
19746 * docs/design/part-clocks.txt:
19747 * docs/design/part-events.txt:
19748 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19749 Small docs updates.
19750 Only update the seeking values when we are not
19753 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19755 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19756 Oops, ignore the result of gst_pad_push_event here.
19758 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19760 * gst/base/gstbasesrc.c: (gst_base_src_loop),
19761 (gst_base_src_activate_push):
19762 Send discont event from the loop function, as pads
19763 aren't activated yet in the activate_push handler.
19765 * gst/gstbin.c: (bin_bus_handler):
19766 Don't leak element name.
19768 2005-07-18 Andy Wingo <wingo@pobox.com>
19770 * configure.ac: Use AS_LIBTOOL_TAGS.
19772 2005-07-18 Wim Taymans <wim@fluendo.com>
19774 * docs/gst/gstreamer.types:
19775 Remove deleted types.
19777 2005-07-18 Wim Taymans <wim@fluendo.com>
19779 * check/elements/gstfakesrc.c: (GST_START_TEST):
19782 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19783 (init_popt_callback):
19785 * gst/gst_private.h:
19786 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19787 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19790 * gst/gstconfig.h.in:
19791 * gst/gstelement.c: (gst_element_class_init),
19792 (gst_element_set_base_time), (gst_element_get_base_time),
19793 (iterator_fold_with_resync), (gst_element_change_state),
19794 (gst_element_dispose), (gst_element_get_bus):
19795 * gst/gstelement.h:
19796 * gst/gstelementfactory.h:
19797 * gst/gsterror.c: (_gst_core_errors_init):
19800 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19802 * gst/gstinfo.c: (_gst_debug_init):
19803 * gst/gstmessage.c: (_gst_message_copy):
19804 * gst/gstmessage.h:
19805 * gst/gstminiobject.h:
19808 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19809 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19812 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19813 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19814 (gst_pipeline_get_last_stream_time):
19815 * gst/gstpipeline.h:
19816 * gst/gstpluginfeature.h:
19818 * gst/gstscheduler.c:
19819 * gst/gstscheduler.h:
19820 * gst/gststructure.h:
19821 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19822 (gst_task_finalize), (gst_task_func), (gst_task_create),
19823 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19824 (gst_task_stop), (gst_task_pause):
19826 * gst/gsttypefind.h:
19828 * gst/registries/gstlibxmlregistry.c: (load_feature),
19829 (gst_xml_registry_load), (gst_xml_registry_save_feature):
19830 * gst/registries/gstxmlregistry.c:
19831 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19832 * gst/schedulers/threadscheduler.c:
19833 * libs/gst/control/dparammanager.h:
19834 * tools/gst-inspect.c: (print_element_list),
19835 (print_plugin_features), (print_element_features):
19836 * tools/gst-xmlinspect.c: (print_element_list),
19837 (print_plugin_info), (main):
19838 Removed plugable schedulers.
19839 Removed Scheduler/Manager from elements.
19840 Removed gsttypes.h, rearranged includes.
19841 Removed dependency pad<->element, element<>pipeline, and
19842 various others, fix includes.
19843 implement gst_pad_get_parent() with gst_object_get_parent()
19844 Make GstTask sefcontained.
19845 Fix _get_state() on GstBin, it did not return ASYNC with a 0
19847 Fix endless loop in iterator_fold_with_resync.
19850 2005-07-18 Wim Taymans <wim@fluendo.com>
19856 2005-07-18 Wim Taymans <wim@fluendo.com>
19859 No more cothreads.h
19861 2005-07-18 Wim Taymans <wim@fluendo.com>
19865 Let's remove these.
19867 2005-07-18 Wim Taymans <wim@fluendo.com>
19869 * docs/design/part-dynamic.txt:
19870 * docs/design/part-events.txt:
19871 * docs/design/part-seeking.txt:
19872 Some more docs in the works.
19874 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19875 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19876 (gst_base_transform_setcaps), (gst_base_transform_get_size),
19877 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19878 (gst_base_transform_handle_buffer),
19879 (gst_base_transform_sink_activate_push),
19880 (gst_base_transform_src_activate_pull),
19881 (gst_base_transform_set_passthrough),
19882 (gst_base_transform_is_passthrough):
19885 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19888 * gst/gstevent.c: (gst_event_finalize):
19891 * gst/gstutils.c: (gst_element_unlink),
19892 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19893 (gst_pad_proxy_setcaps):
19895 Add _get_parent_element() to get a pads parent as an element.
19897 2005-07-18 Wim Taymans <wim@fluendo.com>
19899 * check/gst/gstbin.c: (GST_START_TEST):
19902 2005-07-18 Wim Taymans <wim@fluendo.com>
19904 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19905 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19906 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19907 (gst_base_sink_event), (gst_base_sink_do_sync),
19908 (gst_base_sink_chain), (gst_base_sink_loop),
19909 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19910 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19912 Fix logic for returning ASYNC when not prerolled.
19914 2005-07-18 Wim Taymans <wim@fluendo.com>
19916 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19917 Fix nasty refcount bug.
19919 2005-07-16 Philippe Khalaf <burger@speedy.org>
19921 * gst/elements/gstfdsrc.c:
19922 * gst/elements/gstfdsrc.h:
19923 * gst/elements/gstelements.c:
19924 * gst/elements/Makefile.am:
19925 Ported fdsrc to 0.9.
19927 2005-07-16 Wim Taymans <wim@fluendo.com>
19929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19930 (gst_base_sink_do_sync):
19933 2005-07-16 Wim Taymans <wim@fluendo.com>
19935 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19936 (gst_base_sink_event), (gst_base_sink_get_times),
19937 (gst_base_sink_do_sync), (gst_base_sink_change_state):
19938 * gst/base/gstbasesink.h:
19939 Store and use discont values when syncing buffers as described
19942 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19943 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19944 (gst_base_src_activate_push):
19945 Push discont event when starting.
19947 * gst/elements/gstidentity.c: (gst_identity_transform):
19950 * gst/gstbin.c: (gst_bin_change_state):
19951 Small cleanups in base_time distribution.
19953 * gst/gstelement.c: (gst_element_set_base_time),
19954 (gst_element_get_base_time), (gst_element_change_state):
19955 * gst/gstelement.h:
19956 Added methods for the base_time of the element.
19959 * gst/gstpipeline.c: (gst_pipeline_send_event),
19960 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19961 (gst_pipeline_get_last_stream_time):
19962 * gst/gstpipeline.h:
19964 Handle seeking as described in design doc, remove stream_time
19966 Cleanups clock and stream_time selection code. Added accessors
19967 for the stream_time.
19970 2005-07-16 Andy Wingo <wingo@pobox.com>
19972 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19975 2005-07-16 Wim Taymans <wim@fluendo.com>
19977 * check/gst/gstbin.c: (GST_START_TEST):
19978 Make elements silent as the deep_notify refs the
19979 parent, which might make the test fail.
19981 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19982 Don't hold the lock for too long.
19984 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
19986 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19987 Don't unref the caps we passed to gst_caps_make_writable() after
19988 passing them. gst_caps_make_writable() will do that for us.
19990 2005-07-15 Andy Wingo <wingo@pobox.com>
19992 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19995 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19996 own marshalling function for the handoff signal. Properly type the
19997 buffer as a buffer. Fixes some warnings. Should do a more general
19999 (gst_identity_class_init): Plug into the right marshaller.
20001 2005-07-15 Wim Taymans <wim@fluendo.com>
20003 * docs/design/part-TODO.txt:
20004 * docs/design/part-clocks.txt:
20005 * docs/design/part-element-sink.txt:
20006 * docs/design/part-events.txt:
20007 * docs/design/part-gstpipeline.txt:
20008 Updated docs, mostly DISCONT related.
20010 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20012 * docs/pwg/building-pads.xml:
20013 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20015 2005-07-15 Andy Wingo <wingo@pobox.com>
20017 * tools/gst-typefind.c: Update, add copyright block.
20019 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20020 Normalize and truncate caps before fixation.
20023 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20024 discards all but the first structure from its argument.
20026 2005-07-15 Wim Taymans <wim@fluendo.com>
20028 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20029 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20030 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20031 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20032 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20033 (gst_base_transform_chain), (gst_base_transform_change_state),
20034 (gst_base_transform_set_passthrough),
20035 (gst_base_transform_is_passthrough):
20036 * gst/base/gstbasetransform.h:
20037 Make passthrough work using the bufferpools.
20038 Changed API a bit, subclasses have to write into a buffer
20039 provided by the base class.
20040 More debug info in nego functions.
20042 * gst/elements/gstidentity.c: (gst_identity_init),
20043 (gst_identity_transform):
20044 Port to new base class.
20046 2005-07-15 Wim Taymans <wim@fluendo.com>
20048 * gst/gstmessage.c: (gst_message_new_state_changed):
20049 * tools/gst-launch.c: (event_loop), (main):
20050 Totally dump messages in -launch with the -m option.
20051 Fix message name for State messages,
20053 2005-07-14 Wim Taymans <wim@fluendo.com>
20055 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20056 Post error messages on errors.
20058 2005-07-14 Wim Taymans <wim@fluendo.com>
20060 * gst/gstcaps.c: (gst_caps_do_simplify):
20064 Define error for stream stopped.
20066 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20067 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20068 Do proper return values.
20070 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20071 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20072 (gst_pad_get_range):
20073 Better return values.
20076 Reorganise return values, add macro to check for fatal errors.
20078 * gst/gstqueue.c: (gst_queue_chain):
20079 Return proper GstFlowReturn values,
20081 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20083 * docs/gst/gstreamer-sections.txt:
20084 * docs/gst/gstreamer.types:
20085 * docs/gst/tmpl/gst.sgml:
20086 * docs/gst/tmpl/gstbasesink.sgml:
20087 * docs/gst/tmpl/gstbasesrc.sgml:
20088 * docs/gst/tmpl/gstbasetransform.sgml:
20089 * docs/gst/tmpl/gstbin.sgml:
20090 * docs/gst/tmpl/gstbuffer.sgml:
20091 * docs/gst/tmpl/gstcaps.sgml:
20092 * docs/gst/tmpl/gstclock.sgml:
20093 * docs/gst/tmpl/gstcompat.sgml:
20094 * docs/gst/tmpl/gstconfig.sgml:
20095 * docs/gst/tmpl/gstelement.sgml:
20096 * docs/gst/tmpl/gstelementdetails.sgml:
20097 * docs/gst/tmpl/gstelementfactory.sgml:
20098 * docs/gst/tmpl/gstenumtypes.sgml:
20099 * docs/gst/tmpl/gsterror.sgml:
20100 * docs/gst/tmpl/gstevent.sgml:
20101 * docs/gst/tmpl/gstfakesink.sgml:
20102 * docs/gst/tmpl/gstfakesrc.sgml:
20103 * docs/gst/tmpl/gstfilesink.sgml:
20104 * docs/gst/tmpl/gstfilesrc.sgml:
20105 * docs/gst/tmpl/gstfilter.sgml:
20106 * docs/gst/tmpl/gstformat.sgml:
20107 * docs/gst/tmpl/gstghostpad.sgml:
20108 * docs/gst/tmpl/gstimplementsinterface.sgml:
20109 * docs/gst/tmpl/gstindex.sgml:
20110 * docs/gst/tmpl/gstindexfactory.sgml:
20111 * docs/gst/tmpl/gstinfo.sgml:
20112 * docs/gst/tmpl/gstiterator.sgml:
20113 * docs/gst/tmpl/gstmacros.sgml:
20114 * docs/gst/tmpl/gstmemchunk.sgml:
20115 * docs/gst/tmpl/gstminiobject.sgml:
20116 * docs/gst/tmpl/gstobject.sgml:
20117 * docs/gst/tmpl/gstpad.sgml:
20118 * docs/gst/tmpl/gstpadtemplate.sgml:
20119 * docs/gst/tmpl/gstparse.sgml:
20120 * docs/gst/tmpl/gstpipeline.sgml:
20121 * docs/gst/tmpl/gstplugin.sgml:
20122 * docs/gst/tmpl/gstpluginfeature.sgml:
20123 * docs/gst/tmpl/gstquery.sgml:
20124 * docs/gst/tmpl/gstqueue.sgml:
20125 * docs/gst/tmpl/gstregistry.sgml:
20126 * docs/gst/tmpl/gstregistrypool.sgml:
20127 * docs/gst/tmpl/gstscheduler.sgml:
20128 * docs/gst/tmpl/gstschedulerfactory.sgml:
20129 * docs/gst/tmpl/gststructure.sgml:
20130 * docs/gst/tmpl/gstsystemclock.sgml:
20131 * docs/gst/tmpl/gsttaglist.sgml:
20132 * docs/gst/tmpl/gsttagsetter.sgml:
20133 * docs/gst/tmpl/gsttrace.sgml:
20134 * docs/gst/tmpl/gsttrashstack.sgml:
20135 * docs/gst/tmpl/gsttypefind.sgml:
20136 * docs/gst/tmpl/gsttypefindfactory.sgml:
20137 * docs/gst/tmpl/gsttypes.sgml:
20138 * docs/gst/tmpl/gsturihandler.sgml:
20139 * docs/gst/tmpl/gsturitype.sgml:
20140 * docs/gst/tmpl/gstutils.sgml:
20141 * docs/gst/tmpl/gstvalue.sgml:
20142 * docs/gst/tmpl/gstversion.sgml:
20143 * docs/gst/tmpl/gstxml.sgml:
20144 * docs/libs/tmpl/gstcontrol.sgml:
20145 * docs/libs/tmpl/gstdataprotocol.sgml:
20146 * docs/libs/tmpl/gstdparam.sgml:
20147 * docs/libs/tmpl/gstdplinint.sgml:
20148 * docs/libs/tmpl/gstdpman.sgml:
20149 * docs/libs/tmpl/gstdpsmooth.sgml:
20150 * docs/libs/tmpl/gstgetbits.sgml:
20151 * docs/libs/tmpl/gstunitconvert.sgml:
20152 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20153 (gst_push_src_base_init), (gst_push_src_class_init),
20154 (gst_push_src_init), (gst_push_src_create):
20155 * gst/base/gstpushsrc.h:
20156 * gst/elements/gstelements.c:
20157 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20158 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20159 (gst_fake_sink_init), (gst_fake_sink_set_property),
20160 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20161 (gst_fake_sink_event), (gst_fake_sink_preroll),
20162 (gst_fake_sink_render), (gst_fake_sink_change_state):
20163 * gst/elements/gstfakesink.h:
20164 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20165 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20166 (gst_fake_src_base_init), (gst_fake_src_class_init),
20167 (gst_fake_src_init), (gst_fake_src_event_handler),
20168 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20169 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20170 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20171 (gst_fake_src_create_buffer), (gst_fake_src_create),
20172 (gst_fake_src_start), (gst_fake_src_stop):
20173 * gst/elements/gstfakesrc.h:
20174 * gst/elements/gstfilesink.c: (_do_init),
20175 (gst_file_sink_base_init), (gst_file_sink_class_init),
20176 (gst_file_sink_init), (gst_file_sink_dispose),
20177 (gst_file_sink_set_location), (gst_file_sink_set_property),
20178 (gst_file_sink_get_property), (gst_file_sink_open_file),
20179 (gst_file_sink_close_file), (gst_file_sink_query),
20180 (gst_file_sink_event), (gst_file_sink_render),
20181 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20182 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20183 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20184 * gst/elements/gstfilesink.h:
20185 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20186 (gst_file_src_class_init), (gst_file_src_init),
20187 (gst_file_src_finalize), (gst_file_src_set_location),
20188 (gst_file_src_set_property), (gst_file_src_get_property),
20189 (gst_file_src_map_region), (gst_file_src_map_small_region),
20190 (gst_file_src_create_mmap), (gst_file_src_create_read),
20191 (gst_file_src_create), (gst_file_src_is_seekable),
20192 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20193 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20194 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20195 (gst_file_src_uri_handler_init):
20196 * gst/elements/gstfilesrc.h:
20197 more autistic cleanliness in functions/names/defines
20199 2005-07-13 Andy Wingo <wingo@pobox.com>
20201 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20202 source couldn't negotiate.
20204 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20208 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20209 function. I am channeling Hades. Put your boots on suckers!!!
20211 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20213 * testsuite/caps/Makefile.am:
20214 * testsuite/caps/value_compare.c:
20215 * testsuite/caps/value_intersect.c:
20216 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20217 move two testsuite apps over to the check dir
20219 2005-07-12 Wim Taymans <wim@fluendo.com>
20221 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20222 Added more debug info in the negotiate process.
20224 * gst/gstmessage.h:
20225 Prepare for segment playback.
20227 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20233 * tools/gst-launch.c: (main):
20234 NULL pipeline on errors.
20236 2005-07-12 Andy Wingo <wingo@pobox.com>
20238 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20239 not it comes from a malloc region. Make sure our copy gets freed.
20241 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20243 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20244 * check/gst/gstmessage.c: (GST_START_TEST):
20245 * check/gst/gststructure.c: (GST_START_TEST),
20246 (gst_structure_suite), (main):
20248 * gst/gstelement.c: (gst_element_message_full):
20249 clean up GError and debug string now that they get copied
20250 * gst/gstmessage.c: (gst_message_new_error),
20251 (gst_message_new_warning), (gst_message_parse_error),
20252 (gst_message_parse_warning):
20253 use GST_TYPE_G_ERROR for structure_new, and take copies of
20254 arguments, so that we don't mess up refcounting
20256 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20258 * check/Makefile.am:
20259 add per-test valgrind targets
20260 * check/gst-libs/gdp.c: (GST_START_TEST),
20261 (gst_data_protocol_suite), (main):
20264 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20266 * check/Makefile.am:
20267 instate more valgrindable tests
20268 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20269 (GST_START_TEST), (fakesrc_suite):
20270 * check/gst/gstpad.c: (GST_START_TEST):
20271 * check/gst/gststructure.c: (GST_START_TEST):
20273 * docs/gst/tmpl/gstminiobject.sgml:
20274 * gst/gstpad.c: (gst_pad_finalize):
20275 fix the static mutex leak
20277 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20279 * check/Makefile.am:
20280 add two more tests for valgrinding
20281 * check/gst/gstvalue.c: (GST_START_TEST):
20282 test refcount of deserialized buffer, found a leak
20283 * docs/gst/gstreamer-docs.sgml:
20284 * docs/gst/gstreamer-sections.txt:
20285 * docs/gst/gstreamer.types:
20286 * docs/gst/tmpl/gstminiobject.sgml:
20287 add miniobject to docs
20288 * gst/gstminiobject.c:
20290 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20291 (gst_string_unwrap):
20292 fix a hard-to-find invalid write for one of the tests
20293 fix a leak for deserialized buffers
20295 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20297 * docs/pwg/advanced-events.xml:
20298 * docs/pwg/advanced-request.xml:
20299 * docs/pwg/advanced-scheduling.xml:
20300 * docs/pwg/appendix-porting.xml:
20301 * docs/pwg/building-boiler.xml:
20302 * docs/pwg/intro-preface.xml:
20303 * docs/pwg/other-ntoone.xml:
20304 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20305 of example code and explanation for pad activation, loop() and
20306 getrange() functions and a bit more. Remove old comments pointing
20308 * examples/pwg/Makefile.am:
20309 Add loop/getrange examples.
20311 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20314 check for valgrind binary + some fixes
20316 valgrind suppressions for the tests
20317 * check/Makefile.am:
20318 add a valgrind: target that valgrinds the unit tests
20319 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20320 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20321 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20322 * check/gst/gstghostpad.c:
20324 * check/gst/gstdata.c:
20326 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20327 (thread_unref), (gst_mini_object_suite), (main):
20329 * gst/gst.c: (gst_deinit):
20331 add a method to clean up.
20332 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20333 (gst_system_clock_obtain):
20334 allow for disposing the system clock.
20335 * tools/gst-launch.c: (main):
20338 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20340 * docs/gst/tmpl/gstbasesrc.sgml:
20341 * docs/gst/tmpl/gstfakesrc.sgml:
20342 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20343 (gst_base_src_init), (gst_base_src_set_property),
20344 (gst_base_src_get_property), (gst_base_src_get_range),
20345 (gst_base_src_start):
20346 * gst/base/gstbasesrc.h:
20347 add num-buffers property
20348 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20349 (gst_fakesrc_init), (gst_fakesrc_set_property),
20350 (gst_fakesrc_get_property), (gst_fakesrc_create),
20351 (gst_fakesrc_start):
20352 remove num-buffers property
20354 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20356 * docs/gst/gstreamer-sections.txt:
20357 * docs/gst/tmpl/gstbasesink.sgml:
20358 * docs/gst/tmpl/gstbasesrc.sgml:
20359 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20360 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20361 (gst_base_sink_finalize), (gst_base_sink_set_clock),
20362 (gst_base_sink_set_property), (gst_base_sink_get_property),
20363 (gst_base_sink_handle_object), (gst_base_sink_event),
20364 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20365 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20366 (gst_base_sink_loop), (gst_base_sink_deactivate),
20367 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20368 (gst_base_sink_change_state):
20369 * gst/base/gstbasesink.h:
20370 * gst/base/gstbasesrc.h:
20371 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20372 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20373 (gst_filesink_init):
20374 more macro splitting
20376 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20378 * gst/gstelement.c: (gst_element_get_bus):
20380 * tools/gst-launch.c: (check_intr), (event_loop):
20383 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20385 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20388 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20390 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20391 (gst_base_src_finalize):
20392 add finalize method and clean up properly
20393 * gst/gstpipeline.c: (gst_pipeline_dispose):
20396 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20398 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20400 add more things to check
20401 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20402 * gst/gstelement.c:
20405 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20407 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20408 (GST_START_TEST), (fakesrc_suite):
20409 * check/gst-libs/gdp.c: (GST_START_TEST):
20410 * check/gst/gst.c: (GST_START_TEST):
20411 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20412 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20413 * check/gst/gstbus.c: (GST_START_TEST):
20414 * check/gst/gstcaps.c: (GST_START_TEST):
20415 * check/gst/gstdata.c: (GST_START_TEST):
20416 * check/gst/gstelement.c: (GST_START_TEST):
20417 * check/gst/gstghostpad.c: (GST_START_TEST):
20418 * check/gst/gstiterator.c: (GST_START_TEST):
20419 * check/gst/gstmessage.c: (GST_START_TEST):
20420 * check/gst/gstobject.c: (GST_START_TEST):
20421 * check/gst/gstpad.c: (GST_START_TEST):
20422 * check/gst/gststructure.c: (GST_START_TEST):
20423 * check/gst/gstsystemclock.c: (GST_START_TEST),
20424 (gst_systemclock_suite):
20425 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20426 * check/gst/gstvalue.c: (GST_START_TEST):
20427 * check/pipelines/cleanup.c: (GST_START_TEST):
20428 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20429 * check/states/sinks.c: (GST_START_TEST):
20430 * check/gstcheck.c: (gst_check_init):
20431 * check/gstcheck.h:
20432 add debugging category
20433 use GST_START_TEST now, so we add a debug line
20435 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20437 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
20438 add test for state change message on a bin
20439 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
20441 * gst/gstbin.c: (gst_bin_init):
20442 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
20443 * gst/gstelement.c: (gst_element_post_message),
20444 (gst_element_set_state):
20445 * gst/gstelementfactory.c: (gst_element_factory_create):
20446 * gst/gstmessage.c: (gst_message_new):
20447 * gst/gstscheduler.c:
20448 various debugging additions and cleanups
20450 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20452 * check/Makefile.am:
20453 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
20455 adding tests for elements
20456 * gst/gstelement.c: (gst_element_dispose):
20458 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20460 * gst/registries/gstlibxmlregistry.c: (load_feature):
20461 plug more leaks. A simple gst_init() now is leakfree, yay.
20463 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20465 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
20466 (gst_xml_registry_load):
20467 plug another memleak
20469 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20472 use GST_SET_ERROR_CFLAGS
20473 * docs/faq/cvs.xml:
20474 change to ERROR_CFLAGS
20476 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20479 make GST_ERROR_CFLAGS overridable and re-enable Werror
20480 * docs/faq/cvs.xml:
20481 add a note about error CFLAGS
20482 * docs/gst/tmpl/gstfakesrc.sgml:
20483 * gst/elements/gstfakesrc.c:
20484 comment out some unused code
20485 * gst/gst.c: (split_and_iterate):
20486 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
20490 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
20492 * common/Makefile.am:
20493 * common/gtk-doc.mak:
20494 * docs/gst/Makefile.am:
20495 factor out gtk-doc.mak
20497 2005-07-07 Wim Taymans <wim@fluendo.com>
20499 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
20500 (gst_thread_scheduler_dispose):
20501 Unlock the STREAM_LOCK completely.
20503 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
20505 * check/Makefile.am:
20506 * check/elements/.cvsignore:
20507 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20508 (START_TEST), (fakesrc_suite), (main):
20509 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20510 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
20511 (gst_fakesrc_create), (gst_fakesrc_start):
20512 * gst/elements/gstfakesrc.h:
20513 adding a first element test
20515 2005-07-07 Andy Wingo <wingo@pobox.com>
20517 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
20520 2005-07-07 Wim Taymans <wim@fluendo.com>
20526 2005-07-07 Wim Taymans <wim@fluendo.com>
20528 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20529 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
20530 Allow subclasses to implement their own negotiation.
20532 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20534 * docs/design/part-gstbin.txt:
20535 * docs/design/part-gstpipeline.txt:
20536 Update design notes to reflect the movement of
20537 responsibility for bus handling from GstPipeline to
20540 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20543 Remove unnecessary queue2/3/4 examples.
20545 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20547 * examples/Makefile.am:
20548 * examples/helloworld/helloworld.c: (event_loop), (main):
20549 * examples/queue/queue.c: (event_loop), (main):
20550 * examples/queue2/queue2.c: (main):
20551 Update a couple of the examples to work again.
20553 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20554 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
20555 Spelling corrections and extra debug.
20557 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
20558 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
20559 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
20561 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20562 (gst_pipeline_change_state):
20563 * gst/gstpipeline.h:
20564 Move the bus handler for children to the GstBin, and create a
20565 separate bus for receiving messages from children to the one the
20566 bus sends 'upwards' on.
20568 2005-07-06 Wim Taymans <wim@fluendo.com>
20571 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20572 (gst_base_sink_handle_object), (gst_base_sink_loop),
20573 (gst_base_sink_change_state):
20574 * gst/base/gstbasesink.h:
20575 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20576 (gst_base_src_init), (gst_base_src_setcaps),
20577 (gst_base_src_getcaps), (gst_base_src_loop),
20578 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
20579 (gst_base_src_start), (gst_base_src_change_state):
20580 * gst/base/gstbasesrc.h:
20581 Make basesrc negotiate.
20582 Handle the case where preroll fails in basesink.
20585 2005-07-06 Wim Taymans <wim@fluendo.com>
20587 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
20588 Implement the fixate function.
20589 Clean up acceptcaps.
20591 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20593 * docs/pwg/building-filterfactory.xml:
20594 * docs/pwg/pwg.xml:
20595 Remove never-written filter-factory chapter; I'll add the various
20596 base classes to part 4 ("other element types") later on.
20598 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20600 * docs/pwg/advanced-negotiation.xml:
20601 * docs/pwg/building-boiler.xml:
20602 * docs/pwg/building-pads.xml:
20603 * docs/pwg/pwg.xml:
20604 * examples/pwg/Makefile.am:
20605 Add a chapter on caps negotiation, simplify the original code
20606 samples a bit w.r.t. caps negotiation, add link to the advanced
20607 section. Add a bunch of examples showing different use cases of
20608 different types of caps negotiation. Upstream renegotiation isn't
20609 fully documented yet since nobody knows how that works.
20611 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
20613 * check/gst/gstpad.c:
20614 * check/gstcheck.c:
20615 * gst/gstpad.c: (gst_pad_get_internal_links_default):
20616 if pad has no parent, return NULL as list of internal links
20618 2005-07-05 Andy Wingo <wingo@pobox.com>
20620 * gst/elements/gstfilesrc.c:
20621 * gst/elements/gstfakesrc.c:
20622 * gst/base/gstpushsrc.c:
20623 * gst/base/gstbasesrc.h:
20624 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
20626 2005-07-05 Stefan Kost <ensonic@users.sf.net>
20629 better report generation target (lcov needs a patch)
20631 2005-07-05 Andy Wingo <wingo@pobox.com>
20633 * gst/elements, testsuite: Null if we got it...
20635 2005-07-05 Wim Taymans <wim@fluendo.com>
20638 * libs/gst/dataprotocol/Makefile.am:
20639 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
20640 * libs/gst/dataprotocol/dataprotocol.h:
20641 * pkgconfig/Makefile.am:
20642 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
20643 * pkgconfig/gstreamer-dataprotocol.pc.in:
20644 Ported dataprotol to 0.9.
20645 Added pkgconfig files.
20647 2005-07-05 Andy Wingo <wingo@pobox.com>
20649 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
20650 Default to returning TRUE for the case when tranform_caps returns
20651 a fixed caps, like for identity or volume.
20653 * check/gst/gstbus.c (pound_bus_with_messages):
20654 * check/gst/gstmessage.c (START_TEST):
20655 * check/pipelines/simple_launch_lines.c (got_handoff): Application
20656 message API change.
20658 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
20659 logic weaks here: always run transform_caps, trying passthrough
20660 operation only if the original caps intersects with the transform.
20662 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
20663 source and sink caps.
20665 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
20666 Intersect the peer caps with the pad template before going into
20668 (gst_base_transform_transform_caps): More debugging.
20670 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
20673 2005-07-04 Edward Hervey <edward@fluendo.com>
20677 (gst_pad_add_*_probe): now returns the signal id for better wrapping
20680 2005-07-04 Andy Wingo <wingo@pobox.com>
20682 * check/gst/gstpad.c: Only set explicit caps on pads.
20684 2005-07-01 Andy Wingo <wingo@pobox.com>
20686 * tests/network-clock.scm: Commentary update.
20688 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
20689 Didn't really make sense, not implementable with basetransform,
20691 (gst_identity_transform): Unref inbuf via make_writable. Feeble
20692 attempt at implementing the sync property, needs an unlock method.
20694 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
20695 New func, by default returns the same caps (the identity
20697 (gst_base_transform_getcaps): Uses transform_caps to return
20698 something sensible.
20699 (gst_base_transform_setcaps): Complicated logic to get caps on
20700 both pads, even if they are different, and to call set_caps once
20701 for every time both pads get their caps set.
20702 (gst_base_transform_handle_buffer): Give the ref to the transform
20703 function. Allows in-place modification of the buffer.
20705 * gst/base/gstbasetransform.h (transform_caps): New class method.
20706 Given caps on one side, what can I do on the other.
20707 (set_caps): Take two caps, one for each side of the element.
20710 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
20711 caps in place. This is safe because we can check the mutability of
20712 the caps, and a good idea because fixate functions are just called
20713 as a matter of last resort. (Not actually implemented.)
20714 (gst_pad_set_caps): If the caps we're setting is actually the same
20715 as the existing pad caps, just update the pointer without calling
20716 setcaps. Assert that caps is either NULL or fixed, as per the
20719 * gst/gstghostpad.c: Update for fixate changes.
20721 2005-07-02 Andy Wingo <wingo@pobox.com>
20724 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
20725 two refcounts makes it immutable, which is enough. Doc more.
20727 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
20729 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
20730 Put the mini_object into GValue as a mini_object,
20731 not a gpointer, since that's how we declared
20734 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20736 * examples/pwg/Makefile.am:
20737 Fix buildbot again.
20739 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20741 * docs/pwg/building-testapp.xml:
20743 * examples/pwg/Makefile.am:
20746 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20749 * examples/Makefile.am:
20750 * examples/pwg/Makefile.am:
20751 * examples/pwg/extract.pl:
20752 Enable building the PWG examples.
20753 * docs/pwg/advanced-interfaces.xml:
20754 Add URI interface stub.
20755 * docs/pwg/advanced-types.xml:
20756 * docs/pwg/other-autoplugger.xml:
20757 * docs/pwg/appendix-porting.xml:
20758 * docs/pwg/pwg.xml:
20759 Add porting guide (mostly stubs), remove autoplugging (see ADM).
20760 * docs/pwg/building-boiler.xml:
20761 * docs/pwg/building-chainfn.xml:
20762 * docs/pwg/building-pads.xml:
20763 * docs/pwg/building-props.xml:
20764 * docs/pwg/building-state.xml:
20765 * docs/pwg/building-testapp.xml:
20766 Update the building-*.xml parts for 0.9 changes. All examples
20767 code blocks compile in examples/pwg/*.
20769 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20771 * docs/manual/advanced-autoplugging.xml:
20772 * docs/manual/appendix-checklist.xml:
20773 * docs/manual/appendix-integration.xml:
20774 * docs/manual/highlevel-components.xml:
20775 Fix playbin/decodebin examples, update docs a bit, mention bus
20776 instead of signals in various places, mention kmplayer and
20777 kaffeine since they have a working GStreamer backend in the KDE
20780 2005-06-30 Wim Taymans <wim@fluendo.com>
20783 * docs/design/draft-ghostpads.txt:
20784 * docs/design/draft-push-pull.txt:
20785 * docs/design/draft-query.txt:
20786 * docs/design/part-TODO.txt:
20787 * docs/design/part-query.txt:
20788 Added CHANGES-0.9 doc, updated status of other docs.
20793 2005-06-30 Wim Taymans <wim@fluendo.com>
20795 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20796 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20797 (gst_base_sink_change_state):
20798 * gst/base/gstbasesink.h:
20799 Some tweaks, only EOS and a buffer complete a preroll.
20801 2005-06-30 Andy Wingo <wingo@pobox.com>
20803 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20804 activate_push down to the internal pad as well.
20806 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
20808 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20810 * gst/gsttaginterface.c:
20811 Some documentation fixes (#307394 and #307397).
20813 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
20815 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20817 * gst/gstvalue.c: (gst_value_intersect_list):
20818 Fix memleak (#309125).
20820 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20822 * docs/manual/advanced-dataaccess.xml:
20823 Fix fakesrc example to compile; doesn't work, bug somewhere...?
20824 * docs/manual/basics-pads.xml:
20825 Add reference for filtered caps to above chapter.
20827 2005-06-30 Wim Taymans <wim@fluendo.com>
20829 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20830 (gst_bin_change_state):
20832 Lame attempt at making the state change function a bit
20835 2005-06-30 Wim Taymans <wim@fluendo.com>
20837 * docs/design/part-clocks.txt:
20838 * docs/design/part-element-sink.txt:
20839 * docs/design/part-events.txt:
20840 * docs/design/part-preroll.txt:
20841 * docs/design/part-states.txt:
20842 Some more tweeks and additions to the docs.
20844 2005-06-30 Wim Taymans <wim@fluendo.com>
20846 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20847 (default_have_data), (gst_pad_class_init), (gst_pad_init),
20848 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20849 (gst_pad_check_pull_range), (gst_pad_get_range),
20850 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20852 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20853 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20854 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20855 (gst_pad_remove_buffer_probe):
20856 Removed atomic operations, use existing LOCK.
20857 Move exception handling out of main code path.
20859 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20861 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20862 (silly_return_true_function), (gst_pad_class_init),
20863 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20864 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20865 (gst_pad_send_event):
20866 Fix accumulator, add default value by using _emitv() instead
20867 of _emit() for signal emission.
20869 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20871 * docs/manual/advanced-dataaccess.xml:
20872 * examples/manual/Makefile.am:
20874 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20877 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
20879 * gst/elements/gstfilesink.c: (gst_filesink_render):
20880 Simplify code so that we don't have to handle short
20881 writes and return GST_FLOW_ERROR if an error occured.
20883 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20885 * docs/gst/gstreamer-docs.sgml:
20886 Remove probes more.
20888 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20890 * docs/gst/gstreamer-sections.txt:
20891 * docs/gst/tmpl/gstpad.sgml:
20892 * docs/gst/tmpl/gstprobe.sgml:
20894 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20895 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20896 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20897 (gst_pad_push_event), (gst_pad_send_event):
20899 * gst/gstutils.c: (gst_pad_add_data_probe),
20900 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20901 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20902 (gst_pad_remove_buffer_probe):
20904 Remove old probes, add new g-signal-based probes and some utility
20907 2005-06-29 Edward Hervey <edward@fluendo.com>
20909 * gst/gstelementfactory.c:
20912 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20913 the definition to the header file.
20915 2005-06-29 Andy Wingo <wingo@pobox.com>
20917 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20918 plugins from the source directory.
20920 2005-06-29 Wim Taymans <wim@fluendo.com>
20922 * docs/gst/tmpl/gstbuffer.sgml:
20923 * docs/gst/tmpl/gstclock.sgml:
20924 Some fixings for blantently wrong text.
20926 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20928 * check/Makefile.am:
20929 * gst/gst.c: (add_path_func), (init_pre):
20930 * gst/gstregistry.c: (gst_registry_add_path):
20931 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20932 only scan the GST_PLUGIN_PATH locations, and not add
20935 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20937 * docs/gst/gstreamer-sections.txt:
20938 * docs/gst/tmpl/gstbasesrc.sgml:
20939 * gst/gstelement.c:
20940 * gst/gstelement.h:
20945 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20947 * docs/manual/advanced-autoplugging.xml:
20948 Fix autoplugging example.
20950 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20952 * docs/manual/advanced-autoplugging.xml:
20953 * docs/manual/mime-world.fig:
20954 Try to get autoplugging working, fix type detection. Fix text
20955 in hello-world image.
20957 2005-06-29 Wim Taymans <wim@fluendo.com>
20959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20960 (gst_base_sink_change_state):
20964 map SIGNAL and BROADCAST to the right function.
20967 Remove redundant braces.
20969 * gst/gstpad.c: (gst_pad_set_caps):
20970 Don't call setcaps function when reseting caps to NULL.
20972 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20973 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20974 (gst_system_clock_id_unschedule):
20975 Use BROADCAST as this is what we do.
20977 2005-06-29 Wim Taymans <wim@fluendo.com>
20979 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20980 We are actually prerolling before commiting the state
20983 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20985 * docs/manual/advanced-clocks.xml:
20986 * docs/manual/advanced-interfaces.xml:
20987 * docs/manual/advanced-metadata.xml:
20988 * docs/manual/advanced-position.xml:
20989 * docs/manual/advanced-schedulers.xml:
20990 * docs/manual/advanced-threads.xml:
20991 * docs/manual/appendix-porting.xml:
20992 * docs/manual/basics-bins.xml:
20993 * docs/manual/basics-bus.xml:
20994 * docs/manual/basics-elements.xml:
20995 * docs/manual/basics-helloworld.xml:
20996 * docs/manual/basics-pads.xml:
20997 * docs/manual/highlevel-components.xml:
20998 * docs/manual/manual.xml:
20999 * docs/manual/thread.fig:
21000 Update (until threads/scheduling) Application Development Manual;
21001 remove GstThread, add GstBus, add simple porting checklist, add
21002 documentation for tag writing, clocks, make all examples until this
21003 part compile and run.
21004 * examples/manual/Makefile.am:
21005 Update from changes to Application Development Manual; add bus
21006 example, remove thread example.
21008 2005-06-28 Wim Taymans <wim@fluendo.com>
21010 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21011 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21012 (gst_bus_source_dispatch):
21013 Add debugging messages.
21014 Make internal methods static.
21015 Handle the case where the bus is flushed in the handler.
21017 * gst/gstelement.c: (gst_element_get_bus):
21018 Fix refcount in _get_bus();
21020 * gst/gstpipeline.c: (gst_pipeline_change_state),
21021 (gst_pipeline_get_clock_func):
21022 Clock refcounting fixes.
21023 Handle the case where preroll timed out more gracefully.
21025 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21026 Clean up the internal thread in dispose. This is needed
21027 for subclasses that actually get disposed.
21029 * gst/schedulers/threadscheduler.c:
21030 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21031 (gst_thread_scheduler_dispose):
21032 Free thread pool in dispose.
21034 2005-06-28 Andy Wingo <wingo@pobox.com>
21036 * tests/network-clock-utils.scm (debug, print-event): New utils.
21038 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21039 (*packet-loss*): Unified loss probability.
21040 (network-time): Report out-of-band events.
21042 * tests/plot-data: Add support for out-of-band events. Hack it
21043 into this script instead of passing it down the pipe; should fix
21046 2005-06-28 Wim Taymans <wim@fluendo.com>
21048 * docs/gst/gstreamer.types:
21049 * docs/gst/tmpl/gstbasesrc.sgml:
21050 * docs/gst/tmpl/gstpad.sgml:
21053 2005-06-28 Wim Taymans <wim@fluendo.com>
21055 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21056 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21057 (gst_proxy_pad_do_fixatecaps):
21058 Correctly proxy the check_pull_range function.
21060 2005-06-28 Andy Wingo <wingo@pobox.com>
21062 * tests/network-clock.scm: Removed need for slib.
21064 2005-06-28 Wim Taymans <wim@fluendo.com>
21066 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21067 (gst_basesink_preroll_queue_flush):
21068 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21069 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21070 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21071 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21072 (gst_proxy_pad_set_property):
21075 * gst/gstqueue.c: (gst_queue_init):
21076 The deprecated pad loop function is removed now.
21078 2005-06-28 Andy Wingo <wingo@pobox.com>
21080 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21081 New parameters, simulate network packet loss.
21083 * tests/network-clock-utils.scm: Initialize the RNG.
21085 2005-06-28 Wim Taymans <wim@fluendo.com>
21087 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21088 (gst_basesink_event), (gst_basesink_deactivate):
21089 Flushing the preroll queue always needs to unlock the waiters.
21091 2005-06-28 Edward Hervey <edward@fluendo.com>
21093 * gst/gstpipeline.c: (gst_pipeline_send_event):
21094 Wheen a seek was successful on a pipeline, set the stream_time to the
21095 seek offset in order to have a synchronized stream_time.
21097 2005-06-28 Wim Taymans <wim@fluendo.com>
21099 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21100 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21101 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21102 (gst_proxy_pad_do_fixatecaps):
21103 Call wrapper function instead of just calling the function
21104 pointers. This takes care of any locking and whatmore.
21106 2005-06-28 Wim Taymans <wim@fluendo.com>
21108 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21109 (gst_pad_pull_range):
21111 CONNECTED -> LINKED.
21113 2005-06-28 Andy Wingo <wingo@pobox.com>
21115 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21116 source-munging commit!!!
21118 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21119 (gst_object_sink): Take gpointer arguments, not GstObject --
21120 avoids casts. Like GLib.
21122 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21125 2005-06-27 Andy Wingo <wingo@pobox.com>
21127 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21130 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21131 returns a sorted copy of the trace list.
21132 (gst_alloc_trace_print_live): New API, only prints traces with
21133 live objects. Sort the list.
21134 (gst_alloc_trace_print_all): Sort the list.
21135 (gst_alloc_trace_print): Align columns.
21137 * gst/elements/gstttypefindelement.c:
21138 * gst/elements/gsttee.c:
21139 * gst/base/gstbasesrc.c:
21140 * gst/base/gstbasesink.c:
21141 * gst/base/gstbasetransform.c:
21142 * gst/gstqueue.c: Adapt for pad activation changes.
21144 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21146 (gst_pipeline_dispose): Drop ref on sched.
21148 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21149 (gst_pad_activate_default): Push mode by default.
21150 (pre_activate_switch, post_activate_switch): New stubs, things to
21151 do before and after switching activation modes on pads.
21152 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21153 the pad's activate function to choose which mode to activate.
21154 Shortcut on deactivation and call the right function directly.
21155 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21157 (gst_pad_activate_push): New API, same for push mode.
21158 (gst_pad_set_activate_function)
21159 (gst_pad_set_activatepull_function)
21160 (gst_pad_set_activatepush_function): Setters for new API.
21162 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21163 Trace all miniobjects.
21164 (gst_mini_object_make_writable): Unref the arg if we copy, like
21165 gst_caps_make_writable.
21167 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21169 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21170 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21171 Adapt for new pad API.
21173 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21175 * gst/gstelement.h:
21176 * gst/gstelement.c (gst_element_iterate_src_pads)
21177 (gst_element_iterate_sink_pads): New API functions.
21179 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21180 should fold into gstiterator.c in some form.
21181 (gst_element_pads_activate): Simplified via use of fold and
21182 delegation of decisions to gstpad->activate.
21184 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21187 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21188 class once in init, like gstmessage. Didn't run into this issue
21189 but it seems correct. Don't initialize a trace, gstminiobject does
21192 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21193 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21195 (assert_live_count): New util function, uses alloc traces to check
21198 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21199 To be modified when unlink drops the internal pad.
21201 2005-06-27 Wim Taymans <wim@fluendo.com>
21203 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21204 (gst_bin_change_state):
21205 Cleanup the get_state() function a little, make sure it
21206 iterates the same set of elements.
21207 Added stub iterate_state_order().
21209 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21211 * docs/gst/gstreamer-docs.sgml:
21212 * docs/gst/gstreamer-sections.txt:
21213 * docs/gst/gstreamer.types:
21214 * docs/gst/tmpl/gstbasesink.sgml:
21215 * docs/gst/tmpl/gstbasesrc.sgml:
21216 * docs/gst/tmpl/gstbasetransform.sgml:
21217 * docs/gst/tmpl/gstelement.sgml:
21218 * docs/gst/tmpl/gstiterator.sgml:
21219 * gst/base/gstbasesrc.c:
21220 * gst/base/gstbasesrc.h:
21221 * gst/base/gstbasetransform.h:
21222 * gst/gstelement.c:
21223 * gst/gstiterator.h:
21224 adding basetransform and iterator docs
21226 2005-06-27 Andy Wingo <wingo@pobox.com>
21228 * docs/design/part-activation.txt: Notes on how activation should
21229 work -- not quite implemented yet.
21231 2005-06-25 Wim Taymans <wim@fluendo.com>
21233 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21234 At least get the chain function correct, needs more
21237 2005-06-25 Wim Taymans <wim@fluendo.com>
21239 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21240 (gst_basesink_handle_object), (gst_basesink_event),
21241 (gst_basesink_do_sync), (gst_basesink_handle_event),
21242 (gst_basesink_change_state):
21244 Right, two problems here: ghostpads don't take locks and
21245 glib _rec_mutex_lock_full() with depth==0 still locks.
21246 Catch illegal locking and g_warn them.
21248 2005-06-25 Wim Taymans <wim@fluendo.com>
21250 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21251 Have to check for completion now...
21253 2005-06-25 Wim Taymans <wim@fluendo.com>
21255 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21256 (gst_basesink_handle_object), (gst_basesink_event),
21257 (gst_basesink_do_sync), (gst_basesink_handle_event),
21258 (gst_basesink_change_state):
21260 Unlock STREAM_LOCK whatever the recursion was.
21262 2005-06-25 Wim Taymans <wim@fluendo.com>
21264 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21265 (gst_basesink_preroll_queue_empty),
21266 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21267 (gst_basesink_event), (gst_basesink_do_sync),
21268 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21269 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21270 (gst_basesink_change_state):
21271 Reworked the base sink, handle event and buffer serialisation
21272 correctly and removed possible deadlock.
21273 Handle EOS correctly.
21275 2005-06-25 Wim Taymans <wim@fluendo.com>
21277 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21278 (gst_pipeline_change_state):
21279 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21280 Allow elements to post EOS in the state change function.
21281 Fix up -launch, make it exit the poll loop when the
21282 pipeline actually changed state.
21283 Fix up warning parsing in -launch.
21285 2005-06-25 Wim Taymans <wim@fluendo.com>
21287 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21288 (gst_tee_sink_activate):
21289 Core takes STREAM_LOCK for us now.
21291 2005-06-25 Wim Taymans <wim@fluendo.com>
21293 * gst/gstelement.c: (gst_element_get_state_func),
21294 (gst_element_set_state):
21295 * gst/gstelement.h:
21296 * gst/gstmessage.c: (gst_message_parse_error),
21297 (gst_message_parse_warning):
21298 Keep track of current target state while performing a state
21299 change so that subclasses can do something interesting.
21300 Fix parsing of warning/error messages when GError is NULL.
21302 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21304 * docs/gst/Makefile.am:
21305 * docs/gst/gstreamer-docs.sgml:
21306 * docs/gst/gstreamer-sections.txt:
21307 * docs/gst/gstreamer.types:
21308 * docs/gst/tmpl/gstbasesink.sgml:
21309 * docs/gst/tmpl/gstbasesrc.sgml:
21310 * docs/gst/tmpl/gstbin.sgml:
21311 * docs/gst/tmpl/gstcompat.sgml:
21312 * docs/gst/tmpl/gstfakesink.sgml:
21313 * docs/gst/tmpl/gstfakesrc.sgml:
21314 * docs/gst/tmpl/gstfilesink.sgml:
21315 * docs/gst/tmpl/gstfilesrc.sgml:
21316 * docs/gst/tmpl/gstindex.sgml:
21317 * docs/manual/appendix-quotes.xml:
21318 * gst/base/gstbasesrc.h:
21319 * gst/elements/gstfakesrc.h:
21320 * gst/gstmessage.h:
21321 start pulling in base classes and elements in our docs
21323 2005-06-24 Stefan Kost <ensonic@users.sf.net>
21325 * docs/gst/Makefile.am:
21326 * docs/libs/Makefile.am:
21327 fixed make distcheck with gtk-doc 1.3
21329 2005-06-23 Wim Taymans <wim@fluendo.com>
21331 * gst/gstelement.c: (gst_element_get_state_func),
21332 (gst_element_set_state), (gst_element_change_state):
21333 When the state did not change, also report NO_PREROLL
21336 2005-06-23 Wim Taymans <wim@fluendo.com>
21338 * gst/gstpad.c: (gst_pad_event_default):
21339 * gst/gstqueue.c: (gst_queue_loop):
21340 No unsafe task pausing please.
21342 2005-06-23 Wim Taymans <wim@fluendo.com>
21344 * gst/schedulers/threadscheduler.c:
21345 (gst_thread_scheduler_task_start),
21346 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21347 Ref the task before pushing it on the threadpool. This
21348 makes sure that we have a ref when the threadfunction is
21351 2005-06-23 Andy Wingo <wingo@pobox.com>
21353 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21354 offset is greater than the file's size.
21356 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
21357 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21358 * gst/gstobject.c (gst_object_class_init): Make the class lock
21359 recursive. Wim won't let me drop deep_notify. Decodebin works
21360 again, whoopdy doo.
21362 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21363 internal pad, and hacks accordingly. Doesn't do it on the target
21364 pad because we change its caps. Probably catches all cases of
21366 (gst_ghost_pad_set_property): Connect to notify::caps as
21369 * tests/network-clock.scm (plot-simulation): Pipe data to the
21370 elite python skript.
21372 * tests/network-clock-utils.scm (define-parameter): New macro,
21373 defines a parameter that can be set via the command line.
21374 (set-parameter!, parse-parameter-arguments): Command line args
21377 * tests/plot-data: Simple matplotlib-based plotter, takes input on
21380 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
21382 * gst/elements/gsttypefindelement.c:
21383 (gst_type_find_element_handle_event):
21384 Don't restart typefinding on a discont.
21385 * gst/gstelement.c: (gst_element_set_state):
21386 Debug spelling fix.
21387 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21388 Allow changing mode of an active pad.
21389 Debug output fixes.
21390 * gst/registries/gstlibxmlregistry.c: (load_feature):
21391 Don't cast a static pad template to a normal pad template.
21393 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
21395 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21396 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21397 remove gst_strtoll completely, since it didn't actually do
21398 anything more than what g_ascii_strtoull already does.
21399 check for range errors when deserializing
21400 do a cast for the unsigned cases; but further fixing needs
21401 a decision on what the interpretation of "(int)" and
21402 deserialization should be for values that fall outside the
21403 type's boundaries (ie, refuse, or interpret as casting)
21405 2005-06-23 Wim Taymans <wim@fluendo.com>
21407 * check/Makefile.am:
21408 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
21409 * docs/design/part-live-source.txt:
21410 * docs/design/part-states.txt:
21411 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21412 (gst_basesrc_set_live), (gst_basesrc_is_live),
21413 (gst_basesrc_get_range), (gst_basesrc_activate),
21414 (gst_basesrc_change_state):
21415 * gst/base/gstbasesrc.h:
21416 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21417 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21418 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
21419 * gst/gstelement.c: (gst_element_get_state_func),
21420 (gst_element_set_state):
21421 * gst/gstelement.h:
21423 * tools/gst-launch.c: (event_loop), (main):
21424 Added support for live sources and other elements that
21426 Updated design docs, added live-source design doc.
21427 Implemented live source functionality in basesrc
21428 Fix error condition in _bin_get_state()
21429 Implement live source handling in -launch.
21430 Added check for live sources.
21431 Fixed case in GstBin where elements were changed state
21435 2005-06-23 Andy Wingo <wingo@pobox.com>
21437 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
21438 borken refcounting.
21440 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
21441 gst_caps_replace takes care of this for us.
21443 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
21444 gst_pad_set_caps on the target, not just its setcaps() function.
21446 * tests/network-clock.scm:
21447 * tests/network-clock-utils.scm: A network clock simulator.
21448 Something of an algorithmic testbed before doing something in C.
21450 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21452 * check/Makefile.am:
21453 * check/gst/capslist.h:
21454 copy over from 0.8, and add two with bitmasks specified with
21456 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21457 add test to parse everything from capslist.h
21458 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
21460 add test for structure deserialization
21461 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21462 add tests for deserialization of strings to int types
21463 * gst/gststructure.c: (gst_structure_nth_field_name):
21464 * gst/gststructure.h:
21465 add a way to get the name of a field referenced by index
21466 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21467 instead of checking if the resulting long long lies between
21468 min and max, we check if the long long would fit into
21469 a number of bytes for the final type.
21470 This fixes cases where a string represents 2^32 - 1, which
21471 when cast to int would be the (valid) -1, but is bigger than
21474 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21476 * gst/parse/grammar.y:
21477 add a log line for type deserialization
21479 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21481 * check/gst/gstvalue.c: (START_TEST):
21482 * gst/gstvalue.c: (gst_value_deserialize):
21483 return long long, not int, so gint64 deserialization actually
21484 works. Is there any flag that makes the compiler check this ?
21487 2005-06-22 Wim Taymans <wim@fluendo.com>
21490 Added convenience macros for setting buffers in GValue.
21492 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
21494 * check/gst/.cvsignore:
21495 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21496 add a test deserializing int64, and comment part out because
21499 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
21501 * check/Makefile.am:
21502 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
21503 * testsuite/Makefile.am:
21504 * testsuite/caps/Makefile.am:
21505 * testsuite/caps/value_serialize.c:
21506 * testsuite/test_gst_init.c:
21507 move a value_serialize test over
21509 2005-06-20 Wim Taymans <wim@fluendo.com>
21514 * gst/gstvalue.c: (gst_value_compare_buffer),
21515 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
21516 (gst_value_compare_flags), (gst_value_serialize_flags),
21517 (gst_value_deserialize_flags), (_gst_value_initialize):
21518 Fix serialisation of buffers, they are not boxed types anymore
21520 2005-06-20 Wim Taymans <wim@fluendo.com>
21522 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21523 Testcase to show error in buffer-on-caps serialisation.
21525 2005-06-20 Andy Wingo <wingo@pobox.com>
21527 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
21528 will be adding to later.
21530 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
21531 if its socks fill with rocks.
21532 (gst_system_clock_obtain): Set the name on object construction.
21533 Avoid double-checked locking.
21535 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
21537 * gst/gsturi.c: (gst_element_make_from_uri):
21538 Fix potential endless loop.
21540 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21542 * check/Makefile.am:
21544 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
21546 move over from testsuite dir and clean up
21549 * testsuite/Makefile.am:
21550 * testsuite/tags/.cvsignore:
21551 * testsuite/tags/Makefile.am:
21552 * testsuite/tags/merge.c:
21553 remove testsuite/tags
21555 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21557 * docs/gst/gstreamer-sections.txt:
21558 * docs/gst/tmpl/gstenumtypes.sgml:
21559 * win32/gstenumtypes.c:
21560 clean up documentation build a little
21562 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21564 * check/gstcheck.h:
21565 add macros for checking refcounts on objects and caps
21566 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
21567 add some more unit tests
21568 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21569 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
21570 fix leaked refcounts (I hope :)) so unittest works
21574 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21576 * configure.ac: back to HEAD
21578 === release 0.9.1 ===
21580 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
21586 2005-06-17 Andy Wingo <wingo@pobox.com>
21588 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
21589 assert; it's always possible that the pad gets deactivated in
21590 between the checks in gstpad.c and the implementation. Rely on
21591 finish_preroll() to return a FLUSHING or similar instead of on the
21594 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
21595 clock and post an EOS message if we come out of finish_preroll in
21598 2005-06-16 David Schleef <ds@schleef.org>
21600 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21601 (gst_capsfilter_set_property): Allow NULL as possible value
21602 for filter_caps property, indicating GST_CAPS_ANY.
21604 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21606 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
21608 * gst/schedulers/Makefile.am:
21610 * gstreamer.spec.in:
21613 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21615 * gstreamer.spec.in:
21618 2005-06-08 Andy Wingo <wingo@pobox.com>
21620 * gst/gstutils.c: RPAD fixes all around.
21621 (gst_element_link_pads): Refcounting fixes.
21623 * tools/gst-inspect.c:
21624 * tools/gst-xmlinspect.c:
21626 * gst/base/gsttypefindhelper.c:
21627 * gst/base/gstbasesink.c:
21628 * gst/gstqueue.c: RPAD fixes.
21630 * gst/gstghostpad.h:
21631 * gst/gstghostpad.c: New ghost pad implementation as full proxy
21632 pads. The tricky thing is they provide both source and sink
21633 interfaces, since they proxy the internal pad for the external
21634 pad, and vice versa. Implement with lower-level ProxyPad objects,
21635 with the interior proxy pad as a child of the exterior ghost pad.
21636 Should write a doc on this.
21638 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
21639 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
21642 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
21643 pads are real pads. No ghost pads in this file. Not documenting
21644 the myriad s/RPAD/PAD/ and REALIZE fixes.
21645 (gst_pad_class_init): Add properties for "direction" and
21646 "template". Both are construct-only, so they can't change during
21647 the life of the pad. Fixes properly deriving from GstPad.
21648 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
21649 derived objects, just set properties when creating the objects via
21651 (gst_pad_get_parent): Implement as a function, return NULL if the
21652 parent is not an element.
21653 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
21654 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
21656 * gst/gstobject.c (gst_object_class_init): Make name a construct
21657 property. Don't set it in the object init.
21659 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
21660 with UNKNOWN direction.
21661 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
21662 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
21663 (gst_element_remove_pad): Remove ghost-pad special cases.
21664 (gst_element_pads_activate): Remove rpad cruft.
21666 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
21667 catch the pad's-parent-not-an-element case.
21669 * gst/gst.h: Include gstghostpad.h.
21671 * gst/gst.c (init_post): No more real, ghost pads.
21673 * gst/Makefile.am: Add gstghostpad.[ch].
21675 * check/Makefile.am:
21676 * check/gst/gstbin.c:
21677 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
21678 into a bin creates ghost pads, and that the refcounts are right.
21679 Partly moved from gstbin.c.
21681 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21683 * check/gst-libs/.cvsignore:
21684 * check/gst/.cvsignore:
21685 * check/pipelines/.cvsignore:
21687 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
21688 (START_TEST), (cleanup_suite), (main):
21689 add some tests related to cleanup after running pipelines
21691 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21693 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
21694 add a testsuite for GstBuffer
21696 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21698 * gst/gstminiobject.h:
21699 add defines for accessing the refcount
21701 2005-06-03 Stefan Kost <ensonic@users.sf.net>
21703 * Makefile.am: added support for html unit test coverage reports
21705 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
21707 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21708 Free existing caps if the capsfilter changes. Add a FIXME about
21709 setting those caps on the pads.
21711 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
21712 Before adding a ghost pad to a parent bin, check that there isn't
21713 already one for the element on the bin. Prevents infinite recursion
21714 when using decodebin in parse pipelines. Andy says he'll rewrite the
21715 way this works anyway, so ignore the hack.
21717 2005-06-02 Andy Wingo <wingo@pobox.com>
21719 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
21720 file size, pass it on to the type find helper.
21722 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
21723 segment_start and segment_end properly according to the seek
21724 method. Segment_end is still a bit flaky because offset can be
21725 negative for CUR and END cases, but it takes -1 as an "unset"
21728 2005-06-02 Wim Taymans <wim@fluendo.com>
21730 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
21731 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
21732 (gst_basesink_activate):
21733 * gst/base/gstbasesink.h:
21734 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21735 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21736 (gst_pad_query), (gst_pad_start_task):
21738 * gst/gstqueue.c: (gst_queue_bufferalloc),
21739 (gst_queue_handle_sink_event), (gst_queue_chain):
21740 Bufferalloc: return GstFlowReturn to more accuratly report
21741 why allocation failed.
21743 2005-06-02 Wim Taymans <wim@fluendo.com>
21745 * gst/gstpipeline.c: (gst_pipeline_send_event):
21746 Take snapshot of state without blocking.
21748 2005-06-02 Wim Taymans <wim@fluendo.com>
21750 * docs/design/part-TODO.txt:
21751 * docs/design/part-caps.txt:
21752 * docs/design/part-clocks.txt:
21753 * docs/design/part-negotiation.txt:
21754 * docs/design/part-preroll.txt:
21757 2005-05-30 Wim Taymans <wim@fluendo.com>
21759 * gst/elements/gstidentity.c: (gst_identity_event),
21760 (gst_identity_transform), (gst_identity_get_property):
21761 Protect last_message property as it is accessed from
21764 2005-05-30 Wim Taymans <wim@fluendo.com>
21766 * gst/gstelement.c: (gst_element_init),
21767 (gst_element_pads_activate), (gst_element_change_state):
21768 Slicker pad activation code.
21770 2005-05-30 Wim Taymans <wim@fluendo.com>
21773 * gst/gstelement.h:
21774 * gst/gstelementfactory.h:
21776 Move elementfactory methods to separate .h file.
21778 2005-05-30 Wim Taymans <wim@fluendo.com>
21780 * docs/design/part-overview.txt:
21781 * gst/gstsystemclock.h:
21782 Small typo fixes, doc updates.
21784 2005-05-30 Wim Taymans <wim@fluendo.com>
21786 * gst/gst.c: (gst_init_get_popt_table), (init_post),
21787 (init_popt_callback):
21788 Remove cpu-opt flag.
21790 2005-05-30 Wim Taymans <wim@fluendo.com>
21792 * gst/gstbuffer.c: (gst_subbuffer_finalize),
21793 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21795 Avoid typechecking in places where not needed.
21796 Added accessor for malloc_data.
21798 2005-05-30 Wim Taymans <wim@fluendo.com>
21800 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21801 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21802 (gst_pad_configure_sink), (gst_pad_configure_src),
21803 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21804 (gst_pad_start_task):
21805 Propagate errors from _set_caps() in configure_src/sink
21806 functions instead of returning TRUE.
21807 FLUSH events can travel up and downstream
21810 2005-05-30 Wim Taymans <wim@fluendo.com>
21812 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21813 (gst_basesink_activate):
21814 Handle EOS in preroll.
21816 2005-05-30 Wim Taymans <wim@fluendo.com>
21818 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21819 (gst_queue_loop), (gst_queue_handle_src_event):
21820 Remove old pieces of code
21821 Flushing the queue in an upstream event is a very bad idea.
21823 2005-05-26 Andy Wingo <wingo@pobox.com>
21825 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21826 gst_value_set_mini_object so as to add a ref on the object (which
21827 will be removed when the value is unset).
21829 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21830 arg type in ::handoff.
21832 * gst/gstelement.c (gst_element_change_state): Also deactivate
21833 pads in READY->NULL, just in case the element didn't make it to
21834 PAUSED. Wingo tested, Wim approved.
21836 2005-05-26 Wim Taymans <wim@fluendo.com>
21838 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21839 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21840 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21841 A flushing pad cannot be used to alloc_buffer from.
21843 2005-05-26 Wim Taymans <wim@fluendo.com>
21845 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21846 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21847 (gst_bus_source_dispatch), (gst_bus_source_finalize),
21848 (gst_bus_create_watch), (gst_bus_add_watch_full):
21850 Implement a real GSource and use g_main_context_wakeup() to
21851 signal new messages instead of the socketpair.
21853 2005-05-25 Wim Taymans <wim@fluendo.com>
21855 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21856 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21857 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21858 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21859 (gst_pad_send_event), (gst_pad_start_task):
21860 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21861 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21862 (gst_queue_sink_activate), (gst_queue_src_activate),
21863 (gst_queue_change_state):
21865 Fix state changes for non sinks. We now change sinks, then elements
21866 with unconnected srcpads, then the rest.
21867 More efficient queue unlocking in flush and state changes.
21868 Set the pad activate mode even if it does not have an activate
21871 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21873 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21874 Don't go in pull mode for non-seekable sources.
21875 * gst/elements/gsttypefindelement.h:
21876 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21877 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21878 (free_entry), (stop_typefinding),
21879 (gst_type_find_element_handle_event), (find_peek),
21880 (gst_type_find_element_chain), (do_pull_typefind),
21881 (gst_type_find_element_change_state):
21882 Allow typefinding (w/o seeking) in push-mode, simplified version
21883 of what was in 0.8.
21884 * gst/gstutils.c: (gst_buffer_join):
21886 gst_buffer_join() from 0.8.
21888 2005-05-25 Wim Taymans <wim@fluendo.com>
21890 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21891 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21892 (gst_pad_send_event), (gst_pad_start_task):
21893 Disable attempt at mode switching until it is figured out.
21895 2005-05-25 Wim Taymans <wim@fluendo.com>
21897 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21898 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21899 (gst_basesink_finish_preroll), (gst_basesink_chain),
21900 (gst_basesink_loop), (gst_basesink_activate),
21901 (gst_basesink_change_state):
21902 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21903 (gst_basesrc_get_range), (gst_basesrc_loop),
21904 (gst_basesrc_activate):
21905 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21906 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21907 (gst_real_pad_init), (gst_real_pad_set_property),
21908 (gst_real_pad_get_property), (gst_pad_set_active),
21909 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21910 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21911 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21912 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21913 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21914 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21915 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21916 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21917 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21918 (gst_pad_stop_task):
21920 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21921 (gst_queue_loop), (gst_queue_src_activate):
21922 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21923 (gst_task_get_state):
21925 * gst/schedulers/threadscheduler.c:
21926 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21927 Implement gst_pad_pause/start/stop_task(), take STREAM lock
21929 Remove ACTIVE pad flag, use FLUSHING everywhere
21930 Added _pad_chain(), _pad_get_range() to call chain/getrange
21932 Add locks around IS_FLUSHING when reading.
21933 Take STREAM lock in chain(), get_range() functions so plugins
21934 don't need to take it anymore.
21938 2005-05-25 Wim Taymans <wim@fluendo.com>
21940 * tools/gst-launch.c: (event_loop):
21941 Unref message after using its contents instead of
21944 2005-05-24 Wim Taymans <wim@fluendo.com>
21946 * docs/design/draft-ghostpads.txt:
21947 * docs/design/draft-push-pull.txt:
21948 * docs/design/draft-query.txt:
21949 * docs/design/part-overview.txt:
21950 Docs updates, added general overview doc.
21952 2005-05-21 David Schleef <ds@schleef.org>
21954 * docs/gst/tmpl/old/GstBin.sgml:
21955 * docs/gst/tmpl/old/GstBuffer.sgml:
21956 * docs/gst/tmpl/old/GstCaps.sgml:
21957 * docs/gst/tmpl/old/GstClock.sgml:
21958 * docs/gst/tmpl/old/GstCompat.sgml:
21959 * docs/gst/tmpl/old/GstData.sgml:
21960 * docs/gst/tmpl/old/GstElement.sgml:
21961 * docs/gst/tmpl/old/GstEvent.sgml:
21962 * docs/gst/tmpl/old/GstIndex.sgml:
21963 * docs/gst/tmpl/old/GstStructure.sgml:
21964 * docs/gst/tmpl/old/GstTag.sgml:
21965 * docs/gst/tmpl/old/cothreads.sgml:
21966 * docs/gst/tmpl/old/cothreads_compat.sgml:
21967 * docs/gst/tmpl/old/gettext.sgml:
21968 * docs/gst/tmpl/old/gobject2gtk.sgml:
21969 * docs/gst/tmpl/old/grammar.tab.sgml:
21970 * docs/gst/tmpl/old/gst-i18n-app.sgml:
21971 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21972 * docs/gst/tmpl/old/gst_private.sgml:
21973 * docs/gst/tmpl/old/gstaggregator.sgml:
21974 * docs/gst/tmpl/old/gstarch.sgml:
21975 * docs/gst/tmpl/old/gstatomic_impl.sgml:
21976 * docs/gst/tmpl/old/gstbufferstore.sgml:
21977 * docs/gst/tmpl/old/gstdata_private.sgml:
21978 * docs/gst/tmpl/old/gstdisksink.sgml:
21979 * docs/gst/tmpl/old/gstdisksrc.sgml:
21980 * docs/gst/tmpl/old/gstelementfactory.sgml:
21981 * docs/gst/tmpl/old/gstextratypes.sgml:
21982 * docs/gst/tmpl/old/gstfakesink.sgml:
21983 * docs/gst/tmpl/old/gstfakesrc.sgml:
21984 * docs/gst/tmpl/old/gstfdsink.sgml:
21985 * docs/gst/tmpl/old/gstfdsrc.sgml:
21986 * docs/gst/tmpl/old/gstfilesink.sgml:
21987 * docs/gst/tmpl/old/gstfilesrc.sgml:
21988 * docs/gst/tmpl/old/gsthttpsrc.sgml:
21989 * docs/gst/tmpl/old/gstidentity.sgml:
21990 * docs/gst/tmpl/old/gstindexfactory.sgml:
21991 * docs/gst/tmpl/old/gstmarshal.sgml:
21992 * docs/gst/tmpl/old/gstmd5sink.sgml:
21993 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21994 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21995 * docs/gst/tmpl/old/gstpadtemplate.sgml:
21996 * docs/gst/tmpl/old/gstpipefilter.sgml:
21997 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21998 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21999 * docs/gst/tmpl/old/gstshaper.sgml:
22000 * docs/gst/tmpl/old/gstspider.sgml:
22001 * docs/gst/tmpl/old/gstspideridentity.sgml:
22002 * docs/gst/tmpl/old/gststatistics.sgml:
22003 * docs/gst/tmpl/old/gsttee.sgml:
22004 * docs/gst/tmpl/old/gsttimecache.sgml:
22005 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22006 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22007 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22008 * docs/gst/tmpl/old/types.sgml:
22009 I didn't intend to add these or check them in.
22011 2005-05-19 David Schleef <ds@schleef.org>
22013 * configure.ac: Use -no-common everywhere. In a sane world, it
22014 would be the default in libtool, because without it, you can't
22015 build DLLs on Windows.
22016 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22017 * docs/gst/gstreamer-sections.txt:
22018 * docs/gst/tmpl/gstcpu.sgml:
22019 * docs/gst/tmpl/gstdata.sgml:
22020 * docs/gst/tmpl/gstthread.sgml:
22022 2005-05-19 David Schleef <ds@schleef.org>
22024 * gst/gstminiobject.c: (gst_value_set_mini_object),
22025 (gst_value_take_mini_object), (gst_value_get_mini_object):
22026 * gst/gstminiobject.h: Add GValue set/get functions.
22028 2005-05-19 Wim Taymans <wim@fluendo.com>
22030 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22031 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22032 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22034 * gst/gstbus.c: (gst_bus_post):
22035 * gst/gstelement.c: (gst_element_get_random_pad):
22036 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22037 Make subbufer unref the parent in finalize.
22038 some more debugging info.
22041 2005-05-19 Wim Taymans <wim@fluendo.com>
22043 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22044 (gst_basesink_init), (gst_basesink_finalize),
22045 (gst_basesink_activate), (gst_basesink_change_state):
22046 Don't free preroll queue too early.
22048 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22052 Hi, I'm outdated. Please shoot me.
22054 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22056 * gst/gstpipeline.c: (gst_pipeline_send_event):
22057 Do not access variables after they have been deleted.
22059 2005-05-19 Wim Taymans <wim@fluendo.com>
22061 * tools/gst-inspect.c: (print_plugin_features):
22062 A plugin feature does unfortunatly not use the
22065 2005-05-18 Wim Taymans <wim@fluendo.com>
22067 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22068 Port _span() functions to new subbuffers.
22070 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22072 * gst/gstbin.c: (gst_bin_add_func):
22073 Fix clock settery in bins when adding kids after the clock has
22076 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22078 * gst/elements/gstidentity.c: (gst_identity_class_init):
22079 Workaround until signals support GstMiniObject.
22081 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22084 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22086 2005-05-18 Wim Taymans <wim@fluendo.com>
22088 * gst/base/Makefile.am:
22089 * gst/base/gstadapter.c: (gst_adapter_base_init),
22090 (gst_adapter_class_init), (gst_adapter_init),
22091 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22092 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22093 (gst_adapter_flush), (gst_adapter_available),
22094 (gst_adapter_available_fast):
22095 * gst/base/gstadapter.h:
22096 Ported and added adapter to the base classes.
22098 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22101 * gst/gstmessage.c:
22102 Make sure the class is reffed/unreffed once before threads can be
22103 used. Fixes #304551.
22105 2005-05-17 Wim Taymans <wim@fluendo.com>
22107 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22108 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22109 * gst/gstminiobject.c: (gst_mini_object_get_type),
22110 (gst_mini_object_free):
22111 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22112 (gst_pad_push), (gst_pad_push_event):
22113 * gst/gstqueue.c: (gst_queue_change_state):
22114 Don't queue buffers in basesink when we are flushing.
22115 Unref buffer when flushing in basesink.
22116 Flush queue when going to READY
22117 Unref buffer when _push() returns an error.
22118 Don't free MiniObject instance when refcount is incremented
22119 in _finalize() so that we can recover objects.
22121 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22123 * docs/manual/advanced-schedulers.xml:
22124 * docs/manual/appendix-checklist.xml:
22125 * docs/pwg/advanced-clock.xml:
22126 * docs/pwg/advanced-interfaces.xml:
22127 * docs/pwg/advanced-request.xml:
22128 * docs/pwg/advanced-types.xml:
22129 * docs/pwg/intro-preface.xml:
22130 * examples/plugins/example.c: (gst_example_get_type),
22131 (gst_example_class_init), (gst_example_chain),
22132 (gst_example_set_property), (gst_example_get_property),
22133 (gst_example_change_state), (plugin_init):
22134 * examples/plugins/example.h:
22137 2005-05-17 Wim Taymans <wim@fluendo.com>
22139 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22140 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22141 * gst/gstqueue.c: (gst_queue_change_state):
22142 Clear queue when going to READY.
22143 Remove IN_SETCAPS flag too.
22145 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22147 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22148 Remove implicit cast from gboolean to GstElementStateReturn;
22149 make sure we still return failure in paused => ready case if
22150 the parent class fails to change state and our own stop
22153 2005-05-17 Wim Taymans <wim@fluendo.com>
22155 * tools/gst-launch.c: (event_loop):
22156 Message was unreffed too soon.
22158 2005-05-16 Andy Wingo <wingo@pobox.com>
22160 * gst/gstbin.c (sink_iterator_filter): Err... um...
22162 * check/gst/gstbin.c (test_ghost_pads): New test for the
22163 ghosting-if-elements-not-in-same-bin behavior.
22165 2005-05-16 David Schleef <ds@schleef.org>
22167 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22168 accessing refcount directly.
22170 2005-05-15 David Schleef <ds@schleef.org>
22172 * check/Makefile.am: remove GstData checks
22173 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22174 * gst/Makefile.am: add miniobject, remove data
22175 * gst/gst.h: add miniobject, remove data
22176 * gst/gstdata.c: remove
22177 * gst/gstdata.h: remove
22178 * gst/gstdata_private.h: remove
22179 * gst/gsttypes.h: remove GstEvent and GstMessage
22180 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22181 * gst/gstmarshal.list: change BOXED -> OBJECT
22183 Implement GstMiniObject.
22184 * gst/gstminiobject.c:
22185 * gst/gstminiobject.h:
22187 Modify to be subclasses of GstMiniObject.
22188 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22189 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22190 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22191 (gst_subbuffer_get_type), (gst_subbuffer_init),
22192 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22195 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22196 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22197 (_gst_event_copy), (gst_event_new):
22199 * gst/gstmessage.c: (_gst_message_initialize),
22200 (gst_message_get_type), (gst_message_class_init),
22201 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22202 (gst_message_new), (gst_message_new_error),
22203 (gst_message_new_warning), (gst_message_new_tag),
22204 (gst_message_new_state_changed), (gst_message_new_application):
22205 * gst/gstmessage.h:
22206 * gst/gstprobe.c: (gst_probe_perform),
22207 (gst_probe_dispatcher_dispatch):
22209 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22210 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22211 (_gst_query_copy), (gst_query_new):
22213 Update elements for GstData -> GstMiniObject changes
22215 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22216 (gst_queue_chain), (gst_queue_loop):
22217 * gst/elements/gstbufferstore.c:
22218 (gst_buffer_store_add_buffer_func),
22219 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22220 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22221 (gst_fakesink_render):
22222 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22223 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22224 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22225 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22226 (gst_filesrc_create_read):
22227 * gst/elements/gstidentity.c: (gst_identity_class_init):
22228 * gst/elements/gsttypefindelement.c:
22229 (gst_type_find_element_src_event), (free_entry_buffers),
22230 (gst_type_find_element_handle_event):
22231 * libs/gst/dataprotocol/dataprotocol.c:
22232 (gst_dp_header_from_buffer):
22233 * libs/gst/dataprotocol/dataprotocol.h:
22234 * libs/gst/dataprotocol/dp-private.h:
22236 2005-05-15 David Schleef <ds@schleef.org>
22238 * gst/elements/gstelements.c: Don't include headers that were
22241 2005-05-15 David Schleef <ds@schleef.org>
22243 * gst/elements/Makefile.am: Remove some elements that don't
22244 need to be in the core (or even exist at all).
22245 * gst/elements/gstaggregator.c:
22246 * gst/elements/gstaggregator.h:
22247 * gst/elements/gstmd5sink.c:
22248 * gst/elements/gstmd5sink.h:
22249 * gst/elements/gstmultifilesrc.c:
22250 * gst/elements/gstmultifilesrc.h:
22251 * gst/elements/gstpipefilter.c:
22252 * gst/elements/gstpipefilter.h:
22253 * gst/elements/gstshaper.c:
22254 * gst/elements/gstshaper.h:
22255 * gst/elements/gststatistics.c:
22256 * gst/elements/gststatistics.h:
22257 * po/POTFILES.in: Remove above files.
22259 2005-05-14 Andy Wingo <wingo@pobox.com>
22261 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22262 so as to get the refs right.
22263 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22264 unreffing objects that don't pass the filter.
22266 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22267 gst_element_set_bus.
22268 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22269 normal cases, this will destroy the bus.
22271 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22274 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22277 2005-05-13 Andy Wingo <wingo@pobox.com>
22279 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22280 gst_pad_link, call pad_link_maybe_ghosting,
22281 (pad_link_maybe_ghosting): Links pads, making sure that the
22282 elements being linked are in the same bin.
22283 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22284 Helpers for pad_link_maybe_ghosting.
22286 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22289 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22291 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22293 * docs/design/part-element-source.txt:
22296 2005-05-12 Wim Taymans <wim@fluendo.com>
22298 * gst/base/gstbasesink.c: (gst_basesink_init),
22299 (gst_basesink_activate):
22300 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22301 (gst_basesrc_is_seekable):
22302 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22303 (bin_element_is_sink), (gst_bin_change_state):
22304 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22305 * gst/gstelement.h:
22306 Identify sinks by their flag to avoid overly complicated
22308 Do state changes even for elements not reachable from the
22310 BaseSink is a sink now :)
22311 Some more debugging info in the basesrc.
22314 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22316 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22317 Implement _query on a bin, similar to _send_event.
22319 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22321 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22322 Discont event offset format should be GST_FORMAT_BYTES,
22323 not GST_FORMAT_TIME.
22325 2005-05-12 Wim Taymans <wim@fluendo.com>
22327 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22328 Same fix as Ronald's but without the signal.
22330 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22332 * gst/gstutils.c: (gst_element_query_position):
22333 No, an element is not a pad.
22335 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22337 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22338 (gst_bin_get_state):
22339 If a child is removed from a bin while we remove the child from
22340 the bin and while we're retrieving its state, signal this to the
22341 get_state function so we abort the wait (instead of waiting for
22342 a timeout) and can immediately re-iterate over all other elements.
22344 2005-05-12 Wim Taymans <wim@fluendo.com>
22346 * gst/base/Makefile.am:
22347 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22348 (gst_basesrc_start):
22349 * gst/base/gstbasesrc.h:
22350 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22351 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22352 (gst_pushsrc_init), (gst_pushsrc_create):
22353 * gst/base/gstpushsrc.h:
22354 Added is_seekable to BaseSrc
22355 Added simple PushSrc.
22357 2005-05-11 Wim Taymans <wim@fluendo.com>
22359 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22360 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22361 (gst_element_link_pads), (gst_element_query_position),
22362 (gst_element_query_convert), (intersect_caps_func),
22363 (gst_pad_query_position), (gst_pad_query_convert):
22364 Fix refcounting in utils function.
22365 No point in trying to activate a pad when it's added, it could
22366 be added from the state change function and then we deadlock, the
22367 element has to decide what to do.
22369 2005-05-10 Andy Wingo <wingo@pobox.com>
22371 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22372 *all* the arguments.
22374 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22375 stream lock if it's a FLUSH_DONE; normal flushes don't get the
22376 lock (according to the docs -- if this is wrong change the docs).
22378 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22379 flush messages in the NULL state.
22381 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22382 message immediately and return.
22383 (gst_bus_set_flushing): New function. If a bus is flushing, it
22384 flushes out any queued messages and immediately unrefs new
22385 messages. This is so when an element goes to NULL, all of the
22386 unhandled messages coming from it can be freed, and their
22387 references to the element dropped. In other words: message source
22388 ref considered harmful :P
22390 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22391 we're finished with it.
22393 * gst/gstmessage.c (gst_message_new_state_changed):
22395 2005-05-10 Wim Taymans <wim@fluendo.com>
22397 * gst/gstvalue.c: (gst_value_compare_flags),
22398 (gst_value_serialize_flags), (gst_value_deserialize_flags),
22399 (_gst_value_initialize):
22400 Added flags serialize/deserialize/compare code.
22402 2005-05-09 Andy Wingo <wingo@pobox.com>
22404 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
22405 Intersect the peer's caps with our caps.
22407 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22409 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22410 * gst/elements/gsttypefindelement.c: (find_peek):
22411 Handle negative offsets better. Fixes decodebin.
22413 2005-05-09 Wim Taymans <wim@fluendo.com>
22415 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
22416 (gst_base_transform_event):
22417 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
22418 Implement accept_caps.
22419 Fix silly lock/unlock mismatch in base class.
22421 2005-05-09 Wim Taymans <wim@fluendo.com>
22423 * docs/design/draft-push-pull.txt:
22424 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
22425 * gst/elements/gstfilesink.c: (gst_filesink_init),
22426 (gst_filesink_query):
22427 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22428 (gst_type_find_handle_src_query), (find_element_get_length):
22429 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
22430 * gst/gstelement.h:
22431 * gst/gstmessage.c:
22432 * gst/gstmessage.h:
22433 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
22434 (gst_real_pad_get_caps_unlocked),
22435 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
22436 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22437 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
22438 (gst_real_pad_dispose), (gst_real_pad_finalize),
22439 (gst_pad_load_and_link), (gst_pad_save_thyself),
22440 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
22441 (gst_pad_check_pull_range), (gst_pad_pull_range),
22442 (gst_pad_template_get_type), (gst_pad_template_class_init),
22443 (gst_pad_template_init), (gst_pad_template_dispose),
22444 (name_is_valid), (gst_static_pad_template_get),
22445 (gst_pad_template_new), (gst_static_pad_template_get_caps),
22446 (gst_pad_template_get_caps), (gst_pad_set_element_private),
22447 (gst_pad_get_element_private), (gst_pad_start_task),
22448 (gst_pad_pause_task), (gst_pad_stop_task),
22449 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
22450 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
22451 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
22452 (gst_ghost_pad_new):
22454 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
22455 (gst_query_new_position), (gst_query_set_position),
22456 (gst_query_parse_position), (gst_query_new_convert),
22457 (gst_query_set_convert), (gst_query_parse_convert):
22459 * gst/gstqueryutils.c:
22460 * gst/gstqueryutils.h:
22461 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22462 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22463 (gst_queue_handle_src_query):
22464 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22465 (gst_element_query_position), (gst_element_query_convert),
22466 (intersect_caps_func), (gst_pad_query_position),
22467 (gst_pad_query_convert):
22469 * tools/gst-inspect.c: (print_pad_info):
22470 * tools/gst-xmlinspect.c: (print_element_info):
22471 Remove old query functions. Ported old code.
22472 Added position/convert helper functions to gstutils.
22473 Reordered gstpad.c code, grouping relevant things.
22474 Remove gst_message_new(), always need to speficy a specific
22478 2005-05-09 Andy Wingo <wingo@pobox.com>
22480 * gst/gstiterator.h: Add some includes.
22482 * gst/gstqueryutils.h: Include more headers.
22485 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
22486 some uses of gst_pad_query.
22488 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
22489 NULL out parameters.
22490 (gst_query_new_position): New proc, allocates a new position
22493 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
22494 gstqueryutils.c to the build.
22496 * gst/gststructure.c (gst_structure_set_valist): Implement with
22497 the generic G_VALUE_COLLECT.
22499 2005-05-08 Edward Hervey <bilboed@bilboed.com>
22501 * gst/Makefile.am: (gst_headers):
22502 Added gstqueryutils.h to the list of headers to install, that was
22503 a 'nachty' move wingo :)
22505 2005-05-06 Andy Wingo <wingo@pobox.com>
22508 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
22509 GstData, init a memchunk.
22510 (standard_definitions): Add a few query types, deprecate a few.
22511 (gst_query_get_type): New proc.
22512 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
22514 (gst_query_new_application, gst_query_get_structure): New public
22517 * docs/design/draft-query.txt: Removed LINKS from the query types,
22518 because all the rest can be dispatched to other pads -- seemed
22519 ugly to have a query that couldn't be dispatched. internal_links
22520 is fine as a pad method.
22522 * gst/gstpad.h: Add query2 as a pad method, add the new functions
22523 in gstpad.c, but maintain binary compatibility for the moment.
22524 Will fix before 0.9 is out.
22526 * gst/gstqueryutils.c:
22527 * gst/gstqueryutils.h: New files, implement 3 methods for each
22528 query type: parse_query, parse_response, and set. Probably need an
22531 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
22533 * gst/elements/gstfilesink.c (gst_filesink_query2):
22534 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
22535 query_types, and formats methods.
22537 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
22538 (gst_pad_set_query2_function): New functions.
22539 (gst_real_pad_init): Set query2_default as the default query2
22540 function. Basically just dispatches to internally linked pads.
22544 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
22545 without using the atomic operations. Only one thread can possibly
22546 be accessing the data at this point. Changed so as to avoid
22547 gst_atomic operations.
22549 2005-05-06 Wim Taymans <wim@fluendo.com>
22551 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
22552 Also set caps if we use the fallback buffer alloc.
22554 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
22556 * docs/gst/Makefile.am:
22557 * docs/gst/gstreamer-docs.sgml:
22558 * docs/gst/gstreamer-sections.txt:
22559 * docs/gst/tmpl/gstatomic.sgml:
22560 * docs/gst/tmpl/gstmemchunk.sgml:
22561 * testsuite/elements/struct_i386.h:
22562 * win32/GStreamer.vcproj:
22564 Purge GstAtomic stuff from docs and win32 makefiles as well
22566 2005-05-06 Wim Taymans <wim@fluendo.com>
22568 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
22569 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
22570 * gst/gstpad.c: (gst_pad_peer_get_caps):
22571 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22572 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22573 (gst_queue_src_activate), (gst_queue_change_state):
22575 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22576 (intersect_caps_func):
22577 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
22578 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
22579 Some fixes for the peer_get_caps() change.
22581 2005-05-06 Wim Taymans <wim@fluendo.com>
22583 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22584 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
22585 (gst_basesink_activate):
22586 Actually do something with error codes returned from the push
22589 2005-05-06 Wim Taymans <wim@fluendo.com>
22591 * docs/design/part-element-sink.txt:
22592 * docs/design/part-element-source.txt:
22593 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22594 (gst_basesink_event), (gst_basesink_activate):
22595 * gst/base/gstbasesink.h:
22596 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
22597 (gst_basesrc_activate):
22598 * gst/base/gstbasesrc.h:
22599 * gst/gstelement.c: (gst_element_pads_activate):
22600 Some more documentation.
22601 Fixed scheduling decision in _pads_activate().
22603 2005-05-05 Andy Wingo <wingo@pobox.com>
22605 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
22608 2005-05-05 Wim Taymans <wim@fluendo.com>
22610 * gst/base/Makefile.am:
22611 * gst/base/gstbasesink.h:
22612 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22613 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
22614 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
22615 (gst_collectpads_class_init), (gst_collectpads_init),
22616 (gst_collectpads_finalize), (gst_collectpads_new),
22617 (gst_collectpads_set_function), (gst_collectpads_add_pad),
22618 (find_pad), (gst_collectpads_remove_pad),
22619 (gst_collectpads_is_active), (gst_collectpads_collect),
22620 (gst_collectpads_collect_range), (gst_collectpads_start),
22621 (gst_collectpads_stop), (gst_collectpads_peek),
22622 (gst_collectpads_pop), (gst_collectpads_available),
22623 (gst_collectpads_read), (gst_collectpads_flush),
22624 (gst_collectpads_chain):
22625 * gst/base/gstcollectpads.h:
22626 * gst/elements/Makefile.am:
22627 * gst/elements/gstelements.c:
22628 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22629 (gst_fakesink_get_times), (gst_fakesink_event),
22630 (gst_fakesink_preroll), (gst_fakesink_render):
22631 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22632 (gst_filesink_init), (gst_filesink_set_location),
22633 (gst_filesink_open_file), (gst_filesink_close_file),
22634 (gst_filesink_pad_query), (gst_filesink_event),
22635 (gst_filesink_render), (gst_filesink_change_state):
22636 * gst/elements/gstfilesink.h:
22637 Added object to help in making collect pad based elements.
22639 Make event function in sink baseclass return gboolean.
22641 2005-05-05 Wim Taymans <wim@fluendo.com>
22643 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
22644 (gst_bin_get_by_name):
22646 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
22647 (gst_clock_finalize):
22648 * gst/gstdata.c: (gst_data_replace):
22650 * gst/gstelement.c: (gst_element_request_pad),
22651 (gst_element_pads_activate):
22652 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
22653 (gst_object_unref):
22654 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22655 (gst_pad_set_checkgetrange_function),
22656 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
22657 (gst_pad_check_pull_range), (gst_pad_pull_range),
22658 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22659 (gst_pad_pause_task), (gst_pad_stop_task):
22660 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22661 (gst_element_request_pad), (gst_pad_proxy_getcaps):
22662 Fix name lookup in GstBin.
22663 Added _data_replace() function and _buffer_replace()
22664 Use finalize method to clean up clock.
22665 Fix refcounting on request pads.
22666 Fix pad schedule mode error.
22667 Some more object refcounting debug info,
22670 2005-05-04 Andy Wingo <wingo@pobox.com>
22672 * check/Makefile.am:
22673 * docs/gst/tmpl/gstatomic.sgml:
22674 * docs/gst/tmpl/gstplugin.sgml:
22675 * gst/base/gstbasesink.c: (gst_basesink_activate):
22676 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
22677 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
22678 (gst_basesrc_query), (gst_basesrc_set_property),
22679 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
22680 (gst_basesrc_activate):
22681 * gst/base/gstbasesrc.h:
22682 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
22683 (gst_base_transform_src_activate):
22684 * gst/elements/gstelements.c:
22685 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22686 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22687 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22688 * gst/elements/gsttypefindelement.c: (find_element_get_length),
22689 (gst_type_find_element_checkgetrange),
22690 (gst_type_find_element_activate):
22691 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
22692 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
22693 (gst_caps_load_thyself):
22694 * gst/gstelement.c: (gst_element_pads_activate),
22695 (gst_element_save_thyself), (gst_element_restore_thyself):
22696 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
22697 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
22699 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
22700 (gst_xml_parse_file), (gst_xml_parse_memory),
22701 (gst_xml_get_element), (gst_xml_make_element):
22702 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22703 (_file_index_id_save_xml), (gst_file_index_commit):
22704 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
22705 (read_enum), (load_pad_template), (load_feature), (load_plugin),
22707 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
22708 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
22709 * tools/gst-complete.c: (main):
22710 * tools/gst-compprep.c: (main):
22711 * tools/gst-inspect.c: (print_element_properties_info):
22712 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
22713 * tools/gst-xmlinspect.c: (print_element_properties):
22716 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
22718 * gst/gstplugin.c: (gst_plugin_check_module),
22719 (gst_plugin_check_file), (gst_plugin_load_file):
22720 apply patch from #172526 to make register work on MacOSX
22722 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22724 * docs/gst/tmpl/gstconfig.sgml:
22725 * gst/gstconfig.h.in:
22726 move documentation for some symbols. Add doc for GST_PTR_FORMAT
22727 * testsuite/debug/printf_extension.c: (main):
22728 Do not use GST_PTR_FORMAT on pointers to types with
22729 sizeof < sizeof(gpointer). Fixes test on 64-bit
22730 * testsuite/elements/property.h:
22731 use correct printf format
22733 2005-05-02 Wim Taymans <wim@fluendo.com>
22735 * docs/design/draft-push-pull.txt:
22736 * docs/design/draft-query.txt:
22737 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
22738 (gst_basesrc_start):
22739 Added draft for new query API.
22740 Added draft for better selecting scheduling methods.
22741 Make basesrc ignore length if the subclass does not support
22744 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22747 possible fixes for automake-1.5 - _LIBADD is reserved
22749 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22751 * docs/faq/Makefile.am:
22752 * docs/manual/Makefile.am:
22753 * docs/manuals.mak:
22754 * docs/pwg/Makefile.am:
22756 possible fixes for automake-1.5
22758 2005-04-28 Wim Taymans <wim@fluendo.com>
22760 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22761 (gst_basesink_pad_getcaps), (gst_basesink_init),
22762 (gst_basesink_do_sync):
22763 * gst/gstclock.c: (gst_clock_entry_new):
22764 * gst/gstevent.c: (gst_event_discont_get_value):
22765 * gst/gstpipeline.c: (pipeline_bus_handler),
22766 (gst_pipeline_change_state):
22767 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22768 Better debugging of clocking info.
22769 Allow NULL values when getting discont values.
22771 2005-04-27 Wim Taymans <wim@fluendo.com>
22773 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22774 * check/gst/gstpad.c: (gst_pad_suite):
22775 Increase timeout for checks.
22777 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22779 * check/Makefile.am:
22780 fix the broken rule for cleanup. Apparently this rule is
22781 only needed on FC2, so maybe this warrants further autotool
22784 2005-04-26 Wim Taymans <wim@fluendo.com>
22786 * gst/gsttrashstack.h:
22787 Ooohh. a nasty one! After having a failed pop() from the stack,
22788 it's possible that the stack is empty. In that case, don't
22789 follow the NULL pointer.
22791 2005-04-25 Wim Taymans <wim@fluendo.com>
22793 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22794 (gst_pad_set_checkgetrange_function),
22795 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22796 (gst_pad_check_pull_range), (gst_pad_pull_range),
22797 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22798 (gst_pad_pause_task), (gst_pad_stop_task):
22799 * gst/gstplugin.c: (gst_plugin_load):
22801 Remove gst_library_load as it does more harm than good with
22802 the new g_module flags.
22803 Revert bogus caps template check in pad linking, pad caps
22804 are important when linking not the template, which is more
22805 general than the current caps.
22807 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22809 * gst/autoplug/.cvsignore:
22810 * gst/autoplug/Makefile.am:
22811 * gst/autoplug/gstsearchfuncs.c:
22812 * gst/autoplug/gstsearchfuncs.h:
22813 * gst/autoplug/gstspider.c:
22814 * gst/autoplug/gstspider.h:
22815 * gst/autoplug/gstspideridentity.c:
22816 * gst/autoplug/gstspideridentity.h:
22817 * gst/autoplug/spidertest.c:
22820 2005-04-25 Wim Taymans <wim@fluendo.com>
22822 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22823 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22824 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22825 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22827 Added stubs for unimplemented functions.
22829 2005-04-24 David Schleef <ds@schleef.org>
22831 * gst/gstpad.h: Disable some unimplemented functions. Wim,
22834 2005-04-24 David Schleef <ds@schleef.org>
22836 Convert everything from GstAtomicInt to g_atomic_int_*, and
22841 * gst/gstatomic_impl.h:
22849 * gst/gstdata_private.h:
22853 * gst/gstmessage.c:
22856 * gst/gststructure.c:
22857 * gst/gststructure.h:
22858 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22861 2005-04-24 David Schleef <ds@schleef.org>
22863 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22864 make the regressions tests work. Remove some code that is no
22866 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22867 Disable warning for pads without templates.
22869 2005-04-24 David Schleef <ds@schleef.org>
22871 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
22872 functions that handle filtered links.
22873 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22875 * gst/gstutils.c: Fix/remove utility functions that handle
22878 * gst/gstvalue.c: Add serialization/deserialization of caps
22879 * gst/parse/grammar.y: Ignore filtered caps when linking. This
22880 requires fixing so that the filter caps notation creates
22881 a capsfilter element and sets the filter_caps property. I
22882 think everyone probably wants to keep the shorthand notation.
22883 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22884 * docs/gst/tmpl/gstpad.sgml:
22886 * gst/elements/gstelements.c: Register capsfilter element.
22887 * gst/Makefile.am: fix spacing
22888 * docs/random/ds/0.9-suggested-changes: random
22890 2005-04-23 David Schleef <ds@schleef.org>
22892 * gst/elements/Makefile.am:
22893 * gst/elements/gstcapsfilter.c: New element that acts like an
22894 identity, but filters caps. Will eventually replace filtered
22895 caps in pad linking.
22896 * gst/gstutils.c: (gst_element_create_all_pads): New function
22897 to create all the ALWAYS pads that are registered with an
22898 element class. This functionality should eventually be
22899 merged in with GstElement initialization.
22901 * testsuite/trigger/README: part of trigger test code that should
22902 have been checked in a long time ago.
22904 2005-04-23 David Schleef <ds@schleef.org>
22906 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
22907 needed with new versions of libtool (nobody will confirm this),
22908 and hard to carry around.
22909 * gst/autoplug/Makefile.am:
22910 * gst/base/Makefile.am:
22911 * gst/elements/Makefile.am:
22912 * gst/indexers/Makefile.am:
22913 * gst/schedulers/Makefile.am:
22914 * libs/gst/bytestream/Makefile.am:
22915 * libs/gst/control/Makefile.am:
22916 * libs/gst/dataprotocol/Makefile.am:
22917 * libs/gst/getbits/Makefile.am:
22919 2005-04-21 Wim Taymans <wim@fluendo.com>
22921 * docs/design/draft-push-pull.txt:
22922 * docs/design/part-MT-refcounting.txt:
22923 * docs/design/part-TODO.txt:
22924 * docs/design/part-caps.txt:
22925 * docs/design/part-events.txt:
22926 * docs/design/part-gstbus.txt:
22927 * docs/design/part-gstpipeline.txt:
22928 * docs/design/part-messages.txt:
22929 * docs/design/part-push-pull.txt:
22930 * docs/design/part-query.txt:
22933 2005-04-21 Wim Taymans <wim@fluendo.com>
22935 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22936 (gst_message_new), (gst_message_new_error),
22937 (gst_message_new_warning), (gst_message_new_tag),
22938 (gst_message_new_state_changed), (gst_message_new_application),
22939 (gst_message_get_structure):
22940 * gst/gstmessage.h:
22941 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22942 (gst_structure_copy_conditional):
22943 Use parent refcount in GstMessage to ensure GstStructure
22945 Cleaned up headers a bit.
22948 2005-04-20 Wim Taymans <wim@fluendo.com>
22950 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22951 (gst_basesink_pad_getcaps), (gst_basesink_init),
22952 (gst_basesink_chain_unlocked):
22953 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22954 (gst_type_find_helper):
22955 * gst/elements/gsttypefindelement.c:
22956 (gst_type_find_element_have_type), (gst_type_find_element_init),
22957 (stop_typefinding), (gst_type_find_element_handle_event),
22958 (find_suggest), (gst_type_find_element_chain),
22959 (gst_type_find_element_checkgetrange),
22960 (gst_type_find_element_getrange), (do_typefind),
22961 (gst_type_find_element_activate):
22962 * gst/gstbuffer.c: (_gst_buffer_sub_free),
22963 (gst_buffer_default_free), (gst_buffer_default_copy),
22964 (gst_buffer_set_caps):
22965 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22966 (gst_caps_replace):
22967 * gst/gstmessage.c: (gst_message_new),
22968 (gst_message_new_state_changed):
22969 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22970 (gst_pad_set_checkgetrange_function),
22971 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22972 (gst_pad_set_caps), (gst_pad_check_pull_range),
22973 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22975 * gst/gsttypefind.c: (gst_type_find_register):
22976 Make gst_caps_replace() work like other _replace() functions.
22977 Use _caps_replace() where possible.
22978 Make sure _message_new() initialises its field.
22979 Add gst_static_pad_template_get_caps()
22982 2005-04-18 Andy Wingo <wingo@pobox.com>
22984 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22985 on the peer, not the pad. I think that was a typo. Pass an extra
22986 arg to see if random access is possible. Activate the pads as
22987 PULL_RANGE if possible.
22989 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22991 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
22992 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22995 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22997 * docs/faq/using.xml:
22998 Add note on gstreamer-properties (#154996).
23000 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23002 * docs/random/bbb/optional-properties:
23003 Some analysis on optional properties.
23005 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23007 * docs/gst/tmpl/gstelementfactory.sgml:
23008 * gst/gstelement.h:
23009 * gst/gstelementfactory.c: (gst_element_factory_init),
23010 (gst_element_factory_cleanup), (gst_element_register),
23011 (__gst_element_factory_add_static_pad_template),
23012 (gst_element_factory_get_static_pad_templates),
23013 (gst_element_factory_can_src_caps),
23014 (gst_element_factory_can_sink_caps):
23015 * gst/registries/Makefile.am:
23016 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23017 (gst_xml_registry_class_init), (gst_xml_registry_init),
23018 (gst_xml_registry_new), (gst_xml_registry_set_property),
23019 (gst_xml_registry_get_property), (get_time), (make_dir),
23020 (gst_xml_registry_get_perms_func),
23021 (plugin_times_older_than_recurse), (plugin_times_older_than),
23022 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23023 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23024 (add_to_char_array), (read_string), (read_uint), (read_enum),
23025 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23026 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23027 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23028 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23029 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23030 (gst_xml_registry_rebuild):
23031 * gst/registries/gstlibxmlregistry.h:
23032 * tools/gst-compprep.c: (main):
23033 * tools/gst-inspect.c: (print_pad_templates_info):
23034 * tools/gst-xmlinspect.c: (print_element_info):
23035 Use libxml2 for registry parsing, use staticpadtemplates in
23036 elementfactories. Makes gst_init() +/- 10x faster.
23038 2005-04-12 Wim Taymans <wim@fluendo.com>
23040 * gst/base/Makefile.am:
23041 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23042 (gst_basesink_pad_getcaps), (gst_basesink_init),
23043 (gst_basesink_event), (gst_basesink_change_state):
23044 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23045 (gst_basesrc_init), (gst_basesrc_query),
23046 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23047 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23048 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23049 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23050 (gst_basesrc_stop), (gst_basesrc_activate),
23051 (gst_basesrc_change_state):
23052 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23053 (helper_find_suggest), (gst_type_find_helper):
23054 * gst/base/gsttypefindhelper.h:
23055 * gst/elements/Makefile.am:
23056 * gst/elements/gstelements.c:
23057 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23058 (gst_fakesink_get_times), (gst_fakesink_event),
23059 (gst_fakesink_preroll), (gst_fakesink_render):
23060 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23061 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23062 (gst_fakesrc_get_property), (gst_fakesrc_create),
23063 (gst_fakesrc_start), (gst_fakesrc_stop):
23064 * gst/elements/gstfakesrc.h:
23065 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23066 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23067 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23068 (gst_filesrc_create_read), (gst_filesrc_create),
23069 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23070 (gst_filesrc_start):
23071 * gst/elements/gsttypefindelement.c:
23072 (gst_type_find_element_have_type), (gst_type_find_element_init),
23073 (start_typefinding), (stop_typefinding), (push_buffer_store),
23074 (gst_type_find_element_handle_event),
23075 (gst_type_find_element_chain),
23076 (gst_type_find_element_checkgetrange),
23077 (gst_type_find_element_getrange), (do_typefind),
23078 (gst_type_find_element_activate),
23079 (gst_type_find_element_change_state):
23080 * gst/elements/gsttypefindelement.h:
23081 * gst/gstpipeline.c: (pipeline_bus_handler):
23082 Added typefind helper.
23083 Small preroll fix in the base sink.
23084 Disable typefind code in basesrc.
23085 Crude port of typefindelement.
23089 2005-04-11 Wim Taymans <wim@fluendo.com>
23091 * check/gst/gstbus.c: (gstbus_suite):
23092 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23093 * check/gstcheck.h:
23094 Fix up the timeout so that the test does not fail.
23096 2005-04-06 Wim Taymans <wim@fluendo.com>
23099 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23100 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23101 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23102 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23103 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23104 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23105 (gst_basesrc_stop), (gst_basesrc_activate),
23106 (gst_basesrc_change_state), (basesrc_find_peek),
23107 (basesrc_find_suggest), (gst_basesrc_type_find):
23108 * gst/base/gstbasesrc.h:
23109 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23110 (gst_filesrc_class_init), (gst_filesrc_init),
23111 (gst_filesrc_finalize), (gst_filesrc_set_location),
23112 (gst_filesrc_set_property), (gst_filesrc_get_property),
23113 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23114 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23115 (gst_filesrc_create_read), (gst_filesrc_create),
23116 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23117 * gst/elements/gstfilesrc.h:
23118 * gst/gstelement.c: (gst_element_get_state_func),
23119 (gst_element_lost_state), (gst_element_pads_activate):
23120 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23121 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23122 (gst_pad_pull_range):
23124 More work on the generic source base class, implement seeking,
23126 Make filesrc extend the base source class.
23127 Added gst_pad_set_checkgetrange_function to GstPad.
23129 2005-04-06 Andy Wingo <wingo@pobox.com>
23131 * pkgconfig/gstreamer-base.pc.in:
23132 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23134 * pkgconfig/Makefile.am:
23135 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23137 2005-04-04 Wim Taymans <wim@fluendo.com>
23139 * gst/base/Makefile.am:
23141 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23142 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23143 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23144 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23145 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23146 (gst_basesrc_base_init), (gst_basesrc_class_init),
23147 (gst_basesrc_init), (gst_basesrc_get_formats),
23148 (gst_basesrc_get_query_types), (gst_basesrc_query),
23149 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23150 (gst_basesrc_set_property), (gst_basesrc_get_property),
23151 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23152 (gst_basesrc_loop), (gst_basesrc_activate),
23153 (gst_basesrc_change_state):
23154 * gst/base/gstbasesrc.h:
23155 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23156 (gst_fakesrc_class_init), (gst_fakesrc_init),
23157 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23158 (gst_fakesrc_get_property), (gst_fakesrc_create):
23159 * gst/elements/gstfakesrc.h:
23160 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23161 (gst_filesrc_open_file), (gst_filesrc_loop),
23162 (gst_filesrc_activate), (filesrc_find_peek),
23163 (gst_filesrc_type_find):
23164 Made base source class, make fakesrc extend it.
23165 Add comments to basesink class.
23166 Some filesrc cleanup.
23168 2005-03-31 David Schleef <ds@schleef.org>
23170 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23171 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23172 expected to link against libgstreamer.
23173 * gst/base/Makefile.am: link against libgstreamer
23174 * gst/elements/Makefile.am: same
23176 2005-03-31 Andy Wingo <wingo@pobox.com>
23178 * tests/instantiate/Makefile.am:
23179 * tests/instantiate/caps.c: Add test to test speed of caps copy
23182 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23183 GMemChunk to be fair.
23185 * gst/gsttrashstack.h: Remove warning about using the fallback
23186 trash stack implementation, it's still faster than malloc.
23188 2005-03-30 Andy Wingo <wingo@pobox.com>
23190 * tests/complexity.c: Add a copyright.
23192 2005-03-31 Wim Taymans <wim@fluendo.com>
23194 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23195 (gst_base_transform_class_init), (gst_base_transform_init),
23196 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23197 (gst_base_transform_get_property),
23198 (gst_base_transform_sink_activate),
23199 (gst_base_transform_src_activate),
23200 (gst_base_transform_change_state):
23201 * gst/base/gstbasetransform.h:
23202 * gst/elements/gstidentity.c: (gst_identity_class_init),
23203 (gst_identity_event), (gst_identity_check_perfect),
23204 (gst_identity_transform), (gst_identity_start),
23205 (gst_identity_stop):
23206 Added start/stop methods to transform base class so subclasses
23207 don't need to deal with state changes even.
23209 2005-03-31 Wim Taymans <wim@fluendo.com>
23211 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23212 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23214 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23215 (gst_pad_pull_range):
23216 Added rate to the discont event to prepare for variable speed
23217 and reverse playback.
23219 2005-03-29 David Schleef <ds@schleef.org>
23222 * testsuite/trigger/Makefile.am:
23223 * testsuite/trigger/trigger.c: A little example program to show
23224 how trigger-based elements can work.
23226 2005-03-29 Wim Taymans <wim@fluendo.com>
23228 * gst/base/Makefile.am:
23230 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23231 (gst_basesink_base_init), (gst_basesink_class_init),
23232 (gst_basesink_pad_getcaps), (gst_basesink_init),
23233 (gst_basesink_activate), (gst_basesink_change_state):
23234 * gst/base/gstbasesink.h:
23235 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23236 (gst_base_transform_base_init), (gst_base_transform_finalize),
23237 (gst_base_transform_class_init), (gst_base_transform_init),
23238 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23239 (gst_base_transform_event), (gst_base_transform_getrange),
23240 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23241 (gst_base_transform_set_property),
23242 (gst_base_transform_get_property),
23243 (gst_base_transform_sink_activate),
23244 (gst_base_transform_src_activate),
23245 (gst_base_transform_change_state):
23246 * gst/base/gstbasetransform.h:
23247 * gst/elements/gstidentity.c: (gst_identity_finalize),
23248 (gst_identity_class_init), (gst_identity_init),
23249 (gst_identity_event), (gst_identity_check_perfect),
23250 (gst_identity_transform), (gst_identity_set_property),
23251 (gst_identity_get_property), (gst_identity_change_state):
23252 * gst/elements/gstidentity.h:
23253 * gst/gstelement.c: (gst_element_get_state_func),
23254 (gst_element_lost_state), (gst_element_pads_activate):
23255 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23256 (gst_pad_check_pull_range), (gst_pad_pull_range):
23258 Simplify pad activation.
23259 Added function to check if pull_range can be performed.
23260 Error out when pulling inactive or flushing pads.
23261 Removed const from refcounted types as it does not make sense.
23262 Simplify pad templates in basesink
23263 Added base class for simple 1-to-1 transforms.
23264 Make identity subclass the base transform.
23266 2005-03-29 Andy Wingo <wingo@pobox.com>
23268 * docs/libs/gstreamer-libs-overrides.txt:
23269 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23270 really don't understand what's going on, but like whatever. I want
23273 * docs/gst/Makefile.am:
23274 * docs/libs/Makefile.am: Dist the overrides files.
23276 * check/Makefile.am (clean-local): Remove .libs directories.
23278 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23279 elements to EXTRA_DIST, so po/ files are happy.
23281 * po/POTFILES.in: Er, remove it here.
23283 * po/POTFILES: Remove gstspider.c.
23285 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23287 * docs/libs/gstreamer-libs-docs.sgml:
23288 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23291 * tests/complexity.c (main): Set the length of the preroll queue
23292 on the sinks to prevent a lockup.
23294 * libs/gst/dataprotocol/Makefile.am:
23295 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23296 the same as the one in check/gst-libs/gdp.c.
23298 * po/, docs/gst/: Commit automatic changes to docs and po files.
23300 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23301 the versioned libgstbase.
23303 * check/Makefile.am: Depend on an unversioned gst-register, seems
23304 to make autoconf happier.
23306 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23308 2005-03-28 Wim Taymans <wim@fluendo.com>
23311 * docs/design/part-gstelement.txt:
23312 * docs/design/part-negotiation.txt:
23313 * docs/design/part-preroll.txt:
23314 * docs/design/part-scheduling.txt:
23315 * docs/design/part-states.txt:
23317 * gst/base/Makefile.am:
23319 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23320 (gst_basesink_base_init), (gst_basesink_class_init),
23321 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23322 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23323 (gst_basesink_set_pad_functions),
23324 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23325 (gst_basesink_set_property), (gst_basesink_get_property),
23326 (gst_base_sink_get_template), (gst_base_sink_get_caps),
23327 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23328 (gst_basesink_preroll_queue_push),
23329 (gst_basesink_preroll_queue_empty),
23330 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23331 (gst_basesink_event), (gst_basesink_get_times),
23332 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23333 (gst_basesink_chain_unlocked), (gst_basesink_chain),
23334 (gst_basesink_loop), (gst_basesink_activate),
23335 (gst_basesink_change_state):
23336 * gst/base/gstbasesink.h:
23337 * gst/elements/Makefile.am:
23338 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23339 (gst_fakesink_class_init), (gst_fakesink_init),
23340 (gst_fakesink_set_property), (gst_fakesink_get_property),
23341 (gst_fakesink_get_times), (gst_fakesink_event),
23342 (gst_fakesink_preroll), (gst_fakesink_render),
23343 (gst_fakesink_change_state):
23344 * gst/elements/gstfakesink.h:
23345 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23346 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23347 * gst/gstelement.c: (gst_element_add_pad),
23348 (gst_element_get_state_func), (gst_element_abort_state),
23349 (gst_element_commit_state), (gst_element_lost_state),
23350 (gst_element_set_state), (gst_element_pads_activate):
23351 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23352 * gst/gstpipeline.c: (gst_pipeline_send_event),
23353 (gst_pipeline_change_state):
23354 Added state change code.
23355 Added/updated docs.
23356 Added sink base class, make fakesink extend the base class.
23357 Small cleanups in GstPipeline.
23359 2005-03-26 David Schleef <ds@schleef.org>
23361 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
23362 is broken and should be implemented in a different library.
23363 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23364 * gst/gst.h: remove gstcpu.h
23365 * gst/gstcpu.c: remove
23366 * gst/gstcpu.h: remove
23367 * gst/Makefile.am.future: Remove this file. It's ancient.
23369 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23371 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23372 (gst_bin_send_event):
23373 Add default event/set_manager handlers. The set_manager handler
23374 takes care that the manager is distributed over kids that were
23375 already in the bin before the manager was set. The event handler
23376 is a utility virtual function that sends the event over all sinks,
23377 so that gst_element_send_event (bin, event); has the expected
23379 * gst/gstpad.c: (gst_pad_event_default):
23380 Re-install default event handling for discontinuities, so that
23381 seeking works without requiring hacks in applications or extra
23383 * gst/gstpipeline.c: (gst_pipeline_class_init),
23384 (gst_pipeline_send_event):
23385 Half hack, half utility: set a pipeline to PAUSED for seek events,
23386 since that is the only way we can guarantee a/v sync. Means that
23387 you can do gst_element_seek (pipeline, method, pos); on a pipeline
23388 and it "just works".
23390 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23392 * gst/gstpipeline.c: (gst_pipeline_use_clock):
23393 Lock/unlock mismatch.
23395 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
23397 * docs/faq/gst-uninstalled:
23398 add gst-plugins-base
23399 * docs/gst/Makefile.am:
23400 don't error out until docs are fixed
23401 * docs/gst/gstreamer.types:
23404 2005-03-22 Wim Taymans <wim@fluendo.com>
23406 * check/Makefile.am:
23407 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
23408 * gst/gststructure.c: (gst_structure_set_valist),
23409 (gst_structure_copy_conditional):
23410 Activated more tests.
23411 Added message test.
23412 Added G_TYPE_POINTER to GstStructure.
23415 2005-03-22 Wim Taymans <wim@fluendo.com>
23417 * docs/design/part-TODO.txt:
23418 * docs/design/part-events.txt:
23419 * docs/design/part-gstbin.txt:
23420 * docs/design/part-gstbus.txt:
23421 * docs/design/part-gstpipeline.txt:
23422 * docs/design/part-messages.txt:
23424 * gst/gstmessage.c:
23427 2005-03-21 Wim Taymans <wim@fluendo.com>
23429 * gst/gstbus.c: (gst_bus_post):
23430 Fix copy-and-paste error.
23432 2005-03-21 Wim Taymans <wim@fluendo.com>
23434 * check/Makefile.am:
23436 * gst/elements/Makefile.am:
23437 * gst/elements/gstelements.c:
23438 * gst/elements/gstfakesink.c: (gst_fakesink_init),
23439 (gst_fakesink_event), (gst_fakesink_chain):
23440 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23441 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
23442 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
23443 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
23444 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23445 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
23446 (gst_fakesrc_loop), (gst_fakesrc_activate),
23447 (gst_fakesrc_change_state):
23448 * gst/elements/gstfakesrc.h:
23449 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
23450 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
23451 (gst_filesrc_open_file), (gst_filesrc_loop),
23452 (gst_filesrc_activate), (gst_filesrc_change_state),
23453 (filesrc_find_peek), (filesrc_find_suggest),
23454 (gst_filesrc_type_find):
23455 * gst/elements/gstidentity.c: (gst_identity_finalize),
23456 (gst_identity_class_init), (gst_identity_init),
23457 (gst_identity_proxy_getcaps), (identity_queue_push),
23458 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
23459 (gst_identity_getrange), (gst_identity_chain),
23460 (gst_identity_sink_loop), (gst_identity_src_loop),
23461 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
23462 (gst_identity_set_property), (gst_identity_get_property),
23463 (gst_identity_change_state):
23464 * gst/elements/gstidentity.h:
23465 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
23466 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
23467 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
23468 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
23469 (gst_tee_sink_activate):
23470 * gst/elements/gsttee.h:
23471 * gst/gst.c: (gst_register_core_elements), (init_post):
23473 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
23474 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
23475 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
23476 (gst_bin_change_state):
23478 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
23479 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
23480 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
23481 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
23482 (gst_bus_set_sync_handler), (gst_bus_create_watch),
23483 (bus_watch_callback), (bus_watch_destroy),
23484 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
23485 (poll_timeout), (gst_bus_poll):
23489 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23490 (gst_element_post_message), (gst_element_message_full),
23491 (gst_element_get_state_func), (gst_element_get_state),
23492 (gst_element_abort_state), (gst_element_commit_state),
23493 (gst_element_lost_state), (gst_element_set_state),
23494 (gst_element_pads_activate), (gst_element_change_state),
23495 (gst_element_dispose), (gst_element_set_manager_func),
23496 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
23497 (gst_element_set_manager), (gst_element_get_manager),
23498 (gst_element_set_bus), (gst_element_get_bus),
23499 (gst_element_set_scheduler), (gst_element_get_scheduler):
23500 * gst/gstelement.h:
23501 * gst/gstevent.c: (gst_event_new_segment_seek),
23502 (gst_event_new_flush):
23504 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
23505 (_gst_message_free), (gst_message_get_type), (gst_message_new),
23506 (gst_message_new_eos), (gst_message_new_error),
23507 (gst_message_new_warning), (gst_message_new_tag),
23508 (gst_message_new_state_changed), (gst_message_new_application),
23509 (gst_message_get_structure), (gst_message_parse_tag),
23510 (gst_message_parse_state_changed), (gst_message_parse_error),
23511 (gst_message_parse_warning):
23512 * gst/gstmessage.h:
23513 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
23514 (gst_real_pad_set_property), (gst_pad_set_active),
23515 (gst_pad_is_active), (gst_pad_set_blocked_async),
23516 (gst_pad_set_blocked), (gst_pad_is_blocked),
23517 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
23518 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
23519 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
23520 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
23521 (gst_pad_link_filtered), (gst_pad_relink_filtered),
23522 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
23523 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
23524 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
23525 (gst_pad_set_caps), (gst_pad_configure_sink),
23526 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
23527 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
23528 (gst_real_pad_dispose), (gst_real_pad_finalize),
23529 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
23530 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23531 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
23533 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
23534 (pipeline_bus_handler), (gst_pipeline_change_state),
23535 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
23536 * gst/gstpipeline.h:
23538 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23539 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
23540 (gst_queue_link_src), (gst_queue_bufferalloc),
23541 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
23542 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
23543 (gst_queue_loop), (gst_queue_handle_src_event),
23544 (gst_queue_handle_src_query), (gst_queue_src_activate),
23545 (gst_queue_change_state):
23547 * gst/gstscheduler.c: (gst_scheduler_init),
23548 (gst_scheduler_dispose), (gst_scheduler_create_task),
23549 (gst_scheduler_factory_create):
23550 * gst/gstscheduler.h:
23551 * gst/gststructure.c: (gst_structure_get_type),
23552 (gst_structure_copy_conditional):
23553 * gst/gststructure.h:
23554 * gst/gsttaginterface.h:
23555 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23556 (gst_task_init), (gst_task_dispose), (gst_task_create),
23557 (gst_task_get_state), (gst_task_start), (gst_task_stop),
23563 * gst/schedulers/Makefile.am:
23564 * gst/schedulers/cothreads_compat.h:
23565 * gst/schedulers/entryscheduler.c:
23566 * gst/schedulers/faircothreads.c:
23567 * gst/schedulers/faircothreads.h:
23568 * gst/schedulers/fairscheduler.c:
23569 * gst/schedulers/gstbasicscheduler.c:
23570 * gst/schedulers/gstoptimalscheduler.c:
23571 * gst/schedulers/gthread-cothreads.h:
23572 * gst/schedulers/threadscheduler.c:
23573 (gst_thread_scheduler_task_get_type),
23574 (gst_thread_scheduler_task_class_init),
23575 (gst_thread_scheduler_task_init),
23576 (gst_thread_scheduler_task_start),
23577 (gst_thread_scheduler_task_stop),
23578 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
23579 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23580 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
23581 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
23583 * libs/gst/Makefile.am:
23584 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
23585 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
23586 (gst_file_pad_parent_set):
23587 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23588 (gst_dp_event_from_packet):
23589 * tests/complexity.c: (main):
23590 * tests/mass_elements.c: (main):
23591 * testsuite/states/locked.c: (message_received), (main):
23592 * testsuite/states/parent.c: (main):
23593 * tools/gst-inspect.c: (print_element_flag_info),
23594 (print_implementation_info), (print_pad_info):
23595 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
23597 * tools/gst-md5sum.c: (event_loop), (main):
23598 * tools/gst-typefind.c: (main):
23599 * tools/gst-xmlinspect.c: (print_element_info):
23601 Added GstBus for mainloop integration.
23602 Added GstMessage for sending notifications on the bus.
23603 Added GstTask as an abstraction for pipeline entry points.
23605 Removed Schedulers.
23606 Simplified GstQueue for multithreaded core.
23607 Made _link threadsafe, removed old capsnego.
23608 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
23609 Added pad blocking functions.
23610 Reworked scheduling functions in GstPad to prepare for
23611 scheduling updates soon.
23612 Moved events out of data stream.
23613 Simplified GstEvent types.
23614 Added return values to push/pull.
23615 Removed clocking from GstElement.
23616 Added prototypes for state change function for next merge.
23617 Removed iterate from bins and state change management.
23618 Fixed some elements, disabled others for now.
23619 Fixed -inspect and -launch.
23620 Added check for GstBus.
23622 2005-03-10 Wim Taymans <wim@fluendo.com>
23624 * docs/design/part-MT-refcounting.txt:
23625 * docs/design/part-clocks.txt:
23626 * docs/design/part-gstelement.txt:
23627 * docs/design/part-gstobject.txt:
23628 * docs/design/part-standards.txt:
23629 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23630 (gst_bin_remove_func), (gst_bin_remove):
23634 * testsuite/clock/clock1.c: (main):
23635 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
23637 * testsuite/dlopen/loadgst.c: (do_test):
23638 * testsuite/refcounting/bin.c: (add_remove_test1),
23639 (add_remove_test2), (main):
23640 * testsuite/refcounting/element.c: (main):
23641 * testsuite/refcounting/element_pad.c: (main):
23642 * testsuite/refcounting/pad.c: (main):
23643 * tools/gst-launch.c: (sigint_handler_sighandler):
23644 * tools/gst-typefind.c: (main):
23646 Added doc about clock.
23647 removed gst_bin_iterate_recurse_up(), marked methods
23649 Fix more testsuites.
23651 2005-03-09 Wim Taymans <wim@fluendo.com>
23653 * gst/gstpad.c: (gst_pad_get_direction),
23654 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
23655 (gst_pad_collect_valist):
23656 * testsuite/bins/interface.c: (main):
23657 * testsuite/caps/audioscale.c: (test_caps):
23658 * testsuite/caps/caps.c: (test1), (test2), (test3):
23659 * testsuite/caps/deserialize.c: (main):
23660 * testsuite/caps/enumcaps.c: (main):
23661 * testsuite/caps/filtercaps.c: (main):
23662 * testsuite/caps/intersect2.c: (main):
23663 * testsuite/caps/random.c: (main):
23664 * testsuite/caps/renegotiate.c: (my_fixate), (main):
23665 * testsuite/caps/sets.c: (check_caps):
23666 * testsuite/caps/simplify.c: (check_caps), (main):
23667 * testsuite/caps/subtract.c: (check_caps):
23668 Fix _pad_get_direction wrt ghostpads.
23669 Fix caps testsuite.
23671 2005-03-09 Wim Taymans <wim@fluendo.com>
23673 * check/Makefile.am:
23674 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
23675 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
23676 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
23677 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
23678 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
23679 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
23680 (gst_bin_remove), (gst_bin_iterate_recurse_up),
23681 (bin_element_is_sink), (gst_bin_iterate_sinks),
23682 (gst_bin_iterate_all_by_interface):
23684 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
23685 (gst_element_change_state), (gst_element_dispose),
23686 (gst_element_finalize), (gst_element_set_loop_function):
23687 * gst/gstelement.h:
23688 * gst/gstiterator.c: (find_custom_fold_func):
23689 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23690 (gst_pad_collectv), (gst_pad_collect_valist),
23691 (gst_pad_template_new):
23692 * gst/gstpipeline.c: (gst_pipeline_class_init),
23693 (gst_pipeline_dispose), (gst_pipeline_set_property),
23694 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
23695 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
23696 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
23698 * gst/schedulers/entryscheduler.c:
23699 * gst/schedulers/gstbasicscheduler.c:
23700 (gst_basic_scheduler_cothreaded_chain),
23701 (gst_basic_scheduler_chain_add_element):
23702 * testsuite/bins/interface.c: (main):
23704 Added GstSystemClock test.
23705 Implemented clock distribution code in GstBin.
23706 Implemented iterate sinks method for future use.
23707 Rearranged gstelement.h
23708 Fix GstIterator comparison bug.
23709 Moved some code to GstPipeline, mostly clocking related.
23711 2005-03-09 Wim Taymans <wim@fluendo.com>
23714 * gst/gst_private.h:
23715 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23716 (gst_bin_remove_func), (gst_bin_remove),
23717 (gst_bin_get_by_name_recurse_up):
23718 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
23719 (gst_clock_id_compare_func), (gst_clock_id_wait),
23720 (gst_clock_id_wait_async), (gst_clock_init),
23721 (gst_clock_adjust_unlocked), (gst_clock_get_time):
23722 * gst/gstelement.h:
23723 * gst/gstinfo.c: (_gst_debug_init):
23725 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23726 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
23728 Bump version number, we're now 0.9.0
23729 Add future debugging category.
23730 Fix NULL _unref() in _get_by_name_recurse_up
23731 Rearrange gstpad.h.
23734 2005-03-08 Wim Taymans <wim@fluendo.com>
23736 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
23737 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
23738 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23739 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23740 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23741 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23742 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23743 * gst/elements/gstidentity.c: (gst_identity_class_init):
23744 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23745 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23746 * gst/elements/gstshaper.c: (gst_shaper_class_init):
23747 * gst/elements/gststatistics.c: (gst_statistics_class_init):
23748 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23750 * gst/gstelement.c: (gst_element_class_init),
23751 (gst_element_base_class_init), (gst_element_init),
23752 (gst_element_get_random_pad), (gst_element_wait_state_change),
23753 (gst_element_change_state), (gst_element_dispose),
23754 (gst_element_finalize), (gst_element_set_loop_function):
23755 * gst/gstelement.h:
23756 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23757 * gst/gstthread.c: (gst_thread_class_init),
23758 (gst_thread_release_children_locks), (gst_thread_change_state):
23759 * gst/schedulers/gstbasicscheduler.c:
23760 (gst_basic_scheduler_loopfunc_wrapper),
23761 (gst_basic_scheduler_chain_wrapper),
23762 (gst_basic_scheduler_src_wrapper),
23763 (gst_basic_scheduler_remove_element):
23764 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23765 Remove threadsafe properties. Fix elements because GObject
23766 complains when installing a property before declaring a
23767 set/get_property handler.
23768 Rearrange gstelement.h file, use STATE macros for state locks.
23769 Free mutexes in the finalize method instead of dispose.
23771 2005-03-08 Wim Taymans <wim@fluendo.com>
23773 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23774 * gst/gstthread.c: (gst_thread_release_children_locks):
23775 Added parentage check.
23776 Fix build og GstThread again.
23778 2005-03-08 Wim Taymans <wim@fluendo.com>
23780 * docs/design/part-MT-refcounting.txt:
23781 * docs/design/part-conventions.txt:
23782 * docs/design/part-gstobject.txt:
23783 * docs/design/part-relations.txt:
23784 * docs/design/part-standards.txt:
23785 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23786 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23787 (gst_bin_get_by_name), (gst_bin_get_by_interface),
23788 (gst_bin_iterate_all_by_interface):
23791 * gst/gstelement.c: (gst_element_class_init),
23792 (gst_element_change_state), (gst_element_set_loop_function):
23793 * gst/gstelement.h:
23794 * gst/gstiterator.c:
23795 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23796 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23797 (gst_object_dispatch_properties_changed), (gst_object_set_name),
23798 (gst_object_set_parent), (gst_object_unparent),
23799 (gst_object_check_uniqueness):
23801 Docs updates, clean up some headers.
23803 2005-03-07 Wim Taymans <wim@fluendo.com>
23805 * check/.cvsignore:
23806 * check/Makefile.am:
23807 * check/gst-libs/.cvsignore:
23808 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23809 * check/gst/.cvsignore:
23810 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23811 (START_TEST), (gstbus_suite), (main):
23812 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23813 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23814 (gst_data_suite), (main):
23815 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23816 (add_fold_func), (gstiterator_suite), (main):
23817 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23818 (thread_name_object), (thread_name_object_default),
23819 (gst_object_name_compare), (gst_object_suite), (main):
23820 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23821 (gst_pad_suite), (main):
23822 * check/gstcheck.c: (gst_check_log_message_func),
23823 (gst_check_log_critical_func), (gst_check_init):
23824 * check/gstcheck.h:
23825 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23826 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23829 2005-03-07 Wim Taymans <wim@fluendo.com>
23831 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23832 (gst_list_iterator_next), (gst_list_iterator_resync),
23833 (gst_list_iterator_free), (gst_iterator_new_list),
23834 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23835 (gst_iterator_free), (gst_iterator_push), (filter_next),
23836 (filter_resync), (filter_uninit), (filter_free),
23837 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23838 (gst_iterator_foreach), (find_custom_fold_func),
23839 (gst_iterator_find_custom):
23840 * gst/gstiterator.h:
23841 Added missing files.
23843 2005-03-07 Wim Taymans <wim@fluendo.com>
23847 * docs/design/part-MT-refcounting.txt:
23848 * docs/design/part-conventions.txt:
23849 * docs/design/part-gstobject.txt:
23850 * docs/design/part-relations.txt:
23851 * examples/mixer/mixer.c: (main):
23852 * examples/thread/thread.c: (eos), (main):
23854 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23855 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23856 (gst_spider_plug_from_srcpad):
23857 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23858 (gst_spider_identity_change_state),
23859 (gst_spider_identity_sink_loop_type_finding):
23860 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23861 * gst/elements/gstidentity.c: (gst_identity_init):
23862 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23863 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23864 * gst/elements/gsttypefindelement.c: (free_entry):
23867 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23868 (gst_bin_set_clock_func), (gst_bin_auto_clock),
23869 (gst_bin_set_index), (gst_bin_set_element_sched),
23870 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23871 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23872 (gst_bin_iterate_elements), (iterate_child_recurse),
23873 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23874 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23875 (compare_interface), (gst_bin_get_by_interface),
23876 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23878 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23879 (gst_buffer_default_free), (gst_buffer_default_copy),
23880 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23881 (gst_buffer_create_sub):
23883 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23884 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23885 (gst_caps_unref), (gst_static_caps_get),
23886 (gst_caps_remove_and_get_structure), (gst_caps_append),
23887 (gst_caps_append_structure), (gst_caps_remove_structure),
23888 (gst_caps_copy_nth), (gst_caps_set_simple),
23889 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23890 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23891 (gst_caps_structure_intersect_field), (gst_caps_intersect),
23892 (gst_caps_structure_subtract_field), (gst_caps_subtract),
23893 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23894 (gst_caps_structure_figure_out_union),
23895 (gst_caps_switch_structures), (gst_caps_do_simplify),
23896 (gst_caps_replace), (gst_caps_from_string),
23897 (gst_caps_copy_conditional):
23899 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23900 (_gst_clock_id_free), (gst_clock_id_unref),
23901 (gst_clock_id_compare_func), (gst_clock_id_wait),
23902 (gst_clock_id_wait_async), (gst_clock_class_init),
23903 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23904 (gst_clock_get_time), (gst_clock_set_time_adjust),
23905 (gst_clock_set_property), (gst_clock_get_property):
23908 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23909 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23911 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23912 (gst_element_requires_clock), (gst_element_provides_clock),
23913 (gst_element_set_clock), (gst_element_clock_wait),
23914 (gst_element_wait), (gst_element_set_time_delay),
23915 (gst_element_is_indexable), (gst_element_add_pad),
23916 (gst_element_add_ghost_pad), (gst_element_remove_pad),
23917 (pad_compare_name), (gst_element_get_static_pad),
23918 (gst_element_request_pad), (gst_element_get_request_pad),
23919 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23920 (gst_element_class_get_pad_template_list),
23921 (gst_element_class_get_pad_template), (gst_element_error_func),
23922 (gst_element_get_random_pad), (gst_element_get_event_masks),
23923 (gst_element_send_event), (gst_element_seek),
23924 (gst_element_get_query_types), (gst_element_query),
23925 (gst_element_get_formats), (gst_element_convert),
23926 (gst_element_is_locked_state), (gst_element_set_locked_state),
23927 (gst_element_sync_state_with_parent), (gst_element_change_state),
23928 (gst_element_finalize), (gst_element_yield),
23929 (gst_element_interrupt), (gst_element_set_scheduler),
23930 (gst_element_get_scheduler), (gst_element_set_loop_function):
23931 * gst/gstelement.h:
23933 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23934 (gst_format_get_by_nick), (gst_format_get_details),
23935 (gst_format_iterate_definitions):
23937 * gst/gstindex.c: (gst_index_gtype_resolver):
23940 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23941 (gst_mem_chunk_free):
23942 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23943 (gst_object_ref), (gst_object_unref), (gst_object_sink),
23944 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23945 (gst_object_dispatch_properties_changed),
23946 (gst_object_set_name_default), (gst_object_set_name),
23947 (gst_object_get_name), (gst_object_set_name_prefix),
23948 (gst_object_get_name_prefix), (gst_object_set_parent),
23949 (gst_object_get_parent), (gst_object_unparent),
23950 (gst_object_check_uniqueness), (gst_object_save_thyself),
23951 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23952 (gst_object_set_property), (gst_object_get_property),
23953 (gst_object_get_path_string):
23955 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23956 (gst_real_pad_init), (gst_real_pad_get_property),
23957 (gst_pad_custom_new), (gst_pad_get_direction),
23958 (gst_pad_set_active), (gst_pad_is_active),
23959 (gst_pad_set_event_function), (gst_pad_is_linked),
23960 (gst_pad_link_free), (gst_pad_link_intersect),
23961 (gst_pad_link_fixate), (gst_pad_set_caps),
23962 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23963 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23964 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23965 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23966 (gst_pad_get_caps), (gst_pad_peer_get_caps),
23967 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23968 (gst_pad_realize), (gst_pad_get_allowed_caps),
23969 (gst_real_pad_dispose), (gst_real_pad_finalize),
23970 (gst_pad_collectv), (gst_pad_collect_valist),
23971 (gst_pad_template_dispose), (gst_pad_template_new),
23972 (gst_pad_get_internal_links):
23974 * gst/gstpipeline.c: (gst_pipeline_dispose),
23975 (gst_pipeline_change_state):
23976 * gst/gstpipeline.h:
23978 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23979 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23980 * gst/gstpluginfeature.h:
23981 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23982 * gst/gstquery.c: (_gst_query_type_initialize),
23983 (gst_query_type_register), (gst_query_type_get_by_nick),
23984 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23986 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23987 * gst/gstscheduler.c: (gst_scheduler_add_element),
23988 (gst_scheduler_factory_create):
23989 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23990 (gst_structure_free), (gst_structure_set_name),
23991 (gst_structure_id_set_value), (gst_structure_set_value),
23992 (gst_structure_set_valist), (gst_structure_remove_field),
23993 (gst_structure_remove_fields),
23994 (gst_structure_remove_fields_valist),
23995 (gst_structure_remove_all_fields), (gst_structure_foreach),
23996 (gst_structure_map_in_place),
23997 (gst_caps_structure_fixate_field_nearest_int),
23998 (gst_caps_structure_fixate_field_nearest_double):
23999 * gst/gststructure.h:
24000 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24001 (gst_system_clock_init), (gst_system_clock_dispose),
24002 (gst_system_clock_async_thread),
24003 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24004 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24005 * gst/gstsystemclock.h:
24006 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24007 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24008 * gst/gsttaginterface.c:
24009 * gst/gstthread.c: (gst_thread_dispose),
24010 (gst_thread_release_children_locks), (gst_thread_change_state),
24011 (gst_thread_main_loop):
24012 * gst/gsttrashstack.h:
24013 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24015 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24016 (gst_element_request_pad), (gst_element_get_pad_from_template),
24017 (gst_element_request_compatible_pad),
24018 (gst_element_get_compatible_pad_filtered),
24019 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24020 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24021 (gst_element_link_many), (gst_element_link),
24022 (gst_element_link_pads), (gst_element_unlink_pads),
24023 (gst_element_unlink_many), (gst_element_unlink),
24024 (gst_pad_can_link_filtered), (gst_pad_can_link),
24025 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24026 (gst_object_default_error), (gst_bin_add_many),
24027 (gst_bin_remove_many), (gst_element_populate_std_props),
24028 (gst_element_class_install_std_props), (gst_buffer_merge),
24029 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24030 (link_fold_func), (gst_pad_proxy_setcaps):
24032 * gst/gstvalue.c: (gst_value_deserialize_string):
24033 * gst/parse/grammar.y:
24034 * gst/schedulers/gstbasicscheduler.c:
24035 (gst_basic_scheduler_cothreaded_chain),
24036 (gst_basic_scheduler_chain_recursive_add),
24037 (gst_basic_scheduler_pad_link):
24038 * gst/schedulers/gstoptimalscheduler.c:
24039 (get_group_schedule_function),
24040 (gst_opt_scheduler_state_transition),
24041 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24042 * libs/gst/bytestream/bytestream.c:
24043 * libs/gst/dataprotocol/dataprotocol.c:
24044 (gst_dp_header_from_buffer):
24047 * tests/threadstate/threadstate2.c: (eos):
24048 * tools/gst-compprep.c: (main):
24049 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24050 (print_pad_info), (print_children_info):
24051 * tools/gst-launch.c: (idle_func), (main):
24052 * tools/gst-md5sum.c: (idle_func), (main):
24053 * tools/gst-xmlinspect.c: (print_element_info):
24054 First THREADED backport attempt, focusing on adding locks and
24055 making sure the API is threadsafe. Needs more work. More docs
24058 2005-02-24 Andy Wingo <wingo@pobox.com>
24060 * tests/bench-complexity.scm:
24061 * tests/complexity.gnuplot: New files, good for running complexity
24064 * tests/Makefile.am:
24065 * tests/complexity.c: New test, sets up N elements, at each level
24066 teeing into M streams per element. Eeeenteresting.
24068 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24069 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24070 running bench-mass_elements.scm.
24072 * tests/bench-mass_elements.scm: New script, runs mass_elements
24073 for various numbers of identities, outputting the results to a
24074 file. Requires guile 1.6. Just for testing.
24076 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24078 * gst/schedulers/fairscheduler.c:
24079 compile with debug disabled
24081 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24084 hunting season on 0.9 is now OPEN