1 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
3 * libs/gst/controller/gstinterpolation.c:
4 Also round to the nearest int when using cubic interpolation.
6 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
8 * libs/gst/controller/gstinterpolation.c:
9 When linearly interpolating integer types, round to the nearest int
10 by adding 0.5. Don't do it for float/double types.
11 Fixes the failing controller test on my machine, which is somehow
12 rounding differently than on the buildbots.
14 2007-07-20 Stefan Kost <ensonic@users.sf.net>
16 * tools/gst-plot-timeline.py:
17 Better log parsing (categories can have -). Adjust text vs. lines, so
18 that they span the same y-range.
20 2007-07-20 Stefan Kost <ensonic@users.sf.net>
22 * docs/random/ensonic/audiobaseclasses.txt:
23 * docs/random/ensonic/dynlink.txt:
24 * docs/random/ensonic/profiling.txt:
27 * docs/random/moving-plugins:
28 Add note to use g_assert type macros.
30 2007-07-20 Stefan Kost <ensonic@users.sf.net>
33 * libs/gst/check/Makefile.am:
34 Add libm check as we use in for plugins.
36 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
38 * gst/gstbin.c: (gst_bin_continue_func):
39 Check that the state_cookie hasn't changed since the continue_func
40 was scheduled. Avoids problems where the state changes back to
41 something it shouldn't be because it was changed in the meantime.
43 2007-07-17 Stefan Kost <ensonic@users.sf.net>
45 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
46 (gst_registry_binary_save_string),
47 (gst_registry_binary_save_pad_template),
48 (gst_registry_binary_save_feature),
49 (gst_registry_binary_save_plugin),
50 (gst_registry_binary_load_feature),
51 (gst_registry_binary_load_plugin),
52 (gst_registry_binary_read_cache):
53 Fix memory leak. Be less verbose in the log.
55 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
57 * tests/check/elements/.cvsignore:
58 Add file to cvsignore as commanded.
60 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
62 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
63 (mq_dummypad_event), (run_output_order_test):
64 Use a GStaticMutex to protect all cases where libcheck
65 fail_if/fail_unless macros might be called from multiple threads
66 simultaneously to avoid errors like:
67 "check_pack.c:107: :-1081725400:Bad message type arg"
69 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
71 * tests/check/pipelines/stress.c: (GST_START_TEST):
72 Make sure we set the pipeline back to the NULL state before
73 dropping our final reference.
75 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
77 * tests/check/elements/tee.c: (GST_START_TEST):
78 Make the tee stress-test a little less stressful so it doesn't just
79 time out on slow-machines, and remove a small race when it's starting
80 up by adding a get_state() call.
82 2007-07-16 Stefan Kost <ensonic@users.sf.net>
85 Avoid reading registry twice on startup. Fixes #457322.
87 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
89 * pkgconfig/gstreamer-check-uninstalled.pc.in:
90 * pkgconfig/gstreamer-check.pc.in:
91 Substitute the CFLAGS for libcheck into our .pc file too so that
92 dependent modules will pick it up properly if libcheck is installed
93 into some other prefix.
95 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
98 Revert the pkg-config check for libcheck, since it pulls in the
99 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
100 a proper solution, either from the check project, or something else.
102 2007-07-12 Stefan Kost <ensonic@users.sf.net>
105 Use pkg-config to locate check.
107 2007-07-10 Stefan Kost <ensonic@users.sf.net>
114 Add deprecation guards.
116 * libs/gst/base/gstcollectpads.h:
117 Don't document object (this is implicitly private).
119 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
121 * gst/gststructure.c: (gst_structure_parse_value):
122 When deserialising foo=bar without a type cast, check if it's a
123 boolean before falling back to a string type, otherwise things like
124 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
125 because the filtercaps end up having a signed=(string)true field,
126 which causes problems later when intersection caps.
128 * tests/check/gst/gststructure.c: (GST_START_TEST):
129 Add a unit test for this.
131 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
133 Reviewed by: Stefan Kost <ensonic@users.sf.net>
135 * libs/gst/controller/Makefile.am:
136 * libs/gst/controller/gstcontroller.c:
137 (gst_controlled_property_add_interpolation_control_source),
138 (gst_controlled_property_new), (gst_controlled_property_free),
139 (gst_controller_find_controlled_property),
140 (gst_controller_new_valist), (gst_controller_new_list),
141 (gst_controller_new), (gst_controller_remove_properties_valist),
142 (gst_controller_remove_properties_list),
143 (gst_controller_remove_properties),
144 (gst_controller_set_property_disabled),
145 (gst_controller_set_disabled), (gst_controller_set_control_source),
146 (gst_controller_get_control_source), (gst_controller_get),
147 (gst_controller_sync_values), (gst_controller_get_value_array),
148 (_gst_controller_dispose), (gst_controller_get_type),
149 (gst_controlled_property_set_interpolation_mode),
150 (gst_controller_set), (gst_controller_set_from_list),
151 (gst_controller_unset), (gst_controller_unset_all),
152 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
153 * libs/gst/controller/gstcontroller.h:
154 * libs/gst/controller/gstcontrollerprivate.h:
155 * libs/gst/controller/gstcontrolsource.c:
156 (gst_control_source_class_init), (gst_control_source_init),
157 (gst_control_source_get_value),
158 (gst_control_source_get_value_array), (gst_control_source_bind):
159 * libs/gst/controller/gstcontrolsource.h:
160 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
161 (gst_object_get_control_source):
162 * libs/gst/controller/gstinterpolation.c:
163 (gst_interpolation_control_source_find_control_point_node),
164 (gst_interpolation_control_source_get_first_value),
165 (_interpolate_none_get), (interpolate_none_get),
166 (interpolate_none_get_boolean_value_array),
167 (interpolate_none_get_enum_value_array),
168 (interpolate_none_get_string_value_array),
169 (_interpolate_trigger_get), (interpolate_trigger_get),
170 (interpolate_trigger_get_boolean_value_array),
171 (interpolate_trigger_get_enum_value_array),
172 (interpolate_trigger_get_string_value_array):
173 * libs/gst/controller/gstinterpolationcontrolsource.c:
174 (gst_control_point_free), (gst_interpolation_control_source_reset),
175 (gst_interpolation_control_source_new),
176 (gst_interpolation_control_source_set_interpolation_mode),
177 (gst_interpolation_control_source_bind),
178 (gst_control_point_compare), (gst_control_point_find),
179 (gst_interpolation_control_source_set_internal),
180 (gst_interpolation_control_source_set),
181 (gst_interpolation_control_source_set_from_list),
182 (gst_interpolation_control_source_unset),
183 (gst_interpolation_control_source_unset_all),
184 (gst_interpolation_control_source_get_all),
185 (gst_interpolation_control_source_get_count),
186 (gst_interpolation_control_source_init),
187 (gst_interpolation_control_source_finalize),
188 (gst_interpolation_control_source_dispose),
189 (gst_interpolation_control_source_class_init):
190 * libs/gst/controller/gstinterpolationcontrolsource.h:
191 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
192 API: Refactor GstController into the core controller which can take
193 a GstControlSource for providing actual values for timestamps.
194 Implement a interpolation control source and use this for backward
195 compatibility, deprecate a bunch of functions that are now handled
196 by GstControlSource or GstInterpolationControlSource.
197 Make it possible to disable the controller completely or only for
198 specific properties. Fixes #450711.
199 * docs/libs/gstreamer-libs-docs.sgml:
200 * docs/libs/gstreamer-libs-sections.txt:
201 * docs/libs/gstreamer-libs.types:
202 Add new functions and classes to the docs.
203 * tests/check/libs/controller.c: (GST_START_TEST),
204 (gst_controller_suite):
205 * tests/examples/controller/audio-example.c: (main):
206 Port unit test and example to the new API and add some new
209 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
211 Patch by: Mark Nauwelaerts <manauw at skynet be>
213 * plugins/elements/gstmultiqueue.c:
214 (gst_multi_queue_get_internal_links), (apply_buffer),
215 (single_queue_overrun_cb), (gst_single_queue_new):
216 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
217 the pipeline layout can be tracked correctly. Fixes #453732.
219 2007-07-05 Stefan Kost <ensonic@users.sf.net>
221 * docs/gst/Makefile.am:
222 * docs/libs/Makefile.am:
223 * docs/plugins/Makefile.am:
224 Simplify --extra-dir as gtkdoc scans recursively.
226 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
228 * tools/gst-launch.c: (main):
229 When we got an error, there is no point in waiting for preroll when
232 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
234 * plugins/elements/gsttee.c: (gst_tee_base_init),
235 (gst_tee_request_new_pad), (gst_tee_release_pad),
236 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
237 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
239 Be a lot smarter when deciding what srcpad to use for proxying
240 the buffer_alloc. Also handle pad added/removed when doing so.
242 Keep track of what pads we already pushed on in case we have pads
243 added/removed while pushing. Fixes #374639
245 * tests/check/Makefile.am:
246 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
248 Added unit test for pad resync.
250 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
254 Updated translations.
256 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
258 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
262 Added new Finnish translation.
264 2007-06-28 Wim Taymans <wim@fluendo.com>
266 * plugins/elements/gstmultiqueue.c: (apply_buffer),
267 (single_queue_overrun_cb):
268 When figuring out when a queue is filled, use our internal time estimate
269 based on segments, just like check_full does.
271 2007-06-27 Stefan Kost <ensonic@users.sf.net>
273 * gst/gstminiobject.c: (gst_mini_object_get_type):
274 Remove 3 do-nothing methods.
276 2007-06-27 Wim Taymans <wim@fluendo.com>
278 Patch by: Tim Angus <tim at ngus dot net>
280 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
281 (gst_capsfilter_set_property):
282 Take a reference instead of a copy when setting "caps".
283 Fix documentation to clarify this behaviour. Fixes #449414.
285 2007-06-27 Stefan Kost <ensonic@users.sf.net>
287 * gst/gstindexfactory.c: (gst_index_factory_get_type):
288 * gst/gstplugin.c: (gst_plugin_init):
289 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
290 * gst/gstquery.c: (gst_query_get_type):
291 * gst/gstregistry.c: (gst_registry_init):
292 * gst/gsturi.c: (gst_uri_handler_base_init):
293 Remove empty instance_init() functions to save relocs and lessen the
294 noise. Remove some of the function prototypes that are doubled by
297 2007-06-27 Wim Taymans <wim@fluendo.com>
299 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
301 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
302 Add peer and direction in the XML serialisation of ghostpads.
305 2007-06-26 Stefan Kost <ensonic@users.sf.net>
308 Preserve useful information, thanks Tim.
310 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
312 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
313 (gst_single_queue_flush), (apply_segment), (apply_buffer),
314 (gst_single_queue_push_one), (gst_multi_queue_loop),
315 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
316 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
317 (compute_high_id), (gst_single_queue_new):
318 * plugins/elements/gstmultiqueue.h:
319 Take the multiqueue lock when updating the fill level so we don't get
322 After applying a buffer or event on the src pad segment, make sure to
323 call gst_data_queue_limits_changed() to get the data queue to unblock
324 and check the filled state again.
326 Rework the not-linked pad handling so the logic is that not-linked
327 pads can push as fast as they like, but only so they never get
328 ahead of any linked pads.
330 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
331 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
332 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
334 Add a test to check that not-linked pads always stay behind
339 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
341 * docs/random/release:
342 Some updates to the release procedure.
344 2007-06-26 Stefan Kost <ensonic@users.sf.net>
346 * gst/gstelementfactory.c: (__gst_element_details_clear):
347 Microoptimization that saves stunning 80 bytes.
349 2007-06-25 Stefan Kost <ensonic@users.sf.net>
351 * docs/plugins/gstreamer-plugins.args:
352 * docs/plugins/inspect/plugin-coreelements.xml:
353 * docs/plugins/inspect/plugin-coreindexers.xml:
354 Update docs with caps info.
356 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
359 Updated Italian translation.
361 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
365 Update Vietnamese translations.
367 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
369 * libs/gst/base/gstbasesink.c:
370 Remove unused signal enum.
372 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
374 * docs/gst/gstreamer-sections.txt:
376 * gst/gstutils.c: (gst_type_register_static_full):
377 Beef up and include the docs for gst_type_register_static_full and
378 gst_element_class_set_details_simple and add the API keyword
381 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
383 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
384 (update_time_level), (gst_single_queue_push_one),
385 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
386 (single_queue_overrun_cb), (single_queue_underrun_cb),
387 (single_queue_check_full):
388 Fix setting max-* properties after adding queues.
389 Use IS_FILLED for checking visible items.
390 Signal overrun if multiple queues overrun.
391 Add extra debug output.
392 Patch by: Wim Taymans <wim@fluendo.com>
394 2007-06-21 Stefan Kost <ensonic@users.sf.net>
396 * gst/gstelement.c: (gst_element_class_set_details_simple):
398 * gst/gstutils.c: (gst_type_register_static_full):
400 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
401 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
402 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
403 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
404 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
405 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
406 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
407 * plugins/elements/gstidentity.c: (gst_identity_base_init):
408 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
409 * plugins/elements/gstqueue.c: (gst_queue_base_init),
410 (apply_buffer), (gst_queue_chain):
411 * plugins/elements/gsttee.c: (gst_tee_base_init):
412 * plugins/elements/gsttypefindelement.c:
413 (gst_type_find_element_base_init),
414 (gst_type_find_element_class_init):
415 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
416 API: add gst_type_register_static_full
417 API: add gst_element_class_set_details_simple
419 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
421 * docs/pwg/advanced-types.xml:
422 Fix typo in iana.org URI.
424 2007-06-19 Andy Wingo <wingo@pobox.com>
426 * tests/check/pipelines/simple-launch-lines.c
427 (test_state_change_returns): Enable pull-mode tests now that
428 basesink has been fixed.
430 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
431 Changed from gst_base_sink_is_prerolled, reversing the sense of
432 the return value. Returns FALSE also if the sink is in pull mode,
433 in which case it needs no preroll.
434 (gst_base_sink_query, gst_base_sink_change_state): Update for
435 needs_preroll change.
436 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
437 chaining up, in which we return SUCCESS directly if we activated
438 in pull mode instead of ASYNC. Involves countering an async_start
439 message sent before chaining up; not sure if this is correct, in
440 an ideal world we only send async-start when activating in push
443 * tests/check/pipelines/simple-launch-lines.c
444 (test_state_change_returns): New test, partially disabled until
447 2007-06-19 Wim Taymans <wim@fluendo.com>
449 * plugins/elements/gstmultiqueue.c: (apply_buffer),
450 (gst_multi_queue_sink_event):
453 2007-06-19 Wim Taymans <wim@fluendo.com>
455 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
456 (gst_bin_change_state_func), (bin_push_state_continue),
457 (bin_handle_async_start), (bin_handle_async_done),
458 (gst_bin_handle_message_func):
459 Move the common code for posting state-change messages into
461 Broadcast the state signal after we posted the messages.
462 Mark the bin as busy when it's doing a state-change.
463 Make sure async-start/done messages don't interfere with the bin's
464 state when it's busy.
465 After the state change, let the bin check which elements completed the
466 state change while it was busy so that it can update its state.
468 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
470 * docs/random/release:
471 Add a note about updating the doap file to the release checklist
473 2007-06-18 Wim Taymans <wim@fluendo.com>
475 * plugins/elements/gstmultiqueue.c: (apply_buffer),
476 (gst_single_queue_push_one), (gst_multi_queue_chain),
477 (gst_multi_queue_sink_event):
478 Make sure we don't reference the buffer/event after we have given away
479 ownership in the queue.
481 2007-06-18 Wim Taymans <wim@fluendo.com>
483 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
484 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
485 Update queue state _after_ adding the item in the queue because else we
486 could end up being full without the element added yet.
488 2007-06-18 Wim Taymans <wim@fluendo.com>
490 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
491 (gst_bin_remove_func), (gst_bin_get_state_func),
492 (gst_bin_element_set_state), (gst_bin_continue_func),
493 (bin_push_state_continue), (bin_handle_async_start),
494 (bin_handle_async_done), (gst_bin_handle_message_func):
496 Immediatly commit the toplevel bin state when receiving an async-done
497 message. This enables us to avoid spawning a thread to commit the state
498 in some common cases and it also avoids some races.
499 Avoid spawning a state thread when adding/removing async elements to a
500 toplevel bin. Instead we immediatly update the bin state.
501 Get rid of iterating all the children when getting the state in the bin
502 because it is now always up-to-date.
503 Fix bug where locked elements would always return _SUCCESS even it they
504 returned NO_PREROLL before being locked.
505 Fix the order of the state_change, async-start/done messages that was
507 Mark the state_dirty field as deprecated, we don't need it anymore as we
508 are always up-to-date.
510 * gst/gstelement.c: (gst_element_get_state_func),
511 (gst_element_continue_state):
512 Small debug inprovements.
513 Return the previous element state return when nothing is pending instead
514 of blindly returning SUCCESS.
516 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
518 Add a whole bunch of new testcases.
520 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
526 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
529 Fix typo in the docs.
531 2007-06-15 Wim Taymans <wim@fluendo.com>
533 * docs/libs/gstreamer-libs-sections.txt:
534 Add docs for new methods.
536 2007-06-15 Wim Taymans <wim@fluendo.com>
538 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
539 (gst_multi_queue_item_new):
540 Don't use GSlice because we don't depend on >= 2.10 yet.
542 2007-06-15 Wim Taymans <wim@fluendo.com>
544 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
545 (update_time_level), (apply_segment), (apply_buffer),
546 (gst_single_queue_push_one), (gst_multi_queue_item_new),
547 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
548 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
549 (single_queue_underrun_cb), (single_queue_check_full):
552 2007-06-15 Wim Taymans <wim@fluendo.com>
554 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
555 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
556 (gst_data_queue_set_flushing), (gst_data_queue_push),
557 (gst_data_queue_pop), (gst_data_queue_drop_head),
558 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
559 * libs/gst/base/gstdataqueue.h:
561 Added methods to get the current levels and to inform the queue that the
562 'full' limits changed.
564 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
565 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
566 (gst_single_queue_flush), (update_time_level), (apply_segment),
567 (apply_buffer), (gst_single_queue_push_one),
568 (gst_multi_queue_item_steal_object),
569 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
570 (gst_multi_queue_loop), (gst_multi_queue_chain),
571 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
572 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
573 (gst_multi_queue_src_query), (single_queue_overrun_cb),
574 (single_queue_underrun_cb), (single_queue_check_full),
575 (gst_single_queue_new):
576 Keep track of time in the queue by measuring the difference between
577 running_time on input and output. This gives more accurate results and
578 can compensate for segments correctly.
579 Make a queue by default only 5 buffers deep. We will now increase the
580 buffer size depending on the filledness of the other queues.
581 Factor out commong flush code.
582 Make sure we don't add additional refcounts to buffers when we can avoid
584 Propagate GstFlowReturn differently.
585 Use GSlice for intermediate GstMultiQueueItems.
587 Resize queues on over and underruns based on filled level of other
589 When checking if the queue is filled, prefer to measure in time if we
590 can and fall back to bytes when no time is known.
592 * plugins/elements/gstqueue.c:
595 2007-06-15 Wim Taymans <wim@fluendo.com>
597 * libs/gst/base/gstbasetransform.c:
598 (gst_base_transform_sink_event):
599 Work around the brokenness of the event vmethod in basetransform. Prefer
600 to return TRUE when the subclass returned FALSE (meaning don't forward
603 * libs/gst/base/gstbasetransform.h:
606 2007-06-15 Wim Taymans <wim@fluendo.com>
608 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
609 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
610 (gst_base_src_default_query), (gst_base_src_get_range),
611 (gst_base_src_start):
612 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
615 2007-06-15 Stefan Kost <ensonic@users.sf.net>
617 * docs/pwg/advanced-types.xml:
618 Added more formats to caps table.
620 2007-06-15 Stefan Kost <ensonic@users.sf.net>
622 * tools/gst-launch.c: (main):
623 Remove crufy code. GOption does not need this workaround.
625 2007-06-14 Stefan Kost <ensonic@users.sf.net>
627 * libs/gst/controller/gstcontroller.c:
628 (gst_controlled_property_set_interpolation_mode):
629 Fix wrong getter for enums in controller.
631 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
633 * libs/gst/check/gstcheck.c: (gst_check_init):
634 Intercept criticals and warnings in the Gst-Phonon log domain, so
635 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
638 2007-06-14 Edward Hervey <edward@fluendo.com>
640 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
641 Since this file doesn't include "gst.h" it will not go through the
642 macros that disable GST_LOG if debugging was disabled.
644 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
646 * libs/gst/check/Makefile.am:
647 * libs/gst/check/gstcheck.h:
648 * pkgconfig/gstreamer-check-uninstalled.pc.in:
649 * pkgconfig/gstreamer-check.pc.in:
650 Ugly 'fix' for the controller unit test on the p5 bot: in
651 fail_unless_equals_float() check whether the values are 'almost
652 equal' by allowing a small absolute error, which should be good
653 enough for our use cases (normal numbers and values close to 0).
654 Proper fixage left to floating point arithmetic aficionados.
656 2007-06-14 Stefan Kost <ensonic@users.sf.net>
658 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
659 (gst_base_sink_render_object), (gst_base_sink_get_position):
660 Add two breaks thats where missing.
662 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
664 * docs/libs/gstreamer-libs-sections.txt:
665 * libs/gst/check/gstcheck.h:
666 API: add fail_unless_equals_float() and assert_equals_float().
667 Add documentation for some of the macros.
669 * tests/check/libs/controller.c: (GST_START_TEST):
670 Use newly-added asserts.
672 2007-06-14 Stefan Kost <ensonic@users.sf.net>
674 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
675 Show the caps change in the log to help spotting the case of not
676 exactly matching caps.
678 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
680 * docs/pwg/building-boiler.xml:
681 Fix typos, spotted by Thijs Vermeir (#447190).
683 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
685 * docs/plugins/tmpl/.cvsignore:
686 Ignore file to keep the buildbots happy
688 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
690 * docs/plugins/Makefile.am:
691 * docs/plugins/gstreamer-plugins-docs.sgml:
692 * docs/plugins/gstreamer-plugins-sections.txt:
693 Pull fdsink into the docs too.
695 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
697 * libs/gst/controller/gstinterpolation.c:
698 Actually use the new functions with min/max checks for the trigger and
699 none interpolation modes for get() and get_value_array() instead of
702 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
704 * libs/gst/controller/gstcontroller.c:
705 (gst_controlled_property_free):
706 Unset the minimum and maximum GValues when freeing the corresponding
707 GstControllerProperty struct.
709 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
711 * libs/gst/controller/gstcontroller.c:
712 (gst_controlled_property_new):
713 * libs/gst/controller/gstcontrollerprivate.h:
714 * libs/gst/controller/gstinterpolation.c:
715 (gst_controlled_property_find_control_point_node),
716 (interpolate_none_get), (interpolate_none_get_enum_value_array),
717 (interpolate_none_get_string_value_array),
718 (interpolate_trigger_get),
719 (interpolate_trigger_get_enum_value_array),
720 (interpolate_trigger_get_string_value_array):
721 Protect against values larger or smaller than the minimum or maximum
722 allowed value for the property when using values that can be compared.
724 Optimize trigger interpolator a bit by taking the last requested value
725 into account instead of always looping through the complete list.
727 Fix coding style a bit, everywhere else we use "return foo" instead
730 * tests/check/libs/controller.c: (GST_START_TEST),
731 (gst_controller_suite):
732 Add unit test for the protection against too large or too small
735 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
737 * docs/random/slomo/controller.txt:
738 Add some thoughts about the future of the controller.
740 2007-06-08 Wim Taymans <wim@fluendo.com>
742 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
743 Don't overflow in retimestamping code.
745 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
747 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
748 Use gst_util_guint64_to_gdouble for conversions.
749 * win32/common/libgstreamer.def:
750 Add new exported functions.
752 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
757 2007-06-07 Stefan Kost <ensonic@users.sf.net>
760 Remove that test line again.
762 2007-06-07 Stefan Kost <ensonic@users.sf.net>
765 Test commit mail sending.
767 2007-06-07 Stefan Kost <ensonic@users.sf.net>
770 Fix typo and test commit mail sending.
772 2007-06-07 Stefan Kost <ensonic@users.sf.net>
774 * tests/examples/controller/audio-example.c:
775 Improve comment and test commit mail sending.
777 2007-06-07 Wim Taymans <wim@fluendo.com>
779 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
780 (gst_bin_remove_func), (gst_bin_element_set_state),
781 (bin_handle_async_start), (bin_handle_async_done),
782 (gst_bin_handle_message_func):
783 Add helper function to find messages.
784 Generate the async-done messages together with the state change
786 Small cleanups in handling toplevel bins.
788 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
790 * libs/gst/base/gstdataqueue.c:
791 * libs/gst/base/gstdataqueue.h:
792 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
793 (gst_multi_queue_item_new), (gst_multi_queue_chain),
794 (gst_multi_queue_sink_event):
795 * tests/check/elements/multiqueue.c: (multiqueue_suite):
796 Fix multiqueue leaking buffers and events when downstream or the
797 queue are flushing. Make refcounting assumptions explicit and
798 document them (shouldn't break existing code that uses it other than
799 maybe leak miniobjects, but that already happens anyway). Add unit
800 test for the most common flushing case. Fixes #423700.
802 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
804 * libs/gst/controller/gstcontroller.c:
805 Clarify docs: The get_all, get_value_array(s) functions
806 don't modify the GObject properties.
808 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
810 * libs/gst/controller/gstcontroller.c:
811 (gst_controlled_property_set_interpolation_mode),
812 (gst_controlled_property_prepend_default),
813 (gst_controlled_property_new), (gst_controller_set_unlocked),
814 (gst_controller_set), (gst_controller_set_from_list),
815 (gst_controller_unset), (gst_controller_unset_all):
816 * libs/gst/controller/gstcontrollerprivate.h:
817 * libs/gst/controller/gstinterpolation.c:
818 Factor out the 'set' logic into gst_controller_set_unlocked for the
819 gst_controller_set and gst_controller_set_from_list functions.
821 To make life of the interpolators easier always add a control point
822 at timestamp zero with the default value.
824 In the linear interpolator make things more obvious by better variable
827 Implement cubic interpolation mode (by using a natural cubic spline)
828 and map the quadratic interpolation mode to this too (as quadratic
829 doesn't make much sense, see discussion on the list).
831 * tests/check/libs/controller.c: (GST_START_TEST),
832 (gst_controller_suite):
833 Add unit test for the cubic interpolation mode and check everywhere
834 if the interpolation mode could be set as expected.
836 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
838 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
839 Don't use GLib-2.10 functions, we still depend on
840 GLib-how-old-is-it-again-2.8.
842 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
844 * docs/gst/gstreamer-sections.txt:
848 * gst/gstparamspecs.c: (_gst_param_fraction_init),
849 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
850 (_gst_param_fraction_values_cmp),
851 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
852 * gst/gstparamspecs.h:
854 * tests/check/Makefile.am:
855 * tests/check/gst/.cvsignore:
856 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
857 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
858 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
859 (GST_START_TEST), (gst_param_spec_suite):
860 API: add GstParamSpecFraction, so elements can have fraction
861 properties without lots of painful string parsing (#444648).
863 2007-06-05 Wim Taymans <wim@fluendo.com>
865 * gst/gstobject.c: (gst_object_class_init):
866 Fix signal signature.
869 Add small clarification in the api docs.
871 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
872 States are protected with object lock.
874 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
877 I should probably be listed as an author by now.
879 * docs/random/release:
880 Update the release doc
882 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
885 Make docs for gst_value_compare() mention return enums that
888 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
893 === release 0.10.13 ===
895 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
898 releasing 0.10.13, "With or without you"
900 2007-05-25 Wim Taymans <wim@fluendo.com>
902 * gst/gstbin.c: (bin_handle_async_done):
903 Make sure that the child bin stops after completing the async state
904 change so that the parent can continue the state change to PLAYING.
907 2007-05-25 Wim Taymans <wim@fluendo.com>
909 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
910 (unref_data), (gst_collect_pads_remove_pad),
911 (gst_collect_pads_check_pads):
912 Use additional refcounting to avoid crashes when dynamically adding and
913 removing pads. Fixes #420206.
915 2007-05-24 Wim Taymans <wim@fluendo.com>
917 * tools/gst-launch.c: (event_loop):
918 When buffering goes from a two digit to a single digit number, make sure
919 to remove the old second digit by writing a blank over it.
921 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
923 * libs/gst/base/gstdataqueue.c:
924 Eliminate tabs and trailing comma in enum list; fix some typos.
926 2007-05-24 Wim Taymans <wim@fluendo.com>
928 * tests/check/gst/gstbin.c: (GST_START_TEST):
929 Allow refcount of 3 and 4 because some state thread might still be busy
932 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
934 * plugins/elements/Makefile.am:
935 * plugins/elements/gstmultiqueue.h:
936 * plugins/elements/gstqueue.h:
937 These are not installed headers, no need for padding.
939 2007-05-24 Wim Taymans <wim@fluendo.com>
941 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
942 (gst_bin_continue_func):
943 Enable latency for next release.
944 Restore STATE_LOCK around recalc_state that was left out during the
945 rewrite and could result in racy behaviour when _get_state and
946 recalc_state are run concurrently. See #440463.
948 2007-05-23 Wim Taymans <wim@fluendo.com>
950 * tests/check/gst/gstsystemclock.c: (store_callback),
952 Improve test_async_order to also work when both timers are already
953 expired when we get scheduled to check it.
955 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
957 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
958 (gst_bin_set_property), (gst_bin_get_property),
959 (gst_bin_remove_func), (gst_bin_handle_message_func):
961 'private' is a c++ keyword, let's not use that in header files,
962 otherwise c++ compilers will throw a tantrum.
964 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
966 * plugins/elements/gstelements.c:
967 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
968 (gst_file_sink_get_current_offset):
969 * plugins/indexers/gstindexers.c: (plugin_init):
970 Use #ifdef for HAVE_XYZ for consistency.
972 * tests/check/Makefile.am:
973 * tests/check/elements/.cvsignore:
974 * tests/check/elements/filesink.c: (setup_filesink),
975 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
976 Add some unit tests for filesink.
978 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
980 Patch by: Mark Nauwelaerts <manauw at skynet be>
982 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
983 (gst_file_sink_query), (gst_file_sink_do_seek),
984 (gst_file_sink_get_current_offset), (gst_file_sink_render):
985 * plugins/elements/gstfilesink.h:
986 Fix position reporting; rename data_written member to current_pos to
987 reflect its real meaning (fixes #412648).
989 2007-05-22 Edward Hervey <edward@fluendo.com>
991 * docs/gst/gstreamer-sections.txt:
992 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
993 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
994 (gst_bin_remove_func), (gst_bin_handle_message_func):
996 Add a property for bins that handle the state change of their childs.
999 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1001 * libs/gst/controller/gstinterpolation.c:
1002 Use an array of the correct type when using _get_value_array with
1003 linear interpolation.
1005 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1007 * gst/gstelement.c (gst_element_requires_clock,
1008 gst_element_provides_clock, gst_element_request_pad,
1009 gst_element_class_set_details, gst_element_class_set_details_simple,
1010 gst_element_default_send_event, gst_element_abort_state,
1011 gst_element_continue_state, gst_element_set_state,
1012 gst_element_set_state_func, iterator_activate_fold_with_resync):
1013 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1014 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1015 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1016 gst_pad_get_range, gst_pad_pull_range):
1017 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1018 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1019 GstPadActivateModeFunction, GstPadChainFunction,
1020 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1021 GstPadFixateCapsFunction, GstPadTemplate):
1022 * gst/gstpipeline.c (gst_pipeline_change_state,
1023 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1024 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1025 gst_pipeline_get_delay):
1026 Whitespace and docs fixes.
1028 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1030 * libs/gst/controller/gstinterpolation.c:
1031 (interpolate_trigger_get_enum_value_array),
1032 (interpolate_trigger_get_string_value_array):
1033 Add support for retrieving value arrays when using the trigger
1036 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1038 * libs/gst/controller/gstcontroller.c:
1039 (gst_controller_get_value_array):
1040 * libs/gst/controller/gstcontroller.h:
1041 Clarify the docs of gst_controller_get_value_array(): The array where
1042 the values should be written to must be allocated as there seems to be
1043 no way to get the size of a random GType. This doesn't change any
1044 behaviour. Also fix some typos all over the place and remove an unused,
1045 commented function that is not necessary as g_object_set() could be
1047 * tests/check/libs/controller.c: (GST_START_TEST),
1048 (gst_controller_suite):
1049 Add unit test for gst_controller_get_value_array().
1051 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1053 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1055 Disable part of the gst_buffer_try_new_and_alloc test, because
1056 it can happily succeed on 64-bit systems where there's more address
1059 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1061 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1062 Add unit test for the improved caps checking from bug #421543.
1064 2007-05-21 Wim Taymans <wim@fluendo.com>
1066 * docs/design/part-synchronisation.txt:
1069 * gst/gstbin.c: (gst_bin_query):
1070 * plugins/elements/gstqueue.c: (apply_segment):
1076 2007-05-21 Wim Taymans <wim@fluendo.com>
1078 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1079 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1080 (gst_pad_configure_src):
1081 Added simple version of improved caps checking. It was previously
1082 assumed that a setcaps function would check the validity of the caps but
1083 people prefer us to check caps against the template automatically.
1086 2007-05-21 Wim Taymans <wim@fluendo.com>
1088 * libs/gst/base/gstbasetransform.h:
1089 Fix macro for locking/unlocking the transform lock.
1091 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1093 * docs/plugins/tmpl/.cvsignore:
1096 2007-05-18 Edward Hervey <edward@fluendo.com>
1098 * plugins/elements/gstqueue.c: (gst_queue_loop):
1099 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1100 for the subtle art of warning a potentially blocking thread that it
1101 should check the source pad return value, and relay the information
1104 2007-05-18 Edward Hervey <edward@fluendo.com>
1106 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1107 Release the queue lock !
1109 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1111 * docs/libs/gstreamer-libs-sections.txt:
1112 Add the two new controller functions to the appropiate places.
1114 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1116 reviewed by: Stefan Kost <ensonic@users.sf.net>
1118 * libs/gst/controller/gstcontroller.c:
1119 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1120 (_gst_controller_get_property), (_gst_controller_set_property),
1121 (_gst_controller_init), (_gst_controller_class_init):
1122 * libs/gst/controller/gstcontroller.h:
1123 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1124 (gst_object_get_control_rate), (gst_object_set_control_rate):
1125 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1126 Add API that provides sync suggestion timestamps for elements that
1127 call gst_object_sync_values() from which those elements can subdivide
1128 their processing loop to get the best results for the controlled
1129 properties. For now it just suggests last_sync + control_rate as
1130 new timestamp but this will be improved in the future.
1132 While doing that change the control-rate property to a GstClockTime
1133 from guint and change it's meaning from samples to nanoseconds as
1134 the GstController doesn't know anything about sampling rate. Strictly
1135 speaking this breaks ABI but as the control-rate property didn't do
1136 anything in the past and as such couldn't be used this should be no
1139 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1141 reviewed by: Stefan Kost <ensonic@users.sf.net>
1143 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1144 (gst_controller_unset_all):
1145 * libs/gst/controller/gstcontrollerprivate.h:
1146 * libs/gst/controller/gstinterpolation.c:
1147 (gst_controlled_property_find_control_point_node):
1148 Save last synced value from the list to continue searching from there
1149 in future syncs. This speeds everything up a bit.
1151 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1153 reviewed by: Stefan Kost <ensonic@users.sf.net>
1155 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1156 (gst_control_point_find), (gst_controlled_property_new),
1157 (gst_control_point_free), (gst_controlled_property_free),
1158 (gst_controller_set), (gst_controller_set_from_list),
1159 (gst_controller_unset), (gst_controller_unset_all),
1160 (gst_controller_sync_values):
1161 * libs/gst/controller/gstcontroller.h:
1162 * libs/gst/controller/gstcontrollerprivate.h:
1163 * libs/gst/controller/gstinterpolation.c:
1164 (gst_controlled_property_find_control_point_node),
1165 (interpolate_none_get), (interpolate_trigger_get):
1166 Add a new private GstControlPoint struct which "inherits" from
1167 GstTimedValue to allow different interpolators to store internal
1168 values next to each control point. From the outside everything is
1169 still a GstControlPoint so we don't loose binary compatibility.
1170 Also fixup all the GValue handling to not leak GValues or list nodes.
1171 * tests/check/libs/controller.c: (GST_START_TEST):
1172 Free the list nodes and GValues in the controller_misc test.
1174 2007-05-17 Edward Hervey <edward@fluendo.com>
1179 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1181 * gst/gstplugin.c: (gst_plugin_load_file):
1182 If we fail to load a plugin because of unresolved symbols or missing
1183 libraries and spew a warning to stderr, we may just as well mention
1184 which plugin it was that failed to load.
1186 2007-05-13 David Schleef <ds@schleef.org>
1188 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1189 handles the case when ENABLE_GTK_DOC is false, and installs
1190 the prebuilt documentation. So gtk-doc subdirs are
1191 unconditionally enabled. Fixes: #349099.
1193 2007-05-13 David Schleef <ds@schleef.org>
1195 * gst/gstutils.h: Reword some documentation.
1197 2007-05-12 David Schleef <ds@schleef.org>
1199 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1200 do anything with the passed "module" parameter, so remove it.
1201 Allows removal of additional vestigal code.
1203 2007-05-12 David Schleef <ds@schleef.org>
1206 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1207 Switch to using g_stat() because it's more portable.
1209 2007-05-12 David Schleef <ds@schleef.org>
1212 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1213 parsing for embedded systems.
1214 * gst/gstelementfactory.c:
1215 Allow gst_element_register() to be called with plugin==NULL.
1216 Did nobody notice that static elements were broken?
1218 2007-05-12 Wim Taymans <wim@fluendo.com>
1220 * tools/gst-launch.c: (event_loop):
1221 Give more interesting info when buffering starts and stops.
1222 Fix case where buffering starts but we fail to update the buffering flag
1223 because the target state is not PLAYING.
1225 2007-05-12 Wim Taymans <wim@fluendo.com>
1227 * plugins/elements/gstqueue.c: (gst_queue_init),
1228 (gst_queue_finalize), (update_time_level), (apply_segment),
1229 (apply_buffer), (gst_queue_locked_flush),
1230 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1231 (gst_queue_handle_sink_event), (gst_queue_chain),
1232 (gst_queue_push_one), (gst_queue_loop):
1233 * plugins/elements/gstqueue.h:
1234 Refactor an cleanup queue a bit.
1235 Do better time level calculations that also work when the srcpad is not
1237 Remove some unneeded debug lines.
1239 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1240 Added testcase for time level measurement.
1241 Try to make some stuff more racefree.
1243 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1245 * gst/gsturi.c: (gst_element_make_from_uri):
1246 Don't leak plugin feature.
1248 * tests/check/Makefile.am:
1249 * tests/check/gst/.cvsignore:
1250 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1251 Add brain-dead unit test.
1253 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1255 Patch by: Jeroen Wouters <woutersj at gmail com>
1257 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1258 Treat protocol strings in a case-insensitive way (#437563).
1260 2007-05-11 Michael Smith <msmith@fluendo.com>
1262 * gst/gstplugin.c: (gst_plugin_load_file):
1263 * gst/gstregistry.c: (gst_registry_scan_path_level):
1264 Don't print a g_warning for any failure to load a shared object.
1265 Instead, push this down into gstplugin.c, and warn _only_ if we
1266 failed to open the module (i.e. failure to link).
1267 Avoids warnings on normal, working, non-plugin .so files.
1269 2007-05-11 Stefan Kost <ensonic@users.sf.net>
1271 * gst/gstplugin.c (gst_plugin_load_file):
1272 * gst/gstregistry.c (GST_CAT_DEFAULT,
1273 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1274 Print a g_warning if there was an error when loading a plugins during
1275 registry scan. The shuld help beginners starting with gst-plugin
1278 2007-05-10 Wim Taymans <wim@fluendo.com>
1280 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1281 (update_time_level), (gst_queue_locked_flush),
1282 (gst_queue_handle_sink_event), (gst_queue_chain),
1283 (gst_queue_push_one), (gst_queue_loop):
1284 * plugins/elements/gstqueue.h:
1285 Be smarter when calculating the current amount of data in the queue by
1286 measuring the difference between start and end timestamps (in running
1287 time) inside the queue. Fixes #432876.
1288 API: GstQueue::pushing to notify elements that we are pushing data again
1289 since the running signal is rather broken for this purpose.
1291 2007-05-10 Stefan Kost <ensonic@users.sf.net>
1293 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1294 gst_queue_base_init, gst_queue_init):
1297 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
1299 * win32/common/libgstreamer.def:
1300 Add new exported functions.
1301 * win32/vs6/grammar.dsp:
1302 Use grammar pre-generated files.
1304 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1306 Based on patch by: Peter Kjellerstedt <pkj at axis com>
1309 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1311 * gst/gstutils.c: (gst_parse_bin_from_description):
1313 Maintain API and ABI when --disable-parse is used. Now that
1314 we have an appropriate error code, we can just return NULL and the
1315 appropriate error when gst_parse_launch() is used despite it having
1316 been disabled (#342564).
1318 * tests/check/Makefile.am:
1319 * tests/check/pipelines/.cvsignore:
1320 * tests/check/pipelines/parse-disabled.c:
1321 Make sure these functions exist and return NULL plus a GError when
1322 --disable-parse is used.
1324 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1326 * tests/benchmarks/complexity.c: (main):
1327 * tests/benchmarks/mass-elements.c: (main):
1328 Set a good example and don't leak messages.
1330 2007-05-06 Stefan Kost <ensonic@users.sf.net>
1332 * docs/gst/Makefile.am:
1333 * docs/libs/Makefile.am:
1334 Correct fixxrefs options.
1336 * docs/plugins/Makefile.am:
1337 * docs/plugins/gstreamer-plugins-docs.sgml:
1338 * docs/plugins/gstreamer-plugins-sections.txt:
1339 * plugins/elements/Makefile.am:
1340 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1341 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1342 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1343 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1344 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1345 _GstCapsFilterClass, trans_class):
1346 * plugins/elements/gstelements.c (name, rank, type, _elements):
1347 * plugins/elements/gstidentity.c
1348 (gst_identity_check_imperfect_timestamp,
1349 gst_identity_check_imperfect_offset):
1350 Document capsfilter and add doc-blurb to identity.
1352 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
1354 * libs/gst/controller/gstcontroller.c:
1355 (gst_controlled_property_set_interpolation_mode):
1356 * libs/gst/controller/gstinterpolation.c:
1357 Don't crash if someone tries to set an interpolation mode that
1358 is invalid or that isn't supported yet. Fixes #422295.
1360 * tests/check/libs/controller.c: (GST_START_TEST),
1361 (gst_controller_suite):
1362 Add a test case for the above.
1364 2007-05-03 Edward Hervey <edward@fluendo.com>
1366 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1367 Properly set the last_stop position on GstSegment. This will only happen
1368 if there is a buffer to push out.
1370 2007-05-03 Wim Taymans <wim@fluendo.com>
1372 * libs/gst/base/gstbasetransform.c:
1373 (gst_base_transform_buffer_alloc):
1374 always_in_place does not mean that the sink and source caps are the
1375 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1377 2007-05-03 Wim Taymans <wim@fluendo.com>
1379 * docs/libs/gstreamer-libs-sections.txt:
1380 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1381 (gst_base_src_default_query), (gst_base_src_get_range):
1382 * libs/gst/base/gstbasesrc.h:
1383 API: gst_base_src_query_latency(). Added method so that subclasses can
1384 easily get the latency values of the base source class.
1386 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1388 * tools/gst-inspect.c (print_implementation_info):
1391 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1393 * tools/Makefile.am:
1394 * tools/gst-launch.1.in:
1395 Don't create a customised man page based on the host architecture,
1396 describe the default registry path generically. That way the man
1397 page is the same for all architectures and packagers have one
1398 multilib issue less to deal with. Fixes #434926.
1400 2007-05-02 Wim Taymans <wim@fluendo.com>
1403 Fix documentation as spotted by rg on IRC.
1405 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1408 Improve docs for gst_element_{link,unlink}.
1410 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1412 * docs/design/part-events.txt:
1413 * docs/design/part-overview.txt:
1417 * libs/gst/base/gstbasesink.c:
1418 Typo fixes; minor docs addition.
1420 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1422 * docs/gst/gstreamer-sections.txt:
1423 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1424 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1426 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1427 or src that supports a given URI protocol exists.
1429 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1431 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1432 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1433 Set the location to NULL if "file://" is set as URI. Otherwise
1434 some random previous URI would still be set if "file://" is
1435 set on an already used filesink/filesrc.
1437 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1439 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1440 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1441 Special case the "file://" URI as as this is used by some
1442 applications to test with gst_element_make_from_uri if there's
1443 an element that supports the URI protocol.
1444 Also move the g_path_is_absolute() check for the location part
1445 of the URI to also check this for "file://localhost/bla" URIs.
1447 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1449 * docs/gst/gstreamer-sections.txt:
1450 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1452 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1454 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1456 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1458 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1459 (gst_registry_binary_load_pad_template),
1460 (gst_registry_binary_load_plugin),
1461 (gst_registry_binary_read_cache):
1462 * gst/gstregistrybinary.h:
1463 Implement no-mmap alternative for registry reading. Do code cleanups.
1464 Add more comments about avoiding strdups for all text data. Comments
1467 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1469 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1470 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1471 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1472 Comment structs and reformat to fix the build (that stuff should go
1473 into a priv. header).
1475 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1477 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1478 (gst_registry_binary_load_feature):
1479 * gst/gstregistrybinary.h:
1480 Refactor so that we can implement multiple features. Add support for
1481 TypeFindFactory features.
1483 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1485 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1488 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1490 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1492 * gst/gstbin.c: (gst_bin_element_set_state),
1493 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1494 (bin_handle_async_done), (gst_bin_handle_message_func):
1495 Fix build with --gst-disable-gst-debug
1497 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1499 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1500 Make sure streaming has finished before calling the ::stop() vfunc,
1501 since that vfunc might clear state which is being used in the
1502 streaming thread. This fixes a race that caused crashes in
1503 audioresample when shutting down a pipeline (#420106).
1505 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1507 * docs/gst/gstreamer-sections.txt:
1508 That was one byte missing.
1510 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1513 * docs/gst/gstreamer-sections.txt:
1515 * gst/gstconfig.h.in:
1516 * gst/gstobject.c: (gst_object_class_init),
1517 (gst_signal_object_class_init):
1519 2nd attempt to have a xml-less build as a joined effort of #413123
1522 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1524 * docs/design/draft-tagreading.txt:
1525 Added open issues/thoughts to draft.
1527 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1529 * gst/parse/grammar.tab.pre.c:
1530 * gst/parse/grammar.tab.pre.h:
1531 * gst/parse/lex._gst_parse_yy.pre.c:
1532 Update the prebuild parser sources.
1534 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1536 * gst/parse/Makefile.am:
1537 And now fix the building of the flex sources. Now everything should
1540 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1542 * gst/parse/Makefile.am:
1543 Now hopefully fix the build failures by setting proper rule
1544 dependencies and moving instead of copying.
1546 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1548 * tests/benchmarks/complexity.gnuplot:
1549 * tests/benchmarks/complexity.scm:
1550 * tests/benchmarks/mass-elements.gnuplot:
1551 * tests/benchmarks/mass-elements.scm:
1552 Total licensification.
1554 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1556 * gst/parse/Makefile.am:
1557 Fix the build by correcting the rule that gave wrong files to flex.
1559 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1561 * tests/benchmarks/complexity.c:
1562 * tests/benchmarks/mass-elements.c:
1563 Change licence to LGPL as granted by Benjamin and Andy.
1565 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1567 * gst/parse/Makefile.am:
1568 Add correct grammar.tab.h dependency if compiling without new enough
1569 flex. Fixes #431150.
1571 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1573 * gst/parse/Makefile.am:
1574 Fix typo and use outdated sources if the flex/bison sources are newer
1575 than the pregenerated ones but flex is too old. Print a warning in
1576 that case. This should fix the build on the build bot.
1578 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1580 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1581 * gst/parse/Makefile.am:
1582 * gst/parse/grammar.y:
1583 * gst/parse/parse.l:
1584 Make the parser reentrant and recursively callable. This requires flex
1585 >= 2.5.31, for older versions pregenerated sources are used as we
1586 can't bump the build dependency. Finally fixes #349180.
1588 * gst/gstparse.c: (gst_parse_launch):
1589 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1592 * docs/gst/Makefile.am:
1593 * docs/gst/Makefile.am:
1594 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1595 (__gst_parse_strfree), (__gst_parse_link_new),
1596 (__gst_parse_link_free), (__gst_parse_chain_new),
1597 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1598 (gst_parse_element_set), (gst_parse_free_link),
1599 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1600 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1601 (_gst_parse_launch):
1602 * gst/parse/grammar.tab.pre.h:
1603 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1604 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1605 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1606 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1607 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1608 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1609 (_gst_parse_yypop_buffer_state),
1610 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1611 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1612 (yy_fatal_error), (_gst_parse_yyget_extra),
1613 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1614 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1615 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1616 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1617 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1618 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1619 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1620 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1621 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1622 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1623 (_gst_parse_yyfree):
1624 If the installed flex version is too old use pre-generated parser
1625 sources. These pre-generated parser sources are always updated when
1626 the actual flex/bison sources change but require everybody who wants
1627 to change something in the parser to have flex >= 2.5.31 installed.
1629 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1631 * common/m4/gst-gettext.m4:
1632 * gst/gst-i18n-lib.h:
1633 Make --disable-nls to work
1635 2007-04-17 Wim Taymans <wim@fluendo.com>
1637 * gst/gstconfig.h.in:
1638 Revert previous change that broke the build.
1640 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1644 * gst/gstconfig.h.in:
1645 Drop libxml2 dependency when building with
1646 --enable-binary-registry --disable-loadsave
1648 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1650 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1651 (gst_registry_binary_read_cache):
1652 * gst/gstregistrybinary.h:
1653 Remove unnecessary <sys/mman.h> include which broke the win32 build
1654 with MingW; move includes from header file to .c file, even if the
1655 header file isn't installed; use g_strerror() where UTF-8 strings
1656 are expected, such as in GST_DEBUG messages.
1658 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1660 * docs/libs/gstreamer-libs-sections.txt:
1661 Remove bogus addition for API I didn't end up keeping.
1663 * libs/gst/base/gstbasesrc.h:
1664 Mention Since: 0.10.13 in the documentation.
1666 Add the API keyword to the previous ChangeLog entry.
1668 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1670 * docs/libs/gstreamer-libs-sections.txt:
1671 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1672 (gst_base_src_default_prepare_seek_segment),
1673 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1674 * libs/gst/base/gstbasesrc.h:
1675 Allow basesrc derived classes to execute seeks in other formats
1676 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1677 to prepare the GstSegment in any format that their perform_seek method
1678 will be able to understand. The default implementation provides the
1679 old behaviour of attempting to convert the seek offsets to the
1680 configured native format.
1682 API: basesrc::prepare_seek_segment vmethod.
1684 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1686 * gst/gstelement.c: (gst_element_get_state_func):
1687 Don't output the same debug statement twice.
1689 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1690 (gst_adapter_peek), (gst_adapter_take_buffer):
1691 Optimise the case where we have buffers at the head of the queue that
1692 can be joined quickly (because they're contiguous sub-buffers) by
1693 merging them together rather than copying data out into new memory.
1695 * gst/parse/grammar.y:
1696 * tests/check/pipelines/parse-launch.c:
1697 Fix a leak in an error path for parse_launch, and add a check
1698 for it to the testsuite.
1700 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1702 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1703 Don't deadlock when releasing a pad - gst_pad_set_active may try
1704 and take the multiqueue lock too.
1706 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1708 * gst/gsterror.c: (_gst_core_errors_init):
1710 API: add GST_CORE_ERROR_DISABLED (#392804).
1712 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1714 * docs/faq/gst-uninstalled:
1715 don't get empty paths on the PATH variables
1716 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1717 Don't format for the uncommon terminal width of 84 characters.
1719 2007-04-06 Wim Taymans <wim@fluendo.com>
1721 * gst/gstpipeline.c: (reset_stream_time),
1722 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1723 Only try to select a different pipeline clock when we went back to
1724 PAUSED and not when we merely got flushed.
1726 2007-04-05 Michael Smith <msmith@fluendo.com>
1728 * tools/gst-launch.1.in:
1729 fractions are better supported in gstreamer than ractions, so
1730 suggest using those.
1732 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1734 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1738 Added Danish translation.
1740 2007-04-05 Wim Taymans <wim@fluendo.com>
1742 * libs/gst/base/gstbasesink.c:
1743 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1744 Fix leak caused when refusing newsegment after EOS.
1746 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1747 (gst_fake_sink_init), (gst_fake_sink_set_property),
1748 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1749 (gst_fake_sink_render), (gst_fake_sink_change_state):
1750 * plugins/elements/gstfakesink.h:
1751 Add num-buffers property to make the element generate EOS after a
1752 configurable amount of buffers.
1753 API: fakesink::num-buffers property.
1755 * tests/check/elements/fakesink.c: (GST_START_TEST),
1757 Fix GstBus leak in test.
1758 Test for fakesink num-buffers.
1760 2007-04-05 Wim Taymans <wim@fluendo.com>
1762 * libs/gst/base/gstbasesink.c:
1763 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1764 (gst_base_sink_change_state):
1765 Don't accept anything after an EOS, return UNEXPECTED instead.
1767 * tests/check/elements/fakesink.c: (GST_START_TEST),
1769 Unit test for new EOS behaviour.
1771 2007-04-05 Wim Taymans <wim@fluendo.com>
1773 * gst/gstelement.c: (gst_element_get_request_pad):
1774 Make padtemplates also work when they don't contain %s or %d.
1776 2007-04-05 Wim Taymans <wim@fluendo.com>
1778 * docs/gst/gstreamer-sections.txt:
1779 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1780 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1782 Improve _adjust_unlocked() so that it overflows less.
1783 Add gst_clock_unadjust_unlocked to convert from external time to
1784 internal time based on calibration.
1785 Add some more debug.
1786 API: GstClock::gst_clock_unadjust_unlocked()
1788 2007-04-03 Wim Taymans <wim@fluendo.com>
1790 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1792 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1793 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1794 when releasing sink pad. Fixes #425400.
1796 2007-04-02 Stefan Kost <ensonic@users.sf.net>
1798 * docs/random/ensonic/dynlink.txt:
1799 More work on proposal for new core api.
1801 * docs/libs/gstreamer-libs-sections.txt:
1802 * libs/gst/base/gstbasetransform.h:
1803 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1805 * libs/gst/controller/gstcontroller.c:
1806 (on_object_controlled_property_changed),
1807 (gst_controller_sync_values),
1808 (gst_controller_set_interpolation_mode):
1809 * libs/gst/controller/gstcontroller.h:
1810 Less verbose logging add docs for unimplemented parts and correctly
1811 return when using unavailable parts.
1813 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1815 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1816 Move all the debug to the CLOCK category, and associate it with
1819 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1821 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1822 Make take_buffer a bit quicker by removing redundant checks
1823 caused by calling gst_adapter_take.
1825 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1827 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1830 * tests/check/Makefile.am:
1831 * tests/check/elements/.cvsignore:
1832 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1833 (GST_START_TEST), (multiqueue_suite):
1834 Add some dead simple unit tests for the 'multiqueue' element
1835 (some bits don't work yet and are disabled for now).
1837 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1839 * gst/gstelement.c: (gst_element_get_request_pad),
1840 (gst_element_class_get_request_pad_template):
1841 Make gst_element_get_request_pad() create request pads only for
1842 request pad templates and not for, say, sometimes pad templates.
1844 2007-03-28 Stefan Kost <ensonic@users.sf.net>
1846 * docs/design/draft-klass.txt:
1847 Add example that needs more thinking.
1849 * docs/design/draft-missing-plugins.txt:
1850 More thoughts about wrapper plugins.
1852 * docs/random/ensonic/embedded.txt:
1853 * docs/random/ensonic/profiling.txt:
1856 2007-03-25 Wim Taymans <wim@fluendo.com>
1858 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1859 (gst_base_src_loop):
1860 Only push the segment events in the PLAYING state for live sources.
1862 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
1864 * gst/gstpipeline.c: (gst_pipeline_change_state):
1865 Modify the clock distribution path in PAUSED->PLAYING so that we
1866 never attempt to choose a new clock unless we're actually leaving
1867 the PAUSED state for the first time. This prevents choosing a
1868 different clock when the state_change gets called for a 2nd time due
1869 to some element doing an async state change.
1871 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1873 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
1874 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
1875 (gst_pad_chain_unchecked), (gst_pad_push):
1876 Revert last commit. This needs some more thoughts.
1878 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1880 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
1881 (gst_pad_chain_unchecked), (gst_pad_push):
1882 Check in set_caps if the caps are compatible with the pad and remove
1883 two functions that are redundant now. Fixes #421543.
1885 2007-03-22 Wim Taymans <wim@fluendo.com>
1887 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1888 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
1889 Unref some more to make valgrind happy.
1891 2007-03-22 Wim Taymans <wim@fluendo.com>
1893 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
1894 (gst_system_clock_id_wait_jitter),
1895 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
1896 Fix anoying regression that survived a few releases. When adding an
1897 async entry while blocking on a sync entry, the sync entry will unblock
1898 but still be busy, so it should continue to wait instead of returning
1900 Add some comments here and there.
1902 * tests/check/gst/gstsystemclock.c: (mixed_thread),
1903 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
1904 Add testcase for this.
1906 2007-03-22 Wim Taymans <wim@fluendo.com>
1908 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
1909 Handle errors from the clock sync better, only UNSCHEDULED indicates a
1910 WRONG_STATE and can silently pause the task. All other cases should
1913 2007-03-22 Wim Taymans <wim@fluendo.com>
1915 Patch by: Ville Syrjala <syrjala at sci dot fi>
1917 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
1918 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
1921 2007-03-21 Michael Smith <msmith@fluendo.com>
1923 * docs/pwg/advanced-types.xml:
1924 Fix some errors in the typefinding docs pointed out on irc.
1926 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
1928 * libs/gst/base/gstbasesrc.c:
1929 Clarify FIXME comment in the face of having added unlock_stop()
1931 2007-03-21 Wim Taymans <wim@fluendo.com>
1933 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
1934 Prepare for release where we warn against possible app breakage in the
1935 case of live pipelines along with an env var to enable/disable live
1936 preroll mode (GST_COMPAT=[no-]live-preroll).
1938 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1940 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
1941 So we should use correct constants for checking for None offset.
1943 2007-03-20 Wim Taymans <wim@fluendo.com>
1945 * docs/design/part-block.txt:
1946 Mention the fact that the newly switched element should be set to at
1949 2007-03-20 Wim Taymans <wim@fluendo.com>
1952 Fix compilation with registry disabled as spotted by Saur.
1954 2007-03-20 Wim Taymans <wim@fluendo.com>
1956 Patch by: Olivier Crete <tester at tester dot ca>
1958 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1959 Look at the pending state too when syncing the element state to the
1960 parent. Fixes #420133.
1962 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
1964 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1965 (gst_base_sink_change_state):
1966 * libs/gst/base/gstbasesink.h:
1967 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1968 (gst_base_src_default_event), (gst_base_src_unlock_stop),
1969 (gst_base_src_deactivate):
1970 * libs/gst/base/gstbasesrc.h:
1971 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
1972 for sub-classes to correctly clear any state they set trying to
1973 unlock, such as clearing out unlock commands from a command fd.
1974 API: basesrc::unlock_stop
1975 API: basesink::unlock_stop
1977 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
1978 (gst_fd_sink_render), (gst_fd_sink_unlock),
1979 (gst_fd_sink_unlock_stop):
1980 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1981 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
1982 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
1984 Implement unlock_stop in fdsrc and fdsink.
1985 Implement seeking in fdsrc when a seekable fd is passed, as in
1986 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
1988 2007-03-19 Wim Taymans <wim@fluendo.com>
1990 Patch by: Evan Nemerson <evan at coeus dash group dot com>
1992 * gst/gstelement.c: (gst_element_class_init):
1993 Fix pad-added and pad-removed signal signatures so that the pad type is
1994 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
1996 2007-03-19 Wim Taymans <wim@fluendo.com>
1998 * docs/gst/gstreamer-sections.txt:
1999 Add new element field and method.
2001 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2002 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2003 (gst_bin_recalc_state), (gst_bin_get_state_func),
2004 (gst_bin_element_set_state), (gst_bin_change_state_func),
2005 (gst_bin_continue_func), (bin_bus_handler),
2006 (bin_push_state_continue), (bin_handle_async_start),
2007 (bin_handle_async_done), (gst_bin_handle_message_func):
2008 Make async state changes a bit smarter by using new ASYNC_START and
2009 ASYNC_DONE messages. This reduces the number of times we run the state
2010 recalculation thread.
2011 Don't change state of element with a pending ASYNC_START message.
2012 Deprecate STATE_DIRTY messages.
2014 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2015 (gst_element_get_state_func), (gst_element_continue_state),
2016 (gst_element_lost_state), (gst_element_set_state_func),
2017 (gst_element_change_state):
2019 Keep the state that was last set by the app in a new element field.
2020 Don't allow state changes when handling an element event.
2021 Post ASYNC_START and ASYNC_DONE messages.
2022 Change lost_state so that we go to PAUSED and wait for the parent to set
2023 us to PLAYING again (so latency calculation can be performed)
2024 Export gst_element_change_state() method so that subclasses can use it.
2025 API: gst_element_change_state()
2026 API: GST_STATE_TARGET
2028 * gst/gstpipeline.c: (gst_pipeline_class_init),
2029 (reset_stream_time), (gst_pipeline_change_state),
2030 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2031 Using the new ASYNC_START message we can reset the base_time when
2032 needed. This can then be used to implement base_time redistribution in
2033 flushing seeks so that we can remove the explicit seek handling.
2034 Perform latency query and configuration when going to PLAYING.
2036 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2037 (gst_base_sink_query), (gst_base_sink_change_state):
2038 Post new ASYNC_START/ASYNC_DONE messages.
2040 * tests/check/generic/sinks.c: (GST_START_TEST):
2041 Fix test because the bin will not set the async element to PLAYING right
2044 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2045 Make the message check a little stronger.
2046 Handle ASYNC messages.
2048 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2049 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2050 Expect ASYNC_DONE messages.
2052 2007-03-19 Wim Taymans <wim@fluendo.com>
2054 * docs/gst/gstreamer-sections.txt:
2055 * gst/gstmessage.c: (gst_message_new_async_start),
2056 (gst_message_new_async_done), (gst_message_parse_info),
2057 (gst_message_parse_async_start):
2059 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2062 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2064 * tools/gst-inspect.c:
2065 (print_plugin_automatic_install_info_codecs):
2066 Now that we don't check for the 'Codec' keyword any longer in the
2067 klass, we shouldn't spew a warning if the klass isn't a decoder or
2068 encoder (since it might be a Source/Network, for example).
2070 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2072 * tools/gst-inspect.c:
2073 (print_plugin_automatic_install_info_codecs):
2074 Don't require decoder/demuxer/depayloader elements or
2075 encoder/muxer/paylader elements to have 'Codec' as part of their
2076 factory class string when introspecting a plugin's capabilities.
2077 draft-klass.txt mentions that it might be removed in future, and
2078 flump3dec doesn't have it as part of its class string, so chances
2079 are others might also not have it.
2081 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2103 Update translations from translation project
2105 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2107 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2108 (gst_child_proxy_set_property):
2109 Invert precondition check to be alike the ones in the mimiced gobject
2112 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2114 * docs/design/draft-tagreading.txt:
2115 * docs/random/ensonic/audiobaseclasses.txt:
2116 Do some Architect work.
2118 * gst/gstobject.c: (gst_object_set_name):
2122 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2124 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2126 * gst/gstsystemclock.c: (gst_system_clock_init),
2127 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2128 Defer starting the async system clock thread until the first async
2129 wait is scheduled. Fixes #414986.
2131 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2133 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2134 (gst_single_queue_free):
2135 Fix small leak (free GstSingleQueue structure too, not only contents).
2137 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2139 * gst/gstbin.c:(gst_bin_add):
2140 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2141 * win32/common/libgstbase.def:
2142 * win32/common/libgstreamer.def:
2143 Add new exported functions.
2145 2007-03-09 Wim Taymans <wim@fluendo.com>
2147 * docs/plugins/gstreamer-plugins-sections.txt:
2150 2007-03-09 Wim Taymans <wim@fluendo.com>
2152 * docs/gst/gstreamer-sections.txt:
2153 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2155 Add metadata copy functions. Fixes #393099.
2156 API: gst_buffer_copy_metadata()
2158 * gst/gstutils.c: (gst_buffer_stamp):
2159 * libs/gst/base/gstbasetransform.c:
2160 (gst_base_transform_prepare_output_buffer):
2161 Use new metadata copy functions.
2163 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2165 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2166 (gst_identity_init), (gst_identity_check_perfect),
2167 (gst_identity_check_imperfect_timestamp),
2168 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2169 (gst_identity_set_property), (gst_identity_get_property):
2170 * plugins/elements/gstidentity.h:
2171 Separate out check-imperfect-timestamp and check-imperfect-offset.
2172 Put back check-perfect as it was to keep compatibility.
2174 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2176 * gst/gstelement.c: (gst_element_dispose):
2177 There's no need to warn if VOID_PENDING is not NONE here, as
2178 long as the state is NULL it's ok, and that's checked immediately
2181 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2183 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2184 Fix check for perfect stream to ignore buffers with -1
2185 offsets/offset ends when checking data contiguity.
2187 2007-03-08 Wim Taymans <wim@fluendo.com>
2189 * tools/gst-launch.c: (event_loop):
2190 Print INFO messages.
2192 2007-03-08 Wim Taymans <wim@fluendo.com>
2194 * libs/gst/base/gstbasetransform.c:
2195 (gst_base_transform_sink_eventfunc),
2196 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2197 (gst_base_transform_activate):
2198 * libs/gst/base/gstbasetransform.h:
2199 Add support for dropping buffers with custom GstFlowReturn.
2200 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2201 buffers or dropped buffers.
2203 * docs/libs/gstreamer-libs-sections.txt:
2204 docs for new custom return code.
2206 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2207 Use drop support in base class to implement drop-probability.
2209 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2211 * gst/gst.c: (load_plugin_func):
2212 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2213 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2214 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2215 Remove newlines at end of debug log strings.
2217 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2219 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2220 Only post bus message at max, once per buffer received.
2222 2007-03-07 Wim Taymans <wim@fluendo.com>
2224 * docs/design/Makefile.am:
2225 * docs/design/part-synchronisation.txt:
2226 Add doc about synchronisation
2228 * docs/design/draft-latency.txt:
2229 * docs/design/part-TODO.txt:
2230 * docs/design/part-clocks.txt:
2231 * docs/design/part-events.txt:
2232 * docs/design/part-gstbus.txt:
2233 * docs/design/part-gstpipeline.txt:
2234 * docs/design/part-live-source.txt:
2235 * docs/design/part-messages.txt:
2236 * docs/design/part-overview.txt:
2237 * docs/design/part-streams.txt:
2238 * docs/design/part-trickmodes.txt:
2239 Documentation updates.
2241 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2244 Update the doap file.
2246 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2248 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2249 Rename non-perfect to imperfect for Mike and for the sanctity of the
2251 Also make sure bus message gets emitted for data-incontiguities.
2253 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2255 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2256 (gst_identity_start):
2257 * plugins/elements/gstidentity.h:
2258 Emit bus message if check-perfect is true and we encounter a
2259 non-perfect stream between 2 consecutive buffers.
2262 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2267 === release 0.10.12 ===
2269 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2272 releasing 0.10.12, "Inevitable Demise"
2274 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
2277 Version 0.10.11.2 (0.10.12 pre-release)
2278 Bump libtool versioning.
2280 2007-03-01 Stefan Kost <ensonic@users.sf.net>
2282 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2283 Log flow-names and not numbers.
2285 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2288 Convert to new AG_GST style.
2290 2007-02-28 Wim Taymans <wim@fluendo.com>
2292 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2293 Don't unref query twice.
2295 2007-02-28 Wim Taymans <wim@fluendo.com>
2297 * gst/gstvalue.c: (gst_value_transform_object_string),
2298 (_gst_value_initialize):
2299 Implement GstObject -> string transform so we print object names
2300 when serializing GValues containing GstObjects.
2302 2007-02-28 Wim Taymans <wim@fluendo.com>
2304 * docs/gst/gstreamer-sections.txt:
2305 Add new stuff to docs.
2307 2007-02-28 Wim Taymans <wim@fluendo.com>
2309 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2310 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2311 (gst_base_sink_change_state):
2312 Improve latency query code.
2313 Don't leak latency events.
2315 * tests/check/gst/gstbin.c: (GST_START_TEST):
2318 2007-02-28 Wim Taymans <wim@fluendo.com>
2320 * gst/gstelement.c: (gst_element_message_full),
2321 (gst_element_get_state_func):
2323 Improve docs a little. Added Since: for new macro.
2325 * gst/gstobject.c: (gst_object_sink):
2326 * gst/gstpipeline.c: (gst_pipeline_change_state),
2327 (gst_pipeline_set_new_stream_time):
2328 * gst/gstpipeline.h:
2329 Improve debugging and docs.
2331 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2334 2007-02-28 Wim Taymans <wim@fluendo.com>
2336 * gst/gstelement.c: (gst_element_message_full),
2337 (gst_element_set_locked_state), (gst_element_get_state_func),
2338 (gst_element_change_state):
2339 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2340 Documentation updates.
2341 Small code cleanups.
2343 * gst/gstmessage.c: (gst_message_new_info),
2344 (gst_message_parse_info):
2346 API: gst_message_new_info()
2347 API: gst_message_parse_info()
2348 Add INFO message create and parse code.
2350 2007-02-28 Wim Taymans <wim@fluendo.com>
2352 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2353 (bin_query_latency_done):
2354 Also report the live parameter of a latency query.
2356 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2358 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2359 Copy the current generic/states example from -base and adapt so
2360 we can use the exact same code everywhere.
2361 Check a STATES_IGNORE_ELEMENTS env var which can be used
2362 to ignore certain element factories for this test, which is
2363 what is being done in -base
2364 * tests/check/Makefile.am:
2365 Mention this environment variable.
2367 2007-02-27 Wim Taymans <wim@fluendo.com>
2369 * docs/gst/gstreamer-sections.txt:
2370 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2371 (gst_bus_timed_pop), (gst_bus_pop):
2373 API: gst_bus_timed_pop()
2374 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2375 message to arrive on the bus.
2377 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2379 Two unit tests for new _timed_pop() function.
2381 2007-02-23 Wim Taymans <wim@fluendo.com>
2383 * gst/gstpipeline.c: (gst_pipeline_change_state),
2384 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2385 Don't ref a NULL clock in _provide_clock_func().
2386 Don't allow an INVALID delay.
2387 Don't try to calculate base_time with an invalid start_time.
2388 Also distribute and notify a NULL clock when it was selected.
2390 * tools/gst-launch.c: (event_loop):
2391 Don't crash when a NULL clock was selected in the pipeline.
2393 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2395 * docs/design/Makefile.am:
2396 * docs/design/draft-missing-plugins.txt:
2397 * docs/random/draft-missing-plugins.txt:
2398 Some small updates: update plugin system identifier prefix
2399 ('gstreamer.net' to 'gstreamer'), mention our new install
2400 API in libgstbaseutils rather than libgimme-codec, add
2401 reference to the online docs.
2403 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2405 * win32/common/config.h:
2406 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2407 use moap cl ci to only check in what is mentioned in the ChangeLog.
2409 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2411 * docs/gst/gstreamer-sections.txt:
2413 Fix up documentation to link to the correct GstGError section.
2414 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2416 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2418 * tools/gst-launch.c: (event_loop):
2419 Make sure that we actually show the important message part of a
2421 No need to check if the gerror is not NULL to free; first of all
2422 g_free accepts NULL; and second the default error handler would
2423 segfault if gerror was NULL.
2425 2007-02-21 Wim Taymans <wim@fluendo.com>
2427 * docs/gst/gstreamer-sections.txt:
2428 Removed docs as well.
2430 2007-02-21 Wim Taymans <wim@fluendo.com>
2432 * gst/gstmessage.c: (gst_message_parse_duration):
2434 Remove new messages for release.
2436 2007-02-20 Wim Taymans <wim@fluendo.com>
2438 * docs/design/part-gstghostpad.txt:
2439 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2440 (gst_ghost_pad_new_full):
2441 Make the ghostpad a parent of the internal pad again for better backward
2442 compatibility. Don't write code that relies on this however.
2444 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2445 (gst_pad_link_check_hierarchy):
2446 Require that parents should be GstElements in the hierarchy check.
2448 2007-02-20 Wim Taymans <wim@fluendo.com>
2450 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2451 (gst_bin_change_state_func), (bin_query_min_max_init),
2452 (bin_query_latency_fold), (bin_query_latency_done),
2455 Implement latency query.
2457 2007-02-20 Wim Taymans <wim@fluendo.com>
2459 * docs/design/part-gstghostpad.txt:
2460 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2461 (gst_ghost_pad_internal_do_activate_push),
2462 (gst_ghost_pad_internal_do_activate_pull),
2463 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2464 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2465 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2466 Do not set the internal pad as a parent anymore so we can avoid
2467 hierarchy linking errors when the ghostpad has no parent yet. This also
2468 fixes failed activation because of unlinked internal pads, which in
2469 turn fixes the impossible case where you have to activate a pad before
2470 you can add it to a running element.
2473 * gst/gstpad.c: (pre_activate), (post_activate),
2474 (gst_pad_set_active), (gst_pad_activate_pull),
2475 (gst_pad_activate_push), (gst_pad_check_pull_range):
2476 Add some more debug info.
2477 Mark activation mode in pre_activate so that we don't try to activate in
2478 endless loops. Fixes #385084.
2480 2007-02-19 Wim Taymans <wim@fluendo.com>
2482 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2483 (gst_base_transform_check_get_range):
2484 Implement a checkgetrange function instead of relying on the default
2485 core behaviour that assumes we can operate in pull mode if we have a
2486 getrange function. First step at fixing #385084.
2488 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2490 * gst/gstchildproxy.h:
2491 * libs/gst/base/gstbasesink.h:
2492 * libs/gst/base/gstbasesrc.h:
2493 * libs/gst/base/gstbasetransform.h:
2494 More docs coverage and some ChangeLog surgery (add missing names)
2496 2007-02-15 Wim Taymans <wim@fluendo.com>
2498 * docs/design/part-TODO.txt:
2499 * docs/design/part-activation.txt:
2500 * docs/design/part-block.txt:
2501 * docs/design/part-buffering.txt:
2502 * docs/design/part-clocks.txt:
2503 * docs/design/part-element-source.txt:
2504 * docs/design/part-events.txt:
2505 * docs/design/part-gstbin.txt:
2506 * docs/design/part-gstbus.txt:
2507 * docs/design/part-gstpipeline.txt:
2508 * docs/design/part-live-source.txt:
2509 * docs/design/part-messages.txt:
2510 * docs/design/part-overview.txt:
2511 * docs/design/part-qos.txt:
2512 * docs/design/part-query.txt:
2513 * docs/design/part-states.txt:
2514 * docs/design/part-trickmodes.txt:
2515 Some doc updates. Start renaming from stream_time to running_time where
2516 it was used wrongly.
2518 2007-02-15 Wim Taymans <wim@fluendo.com>
2520 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2521 Answer LATENCY query.
2523 2007-02-15 Wim Taymans <wim@fluendo.com>
2525 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2529 2007-02-15 Wim Taymans <wim@fluendo.com>
2531 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2532 (gst_pad_dispatcher):
2533 Improve debugging of default pad dispatcher and query functions.
2535 2007-02-15 Wim Taymans <wim@fluendo.com>
2537 * docs/gst/gstreamer-sections.txt:
2538 Remove old unused method.
2540 2007-02-13 Wim Taymans <wim@fluendo.com>
2542 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2545 2007-02-13 Wim Taymans <wim@fluendo.com>
2547 * docs/design/part-seeking.txt:
2550 * gst/gstsegment.c: (gst_segment_set_seek):
2551 Revert old bogus change that should make seeking work again.
2553 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2555 * docs/random/ensonic/dynlink.txt:
2556 * docs/random/ensonic/interfaces.txt:
2557 * docs/random/ensonic/receipies.txt:
2558 Possible dynamic reconnection api, plus some type fixes the other two
2561 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2563 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2564 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2565 Also check for an absolute path following file:// in the filesrc
2566 element. Remove redundant check and call g_path_is_absolute() on the
2569 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2571 * docs/design/draft-klass.txt:
2572 Add existing category analysis.
2575 Fix doc example, framerate is a fraction.
2577 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2580 * docs/gst/Makefile.am:
2581 * docs/gst/gstreamer-sections.txt:
2582 * docs/libs/Makefile.am:
2583 Erm, forgot a bunch of --extra-dir.
2585 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2588 * docs/gst/Makefile.am:
2589 * docs/libs/Makefile.am:
2590 * docs/plugins/Makefile.am:
2591 Add crossreferences to glib/gobject docs.
2593 2007-02-12 Wim Taymans <wim@fluendo.com>
2595 * docs/design/draft-latency.txt:
2598 * docs/libs/gstreamer-libs-sections.txt:
2599 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2600 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2601 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2602 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2603 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2604 (gst_base_sink_get_position), (gst_base_sink_query),
2605 (gst_base_sink_change_state):
2606 * libs/gst/base/gstbasesink.h:
2607 API: gst_base_sink_query_latency() to let subclasses query the upstream
2609 API: gst_base_sink_get_latency() to let subclasses query the configured
2610 latency in the sink.
2611 Implement query and set latency.
2613 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2614 don't continue preroll when we are flushing. Fixes #405284.
2616 * tests/check/pipelines/stress.c: (change_state_timeout),
2617 (quit_timeout), (GST_START_TEST), (stress_suite):
2620 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2622 Patch by: René Stadler <mail at renestadler de>
2624 * docs/gst/gstreamer-sections.txt:
2625 * gst/gsttaglist.c: (_gst_tag_initialize):
2627 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2629 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2631 * docs/libs/Makefile.am:
2632 Fix path to core docs.
2634 * gst/gstbin.c: (gst_bin_get_by_interface),
2635 (gst_bin_iterate_all_by_interface):
2636 Refix docs by also renaming 'interface' to 'iface' in implementation.
2638 * docs/gst/gstreamer-sections.txt:
2640 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2641 * gst/gstchildproxy.h:
2642 * gst/gstelementfactory.c:
2643 * gst/gstpadtemplate.h:
2644 * libs/gst/controller/gstcontroller.c:
2645 (gst_controlled_property_new):
2648 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2650 * gst/gstbin.h:(gst_bin_get_by_interface),
2651 (gst_bin_iterate_all_by_interface):
2652 Replace interface parameter name by iface as interface is
2653 a reserved keyword in Visual Studio for C++ projects so it removes
2654 a build error for application developpers using VS.
2655 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2656 Fix a bug on Windows in uri format check. Now the prefix checked
2657 is file:// and next we check if the path after file:// is absolute.
2658 * win32/common/libgstbase.def:
2659 * win32/common/libgstdataprotocol.def:
2660 * win32/common/libgstgstreamer.def:
2661 Add new exported functions.
2663 2007-02-09 Andy Wingo <wingo@pobox.com>
2665 * tests/check/pipelines/simple-launch-lines.c
2666 (simple_launch_lines_suite, test_tee): Disable tee test until I
2667 have time to fix it :-(
2669 * tests/check/Makefile.am (noinst_HEADERS):
2670 * tests/check/libs/libsabi.c:
2671 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2672 * tests/check/gst/gstabi.c:
2673 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2675 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2676 tests for push and pull tee behavior.
2678 * plugins/elements/gsttee.h:
2679 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2680 mark as deprecated as well as unimplemented. It was a crack idea.
2681 Add support for tee operating in pull mode, off by default.
2683 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2684 normal-case logs down to LOG, raise errors to WARNING.
2685 (gst_registry_xml_read_cache): Don't log before calling a function
2688 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2689 exit (registry finalize).
2690 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2691 DEBUG log when we emit signals that people don't even have the
2692 chance to connect to.
2693 (gst_registry_scan_path_level): Less logging in the normal case.
2695 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2697 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2699 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2700 Correctly generate EOS for non-seekable files. We don't have a total
2701 length for them and would get an unexpected end of file if we only
2702 special-cased for regular files. (Fixes: #404569)
2704 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2706 * tests/check/elements/filesrc.c: (GST_START_TEST),
2708 Add unit test for the GstURIHandler interface in filesrc. This also
2709 tests the newly added file://localhost/foo/bar support.
2711 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2713 * gst/gstelementfactory.h:
2714 The klass string is not a hierarchy. Add reference to the design doc
2715 for more information and common types.
2717 2007-02-02 Wim Taymans <wim@fluendo.com>
2719 * gst/gstquery.c: (gst_query_new_latency):
2720 Remove old structure field.
2722 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2724 * tools/gst-launch.1.in:
2725 Give example for network streaming (#351998)
2727 2007-02-02 Wim Taymans <wim@fluendo.com>
2729 * docs/gst/gstreamer-sections.txt:
2730 Add docs for new methods.
2732 * gst/gstevent.c: (gst_event_new_latency),
2733 (gst_event_parse_latency):
2735 Add new LATENCY event to configure latency in a pipeline.
2736 API: gst_event_new_latency
2737 API: gst_event_parse_latency
2739 * gst/gstmessage.c: (gst_message_new_buffering),
2740 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2741 (gst_message_new_latency), (gst_message_parse_buffering),
2742 (gst_message_parse_lost_preroll):
2744 Added messages used in draft-latency.
2745 API: gst_message_new_lost_preroll
2746 API: gst_message_parse_lost_preroll
2747 API: gst_message_new_prerolled
2748 API: gst_message_new_latency
2750 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2751 (gst_query_parse_latency):
2753 Implemented new latency query as in design doc.
2754 API: gst_query_new_latency
2755 API: gst_query_set_latency
2756 API: gst_query_parse_latency
2758 2007-02-02 Wim Taymans <wim@fluendo.com>
2760 * docs/design/draft-latency.txt:
2761 Slight redesign to allow for dynamic latency adjustments.
2763 * docs/design/part-negotiation.txt:
2766 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2768 reviewed by: Wim Taymans <wim@fluendo.com>
2770 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2771 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2772 Allow file://localhost/foo/bar URLs and correctly fail for every other
2773 hostname that one sets. This was gnomevfssrc is linked for those if
2774 installed as it can handle it (#403172)
2776 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2778 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2780 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2781 (unref_data), (gst_collect_pads_add_pad_full):
2782 * libs/gst/base/gstcollectpads.h:
2783 Don't put the previously added destroy notify in the GstCollectData
2784 struct as all it's padding is already used and we don't want to break
2785 ABI. Instead put in the pad's GObject data for now. This should be
2786 cleaned up for 0.11 (#402393).
2788 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2790 reviewed by: Wim Taymans <wim@fluendo.com>
2792 * docs/libs/gstreamer-libs-sections.txt:
2793 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2794 (unref_data), (gst_collect_pads_add_pad),
2795 (gst_collect_pads_add_pad_full):
2796 * libs/gst/base/gstcollectpads.h:
2797 API: Add function to specify a destroy notification for custom
2798 GstCollectData when adding new pads in GstCollectPads (#402393).
2800 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
2803 Update Swedish translation (#378255).
2805 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2807 * docs/design/draft-klass.txt:
2808 Fix the previous change, this is a list of categories and not a hierarchy.
2810 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2812 * docs/design/draft-klass.txt:
2813 Add info about how to get a list of used classes.
2815 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
2817 * plugins/elements/gsttypefindelement.c:
2818 (gst_type_find_element_chain_do_typefinding),
2819 (gst_type_find_element_change_state):
2820 Don't leak found caps in chain function (no idea why that never
2821 showed up as a leak anywhere).
2823 2007-01-30 Stefan Kost <ensonic@users.sf.net>
2826 Fix and expand GstPluginDesc API docs.
2828 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2831 * gst/gstelementfactory.c:
2832 * gst/gstpadtemplate.h:
2835 * libs/gst/controller/gstcontroller.c:
2836 (gst_controlled_property_new):
2837 * tests/examples/controller/audio-example.c:
2840 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2843 comment about refining the xml deps
2846 comments about moving away from jade for docs
2849 recommit the ifdefs to use the binary registry
2851 * gst/gstbin.c: (gst_bin_change_state_func):
2852 this break is obsolete
2854 * gst/gstelementfactory.h:
2855 better GST_ELEMENT_DETAILS docs, add comment about translation
2860 * gst/gstobject.c: (gst_signal_object_get_type):
2861 add G_UNLIKELY as usual
2863 * gst/gstpad.c: (gst_pad_event_default):
2864 add fall trhu comment
2866 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2867 (gst_registry_binary_initialize_magic),
2868 (gst_registry_binary_save_string),
2869 (gst_registry_binary_save_pad_template),
2870 (gst_registry_binary_save_feature),
2871 (gst_registry_binary_save_plugin),
2872 (gst_registry_binary_write_cache),
2873 (gst_registry_binary_check_magic),
2874 (gst_registry_binary_load_pad_template),
2875 (gst_registry_binary_load_feature),
2876 (gst_registry_binary_load_plugin),
2877 (gst_registry_binary_read_cache):
2878 comment typo and formatting
2880 * gst/gstutils.c: (gst_element_state_get_name),
2881 (gst_element_state_change_return_get_name):
2882 remove obsolete breaks
2884 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2885 add FIXME 0.11 and remove cpp comment
2887 2007-01-29 Edward Hervey <edward@fluendo.com>
2889 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2890 Fix print statement in an even more portable way.
2892 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
2894 * docs/gst/gstreamer-sections.txt:
2896 API: add GST_ROUND_DOWN_* macros (#401781).
2898 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
2900 * docs/gst/gstreamer.types.in:
2901 * gst/gstregistry.c: (gst_registry_class_init):
2902 Document registry signals and make gtk-doc pick them up (#401381).
2904 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
2906 * docs/pwg/building-testapp.xml:
2907 Add some audioconverts and audioresample to the pipeline, and some
2908 more comments and error handling.
2910 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
2912 * docs/manual/manual.xml:
2916 2007-01-26 Wim Taymans <wim@fluendo.com>
2918 * gst/gstcaps.c: (gst_static_caps_get):
2919 Init caps flags too.
2921 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
2923 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
2925 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2926 If not using mmap'ed files try to seek to the end instead of the
2927 start to determine whether we can seek at all. This fixes the case
2928 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
2929 seeks for everything afterwards fail. Fixes #400656
2931 2007-01-25 Wim Taymans <wim@fluendo.com>
2933 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
2934 Add some refcount debugging.
2935 Make gst_static_caps_get threadsafe, which is needed when autoplugging
2936 in multiple streaming threads.
2938 2007-01-25 Wim Taymans <wim@fluendo.com>
2940 Patch by: David Schleef <ds at schleef dot org>
2942 * docs/libs/gstreamer-libs-sections.txt:
2943 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
2944 * libs/gst/base/gstadapter.h:
2945 API: gst_adapter_copy() that can reduce the amount of memcpy when
2946 getting data from the adapter. Fixes #388201.
2948 2007-01-25 Edward Hervey <edward@fluendo.com>
2950 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2951 In print statements, "%x" is for guint. Fixes build on macosx.
2953 2007-01-24 Edward Hervey <edward@fluendo.com>
2955 * plugins/elements/gstmultiqueue.c:
2956 (gst_multi_queue_loop):
2958 (single_queue_overrun_cb), (single_queue_underrun_cb),
2959 (single_queue_check_full), (gst_single_queue_new):
2960 Implement single queue growth system.
2961 This uses the extra-size properties, and will grow single queues by
2962 that much if one goes full whereas there are others empty. This is
2963 called extra-mode in the code.
2964 When a single queue's levels go back below the initial max-size
2965 limits, it is no longer in extra-mode. This is to ensure we don't
2966 consume too much memory.
2969 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
2971 * gst/gst.c: (gst_init_get_option_group):
2972 Make warning about late g_thread_init() calls a bit more explicit,
2973 so that it's more obvious to application developers what they need
2974 to do if a user files a bug against their application.
2976 2007-01-22 Edward Hervey <edward@fluendo.com>
2978 * plugins/elements/gstmultiqueue.c:
2979 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
2980 Remove previous hack of unsetting the flushing flag for the source pad
2981 instead of activating it. Instead, fix the source pad activate function
2982 so that it no longer depends on having a parent set or not.
2984 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
2986 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
2988 * docs/manual/basics-bus.xml:
2989 Fix example code, gst_element_unref() doesn't exist any longer.
2991 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
2993 Patch by: Mark Nauwelaerts <manauw at skynet be>
2996 Fix two docs typoes (#399094).
2998 2007-01-19 Edward Hervey <edward@fluendo.com>
3000 * docs/faq/gst-uninstalled:
3001 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3002 depending on libgstbaseutils can work in uninstalled environment.
3004 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3007 * gst/gsttagsetter.c:
3008 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3009 statement for new tag.
3011 2007-01-17 Edward Hervey <edward@fluendo.com>
3013 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3014 When dynamically creating single queues, activate sinkpad before adding
3016 We should be doing the same thing for the source pad, but we can't
3017 since it would call a method which needs the parent to be set in order
3018 to work propertly. Instead of activating the source pad, we just unset
3019 the flushing flag, which is the minimal requirement for adding a pad
3020 to an element in a state greater than READY.
3022 2007-01-17 Edward Hervey <edward@fluendo.com>
3024 * docs/faq/gst-uninstalled:
3025 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3028 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3030 * tests/check/gst/gstabi.c:
3031 * tests/check/gst/struct_hppa.h:
3032 * tests/check/libs/libsabi.c:
3033 * tests/check/libs/struct_hppa.h:
3034 Add ABI structs for HPPA (see #393796).
3036 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3038 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3039 Actually write ABI structs to the file specified in the GST_ABI
3040 environment variable, as the message we print claims we would.
3042 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3044 * tests/check/gst/gsttask.c:
3047 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3049 * gst/gsttaglist.c: (_gst_tag_initialize):
3050 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3051 previous two entries.
3053 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3055 * docs/gst/gstreamer-sections.txt:
3056 * gst/gsttaglist.c: (_gst_tag_initialize):
3058 Add tag support for beat-per-minute.
3060 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3062 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3063 (gst_registry_binary_initialize_magic),
3064 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3065 (gst_registry_binary_save_pad_template),
3066 (gst_registry_binary_save_feature),
3067 (gst_registry_binary_save_plugin),
3068 (gst_registry_binary_write_cache),
3069 (gst_registry_binary_check_magic),
3070 (gst_registry_binary_load_pad_template),
3071 (gst_registry_binary_load_feature),
3072 (gst_registry_binary_load_plugin),
3073 (gst_registry_binary_read_cache):
3074 * gst/gstregistrybinary.h:
3075 Use glib types, cleanup comments, impement interfaces and uri-types.
3077 2007-01-13 Andy Wingo <wingo@pobox.com>
3079 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3080 getrange() to return buffers with other caps, while we fix
3081 demuxers and typefind, or otherwise change part-negotiation.txt.
3083 2007-01-12 Andy Wingo <wingo@pobox.com>
3085 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3086 Factor start/stop into this private function instead of partially
3087 in activate functions and partially in the change_state function.
3088 Fixes setup before the element has changed from READY->PAUSED, as
3089 is the case in pull-mode pipelines.
3090 (gst_base_transform_sink_activate_push)
3091 (gst_base_transform_src_activate_pull): Refactor to use
3092 gst_base_transform_activate().
3093 (gst_base_transform_change_state): Removed, not needed any more.
3095 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3096 Truncate before fixating.
3098 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3099 Don't set_caps() if the result of fixating is ANY, as it's not
3100 supported, and not necessary in the case of a link with no
3101 template caps on either side. Fixes tests/check/libs/basesrc in
3102 some pull-mode tests.
3104 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3105 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3106 (gst_base_transform_src_activate_pull):
3107 Track the activation mode.
3108 (gst_base_transform_setcaps): In pull mode, when activating the
3109 src pad, after activating the sink pad, activate the sink pad's
3110 peer, as discussed in part-negotiation.txt.
3112 * libs/gst/base/gstbasesrc.h:
3113 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3114 vmethod, as in basesink.
3116 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3118 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3119 mode, first proxy the setcaps to the peer pad.
3120 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3122 (gst_base_sink_default_activate_pull): Rename from
3123 gst_base_sink_activate_pull.
3124 (gst_base_sink_negotiate_pull): New function, performs negotiation
3125 in pull mode before calling ::activate_pull().
3126 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3127 vmethod instead of the default implementation. I have no idea how
3128 this worked before. Negotiate before calling activate_pull.
3130 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3131 sink pads in pull mode. In addition to being correct, fixes
3132 filesrc ! decodebin ! identity ! fakesink.
3133 (gst_pad_get_range, gst_pad_pull_range): Don't call
3134 gst_pad_set_caps() if the caps changes; instead error out with
3135 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3137 2007-01-12 Andy Wingo <wingo@pobox.com>
3139 * docs/design/part-negotiation.txt: Update with more policy.
3141 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3143 * libs/gst/check/gstbufferstraw.h:
3144 * libs/gst/check/gstcheck.h:
3145 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3148 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3150 * tests/check/Makefile.am:
3151 * tests/check/gst/.cvsignore:
3152 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3153 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3154 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3155 (GST_START_TEST), (gst_tag_setter_suite):
3156 Add minimal unit test for beforementioned GstTagSetter bug.
3158 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3160 Patch by: René Stadler <mail at renestadler dot de>
3162 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3163 gst_tag_list_merge() returns a new list, so it's not the best idea
3164 to ingore its return value. Effectively meant that tags could only
3165 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3166 Also add function guard to require a non-NULL taglist as input (has
3167 always been so due to gst_tag_list_copy(), just making it explicit).
3169 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3171 * docs/random/draft-missing-plugins.txt:
3172 Some additions: mention new API that is supposed to be used at the
3173 various stages; short blob about new gst-inspect introspection
3174 option; mention potential future problem with plugins that have
3175 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3177 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3179 * tools/gst-inspect.c:
3180 (print_plugin_automatic_install_info_codecs),
3181 (print_plugin_automatic_install_info_protocols),
3182 (print_plugin_automatic_install_info), (main):
3183 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3184 introspect plugin files and get machine-parsable output that corresponds
3185 to the last bit of the missing-plugin installer string (small gotcha:
3186 doesn't take into account ranks).
3188 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3191 * docs/gst/gstreamer-sections.txt:
3193 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3194 (gst_registry_lookup_locked):
3195 * gst/gstregistry.h:
3196 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3197 (gst_registry_binary_initialize_magic),
3198 (gst_registry_binary_save_string),
3199 (gst_registry_binary_save_pad_template),
3200 (gst_registry_binary_save_feature),
3201 (gst_registry_binary_save_plugin),
3202 (gst_registry_binary_write_cache),
3203 (gst_registry_binary_check_magic),
3204 (gst_registry_binary_load_pad_template),
3205 (gst_registry_binary_load_feature),
3206 (gst_registry_binary_load_plugin),
3207 (gst_registry_binary_read_cache):
3208 * gst/gstregistrybinary.h:
3209 * gst/gstregistryxml.c: (load_feature),
3210 (gst_registry_xml_read_cache):
3211 commit binary registry (disabled by default, see #359653)
3213 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3215 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3216 Fix 'make check' too.
3218 2007-01-10 Andy Wingo <wingo@pobox.com>
3220 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3223 * docs/design/part-negotiation.txt: Update with, um, one way that
3224 pull-mode negotiation might work?
3227 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3228 that the pad must be a src pad; makes sense to call it the other
3229 way in pull mode, and the logic is symmetric anyway.
3231 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3233 * plugins/elements/gstfilesink.c:
3234 Include <stdio.h> for fseeko().
3236 2007-01-10 Wim Taymans <wim@fluendo.com>
3240 Reserve LATENCY event.
3242 2007-01-09 Wim Taymans <wim@fluendo.com>
3244 * docs/design/draft-latency.txt:
3247 2007-01-09 Wim Taymans <wim@fluendo.com>
3249 * docs/design/draft-latency.txt:
3253 * gst/gststructure.c:
3257 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
3259 * tests/check/.cvsignore:
3260 Ignore test-registry.xml as well.
3262 2007-01-09 Wim Taymans <wim@fluendo.com>
3264 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3265 unref data at the end when we are done with the pad.
3267 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3269 * docs/gst/gstreamer-sections.txt:
3270 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3271 (init_post), (gst_deinit), (gst_update_registry):
3273 API: add gst_update_registry() (#391296).
3275 * tests/check/Makefile.am:
3276 * tests/check/gst/gstregistry.c:
3277 * tests/check/gst/.cvsignore:
3278 Simple unit test for the above.
3280 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3282 * gst/gstregistry.c: (gst_registry_scan_path_level):
3283 Plugin extension on HP-UX is .sl, add that to the list of approved
3284 plugin extensions (see #393796).
3286 * tests/check/gst/gstpad.c: (GST_START_TEST):
3287 ulong => gulong. Fixes compilation with HP-UX compiler.
3289 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3290 Fix compilation if valgrind headers are not available.
3292 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
3294 * win32/common/libgstreamer.def:
3295 Add new exported function.
3296 * win32/vs6/libgstbase.dsp:
3297 Add gstdataqueue.c to the build.
3298 * win32/vs6/libgstcoreelements.dsp:
3299 Add gstmultiqueue.c to the build.
3301 2007-01-06 Andy Wingo <wingo@pobox.com>
3303 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3304 activate_pull(), providing for a way to specialize the process of
3305 spawning a thread to pull on the sink pad. There is a default
3308 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3309 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3310 (gst_base_sink_init): Renamed pad activation functions (inserting
3311 "_pad" in their names). Refactor to use the new activate_pull
3312 vmethod, as appropriate.
3313 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3314 default activate_pull function to start a task pulling from the
3315 sink pad, as before.
3317 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3318 on the pads if necessary, as in push()/chain(). Update docs.
3319 Shouldn't affect existing pull() usage as it is currently only
3320 being used on buffers without caps.
3322 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3324 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3326 Call g_thread_init() first thing in gst_init() / gst_check_init().
3327 When initialisation is done via gst_init_get_option_group() and
3328 GOption parsing, issue a warning if the GLib thread system has not
3329 been initialised yet by the time gst_init_get_option_group() is
3330 called, as it's quite likely other GLib functions such as
3331 g_option_context_new() have been called already then, and
3332 g_thread_init() must be called before any other GLib function. The
3333 application in question must be fixed in that case, since memory
3334 corruption might happen otherwise.
3335 We issue the warning because even if the GLib folks decide to work
3336 around the problem on their end in future, this is still an issue
3337 with all GLib versions >= 2.10.0, so we should warn until we depend
3338 on a GLib version we know to be safe.
3339 Update documentation as well.
3342 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3344 * tools/gst-inspect.c: (main):
3345 * tools/gst-launch.c: (main):
3346 * tools/gst-typefind.c: (main):
3347 * tools/gst-xmlinspect.c: (main):
3348 Call g_thread_init() really really early, before any other GLib
3349 function (see #342564 and recent discussion on gtk-devel-list).
3351 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3353 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
3355 * gst/gst_private.h:
3356 * gst/gstconfig.h.in:
3358 On win32, all the __declspec stuff for symbol exporting is
3359 apparently only needed with MSVC, but doesn't work with MingW.
3360 Fixes compilation with MingW and #391909.
3362 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3364 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3365 Change some GST_ERROR_OBJECT that aren't really errors to
3366 GST_WARNING_OBJECT in order to reduce terminal spam.
3368 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3370 * tests/check/Makefile.am:
3371 disable test again, as there seem to be still race problems
3373 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3375 * tests/check/Makefile.am:
3376 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3377 (GST_START_TEST), (queue_suite):
3378 enable queue test again, add tests for the leaky behaviour
3380 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3383 * tests/examples/Makefile.am:
3384 Compile adapter test/example only if the required headers are
3385 available (fixes #391915).
3387 2007-01-01 David Schleef <ds@schleef.org>
3390 Restore the previous signal handler for SIGSEGV instead of
3391 setting to default, since we may have stolen it away from
3392 someone. (i.e., Mono)
3394 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3396 * docs/random/draft-missing-plugins.txt:
3397 Some small additions and clarifications.
3399 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3401 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3402 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3403 since that can lead to random memory corruptions and crashes
3404 (may or may not be related to #383244, #386711, and #386711).
3406 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3408 * tests/check/.cvsignore:
3409 * tests/check/Makefile.am:
3410 sync .cvsignome and CLEANFILES
3412 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3414 * tests/check/Makefile.am:
3417 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3419 * docs/design/part-states.txt:
3420 two tiny additional comments
3422 * gst/gststructure.c:
3425 * tests/check/Makefile.am:
3426 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3428 disable test for now, unless it gets fixed
3430 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3432 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3434 fix race in underrun test
3436 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3438 * tests/check/elements/.cvsignore:
3441 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3443 try to narrow test failure
3445 2006-12-21 David Schleef <ds@schleef.org>
3447 * plugins/elements/gstfakesrc.c:
3448 Use g_random_int_range(), since it produces better random
3449 numbers in a range than almost-correct floating point code.
3451 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3453 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3454 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3455 (gst_check_teardown_sink_pad):
3456 do not automatically (de)activate pads
3458 * tests/check/Makefile.am:
3459 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3460 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3461 add new, yet simple tests for queue
3463 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3464 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3465 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3467 * tests/check/elements/identity.c: (cleanup_identity):
3468 consistent pad (de)activation
3470 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3472 Patch by: Sebastian Dröge <slomo ubuntu com>
3474 * libs/gst/base/gstcollectpads.c:
3475 Fix two doc typos (#387866).
3477 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3479 * docs/manual/advanced-dparams.xml:
3480 Fix typo (g_object_control_properties() doesn't exist).
3482 2006-12-19 Edward Hervey <edward@fluendo.com>
3484 * gst/gstsegment.c: (gst_segment_set_seek):
3485 Fine tune the cases where the segment start/stop values are really
3487 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3488 Add tests for the return values of gst_segment_set_seek().
3490 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3495 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3497 Fix incorrect documentation and flesh it out a bit more.
3498 Set default values for the max properties on the GParamSpec as well,
3499 so it shows up correctly in gst-inspect.
3501 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3503 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3504 Correct docs of queue, add more detail and crosslink it more.
3506 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3508 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3509 Print additional debug info when the stream isn't perfectly
3510 timestamped; don't try to use invalid durations.
3512 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3514 * docs/design/Makefile.am:
3515 Dist new design docs.
3517 2006-12-16 Wim Taymans <wim@fluendo.com>
3519 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3521 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3522 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3523 (gst_collect_pads_stop), (gst_collect_pads_event),
3524 (gst_collect_pads_chain):
3525 * libs/gst/base/gstcollectpads.h:
3526 Add refcounting to the collectpads data so we can track when it's safe
3527 to free the data. Fixes #383382.
3529 2006-12-15 Wim Taymans <wim@fluendo.com>
3531 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3532 (gst_collect_pads_remove_pad):
3533 Automatically activate/deactivate pads when they are added to a
3534 started/stoped collectpads.
3536 2006-12-15 Wim Taymans <wim@fluendo.com>
3538 * gst/gstelement.c: (gst_element_add_pad):
3539 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3540 * gst/gstpad.c: (gst_pad_init):
3541 Set pads to FLUSHING when they are created. Check, warn and fix when a
3542 demuxer adds an inactive pad to itself when running. Fixes #339326.
3544 2006-12-15 Wim Taymans <wim@fluendo.com>
3546 * gst/gstelement.c: (gst_element_class_init),
3547 (gst_element_default_send_event), (gst_element_send_event),
3548 (gst_element_default_query), (gst_element_query):
3549 Expose default element send_event and query handling as vmethods that
3550 subclasses can chain up to.
3552 2006-12-15 Wim Taymans <wim@fluendo.com>
3554 * gst/gstelement.c: (gst_element_set_state_func):
3555 Small documentation fixes.
3557 2006-12-15 Wim Taymans <wim@fluendo.com>
3559 * docs/design/draft-latency.txt:
3560 Checked in draft for handling latency in pipelines.
3562 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3566 * gstreamer.spec.in:
3569 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3571 * gst/gst.c: (init_pre), (init_post):
3572 init_pre() and init_post() might be called via our GOptionGroup or
3573 from gst_init(), and we should skip both of them if we've already
3574 been initialised, otherwise we will init some things twice or add
3575 two default log functions.
3577 2006-12-13 Edward Hervey <edward@fluendo.com>
3579 * docs/manual/basics-bus.xml:
3580 No, gst_main_loop does not exist. Its g_main_loop.
3581 Discovered by somebody who abused the copy-paste technique of coding :)
3583 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3585 * gst/gstghostpad.c:
3586 Log ghostpad debug stuff to the GST_PADS category as well rather
3587 than just to the default category.
3589 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3592 * gst/gst.c: (init_pre):
3593 Add some basic system details such as OS and architecture
3594 to the debug output if possible, courtesy of uname().
3596 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3598 * docs/gst/running.xml:
3599 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3600 environment variables.
3602 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3604 * tests/check/gst/gstbin.c: (GST_START_TEST):
3605 It is acceptable to have a refcount of 2 or 3 at this point in the
3606 test, because the pipeline might be just posting its state_change
3607 message. The next line then waits for that message to appear using
3608 bus_poll, so that should be fine too.
3610 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3612 * gst/gst.c: (ensure_current_registry_forking):
3613 Ignore EINTR when reading from the child registry pipe.
3614 Explicitly ignore the return value from close, since it makes no
3617 * gst/gstminiobject.c: (gst_mini_object_ref),
3618 (gst_mini_object_unref):
3619 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3621 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3622 When removing cached plugins, remove their features too, so they're
3623 not visible after they've disappeared.
3625 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3626 In the unlikely case that we are linking pads with no parents, don't
3627 crash trying to get the non-existent parent bin.
3629 * gst/parse/grammar.y:
3630 Output debug in the PIPELINE category
3632 2005-03-08 Wim Taymans <wim@fluendo.com>
3634 Patch by: René Stadler <mail at renestadler dot de>
3636 * gst/gstclock.c: (gst_clock_new_periodic_id):
3637 Reject invalid clock times for interval of periodic ids.
3640 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3642 * gst/gstelementfactory.c: (gst_element_factory_create):
3643 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3644 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3645 * tools/gst-inspect.c: (print_element_info):
3646 Fix refcounting of gst_plugin_feature_load to match the docs.
3649 2006-12-07 Wim Taymans <wim@fluendo.com>
3651 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3652 (gst_base_sink_get_position):
3653 Improve debugging of events.
3655 2006-12-07 Wim Taymans <wim@fluendo.com>
3657 Patch by: René Stadler <mail at renestadler dot de>
3659 * gst/gstclock.c: (gst_clock_id_wait):
3660 Make period ids add the interval to the origial requested time instead
3661 of the possibly updated time which can be wrong when there are multiple
3662 waiters for the same id. Fixes #382592.
3664 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3665 (gst_system_clock_id_wait_jitter_unlocked),
3666 (gst_system_clock_id_wait_jitter):
3667 Fix restart in the async notify thread when an async entry is added to
3668 the front of the list. Fixes #381492.
3670 * tests/check/gst/gstsystemclock.c: (store_callback),
3671 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3672 Added test for multiple async waits.
3673 Added test for async wait order.
3675 2006-12-07 Wim Taymans <wim@fluendo.com>
3677 * gst/gstbin.c: (gst_bin_query):
3678 Add some more docs about the POSITION query.
3680 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3683 Bump version nano - back to CVS.
3685 === release 0.10.11 ===
3687 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3690 releasing 0.10.11, "Love never runs on time"
3692 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3694 * win32/common/libgstbase.def:
3695 * win32/common/libgstreamer.def:
3696 * win32/vs8/libgstbase.vcproj:
3697 * win32/vs8/libgstcoreelements.vcproj:
3698 * win32/vs8/libgstreamer.vcproj:
3699 Fix compilation on win32 under VS8
3700 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3701 Partially fixes #381175
3703 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3705 * gst/gstvalue.c: (gst_value_compare_fraction):
3706 If someone is foolish enough to compare 2 fractions with denominator =
3707 0, return UNORDERED rather than aborting.
3709 2006-11-28 Edward Hervey <edward@fluendo.com>
3711 * libs/gst/base/Makefile.am:
3712 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3713 (gst_data_queue_base_init), (gst_data_queue_class_init),
3714 (gst_data_queue_init), (gst_data_queue_new),
3715 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3716 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3717 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3718 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3719 (gst_data_queue_set_flushing), (gst_data_queue_push),
3720 (gst_data_queue_pop), (gst_data_queue_drop_head),
3721 (gst_data_queue_set_property), (gst_data_queue_get_property):
3722 * libs/gst/base/gstdataqueue.h:
3723 New GstDataQueue object for threadsafe queueing. Most useful for
3724 elements that need some queueing functionnality.
3725 * docs/libs/gstreamer-libs-docs.sgml:
3726 * docs/libs/gstreamer-libs-sections.txt:
3727 Insert documentation for GstDataQueue
3728 * plugins/elements/Makefile.am:
3729 * plugins/elements/gstelements.c:
3730 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3731 (gst_multi_queue_class_init), (gst_multi_queue_init),
3732 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3733 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3734 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3735 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3736 (gst_multi_queue_loop), (gst_multi_queue_chain),
3737 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3738 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3739 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3740 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3741 (wake_up_next_non_linked), (compute_next_non_linked),
3742 (single_queue_overrun_cb), (single_queue_underrun_cb),
3743 (single_queue_check_full), (gst_single_queue_new):
3744 * plugins/elements/gstmultiqueue.h:
3745 New multiqueue element, using GstDataQueue. Used for queuing multiple
3747 Closes #344639 and #347785
3749 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3751 * docs/pwg/advanced-types.xml:
3752 add more missing type details
3754 * tools/gst-run.c: (main):
3755 remove unused variable
3757 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3759 * docs/libs/Makefile.am:
3760 * docs/libs/gstreamer-libs.types:
3761 add types of base classes to enable gobject specific stuff in the docs
3763 * docs/random/ensonic/embedded.txt:
3764 more ideas about isolating platform specific things
3766 2006-11-20 Wim Taymans <wim@fluendo.com>
3768 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3770 * libs/gst/check/gstcheck.h:
3771 Fix compilation and running against 0.9.4. Fixes #377332.
3773 2006-11-20 Wim Taymans <wim@fluendo.com>
3775 * gst/gstsegment.c: (gst_segment_set_seek),
3776 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3777 (gst_segment_to_running_time):
3778 Fix boundary checking in to_running_time() and to_stream_time().
3781 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3782 stream and running time can now be calculated for the complete
3785 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3787 * gst/gstpad.c: (gst_pad_push_event):
3788 Can't access event structure after giving away ownership of
3791 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3793 * docs/random/ensonic/embedded.txt:
3794 * docs/random/ensonic/profiling.txt:
3795 * docs/random/ensonic/receipies.txt:
3798 2006-11-13 Wim Taymans <wim@fluendo.com>
3800 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3803 Fix documentation for gst_pad_dispatcher. Fixes #374475.
3805 2006-11-13 Wim Taymans <wim@fluendo.com>
3807 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3809 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3810 Store new length in segment duration so we don't keep on calling the
3811 potentially expensize get_size() call. Fixes #370865.
3813 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
3815 Patch by: Sergey Scobich <sergey.scobich at gmail com>
3817 * win32/common/libgstreamer.def:
3818 Add two missing symbols (#366492).
3820 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
3822 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3823 (gst_adapter_take_buffer):
3824 Fix format string to use all its arguments.
3825 Remove useless >= check on a guint
3827 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3829 * tests/examples/adapter/.cvsignore:
3830 Ignore build file as commanded by the build-bot
3832 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3834 * tests/examples/adapter/Makefile.am:
3835 * tests/examples/adapter/adapter_test.c: (run_test_take),
3836 (run_test_take_buffer), (run_tests), (main):
3838 Add new files from the previous commit
3840 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3844 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3845 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3846 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3847 * libs/gst/base/gstadapter.h:
3848 * tests/check/libs/adapter.c: (create_and_fill_adapter),
3849 (GST_START_TEST), (gst_adapter_suite):
3850 * tests/examples/Makefile.am:
3851 Do some optimisation work in GstAdapter to avoid copies in more cases.
3852 It could still do slightly better by merging buffers when
3853 gst_buffer_is_span_fast is true, but is already faster.
3855 Also, avoid traversing a single-linked list to append each incoming
3856 buffer inside the adapter.
3858 Add simple test app that times the adapter behaviour in different
3859 situations, and extend the unit test to check that bytes enter and
3860 exit the adapter in their original order.
3862 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
3864 * docs/random/draft-missing-plugins.txt:
3865 Update: use element message instead of adding a new message
3866 type to the core; don't provide GStreamer API to initiate the
3867 plugin download, just provide API to compose the strings needed
3868 and let an external libgimmestuff handle the rest.
3870 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
3872 * tools/gst-inspect.c: (print_element_properties_info):
3873 Print a string instead of 'unknown type' for GValueArray properties
3875 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
3877 * docs/random/draft-missing-plugins.txt:
3880 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3882 * tests/examples/typefind/typefind.c: (type_found), (main):
3883 Make typefind element example work again (#371894); add a
3886 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3888 * docs/random/draft-missing-plugins.txt:
3889 Commit initial draft about how to deal with missing plugins,
3890 needs work (API too).
3892 2006-11-07 Stefan Kost <ensonic@users.sf.net>
3894 * docs/pwg/advanced-types.xml:
3895 documents the new caps elements (see #363118)
3897 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
3899 * gst/gstplugin.c: (gst_plugin_load_file):
3900 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
3901 (gst_file_src_map_region), (gst_file_src_start):
3902 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
3903 (gst_file_index_commit):
3904 Use g_strerror() instead of strerror() - we want UTF-8.
3906 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
3908 Patch by: Peter Kjellerstedt <pkj at axis com>
3910 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3911 Another printf fix (#371493).
3913 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3915 * tests/check/gst/gsttag.c:
3916 relicence (okay with author=company)
3918 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3920 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3921 (gst_pad_push_event):
3922 Enhance debug and improve docs
3927 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3929 * docs/random/ensonic/distributed.txt:
3930 * docs/random/ensonic/profiling.txt:
3933 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3935 * docs/gst/gstreamer-sections.txt:
3936 add new API and fix the build
3938 * gst/gstbin.c: (gst_bin_recalc_state):
3939 * gst/gstelement.c: (gst_element_message_full),
3940 (gst_element_get_state_func), (gst_element_set_state_func):
3941 use new API and improve logging
3943 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3945 API: add function to get StateChangereturn names to improve logs
3947 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
3949 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3950 I'm considering shooting the next person to put strerror stuff
3951 in the translateable part of the message.
3953 2006-11-03 Wim Taymans <wim@fluendo.com>
3955 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3956 Get the type and printf conversion specifiers right.
3958 2006-11-03 Wim Taymans <wim@fluendo.com>
3960 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3962 * gst/gstpad.c: (gst_pad_init), (pre_activate),
3963 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
3964 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
3965 Some small cleanups. Improve debugging.
3967 Signal all waiting threads with a broadcast instead of just one.
3970 2006-11-03 Wim Taymans <wim@fluendo.com>
3972 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
3973 (gst_fd_src_create):
3975 Only update fd when it's different from the old.
3977 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
3979 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
3980 Printf fixes for PPC/OSX, take two (#369366).
3982 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
3984 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
3986 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3987 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3988 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3989 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
3990 don't cast to long long for portability reasons, but use
3991 GLib's types instead.
3993 2006-10-30 Michael Smith <msmith@fluendo.com>
3995 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3996 Get the arguments to lseek() the right way around.
3999 2006-10-30 Wim Taymans <wim@fluendo.com>
4001 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4004 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4006 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4008 Patch by: Kjartan Maraas <kmaraas at gnome org>
4010 * docs/design/part-MT-refcounting.txt:
4011 * docs/random/wtay/capsnego2-docs:
4014 Typo fixes (#366212).
4016 2006-10-28 Wim Taymans <wim@fluendo.com>
4018 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4021 * win32/common/libgstbase.def:
4022 * win32/common/libgstreamer.def:
4023 * win32/vs8/libgstbase.vcproj:
4024 * win32/vs8/libgstcontroller.vcproj:
4025 Add needed entries in .def files.
4027 Rearrange def files in vs8 solutions. Fixes #366286.
4029 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4031 * win32/common/gstconfig.h:
4032 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4033 hand-made win32 gstconfig.h. Fixes #366321.
4035 2006-10-27 Wim Taymans <wim@fluendo.com>
4037 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4038 (gst_ghost_pad_new_full):
4039 Make acceptcaps return TRUE when we don't have a target, just like
4042 2006-10-27 Wim Taymans <wim@fluendo.com>
4044 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4045 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4047 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4049 * gst/gststructure.c: (gst_structure_id_set_value):
4050 If someone tries to set a non-UTF8 string field on a structure,
4051 don't just print a warning, but also ignore the request and do
4052 not change/add that field to the structure.
4054 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4057 2006-10-25 David Schleef <ds@schleef.org>
4060 g_hash_table_insert() needs a cast to a non-const pointer duh.
4062 2006-10-25 David Schleef <ds@schleef.org>
4066 Change name parameter of _gst_debug_register_funcptr to const
4067 to reflect the constness of its use in the function as well
4068 as to quiet a gcc warning.
4070 2006-10-25 Edward Hervey <edward@fluendo.com>
4072 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4073 Don't push the buffer if it's empty.
4076 2006-10-24 Wim Taymans <wim@fluendo.com>
4081 * libs/gst/base/gstbasetransform.c:
4082 (gst_base_transform_sink_eventfunc):
4083 Debug segment values *after* updating them as this is more
4086 2006-10-23 Wim Taymans <wim@fluendo.com>
4088 * docs/design/part-events.txt:
4091 * docs/design/part-block.txt:
4092 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4093 (gst_pad_push_event):
4094 Revert BLOCKING patch, it tries to be smart without really having a
4095 clear idea what or how. So, now we discard all FLUSHING events again on
4096 a blocking pad. Should fix gnonlin again.
4098 2006-10-23 Wim Taymans <wim@fluendo.com>
4100 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4102 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4103 (gst_base_src_start), (gst_base_src_activate_push):
4104 Make sure size is always initialized. Fixes #364388.
4106 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4108 * docs/random/ensonic/distributed.txt:
4109 add some ideas about doing distributed processing
4111 * docs/random/ensonic/profiling.txt:
4112 get_rusage look promising
4114 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4116 * docs/manual/basics-helloworld.xml:
4117 Add a cast in example to fix compile warning
4119 2006-10-18 Wim Taymans <wim@fluendo.com>
4121 * gst/gstsegment.c: (gst_segment_set_last_stop),
4122 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4123 Relax arg checking again, -1 is allowed.
4125 2006-10-18 Wim Taymans <wim@fluendo.com>
4127 * gst/gstsegment.c: (gst_segment_set_last_stop),
4128 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4129 _set_last_stop() must be with a value != -1
4130 A _TYPE_SET to -1 means seek to 0.
4131 Calc last_stop correctly for negative rates.
4132 Make sure we work with positive durations when updating a segment.
4134 2006-10-18 Wim Taymans <wim@fluendo.com>
4136 * docs/design/part-live-source.txt:
4140 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4143 Add an explicit cast to GstBuffer** to keep old code that added an
4144 explicit cast to GstMiniObject** for gst_mini_object_replace()
4145 compiling without warning.
4147 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4149 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4150 check for validity of dates
4152 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4154 * docs/gst/gstreamer-sections.txt:
4155 Forgot this one, makes gtk-doc shut up.
4157 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4159 Patch by: Peter Kjellerstedt <pkj at axis com>
4162 Don't define xmlNodePtr to gpointer if the core was built with
4163 --disable-loadsave and --disable-registry, this will break
4164 applications that want to use libxml2 but are buildling against a
4165 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4166 instead so we don't have to mess with the libxml2 namespace
4169 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4172 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4173 type-punned pointer warnings.
4175 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4178 Add casts to the correct return type to state <=> state transition
4181 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4183 * docs/design/part-live-source.txt:
4184 describe howto handle latency
4186 * docs/random/ensonic/profiling.txt:
4189 * tools/gst-plot-timeline.py:
4190 fix log parsing for solaris, remove unused function
4192 2006-10-16 Wim Taymans <wim@fluendo.com>
4194 * docs/design/part-trickmodes.txt:
4196 Update some docs regarding reverse playback.
4198 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4200 Patch by: Marcus Granado <mrc dot gran at gmail com>
4202 * win32/vs8/grammar.vcproj:
4203 Error out with a warning if glib-genmarshal.exe is not in path,
4204 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4206 2006-10-13 Wim Taymans <wim@fluendo.com>
4208 * gst/gstsegment.c: (gst_segment_set_seek):
4209 When seeking to stop -1, set last_stop (current position) to the
4210 duration of the segment.
4212 2006-10-13 Wim Taymans <wim@fluendo.com>
4215 Clarify _NO_PREROLL a bit more.
4220 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4221 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4222 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4223 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4224 due to wrong locking order. Fixes #361769.
4225 Remove some redundant/misplaced checks in pad_block.
4227 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4228 For negative rates, count backwards from the duration.
4230 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4232 * gst/gsterror.c: (_gst_library_errors_init):
4233 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4234 up with something better).
4236 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4238 * win32/vs6/libgstreamer.dsp:
4239 * win32/vs7/libgstreamer.vcproj:
4240 * win32/vs8/libgstreamer.vcproj:
4241 Don't reference glib-compat.c which is currently not used and not
4242 disted; add gstquark.c which was recently added. Fixes #361730.
4244 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4246 * win32/common/libgstbase.def:
4247 * win32/common/libgstcontroller.def:
4248 * win32/common/libgstreamer.def:
4249 Add gst_caps_merge() and a bunch of other recently-added functions.
4252 2006-10-11 Wim Taymans <wim@fluendo.com>
4254 * docs/plugins/gstreamer-plugins.args:
4255 * docs/plugins/inspect/plugin-coreelements.xml:
4256 * docs/plugins/inspect/plugin-coreindexers.xml:
4257 Update element args.
4259 * gst/gstsystemclock.c:
4260 Small comment update.
4262 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4263 (gst_tee_request_new_pad), (gst_tee_release_pad),
4264 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4265 (gst_tee_sink_activate_pull):
4266 * plugins/elements/gsttee.h:
4268 Add default property defines.
4269 Implement release pad function.
4270 Give properties better blubs etc.
4271 Activate pads before adding them to a running tee.
4272 Do simple buffer_alloc on the first requested pad.
4273 Post error when activation fails.
4275 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4277 * gst/gst.c: (ensure_current_registry_forking):
4278 Check return value of write() to make compiler happy.
4280 2006-10-11 Wim Taymans <wim@fluendo.com>
4282 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4284 * plugins/elements/gstqueue.c: (gst_queue_chain):
4285 Recheck queue filledness after signalling the overrun when we're about
4286 to leak downstream because we released the lock when emitting the signal
4287 and the queue could be empty again. Fixes #352345.
4289 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4291 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4292 Fix refcounting here too, just like we did for _new_valist() a few
4293 days ago (#357180) (thanks to René Stadler). Also remove all those
4294 'Since: 0.9' from the gtk-doc blobs.
4296 * tests/check/libs/controller.c: (controller_refcount_new_list),
4297 (gst_controller_suite):
4298 Unit test for the above.
4300 2006-10-10 Wim Taymans <wim@fluendo.com>
4302 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4304 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4305 (gst_pad_save_thyself):
4307 Write pad direction in XML output. Fixes #345496.
4309 2006-10-10 Wim Taymans <wim@fluendo.com>
4311 Patch by: René Stadler <mail at renestadler dot de>
4313 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4314 (gst_controller_new_list), (_gst_controller_dispose),
4315 (_gst_controller_finalize), (_gst_controller_class_init):
4316 Take ref to controlled object so that it cannot disappear.
4319 2006-10-10 Wim Taymans <wim@fluendo.com>
4321 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4322 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4323 (gst_check_teardown_sink_pad):
4324 Activate/deactivate pads in setup/teardown respectively.
4326 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4328 Patch by: Josep Torre Valles <josep@fluendo.com>
4331 Cast values when making gstenumtypes.h. This pacifies Forte
4332 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4335 2006-10-09 Wim Taymans <wim@fluendo.com>
4337 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4338 Rename some more @cur to @start to fix docs.
4340 * gst/gstsegment.c: (gst_segment_set_seek):
4342 time and start must always stay in sync as defined in design doc.
4344 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4345 Rename param to fix docs.
4347 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4348 Check that start and time are in sync.
4350 * tests/check/pipelines/parse-launch.c:
4351 (gst_parse_test_element_change_state):
4352 Activate pad before adding to the element.
4354 2006-10-09 Wim Taymans <wim@fluendo.com>
4356 * docs/design/part-qos.txt:
4361 Update seek event docs regarding negative rates.
4362 Rename @cur to @start.
4364 * gst/gstsegment.c: (gst_segment_set_seek):
4366 Update set_seek docs regarding negative rates.
4367 Correctly update last_stop to @stop when dealing with negative
4369 Rename @cur to @start.
4371 * tests/check/gst/gstpad.c: (GST_START_TEST):
4372 Activate pads before trying to use them.
4374 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4375 (gst_segment_suite):
4376 Add simple check for segments and negative rates.
4378 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4380 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4382 * docs/gst/gstreamer-sections.txt:
4383 API: add gst_tag_list_is_empty() (#360467).
4385 * tests/check/gst/gsttag.c: (GST_START_TEST):
4388 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4391 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4392 a value that doesn't fit on enumeration.
4394 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4396 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4397 Remove local debugging system and use Gstreamer's instead.
4399 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4401 Patch by: Josep Torre Valles <josep@fluendo.com>
4403 * common/m4/gst-error.m4:
4404 Disable warning of statement not reached on Forte.
4406 Fix warning on Forte (value doesn't fit on enumeration).
4407 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4408 Fix warning on Forte (value doesn't fit on enumeration).
4409 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4410 DEBUG macro says it takes minimum of 2 args and so Forte
4411 complains about the use with just 1 arg.
4412 * plugins/elements/gstfdsink.c:
4413 * plugins/elements/gstfdsrc.c:
4414 * plugins/elements/gstfilesink.c:
4415 * plugins/elements/gstfilesrc.c:
4416 Use correct return type for the uri handler implementations.
4418 All these fix warnings in Forte. Fixes bug #360860.
4420 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4423 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4424 format string, so don't use G_GNUC_PRINTF for those versions.
4426 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4428 * gst/gsttaglist.c: (gst_is_tag_list):
4430 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4432 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4433 Small test for the above.
4435 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4438 Less tabs, more spaces.
4440 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4443 Those two function declarations do actually belong there, revert
4444 commit from yesterday that turned them intro macros.
4446 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4448 Patch by: Josep Torre Valles <josep@fluendo.com>
4450 * gst/gst.c: (gst_init_get_option_group):
4451 Fix empty declaration and type mismatch.
4452 * gst/gstbin.c: (gst_bin_change_state_func):
4454 * gst/gstelement.c: (gst_element_continue_state),
4455 (gst_element_set_state_func), (gst_element_change_state),
4456 (gst_element_change_state_func):
4457 Fix type mismatches.
4458 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4459 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4460 Cast as appropriate.
4461 * gst/gstobject.c: (gst_class_signal_connect):
4462 Cast as appropriate. The function pointer parameter really
4463 has the wrong type but would break API if we change it.
4465 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4466 order of including string.h.
4467 * gst/gstutils.c: (gst_element_state_get_name):
4468 Remove unreachable line.
4469 * gst/gstxml.c: (gst_xml_parse_doc):
4471 All these caught by Forte.
4473 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4475 Patch by: Josep Torre Valles <josep@fluendo.com>
4477 * common/m4/gst-error.m4:
4479 We need to disable warnings on Forte for empty declarations
4480 due to gst-indent adding ;s to lines that just use macros
4481 where the macro actually doesn't need a ; at end to end
4484 2006-10-06 Wim Taymans <wim@fluendo.com>
4486 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4487 (gst_file_sink_close_file), (gst_file_sink_event),
4488 (gst_file_sink_render):
4489 Add some FIXME for the NEWSEGMENT handling.
4491 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4493 * gst/parse/grammar.y:
4494 Remove static function gst_parse_element_lock as all it does
4495 is return. Looks like cruft from 0.8.
4497 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4499 Patch by: Josep Torre Valles <josep@fluendo.com>
4501 * common/m4/gst-error.m4:
4503 * libs/gst/net/Makefile.am:
4504 Fix a compilation issue with Forte on Solaris. inet_aton is in
4507 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4509 * gst/gstpad.c: (pre_activate):
4510 * gst/gstregistry.c: (gst_registry_scan_path_level):
4511 * gst/gstregistryxml.c: (load_plugin):
4512 * libs/gst/controller/gstcontroller.c:
4513 (gst_controlled_property_set_interpolation_mode):
4514 * libs/gst/dataprotocol/dataprotocol.c:
4515 (gst_dp_packet_from_event_1_0):
4516 * libs/gst/net/gstnetclientclock.c:
4517 (gst_net_client_clock_observe_times):
4518 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4521 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4524 * docs/gst/gstreamer-sections.txt:
4525 * gst/gstconfig.h.in:
4528 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4529 whether we can use G_GNUC_PRINTF in other header files and at
4530 least check the printf format/arguments of debug messages and
4531 GST_ELEMENT_ERROR messages when the printf extension is not
4533 Replace more tabs with spaces in gstinfo.h and remove two spurious
4534 function declarations in GST_DISABLE_DEBUG part with macros.
4536 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4538 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4539 More docs for the sync-message signal (mention that it is not
4540 emitted by default); log message structures of messages posted on
4543 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4545 * gst/gst.c: (ensure_current_registry_forking):
4546 Use a pipe pair to receive status results from the forked child, and
4547 ignore the result from waitpid. Fixes #355499
4549 2006-10-02 Wim Taymans <wim@fluendo.com>
4551 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4552 (gst_ghost_pad_suite):
4555 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4558 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4560 2006-10-02 Edward Hervey <edward@fluendo.com>
4562 * docs/design/part-block.txt:
4563 Further explain the use of flushing on blocked pads.
4564 * docs/gst/gstreamer-sections.txt:
4565 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4566 (gst_pad_push_event):
4568 Added new GstPadFlag : GST_PAD_BLOCKING.
4569 Adds the notion of pads really blocking, which enables to properly
4570 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4572 API: gst_pad_is_blocking()
4573 API: GST_PAD_IS_BLOCKING() macro
4574 API: GST_PAD_BLOCKING GstPadFlag
4576 2006-10-02 Wim Taymans <wim@fluendo.com>
4578 Patch by: mrcgran <mrc.gran at gmail dot com>
4580 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4581 Filter the proxied caps against the padtemplate if we have one.
4583 * gst/gstquery.c: (gst_query_new_segment):
4584 Add include for gstinfo.h so that compilation with
4585 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4587 2006-10-02 Wim Taymans <wim@fluendo.com>
4589 Patch by: Alessandro Decina <alessandro at nnva org>
4591 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4592 (gst_file_sink_set_location), (gst_file_sink_open_file),
4593 (gst_file_sink_close_file), (gst_file_sink_event),
4594 (gst_file_sink_render):
4595 Set file to NULL when closing filesink so that we can set a new filename
4596 in READY. Fixes #358613.
4598 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4600 Patch by: Alessandro Decina <alessandro at nnva org>
4602 * gst/gstevent.c: (_gst_event_copy):
4603 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4604 with event structures by setting the parent refcount address of the
4605 copied structure to the address of the refcount member of the newly
4606 copied event rather than the address of the refcount member of the
4607 original event. Fixes #358737.
4609 * tests/check/gst/gstevent.c: (GST_START_TEST):
4610 Unit test for the above.
4612 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4614 * docs/design/Makefile.am:
4615 Dist some more files.
4617 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4619 * tests/check/libs/controller.c: (GST_START_TEST),
4620 (gst_controller_suite):
4621 Add test for the previous fix; add some more tests
4622 for correct refcounting behaviour; fix a few leaks
4623 in test cases; call gst_controller_init() at start
4626 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4628 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4629 (gst_controller_set_from_list):
4630 Don't g_return_val_if_fail() on timed values with invalid timestamps
4631 inside a critical section without unlocking the mutex. Spotted by
4632 René Stadler. (#357617)
4633 Also, fix up refcounting properly: when returning an existing
4634 controller, we should increase the reference only once and not
4635 once per property and when trying to control a property again
4636 we should also increase the refcount.
4638 2006-09-29 Wim Taymans <wim@fluendo.com>
4640 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4641 * libs/gst/net/gstnettimeprovider.c:
4642 (gst_net_time_provider_thread):
4643 Stop reading commands when EOF as well.
4645 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4646 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4647 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4648 Unify description of the dump property.
4650 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4652 * tests/examples/manual/.cvsignore:
4653 OK, so it's actually cvsignore that needs changing. Stop laughing.
4655 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4657 * tests/examples/manual/Makefile.am:
4658 Gah, declare vars *before* using them
4660 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4662 * gst/gst.c: (init_pre), (scan_and_update_registry),
4663 (ensure_current_registry_nonforking),
4664 (ensure_current_registry_forking), (ensure_current_registry),
4665 (init_post), (gst_debug_help), (gst_deinit):
4666 * gst/gst_private.h:
4667 * gst/gstregistry.c: (gst_registry_finalize),
4668 (gst_registry_remove_features_for_plugin_unlocked),
4669 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4670 (gst_registry_scan_path),
4671 (_priv_gst_registry_remove_cache_plugins),
4672 (_priv_gst_registry_cleanup):
4673 * gst/gstregistry.h:
4674 Re-commit the registry changes, along with an extra fix:
4675 When a cached plugin is encountered at a different file path,
4676 update the stored path in the registry cache so that the parent
4677 process knows where it actually is now when it re-reads the registry
4678 cache. Fixes the thing that broke distcheck with the previous commit.
4680 * tests/check/Makefile.am:
4681 Clean up files named 'core' too when running make clean.
4683 * tests/examples/manual/Makefile.am:
4684 Set up a registry path for running these tests, and clean it properly
4687 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4690 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4691 want gmodule-no-export-2.0.pc instead so that we don't drag in
4692 --export-dynamic on every project that links to GStreamer.
4694 Also, make our export regex only match the start of symbols, rather
4695 than any symbol that contains '_gst' somewhere.
4697 * libs/gst/check/Makefile.am:
4698 The libgstcheck we build does however need export-dynamic, as it
4699 produces some symbols that don't match our _gst... style regex.
4702 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4704 * gst/gst.c: (init_pre), (scan_and_update_registry),
4705 (ensure_current_registry_nonforking),
4706 (ensure_current_registry_forking), (ensure_current_registry),
4707 (init_post), (gst_debug_help), (gst_deinit):
4708 * gst/gst_private.h:
4709 * gst/gstregistry.c: (gst_registry_finalize),
4710 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4711 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4712 (_gst_registry_cleanup):
4713 * gst/gstregistry.h:
4714 Revert previous change until I figure out why it breaks distcheck.
4716 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4718 * gst/gst.c: (init_pre), (scan_and_update_registry),
4719 (ensure_current_registry_nonforking),
4720 (ensure_current_registry_forking), (ensure_current_registry),
4721 (init_post), (gst_debug_help), (gst_deinit):
4723 Make init_pre and init_post take the full complement of GOptionFunc
4724 args so they can return useful GErrors. Make the registry updating
4727 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4728 ensure that the registry we're about to write out doesn't contain
4729 stale information about old-deleted plugin files.
4731 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4732 that deletion of plugin files is considered a registry change.
4734 * gst/gst_private.h:
4735 * gst/gstregistry.c: (gst_registry_finalize),
4736 (gst_registry_remove_features_for_plugin_unlocked),
4737 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4738 (gst_registry_scan_path),
4739 (_priv_gst_registry_remove_cache_plugins),
4740 (_priv_gst_registry_cleanup):
4741 * gst/gstregistry.h:
4742 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4743 by adding _priv prefix, so that they won't appear in the global
4744 symbol table. They still do atm though because of #318031. Move the
4745 prototypes to gst_private.h
4747 When removing a plugin, remove all features for that plugin too.
4750 2006-09-27 Wim Taymans <wim@fluendo.com>
4752 * docs/random/moving-plugins:
4753 Make it clear that the "compiled-in descriptions" really mean
4754 the element details.
4756 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4757 (gst_base_sink_wait_preroll):
4760 * docs/libs/gstreamer-libs-sections.txt:
4761 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4762 (gst_base_src_get_range), (gst_base_src_activate_push):
4763 * libs/gst/base/gstbasesrc.h:
4764 Added function to block while waiting for PLAYING, this function
4765 is used by live sources that block on the clock.
4766 API: gst_base_src_wait_playing()
4768 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4770 Patch by: Peter Kjellerstedt <pkj at axis com>
4773 gst-element-check.m4 is generated and should therefore be
4774 copied from the build dir rather than the source dir (#357593).
4775 'make distcheck' hasn't noticed this because we were disting
4776 the file as well, so stop doing that.
4778 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4780 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4781 Add some tests for gst_caps_intersect().
4783 * tools/gst-launch.c: (event_loop):
4784 Print all buffering percentages we get, even the 100% one.
4786 2006-09-26 Wim Taymans <wim@fluendo.com>
4788 * tools/gst-inspect.c: (print_element_properties_info),
4789 (print_signal_info):
4790 Fix printing of flags to match the look of enums.
4792 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4794 * gst/gstelementfactory.c:
4795 Fix typo in docs blurb.
4797 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4799 * gst/gsturi.c: (search_by_entry):
4800 Don't assert/crash here if a uri handler doesn't return any
4801 supported protocols. The list of protocols could be generated
4802 dynamically at runtime or at plugin registration, and an error
4803 in the underlying library shouldn't be fatal (#353301).
4805 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4808 Fix warning if HAVE_PRINTF_EXTENSION is undefined
4809 (spotted by Peter Kjellerstedt).
4811 2006-09-23 Wim Taymans <wim@fluendo.com>
4813 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4815 * libs/gst/base/gstbasesrc.c:
4816 (gst_base_src_default_check_get_range), (gst_base_src_start),
4817 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4818 (gst_base_src_change_state):
4819 Match _start/_stop calls in the activate functions. Remove redundant
4820 _stop call from the state change function. Fixes #356910.
4821 Turn failure DEBUG into ERROR.
4823 2006-09-22 Wim Taymans <wim@fluendo.com>
4825 * docs/design/part-buffering.txt:
4826 * gst/gstmessage.c: (gst_message_new_buffering),
4827 (gst_message_parse_buffering):
4828 Update docs about buffering.
4830 * docs/design/part-trickmodes.txt:
4833 2006-09-22 Stefan Kost <ensonic@users.sf.net>
4835 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4836 (gst_controller_new_list):
4837 Ref instances when returning them again (fixes #357180)
4839 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
4841 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4842 Don't forget to release proxy lock when there's an error.
4844 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
4847 Add extra initialisers for Caps things, to fix some plugin warnings
4850 2006-09-18 Wim Taymans <wim@fluendo.com>
4852 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4853 Also set template on the internal pad so that a getcaps from the
4854 target pad returns the template caps.
4856 2006-09-18 Wim Taymans <wim@fluendo.com>
4858 * gst/gstelement.c: (gst_element_post_message),
4859 (gst_element_dispose):
4860 Use _DEBUG_OBJECT some more.
4862 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4865 * tools/gst-launch.c: (main):
4866 If the toplevel element is not a GstPipeline, it must be put in a
4867 pipeline so that a bus and clock is selected.
4869 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4871 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4872 JITTER, RATE, and LATENCY query should be handled by the
4873 default case and not by the CONVERT query code.
4875 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4877 * gst/gstformat.c: (gst_format_register):
4878 Fix locking order (must take lock before using n_values).
4880 * gst/gstvalue.c: (gst_value_serialize_enum),
4881 (gst_value_deserialize_enum_iter_cmp),
4882 (gst_value_deserialize_enum):
4883 Fix serialisation/deserialisation of custom registered GstFormats.
4885 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4886 Unit test for custom format serialisation/deserialisation.
4888 2006-09-17 Stefan Kost <ensonic@users.sf.net>
4890 * docs/pwg/building-boiler.xml:
4891 * plugins/elements/gstcapsfilter.c:
4892 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
4895 2006-09-16 Edward Hervey <edward@fluendo.com>
4897 * libs/gst/base/gstbasetransform.c:
4898 (gst_base_transform_buffer_alloc):
4899 Check if requested caps are the same as the sinks caps IF
4900 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
4902 This fixes the renegotiation issues stated in #352827.
4904 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4907 * docs/manual/advanced-autoplugging.xml:
4908 * tests/examples/Makefile.am:
4909 * tests/examples/manual/.cvsignore:
4910 * tests/examples/manual/Makefile.am:
4911 * tests/examples/manual/extract.pl:
4912 Extract the manual examples again like we used to do.
4915 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4917 * win32/common/config.h:
4920 2006-09-16 Stefan Kost <ensonic@users.sf.net>
4923 Documents how to receive errors.
4925 2006-09-15 Wim Taymans <wim@fluendo.com>
4927 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
4928 (event_loop), (main):
4929 Added some comments here and there.
4930 Post an application message when an interrupt is caught instead of doing
4931 an uncontrolled state change.
4932 Clean up the event loop.
4933 Handle buffering messages, pause/resume the pipeline.
4934 Make shutdown because of an interrupt more reliable.
4936 2006-09-15 Wim Taymans <wim@fluendo.com>
4938 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4939 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
4940 (gst_base_sink_preroll_object):
4941 Make sure that our internal state is correct when we commit our state
4942 asynchronously. This solves a race where a state change to PLAYING
4943 could cause the sink to remain blocked in preroll in some situations.
4945 2006-09-15 Wim Taymans <wim@fluendo.com>
4947 * tools/gst-inspect.c: (print_element_properties_info),
4948 (print_signal_info):
4949 List flags as hex so it's easier to deal with.
4951 2006-09-15 Wim Taymans <wim@fluendo.com>
4953 * docs/libs/gstreamer-libs-sections.txt:
4954 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
4955 (gst_base_sink_do_sync):
4956 * libs/gst/base/gstbasesink.h:
4957 Expose logic to wait for preroll so that subclasses such as audiosink
4958 can also use this method.
4959 API: gst_base_sink_wait_preroll()
4961 2006-09-15 Wim Taymans <wim@fluendo.com>
4963 * gst/gstobject.c: (gst_object_set_parent):
4964 * gst/gstpipeline.c: (do_pipeline_seek):
4965 Small cleanups in docs and code.
4967 * gst/gstsegment.c: (gst_segment_clip):
4968 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4969 if stop == start and start is in the segment, no clipping should be
4970 done. Also add a test for this.
4972 2006-09-15 Wim Taymans <wim@fluendo.com>
4974 * docs/design/part-buffering.txt:
4975 * docs/gst/gstreamer-sections.txt:
4976 * gst/gstmessage.c: (gst_message_new_buffering),
4977 (gst_message_parse_buffering):
4979 Added methods to create and parse BUFFERING messages.
4980 Added preliminary docs about buffering.
4981 API: gst_message_new_buffering
4982 API: gst_message_parse_buffering
4984 2006-09-06 Wim Taymans <wim@fluendo.com>
4987 Update documentation.
4989 * gst/gstelement.c: (gst_element_class_init),
4990 (gst_element_release_request_pad), (gst_element_set_clock),
4991 (gst_element_get_index), (gst_element_add_pad),
4992 (gst_element_remove_pad), (gst_element_get_random_pad),
4993 (gst_element_send_event), (gst_element_get_query_types),
4994 (gst_element_query), (gst_element_post_message),
4995 (gst_element_message_full), (gst_element_continue_state),
4996 (gst_element_lost_state), (gst_element_save_thyself),
4997 (gst_element_restore_thyself):
4998 Documentation updates.
4999 Rename last bit of the new-pad -> pad-added signal rename.
5000 Fix the case where an element query would only work if the source
5002 Avoid some useless type checking in message handling.
5007 Documentation updates.
5009 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5011 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5012 add an INFO line for when we actually update the fd
5014 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5019 === release 0.10.10 ===
5021 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5024 releasing 0.10.10, "Pais"
5026 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5028 * docs/manual/advanced-position.xml:
5029 Fix typo in sample code.
5031 2006-09-05 Wim Taymans <wim@fluendo.com>
5033 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5034 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5035 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5036 * libs/gst/net/gstnetclientclock.h:
5037 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5038 * libs/gst/net/gstnettimepacket.h:
5039 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5040 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5041 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5042 * libs/gst/net/gstnettimeprovider.h:
5043 Make stuff compile on windows. Fixes #345295.
5045 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5047 * gst/gst.c: (ensure_current_registry_forking):
5048 Print better details when child was terminated by signal.
5050 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5052 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5053 Print a warning rather than g_assert() if a plugin feature
5054 is a URI handler but returns no protocols (#353976).
5056 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5058 * docs/random/moving-plugins:
5061 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5063 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5064 Fix locking order, handle NULL function values properly.
5069 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5070 Initialise variable before using it and fix debug statement to
5071 print the address of the function rather than the address of the
5072 variable on the stack holding the address of the function.
5074 2006-09-01 Wim Taymans <wim@fluendo.com>
5076 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5077 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5078 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5079 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5080 (gst_ghost_pad_parent_unset),
5081 (gst_ghost_pad_internal_do_activate_push),
5082 (gst_ghost_pad_internal_do_activate_pull),
5083 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5084 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5085 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5086 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5087 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5088 (gst_ghost_pad_new_no_target_from_template),
5089 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5091 Avoid needless typechecking in macros.
5092 Since the internal pad is always present and never changes, there is
5093 no need to locking or ref when retrieving it.
5094 Improve debugging a bit.
5095 Handle link errors when setting the target. Fixes #341029.
5097 2006-09-01 Wim Taymans <wim@fluendo.com>
5099 * docs/libs/gstreamer-libs-sections.txt:
5100 * docs/plugins/gstreamer-plugins-sections.txt:
5103 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5104 (gst_collect_pads_event):
5105 * libs/gst/base/gstcollectpads.h:
5106 Documentation updates.
5107 Free queued buffer when removing a pad.
5109 2006-08-31 Michael Smith <msmith@fluendo.com>
5111 * gst/gstutils.c: (gst_element_link_pads),
5112 (gst_element_link_pads_filtered):
5113 Ensure that we set a capsfilter to NULL if we failed to link it
5114 when doing filtered linking, to avoid criticals.
5116 No need to check for unreffing srcpad, which is explicly NULLed
5117 above (a trivial code cleanup).
5119 2006-08-31 Wim Taymans <wim@fluendo.com>
5121 * docs/design/part-gstghostpad.txt:
5122 Update ascii art in documentation.
5124 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5125 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5126 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5127 (gst_ghost_pad_internal_do_activate_push),
5128 (gst_ghost_pad_internal_do_activate_pull),
5129 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5130 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5131 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5132 (gst_ghost_pad_set_target):
5133 Small cleanups and leak fixes.
5134 Remove some checks now that the internal pad is never NULL.
5135 Fix the case where linking pads without a target would create nasty
5136 criticals. Fixes #341029.
5137 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5138 value of _set_target().
5140 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5141 (gst_ghost_pad_suite):
5142 Some more tests for creating and linking untargeted ghostpads.
5144 2006-08-31 Edward Hervey <edward@fluendo.com>
5146 * docs/gst/gstreamer-sections.txt:
5147 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5148 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5149 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5150 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5151 (gst_ghost_pad_new_from_template),
5152 (gst_ghost_pad_new_no_target_from_template):
5153 * gst/gstghostpad.h:
5154 Refactored *_new() functions.
5155 Templates are now used as a g_object_new() parameter.
5156 Use template in _do_getcaps() if we don't have a target.
5157 Small documentation cleanups.
5158 Added two new constructors:
5159 gst_ghost_pad_new_from_template()
5160 gst_ghost_pad_new_no_target_from_template()
5161 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5162 (gst_ghost_pad_suite):
5163 Added tests for new ghostpad instanciation functions.
5165 API additions: gst_ghost_pad_new_from_template,
5166 gst_ghost_pad_new_no_target_from_template
5168 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5170 * docs/random/ensonic/profiling.txt:
5171 Ideas about qos profiling.
5173 2006-08-29 Wim Taymans <wim@fluendo.com>
5175 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5179 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5182 Improve and detypofy docs.
5184 * tests/check/Makefile.am:
5185 * tests/check/gst/.cvsignore:
5186 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5187 Add a basic test suite for GstXML.
5189 2006-08-29 Wim Taymans <wim@fluendo.com>
5191 * gst/gstelement.c: (activate_pads), (clear_caps),
5192 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5193 Clear the pad caps when the element shut down all of the pads and
5194 is not streaming data that could modify the caps.
5197 2006-08-28 Michael Smith <msmith@fluendo.com>
5199 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5200 Revert previous change; I misunderstood single-segment mode.
5202 2006-08-28 Michael Smith <msmith@fluendo.com>
5204 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5205 Unset DISCONT on buffers when using single-segment mode.
5207 2006-08-28 Wim Taymans <wim@fluendo.com>
5209 * gst/gstcaps.c: (gst_caps_merge_structure):
5211 Fix docs and indentation again.
5213 * tests/check/gst/gstquery.c: (GST_START_TEST):
5214 Fix leak in tests and add some more tests.
5216 2006-08-28 Edward Hervey <edward@fluendo.com>
5218 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5219 Inform GstSegment of the last stop position in order for the current
5220 segment to have a proper duration if it doesn't have a specific stop
5221 position from which a duration could be calculated.
5222 This bug was noticeable when a non-flushing, non-update new segment was
5223 followed by another segment (all buffers from the new segment were being
5226 2006-08-28 Wim Taymans <wim@fluendo.com>
5228 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5229 Small comment update.
5231 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5232 (gst_identity_transform_ip):
5233 Drop-probability is broken, mention this in the code with a
5234 FIXME and also in the property description.
5235 Make silent also be silent about the drop messages.
5237 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5239 * docs/manual/appendix-win32.xml:
5240 Remove mention of popt, we don't depend on that any
5241 longer (#353136). Add some comments pointing out that
5242 this section is slightly outdated.
5244 2006-08-28 Wim Taymans <wim@fluendo.com>
5246 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5248 * gst/gstquery.c: (gst_query_new_segment):
5249 * tests/check/gst/gstquery.c: (GST_START_TEST):
5250 Initialize variables when creating a new segment query.
5253 2006-08-28 Wim Taymans <wim@fluendo.com>
5255 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5257 * gst/gstelement.c: (gst_element_get_bus):
5258 * tests/check/gst/gstelement.c: (GST_START_TEST):
5259 Check for NULL before _reffing the bus. Fixes #353122.
5261 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
5263 * docs/manual/basics-bus.xml:
5264 Docs update: fix wrong callback return value explanation; add
5265 some lines about the implicit relationship between main loop
5266 and main context; remove duplicate main loop variable declaration.
5268 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
5270 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5271 Don't leak caps in unit test; add a few more simple
5274 2006-08-24 Stefan Kost <ensonic@users.sf.net>
5276 * docs/gst/gstreamer-sections.txt:
5277 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5278 (gst_caps_structure_is_subset), (gst_caps_merge),
5279 (gst_caps_merge_structure):
5281 * libs/gst/base/gstbasetransform.c:
5282 (gst_base_transform_transform_caps):
5283 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5284 implement caps merging (fixes #352580)
5286 2006-08-23 Stefan Kost <ensonic@users.sf.net>
5288 * tools/Makefile.am:
5289 * tools/gst-plot-timeline.py:
5290 add debug-log plotting developer tool (#340674)
5292 2006-08-23 Wim Taymans <wim@fluendo.com>
5294 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5295 (gst_pad_stop_task):
5296 Improve debugging for task functions.
5298 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5299 (gst_task_start), (gst_task_pause), (gst_task_join):
5300 Make sure that the task function started and finished after a
5302 Don't try to push the task function on the threadpool multiple
5304 Improve the g_warning message with some useful suggestions
5305 about how to fix the problem.
5307 2006-08-23 Wim Taymans <wim@fluendo.com>
5309 * gst/gstutils.c: (gst_pad_proxy_getcaps):
5310 Handle RESYNC correctly in _proxy_getcaps.
5312 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
5314 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5315 (gst_xml_parse_memory), (gst_xml_get_element):
5316 Chain up to parent class in dispose function and also
5317 unref the elements in the toplevel_elements GList.
5318 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5319 Always return a reference in gst_xml_get_element() rather
5320 than only sometimes.
5322 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5323 Don't leak GstXml object.
5325 2006-08-21 Stefan Kost <ensonic@users.sf.net>
5327 * docs/gst/gstreamer-sections.txt:
5328 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5331 * libs/gst/base/gstbasetransform.c:
5332 (gst_base_transform_transform_caps):
5333 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5336 2006-08-21 Edward Hervey <edward@fluendo.com>
5338 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5339 Implement GObject::dispose virtual method in GstXML so we can free the
5342 2006-08-21 Wim Taymans <wim@fluendo.com>
5344 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5345 (gst_buffer_create_sub):
5346 Copy duration/offset_end/caps when creating a subbuffer of the
5348 Make the subbuffer read-only when we make the metadata writable for
5351 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5352 Added check for metadata copy when creating subbuffers.
5354 2006-08-21 Edward Hervey <edward@fluendo.com>
5356 * libs/gst/base/gstbasetransform.c:
5357 (gst_base_transform_buffer_alloc):
5358 Only call downstream buffer_alloc if transform element is passthrough
5359 or always_in_place. Closes #350449.
5361 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5364 ChangeLog surgery to add comments to previous changes
5366 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5371 * gst/gstpad.c: (gst_pad_set_active):
5372 Be more verbose in the log
5374 * libs/gst/base/gstbasetransform.c:
5375 (gst_base_transform_transform_caps):
5376 Simplify caps to get rid of duplicates, fixes #345444
5378 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5382 Use these optimizations only internally.
5384 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5386 * gst/gstvalue.c: (gst_value_compare_list),
5387 (gst_value_compare_fraction_range),
5388 (gst_value_intersect_fraction_fraction_range),
5389 (gst_value_intersect_fraction_range_fraction_range),
5390 (gst_value_subtract_fraction_fraction_range),
5391 (gst_value_subtract_fraction_range_fraction_range),
5392 (gst_value_get_compare_func), (gst_value_compare),
5393 (gst_value_compare_with_func):
5395 Saves the expensive lookup of the compare function in many cases
5398 2006-08-18 Edward Hervey <edward@fluendo.com>
5400 * tests/check/gst/gstinfo.c: (gst_info_suite):
5401 Disable test that require gstdebug if it wasn't built in core.
5403 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5405 * docs/random/ensonic/logging.txt:
5408 * gst/gstinfo.c: (gst_debug_log_default):
5409 reorder fields, save some columns, add optional color codes for log
5412 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5414 * docs/random/ensonic/logging.txt:
5415 add ideas about making the logs a bit more useful
5417 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5419 * docs/pwg/advanced-events.xml:
5420 * docs/pwg/titlepage.xml:
5421 Update for 0.10 API (#340627). Add myself
5424 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5426 * docs/libs/gstreamer-libs-docs.sgml:
5427 * docs/libs/gstreamer-libs-sections.txt:
5428 * libs/gst/check/gstbufferstraw.c:
5429 Make gstcheck stuff show up in docs (still needs to
5430 be documented properly though).
5432 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5434 * docs/gst/gstreamer-sections.txt:
5436 * gst/gst.c: (init_post):
5437 * gst/gst_private.h:
5438 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5440 * gst/gstquery.c: (gst_query_new_position),
5441 (gst_query_set_position), (gst_query_parse_position),
5442 (gst_query_new_duration), (gst_query_set_duration),
5443 (gst_query_parse_duration), (gst_query_new_convert),
5444 (gst_query_set_convert), (gst_query_parse_convert),
5445 (gst_query_new_segment), (gst_query_set_segment),
5446 (gst_query_parse_segment), (gst_query_new_seeking),
5447 (gst_query_set_seeking), (gst_query_parse_seeking):
5448 Add internal helpers for pre-registering quarks from static strings
5449 and using the quark values directly instead of looking them up when
5450 creating and parsing queries. Can be used for event construction too.
5453 2006-08-16 Wim Taymans <wim@fluendo.com>
5458 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5460 * gst/gstutils.c: (gst_util_set_value_from_string):
5461 Fix memleak (#351502).
5463 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5464 Add unit test for most of gst_util_set_value_from_string()
5465 (not that one would want to encourage use of this function).
5467 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5469 * libs/gst/check/gstcheck.h:
5470 Use const gchar * variables in fail_unless_equals_string
5471 macro to avoid compiler warnings (and don't use tabs for
5474 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5476 * tools/gst-launch.c: (print_tag):
5477 More space on the left for the tag names, to cater
5478 for the 'extended comment' tag (not touching the
5479 string for the first line since it's translated).
5481 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5483 * libs/gst/check/gstcheck.h:
5484 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5485 print something when they fail.
5487 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5489 * docs/gst/gstreamer-sections.txt:
5490 * gst/gsttaglist.c: (_gst_tag_initialize):
5492 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5493 Also change merge function for GST_TAG_COMMENT to
5496 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5498 * gst/gstinfo.c: (gst_debug_print_object):
5499 Make GST_PTR_FORMAT print messages as well.
5501 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5502 (GST_START_TEST), (gst_info_suite):
5505 2006-08-14 Edward Hervey <edward@fluendo.com>
5507 * gst/gstelementfactory.c: (gst_element_register):
5508 If the GstElementClass doesn't have a GstElementDetails with all fields
5509 filled up correctly (longname, description AND author), then error out
5510 nicely instead of crashing.
5512 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5514 * gst/gststructure.c:
5515 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5518 Expand on the difference between arrays and lists as we use them.
5520 2006-08-14 Wim Taymans <wim@fluendo.com>
5522 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5523 If the parent state change function failed, don't assume we can safely
5524 stop the source, this will be done when the pads are deactivated.
5526 2006-08-14 Wim Taymans <wim@fluendo.com>
5529 * gst/gsttask.c: (gst_task_join):
5532 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5533 (gst_pad_stop_task):
5534 When pad (de)activation failed for some reason, restore the old
5535 activation mode and set the pad to flushing instead of assuming the
5537 If the _task_join() failed, reinstall the task on the pad so that it can
5538 be stopped later and return an error.
5540 2006-08-11 Andy Wingo <wingo@pobox.com>
5543 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5544 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5545 is only for users of API that don't want to see deprecated
5546 functions in the headers; people that want to compile out
5547 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5548 CFLAGS. Fixes the build of multifdsink, or will soon..
5550 2006-08-11 Wim Taymans <wim@fluendo.com>
5552 * docs/gst/gstreamer-sections.txt:
5553 Add GstClockClass vmethod docs.
5556 Mark #endif with comment for associated #if
5558 * gst/gstclock.c: (gst_clock_id_wait):
5560 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5561 most clock implementations.
5563 Flesh out docs about resolution methods.
5564 API: GstClockClass::wait_jitter
5566 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5567 (gst_system_clock_async_thread),
5568 (gst_system_clock_id_wait_jitter_unlocked),
5569 (gst_system_clock_id_wait_jitter):
5570 Use base class wait_jitter variant for improved performance
5571 due to less clock polling.
5573 2006-08-11 Edward Hervey <edward@fluendo.com>
5575 * gst/gst.c: (gst_init_check), (init_post):
5576 Set gst as being initialized before scanning/updating the registry,
5577 since there might be my python plugin loader that calls gst_init() and
5578 we don't want to loop back in.
5581 2006-08-11 Wim Taymans <wim@fluendo.com>
5583 * docs/design/part-qos.txt:
5584 Bring docs in line with the code. Mostly the sign of the jitter was
5585 wrong in the docs. Fixes #349943.
5588 Fix the docs for the jitter.
5590 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5591 (gst_event_parse_tag), (gst_event_new_buffer_size),
5592 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5593 (gst_event_new_seek), (gst_event_parse_seek),
5594 (gst_event_new_navigation):
5595 Make sure the GstStructure has no parent when creating custom
5597 Add some more argument checking so that we avoid 0.0 rates.
5598 Flesh out the docs for the QoS event some more.
5600 2006-08-11 Wim Taymans <wim@fluendo.com>
5602 * docs/gst/gstreamer-sections.txt:
5603 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5604 (ensure_current_registry_forking), (ensure_current_registry),
5605 (parse_one_option), (parse_goption_arg), (gst_deinit),
5606 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5609 Added API and command line option to disable registry forking in
5610 addition to the environment variable.
5611 Constify some static arrays.
5612 Added some more debug.
5614 API: gst_registry_fork_is_enabled()
5615 API: gst_registry_fork_set_enabled()
5616 API: --gst-disable-registry-fork command line option
5619 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5621 * gst/gst.c: (gst_init):
5622 Fix typo in error message.
5624 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5626 * libs/gst/controller/gstcontroller.h:
5627 fix ABI size-correction
5629 * tests/check/libs/gdp.c: (gst_dp_suite):
5630 make tests that use deprecated API conditional
5632 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5634 * docs/libs/gstreamer-libs-sections.txt:
5635 * libs/gst/controller/gstcontroller.c:
5636 (_gst_controller_get_property), (_gst_controller_set_property),
5637 (_gst_controller_init), (_gst_controller_class_init):
5638 * libs/gst/controller/gstcontroller.h:
5639 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5640 (gst_object_set_control_rate):
5641 API: add gst_object_{s,g}et_control_rate(), add private data section,
5644 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5645 * libs/gst/dataprotocol/dataprotocol.h:
5646 add deprecation guards to make gtk-doc happy and allow disabling cruft
5648 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5650 * tests/check/Makefile.am:
5651 * tests/check/gst/.cvsignore:
5652 Let's enable the new unit test as well.
5654 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5657 * docs/gst/gstreamer-sections.txt:
5658 * gst/gstconfig.h.in:
5659 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5660 (_gst_info_printf_extension_ptr),
5661 (_gst_info_printf_extension_segment):
5662 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5663 register that lets us easily dump GstSegments into debug
5666 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5667 (info_segment_format_printf_extension), (gst_info_suite):
5668 Add simple unit test that logs a bunch of different segments (not
5669 valgrinded at the moment because of leaks in
5670 gst_debug_add_log_function).
5672 2006-08-09 Edward Hervey <edward@fluendo.com>
5674 * libs/gst/base/gstbasetransform.c:
5675 (gst_base_transform_buffer_alloc):
5676 Even if we can't figure out the proper format to request downstream,
5677 call buffer_alloc() downstream with the input parameters without setting
5678 the caps on the srcpad. This will force negotiation in the chain
5682 2006-08-08 Edward Hervey <edward@fluendo.com>
5684 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5685 Unlinking from a pad without a target is now a perfectly valid case
5686 which should NOT raise an assertion.
5687 This case would happen if a linked ghostpad its target set to NULL after
5688 it was previously linked.
5690 2006-08-08 Edward Hervey <edward@fluendo.com>
5692 * tests/check/libs/gdp.c:
5693 Also comment out the test (see below).
5695 2006-08-08 Edward Hervey <edward@fluendo.com>
5697 * tests/check/libs/gdp.c: (gst_dp_suite):
5698 Use the architecture information from config.h and not gcc macros
5699 in order to properly disable a test that fails on PPC64.
5701 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5703 * gst/gstelement.c: (gst_element_remove_pad):
5704 Don't crash printing the warning if the pad has no parent.
5706 2006-08-02 Wim Taymans <wim@fluendo.com>
5708 * libs/gst/dataprotocol/dataprotocol.c:
5709 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5710 (gst_dp_crc), (gst_dp_header_payload_length),
5711 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5712 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5713 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5714 (gst_dp_event_from_packet), (gst_dp_validate_header),
5715 (gst_dp_validate_payload):
5716 Make debug category static
5717 Constify the crc table.
5718 Do some more arg checking in public functions.
5719 Fix some docs and do some small cleanups.
5721 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5722 Add some more checks to see if GDP deals with bogus input.
5724 2006-07-31 Wim Taymans <wim@fluendo.com>
5726 * gst/gstvalue.c: (gst_value_compare_list):
5727 Fix GstValueList comparison code. Fixes #347293.
5729 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5730 Check to test GstValueList comparison.
5732 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5734 * gst/gstelementfactory.c: (gst_element_factory_create):
5735 Remove unnecessary ref/unref pair
5737 * gst/parse/grammar.y:
5738 Make sure to free the parse buffer on all code paths.
5739 Move a g_free up to the error handler where it's easier to see.
5741 * tests/check/gst/gstevent.c: (test_event):
5742 Extending timeout for downstream travelling events to 10 seconds to
5743 hopefully avoid intermittent failure on the buildbots.
5745 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5746 Don't manually set the state of the src element - it will happen as a
5747 natural consequence of the pipeline changing state, and that way it
5748 will do it in the right order too.
5750 2006-07-31 Wim Taymans <wim@fluendo.com>
5752 * libs/gst/base/gstbasetransform.c:
5753 (gst_base_transform_buffer_alloc):
5754 Use OBJECT_LOCK and refcounting to get the pad caps in the
5755 buffer_alloc function because the caps could change while we are
5756 busy with them. Fixes #349105
5758 2006-07-31 Wim Taymans <wim@fluendo.com>
5760 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5761 Protect _PAD_CAPS with OBJECT_LOCK.
5763 2006-07-31 Wim Taymans <wim@fluendo.com>
5765 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5766 (gst_pad_get_property), (gst_pad_activate_pull),
5767 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5768 (gst_pad_set_activate_function),
5769 (gst_pad_set_activatepull_function),
5770 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5771 (gst_pad_set_getrange_function),
5772 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5773 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5774 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5775 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5776 (gst_pad_set_acceptcaps_function),
5777 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5778 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5779 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5780 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5781 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5782 (gst_pad_configure_sink), (gst_pad_configure_src),
5783 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5784 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5785 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5786 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5787 (gst_pad_send_event):
5788 Use _DEBUG_OBJECT when it makes sense.
5789 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5790 Small cleanups and code reflows.
5791 Avoid caps refcounting in _accept_caps.
5792 Refactor alloc_buffer so that the code performed on the peer is in a
5793 separate function. Also if the pad does not implement a buffer alloc
5794 function, we should still check if the pad is flushing before falling
5795 back to the default allocator.
5797 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5799 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5800 Make all uses of identity and fakesink have silent=true to avoid
5801 serialising every passing data structure, which is breaking tests
5802 on FC4 for some unknown reason.
5804 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5806 * gst/parse/Makefile.am:
5807 * gst/parse/grammar.y:
5808 * gst/parse/parse.l:
5809 Reverted previous patch as it required to bump the flex dependency to
5810 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5812 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5814 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5816 * gst/parse/Makefile.am:
5817 * gst/parse/grammar.y:
5818 * gst/parse/parse.l:
5819 push & pop the state of the lexer for reentrant use case
5822 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
5824 * libs/gst/base/gstbasesrc.h:
5825 Note in the docs that the ::newsegment vfunc is not actually used by
5828 2006-07-28 Wim Taymans <wim@fluendo.com>
5830 * libs/gst/base/gstcollectpads.c:
5831 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5832 (gst_collect_pads_clear), (gst_collect_pads_flush),
5833 (gst_collect_pads_event), (gst_collect_pads_chain):
5834 When flushing a pad, also clear the queued buffer so that we don't
5835 accidentally use it when we shouldn't.
5836 Fix leaks by inreffing incomming buffer.
5837 Flush out queued buffers in case of errors.
5840 2006-07-28 Wim Taymans <wim@fluendo.com>
5842 * docs/random/phonon-gst:
5843 Random notes about a Phonon backend.
5845 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5847 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5849 * tests/check/libs/gdp.c: (gst_dp_suite):
5850 Take a whack at fixing the ppc compile using a different define to
5851 disable the broken test.
5853 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5854 Remove excess g_print()
5856 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5858 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5859 Oops, meant to uncomment this line too to dampen the noise a bit.
5861 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5863 * gst/parse/grammar.y:
5864 * gst/parse/parse.l:
5865 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5866 (GST_START_TEST), (parse_suite):
5867 Fix some of the leaks exposed by extending the parse-launch testsuite,
5868 and move the 3 I can't figure out into a separate test that won't run
5869 the pipelines unless the appropriate line is uncommented.
5871 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5873 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5874 Requesting 0 bytes before the end of the file should result in
5875 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
5878 2006-07-27 Wim Taymans <wim@fluendo.com>
5880 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
5881 Fix useless assert, a uint is always positive.
5883 * gst/gststructure.c: (gst_structure_nth_field_name),
5884 (gst_structure_foreach), (gst_structure_map_in_place):
5885 Check input arguments for public functions to avoid obvious crashes.
5887 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
5888 * plugins/elements/gstfakesink.h:
5889 Do less useless typechecking.
5891 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5893 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5894 Do not use mmap() by default since there are a number of error
5895 conditions that we would like to handle in a non-fatal way that
5896 will result in a SIGBUS if we use mmap(). Examples: external
5897 devices (USB harddrive, portable music player) being unplugged
5898 while in use; file on mounted CD/DVD that can't be read because
5899 the medium is partly damaged. Fixes #348455 and #348475.
5901 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5904 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
5907 2006-07-26 Stefan Kost <ensonic@users.sf.net>
5909 * gst/gstregistry.c:
5910 Move big documentation comment into class section header, so that it
5911 appears in the API docs.
5913 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5915 * docs/gst/gstreamer-sections.txt:
5916 Oops. Commit the docs additions too for new API.
5917 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
5919 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5921 * gst/gststructure.c: (gst_structure_id_set),
5922 (gst_structure_id_set_valist):
5923 * gst/gststructure.h:
5924 Add API for setting values into structures without performing
5925 a quark lookup, if the appropriate quark is already known.
5927 API: gst_structure_id_set
5928 API: gst_structure_id_set_valist
5930 * gst/parse/grammar.y:
5931 * gst/parse/parse.l:
5932 Remove some dead code shown by the coverage information.
5933 Don't throw a critical g_warning when encountering a syntax error,
5934 just warn and let the normal error path handle it.
5936 * plugins/elements/gstelements.c:
5937 Bump the rank of filesink up to PRIMARY so that it is preferred over
5938 gnomevfssink for file:// sink uri's
5940 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5941 (GST_START_TEST), (run_delayed_test),
5942 (gst_parse_test_element_base_init),
5943 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
5944 (gst_parse_test_element_change_state),
5945 (gst_register_parse_element), (parse_suite):
5946 Beef up the tests for parse syntax to check that more error cases
5947 fail as they are supposed to. Increases the test coverage a bit.
5949 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
5951 * docs/manual/basics-elements.xml:
5952 Fix gst_element_link() example.
5955 Mention in API docs that one should usually gst_bin_add()
5956 elements to a bin or pipeline before doing the linking.
5958 2006-07-26 Wim Taymans <wim@fluendo.com>
5960 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
5961 (gst_subbuffer_get_type), (gst_buffer_create_sub):
5962 Avoid function call for known types by keeping the buffer and
5963 subbuffer GType global.
5965 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5966 Random silly optimisations in read() path.
5968 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5970 * tools/gst-launch.c: (main):
5971 If the top-level of the parse is a normal bin, it doesn't do the
5972 right logic to run as a top-level element, so place it inside a
5975 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
5977 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
5978 Remove superfluous g_object_notify() calls, GObject does
5979 that for us automatically.
5981 2006-07-25 Stefan Kost <ensonic@users.sf.net>
5984 on Win32, use dllspec to export the debug category symbols
5986 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
5988 * gst/gsttaglist.c: (_gst_tag_initialize):
5989 Allow more than one GST_TAG_IMAGE per taglist.
5991 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
5993 * gst/gstminiobject.c:
5995 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
5996 (gst_fd_src_create):
5997 log recurring events at LOG level
5998 add more debug for when the fd gets set
6000 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6002 * gst/gstparse.c: (gst_parse_launch):
6003 Also remove reentrance checks if flex is MT safe (#348179)
6004 Fix my empty ChangeLog entry below
6006 2006-07-21 Andy Wingo <wingo@pobox.com>
6008 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6010 * libs/gst/check/Makefile.am
6011 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6012 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6013 * libs/gst/check/gstbufferstraw.h:
6014 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6015 functions, thus proving I am still a GStreamer haxor. OK I wrote
6016 them a long time ago, but anyways.
6018 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6021 * gst/gstparse.c: (gst_parse_launch):
6022 Check for flex version and omit mutex if we have a MT save flex
6025 2006-07-21 Wim Taymans <wim@fluendo.com>
6027 * gst/gstparse.c: (gst_parse_launch):
6028 Protect recursive calls to _parse with a recursive mutex
6031 2006-07-21 Wim Taymans <wim@fluendo.com>
6033 * tests/check/gst/gstpad.c: (GST_START_TEST):
6036 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6038 * gst/gstparse.c: (gst_parse_launch):
6039 Do not hang on recursive usage of gst_parse_launch()
6041 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6044 Add some more docs, comments and FIXME 0.11s here and there
6045 and also fix some typos.
6047 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6050 Convert tabs to spaces for better readability.
6052 2006-07-20 Edward Hervey <edward@fluendo.com>
6054 * tests/check/libs/gdp.c: (gst_dp_suite):
6055 the test_buffer test fails at line 140 on ppc64 at the following
6057 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6058 GST_BUFFER_FLAG_IN_CAPS),
6059 "GST_BUFFER_IN_CAPS flag should have been copied !");
6060 See bug #348114 for more details.
6062 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6064 * docs/pwg/advanced-scheduling.xml:
6066 Fix typos (#348000).
6068 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6070 * docs/pwg/intro-basics.xml:
6071 Fix wrong links (#347927).
6073 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6075 * gst/gstregistry.h:
6076 * gst/gstregistryxml.c: (load_feature),
6077 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6078 * win32/common/config.h:
6079 make --disable-index work (#342564)
6081 2006-07-18 Wim Taymans <wim@fluendo.com>
6083 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6087 The attached patch adds two missing defines to gsttrace.h when tracing
6088 is disabled. It also corrects one existing define.
6091 2006-07-17 Wim Taymans <wim@fluendo.com>
6093 * docs/gst/gstreamer-sections.txt:
6094 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6096 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6097 Add two functions to check and change the SIGSEGV behaviour
6098 when loading plugins.
6099 Don't mess with the SIGSEGV handler when we were told not to.
6101 API: gst_segtrap_is_enabled
6102 API: gst_segtrap_set_enabled
6104 2006-07-14 Wim Taymans <wim@fluendo.com>
6106 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6107 * tests/check/elements/filesrc.c: (GST_START_TEST):
6108 Revert fix for regression in #347408 after release.
6110 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6112 Patch by: Antoine Tremblay <hexa00 at gmail com>
6114 * gst/gstutils.c: (gst_element_unlink):
6115 Free iterator when done (#347311).
6117 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6118 And add a test case for this.
6120 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6123 Bump nano back to CVS
6125 === release 0.10.9 ===
6127 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6130 releasing 0.10.9, "On the road again"
6132 2006-07-13 Wim Taymans <wim@fluendo.com>
6134 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6135 * tests/check/elements/filesrc.c: (GST_START_TEST):
6136 Revert pull-0 fix for release. Disable check. Fixes #347408.
6138 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6140 * libs/gst/dataprotocol/dataprotocol.c:
6141 (gst_dp_event_from_packet_1_0):
6142 Fixes #347337: failure to deserialize event packets with
6143 empty payload (only event type)
6145 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6148 do not install a .c file in the header directory
6150 2006-07-13 Edward Hervey <edward@fluendo.com>
6152 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6153 GhostPad no longer implicitely use the padtemplates of the targets.
6156 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6158 * gst/gstvalue.c: (gst_value_compare_list),
6159 (gst_value_compare_array), (_gst_value_initialize):
6160 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6161 Make GstValueArray comparison be order dependent as designed.
6162 Add checks for value lists and value array comparisons.
6165 2006-07-11 Edward Hervey <edward@fluendo.com>
6167 * gst/gstbin.c: (activate_pads),
6168 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6169 (gst_bin_change_state_func):
6170 (de)activate src pads before calling state_change on the childs.
6171 This is to avoid the case where a src ghostpad is blocked (holding the
6172 stream lock), which would block the deactivation of the ghostpad's
6174 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6175 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6176 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6177 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6178 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6179 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6180 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6181 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6182 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6183 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6184 (gst_ghost_pad_class_init),
6185 (gst_ghost_pad_internal_do_activate_push),
6186 (gst_ghost_pad_internal_do_activate_pull),
6187 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6188 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6189 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6190 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6191 GhostPads now create their internal GstProxyPad at creation (and not
6192 when they're linked, as it was being done previously).
6193 The internal and target pads are linked straight away.
6194 The data will also travel through the other pad in order to make
6195 pad blocking and probes non-hackish (the probe/block now really happens
6196 on the GhostPad and not on the target).
6197 * gst/gstpad.c: (gst_pad_set_blocked_async),
6198 (gst_pad_link_prepare), (gst_pad_push_event):
6199 Remove previous ghostpad cruft.
6200 * gst/gstutils.c: (gst_pad_add_data_probe),
6201 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6202 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6203 (gst_pad_remove_buffer_probe):
6204 Remove previous ghost pad cruft.
6205 Added more detailed debug statements.
6206 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6207 Fix the testsuite for refcounting changes.
6208 The comments about who has references were correct, but the refcount
6209 being checked wasn't the same (!?!).
6213 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6215 * docs/gst/gstreamer-sections.txt:
6216 * gst/gstconfig.h.in:
6217 More docs for configuration options, add docs to gtk-doc.
6219 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6222 * gst/gstconfig.h.in:
6223 * win32/common/config.h:
6224 Fix build when disabling tracing (fixes #344016). Also start to document
6225 the defines that disable the sub-systems.
6227 2006-07-10 Edward Hervey <edward@fluendo.com>
6229 * gst/gst.c: (ensure_current_registry_forking):
6230 let's make valgrind happy...
6232 2006-07-09 Wim Taymans <wim@fluendo.com>
6234 * gst/gstelement.c: (activate_pads),
6235 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6236 Better pad activation code: Reset the collect value too on resync.
6239 2006-07-09 Wim Taymans <wim@fluendo.com>
6241 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6242 (gst_pad_activate_push):
6243 Use some more macros where it makes sense.
6244 Allow pad mode switching instead of asserting. When a pad
6245 is activated in one mode and we activate it in another,
6246 deactivate it first before activating it in a different mode.
6249 2006-07-08 Andy Wingo <wingo@pobox.com>
6251 * tools/gst-launch.c (main): Handle err == NULL.
6253 * gst/gst.c (init_post, ensure_current_registry)
6254 (ensure_current_registry_forking)
6255 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6256 factoring out the registry scanning into separate functions. Don't
6257 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6258 Better environment var name/interface suggestions accepted.
6260 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6262 * gst/gstobject.c: (gst_object_set_name_default),
6263 (gst_object_set_name):
6264 Random micro-optimisation: don't use a hash table
6265 with strings as keys and the usual strdup/strcmp
6266 involved, but rather just use the GQuark of the
6267 type name as key, since it needs to be looked up
6268 anyway to get the type name string.
6270 * tests/check/gst/gstobject.c: (GST_START_TEST):
6273 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6275 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6276 (gst_bin_iterate_all_by_interface):
6277 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6278 GTypes are gulongs and thus the top 4 bytes might be cut
6279 off on some platforms when doing GPOINTER_TO_INT, leading
6280 to invalid GTypes and bad things happening (see RH bug #179654).
6281 Also add a check to make sure the type passed in is really
6284 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6289 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6293 * gst-element-check.m4:
6294 * gst-element-check.m4.in:
6295 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6296 instead of the unversioned gst-inspect (#324176, #168659).
6298 2006-07-06 Wim Taymans <wim@fluendo.com>
6301 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6304 2006-07-06 Wim Taymans <wim@fluendo.com>
6306 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6307 (gst_base_src_wait), (gst_base_src_update_length),
6308 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6309 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6310 (gst_base_src_loop), (gst_base_src_start),
6311 (gst_base_src_activate_pull):
6313 blocksize == 0 now means the default blocksize when working in push
6315 Remove some pointless asserts in _wait function.
6316 Fix offset/length calculations and EOS handling. We can now pull 0
6317 bytes as well, which is allowed.
6318 use _check_get_range() to decide if we can operate in _pull based
6320 Fix refcounting leak when check_get_range function was not
6322 API GstBaseSrc::blocksize range can be 0 too now (default)
6324 * tests/check/elements/filesrc.c: (GST_START_TEST),
6326 Added check to test _get_range() behaviour.
6328 2006-07-06 Wim Taymans <wim@fluendo.com>
6330 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6331 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6332 (gst_pad_pull_range):
6334 Lots of comments and docs added to the pad functions.
6335 Flesh out the expected behaviour of the get_range() functions.
6337 2006-07-06 Wim Taymans <wim@fluendo.com>
6342 * gst/gstiterator.h:
6346 Remove comma at end of enumerator list.
6348 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
6350 * win32/common/libgstbase.def:
6351 * win32/common/libgstdataprotocol.def:
6352 * win32/common/libsgtreamer.def:
6353 Add new exported functions.
6355 2006-07-05 Wim Taymans <wim@fluendo.com>
6357 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6358 Add some more docs here and there.
6360 2006-07-05 Wim Taymans <wim@fluendo.com>
6362 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6363 (gst_base_sink_loop), (gst_base_sink_get_position):
6364 When operating in pull mode update the offset so that we
6367 2006-07-05 Wim Taymans <wim@fluendo.com>
6369 * gst/gstregistryxml.c: (read_string):
6370 Avoid strdup. (will happen in libxml, but hey!)
6375 2006-07-05 Wim Taymans <wim@fluendo.com>
6377 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6378 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6380 No point in checking if the size of the subbuffer > 0, the
6381 code handles it correclty as demonstrated by unit test.
6382 Also add a unit test for the zero sized _new_and_alloc and
6383 _copy. Fixes #346663.
6385 2006-07-05 Wim Taymans <wim@fluendo.com>
6387 * libs/gst/base/gstbasetransform.c:
6388 (gst_base_transform_prepare_output_buffer),
6389 (gst_base_transform_buffer_alloc),
6390 (gst_base_transform_handle_buffer):
6391 Make sure the buffer we pass to transform_ip has a refcount of
6392 1 and thus is writable. Fixes #343196
6394 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6396 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6397 (gst_file_src_init), (gst_file_src_set_property),
6398 (gst_file_src_get_property), (gst_file_src_map_region):
6399 * plugins/elements/gstfilesrc.h:
6400 Add "sequential" property, off by default, to use madvise and hint
6401 to the kernel that sequential access is desired.
6402 Touch all retrieved pages by default to ensure they are pulled
6403 into memory. (Closes #345720)
6405 2006-07-03 Wim Taymans <wim@fluendo.com>
6407 * docs/design/part-block.txt:
6408 * docs/design/part-dynamic.txt:
6411 2006-07-03 Wim Taymans <wim@fluendo.com>
6413 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6414 (gst_caps_unref), (gst_static_caps_get),
6415 (gst_caps_append_structure):
6416 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6417 Use GSlice when the glib we build against is >= 2.10
6419 2006-07-03 Wim Taymans <wim@fluendo.com>
6421 * gst/gstelement.c: (gst_element_pads_activate):
6422 Small cleanup in pad activation code.
6424 2006-07-03 Wim Taymans <wim@fluendo.com>
6426 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6428 * gst/gst-i18n-app.h:
6429 * gst/gst-i18n-lib.h:
6430 * tools/gst-inspect.c: (print_signal_info):
6431 The attached patch will make the inclusion of gettext.h unconditional in
6432 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6433 libintl.h in tools/gst-inspect.c.
6434 This allows use of --disable-nls again and fixes #344642.
6436 2006-07-03 Edward Hervey <edward@fluendo.com>
6438 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6439 Implement pad blocking on events according to part-block.txt.
6440 More comments on behaviour.
6441 * tests/check/gst/gstevent.c: (test_event):
6442 Send event to peer pad of blocked pad (else it will block).
6444 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6446 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6447 (gst_check_run_suite):
6448 if we get the wrong message, give us the types as string
6449 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6451 * tests/check/elements/filesrc.c: (GST_START_TEST):
6452 add a test for trying to open a non-existing file
6454 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6456 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6457 add a test for adding self
6459 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6461 * libs/gst/check/gstcheck.h:
6462 add some assert_ as alias for fail_unless_*
6463 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6464 increase test coverage
6466 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6469 include lcov.mak for lcov coverage generation
6470 * tools/Makefile.am:
6473 2006-07-02 Edward Hervey <edward@fluendo.com>
6475 * tests/check/elements/.cvsignore:
6478 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6481 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6482 * tests/check/Makefile.am:
6485 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6487 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6488 remove gst_caps_simplify; it was not declared and not used
6489 and deprecated in 0.8
6491 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6493 * docs/faq/gst-uninstalled:
6494 don't put empty paths on PYTHONPATH
6495 * docs/gst/gstreamer-sections.txt:
6496 remove some symbols that are not there
6498 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6500 * gst/gstcaps.c: (gst_caps_compare_structures):
6502 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6503 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6506 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6508 * libs/gst/dataprotocol/Makefile.am:
6509 build dataprotocol test by linking to the lib, instead of
6510 compiling the source, so we get coverage
6511 * tests/check/Makefile.am:
6512 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6513 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6514 add a test for filesrc
6516 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6518 * tests/check/gst/gststructure.c: (GST_START_TEST),
6519 (gst_structure_suite):
6520 Push coverage from 59.04% to 70.00%
6522 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6524 * tests/check/Makefile.am:
6525 gst-inspect every element; this makes sure that we also get
6526 coverage on element's get/set functions
6528 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6531 set CFLAGS and friends to -O0 if gcov is being used
6534 * libs/gst/base/Makefile.am:
6535 * libs/gst/check/Makefile.am:
6536 * libs/gst/controller/Makefile.am:
6537 * libs/gst/dataprotocol/Makefile.am:
6538 * libs/gst/net/Makefile.am:
6539 * plugins/elements/Makefile.am:
6540 * plugins/indexers/Makefile.am:
6541 add makefile rules to generate gcov data and clean up
6542 * tests/check/Makefile.am:
6543 add a coverage target that generates an html overview
6546 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6548 * tests/check/elements/fakesink.c:
6549 * tests/check/elements/fakesrc.c:
6550 * tests/check/elements/fdsrc.c:
6551 * tests/check/elements/identity.c:
6552 * tests/check/generic/sinks.c: (gst_sinks_suite):
6553 * tests/check/generic/states.c:
6554 * tests/check/gst/gst.c:
6555 * tests/check/gst/gstabi.c:
6556 * tests/check/gst/gstbin.c:
6557 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6558 * tests/check/gst/gstbus.c: (gst_bus_suite):
6559 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6560 * tests/check/gst/gstelement.c:
6561 * tests/check/gst/gstevent.c: (gst_event_suite):
6562 * tests/check/gst/gstghostpad.c:
6563 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6564 * tests/check/gst/gstmessage.c: (gst_message_suite):
6565 * tests/check/gst/gstminiobject.c:
6566 * tests/check/gst/gstobject.c:
6567 * tests/check/gst/gstpad.c:
6568 * tests/check/gst/gstpipeline.c:
6569 * tests/check/gst/gstplugin.c:
6570 * tests/check/gst/gstquery.c: (gst_query_suite):
6571 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6572 * tests/check/gst/gststructure.c:
6573 * tests/check/gst/gstsystemclock.c:
6574 * tests/check/gst/gsttag.c:
6575 * tests/check/gst/gsttask.c: (gst_task_suite):
6576 * tests/check/gst/gstutils.c:
6577 * tests/check/gst/gstvalue.c:
6578 * tests/check/libs/adapter.c:
6579 * tests/check/libs/basesrc.c:
6580 * tests/check/libs/collectpads.c:
6581 * tests/check/libs/controller.c:
6582 * tests/check/libs/gdp.c: (gst_dp_suite):
6583 * tests/check/libs/gstnetclientclock.c:
6584 * tests/check/libs/gstnettimeprovider.c:
6585 * tests/check/libs/libsabi.c: (libsabi_suite):
6586 * tests/check/libs/typefindhelper.c:
6587 * tests/check/pipelines/cleanup.c:
6588 * tests/check/pipelines/parse-launch.c:
6589 * tests/check/pipelines/simple-launch-lines.c:
6590 * tests/check/pipelines/stress.c: (stress_suite):
6593 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6595 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6596 * libs/gst/check/gstcheck.h:
6597 create a macro and function so that the simple unit test
6598 case can be just one macro to create main()
6600 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6602 * gst/gstbin.c: (gst_bin_restore_thyself):
6603 * gst/gstxml.c: (gst_xml_make_element):
6604 Fix deserialisation from XML. Set parent manually
6605 instead of using gst_bin_add(), since gst_bin_add()
6606 will unlink all pads of the element being added.
6609 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6611 Patch by: Peter Kjellerstedt <pkj at axis com>
6613 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6614 Fix missing g_strdup() and double free when using the
6615 --gst-plugin-load command line option (#346097).
6617 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6620 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6622 * libs/gst/net/gstnetclientclock.c:
6623 * libs/gst/net/gstnettimeprovider.c:
6624 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6626 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6628 * docs/manual/advanced-dataaccess.xml:
6629 Fix buffer probe example compilation in
6632 2006-06-22 Edward Hervey <edward@fluendo.com>
6634 * gst/gstelement.c: (gst_element_pads_activate):
6635 We need to deactivate src pads first and then sink pads.
6636 The reason is the src pads might be blocking while holding the streaming
6637 lock, so we need to deactivate them first so that deactivating the sink
6638 pads doesn't block (since it will require the streaming lock).
6640 2006-06-22 Wim Taymans <wim@fluendo.com>
6642 * libs/gst/base/gstbasetransform.c:
6643 (gst_base_transform_buffer_alloc):
6644 Forgot to remove two unneeded unrefs.
6645 Simplify a check _is_equal allready checks the obvious case.
6647 2006-06-22 Wim Taymans <wim@fluendo.com>
6649 * docs/design/part-block.txt:
6650 Some docs about what pad_block should do.
6652 2006-06-22 Wim Taymans <wim@fluendo.com>
6654 * gst/gstcaps.c: (gst_caps_replace):
6655 Fix crasher when passed NULL. Doc clarification.
6656 Optimize for the trivial case.
6658 * gst/gstpipeline.c: (gst_pipeline_change_state):
6661 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6662 Small documentation cleanup.
6664 * libs/gst/base/gstbasetransform.c:
6665 (gst_base_transform_buffer_alloc):
6666 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6667 is what we need and it avoids a whole lot of redundant
6668 refcount operations.
6670 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6672 Patch by: Philip Jägenstedt <philip at lysator liu se>
6674 * docs/manual/advanced-dataaccess.xml:
6675 Fix 'Embedding static elements' section to use
6676 GST_PLUGIN_DEFINE_STATIC (#345607).
6678 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6680 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6681 Attempt to 'fix' spuriously failing test case: it seems like the
6682 timeout of half a second is simply too small when the system is under
6683 load otherwise, and the timeout doesn't really seem to serve any
6684 particular purpose here. Give the pipeline a few seconds to preroll
6685 first, and then give it another half a second to go from PAUSED to
6686 PLAYING and marshal the message into the main thread.
6688 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6690 * tools/gst-feedback-m.m:
6691 Don't only use unversioned tools, try versioned tools as well
6694 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6696 * gst/gstbus.c: (gst_bus_class_init):
6697 Fix some typos, make docs more explicit.
6699 2006-06-20 Wim Taymans <wim@fluendo.com>
6701 * tests/check/gst/gstghostpad.c: (block_callback),
6702 (GST_START_TEST), (gst_ghost_pad_suite):
6703 Added some more ghostpad tests, mainly blocking
6706 2006-06-16 Wim Taymans <wim@fluendo.com>
6708 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6709 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6710 (gst_file_sink_event), (gst_file_sink_render):
6711 * plugins/elements/gstfilesink.h:
6712 Check if we can seek in the file instead of assuming
6713 we always can. Post an error when we are asked to seek in a
6714 non-seekable file (like a fifo). Fixes #343312.
6717 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6719 * tools/gst-launch.1.in:
6720 Un-garble (fourcc) bit in filtered caps section.
6722 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6724 * docs/manual/advanced-autoplugging.xml:
6725 * docs/manual/basics-helloworld.xml:
6726 * docs/manual/highlevel-components.xml:
6727 Don't leak bus reference in sample code.
6729 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6732 Add default for new --enable-plugin-docs switch.
6735 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6739 Use new ENABLE_PLUGIN_DOCS conditional.
6741 2006-06-14 Wim Taymans <wim@fluendo.com>
6743 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6744 Make it clear with a FIXME and a real define what the #if 0
6745 previously disabled.
6747 2006-06-14 Wim Taymans <wim@fluendo.com>
6749 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6750 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6751 * libs/gst/base/gstbasetransform.c:
6752 (gst_base_transform_sink_eventfunc):
6753 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6754 Don't randomly and silently reset a segment when the format
6755 changes as this is a bug somewhere upstream. Fixes #330379.
6757 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6759 Patch by: Wouter Paesen <wouter at kangaroot net>
6761 * libs/gst/controller/gstcontroller.c:
6762 (gst_controlled_property_new):
6763 Fix controlling of float properties (#344849).
6765 * tests/check/libs/controller.c:
6766 (gst_test_mono_source_get_property),
6767 (gst_test_mono_source_set_property),
6768 (gst_test_mono_source_class_init), (GST_START_TEST):
6769 While we're at it, add some float stuff to unit test.
6771 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6774 * docs/images/gdp-header.svg:
6776 * docs/libs/Makefile.am:
6777 * docs/libs/gdp-header.png:
6778 * libs/gst/dataprotocol/dataprotocol.c:
6779 add it to the API docs
6780 * docs/manual/intro-motivation.xml:
6783 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6785 * gst/gst.c: (scan_and_update_registry), (init_post):
6786 If the fork()'ed child process can't write the updated registry cache
6787 file to disk for some reason, make it exit with a failure exit code,
6788 so that the parent can then re-scan the plugins itself and update the
6789 registry structures in memory and work with that (rather than failing
6790 when creating elements because seemingly no plugins are available).
6791 Refactor registry scanning code into separate function for this and
6792 also separate fork() and non-fork() code paths. Fixes #344748.
6794 2006-06-13 Wim Taymans <wim@fluendo.com>
6796 * docs/manual/advanced-dataaccess.xml:
6797 Fix wrong PluginDesc. Fixes #344755.
6799 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6801 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6802 Fix silly bug that prevented us from creating
6803 ~/.gstreamer-0.10 and writing the registry in one
6804 go (the first call to g_mkstemp() would overwrite the
6805 placeholder in the template string, so the second call
6806 to g_mkstemp() after creating the missing directory
6807 would then error out with 'invalid argument').
6809 2006-06-13 Edward Hervey <edward@fluendo.com>
6811 * gst/gst.c: (init_post):
6814 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6816 * gst/glib-compat-private.h:
6817 * gst/glib-compat.c:
6818 * gst/glib-compat.h:
6819 * gst/gstvalue.c: (gst_value_serialize_flags):
6820 remove GLib 2.6 compatibility code
6822 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
6824 * gst/parse/Makefile.am:
6825 Fix build with 'make -j N' even more (#340016).
6827 2006-06-12 Wim Taymans <wim@fluendo.com>
6829 * docs/gst/gstreamer-sections.txt:
6832 2006-06-12 Wim Taymans <wim@fluendo.com>
6834 * gst/gstsegment.c: (gst_segment_set_duration),
6835 (gst_segment_set_last_stop), (gst_segment_set_seek),
6836 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6837 (gst_segment_to_running_time), (gst_segment_clip):
6838 Use G_UNLIKELY to help the compiler a bit.
6840 2006-06-12 Wim Taymans <wim@fluendo.com>
6842 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6844 * gst/gstevent.c: (gst_event_get_type):
6846 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6848 constify quark registration strings. Fixes #344115
6849 Avoid unneeded type checking is _pad_push() by internally
6850 calling gst_pad_chain_unchecked().
6852 2006-06-12 Wim Taymans <wim@fluendo.com>
6854 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6855 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6856 (gst_subbuffer_finalize), (gst_buffer_create_sub),
6857 (gst_buffer_is_span_fast), (gst_buffer_span):
6858 Init _type for consistency.
6859 Use _FLAGS macro to avoid type check.
6860 Avoid unneeded type checks in subbufer code.
6862 2006-06-12 Wim Taymans <wim@fluendo.com>
6864 * gst/gst.c: (gst_debug_help):
6865 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6866 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6867 (gst_plugin_feature_list_free):
6868 * gst/gstregistry.c: (gst_registry_add_plugin),
6869 (gst_registry_add_feature), (gst_registry_plugin_filter),
6870 (gst_registry_feature_filter), (gst_registry_find_plugin),
6871 (gst_registry_find_feature), (gst_registry_get_plugin_list),
6872 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
6873 * gst/gstregistryxml.c: (load_feature),
6874 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
6875 * gst/gstminiobject.c: (gst_mini_object_unref),
6876 (gst_mini_object_replace), (gst_value_mini_object_free),
6877 (gst_value_mini_object_copy):
6878 Use _CAST macros to avoid unneeded type checking.
6879 Added some more G_UNLIKELY.
6881 2006-06-12 Wim Taymans <wim@fluendo.com>
6884 Avoid unneeded type checking.
6885 API: GST_BUFFER_IS_DISCONT
6887 * gst/gstminiobject.h:
6888 Avoid type check in flag accessor.
6890 * gst/gstelementfactory.h:
6892 * gst/gstpluginfeature.h:
6894 API: GST_ELEMENT_FACTORY_CAST
6895 API: GST_PLUGIN_CAST
6896 API: GST_PLUGIN_FEATURE_CAST
6898 2006-06-12 Wim Taymans <wim@fluendo.com>
6900 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
6902 Add G_UNLIKELY in type registration.
6903 Avoid type check in _ref/_unref since that is also
6906 2006-06-12 Wim Taymans <wim@fluendo.com>
6908 * gst/gsterror.c: (gst_g_error_get_type):
6909 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6910 (gst_static_pad_template_get_type):
6911 * gst/gsttaglist.c: (gst_tag_list_get_type):
6912 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
6913 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
6914 * gst/gsturi.c: (gst_uri_handler_get_type):
6915 * gst/gstvalue.c: (gst_date_get_type):
6916 * gst/gstxml.c: (gst_xml_get_type):
6917 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
6918 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6919 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
6920 Add G_UNLIKELY in type registration.
6922 2006-06-12 Wim Taymans <wim@fluendo.com>
6924 * tools/gst-inspect.c: (print_signal_info):
6925 Properly print enum values.
6927 2006-06-12 Wim Taymans <wim@fluendo.com>
6929 * gst/gstinfo.c: (gst_debug_set_active),
6930 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
6932 Add some G_[UN]LIKELY.
6933 Maintain __gst_debug_min to avoid formatting the arguments of
6934 debug messages that will be dropped anyway to avoid a lot of
6935 overhead from the debugging system.
6937 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6941 add missing files containing translatable strings, tell intltool about
6944 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6946 * tests/check/libs/.cvsignore:
6947 add test-binary to ignore list
6949 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6951 * docs/libs/gstreamer-libs-docs.sgml:
6952 reorder (put dp into a chapter) and indent
6954 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6959 === release 0.10.8 ===
6961 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6964 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
6966 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6968 * gst/gst.c: (init_post):
6969 move pid declaration to declaration block
6971 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6973 * gst/gst.c: (init_post):
6974 use _exit() instead of exit() in our forked child; this ensures
6975 that none of the registered exit handlers from whatever is using
6976 GStreamer get executed. This fixes gnome-mixer-applet failing
6977 to load, because ORBit would shut down.
6978 Spotted by: Edward Hervey <edward@fluendo.com>
6979 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
6982 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6987 === release 0.10.7 ===
6989 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6992 releasing 0.10.7, "Soepeke, ik zie ou"
6994 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7017 * win32/common/config.h:
7020 2006-06-07 Wim Taymans <wim@fluendo.com>
7022 * gst/gstindex.c: (gst_index_gtype_resolver):
7023 * tools/gst-xmlinspect.c: (print_plugin_info):
7024 Fix leak spotted by coverity checker. Fixes #343827
7025 Fix another other leak found by paolo borelli.
7027 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7029 * libs/gst/dataprotocol/dataprotocol.c:
7030 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7031 (gst_dp_version_get_type), (gst_dp_init),
7032 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7033 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7034 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7035 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7036 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7037 (gst_dp_packetizer_free):
7038 * libs/gst/dataprotocol/dataprotocol.h:
7039 API: add a GstDPPacketizer object, and create/free functions
7040 API: add GstDPVersion enum
7041 Add 1.0 event function that uses the string serialization
7042 Serialize more useful buffer flags
7045 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7047 * tests/check/Makefile.am:
7048 * tests/check/gst/gstabi.c:
7049 * tests/check/gst/struct_ppc64.h:
7050 * tests/check/libs/libsabi.c:
7051 * tests/check/libs/struct_ppc64.h:
7052 add ppc64 structure sizes
7054 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7056 * tests/check/Makefile.am:
7057 * tests/check/gst/gstabi.c:
7058 * tests/check/gst/struct_x86_64.h:
7059 * tests/check/libs/libsabi.c:
7060 * tests/check/libs/struct_x86_64.h:
7061 generate and add structure size lists for x86_64
7063 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7065 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7066 * libs/gst/check/gstcheck.h:
7067 factor out the method from tests that checks size of structures,
7068 and add code to generate the header containing these sizes
7069 * tests/check/gst/gstabi.c: (GST_START_TEST):
7070 * tests/check/gst/struct_i386.h:
7071 * tests/check/libs/libsabi.c: (GST_START_TEST):
7072 * tests/check/libs/struct_i386.h:
7075 2006-06-06 Michael Smith <msmith@fluendo.com>
7078 Don't use c++-style comments, fixes #343929
7080 2006-06-05 Edward Hervey <edward@fluendo.com>
7083 plugin_paths is not used if we build without registry support.
7085 * gst/gstsegment.c: (gst_segment_copy):
7086 _copy() was always returning NULL...
7088 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7090 * libs/gst/dataprotocol/dataprotocol.c:
7091 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7092 (gst_dp_packet_from_event):
7095 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7097 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7098 make sure we unset caps
7100 2006-06-02 Michael Smith <msmith@fluendo.com>
7102 * libs/gst/check/gstcheck.c: (gst_check_init),
7103 (gst_check_chain_func):
7104 * libs/gst/check/gstcheck.h:
7105 Add a cond/mutex to the check support lib, signal this whenever we
7106 add to the buffers list. This will allow tests to not busy-wait on
7109 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7111 * libs/gst/dataprotocol/dataprotocol.c:
7112 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7113 (gst_dp_packet_from_event):
7114 factor out some common header init code
7116 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7118 * docs/libs/gstreamer-libs-sections.txt:
7119 * docs/libs/tmpl/gstdataprotocol.sgml:
7120 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7121 * libs/gst/dataprotocol/dataprotocol.h:
7122 API: make gst_dp_crc() public
7124 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7126 * plugins/indexers/gstindexers.c: (plugin_init):
7127 conditionally register fileindexer (fixes #343598)
7129 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7131 * gst/gsttagsetter.h:
7132 Can't cast ifaces to a class
7134 * libs/gst/net/gstnetclientclock.h:
7135 * libs/gst/net/gstnettimeprovider.h:
7136 * plugins/elements/gstfakesink.h:
7137 * plugins/elements/gstfakesrc.h:
7138 * plugins/elements/gstfdsink.h:
7139 * plugins/elements/gstfdsrc.h:
7140 * plugins/elements/gstfilesink.h:
7141 * plugins/elements/gstfilesrc.h:
7142 * plugins/elements/gstidentity.h:
7143 * plugins/elements/gstqueue.h:
7144 * plugins/elements/gsttee.h:
7145 * plugins/indexers/gstfileindex.c:
7146 * plugins/indexers/gstmemindex.c:
7147 * tests/old/examples/plugins/example.h:
7148 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7150 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7152 * libs/gst/dataprotocol/dataprotocol.c:
7153 (gst_dp_header_from_buffer):
7154 make sure we zero the whole ABI-compatible area
7156 2006-06-01 Wim Taymans <wim@fluendo.com>
7158 Patch by: Alessandro Decina <alessandro at nnva dot org>
7160 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7161 Make sure the EOS flag is cleared from pads after a flush
7162 or stop. Fixes #343538.
7164 * tests/check/libs/collectpads.c: (GST_START_TEST),
7165 (gst_collect_pads_suite):
7166 Added test for collectpads reusage after EOS.
7168 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7171 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7172 * win32/common/libgstbase.def:
7173 export gst_collect_pads_set_flushing
7174 * win32/common/libgstreamer.def:
7175 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7176 gst_value_fraction_multiply
7177 * win32/vs6/gst_inspect.dsp:
7178 add a link to intl.lib
7180 2006-05-30 Wim Taymans <wim@fluendo.com>
7182 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7183 (gst_collect_pads_chain):
7184 Handle the case where a pad is removed from the collection
7185 that could cause the other pads to become collectable.
7187 2006-05-30 Wim Taymans <wim@fluendo.com>
7190 Clarify the use of _release_request_pad() and
7191 _get_request_pad() a bit better.
7193 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7194 (gst_adapter_take_buffer):
7195 Fix some doc and comment typos.
7197 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7199 * docs/gst/gstreamer-sections.txt:
7200 * docs/libs/gstreamer-libs-sections.txt:
7201 add declared symbols
7203 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7205 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7206 Add debug that can be enabled using a #define at the top of the file,
7207 for dumping stats about how late/early we were when waking up from
7208 waiting on the clock.
7210 2006-05-30 Wim Taymans <wim@fluendo.com>
7212 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7213 When rebuilding the pad list, don't leak the previous list.
7215 2006-05-30 Wim Taymans <wim@fluendo.com>
7217 Patch by: Lutz Mueller <lutz at topfrose dot de>
7219 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7220 (gst_base_src_get_query_types), (gst_base_src_update_length):
7221 Publish supported query types.
7222 Update last_stop field in get_range mode so the position
7223 query works. Fixes #342321.
7225 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7227 * docs/gst/gstreamer-sections.txt:
7228 * gst/gsttaglist.c: (_gst_tag_initialize):
7230 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7232 2006-05-30 Wim Taymans <wim@fluendo.com>
7234 Patch by: Alessandro Decina <alessandro at nnva dot org>
7236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7237 Unlock mutex when removing an unknown pad.
7240 * tests/check/Makefile.am:
7241 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7242 (push_event), (setup), (teardown), (GST_START_TEST),
7243 (gst_collect_pads_suite), (main):
7244 Added collecpads check, disabled for now as check crashes for
7247 2006-05-29 Wim Taymans <wim@fluendo.com>
7249 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7250 Don't leak pads lists.
7252 2006-05-29 Wim Taymans <wim@fluendo.com>
7254 * docs/libs/gstreamer-libs-sections.txt:
7255 * libs/gst/base/gstcollectpads.c:
7256 (gst_collect_pads_set_flushing_unlocked),
7257 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7258 (gst_collect_pads_stop):
7259 * libs/gst/base/gstcollectpads.h:
7260 API: gst_collect_pads_set_flushing()
7261 Added api to set the pads to flushing, useful for seeking
7262 code in elements using collectpads.
7263 Clear segment when receiving a flush.
7265 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
7267 * gst/gst.c: (add_path_func), (init_post):
7268 Don't scan registry paths passed via --gst-plugin-path immediately
7269 (will crash, because absolutely nothing is set up and no types are
7270 registered etc.); do this later in init_post(). Fixes #343057.
7272 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
7274 * gst/gst.c: (init_post):
7275 if we have fork, fork while reading/rebuilding the registry
7276 so the parent doesn't take the hit of having all plugins loaded
7277 in memory. Fixes #342777.
7279 Check if we have fork()
7280 * win32/common/config.h.in:
7283 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7285 * plugins/elements/gstelements.c:
7286 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7287 (gst_file_src_init), (gst_file_src_set_property),
7288 (gst_file_src_get_property), (gst_file_src_start):
7289 * plugins/elements/gstfilesrc.h:
7290 API: GstFileSrc::use-mmap
7292 Add a use-mmap property to enable easier testing of all code paths.
7293 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7294 in the absence of gnomevfssrc. (Closes #340501)
7296 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7298 * tools/gst-inspect.c:
7299 Add missing include, removes warning of ngettext not being defined on
7302 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7304 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7305 Handle NULL input and output pointers silently as a failed conversion,
7306 rather than g_warnings.
7308 2006-05-25 Wim Taymans <wim@fluendo.com>
7310 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7311 Initialize variable before using. Fixes #342820.
7313 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
7315 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7316 Fix off-by-one bug that would only allow peeks of N-1 bytes
7317 from the start even if the buffer to typefind on contains
7318 in fact N bytes of data (makes vorbis typefinding from a
7319 vorbis identification header buffer work).
7321 * tests/check/Makefile.am:
7322 * tests/check/libs/.cvsignore:
7323 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7324 (gst_typefindhelper_suite), (main), (foobar_typefind),
7326 Add very basic unit test for gst_type_find_helper_for_buffer()
7327 that checks for the problem fixed above.
7329 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
7331 * tools/gst-inspect.c: (print_interfaces),
7332 (print_element_properties_info), (print_element_list), (main):
7333 add more translatable strings
7335 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
7337 Patch by: Julien Moutte <julien at moutte net>
7339 * docs/gst/gstreamer-sections.txt:
7340 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7342 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7343 (gst_fake_sink_preroll):
7344 * plugins/elements/gstfakesink.h:
7345 API: Add new GstFakeSink::preroll-handoff signal (#337100).
7347 2006-05-23 Wim Taymans <wim@fluendo.com>
7349 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7351 Added _CUSTOM error and success GstFlowReturn that can be
7352 used be elements internally.
7353 Added macro to check for SUCCESS flowreturns.
7354 API: GST_FLOW_CUSTOM_SUCCESS
7355 API: GST_FLOW_CUSTOM_ERROR
7356 API: GST_FLOW_IS_SUCCESS
7358 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7359 Added check for GstFlowReturn sanity.
7361 2006-05-23 Wim Taymans <wim@fluendo.com>
7363 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7365 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7366 (gst_collect_pads_event):
7367 clear/reset segment info in FLUSH_STOP.
7370 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7372 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7373 (gst_collect_pads_check_collected):
7374 Flush queued buffer on _stop(), fixes playing again (#342454)
7376 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7378 * tests/check/gst/gststructure.c: (GST_START_TEST),
7379 (gst_structure_suite):
7380 add a test for a complete structure
7382 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7384 * docs/faq/developing.xml:
7386 * docs/faq/troubleshooting.xml:
7387 * docs/faq/using.xml:
7388 Some minor FAQ updates that won't change the fact that
7389 our FAQ is badly structured, full of information hardly
7390 anyone new to GStreamer needs to know and lacking lots
7391 of information people constantly ask for.
7393 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7395 * gst/gstpad.c: (gst_pad_set_caps):
7396 Short-circuit gst_pad_set_caps if setting the existing
7397 caps pointer again, and avoid printing debug and
7398 reffing/unreffing the caps.
7400 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7401 There's actually no need to set the caps before pushing -
7402 the acceptcaps method will handle it anyway.
7404 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7406 * docs/gst/gstreamer-sections.txt:
7407 * win32/common/libgstreamer.def:
7408 * gst/gstutils.c: (gst_element_seek_simple):
7410 API: add gst_element_seek_simple() (#342238).
7412 2006-05-18 Edward Hervey <edward@fluendo.com>
7414 * gst/gsttypefind.c: (gst_type_find_get_type):
7415 * gst/gsttypefind.h:
7416 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7417 registered for GstTypeFind pointers. This allows wrapping the structure
7418 in bindings (i.e. gst-python).
7420 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7422 * gst/gsttagsetter.c:
7423 Docs additions and fixes (see #339918).
7425 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7427 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7428 The caps intersection algorithm can produce multiple copies of the
7429 caps. Until that is fixed, we need to simplify the result to be
7430 sure whether the allowed caps are fixed or not.
7432 * plugins/elements/gstqueue.c: (gst_queue_init),
7433 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7434 (gst_queue_push_one):
7435 Proxied buffer alloc should not set the caps on the source pad.
7436 When pushing buffers, we always accept the caps change that triggers.
7437 This prevents negotiation errors caused by caps changing mid-stream
7438 and then being refused on our source pad (because upstream is now
7439 refusing those caps).
7441 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7443 * tests/examples/helloworld/helloworld.c: (main):
7444 Must plug audioconvert and audioresample between decoder
7447 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7449 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7450 (load_feature), (load_plugin):
7451 Allow empty strings for some of the plugin fields so we don't
7452 drop valid plugin entries that were written out correctly
7455 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7457 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7458 Use g_remove and g_rename instead of remove and rename that don't
7459 handle utf8 characters. rename was failing for users who had specific
7460 characters in their name then the registry was built at each
7462 * win32/vs6/gst_inspect.dsp:
7463 * win32/vs6/gst_launch.dsp:
7464 * win32/vs6/libgstbase.dsp:
7465 * win32/vs6/libgstcoreelements.dsp:
7466 * win32/vs6/libgstreamer.dsp:
7467 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7468 build of libgstreamer and clean unused libraries in projects link
7471 2006-05-17 Edward Hervey <edward@fluendo.com>
7473 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7474 The queue is not responsible for pushing an EOS when receiving a fatal
7475 flow error. It's up to the real element driving the pipeline to do that.
7477 2006-05-16 Edward Hervey <edward@fluendo.com>
7479 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7480 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7481 buffer returned a fatal error. It should just send an EOS and stop
7483 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7484 when pushing buffers on the queue and will be able to handle the event.
7486 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7488 * docs/manual/basics-bins.xml:
7489 * docs/manual/basics-init.xml:
7490 Fix typos and minor errors in sample code (#341856).
7492 2006-05-16 Wim Taymans <wim@fluendo.com>
7494 * docs/design/part-qos.txt:
7495 Fix indexes in formulas to make more sense.
7497 2006-05-15 Wim Taymans <wim@fluendo.com>
7499 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7500 Don't report POSITION based on clock time if sync is
7503 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7506 Add cast to make compiler happy - refcount variable was a gint
7507 in GstObject but is a guint in GObject and g_atomic_int_get()
7510 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7512 * gst/parse/Makefile.am:
7513 chain commands using &&, which also makes parallel make work
7515 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7517 * docs/gst/gstreamer-sections.txt:
7523 === release 0.10.6 ===
7525 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7528 releasing 0.10.6, "Take the cannoli"
7530 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7532 * tools/gst-launch.c: (print_tag):
7533 Fix use of uninitialized variable in the hypothetical
7534 case that some broken plugin creates a GST_TAG_IMAGE
7535 tag containing a NULL buffer (#341667).
7537 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7539 * tools/gst-launch.c: (print_tag):
7540 Print something more intelligible for image tags when
7541 using the -t switch (#341556).
7543 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7548 define GST_MAJORMINOR so we have it available in win32/common/config.h
7549 Possibly remove it from our Makefile.am files later
7550 * win32/common/config.h:
7551 * win32/common/config.h.in:
7552 added GST_MAJORMINOR
7553 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7554 * win32/common/gstversion.h:
7557 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7560 Update win32 files listing.
7561 * win32/common/gstversion.h:
7562 Add GST_MAJORMINOR definition.
7563 * win32/common/libgstreamer.def:
7564 Add new exported functions.
7566 2006-05-12 Michael Smith <msmith@fluendo.com>
7568 * gst/gstplugin.c: (gst_plugin_load_file):
7569 If an so file has no plugin entry point, unload the module.
7571 2006-05-11 Wim Taymans <wim@fluendo.com>
7573 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7574 (gst_queue_set_property):
7575 Don't forget to signal the _chain or _loop function
7576 when the queue size or thresholds change since that might
7577 cause them to make progres again.
7579 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7581 * gst/gstclock.c: (gst_clock_class_init):
7582 * gst/gstindex.c: (gst_index_class_init):
7583 * gst/gstobject.c: (gst_object_class_init):
7584 * gst/gstpad.c: (gst_pad_class_init):
7585 * gst/gstpipeline.c: (gst_pipeline_class_init):
7586 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7587 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7588 * libs/gst/base/gstbasetransform.c:
7589 (gst_base_transform_class_init):
7590 * libs/gst/net/gstnetclientclock.c:
7591 (gst_net_client_clock_class_init):
7592 * libs/gst/net/gstnettimeprovider.c:
7593 (gst_net_time_provider_class_init):
7594 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7595 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7596 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7597 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7598 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7599 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7600 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7601 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7602 * plugins/elements/gsttee.c: (gst_tee_class_init):
7603 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7604 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7605 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7607 2006-05-11 Wim Taymans <wim@fluendo.com>
7609 * gst/gstbuffer.c: (_gst_buffer_initialize):
7610 Register subbufer along with the buffer type so that
7611 it does not accidentally gets registered from N
7612 different streaming threads in a non threadsafe way.
7614 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7619 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7620 gst_event_ref() and gst_message_ref() functions again
7621 (ugly hack, please do fix if there's a better way besides
7622 overrides.txt, which doesn't seem to work).
7624 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7626 * libs/gst/check/gstcheck.h:
7627 add an assert for setting state to avoid lots of repetitive code
7630 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7632 * gst/gstvalue.c: (gst_value_serialize_flags):
7633 fix a leak if no flags are set
7634 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7637 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7639 * docs/manual/basics-pads.xml:
7640 Expand a bit on caps and filtered links and update
7641 examples that were still using the no longer existing
7642 gst_pad_link_filtered() (#338206).
7644 2006-05-10 Wim Taymans <wim@fluendo.com>
7646 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7647 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7648 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7649 (gst_collect_pads_stop):
7650 * libs/gst/base/gstcollectpads.h:
7651 No need to call _stop in _finalize.
7652 Iterate the main pad list in _finalize.
7653 Added some more debug.
7654 Free lists and data in the right order.
7655 Also free data whem doing _remove_pad when stopped for
7656 backward compatibility protect ::started with PAD_LOCK as
7659 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7661 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7662 (gst_structure_parse_value):
7664 rename a method so that it actually says what it does better
7666 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7668 * gst/gstevent.c: (_gst_event_initialize):
7669 * gst/gstformat.c: (_gst_format_initialize):
7670 make sure some essential types used by events are registered
7671 as part of gst_init()
7672 * gst/gstvalue.c: (gst_value_serialize_flags):
7673 if no flags are set, serialize them to a value that represents NONE
7674 so that deserializing them works
7675 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7676 add tests for serialization and deserialization of flags
7678 2006-05-10 Wim Taymans <wim@fluendo.com>
7680 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7681 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7682 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7683 (gst_collect_pads_event), (gst_collect_pads_chain):
7686 Catch and return errors from the collect function
7687 Refuse data on eos pads.
7689 2006-05-10 Edward Hervey <edward@fluendo.com>
7691 * gst/gstinterface.h:
7692 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7693 GInterface type checking.
7694 They were previously using non-defined macros.
7696 2006-05-09 Wim Taymans <wim@fluendo.com>
7698 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7699 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7700 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7701 (gst_collect_pads_start), (gst_collect_pads_stop),
7702 (gst_collect_pads_peek), (gst_collect_pads_pop),
7703 (gst_collect_pads_available), (gst_collect_pads_read),
7704 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7705 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7706 (gst_collect_pads_chain):
7707 * libs/gst/base/gstcollectpads.h:
7708 Clean up the mess that is collectpads, add comments and
7709 FIXMEs where needed.
7710 Maintain a separate pad list so we can add pads while
7711 collecting the other ones. For this we need a new separate
7713 Fix memory leak in finalize.
7714 Refactor some weird code to set/unset pad flushing flags, mark
7716 Don't crash in _available, _read, _flush when we're EOS.
7718 * tests/check/libs/.cvsignore:
7719 Ignore adapter check binary.
7721 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7723 * gst/gstindex.c: (gst_index_resolver_get_type):
7724 * plugins/elements/gstfakesink.c:
7725 (gst_fake_sink_state_error_get_type):
7726 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7727 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7728 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7729 Const-ify GEnumValue arrays.
7731 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7733 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7734 Add test case for flags + gst_buffer_make_metadata_writable().
7736 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7738 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7739 gst_buffer_make_metadata_writable() should maintain the
7740 buffer flags (those that make sense at least) (see #340859).
7742 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7744 * tools/gst-inspect.c:
7745 * tools/gst-launch.c:
7746 * tools/gst-typefind.c:
7747 * tools/gst-xmlinspect.c:
7749 Fix up includes: need to include stdlib.h in tools.h for exit().
7751 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7753 * gst/gsttaglist.c: (_gst_tag_initialize):
7755 API: add GST_TAG_IMAGE tag (#340721).
7757 2006-05-08 Wim Taymans <wim@fluendo.com>
7760 Added some docs for the segment query.
7762 2006-05-08 Wim Taymans <wim@fluendo.com>
7764 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7765 (gst_base_src_loop), (gst_base_src_change_state):
7766 Always push non-flushing serialized events in the streaming
7769 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7771 * gst/gsterror.c: (_gst_stream_errors_init):
7772 Add a missing error string.
7774 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7776 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7777 Add applied_rate to the debug
7779 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7780 Copy applied_rate into the outgoing NEWSEGMENT event
7782 2006-05-08 Wim Taymans <wim@fluendo.com>
7784 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7786 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7787 (gst_base_sink_change_state):
7788 call ::unlock before taking the PREROLL_LOCK so we can safely
7789 handle elements that lock in ::render.
7792 2006-05-08 Edward Hervey <edward@fluendo.com>
7794 * autogen.sh: (CONFIGURE_DEF_OPT):
7795 Darwin's libtoolize is in fact called glibtoolize.
7796 Adding glibtoolize to the list of accepted names for libtoolize.
7798 2006-05-08 Wim Taymans <wim@fluendo.com>
7800 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7801 Unify error handling, don't post an error message
7802 when a push() returns EOS but perform our normal EOS
7803 handling code. Fixes #340772.
7805 2006-05-08 Wim Taymans <wim@fluendo.com>
7807 * docs/design/part-overview.txt:
7808 Make upsteam/downstream concepts more clear.
7809 Give an example of serialized/non-serialized events.
7811 * docs/design/part-events.txt:
7812 * docs/design/part-streams.txt:
7813 Mention applied_rate.
7815 * docs/design/part-trickmodes.txt:
7816 Mention applied rate, flesh out some more use cases.
7818 * gst/gstevent.c: (gst_event_new_new_segment),
7819 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7820 (gst_event_parse_new_segment_full), (gst_event_new_tag),
7821 (gst_event_parse_tag), (gst_event_new_buffer_size),
7822 (gst_event_parse_buffer_size), (gst_event_new_qos),
7823 (gst_event_parse_qos), (gst_event_parse_seek),
7824 (gst_event_new_navigation):
7826 Add applied_rate field to NEWSEGMENT event.
7827 API: gst_event_new_new_segment_full()
7828 API: gst_event_parse_new_segment_full()
7830 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7831 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7832 (gst_segment_to_stream_time), (gst_segment_to_running_time):
7834 Add applied_rate to GstSegment structure.
7835 Make calculation of stream_time and running_time more correct
7836 wrt rate/applied_rate.
7838 API: GstSegment::applied_rate field
7839 API: gst_segment_set_newsegment_full();
7841 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7842 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7843 * libs/gst/base/gstbasetransform.c:
7844 (gst_base_transform_sink_eventfunc),
7845 (gst_base_transform_handle_buffer):
7846 Parse and use applied_rate in the GstSegment field.
7848 * tests/check/gst/gstevent.c: (GST_START_TEST):
7849 Add check for applied_rate field.
7851 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7852 (gstsegments_suite):
7853 Add more checks for various GstSegment operations.
7855 2006-05-08 Wim Taymans <wim@fluendo.com>
7857 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7858 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7859 (gst_base_sink_get_position), (gst_base_sink_change_state):
7860 Store the sync time of the buffer end position separatly in a
7861 new variable eos_rtime so we can properly sync the EOS event.
7863 Fix the docs for gst_base_sink_set_qos_enabled().
7864 Don't set segment start to invalid value when we receive a
7865 non TIME newsegment.
7866 get closer to handling position reporting for negative rates
7869 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7872 Docs about how to print caps for debug purposes.
7874 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
7875 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
7877 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7880 use full enum names and preprend a '%' in docs strings to make recent
7881 gtk-doc turn that into a link
7883 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7885 * docs/manual/basics-bins.xml:
7886 * docs/manual/basics-bus.xml:
7887 * docs/manual/basics-pads.xml:
7888 Some typo fixes, some additions, some clarifications.
7890 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7892 * tools/gst-inspect.c: (main):
7893 * tools/gst-launch.c: (main):
7894 * tools/gst-run.c: (main):
7895 * tools/gst-typefind.c: (main):
7896 * tools/gst-xmlinspect.c: (main):
7897 Use the string passed to g_option_context_new() for
7898 what it's intended for - the program name is already
7901 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7903 * tools/Makefile.am:
7904 * tools/gst-inspect.c: (main):
7905 * tools/gst-launch.c: (main):
7906 * tools/gst-xmlinspect.c: (main):
7908 Add back --version command line option (#340460).
7910 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
7911 Add --version option and use GOption for argument parsing; refactor a
7912 bit; accept directories as arguments and recurse into them; lastly,
7913 print a decent error message when things go wrong.
7915 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7917 * docs/manual/basics-bins.xml:
7918 Don't mention GstThread (#340611)
7919 * docs/manual/basics-elements.xml:
7920 Update link to GObject tutorial (#340607)
7922 2006-05-05 Wim Taymans <wim@fluendo.com>
7925 * gst/gstminiobject.c:
7926 Add note about refcounting and miniobject/buffer writeability
7927 to docs. Fixes #340604
7929 * gst/gstelementfactory.h:
7930 Added some explanation about @klass.
7932 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7934 * docs/manual/intro-motivation.xml:
7935 * docs/manual/manual.xml:
7936 Avoid CORBA & Bonobo references (#340598)
7938 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7940 * docs/manual/basics-bus.xml:
7941 * docs/manual/basics-pads.xml:
7942 Fix up some inaccuracies and omissions (#340609)
7944 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7946 * gst/gstghostpad.c:
7947 Small typo in docs (#340625)
7949 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7951 * gst/parse/Makefile.am:
7952 Make 'make -j' proof (see #340698).
7954 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7957 Require GLib-2.8 here as well.
7959 2006-05-05 Wim Taymans <wim@fluendo.com>
7961 * gst/glib-compat.c:
7962 * gst/gst.c: (init_pre):
7963 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7964 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
7965 (gst_object_dispatch_properties_changed):
7967 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7968 * gst/gststructure.c: (gst_structure_set_valist):
7969 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7970 Remove pre glib2.8 compatibility, fixes #340508
7972 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
7975 Mention type of tags in doc blurbs.
7977 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
7979 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7980 (gst_pad_configure_src), (gst_pad_push):
7981 Restore acceptcaps checking behaviour now that good plugins have
7984 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
7986 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
7997 * gst/parse/Makefile.am:
7998 * libs/gst/base/gstadapter.c:
7999 * libs/gst/base/gstbasesrc.c:
8000 * libs/gst/base/gstpushsrc.c:
8001 * libs/gst/base/gsttypefindhelper.c:
8002 * plugins/elements/gstfakesrc.c:
8003 * plugins/elements/gstidentity.c:
8004 Make sure gstprivate.h and/or config.h are
8005 always included first, otherwise some of our
8006 defines (like _FILE_OFFSET_BITS) might be
8007 redefined in the system headers. Fixes build
8008 on opensolaris (#340016).
8010 2006-05-04 Wim Taymans <wim@fluendo.com>
8012 * docs/libs/gstreamer-libs-sections.txt:
8013 API: addition: gst_adapter_take_buffer()
8015 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8016 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8017 (gst_adapter_available_fast):
8018 * libs/gst/base/gstadapter.h:
8019 Prepare for optimizing the hell out of this hugely inefficient
8021 Added gst_adapter_take_buffer() so we can at least start thinking
8022 about subbuffering and merging.
8023 Added some comments.
8025 * tests/check/Makefile.am:
8026 * tests/check/libs/adapter.c: (GST_START_TEST),
8027 (gst_adapter_suite), (main):
8028 Added GstAdapter check.
8030 2006-05-04 Wim Taymans <wim@fluendo.com>
8032 * docs/design/part-overview.txt:
8033 Fix some typos, add blurb about buffer flags.
8035 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8037 * docs/libs/gstreamer-libs-sections.txt:
8038 make sure GstBaseTransformClass shows up in the docs
8039 * libs/gst/base/gstbasetransform.c:
8040 * libs/gst/base/gstbasetransform.h:
8041 move docs so gtk-doc picks it up now
8043 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8045 * docs/libs/gstreamer-libs-sections.txt:
8046 add missing symbols to docs
8048 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8050 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8051 back out the newsegment handling change, see #340060 for ongoing
8054 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8056 * tools/gst-run.c: (get_candidates), (main):
8057 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8058 work); fix typo in error message. Fixes #340079.
8060 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8062 * common/Makefile.am:
8064 * docs/faq/Makefile.am:
8065 * docs/gst/Makefile.am:
8066 * docs/libs/Makefile.am:
8067 * docs/manual/Makefile.am:
8068 * docs/plugins/Makefile.am:
8069 * docs/pwg/Makefile.am:
8070 * docs/slides/Makefile.am:
8072 * common/upload.mak:
8073 move upload.mak to common
8075 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8077 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8078 add more asserts on refcounts
8079 do more cleanup at end of tests
8080 fix test leaks showing in FC5
8082 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8084 * plugins/elements/gsttypefindelement.c:
8085 (gst_type_find_element_handle_event):
8086 reverted wrong change and reflowed code to avoid others falling into
8089 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8091 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8092 fix changelog entry about last collectpads change,
8093 add notes about proper fix
8095 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8098 * gst/gstregistry.c: (gst_registry_scan_path_level),
8099 (gst_registry_scan_path):
8100 * gst/gstregistry.h:
8101 only write out registry if it has changed, fixes #338339
8103 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8106 * gst/gstpipeline.c:
8107 * plugins/elements/gstcapsfilter.c:
8108 * plugins/elements/gstfakesink.c:
8109 * plugins/elements/gstfakesrc.c:
8110 * plugins/elements/gstfdsink.c:
8111 * plugins/elements/gstfdsrc.c:
8112 * plugins/elements/gstfilesink.c:
8113 * plugins/elements/gstfilesrc.c:
8114 * plugins/elements/gstidentity.c:
8115 * plugins/elements/gstqueue.c:
8116 * plugins/elements/gsttee.c:
8117 * plugins/elements/gsttypefindelement.c:
8118 (gst_type_find_element_handle_event):
8119 make GstElementDetails const
8121 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8123 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8124 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8125 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8126 more detailed debug and formatting cleanup,
8127 forward newsegments to src-pad (so that e.g. adder not eats them)
8129 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8131 * gst/gstutils.c: (gst_element_link_pads):
8134 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8136 * libs/gst/controller/gstcontroller.c:
8137 (gst_controller_sync_values):
8139 * tests/check/libs/controller.c: (GST_START_TEST),
8140 (gst_controller_suite):
8141 a new test for live value handling
8143 2006-04-28 Wim Taymans <wim@fluendo.com>
8145 * gst/gstutils.c: (push_and_ref):
8146 Added some more docs.
8147 Fix refcount issue whith gst_element_found_tags() helper
8148 function. Fixes #338335
8150 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8151 Added testsuite for gst_element_found_tags().
8153 2006-04-28 Michael Smith <msmith@fluendo.com>
8155 * gst/gstvalue.c: (gst_value_serialize_flags):
8156 Avoid NULL dereference when trying to serialize flags containing
8159 2006-04-28 Michael Smith <msmith@fluendo.com>
8161 * plugins/elements/gsttypefindelement.c:
8162 (gst_type_find_element_handle_event):
8163 If we get EOS before any data is accumulated, don't use
8164 uninitialised local variables.
8166 2006-04-28 Michael Smith <msmith@fluendo.com>
8168 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8169 (gst_dp_event_from_packet):
8170 Fixes in reading/writing events over GDP (not currently used?) -
8171 dereferencing NULL events for unknown/invalid event types, memory
8172 leak, and change g_warning to GST_WARNING.
8174 2006-04-28 Wim Taymans <wim@fluendo.com>
8176 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8177 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8178 (gst_base_sink_get_position), (gst_base_sink_change_state):
8179 When frame dropping is enabled, we should not ignore frames
8181 Update some documentation.
8183 2006-04-28 Wim Taymans <wim@fluendo.com>
8185 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8186 (gst_base_src_send_event), (gst_base_src_change_state):
8187 Documentation updates.
8189 2006-04-28 Wim Taymans <wim@fluendo.com>
8191 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8192 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8193 handle EAGAIN, EINTR and short writes correctly. Also clean
8194 up some error cases, avoid a deadlock on bad file descriptors and
8195 use GST_DEBUG_OBJECT.
8198 2006-04-28 Wim Taymans <wim@fluendo.com>
8200 * gst/gstvalue.c: (gst_value_serialize_buffer),
8201 (gst_value_deserialize_buffer):
8202 Don't try to serialize a GValue with a NULL buffer.
8205 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8206 Added check for serialisation of NULL buffers.
8208 2006-04-28 Wim Taymans <wim@fluendo.com>
8210 * gst/gstminiobject.c: (gst_value_take_mini_object):
8211 Taking a NULL miniobject is valid, fix the case where
8212 we try to unref the NULL miniobject.
8214 2006-04-28 Wim Taymans <wim@fluendo.com>
8216 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8218 * gst/gstbin.c: (gst_bin_handle_message_func):
8220 Don't leak bin refcount when a state recalc is
8221 in progress and we delay another one #339808.
8223 2006-04-28 Wim Taymans <wim@fluendo.com>
8225 * docs/design/part-TODO.txt:
8226 Mention QoS as an ongoing work item.
8228 * docs/design/part-buffering.txt:
8229 New doc about buffering that needs to be fleshed out
8232 * docs/design/part-qos.txt:
8233 More QoS policy for decoders/demuxers/transforms
8235 * docs/design/part-trickmodes.txt:
8238 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8243 === release 0.10.5 ===
8245 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8248 releasing 0.10.5, "Fogo"
8250 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
8252 patch by: Wim Taymans
8254 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8255 (gst_pad_configure_src), (gst_pad_push):
8256 * gst/gstpipeline.c: (gst_pipeline_init):
8257 Fix internal data flow errors. Fixes #338711.
8259 2006-04-12 Wim Taymans <wim@fluendo.com>
8261 * tests/check/gst/gstelement.c: (GST_START_TEST):
8262 Don't leak the factory.
8264 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8267 * win32/common/config.h:
8270 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
8272 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8273 (gst_controller_unset_all):
8274 Free allocated GstTimedValues when freeing list nodes.
8275 Should fix leaks 'make check-valgrind' complains about.
8277 * win32/common/libgstcontroller.def:
8278 Add gst_controller_unset_all.
8280 2006-04-11 Stefan Kost <ensonic@users.sf.net>
8282 * docs/libs/gstreamer-libs-sections.txt:
8283 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8284 (gst_controller_unset_all):
8285 * libs/gst/controller/gstcontroller.h:
8286 API: Added new method gst_controller_unset_all()
8287 fixed gst_controller_unset()
8288 * tests/check/libs/controller.c: (GST_START_TEST),
8289 (gst_controller_suite):
8290 Added two testcases for new and fixed method
8292 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
8294 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8295 MSG_DONTWAIT is not defined on Cygwin, so work
8296 around that (fixes #317048).
8298 2006-04-11 Wim Taymans <wim@fluendo.com>
8300 * gst/gstelementfactory.c: (gst_element_register),
8301 (gst_element_factory_create), (gst_element_factory_make):
8304 Updated docs (Fixes #131079)
8306 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8309 * tests/check/gst/gstelement.c: (GST_START_TEST),
8310 (gst_element_suite):
8311 Added testcase for elementfactory class field.
8313 2006-04-10 Wim Taymans <wim@fluendo.com>
8316 Added some more docs.
8318 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8319 (gst_base_sink_reset_qos):
8320 Calculate more accurate rate values.
8322 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
8324 * gst/gst_private.h:
8325 add a new #ifdef to use __declspec(dllimport) only for
8326 other modules and not for gstreamer core
8327 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8328 use gst_guint64_to_gdouble for conversion
8329 * win32/common/libgstreamer.def:
8330 add new exported functions
8331 * win32/vs6/gst_inspect.dsp:
8332 * win32/vs6/gst_launch.dsp:
8333 * win32/vs6/libgstbase.dsp:
8334 * win32/vs6/libgstcontroller.dsp:
8335 * win32/vs6/libgstcoreelements.dsp:
8336 * win32/vs6/libgstdataprotocol.dsp:
8337 * win32/vs6/libgstnet.dsp:
8338 update project files
8340 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8342 * gst/gstbuffer.c: (gst_subbuffer_class_init):
8343 * gst/gstclock.c: (gst_clock_class_init):
8344 * gst/gstelement.c: (gst_element_class_init):
8345 * gst/gstindex.c: (gst_index_class_init):
8346 * gst/gstindexfactory.c: (gst_index_factory_class_init):
8347 * gst/gstobject.c: (gst_object_class_init),
8348 (gst_signal_object_class_init):
8349 * gst/gstpad.c: (gst_pad_class_init):
8350 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8351 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8352 * gst/gstregistry.c: (gst_registry_class_init):
8353 * gst/gstsystemclock.c: (gst_system_clock_class_init):
8354 * gst/gsttask.c: (gst_task_class_init):
8355 * gst/gstxml.c: (gst_xml_class_init):
8356 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8357 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8358 (gst_base_src_loop):
8359 * libs/gst/controller/gstcontroller.c:/
8360 (_gst_controller_class_init):
8361 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8362 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8363 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8364 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8365 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8366 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8368 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8370 * gst/gstpad.c: (gst_pad_link):
8371 Must set peer pads before calling the link function, otherwise
8372 a task started from a link function might get a flow-not-linked
8373 result when trying to push because the other thread where the
8374 linking happens hasn't had a chance to set the peers yet. This
8375 might happen for example when a queue gets linked to a downstream
8376 element, as queue starts a streaming task when its source pad
8377 gets linked. Happens in real life when playing back flac/musepack
8378 files in playbin (#332390).
8380 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8384 * libs/gst/base/gstadapter.h:
8385 * libs/gst/base/gstbasesink.h:
8386 * libs/gst/base/gstbasesrc.h:
8387 * libs/gst/base/gstbasetransform.h:
8388 * libs/gst/base/gstcollectpads.h:
8389 * libs/gst/base/gstpushsrc.h:
8390 Fix broken GObject macros
8392 2006-04-07 Wim Taymans <wim@fluendo.com>
8394 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8395 Initialize start and stop times, thanks valgrind.
8397 2006-04-07 Wim Taymans <wim@fluendo.com>
8399 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8400 Be a bit nicer to badly behaving upstream elements that expect
8401 us to deal with non TIME segments and timestamps (such as fakesrc
8404 2006-04-07 Wim Taymans <wim@fluendo.com>
8407 Small documentation clarification about the signal watch.
8409 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8410 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8411 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8412 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8413 (gst_base_sink_get_position_last),
8414 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8415 Convert and store timestamps in stream time and running time, the
8416 raw timestamps are not useful, also document this better.
8417 Use different window sizes for good and bad QoS observations so
8418 we react to badness a little quicker.
8419 Keep track of the amount of rendered and dropped buffers.
8420 Send QoS timestamps in running time.
8422 * libs/gst/base/gstbasetransform.c:
8423 (gst_base_transform_sink_eventfunc),
8424 (gst_base_transform_handle_buffer):
8425 Compare QoS timestamps against running time.
8427 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8432 2006-04-06 Michael Smith <msmith@fluendo.com>
8434 * gst/gstpad.c: (gst_pad_set_property):
8435 Use g_value_get_object() instead of g_value_dup_gst_object(),
8436 to avoid double-reffing the pad template (which we then sink,
8437 so this worked previously if (and only if) the pad template
8440 * gst/gstpadtemplate.c: (gst_pad_template_init),
8441 (gst_pad_template_pad_created):
8442 Never return floating references to pad templates, create
8443 them as initially-sunken.
8445 Document an extra function (and make this stop sinking our
8446 pad template, since that is now guaranteed to do nothing,
8447 since we created it sunken).
8449 * gst/gstghostpad.c:
8452 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8454 * gst/gstinfo.c: (__gst_in_valgrind):
8457 * plugins/elements/gsttypefindelement.c:
8458 (gst_type_find_element_chain):
8459 Don't leak buffer caps.
8461 2006-04-06 Michael Smith <msmith@fluendo.com>
8463 * gst/parse/grammar.y:
8464 Fix a leak in parse-launch for any source-or-sink named element
8467 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8468 Unref the pipeline if it exists after we've failed parsing.
8470 2006-04-05 Michael Smith <msmith@fluendo.com>
8472 * gst/gstpipeline.c: (gst_pipeline_init):
8473 When we create a pipeline bus, initially create it in flushing mode.
8474 Fixes leaks in at least one test, and makes a new pipeline work the
8475 same as one that has gone to READY and then back to NULL.
8480 2006-04-05 Michael Smith <msmith@fluendo.com>
8482 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8483 Unref a pad we reffed.
8484 * tests/check/gst/gstutils.c: (GST_START_TEST):
8487 2006-04-05 Michael Smith <msmith@fluendo.com>
8489 * gst/gstquery.c: (gst_query_set_formats),
8490 (gst_query_set_formatsv):
8491 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8493 2006-04-05 Michael Smith <msmith@fluendo.com>
8495 * tests/check/generic/sinks.c: (GST_START_TEST):
8496 Fix a variety of memleaks in sinks check, which are only sometimes
8497 shown by running the tests under valgrind (weird?).
8499 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8501 * docs/version.entities.in:
8502 Fix the substituted entity name after thomas' changes on the
8505 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8507 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8510 2006-04-05 Andy Wingo <wingo@pobox.com>
8512 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8514 * libs/gst/base/gstbasetransform.c
8515 (gst_base_transform_sink_eventfunc): When resetting our segment on
8516 FLUSH_STOP, also update the flag saying we haven't seen a
8519 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8521 Patch by: Paolo Borelli <pborelli at katamail dot com>
8523 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8524 (gst_plugin_check_license):
8525 minor clean-ups: G_DEFINE_TYPE already takes care of the
8526 parent_class stuff, no need to do it twice. Mark array of
8527 license strings as constant. (#337103)
8529 2006-04-04 Michael Smith <msmith@fluendo.com>
8531 * tools/gst-inspect.c: (print_element_list):
8532 Free the right plugin list; fixes a memory leak.
8534 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8536 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8538 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8539 Don't error out on empty buffers (#336945).
8541 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8543 * docs/libs/gstreamer-libs-sections.txt:
8545 * libs/gst/base/gstbasesink.c:
8546 * libs/gst/base/gstbasesink.h:
8547 * libs/gst/base/gstbasesrc.c:
8548 * libs/gst/base/gstbasesrc.h:
8549 Documentation updates. Make BaseSink and BaseSrc docs contain the
8550 class structure so that people can actually see the prototypes for
8551 virtual functions they're supposed to be overriding.
8553 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8555 * plugins/elements/gsttypefindelement.c:
8556 (gst_type_find_element_chain):
8557 More debug info; when skipping typefinding, send cached
8558 events in all cases.
8560 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8563 use new AS_VERSION and AS_NANO macros
8564 * gst/gst-i18n-lib.h:
8567 * gst/gstversion.h.in:
8568 * win32/common/config.h:
8569 * win32/common/config.h.in:
8572 2006-03-31 Michael Smith <msmith@fluendo.com>
8574 * plugins/elements/gsttypefindelement.c:
8575 (gst_type_find_element_chain):
8576 Do not typefind content if the buffers already have caps.
8577 Neccesary for icydemux (#333657), and the right thing to do anyway.
8579 2006-03-30 Wim Taymans <wim@fluendo.com>
8581 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8582 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8583 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8584 (gst_base_sink_record_qos_observation),
8585 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8586 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8587 (gst_base_sink_change_state):
8588 More QoS measurements as described in the design doc.
8589 Get rid of ringbuffer with observations, running average is
8590 more simple and equally good.
8591 Calculates valid proportion now.
8592 Added beginning of flood measurement.
8594 2006-03-29 Wim Taymans <wim@fluendo.com>
8596 * docs/design/part-qos.txt:
8598 Small documentation updates and additions.
8600 2006-03-29 Wim Taymans <wim@fluendo.com>
8602 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8603 (gst_base_src_send_event), (gst_base_src_loop),
8604 (gst_base_src_change_state):
8605 Perform the EOS logic when we reach the segment stop position.
8606 Fix compilation on gcc4.1
8608 2006-03-29 Wim Taymans <wim@fluendo.com>
8610 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8612 * plugins/elements/gstqueue.c: (gst_queue_init),
8613 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8614 (gst_queue_set_property):
8615 * plugins/elements/gstqueue.h:
8616 In queue, when EOS is received, if minimum threshold > max_size -
8617 current_level, there is chance that queue blocks forever in conditional
8618 item del wait. This is because the queue is not emptied completely due
8619 to minimum threshold. Here is another approach. Instead of setting
8620 cur_levels to max in EOS, just zero all minimum threshold levels. This
8621 should make sure that queue gives out all data. When going to READY
8622 (stop) state, just reset the original minimum threshold levels.
8625 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8627 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8628 (gst_type_find_element_handle_event),
8629 (gst_type_find_element_send_cached_events),
8630 (gst_type_find_element_change_state):
8631 * plugins/elements/gsttypefindelement.h:
8632 When typefinding is done in push mode, we should cache
8633 events we receive during typefinding instead of just
8634 dropping them (e.g. newsegment, custom events from
8635 dvdreadsrc etc.) and then send them out once we've
8636 determined the type of the stream (and decodebin
8637 has had a chance to plug in a decoder/demuxer).
8639 2006-03-27 Wim Taymans <wim@fluendo.com>
8641 * docs/design/part-qos.txt:
8644 2006-03-27 Wim Taymans <wim@fluendo.com>
8646 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8648 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8649 (gst_base_src_send_event), (gst_base_src_change_state):
8650 Handle element seek correctly when we are streaming.
8653 2006-03-24 Michael Smith <msmith@fluendo.com>
8655 * docs/faq/gst-uninstalled:
8656 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8657 allow you to correctly run intalled applications built against old
8658 core, using plugins that require updated core (e.g. running
8659 installed totem against a full uninstalled gstreamer stack)
8661 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8663 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8666 2006-03-24 Wim Taymans <wim@fluendo.com>
8668 * docs/gst/gstreamer-sections.txt:
8669 Rearrange the order of the methods so that related methods
8670 are grouped together in sections.
8672 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8675 Little clarification in the docs
8677 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8681 * plugins/elements/gstidentity.c:
8682 * plugins/elements/gstqueue.c:
8683 * plugins/elements/gsttee.c:
8684 * plugins/elements/gsttypefindelement.c:
8685 GST_ELEMENT_DETAILS formatting
8687 2006-03-24 Wim Taymans <wim@fluendo.com>
8689 * libs/gst/base/gstbasesink.h:
8690 Only add fields, not insert or we break ABI.
8692 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8694 * win32/common/libgstbase.def:
8695 * win32/common/libgstreamer.def:
8696 Update, add recently added functions.
8698 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8700 * docs/gst/gstreamer-sections.txt:
8701 * gst/gstutils.c: (gst_pad_query_peer_position),
8702 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8704 API: add some new utility functions:
8705 - gst_pad_query_peer_position()
8706 - gst_pad_query_peer_duration()
8707 - gst_pad_query_peer_convert()
8709 2006-03-23 Wim Taymans <wim@fluendo.com>
8711 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8712 (gst_base_sink_init), (gst_base_sink_finalize),
8713 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8714 (gst_base_sink_set_property), (gst_base_sink_get_property),
8715 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8716 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8717 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8718 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8719 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8720 (gst_base_sink_preroll_object), (gst_base_sink_event),
8721 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8722 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8723 (gst_base_sink_query), (gst_base_sink_change_state):
8724 Decouple max-lateness and the fact that QoS messages are generated
8725 with a new property (qos).
8726 added API: GstBaseSink::async_play()
8727 Add vmethod so subclasses can be notified of ASYNC playing
8729 Collect timestamp start and stop to report better current
8730 position in EOS/PLAYING/PAUSED/READY/NULL.
8731 Refactor QoS/frame dropping and other measurements.
8732 API: GstBaseSrc::qos
8735 * libs/gst/base/gstbasesink.h:
8736 Added Private struct.
8737 API: gst_base_sink_set_qos_enabled()
8738 API: gst_base_sink_is_qos_enabled()
8740 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8742 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8743 If compiling against GLib-2.8 or newer, try to read the
8744 registry file using GMappedFile first before falling back
8745 to fopen() + fread() (#332151).
8747 2006-03-22 Wim Taymans <wim@fluendo.com>
8749 * gst/gstinfo.c: (gst_debug_set_active),
8750 (gst_debug_category_set_threshold):
8751 Disable debugging unless explicitly activated.
8754 2006-03-22 Wim Taymans <wim@fluendo.com>
8756 * gst/gstelement.c: (gst_element_set_locked_state),
8757 (gst_element_dispose):
8758 Cleanup the error case.
8760 * gst/gstobject.c: (gst_object_dispose):
8761 print a critical when some object was disposed with
8762 a parent, also revive the object since it might
8765 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8767 * tools/gst-launch.1.in:
8770 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8773 * tests/check/Makefile.am:
8774 disable some tests when we don't have a registry
8775 * tests/check/gst/gstutils.c: (gst_utils_suite):
8776 don't build the part that needs parsing
8778 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8781 * tests/examples/Makefile.am:
8782 fix --disable-parse build
8784 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8786 * tools/gst-feedback.1.in:
8787 Fix typo: s/feeback/feedback/ (#133494).
8789 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8791 * tools/Makefile.am:
8792 * tools/gst-launch.1.in:
8793 Add FILES section and correct entry about GST_REGISTRY_PATH
8794 environment variable (#133495; #133494).
8796 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8798 * tools/Makefile.am:
8799 * tools/gst-md5sum.1.in:
8800 * tools/gst-md5sum.c:
8801 Remove gst-md5sum and man page (the md5sink element
8802 required was removed ages ago)
8804 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8806 * gst/gststructure.c: (gst_structure_id_set_value):
8807 Make sure that string fields in structures/taglists
8808 contain valid UTF-8 - we don't want to pass rubbish to
8809 applications because of a buggy plugin (cp. #334167).
8811 2006-03-21 Edward Hervey <edward@fluendo.com>
8813 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8814 (gst_bin_handle_message_func):
8815 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8816 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8817 (gst_element_set_bus_func):
8818 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8819 * gst/gstminiobject.c: (gst_value_set_mini_object),
8820 (gst_value_take_mini_object):
8821 * gst/gstpad.c: (gst_pad_set_pad_template):
8822 * gst/gstpipeline.c: (gst_pipeline_dispose),
8823 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8824 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8825 (gst_collect_pads_chain):
8826 * libs/gst/net/gstnettimeprovider.c:
8827 (gst_net_time_provider_set_property):
8828 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8829 It's in fact all issues with gst_*object_replace().
8831 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8833 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
8835 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8836 * pkgconfig/gstreamer-check.pc.in:
8837 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8839 2006-03-21 Edward Hervey <edward@fluendo.com>
8844 gst_[buffer|event|message]_ref() macros are replaced by a static
8845 inline functions because gcc-4.1 will about if the return value
8847 * tests/check/gst/gstevent.c: (event_probe):
8848 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8850 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
8853 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8854 the type' case. (Closes: #335195 for now). In the future, when we
8855 depend on GLib 2.10, we could also intern the type name using
8856 g_intern_static_string()
8858 2006-03-20 Wim Taymans <wim@fluendo.com>
8860 * gst/gstbin.c: (gst_bin_handle_message_func),
8861 (bin_query_max_init), (bin_query_position_fold),
8862 (bin_query_position_done), (gst_bin_query):
8863 Position query should also take max of all streams.
8865 2006-03-20 Wim Taymans <wim@fluendo.com>
8867 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8868 (gst_fake_src_finalize):
8869 Fix leaks in fakesrc.
8871 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8872 Fix leaks in the testcase.
8874 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
8876 * gst/gst_private.h:
8877 add win32 specific import decoration(__declspec(dllimport))
8878 for all extern GstDebugCategory * variables
8879 * win32/common/libgstbase.def:
8880 * win32/common/libgstcontroller.def:
8881 * win32/common/libgstreamer.def:
8882 Add some exports, remove empty lines
8883 * win32/common/libgstdataprotocol.def:
8884 * win32/common/libgstdataprotocol.dsp:
8885 * win32/common/libgstnet.def:
8886 * win32/common/libgstnet.dsp:
8887 new project files and exportation files added
8889 2006-03-19 Wim Taymans <wim@fluendo.com>
8891 * tests/check/libs/basesrc.c: (eos_event_counter):
8892 Use proper return value for probe.
8894 2006-03-17 Wim Taymans <wim@fluendo.com>
8896 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8898 Don't leak buffers, caps and pads on negotiation errors.
8900 2006-03-16 Stefan Kost <ensonic@users.sf.net>
8903 * docs/faq/dependencies.xml:
8904 * docs/faq/developing.xml:
8906 * docs/faq/general.xml:
8907 * docs/faq/getting.xml:
8908 * docs/faq/legal.xml:
8909 * docs/faq/troubleshooting.xml:
8910 * docs/faq/using.xml:
8911 Faq review and update.
8913 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
8915 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8917 Don't pound the cpu to pieces by checking get_caps when accept_caps
8918 is called with the same caps as the pad already has.
8919 Use GST_DEBUG_OBJECT when outputting caps change information.
8921 2006-03-15 Wim Taymans <wim@fluendo.com>
8923 * gst/gstclock.c: (gst_clock_class_init):
8926 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
8931 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
8932 (gst_pad_accept_caps), (gst_pad_configure_sink),
8933 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
8934 Make the default acceptcaps behaviour be to check the requested
8935 caps against the gst_pad_get_caps output.
8937 Ensure that gst_pad_accept_caps is used to check caps when a pad
8938 doesn't have a setcaps function, so that pads automatically refuse
8939 caps that they don't allow in their pad template. (Fixes #332986)
8941 When a buffer with attached caps is pushed, ensure that the source
8942 pad receives those caps even if the element didn't call
8943 gst_pad_set_caps first.
8945 2006-03-15 Wim Taymans <wim@fluendo.com>
8947 * libs/gst/base/gstadapter.c:
8950 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
8952 * win32/common/libgstbase.def:
8953 * win32/common/libgstcontroller.def:
8954 * win32/common/libgstreamer.def:
8955 Add a whole bunch of missing functions (#334434).
8957 2006-03-14 Wim Taymans <wim@fluendo.com>
8959 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8960 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8961 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
8962 Better debug info when we receive a segment event.
8963 Reorganize a bit so we can pass the get_times() results around.
8964 Use the segment format when calculating the running time.
8965 Don't do QoS is sync is disabled or we have no clock or the
8966 element does not want us to sync to the clock.
8967 Don't drop buffers if QoS is disabled for now.
8969 2006-03-14 Wim Taymans <wim@fluendo.com>
8971 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
8972 Marked the stats property as unimplemented so people don't get
8974 Add debug message when regression goes wrong.
8975 Added some more docs.
8977 2006-03-14 Wim Taymans <wim@fluendo.com>
8979 * gst/gstsegment.c: (gst_segment_to_stream_time):
8980 Return correct return type in case of errors.
8982 2006-03-14 Wim Taymans <wim@fluendo.com>
8984 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
8985 Don't segfault on invalid formats.
8987 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
8989 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8990 Can't use gst_segment_to_running_time() when the segment
8991 is not in GST_TIME_FORMAT (like with filesink, for example).
8992 Stops flac encoding pipelines from spewing critical warnings
8995 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
8997 * gst/gstpipeline.c: (gst_pipeline_class_init):
8998 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9000 * plugins/elements/gsttypefindelement.c:
9001 (gst_type_find_element_handle_event):
9002 Don't try to typefind empty streams.
9004 2006-03-14 Wim Taymans <wim@fluendo.com>
9006 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9007 (gst_base_sink_do_qos):
9008 Separate QoS calculation.
9009 Only drop buffers when lateness is bigger than the
9010 duration of the buffer.
9012 2006-03-13 Wim Taymans <wim@fluendo.com>
9014 * gst/gstpipeline.c: (gst_pipeline_set_property),
9015 (gst_pipeline_get_property), (do_pipeline_seek),
9016 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9017 (gst_pipeline_get_delay):
9018 Don't deadlock when reading properties.
9020 2006-03-13 Wim Taymans <wim@fluendo.com>
9022 * libs/gst/base/gstbasetransform.c:
9023 (gst_base_transform_class_init), (gst_base_transform_init),
9024 (gst_base_transform_sink_event),
9025 (gst_base_transform_sink_eventfunc),
9026 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9027 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9028 (gst_base_transform_set_property),
9029 (gst_base_transform_get_property),
9030 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9031 (gst_base_transform_set_qos_enabled),
9032 (gst_base_transform_is_qos_enabled):
9033 * libs/gst/base/gstbasetransform.h:
9034 Make basetransform virtual method for src events too.
9035 Handle QOS in basetransform.
9036 API: gst_base_transform_update_qos()
9037 API: gst_base_transform_set_qos_enabled()
9038 API: gst_base_transform_is_qos_enabled()
9040 2006-03-13 Wim Taymans <wim@fluendo.com>
9042 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9043 (gst_base_sink_do_sync):
9045 Use QOS debug category.
9047 2006-03-13 Wim Taymans <wim@fluendo.com>
9049 * plugins/elements/gstqueue.c:
9050 Very small doc update.
9052 2006-03-13 Wim Taymans <wim@fluendo.com>
9054 * gst/gst_private.h:
9055 * gst/gstinfo.c: (_gst_debug_init):
9056 Added QOS debug category
9058 2006-03-13 Wim Taymans <wim@fluendo.com>
9060 * docs/gst/gstreamer-sections.txt:
9061 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9063 * gst/gstbus.c: (gst_bus_class_init):
9066 * gst/gstelement.c: (gst_element_set_locked_state):
9068 Documentation updates.
9070 * gst/gstpipeline.c: (gst_pipeline_get_type),
9071 (gst_pipeline_class_init), (gst_pipeline_init),
9072 (gst_pipeline_dispose), (gst_pipeline_set_property),
9073 (gst_pipeline_get_property), (do_pipeline_seek),
9074 (gst_pipeline_send_event), (gst_pipeline_change_state),
9075 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9076 (gst_pipeline_get_delay):
9077 * gst/gstpipeline.h:
9078 Added methods for setting the delay.
9079 API: gst_pipeline_set_delay()
9080 API: gst_pipeline_get_delay()
9081 Add pipeline debug category
9084 Don't reset stream time when seek failed.
9086 2006-03-13 Wim Taymans <wim@fluendo.com>
9088 * docs/design/draft-klass.txt:
9089 * docs/design/part-clocks.txt:
9090 * docs/design/part-events.txt:
9091 * docs/design/part-gstbin.txt:
9092 * docs/design/part-gstpipeline.txt:
9093 * docs/design/part-messages.txt:
9094 * docs/design/part-negotiation.txt:
9095 * docs/design/part-overview.txt:
9096 * docs/design/part-preroll.txt:
9097 * docs/design/part-seeking.txt:
9098 * docs/design/part-states.txt:
9099 * docs/design/part-streams.txt:
9100 Documentation updates.
9102 2006-03-12 Julien MOUTTE <julien@moutte.net>
9104 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9105 us to leak strings...
9107 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9109 * libs/gst/net/gstnettimeprovider.c:
9111 * win32/common/config.h:
9114 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9116 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9119 Don't check for libgnomeui (leftover from old examples
9120 that aren't built or disted any longer) (#334303).
9122 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9124 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9125 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9126 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9127 there's no space left on the device.
9129 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9132 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9133 to cast the input to GstClockTime before comparing with
9134 another GstClockTime value.
9136 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9141 === release 0.10.4 ===
9143 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9146 releasing 0.10.4, "Light"
9148 2006-03-10 Michael Smith <msmith@fluendo.com>
9150 * libs/gst/dataprotocol/dataprotocol.c:
9151 Fix docs for dataprocotol to not get the return types completely
9152 wrong for a few functions.
9154 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9156 * docs/gst/gstreamer-sections.txt:
9157 * gst/gstpipeline.c: (gst_pipeline_class_init),
9158 (gst_pipeline_init), (gst_pipeline_set_property),
9159 (gst_pipeline_get_property), (gst_pipeline_change_state),
9160 (gst_pipeline_set_auto_flush_bus),
9161 (gst_pipeline_get_auto_flush_bus):
9162 * gst/gstpipeline.h:
9163 Add new API: gst_pipeline_set_auto_flush_bus() and
9164 gst_pipeline_get_auto_flush_bus() to disable automatic
9165 flushing of the pipeline's GstBus when going from READY
9166 to NULL state (#332045).
9168 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9170 * docs/gst/gstreamer-sections.txt:
9171 * gst/gsturi.c: (gst_uri_has_protocol):
9173 Add new API: gst_uri_has_protocol() (#333779).
9175 2006-03-09 Wim Taymans <wim@fluendo.com>
9177 * gst/gstclock.c: (gst_clock_entry_new),
9178 (gst_clock_id_compare_func), (gst_clock_id_wait),
9179 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9180 (gst_clock_init), (gst_clock_get_internal_time),
9181 (gst_clock_set_master), (do_linear_regression),
9182 (gst_clock_add_observation), (gst_clock_set_property):
9186 Fix a possible segfault when the window-size is made smaller.
9187 Calculate jitter before performing the clock wait. Ideally
9188 the clock implementation should calculate jitter but we need
9189 API breakage for that.
9191 * gst/gstsystemclock.c: (gst_system_clock_init):
9194 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9195 Remove leftover else
9197 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9198 (gst_systemclock_suite):
9199 Added check to test GST_CLOCK_DIFF.
9201 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9203 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9204 (gst_type_find_helper_get_range):
9205 If we are provided with the size, we should implement
9206 GstTypeFind::get_length, so that typefind functions who
9207 want to can actually peek at the middle of a file.
9209 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9211 * docs/manual/advanced-dataaccess.xml:
9212 Add some very very basic error checking.
9214 * docs/pwg/appendix-checklist.xml:
9215 Some updates to the list of things to check when writing an element.
9217 2006-03-08 Wim Taymans <wim@fluendo.com>
9219 * docs/design/part-element-transform.txt:
9220 Added some docs about the design of tranform elements.
9222 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9223 (gst_base_src_loop), (gst_base_src_change_state):
9224 Mark buffers with the DISCONT flag.
9226 2006-03-08 Michael Smith <msmith@fluendo.com>
9228 * gst/gstregistry.h:
9229 * gst/gstregistryxml.c: (gst_registry_save),
9230 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9231 (gst_registry_xml_save_pad_template),
9232 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9233 (gst_registry_xml_write_cache):
9234 Rewrite registry-saving to avoid race conditions and check for
9237 2006-03-08 Wim Taymans <wim@fluendo.com>
9239 * libs/gst/base/gstbasetransform.c:
9240 (gst_base_transform_transform_caps),
9241 (gst_base_transform_transform_size),
9242 (gst_base_transform_prepare_output_buffer),
9243 (gst_base_transform_get_unit_size),
9244 (gst_base_transform_buffer_alloc),
9245 (gst_base_transform_handle_buffer),
9246 (gst_base_transform_change_state):
9247 Cleanups, separate normal flow from errors, add sensible
9249 Don't try to renegotiate when allocating an output buffer.
9250 Also copy DISCONT buffer flag when copying a buffer.
9251 Reset the transform after we finish streaming, not during.
9253 2006-03-08 Wim Taymans <wim@fluendo.com>
9255 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9256 Use last buffer timestamp in qos message.
9258 2006-03-07 Wim Taymans <wim@fluendo.com>
9260 Patch by: Christophe Fergeau
9262 * docs/pwg/advanced-tagging.xml:
9263 * docs/pwg/building-pads.xml:
9266 2006-03-07 Wim Taymans <wim@fluendo.com>
9268 * docs/libs/gstreamer-libs-sections.txt:
9269 Added basesink new methods.
9273 Docs updates. Flesh out the QoS docs.
9275 * libs/gst/base/gstadapter.c:
9276 Small doc clarification about ownership and flushing.
9278 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9279 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9280 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9281 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9282 * libs/gst/base/gstbasesink.h:
9284 Added new methods to allow subclass to control max-lateness
9286 Generate very basic QoS events based on last sync observation.
9287 Updated docs, fix typo, added some QoS blurb.
9289 * libs/gst/base/gstbasesrc.c:
9290 Remove obsolete _get_state() calls from docs.
9292 2006-03-07 Wim Taymans <wim@fluendo.com>
9294 * docs/libs/gstreamer-libs-sections.txt:
9295 * libs/gst/base/gstbasetransform.h:
9296 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9297 Fix docs for GstBaseSrc.
9299 2006-03-07 Wim Taymans <wim@fluendo.com>
9301 * docs/gst/gstreamer-sections.txt:
9304 * libs/gst/base/gstbasetransform.h:
9305 Small documentation fixes.
9307 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9310 Document thread-unsafety of gst_value_register_foo_func()
9311 when used at the same time as gst_value_foo() (#322628).
9313 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9315 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9316 (gst_push_src_check_get_range):
9317 Push sources don't support pull mode by default.
9319 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9321 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9322 (gst_base_src_init), (gst_base_src_pad_check_get_range),
9323 (gst_base_src_default_check_get_range):
9324 * libs/gst/base/gstbasesrc.h:
9325 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9326 provide default implementation, and rename
9327 gst_base_src_check_get_range() to
9328 gst_base_src_pad_check_get_range() for clarity.
9330 2006-03-06 Wim Taymans <wim@fluendo.com>
9332 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9333 Make property overridable.
9335 2006-03-06 Wim Taymans <wim@fluendo.com>
9337 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9338 (gst_base_sink_init), (gst_base_sink_set_property),
9339 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9340 * libs/gst/base/gstbasesink.h:
9341 API addition: Make max-lateness a property.
9343 2006-03-06 Wim Taymans <wim@fluendo.com>
9345 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9346 (gst_base_sink_do_sync), (gst_base_sink_render_object):
9347 Don't ever draw a frame that is >10ms late.
9349 2006-03-06 Michael Smith <msmith@fluendo.com>
9351 * gst/gstmessage.c: (_gst_message_copy):
9352 When copying a message, set the parent_refcount of the enclosed
9353 structure to point at the copy, not the original message.
9355 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9357 Patch by: Christophe Fergeau
9360 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9361 usable in c++ code (#333417)
9363 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9366 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9368 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9370 * libs/gst/base/gstbasetransform.c:
9371 (gst_base_transform_transform_caps):
9372 Make sure caps are writable before passing them to
9375 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9378 Fix some minor docs errors.
9380 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9382 Patch by: Ross Burton <ross at burtonini dot com>
9384 * gst/gsterror.c: (_gst_resource_errors_init):
9386 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9388 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9391 Add a check and output a g_warning when GStreamer is built
9392 against GLib 2.6 but running against 2.8 or higher, and vice
9393 versa. (Closes: #323542)
9395 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9397 * gst/parse/parse.l:
9398 Commit patch for parse_launch syntax from #331255. Removes
9399 support for quoted strings and mimetypes when writing filtered
9400 caps. See the bug report for more details - I'm pretty sure this
9401 obscure feature is not in use by _anyone_ anywhere.
9403 With this simple change, the size of the gstreamer.so here
9404 drops from 2193KB to 1565KB.
9406 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9408 * plugins/elements/gsttypefindelement.h:
9409 * plugins/elements/gsttypefindelement.c:
9410 (gst_type_find_element_src_event), (start_typefinding),
9411 (stop_typefinding), (gst_type_find_element_handle_event),
9412 (gst_type_find_element_chain),
9413 (gst_type_find_element_chain_do_typefinding):
9414 Use gst_type_find_helper_for_buffer() for chain-based
9417 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9419 * plugins/elements/gsttypefindelement.c:
9420 (gst_type_find_element_class_init),
9421 (gst_type_find_element_set_property),
9422 (gst_type_find_element_get_property):
9423 Deprecate "maximum" property (not only was it only taken into
9424 account for typefinding in push-mode anyway, it also was never
9425 actually possible to set it in the first place because the
9426 property was registered with the numeric property ID for the
9427 "minimum" property). Register "maximum" property correctly,
9428 for the sake of future copy'n'pasters. Remove some cruft
9429 from property get/set functions.
9431 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9433 * plugins/elements/gsttypefindelement.c:
9434 (gst_type_find_element_activate):
9435 Use gst_type_find_helper_get_range() here, so we
9436 can honour the "minimum" property and also emit
9437 the signal with the correct probability of the found caps.
9439 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9441 * docs/libs/gstreamer-libs-sections.txt:
9442 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9443 (helper_find_suggest), (gst_type_find_helper_get_range),
9444 (gst_type_find_helper):
9445 * libs/gst/base/gsttypefindhelper.h:
9446 New API: gst_type_find_helper_get_range() (#333042).
9448 2006-03-02 Michael Smith <msmith@fluendo.com>
9450 * gst/gstregistryxml.c: (load_feature):
9451 Asserting on a failure to read part of the registry is Not Cool.
9452 Just log a warning and return NULL (which is already handled)
9454 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9456 * win32/common/libgstbase.def:
9457 added export of gst_type_find_helper_for_buffer
9458 * win32/common/libgstbase.def:
9459 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9460 gst_ghost_pad_get_target
9462 2006-02-28 Wim Taymans <wim@fluendo.com>
9464 * docs/design/draft-klass.txt:
9466 Added Connector to mark elements that are only used to
9467 allow pipeline connections.
9468 Moved Debug to extra feature since most of them are
9469 functionally something else.
9471 2006-02-28 Wim Taymans <wim@fluendo.com>
9473 * docs/design/draft-klass.txt:
9474 Some updates and clarifications.
9476 2006-02-28 Wim Taymans <wim@fluendo.com>
9478 * docs/design/draft-klass.txt:
9479 Proposal for klass field values.
9481 * docs/design/part-streams.txt:
9482 Start of a doc describing stream anatomy.
9484 2006-02-28 Wim Taymans <wim@fluendo.com>
9486 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9487 Help the compiler a bit with type registration.
9488 Use existing forward cod path instead of duplicating it when
9491 * gst/gstbus.c: (gst_bus_get_type):
9492 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9493 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9494 * gst/gstclock.c: (gst_clock_get_type):
9495 * gst/gstelement.c: (gst_element_get_type),
9496 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9497 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9498 * gst/gstminiobject.c: (gst_mini_object_get_type):
9499 * gst/gstpad.c: (gst_pad_get_type):
9500 * gst/gstsegment.c: (gst_segment_get_type):
9501 * gst/gststructure.c: (gst_structure_get_type):
9502 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9503 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9505 Help compiler with type registration.
9507 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9510 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9512 * plugins/elements/gsttypefindelement.c:
9513 (gst_type_find_element_handle_event):
9514 When we get an EOS event and have not found a type yet
9515 (most likely because we had not yet accumulated
9516 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9517 type given the data we have so far. Fixes typefinding
9518 for very short streams again, most notably quicktime
9519 redirections as used on Apple's trailer site (#331701).
9521 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9523 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9524 (gst_type_find_helper):
9525 Try typefinding factories with the highest rank first.
9527 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9529 * docs/libs/gstreamer-libs-docs.sgml:
9530 * docs/libs/gstreamer-libs-sections.txt:
9531 * libs/gst/base/gsttypefindhelper.c:
9532 Add section for typefind helper and add documentation
9533 for the old and the new function.
9535 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9537 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9538 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9539 (gst_type_find_helper_for_buffer):
9540 * libs/gst/base/gsttypefindhelper.h:
9541 New API: gst_type_find_helper_for_buffer() (#332723).
9543 2006-02-27 Michael Smith <msmith@fluendo.com>
9545 Patch by: Loïc Minier
9549 * docs/slides/Makefile.am:
9550 prevent CVS directories getting disted.
9552 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9554 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9555 Use the REFCOUNTING category for caps refcounting.
9557 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9559 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9560 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9562 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9564 * plugins/elements/gsttypefindelement.c:
9565 (gst_type_find_element_activate):
9566 Use gst_pad_check_pull_range() before _activate_pull()
9567 to avoid unnecessary open/close (see #331690).
9569 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9572 Docs enhancement: make it crystal clear what the
9573 gst_pad_add_*_probe() callbacks should look like.
9575 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9577 * libs/gst/base/gstbasesrc.c:
9578 Document how applications can stop recording from
9579 live sources (see #330996).
9581 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9583 * tests/check/Makefile.am:
9584 * tests/check/libs/basesrc.c: (eos_event_counter),
9585 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9586 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9587 (gst_basesrc_suite), (main):
9588 ... and add some tests for the base source EOS stuff.
9590 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9592 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9593 Test case originally showed the problem fixed below,
9594 but was then amended. Add checks back at the place
9595 where they used to be.
9597 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9599 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9600 (gst_base_src_init), (gst_base_src_loop),
9601 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9602 (gst_base_src_change_state):
9603 * libs/gst/base/gstbasesrc.h:
9604 Don't unconditionally send EOS when going from PAUSED to
9605 READY state, esp. make sure we don't send two EOS events
9606 in some cases (e.g. one when reaching EOS and one when
9607 going from PAUSED to READY). Also, we don't want to send
9608 EOS events when operating in pull mode. However, we do
9609 want to send an EOS event when shutting down a live
9610 source explicitly, for example (fixes #330996).
9612 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9614 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9615 Update src->read_position after a seek when not using mmap.
9616 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9618 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9624 Make things work with --disable-parse as they do with
9625 --disable-load-save - the symbols involved disappear, but the
9626 header is still installed and GST_DISABLE_PARSE is included via
9629 2006-02-20 Julien MOUTTE <julien@moutte.net>
9631 * libs/gst/base/gstbasetransform.c:
9632 (gst_base_transform_change_state): Fix a stupid bug. I was
9633 sure I compiled that.
9635 2006-02-20 Julien MOUTTE <julien@moutte.net>
9637 * gst/gstpad.c: (gst_pad_set_blocked_async):
9638 * gst/gstutils.c: (gst_pad_add_data_probe),
9639 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9640 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9641 (gst_pad_remove_buffer_probe): Make those function act on the
9642 ghostpad target when it's a ghostpad. (Closes #331727)
9644 2006-02-20 Julien MOUTTE <julien@moutte.net>
9646 * libs/gst/base/gstbasetransform.c:
9647 (gst_base_transform_change_state): Make basetransform reusable.
9650 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9652 * docs/random/release:
9653 Move the current documentation of how to do a release to the top
9656 * gst/gstbin.c: (gst_bin_class_init),
9657 (gst_bin_handle_message_func):
9658 Allow multiple state-recalculation threads. (Closes #328873)
9660 2006-02-19 Julien MOUTTE <julien@moutte.net>
9662 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9663 * gst/gstpad.c: (gst_pad_set_event_function),
9664 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9665 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9666 2 strings. You can't use the STR_NULL macro on that.
9668 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9670 * gst/gstpad.c: (gst_pad_set_event_function),
9671 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9672 (gst_pad_set_getcaps_function)
9673 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9674 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9675 So now, we can use --gst-debug-level=5 on Windows
9676 * win32/common/libgstcontroller.def:
9677 Added export of gst_controller_init
9678 * win32/vs6/libgstcontroller.dsp:
9679 Fixed Release post build configuration
9681 2006-02-17 Wim Taymans <wim@fluendo.com>
9683 * tests/check/gst/gstquery.c: (GST_START_TEST):
9684 Added another check.
9686 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9688 * plugins/elements/gsttypefindelement.c: (find_peek):
9689 We can do peeks at non-zero offsets, as long as they
9690 fall within the buffer we have.
9692 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9694 * tests/check/Makefile.am:
9695 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9696 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9697 (parse_suite), (main):
9698 Add testsuite for parse launch syntax
9700 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9702 * plugins/elements/gsttypefindelement.c:
9703 (gst_type_find_element_chain):
9704 When typefinding is unsuccessful in the chain function, don't
9705 error out immediately. Only error out with NO_CAPS_FOUND if
9706 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9707 otherwise simply wait for more data so we can try typefinding
9708 again with more data later. Also, don't attempt to typefind
9709 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9710 this should improve typefinding from network sources where the
9711 size of the first buffer can be somewhat random.
9713 2006-02-14 Wim Taymans <wim@fluendo.com>
9715 * docs/gst/gstreamer-sections.txt:
9716 * gst/gstpadtemplate.c:
9717 * gst/gstpadtemplate.h:
9718 Fix padtemplate docs, fixes #328805.
9720 2006-02-14 Wim Taymans <wim@fluendo.com>
9722 * tools/gst-launch.c: (main):
9723 NO_PREROLL is not an ERROR so don't send confusing messages
9726 2006-02-14 Wim Taymans <wim@fluendo.com>
9728 Patch by: Torsten Schoenfeld
9730 * gst/gstregistry.c: (gst_registry_get_default),
9731 (_gst_registry_cleanup):
9732 Protect default registry with lock and ref/sink it.
9735 2006-02-14 Wim Taymans <wim@fluendo.com>
9738 * gst/gstquery.c: (gst_query_list_add_format),
9739 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9740 (gst_query_parse_formats_nth):
9741 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9744 2006-02-14 Wim Taymans <wim@fluendo.com>
9746 * docs/gst/gstreamer-sections.txt:
9747 Reworked query docs.
9749 * gst/gstquery.c: (gst_query_new_formats),
9750 (gst_query_list_add_format), (gst_query_set_formats),
9751 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9752 (gst_query_parse_formats_nth):
9754 Flesh out formats query, added some new methods.
9755 Fix part of #324398.
9757 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9758 Added query creation tests.
9760 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9762 * gst/gstpad.c: (fixate_value):
9763 Add a default fixation for fraction lists.
9765 2006-02-13 Wim Taymans <wim@fluendo.com>
9767 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9768 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9771 Detect and warn for obvious deadlocks. fixes #320340
9772 Fix error case where lock was not released.
9774 * tests/check/Makefile.am:
9775 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9776 (task_func), (gst_element_suite), (main):
9779 2006-02-13 Wim Taymans <wim@fluendo.com>
9781 * docs/gst/gstreamer-sections.txt:
9783 Add new functions to docs.
9785 2006-02-13 Wim Taymans <wim@fluendo.com>
9787 * docs/design/part-TODO.txt:
9788 Updated TODO list, basesrc supports seeking to non-bytes
9791 * docs/design/part-element-sink.txt:
9794 * gst/gstbin.c: (bin_replace_message),
9795 (gst_bin_handle_message_func):
9796 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9797 * gst/gstevent.c: (gst_event_finalize):
9798 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9799 (gst_pad_send_event):
9800 Use shiny new _TYPE_NAME macros.
9802 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9803 Move debug statement up.
9805 * gst/gstelement.c: (gst_element_set_locked_state):
9808 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
9810 * docs/gst/gstreamer-sections.txt:
9813 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9814 macros (#330906). Also, document the already existing
9815 GST_QUERY_TYPE macro.
9817 2006-02-13 Wim Taymans <wim@fluendo.com>
9819 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9820 (event_probe), (GST_START_TEST):
9821 Only events up to the pipeline EOS are counted, there are
9822 some more when going to NULL currently which we don't care
9825 2006-02-13 Wim Taymans <wim@fluendo.com>
9827 * gst/gstpad.c: (gst_pad_send_event):
9828 Correctly check flushing and emit probes. fixes #330125
9830 2006-02-10 Andy Wingo <wingo@pobox.com>
9832 * gst/gstbus.c (gst_bus_class_init): Declare our private data
9834 (gst_bus_init): Cache the location of the private data in the
9836 (gst_bus_enable_sync_message_emission)
9837 (gst_bus_disable_sync_message_emission): Implement new public
9839 (gst_bus_post): Emit the sync-message signal if the user asked for
9842 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9843 location of the bus-private structure.
9844 (gst_bus_enable_sync_message_emission)
9845 (gst_bus_disable_sync_message_emission): API addition
9847 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
9849 Patch by: Vincent Torri
9851 * docs/pwg/building-boiler.xml:
9852 PWG patch from #326800
9854 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
9858 * docs/design/Makefile.am:
9861 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9866 === release 0.10.3 ===
9868 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9871 releasing 0.10.3, "Like a virgin"
9873 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9876 2nd prerelease of 0.10.3
9877 Bump libtool versioning.
9879 2006-02-07 Andy Wingo <wingo@pobox.com>
9881 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
9882 update last_stop if we're in TIME format and the timestamp is
9885 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
9886 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
9887 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
9888 If we get a new newsegment with a different format, adapt
9891 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
9892 of 0. Not a problem, really.
9894 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
9897 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
9902 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
9905 project files updated to the default vs7 configuration
9906 * win32/common/libgstbase.def:
9907 * win32/common/libgstreamer.def:
9909 removed empty lines,
9910 sorted all exported symbols alphabetically
9911 * win32/common/dirent.c:
9912 * win32/common/dirent.h:
9913 * win32/common/gchar.h:
9914 use windows line end.
9916 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
9918 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9919 Send EOS event when stopping.
9921 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
9924 Tell folks what to do if the plugin-foobar.xml file
9925 hasn't been generated for a newly-added plugin.
9927 2006-02-05 Julien MOUTTE <julien@moutte.net>
9929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9930 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9931 (gst_collect_pads_start), (gst_collect_pads_stop),
9932 (gst_collect_pads_event): Collectpads now holds a reference
9933 to the GstPad that was added. Indeed we don't want to look
9934 at pads that might just go away with no warning...
9936 2006-02-05 Julien MOUTTE <julien@moutte.net>
9938 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9939 (gst_collect_pads_start), (gst_collect_pads_stop),
9940 (gst_collect_pads_event), (gst_collect_pads_chain):
9941 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
9942 Mark Nauwelaerts's patch on bug #328491.
9944 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
9946 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
9948 Add some simple tests for gst_parse_bin_from_description() and
9949 gst_bin_find_unconnected_pad() (#329069).
9951 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
9953 * tools/gst-launch.c: (event_loop), (main):
9954 Catch errors during preroll (#320084).
9956 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
9958 * plugins/elements/gsttypefindelement.c:
9959 (gst_type_find_element_activate):
9960 Post TYPE_NOT_FOUND error message when typefinding
9961 is unsuccessful in the activate function as well.
9963 2006-02-02 Wim Taymans <wim@fluendo.com>
9965 * docs/design/part-element-sink.txt:
9968 2006-02-02 Wim Taymans <wim@fluendo.com>
9970 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9971 (gst_base_sink_render_object),
9972 (gst_base_sink_queue_object_unlocked):
9973 Only keep track of prerollable items when we are
9975 Before rendering after preroll, always check if we
9977 Added some more debugging.
9979 2006-02-02 Wim Taymans <wim@fluendo.com>
9981 * gst/gstelement.c: (gst_element_continue_state),
9982 (gst_element_set_state_func), (gst_element_change_state):
9983 Fixed #326576, been running this for quite some time with
9984 no regressions at all.
9986 2006-02-02 Wim Taymans <wim@fluendo.com>
9989 Added more suppressions
9991 2006-02-02 Wim Taymans <wim@fluendo.com>
9993 * docs/design/part-element-sink.txt:
9996 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9997 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
9998 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
9999 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10000 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10001 (gst_base_sink_preroll_object),
10002 (gst_base_sink_queue_object_unlocked),
10003 (gst_base_sink_queue_object), (gst_base_sink_event),
10004 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10005 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10006 (gst_base_sink_get_position), (gst_base_sink_change_state):
10007 * libs/gst/base/gstbasesink.h:
10008 Totally refactored matching the design doc.
10009 Use two segments, one to clip incomming buffers and another to
10011 Handle queueing correctly, bypass the queue when playing.
10012 Make EOS cancelable.
10013 Handle errors correctly when operating in pull based mode.
10015 * tests/check/elements/fakesink.c: (GST_START_TEST),
10017 Added new check for sinks.
10019 2006-02-02 Wim Taymans <wim@fluendo.com>
10021 * gst/gstsegment.c: (gst_segment_clip):
10022 No reason to refuse to clip when start == -1
10024 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10027 * docs/manual/intro-basics.xml:
10028 * docs/manual/intro-preface.xml:
10029 * docs/manual/manual.xml:
10030 * docs/pwg/advanced-dparams.xml:
10031 * docs/pwg/intro-basics.xml:
10032 * docs/pwg/intro-preface.xml:
10033 * docs/pwg/pwg.xml:
10034 describe dparams (controller) for plugins
10035 unify docs a little more
10037 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10039 * docs/gst/gstreamer-sections.txt:
10040 * gst/gstutils.c: (element_find_unconnected_pad),
10041 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10043 Add new API: gst_parse_bin_from_description() and
10044 gst_bin_find_unconnected_pad() (#329069).
10046 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10048 * docs/manual/README:
10049 uncover a nasty detail of the docs build
10051 2006-01-31 Wim Taymans <wim@fluendo.com>
10053 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10054 Don't cache duration messages if we're not going to use or
10057 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10059 * docs/manual/advanced-dparams.xml:
10060 * docs/pwg/advanced-dparams.xml:
10064 * libs/gst/controller/lib.c: (gst_controller_init):
10067 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10069 * gst/gstelement.c: (gst_element_message_full):
10070 also show file/line/func if no additional debug was given
10072 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10074 * win32/vs7/grammar.vcproj:
10075 activate copy of autogenerated files for Release mode
10077 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10079 * win32/common/libgstreamer.def:
10080 export gst_value_compare
10082 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10084 * plugins/elements/Makefile.am:
10085 * plugins/elements/gstelements.c:
10086 * plugins/elements/gstfdsink.c: (_do_init),
10087 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10088 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10089 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10090 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10091 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10092 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10093 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10094 * plugins/elements/gstfdsink.h:
10095 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10097 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10099 * docs/manual/advanced-dparams.xml:
10100 describe controller
10101 * docs/manual/advanced-position.xml:
10102 * docs/manual/basics-init.xml:
10103 * docs/manual/manual.xml:
10104 * docs/manual/titlepage.xml:
10105 * docs/pwg/pwg.xml:
10106 * docs/pwg/titlepage.xml:
10107 cleanup xml (more to come)
10108 * libs/gst/controller/gstcontroller.c:
10111 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10113 * win32/vs6/grammar.dsp:
10114 add autogen of gstmarshal.c,h for Release mode
10116 2006-01-30 Wim Taymans <wim@fluendo.com>
10118 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10119 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10120 (gst_base_sink_handle_object), (gst_base_sink_event),
10121 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10122 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10123 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10124 (gst_base_sink_deactivate), (gst_base_sink_activate),
10125 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10126 (gst_base_sink_query), (gst_base_sink_change_state):
10127 Basesink cleanups, remove some old code.
10128 Handle the case where a subclass can preroll in the render
10129 method (mostly audiosinks).
10130 Handle more events.
10131 Remove some locks around variables that are now protected
10132 with the PREROLL_LOCK (clock_id, flushing, ..).
10133 Optimize position query some more, do correct locking.
10134 Remove old code to push queue in state change, this is not
10135 needed anymore since preroll blocks on all prerollable items
10137 Almost implemented as described in design doc.
10139 2006-01-30 Wim Taymans <wim@fluendo.com>
10141 * tests/check/gst/gstbin.c: (GST_START_TEST):
10142 Wait for refcount to settle down before checking.
10144 2006-01-30 Wim Taymans <wim@fluendo.com>
10146 * docs/design/part-element-sink.txt:
10147 Pseudo code overview of desired sink behaviour regarding
10150 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10151 * win32/vs6/grammar.dsp:
10152 fix some bugs in Release mode for autogenerated files
10154 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10155 * win32/common/libgstbase.def:
10156 * win32/common/libgstreamer.def:
10157 export some new symbols: gst_base_src_set_format,
10158 gst_iterator_next, gst_structure_set_valist
10160 2006-01-29 Julien MOUTTE <julien@moutte.net>
10162 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10163 Set pad functions unconditionally. Fixes #329105.
10165 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10167 add vs8 project files created by Sergey Scobich
10169 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10171 * gst/gstutils.c: (gst_element_unlink_pads):
10172 Don't leak pad references.
10174 * tests/check/elements/fakesink.c: (GST_START_TEST):
10175 * tests/check/generic/sinks.c: (GST_START_TEST):
10176 * tests/check/generic/states.c: (GST_START_TEST):
10177 * tests/check/gst/gstbin.c: (GST_START_TEST):
10178 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10179 * tests/check/gst/gstelement.c: (GST_START_TEST):
10180 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10181 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10182 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10183 Fix a bunch of leaks. Make generic/sinks.c
10184 use a bit less cpu by slowing the buffer rate
10185 between fakesrc and fakesink.
10187 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10189 * gst/gstelement.c: (gst_element_send_event):
10192 * gst/gstiterator.c:
10193 * gst/gstiterator.h:
10194 * gst/gstpad.c: (gst_pad_send_event):
10195 * gst/gststructure.c:
10199 * libs/gst/base/gstadapter.c:
10200 doc fixes, to link to function, just write gst_cool_function(), don't
10203 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10205 * plugins/elements/gsttee.c: (gst_tee_do_push),
10206 (gst_tee_handle_buffer):
10207 Always prefer an actual return value from a src
10208 pad in place of NOT_LINKED. This means we return
10209 WRONG_STATE when all src pads are WRONG_STATE
10210 instead of NOT_LINKED.
10212 Lock when replacing the last message to prevent
10213 racing with the get_property method.
10217 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10219 * tests/check/Makefile.am:
10220 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10222 Add a very simple check that should have caught the memleak I fixed
10223 last night (if not for the slice allocator hiding it)
10225 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10227 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10228 (gst_bin_remove_func), (gst_bin_handle_message_func),
10229 (bin_query_duration_fold), (bin_query_generic_fold):
10230 Clean up references to the clock provider when disposed or when
10231 handling a clock-lost message from it.
10233 Unref sinks when performing a query via gst_iterator_fold, as the
10234 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10236 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10237 (gst_clock_set_master):
10238 Drop our reference to the master clock, if any, when we are disposed.
10240 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10241 Chain up in dispose.
10243 2006-01-26 Wim Taymans <wim@fluendo.com>
10245 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10246 Add some debugging.
10248 2006-01-26 Julien MOUTTE <julien@moutte.net>
10250 * plugins/elements/gsttee.c: (gst_tee_do_push),
10251 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10252 handles pad being NOT_LINKED or in WRONG_STATE.
10254 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10259 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10262 remove obsolete entry
10264 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10266 * docs/gst/gstreamer-sections.txt:
10267 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10268 (gst_bin_iterate_sources), (gst_bin_send_event):
10270 * gst/gstelement.c: (gst_element_send_event):
10272 * gst/gstpad.c: (gst_pad_send_event):
10273 added code for downstream events, reviewed docs in gstevent.c
10275 2006-01-25 Julien MOUTTE <julien@moutte.net>
10277 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10278 We only query position using the clock in the playing state.
10279 Query peer in the other cases.
10280 * win32/common/config.h: Updates.
10282 2006-01-24 Wim Taymans <wim@fluendo.com>
10284 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10285 A clock entry that is scheduled for the exact time of the
10286 clock is still in time.
10288 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10289 (gst_base_sink_do_sync):
10290 Add some more debug info.
10292 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10295 Add new vs7 project files and solution.
10297 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10300 all files removed as they were out-dated.
10302 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10304 * docs/random/release:
10306 * gst/gstbin.c: (gst_bin_init):
10307 * gst/gstbus.c: (gst_bus_new):
10309 * gst/gstpipeline.c: (gst_pipeline_init):
10310 use gst_bus_new(), improve logging, fix docs
10311 * win32/common/config.h:
10312 update for cvs build
10314 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10317 up required version of automake to 1.7
10319 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
10321 * win32/common/libgstreamer.def:
10322 export gst_buffer_is_metadata_writable
10324 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
10326 * docs/gst/gstreamer-sections.txt:
10328 Add gst_event_replace() (#327001)
10330 2006-01-20 Wim Taymans <wim@fluendo.com>
10332 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10333 Make it actually compile too..
10335 2006-01-20 Wim Taymans <wim@fluendo.com>
10338 Clarify behaviour of _is_equal() when passing NULL parameters.
10340 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10341 (gst_pad_set_caps):
10342 Cleanups. Don't unref NULL caps.
10343 When setting the same caps, protect caps of the pad with
10345 Use full functionality of _is_equal() when comparing caps.
10347 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10349 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10350 Don't loop infinitely if there are no buffers to present. Partially
10351 fixes #327197, but collectpads is just broken for reusing elements
10352 to do multiple encodes atm.
10354 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10356 * tools/gst-inspect.c: (print_element_features):
10357 * tools/gst-xmlinspect.c: (main):
10358 URL_HANDLER is not a plugin feature we can search for in
10361 2006-01-19 Edward Hervey <edward@fluendo.com>
10363 * gst/gstelement.c: (gst_element_pads_activate):
10364 When activating, do src pads first, then sink pads.
10365 When de-activating, do sink pads first, then src pads.
10367 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10369 * docs/gst/gstreamer-sections.txt:
10370 Add gst_index_add_associationv to the docs
10372 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10377 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10378 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10379 Do some refactoring. Doesn't actually change functionality,
10380 but makes landing the DRAIN event easier later.
10382 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10384 * docs/pwg/advanced-scheduling.xml:
10385 Update from 0.9.x to 0.10 API and make example a bit
10388 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10390 * docs/gst/gstreamer-sections.txt:
10391 Add gst_buffer_(is|make)_metadata_writable methods.
10393 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10395 * docs/design/part-sparsestreams.txt:
10396 Update sparse streams doc, hopefully for greater clarity
10398 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10400 * docs/design/part-events.txt:
10401 Remove mention of FILLER events.
10404 * docs/design/part-sparsestreams.txt:
10405 Write some things about using NEWSEGMENT to keep sparse streams
10408 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10410 * gst/gstbin.c: (gst_bin_dispose):
10411 Guard gst_object_unref call against a NULL object (dispose
10412 can theoretically be called multiple times).
10414 2006-01-18 Wim Taymans <wim@fluendo.com>
10416 * gst/gstbin.c: (gst_bin_element_set_state):
10417 * gst/gstclock.c: (gst_clock_id_wait):
10418 Added some more debug info.
10420 * libs/gst/base/gstadapter.c:
10423 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10424 (gst_base_sink_do_sync), (gst_base_sink_chain):
10425 Added some comments.
10427 2006-01-18 Wim Taymans <wim@fluendo.com>
10429 * tests/check/Makefile.am:
10430 * tests/check/elements/fakesink.c: (chain_async_buffer),
10431 (chain_async), (chain_async_return), (GST_START_TEST),
10432 (fakesink_suite), (main):
10433 Added fakesink test that checks prerolling and clipping
10436 * tests/check/gst/gstutils.c: (GST_START_TEST):
10437 Make check run faster so that buildbots don't timeout.
10439 2006-01-18 Wim Taymans <wim@fluendo.com>
10441 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10442 (gst_base_sink_do_sync):
10444 When the sink finishes blocking on the preroll buffer, it can
10445 immediatly render it instead of rendering when the next buffer
10448 2006-01-18 Wim Taymans <wim@fluendo.com>
10450 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10451 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10452 (gst_base_sink_chain):
10454 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10455 Don't store _last_stop if the buffer is dropped.
10457 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10459 * plugins/elements/gsttypefindelement.c:
10460 (gst_type_find_element_class_init):
10461 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10462 object method handler that sets the caps on the pad and we want
10463 that to happen before we emit the signal (fixes e.g. feeding a
10464 plain text file to decodebin).
10466 2006-01-18 Christian Schaller <Christian@fluendo.com>
10468 * gst/gstplugin.c: Add MPL and Proprietary as license options
10470 2006-01-18 Andy Wingo <wingo@pobox.com>
10472 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10473 symbol was exported before, it appears this was just an oversight.
10475 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10477 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10478 prototype to gint. OK since this prototype was not in the header.
10480 2006-01-17 Andy Wingo <wingo@pobox.com>
10482 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10483 registry while we remove plugins.
10485 * tools/gst-inspect.c (print_element_info): Don't unref the
10486 factory arg, that should be the responsibility of whatever code
10487 received the ref. Fixes a double-free when called from
10488 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10489 (main): Unref the factory if we have one.
10490 (print_element_list): No change -- relies on the
10491 plugin_feature_list_free to free the list of features.
10493 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10495 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10496 (gst_buffer_make_metadata_writable):
10498 * libs/gst/base/gstbasetransform.c:
10499 (gst_base_transform_prepare_output_buf):
10500 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10501 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10502 Replace gst_buffer_(make|is)_metadata_writable patch now
10503 that the release is out.
10505 2006-01-17 Andy Wingo <wingo@pobox.com>
10507 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10508 in the present tense without reference to versions.
10510 * gst/gstregistry.c (gst_registry_add_plugin)
10511 (gst_registry_remove_plugin, gst_registry_remove_feature)
10512 (gst_registry_find_feature, gst_registry_get_feature_list)
10513 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10514 (gst_registry_lookup, gst_registry_scan_path)
10515 (_gst_registry_remove_cache_plugins)
10516 (gst_registry_get_feature_list_by_plugin): Add argument
10519 === release 0.10.2 ===
10521 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10524 releasing 0.10.2, "If man is five"
10526 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10530 * libs/gst/base/gstbasetransform.c:
10531 (gst_base_transform_prepare_output_buf):
10532 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10533 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10534 Back out patch until after the release.
10536 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10538 * gst/gstminiobject.c:
10539 Spelling fix in docs.
10540 * ChangeLog - remove conflict indicator
10542 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10544 Reviewed By: Andy Wingo
10546 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10547 (gst_buffer_make_metadata_writable):
10549 Add gst_buffer_(is|make)_metadata_writable as analogues of
10550 gst_buffer_(is|make)_writable.
10552 * libs/gst/base/gstbasetransform.c:
10553 (gst_base_transform_prepare_output_buf):
10554 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10555 Use name gst_buffer_(is|make)_metadata_writable functions.
10557 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10558 Test gst_buffer_(is|make)_metadata_writable
10562 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10564 * docs/manual/Makefile.am:
10565 don't do parallel make
10568 * win32/common/config.h.in:
10569 add generations for HOST_CPU and GST_MAJORMINOR
10570 * win32/common/config.h:
10571 commit generated result
10573 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10575 * docs/manual/appendix-integration.xml:
10576 Update GNOME integration section to use gst_init_get_option_group()
10577 instead of the old popt stuff (#322911). Also, GNOME applications
10578 should now use gconf*sink and gconf*src instead of the old gconf
10581 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10584 * docs/gst/gstreamer-docs.sgml:
10585 * docs/gst/gstreamer-sections.txt:
10586 * docs/libs/gstreamer-libs-sections.txt:
10587 add new API entries to the docs
10588 * libs/gst/controller/Makefile.am:
10589 * libs/gst/controller/gstcontroller.c:
10590 * libs/gst/controller/gstcontroller.h:
10591 * libs/gst/controller/gstcontrollerprivate.h:
10592 * libs/gst/controller/gsthelper.c:
10593 * libs/gst/controller/gstinterpolation.c:
10594 move private structs to private header
10596 gstreamer-0.7 -> gstreamer-0.10
10597 * tests/check/libs/struct_i386.h:
10598 remove private structs
10600 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10602 * plugins/indexers/Makefile.am:
10603 Fixes as part of #317048
10605 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10607 * plugins/indexers/Makefile.am:
10608 fix #316086 - compilation when mmap is missing
10610 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10612 * libs/gst/base/gstbasesink.c:
10613 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10614 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10615 * win32/common/config.h:
10616 added some defines GST_MAJORMINOR and HOST_CPU
10617 * win32/common/libgstbase.def:
10618 * win32/common/libgstreamer.def:
10619 added some exported functions.
10621 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10623 * libs/gst/controller/gstcontroller.c:
10624 (gst_controlled_property_set_interpolation_mode),
10625 (gst_controlled_property_new):
10626 * libs/gst/controller/gstcontroller.h:
10627 * libs/gst/controller/gstinterpolation.c:
10628 (interpolate_none_get_string_value_array):
10629 make G_TYPE_STRING controlable
10631 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10634 * tools/gst-feedback.1.in:
10635 * tools/gst-inspect.1.in:
10636 * tools/gst-launch.1.in:
10637 * tools/gst-md5sum.1.in:
10638 * tools/gst-typefind.1.in:
10639 * tools/gst-xmlinspect.1.in:
10640 * tools/gst-xmllaunch.1.in:
10641 cleanup man-pages, remove reference to gst-register, document env-vars
10643 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10645 * gst/gstbuffer.c: (gst_buffer_span):
10646 gst_buffer_span should copy the timestamp of the first buffer
10647 if they were both originally overlapping subbuffers of the
10648 same parent, using the same logic as the 'slow copy' case.
10650 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10652 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10653 Need to awaken ALL the pads when we pop a buffer, otherwise
10654 collectpads only works when there is 2 input streams.
10656 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10658 * docs/random/ensonic/media-device-daemon.txt:
10661 fix doc example, add clarification
10662 * tools/gst-launch.1.in:
10663 add initial info about GST_PLUGIN_PATH, needs more work
10665 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10667 * docs/manual/basics-bins.xml:
10668 * docs/manual/basics-elements.xml:
10669 * docs/manual/intro-basics.xml:
10670 Some more minor docs additions and updates.
10672 2006-01-11 Wim Taymans <wim@fluendo.com>
10674 * docs/manual/basics-bins.xml:
10675 * docs/manual/basics-elements.xml:
10676 Some small fixes as pointed out by Ser-ver on IRC.
10678 2006-01-10 Edward Hervey <edward@fluendo.com>
10680 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10681 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10682 the single-segment mode.
10684 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10686 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10688 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10689 (gst_base_src_perform_seek), (gst_base_src_send_event),
10690 (gst_base_src_set_property), (gst_base_src_get_property),
10691 (gst_base_src_loop), (gst_base_src_start),
10692 (gst_base_src_activate_push):
10693 * libs/gst/base/gstbasesrc.h:
10694 Name (private) union; makes Sun's Forte compiler happy (#324900).
10696 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10699 gst-register is gone.
10701 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10703 * gst/gstvalue.c: (_gst_value_initialize):
10704 make the G_TYPE_DATE instantiation work if debug is disabled
10706 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10708 * gst/gstmessage.c: (gst_message_parse_tag),
10709 (gst_message_parse_error), (gst_message_parse_warning):
10710 Don't crash when return location for error/warning debug
10711 string is NULL; add fact that return locations can be
10712 NULL to docs where appropriate.
10714 2006-01-05 Wim Taymans <wim@fluendo.com>
10716 * gst/gstplugin.c: (gst_plugin_load_file):
10717 Replace strdup by g_strdup.
10719 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10721 * docs/pwg/advanced-types.xml:
10724 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10726 submitted by: Abel Cheung
10730 Added Chinese (traditional) translation
10732 2006-01-04 Wim Taymans <wim@fluendo.com>
10734 * docs/manual/basics-pads.xml:
10735 * docs/plugins/Makefile.am:
10736 * docs/plugins/gstreamer-plugins-docs.sgml:
10737 * docs/plugins/gstreamer-plugins-sections.txt:
10738 * docs/pwg/advanced-clock.xml:
10739 * docs/pwg/advanced-scheduling.xml:
10740 * docs/pwg/advanced-types.xml:
10741 * plugins/elements/gstfdsink.c:
10742 * plugins/elements/gstfdsrc.c:
10743 * plugins/elements/gstfdsrc.h:
10744 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10745 * plugins/elements/gstidentity.h:
10746 * plugins/elements/gstqueue.h:
10747 * plugins/elements/gsttee.c:
10748 * plugins/elements/gsttee.h:
10749 * plugins/elements/gsttypefindelement.c:
10750 (gst_type_find_element_class_init):
10751 * plugins/elements/gsttypefindelement.h:
10752 Small updates to various docs.
10753 Added core plugins to docs.
10755 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10758 add a suppression for liboil's uninitialized variable
10760 2006-01-02 James Livingston <jrl at ids dot org dot au>
10762 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10765 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10766 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10767 compiler switch is being used (#325429).
10769 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10771 * gst/gstbin.c: (gst_bin_query):
10772 Disable duration query caching in bins until it gets
10773 fixed (see #324807).
10775 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10777 * tools/gst-inspect.c: (print_element_properties_info):
10778 Handle properties of POINTER and BOXED type.
10780 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10782 * gst/gst.c: (init_post):
10783 Init tags stuff and some other things before loading
10784 any static plugins (there may be other static plugins
10785 than just the GStreamer ones, and they may want to
10786 register their own tags or formats or whatever, and
10787 preferably without segfaulting).
10789 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10790 Print at least a warning in the debug logs if we drop a
10791 query just because we don't know how to adjust the value
10792 in the particular format.
10794 2005-12-24 David Schleef <ds@schleef.org>
10796 * tools/gstreamer-completion:
10797 Replacement for gst-complete written in sh and sed. Only
10798 completes names of features, but that's 90% of what I want
10799 it for. Properties are not available in registry.xml. (Maybe
10802 === release 0.10.1 ===
10804 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
10807 releasing 0.10.1, "Nollaig chridheil"
10809 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
10811 * docs/faq/cvs.xml:
10812 Add missing quote, should be make ERROR_CFLAGS="".
10814 2005-12-20 Wim Taymans <wim@fluendo.com>
10816 * docs/design/part-trickmodes.txt:
10817 More documentation on trickmodes.
10819 2005-12-20 Edward Hervey <edward@fluendo.com>
10821 * gst/gstcaps.c: (gst_static_caps_get_type):
10823 API addition: GST_TYPE_STATIC_CAPS
10824 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10825 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10826 * gst/gstpadtemplate.h:
10827 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10828 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10831 2005-12-18 Wim Taymans <wim@fluendo.com>
10833 * libs/gst/base/gstadapter.c:
10834 * libs/gst/base/gstadapter.h:
10835 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10836 (gst_base_sink_get_position):
10837 * libs/gst/base/gstbasesink.h:
10838 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10839 (gst_base_src_default_query), (gst_base_src_default_do_seek),
10840 (gst_base_src_do_seek), (gst_base_src_perform_seek),
10841 (gst_base_src_send_event), (gst_base_src_update_length),
10842 (gst_base_src_get_range), (gst_base_src_loop),
10843 (gst_base_src_start):
10844 * libs/gst/base/gstbasesrc.h:
10845 * libs/gst/base/gstbasetransform.h:
10846 * libs/gst/base/gstcollectpads.h:
10847 * libs/gst/base/gstpushsrc.c:
10848 * libs/gst/base/gstpushsrc.h:
10849 * libs/gst/dataprotocol/dataprotocol.c:
10850 * libs/gst/dataprotocol/dataprotocol.h:
10851 * libs/gst/net/gstnetclientclock.h:
10852 * libs/gst/net/gstnettimeprovider.h:
10853 Documentation updates.
10855 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
10857 * docs/manual/basics-helloworld.xml:
10858 Remove superfluous closing bracket in helloworld example.
10860 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
10862 * tools/gst-launch.1.in:
10863 Update gst-launch man page; add a section with useful
10864 environment variables. Fixes #323882.
10866 2005-12-16 Stefan Kost <ensonic@users.sf.net>
10869 * gst/gst_private.h:
10870 change some char* into char[]
10872 2005-12-16 Wim Taymans <wim@fluendo.com>
10874 * gst/gstregistryxml.c: (load_feature):
10876 Don't use g_object_unref on GstObjects so that we avoid
10877 leaks on unsafe glibs.
10879 2005-12-16 Wim Taymans <wim@fluendo.com>
10881 * gst/gstbin.c: (gst_bin_recalc_state):
10884 2005-12-16 Wim Taymans <wim@fluendo.com>
10886 * common/check.mak:
10887 Added make forever target for check.
10889 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
10891 * gst/gst.c: (init_post):
10892 make the registry cache file HOST_CPU-dependent
10894 2005-12-16 Andy Wingo <wingo@pobox.com>
10896 * plugins/elements/gstbufferstore.c
10897 (gst_buffer_store_cleared_func): Pay attention to g_list_append
10900 * tests/check/gst/gstobject.c
10901 (test_fake_object_name_threaded_unique): Pay attention to
10902 g_list_sort return value.
10904 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
10906 * tools/gst-feedback-m.m:
10907 Update for 0.9/0.10 (fixes #323870).
10909 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
10911 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
10912 Fix lcopy for mini objects, the mini object needs to be ref'ed.
10914 * tests/check/gst/gstminiobject.c: (my_foo_init),
10915 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
10916 (test_value_collection), (gst_mini_object_suite):
10917 Add test to ensure refcounts end up as expected when passing
10918 GstMiniObjects through g_object_get() and g_object_set().
10920 2005-12-14 Julien MOUTTE <julien@moutte.net>
10922 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10923 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
10924 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
10925 of collectpads. This version removes a lot of races without
10926 touching API/ABI. Yay !
10928 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
10930 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
10931 Don't allow activation of a srcpad in pull_range if it has no
10933 Change some debug statements to be a little clearer
10935 * plugins/elements/gsttypefindelement.c:
10936 (gst_type_find_handle_src_query):
10937 Check that we have a peer before executing queries thereupon.
10939 * tests/examples/metadata/read-metadata.c: (message_loop):
10940 Use gst_bus_pop instead of gst_bus_poll when we just want it to
10941 immediately return us any available message with 0 timeout.
10943 2005-12-12 Michael Smith <msmith@fluendo.com>
10945 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10946 Don't unref factories after calling them.
10947 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
10948 * plugins/elements/gsttypefindelement.c:
10949 (gst_type_find_element_chain):
10950 Free lists of factories after using them. Fixing typefinding memory
10953 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10955 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10956 (gst_plugin_feature_load):
10957 more meaningful debug output
10959 * tests/Makefile.am:
10960 * tests/old/examples/Makefile.am:
10961 make make distcheck happy again
10963 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
10965 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10966 Catch the special case where we are operating chain-based,
10967 but the downstream peer pad has no chain function. Emit a
10968 custom error message in this case instead of letting the
10969 core generate one implying that this is some sort of core
10970 bug. It's not, it just means that whatever got plugged
10971 into the pipeline downstream when we announced the type
10972 can only operate pull-based, while our source can only
10973 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
10974 Error string has not been marked for translation yet, as
10975 it probably needs some more work first.
10977 (gst_type_find_element_get_best_possibility):
10978 Add helper function to find the best of all available
10979 found possibilities that qualify given the min. threshold.
10981 (gst_type_find_element_handle_event):
10982 Fix the case where we get an EOS while still in TYPEFIND
10983 mode (we want to chose the best of all possible types,
10984 not just the first type that happens to be in our unsorted
10985 list of possible types).
10987 (gst_type_find_element_chain):
10988 Make sure we return GST_FLOW_ERROR when we errored out
10989 in stop_typefinding(); also, don't just find the best of
10990 all found type entries and then use the last examined
10991 type entry, but actually use the best entry.
10993 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
10995 * tests/examples/typefind/typefind.c: (type_found):
10996 * tests/examples/xml/runxml.c: (xml_loaded):
10997 More gcc4 fixes and a mem leak fix.
10999 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11001 * tests/examples/xml/createxml.c: (object_saved):
11004 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11006 * tests/Makefile.am:
11007 enable the examples even more
11009 2005-12-12 Andy Wingo <wingo@pobox.com>
11011 * libs/gst/net/gstnettimeprovider.c
11012 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11013 (gst_net_time_provider_set_property)
11014 (gst_net_time_provider_get_property):
11015 API addition: Export "active" as a GObject property.
11016 (gst_net_time_provider_thread): Only respond to time queries if
11017 the time provider is active.
11019 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11020 NetTimeProvider, preserving binary compat.
11022 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11024 * tests/examples/controller/audio-example.c: (main):
11025 * tests/examples/launch/Makefile.am:
11026 convert comments again
11028 2005-12-12 Wim Taymans <wim@fluendo.com>
11030 * libs/gst/base/gstpushsrc.c:
11033 2005-12-12 Wim Taymans <wim@fluendo.com>
11035 * docs/libs/gstreamer-libs-sections.txt:
11036 Added new symbol to docs.
11038 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11039 (gst_base_src_init), (gst_base_src_set_format),
11040 (gst_base_src_default_query), (gst_base_src_query),
11041 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11042 (gst_base_src_perform_seek), (gst_base_src_send_event),
11043 (gst_base_src_default_event), (gst_base_src_event_handler),
11044 (gst_base_src_set_property), (gst_base_src_get_property),
11045 (gst_base_src_wait), (gst_base_src_do_sync),
11046 (gst_base_src_update_length), (gst_base_src_get_range),
11047 (gst_base_src_check_get_range), (gst_base_src_loop),
11048 (gst_base_src_default_negotiate), (gst_base_src_start),
11049 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11050 (gst_base_src_change_state):
11051 * libs/gst/base/gstbasesrc.h:
11052 Implement seeking to other formats than _BYTES.
11053 Implement more seeking methods correctly.
11055 Added query vmethod.
11056 Added do_seek vmethod to make life easier for subclasses
11058 API addition: gst_base_src_set_format()
11060 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11062 * tests/examples/Makefile.am:
11065 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11068 * docs/random/ensonic/media-device-daemon.txt:
11069 * tests/examples/controller/.cvsignore:
11070 * tests/examples/controller/Makefile.am:
11071 * tests/examples/controller/audio-example.c: (main):
11072 * tests/examples/helloworld/.cvsignore:
11073 * tests/examples/helloworld/Makefile.am:
11074 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11075 * tests/examples/launch/.cvsignore:
11076 * tests/examples/launch/Makefile.am:
11077 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11078 * tests/examples/metadata/.cvsignore:
11079 * tests/examples/metadata/Makefile.am:
11080 * tests/examples/metadata/read-metadata.c: (message_loop),
11081 (make_pipeline), (print_tag), (main):
11082 * tests/examples/queue/.cvsignore:
11083 * tests/examples/queue/Makefile.am:
11084 * tests/examples/queue/queue.c: (event_loop), (main):
11085 * tests/examples/typefind/.cvsignore:
11086 * tests/examples/typefind/Makefile.am:
11087 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11089 * tests/examples/xml/.cvsignore:
11090 * tests/examples/xml/Makefile.am:
11091 * tests/examples/xml/createxml.c: (object_saved), (main):
11092 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11093 * tests/old/examples/Makefile.am:
11094 * tests/old/examples/TODO:
11095 * tests/old/examples/controller/.cvsignore:
11096 * tests/old/examples/controller/Makefile.am:
11097 * tests/old/examples/controller/audio-example.c:
11098 * tests/old/examples/helloworld/.cvsignore:
11099 * tests/old/examples/helloworld/Makefile.am:
11100 * tests/old/examples/helloworld/helloworld.c:
11101 * tests/old/examples/launch/.cvsignore:
11102 * tests/old/examples/launch/Makefile.am:
11103 * tests/old/examples/launch/mp3parselaunch.c:
11104 * tests/old/examples/launch/mp3play:
11105 * tests/old/examples/manual/Makefile.am:
11106 * tests/old/examples/metadata/Makefile.am:
11107 * tests/old/examples/metadata/read-metadata.c:
11108 * tests/old/examples/queue/.cvsignore:
11109 * tests/old/examples/queue/Makefile.am:
11110 * tests/old/examples/queue/queue.c:
11111 * tests/old/examples/typefind/.cvsignore:
11112 * tests/old/examples/typefind/Makefile.am:
11113 * tests/old/examples/typefind/typefind.c:
11114 * tests/old/examples/xml/.cvsignore:
11115 * tests/old/examples/xml/Makefile.am:
11116 * tests/old/examples/xml/createxml.c:
11117 * tests/old/examples/xml/runxml.c:
11118 applied some simple fixing to some examples
11119 re-enabled the working examples
11121 2005-12-12 Wim Taymans <wim@fluendo.com>
11123 * gst/gstsegment.c: (gst_segment_init),
11124 (gst_segment_set_last_stop), (gst_segment_set_seek),
11125 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11126 (gst_segment_to_running_time):
11127 Added more documentation.
11128 Make sure the last_pos value is updated properly.
11129 Make sure to_stream_time and to_running_time don't
11130 operate on wrong values.
11132 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11135 2005-12-12 Michael Smith <msmith@fluendo.com>
11137 * plugins/elements/gsttypefindelement.c: (free_entry),
11138 (gst_type_find_element_chain):
11139 Now that we're not leaking factories, make sure we keep references
11140 to them while we need them.
11142 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11144 * tests/check/gst/struct_i386.h:
11145 ifdef out the XML structs
11147 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11149 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11150 floor is not needed, F is always positive; this obviates the
11151 need for adding -lm when building without libxml
11153 2005-12-12 Wim Taymans <wim@fluendo.com>
11155 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11156 Take current playback rate into account when reporting
11159 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11161 * docs/manual/mime-world.fig:
11162 Let's try this again, this time with a file that is
11163 actually in XFig format.
11165 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11167 * docs/manual/mime-world.fig:
11168 Add audioconvert element to diagram so that it
11169 matches the text and the code (fixes #319526).
11171 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11173 * docs/pwg/building-chainfn.xml:
11174 * docs/pwg/building-pads.xml:
11175 * docs/pwg/building-state.xml:
11176 * docs/pwg/other-source.xml:
11177 Update state change stuff for 0.10 (fixes #322969).
11179 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11181 * docs/manual/advanced-dataaccess.xml:
11182 * docs/manual/appendix-checklist.xml:
11183 * docs/manual/appendix-programs.xml:
11184 * docs/manual/basics-pads.xml:
11185 * docs/manual/highlevel-components.xml:
11186 * docs/manual/manual.xml:
11187 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11188 add converters in front of pipelines; remove curly
11189 brackets for threads stuff, they no longer exist; use
11190 GST_TYPE_FRACTION for framerates; update some pieces of
11191 code to 0.10, but there's plenty more to do.
11193 * docs/manual/appendix-porting.xml:
11194 Expand on asynchroneous state changes; s/0.9/0.10/;
11195 mention disappearance of gst_init_get_popt_table()
11198 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11200 * docs/faq/using.xml:
11201 Spider no longer exists, and neither does gst-launch-ext.
11202 Update examples to use decodebin and playbin and put
11203 converters in front of sinks (fixes #323726).
11205 2005-12-09 Michael Smith <msmith@fluendo.com>
11207 * plugins/elements/gsttypefindelement.c: (find_peek),
11208 (gst_type_find_element_chain):
11209 Fix leaking element factories in typefinding.
11210 Fix problem where we forgot about a probable type on non-seekable
11211 files, and thus later mis-typefound it.
11213 2005-12-09 Michael Smith <msmith@fluendo.com>
11215 * common/m4/gst-makecontext.m4:
11216 * common/m4/gst-mcsc.m4:
11218 * win32/common/config.h:
11219 * win32/common/config.h.in:
11220 Remove makecontext stuff; not used in 0.10 and causes problems on
11221 HPUX according to bug #322441
11223 2005-12-07 Wim Taymans <wim@fluendo.com>
11225 * tests/check/Makefile.am:
11226 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11228 * tests/check/libs/struct_i386.h:
11229 Added ABI check for libs
11231 2005-12-07 Wim Taymans <wim@fluendo.com>
11233 * tests/check/Makefile.am:
11234 And add the struct_i386.h to dist.
11236 2005-12-07 Wim Taymans <wim@fluendo.com>
11238 * tests/check/Makefile.am:
11239 * tests/check/gst/.cvsignore:
11240 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11242 * tests/check/gst/struct_i386.h:
11243 Added check for ABI compatibility.
11245 2005-12-07 Wim Taymans <wim@fluendo.com>
11247 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11248 (gst_fake_src_get_times), (gst_fake_src_create):
11249 Fix broken sync option, fixes #323259
11251 2005-12-07 Wim Taymans <wim@fluendo.com>
11256 * gst/gstcaps.c: (gst_caps_is_equal):
11257 Don't assert on NULL <--> X. Fixes #323260
11259 * gst/gstminiobject.c: (gst_mini_object_replace):
11260 If we're doing atomic operations, we might just as well use
11261 the proper way to get an atomic pointer.
11263 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11264 Clean up debugging.
11266 2005-12-07 Michael Smith <msmith@fluendo.com>
11268 * gst/parse/grammar.y:
11269 Remove handling of { } for threads.
11271 2005-12-06 David Schleef <ds@schleef.org>
11273 * libs/gst/base/gstbasetransform.c: speling fix.
11275 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
11277 * docs/libs/tmpl/gstdataprotocol.sgml:
11278 * docs/random/omega/testing/gstobject.c:
11281 * gst/gstelement.c:
11282 * gst/gstelementfactory.c:
11285 * gst/gstghostpad.c:
11287 * gst/gstpadtemplate.c:
11288 * gst/gstregistryxml.c:
11289 * gst/gsttaglist.c:
11290 * gst/gsttagsetter.c:
11291 * gst/gsttypefind.c:
11293 * libs/gst/base/gstbasesrc.c:
11294 * libs/gst/net/gstnetclientclock.c:
11295 * libs/gst/net/gstnettimeprovider.c:
11296 * plugins/elements/gstfakesrc.c:
11297 * plugins/elements/gstfdsrc.c:
11298 * plugins/elements/gstfilesrc.c:
11299 * plugins/elements/gstidentity.c:
11300 * plugins/elements/gstqueue.c:
11301 * plugins/elements/gsttypefindelement.c:
11302 * plugins/indexers/gstfileindex.c:
11303 * plugins/indexers/gstmemindex.c:
11304 * tests/check/gst/gsttag.c:
11305 * tests/old/examples/cutter/cutter.c:
11306 * tests/old/examples/mixer/mixer.c:
11307 * tests/old/examples/xml/runxml.c: (main):
11308 * tests/old/testsuite/caps/normalisation.c:
11309 * tests/old/testsuite/debug/global.c:
11310 * tests/old/testsuite/parse/parse1.c:
11311 * tools/gst-xmlinspect.c:
11312 * win32/common/dirent.c:
11315 === release 0.10.0 ===
11317 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11320 releasing 0.10.0, "Maroilles"
11322 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11324 submitted by: Funda Wang <fundawang@linux.net.cn>
11328 added Chinese (Traditional) translation
11330 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11332 * docs/gst/gstreamer-sections.txt:
11333 * docs/libs/tmpl/gstdataprotocol.sgml:
11334 * docs/random/thomasvs/TODO:
11339 2005-12-05 Andy Wingo <wingo@pobox.com>
11341 patch by: Wim Taymans <wim@fluendo.com>
11343 * libs/gst/base/gstbasetransform.c
11344 (gst_base_transform_prepare_output_buf)
11345 (gst_base_transform_buffer_alloc):
11346 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11347 alloc_buffer_and_set_caps.
11349 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11350 set_caps on the source pad.
11351 (gst_pad_alloc_buffer_and_set_caps): New function, does what
11352 alloc_buffer used to do. Fixes #322874.
11354 * docs/gst/gstreamer-sections.txt:
11355 * docs/design/part-negotiation.txt:
11356 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11359 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11361 patch by: Sebastien Moutte
11364 * win32/common/config.h.in:
11365 * win32/vs6/libgstcontroller.dsp:
11368 2005-12-05 Wim Taymans <wim@fluendo.com>
11370 * gst/gstcaps.c: (gst_caps_is_equal):
11371 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11372 (gst_fake_src_create):
11373 Back out previous code changes, leave doc updates, file bugs
11376 2005-12-05 Wim Taymans <wim@fluendo.com>
11378 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11379 (gst_fake_src_get_times), (gst_fake_src_create):
11380 * plugins/elements/gstfakesrc.h:
11381 Fix broken sync code.
11383 2005-12-05 Wim Taymans <wim@fluendo.com>
11385 * gst/gstcaps.c: (gst_caps_is_equal):
11386 Comparing NULL against !NULL yields different caps, not a
11389 2005-12-05 Wim Taymans <wim@fluendo.com>
11391 * gst/gstpipeline.c:
11392 Fix small typo in docs.
11394 2005-12-05 Andy Wingo <wingo@pobox.com>
11396 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11398 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11399 registries/plugins with a MAJORMINOR one.
11400 (plugin_desc): Rename library from gstcoreleements to
11401 staticelements. Fixes #323222.
11403 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11406 Change debug category to 'collectpads' from 'collect_pads'
11409 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11411 patch by: Sebastien Moutte
11413 * libs/gst/controller/gstinterpolation.c:
11414 use convert function for uint64/double
11415 * win32/vs6/libgstcontroller.dsp:
11418 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11420 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11421 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11423 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11424 add tests that seem to show that the guint64/gdouble conversions
11427 2005-12-02 Wim Taymans <wim@fluendo.com>
11429 * gst/gstregistry.c: (gst_registry_add_path):
11430 * gst/gstregistry.h:
11431 * gst/gstregistryxml.c:
11434 2005-12-02 Wim Taymans <wim@fluendo.com>
11436 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11437 (gst_util_uint64_scale_int):
11440 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11441 Add debug log line.
11443 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11446 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11449 * win32/common/config.h:
11450 * win32/vs6/gstreamer.dsw:
11451 * win32/vs6/libgstcoreelements.dsp:
11452 * win32/vs6/libgstelements.dsp:
11453 renamed core elements plugin
11455 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11457 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11459 do piece-wise major/minor comparison so 0.9 < 0.10
11460 also allow .exe extensions for tools
11462 2005-12-02 Michael Smith <msmith@fluendo.com>
11465 Escape a % to make gtkdoc happier; bug 322958.
11467 === release 0.9.7 ===
11469 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11472 releasing 0.9.7, "My Dog Has No Nose"
11474 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11476 * common/gst-xmlinspect.py:
11478 * docs/libs/tmpl/gstdataprotocol.sgml:
11479 * docs/random/release:
11498 * win32/common/config.h:
11499 * win32/common/config.h.in:
11500 * win32/vs6/gst_inspect.dsp:
11501 * win32/vs6/gst_launch.dsp:
11502 * win32/vs6/libgstbase.dsp:
11503 * win32/vs6/libgstelements.dsp:
11504 * win32/vs6/libgstreamer.dsp:
11505 * win32/vs7/GStreamer.vcproj:
11506 * win32/vs7/gst-inspect.vcproj:
11507 * win32/vs7/gst-launch.vcproj:
11508 * win32/vs7/libgstbase.vcproj:
11509 bump GST_MAJORMINOR to 0.10
11510 reset libtool version
11512 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11516 Added Bulgarian translation by (Alexander Shopov)
11518 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11520 * tests/check/gst/gstplugin.c:
11523 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11525 * common/gst-xmlinspect.py:
11526 * common/gtk-doc-plugins.mak:
11528 * docs/Makefile.am:
11529 * docs/gst/Makefile.am:
11530 * docs/gst/gstreamer-docs.sgml:
11531 * docs/gst/gstreamer-sections.txt:
11532 * docs/gst/gstreamer.types:
11533 * docs/gst/gstreamer.types.in:
11534 * docs/plugins/Makefile.am:
11535 * docs/plugins/gstreamer-plugins-docs.sgml:
11536 * docs/plugins/gstreamer-plugins-sections.txt:
11537 * docs/plugins/gstreamer-plugins.types:
11538 * docs/plugins/inspect.stamp:
11539 * docs/plugins/inspect/plugin-coreelements.xml:
11540 * docs/plugins/inspect/plugin-coreindexers.xml:
11541 * docs/plugins/scanobj-build.stamp:
11542 * gstreamer.spec.in:
11543 * plugins/elements/Makefile.am:
11544 * plugins/elements/gstelements.c:
11545 * plugins/elements/gstfakesink.c:
11546 * plugins/elements/gstfakesrc.c:
11547 * plugins/elements/gstfilesink.c:
11548 * plugins/elements/gstfilesrc.c:
11549 * plugins/elements/gstqueue.c:
11550 * plugins/indexers/Makefile.am:
11551 * plugins/indexers/gstindexers.c:
11552 document core plugins in a separate document just like all the
11554 rename these plugins to something starting with core
11556 2005-12-01 Andy Wingo <wingo@pobox.com>
11558 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11559 padding here before, but it missed the commit.
11561 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11563 * libs/gst/controller/gstinterpolation.c:
11564 whitespace prices have crashed, we should feel free to use some now
11565 use gst_guint64_to_gdouble
11567 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11569 * libs/gst/controller/gstcontroller.c:
11570 * libs/gst/controller/gsthelper.c:
11571 * libs/gst/controller/gstinterpolation.c:
11572 * libs/gst/controller/lib.c:
11573 wrap config.h include
11575 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11577 * docs/gst/gstreamer-sections.txt:
11580 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11582 * plugins/elements/gstelements.c:
11583 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11584 (gst_fd_sink__class_init), (gst_fd_sink__init),
11585 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11586 (gst_fd_sink__get_property):
11587 * plugins/elements/gstfdsink.h:
11588 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11589 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11590 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11591 (gst_fd_src_unlock), (gst_fd_src_set_property),
11592 (gst_fd_src_get_property), (gst_fd_src_create),
11593 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11594 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11595 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11596 (gst_fd_src_uri_handler_init):
11597 * plugins/elements/gstfdsrc.h:
11598 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11601 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11603 * docs/gst/Makefile.am:
11604 * docs/gst/gstreamer.types.in:
11608 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11614 * gst/gstregistry.h:
11615 * tests/benchmarks/complexity.c:
11616 * tests/benchmarks/mass-elements.c:
11617 * tests/check/Makefile.am:
11618 * tools/Makefile.am:
11619 * tools/gst-inspect.c:
11620 * tools/gst-xmlinspect.c:
11621 various fixes to make
11622 --disable-nls --disable-registry --disable-loadsave
11623 --disable-parse --disable-gst-debug
11624 work and get the core .so down to 360444 bytes after stripping
11626 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11631 * docs/random/thomasvs/TODO:
11632 * tests/Makefile.am:
11636 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11638 * win32/GStreamer.vcproj:
11641 * win32/Makefile.inspect:
11642 * win32/Makefile.launch:
11643 * win32/Makefile.register:
11644 * win32/README.txt:
11645 * win32/gst-inspect.vcproj:
11646 * win32/gst-launch.vcproj:
11647 * win32/gst-register.vcproj:
11648 * win32/gstelements.vcproj:
11649 * win32/gstgetbits.def:
11650 * win32/gstgetbits.vcproj:
11651 * win32/gstreamer-dbg.def:
11652 * win32/gstreamer.def:
11653 * win32/libgstbase.def:
11654 * win32/libgstbase.vcproj:
11655 * win32/link_oldruntime.c:
11659 * win32/msvc71.sln:
11660 move even more stuff, win32/ is nice and clean now
11662 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11664 * libs/gst/control/.cvsignore:
11669 * win32/gstbytestream.def:
11670 * win32/gstbytestream.vcproj:
11671 * win32/gstconfig.h:
11672 * win32/gstenumtypes.c:
11673 * win32/gstenumtypes.h:
11674 * win32/gstoptimalscheduler.vcproj:
11675 * win32/gstversion.h:
11677 * win32/testsuite/bins.vcproj:
11678 * win32/testsuite/bytestream.vcproj:
11679 * win32/testsuite/caps.vcproj:
11680 * win32/testsuite/cleanup.vcproj:
11681 * win32/testsuite/clock.vcproj:
11682 * win32/testsuite/debug.vcproj:
11683 * win32/testsuite/dlopen.vcproj:
11684 * win32/testsuite/dynparams.vcproj:
11685 * win32/testsuite/elements.vcproj:
11686 * win32/testsuite/ghostpads.vcproj:
11687 * win32/testsuite/indexers.vcproj:
11688 * win32/testsuite/negotiation.vcproj:
11689 * win32/testsuite/parse.vcproj:
11690 * win32/testsuite/plugin.vcproj:
11691 * win32/testsuite/refcounting.vcproj:
11692 * win32/testsuite/schedulers.vcproj:
11693 * win32/testsuite/states.vcproj:
11694 * win32/testsuite/tags.vcproj:
11695 * win32/testsuite/threads.vcproj:
11696 remove old win32 stuff that isn't maintained and should be
11699 2005-11-30 Andy Wingo <wingo@pobox.com>
11701 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11702 loading the gst.interfaces python module bork.
11704 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11705 available since GLib 2.2. Fixes #318031.
11707 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11710 * check/.cvsignore:
11711 * check/Makefile.am:
11712 * check/elements/.cvsignore:
11713 * check/elements/fakesrc.c:
11714 * check/elements/fdsrc.c:
11715 * check/elements/identity.c:
11716 * check/generic/.cvsignore:
11717 * check/generic/states.c:
11718 * check/gst-libs/.cvsignore:
11719 * check/gst-libs/controller.c:
11720 * check/gst-libs/gdp.c:
11721 * check/gst/.cvsignore:
11722 * check/gst/capslist.h:
11724 * check/gst/gstbin.c:
11725 * check/gst/gstbuffer.c:
11726 * check/gst/gstbus.c:
11727 * check/gst/gstcaps.c:
11728 * check/gst/gstelement.c:
11729 * check/gst/gstevent.c:
11730 * check/gst/gstghostpad.c:
11731 * check/gst/gstiterator.c:
11732 * check/gst/gstmessage.c:
11733 * check/gst/gstminiobject.c:
11734 * check/gst/gstobject.c:
11735 * check/gst/gstpad.c:
11736 * check/gst/gstpipeline.c:
11737 * check/gst/gstplugin.c:
11738 * check/gst/gstsegment.c:
11739 * check/gst/gststructure.c:
11740 * check/gst/gstsystemclock.c:
11741 * check/gst/gsttag.c:
11742 * check/gst/gstutils.c:
11743 * check/gst/gstvalue.c:
11744 * check/net/.cvsignore:
11745 * check/net/gstnetclientclock.c:
11746 * check/net/gstnettimeprovider.c:
11747 * check/pipelines/.cvsignore:
11748 * check/pipelines/cleanup.c:
11749 * check/pipelines/simple_launch_lines.c:
11750 * check/pipelines/stress.c:
11751 * check/states/.cvsignore:
11752 * check/states/sinks.c:
11754 * examples/Makefile.am:
11755 * examples/appreader/.cvsignore:
11756 * examples/appreader/Makefile.am:
11757 * examples/appreader/appreader.c:
11758 * examples/controller/.cvsignore:
11759 * examples/controller/Makefile.am:
11760 * examples/controller/audio-example.c:
11761 * examples/cutter/.cvsignore:
11762 * examples/cutter/Makefile.am:
11763 * examples/cutter/cutter.c:
11764 * examples/cutter/cutter.h:
11765 * examples/events/Makefile.am:
11766 * examples/events/seek.c:
11767 * examples/helloworld/.cvsignore:
11768 * examples/helloworld/Makefile.am:
11769 * examples/helloworld/helloworld.c:
11770 * examples/helloworld2/.cvsignore:
11771 * examples/helloworld2/Makefile.am:
11772 * examples/helloworld2/helloworld2.c:
11773 * examples/launch/.cvsignore:
11774 * examples/launch/Makefile.am:
11775 * examples/launch/mp3parselaunch.c:
11776 * examples/launch/mp3play:
11777 * examples/manual/.cvsignore:
11778 * examples/manual/Makefile.am:
11779 * examples/manual/extract.pl:
11780 * examples/metadata/Makefile.am:
11781 * examples/metadata/read-metadata.c:
11782 * examples/mixer/.cvsignore:
11783 * examples/mixer/Makefile.am:
11784 * examples/mixer/mixer.c:
11785 * examples/mixer/mixer.h:
11786 * examples/pingpong/.cvsignore:
11787 * examples/pingpong/Makefile.am:
11788 * examples/pingpong/pingpong.c:
11789 * examples/plugins/.cvsignore:
11790 * examples/plugins/Makefile.am:
11791 * examples/plugins/example.c:
11792 * examples/plugins/example.h:
11793 * examples/pwg/.cvsignore:
11794 * examples/pwg/Makefile.am:
11795 * examples/pwg/extract.pl:
11796 * examples/queue/.cvsignore:
11797 * examples/queue/Makefile.am:
11798 * examples/queue/queue.c:
11799 * examples/queue2/.cvsignore:
11800 * examples/queue2/Makefile.am:
11801 * examples/queue2/queue2.c:
11802 * examples/queue3/.cvsignore:
11803 * examples/queue3/Makefile.am:
11804 * examples/queue3/queue3.c:
11805 * examples/queue4/.cvsignore:
11806 * examples/queue4/Makefile.am:
11807 * examples/queue4/queue4.c:
11808 * examples/retag/.cvsignore:
11809 * examples/retag/Makefile.am:
11810 * examples/retag/retag.c:
11811 * examples/retag/transcode.c:
11812 * examples/thread/.cvsignore:
11813 * examples/thread/Makefile.am:
11814 * examples/thread/thread.c:
11815 * examples/typefind/.cvsignore:
11816 * examples/typefind/Makefile.am:
11817 * examples/typefind/typefind.c:
11818 * examples/xml/.cvsignore:
11819 * examples/xml/Makefile.am:
11820 * examples/xml/createxml.c:
11821 * examples/xml/runxml.c:
11822 * tests/Makefile.am:
11823 * tests/check/Makefile.am:
11824 * testsuite/.cvsignore:
11825 * testsuite/Makefile.am:
11827 * testsuite/caps/.cvsignore:
11828 * testsuite/caps/Makefile.am:
11829 * testsuite/caps/app_fixate.c:
11830 * testsuite/caps/audioscale.c:
11831 * testsuite/caps/caps.c:
11832 * testsuite/caps/caps.h:
11833 * testsuite/caps/caps_strings:
11834 * testsuite/caps/compatibility.c:
11835 * testsuite/caps/deserialize.c:
11836 * testsuite/caps/enumcaps.c:
11837 * testsuite/caps/eratosthenes.c:
11838 * testsuite/caps/filtercaps.c:
11839 * testsuite/caps/fixed.c:
11840 * testsuite/caps/fraction-convert.c:
11841 * testsuite/caps/fraction-multiply-and-zero.c:
11842 * testsuite/caps/intersect2.c:
11843 * testsuite/caps/intersection.c:
11844 * testsuite/caps/normalisation.c:
11845 * testsuite/caps/random.c:
11846 * testsuite/caps/renegotiate.c:
11847 * testsuite/caps/sets.c:
11848 * testsuite/caps/simplify.c:
11849 * testsuite/caps/string-conversions.c:
11850 * testsuite/caps/structure.c:
11851 * testsuite/caps/subtract.c:
11852 * testsuite/caps/union.c:
11853 * testsuite/debug/.cvsignore:
11854 * testsuite/debug/Makefile.am:
11855 * testsuite/debug/category.c:
11856 * testsuite/debug/commandline.c:
11857 * testsuite/debug/global.c:
11858 * testsuite/debug/output.c:
11859 * testsuite/debug/printf_extension.c:
11860 * testsuite/dlopen/.cvsignore:
11861 * testsuite/dlopen/Makefile.am:
11862 * testsuite/dlopen/dlopen_gst.c:
11863 * testsuite/dlopen/loadgst.c:
11864 * testsuite/elements/.cvsignore:
11865 * testsuite/elements/Makefile.am:
11866 * testsuite/elements/gst-inspect-check.in:
11867 * testsuite/elements/struct_i386.h:
11868 * testsuite/elements/struct_size.c:
11869 * testsuite/indexers/.cvsignore:
11870 * testsuite/indexers/Makefile.am:
11871 * testsuite/indexers/cache1.c:
11872 * testsuite/indexers/indexdump.c:
11873 * testsuite/parse/.cvsignore:
11874 * testsuite/parse/Makefile.am:
11875 * testsuite/parse/parse1.c:
11876 * testsuite/parse/parse2.c:
11877 * testsuite/plugin/.cvsignore:
11878 * testsuite/plugin/Makefile.am:
11879 * testsuite/plugin/README:
11880 * testsuite/plugin/dynamic.c:
11881 * testsuite/plugin/linked.c:
11882 * testsuite/plugin/loading.c:
11883 * testsuite/plugin/registry.c:
11884 * testsuite/plugin/static.c:
11885 * testsuite/plugin/static2.c:
11886 * testsuite/plugin/testplugin.c:
11887 * testsuite/plugin/testplugin2.c:
11888 * testsuite/plugin/testplugin2_s.c:
11889 * testsuite/plugin/testplugin_s.c:
11890 * testsuite/refcounting/.cvsignore:
11891 * testsuite/refcounting/Makefile.am:
11892 * testsuite/refcounting/bin.c:
11893 * testsuite/refcounting/element.c:
11894 * testsuite/refcounting/element_pad.c:
11895 * testsuite/refcounting/mainloop.c:
11896 * testsuite/refcounting/mem.c:
11897 * testsuite/refcounting/mem.h:
11898 * testsuite/refcounting/object.c:
11899 * testsuite/refcounting/pad.c:
11900 * testsuite/refcounting/sched.c:
11901 * testsuite/refcounting/thread.c:
11902 * testsuite/states/.cvsignore:
11903 * testsuite/states/Makefile.am:
11904 * testsuite/states/bin.c:
11905 * testsuite/states/locked.c:
11906 * testsuite/states/parent.c:
11907 * testsuite/threads/.cvsignore:
11908 * testsuite/threads/159566.c:
11909 * testsuite/threads/159852.c:
11910 * testsuite/threads/Makefile.am:
11911 * testsuite/threads/queue.c:
11912 * testsuite/threads/signals.c:
11913 * testsuite/threads/staticrec.c:
11914 * testsuite/threads/thread.c:
11915 * testsuite/threads/threadb.c:
11916 * testsuite/threads/threadc.c:
11917 * testsuite/threads/threadd.c:
11918 * testsuite/threads/threade.c:
11919 * testsuite/threads/threadf.c:
11920 * testsuite/threads/threadg.c:
11921 * testsuite/threads/threadh.c:
11922 * testsuite/threads/threadi.c:
11923 move all of these under tests
11925 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11928 * tests/Makefile.am:
11931 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11933 * docs/gst/gstreamer-sections.txt:
11934 * tests/sched/.cvsignore:
11935 * tests/sched/Makefile.am:
11936 * tests/sched/cases/(fs-fs).xml:
11937 * tests/sched/cases/(fs-i-fs).xml:
11938 * tests/sched/cases/(fs-i-i-fs).xml:
11939 * tests/sched/cases/(fs-i-q[i-fs]).xml:
11940 * tests/sched/dynamic-pipeline.c:
11941 * tests/sched/interrupt1.c:
11942 * tests/sched/interrupt2.c:
11943 * tests/sched/interrupt3.c:
11944 * tests/sched/runtestcases:
11945 * tests/sched/runxml.c:
11946 * tests/sched/sched-stress.c:
11947 * tests/sched/sort.c:
11948 * tests/sched/testcases:
11949 * tests/sched/testcases1.tc:
11950 * tests/seeking/.cvsignore:
11951 * tests/seeking/Makefile.am:
11952 * tests/seeking/seeking1.c:
11953 * tests/threadstate/.cvsignore:
11954 * tests/threadstate/Makefile.am:
11955 * tests/threadstate/test1.c:
11956 * tests/threadstate/test2.c:
11957 * tests/threadstate/threadstate1.c:
11958 * tests/threadstate/threadstate2.c:
11959 * tests/threadstate/threadstate3.c:
11960 * tests/threadstate/threadstate4.c:
11961 * tests/threadstate/threadstate5.c:
11962 remove obsolete tests
11964 * tests/bench-complexity.scm:
11965 * tests/bench-mass_elements.scm:
11966 * tests/complexity.c:
11967 * tests/complexity.gnuplot:
11968 * tests/instantiate/.cvsignore:
11969 * tests/instantiate/Makefile.am:
11970 * tests/instantiate/caps.c:
11971 * tests/mass_elements.c:
11972 * tests/network-clock-utils.scm:
11973 * tests/network-clock.scm:
11975 First pass at cleaning up tests/ dir before moving the rest
11976 Combined with CVS surgery
11978 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11981 queue has moved, update
11983 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11985 * docs/gst/gstreamer-sections.txt:
11986 remove double entries from the docs
11987 * gst/gst_private.h:
11988 * gst/gstinfo.c: (_gst_debug_init):
11989 remove the THREAD debug category
11993 * docs/gst/gstreamer.types:
11994 * plugins/elements/gstqueue.c: (gst_queue_get_type),
11995 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
11996 completely move queue and fix up debugging categories
11998 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12000 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12001 make initialization portable, using LL is not
12003 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12005 * win32/common/gstconfig.h:
12008 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12010 * win32/common/libgstreamer.def:
12011 rename symbols; sort base section
12013 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12015 * gst/gstclock.c: (do_linear_regression):
12016 remove crack non-portable handrolled DEBUG macro
12018 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12020 * docs/random/release:
12022 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12023 (gst_object_flags_get_type), (register_gst_bin_flags),
12024 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12025 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12026 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12027 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12028 (gst_caps_flags_get_type), (register_gst_clock_return),
12029 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12030 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12031 (gst_clock_flags_get_type), (register_gst_state),
12032 (gst_state_get_type), (register_gst_state_change_return),
12033 (gst_state_change_return_get_type), (register_gst_state_change),
12034 (gst_state_change_get_type), (register_gst_element_flags),
12035 (gst_element_flags_get_type), (register_gst_core_error),
12036 (gst_core_error_get_type), (register_gst_library_error),
12037 (gst_library_error_get_type), (register_gst_resource_error),
12038 (gst_resource_error_get_type), (register_gst_stream_error),
12039 (gst_stream_error_get_type), (register_gst_event_type_flags),
12040 (gst_event_type_flags_get_type), (register_gst_event_type),
12041 (gst_event_type_get_type), (register_gst_seek_type),
12042 (gst_seek_type_get_type), (register_gst_seek_flags),
12043 (gst_seek_flags_get_type), (register_gst_format),
12044 (gst_format_get_type), (register_gst_index_certainty),
12045 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12046 (gst_index_entry_type_get_type),
12047 (register_gst_index_lookup_method),
12048 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12049 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12050 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12051 (gst_index_flags_get_type), (register_gst_debug_level),
12052 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12053 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12054 (gst_iterator_result_get_type), (register_gst_iterator_item),
12055 (gst_iterator_item_get_type), (register_gst_message_type),
12056 (gst_message_type_get_type), (register_gst_mini_object_flags),
12057 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12058 (gst_pad_link_return_get_type), (register_gst_flow_return),
12059 (gst_flow_return_get_type), (register_gst_activate_mode),
12060 (gst_activate_mode_get_type), (register_gst_pad_direction),
12061 (gst_pad_direction_get_type), (register_gst_pad_flags),
12062 (gst_pad_flags_get_type), (register_gst_pad_presence),
12063 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12064 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12065 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12066 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12067 (gst_plugin_flags_get_type), (register_gst_rank),
12068 (gst_rank_get_type), (register_gst_query_type),
12069 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12070 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12071 (gst_tag_flag_get_type), (register_gst_task_state),
12072 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12073 (gst_alloc_trace_flags_get_type),
12074 (register_gst_type_find_probability),
12075 (gst_type_find_probability_get_type), (register_gst_uri_type),
12076 (gst_uri_type_get_type), (register_gst_parse_error),
12077 (gst_parse_error_get_type):
12078 * win32/common/gstenumtypes.h:
12079 * win32/common/gstversion.h:
12080 update visual studio generated files
12082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12084 * win32/vs6/libgstbase.dsp:
12085 * win32/vs6/libgstelements.dsp:
12086 update project files for new locations
12088 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12093 reinstate and update
12098 * docs/random/LICENSE:
12101 2005-11-30 Edward Hervey <edward@fluendo.com>
12103 * gst/gsttypefind.c: (gst_type_find_register):
12104 * gst/gsttypefind.h:
12105 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12106 (gst_type_find_factory_dispose):
12107 * gst/gsttypefindfactory.h:
12108 Fix memory leak in GstTypeFindFactory.
12110 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12113 * plugins/elements/Makefile.am:
12114 * plugins/elements/gstelements.c:
12115 * plugins/elements/gstqueue.c:
12116 move queue from core to the elements plugin
12118 2005-11-29 Andy Wingo <wingo@pobox.com>
12120 * libs/gst/base/gstbasetransform.h:
12121 * libs/gst/base/gstbasesrc.h:
12122 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12124 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12125 of pointers by which to pad very extensible base classes (like the
12126 ones in libs/gst/base).
12128 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12130 * docs/gst/gstreamer-docs.sgml:
12131 * docs/gst/gstreamer-sections.txt:
12132 * docs/libs/gstreamer-libs-docs.sgml:
12133 * docs/libs/gstreamer-libs-sections.txt:
12134 moving documentation from core to lib
12136 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12138 * check/Makefile.am:
12140 * docs/gst/Makefile.am:
12142 * gst/base/.cvsignore:
12143 * gst/base/Makefile.am:
12145 * gst/base/gstadapter.c:
12146 * gst/base/gstadapter.h:
12147 * gst/base/gstbasesink.c:
12148 * gst/base/gstbasesink.h:
12149 * gst/base/gstbasesrc.c:
12150 * gst/base/gstbasesrc.h:
12151 * gst/base/gstbasetransform.c:
12152 * gst/base/gstbasetransform.h:
12153 * gst/base/gstcollectpads.c:
12154 * gst/base/gstcollectpads.h:
12155 * gst/base/gstpushsrc.c:
12156 * gst/base/gstpushsrc.h:
12157 * gst/base/gsttypefindhelper.c:
12158 * gst/base/gsttypefindhelper.h:
12159 * gst/check/Makefile.am:
12160 * gst/check/gstcheck.c:
12161 * gst/check/gstcheck.h:
12162 * gst/net/Makefile.am:
12163 * gst/net/gstnet.h:
12164 * gst/net/gstnetclientclock.c:
12165 * gst/net/gstnetclientclock.h:
12166 * gst/net/gstnettimepacket.c:
12167 * gst/net/gstnettimepacket.h:
12168 * gst/net/gstnettimeprovider.c:
12169 * gst/net/gstnettimeprovider.h:
12170 * libs/gst/Makefile.am:
12171 * libs/gst/base/Makefile.am:
12172 * libs/gst/base/gstbasetransform.c:
12173 * libs/gst/check/Makefile.am:
12174 * plugins/elements/Makefile.am:
12176 CVS surgery + support to move base, check, and net out of gst
12179 2005-11-29 Andy Wingo <wingo@pobox.com>
12181 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12183 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12186 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12188 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12190 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12192 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12193 padding; reduces object size by about 30%. We don't expect
12194 anything else to go into gstobject.
12196 * gst/gstminiobject.h (struct _GstMiniObject)
12197 (struct _GstMiniObjectClass): Only one pointer of padding; the
12198 payload is only a pointer and two ints anyway. For the class there
12199 are only two methods as well.
12201 * gst/gstelement.h (struct _GstElementClass): Removed
12202 the state_changed signal callback, it is not used.
12204 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12206 * docs/gst/gstreamer.types:
12207 fix includes, though they are a little dinky
12209 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12211 * check/Makefile.am:
12212 look in the right place for elements, a lot more chance of
12215 remove indexers and elements subdirs
12216 * plugins/Makefile.am:
12217 make indexers conditional
12219 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12223 * plugins/elements/Makefile.am:
12224 * plugins/elements/gstcapsfilter.c:
12225 * plugins/elements/gstfilesink.c:
12226 * plugins/elements/gstfilesrc.c:
12227 * plugins/elements/gstidentity.c:
12228 * plugins/indexers/Makefile.am:
12229 do CVS surgery and related build fixery to move elements
12230 and indexers in a new gstreamer/plugins directory, out of the
12233 2005-11-29 Andy Wingo <wingo@pobox.com>
12235 * check/Makefile.am:
12236 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12237 * pkgconfig/gstreamer-net.pc.in:
12238 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12241 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12243 * tools/Makefile.am:
12244 * tools/gst-complete.1.in:
12245 * tools/gst-complete.c:
12246 * tools/gst-compprep.1.in:
12247 * tools/gst-compprep.c:
12248 removing -compprep and -complete
12250 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12252 * gst/gstevent.c: (gst_event_new_new_segment),
12253 (gst_event_parse_new_segment):
12255 fix #320529 - clean up new_segment API and structure.
12256 Let's hope everyone was using the methods, and not the structure.
12258 2005-11-29 Edward Hervey <edward@fluendo.com>
12260 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12261 (gst_base_sink_event), (gst_base_sink_do_sync),
12262 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12263 Properly handle non GST_FORMAT_TIME segment
12264 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12265 Properly handle non GST_FORMAT_TIME segment
12266 * gst/gstsegment.c:
12267 This function is valid if the accumulator is 0 and the format
12268 is different from the requested format.
12270 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12272 * docs/gst/gstreamer-sections.txt:
12273 Add gst_query_new_seeking and gst_query_parse_seeking to the
12276 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12278 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12279 Treat a pad alloc with new caps the same as if we were not
12280 negotiated, in order to allow a changing upstream output
12281 to produce a new format of data.
12283 2005-11-29 Edward Hervey <edward@fluendo.com>
12285 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12286 (gst_base_transform_event), (gst_base_transform_eventfunc):
12287 The event virtual method is now properly implemented, with a default
12289 Sub classes should call the parent_class event method. They should
12290 return FALSE if they had a problem handling the given event, or don't
12291 want GstBaseTransform to send that even downstream
12292 * gst/elements/gstidentity.c: (gst_identity_class_init),
12293 (gst_identity_init), (gst_identity_event),
12294 (gst_identity_transform_ip), (gst_identity_set_property),
12295 (gst_identity_get_property):
12296 * gst/elements/gstidentity.h:
12297 Added the single-segment boolean property.
12298 If set to TRUE, it will output a single segment of data, starting from
12299 0, will eat up all incoming newsegment, and modify the timestamp of the
12300 buffers accordingly
12302 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
12304 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12305 Don't ref NULL target pad (#322751). Improve docs.
12307 2005-11-29 Michael Smith <msmith@fluendo.com>
12309 * gst/gstregistryxml.c: (load_plugin):
12310 Don't crash if we failed to load a feature from a plugin.
12312 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12314 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12316 use more check API and less GLib API
12318 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12321 don't run checks if we don't have check
12322 * common/check.mak:
12323 remove the registry when running make torture
12324 * docs/gst/gstreamer-sections.txt:
12325 remove second multiply
12326 * gst/gstqueue.c: (gst_queue_loop):
12327 fix a compile warning when disabling debug
12329 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12332 Hey! Let's print the pad name if the pointer != NULL instead
12333 of when it == NULL :-)
12335 2005-11-28 Wim Taymans <wim@fluendo.com>
12337 * check/gst/gstutils.c: (GST_START_TEST):
12338 Updated check, add some scaling accuracy checking code.
12340 * gst/gstutils.c: (gst_util_div128_64),
12341 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12342 (gst_util_uint64_scale_int):
12343 Fix 6 times faster division code. Optimize for common
12344 1/1 and less common X/1 cases.
12346 2005-11-28 Wim Taymans <wim@fluendo.com>
12348 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12351 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12352 (do_linear_regression), (gst_clock_add_observation):
12354 Release lock when the clock cannot be slaved.
12355 Catch the case where the regression returned an invalid denominator.
12357 * gst/gstutils.c: (gst_util_div128_64_iterate),
12358 (gst_util_div128_64), (gst_util_uint64_scale_int64),
12359 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12360 Add protentially more performant non-iterative 128/64 divide function
12361 that unfortunatly does not work yet.
12362 Shortcut the trivial 0/X = 0 case.
12363 Remove the warnings on overflow.
12365 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12367 * gst/gstplugin.c: (gst_plugin_register_func):
12368 everything causing a plugin not to load should be at least a WARNING
12370 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12372 * docs/random/ensonic/dparams.txt:
12373 some TODOs for the next dev cycle
12374 * libs/gst/controller/gstcontroller.c:
12375 (gst_controlled_property_set_interpolation_mode),
12376 (gst_controlled_property_new):
12377 * libs/gst/controller/gstcontroller.h:
12378 use base type to assign acccessor functions
12380 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12382 * check/Makefile.am:
12383 Oops, that should have been top_srcdir
12385 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12387 * check/Makefile.am:
12388 * check/elements/fdsrc.c: (GST_START_TEST):
12389 Use a cmdline define to specify the location of a file to use for
12390 testing, to avoid breaking distcheck.
12392 2005-11-28 Andy Wingo <wingo@pobox.com>
12394 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12396 2005-11-28 Edward Hervey <edward@fluendo.com>
12398 * tools/gst-launch.c: (main):
12399 Clarify the output strings, makes it easier to translate.
12402 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12405 don't try and build net if we don't even have <sys/socket.h>
12407 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12409 * check/Makefile.am:
12410 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12411 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12412 Add tests for fdsrc seekability
12414 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12415 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12416 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12417 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12418 * gst/elements/gstfdsrc.h:
12419 fdsrc should not be a 'live' source.
12420 Implement seeking on seekable fd's.
12422 * gst/gstquery.c: (gst_query_new_seeking),
12423 (gst_query_parse_seeking):
12425 Implement SEEKING query functions:
12426 *_new_seeking and *_parse_seeking
12428 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12430 * gst/gstelement.c: (gst_element_dispose):
12433 * gst/gstiterator.c:
12434 * gst/gststructure.c:
12437 * libs/gst/controller/gstcontroller.c:
12438 (gst_controlled_property_set_interpolation_mode):
12439 * libs/gst/controller/gstcontroller.h:
12440 * libs/gst/controller/gstinterpolation.c:
12441 (interpolate_none_get_enum_value_array):
12442 support controlling enums
12444 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12447 Improve documentation for gst_value_union().
12450 Change return value for union, intersect and subtract functions
12451 from gint to gboolean.
12453 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12455 * gst/gstvalue.c: (gst_value_serialize_any_list),
12456 (gst_value_transform_any_list_string),
12457 (gst_value_deserialize_list), (gst_value_deserialize_array),
12458 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12459 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12460 (gst_value_set_fraction_range_full),
12461 (gst_value_deserialize_fraction_range),
12462 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12463 (gst_value_deserialize_boolean),
12464 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12465 (gst_value_serialize_float), (gst_value_deserialize_float),
12466 (gst_string_wrap), (gst_value_deserialize_string),
12467 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12468 (gst_value_union_int_range_int_range),
12469 (gst_value_intersect_int_range_int_range),
12470 (gst_value_intersect_double_range_double_range),
12471 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12472 (gst_value_subtract_int_range_int_range),
12473 (gst_value_subtract_double_double_range),
12474 (gst_value_subtract_double_range_double_range),
12475 (gst_value_deserialize_fraction):
12477 Use gint, gdouble and gchar in our API instead of int, double and
12478 char (and make usage in gstvalue.c more consistent).
12480 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12482 * check/Makefile.am:
12483 * libs/gst/controller/Makefile.am:
12484 * libs/gst/dataprotocol/Makefile.am:
12485 fix up Makefile.am and remove GST_ENABLE_NEW
12487 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12491 * gst/base/Makefile.am:
12492 * gst/check/Makefile.am:
12493 * gst/elements/Makefile.am:
12494 * gst/net/Makefile.am:
12495 update LDFLAGS use some more
12497 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12499 * common/m4/gst-doc.m4:
12502 2005-11-26 Edward Hervey <edward@fluendo.com>
12504 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12505 This shouldn't issue a g_warning since it returns NULL if it
12506 couldn't find the plugin, and all functions using this behave
12507 properly on a NULL return. Switching to a GST_WARNING.
12509 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12511 * gst/gstbin.c: (gst_bin_handle_message_func):
12512 Don't leak clock messages.
12514 2005-11-25 Wim Taymans <wim@fluendo.com>
12516 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12517 (gst_util_uint64_scale_int):
12518 Optimisations, remove unneeded vars.
12520 2005-11-25 Wim Taymans <wim@fluendo.com>
12522 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12523 Added more checks for the high precision uint64 cases.
12525 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12526 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12527 Implement high precision (guint64 * guint64) / guint64.
12529 2005-11-24 Wim Taymans <wim@fluendo.com>
12531 * gst/base/gstbasesrc.c: (gst_base_src_query):
12532 Fix wrong percentage query.
12534 * gst/gstutils.c: (gst_util_uint64_scale),
12535 (gst_util_uint64_scale_int):
12536 Add some more common cases that can be handled
12537 efficiently to _scale.
12539 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12541 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12542 (gst_mini_object_suite):
12543 don't use check calls from threads; check probably isn't
12544 threadsafe and using a lock to make it threadsafe would
12545 defeat the purpose of this check
12546 * gst/check/gstcheck.c:
12547 * gst/check/gstcheck.h:
12548 use GST_DEBUG some more
12550 2005-11-24 Wim Taymans <wim@fluendo.com>
12552 * gst/gstutils.c: (gst_util_uint64_scale),
12553 (gst_util_uint64_scale_int):
12554 Chain trivial case to _scale_int.
12556 2005-11-24 Wim Taymans <wim@fluendo.com>
12558 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12559 Added test for scaling.
12564 * gst/gstutils.c: (gst_util_uint64_scale_int):
12565 Implemented high precision scaling code.
12567 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12570 do not crash on pad==NULL
12572 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12574 Patch by: Stefan Kost
12576 * common/gtk-doc.mak:
12577 * docs/gst/Makefile.am:
12578 * docs/libs/Makefile.am:
12579 Fix distcheck issues for the libraries docs build
12582 2005-11-24 Michael Smith <msmith@fluendo.com>
12584 * docs/manual/basics-helloworld.xml:
12585 Fix bug #315027: memory leak in example code in docs.
12587 2005-11-24 Michael Smith <msmith@fluendo.com>
12589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12590 Unlock the PREROLL_LOCK in a failure case.
12592 2005-11-24 Wim Taymans <wim@fluendo.com>
12594 * docs/gst/gstreamer-sections.txt:
12595 * gst/base/gstadapter.h:
12596 * gst/base/gstbasesink.h:
12597 * gst/base/gstbasesrc.h:
12598 * gst/base/gstbasetransform.h:
12599 * gst/base/gstpushsrc.h:
12600 * gst/elements/gstfakesink.h:
12601 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12602 * gst/elements/gstfakesrc.h:
12603 * gst/elements/gstfilesink.h:
12604 * gst/elements/gstfilesrc.h:
12607 * gst/gstbuffer.c: (_gst_buffer_copy):
12610 * gst/gstchildproxy.c:
12612 * gst/gstelement.c:
12613 * gst/gstelementfactory.c:
12614 * gst/gstelementfactory.h:
12616 * gst/gstghostpad.h:
12618 * gst/gstinterface.h:
12619 * gst/gstminiobject.c:
12620 * gst/gstminiobject.h:
12623 * gst/gstpadtemplate.h:
12624 * gst/gstpipeline.h:
12625 * gst/gstpluginfeature.h:
12628 * gst/gsttaglist.c:
12629 * gst/gsttaglist.h:
12630 * gst/gsttagsetter.c:
12631 * gst/gsttagsetter.h:
12634 * gst/gsttypefind.h:
12637 * gst/net/gstnetclientclock.c:
12638 * gst/net/gstnetclientclock.h:
12639 * gst/net/gstnettimepacket.c:
12640 * gst/net/gstnettimeprovider.c:
12641 * gst/net/gstnettimeprovider.h:
12644 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12646 * configure.ac: back to HEAD
12648 === release 0.9.6 ===
12650 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12653 releasing 0.9.6, "Always On Time"
12655 2005-11-23 Wim Taymans <wim@fluendo.com>
12657 * docs/gst/gstreamer-sections.txt:
12658 * gst/glib-compat.c:
12659 * gst/gsttagsetter.c:
12661 * gst/net/gstnetclientclock.c:
12662 * gst/net/gstnettimepacket.h:
12665 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12667 * docs/faq/using.xml:
12668 * docs/libs/tmpl/gstcontrol.sgml:
12669 * docs/manual/advanced-dparams.xml:
12670 * docs/manual/appendix-checklist.xml:
12671 * docs/manual/basics-elements.xml:
12672 * docs/pwg/other-source.xml:
12673 * docs/random/moving-plugins:
12675 * tools/gst-launch.1.in:
12676 remove mentions of sinesrc
12678 2005-11-23 Michael Smith <msmith@fluendo.com>
12680 * docs/gst/gstreamer-sections.txt:
12681 Update for new API and API changes.
12683 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12685 Documentation typo fix.
12686 * gst/net/gstnettimepacket.c:
12687 Documentation fixes for arguments.
12689 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12691 * gst/gststructure.c: (gst_structure_get_fraction),
12692 (gst_structure_parse_value),
12693 (gst_structure_fixate_field_nearest_fraction):
12694 * gst/gststructure.h:
12695 * gst/gstutils.c: (gst_util_uint64_scale_int):
12697 * scripts/update-funcnames:
12699 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12700 Make gst_structure_fixate_field_nearest_fraction take a numerator
12701 and denominator argument instead of a GValue
12702 add gst_structure_get_fraction helper function.
12704 2005-11-23 Wim Taymans <wim@fluendo.com>
12706 * docs/design/part-TODO.txt:
12709 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12710 * gst/net/gstnetclientclock.h:
12711 Use parent fields for timeout and window_size.
12713 2005-11-23 Andy Wingo <wingo@pobox.com>
12715 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12716 rate_num/rate_denom change.
12718 * gst/net/gstnetclientclock.c
12719 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12720 OBJECT_LOCK. Don't call add_observation with the lock.
12722 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12724 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12726 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12727 deal with rate as a fraction whose numerator and denominator are
12728 GstClockTime values.
12729 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12730 master; the other fields are protected by the SLAVE_LOCK.
12731 (do_linear_regression): Note that this must be called with the
12733 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12734 OBJECT_LOCK. Call set_calibration instead of touching the
12735 variables directly.
12736 (gst_clock_set_property, gst_clock_get_property): Protect
12737 master/slave parameters with the SLAVE_LOCK.
12739 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12740 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12741 note that all of the instance variables that add_observation and
12742 the set_master functions use are protected by that lock and not
12744 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12746 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12747 the caller to take the object lock.
12749 2005-11-23 Wim Taymans <wim@fluendo.com>
12751 * gst/gsterror.c: (_gst_core_errors_init):
12753 Add error for clock stuff.
12755 * gst/gstpipeline.c: (gst_pipeline_change_state),
12756 (gst_pipeline_set_clock):
12757 Post clock error when clock cannot be used in a pipeline.
12759 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12761 * docs/gst/gstreamer-sections.txt:
12762 make two symbols from gstinfo private for the docs
12763 * gst/base/gstcollectpads.h:
12765 fix doc typos, update docs
12767 2005-11-22 Wim Taymans <wim@fluendo.com>
12769 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12770 (gst_base_sink_wait), (gst_base_sink_do_sync),
12771 (gst_base_sink_handle_event):
12772 * gst/base/gstbasesink.h:
12773 No need to store the clock, the parent element class already
12776 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12777 Updates for clock_set returning a gboolean
12779 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12780 (gst_clock_id_wait_async), (gst_clock_class_init),
12781 (gst_clock_init), (gst_clock_finalize),
12782 (gst_clock_get_internal_time), (gst_clock_get_time),
12783 (gst_clock_slave_callback), (gst_clock_set_master),
12784 (gst_clock_get_master), (do_linear_regression),
12785 (gst_clock_add_observation), (gst_clock_set_property),
12786 (gst_clock_get_property):
12788 Implement master/slave. When setting a clock as a slave, a
12789 periodic timeout is scheduled to sample master and slave times.
12790 Then the slave clock is recalibrated to match offset and rate
12791 of the master clock.
12792 Update logging a bit.
12793 Add flag so that a clock can state that is cannot be slaved to
12796 * gst/gstelement.c: (gst_element_set_clock):
12797 * gst/gstelement.h:
12798 The set clock returns a gboolean for when an element cannot
12799 deal with the selected clock in the pipeline.
12801 * gst/gstpipeline.c: (gst_pipeline_change_state),
12802 (gst_pipeline_set_clock):
12803 * gst/gstpipeline.h:
12804 Handle the case where the selected clock cannot be set on
12807 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12808 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12809 (gst_net_client_clock_set_property),
12810 (gst_net_client_clock_get_property),
12811 (gst_net_client_clock_observe_times):
12812 * gst/net/gstnetclientclock.h:
12813 Use regression code in GstClock parent, remove duplicated
12816 2005-11-22 Michael Smith <msmith@fluendo.com>
12818 * gst/gstutils.c: (gst_util_clock_time_scale):
12820 * docs/gst/gstreamer-sections.txt:
12821 Rename method to have extra underscore.
12823 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
12825 * gst/elements/Makefile.am:
12826 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12827 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12828 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12829 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12830 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12831 * gst/elements/gstfakesrc.h:
12832 * gst/gstqueue.c: (queue_leaky_get_type):
12833 correctly fix GEnumValues so that nick is the short lowercase
12835 * tools/gst-inspect.c: (print_element_properties_info):
12836 also show the nick, since it's useful to use from parse_launch
12840 2005-11-22 Michael Smith <msmith@fluendo.com>
12842 * gst/gstutils.c: (gst_util_clocktime_scale):
12844 * docs/gst/gstreamer-sections.txt:
12845 Add util method for scaling a clocktime by a fraction. Useful
12846 implementation is left as an exercise for the reader.
12848 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12850 * gst/gstvalue.c: (gst_value_collect_fraction_range):
12851 If needed, allocate storage in the destination value during
12854 2005-11-22 Edward Hervey <edward@fluendo.com>
12856 * docs/gst/gstreamer-sections.txt:
12859 * gst/gsturitype.c:
12860 * gst/gsturitype.h:
12861 * gst/gstutils.c: (gst_util_set_object_arg):
12862 * tools/gst-compprep.c: (main):
12863 * tools/gst-inspect.c: (print_element_properties_info):
12864 Removed GstURI, closes bug #321061
12866 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12868 * check/gst/gststructure.c: (GST_START_TEST):
12869 * gst/gststructure.c: (gst_structure_parse_value):
12870 Oops, broke automatic string type parsing.
12871 Add a test to catch it in future.
12873 2005-11-22 Andy Wingo <wingo@pobox.com>
12875 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
12876 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
12877 Actually rename the function implementations. Grr.
12879 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12881 * check/gst/capslist.h:
12883 * check/gst/gststructure.c: (GST_START_TEST),
12884 (gst_structure_suite):
12885 Test automatic value type detection in gst_structure_from_string.
12886 * gst/gststructure.c: (gst_structure_parse_value):
12887 Add fraction as a type we try and guess automatically in
12888 caps/structure strings.
12890 2005-11-22 Andy Wingo <wingo@pobox.com>
12892 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
12894 * gst/gsttagsetter.h:
12895 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
12896 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
12897 (gst_tag_setter_add_tag_valist)
12898 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
12899 _add_values, _add_valist, and _add_valist_values. Since this is an
12900 interface the function suffixes should be more explicit so
12901 language binding don't end up with element.add_valist ->
12902 gst_tag_setter_add_valist, for example. Fixes #322069.
12904 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12906 * check/gst/gstcaps.c: (GST_START_TEST):
12907 Extend caps string tests to check that a caps to string
12908 conversion is reversible and produces the same caps.
12910 * gst/gststructure.c: (gst_structure_value_get_generic_type):
12911 Output "fraction" as the generic type fraction range, so caps
12912 serialisation and deserialisation works.
12913 * check/gst/capslist.h:
12914 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12915 Support 'MIN' and 'MAX' for deserialising fractions.
12917 2005-11-22 Andy Wingo <wingo@pobox.com>
12919 * gst/gstevent.h (gst_event_new_new_segment)
12920 (gst_event_parse_new_segment, gst_event_new_buffer_size)
12921 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
12922 Renamed from *_newsegment, *_buffersize, *_notarget.
12924 * scripts/update-funcnames: New script, performs the changes
12927 2005-11-22 Wim Taymans <wim@fluendo.com>
12929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12930 Make sure the GstFlowReturn is returned.
12932 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
12933 (gst_bus_add_signal_watch):
12935 add gst_bus_add_signal_watch_full.
12937 * gst/gstplugin.c: (gst_plugin_load_file):
12938 Small style cleanup.
12940 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12942 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
12943 Block the fakesrc srcpad when we send an event, to avoid
12944 contention on the stream_lock causing random test failures.
12946 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12948 * check/gst/gstvalue.c: (GST_START_TEST):
12949 * gst/gstvalue.c: (gst_value_fraction_subtract):
12952 2005-11-22 Stefan Kost <ensonic@users.sf.net>
12955 include "gstchildproxy.h"
12956 * gst/gstchildproxy.h:
12957 * libs/gst/controller/gstcontroller.h:
12958 use G_GNUC_NULL_TERMINATED
12960 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12962 * check/gst/capslist.h:
12963 * check/gst/gstcaps.c: (GST_START_TEST):
12964 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12965 * gst/gststructure.c: (gst_structure_parse_range),
12966 (gst_structure_fixate_field_nearest_fraction):
12967 * gst/gststructure.h:
12968 * gst/gstvalue.c: (gst_value_init_fraction_range),
12969 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
12970 (gst_value_collect_fraction_range),
12971 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
12972 (gst_value_set_fraction_range_full),
12973 (gst_value_get_fraction_range_min),
12974 (gst_value_get_fraction_range_max),
12975 (gst_value_serialize_fraction_range),
12976 (gst_value_transform_fraction_range_string),
12977 (gst_value_compare_fraction_range),
12978 (gst_value_deserialize_fraction_range),
12979 (gst_value_intersect_fraction_fraction_range),
12980 (gst_value_intersect_fraction_range_fraction_range),
12981 (gst_value_subtract_fraction_fraction_range),
12982 (gst_value_subtract_fraction_range_fraction),
12983 (gst_value_subtract_fraction_range_fraction_range),
12984 (gst_value_collect_fraction), (gst_value_fraction_multiply),
12985 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
12986 (gst_value_transform_string_fraction), (_gst_value_initialize):
12988 Implement fraction ranges and extend GstFraction to support
12989 arithmetic subtraction, as well as deserialization from integer
12990 strings such as "100"
12991 Add a testsuite as for int and double range set operations
12993 2005-11-21 Andy Wingo <wingo@pobox.com>
12995 * gst/gsttaglist.h:
12997 * gst/gststructure.h: Add glib-compat.h.
12999 2005-11-21 Wim Taymans <wim@fluendo.com>
13001 * gst/gstbin.c: (gst_bin_change_state_func):
13004 2005-11-21 Wim Taymans <wim@fluendo.com>
13006 * gst/gstsegment.h:
13007 And add a nice define too.
13009 2005-11-21 Wim Taymans <wim@fluendo.com>
13011 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13012 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13013 (gst_segment_set_duration), (gst_segment_set_last_stop),
13014 (gst_segment_set_seek), (gst_segment_set_newsegment),
13015 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13016 (gst_segment_clip):
13017 * gst/gstsegment.h:
13018 Make binding friendly.
13020 2005-11-21 Andy Wingo <wingo@pobox.com>
13022 * gst/gsttagsetter.h:
13023 * gst/gsttaglist.h:
13024 * gst/gststructure.h:
13026 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13029 * gst/gsterror.c (_gst_core_errors_init):
13030 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13033 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13034 (noinst_HEADERS): noinst the -private.
13036 2005-11-21 Michael Smith <msmith@fluendo.com>
13039 * gst/gstregistry.h:
13040 Remove unimplemented declarations for which we can see no sensible
13043 2005-11-21 Andy Wingo <wingo@pobox.com>
13045 * gst/gst.h: Include glib-compat.h.
13047 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13049 * gst/glib-compat.c: Include the public and the private header.
13051 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13055 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13057 * check/gst/gstevent.c (create_custom_events): Check that
13058 FLUSH_STOP is serialized.
13060 * check/elements/identity.c (event_func):
13061 * check/elements/fakesrc.c (event_func): No stream lock, the core
13064 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13065 stream lock taking, yay.
13067 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13068 ensure that core takes the stream lock.
13070 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13073 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13074 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13075 it already. For the flush start we do take it though so we get the
13076 right preroll state change messages.
13078 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13079 the stream lock here, the core does it for us.
13081 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13082 GST_STREAM_GET_LOCK.
13083 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13084 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13085 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13086 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13087 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13088 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13090 * gst/gstpad.c: Update for stream lock name change.
13092 * gst/base/gstbasesink.c: Update for preroll lock name change.
13094 2005-11-21 Wim Taymans <wim@fluendo.com>
13096 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13097 (gst_clock_get_master):
13099 * gst/gstsystemclock.c: (gst_system_clock_init):
13100 Convert Clock flags to object flags.
13101 Added methods to manage master/slave clocks.
13103 2005-11-21 Wim Taymans <wim@fluendo.com>
13105 * check/gst/gstsegment.c: (GST_START_TEST):
13106 * docs/design/part-TODO.txt:
13107 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13108 (gst_base_sink_event), (gst_base_sink_do_sync),
13109 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13110 (gst_base_sink_query), (gst_base_sink_change_state):
13111 * gst/base/gstbasesink.h:
13112 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13113 (gst_base_src_default_newsegment),
13114 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13115 (gst_base_src_get_range), (gst_base_src_loop),
13116 (gst_base_src_change_state):
13117 * gst/base/gstbasesrc.h:
13118 * gst/base/gstbasetransform.c:
13119 (gst_base_transform_prepare_output_buf),
13120 (gst_base_transform_event), (gst_base_transform_change_state):
13121 * gst/base/gstbasetransform.h:
13122 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13123 (gst_collect_pads_event):
13124 * gst/base/gstcollectpads.h:
13125 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13126 (gst_fake_src_create):
13127 * gst/elements/gstfakesrc.h:
13128 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13129 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13130 (gst_segment_set_last_stop), (gst_segment_set_seek),
13131 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13132 (gst_segment_to_running_time), (gst_segment_clip):
13133 * gst/gstsegment.h:
13134 More segment updates, replace code in plugins with segment
13137 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13139 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13140 Don't ignore sscanf results
13142 2005-11-21 Andy Wingo <wingo@pobox.com>
13144 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13147 * *.c: Ran scripts/update-macros. Oh yes.
13149 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13150 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13153 * scripts/update-macros: New script. Run it on your files to
13154 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13157 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13159 * docs/gst/Makefile.am:
13160 * docs/gst/gstreamer-docs.sgml:
13161 * docs/gst/gstreamer-sections.txt:
13162 * docs/gst/gstreamer.types:
13164 more docs fixes, add new api to the docs
13166 2005-11-21 Andy Wingo <wingo@pobox.com>
13168 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13169 state_broadcast call.
13171 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13173 2005-11-21 Julien MOUTTE <julien@moutte.net>
13175 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13176 function calls for arrays.
13178 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13180 * docs/random/ensonic/media-device-daemon.txt:
13181 wild idea, can this be done?
13182 * docs/gst/gstreamer-sections.txt:
13187 * gst/gstpluginfeature.c:
13191 doc fixes and additions
13193 2005-11-21 Andy Wingo <wingo@pobox.com>
13195 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13196 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13197 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13198 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13199 private to the basesrc implementation.
13201 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13202 behalf of event function if necessary. It should no longer be
13203 necessary to take the stream lock in pad's event functions. Fixes
13206 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13207 * docs/gst/gstreamer-sections.txt:
13208 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13209 (gst_structure_fixate_field_nearest_double),
13210 (gst_structure_fixate_field_boolean):
13211 * gst/gststructure.h:
13212 * win32/common/libgstreamer.def:
13213 * win32/gstreamer.def:
13215 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13218 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13220 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13221 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13222 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13223 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13224 (gst_fdsrc_uri_handler_init):
13225 * gst/elements/gstfdsrc.h:
13226 Port fd:// URI handler from 0.8 to fdsrc
13228 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13230 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13231 (gst_value_serialize_fourcc):
13233 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13234 consistent with our other format defines (#320324).
13236 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13238 * gst/gstvalue.c: (gst_value_is_fixed):
13239 Revert previous commit. Value lists are by definition
13240 not fixed, as they are a list of possible values.
13242 2005-11-21 Andy Wingo <wingo@pobox.com>
13244 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13245 during the stable series if we need it. Fixes #319178.
13247 * gst/gstevent.c (gst_event_new_filler): Removed.
13249 * check/gst/gstevent.c: Update comment about filler events.
13251 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13253 * gst/gstvalue.c: (gst_value_is_fixed):
13254 Should handle both value arrays and value lists.
13256 2005-11-21 Andy Wingo <wingo@pobox.com>
13258 patch by: Alessandro Dessina <alessandro nnva org>
13260 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13261 functions to access arrays. Fixes #321962.
13263 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13265 * docs/gst/gstreamer.types:
13266 gst_collectpads_get_type => gst_collect_pads_get_type.
13268 * gst/base/gstbasetransform.c:
13269 Remove unused SIGNAL_HANDOFF enum.
13271 2005-11-21 Andy Wingo <wingo@pobox.com>
13273 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13274 the event type (upstream, downstream, serialized). Renamed
13275 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13276 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13277 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13279 * gst/gstevent.c: Update for new CUSTOM event names.
13281 * check/gst/gstevent.c: Update check for new CUSTOM event names.
13284 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13287 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13289 * docs/gst/gstreamer-sections.txt:
13290 * win32/common/libgstbase.def:
13291 * win32/libgstbase.def:
13292 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13293 (gst_collect_pads_class_init), (gst_collect_pads_init),
13294 (gst_collect_pads_finalize), (gst_collect_pads_new),
13295 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13296 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13297 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13298 (gst_collect_pads_start), (gst_collect_pads_stop),
13299 (gst_collect_pads_peek), (gst_collect_pads_pop),
13300 (gst_collect_pads_available), (gst_collect_pads_read),
13301 (gst_collect_pads_flush), (gst_collect_pads_event),
13302 (gst_collect_pads_chain):
13303 * gst/base/gstcollectpads.h:
13304 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13305 unimplemented functions as unimplemented. Add padding to
13306 GstCollectData. (#320766, #320423)
13308 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13310 * gst/gstmessage.c:
13311 Improve docs for DURATION message (usage of duration parameter)
13314 2005-11-20 Wim Taymans <wim@fluendo.com>
13316 * check/Makefile.am:
13317 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13321 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13322 (gst_segment_set_seek), (gst_segment_set_newsegment),
13323 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13324 (gst_segment_clip):
13325 * gst/gstsegment.h:
13326 Added segment helper structure and methods. Not fully implemented
13328 Added segment check.
13330 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
13332 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13333 Add a deserialisation test for fractions
13334 * examples/metadata/read-metadata.c: (message_loop),
13335 (make_pipeline), (main):
13336 Fix up metadata reading sample.
13337 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13339 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13340 Don't try and fixate empty caps
13341 * gst/gst_private.h:
13342 Wrap in G_BEGIN_DECLS/G_END_DECLS
13343 * gst/gstvalue.c: (gst_value_collect_fraction),
13344 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13345 (gst_value_transform_string_fraction),
13346 (gst_value_compare_fraction):
13347 Add some extra guards to ensure that we don't end up
13348 with an invalid denominator of 0 in a gstfraction and
13349 that fractions always get reduced.
13351 2005-11-20 Wim Taymans <wim@fluendo.com>
13353 * docs/gst/gstreamer-sections.txt:
13355 * gst/gstelement.c:
13364 2005-11-20 Wim Taymans <wim@fluendo.com>
13366 * docs/design/part-TODO.txt:
13368 Make a proper enum of the flag.
13370 2005-11-19 Wim Taymans <wim@fluendo.com>
13372 * docs/design/part-TODO.txt:
13373 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13374 (gst_format_to_quark), (gst_format_register):
13376 * gst/gstquery.c: (_gst_query_initialize),
13377 (gst_query_type_get_name), (gst_query_type_to_quark),
13378 (gst_query_type_register):
13380 Add type to quark and type to string conversions.
13382 2005-11-19 Andy Wingo <wingo@pobox.com>
13384 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13387 2005-11-19 Wim Taymans <wim@fluendo.com>
13389 * docs/design/part-TODO.txt:
13390 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13391 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13392 (gst_bin_handle_message_func):
13394 Make message handling overridable.
13396 2005-11-19 Andy Wingo <wingo@pobox.com>
13398 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13401 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13403 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13404 is a GstClockTime. Fixes #321710.
13406 * gst/gstclock.h (GstClock): Remove offset property. Add
13407 internal_calibration and external_calibration. Fix padding. Pad
13408 also by GstClockTime so we don't run into problems.
13410 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13411 (gst_clock_get_rate_offset): Remove.
13412 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13415 * gst/gstutils.c (g_static_rec_cond_wait)
13416 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13418 * gst/gstbin.c: Remove terrible continue_state prototype.
13420 * gst/gstelement.h (gst_element_continue_state): Make public.
13422 * gst/gstelement.h:
13423 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13424 by continue_state. Fixes #319389.
13426 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13427 Really fixes #168438. However I don't see anywhere where the
13428 filter function is called... stupid GStreamer...
13430 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13431 don't have a dispose function, so it won't get called when the
13432 object is unreffed, but oh well!
13434 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13435 allows a destroy function to be set so user_data can be freed.
13437 (gst_index_set_filter): Call gst_index_set_filter_full.
13439 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13441 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13442 string should produce an error, given the lack of a way to
13443 represent NULL strings. Fixes #165650.
13446 * gst/gstvalue.c (gst_value_array_append_value)
13447 (gst_value_array_prepend_value, gst_value_array_get_size)
13448 (gst_value_array_get_value): New API, copied from
13449 gst_value_list_*, only operates on arrays.
13450 (gst_value_list_append_value, gst_value_list_prepend_value)
13451 (gst_value_list_concat, gst_value_list_get_size)
13452 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13454 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13455 init_list, because it works on both.
13456 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13457 (gst_value_copy_list_or_array): Renamed from copy_list.
13458 (gst_value_free_list_or_array): Renamed from free_list.
13459 (gst_value_collect_list_or_array): Renamed from collect_list.
13460 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13461 (gst_value_list_or_array_peek_pointer): Renamed from
13463 (_gst_value_array_value_table, _gst_value_list_value_table):
13464 Update value table functions.
13465 (gst_value_compare_list_or_array): Renamed from compare_list.
13467 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13470 * gst/gsttaglist.c:
13471 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13472 GstTagList*. Fixes #143472.
13474 * gst/gststructure.h: Clarify what the foreach/map functions can
13475 or can't do to their arguments.
13477 2005-11-18 Wim Taymans <wim@fluendo.com>
13479 * gst/gstclock.c: (gst_clock_set_calibration),
13480 (gst_clock_get_calibration):
13482 Calibration can be set with internal time equal to current
13485 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13491 2005-11-18 Andy Wingo <wingo@pobox.com>
13494 * pkgconfig/gstreamer-net.pc.in:
13495 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13496 * pkgconfig/Makefile.am: Add net pkgconfig files.
13498 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13501 * gst/gstghostpad.c:
13507 2005-11-18 Andy Wingo <wingo@pobox.com>
13509 * gst/net/gstnetclientclock.c: Turn off debugging.
13511 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13512 times connverge somewhat. Can't make a real test.
13514 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13515 integer arithmetic. Return the minimum of the domain, which can be
13516 set as "internal" for gst_clock_set_calibration.
13517 (gst_net_client_clock_observe_times): Call _set_calibration.
13518 (gst_net_client_clock_new): Call _set_calibration instead of
13521 * check/net/gstnetclientclock.c (test_functioning): Use the right
13525 * gst/gstclock.c (gst_clock_get_calibration)
13526 (gst_clock_set_calibration): New functions, obsolete the ones I
13527 added yesterday. Doh. Precision issues mean we have to extrapolate
13528 from a point in the more recent past than 1970.
13529 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13531 (gst_clock_adjust_unlocked): Use the right calibration data.
13533 2005-11-18 Edward Hervey <edward@fluendo.com>
13535 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13536 Also reset the ->current_* values in READY->PAUSED
13538 2005-11-18 Andy Wingo <wingo@pobox.com>
13540 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13541 Whoops, check the right fd. Also add some debugging.
13542 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13543 (do_linear_regression): Add a crapload of debugging. Subtract off
13544 the minimum values from the input series to discard unneeded bits.
13545 Use only int arithmetic. There is still double arithmetic when
13546 calculating the intercept that needs fixing. Return boolean to
13547 indicate success; FALSE would mean the domain or range is too
13548 great. Still needs fixes.
13550 2005-11-18 Wim Taymans <wim@fluendo.com>
13552 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13553 For the current position in stream time, we need to subtract
13556 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13557 Release lock before calling the callback function of async
13560 2005-11-18 Andy Wingo <wingo@pobox.com>
13562 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13563 Port goes all the way to MAXUINT16.
13565 * gst/net/gstnettimeprovider.c: Make the port range the same as
13566 for the kernel: 0 assigns, otherwise ports are less than
13569 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13572 * check/net/gstnetclientclock.c (test_functioning): Add the start
13575 2005-11-18 Wim Taymans <wim@fluendo.com>
13577 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13578 (gst_bin_remove_func), (bin_bus_handler):
13580 Removing a clock provider from a bin, triggers a clock lost message
13581 so that a new clock will be selected.
13582 Adding a clock to a bin triggers a clock provider message.
13583 Make sure we reselect a clock when we received a clock lost message.
13584 Keep a reference to the element that provided the clock.
13586 2005-11-18 Andy Wingo <wingo@pobox.com>
13588 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13589 the clock initially so it produces values around the base time.
13590 (gst_net_client_clock_class_init): Typo fix.
13591 (gst_net_client_clock_thread): Add note on when the socket gets
13594 2005-11-17 Wim Taymans <wim@fluendo.com>
13596 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13597 Free remote and local time arrays.
13599 2005-11-17 Wim Taymans <wim@fluendo.com>
13601 * gst/net/gstnetclientclock.c: (do_linear_regression),
13602 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13603 Fix compilation, uninitialized vars and a forgotten continue.
13605 2005-11-17 Andy Wingo <wingo@pobox.com>
13607 * check/Makefile.am (check_PROGRAMS):
13608 * check/net/gstnetclientclock.c: Add a most minimal test for the
13609 net client clock. More to come later.
13611 * gst/net/gstnet.h:
13612 * gst/net/Makefile.am: Add netclientclock.
13614 * gst/net/gstnetclientclock.h:
13615 * gst/net/gstnetclientclock.c: New files, implement an untested
13616 GstClock that takes its time from a network time provider.
13617 Implements the algorithm in network-clock.scm.
13619 * tests/network-clock.scm (*window-size*): Rename from
13621 * tests/network-clock.scm (network-time):
13622 * tests/network-clock-utils.scm (q-push): Update callers.
13624 2005-11-17 Wim Taymans <wim@fluendo.com>
13626 * gst/gstbin.c: (gst_bin_provide_clock_func),
13627 (gst_bin_sort_iterator_new):
13628 And unref the child too..
13630 2005-11-17 Wim Taymans <wim@fluendo.com>
13632 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13633 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13634 Refactor the sort iterator so it can be used while holding the
13636 Make clock selection select a clock closest to the source.
13638 2005-11-17 Michael Smith <msmith@fluendo.com>
13640 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13641 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13643 Anonymous structs are a gcc (and some other compilers) extension, so
13644 don't use them. Since this is only for ABI-compatibility, and our
13645 API/ABI freeze is over in a few days, this whole thing will only
13646 last a few days, so don't bother trying to think up a meaningful
13647 name for the struct.
13649 2005-11-17 Andy Wingo <wingo@pobox.com>
13651 * gst/gstclock.h (GstClock): Add rate and offset properties,
13652 preserving ABI stability. Add rate/offset accessors. Will file bug
13653 for the freeze break.
13655 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13656 and offset, trying to keep precision and avoiding
13657 underflow/overflow.
13658 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13659 functions. Make gst_clock_set_time_adjust obsolete.
13660 (gst_clock_set_time_adjust): Note that this function is obsolete.
13661 Will file bug soon.
13663 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13664 greppable by using GST_PADDING-1+1.
13666 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13668 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13670 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13671 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13673 * gst/gstpadtemplate.h:
13674 * gst/gstpluginfeature.h:
13675 Don't use c++ style comments in headers (#321638).
13677 2005-11-16 Andy Wingo <wingo@pobox.com>
13679 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13682 * check/net/gstnettimeprovider.c: Check to see that the time
13683 provider actually provides times. Works, yo!
13685 2005-11-16 Wim Taymans <wim@fluendo.com>
13687 * check/Makefile.am:
13690 * check/elements/fakesrc.c: (GST_START_TEST):
13691 Set element to NULL before disposing it.
13693 2005-11-16 Andy Wingo <wingo@pobox.com>
13695 * gst/net/Makefile.am:
13696 * gst/net/gstnet.h:
13697 * gst/net/gstnettimeprovider.c:
13698 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13699 provider, include it from gstnet.h, and add it to the build.
13701 * gst/net/gstnettimepacket.h:
13702 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13703 sending and receiving.
13705 2005-11-16 Wim Taymans <wim@fluendo.com>
13707 * check/Makefile.am:
13708 Enable valgrind check.
13710 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13711 (gst_fake_src_alloc_buffer):
13714 2005-11-16 Wim Taymans <wim@fluendo.com>
13716 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13717 Call parent finalize too.
13719 2005-11-16 Wim Taymans <wim@fluendo.com>
13721 * check/Makefile.am:
13722 Enable valgrind check that should work fine now.
13724 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13725 * gst/gstqueue.c: (gst_queue_init):
13726 Fix memleaks in pad allocation.
13728 2005-11-16 Andy Wingo <wingo@pobox.com>
13730 * gst/net/Makefile.am:
13731 * gst/net/gstnet.h: New part of core to hold network elements and
13732 objects. Put in core because it exposes API that applications want
13733 to use. The library is named libgstnet-tempname right now because
13734 of the existing libgstnet in gst-plugins-base. Solution is
13735 probably to rename the one in plugins-base; will file a bug for
13738 * gst/net/gstnettimeprovider.c:
13739 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13740 get_time call over the network.
13743 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13745 * check/Makefile.am:
13746 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13747 get additions shortly.
13749 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13751 * gst/gstpad.c: (gst_pad_new_from_static_template):
13753 add gst_pad_new_from_static_template functions
13754 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13755 (gst_check_setup_sink_pad):
13756 * gst/elements/gsttee.c: (gst_tee_init):
13759 2005-11-16 Wim Taymans <wim@fluendo.com>
13761 * gst/gstpad.c: (gst_pad_pause_task):
13762 Removed warning, it's not really an error either.
13764 2005-11-16 Wim Taymans <wim@fluendo.com>
13766 * gst/base/gstbasetransform.c:
13767 (gst_base_transform_prepare_output_buf),
13768 (gst_base_transform_event):
13769 Check if the caps are NULL, this can happen if the element
13770 is shutting down and the pad caps are set to NULL.
13772 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13774 * gst/elements/gsttee.c: (gst_tee_init):
13775 fix pad template leak in tee
13777 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13779 * gst/glib-compat.c: (g_value_dup_gst_object):
13780 * gst/glib-compat.h:
13781 * gst/gstpad.c: (gst_pad_set_property):
13782 use gst_object_ref when setting the pad template; this will
13783 trigger the pad template leaks on GLib 2.6 and the slaves
13785 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13787 * gst/glib-compat.c: (gst_flags_get_first_value):
13788 * gst/glib-compat.h:
13789 * gst/gstregistryxml.c:
13790 remove functions copied from GLib 2.6
13792 2005-11-16 Michael Smith <msmith@fluendo.com>
13795 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13796 do, but only breaks with newer valgrind versions. We're not a
13797 valgrind tool, we have no link-time dependencies on libcoregrind.
13799 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13801 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13803 * gst/gstmessage.h:
13806 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13808 * gst/base/gstbasesrc.c: (gst_base_src_init):
13809 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13810 * gst/gstqueue.c: (gst_queue_init):
13811 * gst/gstregistryxml.c: (load_feature):
13812 Revert all these unrefs, they don't even pass make check !
13814 2005-11-15 Johan Dahlin <johan@gnome.org>
13816 * gst/base/gstbasesrc.c: (gst_base_src_init):
13817 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13818 * gst/gstqueue.c: (gst_queue_init):
13819 Free pad templates, fixes a couple of leaks.
13821 2005-11-15 Daniel Fischer <dan at f3c dot com>
13823 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13825 * gst/gstpad.c: (gst_pad_get_property):
13826 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13827 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13830 2005-11-15 Wim Taymans <wim@fluendo.com>
13835 2005-11-15 Andy Wingo <wingo@pobox.com>
13837 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13839 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13840 using GST_CLOCK_TIME_NONE to disable base time management.
13841 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13842 time if it was NONE before.
13843 (gst_pipeline_change_state): Only munge the base time if
13844 stream_time != GST_CLOCK_TIME_NONE.
13846 * check/gst/gstpipeline.c (test_base_time): Punt around the
13847 problem of the probe not being called, because that's not the
13848 issue I'm looking at. Add a check that setting stream_time to NONE
13849 disables base time management.
13851 2005-11-15 Wim Taymans <wim@fluendo.com>
13853 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13854 segment_stop == -1 at startup.
13856 * gst/base/gstbasetransform.c: (gst_base_transform_event),
13857 (gst_base_transform_change_state):
13858 Init segment values at start.
13860 2005-11-15 Wim Taymans <wim@fluendo.com>
13862 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13863 0 segment values are 0 in any format.
13865 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13866 * gst/base/gstbasetransform.h:
13867 Parse newsegment correctly in basetransform
13869 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13870 Sync to clock using updated segment values.
13872 2005-11-15 Andy Wingo <wingo@pobox.com>
13874 * check/gst/gstpipeline.c (test_base_time): Add check that the
13875 base time and stream time are reset correctly.
13877 2005-11-15 Wim Taymans <wim@fluendo.com>
13879 * docs/design/part-TODO.txt:
13880 Some more TODO items.
13882 2005-11-15 Andy Wingo <wingo@pobox.com>
13884 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
13885 error if the user selected "no clock" as the clocking method.
13887 * check/gst/gstpipeline.c (test_base_time): New test for buffer
13888 timestamps with live capture.
13890 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
13891 is 0 but we are a live source, timestamp the buffers using the
13894 2005-11-14 Stefan Kost <ensonic@users.sf.net>
13896 * docs/gst/gstreamer-sections.txt:
13898 * gst/gstghostpad.c:
13903 2005-11-14 Wim Taymans <wim@fluendo.com>
13906 add suppressions from Wim's Debian machine
13908 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
13911 add suppressions from Andy's AMD64 Ubuntu machine
13913 2005-11-14 Andy Wingo <wingo@pobox.com>
13915 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
13916 STATE_LOCK not necessary. Fixes #311489.
13918 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
13921 * gst/gstindex.c (gst_index_add_object): Note in the docs that
13922 this function is not implemented.
13924 2005-11-14 Julien MOUTTE <julien@moutte.net>
13926 * gst/base/gstbasetransform.c:
13927 (gst_base_transform_prepare_output_buf):
13928 Ref the source pad caps while we need them.
13931 2005-11-11 Wim Taymans <wim@fluendo.com>
13933 * docs/gst/gstreamer-sections.txt:
13934 Added some docs for GstCollectData.
13936 * gst/base/gstadapter.c:
13937 Some small code example fix.
13939 * gst/base/gstcollectpads.c:
13940 * gst/base/gstcollectpads.h:
13941 Document some more.
13943 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
13945 * configure.ac: back to HEAD
13947 === release 0.9.5 ===
13949 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
13952 releasing 0.9.5, "Bike Lunch Day"
13954 2005-11-11 Wim Taymans <wim@fluendo.com>
13956 * gst/gstbuffer.c: (_gst_buffer_copy):
13959 * gst/gstcaps.c: (gst_caps_is_equal):
13961 Make _is_equal fast in the trivial cases.
13963 * gst/gstminiobject.c:
13964 * gst/gstminiobject.h:
13965 More docs. Spifify .h file.
13970 2005-11-11 Wim Taymans <wim@fluendo.com>
13972 * gst/base/gstbasetransform.c:
13973 (gst_base_transform_prepare_output_buf),
13974 (gst_base_transform_handle_buffer):
13976 If we're processing a buffer and need to allocate an output
13977 buffer, we cannot accept a format change. If we did get a
13978 format change, we have to alloc a buffer ourselves of the
13981 2005-11-11 Wim Taymans <wim@fluendo.com>
13983 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
13984 While checking the flag for reentrancy in the gstcaps function
13985 is nice to detect recursive invocations, it also makes it
13986 impossible to call getcaps from multiple threads, which must be
13987 possible. So, checking for recursive calls has to go.
13989 2005-11-11 Michael Smith <msmith@fluendo.com>
13991 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13992 Don't sync on buffers that fall partially outside our current
13993 segment. Prevents an assertion failure/abort playing some files.
13995 2005-11-10 Andy Wingo <wingo@pobox.com>
13997 * check/gst/gstbin.c (test_message_state_changed_children): Style
14000 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14001 gst_bus_poll with the signal watch. Ensures that poll and a signal
14002 watch see the same messages.
14004 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14005 a poll and a watch at the same time get the same messages.
14007 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14009 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14010 * gst/gstcaps.c: (gst_caps_intersect):
14011 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14012 and it's not needed.
14014 2005-11-10 Wim Taymans <wim@fluendo.com>
14016 * docs/design/part-TODO.txt:
14019 2005-11-10 Wim Taymans <wim@fluendo.com>
14021 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14022 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14023 (gst_base_src_do_sync), (gst_base_src_get_range):
14024 Implement clock sync in base class.
14026 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14028 patch by: Tim-Philipp Müller <tim at centricular dot net>
14030 * gst/gststructure.c: (gst_structure_parse_field),
14031 (gst_structure_from_string):
14032 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14033 so that gst_parse_launch() can deal with spaces in filtered link
14034 caps (fixes #164479)
14035 * check/gst/capslist.h:
14036 * check/gst/gststructure.c: (GST_START_TEST):
14037 add unit tests for this change
14039 2005-11-10 Wim Taymans <wim@fluendo.com>
14041 * docs/gst/gstreamer-sections.txt:
14042 * gst/gstelement.c:
14043 * gst/gstelement.h:
14044 Fix docs, move some STATE macros to private.
14046 2005-11-10 Wim Taymans <wim@fluendo.com>
14048 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14049 Added check for bug #317341
14053 Some more spiffifying.
14055 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14056 Call peer linkfunction if we are a source pad. Totally fixes
14060 Update docs, source pads should call the peer linkfunction
14061 so they can atomically perform the pad link.
14063 2005-11-09 Wim Taymans <wim@fluendo.com>
14067 Uber-spiffy-spiffify some more.
14069 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14071 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14072 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14073 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14074 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14075 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14076 * gst/gstpad.c: (gst_pad_init):
14077 Use GST_DEBUG_FUNCPTR() more extensively.
14079 2005-11-09 Wim Taymans <wim@fluendo.com>
14081 * gst/gstobject.c: (gst_object_class_init):
14083 Documentation fixes.
14085 2005-11-09 Edward Hervey <edward@fluendo.com>
14087 * gst/gsttypefindfactory.c:
14090 2005-11-09 Edward Hervey <edward@fluendo.com>
14092 * gst/base/gsttypefindhelper.c:
14093 * gst/gsttypefind.c:
14094 * gst/gsttypefind.h:
14097 2005-11-09 Wim Taymans <wim@fluendo.com>
14099 * gst/gstiterator.c:
14106 2005-11-09 Wim Taymans <wim@fluendo.com>
14112 2005-11-09 Wim Taymans <wim@fluendo.com>
14114 * docs/gst/gstreamer-sections.txt:
14115 Moved the message async delivery private lock and cond
14116 to the private section.
14118 * gst/gstmessage.c:
14119 * gst/gstmessage.h:
14122 2005-11-09 Edward Hervey <edward@fluendo.com>
14124 * docs/gst/gstreamer-sections.txt:
14127 Document GstURIHandler
14129 2005-11-09 Wim Taymans <wim@fluendo.com>
14131 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14132 (gst_iterator_find_custom):
14133 * gst/gstiterator.h:
14136 2005-11-09 Wim Taymans <wim@fluendo.com>
14139 Document another field.
14141 * gst/gststructure.c:
14142 * gst/gststructure.h:
14145 2005-11-09 Wim Taymans <wim@fluendo.com>
14148 Documented structs.
14150 2005-11-09 Wim Taymans <wim@fluendo.com>
14152 * docs/gst/gstreamer-sections.txt:
14153 Added some new macros.
14160 2005-11-09 Wim Taymans <wim@fluendo.com>
14162 * docs/design/part-TODO.txt:
14163 Some more items for the TODO
14169 2005-11-09 Andy Wingo <wingo@pobox.com>
14171 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14172 to work on something else now tho...
14174 * gst/base/gstadapter.c: More adapter docs.
14176 * gst/elements/gstfilesink.c (gst_file_sink_start)
14177 (gst_file_sink_stop): New functions, replace the state change
14179 (gst_file_sink_class_init): Hook up the start and stop functions.
14180 (gst_file_sink_base_init): Don't set the state change handler any
14181 more. It was a bit ugly too, being set from here...
14182 (gst_file_sink_get_property, gst_file_sink_set_property):
14184 (gst_file_sink_set_location): More robust check that doesn't call
14185 GST_STATE. Ugggggg.
14187 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14189 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14190 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14192 2005-11-08 Wim Taymans <wim@fluendo.com>
14194 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14195 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14196 (gst_base_sink_chain), (gst_base_sink_change_state):
14197 * gst/base/gstbasesink.h:
14198 * gst/base/gstbasesrc.h:
14199 * gst/gstelement.h:
14201 Avoid excessive typechecking in macros.
14203 * gst/gstminiobject.c: (gst_mini_object_get_type),
14204 (gst_mini_object_init), (gst_mini_object_new),
14205 (gst_mini_object_free):
14206 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14207 (gst_object_finalize):
14208 Remove cruft code, optimize alloc_trace.
14210 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14212 * docs/faq/gst-uninstalled:
14213 fix up PS1 for systems that try to reset it
14215 2005-11-07 Wim Taymans <wim@fluendo.com>
14217 * gst/base/gstbasesrc.c: (gst_base_src_init),
14218 (gst_base_src_get_range):
14219 Set the segment_end to -1 initially. Fixed typefind.
14221 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14223 * gst/base/gstadapter.c:
14224 Debug category should be 'adapter', not 'GstAdapter'.
14226 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14227 (gst_collectpads_class_init), (gst_collectpads_init),
14228 (gst_collectpads_peek), (gst_collectpads_pop),
14229 (gst_collectpads_event), (gst_collectpads_chain):
14230 Add debug category and some debugging output. Use boilerplate
14231 macros. Remove some extraneous words from docs.
14233 2005-11-05 Andy Wingo <wingo@pobox.com>
14235 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14238 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14240 * docs/gst/gstreamer-sections.txt:
14243 * gst/gstminiobject.h:
14248 2005-11-04 Wim Taymans <wim@fluendo.com>
14250 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14251 Small update to stop at the configured segment_end
14254 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14256 * gst/gstregistry.c:
14257 * gst/gstregistry.h:
14260 2005-11-04 Edward Hervey <edward@fluendo.com>
14262 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14263 Check if we are doing a segment seek and have arrived at the
14264 end of that segment.
14266 2005-11-04 Wim Taymans <wim@fluendo.com>
14268 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14269 Don't leak a mutex unlock in case of an error.
14274 2005-11-04 Wim Taymans <wim@fluendo.com>
14276 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14278 Get the context to wake up only once.
14280 2005-11-03 Wim Taymans <wim@fluendo.com>
14282 * check/states/sinks.c: (GST_START_TEST):
14283 Uncomment fixed check.
14285 * docs/design/part-TODO.txt:
14288 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14289 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14290 (gst_base_sink_get_position):
14291 If we are going to PLAYING, post the right pending state
14292 when we post the intermediate paused message.
14294 * gst/gstelement.c: (gst_element_continue_state),
14295 (gst_element_set_state_func), (gst_element_change_state):
14296 Don't post state changes that were between the same state
14297 and were not ASYNC.
14299 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14301 * docs/gst/gstreamer-sections.txt:
14304 * gst/gstminiobject.h:
14307 more docs and doc style fixes
14309 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14311 * docs/gst/gstreamer-sections.txt:
14312 * gst/gstelement.c:
14313 * gst/gstminiobject.c:
14316 2005-11-03 Andy Wingo <wingo@pobox.com>
14318 * check/states/sinks.c (test_livesrc_sink): Add checks that the
14319 state-changed messages actually have the right order and the right
14322 2005-11-03 Wim Taymans <wim@fluendo.com>
14324 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14325 Added some more checks. Specifically the case where NO_PREROLL
14326 elements are in the pipeline.
14328 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14329 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14330 (gst_base_sink_get_position):
14331 Post READY->PAUSED state change messages too.
14332 Fix bug where VOID was posted as pending state...
14334 * gst/gstbin.c: (gst_bin_recalc_state):
14335 use _element_continue_state() to continue the state change.
14337 * gst/gstelement.c: (gst_element_continue_state),
14338 (gst_element_commit_state), (gst_element_set_state_func),
14339 (gst_element_change_state), (gst_element_change_state_func):
14340 Lots of state change cleanups, assign the STATE_RETURN in
14341 a new continue_state() function that also propagates the
14342 last return value from a state change to the app.
14343 Update some debug statements with proper category.
14345 2005-11-03 Wim Taymans <wim@fluendo.com>
14347 * docs/design/part-events.txt:
14348 * docs/design/part-gstpipeline.txt:
14349 * docs/design/part-messages.txt:
14350 * docs/design/part-overview.txt:
14351 * docs/design/part-seeking.txt:
14352 * docs/design/part-states.txt:
14353 * docs/design/part-trickmodes.txt:
14354 * docs/manual/advanced-position.xml:
14355 Small docs updates.
14358 People think !! is ugly, this looks better.
14360 * gst/gstpad.c: (gst_pad_set_blocked_async):
14361 Remove !! since it's fixed elsewhere now.
14363 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14365 * gst/gstminiobject.h:
14367 Add !! to _FLAG_IS_SET macros to make the result boolean.
14369 2005-11-03 Edward Hervey <edward@fluendo.com>
14371 * gst/gstpad.c: (gst_pad_set_blocked_async):
14372 comparing a flag and a gboolean rarely returns coherent results...
14373 Added two characters (!!) to make that work correctly.
14375 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14377 * gst/gstbus.c: (gst_bus_class_init):
14380 * gst/gstqueue.c: (gst_queue_loop):
14381 Don't assume a miniobject that isn't a buffer is an
14382 event (it could be that there is a refcounting
14383 problem somewhere and the pointer is stale and
14384 refers to an already destroyed miniobject).
14386 2005-11-03 Julien MOUTTE <julien@moutte.net>
14388 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14390 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14392 * docs/manual/advanced-position.xml:
14393 Update seek example and explanations to current 0.9 API.
14395 * gst/elements/gsttypefindelement.c:
14396 (gst_type_find_element_activate):
14397 Remove FIXME comment now that the found caps
14400 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14402 * gst/gstregistryxml.c: (load_feature):
14403 Add another GST_STR_NULL instance
14405 2005-11-02 Edward Hervey <edward@fluendo.com>
14407 * gst/gstpad.c: (handle_pad_block):
14408 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14410 2005-11-02 Wim Taymans <wim@fluendo.com>
14415 * gst/gstelement.c: (gst_element_commit_state):
14416 Remove unused value.
14418 * gst/gstiterator.c:
14419 Mention that the returned element is reffed in the docs.
14421 2005-11-02 Wim Taymans <wim@fluendo.com>
14423 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14424 (gst_pad_push), (gst_pad_push_event):
14425 Unlock blocked pads when they are flushed.
14427 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14430 * docs/gst/gstreamer-sections.txt:
14433 * gst/gstregistry.c: (gst_registry_scan_path_level):
14434 fix for a nasty little missed situation where an installed plug-in
14435 which was in the cache did not get overridden by an uninstalled one
14436 which was earlier in the plugin path because the newly created plugin
14437 for the uninstalled one (not in the registry) didn't get its
14438 ->registered set to TRUE
14440 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14442 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14443 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14444 (gst_collectpads_is_active), (gst_collectpads_collect),
14445 (gst_collectpads_collect_range), (gst_collectpads_start),
14446 (gst_collectpads_stop), (gst_collectpads_peek),
14447 (gst_collectpads_pop), (gst_collectpads_available),
14448 (gst_collectpads_read), (gst_collectpads_flush):
14449 Guard public API with assertions.
14452 Fix docs for gst_pad_set_link_function().
14454 2005-11-02 Johan Dahlin <johan@gnome.org>
14456 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14457 Unref found_caps after we used it.
14459 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14461 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14462 Don't try to ref NULL.
14464 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14466 * win32/common/config.h.in:
14467 provide a GST_FUNCTION that just gives a string for now
14469 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14471 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14472 (gst_object_flags_get_type), (register_gst_bin_flags),
14473 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14474 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14475 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14476 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14477 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14478 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14479 (gst_clock_flags_get_type), (register_gst_state),
14480 (gst_state_get_type), (register_gst_state_change_return),
14481 (gst_state_change_return_get_type), (register_gst_state_change),
14482 (gst_state_change_get_type), (register_gst_element_flags),
14483 (gst_element_flags_get_type), (register_gst_core_error),
14484 (gst_core_error_get_type), (register_gst_library_error),
14485 (gst_library_error_get_type), (register_gst_resource_error),
14486 (gst_resource_error_get_type), (register_gst_stream_error),
14487 (gst_stream_error_get_type), (register_gst_event_type),
14488 (gst_event_type_get_type), (register_gst_seek_type),
14489 (gst_seek_type_get_type), (register_gst_seek_flags),
14490 (gst_seek_flags_get_type), (register_gst_format),
14491 (gst_format_get_type), (register_gst_index_certainty),
14492 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14493 (gst_index_entry_type_get_type),
14494 (register_gst_index_lookup_method),
14495 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14496 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14497 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14498 (gst_index_flags_get_type), (register_gst_debug_level),
14499 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14500 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14501 (gst_iterator_result_get_type), (register_gst_iterator_item),
14502 (gst_iterator_item_get_type), (register_gst_message_type),
14503 (gst_message_type_get_type), (register_gst_mini_object_flags),
14504 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14505 (gst_pad_link_return_get_type), (register_gst_flow_return),
14506 (gst_flow_return_get_type), (register_gst_activate_mode),
14507 (gst_activate_mode_get_type), (register_gst_pad_direction),
14508 (gst_pad_direction_get_type), (register_gst_pad_flags),
14509 (gst_pad_flags_get_type), (register_gst_pad_presence),
14510 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14511 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14512 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14513 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14514 (gst_plugin_flags_get_type), (register_gst_rank),
14515 (gst_rank_get_type), (register_gst_query_type),
14516 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14517 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14518 (gst_tag_flag_get_type), (register_gst_task_state),
14519 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14520 (gst_alloc_trace_flags_get_type),
14521 (register_gst_type_find_probability),
14522 (gst_type_find_probability_get_type), (register_gst_uri_type),
14523 (gst_uri_type_get_type), (register_gst_parse_error),
14524 (gst_parse_error_get_type):
14525 * win32/common/gstversion.h:
14526 update win32 copies
14528 2005-11-01 Luca Ognibene <luogni@tin.it>
14531 fix docs. popt is dead, long live GOption.
14533 2005-10-31 Wim Taymans <wim@fluendo.com>
14538 2005-10-31 Andy Wingo <wingo@pobox.com>
14542 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14544 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14545 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14546 the possibility of deadlocks here if code calling notify() or
14547 set() has a lock that can be taken in another notify handler (ABBA
14548 with class lock and e.g. python GIL state lock).
14550 2005-10-28 Julien MOUTTE <julien@moutte.net>
14552 * gst/gstbus.c: Doc updates.
14554 2005-10-28 Wim Taymans <wim@fluendo.com>
14556 * docs/design/part-TODO.txt:
14557 * gst/gstiterator.c:
14558 * gst/gstsystemclock.c:
14559 * gst/gstsystemclock.h:
14562 2005-10-28 Edward Hervey <edward@fluendo.com>
14564 * docs/gst/gstreamer-docs.sgml:
14565 * docs/gst/gstreamer-sections.txt:
14566 the GstURIType documentation page is private, it only defines GstURIType
14567 which should be defined in the GstURIHandler page
14569 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14571 * gst/gstbin.c: (gst_bin_class_init):
14574 Documentation updates.
14576 2005-10-28 Wim Taymans <wim@fluendo.com>
14578 * docs/gst/gstreamer-sections.txt:
14581 Documented the clocks.
14583 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14585 * docs/gst/gstreamer-sections.txt:
14586 move some macros to private sections
14587 * gst/gstminiobject.c:
14588 * gst/gstminiobject.h:
14589 add descriptions provided by ds and some more
14591 mark macro as to be removed
14593 2005-10-28 Wim Taymans <wim@fluendo.com>
14595 * docs/design/part-TODO.txt:
14596 Add an item to TODO.
14598 * gst/gstiterator.c: (gst_iterator_fold),
14599 (gst_iterator_find_custom):
14600 * gst/gstiterator.h:
14603 2005-10-28 Wim Taymans <wim@fluendo.com>
14605 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14606 (gst_base_transform_init):
14609 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14610 An EOS event marks the queue as completely filled.
14612 2005-10-27 Wim Taymans <wim@fluendo.com>
14614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14615 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14616 Some more debugging.
14618 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14619 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14620 (gst_base_transform_event), (gst_base_transform_getrange),
14621 (gst_base_transform_chain):
14622 * gst/base/gstbasetransform.h:
14624 Protect transform and concurrent buffer alloc with a new lock.
14625 Try not to break ABI/API.
14627 2005-10-27 Wim Taymans <wim@fluendo.com>
14629 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14630 (gst_base_src_init), (gst_base_src_query),
14631 (gst_base_src_default_newsegment),
14632 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14633 (gst_base_src_send_event), (gst_base_src_event_handler),
14634 (gst_base_src_pad_get_range), (gst_base_src_loop),
14635 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14636 (gst_base_src_start), (gst_base_src_deactivate),
14637 (gst_base_src_activate_push), (gst_base_src_change_state):
14638 Move some stuff around and cleanup things.
14640 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14642 * gst/base/gstbasesrc.c: (gst_base_src_query):
14643 Add missing break statements.
14645 2005-10-27 Wim Taymans <wim@fluendo.com>
14647 * check/gst/gstbin.c: (GST_START_TEST):
14648 An extra refcount is taken in basesrc.
14650 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14651 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14652 (gst_base_src_loop):
14653 Small cleanups, check for flushing after being unlocked from the
14654 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14655 Don't send out EOS when going to READY.
14657 2005-10-27 Wim Taymans <wim@fluendo.com>
14659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14660 (gst_base_sink_get_position):
14663 * gst/gstbin.c: (message_check), (bin_replace_message),
14664 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14665 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14666 (bin_query_duration_init), (bin_query_duration_fold),
14667 (bin_query_duration_done), (bin_query_generic_fold),
14669 * tools/gst-launch.c: (main):
14672 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14674 * examples/controller/audio-example.c: (main):
14675 * examples/queue/queue.c: (event_loop):
14676 * gst/base/gstbasetransform.h:
14677 * gst/gstelement.c: (gst_element_send_event):
14679 * gst/gstpad.c: (gst_pad_send_event):
14682 changing log priority in error situations
14684 2005-10-25 Wim Taymans <wim@fluendo.com>
14686 * gst/gstbin.c: (message_check), (bin_replace_message),
14687 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14688 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14689 (bin_query_duration_init), (bin_query_duration_fold),
14690 (bin_query_duration_done), (bin_query_generic_fold),
14692 Some doc and debug updates.
14693 Cache previously requested query DURATION for speed. invalidate
14694 cached duration if element posts a DURATION message.
14696 2005-10-25 Wim Taymans <wim@fluendo.com>
14698 * docs/design/part-TODO.txt:
14701 * gst/gstbin.c: (message_check), (bin_replace_message),
14702 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14703 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14704 (bin_query_duration_init), (bin_query_duration_fold),
14705 (bin_query_duration_done), (bin_query_generic_fold),
14707 Handle SEGMENT_START/DONE messages correctly.
14708 More evolved query algorithm that handles duration queries
14711 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14712 (gst_element_get_state_func), (gst_element_abort_state),
14713 (gst_element_commit_state), (gst_element_lost_state):
14714 Some more debugging.
14716 * gst/gstmessage.h:
14719 2005-10-25 Wim Taymans <wim@fluendo.com>
14721 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14722 Don't use invalid stream_time.
14724 * gst/gstevent.c: (gst_event_new_newsegment):
14725 stream_time in newsegment cannot be undefined.
14727 2005-10-24 Wim Taymans <wim@fluendo.com>
14732 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14734 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14736 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14738 * docs/libs/tmpl/gstdparam.sgml:
14739 * docs/libs/tmpl/gstdplinint.sgml:
14740 * docs/libs/tmpl/gstdpman.sgml:
14741 * docs/libs/tmpl/gstdpsmooth.sgml:
14742 * docs/libs/tmpl/gstunitconvert.sgml:
14745 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14750 === release 0.9.4 ===
14752 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14755 releasing 0.9.4, "Tyrannosaurus Rex"
14757 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14759 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14760 (gst_file_sink_get_current_offset):
14761 Use fseeko() and ftello() if available. When falling back on
14762 lseek() to get the current offset, fflush() first to make sure
14763 everything is up-to-date and we get the right offset.
14765 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14767 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14768 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14769 * gst/gsterror.c: (_gst_stream_errors_init):
14771 * gst/gstqueue.c: (gst_queue_loop):
14773 remove prematurely added error category and clean up the instances
14775 2005-10-21 Wim Taymans <wim@fluendo.com>
14777 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14778 (gst_base_sink_get_position), (gst_base_sink_query),
14779 (gst_base_sink_change_state):
14780 Simply set the right flag when going to playing, that's all
14781 we need to do instead of calling a function inside the object
14782 lock (that could take the lock as well and deadlock)
14784 2005-10-21 Wim Taymans <wim@fluendo.com>
14786 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14787 (gst_base_src_loop):
14788 Don't warn, the peer element knows what to do best when
14789 the seek failed, it might try something else.
14791 2005-10-21 Wim Taymans <wim@fluendo.com>
14793 * gst/base/gstbasesrc.c: (gst_base_src_init),
14794 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14797 2005-10-21 Wim Taymans <wim@fluendo.com>
14799 * docs/design/part-segments.txt:
14802 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14803 Correctly set caps, even on the subbufer.
14805 2005-10-21 Wim Taymans <wim@fluendo.com>
14807 * docs/gst/gstreamer-docs.sgml:
14808 * docs/gst/gstreamer-sections.txt:
14809 * gst/gstelement.h:
14812 * gst/gstmessage.h:
14815 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14819 And 2% more doc coverage.
14821 2005-10-21 Andy Wingo <wingo@pobox.com>
14823 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14824 position reporting.
14826 2005-10-20 Wim Taymans <wim@fluendo.com>
14828 * gst/gsterror.c: (gst_error_get_message):
14831 * gst/gststructure.c:
14836 2005-10-20 Wim Taymans <wim@fluendo.com>
14841 Another 1% more coverage.
14843 2005-10-20 Wim Taymans <wim@fluendo.com>
14845 * docs/gst/gstreamer-sections.txt:
14846 * gst/gstelement.c: (gst_element_get_state_func),
14847 (gst_element_abort_state), (gst_element_commit_state),
14848 (gst_element_lost_state):
14850 * gst/gstquery.c: (gst_query_set_position),
14851 (gst_query_parse_position), (gst_query_set_duration),
14852 (gst_query_parse_duration), (gst_query_new_convert):
14854 Yay! 1% more docs coverage.
14856 2005-10-20 Wim Taymans <wim@fluendo.com>
14859 * gst/gstquery.c: (gst_query_set_position),
14860 (gst_query_parse_position), (gst_query_set_duration),
14861 (gst_query_parse_duration), (gst_query_new_convert):
14863 * gst/gstutils.c: (gst_element_query_convert):
14865 Docs and consistency fixes.
14867 2005-10-20 Wim Taymans <wim@fluendo.com>
14873 2005-10-20 Wim Taymans <wim@fluendo.com>
14875 * gst/gstbin.c: (message_check), (bin_replace_message),
14876 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14877 (update_degree), (gst_bin_sort_iterator_next),
14878 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
14879 Reworked the message handling a bit, cache the messages instead of
14880 only the senders. alows us to do more in the future.
14882 2005-10-20 Wim Taymans <wim@fluendo.com>
14884 * docs/design/part-TODO.txt:
14887 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14888 (gst_base_sink_query):
14889 Don't use clock time to report position when in EOS.
14891 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
14893 * tools/gst-inspect.c: (print_interfaces),
14894 (print_element_properties_info), (print_element_info):
14895 Fix interface output with gst-inspect -a; don't print
14896 newlines after double/float properties.
14898 2005-10-20 Wim Taymans <wim@fluendo.com>
14900 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14901 (gst_base_sink_query):
14902 Speed up current position calculation.
14904 * gst/base/gstbasesrc.c: (gst_base_src_query),
14905 (gst_base_src_default_newsegment):
14906 Correctly set stream position in newsegment.
14908 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
14909 (update_degree), (gst_bin_sort_iterator_next),
14910 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
14911 * gst/gstmessage.c: (gst_message_new_custom):
14912 Clean up debugging info
14914 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14915 (gst_queue_loop), (gst_queue_handle_src_query):
14918 2005-10-19 Wim Taymans <wim@fluendo.com>
14920 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14921 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14922 Fix query handling again.
14924 2005-10-19 Wim Taymans <wim@fluendo.com>
14926 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14927 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14928 * gst/base/gstbasesrc.c: (gst_base_src_query):
14929 * gst/elements/gstfilesink.c: (gst_file_sink_query):
14930 * gst/elements/gsttypefindelement.c:
14931 (gst_type_find_handle_src_query), (find_element_get_length),
14932 (gst_type_find_element_activate):
14935 * gst/gstquery.c: (gst_query_new_position),
14936 (gst_query_set_position), (gst_query_parse_position),
14937 (gst_query_new_duration), (gst_query_set_duration),
14938 (gst_query_parse_duration), (gst_query_set_segment),
14939 (gst_query_parse_segment):
14941 Bundling query position/duration is not a good idea since duration
14942 does not change much and we don't want to recalculate it for every
14943 position query, so they are separated again..
14944 Base value in segment query is not needed.
14946 * gst/gstqueue.c: (gst_queue_handle_src_query):
14947 * gst/gstutils.c: (gst_element_query_position),
14948 (gst_element_query_duration), (gst_pad_query_position),
14949 (gst_pad_query_duration):
14951 Updates for query API change.
14952 Added some docs here and there.
14954 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
14956 * check/gst/gstbin.c: (GST_START_TEST):
14957 * check/gst/gstghostpad.c: (GST_START_TEST):
14958 * check/pipelines/cleanup.c: (GST_START_TEST):
14959 wait on thread to die so we can check refcount correctly
14961 2005-10-18 Wim Taymans <wim@fluendo.com>
14963 * check/pipelines/stress.c: (GST_START_TEST):
14964 Make check a little more time consuming.
14966 2005-10-18 Wim Taymans <wim@fluendo.com>
14968 * check/Makefile.am:
14969 * check/pipelines/stress.c: (GST_START_TEST),
14970 (simple_launch_lines_suite), (main):
14971 Small state change torture test.
14973 * docs/design/part-states.txt:
14974 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14975 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
14976 (gst_base_sink_change_state):
14977 Never take state lock from streaming thread, clean up ugly
14978 hacks. Unfortunatly core does not yet support nice ways to
14979 async commit state.
14981 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
14983 Start state recalc if a STATE_DIRTY message is posted, but only
14984 on the toplevel bin.
14986 * gst/gstelement.c: (gst_element_sync_state_with_parent),
14987 (gst_element_get_state_func), (gst_element_abort_state),
14988 (gst_element_commit_state), (gst_element_lost_state),
14989 (gst_element_set_state_func), (gst_element_change_state):
14990 * gst/gstelement.h:
14991 State variables are now protected with the LOCK, the state
14992 lock is only used to serialize _set_state().
14994 2005-10-18 Wim Taymans <wim@fluendo.com>
14996 * check/gst/gstbin.c: (GST_START_TEST):
14997 * check/gst/gstmessage.c: (GST_START_TEST):
14998 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14999 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15001 * gst/gstelement.c: (gst_element_abort_state),
15002 (gst_element_commit_state), (gst_element_lost_state):
15003 * gst/gstmessage.c: (gst_message_new_state_changed),
15004 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15005 (gst_message_new_segment_done), (gst_message_new_duration),
15006 (gst_message_parse_state_changed),
15007 (gst_message_parse_segment_start),
15008 (gst_message_parse_segment_done), (gst_message_parse_duration):
15009 * gst/gstmessage.h:
15010 * tools/gst-launch.c: (event_loop):
15011 Seriously, this is better than a previous commit as we only need
15012 to notify the fact that an element changed state in a streaming
15013 thread, marking the state of the parents dirty, hence the
15014 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15017 2005-10-18 Wim Taymans <wim@fluendo.com>
15019 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15020 (gst_bin_recalc_func):
15021 * gst/gstelement.c: (gst_element_set_clock),
15022 (gst_element_abort_state), (gst_element_lost_state):
15023 Cleanups, prepare for state change fixes.
15025 2005-10-18 Wim Taymans <wim@fluendo.com>
15028 * gst/gstelement.c: (gst_element_class_init),
15029 (gst_element_set_state), (gst_element_set_state_func):
15030 * gst/gstelement.h:
15031 Pending ABI changes.
15032 GThreadPool in GstBinClass to monitor async state changes.
15033 state_cookie in GstElement to detect concurrent gst/set state.
15034 set_state is now virtual too in case a very complicated element
15035 has to be constructed.
15037 2005-10-18 Wim Taymans <wim@fluendo.com>
15039 * check/gst/gstbin.c: (GST_START_TEST):
15040 * check/gst/gstmessage.c: (GST_START_TEST):
15041 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15042 * gst/gstbin.c: (bin_bus_handler):
15043 * gst/gstelement.c: (gst_element_commit_state),
15044 (gst_element_lost_state):
15045 * gst/gstmessage.c: (gst_message_new_state_changed),
15046 (gst_message_new_segment_start), (gst_message_new_segment_done),
15047 (gst_message_new_duration), (gst_message_parse_state_changed),
15048 (gst_message_parse_segment_start),
15049 (gst_message_parse_segment_done), (gst_message_parse_duration):
15050 * gst/gstmessage.h:
15051 * tools/gst-launch.c: (event_loop):
15052 Make messages future proof.
15053 state-change gets a flag if it was a message comming from the
15055 segment-start/stop can also be specified in other formats.
15056 A message to notify an app that a pipeline changed playback
15058 Also fix a GstMessage leak in -launch
15060 2005-10-18 Andy Wingo <wingo@pobox.com>
15062 * gst/gstelement.c (gst_element_dispose): More helpful message.
15064 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15066 reviewed by: <delete if not using a buddy>
15068 * common/gtk-doc.mak:
15070 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15072 * gst/gstregistry.c: (gst_registry_scan_path_level):
15073 unref a plug-in we get that was already initialized
15075 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15077 * docs/gst/gstreamer-sections.txt:
15078 * docs/libs/gstreamer-libs-sections.txt:
15079 * gst/gstelement.h:
15080 add new api entries
15081 hide internal macro
15083 2005-10-17 Andy Wingo <wingo@pobox.com>
15085 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15088 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15090 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15092 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15093 (gst_element_get_state_func): Better debug message.
15094 (gst_element_commit_state): s/INFO/DEBUG/.
15095 (gst_element_lost_state, gst_element_change_state):
15097 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15098 (gst_message_new_custom): s/INFO/LOG/.
15100 2005-10-17 Michael Smith <msmith@fluendo.com>
15102 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15103 Check if end time is valid using end time, not start time.
15105 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15107 * check/gst-libs/controller.c: (GST_START_TEST),
15108 (gst_controller_suite):
15109 * libs/gst/controller/gstcontroller.c:
15110 (gst_controlled_property_set_interpolation_mode):
15111 * libs/gst/controller/gstcontroller.h:
15112 * libs/gst/controller/gstinterpolation.c:
15113 * testsuite/controller/.cvsignore:
15114 * testsuite/controller/Makefile.am:
15115 * testsuite/controller/interpolator.c:
15116 merge controller testsuites
15118 remove mem-chunk from docs
15120 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15122 * gst/gstmemchunk.c:
15123 * gst/gstmemchunk.h:
15124 * gst/gsttrashstack.c:
15125 * gst/gsttrashstack.h:
15126 out. get out. you're fired. to the Attic !
15128 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15130 * gst/gstcaps.c: (gst_caps_intersect):
15131 fix signedness issues in a (hopefully) correct way
15132 * gst/gstelement.c: (gst_element_pads_activate):
15134 * gst/gstobject.c: (gst_object_set_parent):
15137 2005-10-17 Julien MOUTTE <julien@moutte.net>
15139 * gst/gstvalue.h: Fix prototypes.
15141 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15143 * docs/gst/gstreamer-sections.txt:
15144 * gst/gst.c: (gst_version_string):
15146 * gst/gstversion.h.in:
15147 * win32/common/libgstreamer.def:
15148 add gst_version_string ()
15150 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15154 * gst/gst.c: (init_post):
15155 * win32/common/config.h.in:
15157 * gst/gstcaps.c: (gst_caps_intersect):
15158 use gint64, the range could be bigger than a guint
15160 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15163 document potential problem in 2038
15165 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15167 * gst/gstcaps.c: (gst_caps_intersect):
15168 Fix guint j diving under 0
15170 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15173 * win32/common/config.h:
15174 * win32/common/config.h.in:
15175 check for process.h, declares getpid() on Windows
15177 include process.h if we have it
15178 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15179 * gst/gstmemchunk.h:
15180 fix signedness issues
15181 * win32/common/libgstreamer.def:
15184 2005-10-16 Julien MOUTTE <julien@moutte.net>
15186 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15187 fix. Because of unsigned ints, caps intersection was going nuts and
15188 trying to access structures with G_MAXUINT index. That fixes
15189 videotestsrc ! ffmpegcolorspace ! fakesink
15190 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15193 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15196 use the gettext macro
15197 * gst/elements/gstelements.c:
15199 * gst/indexers/gstindexers.c:
15200 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15201 * win32/common/config.h:
15203 * win32/common/config.h.in:
15204 add the template to generate config.h
15205 * win32/common/gstenumtypes.c:
15206 * win32/common/gstversion.h:
15209 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15211 * gst/gst.c: (gst_version):
15212 * gst/gstversion.h.in:
15215 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15218 Oops, add missing closing bracket.
15220 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15223 use common m4's for argument checking
15225 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15227 * docs/gst/gstreamer-sections.txt:
15229 Add GST_EVENT_TYPE_NAME() macro.
15231 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15234 * gst/gstpluginfeature.c:
15236 privatize more symbols
15238 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15241 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15242 everything that uses GStreamer API should have the includes
15244 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15246 * docs/gst/gstreamer-sections.txt:
15247 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15249 give each value a _get_type, removes the DATA exports
15251 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15255 remove _gst_registry_auto_load, not used anymore
15256 * gst/gstbin.c: (gst_bin_get_type):
15258 * gst/gstelement.c: (gst_element_get_type):
15259 * gst/gstelement.h:
15260 * gst/gstobject.c: (gst_object_get_type):
15262 * gst/gstpad.c: (gst_pad_get_type):
15264 make _get_type functions similar, fixes data export from library
15266 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15269 correctly make conditionals
15270 * gst/elements/Makefile.am:
15271 * gst/elements/gstelements.c:
15272 fix typo causing fdsrc not to build
15274 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15276 * testsuite/Makefile.am:
15277 * testsuite/bytestream/.cvsignore:
15278 * testsuite/bytestream/Makefile.am:
15279 * testsuite/bytestream/filepadsink.c:
15280 * testsuite/bytestream/gstbstest.c:
15281 * testsuite/bytestream/test1.c:
15282 * testsuite/bytestream/testfile1:
15283 * testsuite/caps/normalisation.c:
15284 * testsuite/caps/random.c: (main):
15285 * testsuite/cleanup/.cvsignore:
15286 * testsuite/cleanup/Makefile.am:
15287 * testsuite/cleanup/cleanup1.c:
15288 * testsuite/cleanup/cleanup2.c:
15289 * testsuite/cleanup/cleanup3.c:
15290 * testsuite/cleanup/cleanup4.c:
15291 * testsuite/cleanup/cleanup5.c:
15292 * testsuite/controller/interpolator.c:
15293 * testsuite/debug/printf_extension.c: (main):
15294 * testsuite/elements/tee.c:
15295 * testsuite/negotiation/.cvsignore:
15296 * testsuite/negotiation/Makefile.am:
15297 * testsuite/negotiation/pad_link.c:
15298 * testsuite/pad/Makefile.am:
15299 * testsuite/pad/chainnopull.c:
15300 * testsuite/pad/getnopush.c:
15301 * testsuite/pad/link.c:
15302 * testsuite/refcounting/sched.c: (create_pipeline):
15303 * testsuite/registry/Makefile.am:
15304 * testsuite/registry/gst-print-formats.c:
15305 * testsuite/schedulers/.cvsignore:
15306 * testsuite/schedulers/142183-2.c:
15307 * testsuite/schedulers/142183.c:
15308 * testsuite/schedulers/143777-2.c:
15309 * testsuite/schedulers/143777.c:
15310 * testsuite/schedulers/147713.c:
15311 * testsuite/schedulers/147819.c:
15312 * testsuite/schedulers/147894-2.c:
15313 * testsuite/schedulers/147894.c:
15314 * testsuite/schedulers/Makefile.am:
15315 * testsuite/schedulers/group_link.c:
15316 * testsuite/schedulers/queue_link.c:
15317 * testsuite/schedulers/relink.c:
15318 * testsuite/schedulers/unlink.c:
15319 * testsuite/schedulers/unref.c:
15320 * testsuite/schedulers/useless_iteration.c:
15321 * testsuite/states/bin.c:
15322 clean out/remove some stuff from the testsuite directories
15324 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15327 check for some headers
15328 * gst/elements/Makefile.am:
15329 * gst/elements/gstelements.c:
15330 don't compile fdsrc without sys/socket.h
15331 * gst/indexers/Makefile.am:
15332 * gst/indexers/gstindexers.c: (plugin_init):
15333 don't compile fileindex without mmap
15335 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15342 * check/Makefile.am:
15343 * docs/gst/Makefile.am:
15344 * examples/helloworld/Makefile.am:
15346 * gst/base/Makefile.am:
15347 * gst/check/Makefile.am:
15348 * gst/elements/Makefile.am:
15349 * gst/indexers/Makefile.am:
15350 * gst/parse/Makefile.am:
15351 * libs/gst/controller/Makefile.am:
15352 * libs/gst/dataprotocol/Makefile.am:
15353 * examples/helloworld/helloworld.c: (event_loop):
15354 compile fixes, though it's not being compiled currently
15356 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15358 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15359 Add some simple tests for the new taglist date API.
15361 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15363 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15364 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15365 Beautify 'last-message' output: print 'none' for buffer timestamps
15366 and durations if none is set; improve alignment with next messages.
15368 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15370 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15371 * gst/gstpluginfeature.h:
15372 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15373 * gst/gstregistry.h:
15374 * docs/gst/gstreamer-sections.txt:
15375 Add new API to check plugin feature version requirements.
15377 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15378 Some basic tests for the above.
15380 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15382 * gst/gststructure.c: (gst_structure_to_string):
15383 guard against NULL printf - happens when for example
15384 a message structure with GstClock gets serialized
15386 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15388 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15389 Fix presumable copy'n'pasto.
15391 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15393 * gst/elements/gstfakesrc.h:
15394 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15395 * gst/elements/gsttypefindelement.c:
15396 fix some signedness
15397 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15398 I wonder if this could actually write +2GB files before
15400 2005-10-13 Andy Wingo <wingo@pobox.com>
15402 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15403 Fix Timmeke Waymans bug.
15404 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15405 string of the proper length to gst_caps_from_string. There's a
15406 potential for, before this fix, that this could cause someone
15407 connecting over the network to cause a segfault if the payload is
15408 not NUL-terminated.
15410 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15412 * docs/design/draft-push-pull.txt:
15413 * docs/design/part-overview.txt:
15414 * docs/random/TODO-pre-0.9:
15415 * docs/random/old/ChangeLog.gstreamer:
15416 * gst/base/gstpushsrc.c:
15420 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15422 * gst/glib-compat.c: (gst_flags_get_first_value):
15423 * gst/glib-compat.h:
15424 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15425 (gst_value_compare_double), (gst_value_serialize_flags):
15426 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15429 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15432 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15434 * tools/gst-launch.c: (event_loop):
15435 print out clock nicely
15437 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15439 * docs/gst/gstreamer-sections.txt:
15440 * gst/gsttaglist.h:
15441 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15442 (gst_tag_list_get_date_index):
15443 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15444 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15446 2005-10-13 Julien MOUTTE <julien@moutte.net>
15448 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15449 (gst_collectpads_chain):
15450 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15453 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15455 * docs/gst/gstreamer-sections.txt:
15458 * tools/gst-inspect.c: (main):
15459 * tools/gst-launch.c: (main):
15460 * tools/gst-run.c: (main):
15461 * tools/gst-xmlinspect.c: (main):
15462 fix GOption context leaks
15465 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15469 * win32/common/config.h:
15471 * win32/vs6/grammar.dsp:
15472 * win32/vs6/libgstelements.dsp:
15473 * win32/vs6/libgstreamer.dsp:
15476 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15478 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15479 * gst/base/gstbasesrc.c: (gst_base_src_query):
15480 fix more guint64<->gdouble conversions
15482 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15485 add win32-update target
15486 * win32/common/gstconfig.h:
15487 * win32/common/gstenumtypes.c:
15488 * win32/common/gstenumtypes.h:
15489 * win32/common/gstversion.h:
15490 add files that visual studio can't generate
15492 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15495 add a win32-update target
15498 2005-10-12 Wim Taymans <wim@fluendo.com>
15500 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15501 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15502 * gst/gstelement.c: (gst_element_commit_state),
15503 (gst_element_set_state):
15504 Protect flags with proper lock.
15505 unref provided cached clock in dispose.
15507 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15510 * gst/gstminiobject.h:
15512 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15513 removed unused flags from miniobject
15516 2005-10-12 Wim Taymans <wim@fluendo.com>
15518 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15519 (gst_file_sink_event), (gst_file_sink_render):
15520 Flush before seeking.
15522 2005-10-12 Andy Wingo <wingo@pobox.com>
15524 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15525 always been the case.
15527 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15529 * check/gst/gstbin.c: (GST_START_TEST):
15530 * docs/gst/gstreamer-sections.txt:
15531 * gst/base/gstbasesink.c: (gst_base_sink_init):
15532 * gst/base/gstbasesrc.c: (gst_base_src_init),
15533 (gst_base_src_get_range), (gst_base_src_check_get_range),
15534 (gst_base_src_start), (gst_base_src_stop):
15535 * gst/base/gstbasesrc.h:
15536 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15537 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15538 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15542 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15544 * gst/gstelement.c: (gst_element_is_locked_state),
15545 (gst_element_set_locked_state), (gst_element_commit_state),
15546 (gst_element_set_state):
15547 * gst/gstelement.h:
15548 * gst/gstindex.c: (gst_index_init):
15550 * gst/gstminiobject.h:
15551 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15552 (gst_object_set_parent):
15554 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15555 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15557 * gst/gstpadtemplate.h:
15558 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15559 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15560 * gst/gstpipeline.h:
15561 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15562 (gst_file_index_commit):
15563 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15564 * testsuite/pad/link.c: (gst_test_src_init),
15565 (gst_test_filter_init), (gst_test_sink_init):
15566 * testsuite/states/locked.c: (main):
15567 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15568 moved bitshift from macro to enum definition
15570 2005-10-12 Wim Taymans <wim@fluendo.com>
15572 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15573 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15574 (gst_file_sink_render):
15575 Some more debugging info.
15577 2005-10-12 Wim Taymans <wim@fluendo.com>
15579 * docs/design/part-states.txt:
15580 * tools/gst-launch.c: (main):
15582 Revert non-intentional change.
15584 2005-10-12 Wim Taymans <wim@fluendo.com>
15586 * check/gst/gstbin.c: (GST_START_TEST):
15587 * check/gst/gstelement.c: (GST_START_TEST):
15588 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15589 * check/gst/gstghostpad.c: (GST_START_TEST):
15590 * check/gst/gstpipeline.c: (GST_START_TEST):
15591 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15592 * check/states/sinks.c: (GST_START_TEST):
15593 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15594 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15595 (gst_bin_remove_func), (gst_bin_get_state_func),
15596 (gst_bin_recalc_state), (gst_bin_change_state_func),
15598 * gst/gstelement.c: (gst_element_get_state_func),
15599 (gst_element_get_state), (gst_element_abort_state),
15600 (gst_element_commit_state), (gst_element_set_state),
15601 (gst_element_change_state), (gst_element_change_state_func):
15602 * gst/gstelement.h:
15603 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15604 (gst_pipeline_provide_clock_func):
15605 * gst/gstutils.c: (gst_element_link_pads_filtered):
15606 * tools/gst-launch.c: (main):
15607 * tools/gst-typefind.c: (main):
15608 Use GstClockTime in _get_state() instead of GTimeVal.
15609 Remove old code in gstutils.c
15611 2005-10-12 Andy Wingo <wingo@pobox.com>
15613 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15616 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15617 there is no task. Shouldn't affect any code, as nothing in our
15618 plugins checks this return value.
15619 (gst_pad_stop_task): Also take the stream lock if the pad has no
15620 task. Docs updated.
15622 2005-10-12 Wim Taymans <wim@fluendo.com>
15624 * gst/gstpad.c: (pre_activate), (post_activate),
15625 (gst_pad_activate_pull), (gst_pad_activate_push):
15626 Cleanup activation code. Reset old state if
15629 2005-10-12 Wim Taymans <wim@fluendo.com>
15631 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15632 (gst_base_sink_change_state):
15633 No need to prerol after receiving EOS.
15635 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15636 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15637 * gst/elements/gstidentity.c: (gst_identity_event):
15638 Print events more verbosely.
15640 2005-10-12 Wim Taymans <wim@fluendo.com>
15642 * check/Makefile.am:
15643 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15644 * check/states/sinks2.c:
15645 Moved sinks2 testcode in sinks check.
15647 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15648 (gst_bin_remove_func), (gst_bin_recalc_state),
15649 (gst_bin_change_state_func), (bin_bus_handler):
15650 Fix potential race condition when _get_state() iterated over an
15651 ASYNC element right before it posted a state completion.
15654 Do proper cast here.
15656 * gst/gstevent.c: (gst_event_new_newsegment),
15657 (gst_event_parse_newsegment):
15658 A playback rate of 0.0 is not allowed.
15660 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15662 * win32/common/config.h:
15663 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15664 (_trewinddir), (_ttelldir), (_tseekdir):
15665 * win32/common/dirent.h:
15666 * win32/common/gtchar.h:
15667 * win32/common/libgstbase.def:
15668 * win32/common/libgstreamer.def:
15669 * win32/vs6/grammar.dsp:
15670 * win32/vs6/gst_inspect.dsp:
15671 * win32/vs6/gst_launch.dsp:
15672 * win32/vs6/gstreamer.dsw:
15673 * win32/vs6/libgstbase.dsp:
15674 * win32/vs6/libgstelements.dsp:
15675 * win32/vs6/libgstreamer.dsp:
15676 Visual Studio 6 project files, and a new common directory.
15679 2005-10-11 Wim Taymans <wim@fluendo.com>
15681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15682 (gst_base_sink_do_sync), (gst_base_sink_query),
15683 (gst_base_sink_change_state):
15684 * gst/base/gstbasesink.h:
15685 Correctly parse newsegment info.
15687 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15689 * gst/gst.c: (init_post):
15690 split plugin paths correctly
15692 2005-10-11 Wim Taymans <wim@fluendo.com>
15694 * check/gst/gstevent.c: (GST_START_TEST):
15695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15696 (gst_base_sink_change_state):
15697 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15698 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15699 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15700 * gst/gstevent.c: (gst_event_new_newsegment),
15701 (gst_event_parse_newsegment):
15703 Added extra flag to newsegment for future API freeze.
15704 Updated check and base elements.
15706 2005-10-11 Julien MOUTTE <julien@moutte.net>
15708 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15709 (gst_collectpads_add_pad), (gst_collectpads_pop),
15710 (gst_collectpads_event), (gst_collectpads_chain):
15711 * gst/base/gstcollectpads.h: Handle EOS correctly.
15713 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15715 * tools/gst-launch.c: (main):
15716 more null protecting
15718 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15720 * gst/gst-i18n-lib.h:
15721 check for ENABLE_NLS, not GETTEXT_PACKAGE
15722 * gst/gstregistry.c: (gst_registry_add_plugin),
15723 (gst_registry_scan_path_level),
15724 (_gst_registry_remove_cache_plugins):
15725 protect possibly NULL strings
15726 * gst/parse/types.h:
15727 config.h already included before
15728 * tools/gst-inspect.c: (main):
15729 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15730 check for ENABLE_NLS, not GETTEXT_PACKAGE
15731 * tools/gst-launch.c: (main):
15732 check for ENABLE_NLS, not GETTEXT_PACKAGE
15734 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15737 if we don't have glib, fail before testing 2.8
15738 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15739 fix a leak, should fix plugins-base testsuite
15741 2005-10-11 Andy Wingo <wingo@pobox.com>
15743 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15744 take the mode we're going to as an arg. Go head and set the mode
15745 and flushing flags now, so that if the activate function starts a
15746 thread all the flags will be in the right state.
15747 (post_activate): Renamed also. Just handle making sure streaming
15748 finishes for the deactivation case, and setting the deactivated
15750 (gst_pad_set_active): Complain loudly if deactivation fails.
15751 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15752 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15753 remove the terrible hack.
15755 2005-10-11 Wim Taymans <wim@fluendo.com>
15757 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15758 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15759 (gst_bin_recalc_state), (gst_bin_change_state_func),
15760 (gst_bin_dispose), (bin_bus_handler):
15762 Prepare to make current EOS message queue more generic.
15765 * gst/gstevent.c: (gst_event_new_newsegment),
15766 (gst_event_parse_newsegment):
15768 Rename base to stream_time.
15770 * gst/gstmessage.h:
15773 2005-10-11 Wim Taymans <wim@fluendo.com>
15775 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15776 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15777 (gst_bin_change_state_func), (bin_bus_handler):
15779 Work on proper clock selection.
15781 2005-10-11 Edward Hervey <edward@fluendo.com>
15783 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15784 * libs/gst/controller/gstcontroller.h:
15785 Added GList* version of _remove_properties() in order to be able to wrap
15788 2005-10-11 Wim Taymans <wim@fluendo.com>
15790 * docs/design/part-states.txt:
15793 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15794 (gst_bin_change_state_func), (bin_bus_handler):
15795 Doc updates. Don't distribute the same clock over and over again.
15801 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15802 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15803 (gst_pad_send_event):
15805 Make probe emission threadsafe again.
15806 Register quarks and move _get_name() from utils.
15809 * gst/gstpipeline.c: (gst_pipeline_class_init),
15810 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15811 Only redistribute the clock of it changed.
15813 * gst/gstsystemclock.h:
15818 Moved the _flow_get_name() to GstPad.
15820 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15822 * check/gst-libs/gdp.c: (GST_START_TEST):
15823 * check/gst/gstcaps.c: (GST_START_TEST):
15824 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15825 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15826 (gst_dp_packet_from_caps):
15827 fix more valgrind warnings before turning up the heat
15829 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15831 * gst/parse/grammar.y:
15832 some cleanup before the hacking
15834 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15836 * gst/base/gstbasesrc.c: (gst_base_src_query):
15838 * gst/gstutils.c: (gst_guint64_to_gdouble),
15839 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15841 externalize, basesrc uses it
15842 obviously the implementation needs testing
15844 2005-10-10 Wim Taymans <wim@fluendo.com>
15846 * tests/sched/Makefile.am:
15847 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15848 (make_pipeline3), (make_pipeline4), (print_elem), (main):
15850 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15852 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15853 apparently converting from guint64 to double is not implemented
15856 2005-10-10 Wim Taymans <wim@fluendo.com>
15858 * check/Makefile.am:
15859 * check/generic/states.c: (GST_START_TEST):
15860 * check/gst/gstbin.c: (GST_START_TEST):
15861 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15862 * check/states/sinks.c: (GST_START_TEST):
15863 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15865 Check fixes, use API as stated in design docs, remove hacks.
15867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15868 (gst_base_sink_change_state):
15869 Catch stopping our task while we're shutting down.
15871 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15872 (gst_bin_remove_func), (gst_bin_get_state_func),
15873 (gst_bin_recalc_state), (gst_bin_change_state_func),
15876 * gst/gstelement.c: (gst_element_init),
15877 (gst_element_get_state_func), (gst_element_abort_state),
15878 (gst_element_commit_state), (gst_element_lost_state),
15879 (gst_element_set_state), (gst_element_change_state),
15880 (gst_element_change_state_func):
15881 * gst/gstelement.h:
15882 New state change algorithm (see #318116)
15884 * gst/gstpipeline.c: (gst_pipeline_class_init),
15885 (gst_pipeline_init), (gst_pipeline_set_property),
15886 (gst_pipeline_get_property), (do_pipeline_seek),
15887 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15888 * gst/gstpipeline.h:
15889 Remove crude state change hacks.
15892 Remove crude hacks.
15894 * tools/gst-launch.c: (main):
15895 Fixes for state change. Needs some more work to fully use the
15898 2005-10-10 Andy Wingo <wingo@pobox.com>
15900 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
15902 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
15903 this flag, but it's not even in GLib 2.6. Odd. Hack around the
15906 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15908 * gst/gstiterator.c: (gst_iterator_new):
15909 Fix my previous commit: GTypes passed to gst_iterator_new()
15910 can be fundamental types.
15912 2005-10-10 Wim Taymans <wim@fluendo.com>
15914 * gst/gstelement.c: (gst_element_iterate_pad_list),
15915 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
15916 (gst_element_iterate_sink_pads):
15917 Use src/sink pads lists for the respective iterators instead
15920 2005-10-10 Andy Wingo <wingo@pobox.com>
15922 Merged in popt removal + GOption addition patch from Ronald, bug
15925 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
15926 GstElement macros around, remove popt-related symbols, add goption
15929 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
15931 * docs/gst/Makefile.am:
15932 * docs/libs/Makefile.am: No POPT_CFLAGS.
15934 * examples/manual/Makefile.am:
15935 * docs/manual/basics-init.xml: Doc updates with an example.
15937 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
15938 (gst_init), (parse_one_option), (parse_goption_arg):
15939 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
15940 bit of hand merging and debugging to get the GOption stuff working
15943 * tests/Makefile.am:
15944 * tools/Makefile.am:
15945 * tools/gst-inspect.c: (main):
15946 * tools/gst-launch.c: (main):
15947 * tools/gst-run.c: (main):
15948 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
15950 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15952 * gst/gstiterator.c: (gst_iterator_new):
15953 Add assertions to make sure passed GType is likely to really
15954 be a GType (as the compiler won't catch it if the size and
15955 GType arguments get mixed up, see #318447).
15957 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
15959 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15961 * gst/gstbin.c: (gst_bin_iterate_sorted):
15962 Pass GType and size arguments to gst_iterator_new() in the right
15963 order (maybe we should make _new() take the GType as first argument
15964 just like _new_list()?) (#318447).
15967 2005-10-10 Wim Taymans <wim@fluendo.com>
15969 * gst/gstelement.c: (gst_element_finalize):
15970 And free the GStaticRecMutex too
15972 2005-10-10 Andy Wingo <wingo@pobox.com>
15974 * gst/gstelement.c (gst_element_init, gst_element_finalize):
15975 Allocate and free the mutex properly.
15977 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
15979 (GstElement): The state_lock is now recursive. Rebuild your
15980 plugins, suckers. Old macros adapted.
15982 * docs/gst/gstreamer-sections.txt: Doc updates.
15985 * gst/gstutils.c (g_static_rec_cond_timed_wait)
15986 (g_static_rec_cond_wait): Ported from state changes patch, while
15987 we wait on bug #317802 to be solved in a well-distributed GLib.
15989 * gst/gstelement.c (gst_element_change_state_func): Renamed from
15990 gst_element_change_state, variable name changes.
15991 (gst_element_change_state): Split out of gst_element_set_state in
15992 preparation for the state change merge. Doesn't pay attention to
15993 the 'transition' argument.
15994 (gst_element_set_state): Updates, hopefully purely cosmetic.
15995 (gst_element_sync_state_with_parent): MT-safety. Ported from the
15996 state change patch.
15997 (gst_element_get_state_func): Renamed from get_state, cosmetic
16000 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16002 * gst/elements/gstelements.c:
16003 * win32/GStreamer.vcproj:
16005 * win32/dirent.c: (_tseekdir):
16006 * win32/gst-inspect.vcproj:
16007 * win32/gst-launch.vcproj:
16008 * win32/gstconfig.h:
16009 * win32/gstelements.vcproj:
16010 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16011 * win32/gstreamer.def:
16012 * win32/msvc71.sln:
16013 updates for the win32 build (patch from Sebastien Moutte)
16015 2005-10-10 Andy Wingo <wingo@pobox.com>
16017 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16018 gst_bin_get_state, cleaned up (but no logic changes).
16019 (bin_element_is_sink): Comment updates.
16020 (sink_iterator_filter): Remove needless cast.
16021 (gst_bin_iterate_sinks): Doc update.
16022 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16023 cleaned up (but no logic changes).
16025 * check/states/sinks.c (test_src_sink): Cleanups from the state
16027 (test_livesrc_sink): Sync on the state.
16029 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16030 the state change patch.
16032 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16035 * check/gst/gstbin.c: Merge in some style fixes and additional
16036 checks from Wim's state change patch.
16038 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16040 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16041 (gst_type_find_helper):
16042 Check whether we have the requested data already in our list of
16043 cached buffers before pulling a new buffer; also make the buffer
16044 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16046 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16051 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16052 don't use long long, it's not portable. Replacing with
16053 gint64 seems to work; let's hope no skeletons fall out of the closet.
16055 2005-10-10 Andy Wingo <wingo@pobox.com>
16057 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16059 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16061 * docs/gst/gstreamer-sections.txt:
16066 * gst/gstmessage.c: (gst_message_parse_state_changed):
16069 more docs, fix compilation
16071 2005-10-09 Philippe Khalaf <burger@speedy.org>
16072 * gst/gstmessage.c:
16073 Fixed a few forgotten variables on previous commit
16075 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16077 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16078 Fix evil typefind crasher: getrange() might return a short
16079 buffer at the end of a file, but gst_type_find_peek() must
16080 either return the full data as requested or NULL, but
16081 never a short buffer.
16083 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16085 * gst/gstmessage.c: (gst_message_new_state_changed),
16086 (gst_message_parse_state_changed):
16087 * gst/gstmessage.h:
16088 don't use "new", it's a C++ keyword
16090 2005-10-08 Wim Taymans <wim@fluendo.com>
16092 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16093 * gst/gstelement.c: (gst_element_post_message):
16094 * gst/gstpipeline.c: (gst_pipeline_change_state):
16095 Small docs and debug updates.
16097 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16099 * docs/gst/gstreamer-sections.txt:
16100 * gst/gstelementfactory.c:
16102 * gst/gsttaglist.c:
16105 2005-10-08 Wim Taymans <wim@fluendo.com>
16107 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16108 (gst_bin_dispose), (bin_bus_handler):
16109 Fix typos, add comments.
16110 Clear EOS list when going to PAUSED from any direction and do it
16111 in a threadsafe way.
16112 Get base time in a threadsafe way too.
16113 Fix confusing debug in the change_state function.
16114 Various other small cleanups.
16116 * gst/gstelement.c: (gst_element_post_message):
16117 Fix very verbose bus posting code.
16119 * gst/gstpipeline.c: (gst_pipeline_class_init),
16120 (gst_pipeline_set_property), (gst_pipeline_get_property),
16121 (gst_pipeline_change_state):
16122 Small ARG_ -> PROP_ cleanup
16124 2005-10-08 Wim Taymans <wim@fluendo.com>
16126 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16127 Do a less CPU demanding EOS check because we can.
16129 2005-10-08 Wim Taymans <wim@fluendo.com>
16131 * libs/gst/dataprotocol/dataprotocol.c:
16132 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16133 (gst_dp_packet_from_event):
16134 * libs/gst/dataprotocol/dataprotocol.h:
16135 * libs/gst/dataprotocol/dp-private.h:
16136 It's about time we bump the version number.
16137 Since event types don't fit in the guint8 anymore describing
16138 the payload type, make payload type 16 bits wide.
16140 2005-10-08 Wim Taymans <wim@fluendo.com>
16142 * docs/design/part-TODO.txt:
16143 * docs/design/part-clocks.txt:
16144 * docs/design/part-events.txt:
16145 * docs/design/part-gstbin.txt:
16146 * docs/design/part-gstelement.txt:
16147 * docs/design/part-gstpipeline.txt:
16148 * docs/design/part-live-source.txt:
16149 * docs/design/part-messages.txt:
16150 * docs/design/part-overview.txt:
16151 * docs/design/part-states.txt:
16154 2005-10-08 Wim Taymans <wim@fluendo.com>
16158 Fix event quark registration.
16159 Add some space between events so we can insert them in the
16162 2005-10-08 Wim Taymans <wim@fluendo.com>
16164 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16165 (gst_base_sink_handle_buffer):
16166 Better log message.
16169 * gst/gstelement.h:
16172 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16173 (gst_queue_set_property), (gst_queue_get_property):
16175 Remove old unused properties.
16177 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16178 * docs/gst/gstreamer-sections.txt:
16179 * gst/gstmessage.c:
16180 * gst/gstmessage.h:
16181 * gst/gstminiobject.c:
16182 * gst/gstminiobject.h:
16186 lots of new docs and doc fixes
16188 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16190 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16192 * gst/gstregistry.c: (gst_registry_lookup_locked),
16193 (gst_registry_scan_path_level):
16194 * gst/gstregistryxml.c: (load_plugin):
16195 Only ever load one plugin for a given plugin basename.
16196 This ensures correct overriding of GST_PLUGIN_PATH over
16197 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16198 system installed plugins.
16200 2005-10-08 Wim Taymans <wim@fluendo.com>
16202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16203 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16204 Prepare for doing QOS.
16206 2005-10-08 Wim Taymans <wim@fluendo.com>
16208 * check/gst/gstbin.c: (GST_START_TEST):
16209 * check/pipelines/cleanup.c: (GST_START_TEST):
16210 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16211 Allow new clock message too.
16213 2005-10-08 Wim Taymans <wim@fluendo.com>
16215 * gst/gstmessage.c: (gst_message_new_error),
16216 (gst_message_new_warning), (gst_message_new_tag),
16217 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16218 (gst_message_new_clock_lost), (gst_message_new_new_clock),
16219 (gst_message_new_segment_start), (gst_message_new_segment_done),
16220 (gst_message_parse_state_changed),
16221 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16222 (gst_message_parse_new_clock):
16223 * gst/gstmessage.h:
16224 Also carry the clock in question.
16226 2005-10-08 Wim Taymans <wim@fluendo.com>
16228 * gst/gstmessage.c: (gst_message_new_custom),
16229 (gst_message_new_eos), (gst_message_new_error),
16230 (gst_message_new_warning), (gst_message_new_tag),
16231 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16232 (gst_message_new_new_clock), (gst_message_new_segment_start),
16233 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16234 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16235 * gst/gstmessage.h:
16237 Added clock related messages.
16239 * gst/gstpipeline.c: (gst_pipeline_change_state):
16240 Post message when the clock changed.
16242 * tools/gst-launch.c: (event_loop):
16245 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
16247 * tools/gst-inspect.c: (print_element_properties_info):
16248 Can't pass NULL strings to g_print() on windows.
16250 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16252 * docs/Makefile.am:
16253 * docs/gst/Makefile.am:
16254 * docs/gst/gstreamer-docs.sgml:
16255 * docs/gst/running.xml:
16256 * docs/version.entities.in:
16257 add a chapter on running GStreamer.
16258 document GST_DEBUG and GST_PLUGIN* env vars
16260 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16265 remove PLUGINS_BUILDDIR stuff
16266 * gst/gst.c: (init_post):
16267 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16269 remove, it was condescending and not needed
16271 2005-10-08 Wim Taymans <wim@fluendo.com>
16273 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16274 (gst_base_sink_handle_object), (gst_base_sink_event),
16275 (gst_base_sink_wait), (gst_base_sink_handle_event),
16276 (gst_base_sink_change_state):
16277 * gst/base/gstbasesink.h:
16278 Repost EOS message while going to PLAYING if still EOS.
16279 Make sure that when receiving a FLUSH_START we don't attempt
16280 to sync on the clock anymore.
16282 2005-10-08 Wim Taymans <wim@fluendo.com>
16284 * tools/gst-launch.c: (event_loop):
16285 Better message printout.
16287 2005-10-08 Wim Taymans <wim@fluendo.com>
16289 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16290 (gst_bin_child_proxy_get_children_count):
16291 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16292 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16293 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16294 (gst_child_proxy_set_valist):
16295 * gst/parse/grammar.y:
16296 Make ChildProxy threadsafe and fix mem leaks.
16298 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16300 * gst/gst.c: (init_post):
16301 debug the GST_PLUGIN_ env vars
16303 2005-10-08 Wim Taymans <wim@fluendo.com>
16305 * check/gst/gstbin.c: (GST_START_TEST):
16306 * check/gst/gstmessage.c: (GST_START_TEST):
16307 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16308 * gst/gstelement.c: (gst_element_commit_state),
16309 (gst_element_lost_state):
16310 * gst/gstmessage.c: (gst_message_new_state_changed),
16311 (gst_message_parse_state_changed):
16312 * gst/gstmessage.h:
16313 * tools/gst-launch.c: (event_loop):
16314 Added extra field to STATE_CHANGE message with the pending
16315 state, which will be different from the new state soon.
16317 2005-10-08 Wim Taymans <wim@fluendo.com>
16319 * gst/gstbus.c: (gst_bus_pop):
16321 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16322 Small cleanups and doc updates.
16324 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16326 * gst/gst.c: (init_pre):
16327 * gst/gstbin.c: (gst_bin_add_func):
16328 log distributing clocks and base time
16329 * gst/gstregistry.c: (gst_registry_add_plugin),
16330 (gst_registry_scan_path_level), (gst_registry_scan_path):
16331 clean up the debugging output a little
16332 * gst/gstutils.c: (gst_element_state_get_name):
16333 warn about a memleak (I've actually seen this be used, though
16334 it was probably a bug)
16336 2005-10-07 Wim Taymans <wim@fluendo.com>
16338 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16339 (gst_base_src_init), (gst_base_src_default_newsegment),
16340 (gst_base_src_newsegment), (gst_base_src_do_seek),
16341 (gst_base_src_loop), (gst_base_src_start):
16342 * gst/base/gstbasesrc.h:
16343 Make the newsegment event customizable by subclasses.
16345 2005-10-07 Wim Taymans <wim@fluendo.com>
16347 * gst/gstevent.c: (gst_event_new_buffersize),
16348 (gst_event_parse_buffersize):
16350 New event for future idea.
16352 2005-10-07 Andy Wingo <wingo@pobox.com>
16354 * gst/gstelement.c (gst_element_post_message): Doc update.
16356 * docs/gst/gstreamer-sections.txt: Update.
16358 * gst/gstmessage.c (gst_message_new_application): Made into a
16359 function like honest API calls.
16360 (gst_message_new_element): New message type.
16362 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16364 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16365 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16368 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16369 NO_PREROLL from gst_element_change_state to fall through.
16371 2005-10-07 Wim Taymans <wim@fluendo.com>
16373 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16374 (gst_ghost_pad_do_activate_push):
16375 Activating a ghostpad with no internal pad in push mode
16378 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16381 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16382 Fixes compilation on Windows.
16384 2005-10-07 Michael Smith <msmith@fluendo.com>
16386 * tools/gst-inspect.c:
16387 Print out feature and plugin count at the end when printing out
16390 2005-10-04 Michael Smith <msmith@fluendo.com>
16392 * gst/gsterror.c: (_gst_stream_errors_init):
16393 Add another error string used in a few existing plugins.
16396 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16397 * tools/gst-inspect.c: (print_element_info):
16398 When a feature disappears from a plugin (and the feature exists in
16399 the cached registry file), things went horribly wrong. This isn't a
16400 complete fix, we should actually be removing the 'missing' features
16401 from the features list when we load the actual plugin. That's not
16404 2005-10-04 Johan Dahlin <johan@gnome.org>
16406 * check/gst/gstiterator.c: (GST_START_TEST):
16407 * gst/gstbin.c: (gst_bin_iterate_elements),
16408 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16409 * gst/gstelement.c: (gst_element_iterate_pads):
16410 * gst/gstformat.c: (gst_format_iterate_definitions):
16411 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16412 (gst_iterator_new_list), (gst_iterator_filter):
16413 * gst/gstiterator.h:
16414 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16415 Add a GType to GstIterator, update callsites and tests.
16417 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16419 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16420 give events a chance to be handled by event probes when the pad
16423 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16425 * gst/gstevent.c: (gst_event_type_get_name),
16426 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16428 add string representations for event types
16430 2005-10-06 Wim Taymans <wim@fluendo.com>
16432 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16433 Don't use NULL pointers.
16435 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16437 * gst/gst_private.h:
16439 * gst/gstelement.c:
16441 * gst/gstpluginfeature.c:
16442 widen the debug category in output to fit the biggest one we have
16443 add a bus category and use it
16444 play with the colors
16445 fix up some categories
16447 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16449 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16450 add push activation of sink ghost pads.
16451 Andye, please verify
16453 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16455 * gst/gstutils.c: (gst_element_link_pads):
16456 fix a bug in the case where neither element has a pad
16457 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16458 add a test for that case
16460 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16462 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16463 emit have-data before checking for peers. This allows
16464 for probe handlers to connect elements. This helps autopluggers.
16465 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16467 add six checks, linked/unlinked with no/true/false probe
16469 2005-10-04 Wim Taymans <wim@fluendo.com>
16471 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16472 (gst_fake_sink_event), (gst_fake_sink_preroll),
16473 (gst_fake_sink_render), (gst_fake_sink_change_state):
16474 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16475 (gst_fake_src_get_property), (gst_fake_src_create),
16476 (gst_fake_src_stop):
16477 * gst/elements/gstidentity.c: (gst_identity_stop):
16478 Protect last_message with lock.
16480 2005-10-04 Edward Hervey <edward@fluendo.com>
16483 Added precision in the comments for GST_FORMAT_DEFAULT
16485 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16487 * tools/gst-launch.c: (main):
16488 Don't try to run erroneous pipelines.
16490 2005-10-04 Julien MOUTTE <julien@moutte.net>
16492 * gst/gstbus.c: We don't need this header.
16494 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16497 back to development
16499 === release 0.9.3 ===
16501 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16505 Releasing 0.9.3, "Unregistered"
16507 2005-10-03 Andy Wingo <wingo@pobox.com>
16509 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16510 whereby calling a pad's activatepush() function can start a thread
16511 that starts to push or pull before the pad gets the FLUSHING flag
16512 unset. Hack around it by holding the stream lock until the flag is
16513 set. Need to replace this with a proper solution. Together with
16514 the ghost pad fixes, this fixes mp3 playing/tagreading.
16516 * docs/design/part-gstghostpad.txt: Add a note about activation of
16517 proxy pads outside of ghost pads.
16519 * gst/gstghostpad.c: Implement the ghost pad activation design.
16521 2005-10-02 Andy Wingo <wingo@pobox.com>
16523 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16524 It is volatile, after all.
16526 * docs/design/part-gstghostpad.txt: Flesh out activation with
16529 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16532 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16535 Fix (unused) AM_CONDITIONAL tests.
16537 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16539 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16541 * gst/gstutils.c: (gst_pad_query_convert):
16542 Add assertion that makes sure src_val is >=0, just like
16543 gst_query_new_convert() has. (#315895)
16545 2005-09-30 Edward Hervey <edward@fluendo.com>
16547 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16548 Let's not iterate pads we're not interested in, it avoids getting
16549 sky-high refcounts on sinkpad.
16551 2005-09-30 Wim Taymans <wim@fluendo.com>
16553 * gst/gstelement.c: (gst_element_set_state),
16554 (gst_element_change_state):
16555 Small tweak, element in ASYNC remains ASYNC.
16557 2005-09-30 Wim Taymans <wim@fluendo.com>
16559 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16560 Only error is an error.
16562 * gst/gstbin.c: (gst_bin_change_state):
16565 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16566 Also call pad_block in pad alloc.
16568 * gst/gstutils.c: (gst_flow_get_name):
16571 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16573 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16574 (gst_base_src_get_range):
16575 Fix documentation typos. Add some more debug info.
16577 2005-09-29 David Schleef <ds@schleef.org>
16579 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16580 more end-user friendly.
16581 * tools/gst-inspect.c: (main): Check if command-line argument is
16582 a file and attempt to load that file as a plugin.
16584 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16586 * check/gst/gstbin.c:
16587 * check/states/sinks.c:
16588 fix tests for the new warning
16589 * check/gst/gstpipeline.c:
16590 add a test for pipeline and bus interaction
16591 * gst/gstelement.c:
16592 elements should be NULL if they get disposed; add a warning if not
16594 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16597 for 2.6 refcounting, make debug log more correct by printing
16598 the actual refcounts at the time of swap (Wim)
16600 2005-09-29 Andy Wingo <wingo@pobox.com>
16602 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16603 removes signal watches previously added via
16604 gst_bus_add_signal_watch.
16605 (gst_bus_add_signal_watch): Don't return the source id, just store
16606 it on the bus if there wasn't an id already.
16608 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16609 add_signal_watch and remove_signal_watch.
16611 2005-09-29 Edward Hervey <edward@fluendo.com>
16613 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16614 Better if we actually iterate the list :)
16616 2005-09-29 Wim Taymans <wim@fluendo.com>
16618 * check/gst/gstbin.c: (GST_START_TEST):
16619 Change for new bus API.
16621 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16622 (send_messages), (GST_START_TEST), (gstbus_suite):
16623 Change for new bus signal API.
16625 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16626 (gst_bus_source_prepare), (gst_bus_source_check),
16627 (gst_bus_create_watch), (gst_bus_add_watch_full),
16628 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16629 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16631 Remove support for multiple GSources operating on different
16632 message types as it is too complex and unneeded when using
16634 Added support for receiving signals from the bus.
16636 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16638 * docs/libs/tmpl/gstdataprotocol.sgml:
16639 * docs/manual/advanced-dataaccess.xml:
16640 * gst/elements/gstcapsfilter.c:
16642 rename filter-caps to caps property
16644 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16646 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16647 More robust fraction string parsing.
16649 * docs/pwg/appendix-porting.xml:
16650 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16652 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16654 * gst/gstcaps.c: (gst_caps_do_simplify):
16655 Thou shalt not free a structure and then continue using it
16656 in the next loop iteration.
16658 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16660 Add test case for caps simplification.
16662 2005-09-29 Wim Taymans <wim@fluendo.com>
16664 * check/gst/gstbin.c: (GST_START_TEST):
16667 2005-09-29 Wim Taymans <wim@fluendo.com>
16669 * check/gst/gstbin.c: (GST_START_TEST):
16672 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16673 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16674 (find_element), (gst_bin_sort_iterator_next),
16675 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16676 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16677 (gst_bin_change_state), (gst_bin_dispose):
16678 A bin does not have a bus, it gets the bus from the parent.
16680 * gst/gstelement.c: (gst_element_requires_clock),
16681 (gst_element_provides_clock), (gst_element_is_indexable),
16682 (gst_element_is_locked_state), (gst_element_change_state),
16683 (gst_element_set_bus_func):
16686 * gst/gstpipeline.c: (gst_pipeline_class_init),
16687 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16688 The pipeline provides a bus.
16690 2005-09-28 Johan Dahlin <johan@gnome.org>
16692 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16693 gst_structure_get_enum instead of gst_structure_get_int
16695 * gst/gststructure.c (gst_structure_get_enum): Impl.
16697 * gst/gststructure.h (gst_structure_get_enum): Add
16699 * docs/gst/gstreamer-sections.txt: Ditto
16701 * gst/gstmessage.c (gst_message_new_state_changed): Use
16702 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16703 which does introspection.
16704 Reviewed by Christian Schaller
16706 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16708 * gst/gstinfo.c: (gst_debug_log_default):
16709 don't do dummy g_strdup()s
16710 * libs/gst/controller/gstcontroller.c:
16711 (on_object_controlled_property_changed),
16712 (gst_controlled_property_new), (gst_controller_new_valist),
16713 (gst_controller_new_list),
16714 (gst_controller_remove_properties_valist), (gst_controller_set),
16715 (gst_controller_get), (gst_controller_sync_values),
16716 (gst_controller_get_value_array), (_gst_controller_class_init),
16717 (gst_controller_get_type):
16718 * libs/gst/controller/gstcontroller.h:
16719 * libs/gst/controller/gstinterpolation.c:
16720 (gst_controlled_property_find_timed_value_node):
16721 convert // to /**/ comments
16723 2005-09-28 Wim Taymans <wim@fluendo.com>
16725 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16726 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16727 (gst_bus_sync_signal_handler):
16729 Added async-message and sync-message signals to the bus.
16730 Added helper BusFunc to emit signals for all posted messages.
16732 * gst/gstmessage.c: (gst_message_type_get_name),
16733 (gst_message_type_to_quark), (gst_message_get_type):
16734 * gst/gstmessage.h:
16735 Register quarks for message names.
16737 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16739 * docs/libs/gstreamer-libs-sections.txt:
16740 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16741 (gst_controller_new_list):
16742 * libs/gst/controller/gstcontroller.h:
16743 added another constructor for language bindings
16745 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16747 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16751 * gst/gstinfo.c: (_gst_debug_init):
16752 slightly more readable color for refcount debugging
16754 2005-09-28 Wim Taymans <wim@fluendo.com>
16756 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16757 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16758 (find_element), (gst_bin_sort_iterator_next),
16759 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16760 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16761 (gst_bin_change_state), (gst_bin_dispose):
16762 Small doc fixes. get_clock -> provide_clock.
16764 * gst/gstelement.c: (gst_element_class_init),
16765 (gst_element_provides_clock), (gst_element_provide_clock),
16766 (gst_element_get_clock), (gst_element_commit_state),
16767 (gst_element_lost_state):
16768 * gst/gstelement.h:
16769 Make get/set_clock() symetric. Add provide_clock vmethod since
16770 that is actually what this function does.
16772 * gst/gstpipeline.c: (gst_pipeline_class_init),
16773 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16774 (gst_pipeline_get_clock):
16775 get_clock -> provide_clock.
16777 2005-09-28 Andy Wingo <wingo@pobox.com>
16779 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16780 lieu of real docs...
16782 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16784 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16786 * gst/elements/gstcapsfilter.c:
16787 * gst/elements/gstfakesink.c:
16788 * gst/elements/gstfakesrc.c:
16789 * gst/elements/gstfdsink.c:
16790 * gst/elements/gstfdsrc.c:
16791 * gst/elements/gstfilesink.c:
16792 * gst/elements/gstfilesrc.c:
16793 * gst/elements/gstidentity.c:
16794 * gst/elements/gsttee.c:
16795 * gst/elements/gsttypefindelement.c:
16796 Make element details static.
16798 2005-09-28 Wim Taymans <wim@fluendo.com>
16800 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16801 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16802 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16803 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16804 (gst_bin_change_state), (gst_bin_dispose):
16805 Some documentation updates.
16806 Clean up dispose handlers.
16808 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16809 * gst/gstpad.c: (gst_pad_dispose):
16810 Clean up dispose handler.
16812 * gst/gstpipeline.c: (gst_pipeline_change_state):
16813 Removed spurious UNLOCK.
16815 2005-09-27 Stefan Kost <ensonic@users.sf.net>
16817 * docs/gst/gstreamer-sections.txt:
16818 * gst/base/gstbasesrc.h:
16819 * gst/gstelement.h:
16823 * gst/gstpipeline.c:
16824 * gst/gstpipeline.h:
16827 added two new functions to the docs
16828 documents all undocumented GstXXXFlags
16829 completed some incomplete docs
16831 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
16833 * gst/gstbin.c: (gst_bin_dispose):
16834 * gst/gstelement.c: (gst_element_dispose):
16835 remove now useless and leaky resurrection code in dispose
16836 * gst/base/gstbasesrc.c: (gst_base_src_init):
16837 * gst/gstelementfactory.c: (gst_element_factory_create):
16838 * gst/gstobject.c: (gst_object_set_parent):
16841 2005-09-27 Wim Taymans <wim@fluendo.com>
16843 * docs/design/part-TODO.txt:
16846 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16847 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16848 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16849 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16850 (gst_bin_change_state):
16851 * gst/gstelement.h:
16852 Remove element variable, we keep element info in the iterator now.
16854 2005-09-27 Andy Wingo <wingo@pobox.com>
16856 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16859 2005-09-27 Wim Taymans <wim@fluendo.com>
16861 * check/gst/gstbin.c: (GST_START_TEST):
16862 Enable check that works now.
16864 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16865 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16866 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16867 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16868 (gst_bin_change_state):
16870 Redid the state change algorithm using a topological sort algo.
16871 Handles all cases correctly.
16872 Exposed iterator for state change order.
16874 * gst/gstelement.h:
16875 Temp storage for state changes. Need to get rid of this soon.
16877 2005-09-27 Wim Taymans <wim@fluendo.com>
16879 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
16880 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
16881 (link_fold_func), (gst_pad_proxy_setcaps):
16882 Leak fixes, the fold functions need to unref the passed object and
16883 _get_parent_*() returns ref to parent.
16885 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16887 * check/gst/gstbuffer.c: (test_make_writable):
16888 Plug leak in test case and fix 'make check-valgrind'
16890 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16892 * gst/gstbuffer.c: (gst_subbuffer_init):
16893 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
16894 works correctly in all circumstances (we could have just copied
16895 the parent buffer's readonly flag, but conceptually it seems
16896 cleaner to mark all subbuffers as read-only). (based on patch
16897 by Alessandro Decina, #314710).
16899 * check/gst/gstbuffer.c: (create_read_only_buffer),
16900 (test_make_writable), (test_subbuffer_make_writable),
16902 Add some tests for gst_buffer_make_writable().
16904 2005-09-27 Wim Taymans <wim@fluendo.com>
16906 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
16907 use gst_object_has_ancestor().
16909 * gst/gstobject.c: (gst_object_has_ancestor):
16911 gst_object_has_ancestor() copied from gstbin.c as it is a
16914 * tests/instantiate/create.c: (create_all_elements):
16915 * tests/lat.c: (handoff_src), (handoff_sink):
16916 * tests/sched/runxml.c: (main):
16917 * tests/seeking/seeking1.c: (main):
16918 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16920 Fix compilation of some tests.
16922 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16925 Remove comment. GST_TYPE_G_ERROR is here to stay,
16926 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
16927 (#316961, #300610).
16929 2005-09-26 Wim Taymans <wim@fluendo.com>
16931 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16932 Added check that shows error in state change order.
16934 2005-09-26 Wim Taymans <wim@fluendo.com>
16936 * gst/gstbin.c: (gst_bin_change_state):
16937 Make state change function use 3 queues again, we were
16938 adding elements in the wrong order.
16940 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
16943 * gst/gstpad.c: (gst_pad_dispose):
16944 Added some debug info first.
16946 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
16948 * docs/design/draft-push-pull.txt:
16949 * docs/design/part-events.txt:
16950 * docs/design/part-overview.txt:
16951 * docs/design/part-scheduling.txt:
16952 Replace all _pull_region() with _pull_range()
16954 2005-09-26 Andy Wingo <wingo@pobox.com>
16956 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
16958 * check/gst-libs/controller.c: Update for controller api change.
16961 * tests/Makefile.am:
16962 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
16963 over by GLib bug 118439.
16965 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
16966 routines to a function.
16968 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
16970 * libs/gst/controller/gsthelper.c:
16971 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
16972 (gst_object_sync_values): Renamed from sink_values. Ugh.
16974 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
16976 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
16977 Renamed from controller_key, as it is exported.
16979 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
16981 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
16986 * gst/gstpadtemplate.h:
16989 * gst/gstqueryutils.c:
16990 * gst/gstqueryutils.h:
16991 remove queryutils headers after moving the two used functions
16992 to gstquery. also fixes build problem for gstsiddec
16994 2005-09-26 Michael Smith <msmith@fluendo.com>
16996 * tools/gst-launch.1.in:
16997 Correct documentation in manpage of debug syntax
16999 2005-09-26 Wim Taymans <wim@fluendo.com>
17001 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17002 (gst_base_src_is_seekable), (gst_base_src_change_state):
17003 Some more debugging info.
17005 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17007 * docs/gst/gstreamer-sections.txt:
17008 * gst/base/gstbasetransform.h:
17012 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17014 * docs/gst/.cvsignore:
17015 * docs/gst/tmpl/.cvsignore:
17016 * docs/gst/tmpl/gstpipeline.sgml:
17017 * docs/gst/tmpl/gstplugin.sgml:
17018 * gst/gstpipeline.c:
17021 inlined the last two docs files
17022 removed the tmpl directory from cvs (no more conflicts here!)
17024 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17026 * docs/gst/gstreamer-sections.txt:
17027 * docs/gst/tmpl/.cvsignore:
17028 * docs/gst/tmpl/gstpad.sgml:
17029 * docs/gst/tmpl/gstpadtemplate.sgml:
17031 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17032 (gst_pad_finalize), (gst_pad_set_pad_template):
17034 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17035 (gst_pad_template_class_init), (gst_pad_template_init),
17036 (gst_pad_template_dispose), (name_is_valid),
17037 (gst_static_pad_template_get), (gst_pad_template_new),
17038 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17039 (gst_pad_template_pad_created):
17040 * gst/gstpadtemplate.h:
17041 inlined two more docs
17042 factored gstpadtemplate out of gstpad
17044 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17046 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17047 (test_children_state_change_order_semi_sink):
17048 Fix test case: we can't rely on a fixed state change order when
17049 going from READY => PAUSED because the sink might commit its
17050 new state first when the first buffer created by the source
17051 reaches the sink before the source has finished its change state.
17052 (Test case still fails at times, see #316856, comment 5 onwards)
17054 2005-09-24 Wim Taymans <wim@fluendo.com>
17056 * docs/design/part-events.txt:
17057 * docs/design/part-gstbus.txt:
17058 * docs/design/part-gstpipeline.txt:
17059 * docs/design/part-messages.txt:
17060 * docs/design/part-overview.txt:
17061 * docs/design/part-segments.txt:
17065 * gst/gstelement.c:
17068 * gst/gstiterator.c:
17069 Various documentation updates.
17071 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17074 Well, that's embarassing. Luckily we weren't using
17075 GST_CLOCK_DIFF anywhere.
17077 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17079 * common/gtk-doc.mak:
17080 don't fail on building XML, FC4 slave shows a bunch of doc
17081 missing bits that I don't get
17083 * gst/gstpipeline.c:
17084 * gst/gststructure.c:
17087 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17089 * docs/design/part-gstbin.txt:
17090 * docs/design/part-gstbus.txt:
17092 Add blurb about how the bus goes into flushing mode and
17093 drops all messages when its bin goes from READY into NULL
17096 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17098 * docs/gst/gstreamer-sections.txt:
17099 * gst/gststructure.c: (gst_structure_get_clock_time):
17100 * gst/gststructure.h:
17101 add a method to get a GstClockTime out of a structure
17103 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17105 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17106 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17107 Added test to check state change order in bins (can still be made
17108 to fail here under heavy disk load; bails out with 'Push on pad
17109 fakesink:sink0, but it was not activated in push mode').
17111 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17112 Fix state change order when there is only a semi sink (#316856)
17114 * gst/gstbus.c: (gst_bus_class_init):
17115 Use _class_peek_parent(), not _class_ref(); fix docs to say
17116 'default main context' instead of 'mainloop' where that is
17119 * gst/gstelement.c: (gst_element_commit_state),
17120 (gst_element_set_state):
17121 Fix typos in debug messages
17123 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17126 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17127 * gst/gstpluginfeature.c:
17129 various doc updates
17130 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17131 change an assert into an error until it gets fixed properly
17133 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17135 * docs/gst/gstreamer-sections.txt:
17136 * docs/gst/tmpl/.cvsignore:
17137 * docs/gst/tmpl/gstelement.sgml:
17138 * docs/gst/tmpl/gstinfo.sgml:
17139 * docs/gst/tmpl/gstobject.sgml:
17140 * gst/gstelement.c:
17141 * gst/gstelement.h:
17144 * gst/gstobject.c: (gst_object_class_init):
17146 inlined 3 more biiiig doc files and added some missing docs on the fly
17148 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17150 * check/gst/.cvsignore:
17151 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17152 * gst/gstregistryxml.c: (load_plugin),
17153 (gst_registry_xml_save_plugin):
17154 put back source in registry. add checks for find_plugin.
17155 * testsuite/states/bin.c: (assert_state), (empty_bin),
17156 (test_adding_one_element), (main):
17157 * testsuite/states/locked.c: (main):
17158 some compile/run fixes
17160 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17162 * check/gst/gstvalue.c: (GST_START_TEST):
17163 fix leaks in the test itself
17165 2005-09-22 Wim Taymans <wim@fluendo.com>
17167 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17168 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17169 (gst_base_sink_query):
17170 Prepare for more accurate position reporting and query
17173 * gst/gstelement.c: (gst_element_send_event),
17174 (gst_element_set_state):
17177 2005-09-22 Wim Taymans <wim@fluendo.com>
17179 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17180 (gst_query_parse_segment):
17182 More documentation.
17183 Add segment query for future use.
17185 2005-09-22 Wim Taymans <wim@fluendo.com>
17187 * gst/gstbin.c: (gst_bin_add_func):
17188 Some more debug info.
17190 * gst/gstelement.c: (gst_element_send_event):
17191 Simplify send_event
17193 * gst/gstelement.h:
17194 Don't know how flags got broken.
17199 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17201 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17202 Add simplistic test suite for GST_TYPE_DATE serialisation and
17205 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17207 * docs/gst/gstreamer-sections.txt:
17208 * gst/gststructure.c: (gst_structure_set_valist),
17209 (gst_structure_get_date):
17210 * gst/gststructure.h:
17211 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17212 (gst_date_copy), (gst_value_compare_date),
17213 (gst_value_serialize_date), (gst_value_deserialize_date),
17214 (gst_value_transform_date_string),
17215 (gst_value_transform_string_date), (_gst_value_initialize):
17217 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17218 bunch of utility functions along with a hack that checks that
17219 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17220 is required. Part of the grand scheme in #170777.
17222 2005-09-22 Andy Wingo <wingo@pobox.com>
17224 * gst/gstconfig.h.in: Psych out gtk-doc.
17226 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17228 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17230 * tools/gst-inspect.c (print_element_list): Plug some
17231 inconsequential leaks.
17233 * gst/gstregistry.c (gst_registry_get_default): Doc.
17235 * check/gst/gstplugin.c:
17236 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17237 * gst/gstelementfactory.c (gst_element_factory_create):
17238 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17241 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17242 (gst_plugin_feature_load): Doc, don't eat refs.
17244 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17245 (gst_plugin_list_free): Doc.
17246 (gst_plugin_load_file): Doc updates.
17248 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17249 accessors returning refcounted objects, return a ref.
17251 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17252 accessor for caps. IDEMPOTENCE. Oh yes.
17254 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
17256 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17258 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17259 (_gst_debug_register_funcptr):
17260 Add mutex to serialise access to the hash table with
17261 the function pointer => function name string mapping;
17262 make that hash table static scope (#316809).
17264 * gst/registries/.cvsignore:
17265 Remove left-over file.
17267 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17269 * docs/pwg/appendix-porting.xml:
17270 And something about newsegment events and caps-on-buffers to
17271 the porting guide (feel free to improve).
17273 2005-09-21 Andy Wingo <wingo@pobox.com>
17275 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17276 data and event probes on the same pad.
17277 (test_buffer_probe_once): Test that removing probes from within
17278 the probe functions works.
17280 2005-09-21 Andy Wingo <wingo@pobox.com>
17282 * check/gst/gstutils.c: New file.
17283 (test_buffer_probe_n_times): A simple buffer probe test. More to
17286 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17287 have-data::buffer, not have-data.
17288 (gst_pad_add_event_probe): Likewise for have-data::event.
17289 (gst_pad_add_data_probe): More docs. The part about 'resolving the
17290 peer' isn't quite right yet though.
17291 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
17292 (gst_pad_remove_data_probe): Change to take the guint handler_id
17293 as their arg, not the function+data, which is more glib-like.
17295 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17296 the signal emission to indicate if the data is a buffer or an
17298 (gst_pad_get_type): Initialize buffer and event quarks.
17299 (gst_pad_class_init): have-data is now a detailed signal, yes it
17302 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17304 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17305 * gst/gstutils.c: (gst_util_set_value_from_string),
17306 (gst_util_set_object_arg):
17307 Don't put functional code in g_return_if_fail() or
17308 g_return_val_if_fail() statements, otherwise things will
17309 break when G_DISABLE_CHECKS is defined during compilation.
17311 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17313 * docs/gst/tmpl/.cvsignore:
17314 * docs/gst/tmpl/gstvalue.sgml:
17317 inlied another one and added some obvious docs
17319 2005-09-21 Wim Taymans <wim@fluendo.com>
17321 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17322 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17323 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17324 (gst_fdsrc_get_property), (gst_fdsrc_create):
17325 * gst/elements/gstfdsrc.h:
17326 Properly implement fdsrc. Removed signal and timeout,
17327 better implemented somewhere else.
17329 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17331 * docs/gst/tmpl/.cvsignore:
17332 * docs/gst/tmpl/gstimplementsinterface.sgml:
17333 * gst/gstinterface.c:
17336 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17338 * docs/gst/gstreamer-sections.txt:
17339 * docs/gst/tmpl/.cvsignore:
17340 * docs/gst/tmpl/gstenumtypes.sgml:
17341 remove obsolete doc file
17343 2005-09-21 David Schleef <ds@schleef.org>
17345 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17346 little beer, fix a little leak.
17348 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17350 * docs/gst/gstreamer-docs.sgml:
17351 * docs/gst/gstreamer-sections.txt:
17352 * docs/gst/tmpl/.cvsignore:
17356 * gst/gstelement.h:
17357 * gst/gstindex.c: (gst_index_class_init):
17359 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17360 (gst_index_factory_class_init), (gst_index_factory_init),
17361 (gst_index_factory_finalize), (gst_index_factory_new),
17362 (gst_index_factory_destroy), (gst_index_factory_find),
17363 (gst_index_factory_create), (gst_index_factory_make):
17364 * gst/gstindexfactory.h:
17365 * gst/gstpluginfeature.c:
17366 * gst/gstpluginfeature.h:
17367 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17368 more docs inlined, splitted gstindex.{c,h}
17370 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17372 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17375 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17377 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17378 Set sync to FALSE by default.
17380 2005-09-20 Wim Taymans <wim@fluendo.com>
17382 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17383 (gst_base_sink_init):
17384 Make sync property settable from subclass.
17386 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17387 (gst_fake_sink_change_state):
17388 Set sync to FALSE by default.
17390 2005-09-20 Wim Taymans <wim@fluendo.com>
17392 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17393 * tools/gst-launch.c: (main):
17394 The timeout handler should have lower priority than the source
17395 so we don't timeout before popping a message with 0 timeout.
17396 Dump error messages after failed state change.
17398 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17400 * tools/gst-inspect.c: (print_element_properties_info):
17403 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17405 * check/gst/gstevent.c:
17406 * gst/elements/gstfakesink.c:
17407 * gst/elements/gstfakesink.h:
17408 remove the sync property from fakesink.
17409 has the side effect of setting sync TRUE
17410 for fakesink, which is a change. Anyone who knows how
17411 to fix this nicely in a GObject-y way, feel free.
17413 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17415 * docs/gst/gstreamer-docs.sgml:
17416 remove probe refsection
17418 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17420 * check/Makefile.am:
17421 disable valgrinding the controller test again
17422 * docs/gst/gstreamer-sections.txt:
17423 update for api-changes
17425 2005-09-20 Wim Taymans <wim@fluendo.com>
17427 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17428 (gst_base_sink_set_property), (gst_base_sink_get_property),
17429 (gst_base_sink_do_sync):
17430 * gst/base/gstbasesink.h:
17431 Added sync property to basesink to disable clock sync.
17433 2005-09-20 Andy Wingo <wingo@pobox.com>
17435 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17436 eating the caller's refcount.
17438 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17439 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17442 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17443 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17444 of GLib 2.8 public, so we can know which refcount to check in
17447 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17448 (gst_object_init): Only set the gst refcount if we're going ahead
17449 with the refcount hack.
17451 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17453 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17454 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17455 more leaks plumbed, added more debug-logging
17459 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17461 * gst/gstmessage.c:
17462 remove include of gstmemchunk.h
17464 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17466 * gst/gstclock.c: (_gst_clock_id_free):
17467 Commit from the Political Party For More Atomic CVS Commits,
17468 so that people don't waste too much of their day fishing
17469 out obvious leaks out of massive commits.
17470 Oh, and fix a pretty damn obvious leak in the memchunk
17473 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17475 * check/Makefile.am:
17476 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17477 plug mem-leak, re-add to valgrindable tests
17479 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17482 unbreak the build for those who have chronic arthritis
17483 and typing "make check" is just too taxing on the hands
17485 2005-09-20 Andy Wingo <wingo@pobox.com>
17487 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17488 really want it out, you should fix plugins at the same time.
17490 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17493 * docs/gst/gstreamer-sections.txt:
17495 added missing symbols to api docs
17496 disable ref-count hack if we have glib >= 2.8
17498 2005-09-19 David Schleef <ds@schleef.org>
17500 * docs/gst/Makefile.am: Ignore a few more internal headers
17501 * docs/gst/gstreamer-docs.sgml: Remove old sections
17502 * docs/gst/gstreamer-sections.txt: Remove old sections
17503 * docs/gst/tmpl/gstobject.sgml: update
17504 * docs/gst/tmpl/gstplugin.sgml: update
17505 * docs/gst/tmpl/gstpluginfeature.sgml: update
17506 * docs/random/ds/0.9-suggested-changes: update.
17507 * gst/Makefile.am: remove memchunk and trashstack, since they're
17509 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17510 * gst/gst.h: don't include some headers
17511 * gst/gstchildproxy.c: add gstmarshal.h
17512 * gst/gstclock.c: Don't use memchunks
17513 * gst/gstminiobject.c: Add some docs
17514 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17515 * gst/gstobject.h: same
17516 * gst/gstplugin.c: include gstmacros.h
17517 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17518 * gst/gstquery.c: don't use memchunks
17519 * gst/gstregistry.c: rename gst_registry_deinit()
17520 * gst/gstregistry.h: same
17522 2005-09-19 David Schleef <ds@schleef.org>
17524 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17525 * docs/libs/gstreamer-libs-sections.txt:
17526 * docs/libs/tmpl/gstgetbits.sgml:
17527 * docs/libs/tmpl/gstputbits.sgml:
17529 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17531 * win32/gstenumtypes.c:
17532 * win32/gstenumtypes.h:
17535 2005-09-19 Wim Taymans <wim@fluendo.com>
17537 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17538 Automatically PAUSE and RESUME a pipeline when a flushing seek
17541 2005-09-19 Andy Wingo <wingo@pobox.com>
17543 * gst/gstregistry.h: Spacing fixen.
17545 2005-09-19 Wim Taymans <wim@fluendo.com>
17547 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17548 Handle state change failure more correctly.
17550 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17552 * check/Makefile.am:
17553 * check/pipelines/cleanup.c: (run_pipeline):
17554 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17556 enable cleanup again after fixing the leak
17558 some more info on docs
17560 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17562 * check/Makefile.am:
17563 re-enable tests now that leaks are plugged
17565 * check/gst/gstbin.c:
17566 * check/gst/gstpipeline.c:
17567 add some more tests while fixing leaks
17568 * common/check.mak:
17569 make sure binaries are uptodate when valgrinding/gdbing
17571 * gst/gstelementfactory.c:
17572 remove a ref too many, and add a FIXME for when we get
17573 round to disposing of classes
17575 fix the refcounting when loading a plugin from a file and
17576 the code pretends that the pointer is the same even though
17577 of course it can change
17578 * gst/gstpluginfeature.c:
17579 unref plugins marked cached (a bit confusing as a name)
17580 as the docs state should be done
17581 various doc additions to explain refcounting
17582 * gst/gstregistry.c:
17583 * gst/gstregistryxml.c:
17586 2005-09-19 Wim Taymans <wim@fluendo.com>
17588 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17589 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17590 (send_messages), (GST_START_TEST), (gstbus_suite):
17591 * check/gst/gstpipeline.c: (GST_START_TEST):
17592 * check/pipelines/cleanup.c: (run_pipeline):
17593 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17595 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17596 (gst_bus_source_check), (gst_bus_source_dispatch),
17597 (gst_bus_create_watch), (gst_bus_add_watch_full),
17598 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17600 * tools/gst-launch.c: (event_loop):
17601 * tools/gst-md5sum.c: (event_loop):
17602 GstBusHandler -> GstBusFunc, return value has the same meaning as
17603 any other GSource (FALSE == remove source).
17604 _add_watch() and _add_watch_full() now take a MessageType mask to
17605 only handle specific types of messages.
17606 _poll() returns the GstMessage instead of the message type to avoid
17608 _have_pending() takes a MessageType mask now too.
17609 Added testsuite for multiple bus watches.
17610 Fix testsuites and applications for new bus API.
17612 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17614 * check/Makefile.am:
17615 mark a bunch of the tests as to fix until we fix them
17617 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17619 * common/check.mak:
17620 use GST_PLUGIN settings for valgrind tests as well, so we're
17621 valgrinding the correct thing
17622 * gst/gst.c: (init_post):
17625 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17627 * gst/gst.c: (init_post), (gst_deinit):
17628 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17629 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17630 * gst/gstindex.c: (gst_index_factory_class_init),
17631 (gst_index_factory_finalize):
17632 * gst/gstobject.c: (gst_object_dispose):
17633 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17634 (gst_plugin_load_file), (gst_plugin_desc_free):
17635 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17636 (gst_plugin_feature_finalize):
17637 * gst/gstregistry.c: (gst_registry_class_init),
17638 (gst_registry_init), (gst_registry_finalize),
17639 (gst_registry_get_default), (gst_registry_deinit):
17640 * gst/gstregistry.h:
17641 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17642 various cleanups and memleak plugging. make valgrind is happy now.
17644 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17646 * common/check.mak:
17647 add a check-valgrind target
17649 2005-09-18 David Schleef <ds@schleef.org>
17651 * tools/gst-inspect.c: Revert the GOption code.
17653 2005-09-17 David Schleef <ds@schleef.org>
17655 * check/Makefile.am: Fix environment variables.
17656 * check/gst/gstplugin.c: Fix for API changes.
17657 * tools/gst-inspect.c: Fix for API changes.
17658 * tools/gst-xmlinspect.c: Fix for API changes.
17659 * gst/gstelementfactory.c:
17662 * gst/gstpluginfeature.c:
17663 * gst/gstpluginfeature.h:
17664 * gst/gstregistry.c:
17665 * gst/gstregistry.h:
17666 * gst/gstregistryxml.c:
17667 * gst/gsttypefind.c:
17668 * gst/gsttypefindfactory.c:
17669 * gst/indexers/gstfileindex.c:
17670 * gst/indexers/gstmemindex.c:
17671 * gst/schedulers/Makefile.am:
17672 Change registry to keep track of both plugins and features,
17673 removing the feature tracking from plugins themselves.
17675 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17677 * check/Makefile.am:
17678 * tools/gst-register.1.in:
17679 remove gst-register
17681 2005-09-15 David Schleef <ds@schleef.org>
17683 * check/gst/gstplugin.c:
17684 * gst/gstelementfactory.c:
17686 * gst/gstpluginfeature.c:
17687 * gst/gstregistry.c:
17688 Getting tired of debugging. Disabled all the unreffing of
17689 plugins and features, which fixes the segfaults, but of
17690 course leaks like crazy. At least playbin works.
17692 2005-09-15 David Schleef <ds@schleef.org>
17694 * check/gst/gstplugin.c: (register_check_elements),
17695 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17697 * gst/elements/gsttypefindelement.c: Fix refcounting.
17698 * gst/gsttypefind.c:
17699 * gst/gsttypefindfactory.c:
17700 * gst/gsttypefindfactory.h:
17702 2005-09-15 David Schleef <ds@schleef.org>
17704 * gst/gstindex.c: get refcounting correct.
17705 * gst/gstregistry.c: Handle the case where a feature/plugin is
17708 2005-09-15 David Schleef <ds@schleef.org>
17710 * check/Makefile.am:
17711 * check/gst/gstplugin.c: Add test
17712 * gst/gstplugin.c: Fix problems noticed by testsuite
17714 * gst/gstregistry.c:
17715 * gst/gstregistry.h:
17717 2005-09-15 David Schleef <ds@schleef.org>
17719 * gst/gstplugin.c: Implement semi-decent recounting and locking
17720 in plugins and plugin features.
17722 * gst/gstpluginfeature.c:
17723 * gst/gstpluginfeature.h:
17724 * gst/gstregistry.c:
17726 2005-09-15 Michael Smith <msmith@fluendo.com>
17728 * gst/gstregistry.c: (gst_registry_get_feature_list):
17729 Implement this. Makes oggdemux work; decodebin still broken.
17731 2005-09-14 David Schleef <ds@schleef.org>
17733 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17735 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17736 * gst/check/Makefile.am:
17737 * libs/gst/controller/Makefile.am:
17738 * libs/gst/dataprotocol/Makefile.am:
17740 2005-09-14 David Schleef <ds@schleef.org>
17742 * configure.ac: Remove getbits library. Nothing uses it, and
17743 it should be in something like liboil if someone did want
17745 * libs/gst/Makefile.am:
17746 * libs/gst/getbits/Makefile.am:
17747 * libs/gst/getbits/gbtest.c:
17748 * libs/gst/getbits/getbits.c:
17749 * libs/gst/getbits/getbits.h:
17750 * libs/gst/getbits/gstgetbits_generic.c:
17751 * libs/gst/getbits/gstgetbits_i386.s:
17752 * libs/gst/getbits/gstgetbits_inl.h:
17754 2005-09-14 David Schleef <ds@schleef.org>
17756 * gst/Makefile.am: Dist glib-compat.h
17758 2005-09-14 David Schleef <ds@schleef.org>
17760 * configure.ac: Remove gst/registries, since it's no longer used.
17761 * gst/registries/Makefile.am:
17762 * gst/registries/gstlibxmlregistry.c:
17763 * gst/registries/gstlibxmlregistry.h:
17764 * gst/registries/gstxmlregistry.c:
17765 * gst/registries/gstxmlregistry.h:
17766 * gst/registries/registrytest.c:
17768 2005-09-14 David Schleef <ds@schleef.org>
17770 * gst/glib-compat.h:
17771 * gst/gstregistryxml.c:
17772 Convergence is near. Seriously.
17774 2005-09-14 David Schleef <ds@schleef.org>
17776 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17777 * gst/glib-compat.h:
17778 Attempt #4 to appease the buildbots.
17780 2005-09-14 David Schleef <ds@schleef.org>
17782 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17785 2005-09-14 David Schleef <ds@schleef.org>
17787 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17790 2005-09-14 David Schleef <ds@schleef.org>
17792 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17795 2005-09-14 David Schleef <ds@schleef.org>
17797 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17798 * gst/glib-compat.h: Add some functions that are in newer versions
17799 of glib than we care to require.
17800 * gst/gstregistryxml.c: Use them.
17802 2005-09-14 David Schleef <ds@schleef.org>
17804 * po/POTFILES.in: remove gst-register.c
17806 2005-09-14 David Schleef <ds@schleef.org>
17808 * docs/gst/gstreamer-docs.sgml:
17809 * docs/gst/gstreamer-sections.txt:
17810 * docs/gst/gstreamer.types:
17811 * docs/gst/tmpl/gstelement.sgml:
17812 * docs/gst/tmpl/gstplugin.sgml:
17813 * docs/gst/tmpl/gstpluginfeature.sgml:
17814 Documentation updates for registry changes.
17816 2005-09-14 David Schleef <ds@schleef.org>
17818 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17819 because we don't require glib-2.8.
17821 2005-09-14 David Schleef <ds@schleef.org>
17823 * gst/gstregistryxml.c: Added. Essentially moved out of the
17824 registries directory.
17826 2005-09-14 David Schleef <ds@schleef.org>
17828 * check/Makefile.am:
17829 * check/generic/states.c:
17833 * gst/gst_private.h:
17834 * gst/gstelementfactory.c:
17839 * gst/gstpluginfeature.c:
17840 * gst/gstpluginfeature.h:
17841 * gst/gstregistry.c:
17842 * gst/gstregistry.h:
17843 * gst/gstregistrypool.c: remove
17844 * gst/gstregistrypool.h: remove
17845 * gst/gsttypefind.c:
17846 * gst/gsttypefindfactory.c:
17848 * tools/Makefile.am:
17849 * tools/gst-compprep.c:
17850 * tools/gst-inspect.c:
17851 * tools/gst-register.c: remove
17852 * tools/gst-xmlinspect.c:
17853 Registry rewrite. Changes registry from being a file created
17854 by a tool into a simple cache file created automatically by
17855 libgstreamer. Removed gst-register (because it's no longer
17856 needed). Remove registry pools, because we only have one
17857 registry implementation (XML). Fix up other subsystems as
17860 2005-09-13 Michael Smith <msmith@fluendo.com>
17862 * gst/gstconfig.h.in:
17863 Don't Use windows linking attributes for MinGW. Fixes #316157
17865 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
17867 * gst/gstutils.c: (set_state_async_thread_func),
17868 (gst_element_set_state_async):
17869 Apparently people think it's better if this function doesn't
17870 try to set the state to whatever state was asked for on the first
17871 call to this function for any object. Seriously.
17873 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17875 * check/gst/gstpipeline.c: (GST_START_TEST):
17876 * docs/gst/gstreamer-sections.txt:
17877 * gst/gstutils.c: (set_state_async_thread_func),
17878 (gst_element_set_state_async):
17880 add a "gst_element_set_state_async" method that
17881 sets the state and starts a thread to make sure the state
17882 change completes as best as it can
17884 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17886 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17887 codify design+behaviour in testsuite after discussion
17889 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17891 * docs/gst/tmpl/gstelement.sgml:
17892 * docs/manual/appendix-quotes.xml:
17894 * gst/gstelement.c: (gst_element_set_state):
17897 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
17899 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17900 (gst_base_transform_prepare_output_buf),
17901 (gst_base_transform_handle_buffer):
17902 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
17903 (gst_capsfilter_prepare_buf):
17904 Remove the requirement for sub-classes to call the parent
17905 implementation of prepare_output_buffer with a wrapper function.
17907 * gst/gsttaglist.h:
17908 * gst/gsttagsetter.h:
17909 Fix #define wrapper
17911 2005-09-11 Stefan Kost <ensonic@users.sf.net>
17913 * docs/gst/gstreamer-sections.txt:
17916 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17918 * docs/gst/gstreamer-sections.txt:
17919 * docs/gst/tmpl/gstelement.sgml:
17920 * docs/gst/tmpl/gstplugin.sgml:
17921 * gst/gstminiobject.c:
17923 docs now stop throwing warnings
17925 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17927 * docs/gst/gstreamer-sections.txt:
17928 * docs/gst/gstreamer.types:
17929 * docs/gst/tmpl/gstpad.sgml:
17930 * docs/gst/tmpl/gsttypes.sgml:
17931 * gst/base/gstadapter.h:
17932 * gst/base/gstbasesink.h:
17933 * gst/base/gstbasesrc.h:
17939 * gst/gstelement.h:
17941 * gst/gstmessage.h:
17943 * gst/gststructure.c:
17944 * gst/registries/gstlibxmlregistry.h:
17945 various documentation fixes
17947 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17949 * docs/gst/gstreamer-sections.txt:
17950 * docs/gst/tmpl/gstvalue.sgml:
17951 rearrange gstvalue section
17952 * gst/gstutils.c: (gst_element_state_get_name):
17954 * gst/gstvalue.c: (_gst_value_initialize):
17958 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
17960 * check/gst-libs/controller.c:
17961 Header include fix.
17962 * gst/base/gstbasetransform.c:
17963 (gst_base_transform_default_prepare_buf),
17964 (gst_base_transform_handle_buffer):
17965 * gst/base/gstbasetransform.h:
17966 Some more basetransform changes and fixes to enable sub-classes
17967 that modify buffer metadata only.
17968 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17969 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
17970 (gst_capsfilter_prepare_buf):
17971 If the output pad has fixed allowed caps and input buffers
17972 don't have any, set the fixed caps on outgoing buffers.
17974 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
17975 * check/elements/identity.c: (GST_START_TEST):
17976 Make the error a little clearer when the test fails because
17977 identity made a copy of the buffer.
17978 * docs/gst/gstreamer-sections.txt:
17979 New symbols in gstbasetransform.h
17980 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17981 (gst_base_transform_init), (gst_base_transform_transform_size),
17982 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17983 (gst_base_transform_default_prepare_buf),
17984 (gst_base_transform_get_unit_size),
17985 (gst_base_transform_buffer_alloc),
17986 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
17987 (gst_base_transform_change_state),
17988 (gst_base_transform_set_passthrough),
17989 (gst_base_transform_set_in_place),
17990 (gst_base_transform_is_in_place):
17991 * gst/base/gstbasetransform.h:
17992 Change BaseTransform to separate in_place operate from same_caps
17993 output. in_place implies that the element can perform the transform
17994 on incoming buffers in-place, even if the caps on the output are
17996 Sub-class elements can now implement special buffer allocation
17997 methods for outgoing buffers if they wish to.
17998 Big documentation addition.
17999 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18000 * gst/elements/gstelements.c:
18001 Changes for basetransform modifications.
18002 * gst/elements/Makefile.am:
18003 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18004 Compile fix. Extra debug output.
18006 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18008 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18010 add tests for valid pad naming
18011 * gst/check/gstcheck.c: (gst_check_log_message_func),
18012 (gst_check_log_critical_func):
18014 remove printing of code, it is fragile when the code contains
18015 % and the line number is enough info
18016 * gst/check/gstcheck.h:
18017 * gst/gstpad.c: (gst_pad_template_new):
18020 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18023 say what CHECK flags we use
18024 * docs/libs/gstreamer-libs.types:
18025 * libs/gst/controller/Makefile.am:
18026 * libs/gst/controller/gst-controller.c:
18027 * libs/gst/controller/gst-controller.h:
18028 * libs/gst/controller/gst-helper.c:
18029 * libs/gst/controller/gst-interpolation.c:
18030 * libs/gst/controller/gstcontroller.c:
18031 * libs/gst/controller/gsthelper.c:
18032 * libs/gst/controller/gstinterpolation.c:
18033 * tools/gst-inspect.c: (print_plugin_info):
18034 we don't use dashes in header names
18036 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18038 * check/Makefile.am:
18039 * check/gst/.cvsignore:
18040 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18041 (gst_pipeline_suite), (main):
18042 adding a test for pipelines and state changes
18043 * gst/gstutils.c: (get_state_func):
18045 * gstreamer.spec.in:
18048 2005-09-08 Michael Smith <msmith@fluendo.com>
18050 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18051 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18052 (gst_file_src_is_seekable), (gst_file_src_get_size),
18053 (gst_file_src_start):
18054 * gst/elements/gstfilesrc.h:
18055 Various fixes for unseekable, unmmapable, and non-normal files, so
18056 that fallback to read() rather than mmap() works.
18057 * gst/gstevent.c: (gst_event_new_newsegment):
18058 Allow newsegment events with segment_start == segment_end, as will
18059 correctly happen if you use filesrc on a zero-size file, for
18062 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18064 * gst/gstplugin.c: (gst_plugin_load_file):
18065 Call g_module_close when we don't load the module
18067 * gst/registries/gstlibxmlregistry.c:
18068 (gst_xml_registry_get_property):
18069 Port leak fix from 0.8
18071 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18073 * docs/gst/gstreamer-docs.sgml:
18074 * docs/gst/tmpl/.cvsignore:
18075 * docs/gst/tmpl/gsttrace.sgml:
18076 * docs/gst/tmpl/gsttrashstack.sgml:
18079 * gst/gstelement.h:
18081 * gst/gstmessage.c:
18082 * gst/gstmessage.h:
18085 * gst/gsttaginterface.c:
18086 * gst/gsttaginterface.h:
18087 * gst/gsttaglist.c:
18088 * gst/gsttaglist.h:
18089 * gst/gsttagsetter.c:
18090 * gst/gsttagsetter.h:
18093 * gst/gsttrashstack.c:
18094 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18095 inlined docs for gsttrace, gsttrashstack
18097 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18100 * gst/elements/gstbufferstore.h:
18101 * gst/elements/gsttypefindelement.c:
18102 * gst/elements/gsttypefindelement.h:
18104 * gst/gsttypefind.c:
18105 * gst/gsttypefind.h:
18106 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18107 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18108 (gst_type_find_factory_dispose),
18109 (gst_type_find_factory_unload_thyself),
18110 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18111 (gst_type_find_factory_get_caps),
18112 (gst_type_find_factory_get_extensions),
18113 (gst_type_find_factory_call_function):
18114 * gst/gsttypefindfactory.h:
18115 * gst/registries/gstlibxmlregistry.c:
18116 * gst/registries/gstxmlregistry.c:
18117 splitted gsttypefind into gsttypefind, gsttypefindfactory
18119 2005-09-07 Andy Wingo <wingo@pobox.com>
18121 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18122 condition whereby the pad's task function is entered before the
18123 pad_mode variable was set.
18125 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18127 * gst/gstpad.c: (gst_pad_alloc_buffer):
18128 Catch misbehaving pad_alloc functions that don't
18129 set up caps and do it for them.
18131 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18133 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18134 test for pipe!=NULL
18135 * docs/gst/tmpl/.cvsignore:
18136 * docs/gst/tmpl/gstmemchunk.sgml:
18137 * docs/gst/tmpl/gstparse.sgml:
18138 * docs/gst/tmpl/gsttaglist.sgml:
18139 * docs/gst/tmpl/gsttagsetter.sgml:
18140 * docs/gst/tmpl/gsttypefind.sgml:
18141 * docs/gst/tmpl/gsttypefindfactory.sgml:
18142 * gst/gstmemchunk.c:
18145 * gst/gsttaginterface.c:
18146 * gst/gsttypefind.c:
18147 * gst/gsttypefind.h:
18150 === release 0.9.2 ===
18152 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18157 releasing 0.9.2, "South"
18159 2005-09-05 Andy Wingo <wingo@pobox.com>
18161 * gst/registries/gstxmlregistry.h:
18162 * gst/registries/gstxmlregistry.c: Um... resurrect...
18164 * gst/registries/gstxmlregistry.h:
18165 * gst/registries/gstxmlregistry.c: and update to newer API.
18166 Incidentally they should be a bit faster now that they don't have
18169 2005-09-05 Andy Wingo <wingo@pobox.com>
18171 * gst/registries/gstxmlregistry.h:
18172 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18173 replaced by the libxml registry a while back
18175 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18177 * docs/gst/tmpl/gstplugin.sgml:
18178 * gst/elements/gstelements.c:
18180 * gst/gstplugin.c: (gst_plugin_register_func),
18181 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18182 (gst_plugin_get_source):
18184 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18185 (gst_xml_registry_save_plugin):
18186 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18187 (gst_xml_registry_save_plugin):
18188 * tools/gst-inspect.c: (print_plugin_info):
18189 add a "source" plugin description field, to represent the source
18190 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18191 will set it to PACKAGE, which is automake's idea of the name of
18192 the source project.
18194 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18199 * docs/Makefile.am:
18200 * docs/faq/Makefile.am:
18201 * docs/gst/tmpl/gstelement.sgml:
18202 * docs/gst/tmpl/gsttypes.sgml:
18203 * docs/htmlinstall.mak:
18204 * docs/manual/Makefile.am:
18205 * docs/pwg/Makefile.am:
18206 reorganize doc build a little
18207 split out docbook and gtk-doc stuff
18208 have two separate --enable's and enable them through autogen
18209 but disable by default in configure (to be similar to other
18211 * gstreamer.spec.in:
18212 clean up docs install
18230 translation updates
18232 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18234 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18237 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18238 (gst_fake_sink_change_state):
18239 Make state change function thread-safe.
18241 * gst/gstpad.c: (gst_pad_alloc_buffer):
18242 Set offset on generic buffer allocated by fallback.
18244 2005-09-03 Stefan Kost <ensonic@users.sf.net>
18246 * docs/gst/gstreamer-sections.txt:
18247 * docs/gst/tmpl/gstelement.sgml:
18249 * libs/gst/controller/gst-controller.c:
18250 (gst_controlled_property_set_interpolation_mode),
18251 (gst_controlled_property_new),
18252 (gst_controller_find_controlled_property):
18253 run the wingo-magic script against the docs
18255 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18257 * docs/gst/gstreamer-docs.sgml:
18258 * docs/gst/gstreamer-sections.txt:
18259 * docs/gst/tmpl/.cvsignore:
18260 * docs/gst/tmpl/gstelementdetails.sgml:
18261 * docs/gst/tmpl/gstelementfactory.sgml:
18264 * gst/gstelementfactory.c:
18265 * gst/gstelementfactory.h:
18266 merged elementdetails docs into elementfactory docs
18269 2005-09-02 Andy Wingo <wingo@pobox.com>
18271 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18272 consider this enum an enum and not a flags.
18274 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18276 * docs/gst/gstreamer-docs.sgml:
18277 * docs/gst/tmpl/.cvsignore:
18278 * docs/gst/tmpl/gstghostpad.sgml:
18279 * docs/gst/tmpl/gstiterator.sgml:
18280 * docs/gst/tmpl/gstmacros.sgml:
18281 * docs/gst/tmpl/gstrealpad.sgml:
18282 * docs/gst/tmpl/gstregistry.sgml:
18283 * docs/gst/tmpl/gstregistrypool.sgml:
18284 * docs/gst/tmpl/gststructure.sgml:
18285 * docs/gst/tmpl/gstsystemclock.sgml:
18286 * docs/gst/tmpl/gsttrace.sgml:
18287 * gst/gstghostpad.c:
18289 * gst/gstmemchunk.c:
18290 * gst/gstmemchunk.h:
18292 * gst/gstregistry.c:
18293 * gst/gstregistrypool.c:
18294 * gst/gststructure.c:
18295 * gst/gstsystemclock.c:
18298 2005-09-02 Andy Wingo <wingo@pobox.com>
18300 * gst/gstelement.h (GstState): Renamed from GstElementState,
18301 changed to be a normal enum instead of flags.
18302 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18303 munged to be GST_STATE_CHANGE_*.
18304 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18305 work with the new state representation.
18306 (GstStateChange): New enumeration of possible state transitions.
18307 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18308 (GstElementClass::change_state): Pass the GstStateChange along as
18309 an argument. Helps language bindings, so they don't have to use
18310 tricky lock-needing macros like GST_STATE_CHANGE ().
18312 * scripts/update-states (file): New script. Run it on a file to
18313 update it for state naming and API changes. Updates files in
18316 * All files updated for the new API.
18318 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
18320 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18321 * gst/gstutils.c: (gst_util_set_value_from_string),
18322 (gst_util_set_object_arg):
18323 fix a bunch of unchecked return values
18324 * tools/gst-complete.c: (main):
18325 * gstreamer.spec.in:
18328 2005-09-01 Wim Taymans <wim@fluendo.com>
18330 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18331 (gst_base_sink_event), (gst_base_sink_do_sync),
18332 (gst_base_sink_handle_event):
18333 * gst/base/gstbasesink.h:
18334 Handle newsegments more correctly.
18339 * gst/gstevent.c: (gst_event_new_newsegment):
18340 A newsegment cannot have a start_time of -1
18342 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
18344 * win32/gstenumtypes.c:
18345 * win32/gstenumtypes.h:
18348 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18350 * libs/gst/controller/gst-controller.c:
18351 (gst_controlled_property_set_interpolation_mode),
18352 (gst_controlled_property_new):
18353 fixed boolean again
18355 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
18357 * docs/faq/gst-uninstalled:
18362 * gst/gstutils.c: (gst_element_link_filtered):
18364 add gst_element_link_filtered
18366 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18368 * docs/gst/gstreamer-docs.sgml:
18369 * docs/gst/gstreamer-sections.txt:
18370 * docs/gst/tmpl/.cvsignore:
18371 * docs/gst/tmpl/gsterror.sgml:
18372 * docs/gst/tmpl/gstfilter.sgml:
18373 * docs/gst/tmpl/gsturihandler.sgml:
18374 * docs/gst/tmpl/gsturitype.sgml:
18375 * docs/gst/tmpl/gstutils.sgml:
18376 * docs/gst/tmpl/gstxml.sgml:
18381 * gst/gsturitype.c:
18384 inlined more docs, fixed double id-ref
18386 2005-08-31 Wim Taymans <wim@fluendo.com>
18388 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18389 (gst_base_transform_handle_buffer):
18390 Passthrough elements don't need the caps as they don't care.
18392 2005-08-31 Wim Taymans <wim@fluendo.com>
18394 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18395 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18396 Don't leak refcounts on buffers.
18398 2005-08-31 Wim Taymans <wim@fluendo.com>
18400 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18401 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18402 (gst_base_transform_chain), (gst_base_transform_change_state):
18403 * gst/base/gstbasetransform.h:
18404 Handle the case where we are not negotiated more gracefully.
18406 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18408 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18409 (gst_file_src_map_region):
18410 Set READONLY flag on mmap'ed buffers, otherwise
18411 gst_buffer_make_writable() won't work properly (#314708).
18413 2005-08-31 Wim Taymans <wim@fluendo.com>
18415 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18416 passthrough elements can even do inplace on non writable
18417 buffers (as they don't touch them).
18419 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18421 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18422 (gst_test_mono_source_set_property),
18423 (gst_test_mono_source_class_init), (GST_START_TEST),
18424 (gst_controller_suite):
18425 more tests (hehe I have the most)
18427 describe popping messages whenusing mulltiple sources
18428 * libs/gst/controller/gst-controller.c:
18429 (gst_controlled_property_set_interpolation_mode),
18430 (gst_controlled_property_new):
18431 * libs/gst/controller/gst-controller.h:
18432 * libs/gst/controller/gst-interpolation.c:
18433 implement boolean properties
18435 2005-08-31 Wim Taymans <wim@fluendo.com>
18437 * gst/gstminiobject.c: (gst_mini_object_ref):
18438 Cannot assert that the refcount has to be positive
18439 since a disposed object can be resurrected.
18441 2005-08-31 Wim Taymans <wim@fluendo.com>
18443 * gst/gstpad.c: (gst_pad_init):
18444 Revert change, need to first fix badly behaving
18447 2005-08-30 Wim Taymans <wim@fluendo.com>
18449 * check/elements/fakesrc.c: (setup_fakesrc):
18450 * check/elements/identity.c: (setup_identity):
18451 Activate pads before using them.
18453 2005-08-30 Wim Taymans <wim@fluendo.com>
18455 * gst/base/gstadapter.c: (gst_adapter_flush):
18456 Flushing out 0 bytes is ok for this function.
18458 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18459 no newsegment gives a warning and sets the start/stop to
18462 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18463 (gst_base_transform_set_passthrough):
18466 * gst/gstminiobject.c: (gst_mini_object_ref):
18467 Check refcount here too.
18469 * gst/gstpad.c: (gst_pad_init):
18470 Pads are initially flushing and refusing data.
18472 * gst/gstutils.c: (gst_element_link_pads_filtered):
18473 When adding a capsfilter element make sure it has the
18474 same state as the parent bin.
18476 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18478 * docs/gst/tmpl/.cvsignore:
18479 * docs/gst/tmpl/gstformat.sgml:
18480 * docs/gst/tmpl/gstversion.sgml:
18484 * gst/gstversion.h.in:
18485 more docs and two more inlined
18487 2005-08-30 Wim Taymans <wim@fluendo.com>
18489 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18490 Don't sync to clock.
18492 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18494 * docs/gst/gstreamer-sections.txt:
18495 ultral33t func10ns deserve to appear in the docs actually
18496 * docs/gst/tmpl/.cvsignore:
18497 * docs/gst/tmpl/gstcompat.sgml:
18498 * docs/gst/tmpl/gstconfig.sgml:
18499 * gst/check/gstcheck.c:
18501 * gst/gstconfig.h.in:
18504 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18506 * docs/gst/tmpl/.cvsignore:
18507 * docs/gst/tmpl/gstquery.sgml:
18508 * docs/gst/tmpl/gstutils.sgml:
18511 inlined and extended docs
18513 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18515 * check/gst-libs/controller.c: (GST_START_TEST),
18516 (gst_controller_suite):
18518 * docs/gst/tmpl/gstutils.sgml:
18519 * docs/libs/gstreamer-libs-sections.txt:
18520 * docs/libs/tmpl/gstdataprotocol.sgml:
18522 * examples/controller/audio-example.c: (main):
18523 controller example works now
18526 * tools/gst-inspect.c: (print_element_properties_info):
18527 show param spec flags
18529 2005-08-29 Andy Wingo <wingo@pobox.com>
18531 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18533 2005-08-28 Andy Wingo <wingo@pobox.com>
18535 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18536 as having two arguments instead of just one. Allows superclasses
18537 to access information on subclasses -- see the terrible for() loop
18538 in gtype.c:g_type_create_instance for the reason why. All callers
18541 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18543 * docs/design/part-messages.txt:
18545 * docs/gst/tmpl/.cvsignore:
18546 * docs/gst/tmpl/gstcaps.sgml:
18547 * docs/gst/tmpl/gstclock.sgml:
18553 * gst/gstmessage.c:
18554 added descriptions for bus and message
18555 inline caps and clock docs
18557 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18559 * gst/gstmessage.c:
18560 * gst/gstmessage.h:
18563 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18565 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18568 2005-08-26 Andy Wingo <wingo@pobox.com>
18570 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18571 element_set_state's return val.
18572 (test_2_elements): Add test that's been disabled for months.
18574 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18575 can-activate-pull properties.
18577 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18578 can-activate-pull properties. Implement is_seekable so fakesrc can
18579 operate in pull mode.
18581 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18583 (gst_base_sink_activate, gst_base_sink_activate_pull)
18584 (gst_base_sink_activate_push): Make activation mode choosing work.
18586 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18587 is right. Make pull mode work. Post an eos before pausing in pull
18589 (gst_base_sink_change_state): Pay attention to the core's
18590 change_state() return val.
18592 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18593 has-getrange properties. Cleanups.
18595 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18596 has_getrange and replace with can_activate_pull and
18599 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18600 locking comments. Remove has_loop, has_chain and replace with
18601 can_activate_pull and can_activate_push.
18603 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18606 * examples/Makefile.am:
18607 * examples/metadata/Makefile.am:
18608 * examples/metadata/read-metadata.c: (message_loop),
18609 (have_pad_handler), (make_pipeline), (print_tag), (main):
18610 Add metadata reading example that loops over a list of filenames,
18611 dumping any tags found.
18613 * gst/gstbus.c: (gst_bus_dispose):
18614 * gst/gstelement.c: (gst_element_dispose):
18615 Release a few potentially-held references in dispose.
18617 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18619 * docs/gst/tmpl/gstminiobject.sgml:
18620 do *not* add tmpl/*.sgml files to CVS!
18622 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18624 * libs/gst/bytestream/.cvsignore:
18625 * libs/gst/bytestream/Makefile.am:
18626 * libs/gst/bytestream/adapter.c:
18627 * libs/gst/bytestream/adapter.h:
18628 * libs/gst/bytestream/bytestream.c:
18629 * libs/gst/bytestream/bytestream.h:
18630 * libs/gst/bytestream/filepad.c:
18631 * libs/gst/bytestream/filepad.h:
18632 removing obsolete files
18634 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18636 * docs/gst/gstreamer-docs.sgml:
18637 * docs/libs/gstreamer-libs-docs.sgml:
18638 disabed additional index entries again, as this makes docs-gen just
18639 slow and they aren't useful yet
18640 * docs/libs/gstreamer-libs-sections.txt:
18641 little -section.txt cleanup for libs
18643 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18646 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18647 fix up some debugging
18648 (gst_base_transform_get_unit_size),
18649 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18650 (gst_base_transform_handle_buffer):
18651 * gst/base/gstbasetransform.h:
18652 handle and store timed NEWSEGMENT events so that subclasses that
18653 calculate time by counting samples have a segment_start time they
18654 need to add to their timestamps - see audioresample
18656 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18659 removed ';' from the end of macro defs
18660 * docs/gst/gstreamer-docs.sgml:
18661 * docs/gst/gstreamer-sections.txt:
18662 * docs/gst/tmpl/.cvsignore:
18664 * gst/gstelement.c: (gst_element_class_init),
18665 (gst_element_set_state), (activate_pads),
18666 (gst_element_save_thyself):
18667 * gst/gstevent.c: (gst_event_new_newsegment):
18669 * gst/gstiterator.c:
18670 * gst/gstiterator.h:
18673 * gst/gstutils.c: (gst_pad_query_convert):
18675 fixed parameter name mismatches between source, header and docs
18676 added some more docs, resolved the last batch of unused elements in
18677 docs (now someone needs to doc them)
18679 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18681 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18682 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18683 don't walk through the plugins backwards. Where is all this
18684 reversed logic coming from ?
18686 2005-08-25 Wim Taymans <wim@fluendo.com>
18688 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18689 (gst_base_transform_transform_size),
18690 (gst_base_transform_configure_caps),
18691 (gst_base_transform_get_unit_size),
18692 (gst_base_transform_buffer_alloc),
18693 (gst_base_transform_change_state):
18694 * gst/base/gstbasetransform.h:
18695 Cache caps unit_size.
18696 Make sure we cannot negotiate up and downstream at the
18699 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18701 * gst/gst.c: (init_pre), (init_post):
18702 register the installed plugin path after the env var
18703 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18704 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18705 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18706 directories, so the tests can prefer uninstalled over installed
18708 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18710 * gst/base/gstbasetransform.h:
18715 2005-08-25 Wim Taymans <wim@fluendo.com>
18717 * gst/gstbin.c: (bin_bus_handler):
18718 Be a bit more conservative about the posted message.
18720 * gst/gstbus.c: (gst_bus_post):
18721 Some cleanups, warn wrong return values.
18723 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18725 * check/gst/gstbin.c: (GST_START_TEST):
18726 * gst/gstbin.c: (bin_bus_handler):
18727 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18728 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18729 (gst_message_new_warning), (gst_message_new_tag),
18730 (gst_message_new_state_changed), (gst_message_new_segment_start),
18731 (gst_message_new_segment_done), (gst_message_new_custom):
18732 * gst/gstmessage.h:
18733 * tools/gst-launch.c: (event_loop):
18734 * tools/gst-md5sum.c: (event_loop):
18735 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18737 2005-08-25 Wim Taymans <wim@fluendo.com>
18739 * check/generic/states.c: (GST_START_TEST):
18740 Cleanup can be done at the end.
18742 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18743 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18744 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18745 Oh boy.. Thanks for finding this, Thomas.
18747 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18749 * docs/gst/gstreamer.types:
18750 added missing types
18752 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18754 * docs/gst/gstreamer-docs.sgml:
18755 * docs/gst/gstreamer-sections.txt:
18756 * docs/gst/tmpl/.cvsignore:
18758 * gst/gstiterator.c:
18760 * gst/registries/gstxmlregistry.h:
18761 added missing classes and symbols (123 more to go)
18762 removed removed symbols from section file
18763 fixed many doc-comments
18765 2005-08-24 Wim Taymans <wim@fluendo.com>
18767 * check/generic/states.c: (GST_START_TEST):
18768 Make sure all tasks are stopped.
18770 * check/gst/gstbin.c: (GST_START_TEST):
18771 Unref after usage for proper valgrinding.
18773 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18774 Really wait for the task to stop before destroying the
18777 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18778 (gst_queue_src_activate_push):
18779 Small cleanups. Don't stop the task when we did not start
18782 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18783 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18784 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18787 Protect the stream lock with the object lock.
18788 Disallow setting the stream lock when running.
18789 Add cleanup_all to wait for the threadpool to finish.
18790 Remove code to autoallocate a mutex if none was provided.
18791 Add _join() to wait for a task to stop.
18792 Protect the thread pool with a global lock.
18794 2005-08-24 Wim Taymans <wim@fluendo.com>
18796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18797 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18798 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18799 * gst/base/gstbasesink.h:
18800 Handle newsegment events correctly.
18801 Drop buffers out of the segment range.
18803 2005-08-22 Andy Wingo <wingo@pobox.com>
18805 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18806 macro, implements an interface and gstimplementsinterface for a
18809 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18811 * check/Makefile.am:
18812 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18813 add a test that does a bunch of state changes on elements
18814 needs some fixing for valgrind
18815 * check/states/sinks.c: (gst_object_suite):
18818 add prototype for gst_caps_is_equal_fixed
18820 * gst/gstregistrypool.c:
18823 2005-08-24 Andy Wingo <wingo@pobox.com>
18825 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18826 convert a negative value. Doesn't make much sense. Mostly this is
18827 here to force callers to ensure -1 maps to -1.
18829 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18831 * docs/pwg/advanced-types.xml:
18832 Well done to Michael for catching my deliberate introduction
18833 of this spelling mistake.
18834 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18835 * gst/gstelement.h:
18836 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18837 unlink pads before removing the element from the bin.
18839 2005-08-24 Andy Wingo <wingo@pobox.com>
18841 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18842 the same thing as GST_DEBUG=*:4.
18843 (parse_debug_level, parse_debug_category): New helper parsers.
18845 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18847 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18848 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18849 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18850 (gst_base_transform_buffer_alloc),
18851 (gst_base_transform_handle_buffer):
18852 use gboolean return values and pointers to size so we can use the
18853 full GST_BUFFER_SIZE range (guint) for buffer sizes
18854 use GstPadDirection for transform_caps
18855 * gst/base/gstbasetransform.h:
18856 rename get_size to get_unit_size since that's what it is
18857 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18858 use GstPadDirection for transform_caps
18859 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18861 cleanup and debugging
18863 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18865 * gst/gstelement.c: (gst_element_class_init),
18866 (gst_element_set_state), (activate_pads),
18867 (gst_element_save_thyself):
18868 * tools/gst-compprep.c: (main):
18869 * tools/gst-inspect.c: (print_element_properties_info):
18870 * tools/gst-xmlinspect.c: (print_element_properties):
18871 Fixed long standing mem-leak
18873 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18875 * check/gst/gstbin.c: (GST_START_TEST):
18876 * gst/gstbin.c: (bin_bus_handler):
18877 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18878 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18879 (gst_message_new_warning), (gst_message_new_tag),
18880 (gst_message_new_state_changed), (gst_message_new_segment_start),
18881 (gst_message_new_segment_done), (gst_message_new_custom):
18882 * gst/gstmessage.h:
18883 * tools/gst-launch.c: (event_loop):
18884 * tools/gst-md5sum.c: (event_loop):
18885 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
18886 that applications can sensibly post custom messages with references
18887 to their own objects.
18889 2005-08-24 Andy Wingo <wingo@pobox.com>
18891 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
18894 2005-08-24 Wim Taymans <wim@fluendo.com>
18896 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18897 (gst_base_transform_transform_caps),
18898 (gst_base_transform_transform_size),
18899 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18900 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18901 (gst_base_transform_handle_buffer):
18902 * gst/base/gstbasetransform.h:
18903 Many fixes and new features added by Thomas. Can now also do
18904 transforms with variable sizes and a custom fixate_caps function.
18906 2005-08-24 Wim Taymans <wim@fluendo.com>
18908 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18912 Cast to ClockTime before formatting to time.
18917 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18919 * check/gst-libs/controller.c: (GST_START_TEST),
18920 (gst_controller_suite):
18921 * docs/gst/tmpl/gstcaps.sgml:
18922 * docs/gst/tmpl/gstghostpad.sgml:
18923 * docs/gst/tmpl/gstquery.sgml:
18924 * docs/gst/tmpl/gstutils.sgml:
18925 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
18926 (gst_object_sink_values), (gst_object_get_value_arrays),
18927 (gst_object_get_value_array):
18928 gracefully handle helper method calls to objects that are not beeing
18929 controlled, added test case for that
18931 2005-08-23 Wim Taymans <wim@fluendo.com>
18933 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
18934 (gst_event_new_newsegment), (gst_event_parse_newsegment),
18935 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
18936 (gst_event_parse_qos), (gst_event_new_seek),
18937 (gst_event_parse_seek):
18939 Some more debugging output and doc cleanups.
18941 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18942 Fix possible deadlock.
18944 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18946 * docs/gst/gstreamer-docs.sgml:
18947 * docs/gst/gstreamer-sections.txt:
18948 * docs/gst/gstreamer.types:
18949 * docs/gst/tmpl/.cvsignore:
18952 * gst/gstelement.c:
18954 added 100 symbols from gstreamer-unused.txt to the right sections
18955 fixed more broken comments
18956 added GstBus to docs
18958 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18960 * docs/gst/gstreamer-sections.txt:
18961 * docs/gst/tmpl/.cvsignore:
18962 * docs/gst/tmpl/gstbin.sgml:
18963 * docs/gst/tmpl/gstbuffer.sgml:
18964 * gst/base/gstbasesrc.c:
18965 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
18968 * tools/gst-launch.1.in:
18969 inlined more doc comments, added missing comments and fixed comments
18972 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
18974 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18978 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
18980 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
18981 * gst/gststructure.h:
18982 add a fixate function for booleans; add a FIXME that these func
18983 names should probably be gst_structure_fixate_*
18985 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18987 * docs/gst/gstreamer-docs.sgml:
18988 * docs/gst/gstreamer-sections.txt:
18990 * gst/gstbin.c: (gst_bin_get_type),
18991 (gst_bin_child_proxy_get_child_by_index),
18992 (gst_bin_child_proxy_get_children_count),
18993 (gst_bin_child_proxy_init):
18994 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18995 (gst_child_proxy_get_child_by_index),
18996 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
18997 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
18998 (gst_child_proxy_get), (gst_child_proxy_set_property),
18999 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19000 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19001 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19002 * gst/gstchildproxy.h:
19003 * gst/parse/grammar.y:
19004 * tools/gst-inspect.c: (print_interfaces),
19005 (print_element_properties_info), (print_element_info):
19006 ported gstchildproxy over from 0.8
19007 ported gst-inspect fixes and enhancements over from 0.8
19009 2005-08-22 Wim Taymans <wim@fluendo.com>
19011 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19012 (gst_base_transform_handle_buffer):
19013 Also call the transform function if we have ANY caps.
19015 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19018 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19020 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19021 Don't pretend to handle seek events if the source is not seekable
19023 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19025 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19026 Remove extra parameter to debug output
19028 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19029 (gst_base_src_do_seek), (gst_base_src_activate_push):
19030 Fix seek event handling.
19032 * gst/gstpipeline.c: (gst_pipeline_change_state):
19033 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19034 (gst_queue_src_activate_push):
19035 Don't start the src pad task on FLUSH_STOP if the pad
19039 2005-08-22 Wim Taymans <wim@fluendo.com>
19041 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19042 Added check for gst_static_caps_get() refcounting.
19044 2005-08-22 Wim Taymans <wim@fluendo.com>
19046 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19047 Make _static_caps_get() refcounting sane.
19049 * gst/gstelement.c: (gst_element_set_state):
19050 Add g_return_val_if_fail() to protect against segfaults.
19052 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19054 * docs/gst/tmpl/gstevent.sgml:
19057 inlined remaining docs, added missing doc comments
19059 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19061 * check/gst/gstbin.c: (GST_START_TEST):
19062 since we don't know when preroll is done, use refcount range
19064 * gst/check/gstcheck.h:
19065 add macro for checking refcount range
19067 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19069 * check/Makefile.am:
19070 clean up environment for when registry gets built versus
19071 when actual tests are run; valgrind seems to not report
19072 leaks if GST_PLUGIN_PATH is set to some specific values
19073 * check/gst/gstbin.c: (GST_START_TEST):
19074 add more refcounting checks; maybe this exposes a
19076 * common/check.mak:
19077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19078 * gst/check/gstcheck.h:
19079 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19080 (gst_bin_change_state):
19081 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19082 add/fix debugging/whitespace
19084 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19086 * check/gst/gstevent.c: (event_probe), (test_event),
19088 Er, don't call gst_bin_watch_for_state_change you idiot.
19090 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19092 * check/Makefile.am:
19093 Use CHECK_CFLAGS and CHECK_LIBS
19094 * check/gst/gstevent.c: (event_probe), (test_event),
19097 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19098 (gst_base_src_start), (gst_base_src_stop),
19099 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19100 (gst_base_src_change_state):
19101 Sprinkle gst_base_src_stop liberally around error paths to fix
19102 problems reusing a source after failed state changes.
19103 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19104 (helper_find_suggest), (gst_type_find_helper):
19105 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19107 * docs/gst/tmpl/gstevent.sgml:
19108 Migrate part of the docs from the SGML file. Wait for ensonic to
19109 tell me how I did it wrong ;)
19110 * tools/gst-typefind.c: (main):
19111 Extra robustness to state changes between files.
19113 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19115 * check/Makefile.am:
19116 don't valgrind the controller test - it's leaking - Stefan, HELP
19117 * gst/check/gstcheck.c: (gst_check_message_error),
19118 (gst_check_chain_func), (gst_check_setup_element),
19119 (gst_check_teardown_element), (gst_check_setup_src_pad),
19120 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19121 (gst_check_teardown_sink_pad):
19122 * gst/check/gstcheck.h:
19123 add a bunch of methods to set up elements, and src and sink pads
19124 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19125 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19128 * gst/gstmessage.c:
19130 whitespace/doc fixes
19132 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19134 * gst/gstelement.h:
19135 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19136 be handled by the application and not always printed as well
19138 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19140 * check/Makefile.am:
19142 * gst/check/gstcheck.c: (gst_check_message_error):
19143 * gst/check/gstcheck.h:
19144 add a fail_unless_equals_int
19145 add fail_unless for error messages
19147 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19149 * check/Makefile.am:
19151 * common/Makefile.am:
19152 * common/check.mak:
19154 factor out some of the common stuff so we can use it
19156 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19158 * check/Makefile.am:
19159 * check/gst/gstiterator.c: (GST_START_TEST):
19160 * check/gst/gstsystemclock.c: (GST_START_TEST),
19161 (gst_systemclock_suite):
19162 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19164 valgrind more tests
19166 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19168 * check/elements/.cvsignore:
19169 * check/elements/gstfakesrc.c:
19170 rename to name of element
19171 * check/elements/identity.c: (chain_func), (event_func),
19172 (setup_identity), (cleanup_identity), (GST_START_TEST),
19173 (identity_suite), (main):
19174 add a test for identity
19175 * check/Makefile.am:
19176 * pkgconfig/Makefile.am:
19177 * pkgconfig/gstreamer-check.pc.in:
19178 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19182 move the check stuff to a library that gets installed
19183 * check/gst-libs/controller.c: (GST_START_TEST):
19184 * check/gst-libs/gdp.c:
19185 * check/gst/gst.c: (GST_START_TEST):
19186 * check/gst/gstbin.c:
19187 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19188 * check/gst/gstbus.c:
19189 * check/gst/gstcaps.c: (GST_START_TEST):
19190 * check/gst/gstelement.c:
19191 * check/gst/gstghostpad.c:
19192 * check/gst/gstiterator.c:
19193 * check/gst/gstmessage.c:
19194 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19195 * check/gst/gstobject.c:
19196 * check/gst/gstpad.c: (GST_START_TEST):
19197 * check/gst/gststructure.c: (GST_START_TEST):
19198 * check/gst/gstsystemclock.c: (GST_START_TEST),
19199 (gst_systemclock_suite):
19200 * check/gst/gsttag.c: (gst_tag_suite):
19201 * check/gst/gstvalue.c:
19202 * check/pipelines/cleanup.c:
19203 * check/pipelines/simple_launch_lines.c:
19204 * check/states/sinks.c:
19205 change include statement
19207 * docs/gst/gstreamer-sections.txt:
19208 * docs/gst/tmpl/gstpad.sgml:
19209 document more pad stuff
19210 * gst/gstminiobject.c: (gst_mini_object_ref),
19211 (gst_mini_object_unref):
19214 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19216 * docs/gst/tmpl/gst.sgml:
19218 eliminate another tmpl file, fix spelling in the long-description
19220 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19222 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19223 (test_event), (timediff), (gstevents_suite):
19224 Should fix build on 64-bit arch's
19226 2005-08-18 Andy Wingo <wingo@pobox.com>
19228 Make sure that when a pipeline goes to PLAYING, that data has
19229 actually hit the sink.
19231 * check/states/sinks.c (test_sink): A sink that doesn't get any
19232 data shouldn't return SUCCESS for going to either PLAYING or
19233 PAUSED. Test also the return values on the way back down.
19235 * gst/gstelement.c (gst_element_set_state): When changing the
19236 state of an element currently changing state asynchronously, go to
19237 lost-state after commiting the pending state. Makes future calls
19238 to get_state continue to return ASYNC.
19240 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19241 ASYNC when going to PLAYING if we still don't have preroll, as can
19242 happen with live sources.
19244 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19246 * docs/pwg/advanced-types.xml:
19247 Hack long paragraph into 2 chunks as a workaround for buggy
19248 jadetex version in sid and breezy that loops infinitely and
19251 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19253 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19254 (test_event), (timediff), (gstevents_suite):
19255 Provide more error margin in clock measurements to allow for
19256 g_get_current_time inaccuracies.
19258 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19260 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19261 (test_event), (timediff), (gstevents_suite):
19262 Fix error message output so I might be able to tell why the
19263 test works here but fails on the build farm.
19265 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19267 * check/Makefile.am:
19268 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19269 (test_event), (timediff), (gstevents_suite), (main):
19272 * docs/design/part-seeking.txt:
19273 Spelling correction
19275 * docs/gst/tmpl/gstevent.sgml:
19276 * docs/gst/tmpl/gstfakesrc.sgml:
19279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19280 Treat a buffer-without-newsegment the same as a receiving
19281 a newsegment not in time format, and disable syncing to the clock
19284 * gst/gstbus.c: (gst_bus_set_sync_handler):
19285 Assert if anyone tries to replace the existing sync_handler for bus,
19286 as only the owner should be setting it.
19289 Have a fixed set of custom event enums with events identified by
19290 their structure name (as in 0.8), rather than a free-for-all
19291 allowing collisions between enum values from different plugins.
19293 * gst/gstpad.c: (gst_pad_class_init):
19296 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19297 Handle out-of-band downstream events from the sending thread.
19299 2005-08-17 Andy Wingo <wingo@pobox.com>
19301 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19302 play-timeout==0 to mean no timeout at all. In that case, don't
19303 bother with a get_state or a warning, just return directly, even
19306 * gst/base/gstbasetransform.c: Debug changes.
19309 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19310 ensure bins post state change messages. A bit of a hack but I can't
19311 think of a way to avoid it.
19313 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19315 2005-08-16 Andy Wingo <wingo@pobox.com>
19317 * gst/base/gstadapter.h:
19318 * gst/base/gstadapter.c (gst_adapter_take): New function, like
19319 peek() but you own the data. Not terribly efficient atm.
19321 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19323 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19324 (gst_element_found_tags):
19326 Add two utility functions for tag handling.
19328 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19330 * docs/manual/advanced-dataaccess.xml:
19331 * docs/manual/basics-helloworld.xml:
19332 Fix docs to use _bin_add() before _link(), which fixes the examples
19333 with recent core versions (reported by Madhan Raj M
19334 <raj_madan@rediffmail.com>, #313199).
19336 2005-08-16 Wim Taymans <wim@fluendo.com>
19338 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19339 Added subtract checks.
19341 * docs/design/part-events.txt:
19342 Some more docs about newsegment
19344 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19347 * gst/gstcaps.c: (gst_caps_to_string):
19348 Add comments, cleanups.
19350 * gst/gstelement.c: (gst_element_save_thyself):
19353 * gst/gstvalue.c: (gst_value_collect_int_range),
19354 (gst_string_unwrap), (gst_value_union_int_int_range),
19355 (gst_value_union_int_range_int_range),
19356 (gst_value_intersect_int_int_range),
19357 (gst_value_intersect_int_range_int_range),
19358 (gst_value_intersect_double_double_range),
19359 (gst_value_intersect_double_range_double_range),
19360 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19361 (gst_value_subtract_int_range_int),
19362 (gst_value_subtract_double_range_double),
19363 (gst_value_subtract_double_range_double_range),
19364 (gst_value_subtract_from_list), (gst_value_subtract_list),
19365 (gst_value_can_compare), (gst_value_compare_fraction):
19366 Cleanups, add comments, remove unneeded asserts.
19368 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19370 * tools/gst-launch.c: (event_loop):
19371 don't convert NULL structures to strings
19373 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19375 * docs/gst/gstreamer-sections.txt:
19376 made some defines private
19377 * docs/gst/tmpl/gstconfig.sgml:
19378 * docs/gst/tmpl/gstqueue.sgml:
19379 * docs/gst/tmpl/gsttaglist.sgml:
19380 * docs/gst/tmpl/gsttypes.sgml:
19381 * docs/gst/tmpl/gstutils.sgml:
19382 * docs/pwg/appendix-porting.xml:
19383 * gst/base/gstbasesink.h:
19384 * gst/base/gstbasesrc.c:
19385 * gst/base/gstbasesrc.h:
19386 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19387 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19388 * gst/gstelement.c: (gst_element_class_init):
19389 * gst/gstpad.c: (gst_pad_class_init):
19390 * gst/gstqueue.c: (gst_queue_class_init):
19391 * gst/gstxml.c: (gst_xml_class_init):
19392 documented all undocumented signal inline
19393 * libs/gst/controller/gst-controller.h:
19396 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19398 * docs/pwg/appendix-porting.xml:
19399 Document _set_link_function -> _set_setcaps_function.
19401 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19403 * check/Makefile.am:
19404 add a .check target for running the check
19405 * check/gst-libs/controller.c: (GST_START_TEST):
19407 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19408 complete checks for gstbuffer; would be nice if I could get the
19409 gcov stuff to work so I can see if I actually completed gstbuffer.c
19410 * check/gstcheck.h:
19411 add ASSERT_BUFFER_REFCOUNT
19413 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19415 * docs/gst/gstreamer-sections.txt:
19416 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19418 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19419 spew out a warning if a tag that is already registered
19420 is re-registered, unless it is re-registered with a
19421 different type (#308438).
19423 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19425 * docs/pwg/appendix-porting.xml:
19426 * docs/pwg/building-state.xml:
19427 Add some paragraphs about state changes in 0.9 to the PWG
19428 and the porting guide, in particular about the new meaning
19429 of GST_STATE_PAUSED and how to write state change functions
19430 with concurrent access by multiple threads in mind.
19432 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19434 * docs/gst/gstreamer-docs.sgml:
19435 * docs/libs/gstreamer-libs-docs.sgml:
19436 added deprecation and since indexes
19437 * libs/gst/controller/gst-controller.c:
19438 * libs/gst/controller/gst-helper.c:
19442 2005-08-11 Wim Taymans <wim@fluendo.com>
19444 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19445 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19446 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19447 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19448 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19449 (gst_ghost_pad_set_target):
19450 Actually implement (re)setting the target on a ghostpad
19451 as described in the docs.
19453 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19455 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19456 Check whether GST_DEBUG_NO_COLOR environment variable is
19457 set and disable coloured debug output if that is the case.
19459 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19461 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19462 (gst_type_find_helper):
19463 The memory returned by gst_type_find_peek() needs to
19464 stay valid until the end of a typefind function, and
19465 typefind functions may keep results from different
19466 offsets around, so we can't just unref the buffer from
19467 the previous _peek(), but have to save all buffers
19468 returned by _peek() until typefinding is done and only
19471 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19473 * docs/gst/gstreamer-sections.txt:
19475 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19477 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19479 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19480 Fix a pretty good memleak.
19482 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19484 * gst/gstiterator.h:
19485 Fix wrong include and 'make distcheck'.
19487 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19489 * gst/gstbin.c: (bin_bus_handler):
19490 Use gst_element_post_message() instead.
19492 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19494 * gst/base/gstadapter.h:
19495 * gst/base/gstbasesink.h:
19496 * gst/base/gstbasesrc.h:
19497 * gst/base/gstbasetransform.h:
19498 * gst/base/gstcollectpads.h:
19499 * gst/base/gstpushsrc.h:
19500 * gst/gstiterator.h:
19501 Add padding to our base elements' class and instance structs and
19502 to GstIterator (you will need to rebuild all plugins and apps!)
19504 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19506 * gst/gstbin.c: (bin_bus_handler):
19507 Make default message forwarding from child->bus to bin->bus
19508 threadsafe and make it not emit warnings if the parent has no bus.
19510 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19512 * gst/gstelement.c: (activate_pads):
19513 On paused->ready, set pad->caps to NULL, as is the documented
19514 behaviour in this state change. Fixes playback of series of
19515 media files when visualization is enabled in Totem.
19517 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19519 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19520 Allow NULL as filter-caps (which means "any").
19522 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19524 * docs/libs/gstreamer-libs-sections.txt:
19525 * libs/gst/controller/gst-controller.c:
19526 * libs/gst/controller/gst-controller.h:
19527 * libs/gst/controller/gst-helper.c:
19528 adding more entries to the docs and fix small doc-bugs
19530 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19532 * docs/gst/gstreamer-docs.sgml:
19533 * docs/gst/gstreamer-sections.txt:
19534 * docs/gst/gstreamer.types:
19535 * docs/gst/tmpl/gstbasesink.sgml:
19536 * docs/gst/tmpl/gstbasesrc.sgml:
19537 * docs/gst/tmpl/gstbasetransform.sgml:
19538 * docs/gst/tmpl/gstfakesrc.sgml:
19539 * gst/base/gstcollectpads.c:
19540 * gst/base/gstcollectpads.h:
19541 * libs/gst/controller/gst-controller.c:
19542 * libs/gst/controller/gst-controller.h:
19543 * libs/gst/controller/gst-helper.c:
19544 * libs/gst/controller/gst-interpolation.c:
19545 * libs/gst/controller/lib.c:
19546 added long/short desc for controller docs
19547 added collectpads base class docs
19548 added correct includes to base-class docs
19550 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19552 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19553 (gst_test_mono_source_set_property),
19554 (gst_test_mono_source_class_init), (GST_START_TEST),
19555 (gst_controller_suite):
19556 * docs/gst/gstreamer-docs.sgml:
19557 * docs/gst/gstreamer-sections.txt:
19558 * docs/gst/gstreamer.types:
19559 * docs/libs/gstreamer-libs-docs.sgml:
19560 * docs/libs/gstreamer-libs-sections.txt:
19561 * gst/base/gstadapter.c:
19562 * libs/gst/controller/gst-controller.c:
19563 (gst_controlled_property_new), (gst_controlled_property_free),
19564 (gst_controller_new_valist),
19565 (gst_controller_remove_properties_valist),
19566 (gst_controller_sink_values), (_gst_controller_finalize):
19567 * libs/gst/controller/gst-controller.h:
19568 * libs/gst/controller/gst-helper.c:
19569 (gst_object_control_properties), (gst_object_uncontrol_properties),
19570 (gst_object_get_controller), (gst_object_set_controller),
19571 (gst_object_sink_values), (gst_object_get_value_arrays),
19572 (gst_object_get_value_array):
19573 more tests (and fixes) for the controller
19574 more docs for the controller
19575 integrated companies docs for the adapter
19577 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19579 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19580 (GST_START_TEST), (fakesrc_suite):
19581 add tests for sizetype
19583 2005-08-04 Andy Wingo <wingo@pobox.com>
19585 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19586 fixes buffer_alloc proxying among other things.
19588 * gst/base/gstbasetransform.c:
19589 * gst/base/gstbasetransform.h:
19590 Revert patch to gstbasetransform from 7-28 removing
19593 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19594 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19595 Semantics changed, should return not the size of the output buffer
19596 but the byte size of a buffer with a given caps.
19598 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19600 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19601 out) are not the pad caps until setcaps finishes.
19602 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19603 not-in-place case as well. Deal with changing from in-place to
19604 not-in-place within calling pad_alloc_buffer. Still a bit
19605 concerned about the overhead here...
19607 2005-08-03 Andy Wingo <wingo@pobox.com>
19609 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19610 fixating is an error.
19612 2005-08-04 Edward Hervey <edward@fluendo.com>
19614 * gst/base/gstadapter.h:
19615 Added gst_adapter_get_type() to the header
19617 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19619 * check/Makefile.am:
19620 * check/gst-libs/controller.c:
19621 * libs/gst/controller/gst-controller.c:
19622 (gst_controller_new_valist):
19623 added check test suite for the controller
19624 * gst/base/gstpushsrc.c:
19627 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19629 * docs/gst/Makefile.am:
19630 * docs/gst/gstreamer-docs.sgml:
19631 * docs/gst/gstreamer-sections.txt:
19632 * docs/gst/gstreamer.types:
19633 * docs/gst/tmpl/gstfakesrc.sgml:
19635 * gst/base/gstbasesink.c:
19636 * gst/base/gstbasesink.h:
19637 * gst/base/gstbasesrc.c:
19638 * gst/base/gstbasesrc.h:
19639 * gst/base/gstbasetransform.c:
19640 * gst/base/gstpushsrc.c:
19641 * gst/base/gstpushsrc.h:
19642 add short/long description docs to base classes
19643 add pushsrc to the docs
19644 remove consolidated doc fragments
19646 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19649 * docs/libs/Makefile.am:
19650 * docs/libs/gstreamer-libs-docs.sgml:
19651 * docs/libs/gstreamer-libs-sections.txt:
19652 * docs/libs/gstreamer-libs.types:
19653 * examples/Makefile.am:
19654 * examples/controller/.cvsignore:
19655 * examples/controller/Makefile.am:
19656 * examples/controller/audio-example.c: (main):
19657 * libs/gst/Makefile.am:
19658 * libs/gst/controller/.cvsignore:
19659 * libs/gst/controller/Makefile.am:
19660 * libs/gst/controller/gst-controller.c:
19661 (on_object_controlled_property_changed), (gst_timed_value_compare),
19662 (gst_timed_value_find),
19663 (gst_controlled_property_set_interpolation_mode),
19664 (gst_controlled_property_new), (gst_controlled_property_free),
19665 (gst_controller_find_controlled_property),
19666 (gst_controller_new_valist), (gst_controller_new),
19667 (gst_controller_remove_properties_valist),
19668 (gst_controller_remove_properties), (gst_controller_set),
19669 (gst_controller_set_from_list), (gst_controller_unset),
19670 (gst_controller_get), (gst_controller_get_all),
19671 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19672 (gst_controller_get_value_array),
19673 (gst_controller_set_interpolation_mode),
19674 (_gst_controller_finalize), (_gst_controller_init),
19675 (_gst_controller_class_init), (gst_controller_get_type):
19676 * libs/gst/controller/gst-controller.h:
19677 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19678 (g_object_uncontrol_properties), (g_object_get_controller),
19679 (g_object_set_controller), (g_object_sink_values),
19680 (g_object_get_value_arrays), (g_object_get_value_array):
19681 * libs/gst/controller/gst-interpolation.c:
19682 (gst_controlled_property_find_timed_value_node),
19683 (interpolate_none_get), (interpolate_trigger_get),
19684 (interpolate_trigger_get_value_array):
19685 * libs/gst/controller/lib.c: (gst_controller_init):
19686 * pkgconfig/Makefile.am:
19687 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19688 * pkgconfig/gstreamer-control.pc.in:
19689 * testsuite/Makefile.am:
19690 * testsuite/controller/.cvsignore:
19691 * testsuite/controller/Makefile.am:
19692 * testsuite/controller/interpolator.c: (main):
19693 added controller code
19694 removed dparam pc files
19696 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19697 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19698 (gst_collectpads_stop):
19699 Broadcast the condition when shutting down, to make sure we wake all
19700 threads up. Shut down pads on finalize, for safety.
19702 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19703 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19704 (gst_base_transform_handle_buffer),
19705 (gst_base_transform_change_state):
19706 Handle PAUSED->READY->PAUSED transition after negotiation
19708 * gst/gstmessage.c: (gst_message_init):
19709 Extra piece of debug for new messages.
19711 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19714 * docs/gst/tmpl/gstbasesrc.sgml:
19715 * docs/gst/tmpl/gstelement.sgml:
19716 * docs/gst/tmpl/gstevent.sgml:
19717 * docs/gst/tmpl/gstfakesrc.sgml:
19718 * docs/gst/tmpl/gstformat.sgml:
19719 * docs/gst/tmpl/gstghostpad.sgml:
19720 * docs/gst/tmpl/gstpad.sgml:
19721 * docs/gst/tmpl/gstquery.sgml:
19722 * docs/gst/tmpl/gststructure.sgml:
19723 * docs/gst/tmpl/gsttaglist.sgml:
19724 * docs/gst/tmpl/gstvalue.sgml:
19725 * docs/libs/gstreamer-libs-docs.sgml:
19726 * docs/libs/gstreamer-libs-sections.txt:
19727 * docs/libs/gstreamer-libs.types:
19728 * libs/gst/Makefile.am:
19729 * libs/gst/control/.cvsignore:
19730 * libs/gst/control/Makefile.am:
19731 * libs/gst/control/control.c:
19732 * libs/gst/control/control.h:
19733 * libs/gst/control/dparam.c:
19734 * libs/gst/control/dparam.h:
19735 * libs/gst/control/dparam_smooth.c:
19736 * libs/gst/control/dparam_smooth.h:
19737 * libs/gst/control/dparamcommon.h:
19738 * libs/gst/control/dparammanager.c:
19739 * libs/gst/control/dparammanager.h:
19740 * libs/gst/control/dplinearinterp.c:
19741 * libs/gst/control/dplinearinterp.h:
19742 * libs/gst/control/unitconvert.c:
19743 * libs/gst/control/unitconvert.h:
19744 * testsuite/Makefile.am:
19745 * testsuite/dynparams/.cvsignore:
19746 * testsuite/dynparams/Makefile.am:
19747 * testsuite/dynparams/dparamstest.c:
19748 * tools/Makefile.am:
19749 * tools/gst-inspect.c: (print_element_info), (main):
19750 * tools/gst-xmlinspect.c: (print_element_info), (main):
19751 deactivate and remove dparams (libgstcontrol)
19753 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19755 * gst/elements/gsttypefindelement.c:
19756 (gst_type_find_element_have_type), (gst_type_find_element_init),
19757 (stop_typefinding), (gst_type_find_element_handle_event),
19758 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19759 * gst/elements/gsttypefindelement.h:
19760 Set caps on all outgoing buffers, not just the first one.
19762 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19764 * gst/elements/gsttypefindelement.c:
19765 (gst_type_find_element_have_type),
19766 (gst_type_find_element_check_set_buffer_caps),
19767 (gst_type_find_element_init), (stop_typefinding),
19768 (gst_type_find_element_handle_event),
19769 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19770 * gst/elements/gsttypefindelement.h:
19771 Set caps on first outgoing buffer when we've found the type.
19773 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19775 * docs/gst/gstreamer-docs.sgml:
19776 * docs/gst/gstreamer-sections.txt:
19777 * docs/gst/tmpl/gstscheduler.sgml:
19778 * docs/gst/tmpl/gstschedulerfactory.sgml:
19779 Remove some old cruft from docs.
19781 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19784 Fix inline docs for GstPadLinkReturn.
19786 * gst/gststructure.c: (gst_structure_has_name):
19787 * gst/gststructure.h:
19788 * docs/gst/gstreamer-sections.txt:
19789 New API: gst_structure_has_name().
19791 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19794 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19795 and _LARGEFILE_SOURCE in config.h as required. Do not
19796 export those flags in our .pc files any longer (#142209).
19798 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19800 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19801 (gst_file_sink_do_seek), (gst_file_sink_event),
19802 (gst_file_sink_get_current_offset), (gst_file_sink_render):
19803 Redo seek/tell calls with large file support in mind; add some
19804 debugging messages; add log message that tells us when large
19805 file support is unavailable or not enabled for some reason.
19807 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19808 Add log message that tells us when large file support
19809 is unavailable or not enabled for some reason.
19811 2005-07-29 Wim Taymans <wim@fluendo.com>
19813 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19814 Added test for removing an element with ghostpad from a bin.
19815 Fixed test as current implementation does the right thing.
19817 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19818 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19819 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19820 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19821 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19822 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19823 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19824 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19825 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19826 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19827 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19828 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19829 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19830 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19831 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19832 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19833 * gst/gstghostpad.h:
19834 Clean up ghostpads, remove properties for internal stuff.
19837 Prepare for switching targets, not all use cases work yet.
19839 2005-07-29 Wim Taymans <wim@fluendo.com>
19841 * docs/design/part-gstghostpad.txt:
19844 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19845 (gst_bin_remove_func):
19846 Unlinking pads while holding the bin LOCK is not a good
19849 * gst/gstpad.c: (gst_pad_class_init),
19850 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19851 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19852 No prob setting template after creating the pad.
19854 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
19856 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19857 (gst_bus_peek), (gst_bus_source_dispatch),
19858 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19859 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19860 gst_bus_poll may be called from other threads. Handle
19861 this nicely by not making poll_data disappear off the
19862 stack once gst_bus_poll returns.
19863 gst_bus_peek now increments the refcount on the returned
19866 2005-07-29 Wim Taymans <wim@fluendo.com>
19868 * docs/design/part-gstghostpad.txt:
19869 Overview of current GhostPad datastructures and use
19870 cases for changing the target.
19872 2005-07-28 Wim Taymans <wim@fluendo.com>
19874 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19875 Added checks for hierarchy consistency whan adding linked
19878 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19879 Added check to test element scheduling without bin/pipeline.
19881 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19882 First add elements to bin, then link.
19884 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19885 (gst_bin_remove_func):
19886 Unlink pads from elements added/removed from bin to maintain
19887 hierarchy consistency.
19889 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19891 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19892 (gst_base_transform_handle_buffer):
19893 * gst/base/gstbasetransform.h:
19894 Remove broken delay_configure (fixes renegotiation of software
19895 scaling pipelines); remove some leftover printf()s.
19897 2005-07-28 Wim Taymans <wim@fluendo.com>
19899 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19900 Added some more tests for wrong hierarchy
19902 * docs/design/part-overview.txt:
19905 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
19908 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
19909 (gst_element_dispose):
19910 Some more cleanups.
19912 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
19913 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
19914 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19915 (gst_pad_set_caps), (gst_pad_send_event):
19916 Check for correct hierarchy when linking pads. Moving to
19917 strict requirement for ghostpads when linking elements in
19921 Clean ups. Added WRONG_HIERARCHY return value.
19923 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19925 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19926 Better debug if no transform is possible.
19928 2005-07-27 Wim Taymans <wim@fluendo.com>
19930 * docs/random/wtay/network-transp:
19931 Some old doc I had.
19933 2005-07-27 Wim Taymans <wim@fluendo.com>
19935 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19936 (gst_dp_event_from_packet):
19937 Fix serialization of seek events.
19939 2005-07-27 Wim Taymans <wim@fluendo.com>
19941 * check/gst-libs/gdp.c: (GST_START_TEST):
19942 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19943 Fix compilation and fix event serialization.
19945 2005-07-27 Wim Taymans <wim@fluendo.com>
19948 * docs/design/part-TODO.txt:
19949 * docs/design/part-events.txt:
19952 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19953 (gst_base_sink_event), (gst_base_sink_do_sync),
19954 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19955 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19956 (gst_base_src_do_seek), (gst_base_src_event_handler),
19957 (gst_base_src_loop):
19958 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19959 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19960 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19961 (gst_base_transform_event), (gst_base_transform_handle_buffer),
19962 (gst_base_transform_set_passthrough),
19963 (gst_base_transform_is_passthrough):
19964 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19965 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19971 * gst/gstelement.c: (gst_element_seek):
19972 * gst/gstelement.h:
19973 Update gst_element_seek.
19975 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
19976 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
19977 (gst_event_new_flush_start), (gst_event_new_flush_stop),
19978 (gst_event_new_eos), (gst_event_new_newsegment),
19979 (gst_event_parse_newsegment), (gst_event_new_tag),
19980 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
19981 (gst_event_parse_qos), (gst_event_new_seek),
19982 (gst_event_parse_seek), (gst_event_new_navigation):
19984 Make GstEvent use GstStructure. Add parsing code, make sure the
19985 API is sufficiently generic.
19986 Mark possible directions of events and serialization.
19988 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
19989 (_gst_message_copy), (gst_message_new_segment_start),
19990 (gst_message_new_segment_done), (gst_message_new_custom),
19991 (gst_message_parse_segment_start),
19992 (gst_message_parse_segment_done):
19995 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19996 (gst_pad_set_caps), (gst_pad_send_event):
19997 Update for new events.
19998 Catch events sent in wrong directions.
20000 * gst/gstqueue.c: (gst_queue_link_src),
20001 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20002 (gst_queue_handle_src_query):
20007 Remove event code from this file.
20009 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20010 (gst_dp_event_from_packet):
20013 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20015 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20016 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20017 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20018 Make debugging actually useful.
20020 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20022 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20023 (gst_pad_fixate_caps):
20024 Implement default fixation once again, so that gst_pad_fixate()
20025 actually does anything at all. This probably needs to be some
20026 sort of a last resort, and use profile-based fixation first, but
20027 since that doesn't exist yet, this is the best we have. Fixes
20028 visualization in Totem.
20030 2005-07-22 Wim Taymans <wim@fluendo.com>
20032 * docs/design/part-events.txt:
20035 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20036 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20037 (gst_base_sink_activate_pull):
20038 Some more comments.
20040 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20041 (gst_fake_src_create):
20042 Fix handoff marshall.
20044 * gst/elements/gstidentity.c: (gst_identity_class_init),
20045 (gst_identity_transform_ip):
20046 We're a real inplace element.
20048 * gst/gstbus.c: (gst_bus_post):
20049 Added some comments.
20051 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20052 * tests/muxing/case1.c: (main):
20053 * tests/sched/dynamic-pipeline.c: (main):
20054 * tests/sched/interrupt1.c: (main):
20055 * tests/sched/interrupt2.c: (main):
20056 * tests/sched/interrupt3.c: (main):
20057 * tests/sched/runxml.c: (main):
20058 * tests/sched/sched-stress.c: (main):
20059 * tests/seeking/seeking1.c: (event_received), (main):
20060 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20062 * tests/threadstate/threadstate3.c: (main):
20063 * tests/threadstate/threadstate4.c: (main):
20064 * tests/threadstate/threadstate5.c: (main):
20067 2005-07-21 Wim Taymans <wim@fluendo.com>
20069 * docs/design/part-seeking.txt:
20070 Some small additions.
20072 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20073 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20074 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20075 * gst/base/gstbasesink.h:
20076 discont values are gint64, handle the math correctly.
20078 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20079 Make the basesrc report error if the source pad is not linked.
20081 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20082 (gst_queue_loop), (gst_queue_handle_src_query),
20083 (gst_queue_src_activate_push):
20084 Make queue collect data even if the srcpad is not linked.
20085 Start pushing out data as soon as it is linked.
20087 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20089 Added gst_flow_get_name() to ease error reporting.
20091 2005-07-20 Wim Taymans <wim@fluendo.com>
20093 * gst/gstmessage.c: (gst_message_new_segment_start),
20094 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20095 (gst_message_parse_segment_done):
20096 * gst/gstmessage.h:
20097 Added a bunch of messages for advanced seeking.
20099 * gst/parse/grammar.y:
20100 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20101 (gst_dpman_state_changed):
20102 Fix some new-pad -> pad-added signals
20104 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20106 * docs/manual/appendix-porting.xml:
20107 * docs/pwg/appendix-porting.xml:
20108 Document new-pad/state-change signal renames and the FixedList
20111 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20113 * docs/manual/advanced-autoplugging.xml:
20114 * docs/manual/basics-helloworld.xml:
20115 * docs/manual/basics-pads.xml:
20116 * docs/random/ds/0.9-suggested-changes:
20117 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20118 * gst/gstelement.h:
20122 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20123 (gst_structure_parse_array), (gst_structure_parse_value):
20124 * gst/gstvalue.c: (gst_type_is_fixed),
20125 (gst_value_list_prepend_value), (gst_value_list_append_value),
20126 (gst_value_list_get_size), (gst_value_list_get_value),
20127 (gst_value_transform_array_string), (gst_value_serialize_array),
20128 (gst_value_deserialize_array), (gst_value_intersect_array),
20129 (gst_value_is_fixed), (_gst_value_initialize):
20131 GstElement::new-pad -> pad-added, GstElement::state-change ->
20132 state-changed, GstValueFixedList -> GstValueArray, add format and
20133 flags as their own arguments in gst_element_seek() (should improve
20134 "bindeability"), remove function generators since they don't work
20135 under a whole bunch of compilers (they were deprecated already
20138 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20140 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20141 (_gst_debug_register_funcptr):
20143 Fix illegal cast on some platforms (#309253).
20145 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20147 * gst/gstmessage.c: (gst_message_new_custom):
20148 * gst/gstmessage.h:
20149 Add _new_custom, make _new_application a macro to _new_custom.
20151 2005-07-20 Wim Taymans <wim@fluendo.com>
20153 * gst/base/gstbasesrc.c: (gst_base_src_init),
20154 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20155 * gst/base/gstbasesrc.h:
20156 Add a gboolean to decide when to push out a discont.
20158 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20159 (gst_queue_loop), (gst_queue_handle_src_query),
20160 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20161 (gst_queue_set_property), (gst_queue_get_property):
20164 * tests/threadstate/threadstate1.c: (main):
20165 Make a thread test compile and run... very silly..
20168 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20170 * docs/manual/appendix-porting.xml:
20171 Mention removal of libgstgconf-0.9.la and existence of gconf
20174 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20176 * docs/pwg/advanced-clock.xml:
20177 * docs/pwg/appendix-porting.xml:
20178 * docs/pwg/intro-preface.xml:
20179 * docs/pwg/other-base.xml:
20180 * docs/pwg/other-manager.xml:
20181 * docs/pwg/other-nton.xml:
20182 * docs/pwg/other-ntoone.xml:
20183 * docs/pwg/other-oneton.xml:
20184 * docs/pwg/pwg.xml:
20185 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20186 demuxer), remove n-to-n (was never written), fix some code examples
20187 and links and update the porting section to include all this.
20189 2005-07-19 Wim Taymans <wim@fluendo.com>
20191 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20192 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20193 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20194 (gst_queue_src_activate_push), (gst_queue_change_state),
20195 (gst_queue_get_property):
20197 Propagate GstFlowReturn more intelligently upstream and output
20198 an ERROR/EOS when streaming stopped due to fatal error.
20200 2005-07-19 Wim Taymans <wim@fluendo.com>
20202 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20203 Don't block forever for the state change to complete, the
20204 pipeline already did with a sensible timeout.
20206 2005-07-19 Wim Taymans <wim@fluendo.com>
20208 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20209 Make sure we never call the create function is we
20212 2005-07-19 Andy Wingo <wingo@pobox.com>
20214 * gst/parse/parse.l: Attempt to solve bug #172815.
20216 2005-07-19 Wim Taymans <wim@fluendo.com>
20218 * docs/design/part-clocks.txt:
20219 * docs/design/part-events.txt:
20220 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20221 Small docs updates.
20222 Only update the seeking values when we are not
20225 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20227 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20228 Oops, ignore the result of gst_pad_push_event here.
20230 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20232 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20233 (gst_base_src_activate_push):
20234 Send discont event from the loop function, as pads
20235 aren't activated yet in the activate_push handler.
20237 * gst/gstbin.c: (bin_bus_handler):
20238 Don't leak element name.
20240 2005-07-18 Andy Wingo <wingo@pobox.com>
20242 * configure.ac: Use AS_LIBTOOL_TAGS.
20244 2005-07-18 Wim Taymans <wim@fluendo.com>
20246 * docs/gst/gstreamer.types:
20247 Remove deleted types.
20249 2005-07-18 Wim Taymans <wim@fluendo.com>
20251 * check/elements/gstfakesrc.c: (GST_START_TEST):
20254 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20255 (init_popt_callback):
20257 * gst/gst_private.h:
20258 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20259 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20262 * gst/gstconfig.h.in:
20263 * gst/gstelement.c: (gst_element_class_init),
20264 (gst_element_set_base_time), (gst_element_get_base_time),
20265 (iterator_fold_with_resync), (gst_element_change_state),
20266 (gst_element_dispose), (gst_element_get_bus):
20267 * gst/gstelement.h:
20268 * gst/gstelementfactory.h:
20269 * gst/gsterror.c: (_gst_core_errors_init):
20272 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20274 * gst/gstinfo.c: (_gst_debug_init):
20275 * gst/gstmessage.c: (_gst_message_copy):
20276 * gst/gstmessage.h:
20277 * gst/gstminiobject.h:
20280 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20281 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20284 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20285 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20286 (gst_pipeline_get_last_stream_time):
20287 * gst/gstpipeline.h:
20288 * gst/gstpluginfeature.h:
20290 * gst/gstscheduler.c:
20291 * gst/gstscheduler.h:
20292 * gst/gststructure.h:
20293 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20294 (gst_task_finalize), (gst_task_func), (gst_task_create),
20295 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20296 (gst_task_stop), (gst_task_pause):
20298 * gst/gsttypefind.h:
20300 * gst/registries/gstlibxmlregistry.c: (load_feature),
20301 (gst_xml_registry_load), (gst_xml_registry_save_feature):
20302 * gst/registries/gstxmlregistry.c:
20303 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20304 * gst/schedulers/threadscheduler.c:
20305 * libs/gst/control/dparammanager.h:
20306 * tools/gst-inspect.c: (print_element_list),
20307 (print_plugin_features), (print_element_features):
20308 * tools/gst-xmlinspect.c: (print_element_list),
20309 (print_plugin_info), (main):
20310 Removed plugable schedulers.
20311 Removed Scheduler/Manager from elements.
20312 Removed gsttypes.h, rearranged includes.
20313 Removed dependency pad<->element, element<>pipeline, and
20314 various others, fix includes.
20315 implement gst_pad_get_parent() with gst_object_get_parent()
20316 Make GstTask sefcontained.
20317 Fix _get_state() on GstBin, it did not return ASYNC with a 0
20319 Fix endless loop in iterator_fold_with_resync.
20322 2005-07-18 Wim Taymans <wim@fluendo.com>
20328 2005-07-18 Wim Taymans <wim@fluendo.com>
20331 No more cothreads.h
20333 2005-07-18 Wim Taymans <wim@fluendo.com>
20337 Let's remove these.
20339 2005-07-18 Wim Taymans <wim@fluendo.com>
20341 * docs/design/part-dynamic.txt:
20342 * docs/design/part-events.txt:
20343 * docs/design/part-seeking.txt:
20344 Some more docs in the works.
20346 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20347 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20348 (gst_base_transform_setcaps), (gst_base_transform_get_size),
20349 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20350 (gst_base_transform_handle_buffer),
20351 (gst_base_transform_sink_activate_push),
20352 (gst_base_transform_src_activate_pull),
20353 (gst_base_transform_set_passthrough),
20354 (gst_base_transform_is_passthrough):
20357 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20360 * gst/gstevent.c: (gst_event_finalize):
20363 * gst/gstutils.c: (gst_element_unlink),
20364 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20365 (gst_pad_proxy_setcaps):
20367 Add _get_parent_element() to get a pads parent as an element.
20369 2005-07-18 Wim Taymans <wim@fluendo.com>
20371 * check/gst/gstbin.c: (GST_START_TEST):
20374 2005-07-18 Wim Taymans <wim@fluendo.com>
20376 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20377 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20378 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20379 (gst_base_sink_event), (gst_base_sink_do_sync),
20380 (gst_base_sink_chain), (gst_base_sink_loop),
20381 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20382 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20384 Fix logic for returning ASYNC when not prerolled.
20386 2005-07-18 Wim Taymans <wim@fluendo.com>
20388 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20389 Fix nasty refcount bug.
20391 2005-07-16 Philippe Khalaf <burger@speedy.org>
20393 * gst/elements/gstfdsrc.c:
20394 * gst/elements/gstfdsrc.h:
20395 * gst/elements/gstelements.c:
20396 * gst/elements/Makefile.am:
20397 Ported fdsrc to 0.9.
20399 2005-07-16 Wim Taymans <wim@fluendo.com>
20401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20402 (gst_base_sink_do_sync):
20405 2005-07-16 Wim Taymans <wim@fluendo.com>
20407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20408 (gst_base_sink_event), (gst_base_sink_get_times),
20409 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20410 * gst/base/gstbasesink.h:
20411 Store and use discont values when syncing buffers as described
20414 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20415 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20416 (gst_base_src_activate_push):
20417 Push discont event when starting.
20419 * gst/elements/gstidentity.c: (gst_identity_transform):
20422 * gst/gstbin.c: (gst_bin_change_state):
20423 Small cleanups in base_time distribution.
20425 * gst/gstelement.c: (gst_element_set_base_time),
20426 (gst_element_get_base_time), (gst_element_change_state):
20427 * gst/gstelement.h:
20428 Added methods for the base_time of the element.
20431 * gst/gstpipeline.c: (gst_pipeline_send_event),
20432 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20433 (gst_pipeline_get_last_stream_time):
20434 * gst/gstpipeline.h:
20436 Handle seeking as described in design doc, remove stream_time
20438 Cleanups clock and stream_time selection code. Added accessors
20439 for the stream_time.
20442 2005-07-16 Andy Wingo <wingo@pobox.com>
20444 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20447 2005-07-16 Wim Taymans <wim@fluendo.com>
20449 * check/gst/gstbin.c: (GST_START_TEST):
20450 Make elements silent as the deep_notify refs the
20451 parent, which might make the test fail.
20453 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20454 Don't hold the lock for too long.
20456 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20458 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20459 Don't unref the caps we passed to gst_caps_make_writable() after
20460 passing them. gst_caps_make_writable() will do that for us.
20462 2005-07-15 Andy Wingo <wingo@pobox.com>
20464 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20467 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20468 own marshalling function for the handoff signal. Properly type the
20469 buffer as a buffer. Fixes some warnings. Should do a more general
20471 (gst_identity_class_init): Plug into the right marshaller.
20473 2005-07-15 Wim Taymans <wim@fluendo.com>
20475 * docs/design/part-TODO.txt:
20476 * docs/design/part-clocks.txt:
20477 * docs/design/part-element-sink.txt:
20478 * docs/design/part-events.txt:
20479 * docs/design/part-gstpipeline.txt:
20480 Updated docs, mostly DISCONT related.
20482 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20484 * docs/pwg/building-pads.xml:
20485 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20487 2005-07-15 Andy Wingo <wingo@pobox.com>
20489 * tools/gst-typefind.c: Update, add copyright block.
20491 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20492 Normalize and truncate caps before fixation.
20495 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20496 discards all but the first structure from its argument.
20498 2005-07-15 Wim Taymans <wim@fluendo.com>
20500 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20501 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20502 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20503 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20504 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20505 (gst_base_transform_chain), (gst_base_transform_change_state),
20506 (gst_base_transform_set_passthrough),
20507 (gst_base_transform_is_passthrough):
20508 * gst/base/gstbasetransform.h:
20509 Make passthrough work using the bufferpools.
20510 Changed API a bit, subclasses have to write into a buffer
20511 provided by the base class.
20512 More debug info in nego functions.
20514 * gst/elements/gstidentity.c: (gst_identity_init),
20515 (gst_identity_transform):
20516 Port to new base class.
20518 2005-07-15 Wim Taymans <wim@fluendo.com>
20520 * gst/gstmessage.c: (gst_message_new_state_changed):
20521 * tools/gst-launch.c: (event_loop), (main):
20522 Totally dump messages in -launch with the -m option.
20523 Fix message name for State messages,
20525 2005-07-14 Wim Taymans <wim@fluendo.com>
20527 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20528 Post error messages on errors.
20530 2005-07-14 Wim Taymans <wim@fluendo.com>
20532 * gst/gstcaps.c: (gst_caps_do_simplify):
20536 Define error for stream stopped.
20538 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20539 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20540 Do proper return values.
20542 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20543 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20544 (gst_pad_get_range):
20545 Better return values.
20548 Reorganise return values, add macro to check for fatal errors.
20550 * gst/gstqueue.c: (gst_queue_chain):
20551 Return proper GstFlowReturn values,
20553 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20555 * docs/gst/gstreamer-sections.txt:
20556 * docs/gst/gstreamer.types:
20557 * docs/gst/tmpl/gst.sgml:
20558 * docs/gst/tmpl/gstbasesink.sgml:
20559 * docs/gst/tmpl/gstbasesrc.sgml:
20560 * docs/gst/tmpl/gstbasetransform.sgml:
20561 * docs/gst/tmpl/gstbin.sgml:
20562 * docs/gst/tmpl/gstbuffer.sgml:
20563 * docs/gst/tmpl/gstcaps.sgml:
20564 * docs/gst/tmpl/gstclock.sgml:
20565 * docs/gst/tmpl/gstcompat.sgml:
20566 * docs/gst/tmpl/gstconfig.sgml:
20567 * docs/gst/tmpl/gstelement.sgml:
20568 * docs/gst/tmpl/gstelementdetails.sgml:
20569 * docs/gst/tmpl/gstelementfactory.sgml:
20570 * docs/gst/tmpl/gstenumtypes.sgml:
20571 * docs/gst/tmpl/gsterror.sgml:
20572 * docs/gst/tmpl/gstevent.sgml:
20573 * docs/gst/tmpl/gstfakesink.sgml:
20574 * docs/gst/tmpl/gstfakesrc.sgml:
20575 * docs/gst/tmpl/gstfilesink.sgml:
20576 * docs/gst/tmpl/gstfilesrc.sgml:
20577 * docs/gst/tmpl/gstfilter.sgml:
20578 * docs/gst/tmpl/gstformat.sgml:
20579 * docs/gst/tmpl/gstghostpad.sgml:
20580 * docs/gst/tmpl/gstimplementsinterface.sgml:
20581 * docs/gst/tmpl/gstindex.sgml:
20582 * docs/gst/tmpl/gstindexfactory.sgml:
20583 * docs/gst/tmpl/gstinfo.sgml:
20584 * docs/gst/tmpl/gstiterator.sgml:
20585 * docs/gst/tmpl/gstmacros.sgml:
20586 * docs/gst/tmpl/gstmemchunk.sgml:
20587 * docs/gst/tmpl/gstminiobject.sgml:
20588 * docs/gst/tmpl/gstobject.sgml:
20589 * docs/gst/tmpl/gstpad.sgml:
20590 * docs/gst/tmpl/gstpadtemplate.sgml:
20591 * docs/gst/tmpl/gstparse.sgml:
20592 * docs/gst/tmpl/gstpipeline.sgml:
20593 * docs/gst/tmpl/gstplugin.sgml:
20594 * docs/gst/tmpl/gstpluginfeature.sgml:
20595 * docs/gst/tmpl/gstquery.sgml:
20596 * docs/gst/tmpl/gstqueue.sgml:
20597 * docs/gst/tmpl/gstregistry.sgml:
20598 * docs/gst/tmpl/gstregistrypool.sgml:
20599 * docs/gst/tmpl/gstscheduler.sgml:
20600 * docs/gst/tmpl/gstschedulerfactory.sgml:
20601 * docs/gst/tmpl/gststructure.sgml:
20602 * docs/gst/tmpl/gstsystemclock.sgml:
20603 * docs/gst/tmpl/gsttaglist.sgml:
20604 * docs/gst/tmpl/gsttagsetter.sgml:
20605 * docs/gst/tmpl/gsttrace.sgml:
20606 * docs/gst/tmpl/gsttrashstack.sgml:
20607 * docs/gst/tmpl/gsttypefind.sgml:
20608 * docs/gst/tmpl/gsttypefindfactory.sgml:
20609 * docs/gst/tmpl/gsttypes.sgml:
20610 * docs/gst/tmpl/gsturihandler.sgml:
20611 * docs/gst/tmpl/gsturitype.sgml:
20612 * docs/gst/tmpl/gstutils.sgml:
20613 * docs/gst/tmpl/gstvalue.sgml:
20614 * docs/gst/tmpl/gstversion.sgml:
20615 * docs/gst/tmpl/gstxml.sgml:
20616 * docs/libs/tmpl/gstcontrol.sgml:
20617 * docs/libs/tmpl/gstdataprotocol.sgml:
20618 * docs/libs/tmpl/gstdparam.sgml:
20619 * docs/libs/tmpl/gstdplinint.sgml:
20620 * docs/libs/tmpl/gstdpman.sgml:
20621 * docs/libs/tmpl/gstdpsmooth.sgml:
20622 * docs/libs/tmpl/gstgetbits.sgml:
20623 * docs/libs/tmpl/gstunitconvert.sgml:
20624 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20625 (gst_push_src_base_init), (gst_push_src_class_init),
20626 (gst_push_src_init), (gst_push_src_create):
20627 * gst/base/gstpushsrc.h:
20628 * gst/elements/gstelements.c:
20629 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20630 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20631 (gst_fake_sink_init), (gst_fake_sink_set_property),
20632 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20633 (gst_fake_sink_event), (gst_fake_sink_preroll),
20634 (gst_fake_sink_render), (gst_fake_sink_change_state):
20635 * gst/elements/gstfakesink.h:
20636 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20637 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20638 (gst_fake_src_base_init), (gst_fake_src_class_init),
20639 (gst_fake_src_init), (gst_fake_src_event_handler),
20640 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20641 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20642 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20643 (gst_fake_src_create_buffer), (gst_fake_src_create),
20644 (gst_fake_src_start), (gst_fake_src_stop):
20645 * gst/elements/gstfakesrc.h:
20646 * gst/elements/gstfilesink.c: (_do_init),
20647 (gst_file_sink_base_init), (gst_file_sink_class_init),
20648 (gst_file_sink_init), (gst_file_sink_dispose),
20649 (gst_file_sink_set_location), (gst_file_sink_set_property),
20650 (gst_file_sink_get_property), (gst_file_sink_open_file),
20651 (gst_file_sink_close_file), (gst_file_sink_query),
20652 (gst_file_sink_event), (gst_file_sink_render),
20653 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20654 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20655 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20656 * gst/elements/gstfilesink.h:
20657 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20658 (gst_file_src_class_init), (gst_file_src_init),
20659 (gst_file_src_finalize), (gst_file_src_set_location),
20660 (gst_file_src_set_property), (gst_file_src_get_property),
20661 (gst_file_src_map_region), (gst_file_src_map_small_region),
20662 (gst_file_src_create_mmap), (gst_file_src_create_read),
20663 (gst_file_src_create), (gst_file_src_is_seekable),
20664 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20665 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20666 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20667 (gst_file_src_uri_handler_init):
20668 * gst/elements/gstfilesrc.h:
20669 more autistic cleanliness in functions/names/defines
20671 2005-07-13 Andy Wingo <wingo@pobox.com>
20673 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20674 source couldn't negotiate.
20676 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20680 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20681 function. I am channeling Hades. Put your boots on suckers!!!
20683 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20685 * testsuite/caps/Makefile.am:
20686 * testsuite/caps/value_compare.c:
20687 * testsuite/caps/value_intersect.c:
20688 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20689 move two testsuite apps over to the check dir
20691 2005-07-12 Wim Taymans <wim@fluendo.com>
20693 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20694 Added more debug info in the negotiate process.
20696 * gst/gstmessage.h:
20697 Prepare for segment playback.
20699 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20705 * tools/gst-launch.c: (main):
20706 NULL pipeline on errors.
20708 2005-07-12 Andy Wingo <wingo@pobox.com>
20710 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20711 not it comes from a malloc region. Make sure our copy gets freed.
20713 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20715 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20716 * check/gst/gstmessage.c: (GST_START_TEST):
20717 * check/gst/gststructure.c: (GST_START_TEST),
20718 (gst_structure_suite), (main):
20720 * gst/gstelement.c: (gst_element_message_full):
20721 clean up GError and debug string now that they get copied
20722 * gst/gstmessage.c: (gst_message_new_error),
20723 (gst_message_new_warning), (gst_message_parse_error),
20724 (gst_message_parse_warning):
20725 use GST_TYPE_G_ERROR for structure_new, and take copies of
20726 arguments, so that we don't mess up refcounting
20728 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20730 * check/Makefile.am:
20731 add per-test valgrind targets
20732 * check/gst-libs/gdp.c: (GST_START_TEST),
20733 (gst_data_protocol_suite), (main):
20736 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20738 * check/Makefile.am:
20739 instate more valgrindable tests
20740 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20741 (GST_START_TEST), (fakesrc_suite):
20742 * check/gst/gstpad.c: (GST_START_TEST):
20743 * check/gst/gststructure.c: (GST_START_TEST):
20745 * docs/gst/tmpl/gstminiobject.sgml:
20746 * gst/gstpad.c: (gst_pad_finalize):
20747 fix the static mutex leak
20749 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20751 * check/Makefile.am:
20752 add two more tests for valgrinding
20753 * check/gst/gstvalue.c: (GST_START_TEST):
20754 test refcount of deserialized buffer, found a leak
20755 * docs/gst/gstreamer-docs.sgml:
20756 * docs/gst/gstreamer-sections.txt:
20757 * docs/gst/gstreamer.types:
20758 * docs/gst/tmpl/gstminiobject.sgml:
20759 add miniobject to docs
20760 * gst/gstminiobject.c:
20762 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20763 (gst_string_unwrap):
20764 fix a hard-to-find invalid write for one of the tests
20765 fix a leak for deserialized buffers
20767 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20769 * docs/pwg/advanced-events.xml:
20770 * docs/pwg/advanced-request.xml:
20771 * docs/pwg/advanced-scheduling.xml:
20772 * docs/pwg/appendix-porting.xml:
20773 * docs/pwg/building-boiler.xml:
20774 * docs/pwg/intro-preface.xml:
20775 * docs/pwg/other-ntoone.xml:
20776 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20777 of example code and explanation for pad activation, loop() and
20778 getrange() functions and a bit more. Remove old comments pointing
20780 * examples/pwg/Makefile.am:
20781 Add loop/getrange examples.
20783 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20786 check for valgrind binary + some fixes
20788 valgrind suppressions for the tests
20789 * check/Makefile.am:
20790 add a valgrind: target that valgrinds the unit tests
20791 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20792 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20793 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20794 * check/gst/gstghostpad.c:
20796 * check/gst/gstdata.c:
20798 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20799 (thread_unref), (gst_mini_object_suite), (main):
20801 * gst/gst.c: (gst_deinit):
20803 add a method to clean up.
20804 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20805 (gst_system_clock_obtain):
20806 allow for disposing the system clock.
20807 * tools/gst-launch.c: (main):
20810 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20812 * docs/gst/tmpl/gstbasesrc.sgml:
20813 * docs/gst/tmpl/gstfakesrc.sgml:
20814 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20815 (gst_base_src_init), (gst_base_src_set_property),
20816 (gst_base_src_get_property), (gst_base_src_get_range),
20817 (gst_base_src_start):
20818 * gst/base/gstbasesrc.h:
20819 add num-buffers property
20820 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20821 (gst_fakesrc_init), (gst_fakesrc_set_property),
20822 (gst_fakesrc_get_property), (gst_fakesrc_create),
20823 (gst_fakesrc_start):
20824 remove num-buffers property
20826 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20828 * docs/gst/gstreamer-sections.txt:
20829 * docs/gst/tmpl/gstbasesink.sgml:
20830 * docs/gst/tmpl/gstbasesrc.sgml:
20831 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20832 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20833 (gst_base_sink_finalize), (gst_base_sink_set_clock),
20834 (gst_base_sink_set_property), (gst_base_sink_get_property),
20835 (gst_base_sink_handle_object), (gst_base_sink_event),
20836 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20837 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20838 (gst_base_sink_loop), (gst_base_sink_deactivate),
20839 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20840 (gst_base_sink_change_state):
20841 * gst/base/gstbasesink.h:
20842 * gst/base/gstbasesrc.h:
20843 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20844 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20845 (gst_filesink_init):
20846 more macro splitting
20848 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20850 * gst/gstelement.c: (gst_element_get_bus):
20852 * tools/gst-launch.c: (check_intr), (event_loop):
20855 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20857 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20860 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20862 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20863 (gst_base_src_finalize):
20864 add finalize method and clean up properly
20865 * gst/gstpipeline.c: (gst_pipeline_dispose):
20868 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20870 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20872 add more things to check
20873 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20874 * gst/gstelement.c:
20877 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20879 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20880 (GST_START_TEST), (fakesrc_suite):
20881 * check/gst-libs/gdp.c: (GST_START_TEST):
20882 * check/gst/gst.c: (GST_START_TEST):
20883 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20884 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20885 * check/gst/gstbus.c: (GST_START_TEST):
20886 * check/gst/gstcaps.c: (GST_START_TEST):
20887 * check/gst/gstdata.c: (GST_START_TEST):
20888 * check/gst/gstelement.c: (GST_START_TEST):
20889 * check/gst/gstghostpad.c: (GST_START_TEST):
20890 * check/gst/gstiterator.c: (GST_START_TEST):
20891 * check/gst/gstmessage.c: (GST_START_TEST):
20892 * check/gst/gstobject.c: (GST_START_TEST):
20893 * check/gst/gstpad.c: (GST_START_TEST):
20894 * check/gst/gststructure.c: (GST_START_TEST):
20895 * check/gst/gstsystemclock.c: (GST_START_TEST),
20896 (gst_systemclock_suite):
20897 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20898 * check/gst/gstvalue.c: (GST_START_TEST):
20899 * check/pipelines/cleanup.c: (GST_START_TEST):
20900 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20901 * check/states/sinks.c: (GST_START_TEST):
20902 * check/gstcheck.c: (gst_check_init):
20903 * check/gstcheck.h:
20904 add debugging category
20905 use GST_START_TEST now, so we add a debug line
20907 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20909 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
20910 add test for state change message on a bin
20911 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
20913 * gst/gstbin.c: (gst_bin_init):
20914 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
20915 * gst/gstelement.c: (gst_element_post_message),
20916 (gst_element_set_state):
20917 * gst/gstelementfactory.c: (gst_element_factory_create):
20918 * gst/gstmessage.c: (gst_message_new):
20919 * gst/gstscheduler.c:
20920 various debugging additions and cleanups
20922 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20924 * check/Makefile.am:
20925 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
20927 adding tests for elements
20928 * gst/gstelement.c: (gst_element_dispose):
20930 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20932 * gst/registries/gstlibxmlregistry.c: (load_feature):
20933 plug more leaks. A simple gst_init() now is leakfree, yay.
20935 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20937 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
20938 (gst_xml_registry_load):
20939 plug another memleak
20941 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20944 use GST_SET_ERROR_CFLAGS
20945 * docs/faq/cvs.xml:
20946 change to ERROR_CFLAGS
20948 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20951 make GST_ERROR_CFLAGS overridable and re-enable Werror
20952 * docs/faq/cvs.xml:
20953 add a note about error CFLAGS
20954 * docs/gst/tmpl/gstfakesrc.sgml:
20955 * gst/elements/gstfakesrc.c:
20956 comment out some unused code
20957 * gst/gst.c: (split_and_iterate):
20958 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
20962 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
20964 * common/Makefile.am:
20965 * common/gtk-doc.mak:
20966 * docs/gst/Makefile.am:
20967 factor out gtk-doc.mak
20969 2005-07-07 Wim Taymans <wim@fluendo.com>
20971 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
20972 (gst_thread_scheduler_dispose):
20973 Unlock the STREAM_LOCK completely.
20975 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
20977 * check/Makefile.am:
20978 * check/elements/.cvsignore:
20979 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20980 (START_TEST), (fakesrc_suite), (main):
20981 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20982 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
20983 (gst_fakesrc_create), (gst_fakesrc_start):
20984 * gst/elements/gstfakesrc.h:
20985 adding a first element test
20987 2005-07-07 Andy Wingo <wingo@pobox.com>
20989 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
20992 2005-07-07 Wim Taymans <wim@fluendo.com>
20998 2005-07-07 Wim Taymans <wim@fluendo.com>
21000 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21001 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21002 Allow subclasses to implement their own negotiation.
21004 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21006 * docs/design/part-gstbin.txt:
21007 * docs/design/part-gstpipeline.txt:
21008 Update design notes to reflect the movement of
21009 responsibility for bus handling from GstPipeline to
21012 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21015 Remove unnecessary queue2/3/4 examples.
21017 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21019 * examples/Makefile.am:
21020 * examples/helloworld/helloworld.c: (event_loop), (main):
21021 * examples/queue/queue.c: (event_loop), (main):
21022 * examples/queue2/queue2.c: (main):
21023 Update a couple of the examples to work again.
21025 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21026 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21027 Spelling corrections and extra debug.
21029 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21030 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21031 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21033 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21034 (gst_pipeline_change_state):
21035 * gst/gstpipeline.h:
21036 Move the bus handler for children to the GstBin, and create a
21037 separate bus for receiving messages from children to the one the
21038 bus sends 'upwards' on.
21040 2005-07-06 Wim Taymans <wim@fluendo.com>
21043 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21044 (gst_base_sink_handle_object), (gst_base_sink_loop),
21045 (gst_base_sink_change_state):
21046 * gst/base/gstbasesink.h:
21047 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21048 (gst_base_src_init), (gst_base_src_setcaps),
21049 (gst_base_src_getcaps), (gst_base_src_loop),
21050 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21051 (gst_base_src_start), (gst_base_src_change_state):
21052 * gst/base/gstbasesrc.h:
21053 Make basesrc negotiate.
21054 Handle the case where preroll fails in basesink.
21057 2005-07-06 Wim Taymans <wim@fluendo.com>
21059 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21060 Implement the fixate function.
21061 Clean up acceptcaps.
21063 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21065 * docs/pwg/building-filterfactory.xml:
21066 * docs/pwg/pwg.xml:
21067 Remove never-written filter-factory chapter; I'll add the various
21068 base classes to part 4 ("other element types") later on.
21070 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21072 * docs/pwg/advanced-negotiation.xml:
21073 * docs/pwg/building-boiler.xml:
21074 * docs/pwg/building-pads.xml:
21075 * docs/pwg/pwg.xml:
21076 * examples/pwg/Makefile.am:
21077 Add a chapter on caps negotiation, simplify the original code
21078 samples a bit w.r.t. caps negotiation, add link to the advanced
21079 section. Add a bunch of examples showing different use cases of
21080 different types of caps negotiation. Upstream renegotiation isn't
21081 fully documented yet since nobody knows how that works.
21083 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21085 * check/gst/gstpad.c:
21086 * check/gstcheck.c:
21087 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21088 if pad has no parent, return NULL as list of internal links
21090 2005-07-05 Andy Wingo <wingo@pobox.com>
21092 * gst/elements/gstfilesrc.c:
21093 * gst/elements/gstfakesrc.c:
21094 * gst/base/gstpushsrc.c:
21095 * gst/base/gstbasesrc.h:
21096 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21098 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21101 better report generation target (lcov needs a patch)
21103 2005-07-05 Andy Wingo <wingo@pobox.com>
21105 * gst/elements, testsuite: Null if we got it...
21107 2005-07-05 Wim Taymans <wim@fluendo.com>
21110 * libs/gst/dataprotocol/Makefile.am:
21111 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21112 * libs/gst/dataprotocol/dataprotocol.h:
21113 * pkgconfig/Makefile.am:
21114 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21115 * pkgconfig/gstreamer-dataprotocol.pc.in:
21116 Ported dataprotol to 0.9.
21117 Added pkgconfig files.
21119 2005-07-05 Andy Wingo <wingo@pobox.com>
21121 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21122 Default to returning TRUE for the case when tranform_caps returns
21123 a fixed caps, like for identity or volume.
21125 * check/gst/gstbus.c (pound_bus_with_messages):
21126 * check/gst/gstmessage.c (START_TEST):
21127 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21128 message API change.
21130 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21131 logic weaks here: always run transform_caps, trying passthrough
21132 operation only if the original caps intersects with the transform.
21134 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21135 source and sink caps.
21137 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21138 Intersect the peer caps with the pad template before going into
21140 (gst_base_transform_transform_caps): More debugging.
21142 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21145 2005-07-04 Edward Hervey <edward@fluendo.com>
21149 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21152 2005-07-04 Andy Wingo <wingo@pobox.com>
21154 * check/gst/gstpad.c: Only set explicit caps on pads.
21156 2005-07-01 Andy Wingo <wingo@pobox.com>
21158 * tests/network-clock.scm: Commentary update.
21160 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21161 Didn't really make sense, not implementable with basetransform,
21163 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21164 attempt at implementing the sync property, needs an unlock method.
21166 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21167 New func, by default returns the same caps (the identity
21169 (gst_base_transform_getcaps): Uses transform_caps to return
21170 something sensible.
21171 (gst_base_transform_setcaps): Complicated logic to get caps on
21172 both pads, even if they are different, and to call set_caps once
21173 for every time both pads get their caps set.
21174 (gst_base_transform_handle_buffer): Give the ref to the transform
21175 function. Allows in-place modification of the buffer.
21177 * gst/base/gstbasetransform.h (transform_caps): New class method.
21178 Given caps on one side, what can I do on the other.
21179 (set_caps): Take two caps, one for each side of the element.
21182 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21183 caps in place. This is safe because we can check the mutability of
21184 the caps, and a good idea because fixate functions are just called
21185 as a matter of last resort. (Not actually implemented.)
21186 (gst_pad_set_caps): If the caps we're setting is actually the same
21187 as the existing pad caps, just update the pointer without calling
21188 setcaps. Assert that caps is either NULL or fixed, as per the
21191 * gst/gstghostpad.c: Update for fixate changes.
21193 2005-07-02 Andy Wingo <wingo@pobox.com>
21196 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21197 two refcounts makes it immutable, which is enough. Doc more.
21199 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21201 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21202 Put the mini_object into GValue as a mini_object,
21203 not a gpointer, since that's how we declared
21206 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21208 * examples/pwg/Makefile.am:
21209 Fix buildbot again.
21211 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21213 * docs/pwg/building-testapp.xml:
21215 * examples/pwg/Makefile.am:
21218 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21221 * examples/Makefile.am:
21222 * examples/pwg/Makefile.am:
21223 * examples/pwg/extract.pl:
21224 Enable building the PWG examples.
21225 * docs/pwg/advanced-interfaces.xml:
21226 Add URI interface stub.
21227 * docs/pwg/advanced-types.xml:
21228 * docs/pwg/other-autoplugger.xml:
21229 * docs/pwg/appendix-porting.xml:
21230 * docs/pwg/pwg.xml:
21231 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21232 * docs/pwg/building-boiler.xml:
21233 * docs/pwg/building-chainfn.xml:
21234 * docs/pwg/building-pads.xml:
21235 * docs/pwg/building-props.xml:
21236 * docs/pwg/building-state.xml:
21237 * docs/pwg/building-testapp.xml:
21238 Update the building-*.xml parts for 0.9 changes. All examples
21239 code blocks compile in examples/pwg/*.
21241 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21243 * docs/manual/advanced-autoplugging.xml:
21244 * docs/manual/appendix-checklist.xml:
21245 * docs/manual/appendix-integration.xml:
21246 * docs/manual/highlevel-components.xml:
21247 Fix playbin/decodebin examples, update docs a bit, mention bus
21248 instead of signals in various places, mention kmplayer and
21249 kaffeine since they have a working GStreamer backend in the KDE
21252 2005-06-30 Wim Taymans <wim@fluendo.com>
21255 * docs/design/draft-ghostpads.txt:
21256 * docs/design/draft-push-pull.txt:
21257 * docs/design/draft-query.txt:
21258 * docs/design/part-TODO.txt:
21259 * docs/design/part-query.txt:
21260 Added CHANGES-0.9 doc, updated status of other docs.
21265 2005-06-30 Wim Taymans <wim@fluendo.com>
21267 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21268 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21269 (gst_base_sink_change_state):
21270 * gst/base/gstbasesink.h:
21271 Some tweaks, only EOS and a buffer complete a preroll.
21273 2005-06-30 Andy Wingo <wingo@pobox.com>
21275 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21276 activate_push down to the internal pad as well.
21278 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
21280 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21282 * gst/gsttaginterface.c:
21283 Some documentation fixes (#307394 and #307397).
21285 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
21287 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21289 * gst/gstvalue.c: (gst_value_intersect_list):
21290 Fix memleak (#309125).
21292 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21294 * docs/manual/advanced-dataaccess.xml:
21295 Fix fakesrc example to compile; doesn't work, bug somewhere...?
21296 * docs/manual/basics-pads.xml:
21297 Add reference for filtered caps to above chapter.
21299 2005-06-30 Wim Taymans <wim@fluendo.com>
21301 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21302 (gst_bin_change_state):
21304 Lame attempt at making the state change function a bit
21307 2005-06-30 Wim Taymans <wim@fluendo.com>
21309 * docs/design/part-clocks.txt:
21310 * docs/design/part-element-sink.txt:
21311 * docs/design/part-events.txt:
21312 * docs/design/part-preroll.txt:
21313 * docs/design/part-states.txt:
21314 Some more tweeks and additions to the docs.
21316 2005-06-30 Wim Taymans <wim@fluendo.com>
21318 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21319 (default_have_data), (gst_pad_class_init), (gst_pad_init),
21320 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21321 (gst_pad_check_pull_range), (gst_pad_get_range),
21322 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21324 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21325 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21326 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21327 (gst_pad_remove_buffer_probe):
21328 Removed atomic operations, use existing LOCK.
21329 Move exception handling out of main code path.
21331 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21333 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21334 (silly_return_true_function), (gst_pad_class_init),
21335 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21336 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21337 (gst_pad_send_event):
21338 Fix accumulator, add default value by using _emitv() instead
21339 of _emit() for signal emission.
21341 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21343 * docs/manual/advanced-dataaccess.xml:
21344 * examples/manual/Makefile.am:
21346 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21349 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
21351 * gst/elements/gstfilesink.c: (gst_filesink_render):
21352 Simplify code so that we don't have to handle short
21353 writes and return GST_FLOW_ERROR if an error occured.
21355 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21357 * docs/gst/gstreamer-docs.sgml:
21358 Remove probes more.
21360 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21362 * docs/gst/gstreamer-sections.txt:
21363 * docs/gst/tmpl/gstpad.sgml:
21364 * docs/gst/tmpl/gstprobe.sgml:
21366 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21367 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21368 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21369 (gst_pad_push_event), (gst_pad_send_event):
21371 * gst/gstutils.c: (gst_pad_add_data_probe),
21372 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21373 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21374 (gst_pad_remove_buffer_probe):
21376 Remove old probes, add new g-signal-based probes and some utility
21379 2005-06-29 Edward Hervey <edward@fluendo.com>
21381 * gst/gstelementfactory.c:
21384 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21385 the definition to the header file.
21387 2005-06-29 Andy Wingo <wingo@pobox.com>
21389 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21390 plugins from the source directory.
21392 2005-06-29 Wim Taymans <wim@fluendo.com>
21394 * docs/gst/tmpl/gstbuffer.sgml:
21395 * docs/gst/tmpl/gstclock.sgml:
21396 Some fixings for blantently wrong text.
21398 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21400 * check/Makefile.am:
21401 * gst/gst.c: (add_path_func), (init_pre):
21402 * gst/gstregistry.c: (gst_registry_add_path):
21403 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21404 only scan the GST_PLUGIN_PATH locations, and not add
21407 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21409 * docs/gst/gstreamer-sections.txt:
21410 * docs/gst/tmpl/gstbasesrc.sgml:
21411 * gst/gstelement.c:
21412 * gst/gstelement.h:
21417 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21419 * docs/manual/advanced-autoplugging.xml:
21420 Fix autoplugging example.
21422 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21424 * docs/manual/advanced-autoplugging.xml:
21425 * docs/manual/mime-world.fig:
21426 Try to get autoplugging working, fix type detection. Fix text
21427 in hello-world image.
21429 2005-06-29 Wim Taymans <wim@fluendo.com>
21431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21432 (gst_base_sink_change_state):
21436 map SIGNAL and BROADCAST to the right function.
21439 Remove redundant braces.
21441 * gst/gstpad.c: (gst_pad_set_caps):
21442 Don't call setcaps function when reseting caps to NULL.
21444 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21445 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21446 (gst_system_clock_id_unschedule):
21447 Use BROADCAST as this is what we do.
21449 2005-06-29 Wim Taymans <wim@fluendo.com>
21451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21452 We are actually prerolling before commiting the state
21455 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21457 * docs/manual/advanced-clocks.xml:
21458 * docs/manual/advanced-interfaces.xml:
21459 * docs/manual/advanced-metadata.xml:
21460 * docs/manual/advanced-position.xml:
21461 * docs/manual/advanced-schedulers.xml:
21462 * docs/manual/advanced-threads.xml:
21463 * docs/manual/appendix-porting.xml:
21464 * docs/manual/basics-bins.xml:
21465 * docs/manual/basics-bus.xml:
21466 * docs/manual/basics-elements.xml:
21467 * docs/manual/basics-helloworld.xml:
21468 * docs/manual/basics-pads.xml:
21469 * docs/manual/highlevel-components.xml:
21470 * docs/manual/manual.xml:
21471 * docs/manual/thread.fig:
21472 Update (until threads/scheduling) Application Development Manual;
21473 remove GstThread, add GstBus, add simple porting checklist, add
21474 documentation for tag writing, clocks, make all examples until this
21475 part compile and run.
21476 * examples/manual/Makefile.am:
21477 Update from changes to Application Development Manual; add bus
21478 example, remove thread example.
21480 2005-06-28 Wim Taymans <wim@fluendo.com>
21482 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21483 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21484 (gst_bus_source_dispatch):
21485 Add debugging messages.
21486 Make internal methods static.
21487 Handle the case where the bus is flushed in the handler.
21489 * gst/gstelement.c: (gst_element_get_bus):
21490 Fix refcount in _get_bus();
21492 * gst/gstpipeline.c: (gst_pipeline_change_state),
21493 (gst_pipeline_get_clock_func):
21494 Clock refcounting fixes.
21495 Handle the case where preroll timed out more gracefully.
21497 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21498 Clean up the internal thread in dispose. This is needed
21499 for subclasses that actually get disposed.
21501 * gst/schedulers/threadscheduler.c:
21502 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21503 (gst_thread_scheduler_dispose):
21504 Free thread pool in dispose.
21506 2005-06-28 Andy Wingo <wingo@pobox.com>
21508 * tests/network-clock-utils.scm (debug, print-event): New utils.
21510 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21511 (*packet-loss*): Unified loss probability.
21512 (network-time): Report out-of-band events.
21514 * tests/plot-data: Add support for out-of-band events. Hack it
21515 into this script instead of passing it down the pipe; should fix
21518 2005-06-28 Wim Taymans <wim@fluendo.com>
21520 * docs/gst/gstreamer.types:
21521 * docs/gst/tmpl/gstbasesrc.sgml:
21522 * docs/gst/tmpl/gstpad.sgml:
21525 2005-06-28 Wim Taymans <wim@fluendo.com>
21527 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21528 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21529 (gst_proxy_pad_do_fixatecaps):
21530 Correctly proxy the check_pull_range function.
21532 2005-06-28 Andy Wingo <wingo@pobox.com>
21534 * tests/network-clock.scm: Removed need for slib.
21536 2005-06-28 Wim Taymans <wim@fluendo.com>
21538 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21539 (gst_basesink_preroll_queue_flush):
21540 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21541 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21542 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21543 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21544 (gst_proxy_pad_set_property):
21547 * gst/gstqueue.c: (gst_queue_init):
21548 The deprecated pad loop function is removed now.
21550 2005-06-28 Andy Wingo <wingo@pobox.com>
21552 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21553 New parameters, simulate network packet loss.
21555 * tests/network-clock-utils.scm: Initialize the RNG.
21557 2005-06-28 Wim Taymans <wim@fluendo.com>
21559 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21560 (gst_basesink_event), (gst_basesink_deactivate):
21561 Flushing the preroll queue always needs to unlock the waiters.
21563 2005-06-28 Edward Hervey <edward@fluendo.com>
21565 * gst/gstpipeline.c: (gst_pipeline_send_event):
21566 Wheen a seek was successful on a pipeline, set the stream_time to the
21567 seek offset in order to have a synchronized stream_time.
21569 2005-06-28 Wim Taymans <wim@fluendo.com>
21571 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21572 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21573 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21574 (gst_proxy_pad_do_fixatecaps):
21575 Call wrapper function instead of just calling the function
21576 pointers. This takes care of any locking and whatmore.
21578 2005-06-28 Wim Taymans <wim@fluendo.com>
21580 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21581 (gst_pad_pull_range):
21583 CONNECTED -> LINKED.
21585 2005-06-28 Andy Wingo <wingo@pobox.com>
21587 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21588 source-munging commit!!!
21590 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21591 (gst_object_sink): Take gpointer arguments, not GstObject --
21592 avoids casts. Like GLib.
21594 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21597 2005-06-27 Andy Wingo <wingo@pobox.com>
21599 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21602 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21603 returns a sorted copy of the trace list.
21604 (gst_alloc_trace_print_live): New API, only prints traces with
21605 live objects. Sort the list.
21606 (gst_alloc_trace_print_all): Sort the list.
21607 (gst_alloc_trace_print): Align columns.
21609 * gst/elements/gstttypefindelement.c:
21610 * gst/elements/gsttee.c:
21611 * gst/base/gstbasesrc.c:
21612 * gst/base/gstbasesink.c:
21613 * gst/base/gstbasetransform.c:
21614 * gst/gstqueue.c: Adapt for pad activation changes.
21616 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21618 (gst_pipeline_dispose): Drop ref on sched.
21620 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21621 (gst_pad_activate_default): Push mode by default.
21622 (pre_activate_switch, post_activate_switch): New stubs, things to
21623 do before and after switching activation modes on pads.
21624 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21625 the pad's activate function to choose which mode to activate.
21626 Shortcut on deactivation and call the right function directly.
21627 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21629 (gst_pad_activate_push): New API, same for push mode.
21630 (gst_pad_set_activate_function)
21631 (gst_pad_set_activatepull_function)
21632 (gst_pad_set_activatepush_function): Setters for new API.
21634 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21635 Trace all miniobjects.
21636 (gst_mini_object_make_writable): Unref the arg if we copy, like
21637 gst_caps_make_writable.
21639 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21641 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21642 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21643 Adapt for new pad API.
21645 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21647 * gst/gstelement.h:
21648 * gst/gstelement.c (gst_element_iterate_src_pads)
21649 (gst_element_iterate_sink_pads): New API functions.
21651 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21652 should fold into gstiterator.c in some form.
21653 (gst_element_pads_activate): Simplified via use of fold and
21654 delegation of decisions to gstpad->activate.
21656 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21659 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21660 class once in init, like gstmessage. Didn't run into this issue
21661 but it seems correct. Don't initialize a trace, gstminiobject does
21664 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21665 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21667 (assert_live_count): New util function, uses alloc traces to check
21670 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21671 To be modified when unlink drops the internal pad.
21673 2005-06-27 Wim Taymans <wim@fluendo.com>
21675 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21676 (gst_bin_change_state):
21677 Cleanup the get_state() function a little, make sure it
21678 iterates the same set of elements.
21679 Added stub iterate_state_order().
21681 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21683 * docs/gst/gstreamer-docs.sgml:
21684 * docs/gst/gstreamer-sections.txt:
21685 * docs/gst/gstreamer.types:
21686 * docs/gst/tmpl/gstbasesink.sgml:
21687 * docs/gst/tmpl/gstbasesrc.sgml:
21688 * docs/gst/tmpl/gstbasetransform.sgml:
21689 * docs/gst/tmpl/gstelement.sgml:
21690 * docs/gst/tmpl/gstiterator.sgml:
21691 * gst/base/gstbasesrc.c:
21692 * gst/base/gstbasesrc.h:
21693 * gst/base/gstbasetransform.h:
21694 * gst/gstelement.c:
21695 * gst/gstiterator.h:
21696 adding basetransform and iterator docs
21698 2005-06-27 Andy Wingo <wingo@pobox.com>
21700 * docs/design/part-activation.txt: Notes on how activation should
21701 work -- not quite implemented yet.
21703 2005-06-25 Wim Taymans <wim@fluendo.com>
21705 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21706 At least get the chain function correct, needs more
21709 2005-06-25 Wim Taymans <wim@fluendo.com>
21711 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21712 (gst_basesink_handle_object), (gst_basesink_event),
21713 (gst_basesink_do_sync), (gst_basesink_handle_event),
21714 (gst_basesink_change_state):
21716 Right, two problems here: ghostpads don't take locks and
21717 glib _rec_mutex_lock_full() with depth==0 still locks.
21718 Catch illegal locking and g_warn them.
21720 2005-06-25 Wim Taymans <wim@fluendo.com>
21722 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21723 Have to check for completion now...
21725 2005-06-25 Wim Taymans <wim@fluendo.com>
21727 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21728 (gst_basesink_handle_object), (gst_basesink_event),
21729 (gst_basesink_do_sync), (gst_basesink_handle_event),
21730 (gst_basesink_change_state):
21732 Unlock STREAM_LOCK whatever the recursion was.
21734 2005-06-25 Wim Taymans <wim@fluendo.com>
21736 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21737 (gst_basesink_preroll_queue_empty),
21738 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21739 (gst_basesink_event), (gst_basesink_do_sync),
21740 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21741 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21742 (gst_basesink_change_state):
21743 Reworked the base sink, handle event and buffer serialisation
21744 correctly and removed possible deadlock.
21745 Handle EOS correctly.
21747 2005-06-25 Wim Taymans <wim@fluendo.com>
21749 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21750 (gst_pipeline_change_state):
21751 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21752 Allow elements to post EOS in the state change function.
21753 Fix up -launch, make it exit the poll loop when the
21754 pipeline actually changed state.
21755 Fix up warning parsing in -launch.
21757 2005-06-25 Wim Taymans <wim@fluendo.com>
21759 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21760 (gst_tee_sink_activate):
21761 Core takes STREAM_LOCK for us now.
21763 2005-06-25 Wim Taymans <wim@fluendo.com>
21765 * gst/gstelement.c: (gst_element_get_state_func),
21766 (gst_element_set_state):
21767 * gst/gstelement.h:
21768 * gst/gstmessage.c: (gst_message_parse_error),
21769 (gst_message_parse_warning):
21770 Keep track of current target state while performing a state
21771 change so that subclasses can do something interesting.
21772 Fix parsing of warning/error messages when GError is NULL.
21774 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21776 * docs/gst/Makefile.am:
21777 * docs/gst/gstreamer-docs.sgml:
21778 * docs/gst/gstreamer-sections.txt:
21779 * docs/gst/gstreamer.types:
21780 * docs/gst/tmpl/gstbasesink.sgml:
21781 * docs/gst/tmpl/gstbasesrc.sgml:
21782 * docs/gst/tmpl/gstbin.sgml:
21783 * docs/gst/tmpl/gstcompat.sgml:
21784 * docs/gst/tmpl/gstfakesink.sgml:
21785 * docs/gst/tmpl/gstfakesrc.sgml:
21786 * docs/gst/tmpl/gstfilesink.sgml:
21787 * docs/gst/tmpl/gstfilesrc.sgml:
21788 * docs/gst/tmpl/gstindex.sgml:
21789 * docs/manual/appendix-quotes.xml:
21790 * gst/base/gstbasesrc.h:
21791 * gst/elements/gstfakesrc.h:
21792 * gst/gstmessage.h:
21793 start pulling in base classes and elements in our docs
21795 2005-06-24 Stefan Kost <ensonic@users.sf.net>
21797 * docs/gst/Makefile.am:
21798 * docs/libs/Makefile.am:
21799 fixed make distcheck with gtk-doc 1.3
21801 2005-06-23 Wim Taymans <wim@fluendo.com>
21803 * gst/gstelement.c: (gst_element_get_state_func),
21804 (gst_element_set_state), (gst_element_change_state):
21805 When the state did not change, also report NO_PREROLL
21808 2005-06-23 Wim Taymans <wim@fluendo.com>
21810 * gst/gstpad.c: (gst_pad_event_default):
21811 * gst/gstqueue.c: (gst_queue_loop):
21812 No unsafe task pausing please.
21814 2005-06-23 Wim Taymans <wim@fluendo.com>
21816 * gst/schedulers/threadscheduler.c:
21817 (gst_thread_scheduler_task_start),
21818 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21819 Ref the task before pushing it on the threadpool. This
21820 makes sure that we have a ref when the threadfunction is
21823 2005-06-23 Andy Wingo <wingo@pobox.com>
21825 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21826 offset is greater than the file's size.
21828 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
21829 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21830 * gst/gstobject.c (gst_object_class_init): Make the class lock
21831 recursive. Wim won't let me drop deep_notify. Decodebin works
21832 again, whoopdy doo.
21834 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21835 internal pad, and hacks accordingly. Doesn't do it on the target
21836 pad because we change its caps. Probably catches all cases of
21838 (gst_ghost_pad_set_property): Connect to notify::caps as
21841 * tests/network-clock.scm (plot-simulation): Pipe data to the
21842 elite python skript.
21844 * tests/network-clock-utils.scm (define-parameter): New macro,
21845 defines a parameter that can be set via the command line.
21846 (set-parameter!, parse-parameter-arguments): Command line args
21849 * tests/plot-data: Simple matplotlib-based plotter, takes input on
21852 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
21854 * gst/elements/gsttypefindelement.c:
21855 (gst_type_find_element_handle_event):
21856 Don't restart typefinding on a discont.
21857 * gst/gstelement.c: (gst_element_set_state):
21858 Debug spelling fix.
21859 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21860 Allow changing mode of an active pad.
21861 Debug output fixes.
21862 * gst/registries/gstlibxmlregistry.c: (load_feature):
21863 Don't cast a static pad template to a normal pad template.
21865 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
21867 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21868 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21869 remove gst_strtoll completely, since it didn't actually do
21870 anything more than what g_ascii_strtoull already does.
21871 check for range errors when deserializing
21872 do a cast for the unsigned cases; but further fixing needs
21873 a decision on what the interpretation of "(int)" and
21874 deserialization should be for values that fall outside the
21875 type's boundaries (ie, refuse, or interpret as casting)
21877 2005-06-23 Wim Taymans <wim@fluendo.com>
21879 * check/Makefile.am:
21880 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
21881 * docs/design/part-live-source.txt:
21882 * docs/design/part-states.txt:
21883 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21884 (gst_basesrc_set_live), (gst_basesrc_is_live),
21885 (gst_basesrc_get_range), (gst_basesrc_activate),
21886 (gst_basesrc_change_state):
21887 * gst/base/gstbasesrc.h:
21888 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21889 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21890 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
21891 * gst/gstelement.c: (gst_element_get_state_func),
21892 (gst_element_set_state):
21893 * gst/gstelement.h:
21895 * tools/gst-launch.c: (event_loop), (main):
21896 Added support for live sources and other elements that
21898 Updated design docs, added live-source design doc.
21899 Implemented live source functionality in basesrc
21900 Fix error condition in _bin_get_state()
21901 Implement live source handling in -launch.
21902 Added check for live sources.
21903 Fixed case in GstBin where elements were changed state
21907 2005-06-23 Andy Wingo <wingo@pobox.com>
21909 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
21910 borken refcounting.
21912 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
21913 gst_caps_replace takes care of this for us.
21915 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
21916 gst_pad_set_caps on the target, not just its setcaps() function.
21918 * tests/network-clock.scm:
21919 * tests/network-clock-utils.scm: A network clock simulator.
21920 Something of an algorithmic testbed before doing something in C.
21922 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21924 * check/Makefile.am:
21925 * check/gst/capslist.h:
21926 copy over from 0.8, and add two with bitmasks specified with
21928 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21929 add test to parse everything from capslist.h
21930 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
21932 add test for structure deserialization
21933 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21934 add tests for deserialization of strings to int types
21935 * gst/gststructure.c: (gst_structure_nth_field_name):
21936 * gst/gststructure.h:
21937 add a way to get the name of a field referenced by index
21938 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21939 instead of checking if the resulting long long lies between
21940 min and max, we check if the long long would fit into
21941 a number of bytes for the final type.
21942 This fixes cases where a string represents 2^32 - 1, which
21943 when cast to int would be the (valid) -1, but is bigger than
21946 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21948 * gst/parse/grammar.y:
21949 add a log line for type deserialization
21951 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21953 * check/gst/gstvalue.c: (START_TEST):
21954 * gst/gstvalue.c: (gst_value_deserialize):
21955 return long long, not int, so gint64 deserialization actually
21956 works. Is there any flag that makes the compiler check this ?
21959 2005-06-22 Wim Taymans <wim@fluendo.com>
21962 Added convenience macros for setting buffers in GValue.
21964 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
21966 * check/gst/.cvsignore:
21967 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21968 add a test deserializing int64, and comment part out because
21971 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
21973 * check/Makefile.am:
21974 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
21975 * testsuite/Makefile.am:
21976 * testsuite/caps/Makefile.am:
21977 * testsuite/caps/value_serialize.c:
21978 * testsuite/test_gst_init.c:
21979 move a value_serialize test over
21981 2005-06-20 Wim Taymans <wim@fluendo.com>
21986 * gst/gstvalue.c: (gst_value_compare_buffer),
21987 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
21988 (gst_value_compare_flags), (gst_value_serialize_flags),
21989 (gst_value_deserialize_flags), (_gst_value_initialize):
21990 Fix serialisation of buffers, they are not boxed types anymore
21992 2005-06-20 Wim Taymans <wim@fluendo.com>
21994 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21995 Testcase to show error in buffer-on-caps serialisation.
21997 2005-06-20 Andy Wingo <wingo@pobox.com>
21999 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22000 will be adding to later.
22002 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22003 if its socks fill with rocks.
22004 (gst_system_clock_obtain): Set the name on object construction.
22005 Avoid double-checked locking.
22007 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22009 * gst/gsturi.c: (gst_element_make_from_uri):
22010 Fix potential endless loop.
22012 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22014 * check/Makefile.am:
22016 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22018 move over from testsuite dir and clean up
22021 * testsuite/Makefile.am:
22022 * testsuite/tags/.cvsignore:
22023 * testsuite/tags/Makefile.am:
22024 * testsuite/tags/merge.c:
22025 remove testsuite/tags
22027 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22029 * docs/gst/gstreamer-sections.txt:
22030 * docs/gst/tmpl/gstenumtypes.sgml:
22031 * win32/gstenumtypes.c:
22032 clean up documentation build a little
22034 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22036 * check/gstcheck.h:
22037 add macros for checking refcounts on objects and caps
22038 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22039 add some more unit tests
22040 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22041 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22042 fix leaked refcounts (I hope :)) so unittest works
22046 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22048 * configure.ac: back to HEAD
22050 === release 0.9.1 ===
22052 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22058 2005-06-17 Andy Wingo <wingo@pobox.com>
22060 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22061 assert; it's always possible that the pad gets deactivated in
22062 between the checks in gstpad.c and the implementation. Rely on
22063 finish_preroll() to return a FLUSHING or similar instead of on the
22066 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22067 clock and post an EOS message if we come out of finish_preroll in
22070 2005-06-16 David Schleef <ds@schleef.org>
22072 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22073 (gst_capsfilter_set_property): Allow NULL as possible value
22074 for filter_caps property, indicating GST_CAPS_ANY.
22076 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22078 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22080 * gst/schedulers/Makefile.am:
22082 * gstreamer.spec.in:
22085 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22087 * gstreamer.spec.in:
22090 2005-06-08 Andy Wingo <wingo@pobox.com>
22092 * gst/gstutils.c: RPAD fixes all around.
22093 (gst_element_link_pads): Refcounting fixes.
22095 * tools/gst-inspect.c:
22096 * tools/gst-xmlinspect.c:
22098 * gst/base/gsttypefindhelper.c:
22099 * gst/base/gstbasesink.c:
22100 * gst/gstqueue.c: RPAD fixes.
22102 * gst/gstghostpad.h:
22103 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22104 pads. The tricky thing is they provide both source and sink
22105 interfaces, since they proxy the internal pad for the external
22106 pad, and vice versa. Implement with lower-level ProxyPad objects,
22107 with the interior proxy pad as a child of the exterior ghost pad.
22108 Should write a doc on this.
22110 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22111 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22114 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22115 pads are real pads. No ghost pads in this file. Not documenting
22116 the myriad s/RPAD/PAD/ and REALIZE fixes.
22117 (gst_pad_class_init): Add properties for "direction" and
22118 "template". Both are construct-only, so they can't change during
22119 the life of the pad. Fixes properly deriving from GstPad.
22120 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22121 derived objects, just set properties when creating the objects via
22123 (gst_pad_get_parent): Implement as a function, return NULL if the
22124 parent is not an element.
22125 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22126 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22128 * gst/gstobject.c (gst_object_class_init): Make name a construct
22129 property. Don't set it in the object init.
22131 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22132 with UNKNOWN direction.
22133 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22134 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22135 (gst_element_remove_pad): Remove ghost-pad special cases.
22136 (gst_element_pads_activate): Remove rpad cruft.
22138 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22139 catch the pad's-parent-not-an-element case.
22141 * gst/gst.h: Include gstghostpad.h.
22143 * gst/gst.c (init_post): No more real, ghost pads.
22145 * gst/Makefile.am: Add gstghostpad.[ch].
22147 * check/Makefile.am:
22148 * check/gst/gstbin.c:
22149 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22150 into a bin creates ghost pads, and that the refcounts are right.
22151 Partly moved from gstbin.c.
22153 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22155 * check/gst-libs/.cvsignore:
22156 * check/gst/.cvsignore:
22157 * check/pipelines/.cvsignore:
22159 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22160 (START_TEST), (cleanup_suite), (main):
22161 add some tests related to cleanup after running pipelines
22163 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22165 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22166 add a testsuite for GstBuffer
22168 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22170 * gst/gstminiobject.h:
22171 add defines for accessing the refcount
22173 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22175 * Makefile.am: added support for html unit test coverage reports
22177 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22179 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22180 Free existing caps if the capsfilter changes. Add a FIXME about
22181 setting those caps on the pads.
22183 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22184 Before adding a ghost pad to a parent bin, check that there isn't
22185 already one for the element on the bin. Prevents infinite recursion
22186 when using decodebin in parse pipelines. Andy says he'll rewrite the
22187 way this works anyway, so ignore the hack.
22189 2005-06-02 Andy Wingo <wingo@pobox.com>
22191 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22192 file size, pass it on to the type find helper.
22194 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22195 segment_start and segment_end properly according to the seek
22196 method. Segment_end is still a bit flaky because offset can be
22197 negative for CUR and END cases, but it takes -1 as an "unset"
22200 2005-06-02 Wim Taymans <wim@fluendo.com>
22202 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22203 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22204 (gst_basesink_activate):
22205 * gst/base/gstbasesink.h:
22206 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22207 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22208 (gst_pad_query), (gst_pad_start_task):
22210 * gst/gstqueue.c: (gst_queue_bufferalloc),
22211 (gst_queue_handle_sink_event), (gst_queue_chain):
22212 Bufferalloc: return GstFlowReturn to more accuratly report
22213 why allocation failed.
22215 2005-06-02 Wim Taymans <wim@fluendo.com>
22217 * gst/gstpipeline.c: (gst_pipeline_send_event):
22218 Take snapshot of state without blocking.
22220 2005-06-02 Wim Taymans <wim@fluendo.com>
22222 * docs/design/part-TODO.txt:
22223 * docs/design/part-caps.txt:
22224 * docs/design/part-clocks.txt:
22225 * docs/design/part-negotiation.txt:
22226 * docs/design/part-preroll.txt:
22229 2005-05-30 Wim Taymans <wim@fluendo.com>
22231 * gst/elements/gstidentity.c: (gst_identity_event),
22232 (gst_identity_transform), (gst_identity_get_property):
22233 Protect last_message property as it is accessed from
22236 2005-05-30 Wim Taymans <wim@fluendo.com>
22238 * gst/gstelement.c: (gst_element_init),
22239 (gst_element_pads_activate), (gst_element_change_state):
22240 Slicker pad activation code.
22242 2005-05-30 Wim Taymans <wim@fluendo.com>
22245 * gst/gstelement.h:
22246 * gst/gstelementfactory.h:
22248 Move elementfactory methods to separate .h file.
22250 2005-05-30 Wim Taymans <wim@fluendo.com>
22252 * docs/design/part-overview.txt:
22253 * gst/gstsystemclock.h:
22254 Small typo fixes, doc updates.
22256 2005-05-30 Wim Taymans <wim@fluendo.com>
22258 * gst/gst.c: (gst_init_get_popt_table), (init_post),
22259 (init_popt_callback):
22260 Remove cpu-opt flag.
22262 2005-05-30 Wim Taymans <wim@fluendo.com>
22264 * gst/gstbuffer.c: (gst_subbuffer_finalize),
22265 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22267 Avoid typechecking in places where not needed.
22268 Added accessor for malloc_data.
22270 2005-05-30 Wim Taymans <wim@fluendo.com>
22272 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22273 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22274 (gst_pad_configure_sink), (gst_pad_configure_src),
22275 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22276 (gst_pad_start_task):
22277 Propagate errors from _set_caps() in configure_src/sink
22278 functions instead of returning TRUE.
22279 FLUSH events can travel up and downstream
22282 2005-05-30 Wim Taymans <wim@fluendo.com>
22284 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22285 (gst_basesink_activate):
22286 Handle EOS in preroll.
22288 2005-05-30 Wim Taymans <wim@fluendo.com>
22290 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22291 (gst_queue_loop), (gst_queue_handle_src_event):
22292 Remove old pieces of code
22293 Flushing the queue in an upstream event is a very bad idea.
22295 2005-05-26 Andy Wingo <wingo@pobox.com>
22297 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22298 gst_value_set_mini_object so as to add a ref on the object (which
22299 will be removed when the value is unset).
22301 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22302 arg type in ::handoff.
22304 * gst/gstelement.c (gst_element_change_state): Also deactivate
22305 pads in READY->NULL, just in case the element didn't make it to
22306 PAUSED. Wingo tested, Wim approved.
22308 2005-05-26 Wim Taymans <wim@fluendo.com>
22310 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22311 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22312 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22313 A flushing pad cannot be used to alloc_buffer from.
22315 2005-05-26 Wim Taymans <wim@fluendo.com>
22317 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22318 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22319 (gst_bus_source_dispatch), (gst_bus_source_finalize),
22320 (gst_bus_create_watch), (gst_bus_add_watch_full):
22322 Implement a real GSource and use g_main_context_wakeup() to
22323 signal new messages instead of the socketpair.
22325 2005-05-25 Wim Taymans <wim@fluendo.com>
22327 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22328 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22329 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22330 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22331 (gst_pad_send_event), (gst_pad_start_task):
22332 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22333 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22334 (gst_queue_sink_activate), (gst_queue_src_activate),
22335 (gst_queue_change_state):
22337 Fix state changes for non sinks. We now change sinks, then elements
22338 with unconnected srcpads, then the rest.
22339 More efficient queue unlocking in flush and state changes.
22340 Set the pad activate mode even if it does not have an activate
22343 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22345 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22346 Don't go in pull mode for non-seekable sources.
22347 * gst/elements/gsttypefindelement.h:
22348 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22349 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22350 (free_entry), (stop_typefinding),
22351 (gst_type_find_element_handle_event), (find_peek),
22352 (gst_type_find_element_chain), (do_pull_typefind),
22353 (gst_type_find_element_change_state):
22354 Allow typefinding (w/o seeking) in push-mode, simplified version
22355 of what was in 0.8.
22356 * gst/gstutils.c: (gst_buffer_join):
22358 gst_buffer_join() from 0.8.
22360 2005-05-25 Wim Taymans <wim@fluendo.com>
22362 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22363 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22364 (gst_pad_send_event), (gst_pad_start_task):
22365 Disable attempt at mode switching until it is figured out.
22367 2005-05-25 Wim Taymans <wim@fluendo.com>
22369 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22370 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22371 (gst_basesink_finish_preroll), (gst_basesink_chain),
22372 (gst_basesink_loop), (gst_basesink_activate),
22373 (gst_basesink_change_state):
22374 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22375 (gst_basesrc_get_range), (gst_basesrc_loop),
22376 (gst_basesrc_activate):
22377 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22378 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22379 (gst_real_pad_init), (gst_real_pad_set_property),
22380 (gst_real_pad_get_property), (gst_pad_set_active),
22381 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22382 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22383 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22384 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22385 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22386 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22387 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22388 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22389 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22390 (gst_pad_stop_task):
22392 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22393 (gst_queue_loop), (gst_queue_src_activate):
22394 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22395 (gst_task_get_state):
22397 * gst/schedulers/threadscheduler.c:
22398 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22399 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22401 Remove ACTIVE pad flag, use FLUSHING everywhere
22402 Added _pad_chain(), _pad_get_range() to call chain/getrange
22404 Add locks around IS_FLUSHING when reading.
22405 Take STREAM lock in chain(), get_range() functions so plugins
22406 don't need to take it anymore.
22410 2005-05-25 Wim Taymans <wim@fluendo.com>
22412 * tools/gst-launch.c: (event_loop):
22413 Unref message after using its contents instead of
22416 2005-05-24 Wim Taymans <wim@fluendo.com>
22418 * docs/design/draft-ghostpads.txt:
22419 * docs/design/draft-push-pull.txt:
22420 * docs/design/draft-query.txt:
22421 * docs/design/part-overview.txt:
22422 Docs updates, added general overview doc.
22424 2005-05-21 David Schleef <ds@schleef.org>
22426 * docs/gst/tmpl/old/GstBin.sgml:
22427 * docs/gst/tmpl/old/GstBuffer.sgml:
22428 * docs/gst/tmpl/old/GstCaps.sgml:
22429 * docs/gst/tmpl/old/GstClock.sgml:
22430 * docs/gst/tmpl/old/GstCompat.sgml:
22431 * docs/gst/tmpl/old/GstData.sgml:
22432 * docs/gst/tmpl/old/GstElement.sgml:
22433 * docs/gst/tmpl/old/GstEvent.sgml:
22434 * docs/gst/tmpl/old/GstIndex.sgml:
22435 * docs/gst/tmpl/old/GstStructure.sgml:
22436 * docs/gst/tmpl/old/GstTag.sgml:
22437 * docs/gst/tmpl/old/cothreads.sgml:
22438 * docs/gst/tmpl/old/cothreads_compat.sgml:
22439 * docs/gst/tmpl/old/gettext.sgml:
22440 * docs/gst/tmpl/old/gobject2gtk.sgml:
22441 * docs/gst/tmpl/old/grammar.tab.sgml:
22442 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22443 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22444 * docs/gst/tmpl/old/gst_private.sgml:
22445 * docs/gst/tmpl/old/gstaggregator.sgml:
22446 * docs/gst/tmpl/old/gstarch.sgml:
22447 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22448 * docs/gst/tmpl/old/gstbufferstore.sgml:
22449 * docs/gst/tmpl/old/gstdata_private.sgml:
22450 * docs/gst/tmpl/old/gstdisksink.sgml:
22451 * docs/gst/tmpl/old/gstdisksrc.sgml:
22452 * docs/gst/tmpl/old/gstelementfactory.sgml:
22453 * docs/gst/tmpl/old/gstextratypes.sgml:
22454 * docs/gst/tmpl/old/gstfakesink.sgml:
22455 * docs/gst/tmpl/old/gstfakesrc.sgml:
22456 * docs/gst/tmpl/old/gstfdsink.sgml:
22457 * docs/gst/tmpl/old/gstfdsrc.sgml:
22458 * docs/gst/tmpl/old/gstfilesink.sgml:
22459 * docs/gst/tmpl/old/gstfilesrc.sgml:
22460 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22461 * docs/gst/tmpl/old/gstidentity.sgml:
22462 * docs/gst/tmpl/old/gstindexfactory.sgml:
22463 * docs/gst/tmpl/old/gstmarshal.sgml:
22464 * docs/gst/tmpl/old/gstmd5sink.sgml:
22465 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22466 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22467 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22468 * docs/gst/tmpl/old/gstpipefilter.sgml:
22469 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22470 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22471 * docs/gst/tmpl/old/gstshaper.sgml:
22472 * docs/gst/tmpl/old/gstspider.sgml:
22473 * docs/gst/tmpl/old/gstspideridentity.sgml:
22474 * docs/gst/tmpl/old/gststatistics.sgml:
22475 * docs/gst/tmpl/old/gsttee.sgml:
22476 * docs/gst/tmpl/old/gsttimecache.sgml:
22477 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22478 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22479 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22480 * docs/gst/tmpl/old/types.sgml:
22481 I didn't intend to add these or check them in.
22483 2005-05-19 David Schleef <ds@schleef.org>
22485 * configure.ac: Use -no-common everywhere. In a sane world, it
22486 would be the default in libtool, because without it, you can't
22487 build DLLs on Windows.
22488 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22489 * docs/gst/gstreamer-sections.txt:
22490 * docs/gst/tmpl/gstcpu.sgml:
22491 * docs/gst/tmpl/gstdata.sgml:
22492 * docs/gst/tmpl/gstthread.sgml:
22494 2005-05-19 David Schleef <ds@schleef.org>
22496 * gst/gstminiobject.c: (gst_value_set_mini_object),
22497 (gst_value_take_mini_object), (gst_value_get_mini_object):
22498 * gst/gstminiobject.h: Add GValue set/get functions.
22500 2005-05-19 Wim Taymans <wim@fluendo.com>
22502 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22503 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22504 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22506 * gst/gstbus.c: (gst_bus_post):
22507 * gst/gstelement.c: (gst_element_get_random_pad):
22508 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22509 Make subbufer unref the parent in finalize.
22510 some more debugging info.
22513 2005-05-19 Wim Taymans <wim@fluendo.com>
22515 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22516 (gst_basesink_init), (gst_basesink_finalize),
22517 (gst_basesink_activate), (gst_basesink_change_state):
22518 Don't free preroll queue too early.
22520 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22524 Hi, I'm outdated. Please shoot me.
22526 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22528 * gst/gstpipeline.c: (gst_pipeline_send_event):
22529 Do not access variables after they have been deleted.
22531 2005-05-19 Wim Taymans <wim@fluendo.com>
22533 * tools/gst-inspect.c: (print_plugin_features):
22534 A plugin feature does unfortunatly not use the
22537 2005-05-18 Wim Taymans <wim@fluendo.com>
22539 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22540 Port _span() functions to new subbuffers.
22542 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22544 * gst/gstbin.c: (gst_bin_add_func):
22545 Fix clock settery in bins when adding kids after the clock has
22548 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22550 * gst/elements/gstidentity.c: (gst_identity_class_init):
22551 Workaround until signals support GstMiniObject.
22553 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22556 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22558 2005-05-18 Wim Taymans <wim@fluendo.com>
22560 * gst/base/Makefile.am:
22561 * gst/base/gstadapter.c: (gst_adapter_base_init),
22562 (gst_adapter_class_init), (gst_adapter_init),
22563 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22564 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22565 (gst_adapter_flush), (gst_adapter_available),
22566 (gst_adapter_available_fast):
22567 * gst/base/gstadapter.h:
22568 Ported and added adapter to the base classes.
22570 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22573 * gst/gstmessage.c:
22574 Make sure the class is reffed/unreffed once before threads can be
22575 used. Fixes #304551.
22577 2005-05-17 Wim Taymans <wim@fluendo.com>
22579 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22580 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22581 * gst/gstminiobject.c: (gst_mini_object_get_type),
22582 (gst_mini_object_free):
22583 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22584 (gst_pad_push), (gst_pad_push_event):
22585 * gst/gstqueue.c: (gst_queue_change_state):
22586 Don't queue buffers in basesink when we are flushing.
22587 Unref buffer when flushing in basesink.
22588 Flush queue when going to READY
22589 Unref buffer when _push() returns an error.
22590 Don't free MiniObject instance when refcount is incremented
22591 in _finalize() so that we can recover objects.
22593 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22595 * docs/manual/advanced-schedulers.xml:
22596 * docs/manual/appendix-checklist.xml:
22597 * docs/pwg/advanced-clock.xml:
22598 * docs/pwg/advanced-interfaces.xml:
22599 * docs/pwg/advanced-request.xml:
22600 * docs/pwg/advanced-types.xml:
22601 * docs/pwg/intro-preface.xml:
22602 * examples/plugins/example.c: (gst_example_get_type),
22603 (gst_example_class_init), (gst_example_chain),
22604 (gst_example_set_property), (gst_example_get_property),
22605 (gst_example_change_state), (plugin_init):
22606 * examples/plugins/example.h:
22609 2005-05-17 Wim Taymans <wim@fluendo.com>
22611 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22612 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22613 * gst/gstqueue.c: (gst_queue_change_state):
22614 Clear queue when going to READY.
22615 Remove IN_SETCAPS flag too.
22617 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22619 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22620 Remove implicit cast from gboolean to GstElementStateReturn;
22621 make sure we still return failure in paused => ready case if
22622 the parent class fails to change state and our own stop
22625 2005-05-17 Wim Taymans <wim@fluendo.com>
22627 * tools/gst-launch.c: (event_loop):
22628 Message was unreffed too soon.
22630 2005-05-16 Andy Wingo <wingo@pobox.com>
22632 * gst/gstbin.c (sink_iterator_filter): Err... um...
22634 * check/gst/gstbin.c (test_ghost_pads): New test for the
22635 ghosting-if-elements-not-in-same-bin behavior.
22637 2005-05-16 David Schleef <ds@schleef.org>
22639 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22640 accessing refcount directly.
22642 2005-05-15 David Schleef <ds@schleef.org>
22644 * check/Makefile.am: remove GstData checks
22645 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22646 * gst/Makefile.am: add miniobject, remove data
22647 * gst/gst.h: add miniobject, remove data
22648 * gst/gstdata.c: remove
22649 * gst/gstdata.h: remove
22650 * gst/gstdata_private.h: remove
22651 * gst/gsttypes.h: remove GstEvent and GstMessage
22652 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22653 * gst/gstmarshal.list: change BOXED -> OBJECT
22655 Implement GstMiniObject.
22656 * gst/gstminiobject.c:
22657 * gst/gstminiobject.h:
22659 Modify to be subclasses of GstMiniObject.
22660 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22661 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22662 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22663 (gst_subbuffer_get_type), (gst_subbuffer_init),
22664 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22667 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22668 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22669 (_gst_event_copy), (gst_event_new):
22671 * gst/gstmessage.c: (_gst_message_initialize),
22672 (gst_message_get_type), (gst_message_class_init),
22673 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22674 (gst_message_new), (gst_message_new_error),
22675 (gst_message_new_warning), (gst_message_new_tag),
22676 (gst_message_new_state_changed), (gst_message_new_application):
22677 * gst/gstmessage.h:
22678 * gst/gstprobe.c: (gst_probe_perform),
22679 (gst_probe_dispatcher_dispatch):
22681 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22682 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22683 (_gst_query_copy), (gst_query_new):
22685 Update elements for GstData -> GstMiniObject changes
22687 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22688 (gst_queue_chain), (gst_queue_loop):
22689 * gst/elements/gstbufferstore.c:
22690 (gst_buffer_store_add_buffer_func),
22691 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22692 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22693 (gst_fakesink_render):
22694 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22695 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22696 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22697 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22698 (gst_filesrc_create_read):
22699 * gst/elements/gstidentity.c: (gst_identity_class_init):
22700 * gst/elements/gsttypefindelement.c:
22701 (gst_type_find_element_src_event), (free_entry_buffers),
22702 (gst_type_find_element_handle_event):
22703 * libs/gst/dataprotocol/dataprotocol.c:
22704 (gst_dp_header_from_buffer):
22705 * libs/gst/dataprotocol/dataprotocol.h:
22706 * libs/gst/dataprotocol/dp-private.h:
22708 2005-05-15 David Schleef <ds@schleef.org>
22710 * gst/elements/gstelements.c: Don't include headers that were
22713 2005-05-15 David Schleef <ds@schleef.org>
22715 * gst/elements/Makefile.am: Remove some elements that don't
22716 need to be in the core (or even exist at all).
22717 * gst/elements/gstaggregator.c:
22718 * gst/elements/gstaggregator.h:
22719 * gst/elements/gstmd5sink.c:
22720 * gst/elements/gstmd5sink.h:
22721 * gst/elements/gstmultifilesrc.c:
22722 * gst/elements/gstmultifilesrc.h:
22723 * gst/elements/gstpipefilter.c:
22724 * gst/elements/gstpipefilter.h:
22725 * gst/elements/gstshaper.c:
22726 * gst/elements/gstshaper.h:
22727 * gst/elements/gststatistics.c:
22728 * gst/elements/gststatistics.h:
22729 * po/POTFILES.in: Remove above files.
22731 2005-05-14 Andy Wingo <wingo@pobox.com>
22733 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22734 so as to get the refs right.
22735 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22736 unreffing objects that don't pass the filter.
22738 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22739 gst_element_set_bus.
22740 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22741 normal cases, this will destroy the bus.
22743 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22746 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22749 2005-05-13 Andy Wingo <wingo@pobox.com>
22751 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22752 gst_pad_link, call pad_link_maybe_ghosting,
22753 (pad_link_maybe_ghosting): Links pads, making sure that the
22754 elements being linked are in the same bin.
22755 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22756 Helpers for pad_link_maybe_ghosting.
22758 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22761 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22763 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22765 * docs/design/part-element-source.txt:
22768 2005-05-12 Wim Taymans <wim@fluendo.com>
22770 * gst/base/gstbasesink.c: (gst_basesink_init),
22771 (gst_basesink_activate):
22772 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22773 (gst_basesrc_is_seekable):
22774 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22775 (bin_element_is_sink), (gst_bin_change_state):
22776 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22777 * gst/gstelement.h:
22778 Identify sinks by their flag to avoid overly complicated
22780 Do state changes even for elements not reachable from the
22782 BaseSink is a sink now :)
22783 Some more debugging info in the basesrc.
22786 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22788 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22789 Implement _query on a bin, similar to _send_event.
22791 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22793 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22794 Discont event offset format should be GST_FORMAT_BYTES,
22795 not GST_FORMAT_TIME.
22797 2005-05-12 Wim Taymans <wim@fluendo.com>
22799 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22800 Same fix as Ronald's but without the signal.
22802 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22804 * gst/gstutils.c: (gst_element_query_position):
22805 No, an element is not a pad.
22807 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22809 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22810 (gst_bin_get_state):
22811 If a child is removed from a bin while we remove the child from
22812 the bin and while we're retrieving its state, signal this to the
22813 get_state function so we abort the wait (instead of waiting for
22814 a timeout) and can immediately re-iterate over all other elements.
22816 2005-05-12 Wim Taymans <wim@fluendo.com>
22818 * gst/base/Makefile.am:
22819 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22820 (gst_basesrc_start):
22821 * gst/base/gstbasesrc.h:
22822 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22823 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22824 (gst_pushsrc_init), (gst_pushsrc_create):
22825 * gst/base/gstpushsrc.h:
22826 Added is_seekable to BaseSrc
22827 Added simple PushSrc.
22829 2005-05-11 Wim Taymans <wim@fluendo.com>
22831 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22832 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22833 (gst_element_link_pads), (gst_element_query_position),
22834 (gst_element_query_convert), (intersect_caps_func),
22835 (gst_pad_query_position), (gst_pad_query_convert):
22836 Fix refcounting in utils function.
22837 No point in trying to activate a pad when it's added, it could
22838 be added from the state change function and then we deadlock, the
22839 element has to decide what to do.
22841 2005-05-10 Andy Wingo <wingo@pobox.com>
22843 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22844 *all* the arguments.
22846 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22847 stream lock if it's a FLUSH_DONE; normal flushes don't get the
22848 lock (according to the docs -- if this is wrong change the docs).
22850 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22851 flush messages in the NULL state.
22853 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22854 message immediately and return.
22855 (gst_bus_set_flushing): New function. If a bus is flushing, it
22856 flushes out any queued messages and immediately unrefs new
22857 messages. This is so when an element goes to NULL, all of the
22858 unhandled messages coming from it can be freed, and their
22859 references to the element dropped. In other words: message source
22860 ref considered harmful :P
22862 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22863 we're finished with it.
22865 * gst/gstmessage.c (gst_message_new_state_changed):
22867 2005-05-10 Wim Taymans <wim@fluendo.com>
22869 * gst/gstvalue.c: (gst_value_compare_flags),
22870 (gst_value_serialize_flags), (gst_value_deserialize_flags),
22871 (_gst_value_initialize):
22872 Added flags serialize/deserialize/compare code.
22874 2005-05-09 Andy Wingo <wingo@pobox.com>
22876 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
22877 Intersect the peer's caps with our caps.
22879 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22881 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22882 * gst/elements/gsttypefindelement.c: (find_peek):
22883 Handle negative offsets better. Fixes decodebin.
22885 2005-05-09 Wim Taymans <wim@fluendo.com>
22887 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
22888 (gst_base_transform_event):
22889 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
22890 Implement accept_caps.
22891 Fix silly lock/unlock mismatch in base class.
22893 2005-05-09 Wim Taymans <wim@fluendo.com>
22895 * docs/design/draft-push-pull.txt:
22896 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
22897 * gst/elements/gstfilesink.c: (gst_filesink_init),
22898 (gst_filesink_query):
22899 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22900 (gst_type_find_handle_src_query), (find_element_get_length):
22901 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
22902 * gst/gstelement.h:
22903 * gst/gstmessage.c:
22904 * gst/gstmessage.h:
22905 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
22906 (gst_real_pad_get_caps_unlocked),
22907 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
22908 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22909 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
22910 (gst_real_pad_dispose), (gst_real_pad_finalize),
22911 (gst_pad_load_and_link), (gst_pad_save_thyself),
22912 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
22913 (gst_pad_check_pull_range), (gst_pad_pull_range),
22914 (gst_pad_template_get_type), (gst_pad_template_class_init),
22915 (gst_pad_template_init), (gst_pad_template_dispose),
22916 (name_is_valid), (gst_static_pad_template_get),
22917 (gst_pad_template_new), (gst_static_pad_template_get_caps),
22918 (gst_pad_template_get_caps), (gst_pad_set_element_private),
22919 (gst_pad_get_element_private), (gst_pad_start_task),
22920 (gst_pad_pause_task), (gst_pad_stop_task),
22921 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
22922 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
22923 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
22924 (gst_ghost_pad_new):
22926 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
22927 (gst_query_new_position), (gst_query_set_position),
22928 (gst_query_parse_position), (gst_query_new_convert),
22929 (gst_query_set_convert), (gst_query_parse_convert):
22931 * gst/gstqueryutils.c:
22932 * gst/gstqueryutils.h:
22933 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22934 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22935 (gst_queue_handle_src_query):
22936 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22937 (gst_element_query_position), (gst_element_query_convert),
22938 (intersect_caps_func), (gst_pad_query_position),
22939 (gst_pad_query_convert):
22941 * tools/gst-inspect.c: (print_pad_info):
22942 * tools/gst-xmlinspect.c: (print_element_info):
22943 Remove old query functions. Ported old code.
22944 Added position/convert helper functions to gstutils.
22945 Reordered gstpad.c code, grouping relevant things.
22946 Remove gst_message_new(), always need to speficy a specific
22950 2005-05-09 Andy Wingo <wingo@pobox.com>
22952 * gst/gstiterator.h: Add some includes.
22954 * gst/gstqueryutils.h: Include more headers.
22957 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
22958 some uses of gst_pad_query.
22960 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
22961 NULL out parameters.
22962 (gst_query_new_position): New proc, allocates a new position
22965 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
22966 gstqueryutils.c to the build.
22968 * gst/gststructure.c (gst_structure_set_valist): Implement with
22969 the generic G_VALUE_COLLECT.
22971 2005-05-08 Edward Hervey <bilboed@bilboed.com>
22973 * gst/Makefile.am: (gst_headers):
22974 Added gstqueryutils.h to the list of headers to install, that was
22975 a 'nachty' move wingo :)
22977 2005-05-06 Andy Wingo <wingo@pobox.com>
22980 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
22981 GstData, init a memchunk.
22982 (standard_definitions): Add a few query types, deprecate a few.
22983 (gst_query_get_type): New proc.
22984 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
22986 (gst_query_new_application, gst_query_get_structure): New public
22989 * docs/design/draft-query.txt: Removed LINKS from the query types,
22990 because all the rest can be dispatched to other pads -- seemed
22991 ugly to have a query that couldn't be dispatched. internal_links
22992 is fine as a pad method.
22994 * gst/gstpad.h: Add query2 as a pad method, add the new functions
22995 in gstpad.c, but maintain binary compatibility for the moment.
22996 Will fix before 0.9 is out.
22998 * gst/gstqueryutils.c:
22999 * gst/gstqueryutils.h: New files, implement 3 methods for each
23000 query type: parse_query, parse_response, and set. Probably need an
23003 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23005 * gst/elements/gstfilesink.c (gst_filesink_query2):
23006 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23007 query_types, and formats methods.
23009 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23010 (gst_pad_set_query2_function): New functions.
23011 (gst_real_pad_init): Set query2_default as the default query2
23012 function. Basically just dispatches to internally linked pads.
23016 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23017 without using the atomic operations. Only one thread can possibly
23018 be accessing the data at this point. Changed so as to avoid
23019 gst_atomic operations.
23021 2005-05-06 Wim Taymans <wim@fluendo.com>
23023 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23024 Also set caps if we use the fallback buffer alloc.
23026 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23028 * docs/gst/Makefile.am:
23029 * docs/gst/gstreamer-docs.sgml:
23030 * docs/gst/gstreamer-sections.txt:
23031 * docs/gst/tmpl/gstatomic.sgml:
23032 * docs/gst/tmpl/gstmemchunk.sgml:
23033 * testsuite/elements/struct_i386.h:
23034 * win32/GStreamer.vcproj:
23036 Purge GstAtomic stuff from docs and win32 makefiles as well
23038 2005-05-06 Wim Taymans <wim@fluendo.com>
23040 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23041 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23042 * gst/gstpad.c: (gst_pad_peer_get_caps):
23043 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23044 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23045 (gst_queue_src_activate), (gst_queue_change_state):
23047 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23048 (intersect_caps_func):
23049 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23050 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23051 Some fixes for the peer_get_caps() change.
23053 2005-05-06 Wim Taymans <wim@fluendo.com>
23055 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23056 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23057 (gst_basesink_activate):
23058 Actually do something with error codes returned from the push
23061 2005-05-06 Wim Taymans <wim@fluendo.com>
23063 * docs/design/part-element-sink.txt:
23064 * docs/design/part-element-source.txt:
23065 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23066 (gst_basesink_event), (gst_basesink_activate):
23067 * gst/base/gstbasesink.h:
23068 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23069 (gst_basesrc_activate):
23070 * gst/base/gstbasesrc.h:
23071 * gst/gstelement.c: (gst_element_pads_activate):
23072 Some more documentation.
23073 Fixed scheduling decision in _pads_activate().
23075 2005-05-05 Andy Wingo <wingo@pobox.com>
23077 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23080 2005-05-05 Wim Taymans <wim@fluendo.com>
23082 * gst/base/Makefile.am:
23083 * gst/base/gstbasesink.h:
23084 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23085 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23086 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23087 (gst_collectpads_class_init), (gst_collectpads_init),
23088 (gst_collectpads_finalize), (gst_collectpads_new),
23089 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23090 (find_pad), (gst_collectpads_remove_pad),
23091 (gst_collectpads_is_active), (gst_collectpads_collect),
23092 (gst_collectpads_collect_range), (gst_collectpads_start),
23093 (gst_collectpads_stop), (gst_collectpads_peek),
23094 (gst_collectpads_pop), (gst_collectpads_available),
23095 (gst_collectpads_read), (gst_collectpads_flush),
23096 (gst_collectpads_chain):
23097 * gst/base/gstcollectpads.h:
23098 * gst/elements/Makefile.am:
23099 * gst/elements/gstelements.c:
23100 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23101 (gst_fakesink_get_times), (gst_fakesink_event),
23102 (gst_fakesink_preroll), (gst_fakesink_render):
23103 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23104 (gst_filesink_init), (gst_filesink_set_location),
23105 (gst_filesink_open_file), (gst_filesink_close_file),
23106 (gst_filesink_pad_query), (gst_filesink_event),
23107 (gst_filesink_render), (gst_filesink_change_state):
23108 * gst/elements/gstfilesink.h:
23109 Added object to help in making collect pad based elements.
23111 Make event function in sink baseclass return gboolean.
23113 2005-05-05 Wim Taymans <wim@fluendo.com>
23115 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23116 (gst_bin_get_by_name):
23118 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23119 (gst_clock_finalize):
23120 * gst/gstdata.c: (gst_data_replace):
23122 * gst/gstelement.c: (gst_element_request_pad),
23123 (gst_element_pads_activate):
23124 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23125 (gst_object_unref):
23126 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23127 (gst_pad_set_checkgetrange_function),
23128 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23129 (gst_pad_check_pull_range), (gst_pad_pull_range),
23130 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23131 (gst_pad_pause_task), (gst_pad_stop_task):
23132 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23133 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23134 Fix name lookup in GstBin.
23135 Added _data_replace() function and _buffer_replace()
23136 Use finalize method to clean up clock.
23137 Fix refcounting on request pads.
23138 Fix pad schedule mode error.
23139 Some more object refcounting debug info,
23142 2005-05-04 Andy Wingo <wingo@pobox.com>
23144 * check/Makefile.am:
23145 * docs/gst/tmpl/gstatomic.sgml:
23146 * docs/gst/tmpl/gstplugin.sgml:
23147 * gst/base/gstbasesink.c: (gst_basesink_activate):
23148 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23149 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23150 (gst_basesrc_query), (gst_basesrc_set_property),
23151 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23152 (gst_basesrc_activate):
23153 * gst/base/gstbasesrc.h:
23154 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23155 (gst_base_transform_src_activate):
23156 * gst/elements/gstelements.c:
23157 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23158 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23159 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23160 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23161 (gst_type_find_element_checkgetrange),
23162 (gst_type_find_element_activate):
23163 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23164 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23165 (gst_caps_load_thyself):
23166 * gst/gstelement.c: (gst_element_pads_activate),
23167 (gst_element_save_thyself), (gst_element_restore_thyself):
23168 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23169 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23171 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23172 (gst_xml_parse_file), (gst_xml_parse_memory),
23173 (gst_xml_get_element), (gst_xml_make_element):
23174 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23175 (_file_index_id_save_xml), (gst_file_index_commit):
23176 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23177 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23179 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23180 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23181 * tools/gst-complete.c: (main):
23182 * tools/gst-compprep.c: (main):
23183 * tools/gst-inspect.c: (print_element_properties_info):
23184 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23185 * tools/gst-xmlinspect.c: (print_element_properties):
23188 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23190 * gst/gstplugin.c: (gst_plugin_check_module),
23191 (gst_plugin_check_file), (gst_plugin_load_file):
23192 apply patch from #172526 to make register work on MacOSX
23194 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23196 * docs/gst/tmpl/gstconfig.sgml:
23197 * gst/gstconfig.h.in:
23198 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23199 * testsuite/debug/printf_extension.c: (main):
23200 Do not use GST_PTR_FORMAT on pointers to types with
23201 sizeof < sizeof(gpointer). Fixes test on 64-bit
23202 * testsuite/elements/property.h:
23203 use correct printf format
23205 2005-05-02 Wim Taymans <wim@fluendo.com>
23207 * docs/design/draft-push-pull.txt:
23208 * docs/design/draft-query.txt:
23209 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23210 (gst_basesrc_start):
23211 Added draft for new query API.
23212 Added draft for better selecting scheduling methods.
23213 Make basesrc ignore length if the subclass does not support
23216 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23219 possible fixes for automake-1.5 - _LIBADD is reserved
23221 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23223 * docs/faq/Makefile.am:
23224 * docs/manual/Makefile.am:
23225 * docs/manuals.mak:
23226 * docs/pwg/Makefile.am:
23228 possible fixes for automake-1.5
23230 2005-04-28 Wim Taymans <wim@fluendo.com>
23232 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23233 (gst_basesink_pad_getcaps), (gst_basesink_init),
23234 (gst_basesink_do_sync):
23235 * gst/gstclock.c: (gst_clock_entry_new):
23236 * gst/gstevent.c: (gst_event_discont_get_value):
23237 * gst/gstpipeline.c: (pipeline_bus_handler),
23238 (gst_pipeline_change_state):
23239 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23240 Better debugging of clocking info.
23241 Allow NULL values when getting discont values.
23243 2005-04-27 Wim Taymans <wim@fluendo.com>
23245 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23246 * check/gst/gstpad.c: (gst_pad_suite):
23247 Increase timeout for checks.
23249 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23251 * check/Makefile.am:
23252 fix the broken rule for cleanup. Apparently this rule is
23253 only needed on FC2, so maybe this warrants further autotool
23256 2005-04-26 Wim Taymans <wim@fluendo.com>
23258 * gst/gsttrashstack.h:
23259 Ooohh. a nasty one! After having a failed pop() from the stack,
23260 it's possible that the stack is empty. In that case, don't
23261 follow the NULL pointer.
23263 2005-04-25 Wim Taymans <wim@fluendo.com>
23265 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23266 (gst_pad_set_checkgetrange_function),
23267 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23268 (gst_pad_check_pull_range), (gst_pad_pull_range),
23269 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23270 (gst_pad_pause_task), (gst_pad_stop_task):
23271 * gst/gstplugin.c: (gst_plugin_load):
23273 Remove gst_library_load as it does more harm than good with
23274 the new g_module flags.
23275 Revert bogus caps template check in pad linking, pad caps
23276 are important when linking not the template, which is more
23277 general than the current caps.
23279 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23281 * gst/autoplug/.cvsignore:
23282 * gst/autoplug/Makefile.am:
23283 * gst/autoplug/gstsearchfuncs.c:
23284 * gst/autoplug/gstsearchfuncs.h:
23285 * gst/autoplug/gstspider.c:
23286 * gst/autoplug/gstspider.h:
23287 * gst/autoplug/gstspideridentity.c:
23288 * gst/autoplug/gstspideridentity.h:
23289 * gst/autoplug/spidertest.c:
23292 2005-04-25 Wim Taymans <wim@fluendo.com>
23294 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23295 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23296 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23297 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23299 Added stubs for unimplemented functions.
23301 2005-04-24 David Schleef <ds@schleef.org>
23303 * gst/gstpad.h: Disable some unimplemented functions. Wim,
23306 2005-04-24 David Schleef <ds@schleef.org>
23308 Convert everything from GstAtomicInt to g_atomic_int_*, and
23313 * gst/gstatomic_impl.h:
23321 * gst/gstdata_private.h:
23325 * gst/gstmessage.c:
23328 * gst/gststructure.c:
23329 * gst/gststructure.h:
23330 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23333 2005-04-24 David Schleef <ds@schleef.org>
23335 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23336 make the regressions tests work. Remove some code that is no
23338 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23339 Disable warning for pads without templates.
23341 2005-04-24 David Schleef <ds@schleef.org>
23343 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
23344 functions that handle filtered links.
23345 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23347 * gst/gstutils.c: Fix/remove utility functions that handle
23350 * gst/gstvalue.c: Add serialization/deserialization of caps
23351 * gst/parse/grammar.y: Ignore filtered caps when linking. This
23352 requires fixing so that the filter caps notation creates
23353 a capsfilter element and sets the filter_caps property. I
23354 think everyone probably wants to keep the shorthand notation.
23355 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23356 * docs/gst/tmpl/gstpad.sgml:
23358 * gst/elements/gstelements.c: Register capsfilter element.
23359 * gst/Makefile.am: fix spacing
23360 * docs/random/ds/0.9-suggested-changes: random
23362 2005-04-23 David Schleef <ds@schleef.org>
23364 * gst/elements/Makefile.am:
23365 * gst/elements/gstcapsfilter.c: New element that acts like an
23366 identity, but filters caps. Will eventually replace filtered
23367 caps in pad linking.
23368 * gst/gstutils.c: (gst_element_create_all_pads): New function
23369 to create all the ALWAYS pads that are registered with an
23370 element class. This functionality should eventually be
23371 merged in with GstElement initialization.
23373 * testsuite/trigger/README: part of trigger test code that should
23374 have been checked in a long time ago.
23376 2005-04-23 David Schleef <ds@schleef.org>
23378 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23379 needed with new versions of libtool (nobody will confirm this),
23380 and hard to carry around.
23381 * gst/autoplug/Makefile.am:
23382 * gst/base/Makefile.am:
23383 * gst/elements/Makefile.am:
23384 * gst/indexers/Makefile.am:
23385 * gst/schedulers/Makefile.am:
23386 * libs/gst/bytestream/Makefile.am:
23387 * libs/gst/control/Makefile.am:
23388 * libs/gst/dataprotocol/Makefile.am:
23389 * libs/gst/getbits/Makefile.am:
23391 2005-04-21 Wim Taymans <wim@fluendo.com>
23393 * docs/design/draft-push-pull.txt:
23394 * docs/design/part-MT-refcounting.txt:
23395 * docs/design/part-TODO.txt:
23396 * docs/design/part-caps.txt:
23397 * docs/design/part-events.txt:
23398 * docs/design/part-gstbus.txt:
23399 * docs/design/part-gstpipeline.txt:
23400 * docs/design/part-messages.txt:
23401 * docs/design/part-push-pull.txt:
23402 * docs/design/part-query.txt:
23405 2005-04-21 Wim Taymans <wim@fluendo.com>
23407 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23408 (gst_message_new), (gst_message_new_error),
23409 (gst_message_new_warning), (gst_message_new_tag),
23410 (gst_message_new_state_changed), (gst_message_new_application),
23411 (gst_message_get_structure):
23412 * gst/gstmessage.h:
23413 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23414 (gst_structure_copy_conditional):
23415 Use parent refcount in GstMessage to ensure GstStructure
23417 Cleaned up headers a bit.
23420 2005-04-20 Wim Taymans <wim@fluendo.com>
23422 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23423 (gst_basesink_pad_getcaps), (gst_basesink_init),
23424 (gst_basesink_chain_unlocked):
23425 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23426 (gst_type_find_helper):
23427 * gst/elements/gsttypefindelement.c:
23428 (gst_type_find_element_have_type), (gst_type_find_element_init),
23429 (stop_typefinding), (gst_type_find_element_handle_event),
23430 (find_suggest), (gst_type_find_element_chain),
23431 (gst_type_find_element_checkgetrange),
23432 (gst_type_find_element_getrange), (do_typefind),
23433 (gst_type_find_element_activate):
23434 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23435 (gst_buffer_default_free), (gst_buffer_default_copy),
23436 (gst_buffer_set_caps):
23437 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23438 (gst_caps_replace):
23439 * gst/gstmessage.c: (gst_message_new),
23440 (gst_message_new_state_changed):
23441 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23442 (gst_pad_set_checkgetrange_function),
23443 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23444 (gst_pad_set_caps), (gst_pad_check_pull_range),
23445 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23447 * gst/gsttypefind.c: (gst_type_find_register):
23448 Make gst_caps_replace() work like other _replace() functions.
23449 Use _caps_replace() where possible.
23450 Make sure _message_new() initialises its field.
23451 Add gst_static_pad_template_get_caps()
23454 2005-04-18 Andy Wingo <wingo@pobox.com>
23456 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23457 on the peer, not the pad. I think that was a typo. Pass an extra
23458 arg to see if random access is possible. Activate the pads as
23459 PULL_RANGE if possible.
23461 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23463 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23464 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23467 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23469 * docs/faq/using.xml:
23470 Add note on gstreamer-properties (#154996).
23472 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23474 * docs/random/bbb/optional-properties:
23475 Some analysis on optional properties.
23477 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23479 * docs/gst/tmpl/gstelementfactory.sgml:
23480 * gst/gstelement.h:
23481 * gst/gstelementfactory.c: (gst_element_factory_init),
23482 (gst_element_factory_cleanup), (gst_element_register),
23483 (__gst_element_factory_add_static_pad_template),
23484 (gst_element_factory_get_static_pad_templates),
23485 (gst_element_factory_can_src_caps),
23486 (gst_element_factory_can_sink_caps):
23487 * gst/registries/Makefile.am:
23488 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23489 (gst_xml_registry_class_init), (gst_xml_registry_init),
23490 (gst_xml_registry_new), (gst_xml_registry_set_property),
23491 (gst_xml_registry_get_property), (get_time), (make_dir),
23492 (gst_xml_registry_get_perms_func),
23493 (plugin_times_older_than_recurse), (plugin_times_older_than),
23494 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23495 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23496 (add_to_char_array), (read_string), (read_uint), (read_enum),
23497 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23498 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23499 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23500 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23501 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23502 (gst_xml_registry_rebuild):
23503 * gst/registries/gstlibxmlregistry.h:
23504 * tools/gst-compprep.c: (main):
23505 * tools/gst-inspect.c: (print_pad_templates_info):
23506 * tools/gst-xmlinspect.c: (print_element_info):
23507 Use libxml2 for registry parsing, use staticpadtemplates in
23508 elementfactories. Makes gst_init() +/- 10x faster.
23510 2005-04-12 Wim Taymans <wim@fluendo.com>
23512 * gst/base/Makefile.am:
23513 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23514 (gst_basesink_pad_getcaps), (gst_basesink_init),
23515 (gst_basesink_event), (gst_basesink_change_state):
23516 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23517 (gst_basesrc_init), (gst_basesrc_query),
23518 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23519 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23520 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23521 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23522 (gst_basesrc_stop), (gst_basesrc_activate),
23523 (gst_basesrc_change_state):
23524 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23525 (helper_find_suggest), (gst_type_find_helper):
23526 * gst/base/gsttypefindhelper.h:
23527 * gst/elements/Makefile.am:
23528 * gst/elements/gstelements.c:
23529 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23530 (gst_fakesink_get_times), (gst_fakesink_event),
23531 (gst_fakesink_preroll), (gst_fakesink_render):
23532 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23533 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23534 (gst_fakesrc_get_property), (gst_fakesrc_create),
23535 (gst_fakesrc_start), (gst_fakesrc_stop):
23536 * gst/elements/gstfakesrc.h:
23537 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23538 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23539 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23540 (gst_filesrc_create_read), (gst_filesrc_create),
23541 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23542 (gst_filesrc_start):
23543 * gst/elements/gsttypefindelement.c:
23544 (gst_type_find_element_have_type), (gst_type_find_element_init),
23545 (start_typefinding), (stop_typefinding), (push_buffer_store),
23546 (gst_type_find_element_handle_event),
23547 (gst_type_find_element_chain),
23548 (gst_type_find_element_checkgetrange),
23549 (gst_type_find_element_getrange), (do_typefind),
23550 (gst_type_find_element_activate),
23551 (gst_type_find_element_change_state):
23552 * gst/elements/gsttypefindelement.h:
23553 * gst/gstpipeline.c: (pipeline_bus_handler):
23554 Added typefind helper.
23555 Small preroll fix in the base sink.
23556 Disable typefind code in basesrc.
23557 Crude port of typefindelement.
23561 2005-04-11 Wim Taymans <wim@fluendo.com>
23563 * check/gst/gstbus.c: (gstbus_suite):
23564 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23565 * check/gstcheck.h:
23566 Fix up the timeout so that the test does not fail.
23568 2005-04-06 Wim Taymans <wim@fluendo.com>
23571 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23572 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23573 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23574 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23575 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23576 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23577 (gst_basesrc_stop), (gst_basesrc_activate),
23578 (gst_basesrc_change_state), (basesrc_find_peek),
23579 (basesrc_find_suggest), (gst_basesrc_type_find):
23580 * gst/base/gstbasesrc.h:
23581 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23582 (gst_filesrc_class_init), (gst_filesrc_init),
23583 (gst_filesrc_finalize), (gst_filesrc_set_location),
23584 (gst_filesrc_set_property), (gst_filesrc_get_property),
23585 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23586 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23587 (gst_filesrc_create_read), (gst_filesrc_create),
23588 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23589 * gst/elements/gstfilesrc.h:
23590 * gst/gstelement.c: (gst_element_get_state_func),
23591 (gst_element_lost_state), (gst_element_pads_activate):
23592 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23593 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23594 (gst_pad_pull_range):
23596 More work on the generic source base class, implement seeking,
23598 Make filesrc extend the base source class.
23599 Added gst_pad_set_checkgetrange_function to GstPad.
23601 2005-04-06 Andy Wingo <wingo@pobox.com>
23603 * pkgconfig/gstreamer-base.pc.in:
23604 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23606 * pkgconfig/Makefile.am:
23607 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23609 2005-04-04 Wim Taymans <wim@fluendo.com>
23611 * gst/base/Makefile.am:
23613 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23614 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23615 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23616 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23617 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23618 (gst_basesrc_base_init), (gst_basesrc_class_init),
23619 (gst_basesrc_init), (gst_basesrc_get_formats),
23620 (gst_basesrc_get_query_types), (gst_basesrc_query),
23621 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23622 (gst_basesrc_set_property), (gst_basesrc_get_property),
23623 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23624 (gst_basesrc_loop), (gst_basesrc_activate),
23625 (gst_basesrc_change_state):
23626 * gst/base/gstbasesrc.h:
23627 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23628 (gst_fakesrc_class_init), (gst_fakesrc_init),
23629 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23630 (gst_fakesrc_get_property), (gst_fakesrc_create):
23631 * gst/elements/gstfakesrc.h:
23632 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23633 (gst_filesrc_open_file), (gst_filesrc_loop),
23634 (gst_filesrc_activate), (filesrc_find_peek),
23635 (gst_filesrc_type_find):
23636 Made base source class, make fakesrc extend it.
23637 Add comments to basesink class.
23638 Some filesrc cleanup.
23640 2005-03-31 David Schleef <ds@schleef.org>
23642 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23643 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23644 expected to link against libgstreamer.
23645 * gst/base/Makefile.am: link against libgstreamer
23646 * gst/elements/Makefile.am: same
23648 2005-03-31 Andy Wingo <wingo@pobox.com>
23650 * tests/instantiate/Makefile.am:
23651 * tests/instantiate/caps.c: Add test to test speed of caps copy
23654 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23655 GMemChunk to be fair.
23657 * gst/gsttrashstack.h: Remove warning about using the fallback
23658 trash stack implementation, it's still faster than malloc.
23660 2005-03-30 Andy Wingo <wingo@pobox.com>
23662 * tests/complexity.c: Add a copyright.
23664 2005-03-31 Wim Taymans <wim@fluendo.com>
23666 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23667 (gst_base_transform_class_init), (gst_base_transform_init),
23668 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23669 (gst_base_transform_get_property),
23670 (gst_base_transform_sink_activate),
23671 (gst_base_transform_src_activate),
23672 (gst_base_transform_change_state):
23673 * gst/base/gstbasetransform.h:
23674 * gst/elements/gstidentity.c: (gst_identity_class_init),
23675 (gst_identity_event), (gst_identity_check_perfect),
23676 (gst_identity_transform), (gst_identity_start),
23677 (gst_identity_stop):
23678 Added start/stop methods to transform base class so subclasses
23679 don't need to deal with state changes even.
23681 2005-03-31 Wim Taymans <wim@fluendo.com>
23683 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23684 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23686 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23687 (gst_pad_pull_range):
23688 Added rate to the discont event to prepare for variable speed
23689 and reverse playback.
23691 2005-03-29 David Schleef <ds@schleef.org>
23694 * testsuite/trigger/Makefile.am:
23695 * testsuite/trigger/trigger.c: A little example program to show
23696 how trigger-based elements can work.
23698 2005-03-29 Wim Taymans <wim@fluendo.com>
23700 * gst/base/Makefile.am:
23702 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23703 (gst_basesink_base_init), (gst_basesink_class_init),
23704 (gst_basesink_pad_getcaps), (gst_basesink_init),
23705 (gst_basesink_activate), (gst_basesink_change_state):
23706 * gst/base/gstbasesink.h:
23707 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23708 (gst_base_transform_base_init), (gst_base_transform_finalize),
23709 (gst_base_transform_class_init), (gst_base_transform_init),
23710 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23711 (gst_base_transform_event), (gst_base_transform_getrange),
23712 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23713 (gst_base_transform_set_property),
23714 (gst_base_transform_get_property),
23715 (gst_base_transform_sink_activate),
23716 (gst_base_transform_src_activate),
23717 (gst_base_transform_change_state):
23718 * gst/base/gstbasetransform.h:
23719 * gst/elements/gstidentity.c: (gst_identity_finalize),
23720 (gst_identity_class_init), (gst_identity_init),
23721 (gst_identity_event), (gst_identity_check_perfect),
23722 (gst_identity_transform), (gst_identity_set_property),
23723 (gst_identity_get_property), (gst_identity_change_state):
23724 * gst/elements/gstidentity.h:
23725 * gst/gstelement.c: (gst_element_get_state_func),
23726 (gst_element_lost_state), (gst_element_pads_activate):
23727 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23728 (gst_pad_check_pull_range), (gst_pad_pull_range):
23730 Simplify pad activation.
23731 Added function to check if pull_range can be performed.
23732 Error out when pulling inactive or flushing pads.
23733 Removed const from refcounted types as it does not make sense.
23734 Simplify pad templates in basesink
23735 Added base class for simple 1-to-1 transforms.
23736 Make identity subclass the base transform.
23738 2005-03-29 Andy Wingo <wingo@pobox.com>
23740 * docs/libs/gstreamer-libs-overrides.txt:
23741 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23742 really don't understand what's going on, but like whatever. I want
23745 * docs/gst/Makefile.am:
23746 * docs/libs/Makefile.am: Dist the overrides files.
23748 * check/Makefile.am (clean-local): Remove .libs directories.
23750 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23751 elements to EXTRA_DIST, so po/ files are happy.
23753 * po/POTFILES.in: Er, remove it here.
23755 * po/POTFILES: Remove gstspider.c.
23757 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23759 * docs/libs/gstreamer-libs-docs.sgml:
23760 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23763 * tests/complexity.c (main): Set the length of the preroll queue
23764 on the sinks to prevent a lockup.
23766 * libs/gst/dataprotocol/Makefile.am:
23767 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23768 the same as the one in check/gst-libs/gdp.c.
23770 * po/, docs/gst/: Commit automatic changes to docs and po files.
23772 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23773 the versioned libgstbase.
23775 * check/Makefile.am: Depend on an unversioned gst-register, seems
23776 to make autoconf happier.
23778 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23780 2005-03-28 Wim Taymans <wim@fluendo.com>
23783 * docs/design/part-gstelement.txt:
23784 * docs/design/part-negotiation.txt:
23785 * docs/design/part-preroll.txt:
23786 * docs/design/part-scheduling.txt:
23787 * docs/design/part-states.txt:
23789 * gst/base/Makefile.am:
23791 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23792 (gst_basesink_base_init), (gst_basesink_class_init),
23793 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23794 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23795 (gst_basesink_set_pad_functions),
23796 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23797 (gst_basesink_set_property), (gst_basesink_get_property),
23798 (gst_base_sink_get_template), (gst_base_sink_get_caps),
23799 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23800 (gst_basesink_preroll_queue_push),
23801 (gst_basesink_preroll_queue_empty),
23802 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23803 (gst_basesink_event), (gst_basesink_get_times),
23804 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23805 (gst_basesink_chain_unlocked), (gst_basesink_chain),
23806 (gst_basesink_loop), (gst_basesink_activate),
23807 (gst_basesink_change_state):
23808 * gst/base/gstbasesink.h:
23809 * gst/elements/Makefile.am:
23810 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23811 (gst_fakesink_class_init), (gst_fakesink_init),
23812 (gst_fakesink_set_property), (gst_fakesink_get_property),
23813 (gst_fakesink_get_times), (gst_fakesink_event),
23814 (gst_fakesink_preroll), (gst_fakesink_render),
23815 (gst_fakesink_change_state):
23816 * gst/elements/gstfakesink.h:
23817 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23818 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23819 * gst/gstelement.c: (gst_element_add_pad),
23820 (gst_element_get_state_func), (gst_element_abort_state),
23821 (gst_element_commit_state), (gst_element_lost_state),
23822 (gst_element_set_state), (gst_element_pads_activate):
23823 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23824 * gst/gstpipeline.c: (gst_pipeline_send_event),
23825 (gst_pipeline_change_state):
23826 Added state change code.
23827 Added/updated docs.
23828 Added sink base class, make fakesink extend the base class.
23829 Small cleanups in GstPipeline.
23831 2005-03-26 David Schleef <ds@schleef.org>
23833 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
23834 is broken and should be implemented in a different library.
23835 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23836 * gst/gst.h: remove gstcpu.h
23837 * gst/gstcpu.c: remove
23838 * gst/gstcpu.h: remove
23839 * gst/Makefile.am.future: Remove this file. It's ancient.
23841 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23843 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23844 (gst_bin_send_event):
23845 Add default event/set_manager handlers. The set_manager handler
23846 takes care that the manager is distributed over kids that were
23847 already in the bin before the manager was set. The event handler
23848 is a utility virtual function that sends the event over all sinks,
23849 so that gst_element_send_event (bin, event); has the expected
23851 * gst/gstpad.c: (gst_pad_event_default):
23852 Re-install default event handling for discontinuities, so that
23853 seeking works without requiring hacks in applications or extra
23855 * gst/gstpipeline.c: (gst_pipeline_class_init),
23856 (gst_pipeline_send_event):
23857 Half hack, half utility: set a pipeline to PAUSED for seek events,
23858 since that is the only way we can guarantee a/v sync. Means that
23859 you can do gst_element_seek (pipeline, method, pos); on a pipeline
23860 and it "just works".
23862 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23864 * gst/gstpipeline.c: (gst_pipeline_use_clock):
23865 Lock/unlock mismatch.
23867 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
23869 * docs/faq/gst-uninstalled:
23870 add gst-plugins-base
23871 * docs/gst/Makefile.am:
23872 don't error out until docs are fixed
23873 * docs/gst/gstreamer.types:
23876 2005-03-22 Wim Taymans <wim@fluendo.com>
23878 * check/Makefile.am:
23879 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
23880 * gst/gststructure.c: (gst_structure_set_valist),
23881 (gst_structure_copy_conditional):
23882 Activated more tests.
23883 Added message test.
23884 Added G_TYPE_POINTER to GstStructure.
23887 2005-03-22 Wim Taymans <wim@fluendo.com>
23889 * docs/design/part-TODO.txt:
23890 * docs/design/part-events.txt:
23891 * docs/design/part-gstbin.txt:
23892 * docs/design/part-gstbus.txt:
23893 * docs/design/part-gstpipeline.txt:
23894 * docs/design/part-messages.txt:
23896 * gst/gstmessage.c:
23899 2005-03-21 Wim Taymans <wim@fluendo.com>
23901 * gst/gstbus.c: (gst_bus_post):
23902 Fix copy-and-paste error.
23904 2005-03-21 Wim Taymans <wim@fluendo.com>
23906 * check/Makefile.am:
23908 * gst/elements/Makefile.am:
23909 * gst/elements/gstelements.c:
23910 * gst/elements/gstfakesink.c: (gst_fakesink_init),
23911 (gst_fakesink_event), (gst_fakesink_chain):
23912 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23913 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
23914 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
23915 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
23916 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23917 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
23918 (gst_fakesrc_loop), (gst_fakesrc_activate),
23919 (gst_fakesrc_change_state):
23920 * gst/elements/gstfakesrc.h:
23921 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
23922 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
23923 (gst_filesrc_open_file), (gst_filesrc_loop),
23924 (gst_filesrc_activate), (gst_filesrc_change_state),
23925 (filesrc_find_peek), (filesrc_find_suggest),
23926 (gst_filesrc_type_find):
23927 * gst/elements/gstidentity.c: (gst_identity_finalize),
23928 (gst_identity_class_init), (gst_identity_init),
23929 (gst_identity_proxy_getcaps), (identity_queue_push),
23930 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
23931 (gst_identity_getrange), (gst_identity_chain),
23932 (gst_identity_sink_loop), (gst_identity_src_loop),
23933 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
23934 (gst_identity_set_property), (gst_identity_get_property),
23935 (gst_identity_change_state):
23936 * gst/elements/gstidentity.h:
23937 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
23938 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
23939 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
23940 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
23941 (gst_tee_sink_activate):
23942 * gst/elements/gsttee.h:
23943 * gst/gst.c: (gst_register_core_elements), (init_post):
23945 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
23946 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
23947 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
23948 (gst_bin_change_state):
23950 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
23951 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
23952 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
23953 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
23954 (gst_bus_set_sync_handler), (gst_bus_create_watch),
23955 (bus_watch_callback), (bus_watch_destroy),
23956 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
23957 (poll_timeout), (gst_bus_poll):
23961 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23962 (gst_element_post_message), (gst_element_message_full),
23963 (gst_element_get_state_func), (gst_element_get_state),
23964 (gst_element_abort_state), (gst_element_commit_state),
23965 (gst_element_lost_state), (gst_element_set_state),
23966 (gst_element_pads_activate), (gst_element_change_state),
23967 (gst_element_dispose), (gst_element_set_manager_func),
23968 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
23969 (gst_element_set_manager), (gst_element_get_manager),
23970 (gst_element_set_bus), (gst_element_get_bus),
23971 (gst_element_set_scheduler), (gst_element_get_scheduler):
23972 * gst/gstelement.h:
23973 * gst/gstevent.c: (gst_event_new_segment_seek),
23974 (gst_event_new_flush):
23976 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
23977 (_gst_message_free), (gst_message_get_type), (gst_message_new),
23978 (gst_message_new_eos), (gst_message_new_error),
23979 (gst_message_new_warning), (gst_message_new_tag),
23980 (gst_message_new_state_changed), (gst_message_new_application),
23981 (gst_message_get_structure), (gst_message_parse_tag),
23982 (gst_message_parse_state_changed), (gst_message_parse_error),
23983 (gst_message_parse_warning):
23984 * gst/gstmessage.h:
23985 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
23986 (gst_real_pad_set_property), (gst_pad_set_active),
23987 (gst_pad_is_active), (gst_pad_set_blocked_async),
23988 (gst_pad_set_blocked), (gst_pad_is_blocked),
23989 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
23990 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
23991 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
23992 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
23993 (gst_pad_link_filtered), (gst_pad_relink_filtered),
23994 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
23995 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
23996 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
23997 (gst_pad_set_caps), (gst_pad_configure_sink),
23998 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
23999 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24000 (gst_real_pad_dispose), (gst_real_pad_finalize),
24001 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24002 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24003 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24005 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24006 (pipeline_bus_handler), (gst_pipeline_change_state),
24007 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24008 * gst/gstpipeline.h:
24010 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24011 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24012 (gst_queue_link_src), (gst_queue_bufferalloc),
24013 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24014 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24015 (gst_queue_loop), (gst_queue_handle_src_event),
24016 (gst_queue_handle_src_query), (gst_queue_src_activate),
24017 (gst_queue_change_state):
24019 * gst/gstscheduler.c: (gst_scheduler_init),
24020 (gst_scheduler_dispose), (gst_scheduler_create_task),
24021 (gst_scheduler_factory_create):
24022 * gst/gstscheduler.h:
24023 * gst/gststructure.c: (gst_structure_get_type),
24024 (gst_structure_copy_conditional):
24025 * gst/gststructure.h:
24026 * gst/gsttaginterface.h:
24027 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24028 (gst_task_init), (gst_task_dispose), (gst_task_create),
24029 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24035 * gst/schedulers/Makefile.am:
24036 * gst/schedulers/cothreads_compat.h:
24037 * gst/schedulers/entryscheduler.c:
24038 * gst/schedulers/faircothreads.c:
24039 * gst/schedulers/faircothreads.h:
24040 * gst/schedulers/fairscheduler.c:
24041 * gst/schedulers/gstbasicscheduler.c:
24042 * gst/schedulers/gstoptimalscheduler.c:
24043 * gst/schedulers/gthread-cothreads.h:
24044 * gst/schedulers/threadscheduler.c:
24045 (gst_thread_scheduler_task_get_type),
24046 (gst_thread_scheduler_task_class_init),
24047 (gst_thread_scheduler_task_init),
24048 (gst_thread_scheduler_task_start),
24049 (gst_thread_scheduler_task_stop),
24050 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24051 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24052 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24053 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24055 * libs/gst/Makefile.am:
24056 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24057 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24058 (gst_file_pad_parent_set):
24059 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24060 (gst_dp_event_from_packet):
24061 * tests/complexity.c: (main):
24062 * tests/mass_elements.c: (main):
24063 * testsuite/states/locked.c: (message_received), (main):
24064 * testsuite/states/parent.c: (main):
24065 * tools/gst-inspect.c: (print_element_flag_info),
24066 (print_implementation_info), (print_pad_info):
24067 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24069 * tools/gst-md5sum.c: (event_loop), (main):
24070 * tools/gst-typefind.c: (main):
24071 * tools/gst-xmlinspect.c: (print_element_info):
24073 Added GstBus for mainloop integration.
24074 Added GstMessage for sending notifications on the bus.
24075 Added GstTask as an abstraction for pipeline entry points.
24077 Removed Schedulers.
24078 Simplified GstQueue for multithreaded core.
24079 Made _link threadsafe, removed old capsnego.
24080 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24081 Added pad blocking functions.
24082 Reworked scheduling functions in GstPad to prepare for
24083 scheduling updates soon.
24084 Moved events out of data stream.
24085 Simplified GstEvent types.
24086 Added return values to push/pull.
24087 Removed clocking from GstElement.
24088 Added prototypes for state change function for next merge.
24089 Removed iterate from bins and state change management.
24090 Fixed some elements, disabled others for now.
24091 Fixed -inspect and -launch.
24092 Added check for GstBus.
24094 2005-03-10 Wim Taymans <wim@fluendo.com>
24096 * docs/design/part-MT-refcounting.txt:
24097 * docs/design/part-clocks.txt:
24098 * docs/design/part-gstelement.txt:
24099 * docs/design/part-gstobject.txt:
24100 * docs/design/part-standards.txt:
24101 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24102 (gst_bin_remove_func), (gst_bin_remove):
24106 * testsuite/clock/clock1.c: (main):
24107 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24109 * testsuite/dlopen/loadgst.c: (do_test):
24110 * testsuite/refcounting/bin.c: (add_remove_test1),
24111 (add_remove_test2), (main):
24112 * testsuite/refcounting/element.c: (main):
24113 * testsuite/refcounting/element_pad.c: (main):
24114 * testsuite/refcounting/pad.c: (main):
24115 * tools/gst-launch.c: (sigint_handler_sighandler):
24116 * tools/gst-typefind.c: (main):
24118 Added doc about clock.
24119 removed gst_bin_iterate_recurse_up(), marked methods
24121 Fix more testsuites.
24123 2005-03-09 Wim Taymans <wim@fluendo.com>
24125 * gst/gstpad.c: (gst_pad_get_direction),
24126 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24127 (gst_pad_collect_valist):
24128 * testsuite/bins/interface.c: (main):
24129 * testsuite/caps/audioscale.c: (test_caps):
24130 * testsuite/caps/caps.c: (test1), (test2), (test3):
24131 * testsuite/caps/deserialize.c: (main):
24132 * testsuite/caps/enumcaps.c: (main):
24133 * testsuite/caps/filtercaps.c: (main):
24134 * testsuite/caps/intersect2.c: (main):
24135 * testsuite/caps/random.c: (main):
24136 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24137 * testsuite/caps/sets.c: (check_caps):
24138 * testsuite/caps/simplify.c: (check_caps), (main):
24139 * testsuite/caps/subtract.c: (check_caps):
24140 Fix _pad_get_direction wrt ghostpads.
24141 Fix caps testsuite.
24143 2005-03-09 Wim Taymans <wim@fluendo.com>
24145 * check/Makefile.am:
24146 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24147 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24148 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24150 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24151 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24152 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24153 (bin_element_is_sink), (gst_bin_iterate_sinks),
24154 (gst_bin_iterate_all_by_interface):
24156 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24157 (gst_element_change_state), (gst_element_dispose),
24158 (gst_element_finalize), (gst_element_set_loop_function):
24159 * gst/gstelement.h:
24160 * gst/gstiterator.c: (find_custom_fold_func):
24161 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24162 (gst_pad_collectv), (gst_pad_collect_valist),
24163 (gst_pad_template_new):
24164 * gst/gstpipeline.c: (gst_pipeline_class_init),
24165 (gst_pipeline_dispose), (gst_pipeline_set_property),
24166 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24167 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24168 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24170 * gst/schedulers/entryscheduler.c:
24171 * gst/schedulers/gstbasicscheduler.c:
24172 (gst_basic_scheduler_cothreaded_chain),
24173 (gst_basic_scheduler_chain_add_element):
24174 * testsuite/bins/interface.c: (main):
24176 Added GstSystemClock test.
24177 Implemented clock distribution code in GstBin.
24178 Implemented iterate sinks method for future use.
24179 Rearranged gstelement.h
24180 Fix GstIterator comparison bug.
24181 Moved some code to GstPipeline, mostly clocking related.
24183 2005-03-09 Wim Taymans <wim@fluendo.com>
24186 * gst/gst_private.h:
24187 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24188 (gst_bin_remove_func), (gst_bin_remove),
24189 (gst_bin_get_by_name_recurse_up):
24190 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24191 (gst_clock_id_compare_func), (gst_clock_id_wait),
24192 (gst_clock_id_wait_async), (gst_clock_init),
24193 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24194 * gst/gstelement.h:
24195 * gst/gstinfo.c: (_gst_debug_init):
24197 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24198 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24200 Bump version number, we're now 0.9.0
24201 Add future debugging category.
24202 Fix NULL _unref() in _get_by_name_recurse_up
24203 Rearrange gstpad.h.
24206 2005-03-08 Wim Taymans <wim@fluendo.com>
24208 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24209 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24210 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24211 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24212 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24213 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24214 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24215 * gst/elements/gstidentity.c: (gst_identity_class_init):
24216 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24217 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24218 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24219 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24220 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24222 * gst/gstelement.c: (gst_element_class_init),
24223 (gst_element_base_class_init), (gst_element_init),
24224 (gst_element_get_random_pad), (gst_element_wait_state_change),
24225 (gst_element_change_state), (gst_element_dispose),
24226 (gst_element_finalize), (gst_element_set_loop_function):
24227 * gst/gstelement.h:
24228 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24229 * gst/gstthread.c: (gst_thread_class_init),
24230 (gst_thread_release_children_locks), (gst_thread_change_state):
24231 * gst/schedulers/gstbasicscheduler.c:
24232 (gst_basic_scheduler_loopfunc_wrapper),
24233 (gst_basic_scheduler_chain_wrapper),
24234 (gst_basic_scheduler_src_wrapper),
24235 (gst_basic_scheduler_remove_element):
24236 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24237 Remove threadsafe properties. Fix elements because GObject
24238 complains when installing a property before declaring a
24239 set/get_property handler.
24240 Rearrange gstelement.h file, use STATE macros for state locks.
24241 Free mutexes in the finalize method instead of dispose.
24243 2005-03-08 Wim Taymans <wim@fluendo.com>
24245 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24246 * gst/gstthread.c: (gst_thread_release_children_locks):
24247 Added parentage check.
24248 Fix build og GstThread again.
24250 2005-03-08 Wim Taymans <wim@fluendo.com>
24252 * docs/design/part-MT-refcounting.txt:
24253 * docs/design/part-conventions.txt:
24254 * docs/design/part-gstobject.txt:
24255 * docs/design/part-relations.txt:
24256 * docs/design/part-standards.txt:
24257 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24258 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24259 (gst_bin_get_by_name), (gst_bin_get_by_interface),
24260 (gst_bin_iterate_all_by_interface):
24263 * gst/gstelement.c: (gst_element_class_init),
24264 (gst_element_change_state), (gst_element_set_loop_function):
24265 * gst/gstelement.h:
24266 * gst/gstiterator.c:
24267 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24268 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24269 (gst_object_dispatch_properties_changed), (gst_object_set_name),
24270 (gst_object_set_parent), (gst_object_unparent),
24271 (gst_object_check_uniqueness):
24273 Docs updates, clean up some headers.
24275 2005-03-07 Wim Taymans <wim@fluendo.com>
24277 * check/.cvsignore:
24278 * check/Makefile.am:
24279 * check/gst-libs/.cvsignore:
24280 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24281 * check/gst/.cvsignore:
24282 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24283 (START_TEST), (gstbus_suite), (main):
24284 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24285 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24286 (gst_data_suite), (main):
24287 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24288 (add_fold_func), (gstiterator_suite), (main):
24289 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24290 (thread_name_object), (thread_name_object_default),
24291 (gst_object_name_compare), (gst_object_suite), (main):
24292 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24293 (gst_pad_suite), (main):
24294 * check/gstcheck.c: (gst_check_log_message_func),
24295 (gst_check_log_critical_func), (gst_check_init):
24296 * check/gstcheck.h:
24297 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24298 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24301 2005-03-07 Wim Taymans <wim@fluendo.com>
24303 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24304 (gst_list_iterator_next), (gst_list_iterator_resync),
24305 (gst_list_iterator_free), (gst_iterator_new_list),
24306 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24307 (gst_iterator_free), (gst_iterator_push), (filter_next),
24308 (filter_resync), (filter_uninit), (filter_free),
24309 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24310 (gst_iterator_foreach), (find_custom_fold_func),
24311 (gst_iterator_find_custom):
24312 * gst/gstiterator.h:
24313 Added missing files.
24315 2005-03-07 Wim Taymans <wim@fluendo.com>
24319 * docs/design/part-MT-refcounting.txt:
24320 * docs/design/part-conventions.txt:
24321 * docs/design/part-gstobject.txt:
24322 * docs/design/part-relations.txt:
24323 * examples/mixer/mixer.c: (main):
24324 * examples/thread/thread.c: (eos), (main):
24326 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24327 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24328 (gst_spider_plug_from_srcpad):
24329 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24330 (gst_spider_identity_change_state),
24331 (gst_spider_identity_sink_loop_type_finding):
24332 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24333 * gst/elements/gstidentity.c: (gst_identity_init):
24334 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24335 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24336 * gst/elements/gsttypefindelement.c: (free_entry):
24339 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24340 (gst_bin_set_clock_func), (gst_bin_auto_clock),
24341 (gst_bin_set_index), (gst_bin_set_element_sched),
24342 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24343 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24344 (gst_bin_iterate_elements), (iterate_child_recurse),
24345 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24346 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24347 (compare_interface), (gst_bin_get_by_interface),
24348 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24350 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24351 (gst_buffer_default_free), (gst_buffer_default_copy),
24352 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24353 (gst_buffer_create_sub):
24355 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24356 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24357 (gst_caps_unref), (gst_static_caps_get),
24358 (gst_caps_remove_and_get_structure), (gst_caps_append),
24359 (gst_caps_append_structure), (gst_caps_remove_structure),
24360 (gst_caps_copy_nth), (gst_caps_set_simple),
24361 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24362 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24363 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24364 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24365 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24366 (gst_caps_structure_figure_out_union),
24367 (gst_caps_switch_structures), (gst_caps_do_simplify),
24368 (gst_caps_replace), (gst_caps_from_string),
24369 (gst_caps_copy_conditional):
24371 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24372 (_gst_clock_id_free), (gst_clock_id_unref),
24373 (gst_clock_id_compare_func), (gst_clock_id_wait),
24374 (gst_clock_id_wait_async), (gst_clock_class_init),
24375 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24376 (gst_clock_get_time), (gst_clock_set_time_adjust),
24377 (gst_clock_set_property), (gst_clock_get_property):
24380 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24381 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24383 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24384 (gst_element_requires_clock), (gst_element_provides_clock),
24385 (gst_element_set_clock), (gst_element_clock_wait),
24386 (gst_element_wait), (gst_element_set_time_delay),
24387 (gst_element_is_indexable), (gst_element_add_pad),
24388 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24389 (pad_compare_name), (gst_element_get_static_pad),
24390 (gst_element_request_pad), (gst_element_get_request_pad),
24391 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24392 (gst_element_class_get_pad_template_list),
24393 (gst_element_class_get_pad_template), (gst_element_error_func),
24394 (gst_element_get_random_pad), (gst_element_get_event_masks),
24395 (gst_element_send_event), (gst_element_seek),
24396 (gst_element_get_query_types), (gst_element_query),
24397 (gst_element_get_formats), (gst_element_convert),
24398 (gst_element_is_locked_state), (gst_element_set_locked_state),
24399 (gst_element_sync_state_with_parent), (gst_element_change_state),
24400 (gst_element_finalize), (gst_element_yield),
24401 (gst_element_interrupt), (gst_element_set_scheduler),
24402 (gst_element_get_scheduler), (gst_element_set_loop_function):
24403 * gst/gstelement.h:
24405 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24406 (gst_format_get_by_nick), (gst_format_get_details),
24407 (gst_format_iterate_definitions):
24409 * gst/gstindex.c: (gst_index_gtype_resolver):
24412 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24413 (gst_mem_chunk_free):
24414 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24415 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24416 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24417 (gst_object_dispatch_properties_changed),
24418 (gst_object_set_name_default), (gst_object_set_name),
24419 (gst_object_get_name), (gst_object_set_name_prefix),
24420 (gst_object_get_name_prefix), (gst_object_set_parent),
24421 (gst_object_get_parent), (gst_object_unparent),
24422 (gst_object_check_uniqueness), (gst_object_save_thyself),
24423 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24424 (gst_object_set_property), (gst_object_get_property),
24425 (gst_object_get_path_string):
24427 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24428 (gst_real_pad_init), (gst_real_pad_get_property),
24429 (gst_pad_custom_new), (gst_pad_get_direction),
24430 (gst_pad_set_active), (gst_pad_is_active),
24431 (gst_pad_set_event_function), (gst_pad_is_linked),
24432 (gst_pad_link_free), (gst_pad_link_intersect),
24433 (gst_pad_link_fixate), (gst_pad_set_caps),
24434 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24435 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24436 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24437 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24438 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24439 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24440 (gst_pad_realize), (gst_pad_get_allowed_caps),
24441 (gst_real_pad_dispose), (gst_real_pad_finalize),
24442 (gst_pad_collectv), (gst_pad_collect_valist),
24443 (gst_pad_template_dispose), (gst_pad_template_new),
24444 (gst_pad_get_internal_links):
24446 * gst/gstpipeline.c: (gst_pipeline_dispose),
24447 (gst_pipeline_change_state):
24448 * gst/gstpipeline.h:
24450 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24451 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24452 * gst/gstpluginfeature.h:
24453 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24454 * gst/gstquery.c: (_gst_query_type_initialize),
24455 (gst_query_type_register), (gst_query_type_get_by_nick),
24456 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24458 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24459 * gst/gstscheduler.c: (gst_scheduler_add_element),
24460 (gst_scheduler_factory_create):
24461 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24462 (gst_structure_free), (gst_structure_set_name),
24463 (gst_structure_id_set_value), (gst_structure_set_value),
24464 (gst_structure_set_valist), (gst_structure_remove_field),
24465 (gst_structure_remove_fields),
24466 (gst_structure_remove_fields_valist),
24467 (gst_structure_remove_all_fields), (gst_structure_foreach),
24468 (gst_structure_map_in_place),
24469 (gst_caps_structure_fixate_field_nearest_int),
24470 (gst_caps_structure_fixate_field_nearest_double):
24471 * gst/gststructure.h:
24472 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24473 (gst_system_clock_init), (gst_system_clock_dispose),
24474 (gst_system_clock_async_thread),
24475 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24476 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24477 * gst/gstsystemclock.h:
24478 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24479 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24480 * gst/gsttaginterface.c:
24481 * gst/gstthread.c: (gst_thread_dispose),
24482 (gst_thread_release_children_locks), (gst_thread_change_state),
24483 (gst_thread_main_loop):
24484 * gst/gsttrashstack.h:
24485 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24487 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24488 (gst_element_request_pad), (gst_element_get_pad_from_template),
24489 (gst_element_request_compatible_pad),
24490 (gst_element_get_compatible_pad_filtered),
24491 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24492 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24493 (gst_element_link_many), (gst_element_link),
24494 (gst_element_link_pads), (gst_element_unlink_pads),
24495 (gst_element_unlink_many), (gst_element_unlink),
24496 (gst_pad_can_link_filtered), (gst_pad_can_link),
24497 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24498 (gst_object_default_error), (gst_bin_add_many),
24499 (gst_bin_remove_many), (gst_element_populate_std_props),
24500 (gst_element_class_install_std_props), (gst_buffer_merge),
24501 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24502 (link_fold_func), (gst_pad_proxy_setcaps):
24504 * gst/gstvalue.c: (gst_value_deserialize_string):
24505 * gst/parse/grammar.y:
24506 * gst/schedulers/gstbasicscheduler.c:
24507 (gst_basic_scheduler_cothreaded_chain),
24508 (gst_basic_scheduler_chain_recursive_add),
24509 (gst_basic_scheduler_pad_link):
24510 * gst/schedulers/gstoptimalscheduler.c:
24511 (get_group_schedule_function),
24512 (gst_opt_scheduler_state_transition),
24513 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24514 * libs/gst/bytestream/bytestream.c:
24515 * libs/gst/dataprotocol/dataprotocol.c:
24516 (gst_dp_header_from_buffer):
24519 * tests/threadstate/threadstate2.c: (eos):
24520 * tools/gst-compprep.c: (main):
24521 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24522 (print_pad_info), (print_children_info):
24523 * tools/gst-launch.c: (idle_func), (main):
24524 * tools/gst-md5sum.c: (idle_func), (main):
24525 * tools/gst-xmlinspect.c: (print_element_info):
24526 First THREADED backport attempt, focusing on adding locks and
24527 making sure the API is threadsafe. Needs more work. More docs
24530 2005-02-24 Andy Wingo <wingo@pobox.com>
24532 * tests/bench-complexity.scm:
24533 * tests/complexity.gnuplot: New files, good for running complexity
24536 * tests/Makefile.am:
24537 * tests/complexity.c: New test, sets up N elements, at each level
24538 teeing into M streams per element. Eeeenteresting.
24540 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24541 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24542 running bench-mass_elements.scm.
24544 * tests/bench-mass_elements.scm: New script, runs mass_elements
24545 for various numbers of identities, outputting the results to a
24546 file. Requires guile 1.6. Just for testing.
24548 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24550 * gst/schedulers/fairscheduler.c:
24551 compile with debug disabled
24553 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24556 hunting season on 0.9 is now OPEN