1 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3 Patch by: Steve Fink <sphink gmail com>
5 * docs/pwg/building-testapp.xml:
6 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7 if people try to build or install the example from the plugin
8 template against a GStreamer from package using the configure
11 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
13 Patch by: Steve Fink <sphink gmail com>
15 * tools/gst-inspect.1.in:
16 Document --print-all and --print-plugin-auto-install-info command
17 line options in man page.
19 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
21 * docs/gst/gstreamer-sections.txt:
22 Add docs for new api function.
24 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
26 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
27 * gst/gstelementfactory.h:
28 API: gst_element_factory_has_interface()
29 Added method to check if an element factory implements a named
32 2007-07-25 Stefan Kost <ensonic@users.sf.net>
35 * docs/gst/gstreamer.types.in:
36 Another conditional doc check.
39 * gst/gstparamspecs.h:
40 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
45 2007-07-24 Stefan Kost <ensonic@users.sf.net>
47 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
48 (gst_registry_binary_load_feature),
49 (gst_registry_binary_load_plugin),
50 (gst_registry_binary_read_cache):
51 Print error just once and with additional info.
53 2007-07-24 Stefan Kost <ensonic@users.sf.net>
55 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
56 (helper_find_suggest), (helper_find_get_length),
57 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
58 (gst_type_find_helper_for_buffer):
59 Cleanup the typefindhelper code and add private doc comments.
61 2007-07-24 Edward Hervey <bilboed@bilboed.com>
63 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
64 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
65 Fix capsfilter for cases where the caps set on capsfilter will provide
66 additional information.
69 2007-07-24 Stefan Kost <ensonic@users.sf.net>
71 * gst/gsttypefindfactory.c:
72 Fix docs that recommened wrong function to use.
74 2007-07-23 Stefan Kost <ensonic@users.sf.net>
76 * tools/gst-inspect.c: (print_plugin_features):
77 Also give media-type for typefinders in element output.
79 2007-07-23 Stefan Kost <ensonic@users.sf.net>
81 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
82 (gst_registry_remove_features_for_plugin_unlocked),
83 (gst_registry_add_feature), (gst_registry_remove_feature),
84 (gst_registry_lookup_feature_locked):
86 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
89 2007-07-23 Stefan Kost <ensonic@users.sf.net>
91 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
92 (gst_plugin_feature_set_name):
93 Avoid double memory usage for pluginfeature names. Fixes #459466.
95 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
98 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
99 driving the pipeline may need to explicitly check for NOT_LINKED as
100 well, since IS_FATAL doesn't cover that.
102 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
104 * docs/pwg/advanced-types.xml:
105 Fix typo and duplicate entry in video formats list.
107 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
109 * libs/gst/controller/gstinterpolation.c:
110 Also round to the nearest int when using cubic interpolation.
112 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
114 * libs/gst/controller/gstinterpolation.c:
115 When linearly interpolating integer types, round to the nearest int
116 by adding 0.5. Don't do it for float/double types.
117 Fixes the failing controller test on my machine, which is somehow
118 rounding differently than on the buildbots.
120 2007-07-20 Stefan Kost <ensonic@users.sf.net>
122 * tools/gst-plot-timeline.py:
123 Better log parsing (categories can have -). Adjust text vs. lines, so
124 that they span the same y-range.
126 2007-07-20 Stefan Kost <ensonic@users.sf.net>
128 * docs/random/ensonic/audiobaseclasses.txt:
129 * docs/random/ensonic/dynlink.txt:
130 * docs/random/ensonic/profiling.txt:
133 * docs/random/moving-plugins:
134 Add note to use g_assert type macros.
136 2007-07-20 Stefan Kost <ensonic@users.sf.net>
139 * libs/gst/check/Makefile.am:
140 Add libm check as we use in for plugins.
142 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
144 * gst/gstbin.c: (gst_bin_continue_func):
145 Check that the state_cookie hasn't changed since the continue_func
146 was scheduled. Avoids problems where the state changes back to
147 something it shouldn't be because it was changed in the meantime.
149 2007-07-17 Stefan Kost <ensonic@users.sf.net>
151 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
152 (gst_registry_binary_save_string),
153 (gst_registry_binary_save_pad_template),
154 (gst_registry_binary_save_feature),
155 (gst_registry_binary_save_plugin),
156 (gst_registry_binary_load_feature),
157 (gst_registry_binary_load_plugin),
158 (gst_registry_binary_read_cache):
159 Fix memory leak. Be less verbose in the log.
161 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
163 * tests/check/elements/.cvsignore:
164 Add file to cvsignore as commanded.
166 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
168 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
169 (mq_dummypad_event), (run_output_order_test):
170 Use a GStaticMutex to protect all cases where libcheck
171 fail_if/fail_unless macros might be called from multiple threads
172 simultaneously to avoid errors like:
173 "check_pack.c:107: :-1081725400:Bad message type arg"
175 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
177 * tests/check/pipelines/stress.c: (GST_START_TEST):
178 Make sure we set the pipeline back to the NULL state before
179 dropping our final reference.
181 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
183 * tests/check/elements/tee.c: (GST_START_TEST):
184 Make the tee stress-test a little less stressful so it doesn't just
185 time out on slow-machines, and remove a small race when it's starting
186 up by adding a get_state() call.
188 2007-07-16 Stefan Kost <ensonic@users.sf.net>
191 Avoid reading registry twice on startup. Fixes #457322.
193 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
195 * pkgconfig/gstreamer-check-uninstalled.pc.in:
196 * pkgconfig/gstreamer-check.pc.in:
197 Substitute the CFLAGS for libcheck into our .pc file too so that
198 dependent modules will pick it up properly if libcheck is installed
199 into some other prefix.
201 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
204 Revert the pkg-config check for libcheck, since it pulls in the
205 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
206 a proper solution, either from the check project, or something else.
208 2007-07-12 Stefan Kost <ensonic@users.sf.net>
211 Use pkg-config to locate check.
213 2007-07-10 Stefan Kost <ensonic@users.sf.net>
220 Add deprecation guards.
222 * libs/gst/base/gstcollectpads.h:
223 Don't document object (this is implicitly private).
225 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
227 * gst/gststructure.c: (gst_structure_parse_value):
228 When deserialising foo=bar without a type cast, check if it's a
229 boolean before falling back to a string type, otherwise things like
230 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
231 because the filtercaps end up having a signed=(string)true field,
232 which causes problems later when intersection caps.
234 * tests/check/gst/gststructure.c: (GST_START_TEST):
235 Add a unit test for this.
237 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
239 Reviewed by: Stefan Kost <ensonic@users.sf.net>
241 * libs/gst/controller/Makefile.am:
242 * libs/gst/controller/gstcontroller.c:
243 (gst_controlled_property_add_interpolation_control_source),
244 (gst_controlled_property_new), (gst_controlled_property_free),
245 (gst_controller_find_controlled_property),
246 (gst_controller_new_valist), (gst_controller_new_list),
247 (gst_controller_new), (gst_controller_remove_properties_valist),
248 (gst_controller_remove_properties_list),
249 (gst_controller_remove_properties),
250 (gst_controller_set_property_disabled),
251 (gst_controller_set_disabled), (gst_controller_set_control_source),
252 (gst_controller_get_control_source), (gst_controller_get),
253 (gst_controller_sync_values), (gst_controller_get_value_array),
254 (_gst_controller_dispose), (gst_controller_get_type),
255 (gst_controlled_property_set_interpolation_mode),
256 (gst_controller_set), (gst_controller_set_from_list),
257 (gst_controller_unset), (gst_controller_unset_all),
258 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
259 * libs/gst/controller/gstcontroller.h:
260 * libs/gst/controller/gstcontrollerprivate.h:
261 * libs/gst/controller/gstcontrolsource.c:
262 (gst_control_source_class_init), (gst_control_source_init),
263 (gst_control_source_get_value),
264 (gst_control_source_get_value_array), (gst_control_source_bind):
265 * libs/gst/controller/gstcontrolsource.h:
266 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
267 (gst_object_get_control_source):
268 * libs/gst/controller/gstinterpolation.c:
269 (gst_interpolation_control_source_find_control_point_node),
270 (gst_interpolation_control_source_get_first_value),
271 (_interpolate_none_get), (interpolate_none_get),
272 (interpolate_none_get_boolean_value_array),
273 (interpolate_none_get_enum_value_array),
274 (interpolate_none_get_string_value_array),
275 (_interpolate_trigger_get), (interpolate_trigger_get),
276 (interpolate_trigger_get_boolean_value_array),
277 (interpolate_trigger_get_enum_value_array),
278 (interpolate_trigger_get_string_value_array):
279 * libs/gst/controller/gstinterpolationcontrolsource.c:
280 (gst_control_point_free), (gst_interpolation_control_source_reset),
281 (gst_interpolation_control_source_new),
282 (gst_interpolation_control_source_set_interpolation_mode),
283 (gst_interpolation_control_source_bind),
284 (gst_control_point_compare), (gst_control_point_find),
285 (gst_interpolation_control_source_set_internal),
286 (gst_interpolation_control_source_set),
287 (gst_interpolation_control_source_set_from_list),
288 (gst_interpolation_control_source_unset),
289 (gst_interpolation_control_source_unset_all),
290 (gst_interpolation_control_source_get_all),
291 (gst_interpolation_control_source_get_count),
292 (gst_interpolation_control_source_init),
293 (gst_interpolation_control_source_finalize),
294 (gst_interpolation_control_source_dispose),
295 (gst_interpolation_control_source_class_init):
296 * libs/gst/controller/gstinterpolationcontrolsource.h:
297 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
298 API: Refactor GstController into the core controller which can take
299 a GstControlSource for providing actual values for timestamps.
300 Implement a interpolation control source and use this for backward
301 compatibility, deprecate a bunch of functions that are now handled
302 by GstControlSource or GstInterpolationControlSource.
303 Make it possible to disable the controller completely or only for
304 specific properties. Fixes #450711.
305 * docs/libs/gstreamer-libs-docs.sgml:
306 * docs/libs/gstreamer-libs-sections.txt:
307 * docs/libs/gstreamer-libs.types:
308 Add new functions and classes to the docs.
309 * tests/check/libs/controller.c: (GST_START_TEST),
310 (gst_controller_suite):
311 * tests/examples/controller/audio-example.c: (main):
312 Port unit test and example to the new API and add some new
315 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
317 Patch by: Mark Nauwelaerts <manauw at skynet be>
319 * plugins/elements/gstmultiqueue.c:
320 (gst_multi_queue_get_internal_links), (apply_buffer),
321 (single_queue_overrun_cb), (gst_single_queue_new):
322 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
323 the pipeline layout can be tracked correctly. Fixes #453732.
325 2007-07-05 Stefan Kost <ensonic@users.sf.net>
327 * docs/gst/Makefile.am:
328 * docs/libs/Makefile.am:
329 * docs/plugins/Makefile.am:
330 Simplify --extra-dir as gtkdoc scans recursively.
332 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
334 * tools/gst-launch.c: (main):
335 When we got an error, there is no point in waiting for preroll when
338 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
340 * plugins/elements/gsttee.c: (gst_tee_base_init),
341 (gst_tee_request_new_pad), (gst_tee_release_pad),
342 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
343 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
345 Be a lot smarter when deciding what srcpad to use for proxying
346 the buffer_alloc. Also handle pad added/removed when doing so.
348 Keep track of what pads we already pushed on in case we have pads
349 added/removed while pushing. Fixes #374639
351 * tests/check/Makefile.am:
352 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
354 Added unit test for pad resync.
356 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
360 Updated translations.
362 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
364 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
368 Added new Finnish translation.
370 2007-06-28 Wim Taymans <wim@fluendo.com>
372 * plugins/elements/gstmultiqueue.c: (apply_buffer),
373 (single_queue_overrun_cb):
374 When figuring out when a queue is filled, use our internal time estimate
375 based on segments, just like check_full does.
377 2007-06-27 Stefan Kost <ensonic@users.sf.net>
379 * gst/gstminiobject.c: (gst_mini_object_get_type):
380 Remove 3 do-nothing methods.
382 2007-06-27 Wim Taymans <wim@fluendo.com>
384 Patch by: Tim Angus <tim at ngus dot net>
386 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
387 (gst_capsfilter_set_property):
388 Take a reference instead of a copy when setting "caps".
389 Fix documentation to clarify this behaviour. Fixes #449414.
391 2007-06-27 Stefan Kost <ensonic@users.sf.net>
393 * gst/gstindexfactory.c: (gst_index_factory_get_type):
394 * gst/gstplugin.c: (gst_plugin_init):
395 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
396 * gst/gstquery.c: (gst_query_get_type):
397 * gst/gstregistry.c: (gst_registry_init):
398 * gst/gsturi.c: (gst_uri_handler_base_init):
399 Remove empty instance_init() functions to save relocs and lessen the
400 noise. Remove some of the function prototypes that are doubled by
403 2007-06-27 Wim Taymans <wim@fluendo.com>
405 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
407 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
408 Add peer and direction in the XML serialisation of ghostpads.
411 2007-06-26 Stefan Kost <ensonic@users.sf.net>
414 Preserve useful information, thanks Tim.
416 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
418 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
419 (gst_single_queue_flush), (apply_segment), (apply_buffer),
420 (gst_single_queue_push_one), (gst_multi_queue_loop),
421 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
422 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
423 (compute_high_id), (gst_single_queue_new):
424 * plugins/elements/gstmultiqueue.h:
425 Take the multiqueue lock when updating the fill level so we don't get
428 After applying a buffer or event on the src pad segment, make sure to
429 call gst_data_queue_limits_changed() to get the data queue to unblock
430 and check the filled state again.
432 Rework the not-linked pad handling so the logic is that not-linked
433 pads can push as fast as they like, but only so they never get
434 ahead of any linked pads.
436 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
437 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
438 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
440 Add a test to check that not-linked pads always stay behind
445 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
447 * docs/random/release:
448 Some updates to the release procedure.
450 2007-06-26 Stefan Kost <ensonic@users.sf.net>
452 * gst/gstelementfactory.c: (__gst_element_details_clear):
453 Microoptimization that saves stunning 80 bytes.
455 2007-06-25 Stefan Kost <ensonic@users.sf.net>
457 * docs/plugins/gstreamer-plugins.args:
458 * docs/plugins/inspect/plugin-coreelements.xml:
459 * docs/plugins/inspect/plugin-coreindexers.xml:
460 Update docs with caps info.
462 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
465 Updated Italian translation.
467 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
471 Update Vietnamese translations.
473 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
475 * libs/gst/base/gstbasesink.c:
476 Remove unused signal enum.
478 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
480 * docs/gst/gstreamer-sections.txt:
482 * gst/gstutils.c: (gst_type_register_static_full):
483 Beef up and include the docs for gst_type_register_static_full and
484 gst_element_class_set_details_simple and add the API keyword
487 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
489 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
490 (update_time_level), (gst_single_queue_push_one),
491 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
492 (single_queue_overrun_cb), (single_queue_underrun_cb),
493 (single_queue_check_full):
494 Fix setting max-* properties after adding queues.
495 Use IS_FILLED for checking visible items.
496 Signal overrun if multiple queues overrun.
497 Add extra debug output.
498 Patch by: Wim Taymans <wim@fluendo.com>
500 2007-06-21 Stefan Kost <ensonic@users.sf.net>
502 * gst/gstelement.c: (gst_element_class_set_details_simple):
504 * gst/gstutils.c: (gst_type_register_static_full):
506 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
507 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
508 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
509 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
510 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
511 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
512 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
513 * plugins/elements/gstidentity.c: (gst_identity_base_init):
514 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
515 * plugins/elements/gstqueue.c: (gst_queue_base_init),
516 (apply_buffer), (gst_queue_chain):
517 * plugins/elements/gsttee.c: (gst_tee_base_init):
518 * plugins/elements/gsttypefindelement.c:
519 (gst_type_find_element_base_init),
520 (gst_type_find_element_class_init):
521 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
522 API: add gst_type_register_static_full
523 API: add gst_element_class_set_details_simple
525 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
527 * docs/pwg/advanced-types.xml:
528 Fix typo in iana.org URI.
530 2007-06-19 Andy Wingo <wingo@pobox.com>
532 * tests/check/pipelines/simple-launch-lines.c
533 (test_state_change_returns): Enable pull-mode tests now that
534 basesink has been fixed.
536 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
537 Changed from gst_base_sink_is_prerolled, reversing the sense of
538 the return value. Returns FALSE also if the sink is in pull mode,
539 in which case it needs no preroll.
540 (gst_base_sink_query, gst_base_sink_change_state): Update for
541 needs_preroll change.
542 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
543 chaining up, in which we return SUCCESS directly if we activated
544 in pull mode instead of ASYNC. Involves countering an async_start
545 message sent before chaining up; not sure if this is correct, in
546 an ideal world we only send async-start when activating in push
549 * tests/check/pipelines/simple-launch-lines.c
550 (test_state_change_returns): New test, partially disabled until
553 2007-06-19 Wim Taymans <wim@fluendo.com>
555 * plugins/elements/gstmultiqueue.c: (apply_buffer),
556 (gst_multi_queue_sink_event):
559 2007-06-19 Wim Taymans <wim@fluendo.com>
561 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
562 (gst_bin_change_state_func), (bin_push_state_continue),
563 (bin_handle_async_start), (bin_handle_async_done),
564 (gst_bin_handle_message_func):
565 Move the common code for posting state-change messages into
567 Broadcast the state signal after we posted the messages.
568 Mark the bin as busy when it's doing a state-change.
569 Make sure async-start/done messages don't interfere with the bin's
570 state when it's busy.
571 After the state change, let the bin check which elements completed the
572 state change while it was busy so that it can update its state.
574 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
576 * docs/random/release:
577 Add a note about updating the doap file to the release checklist
579 2007-06-18 Wim Taymans <wim@fluendo.com>
581 * plugins/elements/gstmultiqueue.c: (apply_buffer),
582 (gst_single_queue_push_one), (gst_multi_queue_chain),
583 (gst_multi_queue_sink_event):
584 Make sure we don't reference the buffer/event after we have given away
585 ownership in the queue.
587 2007-06-18 Wim Taymans <wim@fluendo.com>
589 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
590 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
591 Update queue state _after_ adding the item in the queue because else we
592 could end up being full without the element added yet.
594 2007-06-18 Wim Taymans <wim@fluendo.com>
596 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
597 (gst_bin_remove_func), (gst_bin_get_state_func),
598 (gst_bin_element_set_state), (gst_bin_continue_func),
599 (bin_push_state_continue), (bin_handle_async_start),
600 (bin_handle_async_done), (gst_bin_handle_message_func):
602 Immediatly commit the toplevel bin state when receiving an async-done
603 message. This enables us to avoid spawning a thread to commit the state
604 in some common cases and it also avoids some races.
605 Avoid spawning a state thread when adding/removing async elements to a
606 toplevel bin. Instead we immediatly update the bin state.
607 Get rid of iterating all the children when getting the state in the bin
608 because it is now always up-to-date.
609 Fix bug where locked elements would always return _SUCCESS even it they
610 returned NO_PREROLL before being locked.
611 Fix the order of the state_change, async-start/done messages that was
613 Mark the state_dirty field as deprecated, we don't need it anymore as we
614 are always up-to-date.
616 * gst/gstelement.c: (gst_element_get_state_func),
617 (gst_element_continue_state):
618 Small debug inprovements.
619 Return the previous element state return when nothing is pending instead
620 of blindly returning SUCCESS.
622 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
624 Add a whole bunch of new testcases.
626 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
632 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
635 Fix typo in the docs.
637 2007-06-15 Wim Taymans <wim@fluendo.com>
639 * docs/libs/gstreamer-libs-sections.txt:
640 Add docs for new methods.
642 2007-06-15 Wim Taymans <wim@fluendo.com>
644 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
645 (gst_multi_queue_item_new):
646 Don't use GSlice because we don't depend on >= 2.10 yet.
648 2007-06-15 Wim Taymans <wim@fluendo.com>
650 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
651 (update_time_level), (apply_segment), (apply_buffer),
652 (gst_single_queue_push_one), (gst_multi_queue_item_new),
653 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
654 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
655 (single_queue_underrun_cb), (single_queue_check_full):
658 2007-06-15 Wim Taymans <wim@fluendo.com>
660 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
661 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
662 (gst_data_queue_set_flushing), (gst_data_queue_push),
663 (gst_data_queue_pop), (gst_data_queue_drop_head),
664 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
665 * libs/gst/base/gstdataqueue.h:
667 Added methods to get the current levels and to inform the queue that the
668 'full' limits changed.
670 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
671 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
672 (gst_single_queue_flush), (update_time_level), (apply_segment),
673 (apply_buffer), (gst_single_queue_push_one),
674 (gst_multi_queue_item_steal_object),
675 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
676 (gst_multi_queue_loop), (gst_multi_queue_chain),
677 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
678 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
679 (gst_multi_queue_src_query), (single_queue_overrun_cb),
680 (single_queue_underrun_cb), (single_queue_check_full),
681 (gst_single_queue_new):
682 Keep track of time in the queue by measuring the difference between
683 running_time on input and output. This gives more accurate results and
684 can compensate for segments correctly.
685 Make a queue by default only 5 buffers deep. We will now increase the
686 buffer size depending on the filledness of the other queues.
687 Factor out commong flush code.
688 Make sure we don't add additional refcounts to buffers when we can avoid
690 Propagate GstFlowReturn differently.
691 Use GSlice for intermediate GstMultiQueueItems.
693 Resize queues on over and underruns based on filled level of other
695 When checking if the queue is filled, prefer to measure in time if we
696 can and fall back to bytes when no time is known.
698 * plugins/elements/gstqueue.c:
701 2007-06-15 Wim Taymans <wim@fluendo.com>
703 * libs/gst/base/gstbasetransform.c:
704 (gst_base_transform_sink_event):
705 Work around the brokenness of the event vmethod in basetransform. Prefer
706 to return TRUE when the subclass returned FALSE (meaning don't forward
709 * libs/gst/base/gstbasetransform.h:
712 2007-06-15 Wim Taymans <wim@fluendo.com>
714 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
715 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
716 (gst_base_src_default_query), (gst_base_src_get_range),
717 (gst_base_src_start):
718 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
721 2007-06-15 Stefan Kost <ensonic@users.sf.net>
723 * docs/pwg/advanced-types.xml:
724 Added more formats to caps table.
726 2007-06-15 Stefan Kost <ensonic@users.sf.net>
728 * tools/gst-launch.c: (main):
729 Remove crufy code. GOption does not need this workaround.
731 2007-06-14 Stefan Kost <ensonic@users.sf.net>
733 * libs/gst/controller/gstcontroller.c:
734 (gst_controlled_property_set_interpolation_mode):
735 Fix wrong getter for enums in controller.
737 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
739 * libs/gst/check/gstcheck.c: (gst_check_init):
740 Intercept criticals and warnings in the Gst-Phonon log domain, so
741 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
744 2007-06-14 Edward Hervey <edward@fluendo.com>
746 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
747 Since this file doesn't include "gst.h" it will not go through the
748 macros that disable GST_LOG if debugging was disabled.
750 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
752 * libs/gst/check/Makefile.am:
753 * libs/gst/check/gstcheck.h:
754 * pkgconfig/gstreamer-check-uninstalled.pc.in:
755 * pkgconfig/gstreamer-check.pc.in:
756 Ugly 'fix' for the controller unit test on the p5 bot: in
757 fail_unless_equals_float() check whether the values are 'almost
758 equal' by allowing a small absolute error, which should be good
759 enough for our use cases (normal numbers and values close to 0).
760 Proper fixage left to floating point arithmetic aficionados.
762 2007-06-14 Stefan Kost <ensonic@users.sf.net>
764 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
765 (gst_base_sink_render_object), (gst_base_sink_get_position):
766 Add two breaks thats where missing.
768 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
770 * docs/libs/gstreamer-libs-sections.txt:
771 * libs/gst/check/gstcheck.h:
772 API: add fail_unless_equals_float() and assert_equals_float().
773 Add documentation for some of the macros.
775 * tests/check/libs/controller.c: (GST_START_TEST):
776 Use newly-added asserts.
778 2007-06-14 Stefan Kost <ensonic@users.sf.net>
780 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
781 Show the caps change in the log to help spotting the case of not
782 exactly matching caps.
784 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
786 * docs/pwg/building-boiler.xml:
787 Fix typos, spotted by Thijs Vermeir (#447190).
789 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
791 * docs/plugins/tmpl/.cvsignore:
792 Ignore file to keep the buildbots happy
794 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
796 * docs/plugins/Makefile.am:
797 * docs/plugins/gstreamer-plugins-docs.sgml:
798 * docs/plugins/gstreamer-plugins-sections.txt:
799 Pull fdsink into the docs too.
801 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
803 * libs/gst/controller/gstinterpolation.c:
804 Actually use the new functions with min/max checks for the trigger and
805 none interpolation modes for get() and get_value_array() instead of
808 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
810 * libs/gst/controller/gstcontroller.c:
811 (gst_controlled_property_free):
812 Unset the minimum and maximum GValues when freeing the corresponding
813 GstControllerProperty struct.
815 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
817 * libs/gst/controller/gstcontroller.c:
818 (gst_controlled_property_new):
819 * libs/gst/controller/gstcontrollerprivate.h:
820 * libs/gst/controller/gstinterpolation.c:
821 (gst_controlled_property_find_control_point_node),
822 (interpolate_none_get), (interpolate_none_get_enum_value_array),
823 (interpolate_none_get_string_value_array),
824 (interpolate_trigger_get),
825 (interpolate_trigger_get_enum_value_array),
826 (interpolate_trigger_get_string_value_array):
827 Protect against values larger or smaller than the minimum or maximum
828 allowed value for the property when using values that can be compared.
830 Optimize trigger interpolator a bit by taking the last requested value
831 into account instead of always looping through the complete list.
833 Fix coding style a bit, everywhere else we use "return foo" instead
836 * tests/check/libs/controller.c: (GST_START_TEST),
837 (gst_controller_suite):
838 Add unit test for the protection against too large or too small
841 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
843 * docs/random/slomo/controller.txt:
844 Add some thoughts about the future of the controller.
846 2007-06-08 Wim Taymans <wim@fluendo.com>
848 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
849 Don't overflow in retimestamping code.
851 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
853 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
854 Use gst_util_guint64_to_gdouble for conversions.
855 * win32/common/libgstreamer.def:
856 Add new exported functions.
858 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
863 2007-06-07 Stefan Kost <ensonic@users.sf.net>
866 Remove that test line again.
868 2007-06-07 Stefan Kost <ensonic@users.sf.net>
871 Test commit mail sending.
873 2007-06-07 Stefan Kost <ensonic@users.sf.net>
876 Fix typo and test commit mail sending.
878 2007-06-07 Stefan Kost <ensonic@users.sf.net>
880 * tests/examples/controller/audio-example.c:
881 Improve comment and test commit mail sending.
883 2007-06-07 Wim Taymans <wim@fluendo.com>
885 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
886 (gst_bin_remove_func), (gst_bin_element_set_state),
887 (bin_handle_async_start), (bin_handle_async_done),
888 (gst_bin_handle_message_func):
889 Add helper function to find messages.
890 Generate the async-done messages together with the state change
892 Small cleanups in handling toplevel bins.
894 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
896 * libs/gst/base/gstdataqueue.c:
897 * libs/gst/base/gstdataqueue.h:
898 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
899 (gst_multi_queue_item_new), (gst_multi_queue_chain),
900 (gst_multi_queue_sink_event):
901 * tests/check/elements/multiqueue.c: (multiqueue_suite):
902 Fix multiqueue leaking buffers and events when downstream or the
903 queue are flushing. Make refcounting assumptions explicit and
904 document them (shouldn't break existing code that uses it other than
905 maybe leak miniobjects, but that already happens anyway). Add unit
906 test for the most common flushing case. Fixes #423700.
908 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
910 * libs/gst/controller/gstcontroller.c:
911 Clarify docs: The get_all, get_value_array(s) functions
912 don't modify the GObject properties.
914 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
916 * libs/gst/controller/gstcontroller.c:
917 (gst_controlled_property_set_interpolation_mode),
918 (gst_controlled_property_prepend_default),
919 (gst_controlled_property_new), (gst_controller_set_unlocked),
920 (gst_controller_set), (gst_controller_set_from_list),
921 (gst_controller_unset), (gst_controller_unset_all):
922 * libs/gst/controller/gstcontrollerprivate.h:
923 * libs/gst/controller/gstinterpolation.c:
924 Factor out the 'set' logic into gst_controller_set_unlocked for the
925 gst_controller_set and gst_controller_set_from_list functions.
927 To make life of the interpolators easier always add a control point
928 at timestamp zero with the default value.
930 In the linear interpolator make things more obvious by better variable
933 Implement cubic interpolation mode (by using a natural cubic spline)
934 and map the quadratic interpolation mode to this too (as quadratic
935 doesn't make much sense, see discussion on the list).
937 * tests/check/libs/controller.c: (GST_START_TEST),
938 (gst_controller_suite):
939 Add unit test for the cubic interpolation mode and check everywhere
940 if the interpolation mode could be set as expected.
942 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
944 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
945 Don't use GLib-2.10 functions, we still depend on
946 GLib-how-old-is-it-again-2.8.
948 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
950 * docs/gst/gstreamer-sections.txt:
954 * gst/gstparamspecs.c: (_gst_param_fraction_init),
955 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
956 (_gst_param_fraction_values_cmp),
957 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
958 * gst/gstparamspecs.h:
960 * tests/check/Makefile.am:
961 * tests/check/gst/.cvsignore:
962 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
963 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
964 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
965 (GST_START_TEST), (gst_param_spec_suite):
966 API: add GstParamSpecFraction, so elements can have fraction
967 properties without lots of painful string parsing (#444648).
969 2007-06-05 Wim Taymans <wim@fluendo.com>
971 * gst/gstobject.c: (gst_object_class_init):
972 Fix signal signature.
975 Add small clarification in the api docs.
977 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
978 States are protected with object lock.
980 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
983 I should probably be listed as an author by now.
985 * docs/random/release:
986 Update the release doc
988 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
991 Make docs for gst_value_compare() mention return enums that
994 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
999 === release 0.10.13 ===
1001 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1004 releasing 0.10.13, "With or without you"
1006 2007-05-25 Wim Taymans <wim@fluendo.com>
1008 * gst/gstbin.c: (bin_handle_async_done):
1009 Make sure that the child bin stops after completing the async state
1010 change so that the parent can continue the state change to PLAYING.
1013 2007-05-25 Wim Taymans <wim@fluendo.com>
1015 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1016 (unref_data), (gst_collect_pads_remove_pad),
1017 (gst_collect_pads_check_pads):
1018 Use additional refcounting to avoid crashes when dynamically adding and
1019 removing pads. Fixes #420206.
1021 2007-05-24 Wim Taymans <wim@fluendo.com>
1023 * tools/gst-launch.c: (event_loop):
1024 When buffering goes from a two digit to a single digit number, make sure
1025 to remove the old second digit by writing a blank over it.
1027 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1029 * libs/gst/base/gstdataqueue.c:
1030 Eliminate tabs and trailing comma in enum list; fix some typos.
1032 2007-05-24 Wim Taymans <wim@fluendo.com>
1034 * tests/check/gst/gstbin.c: (GST_START_TEST):
1035 Allow refcount of 3 and 4 because some state thread might still be busy
1038 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1040 * plugins/elements/Makefile.am:
1041 * plugins/elements/gstmultiqueue.h:
1042 * plugins/elements/gstqueue.h:
1043 These are not installed headers, no need for padding.
1045 2007-05-24 Wim Taymans <wim@fluendo.com>
1047 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1048 (gst_bin_continue_func):
1049 Enable latency for next release.
1050 Restore STATE_LOCK around recalc_state that was left out during the
1051 rewrite and could result in racy behaviour when _get_state and
1052 recalc_state are run concurrently. See #440463.
1054 2007-05-23 Wim Taymans <wim@fluendo.com>
1056 * tests/check/gst/gstsystemclock.c: (store_callback),
1058 Improve test_async_order to also work when both timers are already
1059 expired when we get scheduled to check it.
1061 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1063 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1064 (gst_bin_set_property), (gst_bin_get_property),
1065 (gst_bin_remove_func), (gst_bin_handle_message_func):
1067 'private' is a c++ keyword, let's not use that in header files,
1068 otherwise c++ compilers will throw a tantrum.
1070 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1072 * plugins/elements/gstelements.c:
1073 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1074 (gst_file_sink_get_current_offset):
1075 * plugins/indexers/gstindexers.c: (plugin_init):
1076 Use #ifdef for HAVE_XYZ for consistency.
1078 * tests/check/Makefile.am:
1079 * tests/check/elements/.cvsignore:
1080 * tests/check/elements/filesink.c: (setup_filesink),
1081 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1082 Add some unit tests for filesink.
1084 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1086 Patch by: Mark Nauwelaerts <manauw at skynet be>
1088 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1089 (gst_file_sink_query), (gst_file_sink_do_seek),
1090 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1091 * plugins/elements/gstfilesink.h:
1092 Fix position reporting; rename data_written member to current_pos to
1093 reflect its real meaning (fixes #412648).
1095 2007-05-22 Edward Hervey <edward@fluendo.com>
1097 * docs/gst/gstreamer-sections.txt:
1098 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1099 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1100 (gst_bin_remove_func), (gst_bin_handle_message_func):
1102 Add a property for bins that handle the state change of their childs.
1105 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1107 * libs/gst/controller/gstinterpolation.c:
1108 Use an array of the correct type when using _get_value_array with
1109 linear interpolation.
1111 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1113 * gst/gstelement.c (gst_element_requires_clock,
1114 gst_element_provides_clock, gst_element_request_pad,
1115 gst_element_class_set_details, gst_element_class_set_details_simple,
1116 gst_element_default_send_event, gst_element_abort_state,
1117 gst_element_continue_state, gst_element_set_state,
1118 gst_element_set_state_func, iterator_activate_fold_with_resync):
1119 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1120 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1121 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1122 gst_pad_get_range, gst_pad_pull_range):
1123 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1124 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1125 GstPadActivateModeFunction, GstPadChainFunction,
1126 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1127 GstPadFixateCapsFunction, GstPadTemplate):
1128 * gst/gstpipeline.c (gst_pipeline_change_state,
1129 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1130 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1131 gst_pipeline_get_delay):
1132 Whitespace and docs fixes.
1134 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1136 * libs/gst/controller/gstinterpolation.c:
1137 (interpolate_trigger_get_enum_value_array),
1138 (interpolate_trigger_get_string_value_array):
1139 Add support for retrieving value arrays when using the trigger
1142 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1144 * libs/gst/controller/gstcontroller.c:
1145 (gst_controller_get_value_array):
1146 * libs/gst/controller/gstcontroller.h:
1147 Clarify the docs of gst_controller_get_value_array(): The array where
1148 the values should be written to must be allocated as there seems to be
1149 no way to get the size of a random GType. This doesn't change any
1150 behaviour. Also fix some typos all over the place and remove an unused,
1151 commented function that is not necessary as g_object_set() could be
1153 * tests/check/libs/controller.c: (GST_START_TEST),
1154 (gst_controller_suite):
1155 Add unit test for gst_controller_get_value_array().
1157 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1159 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1161 Disable part of the gst_buffer_try_new_and_alloc test, because
1162 it can happily succeed on 64-bit systems where there's more address
1165 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1167 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1168 Add unit test for the improved caps checking from bug #421543.
1170 2007-05-21 Wim Taymans <wim@fluendo.com>
1172 * docs/design/part-synchronisation.txt:
1175 * gst/gstbin.c: (gst_bin_query):
1176 * plugins/elements/gstqueue.c: (apply_segment):
1182 2007-05-21 Wim Taymans <wim@fluendo.com>
1184 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1185 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1186 (gst_pad_configure_src):
1187 Added simple version of improved caps checking. It was previously
1188 assumed that a setcaps function would check the validity of the caps but
1189 people prefer us to check caps against the template automatically.
1192 2007-05-21 Wim Taymans <wim@fluendo.com>
1194 * libs/gst/base/gstbasetransform.h:
1195 Fix macro for locking/unlocking the transform lock.
1197 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1199 * docs/plugins/tmpl/.cvsignore:
1202 2007-05-18 Edward Hervey <edward@fluendo.com>
1204 * plugins/elements/gstqueue.c: (gst_queue_loop):
1205 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1206 for the subtle art of warning a potentially blocking thread that it
1207 should check the source pad return value, and relay the information
1210 2007-05-18 Edward Hervey <edward@fluendo.com>
1212 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1213 Release the queue lock !
1215 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1217 * docs/libs/gstreamer-libs-sections.txt:
1218 Add the two new controller functions to the appropiate places.
1220 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1222 reviewed by: Stefan Kost <ensonic@users.sf.net>
1224 * libs/gst/controller/gstcontroller.c:
1225 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1226 (_gst_controller_get_property), (_gst_controller_set_property),
1227 (_gst_controller_init), (_gst_controller_class_init):
1228 * libs/gst/controller/gstcontroller.h:
1229 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1230 (gst_object_get_control_rate), (gst_object_set_control_rate):
1231 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1232 Add API that provides sync suggestion timestamps for elements that
1233 call gst_object_sync_values() from which those elements can subdivide
1234 their processing loop to get the best results for the controlled
1235 properties. For now it just suggests last_sync + control_rate as
1236 new timestamp but this will be improved in the future.
1238 While doing that change the control-rate property to a GstClockTime
1239 from guint and change it's meaning from samples to nanoseconds as
1240 the GstController doesn't know anything about sampling rate. Strictly
1241 speaking this breaks ABI but as the control-rate property didn't do
1242 anything in the past and as such couldn't be used this should be no
1245 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1247 reviewed by: Stefan Kost <ensonic@users.sf.net>
1249 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1250 (gst_controller_unset_all):
1251 * libs/gst/controller/gstcontrollerprivate.h:
1252 * libs/gst/controller/gstinterpolation.c:
1253 (gst_controlled_property_find_control_point_node):
1254 Save last synced value from the list to continue searching from there
1255 in future syncs. This speeds everything up a bit.
1257 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1259 reviewed by: Stefan Kost <ensonic@users.sf.net>
1261 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1262 (gst_control_point_find), (gst_controlled_property_new),
1263 (gst_control_point_free), (gst_controlled_property_free),
1264 (gst_controller_set), (gst_controller_set_from_list),
1265 (gst_controller_unset), (gst_controller_unset_all),
1266 (gst_controller_sync_values):
1267 * libs/gst/controller/gstcontroller.h:
1268 * libs/gst/controller/gstcontrollerprivate.h:
1269 * libs/gst/controller/gstinterpolation.c:
1270 (gst_controlled_property_find_control_point_node),
1271 (interpolate_none_get), (interpolate_trigger_get):
1272 Add a new private GstControlPoint struct which "inherits" from
1273 GstTimedValue to allow different interpolators to store internal
1274 values next to each control point. From the outside everything is
1275 still a GstControlPoint so we don't loose binary compatibility.
1276 Also fixup all the GValue handling to not leak GValues or list nodes.
1277 * tests/check/libs/controller.c: (GST_START_TEST):
1278 Free the list nodes and GValues in the controller_misc test.
1280 2007-05-17 Edward Hervey <edward@fluendo.com>
1285 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1287 * gst/gstplugin.c: (gst_plugin_load_file):
1288 If we fail to load a plugin because of unresolved symbols or missing
1289 libraries and spew a warning to stderr, we may just as well mention
1290 which plugin it was that failed to load.
1292 2007-05-13 David Schleef <ds@schleef.org>
1294 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1295 handles the case when ENABLE_GTK_DOC is false, and installs
1296 the prebuilt documentation. So gtk-doc subdirs are
1297 unconditionally enabled. Fixes: #349099.
1299 2007-05-13 David Schleef <ds@schleef.org>
1301 * gst/gstutils.h: Reword some documentation.
1303 2007-05-12 David Schleef <ds@schleef.org>
1305 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1306 do anything with the passed "module" parameter, so remove it.
1307 Allows removal of additional vestigal code.
1309 2007-05-12 David Schleef <ds@schleef.org>
1312 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1313 Switch to using g_stat() because it's more portable.
1315 2007-05-12 David Schleef <ds@schleef.org>
1318 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1319 parsing for embedded systems.
1320 * gst/gstelementfactory.c:
1321 Allow gst_element_register() to be called with plugin==NULL.
1322 Did nobody notice that static elements were broken?
1324 2007-05-12 Wim Taymans <wim@fluendo.com>
1326 * tools/gst-launch.c: (event_loop):
1327 Give more interesting info when buffering starts and stops.
1328 Fix case where buffering starts but we fail to update the buffering flag
1329 because the target state is not PLAYING.
1331 2007-05-12 Wim Taymans <wim@fluendo.com>
1333 * plugins/elements/gstqueue.c: (gst_queue_init),
1334 (gst_queue_finalize), (update_time_level), (apply_segment),
1335 (apply_buffer), (gst_queue_locked_flush),
1336 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1337 (gst_queue_handle_sink_event), (gst_queue_chain),
1338 (gst_queue_push_one), (gst_queue_loop):
1339 * plugins/elements/gstqueue.h:
1340 Refactor an cleanup queue a bit.
1341 Do better time level calculations that also work when the srcpad is not
1343 Remove some unneeded debug lines.
1345 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1346 Added testcase for time level measurement.
1347 Try to make some stuff more racefree.
1349 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1351 * gst/gsturi.c: (gst_element_make_from_uri):
1352 Don't leak plugin feature.
1354 * tests/check/Makefile.am:
1355 * tests/check/gst/.cvsignore:
1356 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1357 Add brain-dead unit test.
1359 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1361 Patch by: Jeroen Wouters <woutersj at gmail com>
1363 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1364 Treat protocol strings in a case-insensitive way (#437563).
1366 2007-05-11 Michael Smith <msmith@fluendo.com>
1368 * gst/gstplugin.c: (gst_plugin_load_file):
1369 * gst/gstregistry.c: (gst_registry_scan_path_level):
1370 Don't print a g_warning for any failure to load a shared object.
1371 Instead, push this down into gstplugin.c, and warn _only_ if we
1372 failed to open the module (i.e. failure to link).
1373 Avoids warnings on normal, working, non-plugin .so files.
1375 2007-05-11 Stefan Kost <ensonic@users.sf.net>
1377 * gst/gstplugin.c (gst_plugin_load_file):
1378 * gst/gstregistry.c (GST_CAT_DEFAULT,
1379 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1380 Print a g_warning if there was an error when loading a plugins during
1381 registry scan. The shuld help beginners starting with gst-plugin
1384 2007-05-10 Wim Taymans <wim@fluendo.com>
1386 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1387 (update_time_level), (gst_queue_locked_flush),
1388 (gst_queue_handle_sink_event), (gst_queue_chain),
1389 (gst_queue_push_one), (gst_queue_loop):
1390 * plugins/elements/gstqueue.h:
1391 Be smarter when calculating the current amount of data in the queue by
1392 measuring the difference between start and end timestamps (in running
1393 time) inside the queue. Fixes #432876.
1394 API: GstQueue::pushing to notify elements that we are pushing data again
1395 since the running signal is rather broken for this purpose.
1397 2007-05-10 Stefan Kost <ensonic@users.sf.net>
1399 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1400 gst_queue_base_init, gst_queue_init):
1403 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
1405 * win32/common/libgstreamer.def:
1406 Add new exported functions.
1407 * win32/vs6/grammar.dsp:
1408 Use grammar pre-generated files.
1410 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1412 Based on patch by: Peter Kjellerstedt <pkj at axis com>
1415 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1417 * gst/gstutils.c: (gst_parse_bin_from_description):
1419 Maintain API and ABI when --disable-parse is used. Now that
1420 we have an appropriate error code, we can just return NULL and the
1421 appropriate error when gst_parse_launch() is used despite it having
1422 been disabled (#342564).
1424 * tests/check/Makefile.am:
1425 * tests/check/pipelines/.cvsignore:
1426 * tests/check/pipelines/parse-disabled.c:
1427 Make sure these functions exist and return NULL plus a GError when
1428 --disable-parse is used.
1430 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1432 * tests/benchmarks/complexity.c: (main):
1433 * tests/benchmarks/mass-elements.c: (main):
1434 Set a good example and don't leak messages.
1436 2007-05-06 Stefan Kost <ensonic@users.sf.net>
1438 * docs/gst/Makefile.am:
1439 * docs/libs/Makefile.am:
1440 Correct fixxrefs options.
1442 * docs/plugins/Makefile.am:
1443 * docs/plugins/gstreamer-plugins-docs.sgml:
1444 * docs/plugins/gstreamer-plugins-sections.txt:
1445 * plugins/elements/Makefile.am:
1446 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1447 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1448 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1449 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1450 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1451 _GstCapsFilterClass, trans_class):
1452 * plugins/elements/gstelements.c (name, rank, type, _elements):
1453 * plugins/elements/gstidentity.c
1454 (gst_identity_check_imperfect_timestamp,
1455 gst_identity_check_imperfect_offset):
1456 Document capsfilter and add doc-blurb to identity.
1458 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
1460 * libs/gst/controller/gstcontroller.c:
1461 (gst_controlled_property_set_interpolation_mode):
1462 * libs/gst/controller/gstinterpolation.c:
1463 Don't crash if someone tries to set an interpolation mode that
1464 is invalid or that isn't supported yet. Fixes #422295.
1466 * tests/check/libs/controller.c: (GST_START_TEST),
1467 (gst_controller_suite):
1468 Add a test case for the above.
1470 2007-05-03 Edward Hervey <edward@fluendo.com>
1472 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1473 Properly set the last_stop position on GstSegment. This will only happen
1474 if there is a buffer to push out.
1476 2007-05-03 Wim Taymans <wim@fluendo.com>
1478 * libs/gst/base/gstbasetransform.c:
1479 (gst_base_transform_buffer_alloc):
1480 always_in_place does not mean that the sink and source caps are the
1481 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1483 2007-05-03 Wim Taymans <wim@fluendo.com>
1485 * docs/libs/gstreamer-libs-sections.txt:
1486 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1487 (gst_base_src_default_query), (gst_base_src_get_range):
1488 * libs/gst/base/gstbasesrc.h:
1489 API: gst_base_src_query_latency(). Added method so that subclasses can
1490 easily get the latency values of the base source class.
1492 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1494 * tools/gst-inspect.c (print_implementation_info):
1497 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1499 * tools/Makefile.am:
1500 * tools/gst-launch.1.in:
1501 Don't create a customised man page based on the host architecture,
1502 describe the default registry path generically. That way the man
1503 page is the same for all architectures and packagers have one
1504 multilib issue less to deal with. Fixes #434926.
1506 2007-05-02 Wim Taymans <wim@fluendo.com>
1509 Fix documentation as spotted by rg on IRC.
1511 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1514 Improve docs for gst_element_{link,unlink}.
1516 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1518 * docs/design/part-events.txt:
1519 * docs/design/part-overview.txt:
1523 * libs/gst/base/gstbasesink.c:
1524 Typo fixes; minor docs addition.
1526 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1528 * docs/gst/gstreamer-sections.txt:
1529 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1530 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1532 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1533 or src that supports a given URI protocol exists.
1535 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1537 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1538 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1539 Set the location to NULL if "file://" is set as URI. Otherwise
1540 some random previous URI would still be set if "file://" is
1541 set on an already used filesink/filesrc.
1543 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1545 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1546 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1547 Special case the "file://" URI as as this is used by some
1548 applications to test with gst_element_make_from_uri if there's
1549 an element that supports the URI protocol.
1550 Also move the g_path_is_absolute() check for the location part
1551 of the URI to also check this for "file://localhost/bla" URIs.
1553 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1555 * docs/gst/gstreamer-sections.txt:
1556 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1558 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1560 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1562 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1564 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1565 (gst_registry_binary_load_pad_template),
1566 (gst_registry_binary_load_plugin),
1567 (gst_registry_binary_read_cache):
1568 * gst/gstregistrybinary.h:
1569 Implement no-mmap alternative for registry reading. Do code cleanups.
1570 Add more comments about avoiding strdups for all text data. Comments
1573 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1575 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1576 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1577 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1578 Comment structs and reformat to fix the build (that stuff should go
1579 into a priv. header).
1581 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1583 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1584 (gst_registry_binary_load_feature):
1585 * gst/gstregistrybinary.h:
1586 Refactor so that we can implement multiple features. Add support for
1587 TypeFindFactory features.
1589 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1591 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1594 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1596 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1598 * gst/gstbin.c: (gst_bin_element_set_state),
1599 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1600 (bin_handle_async_done), (gst_bin_handle_message_func):
1601 Fix build with --gst-disable-gst-debug
1603 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1605 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1606 Make sure streaming has finished before calling the ::stop() vfunc,
1607 since that vfunc might clear state which is being used in the
1608 streaming thread. This fixes a race that caused crashes in
1609 audioresample when shutting down a pipeline (#420106).
1611 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1613 * docs/gst/gstreamer-sections.txt:
1614 That was one byte missing.
1616 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1619 * docs/gst/gstreamer-sections.txt:
1621 * gst/gstconfig.h.in:
1622 * gst/gstobject.c: (gst_object_class_init),
1623 (gst_signal_object_class_init):
1625 2nd attempt to have a xml-less build as a joined effort of #413123
1628 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1630 * docs/design/draft-tagreading.txt:
1631 Added open issues/thoughts to draft.
1633 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1635 * gst/parse/grammar.tab.pre.c:
1636 * gst/parse/grammar.tab.pre.h:
1637 * gst/parse/lex._gst_parse_yy.pre.c:
1638 Update the prebuild parser sources.
1640 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1642 * gst/parse/Makefile.am:
1643 And now fix the building of the flex sources. Now everything should
1646 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1648 * gst/parse/Makefile.am:
1649 Now hopefully fix the build failures by setting proper rule
1650 dependencies and moving instead of copying.
1652 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1654 * tests/benchmarks/complexity.gnuplot:
1655 * tests/benchmarks/complexity.scm:
1656 * tests/benchmarks/mass-elements.gnuplot:
1657 * tests/benchmarks/mass-elements.scm:
1658 Total licensification.
1660 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1662 * gst/parse/Makefile.am:
1663 Fix the build by correcting the rule that gave wrong files to flex.
1665 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1667 * tests/benchmarks/complexity.c:
1668 * tests/benchmarks/mass-elements.c:
1669 Change licence to LGPL as granted by Benjamin and Andy.
1671 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1673 * gst/parse/Makefile.am:
1674 Add correct grammar.tab.h dependency if compiling without new enough
1675 flex. Fixes #431150.
1677 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1679 * gst/parse/Makefile.am:
1680 Fix typo and use outdated sources if the flex/bison sources are newer
1681 than the pregenerated ones but flex is too old. Print a warning in
1682 that case. This should fix the build on the build bot.
1684 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1686 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1687 * gst/parse/Makefile.am:
1688 * gst/parse/grammar.y:
1689 * gst/parse/parse.l:
1690 Make the parser reentrant and recursively callable. This requires flex
1691 >= 2.5.31, for older versions pregenerated sources are used as we
1692 can't bump the build dependency. Finally fixes #349180.
1694 * gst/gstparse.c: (gst_parse_launch):
1695 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1698 * docs/gst/Makefile.am:
1699 * docs/gst/Makefile.am:
1700 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1701 (__gst_parse_strfree), (__gst_parse_link_new),
1702 (__gst_parse_link_free), (__gst_parse_chain_new),
1703 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1704 (gst_parse_element_set), (gst_parse_free_link),
1705 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1706 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1707 (_gst_parse_launch):
1708 * gst/parse/grammar.tab.pre.h:
1709 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1710 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1711 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1712 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1713 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1714 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1715 (_gst_parse_yypop_buffer_state),
1716 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1717 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1718 (yy_fatal_error), (_gst_parse_yyget_extra),
1719 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1720 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1721 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1722 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1723 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1724 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1725 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1726 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1727 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1728 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1729 (_gst_parse_yyfree):
1730 If the installed flex version is too old use pre-generated parser
1731 sources. These pre-generated parser sources are always updated when
1732 the actual flex/bison sources change but require everybody who wants
1733 to change something in the parser to have flex >= 2.5.31 installed.
1735 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1737 * common/m4/gst-gettext.m4:
1738 * gst/gst-i18n-lib.h:
1739 Make --disable-nls to work
1741 2007-04-17 Wim Taymans <wim@fluendo.com>
1743 * gst/gstconfig.h.in:
1744 Revert previous change that broke the build.
1746 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1750 * gst/gstconfig.h.in:
1751 Drop libxml2 dependency when building with
1752 --enable-binary-registry --disable-loadsave
1754 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1756 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1757 (gst_registry_binary_read_cache):
1758 * gst/gstregistrybinary.h:
1759 Remove unnecessary <sys/mman.h> include which broke the win32 build
1760 with MingW; move includes from header file to .c file, even if the
1761 header file isn't installed; use g_strerror() where UTF-8 strings
1762 are expected, such as in GST_DEBUG messages.
1764 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1766 * docs/libs/gstreamer-libs-sections.txt:
1767 Remove bogus addition for API I didn't end up keeping.
1769 * libs/gst/base/gstbasesrc.h:
1770 Mention Since: 0.10.13 in the documentation.
1772 Add the API keyword to the previous ChangeLog entry.
1774 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1776 * docs/libs/gstreamer-libs-sections.txt:
1777 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1778 (gst_base_src_default_prepare_seek_segment),
1779 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1780 * libs/gst/base/gstbasesrc.h:
1781 Allow basesrc derived classes to execute seeks in other formats
1782 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1783 to prepare the GstSegment in any format that their perform_seek method
1784 will be able to understand. The default implementation provides the
1785 old behaviour of attempting to convert the seek offsets to the
1786 configured native format.
1788 API: basesrc::prepare_seek_segment vmethod.
1790 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1792 * gst/gstelement.c: (gst_element_get_state_func):
1793 Don't output the same debug statement twice.
1795 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1796 (gst_adapter_peek), (gst_adapter_take_buffer):
1797 Optimise the case where we have buffers at the head of the queue that
1798 can be joined quickly (because they're contiguous sub-buffers) by
1799 merging them together rather than copying data out into new memory.
1801 * gst/parse/grammar.y:
1802 * tests/check/pipelines/parse-launch.c:
1803 Fix a leak in an error path for parse_launch, and add a check
1804 for it to the testsuite.
1806 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1808 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1809 Don't deadlock when releasing a pad - gst_pad_set_active may try
1810 and take the multiqueue lock too.
1812 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1814 * gst/gsterror.c: (_gst_core_errors_init):
1816 API: add GST_CORE_ERROR_DISABLED (#392804).
1818 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1820 * docs/faq/gst-uninstalled:
1821 don't get empty paths on the PATH variables
1822 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1823 Don't format for the uncommon terminal width of 84 characters.
1825 2007-04-06 Wim Taymans <wim@fluendo.com>
1827 * gst/gstpipeline.c: (reset_stream_time),
1828 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1829 Only try to select a different pipeline clock when we went back to
1830 PAUSED and not when we merely got flushed.
1832 2007-04-05 Michael Smith <msmith@fluendo.com>
1834 * tools/gst-launch.1.in:
1835 fractions are better supported in gstreamer than ractions, so
1836 suggest using those.
1838 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1840 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1844 Added Danish translation.
1846 2007-04-05 Wim Taymans <wim@fluendo.com>
1848 * libs/gst/base/gstbasesink.c:
1849 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1850 Fix leak caused when refusing newsegment after EOS.
1852 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1853 (gst_fake_sink_init), (gst_fake_sink_set_property),
1854 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1855 (gst_fake_sink_render), (gst_fake_sink_change_state):
1856 * plugins/elements/gstfakesink.h:
1857 Add num-buffers property to make the element generate EOS after a
1858 configurable amount of buffers.
1859 API: fakesink::num-buffers property.
1861 * tests/check/elements/fakesink.c: (GST_START_TEST),
1863 Fix GstBus leak in test.
1864 Test for fakesink num-buffers.
1866 2007-04-05 Wim Taymans <wim@fluendo.com>
1868 * libs/gst/base/gstbasesink.c:
1869 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1870 (gst_base_sink_change_state):
1871 Don't accept anything after an EOS, return UNEXPECTED instead.
1873 * tests/check/elements/fakesink.c: (GST_START_TEST),
1875 Unit test for new EOS behaviour.
1877 2007-04-05 Wim Taymans <wim@fluendo.com>
1879 * gst/gstelement.c: (gst_element_get_request_pad):
1880 Make padtemplates also work when they don't contain %s or %d.
1882 2007-04-05 Wim Taymans <wim@fluendo.com>
1884 * docs/gst/gstreamer-sections.txt:
1885 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1886 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1888 Improve _adjust_unlocked() so that it overflows less.
1889 Add gst_clock_unadjust_unlocked to convert from external time to
1890 internal time based on calibration.
1891 Add some more debug.
1892 API: GstClock::gst_clock_unadjust_unlocked()
1894 2007-04-03 Wim Taymans <wim@fluendo.com>
1896 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1898 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1899 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1900 when releasing sink pad. Fixes #425400.
1902 2007-04-02 Stefan Kost <ensonic@users.sf.net>
1904 * docs/random/ensonic/dynlink.txt:
1905 More work on proposal for new core api.
1907 * docs/libs/gstreamer-libs-sections.txt:
1908 * libs/gst/base/gstbasetransform.h:
1909 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1911 * libs/gst/controller/gstcontroller.c:
1912 (on_object_controlled_property_changed),
1913 (gst_controller_sync_values),
1914 (gst_controller_set_interpolation_mode):
1915 * libs/gst/controller/gstcontroller.h:
1916 Less verbose logging add docs for unimplemented parts and correctly
1917 return when using unavailable parts.
1919 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1921 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1922 Move all the debug to the CLOCK category, and associate it with
1925 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1927 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1928 Make take_buffer a bit quicker by removing redundant checks
1929 caused by calling gst_adapter_take.
1931 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1933 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1936 * tests/check/Makefile.am:
1937 * tests/check/elements/.cvsignore:
1938 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1939 (GST_START_TEST), (multiqueue_suite):
1940 Add some dead simple unit tests for the 'multiqueue' element
1941 (some bits don't work yet and are disabled for now).
1943 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1945 * gst/gstelement.c: (gst_element_get_request_pad),
1946 (gst_element_class_get_request_pad_template):
1947 Make gst_element_get_request_pad() create request pads only for
1948 request pad templates and not for, say, sometimes pad templates.
1950 2007-03-28 Stefan Kost <ensonic@users.sf.net>
1952 * docs/design/draft-klass.txt:
1953 Add example that needs more thinking.
1955 * docs/design/draft-missing-plugins.txt:
1956 More thoughts about wrapper plugins.
1958 * docs/random/ensonic/embedded.txt:
1959 * docs/random/ensonic/profiling.txt:
1962 2007-03-25 Wim Taymans <wim@fluendo.com>
1964 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1965 (gst_base_src_loop):
1966 Only push the segment events in the PLAYING state for live sources.
1968 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
1970 * gst/gstpipeline.c: (gst_pipeline_change_state):
1971 Modify the clock distribution path in PAUSED->PLAYING so that we
1972 never attempt to choose a new clock unless we're actually leaving
1973 the PAUSED state for the first time. This prevents choosing a
1974 different clock when the state_change gets called for a 2nd time due
1975 to some element doing an async state change.
1977 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1979 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
1980 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
1981 (gst_pad_chain_unchecked), (gst_pad_push):
1982 Revert last commit. This needs some more thoughts.
1984 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1986 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
1987 (gst_pad_chain_unchecked), (gst_pad_push):
1988 Check in set_caps if the caps are compatible with the pad and remove
1989 two functions that are redundant now. Fixes #421543.
1991 2007-03-22 Wim Taymans <wim@fluendo.com>
1993 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1994 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
1995 Unref some more to make valgrind happy.
1997 2007-03-22 Wim Taymans <wim@fluendo.com>
1999 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2000 (gst_system_clock_id_wait_jitter),
2001 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2002 Fix anoying regression that survived a few releases. When adding an
2003 async entry while blocking on a sync entry, the sync entry will unblock
2004 but still be busy, so it should continue to wait instead of returning
2006 Add some comments here and there.
2008 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2009 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2010 Add testcase for this.
2012 2007-03-22 Wim Taymans <wim@fluendo.com>
2014 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2015 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2016 WRONG_STATE and can silently pause the task. All other cases should
2019 2007-03-22 Wim Taymans <wim@fluendo.com>
2021 Patch by: Ville Syrjala <syrjala at sci dot fi>
2023 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2024 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2027 2007-03-21 Michael Smith <msmith@fluendo.com>
2029 * docs/pwg/advanced-types.xml:
2030 Fix some errors in the typefinding docs pointed out on irc.
2032 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2034 * libs/gst/base/gstbasesrc.c:
2035 Clarify FIXME comment in the face of having added unlock_stop()
2037 2007-03-21 Wim Taymans <wim@fluendo.com>
2039 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2040 Prepare for release where we warn against possible app breakage in the
2041 case of live pipelines along with an env var to enable/disable live
2042 preroll mode (GST_COMPAT=[no-]live-preroll).
2044 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2046 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2047 So we should use correct constants for checking for None offset.
2049 2007-03-20 Wim Taymans <wim@fluendo.com>
2051 * docs/design/part-block.txt:
2052 Mention the fact that the newly switched element should be set to at
2055 2007-03-20 Wim Taymans <wim@fluendo.com>
2058 Fix compilation with registry disabled as spotted by Saur.
2060 2007-03-20 Wim Taymans <wim@fluendo.com>
2062 Patch by: Olivier Crete <tester at tester dot ca>
2064 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2065 Look at the pending state too when syncing the element state to the
2066 parent. Fixes #420133.
2068 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2070 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2071 (gst_base_sink_change_state):
2072 * libs/gst/base/gstbasesink.h:
2073 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2074 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2075 (gst_base_src_deactivate):
2076 * libs/gst/base/gstbasesrc.h:
2077 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2078 for sub-classes to correctly clear any state they set trying to
2079 unlock, such as clearing out unlock commands from a command fd.
2080 API: basesrc::unlock_stop
2081 API: basesink::unlock_stop
2083 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2084 (gst_fd_sink_render), (gst_fd_sink_unlock),
2085 (gst_fd_sink_unlock_stop):
2086 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2087 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2088 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2090 Implement unlock_stop in fdsrc and fdsink.
2091 Implement seeking in fdsrc when a seekable fd is passed, as in
2092 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2094 2007-03-19 Wim Taymans <wim@fluendo.com>
2096 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2098 * gst/gstelement.c: (gst_element_class_init):
2099 Fix pad-added and pad-removed signal signatures so that the pad type is
2100 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2102 2007-03-19 Wim Taymans <wim@fluendo.com>
2104 * docs/gst/gstreamer-sections.txt:
2105 Add new element field and method.
2107 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2108 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2109 (gst_bin_recalc_state), (gst_bin_get_state_func),
2110 (gst_bin_element_set_state), (gst_bin_change_state_func),
2111 (gst_bin_continue_func), (bin_bus_handler),
2112 (bin_push_state_continue), (bin_handle_async_start),
2113 (bin_handle_async_done), (gst_bin_handle_message_func):
2114 Make async state changes a bit smarter by using new ASYNC_START and
2115 ASYNC_DONE messages. This reduces the number of times we run the state
2116 recalculation thread.
2117 Don't change state of element with a pending ASYNC_START message.
2118 Deprecate STATE_DIRTY messages.
2120 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2121 (gst_element_get_state_func), (gst_element_continue_state),
2122 (gst_element_lost_state), (gst_element_set_state_func),
2123 (gst_element_change_state):
2125 Keep the state that was last set by the app in a new element field.
2126 Don't allow state changes when handling an element event.
2127 Post ASYNC_START and ASYNC_DONE messages.
2128 Change lost_state so that we go to PAUSED and wait for the parent to set
2129 us to PLAYING again (so latency calculation can be performed)
2130 Export gst_element_change_state() method so that subclasses can use it.
2131 API: gst_element_change_state()
2132 API: GST_STATE_TARGET
2134 * gst/gstpipeline.c: (gst_pipeline_class_init),
2135 (reset_stream_time), (gst_pipeline_change_state),
2136 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2137 Using the new ASYNC_START message we can reset the base_time when
2138 needed. This can then be used to implement base_time redistribution in
2139 flushing seeks so that we can remove the explicit seek handling.
2140 Perform latency query and configuration when going to PLAYING.
2142 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2143 (gst_base_sink_query), (gst_base_sink_change_state):
2144 Post new ASYNC_START/ASYNC_DONE messages.
2146 * tests/check/generic/sinks.c: (GST_START_TEST):
2147 Fix test because the bin will not set the async element to PLAYING right
2150 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2151 Make the message check a little stronger.
2152 Handle ASYNC messages.
2154 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2155 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2156 Expect ASYNC_DONE messages.
2158 2007-03-19 Wim Taymans <wim@fluendo.com>
2160 * docs/gst/gstreamer-sections.txt:
2161 * gst/gstmessage.c: (gst_message_new_async_start),
2162 (gst_message_new_async_done), (gst_message_parse_info),
2163 (gst_message_parse_async_start):
2165 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2168 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2170 * tools/gst-inspect.c:
2171 (print_plugin_automatic_install_info_codecs):
2172 Now that we don't check for the 'Codec' keyword any longer in the
2173 klass, we shouldn't spew a warning if the klass isn't a decoder or
2174 encoder (since it might be a Source/Network, for example).
2176 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2178 * tools/gst-inspect.c:
2179 (print_plugin_automatic_install_info_codecs):
2180 Don't require decoder/demuxer/depayloader elements or
2181 encoder/muxer/paylader elements to have 'Codec' as part of their
2182 factory class string when introspecting a plugin's capabilities.
2183 draft-klass.txt mentions that it might be removed in future, and
2184 flump3dec doesn't have it as part of its class string, so chances
2185 are others might also not have it.
2187 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2209 Update translations from translation project
2211 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2213 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2214 (gst_child_proxy_set_property):
2215 Invert precondition check to be alike the ones in the mimiced gobject
2218 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2220 * docs/design/draft-tagreading.txt:
2221 * docs/random/ensonic/audiobaseclasses.txt:
2222 Do some Architect work.
2224 * gst/gstobject.c: (gst_object_set_name):
2228 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2230 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2232 * gst/gstsystemclock.c: (gst_system_clock_init),
2233 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2234 Defer starting the async system clock thread until the first async
2235 wait is scheduled. Fixes #414986.
2237 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2239 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2240 (gst_single_queue_free):
2241 Fix small leak (free GstSingleQueue structure too, not only contents).
2243 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2245 * gst/gstbin.c:(gst_bin_add):
2246 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2247 * win32/common/libgstbase.def:
2248 * win32/common/libgstreamer.def:
2249 Add new exported functions.
2251 2007-03-09 Wim Taymans <wim@fluendo.com>
2253 * docs/plugins/gstreamer-plugins-sections.txt:
2256 2007-03-09 Wim Taymans <wim@fluendo.com>
2258 * docs/gst/gstreamer-sections.txt:
2259 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2261 Add metadata copy functions. Fixes #393099.
2262 API: gst_buffer_copy_metadata()
2264 * gst/gstutils.c: (gst_buffer_stamp):
2265 * libs/gst/base/gstbasetransform.c:
2266 (gst_base_transform_prepare_output_buffer):
2267 Use new metadata copy functions.
2269 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2271 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2272 (gst_identity_init), (gst_identity_check_perfect),
2273 (gst_identity_check_imperfect_timestamp),
2274 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2275 (gst_identity_set_property), (gst_identity_get_property):
2276 * plugins/elements/gstidentity.h:
2277 Separate out check-imperfect-timestamp and check-imperfect-offset.
2278 Put back check-perfect as it was to keep compatibility.
2280 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2282 * gst/gstelement.c: (gst_element_dispose):
2283 There's no need to warn if VOID_PENDING is not NONE here, as
2284 long as the state is NULL it's ok, and that's checked immediately
2287 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2289 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2290 Fix check for perfect stream to ignore buffers with -1
2291 offsets/offset ends when checking data contiguity.
2293 2007-03-08 Wim Taymans <wim@fluendo.com>
2295 * tools/gst-launch.c: (event_loop):
2296 Print INFO messages.
2298 2007-03-08 Wim Taymans <wim@fluendo.com>
2300 * libs/gst/base/gstbasetransform.c:
2301 (gst_base_transform_sink_eventfunc),
2302 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2303 (gst_base_transform_activate):
2304 * libs/gst/base/gstbasetransform.h:
2305 Add support for dropping buffers with custom GstFlowReturn.
2306 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2307 buffers or dropped buffers.
2309 * docs/libs/gstreamer-libs-sections.txt:
2310 docs for new custom return code.
2312 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2313 Use drop support in base class to implement drop-probability.
2315 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2317 * gst/gst.c: (load_plugin_func):
2318 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2319 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2320 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2321 Remove newlines at end of debug log strings.
2323 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2325 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2326 Only post bus message at max, once per buffer received.
2328 2007-03-07 Wim Taymans <wim@fluendo.com>
2330 * docs/design/Makefile.am:
2331 * docs/design/part-synchronisation.txt:
2332 Add doc about synchronisation
2334 * docs/design/draft-latency.txt:
2335 * docs/design/part-TODO.txt:
2336 * docs/design/part-clocks.txt:
2337 * docs/design/part-events.txt:
2338 * docs/design/part-gstbus.txt:
2339 * docs/design/part-gstpipeline.txt:
2340 * docs/design/part-live-source.txt:
2341 * docs/design/part-messages.txt:
2342 * docs/design/part-overview.txt:
2343 * docs/design/part-streams.txt:
2344 * docs/design/part-trickmodes.txt:
2345 Documentation updates.
2347 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2350 Update the doap file.
2352 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2354 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2355 Rename non-perfect to imperfect for Mike and for the sanctity of the
2357 Also make sure bus message gets emitted for data-incontiguities.
2359 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2361 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2362 (gst_identity_start):
2363 * plugins/elements/gstidentity.h:
2364 Emit bus message if check-perfect is true and we encounter a
2365 non-perfect stream between 2 consecutive buffers.
2368 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2373 === release 0.10.12 ===
2375 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2378 releasing 0.10.12, "Inevitable Demise"
2380 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
2383 Version 0.10.11.2 (0.10.12 pre-release)
2384 Bump libtool versioning.
2386 2007-03-01 Stefan Kost <ensonic@users.sf.net>
2388 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2389 Log flow-names and not numbers.
2391 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2394 Convert to new AG_GST style.
2396 2007-02-28 Wim Taymans <wim@fluendo.com>
2398 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2399 Don't unref query twice.
2401 2007-02-28 Wim Taymans <wim@fluendo.com>
2403 * gst/gstvalue.c: (gst_value_transform_object_string),
2404 (_gst_value_initialize):
2405 Implement GstObject -> string transform so we print object names
2406 when serializing GValues containing GstObjects.
2408 2007-02-28 Wim Taymans <wim@fluendo.com>
2410 * docs/gst/gstreamer-sections.txt:
2411 Add new stuff to docs.
2413 2007-02-28 Wim Taymans <wim@fluendo.com>
2415 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2416 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2417 (gst_base_sink_change_state):
2418 Improve latency query code.
2419 Don't leak latency events.
2421 * tests/check/gst/gstbin.c: (GST_START_TEST):
2424 2007-02-28 Wim Taymans <wim@fluendo.com>
2426 * gst/gstelement.c: (gst_element_message_full),
2427 (gst_element_get_state_func):
2429 Improve docs a little. Added Since: for new macro.
2431 * gst/gstobject.c: (gst_object_sink):
2432 * gst/gstpipeline.c: (gst_pipeline_change_state),
2433 (gst_pipeline_set_new_stream_time):
2434 * gst/gstpipeline.h:
2435 Improve debugging and docs.
2437 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2440 2007-02-28 Wim Taymans <wim@fluendo.com>
2442 * gst/gstelement.c: (gst_element_message_full),
2443 (gst_element_set_locked_state), (gst_element_get_state_func),
2444 (gst_element_change_state):
2445 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2446 Documentation updates.
2447 Small code cleanups.
2449 * gst/gstmessage.c: (gst_message_new_info),
2450 (gst_message_parse_info):
2452 API: gst_message_new_info()
2453 API: gst_message_parse_info()
2454 Add INFO message create and parse code.
2456 2007-02-28 Wim Taymans <wim@fluendo.com>
2458 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2459 (bin_query_latency_done):
2460 Also report the live parameter of a latency query.
2462 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2464 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2465 Copy the current generic/states example from -base and adapt so
2466 we can use the exact same code everywhere.
2467 Check a STATES_IGNORE_ELEMENTS env var which can be used
2468 to ignore certain element factories for this test, which is
2469 what is being done in -base
2470 * tests/check/Makefile.am:
2471 Mention this environment variable.
2473 2007-02-27 Wim Taymans <wim@fluendo.com>
2475 * docs/gst/gstreamer-sections.txt:
2476 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2477 (gst_bus_timed_pop), (gst_bus_pop):
2479 API: gst_bus_timed_pop()
2480 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2481 message to arrive on the bus.
2483 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2485 Two unit tests for new _timed_pop() function.
2487 2007-02-23 Wim Taymans <wim@fluendo.com>
2489 * gst/gstpipeline.c: (gst_pipeline_change_state),
2490 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2491 Don't ref a NULL clock in _provide_clock_func().
2492 Don't allow an INVALID delay.
2493 Don't try to calculate base_time with an invalid start_time.
2494 Also distribute and notify a NULL clock when it was selected.
2496 * tools/gst-launch.c: (event_loop):
2497 Don't crash when a NULL clock was selected in the pipeline.
2499 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2501 * docs/design/Makefile.am:
2502 * docs/design/draft-missing-plugins.txt:
2503 * docs/random/draft-missing-plugins.txt:
2504 Some small updates: update plugin system identifier prefix
2505 ('gstreamer.net' to 'gstreamer'), mention our new install
2506 API in libgstbaseutils rather than libgimme-codec, add
2507 reference to the online docs.
2509 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2511 * win32/common/config.h:
2512 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2513 use moap cl ci to only check in what is mentioned in the ChangeLog.
2515 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2517 * docs/gst/gstreamer-sections.txt:
2519 Fix up documentation to link to the correct GstGError section.
2520 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2522 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2524 * tools/gst-launch.c: (event_loop):
2525 Make sure that we actually show the important message part of a
2527 No need to check if the gerror is not NULL to free; first of all
2528 g_free accepts NULL; and second the default error handler would
2529 segfault if gerror was NULL.
2531 2007-02-21 Wim Taymans <wim@fluendo.com>
2533 * docs/gst/gstreamer-sections.txt:
2534 Removed docs as well.
2536 2007-02-21 Wim Taymans <wim@fluendo.com>
2538 * gst/gstmessage.c: (gst_message_parse_duration):
2540 Remove new messages for release.
2542 2007-02-20 Wim Taymans <wim@fluendo.com>
2544 * docs/design/part-gstghostpad.txt:
2545 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2546 (gst_ghost_pad_new_full):
2547 Make the ghostpad a parent of the internal pad again for better backward
2548 compatibility. Don't write code that relies on this however.
2550 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2551 (gst_pad_link_check_hierarchy):
2552 Require that parents should be GstElements in the hierarchy check.
2554 2007-02-20 Wim Taymans <wim@fluendo.com>
2556 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2557 (gst_bin_change_state_func), (bin_query_min_max_init),
2558 (bin_query_latency_fold), (bin_query_latency_done),
2561 Implement latency query.
2563 2007-02-20 Wim Taymans <wim@fluendo.com>
2565 * docs/design/part-gstghostpad.txt:
2566 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2567 (gst_ghost_pad_internal_do_activate_push),
2568 (gst_ghost_pad_internal_do_activate_pull),
2569 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2570 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2571 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2572 Do not set the internal pad as a parent anymore so we can avoid
2573 hierarchy linking errors when the ghostpad has no parent yet. This also
2574 fixes failed activation because of unlinked internal pads, which in
2575 turn fixes the impossible case where you have to activate a pad before
2576 you can add it to a running element.
2579 * gst/gstpad.c: (pre_activate), (post_activate),
2580 (gst_pad_set_active), (gst_pad_activate_pull),
2581 (gst_pad_activate_push), (gst_pad_check_pull_range):
2582 Add some more debug info.
2583 Mark activation mode in pre_activate so that we don't try to activate in
2584 endless loops. Fixes #385084.
2586 2007-02-19 Wim Taymans <wim@fluendo.com>
2588 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2589 (gst_base_transform_check_get_range):
2590 Implement a checkgetrange function instead of relying on the default
2591 core behaviour that assumes we can operate in pull mode if we have a
2592 getrange function. First step at fixing #385084.
2594 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2596 * gst/gstchildproxy.h:
2597 * libs/gst/base/gstbasesink.h:
2598 * libs/gst/base/gstbasesrc.h:
2599 * libs/gst/base/gstbasetransform.h:
2600 More docs coverage and some ChangeLog surgery (add missing names)
2602 2007-02-15 Wim Taymans <wim@fluendo.com>
2604 * docs/design/part-TODO.txt:
2605 * docs/design/part-activation.txt:
2606 * docs/design/part-block.txt:
2607 * docs/design/part-buffering.txt:
2608 * docs/design/part-clocks.txt:
2609 * docs/design/part-element-source.txt:
2610 * docs/design/part-events.txt:
2611 * docs/design/part-gstbin.txt:
2612 * docs/design/part-gstbus.txt:
2613 * docs/design/part-gstpipeline.txt:
2614 * docs/design/part-live-source.txt:
2615 * docs/design/part-messages.txt:
2616 * docs/design/part-overview.txt:
2617 * docs/design/part-qos.txt:
2618 * docs/design/part-query.txt:
2619 * docs/design/part-states.txt:
2620 * docs/design/part-trickmodes.txt:
2621 Some doc updates. Start renaming from stream_time to running_time where
2622 it was used wrongly.
2624 2007-02-15 Wim Taymans <wim@fluendo.com>
2626 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2627 Answer LATENCY query.
2629 2007-02-15 Wim Taymans <wim@fluendo.com>
2631 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2635 2007-02-15 Wim Taymans <wim@fluendo.com>
2637 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2638 (gst_pad_dispatcher):
2639 Improve debugging of default pad dispatcher and query functions.
2641 2007-02-15 Wim Taymans <wim@fluendo.com>
2643 * docs/gst/gstreamer-sections.txt:
2644 Remove old unused method.
2646 2007-02-13 Wim Taymans <wim@fluendo.com>
2648 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2651 2007-02-13 Wim Taymans <wim@fluendo.com>
2653 * docs/design/part-seeking.txt:
2656 * gst/gstsegment.c: (gst_segment_set_seek):
2657 Revert old bogus change that should make seeking work again.
2659 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2661 * docs/random/ensonic/dynlink.txt:
2662 * docs/random/ensonic/interfaces.txt:
2663 * docs/random/ensonic/receipies.txt:
2664 Possible dynamic reconnection api, plus some type fixes the other two
2667 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2669 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2670 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2671 Also check for an absolute path following file:// in the filesrc
2672 element. Remove redundant check and call g_path_is_absolute() on the
2675 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2677 * docs/design/draft-klass.txt:
2678 Add existing category analysis.
2681 Fix doc example, framerate is a fraction.
2683 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2686 * docs/gst/Makefile.am:
2687 * docs/gst/gstreamer-sections.txt:
2688 * docs/libs/Makefile.am:
2689 Erm, forgot a bunch of --extra-dir.
2691 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2694 * docs/gst/Makefile.am:
2695 * docs/libs/Makefile.am:
2696 * docs/plugins/Makefile.am:
2697 Add crossreferences to glib/gobject docs.
2699 2007-02-12 Wim Taymans <wim@fluendo.com>
2701 * docs/design/draft-latency.txt:
2704 * docs/libs/gstreamer-libs-sections.txt:
2705 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2706 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2707 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2708 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2709 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2710 (gst_base_sink_get_position), (gst_base_sink_query),
2711 (gst_base_sink_change_state):
2712 * libs/gst/base/gstbasesink.h:
2713 API: gst_base_sink_query_latency() to let subclasses query the upstream
2715 API: gst_base_sink_get_latency() to let subclasses query the configured
2716 latency in the sink.
2717 Implement query and set latency.
2719 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2720 don't continue preroll when we are flushing. Fixes #405284.
2722 * tests/check/pipelines/stress.c: (change_state_timeout),
2723 (quit_timeout), (GST_START_TEST), (stress_suite):
2726 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2728 Patch by: René Stadler <mail at renestadler de>
2730 * docs/gst/gstreamer-sections.txt:
2731 * gst/gsttaglist.c: (_gst_tag_initialize):
2733 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2735 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2737 * docs/libs/Makefile.am:
2738 Fix path to core docs.
2740 * gst/gstbin.c: (gst_bin_get_by_interface),
2741 (gst_bin_iterate_all_by_interface):
2742 Refix docs by also renaming 'interface' to 'iface' in implementation.
2744 * docs/gst/gstreamer-sections.txt:
2746 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2747 * gst/gstchildproxy.h:
2748 * gst/gstelementfactory.c:
2749 * gst/gstpadtemplate.h:
2750 * libs/gst/controller/gstcontroller.c:
2751 (gst_controlled_property_new):
2754 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2756 * gst/gstbin.h:(gst_bin_get_by_interface),
2757 (gst_bin_iterate_all_by_interface):
2758 Replace interface parameter name by iface as interface is
2759 a reserved keyword in Visual Studio for C++ projects so it removes
2760 a build error for application developpers using VS.
2761 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2762 Fix a bug on Windows in uri format check. Now the prefix checked
2763 is file:// and next we check if the path after file:// is absolute.
2764 * win32/common/libgstbase.def:
2765 * win32/common/libgstdataprotocol.def:
2766 * win32/common/libgstgstreamer.def:
2767 Add new exported functions.
2769 2007-02-09 Andy Wingo <wingo@pobox.com>
2771 * tests/check/pipelines/simple-launch-lines.c
2772 (simple_launch_lines_suite, test_tee): Disable tee test until I
2773 have time to fix it :-(
2775 * tests/check/Makefile.am (noinst_HEADERS):
2776 * tests/check/libs/libsabi.c:
2777 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2778 * tests/check/gst/gstabi.c:
2779 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2781 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2782 tests for push and pull tee behavior.
2784 * plugins/elements/gsttee.h:
2785 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2786 mark as deprecated as well as unimplemented. It was a crack idea.
2787 Add support for tee operating in pull mode, off by default.
2789 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2790 normal-case logs down to LOG, raise errors to WARNING.
2791 (gst_registry_xml_read_cache): Don't log before calling a function
2794 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2795 exit (registry finalize).
2796 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2797 DEBUG log when we emit signals that people don't even have the
2798 chance to connect to.
2799 (gst_registry_scan_path_level): Less logging in the normal case.
2801 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2803 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2805 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2806 Correctly generate EOS for non-seekable files. We don't have a total
2807 length for them and would get an unexpected end of file if we only
2808 special-cased for regular files. (Fixes: #404569)
2810 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2812 * tests/check/elements/filesrc.c: (GST_START_TEST),
2814 Add unit test for the GstURIHandler interface in filesrc. This also
2815 tests the newly added file://localhost/foo/bar support.
2817 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2819 * gst/gstelementfactory.h:
2820 The klass string is not a hierarchy. Add reference to the design doc
2821 for more information and common types.
2823 2007-02-02 Wim Taymans <wim@fluendo.com>
2825 * gst/gstquery.c: (gst_query_new_latency):
2826 Remove old structure field.
2828 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2830 * tools/gst-launch.1.in:
2831 Give example for network streaming (#351998)
2833 2007-02-02 Wim Taymans <wim@fluendo.com>
2835 * docs/gst/gstreamer-sections.txt:
2836 Add docs for new methods.
2838 * gst/gstevent.c: (gst_event_new_latency),
2839 (gst_event_parse_latency):
2841 Add new LATENCY event to configure latency in a pipeline.
2842 API: gst_event_new_latency
2843 API: gst_event_parse_latency
2845 * gst/gstmessage.c: (gst_message_new_buffering),
2846 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2847 (gst_message_new_latency), (gst_message_parse_buffering),
2848 (gst_message_parse_lost_preroll):
2850 Added messages used in draft-latency.
2851 API: gst_message_new_lost_preroll
2852 API: gst_message_parse_lost_preroll
2853 API: gst_message_new_prerolled
2854 API: gst_message_new_latency
2856 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2857 (gst_query_parse_latency):
2859 Implemented new latency query as in design doc.
2860 API: gst_query_new_latency
2861 API: gst_query_set_latency
2862 API: gst_query_parse_latency
2864 2007-02-02 Wim Taymans <wim@fluendo.com>
2866 * docs/design/draft-latency.txt:
2867 Slight redesign to allow for dynamic latency adjustments.
2869 * docs/design/part-negotiation.txt:
2872 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2874 reviewed by: Wim Taymans <wim@fluendo.com>
2876 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2877 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2878 Allow file://localhost/foo/bar URLs and correctly fail for every other
2879 hostname that one sets. This was gnomevfssrc is linked for those if
2880 installed as it can handle it (#403172)
2882 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2884 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2886 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2887 (unref_data), (gst_collect_pads_add_pad_full):
2888 * libs/gst/base/gstcollectpads.h:
2889 Don't put the previously added destroy notify in the GstCollectData
2890 struct as all it's padding is already used and we don't want to break
2891 ABI. Instead put in the pad's GObject data for now. This should be
2892 cleaned up for 0.11 (#402393).
2894 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2896 reviewed by: Wim Taymans <wim@fluendo.com>
2898 * docs/libs/gstreamer-libs-sections.txt:
2899 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2900 (unref_data), (gst_collect_pads_add_pad),
2901 (gst_collect_pads_add_pad_full):
2902 * libs/gst/base/gstcollectpads.h:
2903 API: Add function to specify a destroy notification for custom
2904 GstCollectData when adding new pads in GstCollectPads (#402393).
2906 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
2909 Update Swedish translation (#378255).
2911 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2913 * docs/design/draft-klass.txt:
2914 Fix the previous change, this is a list of categories and not a hierarchy.
2916 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2918 * docs/design/draft-klass.txt:
2919 Add info about how to get a list of used classes.
2921 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
2923 * plugins/elements/gsttypefindelement.c:
2924 (gst_type_find_element_chain_do_typefinding),
2925 (gst_type_find_element_change_state):
2926 Don't leak found caps in chain function (no idea why that never
2927 showed up as a leak anywhere).
2929 2007-01-30 Stefan Kost <ensonic@users.sf.net>
2932 Fix and expand GstPluginDesc API docs.
2934 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2937 * gst/gstelementfactory.c:
2938 * gst/gstpadtemplate.h:
2941 * libs/gst/controller/gstcontroller.c:
2942 (gst_controlled_property_new):
2943 * tests/examples/controller/audio-example.c:
2946 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2949 comment about refining the xml deps
2952 comments about moving away from jade for docs
2955 recommit the ifdefs to use the binary registry
2957 * gst/gstbin.c: (gst_bin_change_state_func):
2958 this break is obsolete
2960 * gst/gstelementfactory.h:
2961 better GST_ELEMENT_DETAILS docs, add comment about translation
2966 * gst/gstobject.c: (gst_signal_object_get_type):
2967 add G_UNLIKELY as usual
2969 * gst/gstpad.c: (gst_pad_event_default):
2970 add fall trhu comment
2972 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2973 (gst_registry_binary_initialize_magic),
2974 (gst_registry_binary_save_string),
2975 (gst_registry_binary_save_pad_template),
2976 (gst_registry_binary_save_feature),
2977 (gst_registry_binary_save_plugin),
2978 (gst_registry_binary_write_cache),
2979 (gst_registry_binary_check_magic),
2980 (gst_registry_binary_load_pad_template),
2981 (gst_registry_binary_load_feature),
2982 (gst_registry_binary_load_plugin),
2983 (gst_registry_binary_read_cache):
2984 comment typo and formatting
2986 * gst/gstutils.c: (gst_element_state_get_name),
2987 (gst_element_state_change_return_get_name):
2988 remove obsolete breaks
2990 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2991 add FIXME 0.11 and remove cpp comment
2993 2007-01-29 Edward Hervey <edward@fluendo.com>
2995 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2996 Fix print statement in an even more portable way.
2998 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3000 * docs/gst/gstreamer-sections.txt:
3002 API: add GST_ROUND_DOWN_* macros (#401781).
3004 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3006 * docs/gst/gstreamer.types.in:
3007 * gst/gstregistry.c: (gst_registry_class_init):
3008 Document registry signals and make gtk-doc pick them up (#401381).
3010 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3012 * docs/pwg/building-testapp.xml:
3013 Add some audioconverts and audioresample to the pipeline, and some
3014 more comments and error handling.
3016 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3018 * docs/manual/manual.xml:
3022 2007-01-26 Wim Taymans <wim@fluendo.com>
3024 * gst/gstcaps.c: (gst_static_caps_get):
3025 Init caps flags too.
3027 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3029 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3031 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3032 If not using mmap'ed files try to seek to the end instead of the
3033 start to determine whether we can seek at all. This fixes the case
3034 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3035 seeks for everything afterwards fail. Fixes #400656
3037 2007-01-25 Wim Taymans <wim@fluendo.com>
3039 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3040 Add some refcount debugging.
3041 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3042 in multiple streaming threads.
3044 2007-01-25 Wim Taymans <wim@fluendo.com>
3046 Patch by: David Schleef <ds at schleef dot org>
3048 * docs/libs/gstreamer-libs-sections.txt:
3049 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3050 * libs/gst/base/gstadapter.h:
3051 API: gst_adapter_copy() that can reduce the amount of memcpy when
3052 getting data from the adapter. Fixes #388201.
3054 2007-01-25 Edward Hervey <edward@fluendo.com>
3056 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3057 In print statements, "%x" is for guint. Fixes build on macosx.
3059 2007-01-24 Edward Hervey <edward@fluendo.com>
3061 * plugins/elements/gstmultiqueue.c:
3062 (gst_multi_queue_loop):
3064 (single_queue_overrun_cb), (single_queue_underrun_cb),
3065 (single_queue_check_full), (gst_single_queue_new):
3066 Implement single queue growth system.
3067 This uses the extra-size properties, and will grow single queues by
3068 that much if one goes full whereas there are others empty. This is
3069 called extra-mode in the code.
3070 When a single queue's levels go back below the initial max-size
3071 limits, it is no longer in extra-mode. This is to ensure we don't
3072 consume too much memory.
3075 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3077 * gst/gst.c: (gst_init_get_option_group):
3078 Make warning about late g_thread_init() calls a bit more explicit,
3079 so that it's more obvious to application developers what they need
3080 to do if a user files a bug against their application.
3082 2007-01-22 Edward Hervey <edward@fluendo.com>
3084 * plugins/elements/gstmultiqueue.c:
3085 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3086 Remove previous hack of unsetting the flushing flag for the source pad
3087 instead of activating it. Instead, fix the source pad activate function
3088 so that it no longer depends on having a parent set or not.
3090 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3092 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3094 * docs/manual/basics-bus.xml:
3095 Fix example code, gst_element_unref() doesn't exist any longer.
3097 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3099 Patch by: Mark Nauwelaerts <manauw at skynet be>
3102 Fix two docs typoes (#399094).
3104 2007-01-19 Edward Hervey <edward@fluendo.com>
3106 * docs/faq/gst-uninstalled:
3107 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3108 depending on libgstbaseutils can work in uninstalled environment.
3110 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3113 * gst/gsttagsetter.c:
3114 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3115 statement for new tag.
3117 2007-01-17 Edward Hervey <edward@fluendo.com>
3119 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3120 When dynamically creating single queues, activate sinkpad before adding
3122 We should be doing the same thing for the source pad, but we can't
3123 since it would call a method which needs the parent to be set in order
3124 to work propertly. Instead of activating the source pad, we just unset
3125 the flushing flag, which is the minimal requirement for adding a pad
3126 to an element in a state greater than READY.
3128 2007-01-17 Edward Hervey <edward@fluendo.com>
3130 * docs/faq/gst-uninstalled:
3131 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3134 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3136 * tests/check/gst/gstabi.c:
3137 * tests/check/gst/struct_hppa.h:
3138 * tests/check/libs/libsabi.c:
3139 * tests/check/libs/struct_hppa.h:
3140 Add ABI structs for HPPA (see #393796).
3142 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3144 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3145 Actually write ABI structs to the file specified in the GST_ABI
3146 environment variable, as the message we print claims we would.
3148 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3150 * tests/check/gst/gsttask.c:
3153 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3155 * gst/gsttaglist.c: (_gst_tag_initialize):
3156 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3157 previous two entries.
3159 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3161 * docs/gst/gstreamer-sections.txt:
3162 * gst/gsttaglist.c: (_gst_tag_initialize):
3164 Add tag support for beat-per-minute.
3166 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3168 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3169 (gst_registry_binary_initialize_magic),
3170 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3171 (gst_registry_binary_save_pad_template),
3172 (gst_registry_binary_save_feature),
3173 (gst_registry_binary_save_plugin),
3174 (gst_registry_binary_write_cache),
3175 (gst_registry_binary_check_magic),
3176 (gst_registry_binary_load_pad_template),
3177 (gst_registry_binary_load_feature),
3178 (gst_registry_binary_load_plugin),
3179 (gst_registry_binary_read_cache):
3180 * gst/gstregistrybinary.h:
3181 Use glib types, cleanup comments, impement interfaces and uri-types.
3183 2007-01-13 Andy Wingo <wingo@pobox.com>
3185 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3186 getrange() to return buffers with other caps, while we fix
3187 demuxers and typefind, or otherwise change part-negotiation.txt.
3189 2007-01-12 Andy Wingo <wingo@pobox.com>
3191 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3192 Factor start/stop into this private function instead of partially
3193 in activate functions and partially in the change_state function.
3194 Fixes setup before the element has changed from READY->PAUSED, as
3195 is the case in pull-mode pipelines.
3196 (gst_base_transform_sink_activate_push)
3197 (gst_base_transform_src_activate_pull): Refactor to use
3198 gst_base_transform_activate().
3199 (gst_base_transform_change_state): Removed, not needed any more.
3201 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3202 Truncate before fixating.
3204 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3205 Don't set_caps() if the result of fixating is ANY, as it's not
3206 supported, and not necessary in the case of a link with no
3207 template caps on either side. Fixes tests/check/libs/basesrc in
3208 some pull-mode tests.
3210 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3211 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3212 (gst_base_transform_src_activate_pull):
3213 Track the activation mode.
3214 (gst_base_transform_setcaps): In pull mode, when activating the
3215 src pad, after activating the sink pad, activate the sink pad's
3216 peer, as discussed in part-negotiation.txt.
3218 * libs/gst/base/gstbasesrc.h:
3219 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3220 vmethod, as in basesink.
3222 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3224 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3225 mode, first proxy the setcaps to the peer pad.
3226 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3228 (gst_base_sink_default_activate_pull): Rename from
3229 gst_base_sink_activate_pull.
3230 (gst_base_sink_negotiate_pull): New function, performs negotiation
3231 in pull mode before calling ::activate_pull().
3232 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3233 vmethod instead of the default implementation. I have no idea how
3234 this worked before. Negotiate before calling activate_pull.
3236 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3237 sink pads in pull mode. In addition to being correct, fixes
3238 filesrc ! decodebin ! identity ! fakesink.
3239 (gst_pad_get_range, gst_pad_pull_range): Don't call
3240 gst_pad_set_caps() if the caps changes; instead error out with
3241 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3243 2007-01-12 Andy Wingo <wingo@pobox.com>
3245 * docs/design/part-negotiation.txt: Update with more policy.
3247 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3249 * libs/gst/check/gstbufferstraw.h:
3250 * libs/gst/check/gstcheck.h:
3251 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3254 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3256 * tests/check/Makefile.am:
3257 * tests/check/gst/.cvsignore:
3258 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3259 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3260 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3261 (GST_START_TEST), (gst_tag_setter_suite):
3262 Add minimal unit test for beforementioned GstTagSetter bug.
3264 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3266 Patch by: René Stadler <mail at renestadler dot de>
3268 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3269 gst_tag_list_merge() returns a new list, so it's not the best idea
3270 to ingore its return value. Effectively meant that tags could only
3271 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3272 Also add function guard to require a non-NULL taglist as input (has
3273 always been so due to gst_tag_list_copy(), just making it explicit).
3275 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3277 * docs/random/draft-missing-plugins.txt:
3278 Some additions: mention new API that is supposed to be used at the
3279 various stages; short blob about new gst-inspect introspection
3280 option; mention potential future problem with plugins that have
3281 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3283 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3285 * tools/gst-inspect.c:
3286 (print_plugin_automatic_install_info_codecs),
3287 (print_plugin_automatic_install_info_protocols),
3288 (print_plugin_automatic_install_info), (main):
3289 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3290 introspect plugin files and get machine-parsable output that corresponds
3291 to the last bit of the missing-plugin installer string (small gotcha:
3292 doesn't take into account ranks).
3294 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3297 * docs/gst/gstreamer-sections.txt:
3299 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3300 (gst_registry_lookup_locked):
3301 * gst/gstregistry.h:
3302 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3303 (gst_registry_binary_initialize_magic),
3304 (gst_registry_binary_save_string),
3305 (gst_registry_binary_save_pad_template),
3306 (gst_registry_binary_save_feature),
3307 (gst_registry_binary_save_plugin),
3308 (gst_registry_binary_write_cache),
3309 (gst_registry_binary_check_magic),
3310 (gst_registry_binary_load_pad_template),
3311 (gst_registry_binary_load_feature),
3312 (gst_registry_binary_load_plugin),
3313 (gst_registry_binary_read_cache):
3314 * gst/gstregistrybinary.h:
3315 * gst/gstregistryxml.c: (load_feature),
3316 (gst_registry_xml_read_cache):
3317 commit binary registry (disabled by default, see #359653)
3319 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3321 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3322 Fix 'make check' too.
3324 2007-01-10 Andy Wingo <wingo@pobox.com>
3326 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3329 * docs/design/part-negotiation.txt: Update with, um, one way that
3330 pull-mode negotiation might work?
3333 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3334 that the pad must be a src pad; makes sense to call it the other
3335 way in pull mode, and the logic is symmetric anyway.
3337 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3339 * plugins/elements/gstfilesink.c:
3340 Include <stdio.h> for fseeko().
3342 2007-01-10 Wim Taymans <wim@fluendo.com>
3346 Reserve LATENCY event.
3348 2007-01-09 Wim Taymans <wim@fluendo.com>
3350 * docs/design/draft-latency.txt:
3353 2007-01-09 Wim Taymans <wim@fluendo.com>
3355 * docs/design/draft-latency.txt:
3359 * gst/gststructure.c:
3363 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
3365 * tests/check/.cvsignore:
3366 Ignore test-registry.xml as well.
3368 2007-01-09 Wim Taymans <wim@fluendo.com>
3370 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3371 unref data at the end when we are done with the pad.
3373 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3375 * docs/gst/gstreamer-sections.txt:
3376 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3377 (init_post), (gst_deinit), (gst_update_registry):
3379 API: add gst_update_registry() (#391296).
3381 * tests/check/Makefile.am:
3382 * tests/check/gst/gstregistry.c:
3383 * tests/check/gst/.cvsignore:
3384 Simple unit test for the above.
3386 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3388 * gst/gstregistry.c: (gst_registry_scan_path_level):
3389 Plugin extension on HP-UX is .sl, add that to the list of approved
3390 plugin extensions (see #393796).
3392 * tests/check/gst/gstpad.c: (GST_START_TEST):
3393 ulong => gulong. Fixes compilation with HP-UX compiler.
3395 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3396 Fix compilation if valgrind headers are not available.
3398 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
3400 * win32/common/libgstreamer.def:
3401 Add new exported function.
3402 * win32/vs6/libgstbase.dsp:
3403 Add gstdataqueue.c to the build.
3404 * win32/vs6/libgstcoreelements.dsp:
3405 Add gstmultiqueue.c to the build.
3407 2007-01-06 Andy Wingo <wingo@pobox.com>
3409 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3410 activate_pull(), providing for a way to specialize the process of
3411 spawning a thread to pull on the sink pad. There is a default
3414 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3415 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3416 (gst_base_sink_init): Renamed pad activation functions (inserting
3417 "_pad" in their names). Refactor to use the new activate_pull
3418 vmethod, as appropriate.
3419 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3420 default activate_pull function to start a task pulling from the
3421 sink pad, as before.
3423 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3424 on the pads if necessary, as in push()/chain(). Update docs.
3425 Shouldn't affect existing pull() usage as it is currently only
3426 being used on buffers without caps.
3428 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3430 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3432 Call g_thread_init() first thing in gst_init() / gst_check_init().
3433 When initialisation is done via gst_init_get_option_group() and
3434 GOption parsing, issue a warning if the GLib thread system has not
3435 been initialised yet by the time gst_init_get_option_group() is
3436 called, as it's quite likely other GLib functions such as
3437 g_option_context_new() have been called already then, and
3438 g_thread_init() must be called before any other GLib function. The
3439 application in question must be fixed in that case, since memory
3440 corruption might happen otherwise.
3441 We issue the warning because even if the GLib folks decide to work
3442 around the problem on their end in future, this is still an issue
3443 with all GLib versions >= 2.10.0, so we should warn until we depend
3444 on a GLib version we know to be safe.
3445 Update documentation as well.
3448 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3450 * tools/gst-inspect.c: (main):
3451 * tools/gst-launch.c: (main):
3452 * tools/gst-typefind.c: (main):
3453 * tools/gst-xmlinspect.c: (main):
3454 Call g_thread_init() really really early, before any other GLib
3455 function (see #342564 and recent discussion on gtk-devel-list).
3457 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3459 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
3461 * gst/gst_private.h:
3462 * gst/gstconfig.h.in:
3464 On win32, all the __declspec stuff for symbol exporting is
3465 apparently only needed with MSVC, but doesn't work with MingW.
3466 Fixes compilation with MingW and #391909.
3468 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3470 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3471 Change some GST_ERROR_OBJECT that aren't really errors to
3472 GST_WARNING_OBJECT in order to reduce terminal spam.
3474 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3476 * tests/check/Makefile.am:
3477 disable test again, as there seem to be still race problems
3479 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3481 * tests/check/Makefile.am:
3482 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3483 (GST_START_TEST), (queue_suite):
3484 enable queue test again, add tests for the leaky behaviour
3486 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3489 * tests/examples/Makefile.am:
3490 Compile adapter test/example only if the required headers are
3491 available (fixes #391915).
3493 2007-01-01 David Schleef <ds@schleef.org>
3496 Restore the previous signal handler for SIGSEGV instead of
3497 setting to default, since we may have stolen it away from
3498 someone. (i.e., Mono)
3500 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3502 * docs/random/draft-missing-plugins.txt:
3503 Some small additions and clarifications.
3505 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3507 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3508 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3509 since that can lead to random memory corruptions and crashes
3510 (may or may not be related to #383244, #386711, and #386711).
3512 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3514 * tests/check/.cvsignore:
3515 * tests/check/Makefile.am:
3516 sync .cvsignome and CLEANFILES
3518 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3520 * tests/check/Makefile.am:
3523 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3525 * docs/design/part-states.txt:
3526 two tiny additional comments
3528 * gst/gststructure.c:
3531 * tests/check/Makefile.am:
3532 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3534 disable test for now, unless it gets fixed
3536 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3538 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3540 fix race in underrun test
3542 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3544 * tests/check/elements/.cvsignore:
3547 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3549 try to narrow test failure
3551 2006-12-21 David Schleef <ds@schleef.org>
3553 * plugins/elements/gstfakesrc.c:
3554 Use g_random_int_range(), since it produces better random
3555 numbers in a range than almost-correct floating point code.
3557 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3559 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3560 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3561 (gst_check_teardown_sink_pad):
3562 do not automatically (de)activate pads
3564 * tests/check/Makefile.am:
3565 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3566 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3567 add new, yet simple tests for queue
3569 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3570 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3571 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3573 * tests/check/elements/identity.c: (cleanup_identity):
3574 consistent pad (de)activation
3576 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3578 Patch by: Sebastian Dröge <slomo ubuntu com>
3580 * libs/gst/base/gstcollectpads.c:
3581 Fix two doc typos (#387866).
3583 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3585 * docs/manual/advanced-dparams.xml:
3586 Fix typo (g_object_control_properties() doesn't exist).
3588 2006-12-19 Edward Hervey <edward@fluendo.com>
3590 * gst/gstsegment.c: (gst_segment_set_seek):
3591 Fine tune the cases where the segment start/stop values are really
3593 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3594 Add tests for the return values of gst_segment_set_seek().
3596 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3601 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3603 Fix incorrect documentation and flesh it out a bit more.
3604 Set default values for the max properties on the GParamSpec as well,
3605 so it shows up correctly in gst-inspect.
3607 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3609 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3610 Correct docs of queue, add more detail and crosslink it more.
3612 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3614 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3615 Print additional debug info when the stream isn't perfectly
3616 timestamped; don't try to use invalid durations.
3618 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3620 * docs/design/Makefile.am:
3621 Dist new design docs.
3623 2006-12-16 Wim Taymans <wim@fluendo.com>
3625 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3627 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3628 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3629 (gst_collect_pads_stop), (gst_collect_pads_event),
3630 (gst_collect_pads_chain):
3631 * libs/gst/base/gstcollectpads.h:
3632 Add refcounting to the collectpads data so we can track when it's safe
3633 to free the data. Fixes #383382.
3635 2006-12-15 Wim Taymans <wim@fluendo.com>
3637 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3638 (gst_collect_pads_remove_pad):
3639 Automatically activate/deactivate pads when they are added to a
3640 started/stoped collectpads.
3642 2006-12-15 Wim Taymans <wim@fluendo.com>
3644 * gst/gstelement.c: (gst_element_add_pad):
3645 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3646 * gst/gstpad.c: (gst_pad_init):
3647 Set pads to FLUSHING when they are created. Check, warn and fix when a
3648 demuxer adds an inactive pad to itself when running. Fixes #339326.
3650 2006-12-15 Wim Taymans <wim@fluendo.com>
3652 * gst/gstelement.c: (gst_element_class_init),
3653 (gst_element_default_send_event), (gst_element_send_event),
3654 (gst_element_default_query), (gst_element_query):
3655 Expose default element send_event and query handling as vmethods that
3656 subclasses can chain up to.
3658 2006-12-15 Wim Taymans <wim@fluendo.com>
3660 * gst/gstelement.c: (gst_element_set_state_func):
3661 Small documentation fixes.
3663 2006-12-15 Wim Taymans <wim@fluendo.com>
3665 * docs/design/draft-latency.txt:
3666 Checked in draft for handling latency in pipelines.
3668 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3672 * gstreamer.spec.in:
3675 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3677 * gst/gst.c: (init_pre), (init_post):
3678 init_pre() and init_post() might be called via our GOptionGroup or
3679 from gst_init(), and we should skip both of them if we've already
3680 been initialised, otherwise we will init some things twice or add
3681 two default log functions.
3683 2006-12-13 Edward Hervey <edward@fluendo.com>
3685 * docs/manual/basics-bus.xml:
3686 No, gst_main_loop does not exist. Its g_main_loop.
3687 Discovered by somebody who abused the copy-paste technique of coding :)
3689 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3691 * gst/gstghostpad.c:
3692 Log ghostpad debug stuff to the GST_PADS category as well rather
3693 than just to the default category.
3695 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3698 * gst/gst.c: (init_pre):
3699 Add some basic system details such as OS and architecture
3700 to the debug output if possible, courtesy of uname().
3702 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3704 * docs/gst/running.xml:
3705 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3706 environment variables.
3708 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3710 * tests/check/gst/gstbin.c: (GST_START_TEST):
3711 It is acceptable to have a refcount of 2 or 3 at this point in the
3712 test, because the pipeline might be just posting its state_change
3713 message. The next line then waits for that message to appear using
3714 bus_poll, so that should be fine too.
3716 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3718 * gst/gst.c: (ensure_current_registry_forking):
3719 Ignore EINTR when reading from the child registry pipe.
3720 Explicitly ignore the return value from close, since it makes no
3723 * gst/gstminiobject.c: (gst_mini_object_ref),
3724 (gst_mini_object_unref):
3725 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3727 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3728 When removing cached plugins, remove their features too, so they're
3729 not visible after they've disappeared.
3731 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3732 In the unlikely case that we are linking pads with no parents, don't
3733 crash trying to get the non-existent parent bin.
3735 * gst/parse/grammar.y:
3736 Output debug in the PIPELINE category
3738 2005-03-08 Wim Taymans <wim@fluendo.com>
3740 Patch by: René Stadler <mail at renestadler dot de>
3742 * gst/gstclock.c: (gst_clock_new_periodic_id):
3743 Reject invalid clock times for interval of periodic ids.
3746 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3748 * gst/gstelementfactory.c: (gst_element_factory_create):
3749 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3750 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3751 * tools/gst-inspect.c: (print_element_info):
3752 Fix refcounting of gst_plugin_feature_load to match the docs.
3755 2006-12-07 Wim Taymans <wim@fluendo.com>
3757 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3758 (gst_base_sink_get_position):
3759 Improve debugging of events.
3761 2006-12-07 Wim Taymans <wim@fluendo.com>
3763 Patch by: René Stadler <mail at renestadler dot de>
3765 * gst/gstclock.c: (gst_clock_id_wait):
3766 Make period ids add the interval to the origial requested time instead
3767 of the possibly updated time which can be wrong when there are multiple
3768 waiters for the same id. Fixes #382592.
3770 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3771 (gst_system_clock_id_wait_jitter_unlocked),
3772 (gst_system_clock_id_wait_jitter):
3773 Fix restart in the async notify thread when an async entry is added to
3774 the front of the list. Fixes #381492.
3776 * tests/check/gst/gstsystemclock.c: (store_callback),
3777 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3778 Added test for multiple async waits.
3779 Added test for async wait order.
3781 2006-12-07 Wim Taymans <wim@fluendo.com>
3783 * gst/gstbin.c: (gst_bin_query):
3784 Add some more docs about the POSITION query.
3786 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3789 Bump version nano - back to CVS.
3791 === release 0.10.11 ===
3793 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3796 releasing 0.10.11, "Love never runs on time"
3798 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3800 * win32/common/libgstbase.def:
3801 * win32/common/libgstreamer.def:
3802 * win32/vs8/libgstbase.vcproj:
3803 * win32/vs8/libgstcoreelements.vcproj:
3804 * win32/vs8/libgstreamer.vcproj:
3805 Fix compilation on win32 under VS8
3806 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3807 Partially fixes #381175
3809 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3811 * gst/gstvalue.c: (gst_value_compare_fraction):
3812 If someone is foolish enough to compare 2 fractions with denominator =
3813 0, return UNORDERED rather than aborting.
3815 2006-11-28 Edward Hervey <edward@fluendo.com>
3817 * libs/gst/base/Makefile.am:
3818 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3819 (gst_data_queue_base_init), (gst_data_queue_class_init),
3820 (gst_data_queue_init), (gst_data_queue_new),
3821 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3822 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3823 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3824 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3825 (gst_data_queue_set_flushing), (gst_data_queue_push),
3826 (gst_data_queue_pop), (gst_data_queue_drop_head),
3827 (gst_data_queue_set_property), (gst_data_queue_get_property):
3828 * libs/gst/base/gstdataqueue.h:
3829 New GstDataQueue object for threadsafe queueing. Most useful for
3830 elements that need some queueing functionnality.
3831 * docs/libs/gstreamer-libs-docs.sgml:
3832 * docs/libs/gstreamer-libs-sections.txt:
3833 Insert documentation for GstDataQueue
3834 * plugins/elements/Makefile.am:
3835 * plugins/elements/gstelements.c:
3836 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3837 (gst_multi_queue_class_init), (gst_multi_queue_init),
3838 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3839 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3840 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3841 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3842 (gst_multi_queue_loop), (gst_multi_queue_chain),
3843 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3844 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3845 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3846 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3847 (wake_up_next_non_linked), (compute_next_non_linked),
3848 (single_queue_overrun_cb), (single_queue_underrun_cb),
3849 (single_queue_check_full), (gst_single_queue_new):
3850 * plugins/elements/gstmultiqueue.h:
3851 New multiqueue element, using GstDataQueue. Used for queuing multiple
3853 Closes #344639 and #347785
3855 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3857 * docs/pwg/advanced-types.xml:
3858 add more missing type details
3860 * tools/gst-run.c: (main):
3861 remove unused variable
3863 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3865 * docs/libs/Makefile.am:
3866 * docs/libs/gstreamer-libs.types:
3867 add types of base classes to enable gobject specific stuff in the docs
3869 * docs/random/ensonic/embedded.txt:
3870 more ideas about isolating platform specific things
3872 2006-11-20 Wim Taymans <wim@fluendo.com>
3874 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3876 * libs/gst/check/gstcheck.h:
3877 Fix compilation and running against 0.9.4. Fixes #377332.
3879 2006-11-20 Wim Taymans <wim@fluendo.com>
3881 * gst/gstsegment.c: (gst_segment_set_seek),
3882 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3883 (gst_segment_to_running_time):
3884 Fix boundary checking in to_running_time() and to_stream_time().
3887 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3888 stream and running time can now be calculated for the complete
3891 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3893 * gst/gstpad.c: (gst_pad_push_event):
3894 Can't access event structure after giving away ownership of
3897 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3899 * docs/random/ensonic/embedded.txt:
3900 * docs/random/ensonic/profiling.txt:
3901 * docs/random/ensonic/receipies.txt:
3904 2006-11-13 Wim Taymans <wim@fluendo.com>
3906 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3909 Fix documentation for gst_pad_dispatcher. Fixes #374475.
3911 2006-11-13 Wim Taymans <wim@fluendo.com>
3913 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3915 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3916 Store new length in segment duration so we don't keep on calling the
3917 potentially expensize get_size() call. Fixes #370865.
3919 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
3921 Patch by: Sergey Scobich <sergey.scobich at gmail com>
3923 * win32/common/libgstreamer.def:
3924 Add two missing symbols (#366492).
3926 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
3928 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3929 (gst_adapter_take_buffer):
3930 Fix format string to use all its arguments.
3931 Remove useless >= check on a guint
3933 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3935 * tests/examples/adapter/.cvsignore:
3936 Ignore build file as commanded by the build-bot
3938 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3940 * tests/examples/adapter/Makefile.am:
3941 * tests/examples/adapter/adapter_test.c: (run_test_take),
3942 (run_test_take_buffer), (run_tests), (main):
3944 Add new files from the previous commit
3946 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3950 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3951 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3952 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3953 * libs/gst/base/gstadapter.h:
3954 * tests/check/libs/adapter.c: (create_and_fill_adapter),
3955 (GST_START_TEST), (gst_adapter_suite):
3956 * tests/examples/Makefile.am:
3957 Do some optimisation work in GstAdapter to avoid copies in more cases.
3958 It could still do slightly better by merging buffers when
3959 gst_buffer_is_span_fast is true, but is already faster.
3961 Also, avoid traversing a single-linked list to append each incoming
3962 buffer inside the adapter.
3964 Add simple test app that times the adapter behaviour in different
3965 situations, and extend the unit test to check that bytes enter and
3966 exit the adapter in their original order.
3968 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
3970 * docs/random/draft-missing-plugins.txt:
3971 Update: use element message instead of adding a new message
3972 type to the core; don't provide GStreamer API to initiate the
3973 plugin download, just provide API to compose the strings needed
3974 and let an external libgimmestuff handle the rest.
3976 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
3978 * tools/gst-inspect.c: (print_element_properties_info):
3979 Print a string instead of 'unknown type' for GValueArray properties
3981 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
3983 * docs/random/draft-missing-plugins.txt:
3986 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3988 * tests/examples/typefind/typefind.c: (type_found), (main):
3989 Make typefind element example work again (#371894); add a
3992 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3994 * docs/random/draft-missing-plugins.txt:
3995 Commit initial draft about how to deal with missing plugins,
3996 needs work (API too).
3998 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4000 * docs/pwg/advanced-types.xml:
4001 documents the new caps elements (see #363118)
4003 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4005 * gst/gstplugin.c: (gst_plugin_load_file):
4006 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4007 (gst_file_src_map_region), (gst_file_src_start):
4008 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4009 (gst_file_index_commit):
4010 Use g_strerror() instead of strerror() - we want UTF-8.
4012 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4014 Patch by: Peter Kjellerstedt <pkj at axis com>
4016 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4017 Another printf fix (#371493).
4019 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4021 * tests/check/gst/gsttag.c:
4022 relicence (okay with author=company)
4024 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4026 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4027 (gst_pad_push_event):
4028 Enhance debug and improve docs
4033 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4035 * docs/random/ensonic/distributed.txt:
4036 * docs/random/ensonic/profiling.txt:
4039 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4041 * docs/gst/gstreamer-sections.txt:
4042 add new API and fix the build
4044 * gst/gstbin.c: (gst_bin_recalc_state):
4045 * gst/gstelement.c: (gst_element_message_full),
4046 (gst_element_get_state_func), (gst_element_set_state_func):
4047 use new API and improve logging
4049 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4051 API: add function to get StateChangereturn names to improve logs
4053 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4055 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4056 I'm considering shooting the next person to put strerror stuff
4057 in the translateable part of the message.
4059 2006-11-03 Wim Taymans <wim@fluendo.com>
4061 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4062 Get the type and printf conversion specifiers right.
4064 2006-11-03 Wim Taymans <wim@fluendo.com>
4066 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4068 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4069 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4070 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4071 Some small cleanups. Improve debugging.
4073 Signal all waiting threads with a broadcast instead of just one.
4076 2006-11-03 Wim Taymans <wim@fluendo.com>
4078 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4079 (gst_fd_src_create):
4081 Only update fd when it's different from the old.
4083 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4085 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4086 Printf fixes for PPC/OSX, take two (#369366).
4088 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4090 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4092 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4093 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4094 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4095 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4096 don't cast to long long for portability reasons, but use
4097 GLib's types instead.
4099 2006-10-30 Michael Smith <msmith@fluendo.com>
4101 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4102 Get the arguments to lseek() the right way around.
4105 2006-10-30 Wim Taymans <wim@fluendo.com>
4107 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4110 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4112 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4114 Patch by: Kjartan Maraas <kmaraas at gnome org>
4116 * docs/design/part-MT-refcounting.txt:
4117 * docs/random/wtay/capsnego2-docs:
4120 Typo fixes (#366212).
4122 2006-10-28 Wim Taymans <wim@fluendo.com>
4124 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4127 * win32/common/libgstbase.def:
4128 * win32/common/libgstreamer.def:
4129 * win32/vs8/libgstbase.vcproj:
4130 * win32/vs8/libgstcontroller.vcproj:
4131 Add needed entries in .def files.
4133 Rearrange def files in vs8 solutions. Fixes #366286.
4135 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4137 * win32/common/gstconfig.h:
4138 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4139 hand-made win32 gstconfig.h. Fixes #366321.
4141 2006-10-27 Wim Taymans <wim@fluendo.com>
4143 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4144 (gst_ghost_pad_new_full):
4145 Make acceptcaps return TRUE when we don't have a target, just like
4148 2006-10-27 Wim Taymans <wim@fluendo.com>
4150 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4151 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4153 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4155 * gst/gststructure.c: (gst_structure_id_set_value):
4156 If someone tries to set a non-UTF8 string field on a structure,
4157 don't just print a warning, but also ignore the request and do
4158 not change/add that field to the structure.
4160 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4163 2006-10-25 David Schleef <ds@schleef.org>
4166 g_hash_table_insert() needs a cast to a non-const pointer duh.
4168 2006-10-25 David Schleef <ds@schleef.org>
4172 Change name parameter of _gst_debug_register_funcptr to const
4173 to reflect the constness of its use in the function as well
4174 as to quiet a gcc warning.
4176 2006-10-25 Edward Hervey <edward@fluendo.com>
4178 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4179 Don't push the buffer if it's empty.
4182 2006-10-24 Wim Taymans <wim@fluendo.com>
4187 * libs/gst/base/gstbasetransform.c:
4188 (gst_base_transform_sink_eventfunc):
4189 Debug segment values *after* updating them as this is more
4192 2006-10-23 Wim Taymans <wim@fluendo.com>
4194 * docs/design/part-events.txt:
4197 * docs/design/part-block.txt:
4198 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4199 (gst_pad_push_event):
4200 Revert BLOCKING patch, it tries to be smart without really having a
4201 clear idea what or how. So, now we discard all FLUSHING events again on
4202 a blocking pad. Should fix gnonlin again.
4204 2006-10-23 Wim Taymans <wim@fluendo.com>
4206 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4208 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4209 (gst_base_src_start), (gst_base_src_activate_push):
4210 Make sure size is always initialized. Fixes #364388.
4212 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4214 * docs/random/ensonic/distributed.txt:
4215 add some ideas about doing distributed processing
4217 * docs/random/ensonic/profiling.txt:
4218 get_rusage look promising
4220 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4222 * docs/manual/basics-helloworld.xml:
4223 Add a cast in example to fix compile warning
4225 2006-10-18 Wim Taymans <wim@fluendo.com>
4227 * gst/gstsegment.c: (gst_segment_set_last_stop),
4228 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4229 Relax arg checking again, -1 is allowed.
4231 2006-10-18 Wim Taymans <wim@fluendo.com>
4233 * gst/gstsegment.c: (gst_segment_set_last_stop),
4234 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4235 _set_last_stop() must be with a value != -1
4236 A _TYPE_SET to -1 means seek to 0.
4237 Calc last_stop correctly for negative rates.
4238 Make sure we work with positive durations when updating a segment.
4240 2006-10-18 Wim Taymans <wim@fluendo.com>
4242 * docs/design/part-live-source.txt:
4246 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4249 Add an explicit cast to GstBuffer** to keep old code that added an
4250 explicit cast to GstMiniObject** for gst_mini_object_replace()
4251 compiling without warning.
4253 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4255 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4256 check for validity of dates
4258 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4260 * docs/gst/gstreamer-sections.txt:
4261 Forgot this one, makes gtk-doc shut up.
4263 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4265 Patch by: Peter Kjellerstedt <pkj at axis com>
4268 Don't define xmlNodePtr to gpointer if the core was built with
4269 --disable-loadsave and --disable-registry, this will break
4270 applications that want to use libxml2 but are buildling against a
4271 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4272 instead so we don't have to mess with the libxml2 namespace
4275 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4278 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4279 type-punned pointer warnings.
4281 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4284 Add casts to the correct return type to state <=> state transition
4287 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4289 * docs/design/part-live-source.txt:
4290 describe howto handle latency
4292 * docs/random/ensonic/profiling.txt:
4295 * tools/gst-plot-timeline.py:
4296 fix log parsing for solaris, remove unused function
4298 2006-10-16 Wim Taymans <wim@fluendo.com>
4300 * docs/design/part-trickmodes.txt:
4302 Update some docs regarding reverse playback.
4304 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4306 Patch by: Marcus Granado <mrc dot gran at gmail com>
4308 * win32/vs8/grammar.vcproj:
4309 Error out with a warning if glib-genmarshal.exe is not in path,
4310 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4312 2006-10-13 Wim Taymans <wim@fluendo.com>
4314 * gst/gstsegment.c: (gst_segment_set_seek):
4315 When seeking to stop -1, set last_stop (current position) to the
4316 duration of the segment.
4318 2006-10-13 Wim Taymans <wim@fluendo.com>
4321 Clarify _NO_PREROLL a bit more.
4326 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4327 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4328 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4329 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4330 due to wrong locking order. Fixes #361769.
4331 Remove some redundant/misplaced checks in pad_block.
4333 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4334 For negative rates, count backwards from the duration.
4336 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4338 * gst/gsterror.c: (_gst_library_errors_init):
4339 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4340 up with something better).
4342 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4344 * win32/vs6/libgstreamer.dsp:
4345 * win32/vs7/libgstreamer.vcproj:
4346 * win32/vs8/libgstreamer.vcproj:
4347 Don't reference glib-compat.c which is currently not used and not
4348 disted; add gstquark.c which was recently added. Fixes #361730.
4350 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4352 * win32/common/libgstbase.def:
4353 * win32/common/libgstcontroller.def:
4354 * win32/common/libgstreamer.def:
4355 Add gst_caps_merge() and a bunch of other recently-added functions.
4358 2006-10-11 Wim Taymans <wim@fluendo.com>
4360 * docs/plugins/gstreamer-plugins.args:
4361 * docs/plugins/inspect/plugin-coreelements.xml:
4362 * docs/plugins/inspect/plugin-coreindexers.xml:
4363 Update element args.
4365 * gst/gstsystemclock.c:
4366 Small comment update.
4368 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4369 (gst_tee_request_new_pad), (gst_tee_release_pad),
4370 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4371 (gst_tee_sink_activate_pull):
4372 * plugins/elements/gsttee.h:
4374 Add default property defines.
4375 Implement release pad function.
4376 Give properties better blubs etc.
4377 Activate pads before adding them to a running tee.
4378 Do simple buffer_alloc on the first requested pad.
4379 Post error when activation fails.
4381 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4383 * gst/gst.c: (ensure_current_registry_forking):
4384 Check return value of write() to make compiler happy.
4386 2006-10-11 Wim Taymans <wim@fluendo.com>
4388 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4390 * plugins/elements/gstqueue.c: (gst_queue_chain):
4391 Recheck queue filledness after signalling the overrun when we're about
4392 to leak downstream because we released the lock when emitting the signal
4393 and the queue could be empty again. Fixes #352345.
4395 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4397 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4398 Fix refcounting here too, just like we did for _new_valist() a few
4399 days ago (#357180) (thanks to René Stadler). Also remove all those
4400 'Since: 0.9' from the gtk-doc blobs.
4402 * tests/check/libs/controller.c: (controller_refcount_new_list),
4403 (gst_controller_suite):
4404 Unit test for the above.
4406 2006-10-10 Wim Taymans <wim@fluendo.com>
4408 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4410 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4411 (gst_pad_save_thyself):
4413 Write pad direction in XML output. Fixes #345496.
4415 2006-10-10 Wim Taymans <wim@fluendo.com>
4417 Patch by: René Stadler <mail at renestadler dot de>
4419 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4420 (gst_controller_new_list), (_gst_controller_dispose),
4421 (_gst_controller_finalize), (_gst_controller_class_init):
4422 Take ref to controlled object so that it cannot disappear.
4425 2006-10-10 Wim Taymans <wim@fluendo.com>
4427 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4428 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4429 (gst_check_teardown_sink_pad):
4430 Activate/deactivate pads in setup/teardown respectively.
4432 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4434 Patch by: Josep Torre Valles <josep@fluendo.com>
4437 Cast values when making gstenumtypes.h. This pacifies Forte
4438 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4441 2006-10-09 Wim Taymans <wim@fluendo.com>
4443 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4444 Rename some more @cur to @start to fix docs.
4446 * gst/gstsegment.c: (gst_segment_set_seek):
4448 time and start must always stay in sync as defined in design doc.
4450 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4451 Rename param to fix docs.
4453 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4454 Check that start and time are in sync.
4456 * tests/check/pipelines/parse-launch.c:
4457 (gst_parse_test_element_change_state):
4458 Activate pad before adding to the element.
4460 2006-10-09 Wim Taymans <wim@fluendo.com>
4462 * docs/design/part-qos.txt:
4467 Update seek event docs regarding negative rates.
4468 Rename @cur to @start.
4470 * gst/gstsegment.c: (gst_segment_set_seek):
4472 Update set_seek docs regarding negative rates.
4473 Correctly update last_stop to @stop when dealing with negative
4475 Rename @cur to @start.
4477 * tests/check/gst/gstpad.c: (GST_START_TEST):
4478 Activate pads before trying to use them.
4480 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4481 (gst_segment_suite):
4482 Add simple check for segments and negative rates.
4484 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4486 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4488 * docs/gst/gstreamer-sections.txt:
4489 API: add gst_tag_list_is_empty() (#360467).
4491 * tests/check/gst/gsttag.c: (GST_START_TEST):
4494 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4497 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4498 a value that doesn't fit on enumeration.
4500 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4502 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4503 Remove local debugging system and use Gstreamer's instead.
4505 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4507 Patch by: Josep Torre Valles <josep@fluendo.com>
4509 * common/m4/gst-error.m4:
4510 Disable warning of statement not reached on Forte.
4512 Fix warning on Forte (value doesn't fit on enumeration).
4513 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4514 Fix warning on Forte (value doesn't fit on enumeration).
4515 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4516 DEBUG macro says it takes minimum of 2 args and so Forte
4517 complains about the use with just 1 arg.
4518 * plugins/elements/gstfdsink.c:
4519 * plugins/elements/gstfdsrc.c:
4520 * plugins/elements/gstfilesink.c:
4521 * plugins/elements/gstfilesrc.c:
4522 Use correct return type for the uri handler implementations.
4524 All these fix warnings in Forte. Fixes bug #360860.
4526 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4529 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4530 format string, so don't use G_GNUC_PRINTF for those versions.
4532 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4534 * gst/gsttaglist.c: (gst_is_tag_list):
4536 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4538 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4539 Small test for the above.
4541 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4544 Less tabs, more spaces.
4546 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4549 Those two function declarations do actually belong there, revert
4550 commit from yesterday that turned them intro macros.
4552 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4554 Patch by: Josep Torre Valles <josep@fluendo.com>
4556 * gst/gst.c: (gst_init_get_option_group):
4557 Fix empty declaration and type mismatch.
4558 * gst/gstbin.c: (gst_bin_change_state_func):
4560 * gst/gstelement.c: (gst_element_continue_state),
4561 (gst_element_set_state_func), (gst_element_change_state),
4562 (gst_element_change_state_func):
4563 Fix type mismatches.
4564 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4565 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4566 Cast as appropriate.
4567 * gst/gstobject.c: (gst_class_signal_connect):
4568 Cast as appropriate. The function pointer parameter really
4569 has the wrong type but would break API if we change it.
4571 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4572 order of including string.h.
4573 * gst/gstutils.c: (gst_element_state_get_name):
4574 Remove unreachable line.
4575 * gst/gstxml.c: (gst_xml_parse_doc):
4577 All these caught by Forte.
4579 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4581 Patch by: Josep Torre Valles <josep@fluendo.com>
4583 * common/m4/gst-error.m4:
4585 We need to disable warnings on Forte for empty declarations
4586 due to gst-indent adding ;s to lines that just use macros
4587 where the macro actually doesn't need a ; at end to end
4590 2006-10-06 Wim Taymans <wim@fluendo.com>
4592 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4593 (gst_file_sink_close_file), (gst_file_sink_event),
4594 (gst_file_sink_render):
4595 Add some FIXME for the NEWSEGMENT handling.
4597 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4599 * gst/parse/grammar.y:
4600 Remove static function gst_parse_element_lock as all it does
4601 is return. Looks like cruft from 0.8.
4603 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4605 Patch by: Josep Torre Valles <josep@fluendo.com>
4607 * common/m4/gst-error.m4:
4609 * libs/gst/net/Makefile.am:
4610 Fix a compilation issue with Forte on Solaris. inet_aton is in
4613 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4615 * gst/gstpad.c: (pre_activate):
4616 * gst/gstregistry.c: (gst_registry_scan_path_level):
4617 * gst/gstregistryxml.c: (load_plugin):
4618 * libs/gst/controller/gstcontroller.c:
4619 (gst_controlled_property_set_interpolation_mode):
4620 * libs/gst/dataprotocol/dataprotocol.c:
4621 (gst_dp_packet_from_event_1_0):
4622 * libs/gst/net/gstnetclientclock.c:
4623 (gst_net_client_clock_observe_times):
4624 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4627 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4630 * docs/gst/gstreamer-sections.txt:
4631 * gst/gstconfig.h.in:
4634 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4635 whether we can use G_GNUC_PRINTF in other header files and at
4636 least check the printf format/arguments of debug messages and
4637 GST_ELEMENT_ERROR messages when the printf extension is not
4639 Replace more tabs with spaces in gstinfo.h and remove two spurious
4640 function declarations in GST_DISABLE_DEBUG part with macros.
4642 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4644 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4645 More docs for the sync-message signal (mention that it is not
4646 emitted by default); log message structures of messages posted on
4649 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4651 * gst/gst.c: (ensure_current_registry_forking):
4652 Use a pipe pair to receive status results from the forked child, and
4653 ignore the result from waitpid. Fixes #355499
4655 2006-10-02 Wim Taymans <wim@fluendo.com>
4657 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4658 (gst_ghost_pad_suite):
4661 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4664 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4666 2006-10-02 Edward Hervey <edward@fluendo.com>
4668 * docs/design/part-block.txt:
4669 Further explain the use of flushing on blocked pads.
4670 * docs/gst/gstreamer-sections.txt:
4671 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4672 (gst_pad_push_event):
4674 Added new GstPadFlag : GST_PAD_BLOCKING.
4675 Adds the notion of pads really blocking, which enables to properly
4676 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4678 API: gst_pad_is_blocking()
4679 API: GST_PAD_IS_BLOCKING() macro
4680 API: GST_PAD_BLOCKING GstPadFlag
4682 2006-10-02 Wim Taymans <wim@fluendo.com>
4684 Patch by: mrcgran <mrc.gran at gmail dot com>
4686 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4687 Filter the proxied caps against the padtemplate if we have one.
4689 * gst/gstquery.c: (gst_query_new_segment):
4690 Add include for gstinfo.h so that compilation with
4691 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4693 2006-10-02 Wim Taymans <wim@fluendo.com>
4695 Patch by: Alessandro Decina <alessandro at nnva org>
4697 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4698 (gst_file_sink_set_location), (gst_file_sink_open_file),
4699 (gst_file_sink_close_file), (gst_file_sink_event),
4700 (gst_file_sink_render):
4701 Set file to NULL when closing filesink so that we can set a new filename
4702 in READY. Fixes #358613.
4704 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4706 Patch by: Alessandro Decina <alessandro at nnva org>
4708 * gst/gstevent.c: (_gst_event_copy):
4709 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4710 with event structures by setting the parent refcount address of the
4711 copied structure to the address of the refcount member of the newly
4712 copied event rather than the address of the refcount member of the
4713 original event. Fixes #358737.
4715 * tests/check/gst/gstevent.c: (GST_START_TEST):
4716 Unit test for the above.
4718 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4720 * docs/design/Makefile.am:
4721 Dist some more files.
4723 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4725 * tests/check/libs/controller.c: (GST_START_TEST),
4726 (gst_controller_suite):
4727 Add test for the previous fix; add some more tests
4728 for correct refcounting behaviour; fix a few leaks
4729 in test cases; call gst_controller_init() at start
4732 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4734 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4735 (gst_controller_set_from_list):
4736 Don't g_return_val_if_fail() on timed values with invalid timestamps
4737 inside a critical section without unlocking the mutex. Spotted by
4738 René Stadler. (#357617)
4739 Also, fix up refcounting properly: when returning an existing
4740 controller, we should increase the reference only once and not
4741 once per property and when trying to control a property again
4742 we should also increase the refcount.
4744 2006-09-29 Wim Taymans <wim@fluendo.com>
4746 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4747 * libs/gst/net/gstnettimeprovider.c:
4748 (gst_net_time_provider_thread):
4749 Stop reading commands when EOF as well.
4751 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4752 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4753 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4754 Unify description of the dump property.
4756 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4758 * tests/examples/manual/.cvsignore:
4759 OK, so it's actually cvsignore that needs changing. Stop laughing.
4761 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4763 * tests/examples/manual/Makefile.am:
4764 Gah, declare vars *before* using them
4766 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4768 * gst/gst.c: (init_pre), (scan_and_update_registry),
4769 (ensure_current_registry_nonforking),
4770 (ensure_current_registry_forking), (ensure_current_registry),
4771 (init_post), (gst_debug_help), (gst_deinit):
4772 * gst/gst_private.h:
4773 * gst/gstregistry.c: (gst_registry_finalize),
4774 (gst_registry_remove_features_for_plugin_unlocked),
4775 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4776 (gst_registry_scan_path),
4777 (_priv_gst_registry_remove_cache_plugins),
4778 (_priv_gst_registry_cleanup):
4779 * gst/gstregistry.h:
4780 Re-commit the registry changes, along with an extra fix:
4781 When a cached plugin is encountered at a different file path,
4782 update the stored path in the registry cache so that the parent
4783 process knows where it actually is now when it re-reads the registry
4784 cache. Fixes the thing that broke distcheck with the previous commit.
4786 * tests/check/Makefile.am:
4787 Clean up files named 'core' too when running make clean.
4789 * tests/examples/manual/Makefile.am:
4790 Set up a registry path for running these tests, and clean it properly
4793 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4796 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4797 want gmodule-no-export-2.0.pc instead so that we don't drag in
4798 --export-dynamic on every project that links to GStreamer.
4800 Also, make our export regex only match the start of symbols, rather
4801 than any symbol that contains '_gst' somewhere.
4803 * libs/gst/check/Makefile.am:
4804 The libgstcheck we build does however need export-dynamic, as it
4805 produces some symbols that don't match our _gst... style regex.
4808 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4810 * gst/gst.c: (init_pre), (scan_and_update_registry),
4811 (ensure_current_registry_nonforking),
4812 (ensure_current_registry_forking), (ensure_current_registry),
4813 (init_post), (gst_debug_help), (gst_deinit):
4814 * gst/gst_private.h:
4815 * gst/gstregistry.c: (gst_registry_finalize),
4816 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4817 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4818 (_gst_registry_cleanup):
4819 * gst/gstregistry.h:
4820 Revert previous change until I figure out why it breaks distcheck.
4822 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4824 * gst/gst.c: (init_pre), (scan_and_update_registry),
4825 (ensure_current_registry_nonforking),
4826 (ensure_current_registry_forking), (ensure_current_registry),
4827 (init_post), (gst_debug_help), (gst_deinit):
4829 Make init_pre and init_post take the full complement of GOptionFunc
4830 args so they can return useful GErrors. Make the registry updating
4833 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4834 ensure that the registry we're about to write out doesn't contain
4835 stale information about old-deleted plugin files.
4837 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4838 that deletion of plugin files is considered a registry change.
4840 * gst/gst_private.h:
4841 * gst/gstregistry.c: (gst_registry_finalize),
4842 (gst_registry_remove_features_for_plugin_unlocked),
4843 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4844 (gst_registry_scan_path),
4845 (_priv_gst_registry_remove_cache_plugins),
4846 (_priv_gst_registry_cleanup):
4847 * gst/gstregistry.h:
4848 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4849 by adding _priv prefix, so that they won't appear in the global
4850 symbol table. They still do atm though because of #318031. Move the
4851 prototypes to gst_private.h
4853 When removing a plugin, remove all features for that plugin too.
4856 2006-09-27 Wim Taymans <wim@fluendo.com>
4858 * docs/random/moving-plugins:
4859 Make it clear that the "compiled-in descriptions" really mean
4860 the element details.
4862 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4863 (gst_base_sink_wait_preroll):
4866 * docs/libs/gstreamer-libs-sections.txt:
4867 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4868 (gst_base_src_get_range), (gst_base_src_activate_push):
4869 * libs/gst/base/gstbasesrc.h:
4870 Added function to block while waiting for PLAYING, this function
4871 is used by live sources that block on the clock.
4872 API: gst_base_src_wait_playing()
4874 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4876 Patch by: Peter Kjellerstedt <pkj at axis com>
4879 gst-element-check.m4 is generated and should therefore be
4880 copied from the build dir rather than the source dir (#357593).
4881 'make distcheck' hasn't noticed this because we were disting
4882 the file as well, so stop doing that.
4884 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4886 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4887 Add some tests for gst_caps_intersect().
4889 * tools/gst-launch.c: (event_loop):
4890 Print all buffering percentages we get, even the 100% one.
4892 2006-09-26 Wim Taymans <wim@fluendo.com>
4894 * tools/gst-inspect.c: (print_element_properties_info),
4895 (print_signal_info):
4896 Fix printing of flags to match the look of enums.
4898 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4900 * gst/gstelementfactory.c:
4901 Fix typo in docs blurb.
4903 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4905 * gst/gsturi.c: (search_by_entry):
4906 Don't assert/crash here if a uri handler doesn't return any
4907 supported protocols. The list of protocols could be generated
4908 dynamically at runtime or at plugin registration, and an error
4909 in the underlying library shouldn't be fatal (#353301).
4911 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4914 Fix warning if HAVE_PRINTF_EXTENSION is undefined
4915 (spotted by Peter Kjellerstedt).
4917 2006-09-23 Wim Taymans <wim@fluendo.com>
4919 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4921 * libs/gst/base/gstbasesrc.c:
4922 (gst_base_src_default_check_get_range), (gst_base_src_start),
4923 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4924 (gst_base_src_change_state):
4925 Match _start/_stop calls in the activate functions. Remove redundant
4926 _stop call from the state change function. Fixes #356910.
4927 Turn failure DEBUG into ERROR.
4929 2006-09-22 Wim Taymans <wim@fluendo.com>
4931 * docs/design/part-buffering.txt:
4932 * gst/gstmessage.c: (gst_message_new_buffering),
4933 (gst_message_parse_buffering):
4934 Update docs about buffering.
4936 * docs/design/part-trickmodes.txt:
4939 2006-09-22 Stefan Kost <ensonic@users.sf.net>
4941 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4942 (gst_controller_new_list):
4943 Ref instances when returning them again (fixes #357180)
4945 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
4947 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4948 Don't forget to release proxy lock when there's an error.
4950 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
4953 Add extra initialisers for Caps things, to fix some plugin warnings
4956 2006-09-18 Wim Taymans <wim@fluendo.com>
4958 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4959 Also set template on the internal pad so that a getcaps from the
4960 target pad returns the template caps.
4962 2006-09-18 Wim Taymans <wim@fluendo.com>
4964 * gst/gstelement.c: (gst_element_post_message),
4965 (gst_element_dispose):
4966 Use _DEBUG_OBJECT some more.
4968 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4971 * tools/gst-launch.c: (main):
4972 If the toplevel element is not a GstPipeline, it must be put in a
4973 pipeline so that a bus and clock is selected.
4975 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4977 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4978 JITTER, RATE, and LATENCY query should be handled by the
4979 default case and not by the CONVERT query code.
4981 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4983 * gst/gstformat.c: (gst_format_register):
4984 Fix locking order (must take lock before using n_values).
4986 * gst/gstvalue.c: (gst_value_serialize_enum),
4987 (gst_value_deserialize_enum_iter_cmp),
4988 (gst_value_deserialize_enum):
4989 Fix serialisation/deserialisation of custom registered GstFormats.
4991 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4992 Unit test for custom format serialisation/deserialisation.
4994 2006-09-17 Stefan Kost <ensonic@users.sf.net>
4996 * docs/pwg/building-boiler.xml:
4997 * plugins/elements/gstcapsfilter.c:
4998 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5001 2006-09-16 Edward Hervey <edward@fluendo.com>
5003 * libs/gst/base/gstbasetransform.c:
5004 (gst_base_transform_buffer_alloc):
5005 Check if requested caps are the same as the sinks caps IF
5006 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5008 This fixes the renegotiation issues stated in #352827.
5010 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5013 * docs/manual/advanced-autoplugging.xml:
5014 * tests/examples/Makefile.am:
5015 * tests/examples/manual/.cvsignore:
5016 * tests/examples/manual/Makefile.am:
5017 * tests/examples/manual/extract.pl:
5018 Extract the manual examples again like we used to do.
5021 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5023 * win32/common/config.h:
5026 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5029 Documents how to receive errors.
5031 2006-09-15 Wim Taymans <wim@fluendo.com>
5033 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5034 (event_loop), (main):
5035 Added some comments here and there.
5036 Post an application message when an interrupt is caught instead of doing
5037 an uncontrolled state change.
5038 Clean up the event loop.
5039 Handle buffering messages, pause/resume the pipeline.
5040 Make shutdown because of an interrupt more reliable.
5042 2006-09-15 Wim Taymans <wim@fluendo.com>
5044 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5045 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5046 (gst_base_sink_preroll_object):
5047 Make sure that our internal state is correct when we commit our state
5048 asynchronously. This solves a race where a state change to PLAYING
5049 could cause the sink to remain blocked in preroll in some situations.
5051 2006-09-15 Wim Taymans <wim@fluendo.com>
5053 * tools/gst-inspect.c: (print_element_properties_info),
5054 (print_signal_info):
5055 List flags as hex so it's easier to deal with.
5057 2006-09-15 Wim Taymans <wim@fluendo.com>
5059 * docs/libs/gstreamer-libs-sections.txt:
5060 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5061 (gst_base_sink_do_sync):
5062 * libs/gst/base/gstbasesink.h:
5063 Expose logic to wait for preroll so that subclasses such as audiosink
5064 can also use this method.
5065 API: gst_base_sink_wait_preroll()
5067 2006-09-15 Wim Taymans <wim@fluendo.com>
5069 * gst/gstobject.c: (gst_object_set_parent):
5070 * gst/gstpipeline.c: (do_pipeline_seek):
5071 Small cleanups in docs and code.
5073 * gst/gstsegment.c: (gst_segment_clip):
5074 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5075 if stop == start and start is in the segment, no clipping should be
5076 done. Also add a test for this.
5078 2006-09-15 Wim Taymans <wim@fluendo.com>
5080 * docs/design/part-buffering.txt:
5081 * docs/gst/gstreamer-sections.txt:
5082 * gst/gstmessage.c: (gst_message_new_buffering),
5083 (gst_message_parse_buffering):
5085 Added methods to create and parse BUFFERING messages.
5086 Added preliminary docs about buffering.
5087 API: gst_message_new_buffering
5088 API: gst_message_parse_buffering
5090 2006-09-06 Wim Taymans <wim@fluendo.com>
5093 Update documentation.
5095 * gst/gstelement.c: (gst_element_class_init),
5096 (gst_element_release_request_pad), (gst_element_set_clock),
5097 (gst_element_get_index), (gst_element_add_pad),
5098 (gst_element_remove_pad), (gst_element_get_random_pad),
5099 (gst_element_send_event), (gst_element_get_query_types),
5100 (gst_element_query), (gst_element_post_message),
5101 (gst_element_message_full), (gst_element_continue_state),
5102 (gst_element_lost_state), (gst_element_save_thyself),
5103 (gst_element_restore_thyself):
5104 Documentation updates.
5105 Rename last bit of the new-pad -> pad-added signal rename.
5106 Fix the case where an element query would only work if the source
5108 Avoid some useless type checking in message handling.
5113 Documentation updates.
5115 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5117 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5118 add an INFO line for when we actually update the fd
5120 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5125 === release 0.10.10 ===
5127 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5130 releasing 0.10.10, "Pais"
5132 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5134 * docs/manual/advanced-position.xml:
5135 Fix typo in sample code.
5137 2006-09-05 Wim Taymans <wim@fluendo.com>
5139 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5140 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5141 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5142 * libs/gst/net/gstnetclientclock.h:
5143 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5144 * libs/gst/net/gstnettimepacket.h:
5145 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5146 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5147 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5148 * libs/gst/net/gstnettimeprovider.h:
5149 Make stuff compile on windows. Fixes #345295.
5151 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5153 * gst/gst.c: (ensure_current_registry_forking):
5154 Print better details when child was terminated by signal.
5156 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5158 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5159 Print a warning rather than g_assert() if a plugin feature
5160 is a URI handler but returns no protocols (#353976).
5162 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5164 * docs/random/moving-plugins:
5167 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5169 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5170 Fix locking order, handle NULL function values properly.
5175 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5176 Initialise variable before using it and fix debug statement to
5177 print the address of the function rather than the address of the
5178 variable on the stack holding the address of the function.
5180 2006-09-01 Wim Taymans <wim@fluendo.com>
5182 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5183 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5184 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5185 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5186 (gst_ghost_pad_parent_unset),
5187 (gst_ghost_pad_internal_do_activate_push),
5188 (gst_ghost_pad_internal_do_activate_pull),
5189 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5190 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5191 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5192 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5193 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5194 (gst_ghost_pad_new_no_target_from_template),
5195 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5197 Avoid needless typechecking in macros.
5198 Since the internal pad is always present and never changes, there is
5199 no need to locking or ref when retrieving it.
5200 Improve debugging a bit.
5201 Handle link errors when setting the target. Fixes #341029.
5203 2006-09-01 Wim Taymans <wim@fluendo.com>
5205 * docs/libs/gstreamer-libs-sections.txt:
5206 * docs/plugins/gstreamer-plugins-sections.txt:
5209 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5210 (gst_collect_pads_event):
5211 * libs/gst/base/gstcollectpads.h:
5212 Documentation updates.
5213 Free queued buffer when removing a pad.
5215 2006-08-31 Michael Smith <msmith@fluendo.com>
5217 * gst/gstutils.c: (gst_element_link_pads),
5218 (gst_element_link_pads_filtered):
5219 Ensure that we set a capsfilter to NULL if we failed to link it
5220 when doing filtered linking, to avoid criticals.
5222 No need to check for unreffing srcpad, which is explicly NULLed
5223 above (a trivial code cleanup).
5225 2006-08-31 Wim Taymans <wim@fluendo.com>
5227 * docs/design/part-gstghostpad.txt:
5228 Update ascii art in documentation.
5230 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5231 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5232 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5233 (gst_ghost_pad_internal_do_activate_push),
5234 (gst_ghost_pad_internal_do_activate_pull),
5235 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5236 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5237 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5238 (gst_ghost_pad_set_target):
5239 Small cleanups and leak fixes.
5240 Remove some checks now that the internal pad is never NULL.
5241 Fix the case where linking pads without a target would create nasty
5242 criticals. Fixes #341029.
5243 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5244 value of _set_target().
5246 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5247 (gst_ghost_pad_suite):
5248 Some more tests for creating and linking untargeted ghostpads.
5250 2006-08-31 Edward Hervey <edward@fluendo.com>
5252 * docs/gst/gstreamer-sections.txt:
5253 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5254 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5255 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5256 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5257 (gst_ghost_pad_new_from_template),
5258 (gst_ghost_pad_new_no_target_from_template):
5259 * gst/gstghostpad.h:
5260 Refactored *_new() functions.
5261 Templates are now used as a g_object_new() parameter.
5262 Use template in _do_getcaps() if we don't have a target.
5263 Small documentation cleanups.
5264 Added two new constructors:
5265 gst_ghost_pad_new_from_template()
5266 gst_ghost_pad_new_no_target_from_template()
5267 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5268 (gst_ghost_pad_suite):
5269 Added tests for new ghostpad instanciation functions.
5271 API additions: gst_ghost_pad_new_from_template,
5272 gst_ghost_pad_new_no_target_from_template
5274 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5276 * docs/random/ensonic/profiling.txt:
5277 Ideas about qos profiling.
5279 2006-08-29 Wim Taymans <wim@fluendo.com>
5281 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5285 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5288 Improve and detypofy docs.
5290 * tests/check/Makefile.am:
5291 * tests/check/gst/.cvsignore:
5292 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5293 Add a basic test suite for GstXML.
5295 2006-08-29 Wim Taymans <wim@fluendo.com>
5297 * gst/gstelement.c: (activate_pads), (clear_caps),
5298 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5299 Clear the pad caps when the element shut down all of the pads and
5300 is not streaming data that could modify the caps.
5303 2006-08-28 Michael Smith <msmith@fluendo.com>
5305 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5306 Revert previous change; I misunderstood single-segment mode.
5308 2006-08-28 Michael Smith <msmith@fluendo.com>
5310 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5311 Unset DISCONT on buffers when using single-segment mode.
5313 2006-08-28 Wim Taymans <wim@fluendo.com>
5315 * gst/gstcaps.c: (gst_caps_merge_structure):
5317 Fix docs and indentation again.
5319 * tests/check/gst/gstquery.c: (GST_START_TEST):
5320 Fix leak in tests and add some more tests.
5322 2006-08-28 Edward Hervey <edward@fluendo.com>
5324 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5325 Inform GstSegment of the last stop position in order for the current
5326 segment to have a proper duration if it doesn't have a specific stop
5327 position from which a duration could be calculated.
5328 This bug was noticeable when a non-flushing, non-update new segment was
5329 followed by another segment (all buffers from the new segment were being
5332 2006-08-28 Wim Taymans <wim@fluendo.com>
5334 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5335 Small comment update.
5337 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5338 (gst_identity_transform_ip):
5339 Drop-probability is broken, mention this in the code with a
5340 FIXME and also in the property description.
5341 Make silent also be silent about the drop messages.
5343 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5345 * docs/manual/appendix-win32.xml:
5346 Remove mention of popt, we don't depend on that any
5347 longer (#353136). Add some comments pointing out that
5348 this section is slightly outdated.
5350 2006-08-28 Wim Taymans <wim@fluendo.com>
5352 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5354 * gst/gstquery.c: (gst_query_new_segment):
5355 * tests/check/gst/gstquery.c: (GST_START_TEST):
5356 Initialize variables when creating a new segment query.
5359 2006-08-28 Wim Taymans <wim@fluendo.com>
5361 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5363 * gst/gstelement.c: (gst_element_get_bus):
5364 * tests/check/gst/gstelement.c: (GST_START_TEST):
5365 Check for NULL before _reffing the bus. Fixes #353122.
5367 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
5369 * docs/manual/basics-bus.xml:
5370 Docs update: fix wrong callback return value explanation; add
5371 some lines about the implicit relationship between main loop
5372 and main context; remove duplicate main loop variable declaration.
5374 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
5376 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5377 Don't leak caps in unit test; add a few more simple
5380 2006-08-24 Stefan Kost <ensonic@users.sf.net>
5382 * docs/gst/gstreamer-sections.txt:
5383 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5384 (gst_caps_structure_is_subset), (gst_caps_merge),
5385 (gst_caps_merge_structure):
5387 * libs/gst/base/gstbasetransform.c:
5388 (gst_base_transform_transform_caps):
5389 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5390 implement caps merging (fixes #352580)
5392 2006-08-23 Stefan Kost <ensonic@users.sf.net>
5394 * tools/Makefile.am:
5395 * tools/gst-plot-timeline.py:
5396 add debug-log plotting developer tool (#340674)
5398 2006-08-23 Wim Taymans <wim@fluendo.com>
5400 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5401 (gst_pad_stop_task):
5402 Improve debugging for task functions.
5404 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5405 (gst_task_start), (gst_task_pause), (gst_task_join):
5406 Make sure that the task function started and finished after a
5408 Don't try to push the task function on the threadpool multiple
5410 Improve the g_warning message with some useful suggestions
5411 about how to fix the problem.
5413 2006-08-23 Wim Taymans <wim@fluendo.com>
5415 * gst/gstutils.c: (gst_pad_proxy_getcaps):
5416 Handle RESYNC correctly in _proxy_getcaps.
5418 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
5420 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5421 (gst_xml_parse_memory), (gst_xml_get_element):
5422 Chain up to parent class in dispose function and also
5423 unref the elements in the toplevel_elements GList.
5424 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5425 Always return a reference in gst_xml_get_element() rather
5426 than only sometimes.
5428 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5429 Don't leak GstXml object.
5431 2006-08-21 Stefan Kost <ensonic@users.sf.net>
5433 * docs/gst/gstreamer-sections.txt:
5434 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5437 * libs/gst/base/gstbasetransform.c:
5438 (gst_base_transform_transform_caps):
5439 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5442 2006-08-21 Edward Hervey <edward@fluendo.com>
5444 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5445 Implement GObject::dispose virtual method in GstXML so we can free the
5448 2006-08-21 Wim Taymans <wim@fluendo.com>
5450 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5451 (gst_buffer_create_sub):
5452 Copy duration/offset_end/caps when creating a subbuffer of the
5454 Make the subbuffer read-only when we make the metadata writable for
5457 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5458 Added check for metadata copy when creating subbuffers.
5460 2006-08-21 Edward Hervey <edward@fluendo.com>
5462 * libs/gst/base/gstbasetransform.c:
5463 (gst_base_transform_buffer_alloc):
5464 Only call downstream buffer_alloc if transform element is passthrough
5465 or always_in_place. Closes #350449.
5467 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5470 ChangeLog surgery to add comments to previous changes
5472 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5477 * gst/gstpad.c: (gst_pad_set_active):
5478 Be more verbose in the log
5480 * libs/gst/base/gstbasetransform.c:
5481 (gst_base_transform_transform_caps):
5482 Simplify caps to get rid of duplicates, fixes #345444
5484 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5488 Use these optimizations only internally.
5490 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5492 * gst/gstvalue.c: (gst_value_compare_list),
5493 (gst_value_compare_fraction_range),
5494 (gst_value_intersect_fraction_fraction_range),
5495 (gst_value_intersect_fraction_range_fraction_range),
5496 (gst_value_subtract_fraction_fraction_range),
5497 (gst_value_subtract_fraction_range_fraction_range),
5498 (gst_value_get_compare_func), (gst_value_compare),
5499 (gst_value_compare_with_func):
5501 Saves the expensive lookup of the compare function in many cases
5504 2006-08-18 Edward Hervey <edward@fluendo.com>
5506 * tests/check/gst/gstinfo.c: (gst_info_suite):
5507 Disable test that require gstdebug if it wasn't built in core.
5509 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5511 * docs/random/ensonic/logging.txt:
5514 * gst/gstinfo.c: (gst_debug_log_default):
5515 reorder fields, save some columns, add optional color codes for log
5518 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5520 * docs/random/ensonic/logging.txt:
5521 add ideas about making the logs a bit more useful
5523 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5525 * docs/pwg/advanced-events.xml:
5526 * docs/pwg/titlepage.xml:
5527 Update for 0.10 API (#340627). Add myself
5530 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5532 * docs/libs/gstreamer-libs-docs.sgml:
5533 * docs/libs/gstreamer-libs-sections.txt:
5534 * libs/gst/check/gstbufferstraw.c:
5535 Make gstcheck stuff show up in docs (still needs to
5536 be documented properly though).
5538 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5540 * docs/gst/gstreamer-sections.txt:
5542 * gst/gst.c: (init_post):
5543 * gst/gst_private.h:
5544 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5546 * gst/gstquery.c: (gst_query_new_position),
5547 (gst_query_set_position), (gst_query_parse_position),
5548 (gst_query_new_duration), (gst_query_set_duration),
5549 (gst_query_parse_duration), (gst_query_new_convert),
5550 (gst_query_set_convert), (gst_query_parse_convert),
5551 (gst_query_new_segment), (gst_query_set_segment),
5552 (gst_query_parse_segment), (gst_query_new_seeking),
5553 (gst_query_set_seeking), (gst_query_parse_seeking):
5554 Add internal helpers for pre-registering quarks from static strings
5555 and using the quark values directly instead of looking them up when
5556 creating and parsing queries. Can be used for event construction too.
5559 2006-08-16 Wim Taymans <wim@fluendo.com>
5564 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5566 * gst/gstutils.c: (gst_util_set_value_from_string):
5567 Fix memleak (#351502).
5569 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5570 Add unit test for most of gst_util_set_value_from_string()
5571 (not that one would want to encourage use of this function).
5573 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5575 * libs/gst/check/gstcheck.h:
5576 Use const gchar * variables in fail_unless_equals_string
5577 macro to avoid compiler warnings (and don't use tabs for
5580 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5582 * tools/gst-launch.c: (print_tag):
5583 More space on the left for the tag names, to cater
5584 for the 'extended comment' tag (not touching the
5585 string for the first line since it's translated).
5587 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5589 * libs/gst/check/gstcheck.h:
5590 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5591 print something when they fail.
5593 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5595 * docs/gst/gstreamer-sections.txt:
5596 * gst/gsttaglist.c: (_gst_tag_initialize):
5598 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5599 Also change merge function for GST_TAG_COMMENT to
5602 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5604 * gst/gstinfo.c: (gst_debug_print_object):
5605 Make GST_PTR_FORMAT print messages as well.
5607 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5608 (GST_START_TEST), (gst_info_suite):
5611 2006-08-14 Edward Hervey <edward@fluendo.com>
5613 * gst/gstelementfactory.c: (gst_element_register):
5614 If the GstElementClass doesn't have a GstElementDetails with all fields
5615 filled up correctly (longname, description AND author), then error out
5616 nicely instead of crashing.
5618 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5620 * gst/gststructure.c:
5621 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5624 Expand on the difference between arrays and lists as we use them.
5626 2006-08-14 Wim Taymans <wim@fluendo.com>
5628 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5629 If the parent state change function failed, don't assume we can safely
5630 stop the source, this will be done when the pads are deactivated.
5632 2006-08-14 Wim Taymans <wim@fluendo.com>
5635 * gst/gsttask.c: (gst_task_join):
5638 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5639 (gst_pad_stop_task):
5640 When pad (de)activation failed for some reason, restore the old
5641 activation mode and set the pad to flushing instead of assuming the
5643 If the _task_join() failed, reinstall the task on the pad so that it can
5644 be stopped later and return an error.
5646 2006-08-11 Andy Wingo <wingo@pobox.com>
5649 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5650 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5651 is only for users of API that don't want to see deprecated
5652 functions in the headers; people that want to compile out
5653 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5654 CFLAGS. Fixes the build of multifdsink, or will soon..
5656 2006-08-11 Wim Taymans <wim@fluendo.com>
5658 * docs/gst/gstreamer-sections.txt:
5659 Add GstClockClass vmethod docs.
5662 Mark #endif with comment for associated #if
5664 * gst/gstclock.c: (gst_clock_id_wait):
5666 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5667 most clock implementations.
5669 Flesh out docs about resolution methods.
5670 API: GstClockClass::wait_jitter
5672 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5673 (gst_system_clock_async_thread),
5674 (gst_system_clock_id_wait_jitter_unlocked),
5675 (gst_system_clock_id_wait_jitter):
5676 Use base class wait_jitter variant for improved performance
5677 due to less clock polling.
5679 2006-08-11 Edward Hervey <edward@fluendo.com>
5681 * gst/gst.c: (gst_init_check), (init_post):
5682 Set gst as being initialized before scanning/updating the registry,
5683 since there might be my python plugin loader that calls gst_init() and
5684 we don't want to loop back in.
5687 2006-08-11 Wim Taymans <wim@fluendo.com>
5689 * docs/design/part-qos.txt:
5690 Bring docs in line with the code. Mostly the sign of the jitter was
5691 wrong in the docs. Fixes #349943.
5694 Fix the docs for the jitter.
5696 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5697 (gst_event_parse_tag), (gst_event_new_buffer_size),
5698 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5699 (gst_event_new_seek), (gst_event_parse_seek),
5700 (gst_event_new_navigation):
5701 Make sure the GstStructure has no parent when creating custom
5703 Add some more argument checking so that we avoid 0.0 rates.
5704 Flesh out the docs for the QoS event some more.
5706 2006-08-11 Wim Taymans <wim@fluendo.com>
5708 * docs/gst/gstreamer-sections.txt:
5709 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5710 (ensure_current_registry_forking), (ensure_current_registry),
5711 (parse_one_option), (parse_goption_arg), (gst_deinit),
5712 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5715 Added API and command line option to disable registry forking in
5716 addition to the environment variable.
5717 Constify some static arrays.
5718 Added some more debug.
5720 API: gst_registry_fork_is_enabled()
5721 API: gst_registry_fork_set_enabled()
5722 API: --gst-disable-registry-fork command line option
5725 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5727 * gst/gst.c: (gst_init):
5728 Fix typo in error message.
5730 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5732 * libs/gst/controller/gstcontroller.h:
5733 fix ABI size-correction
5735 * tests/check/libs/gdp.c: (gst_dp_suite):
5736 make tests that use deprecated API conditional
5738 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5740 * docs/libs/gstreamer-libs-sections.txt:
5741 * libs/gst/controller/gstcontroller.c:
5742 (_gst_controller_get_property), (_gst_controller_set_property),
5743 (_gst_controller_init), (_gst_controller_class_init):
5744 * libs/gst/controller/gstcontroller.h:
5745 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5746 (gst_object_set_control_rate):
5747 API: add gst_object_{s,g}et_control_rate(), add private data section,
5750 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5751 * libs/gst/dataprotocol/dataprotocol.h:
5752 add deprecation guards to make gtk-doc happy and allow disabling cruft
5754 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5756 * tests/check/Makefile.am:
5757 * tests/check/gst/.cvsignore:
5758 Let's enable the new unit test as well.
5760 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5763 * docs/gst/gstreamer-sections.txt:
5764 * gst/gstconfig.h.in:
5765 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5766 (_gst_info_printf_extension_ptr),
5767 (_gst_info_printf_extension_segment):
5768 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5769 register that lets us easily dump GstSegments into debug
5772 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5773 (info_segment_format_printf_extension), (gst_info_suite):
5774 Add simple unit test that logs a bunch of different segments (not
5775 valgrinded at the moment because of leaks in
5776 gst_debug_add_log_function).
5778 2006-08-09 Edward Hervey <edward@fluendo.com>
5780 * libs/gst/base/gstbasetransform.c:
5781 (gst_base_transform_buffer_alloc):
5782 Even if we can't figure out the proper format to request downstream,
5783 call buffer_alloc() downstream with the input parameters without setting
5784 the caps on the srcpad. This will force negotiation in the chain
5788 2006-08-08 Edward Hervey <edward@fluendo.com>
5790 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5791 Unlinking from a pad without a target is now a perfectly valid case
5792 which should NOT raise an assertion.
5793 This case would happen if a linked ghostpad its target set to NULL after
5794 it was previously linked.
5796 2006-08-08 Edward Hervey <edward@fluendo.com>
5798 * tests/check/libs/gdp.c:
5799 Also comment out the test (see below).
5801 2006-08-08 Edward Hervey <edward@fluendo.com>
5803 * tests/check/libs/gdp.c: (gst_dp_suite):
5804 Use the architecture information from config.h and not gcc macros
5805 in order to properly disable a test that fails on PPC64.
5807 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5809 * gst/gstelement.c: (gst_element_remove_pad):
5810 Don't crash printing the warning if the pad has no parent.
5812 2006-08-02 Wim Taymans <wim@fluendo.com>
5814 * libs/gst/dataprotocol/dataprotocol.c:
5815 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5816 (gst_dp_crc), (gst_dp_header_payload_length),
5817 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5818 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5819 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5820 (gst_dp_event_from_packet), (gst_dp_validate_header),
5821 (gst_dp_validate_payload):
5822 Make debug category static
5823 Constify the crc table.
5824 Do some more arg checking in public functions.
5825 Fix some docs and do some small cleanups.
5827 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5828 Add some more checks to see if GDP deals with bogus input.
5830 2006-07-31 Wim Taymans <wim@fluendo.com>
5832 * gst/gstvalue.c: (gst_value_compare_list):
5833 Fix GstValueList comparison code. Fixes #347293.
5835 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5836 Check to test GstValueList comparison.
5838 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5840 * gst/gstelementfactory.c: (gst_element_factory_create):
5841 Remove unnecessary ref/unref pair
5843 * gst/parse/grammar.y:
5844 Make sure to free the parse buffer on all code paths.
5845 Move a g_free up to the error handler where it's easier to see.
5847 * tests/check/gst/gstevent.c: (test_event):
5848 Extending timeout for downstream travelling events to 10 seconds to
5849 hopefully avoid intermittent failure on the buildbots.
5851 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5852 Don't manually set the state of the src element - it will happen as a
5853 natural consequence of the pipeline changing state, and that way it
5854 will do it in the right order too.
5856 2006-07-31 Wim Taymans <wim@fluendo.com>
5858 * libs/gst/base/gstbasetransform.c:
5859 (gst_base_transform_buffer_alloc):
5860 Use OBJECT_LOCK and refcounting to get the pad caps in the
5861 buffer_alloc function because the caps could change while we are
5862 busy with them. Fixes #349105
5864 2006-07-31 Wim Taymans <wim@fluendo.com>
5866 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5867 Protect _PAD_CAPS with OBJECT_LOCK.
5869 2006-07-31 Wim Taymans <wim@fluendo.com>
5871 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5872 (gst_pad_get_property), (gst_pad_activate_pull),
5873 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5874 (gst_pad_set_activate_function),
5875 (gst_pad_set_activatepull_function),
5876 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5877 (gst_pad_set_getrange_function),
5878 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5879 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5880 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5881 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5882 (gst_pad_set_acceptcaps_function),
5883 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5884 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5885 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5886 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5887 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5888 (gst_pad_configure_sink), (gst_pad_configure_src),
5889 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5890 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5891 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5892 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5893 (gst_pad_send_event):
5894 Use _DEBUG_OBJECT when it makes sense.
5895 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5896 Small cleanups and code reflows.
5897 Avoid caps refcounting in _accept_caps.
5898 Refactor alloc_buffer so that the code performed on the peer is in a
5899 separate function. Also if the pad does not implement a buffer alloc
5900 function, we should still check if the pad is flushing before falling
5901 back to the default allocator.
5903 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5905 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5906 Make all uses of identity and fakesink have silent=true to avoid
5907 serialising every passing data structure, which is breaking tests
5908 on FC4 for some unknown reason.
5910 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5912 * gst/parse/Makefile.am:
5913 * gst/parse/grammar.y:
5914 * gst/parse/parse.l:
5915 Reverted previous patch as it required to bump the flex dependency to
5916 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5918 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5920 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5922 * gst/parse/Makefile.am:
5923 * gst/parse/grammar.y:
5924 * gst/parse/parse.l:
5925 push & pop the state of the lexer for reentrant use case
5928 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
5930 * libs/gst/base/gstbasesrc.h:
5931 Note in the docs that the ::newsegment vfunc is not actually used by
5934 2006-07-28 Wim Taymans <wim@fluendo.com>
5936 * libs/gst/base/gstcollectpads.c:
5937 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5938 (gst_collect_pads_clear), (gst_collect_pads_flush),
5939 (gst_collect_pads_event), (gst_collect_pads_chain):
5940 When flushing a pad, also clear the queued buffer so that we don't
5941 accidentally use it when we shouldn't.
5942 Fix leaks by inreffing incomming buffer.
5943 Flush out queued buffers in case of errors.
5946 2006-07-28 Wim Taymans <wim@fluendo.com>
5948 * docs/random/phonon-gst:
5949 Random notes about a Phonon backend.
5951 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5953 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5955 * tests/check/libs/gdp.c: (gst_dp_suite):
5956 Take a whack at fixing the ppc compile using a different define to
5957 disable the broken test.
5959 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5960 Remove excess g_print()
5962 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5964 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5965 Oops, meant to uncomment this line too to dampen the noise a bit.
5967 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5969 * gst/parse/grammar.y:
5970 * gst/parse/parse.l:
5971 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5972 (GST_START_TEST), (parse_suite):
5973 Fix some of the leaks exposed by extending the parse-launch testsuite,
5974 and move the 3 I can't figure out into a separate test that won't run
5975 the pipelines unless the appropriate line is uncommented.
5977 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5979 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5980 Requesting 0 bytes before the end of the file should result in
5981 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
5984 2006-07-27 Wim Taymans <wim@fluendo.com>
5986 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
5987 Fix useless assert, a uint is always positive.
5989 * gst/gststructure.c: (gst_structure_nth_field_name),
5990 (gst_structure_foreach), (gst_structure_map_in_place):
5991 Check input arguments for public functions to avoid obvious crashes.
5993 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
5994 * plugins/elements/gstfakesink.h:
5995 Do less useless typechecking.
5997 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5999 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6000 Do not use mmap() by default since there are a number of error
6001 conditions that we would like to handle in a non-fatal way that
6002 will result in a SIGBUS if we use mmap(). Examples: external
6003 devices (USB harddrive, portable music player) being unplugged
6004 while in use; file on mounted CD/DVD that can't be read because
6005 the medium is partly damaged. Fixes #348455 and #348475.
6007 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6010 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6013 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6015 * gst/gstregistry.c:
6016 Move big documentation comment into class section header, so that it
6017 appears in the API docs.
6019 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6021 * docs/gst/gstreamer-sections.txt:
6022 Oops. Commit the docs additions too for new API.
6023 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6025 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6027 * gst/gststructure.c: (gst_structure_id_set),
6028 (gst_structure_id_set_valist):
6029 * gst/gststructure.h:
6030 Add API for setting values into structures without performing
6031 a quark lookup, if the appropriate quark is already known.
6033 API: gst_structure_id_set
6034 API: gst_structure_id_set_valist
6036 * gst/parse/grammar.y:
6037 * gst/parse/parse.l:
6038 Remove some dead code shown by the coverage information.
6039 Don't throw a critical g_warning when encountering a syntax error,
6040 just warn and let the normal error path handle it.
6042 * plugins/elements/gstelements.c:
6043 Bump the rank of filesink up to PRIMARY so that it is preferred over
6044 gnomevfssink for file:// sink uri's
6046 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6047 (GST_START_TEST), (run_delayed_test),
6048 (gst_parse_test_element_base_init),
6049 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6050 (gst_parse_test_element_change_state),
6051 (gst_register_parse_element), (parse_suite):
6052 Beef up the tests for parse syntax to check that more error cases
6053 fail as they are supposed to. Increases the test coverage a bit.
6055 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6057 * docs/manual/basics-elements.xml:
6058 Fix gst_element_link() example.
6061 Mention in API docs that one should usually gst_bin_add()
6062 elements to a bin or pipeline before doing the linking.
6064 2006-07-26 Wim Taymans <wim@fluendo.com>
6066 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6067 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6068 Avoid function call for known types by keeping the buffer and
6069 subbuffer GType global.
6071 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6072 Random silly optimisations in read() path.
6074 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6076 * tools/gst-launch.c: (main):
6077 If the top-level of the parse is a normal bin, it doesn't do the
6078 right logic to run as a top-level element, so place it inside a
6081 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6083 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6084 Remove superfluous g_object_notify() calls, GObject does
6085 that for us automatically.
6087 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6090 on Win32, use dllspec to export the debug category symbols
6092 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6094 * gst/gsttaglist.c: (_gst_tag_initialize):
6095 Allow more than one GST_TAG_IMAGE per taglist.
6097 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6099 * gst/gstminiobject.c:
6101 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6102 (gst_fd_src_create):
6103 log recurring events at LOG level
6104 add more debug for when the fd gets set
6106 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6108 * gst/gstparse.c: (gst_parse_launch):
6109 Also remove reentrance checks if flex is MT safe (#348179)
6110 Fix my empty ChangeLog entry below
6112 2006-07-21 Andy Wingo <wingo@pobox.com>
6114 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6116 * libs/gst/check/Makefile.am
6117 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6118 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6119 * libs/gst/check/gstbufferstraw.h:
6120 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6121 functions, thus proving I am still a GStreamer haxor. OK I wrote
6122 them a long time ago, but anyways.
6124 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6127 * gst/gstparse.c: (gst_parse_launch):
6128 Check for flex version and omit mutex if we have a MT save flex
6131 2006-07-21 Wim Taymans <wim@fluendo.com>
6133 * gst/gstparse.c: (gst_parse_launch):
6134 Protect recursive calls to _parse with a recursive mutex
6137 2006-07-21 Wim Taymans <wim@fluendo.com>
6139 * tests/check/gst/gstpad.c: (GST_START_TEST):
6142 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6144 * gst/gstparse.c: (gst_parse_launch):
6145 Do not hang on recursive usage of gst_parse_launch()
6147 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6150 Add some more docs, comments and FIXME 0.11s here and there
6151 and also fix some typos.
6153 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6156 Convert tabs to spaces for better readability.
6158 2006-07-20 Edward Hervey <edward@fluendo.com>
6160 * tests/check/libs/gdp.c: (gst_dp_suite):
6161 the test_buffer test fails at line 140 on ppc64 at the following
6163 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6164 GST_BUFFER_FLAG_IN_CAPS),
6165 "GST_BUFFER_IN_CAPS flag should have been copied !");
6166 See bug #348114 for more details.
6168 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6170 * docs/pwg/advanced-scheduling.xml:
6172 Fix typos (#348000).
6174 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6176 * docs/pwg/intro-basics.xml:
6177 Fix wrong links (#347927).
6179 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6181 * gst/gstregistry.h:
6182 * gst/gstregistryxml.c: (load_feature),
6183 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6184 * win32/common/config.h:
6185 make --disable-index work (#342564)
6187 2006-07-18 Wim Taymans <wim@fluendo.com>
6189 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6193 The attached patch adds two missing defines to gsttrace.h when tracing
6194 is disabled. It also corrects one existing define.
6197 2006-07-17 Wim Taymans <wim@fluendo.com>
6199 * docs/gst/gstreamer-sections.txt:
6200 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6202 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6203 Add two functions to check and change the SIGSEGV behaviour
6204 when loading plugins.
6205 Don't mess with the SIGSEGV handler when we were told not to.
6207 API: gst_segtrap_is_enabled
6208 API: gst_segtrap_set_enabled
6210 2006-07-14 Wim Taymans <wim@fluendo.com>
6212 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6213 * tests/check/elements/filesrc.c: (GST_START_TEST):
6214 Revert fix for regression in #347408 after release.
6216 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6218 Patch by: Antoine Tremblay <hexa00 at gmail com>
6220 * gst/gstutils.c: (gst_element_unlink):
6221 Free iterator when done (#347311).
6223 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6224 And add a test case for this.
6226 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6229 Bump nano back to CVS
6231 === release 0.10.9 ===
6233 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6236 releasing 0.10.9, "On the road again"
6238 2006-07-13 Wim Taymans <wim@fluendo.com>
6240 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6241 * tests/check/elements/filesrc.c: (GST_START_TEST):
6242 Revert pull-0 fix for release. Disable check. Fixes #347408.
6244 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6246 * libs/gst/dataprotocol/dataprotocol.c:
6247 (gst_dp_event_from_packet_1_0):
6248 Fixes #347337: failure to deserialize event packets with
6249 empty payload (only event type)
6251 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6254 do not install a .c file in the header directory
6256 2006-07-13 Edward Hervey <edward@fluendo.com>
6258 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6259 GhostPad no longer implicitely use the padtemplates of the targets.
6262 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6264 * gst/gstvalue.c: (gst_value_compare_list),
6265 (gst_value_compare_array), (_gst_value_initialize):
6266 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6267 Make GstValueArray comparison be order dependent as designed.
6268 Add checks for value lists and value array comparisons.
6271 2006-07-11 Edward Hervey <edward@fluendo.com>
6273 * gst/gstbin.c: (activate_pads),
6274 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6275 (gst_bin_change_state_func):
6276 (de)activate src pads before calling state_change on the childs.
6277 This is to avoid the case where a src ghostpad is blocked (holding the
6278 stream lock), which would block the deactivation of the ghostpad's
6280 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6281 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6282 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6283 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6284 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6285 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6286 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6287 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6288 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6289 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6290 (gst_ghost_pad_class_init),
6291 (gst_ghost_pad_internal_do_activate_push),
6292 (gst_ghost_pad_internal_do_activate_pull),
6293 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6294 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6295 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6296 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6297 GhostPads now create their internal GstProxyPad at creation (and not
6298 when they're linked, as it was being done previously).
6299 The internal and target pads are linked straight away.
6300 The data will also travel through the other pad in order to make
6301 pad blocking and probes non-hackish (the probe/block now really happens
6302 on the GhostPad and not on the target).
6303 * gst/gstpad.c: (gst_pad_set_blocked_async),
6304 (gst_pad_link_prepare), (gst_pad_push_event):
6305 Remove previous ghostpad cruft.
6306 * gst/gstutils.c: (gst_pad_add_data_probe),
6307 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6308 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6309 (gst_pad_remove_buffer_probe):
6310 Remove previous ghost pad cruft.
6311 Added more detailed debug statements.
6312 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6313 Fix the testsuite for refcounting changes.
6314 The comments about who has references were correct, but the refcount
6315 being checked wasn't the same (!?!).
6319 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6321 * docs/gst/gstreamer-sections.txt:
6322 * gst/gstconfig.h.in:
6323 More docs for configuration options, add docs to gtk-doc.
6325 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6328 * gst/gstconfig.h.in:
6329 * win32/common/config.h:
6330 Fix build when disabling tracing (fixes #344016). Also start to document
6331 the defines that disable the sub-systems.
6333 2006-07-10 Edward Hervey <edward@fluendo.com>
6335 * gst/gst.c: (ensure_current_registry_forking):
6336 let's make valgrind happy...
6338 2006-07-09 Wim Taymans <wim@fluendo.com>
6340 * gst/gstelement.c: (activate_pads),
6341 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6342 Better pad activation code: Reset the collect value too on resync.
6345 2006-07-09 Wim Taymans <wim@fluendo.com>
6347 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6348 (gst_pad_activate_push):
6349 Use some more macros where it makes sense.
6350 Allow pad mode switching instead of asserting. When a pad
6351 is activated in one mode and we activate it in another,
6352 deactivate it first before activating it in a different mode.
6355 2006-07-08 Andy Wingo <wingo@pobox.com>
6357 * tools/gst-launch.c (main): Handle err == NULL.
6359 * gst/gst.c (init_post, ensure_current_registry)
6360 (ensure_current_registry_forking)
6361 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6362 factoring out the registry scanning into separate functions. Don't
6363 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6364 Better environment var name/interface suggestions accepted.
6366 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6368 * gst/gstobject.c: (gst_object_set_name_default),
6369 (gst_object_set_name):
6370 Random micro-optimisation: don't use a hash table
6371 with strings as keys and the usual strdup/strcmp
6372 involved, but rather just use the GQuark of the
6373 type name as key, since it needs to be looked up
6374 anyway to get the type name string.
6376 * tests/check/gst/gstobject.c: (GST_START_TEST):
6379 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6381 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6382 (gst_bin_iterate_all_by_interface):
6383 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6384 GTypes are gulongs and thus the top 4 bytes might be cut
6385 off on some platforms when doing GPOINTER_TO_INT, leading
6386 to invalid GTypes and bad things happening (see RH bug #179654).
6387 Also add a check to make sure the type passed in is really
6390 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6395 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6399 * gst-element-check.m4:
6400 * gst-element-check.m4.in:
6401 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6402 instead of the unversioned gst-inspect (#324176, #168659).
6404 2006-07-06 Wim Taymans <wim@fluendo.com>
6407 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6410 2006-07-06 Wim Taymans <wim@fluendo.com>
6412 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6413 (gst_base_src_wait), (gst_base_src_update_length),
6414 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6415 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6416 (gst_base_src_loop), (gst_base_src_start),
6417 (gst_base_src_activate_pull):
6419 blocksize == 0 now means the default blocksize when working in push
6421 Remove some pointless asserts in _wait function.
6422 Fix offset/length calculations and EOS handling. We can now pull 0
6423 bytes as well, which is allowed.
6424 use _check_get_range() to decide if we can operate in _pull based
6426 Fix refcounting leak when check_get_range function was not
6428 API GstBaseSrc::blocksize range can be 0 too now (default)
6430 * tests/check/elements/filesrc.c: (GST_START_TEST),
6432 Added check to test _get_range() behaviour.
6434 2006-07-06 Wim Taymans <wim@fluendo.com>
6436 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6437 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6438 (gst_pad_pull_range):
6440 Lots of comments and docs added to the pad functions.
6441 Flesh out the expected behaviour of the get_range() functions.
6443 2006-07-06 Wim Taymans <wim@fluendo.com>
6448 * gst/gstiterator.h:
6452 Remove comma at end of enumerator list.
6454 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
6456 * win32/common/libgstbase.def:
6457 * win32/common/libgstdataprotocol.def:
6458 * win32/common/libsgtreamer.def:
6459 Add new exported functions.
6461 2006-07-05 Wim Taymans <wim@fluendo.com>
6463 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6464 Add some more docs here and there.
6466 2006-07-05 Wim Taymans <wim@fluendo.com>
6468 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6469 (gst_base_sink_loop), (gst_base_sink_get_position):
6470 When operating in pull mode update the offset so that we
6473 2006-07-05 Wim Taymans <wim@fluendo.com>
6475 * gst/gstregistryxml.c: (read_string):
6476 Avoid strdup. (will happen in libxml, but hey!)
6481 2006-07-05 Wim Taymans <wim@fluendo.com>
6483 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6484 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6486 No point in checking if the size of the subbuffer > 0, the
6487 code handles it correclty as demonstrated by unit test.
6488 Also add a unit test for the zero sized _new_and_alloc and
6489 _copy. Fixes #346663.
6491 2006-07-05 Wim Taymans <wim@fluendo.com>
6493 * libs/gst/base/gstbasetransform.c:
6494 (gst_base_transform_prepare_output_buffer),
6495 (gst_base_transform_buffer_alloc),
6496 (gst_base_transform_handle_buffer):
6497 Make sure the buffer we pass to transform_ip has a refcount of
6498 1 and thus is writable. Fixes #343196
6500 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6502 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6503 (gst_file_src_init), (gst_file_src_set_property),
6504 (gst_file_src_get_property), (gst_file_src_map_region):
6505 * plugins/elements/gstfilesrc.h:
6506 Add "sequential" property, off by default, to use madvise and hint
6507 to the kernel that sequential access is desired.
6508 Touch all retrieved pages by default to ensure they are pulled
6509 into memory. (Closes #345720)
6511 2006-07-03 Wim Taymans <wim@fluendo.com>
6513 * docs/design/part-block.txt:
6514 * docs/design/part-dynamic.txt:
6517 2006-07-03 Wim Taymans <wim@fluendo.com>
6519 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6520 (gst_caps_unref), (gst_static_caps_get),
6521 (gst_caps_append_structure):
6522 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6523 Use GSlice when the glib we build against is >= 2.10
6525 2006-07-03 Wim Taymans <wim@fluendo.com>
6527 * gst/gstelement.c: (gst_element_pads_activate):
6528 Small cleanup in pad activation code.
6530 2006-07-03 Wim Taymans <wim@fluendo.com>
6532 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6534 * gst/gst-i18n-app.h:
6535 * gst/gst-i18n-lib.h:
6536 * tools/gst-inspect.c: (print_signal_info):
6537 The attached patch will make the inclusion of gettext.h unconditional in
6538 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6539 libintl.h in tools/gst-inspect.c.
6540 This allows use of --disable-nls again and fixes #344642.
6542 2006-07-03 Edward Hervey <edward@fluendo.com>
6544 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6545 Implement pad blocking on events according to part-block.txt.
6546 More comments on behaviour.
6547 * tests/check/gst/gstevent.c: (test_event):
6548 Send event to peer pad of blocked pad (else it will block).
6550 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6552 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6553 (gst_check_run_suite):
6554 if we get the wrong message, give us the types as string
6555 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6557 * tests/check/elements/filesrc.c: (GST_START_TEST):
6558 add a test for trying to open a non-existing file
6560 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6562 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6563 add a test for adding self
6565 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6567 * libs/gst/check/gstcheck.h:
6568 add some assert_ as alias for fail_unless_*
6569 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6570 increase test coverage
6572 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6575 include lcov.mak for lcov coverage generation
6576 * tools/Makefile.am:
6579 2006-07-02 Edward Hervey <edward@fluendo.com>
6581 * tests/check/elements/.cvsignore:
6584 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6587 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6588 * tests/check/Makefile.am:
6591 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6593 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6594 remove gst_caps_simplify; it was not declared and not used
6595 and deprecated in 0.8
6597 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6599 * docs/faq/gst-uninstalled:
6600 don't put empty paths on PYTHONPATH
6601 * docs/gst/gstreamer-sections.txt:
6602 remove some symbols that are not there
6604 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6606 * gst/gstcaps.c: (gst_caps_compare_structures):
6608 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6609 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6612 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6614 * libs/gst/dataprotocol/Makefile.am:
6615 build dataprotocol test by linking to the lib, instead of
6616 compiling the source, so we get coverage
6617 * tests/check/Makefile.am:
6618 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6619 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6620 add a test for filesrc
6622 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6624 * tests/check/gst/gststructure.c: (GST_START_TEST),
6625 (gst_structure_suite):
6626 Push coverage from 59.04% to 70.00%
6628 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6630 * tests/check/Makefile.am:
6631 gst-inspect every element; this makes sure that we also get
6632 coverage on element's get/set functions
6634 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6637 set CFLAGS and friends to -O0 if gcov is being used
6640 * libs/gst/base/Makefile.am:
6641 * libs/gst/check/Makefile.am:
6642 * libs/gst/controller/Makefile.am:
6643 * libs/gst/dataprotocol/Makefile.am:
6644 * libs/gst/net/Makefile.am:
6645 * plugins/elements/Makefile.am:
6646 * plugins/indexers/Makefile.am:
6647 add makefile rules to generate gcov data and clean up
6648 * tests/check/Makefile.am:
6649 add a coverage target that generates an html overview
6652 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6654 * tests/check/elements/fakesink.c:
6655 * tests/check/elements/fakesrc.c:
6656 * tests/check/elements/fdsrc.c:
6657 * tests/check/elements/identity.c:
6658 * tests/check/generic/sinks.c: (gst_sinks_suite):
6659 * tests/check/generic/states.c:
6660 * tests/check/gst/gst.c:
6661 * tests/check/gst/gstabi.c:
6662 * tests/check/gst/gstbin.c:
6663 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6664 * tests/check/gst/gstbus.c: (gst_bus_suite):
6665 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6666 * tests/check/gst/gstelement.c:
6667 * tests/check/gst/gstevent.c: (gst_event_suite):
6668 * tests/check/gst/gstghostpad.c:
6669 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6670 * tests/check/gst/gstmessage.c: (gst_message_suite):
6671 * tests/check/gst/gstminiobject.c:
6672 * tests/check/gst/gstobject.c:
6673 * tests/check/gst/gstpad.c:
6674 * tests/check/gst/gstpipeline.c:
6675 * tests/check/gst/gstplugin.c:
6676 * tests/check/gst/gstquery.c: (gst_query_suite):
6677 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6678 * tests/check/gst/gststructure.c:
6679 * tests/check/gst/gstsystemclock.c:
6680 * tests/check/gst/gsttag.c:
6681 * tests/check/gst/gsttask.c: (gst_task_suite):
6682 * tests/check/gst/gstutils.c:
6683 * tests/check/gst/gstvalue.c:
6684 * tests/check/libs/adapter.c:
6685 * tests/check/libs/basesrc.c:
6686 * tests/check/libs/collectpads.c:
6687 * tests/check/libs/controller.c:
6688 * tests/check/libs/gdp.c: (gst_dp_suite):
6689 * tests/check/libs/gstnetclientclock.c:
6690 * tests/check/libs/gstnettimeprovider.c:
6691 * tests/check/libs/libsabi.c: (libsabi_suite):
6692 * tests/check/libs/typefindhelper.c:
6693 * tests/check/pipelines/cleanup.c:
6694 * tests/check/pipelines/parse-launch.c:
6695 * tests/check/pipelines/simple-launch-lines.c:
6696 * tests/check/pipelines/stress.c: (stress_suite):
6699 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6701 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6702 * libs/gst/check/gstcheck.h:
6703 create a macro and function so that the simple unit test
6704 case can be just one macro to create main()
6706 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6708 * gst/gstbin.c: (gst_bin_restore_thyself):
6709 * gst/gstxml.c: (gst_xml_make_element):
6710 Fix deserialisation from XML. Set parent manually
6711 instead of using gst_bin_add(), since gst_bin_add()
6712 will unlink all pads of the element being added.
6715 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6717 Patch by: Peter Kjellerstedt <pkj at axis com>
6719 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6720 Fix missing g_strdup() and double free when using the
6721 --gst-plugin-load command line option (#346097).
6723 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6726 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6728 * libs/gst/net/gstnetclientclock.c:
6729 * libs/gst/net/gstnettimeprovider.c:
6730 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6732 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6734 * docs/manual/advanced-dataaccess.xml:
6735 Fix buffer probe example compilation in
6738 2006-06-22 Edward Hervey <edward@fluendo.com>
6740 * gst/gstelement.c: (gst_element_pads_activate):
6741 We need to deactivate src pads first and then sink pads.
6742 The reason is the src pads might be blocking while holding the streaming
6743 lock, so we need to deactivate them first so that deactivating the sink
6744 pads doesn't block (since it will require the streaming lock).
6746 2006-06-22 Wim Taymans <wim@fluendo.com>
6748 * libs/gst/base/gstbasetransform.c:
6749 (gst_base_transform_buffer_alloc):
6750 Forgot to remove two unneeded unrefs.
6751 Simplify a check _is_equal allready checks the obvious case.
6753 2006-06-22 Wim Taymans <wim@fluendo.com>
6755 * docs/design/part-block.txt:
6756 Some docs about what pad_block should do.
6758 2006-06-22 Wim Taymans <wim@fluendo.com>
6760 * gst/gstcaps.c: (gst_caps_replace):
6761 Fix crasher when passed NULL. Doc clarification.
6762 Optimize for the trivial case.
6764 * gst/gstpipeline.c: (gst_pipeline_change_state):
6767 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6768 Small documentation cleanup.
6770 * libs/gst/base/gstbasetransform.c:
6771 (gst_base_transform_buffer_alloc):
6772 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6773 is what we need and it avoids a whole lot of redundant
6774 refcount operations.
6776 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6778 Patch by: Philip Jägenstedt <philip at lysator liu se>
6780 * docs/manual/advanced-dataaccess.xml:
6781 Fix 'Embedding static elements' section to use
6782 GST_PLUGIN_DEFINE_STATIC (#345607).
6784 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6786 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6787 Attempt to 'fix' spuriously failing test case: it seems like the
6788 timeout of half a second is simply too small when the system is under
6789 load otherwise, and the timeout doesn't really seem to serve any
6790 particular purpose here. Give the pipeline a few seconds to preroll
6791 first, and then give it another half a second to go from PAUSED to
6792 PLAYING and marshal the message into the main thread.
6794 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6796 * tools/gst-feedback-m.m:
6797 Don't only use unversioned tools, try versioned tools as well
6800 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6802 * gst/gstbus.c: (gst_bus_class_init):
6803 Fix some typos, make docs more explicit.
6805 2006-06-20 Wim Taymans <wim@fluendo.com>
6807 * tests/check/gst/gstghostpad.c: (block_callback),
6808 (GST_START_TEST), (gst_ghost_pad_suite):
6809 Added some more ghostpad tests, mainly blocking
6812 2006-06-16 Wim Taymans <wim@fluendo.com>
6814 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6815 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6816 (gst_file_sink_event), (gst_file_sink_render):
6817 * plugins/elements/gstfilesink.h:
6818 Check if we can seek in the file instead of assuming
6819 we always can. Post an error when we are asked to seek in a
6820 non-seekable file (like a fifo). Fixes #343312.
6823 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6825 * tools/gst-launch.1.in:
6826 Un-garble (fourcc) bit in filtered caps section.
6828 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6830 * docs/manual/advanced-autoplugging.xml:
6831 * docs/manual/basics-helloworld.xml:
6832 * docs/manual/highlevel-components.xml:
6833 Don't leak bus reference in sample code.
6835 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6838 Add default for new --enable-plugin-docs switch.
6841 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6845 Use new ENABLE_PLUGIN_DOCS conditional.
6847 2006-06-14 Wim Taymans <wim@fluendo.com>
6849 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6850 Make it clear with a FIXME and a real define what the #if 0
6851 previously disabled.
6853 2006-06-14 Wim Taymans <wim@fluendo.com>
6855 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6856 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6857 * libs/gst/base/gstbasetransform.c:
6858 (gst_base_transform_sink_eventfunc):
6859 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6860 Don't randomly and silently reset a segment when the format
6861 changes as this is a bug somewhere upstream. Fixes #330379.
6863 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6865 Patch by: Wouter Paesen <wouter at kangaroot net>
6867 * libs/gst/controller/gstcontroller.c:
6868 (gst_controlled_property_new):
6869 Fix controlling of float properties (#344849).
6871 * tests/check/libs/controller.c:
6872 (gst_test_mono_source_get_property),
6873 (gst_test_mono_source_set_property),
6874 (gst_test_mono_source_class_init), (GST_START_TEST):
6875 While we're at it, add some float stuff to unit test.
6877 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6880 * docs/images/gdp-header.svg:
6882 * docs/libs/Makefile.am:
6883 * docs/libs/gdp-header.png:
6884 * libs/gst/dataprotocol/dataprotocol.c:
6885 add it to the API docs
6886 * docs/manual/intro-motivation.xml:
6889 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6891 * gst/gst.c: (scan_and_update_registry), (init_post):
6892 If the fork()'ed child process can't write the updated registry cache
6893 file to disk for some reason, make it exit with a failure exit code,
6894 so that the parent can then re-scan the plugins itself and update the
6895 registry structures in memory and work with that (rather than failing
6896 when creating elements because seemingly no plugins are available).
6897 Refactor registry scanning code into separate function for this and
6898 also separate fork() and non-fork() code paths. Fixes #344748.
6900 2006-06-13 Wim Taymans <wim@fluendo.com>
6902 * docs/manual/advanced-dataaccess.xml:
6903 Fix wrong PluginDesc. Fixes #344755.
6905 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6907 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6908 Fix silly bug that prevented us from creating
6909 ~/.gstreamer-0.10 and writing the registry in one
6910 go (the first call to g_mkstemp() would overwrite the
6911 placeholder in the template string, so the second call
6912 to g_mkstemp() after creating the missing directory
6913 would then error out with 'invalid argument').
6915 2006-06-13 Edward Hervey <edward@fluendo.com>
6917 * gst/gst.c: (init_post):
6920 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6922 * gst/glib-compat-private.h:
6923 * gst/glib-compat.c:
6924 * gst/glib-compat.h:
6925 * gst/gstvalue.c: (gst_value_serialize_flags):
6926 remove GLib 2.6 compatibility code
6928 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
6930 * gst/parse/Makefile.am:
6931 Fix build with 'make -j N' even more (#340016).
6933 2006-06-12 Wim Taymans <wim@fluendo.com>
6935 * docs/gst/gstreamer-sections.txt:
6938 2006-06-12 Wim Taymans <wim@fluendo.com>
6940 * gst/gstsegment.c: (gst_segment_set_duration),
6941 (gst_segment_set_last_stop), (gst_segment_set_seek),
6942 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6943 (gst_segment_to_running_time), (gst_segment_clip):
6944 Use G_UNLIKELY to help the compiler a bit.
6946 2006-06-12 Wim Taymans <wim@fluendo.com>
6948 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6950 * gst/gstevent.c: (gst_event_get_type):
6952 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6954 constify quark registration strings. Fixes #344115
6955 Avoid unneeded type checking is _pad_push() by internally
6956 calling gst_pad_chain_unchecked().
6958 2006-06-12 Wim Taymans <wim@fluendo.com>
6960 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6961 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6962 (gst_subbuffer_finalize), (gst_buffer_create_sub),
6963 (gst_buffer_is_span_fast), (gst_buffer_span):
6964 Init _type for consistency.
6965 Use _FLAGS macro to avoid type check.
6966 Avoid unneeded type checks in subbufer code.
6968 2006-06-12 Wim Taymans <wim@fluendo.com>
6970 * gst/gst.c: (gst_debug_help):
6971 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6972 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6973 (gst_plugin_feature_list_free):
6974 * gst/gstregistry.c: (gst_registry_add_plugin),
6975 (gst_registry_add_feature), (gst_registry_plugin_filter),
6976 (gst_registry_feature_filter), (gst_registry_find_plugin),
6977 (gst_registry_find_feature), (gst_registry_get_plugin_list),
6978 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
6979 * gst/gstregistryxml.c: (load_feature),
6980 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
6981 * gst/gstminiobject.c: (gst_mini_object_unref),
6982 (gst_mini_object_replace), (gst_value_mini_object_free),
6983 (gst_value_mini_object_copy):
6984 Use _CAST macros to avoid unneeded type checking.
6985 Added some more G_UNLIKELY.
6987 2006-06-12 Wim Taymans <wim@fluendo.com>
6990 Avoid unneeded type checking.
6991 API: GST_BUFFER_IS_DISCONT
6993 * gst/gstminiobject.h:
6994 Avoid type check in flag accessor.
6996 * gst/gstelementfactory.h:
6998 * gst/gstpluginfeature.h:
7000 API: GST_ELEMENT_FACTORY_CAST
7001 API: GST_PLUGIN_CAST
7002 API: GST_PLUGIN_FEATURE_CAST
7004 2006-06-12 Wim Taymans <wim@fluendo.com>
7006 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7008 Add G_UNLIKELY in type registration.
7009 Avoid type check in _ref/_unref since that is also
7012 2006-06-12 Wim Taymans <wim@fluendo.com>
7014 * gst/gsterror.c: (gst_g_error_get_type):
7015 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7016 (gst_static_pad_template_get_type):
7017 * gst/gsttaglist.c: (gst_tag_list_get_type):
7018 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7019 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7020 * gst/gsturi.c: (gst_uri_handler_get_type):
7021 * gst/gstvalue.c: (gst_date_get_type):
7022 * gst/gstxml.c: (gst_xml_get_type):
7023 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7024 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7025 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7026 Add G_UNLIKELY in type registration.
7028 2006-06-12 Wim Taymans <wim@fluendo.com>
7030 * tools/gst-inspect.c: (print_signal_info):
7031 Properly print enum values.
7033 2006-06-12 Wim Taymans <wim@fluendo.com>
7035 * gst/gstinfo.c: (gst_debug_set_active),
7036 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7038 Add some G_[UN]LIKELY.
7039 Maintain __gst_debug_min to avoid formatting the arguments of
7040 debug messages that will be dropped anyway to avoid a lot of
7041 overhead from the debugging system.
7043 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7047 add missing files containing translatable strings, tell intltool about
7050 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7052 * tests/check/libs/.cvsignore:
7053 add test-binary to ignore list
7055 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7057 * docs/libs/gstreamer-libs-docs.sgml:
7058 reorder (put dp into a chapter) and indent
7060 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7065 === release 0.10.8 ===
7067 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7070 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7072 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7074 * gst/gst.c: (init_post):
7075 move pid declaration to declaration block
7077 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7079 * gst/gst.c: (init_post):
7080 use _exit() instead of exit() in our forked child; this ensures
7081 that none of the registered exit handlers from whatever is using
7082 GStreamer get executed. This fixes gnome-mixer-applet failing
7083 to load, because ORBit would shut down.
7084 Spotted by: Edward Hervey <edward@fluendo.com>
7085 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7088 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7093 === release 0.10.7 ===
7095 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7098 releasing 0.10.7, "Soepeke, ik zie ou"
7100 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7123 * win32/common/config.h:
7126 2006-06-07 Wim Taymans <wim@fluendo.com>
7128 * gst/gstindex.c: (gst_index_gtype_resolver):
7129 * tools/gst-xmlinspect.c: (print_plugin_info):
7130 Fix leak spotted by coverity checker. Fixes #343827
7131 Fix another other leak found by paolo borelli.
7133 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7135 * libs/gst/dataprotocol/dataprotocol.c:
7136 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7137 (gst_dp_version_get_type), (gst_dp_init),
7138 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7139 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7140 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7141 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7142 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7143 (gst_dp_packetizer_free):
7144 * libs/gst/dataprotocol/dataprotocol.h:
7145 API: add a GstDPPacketizer object, and create/free functions
7146 API: add GstDPVersion enum
7147 Add 1.0 event function that uses the string serialization
7148 Serialize more useful buffer flags
7151 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7153 * tests/check/Makefile.am:
7154 * tests/check/gst/gstabi.c:
7155 * tests/check/gst/struct_ppc64.h:
7156 * tests/check/libs/libsabi.c:
7157 * tests/check/libs/struct_ppc64.h:
7158 add ppc64 structure sizes
7160 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7162 * tests/check/Makefile.am:
7163 * tests/check/gst/gstabi.c:
7164 * tests/check/gst/struct_x86_64.h:
7165 * tests/check/libs/libsabi.c:
7166 * tests/check/libs/struct_x86_64.h:
7167 generate and add structure size lists for x86_64
7169 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7171 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7172 * libs/gst/check/gstcheck.h:
7173 factor out the method from tests that checks size of structures,
7174 and add code to generate the header containing these sizes
7175 * tests/check/gst/gstabi.c: (GST_START_TEST):
7176 * tests/check/gst/struct_i386.h:
7177 * tests/check/libs/libsabi.c: (GST_START_TEST):
7178 * tests/check/libs/struct_i386.h:
7181 2006-06-06 Michael Smith <msmith@fluendo.com>
7184 Don't use c++-style comments, fixes #343929
7186 2006-06-05 Edward Hervey <edward@fluendo.com>
7189 plugin_paths is not used if we build without registry support.
7191 * gst/gstsegment.c: (gst_segment_copy):
7192 _copy() was always returning NULL...
7194 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7196 * libs/gst/dataprotocol/dataprotocol.c:
7197 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7198 (gst_dp_packet_from_event):
7201 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7203 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7204 make sure we unset caps
7206 2006-06-02 Michael Smith <msmith@fluendo.com>
7208 * libs/gst/check/gstcheck.c: (gst_check_init),
7209 (gst_check_chain_func):
7210 * libs/gst/check/gstcheck.h:
7211 Add a cond/mutex to the check support lib, signal this whenever we
7212 add to the buffers list. This will allow tests to not busy-wait on
7215 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7217 * libs/gst/dataprotocol/dataprotocol.c:
7218 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7219 (gst_dp_packet_from_event):
7220 factor out some common header init code
7222 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7224 * docs/libs/gstreamer-libs-sections.txt:
7225 * docs/libs/tmpl/gstdataprotocol.sgml:
7226 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7227 * libs/gst/dataprotocol/dataprotocol.h:
7228 API: make gst_dp_crc() public
7230 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7232 * plugins/indexers/gstindexers.c: (plugin_init):
7233 conditionally register fileindexer (fixes #343598)
7235 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7237 * gst/gsttagsetter.h:
7238 Can't cast ifaces to a class
7240 * libs/gst/net/gstnetclientclock.h:
7241 * libs/gst/net/gstnettimeprovider.h:
7242 * plugins/elements/gstfakesink.h:
7243 * plugins/elements/gstfakesrc.h:
7244 * plugins/elements/gstfdsink.h:
7245 * plugins/elements/gstfdsrc.h:
7246 * plugins/elements/gstfilesink.h:
7247 * plugins/elements/gstfilesrc.h:
7248 * plugins/elements/gstidentity.h:
7249 * plugins/elements/gstqueue.h:
7250 * plugins/elements/gsttee.h:
7251 * plugins/indexers/gstfileindex.c:
7252 * plugins/indexers/gstmemindex.c:
7253 * tests/old/examples/plugins/example.h:
7254 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7256 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7258 * libs/gst/dataprotocol/dataprotocol.c:
7259 (gst_dp_header_from_buffer):
7260 make sure we zero the whole ABI-compatible area
7262 2006-06-01 Wim Taymans <wim@fluendo.com>
7264 Patch by: Alessandro Decina <alessandro at nnva dot org>
7266 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7267 Make sure the EOS flag is cleared from pads after a flush
7268 or stop. Fixes #343538.
7270 * tests/check/libs/collectpads.c: (GST_START_TEST),
7271 (gst_collect_pads_suite):
7272 Added test for collectpads reusage after EOS.
7274 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7277 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7278 * win32/common/libgstbase.def:
7279 export gst_collect_pads_set_flushing
7280 * win32/common/libgstreamer.def:
7281 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7282 gst_value_fraction_multiply
7283 * win32/vs6/gst_inspect.dsp:
7284 add a link to intl.lib
7286 2006-05-30 Wim Taymans <wim@fluendo.com>
7288 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7289 (gst_collect_pads_chain):
7290 Handle the case where a pad is removed from the collection
7291 that could cause the other pads to become collectable.
7293 2006-05-30 Wim Taymans <wim@fluendo.com>
7296 Clarify the use of _release_request_pad() and
7297 _get_request_pad() a bit better.
7299 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7300 (gst_adapter_take_buffer):
7301 Fix some doc and comment typos.
7303 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7305 * docs/gst/gstreamer-sections.txt:
7306 * docs/libs/gstreamer-libs-sections.txt:
7307 add declared symbols
7309 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7311 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7312 Add debug that can be enabled using a #define at the top of the file,
7313 for dumping stats about how late/early we were when waking up from
7314 waiting on the clock.
7316 2006-05-30 Wim Taymans <wim@fluendo.com>
7318 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7319 When rebuilding the pad list, don't leak the previous list.
7321 2006-05-30 Wim Taymans <wim@fluendo.com>
7323 Patch by: Lutz Mueller <lutz at topfrose dot de>
7325 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7326 (gst_base_src_get_query_types), (gst_base_src_update_length):
7327 Publish supported query types.
7328 Update last_stop field in get_range mode so the position
7329 query works. Fixes #342321.
7331 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7333 * docs/gst/gstreamer-sections.txt:
7334 * gst/gsttaglist.c: (_gst_tag_initialize):
7336 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7338 2006-05-30 Wim Taymans <wim@fluendo.com>
7340 Patch by: Alessandro Decina <alessandro at nnva dot org>
7342 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7343 Unlock mutex when removing an unknown pad.
7346 * tests/check/Makefile.am:
7347 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7348 (push_event), (setup), (teardown), (GST_START_TEST),
7349 (gst_collect_pads_suite), (main):
7350 Added collecpads check, disabled for now as check crashes for
7353 2006-05-29 Wim Taymans <wim@fluendo.com>
7355 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7356 Don't leak pads lists.
7358 2006-05-29 Wim Taymans <wim@fluendo.com>
7360 * docs/libs/gstreamer-libs-sections.txt:
7361 * libs/gst/base/gstcollectpads.c:
7362 (gst_collect_pads_set_flushing_unlocked),
7363 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7364 (gst_collect_pads_stop):
7365 * libs/gst/base/gstcollectpads.h:
7366 API: gst_collect_pads_set_flushing()
7367 Added api to set the pads to flushing, useful for seeking
7368 code in elements using collectpads.
7369 Clear segment when receiving a flush.
7371 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
7373 * gst/gst.c: (add_path_func), (init_post):
7374 Don't scan registry paths passed via --gst-plugin-path immediately
7375 (will crash, because absolutely nothing is set up and no types are
7376 registered etc.); do this later in init_post(). Fixes #343057.
7378 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
7380 * gst/gst.c: (init_post):
7381 if we have fork, fork while reading/rebuilding the registry
7382 so the parent doesn't take the hit of having all plugins loaded
7383 in memory. Fixes #342777.
7385 Check if we have fork()
7386 * win32/common/config.h.in:
7389 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7391 * plugins/elements/gstelements.c:
7392 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7393 (gst_file_src_init), (gst_file_src_set_property),
7394 (gst_file_src_get_property), (gst_file_src_start):
7395 * plugins/elements/gstfilesrc.h:
7396 API: GstFileSrc::use-mmap
7398 Add a use-mmap property to enable easier testing of all code paths.
7399 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7400 in the absence of gnomevfssrc. (Closes #340501)
7402 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7404 * tools/gst-inspect.c:
7405 Add missing include, removes warning of ngettext not being defined on
7408 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7410 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7411 Handle NULL input and output pointers silently as a failed conversion,
7412 rather than g_warnings.
7414 2006-05-25 Wim Taymans <wim@fluendo.com>
7416 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7417 Initialize variable before using. Fixes #342820.
7419 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
7421 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7422 Fix off-by-one bug that would only allow peeks of N-1 bytes
7423 from the start even if the buffer to typefind on contains
7424 in fact N bytes of data (makes vorbis typefinding from a
7425 vorbis identification header buffer work).
7427 * tests/check/Makefile.am:
7428 * tests/check/libs/.cvsignore:
7429 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7430 (gst_typefindhelper_suite), (main), (foobar_typefind),
7432 Add very basic unit test for gst_type_find_helper_for_buffer()
7433 that checks for the problem fixed above.
7435 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
7437 * tools/gst-inspect.c: (print_interfaces),
7438 (print_element_properties_info), (print_element_list), (main):
7439 add more translatable strings
7441 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
7443 Patch by: Julien Moutte <julien at moutte net>
7445 * docs/gst/gstreamer-sections.txt:
7446 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7448 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7449 (gst_fake_sink_preroll):
7450 * plugins/elements/gstfakesink.h:
7451 API: Add new GstFakeSink::preroll-handoff signal (#337100).
7453 2006-05-23 Wim Taymans <wim@fluendo.com>
7455 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7457 Added _CUSTOM error and success GstFlowReturn that can be
7458 used be elements internally.
7459 Added macro to check for SUCCESS flowreturns.
7460 API: GST_FLOW_CUSTOM_SUCCESS
7461 API: GST_FLOW_CUSTOM_ERROR
7462 API: GST_FLOW_IS_SUCCESS
7464 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7465 Added check for GstFlowReturn sanity.
7467 2006-05-23 Wim Taymans <wim@fluendo.com>
7469 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7471 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7472 (gst_collect_pads_event):
7473 clear/reset segment info in FLUSH_STOP.
7476 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7479 (gst_collect_pads_check_collected):
7480 Flush queued buffer on _stop(), fixes playing again (#342454)
7482 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7484 * tests/check/gst/gststructure.c: (GST_START_TEST),
7485 (gst_structure_suite):
7486 add a test for a complete structure
7488 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7490 * docs/faq/developing.xml:
7492 * docs/faq/troubleshooting.xml:
7493 * docs/faq/using.xml:
7494 Some minor FAQ updates that won't change the fact that
7495 our FAQ is badly structured, full of information hardly
7496 anyone new to GStreamer needs to know and lacking lots
7497 of information people constantly ask for.
7499 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7501 * gst/gstpad.c: (gst_pad_set_caps):
7502 Short-circuit gst_pad_set_caps if setting the existing
7503 caps pointer again, and avoid printing debug and
7504 reffing/unreffing the caps.
7506 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7507 There's actually no need to set the caps before pushing -
7508 the acceptcaps method will handle it anyway.
7510 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7512 * docs/gst/gstreamer-sections.txt:
7513 * win32/common/libgstreamer.def:
7514 * gst/gstutils.c: (gst_element_seek_simple):
7516 API: add gst_element_seek_simple() (#342238).
7518 2006-05-18 Edward Hervey <edward@fluendo.com>
7520 * gst/gsttypefind.c: (gst_type_find_get_type):
7521 * gst/gsttypefind.h:
7522 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7523 registered for GstTypeFind pointers. This allows wrapping the structure
7524 in bindings (i.e. gst-python).
7526 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7528 * gst/gsttagsetter.c:
7529 Docs additions and fixes (see #339918).
7531 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7533 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7534 The caps intersection algorithm can produce multiple copies of the
7535 caps. Until that is fixed, we need to simplify the result to be
7536 sure whether the allowed caps are fixed or not.
7538 * plugins/elements/gstqueue.c: (gst_queue_init),
7539 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7540 (gst_queue_push_one):
7541 Proxied buffer alloc should not set the caps on the source pad.
7542 When pushing buffers, we always accept the caps change that triggers.
7543 This prevents negotiation errors caused by caps changing mid-stream
7544 and then being refused on our source pad (because upstream is now
7545 refusing those caps).
7547 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7549 * tests/examples/helloworld/helloworld.c: (main):
7550 Must plug audioconvert and audioresample between decoder
7553 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7555 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7556 (load_feature), (load_plugin):
7557 Allow empty strings for some of the plugin fields so we don't
7558 drop valid plugin entries that were written out correctly
7561 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7563 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7564 Use g_remove and g_rename instead of remove and rename that don't
7565 handle utf8 characters. rename was failing for users who had specific
7566 characters in their name then the registry was built at each
7568 * win32/vs6/gst_inspect.dsp:
7569 * win32/vs6/gst_launch.dsp:
7570 * win32/vs6/libgstbase.dsp:
7571 * win32/vs6/libgstcoreelements.dsp:
7572 * win32/vs6/libgstreamer.dsp:
7573 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7574 build of libgstreamer and clean unused libraries in projects link
7577 2006-05-17 Edward Hervey <edward@fluendo.com>
7579 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7580 The queue is not responsible for pushing an EOS when receiving a fatal
7581 flow error. It's up to the real element driving the pipeline to do that.
7583 2006-05-16 Edward Hervey <edward@fluendo.com>
7585 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7586 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7587 buffer returned a fatal error. It should just send an EOS and stop
7589 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7590 when pushing buffers on the queue and will be able to handle the event.
7592 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7594 * docs/manual/basics-bins.xml:
7595 * docs/manual/basics-init.xml:
7596 Fix typos and minor errors in sample code (#341856).
7598 2006-05-16 Wim Taymans <wim@fluendo.com>
7600 * docs/design/part-qos.txt:
7601 Fix indexes in formulas to make more sense.
7603 2006-05-15 Wim Taymans <wim@fluendo.com>
7605 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7606 Don't report POSITION based on clock time if sync is
7609 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7612 Add cast to make compiler happy - refcount variable was a gint
7613 in GstObject but is a guint in GObject and g_atomic_int_get()
7616 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7618 * gst/parse/Makefile.am:
7619 chain commands using &&, which also makes parallel make work
7621 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7623 * docs/gst/gstreamer-sections.txt:
7629 === release 0.10.6 ===
7631 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7634 releasing 0.10.6, "Take the cannoli"
7636 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7638 * tools/gst-launch.c: (print_tag):
7639 Fix use of uninitialized variable in the hypothetical
7640 case that some broken plugin creates a GST_TAG_IMAGE
7641 tag containing a NULL buffer (#341667).
7643 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7645 * tools/gst-launch.c: (print_tag):
7646 Print something more intelligible for image tags when
7647 using the -t switch (#341556).
7649 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7654 define GST_MAJORMINOR so we have it available in win32/common/config.h
7655 Possibly remove it from our Makefile.am files later
7656 * win32/common/config.h:
7657 * win32/common/config.h.in:
7658 added GST_MAJORMINOR
7659 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7660 * win32/common/gstversion.h:
7663 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7666 Update win32 files listing.
7667 * win32/common/gstversion.h:
7668 Add GST_MAJORMINOR definition.
7669 * win32/common/libgstreamer.def:
7670 Add new exported functions.
7672 2006-05-12 Michael Smith <msmith@fluendo.com>
7674 * gst/gstplugin.c: (gst_plugin_load_file):
7675 If an so file has no plugin entry point, unload the module.
7677 2006-05-11 Wim Taymans <wim@fluendo.com>
7679 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7680 (gst_queue_set_property):
7681 Don't forget to signal the _chain or _loop function
7682 when the queue size or thresholds change since that might
7683 cause them to make progres again.
7685 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7687 * gst/gstclock.c: (gst_clock_class_init):
7688 * gst/gstindex.c: (gst_index_class_init):
7689 * gst/gstobject.c: (gst_object_class_init):
7690 * gst/gstpad.c: (gst_pad_class_init):
7691 * gst/gstpipeline.c: (gst_pipeline_class_init):
7692 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7693 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7694 * libs/gst/base/gstbasetransform.c:
7695 (gst_base_transform_class_init):
7696 * libs/gst/net/gstnetclientclock.c:
7697 (gst_net_client_clock_class_init):
7698 * libs/gst/net/gstnettimeprovider.c:
7699 (gst_net_time_provider_class_init):
7700 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7701 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7702 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7703 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7704 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7705 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7706 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7707 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7708 * plugins/elements/gsttee.c: (gst_tee_class_init):
7709 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7710 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7711 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7713 2006-05-11 Wim Taymans <wim@fluendo.com>
7715 * gst/gstbuffer.c: (_gst_buffer_initialize):
7716 Register subbufer along with the buffer type so that
7717 it does not accidentally gets registered from N
7718 different streaming threads in a non threadsafe way.
7720 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7725 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7726 gst_event_ref() and gst_message_ref() functions again
7727 (ugly hack, please do fix if there's a better way besides
7728 overrides.txt, which doesn't seem to work).
7730 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7732 * libs/gst/check/gstcheck.h:
7733 add an assert for setting state to avoid lots of repetitive code
7736 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7738 * gst/gstvalue.c: (gst_value_serialize_flags):
7739 fix a leak if no flags are set
7740 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7743 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7745 * docs/manual/basics-pads.xml:
7746 Expand a bit on caps and filtered links and update
7747 examples that were still using the no longer existing
7748 gst_pad_link_filtered() (#338206).
7750 2006-05-10 Wim Taymans <wim@fluendo.com>
7752 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7753 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7754 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7755 (gst_collect_pads_stop):
7756 * libs/gst/base/gstcollectpads.h:
7757 No need to call _stop in _finalize.
7758 Iterate the main pad list in _finalize.
7759 Added some more debug.
7760 Free lists and data in the right order.
7761 Also free data whem doing _remove_pad when stopped for
7762 backward compatibility protect ::started with PAD_LOCK as
7765 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7767 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7768 (gst_structure_parse_value):
7770 rename a method so that it actually says what it does better
7772 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7774 * gst/gstevent.c: (_gst_event_initialize):
7775 * gst/gstformat.c: (_gst_format_initialize):
7776 make sure some essential types used by events are registered
7777 as part of gst_init()
7778 * gst/gstvalue.c: (gst_value_serialize_flags):
7779 if no flags are set, serialize them to a value that represents NONE
7780 so that deserializing them works
7781 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7782 add tests for serialization and deserialization of flags
7784 2006-05-10 Wim Taymans <wim@fluendo.com>
7786 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7787 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7788 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7789 (gst_collect_pads_event), (gst_collect_pads_chain):
7792 Catch and return errors from the collect function
7793 Refuse data on eos pads.
7795 2006-05-10 Edward Hervey <edward@fluendo.com>
7797 * gst/gstinterface.h:
7798 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7799 GInterface type checking.
7800 They were previously using non-defined macros.
7802 2006-05-09 Wim Taymans <wim@fluendo.com>
7804 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7805 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7806 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7807 (gst_collect_pads_start), (gst_collect_pads_stop),
7808 (gst_collect_pads_peek), (gst_collect_pads_pop),
7809 (gst_collect_pads_available), (gst_collect_pads_read),
7810 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7811 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7812 (gst_collect_pads_chain):
7813 * libs/gst/base/gstcollectpads.h:
7814 Clean up the mess that is collectpads, add comments and
7815 FIXMEs where needed.
7816 Maintain a separate pad list so we can add pads while
7817 collecting the other ones. For this we need a new separate
7819 Fix memory leak in finalize.
7820 Refactor some weird code to set/unset pad flushing flags, mark
7822 Don't crash in _available, _read, _flush when we're EOS.
7824 * tests/check/libs/.cvsignore:
7825 Ignore adapter check binary.
7827 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7829 * gst/gstindex.c: (gst_index_resolver_get_type):
7830 * plugins/elements/gstfakesink.c:
7831 (gst_fake_sink_state_error_get_type):
7832 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7833 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7834 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7835 Const-ify GEnumValue arrays.
7837 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7839 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7840 Add test case for flags + gst_buffer_make_metadata_writable().
7842 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7844 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7845 gst_buffer_make_metadata_writable() should maintain the
7846 buffer flags (those that make sense at least) (see #340859).
7848 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7850 * tools/gst-inspect.c:
7851 * tools/gst-launch.c:
7852 * tools/gst-typefind.c:
7853 * tools/gst-xmlinspect.c:
7855 Fix up includes: need to include stdlib.h in tools.h for exit().
7857 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7859 * gst/gsttaglist.c: (_gst_tag_initialize):
7861 API: add GST_TAG_IMAGE tag (#340721).
7863 2006-05-08 Wim Taymans <wim@fluendo.com>
7866 Added some docs for the segment query.
7868 2006-05-08 Wim Taymans <wim@fluendo.com>
7870 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7871 (gst_base_src_loop), (gst_base_src_change_state):
7872 Always push non-flushing serialized events in the streaming
7875 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7877 * gst/gsterror.c: (_gst_stream_errors_init):
7878 Add a missing error string.
7880 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7882 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7883 Add applied_rate to the debug
7885 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7886 Copy applied_rate into the outgoing NEWSEGMENT event
7888 2006-05-08 Wim Taymans <wim@fluendo.com>
7890 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7892 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7893 (gst_base_sink_change_state):
7894 call ::unlock before taking the PREROLL_LOCK so we can safely
7895 handle elements that lock in ::render.
7898 2006-05-08 Edward Hervey <edward@fluendo.com>
7900 * autogen.sh: (CONFIGURE_DEF_OPT):
7901 Darwin's libtoolize is in fact called glibtoolize.
7902 Adding glibtoolize to the list of accepted names for libtoolize.
7904 2006-05-08 Wim Taymans <wim@fluendo.com>
7906 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7907 Unify error handling, don't post an error message
7908 when a push() returns EOS but perform our normal EOS
7909 handling code. Fixes #340772.
7911 2006-05-08 Wim Taymans <wim@fluendo.com>
7913 * docs/design/part-overview.txt:
7914 Make upsteam/downstream concepts more clear.
7915 Give an example of serialized/non-serialized events.
7917 * docs/design/part-events.txt:
7918 * docs/design/part-streams.txt:
7919 Mention applied_rate.
7921 * docs/design/part-trickmodes.txt:
7922 Mention applied rate, flesh out some more use cases.
7924 * gst/gstevent.c: (gst_event_new_new_segment),
7925 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7926 (gst_event_parse_new_segment_full), (gst_event_new_tag),
7927 (gst_event_parse_tag), (gst_event_new_buffer_size),
7928 (gst_event_parse_buffer_size), (gst_event_new_qos),
7929 (gst_event_parse_qos), (gst_event_parse_seek),
7930 (gst_event_new_navigation):
7932 Add applied_rate field to NEWSEGMENT event.
7933 API: gst_event_new_new_segment_full()
7934 API: gst_event_parse_new_segment_full()
7936 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7937 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7938 (gst_segment_to_stream_time), (gst_segment_to_running_time):
7940 Add applied_rate to GstSegment structure.
7941 Make calculation of stream_time and running_time more correct
7942 wrt rate/applied_rate.
7944 API: GstSegment::applied_rate field
7945 API: gst_segment_set_newsegment_full();
7947 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7948 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7949 * libs/gst/base/gstbasetransform.c:
7950 (gst_base_transform_sink_eventfunc),
7951 (gst_base_transform_handle_buffer):
7952 Parse and use applied_rate in the GstSegment field.
7954 * tests/check/gst/gstevent.c: (GST_START_TEST):
7955 Add check for applied_rate field.
7957 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7958 (gstsegments_suite):
7959 Add more checks for various GstSegment operations.
7961 2006-05-08 Wim Taymans <wim@fluendo.com>
7963 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7964 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7965 (gst_base_sink_get_position), (gst_base_sink_change_state):
7966 Store the sync time of the buffer end position separatly in a
7967 new variable eos_rtime so we can properly sync the EOS event.
7969 Fix the docs for gst_base_sink_set_qos_enabled().
7970 Don't set segment start to invalid value when we receive a
7971 non TIME newsegment.
7972 get closer to handling position reporting for negative rates
7975 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7978 Docs about how to print caps for debug purposes.
7980 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
7981 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
7983 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7986 use full enum names and preprend a '%' in docs strings to make recent
7987 gtk-doc turn that into a link
7989 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7991 * docs/manual/basics-bins.xml:
7992 * docs/manual/basics-bus.xml:
7993 * docs/manual/basics-pads.xml:
7994 Some typo fixes, some additions, some clarifications.
7996 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7998 * tools/gst-inspect.c: (main):
7999 * tools/gst-launch.c: (main):
8000 * tools/gst-run.c: (main):
8001 * tools/gst-typefind.c: (main):
8002 * tools/gst-xmlinspect.c: (main):
8003 Use the string passed to g_option_context_new() for
8004 what it's intended for - the program name is already
8007 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8009 * tools/Makefile.am:
8010 * tools/gst-inspect.c: (main):
8011 * tools/gst-launch.c: (main):
8012 * tools/gst-xmlinspect.c: (main):
8014 Add back --version command line option (#340460).
8016 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8017 Add --version option and use GOption for argument parsing; refactor a
8018 bit; accept directories as arguments and recurse into them; lastly,
8019 print a decent error message when things go wrong.
8021 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8023 * docs/manual/basics-bins.xml:
8024 Don't mention GstThread (#340611)
8025 * docs/manual/basics-elements.xml:
8026 Update link to GObject tutorial (#340607)
8028 2006-05-05 Wim Taymans <wim@fluendo.com>
8031 * gst/gstminiobject.c:
8032 Add note about refcounting and miniobject/buffer writeability
8033 to docs. Fixes #340604
8035 * gst/gstelementfactory.h:
8036 Added some explanation about @klass.
8038 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8040 * docs/manual/intro-motivation.xml:
8041 * docs/manual/manual.xml:
8042 Avoid CORBA & Bonobo references (#340598)
8044 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8046 * docs/manual/basics-bus.xml:
8047 * docs/manual/basics-pads.xml:
8048 Fix up some inaccuracies and omissions (#340609)
8050 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8052 * gst/gstghostpad.c:
8053 Small typo in docs (#340625)
8055 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8057 * gst/parse/Makefile.am:
8058 Make 'make -j' proof (see #340698).
8060 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8063 Require GLib-2.8 here as well.
8065 2006-05-05 Wim Taymans <wim@fluendo.com>
8067 * gst/glib-compat.c:
8068 * gst/gst.c: (init_pre):
8069 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8070 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8071 (gst_object_dispatch_properties_changed):
8073 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8074 * gst/gststructure.c: (gst_structure_set_valist):
8075 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8076 Remove pre glib2.8 compatibility, fixes #340508
8078 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8081 Mention type of tags in doc blurbs.
8083 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8085 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8086 (gst_pad_configure_src), (gst_pad_push):
8087 Restore acceptcaps checking behaviour now that good plugins have
8090 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8092 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8103 * gst/parse/Makefile.am:
8104 * libs/gst/base/gstadapter.c:
8105 * libs/gst/base/gstbasesrc.c:
8106 * libs/gst/base/gstpushsrc.c:
8107 * libs/gst/base/gsttypefindhelper.c:
8108 * plugins/elements/gstfakesrc.c:
8109 * plugins/elements/gstidentity.c:
8110 Make sure gstprivate.h and/or config.h are
8111 always included first, otherwise some of our
8112 defines (like _FILE_OFFSET_BITS) might be
8113 redefined in the system headers. Fixes build
8114 on opensolaris (#340016).
8116 2006-05-04 Wim Taymans <wim@fluendo.com>
8118 * docs/libs/gstreamer-libs-sections.txt:
8119 API: addition: gst_adapter_take_buffer()
8121 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8122 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8123 (gst_adapter_available_fast):
8124 * libs/gst/base/gstadapter.h:
8125 Prepare for optimizing the hell out of this hugely inefficient
8127 Added gst_adapter_take_buffer() so we can at least start thinking
8128 about subbuffering and merging.
8129 Added some comments.
8131 * tests/check/Makefile.am:
8132 * tests/check/libs/adapter.c: (GST_START_TEST),
8133 (gst_adapter_suite), (main):
8134 Added GstAdapter check.
8136 2006-05-04 Wim Taymans <wim@fluendo.com>
8138 * docs/design/part-overview.txt:
8139 Fix some typos, add blurb about buffer flags.
8141 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8143 * docs/libs/gstreamer-libs-sections.txt:
8144 make sure GstBaseTransformClass shows up in the docs
8145 * libs/gst/base/gstbasetransform.c:
8146 * libs/gst/base/gstbasetransform.h:
8147 move docs so gtk-doc picks it up now
8149 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8151 * docs/libs/gstreamer-libs-sections.txt:
8152 add missing symbols to docs
8154 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8157 back out the newsegment handling change, see #340060 for ongoing
8160 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8162 * tools/gst-run.c: (get_candidates), (main):
8163 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8164 work); fix typo in error message. Fixes #340079.
8166 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8168 * common/Makefile.am:
8170 * docs/faq/Makefile.am:
8171 * docs/gst/Makefile.am:
8172 * docs/libs/Makefile.am:
8173 * docs/manual/Makefile.am:
8174 * docs/plugins/Makefile.am:
8175 * docs/pwg/Makefile.am:
8176 * docs/slides/Makefile.am:
8178 * common/upload.mak:
8179 move upload.mak to common
8181 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8183 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8184 add more asserts on refcounts
8185 do more cleanup at end of tests
8186 fix test leaks showing in FC5
8188 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8190 * plugins/elements/gsttypefindelement.c:
8191 (gst_type_find_element_handle_event):
8192 reverted wrong change and reflowed code to avoid others falling into
8195 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8197 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8198 fix changelog entry about last collectpads change,
8199 add notes about proper fix
8201 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8204 * gst/gstregistry.c: (gst_registry_scan_path_level),
8205 (gst_registry_scan_path):
8206 * gst/gstregistry.h:
8207 only write out registry if it has changed, fixes #338339
8209 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8212 * gst/gstpipeline.c:
8213 * plugins/elements/gstcapsfilter.c:
8214 * plugins/elements/gstfakesink.c:
8215 * plugins/elements/gstfakesrc.c:
8216 * plugins/elements/gstfdsink.c:
8217 * plugins/elements/gstfdsrc.c:
8218 * plugins/elements/gstfilesink.c:
8219 * plugins/elements/gstfilesrc.c:
8220 * plugins/elements/gstidentity.c:
8221 * plugins/elements/gstqueue.c:
8222 * plugins/elements/gsttee.c:
8223 * plugins/elements/gsttypefindelement.c:
8224 (gst_type_find_element_handle_event):
8225 make GstElementDetails const
8227 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8229 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8230 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8231 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8232 more detailed debug and formatting cleanup,
8233 forward newsegments to src-pad (so that e.g. adder not eats them)
8235 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8237 * gst/gstutils.c: (gst_element_link_pads):
8240 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8242 * libs/gst/controller/gstcontroller.c:
8243 (gst_controller_sync_values):
8245 * tests/check/libs/controller.c: (GST_START_TEST),
8246 (gst_controller_suite):
8247 a new test for live value handling
8249 2006-04-28 Wim Taymans <wim@fluendo.com>
8251 * gst/gstutils.c: (push_and_ref):
8252 Added some more docs.
8253 Fix refcount issue whith gst_element_found_tags() helper
8254 function. Fixes #338335
8256 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8257 Added testsuite for gst_element_found_tags().
8259 2006-04-28 Michael Smith <msmith@fluendo.com>
8261 * gst/gstvalue.c: (gst_value_serialize_flags):
8262 Avoid NULL dereference when trying to serialize flags containing
8265 2006-04-28 Michael Smith <msmith@fluendo.com>
8267 * plugins/elements/gsttypefindelement.c:
8268 (gst_type_find_element_handle_event):
8269 If we get EOS before any data is accumulated, don't use
8270 uninitialised local variables.
8272 2006-04-28 Michael Smith <msmith@fluendo.com>
8274 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8275 (gst_dp_event_from_packet):
8276 Fixes in reading/writing events over GDP (not currently used?) -
8277 dereferencing NULL events for unknown/invalid event types, memory
8278 leak, and change g_warning to GST_WARNING.
8280 2006-04-28 Wim Taymans <wim@fluendo.com>
8282 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8283 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8284 (gst_base_sink_get_position), (gst_base_sink_change_state):
8285 When frame dropping is enabled, we should not ignore frames
8287 Update some documentation.
8289 2006-04-28 Wim Taymans <wim@fluendo.com>
8291 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8292 (gst_base_src_send_event), (gst_base_src_change_state):
8293 Documentation updates.
8295 2006-04-28 Wim Taymans <wim@fluendo.com>
8297 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8298 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8299 handle EAGAIN, EINTR and short writes correctly. Also clean
8300 up some error cases, avoid a deadlock on bad file descriptors and
8301 use GST_DEBUG_OBJECT.
8304 2006-04-28 Wim Taymans <wim@fluendo.com>
8306 * gst/gstvalue.c: (gst_value_serialize_buffer),
8307 (gst_value_deserialize_buffer):
8308 Don't try to serialize a GValue with a NULL buffer.
8311 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8312 Added check for serialisation of NULL buffers.
8314 2006-04-28 Wim Taymans <wim@fluendo.com>
8316 * gst/gstminiobject.c: (gst_value_take_mini_object):
8317 Taking a NULL miniobject is valid, fix the case where
8318 we try to unref the NULL miniobject.
8320 2006-04-28 Wim Taymans <wim@fluendo.com>
8322 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8324 * gst/gstbin.c: (gst_bin_handle_message_func):
8326 Don't leak bin refcount when a state recalc is
8327 in progress and we delay another one #339808.
8329 2006-04-28 Wim Taymans <wim@fluendo.com>
8331 * docs/design/part-TODO.txt:
8332 Mention QoS as an ongoing work item.
8334 * docs/design/part-buffering.txt:
8335 New doc about buffering that needs to be fleshed out
8338 * docs/design/part-qos.txt:
8339 More QoS policy for decoders/demuxers/transforms
8341 * docs/design/part-trickmodes.txt:
8344 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8349 === release 0.10.5 ===
8351 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8354 releasing 0.10.5, "Fogo"
8356 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
8358 patch by: Wim Taymans
8360 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8361 (gst_pad_configure_src), (gst_pad_push):
8362 * gst/gstpipeline.c: (gst_pipeline_init):
8363 Fix internal data flow errors. Fixes #338711.
8365 2006-04-12 Wim Taymans <wim@fluendo.com>
8367 * tests/check/gst/gstelement.c: (GST_START_TEST):
8368 Don't leak the factory.
8370 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8373 * win32/common/config.h:
8376 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
8378 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8379 (gst_controller_unset_all):
8380 Free allocated GstTimedValues when freeing list nodes.
8381 Should fix leaks 'make check-valgrind' complains about.
8383 * win32/common/libgstcontroller.def:
8384 Add gst_controller_unset_all.
8386 2006-04-11 Stefan Kost <ensonic@users.sf.net>
8388 * docs/libs/gstreamer-libs-sections.txt:
8389 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8390 (gst_controller_unset_all):
8391 * libs/gst/controller/gstcontroller.h:
8392 API: Added new method gst_controller_unset_all()
8393 fixed gst_controller_unset()
8394 * tests/check/libs/controller.c: (GST_START_TEST),
8395 (gst_controller_suite):
8396 Added two testcases for new and fixed method
8398 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
8400 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8401 MSG_DONTWAIT is not defined on Cygwin, so work
8402 around that (fixes #317048).
8404 2006-04-11 Wim Taymans <wim@fluendo.com>
8406 * gst/gstelementfactory.c: (gst_element_register),
8407 (gst_element_factory_create), (gst_element_factory_make):
8410 Updated docs (Fixes #131079)
8412 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8415 * tests/check/gst/gstelement.c: (GST_START_TEST),
8416 (gst_element_suite):
8417 Added testcase for elementfactory class field.
8419 2006-04-10 Wim Taymans <wim@fluendo.com>
8422 Added some more docs.
8424 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8425 (gst_base_sink_reset_qos):
8426 Calculate more accurate rate values.
8428 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
8430 * gst/gst_private.h:
8431 add a new #ifdef to use __declspec(dllimport) only for
8432 other modules and not for gstreamer core
8433 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8434 use gst_guint64_to_gdouble for conversion
8435 * win32/common/libgstreamer.def:
8436 add new exported functions
8437 * win32/vs6/gst_inspect.dsp:
8438 * win32/vs6/gst_launch.dsp:
8439 * win32/vs6/libgstbase.dsp:
8440 * win32/vs6/libgstcontroller.dsp:
8441 * win32/vs6/libgstcoreelements.dsp:
8442 * win32/vs6/libgstdataprotocol.dsp:
8443 * win32/vs6/libgstnet.dsp:
8444 update project files
8446 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8448 * gst/gstbuffer.c: (gst_subbuffer_class_init):
8449 * gst/gstclock.c: (gst_clock_class_init):
8450 * gst/gstelement.c: (gst_element_class_init):
8451 * gst/gstindex.c: (gst_index_class_init):
8452 * gst/gstindexfactory.c: (gst_index_factory_class_init):
8453 * gst/gstobject.c: (gst_object_class_init),
8454 (gst_signal_object_class_init):
8455 * gst/gstpad.c: (gst_pad_class_init):
8456 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8457 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8458 * gst/gstregistry.c: (gst_registry_class_init):
8459 * gst/gstsystemclock.c: (gst_system_clock_class_init):
8460 * gst/gsttask.c: (gst_task_class_init):
8461 * gst/gstxml.c: (gst_xml_class_init):
8462 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8463 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8464 (gst_base_src_loop):
8465 * libs/gst/controller/gstcontroller.c:/
8466 (_gst_controller_class_init):
8467 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8468 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8469 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8470 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8471 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8472 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8474 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8476 * gst/gstpad.c: (gst_pad_link):
8477 Must set peer pads before calling the link function, otherwise
8478 a task started from a link function might get a flow-not-linked
8479 result when trying to push because the other thread where the
8480 linking happens hasn't had a chance to set the peers yet. This
8481 might happen for example when a queue gets linked to a downstream
8482 element, as queue starts a streaming task when its source pad
8483 gets linked. Happens in real life when playing back flac/musepack
8484 files in playbin (#332390).
8486 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8490 * libs/gst/base/gstadapter.h:
8491 * libs/gst/base/gstbasesink.h:
8492 * libs/gst/base/gstbasesrc.h:
8493 * libs/gst/base/gstbasetransform.h:
8494 * libs/gst/base/gstcollectpads.h:
8495 * libs/gst/base/gstpushsrc.h:
8496 Fix broken GObject macros
8498 2006-04-07 Wim Taymans <wim@fluendo.com>
8500 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8501 Initialize start and stop times, thanks valgrind.
8503 2006-04-07 Wim Taymans <wim@fluendo.com>
8505 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8506 Be a bit nicer to badly behaving upstream elements that expect
8507 us to deal with non TIME segments and timestamps (such as fakesrc
8510 2006-04-07 Wim Taymans <wim@fluendo.com>
8513 Small documentation clarification about the signal watch.
8515 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8516 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8517 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8518 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8519 (gst_base_sink_get_position_last),
8520 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8521 Convert and store timestamps in stream time and running time, the
8522 raw timestamps are not useful, also document this better.
8523 Use different window sizes for good and bad QoS observations so
8524 we react to badness a little quicker.
8525 Keep track of the amount of rendered and dropped buffers.
8526 Send QoS timestamps in running time.
8528 * libs/gst/base/gstbasetransform.c:
8529 (gst_base_transform_sink_eventfunc),
8530 (gst_base_transform_handle_buffer):
8531 Compare QoS timestamps against running time.
8533 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8538 2006-04-06 Michael Smith <msmith@fluendo.com>
8540 * gst/gstpad.c: (gst_pad_set_property):
8541 Use g_value_get_object() instead of g_value_dup_gst_object(),
8542 to avoid double-reffing the pad template (which we then sink,
8543 so this worked previously if (and only if) the pad template
8546 * gst/gstpadtemplate.c: (gst_pad_template_init),
8547 (gst_pad_template_pad_created):
8548 Never return floating references to pad templates, create
8549 them as initially-sunken.
8551 Document an extra function (and make this stop sinking our
8552 pad template, since that is now guaranteed to do nothing,
8553 since we created it sunken).
8555 * gst/gstghostpad.c:
8558 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8560 * gst/gstinfo.c: (__gst_in_valgrind):
8563 * plugins/elements/gsttypefindelement.c:
8564 (gst_type_find_element_chain):
8565 Don't leak buffer caps.
8567 2006-04-06 Michael Smith <msmith@fluendo.com>
8569 * gst/parse/grammar.y:
8570 Fix a leak in parse-launch for any source-or-sink named element
8573 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8574 Unref the pipeline if it exists after we've failed parsing.
8576 2006-04-05 Michael Smith <msmith@fluendo.com>
8578 * gst/gstpipeline.c: (gst_pipeline_init):
8579 When we create a pipeline bus, initially create it in flushing mode.
8580 Fixes leaks in at least one test, and makes a new pipeline work the
8581 same as one that has gone to READY and then back to NULL.
8586 2006-04-05 Michael Smith <msmith@fluendo.com>
8588 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8589 Unref a pad we reffed.
8590 * tests/check/gst/gstutils.c: (GST_START_TEST):
8593 2006-04-05 Michael Smith <msmith@fluendo.com>
8595 * gst/gstquery.c: (gst_query_set_formats),
8596 (gst_query_set_formatsv):
8597 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8599 2006-04-05 Michael Smith <msmith@fluendo.com>
8601 * tests/check/generic/sinks.c: (GST_START_TEST):
8602 Fix a variety of memleaks in sinks check, which are only sometimes
8603 shown by running the tests under valgrind (weird?).
8605 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8607 * docs/version.entities.in:
8608 Fix the substituted entity name after thomas' changes on the
8611 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8613 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8616 2006-04-05 Andy Wingo <wingo@pobox.com>
8618 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8620 * libs/gst/base/gstbasetransform.c
8621 (gst_base_transform_sink_eventfunc): When resetting our segment on
8622 FLUSH_STOP, also update the flag saying we haven't seen a
8625 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8627 Patch by: Paolo Borelli <pborelli at katamail dot com>
8629 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8630 (gst_plugin_check_license):
8631 minor clean-ups: G_DEFINE_TYPE already takes care of the
8632 parent_class stuff, no need to do it twice. Mark array of
8633 license strings as constant. (#337103)
8635 2006-04-04 Michael Smith <msmith@fluendo.com>
8637 * tools/gst-inspect.c: (print_element_list):
8638 Free the right plugin list; fixes a memory leak.
8640 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8642 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8644 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8645 Don't error out on empty buffers (#336945).
8647 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8649 * docs/libs/gstreamer-libs-sections.txt:
8651 * libs/gst/base/gstbasesink.c:
8652 * libs/gst/base/gstbasesink.h:
8653 * libs/gst/base/gstbasesrc.c:
8654 * libs/gst/base/gstbasesrc.h:
8655 Documentation updates. Make BaseSink and BaseSrc docs contain the
8656 class structure so that people can actually see the prototypes for
8657 virtual functions they're supposed to be overriding.
8659 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8661 * plugins/elements/gsttypefindelement.c:
8662 (gst_type_find_element_chain):
8663 More debug info; when skipping typefinding, send cached
8664 events in all cases.
8666 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8669 use new AS_VERSION and AS_NANO macros
8670 * gst/gst-i18n-lib.h:
8673 * gst/gstversion.h.in:
8674 * win32/common/config.h:
8675 * win32/common/config.h.in:
8678 2006-03-31 Michael Smith <msmith@fluendo.com>
8680 * plugins/elements/gsttypefindelement.c:
8681 (gst_type_find_element_chain):
8682 Do not typefind content if the buffers already have caps.
8683 Neccesary for icydemux (#333657), and the right thing to do anyway.
8685 2006-03-30 Wim Taymans <wim@fluendo.com>
8687 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8688 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8689 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8690 (gst_base_sink_record_qos_observation),
8691 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8692 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8693 (gst_base_sink_change_state):
8694 More QoS measurements as described in the design doc.
8695 Get rid of ringbuffer with observations, running average is
8696 more simple and equally good.
8697 Calculates valid proportion now.
8698 Added beginning of flood measurement.
8700 2006-03-29 Wim Taymans <wim@fluendo.com>
8702 * docs/design/part-qos.txt:
8704 Small documentation updates and additions.
8706 2006-03-29 Wim Taymans <wim@fluendo.com>
8708 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8709 (gst_base_src_send_event), (gst_base_src_loop),
8710 (gst_base_src_change_state):
8711 Perform the EOS logic when we reach the segment stop position.
8712 Fix compilation on gcc4.1
8714 2006-03-29 Wim Taymans <wim@fluendo.com>
8716 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8718 * plugins/elements/gstqueue.c: (gst_queue_init),
8719 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8720 (gst_queue_set_property):
8721 * plugins/elements/gstqueue.h:
8722 In queue, when EOS is received, if minimum threshold > max_size -
8723 current_level, there is chance that queue blocks forever in conditional
8724 item del wait. This is because the queue is not emptied completely due
8725 to minimum threshold. Here is another approach. Instead of setting
8726 cur_levels to max in EOS, just zero all minimum threshold levels. This
8727 should make sure that queue gives out all data. When going to READY
8728 (stop) state, just reset the original minimum threshold levels.
8731 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8733 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8734 (gst_type_find_element_handle_event),
8735 (gst_type_find_element_send_cached_events),
8736 (gst_type_find_element_change_state):
8737 * plugins/elements/gsttypefindelement.h:
8738 When typefinding is done in push mode, we should cache
8739 events we receive during typefinding instead of just
8740 dropping them (e.g. newsegment, custom events from
8741 dvdreadsrc etc.) and then send them out once we've
8742 determined the type of the stream (and decodebin
8743 has had a chance to plug in a decoder/demuxer).
8745 2006-03-27 Wim Taymans <wim@fluendo.com>
8747 * docs/design/part-qos.txt:
8750 2006-03-27 Wim Taymans <wim@fluendo.com>
8752 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8754 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8755 (gst_base_src_send_event), (gst_base_src_change_state):
8756 Handle element seek correctly when we are streaming.
8759 2006-03-24 Michael Smith <msmith@fluendo.com>
8761 * docs/faq/gst-uninstalled:
8762 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8763 allow you to correctly run intalled applications built against old
8764 core, using plugins that require updated core (e.g. running
8765 installed totem against a full uninstalled gstreamer stack)
8767 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8769 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8772 2006-03-24 Wim Taymans <wim@fluendo.com>
8774 * docs/gst/gstreamer-sections.txt:
8775 Rearrange the order of the methods so that related methods
8776 are grouped together in sections.
8778 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8781 Little clarification in the docs
8783 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8787 * plugins/elements/gstidentity.c:
8788 * plugins/elements/gstqueue.c:
8789 * plugins/elements/gsttee.c:
8790 * plugins/elements/gsttypefindelement.c:
8791 GST_ELEMENT_DETAILS formatting
8793 2006-03-24 Wim Taymans <wim@fluendo.com>
8795 * libs/gst/base/gstbasesink.h:
8796 Only add fields, not insert or we break ABI.
8798 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8800 * win32/common/libgstbase.def:
8801 * win32/common/libgstreamer.def:
8802 Update, add recently added functions.
8804 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8806 * docs/gst/gstreamer-sections.txt:
8807 * gst/gstutils.c: (gst_pad_query_peer_position),
8808 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8810 API: add some new utility functions:
8811 - gst_pad_query_peer_position()
8812 - gst_pad_query_peer_duration()
8813 - gst_pad_query_peer_convert()
8815 2006-03-23 Wim Taymans <wim@fluendo.com>
8817 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8818 (gst_base_sink_init), (gst_base_sink_finalize),
8819 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8820 (gst_base_sink_set_property), (gst_base_sink_get_property),
8821 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8822 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8823 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8824 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8825 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8826 (gst_base_sink_preroll_object), (gst_base_sink_event),
8827 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8828 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8829 (gst_base_sink_query), (gst_base_sink_change_state):
8830 Decouple max-lateness and the fact that QoS messages are generated
8831 with a new property (qos).
8832 added API: GstBaseSink::async_play()
8833 Add vmethod so subclasses can be notified of ASYNC playing
8835 Collect timestamp start and stop to report better current
8836 position in EOS/PLAYING/PAUSED/READY/NULL.
8837 Refactor QoS/frame dropping and other measurements.
8838 API: GstBaseSrc::qos
8841 * libs/gst/base/gstbasesink.h:
8842 Added Private struct.
8843 API: gst_base_sink_set_qos_enabled()
8844 API: gst_base_sink_is_qos_enabled()
8846 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8848 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8849 If compiling against GLib-2.8 or newer, try to read the
8850 registry file using GMappedFile first before falling back
8851 to fopen() + fread() (#332151).
8853 2006-03-22 Wim Taymans <wim@fluendo.com>
8855 * gst/gstinfo.c: (gst_debug_set_active),
8856 (gst_debug_category_set_threshold):
8857 Disable debugging unless explicitly activated.
8860 2006-03-22 Wim Taymans <wim@fluendo.com>
8862 * gst/gstelement.c: (gst_element_set_locked_state),
8863 (gst_element_dispose):
8864 Cleanup the error case.
8866 * gst/gstobject.c: (gst_object_dispose):
8867 print a critical when some object was disposed with
8868 a parent, also revive the object since it might
8871 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8873 * tools/gst-launch.1.in:
8876 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8879 * tests/check/Makefile.am:
8880 disable some tests when we don't have a registry
8881 * tests/check/gst/gstutils.c: (gst_utils_suite):
8882 don't build the part that needs parsing
8884 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8887 * tests/examples/Makefile.am:
8888 fix --disable-parse build
8890 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8892 * tools/gst-feedback.1.in:
8893 Fix typo: s/feeback/feedback/ (#133494).
8895 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8897 * tools/Makefile.am:
8898 * tools/gst-launch.1.in:
8899 Add FILES section and correct entry about GST_REGISTRY_PATH
8900 environment variable (#133495; #133494).
8902 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8904 * tools/Makefile.am:
8905 * tools/gst-md5sum.1.in:
8906 * tools/gst-md5sum.c:
8907 Remove gst-md5sum and man page (the md5sink element
8908 required was removed ages ago)
8910 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8912 * gst/gststructure.c: (gst_structure_id_set_value):
8913 Make sure that string fields in structures/taglists
8914 contain valid UTF-8 - we don't want to pass rubbish to
8915 applications because of a buggy plugin (cp. #334167).
8917 2006-03-21 Edward Hervey <edward@fluendo.com>
8919 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8920 (gst_bin_handle_message_func):
8921 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8922 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8923 (gst_element_set_bus_func):
8924 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8925 * gst/gstminiobject.c: (gst_value_set_mini_object),
8926 (gst_value_take_mini_object):
8927 * gst/gstpad.c: (gst_pad_set_pad_template):
8928 * gst/gstpipeline.c: (gst_pipeline_dispose),
8929 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8930 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8931 (gst_collect_pads_chain):
8932 * libs/gst/net/gstnettimeprovider.c:
8933 (gst_net_time_provider_set_property):
8934 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8935 It's in fact all issues with gst_*object_replace().
8937 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8939 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
8941 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8942 * pkgconfig/gstreamer-check.pc.in:
8943 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8945 2006-03-21 Edward Hervey <edward@fluendo.com>
8950 gst_[buffer|event|message]_ref() macros are replaced by a static
8951 inline functions because gcc-4.1 will about if the return value
8953 * tests/check/gst/gstevent.c: (event_probe):
8954 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8956 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
8959 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8960 the type' case. (Closes: #335195 for now). In the future, when we
8961 depend on GLib 2.10, we could also intern the type name using
8962 g_intern_static_string()
8964 2006-03-20 Wim Taymans <wim@fluendo.com>
8966 * gst/gstbin.c: (gst_bin_handle_message_func),
8967 (bin_query_max_init), (bin_query_position_fold),
8968 (bin_query_position_done), (gst_bin_query):
8969 Position query should also take max of all streams.
8971 2006-03-20 Wim Taymans <wim@fluendo.com>
8973 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8974 (gst_fake_src_finalize):
8975 Fix leaks in fakesrc.
8977 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8978 Fix leaks in the testcase.
8980 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
8982 * gst/gst_private.h:
8983 add win32 specific import decoration(__declspec(dllimport))
8984 for all extern GstDebugCategory * variables
8985 * win32/common/libgstbase.def:
8986 * win32/common/libgstcontroller.def:
8987 * win32/common/libgstreamer.def:
8988 Add some exports, remove empty lines
8989 * win32/common/libgstdataprotocol.def:
8990 * win32/common/libgstdataprotocol.dsp:
8991 * win32/common/libgstnet.def:
8992 * win32/common/libgstnet.dsp:
8993 new project files and exportation files added
8995 2006-03-19 Wim Taymans <wim@fluendo.com>
8997 * tests/check/libs/basesrc.c: (eos_event_counter):
8998 Use proper return value for probe.
9000 2006-03-17 Wim Taymans <wim@fluendo.com>
9002 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9004 Don't leak buffers, caps and pads on negotiation errors.
9006 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9009 * docs/faq/dependencies.xml:
9010 * docs/faq/developing.xml:
9012 * docs/faq/general.xml:
9013 * docs/faq/getting.xml:
9014 * docs/faq/legal.xml:
9015 * docs/faq/troubleshooting.xml:
9016 * docs/faq/using.xml:
9017 Faq review and update.
9019 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9021 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9023 Don't pound the cpu to pieces by checking get_caps when accept_caps
9024 is called with the same caps as the pad already has.
9025 Use GST_DEBUG_OBJECT when outputting caps change information.
9027 2006-03-15 Wim Taymans <wim@fluendo.com>
9029 * gst/gstclock.c: (gst_clock_class_init):
9032 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9037 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9038 (gst_pad_accept_caps), (gst_pad_configure_sink),
9039 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9040 Make the default acceptcaps behaviour be to check the requested
9041 caps against the gst_pad_get_caps output.
9043 Ensure that gst_pad_accept_caps is used to check caps when a pad
9044 doesn't have a setcaps function, so that pads automatically refuse
9045 caps that they don't allow in their pad template. (Fixes #332986)
9047 When a buffer with attached caps is pushed, ensure that the source
9048 pad receives those caps even if the element didn't call
9049 gst_pad_set_caps first.
9051 2006-03-15 Wim Taymans <wim@fluendo.com>
9053 * libs/gst/base/gstadapter.c:
9056 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9058 * win32/common/libgstbase.def:
9059 * win32/common/libgstcontroller.def:
9060 * win32/common/libgstreamer.def:
9061 Add a whole bunch of missing functions (#334434).
9063 2006-03-14 Wim Taymans <wim@fluendo.com>
9065 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9066 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9067 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9068 Better debug info when we receive a segment event.
9069 Reorganize a bit so we can pass the get_times() results around.
9070 Use the segment format when calculating the running time.
9071 Don't do QoS is sync is disabled or we have no clock or the
9072 element does not want us to sync to the clock.
9073 Don't drop buffers if QoS is disabled for now.
9075 2006-03-14 Wim Taymans <wim@fluendo.com>
9077 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9078 Marked the stats property as unimplemented so people don't get
9080 Add debug message when regression goes wrong.
9081 Added some more docs.
9083 2006-03-14 Wim Taymans <wim@fluendo.com>
9085 * gst/gstsegment.c: (gst_segment_to_stream_time):
9086 Return correct return type in case of errors.
9088 2006-03-14 Wim Taymans <wim@fluendo.com>
9090 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9091 Don't segfault on invalid formats.
9093 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9095 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9096 Can't use gst_segment_to_running_time() when the segment
9097 is not in GST_TIME_FORMAT (like with filesink, for example).
9098 Stops flac encoding pipelines from spewing critical warnings
9101 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9103 * gst/gstpipeline.c: (gst_pipeline_class_init):
9104 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9106 * plugins/elements/gsttypefindelement.c:
9107 (gst_type_find_element_handle_event):
9108 Don't try to typefind empty streams.
9110 2006-03-14 Wim Taymans <wim@fluendo.com>
9112 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9113 (gst_base_sink_do_qos):
9114 Separate QoS calculation.
9115 Only drop buffers when lateness is bigger than the
9116 duration of the buffer.
9118 2006-03-13 Wim Taymans <wim@fluendo.com>
9120 * gst/gstpipeline.c: (gst_pipeline_set_property),
9121 (gst_pipeline_get_property), (do_pipeline_seek),
9122 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9123 (gst_pipeline_get_delay):
9124 Don't deadlock when reading properties.
9126 2006-03-13 Wim Taymans <wim@fluendo.com>
9128 * libs/gst/base/gstbasetransform.c:
9129 (gst_base_transform_class_init), (gst_base_transform_init),
9130 (gst_base_transform_sink_event),
9131 (gst_base_transform_sink_eventfunc),
9132 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9133 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9134 (gst_base_transform_set_property),
9135 (gst_base_transform_get_property),
9136 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9137 (gst_base_transform_set_qos_enabled),
9138 (gst_base_transform_is_qos_enabled):
9139 * libs/gst/base/gstbasetransform.h:
9140 Make basetransform virtual method for src events too.
9141 Handle QOS in basetransform.
9142 API: gst_base_transform_update_qos()
9143 API: gst_base_transform_set_qos_enabled()
9144 API: gst_base_transform_is_qos_enabled()
9146 2006-03-13 Wim Taymans <wim@fluendo.com>
9148 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9149 (gst_base_sink_do_sync):
9151 Use QOS debug category.
9153 2006-03-13 Wim Taymans <wim@fluendo.com>
9155 * plugins/elements/gstqueue.c:
9156 Very small doc update.
9158 2006-03-13 Wim Taymans <wim@fluendo.com>
9160 * gst/gst_private.h:
9161 * gst/gstinfo.c: (_gst_debug_init):
9162 Added QOS debug category
9164 2006-03-13 Wim Taymans <wim@fluendo.com>
9166 * docs/gst/gstreamer-sections.txt:
9167 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9169 * gst/gstbus.c: (gst_bus_class_init):
9172 * gst/gstelement.c: (gst_element_set_locked_state):
9174 Documentation updates.
9176 * gst/gstpipeline.c: (gst_pipeline_get_type),
9177 (gst_pipeline_class_init), (gst_pipeline_init),
9178 (gst_pipeline_dispose), (gst_pipeline_set_property),
9179 (gst_pipeline_get_property), (do_pipeline_seek),
9180 (gst_pipeline_send_event), (gst_pipeline_change_state),
9181 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9182 (gst_pipeline_get_delay):
9183 * gst/gstpipeline.h:
9184 Added methods for setting the delay.
9185 API: gst_pipeline_set_delay()
9186 API: gst_pipeline_get_delay()
9187 Add pipeline debug category
9190 Don't reset stream time when seek failed.
9192 2006-03-13 Wim Taymans <wim@fluendo.com>
9194 * docs/design/draft-klass.txt:
9195 * docs/design/part-clocks.txt:
9196 * docs/design/part-events.txt:
9197 * docs/design/part-gstbin.txt:
9198 * docs/design/part-gstpipeline.txt:
9199 * docs/design/part-messages.txt:
9200 * docs/design/part-negotiation.txt:
9201 * docs/design/part-overview.txt:
9202 * docs/design/part-preroll.txt:
9203 * docs/design/part-seeking.txt:
9204 * docs/design/part-states.txt:
9205 * docs/design/part-streams.txt:
9206 Documentation updates.
9208 2006-03-12 Julien MOUTTE <julien@moutte.net>
9210 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9211 us to leak strings...
9213 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9215 * libs/gst/net/gstnettimeprovider.c:
9217 * win32/common/config.h:
9220 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9222 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9225 Don't check for libgnomeui (leftover from old examples
9226 that aren't built or disted any longer) (#334303).
9228 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9230 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9231 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9232 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9233 there's no space left on the device.
9235 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9238 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9239 to cast the input to GstClockTime before comparing with
9240 another GstClockTime value.
9242 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9247 === release 0.10.4 ===
9249 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9252 releasing 0.10.4, "Light"
9254 2006-03-10 Michael Smith <msmith@fluendo.com>
9256 * libs/gst/dataprotocol/dataprotocol.c:
9257 Fix docs for dataprocotol to not get the return types completely
9258 wrong for a few functions.
9260 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9262 * docs/gst/gstreamer-sections.txt:
9263 * gst/gstpipeline.c: (gst_pipeline_class_init),
9264 (gst_pipeline_init), (gst_pipeline_set_property),
9265 (gst_pipeline_get_property), (gst_pipeline_change_state),
9266 (gst_pipeline_set_auto_flush_bus),
9267 (gst_pipeline_get_auto_flush_bus):
9268 * gst/gstpipeline.h:
9269 Add new API: gst_pipeline_set_auto_flush_bus() and
9270 gst_pipeline_get_auto_flush_bus() to disable automatic
9271 flushing of the pipeline's GstBus when going from READY
9272 to NULL state (#332045).
9274 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9276 * docs/gst/gstreamer-sections.txt:
9277 * gst/gsturi.c: (gst_uri_has_protocol):
9279 Add new API: gst_uri_has_protocol() (#333779).
9281 2006-03-09 Wim Taymans <wim@fluendo.com>
9283 * gst/gstclock.c: (gst_clock_entry_new),
9284 (gst_clock_id_compare_func), (gst_clock_id_wait),
9285 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9286 (gst_clock_init), (gst_clock_get_internal_time),
9287 (gst_clock_set_master), (do_linear_regression),
9288 (gst_clock_add_observation), (gst_clock_set_property):
9292 Fix a possible segfault when the window-size is made smaller.
9293 Calculate jitter before performing the clock wait. Ideally
9294 the clock implementation should calculate jitter but we need
9295 API breakage for that.
9297 * gst/gstsystemclock.c: (gst_system_clock_init):
9300 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9301 Remove leftover else
9303 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9304 (gst_systemclock_suite):
9305 Added check to test GST_CLOCK_DIFF.
9307 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9309 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9310 (gst_type_find_helper_get_range):
9311 If we are provided with the size, we should implement
9312 GstTypeFind::get_length, so that typefind functions who
9313 want to can actually peek at the middle of a file.
9315 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9317 * docs/manual/advanced-dataaccess.xml:
9318 Add some very very basic error checking.
9320 * docs/pwg/appendix-checklist.xml:
9321 Some updates to the list of things to check when writing an element.
9323 2006-03-08 Wim Taymans <wim@fluendo.com>
9325 * docs/design/part-element-transform.txt:
9326 Added some docs about the design of tranform elements.
9328 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9329 (gst_base_src_loop), (gst_base_src_change_state):
9330 Mark buffers with the DISCONT flag.
9332 2006-03-08 Michael Smith <msmith@fluendo.com>
9334 * gst/gstregistry.h:
9335 * gst/gstregistryxml.c: (gst_registry_save),
9336 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9337 (gst_registry_xml_save_pad_template),
9338 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9339 (gst_registry_xml_write_cache):
9340 Rewrite registry-saving to avoid race conditions and check for
9343 2006-03-08 Wim Taymans <wim@fluendo.com>
9345 * libs/gst/base/gstbasetransform.c:
9346 (gst_base_transform_transform_caps),
9347 (gst_base_transform_transform_size),
9348 (gst_base_transform_prepare_output_buffer),
9349 (gst_base_transform_get_unit_size),
9350 (gst_base_transform_buffer_alloc),
9351 (gst_base_transform_handle_buffer),
9352 (gst_base_transform_change_state):
9353 Cleanups, separate normal flow from errors, add sensible
9355 Don't try to renegotiate when allocating an output buffer.
9356 Also copy DISCONT buffer flag when copying a buffer.
9357 Reset the transform after we finish streaming, not during.
9359 2006-03-08 Wim Taymans <wim@fluendo.com>
9361 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9362 Use last buffer timestamp in qos message.
9364 2006-03-07 Wim Taymans <wim@fluendo.com>
9366 Patch by: Christophe Fergeau
9368 * docs/pwg/advanced-tagging.xml:
9369 * docs/pwg/building-pads.xml:
9372 2006-03-07 Wim Taymans <wim@fluendo.com>
9374 * docs/libs/gstreamer-libs-sections.txt:
9375 Added basesink new methods.
9379 Docs updates. Flesh out the QoS docs.
9381 * libs/gst/base/gstadapter.c:
9382 Small doc clarification about ownership and flushing.
9384 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9385 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9386 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9387 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9388 * libs/gst/base/gstbasesink.h:
9390 Added new methods to allow subclass to control max-lateness
9392 Generate very basic QoS events based on last sync observation.
9393 Updated docs, fix typo, added some QoS blurb.
9395 * libs/gst/base/gstbasesrc.c:
9396 Remove obsolete _get_state() calls from docs.
9398 2006-03-07 Wim Taymans <wim@fluendo.com>
9400 * docs/libs/gstreamer-libs-sections.txt:
9401 * libs/gst/base/gstbasetransform.h:
9402 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9403 Fix docs for GstBaseSrc.
9405 2006-03-07 Wim Taymans <wim@fluendo.com>
9407 * docs/gst/gstreamer-sections.txt:
9410 * libs/gst/base/gstbasetransform.h:
9411 Small documentation fixes.
9413 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9416 Document thread-unsafety of gst_value_register_foo_func()
9417 when used at the same time as gst_value_foo() (#322628).
9419 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9421 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9422 (gst_push_src_check_get_range):
9423 Push sources don't support pull mode by default.
9425 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9427 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9428 (gst_base_src_init), (gst_base_src_pad_check_get_range),
9429 (gst_base_src_default_check_get_range):
9430 * libs/gst/base/gstbasesrc.h:
9431 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9432 provide default implementation, and rename
9433 gst_base_src_check_get_range() to
9434 gst_base_src_pad_check_get_range() for clarity.
9436 2006-03-06 Wim Taymans <wim@fluendo.com>
9438 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9439 Make property overridable.
9441 2006-03-06 Wim Taymans <wim@fluendo.com>
9443 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9444 (gst_base_sink_init), (gst_base_sink_set_property),
9445 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9446 * libs/gst/base/gstbasesink.h:
9447 API addition: Make max-lateness a property.
9449 2006-03-06 Wim Taymans <wim@fluendo.com>
9451 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9452 (gst_base_sink_do_sync), (gst_base_sink_render_object):
9453 Don't ever draw a frame that is >10ms late.
9455 2006-03-06 Michael Smith <msmith@fluendo.com>
9457 * gst/gstmessage.c: (_gst_message_copy):
9458 When copying a message, set the parent_refcount of the enclosed
9459 structure to point at the copy, not the original message.
9461 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9463 Patch by: Christophe Fergeau
9466 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9467 usable in c++ code (#333417)
9469 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9472 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9474 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9476 * libs/gst/base/gstbasetransform.c:
9477 (gst_base_transform_transform_caps):
9478 Make sure caps are writable before passing them to
9481 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9484 Fix some minor docs errors.
9486 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9488 Patch by: Ross Burton <ross at burtonini dot com>
9490 * gst/gsterror.c: (_gst_resource_errors_init):
9492 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9494 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9497 Add a check and output a g_warning when GStreamer is built
9498 against GLib 2.6 but running against 2.8 or higher, and vice
9499 versa. (Closes: #323542)
9501 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9503 * gst/parse/parse.l:
9504 Commit patch for parse_launch syntax from #331255. Removes
9505 support for quoted strings and mimetypes when writing filtered
9506 caps. See the bug report for more details - I'm pretty sure this
9507 obscure feature is not in use by _anyone_ anywhere.
9509 With this simple change, the size of the gstreamer.so here
9510 drops from 2193KB to 1565KB.
9512 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9514 * plugins/elements/gsttypefindelement.h:
9515 * plugins/elements/gsttypefindelement.c:
9516 (gst_type_find_element_src_event), (start_typefinding),
9517 (stop_typefinding), (gst_type_find_element_handle_event),
9518 (gst_type_find_element_chain),
9519 (gst_type_find_element_chain_do_typefinding):
9520 Use gst_type_find_helper_for_buffer() for chain-based
9523 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9525 * plugins/elements/gsttypefindelement.c:
9526 (gst_type_find_element_class_init),
9527 (gst_type_find_element_set_property),
9528 (gst_type_find_element_get_property):
9529 Deprecate "maximum" property (not only was it only taken into
9530 account for typefinding in push-mode anyway, it also was never
9531 actually possible to set it in the first place because the
9532 property was registered with the numeric property ID for the
9533 "minimum" property). Register "maximum" property correctly,
9534 for the sake of future copy'n'pasters. Remove some cruft
9535 from property get/set functions.
9537 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9539 * plugins/elements/gsttypefindelement.c:
9540 (gst_type_find_element_activate):
9541 Use gst_type_find_helper_get_range() here, so we
9542 can honour the "minimum" property and also emit
9543 the signal with the correct probability of the found caps.
9545 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9547 * docs/libs/gstreamer-libs-sections.txt:
9548 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9549 (helper_find_suggest), (gst_type_find_helper_get_range),
9550 (gst_type_find_helper):
9551 * libs/gst/base/gsttypefindhelper.h:
9552 New API: gst_type_find_helper_get_range() (#333042).
9554 2006-03-02 Michael Smith <msmith@fluendo.com>
9556 * gst/gstregistryxml.c: (load_feature):
9557 Asserting on a failure to read part of the registry is Not Cool.
9558 Just log a warning and return NULL (which is already handled)
9560 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9562 * win32/common/libgstbase.def:
9563 added export of gst_type_find_helper_for_buffer
9564 * win32/common/libgstbase.def:
9565 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9566 gst_ghost_pad_get_target
9568 2006-02-28 Wim Taymans <wim@fluendo.com>
9570 * docs/design/draft-klass.txt:
9572 Added Connector to mark elements that are only used to
9573 allow pipeline connections.
9574 Moved Debug to extra feature since most of them are
9575 functionally something else.
9577 2006-02-28 Wim Taymans <wim@fluendo.com>
9579 * docs/design/draft-klass.txt:
9580 Some updates and clarifications.
9582 2006-02-28 Wim Taymans <wim@fluendo.com>
9584 * docs/design/draft-klass.txt:
9585 Proposal for klass field values.
9587 * docs/design/part-streams.txt:
9588 Start of a doc describing stream anatomy.
9590 2006-02-28 Wim Taymans <wim@fluendo.com>
9592 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9593 Help the compiler a bit with type registration.
9594 Use existing forward cod path instead of duplicating it when
9597 * gst/gstbus.c: (gst_bus_get_type):
9598 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9599 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9600 * gst/gstclock.c: (gst_clock_get_type):
9601 * gst/gstelement.c: (gst_element_get_type),
9602 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9603 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9604 * gst/gstminiobject.c: (gst_mini_object_get_type):
9605 * gst/gstpad.c: (gst_pad_get_type):
9606 * gst/gstsegment.c: (gst_segment_get_type):
9607 * gst/gststructure.c: (gst_structure_get_type):
9608 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9609 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9611 Help compiler with type registration.
9613 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9616 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9618 * plugins/elements/gsttypefindelement.c:
9619 (gst_type_find_element_handle_event):
9620 When we get an EOS event and have not found a type yet
9621 (most likely because we had not yet accumulated
9622 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9623 type given the data we have so far. Fixes typefinding
9624 for very short streams again, most notably quicktime
9625 redirections as used on Apple's trailer site (#331701).
9627 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9629 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9630 (gst_type_find_helper):
9631 Try typefinding factories with the highest rank first.
9633 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9635 * docs/libs/gstreamer-libs-docs.sgml:
9636 * docs/libs/gstreamer-libs-sections.txt:
9637 * libs/gst/base/gsttypefindhelper.c:
9638 Add section for typefind helper and add documentation
9639 for the old and the new function.
9641 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9643 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9644 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9645 (gst_type_find_helper_for_buffer):
9646 * libs/gst/base/gsttypefindhelper.h:
9647 New API: gst_type_find_helper_for_buffer() (#332723).
9649 2006-02-27 Michael Smith <msmith@fluendo.com>
9651 Patch by: Loïc Minier
9655 * docs/slides/Makefile.am:
9656 prevent CVS directories getting disted.
9658 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9660 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9661 Use the REFCOUNTING category for caps refcounting.
9663 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9665 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9666 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9668 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9670 * plugins/elements/gsttypefindelement.c:
9671 (gst_type_find_element_activate):
9672 Use gst_pad_check_pull_range() before _activate_pull()
9673 to avoid unnecessary open/close (see #331690).
9675 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9678 Docs enhancement: make it crystal clear what the
9679 gst_pad_add_*_probe() callbacks should look like.
9681 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9683 * libs/gst/base/gstbasesrc.c:
9684 Document how applications can stop recording from
9685 live sources (see #330996).
9687 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9689 * tests/check/Makefile.am:
9690 * tests/check/libs/basesrc.c: (eos_event_counter),
9691 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9692 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9693 (gst_basesrc_suite), (main):
9694 ... and add some tests for the base source EOS stuff.
9696 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9698 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9699 Test case originally showed the problem fixed below,
9700 but was then amended. Add checks back at the place
9701 where they used to be.
9703 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9705 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9706 (gst_base_src_init), (gst_base_src_loop),
9707 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9708 (gst_base_src_change_state):
9709 * libs/gst/base/gstbasesrc.h:
9710 Don't unconditionally send EOS when going from PAUSED to
9711 READY state, esp. make sure we don't send two EOS events
9712 in some cases (e.g. one when reaching EOS and one when
9713 going from PAUSED to READY). Also, we don't want to send
9714 EOS events when operating in pull mode. However, we do
9715 want to send an EOS event when shutting down a live
9716 source explicitly, for example (fixes #330996).
9718 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9720 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9721 Update src->read_position after a seek when not using mmap.
9722 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9724 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9730 Make things work with --disable-parse as they do with
9731 --disable-load-save - the symbols involved disappear, but the
9732 header is still installed and GST_DISABLE_PARSE is included via
9735 2006-02-20 Julien MOUTTE <julien@moutte.net>
9737 * libs/gst/base/gstbasetransform.c:
9738 (gst_base_transform_change_state): Fix a stupid bug. I was
9739 sure I compiled that.
9741 2006-02-20 Julien MOUTTE <julien@moutte.net>
9743 * gst/gstpad.c: (gst_pad_set_blocked_async):
9744 * gst/gstutils.c: (gst_pad_add_data_probe),
9745 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9746 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9747 (gst_pad_remove_buffer_probe): Make those function act on the
9748 ghostpad target when it's a ghostpad. (Closes #331727)
9750 2006-02-20 Julien MOUTTE <julien@moutte.net>
9752 * libs/gst/base/gstbasetransform.c:
9753 (gst_base_transform_change_state): Make basetransform reusable.
9756 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9758 * docs/random/release:
9759 Move the current documentation of how to do a release to the top
9762 * gst/gstbin.c: (gst_bin_class_init),
9763 (gst_bin_handle_message_func):
9764 Allow multiple state-recalculation threads. (Closes #328873)
9766 2006-02-19 Julien MOUTTE <julien@moutte.net>
9768 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9769 * gst/gstpad.c: (gst_pad_set_event_function),
9770 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9771 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9772 2 strings. You can't use the STR_NULL macro on that.
9774 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9776 * gst/gstpad.c: (gst_pad_set_event_function),
9777 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9778 (gst_pad_set_getcaps_function)
9779 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9780 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9781 So now, we can use --gst-debug-level=5 on Windows
9782 * win32/common/libgstcontroller.def:
9783 Added export of gst_controller_init
9784 * win32/vs6/libgstcontroller.dsp:
9785 Fixed Release post build configuration
9787 2006-02-17 Wim Taymans <wim@fluendo.com>
9789 * tests/check/gst/gstquery.c: (GST_START_TEST):
9790 Added another check.
9792 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9794 * plugins/elements/gsttypefindelement.c: (find_peek):
9795 We can do peeks at non-zero offsets, as long as they
9796 fall within the buffer we have.
9798 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9800 * tests/check/Makefile.am:
9801 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9802 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9803 (parse_suite), (main):
9804 Add testsuite for parse launch syntax
9806 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9808 * plugins/elements/gsttypefindelement.c:
9809 (gst_type_find_element_chain):
9810 When typefinding is unsuccessful in the chain function, don't
9811 error out immediately. Only error out with NO_CAPS_FOUND if
9812 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9813 otherwise simply wait for more data so we can try typefinding
9814 again with more data later. Also, don't attempt to typefind
9815 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9816 this should improve typefinding from network sources where the
9817 size of the first buffer can be somewhat random.
9819 2006-02-14 Wim Taymans <wim@fluendo.com>
9821 * docs/gst/gstreamer-sections.txt:
9822 * gst/gstpadtemplate.c:
9823 * gst/gstpadtemplate.h:
9824 Fix padtemplate docs, fixes #328805.
9826 2006-02-14 Wim Taymans <wim@fluendo.com>
9828 * tools/gst-launch.c: (main):
9829 NO_PREROLL is not an ERROR so don't send confusing messages
9832 2006-02-14 Wim Taymans <wim@fluendo.com>
9834 Patch by: Torsten Schoenfeld
9836 * gst/gstregistry.c: (gst_registry_get_default),
9837 (_gst_registry_cleanup):
9838 Protect default registry with lock and ref/sink it.
9841 2006-02-14 Wim Taymans <wim@fluendo.com>
9844 * gst/gstquery.c: (gst_query_list_add_format),
9845 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9846 (gst_query_parse_formats_nth):
9847 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9850 2006-02-14 Wim Taymans <wim@fluendo.com>
9852 * docs/gst/gstreamer-sections.txt:
9853 Reworked query docs.
9855 * gst/gstquery.c: (gst_query_new_formats),
9856 (gst_query_list_add_format), (gst_query_set_formats),
9857 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9858 (gst_query_parse_formats_nth):
9860 Flesh out formats query, added some new methods.
9861 Fix part of #324398.
9863 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9864 Added query creation tests.
9866 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9868 * gst/gstpad.c: (fixate_value):
9869 Add a default fixation for fraction lists.
9871 2006-02-13 Wim Taymans <wim@fluendo.com>
9873 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9874 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9877 Detect and warn for obvious deadlocks. fixes #320340
9878 Fix error case where lock was not released.
9880 * tests/check/Makefile.am:
9881 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9882 (task_func), (gst_element_suite), (main):
9885 2006-02-13 Wim Taymans <wim@fluendo.com>
9887 * docs/gst/gstreamer-sections.txt:
9889 Add new functions to docs.
9891 2006-02-13 Wim Taymans <wim@fluendo.com>
9893 * docs/design/part-TODO.txt:
9894 Updated TODO list, basesrc supports seeking to non-bytes
9897 * docs/design/part-element-sink.txt:
9900 * gst/gstbin.c: (bin_replace_message),
9901 (gst_bin_handle_message_func):
9902 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9903 * gst/gstevent.c: (gst_event_finalize):
9904 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9905 (gst_pad_send_event):
9906 Use shiny new _TYPE_NAME macros.
9908 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9909 Move debug statement up.
9911 * gst/gstelement.c: (gst_element_set_locked_state):
9914 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
9916 * docs/gst/gstreamer-sections.txt:
9919 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9920 macros (#330906). Also, document the already existing
9921 GST_QUERY_TYPE macro.
9923 2006-02-13 Wim Taymans <wim@fluendo.com>
9925 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9926 (event_probe), (GST_START_TEST):
9927 Only events up to the pipeline EOS are counted, there are
9928 some more when going to NULL currently which we don't care
9931 2006-02-13 Wim Taymans <wim@fluendo.com>
9933 * gst/gstpad.c: (gst_pad_send_event):
9934 Correctly check flushing and emit probes. fixes #330125
9936 2006-02-10 Andy Wingo <wingo@pobox.com>
9938 * gst/gstbus.c (gst_bus_class_init): Declare our private data
9940 (gst_bus_init): Cache the location of the private data in the
9942 (gst_bus_enable_sync_message_emission)
9943 (gst_bus_disable_sync_message_emission): Implement new public
9945 (gst_bus_post): Emit the sync-message signal if the user asked for
9948 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9949 location of the bus-private structure.
9950 (gst_bus_enable_sync_message_emission)
9951 (gst_bus_disable_sync_message_emission): API addition
9953 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
9955 Patch by: Vincent Torri
9957 * docs/pwg/building-boiler.xml:
9958 PWG patch from #326800
9960 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
9964 * docs/design/Makefile.am:
9967 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9972 === release 0.10.3 ===
9974 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9977 releasing 0.10.3, "Like a virgin"
9979 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9982 2nd prerelease of 0.10.3
9983 Bump libtool versioning.
9985 2006-02-07 Andy Wingo <wingo@pobox.com>
9987 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
9988 update last_stop if we're in TIME format and the timestamp is
9991 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
9992 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
9993 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
9994 If we get a new newsegment with a different format, adapt
9997 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
9998 of 0. Not a problem, really.
10000 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10003 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10008 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10011 project files updated to the default vs7 configuration
10012 * win32/common/libgstbase.def:
10013 * win32/common/libgstreamer.def:
10015 removed empty lines,
10016 sorted all exported symbols alphabetically
10017 * win32/common/dirent.c:
10018 * win32/common/dirent.h:
10019 * win32/common/gchar.h:
10020 use windows line end.
10022 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10024 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10025 Send EOS event when stopping.
10027 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10030 Tell folks what to do if the plugin-foobar.xml file
10031 hasn't been generated for a newly-added plugin.
10033 2006-02-05 Julien MOUTTE <julien@moutte.net>
10035 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10036 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10037 (gst_collect_pads_start), (gst_collect_pads_stop),
10038 (gst_collect_pads_event): Collectpads now holds a reference
10039 to the GstPad that was added. Indeed we don't want to look
10040 at pads that might just go away with no warning...
10042 2006-02-05 Julien MOUTTE <julien@moutte.net>
10044 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10045 (gst_collect_pads_start), (gst_collect_pads_stop),
10046 (gst_collect_pads_event), (gst_collect_pads_chain):
10047 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10048 Mark Nauwelaerts's patch on bug #328491.
10050 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10052 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10054 Add some simple tests for gst_parse_bin_from_description() and
10055 gst_bin_find_unconnected_pad() (#329069).
10057 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10059 * tools/gst-launch.c: (event_loop), (main):
10060 Catch errors during preroll (#320084).
10062 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10064 * plugins/elements/gsttypefindelement.c:
10065 (gst_type_find_element_activate):
10066 Post TYPE_NOT_FOUND error message when typefinding
10067 is unsuccessful in the activate function as well.
10069 2006-02-02 Wim Taymans <wim@fluendo.com>
10071 * docs/design/part-element-sink.txt:
10074 2006-02-02 Wim Taymans <wim@fluendo.com>
10076 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10077 (gst_base_sink_render_object),
10078 (gst_base_sink_queue_object_unlocked):
10079 Only keep track of prerollable items when we are
10081 Before rendering after preroll, always check if we
10083 Added some more debugging.
10085 2006-02-02 Wim Taymans <wim@fluendo.com>
10087 * gst/gstelement.c: (gst_element_continue_state),
10088 (gst_element_set_state_func), (gst_element_change_state):
10089 Fixed #326576, been running this for quite some time with
10090 no regressions at all.
10092 2006-02-02 Wim Taymans <wim@fluendo.com>
10095 Added more suppressions
10097 2006-02-02 Wim Taymans <wim@fluendo.com>
10099 * docs/design/part-element-sink.txt:
10102 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10103 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10104 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10105 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10106 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10107 (gst_base_sink_preroll_object),
10108 (gst_base_sink_queue_object_unlocked),
10109 (gst_base_sink_queue_object), (gst_base_sink_event),
10110 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10111 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10112 (gst_base_sink_get_position), (gst_base_sink_change_state):
10113 * libs/gst/base/gstbasesink.h:
10114 Totally refactored matching the design doc.
10115 Use two segments, one to clip incomming buffers and another to
10117 Handle queueing correctly, bypass the queue when playing.
10118 Make EOS cancelable.
10119 Handle errors correctly when operating in pull based mode.
10121 * tests/check/elements/fakesink.c: (GST_START_TEST),
10123 Added new check for sinks.
10125 2006-02-02 Wim Taymans <wim@fluendo.com>
10127 * gst/gstsegment.c: (gst_segment_clip):
10128 No reason to refuse to clip when start == -1
10130 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10133 * docs/manual/intro-basics.xml:
10134 * docs/manual/intro-preface.xml:
10135 * docs/manual/manual.xml:
10136 * docs/pwg/advanced-dparams.xml:
10137 * docs/pwg/intro-basics.xml:
10138 * docs/pwg/intro-preface.xml:
10139 * docs/pwg/pwg.xml:
10140 describe dparams (controller) for plugins
10141 unify docs a little more
10143 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10145 * docs/gst/gstreamer-sections.txt:
10146 * gst/gstutils.c: (element_find_unconnected_pad),
10147 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10149 Add new API: gst_parse_bin_from_description() and
10150 gst_bin_find_unconnected_pad() (#329069).
10152 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10154 * docs/manual/README:
10155 uncover a nasty detail of the docs build
10157 2006-01-31 Wim Taymans <wim@fluendo.com>
10159 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10160 Don't cache duration messages if we're not going to use or
10163 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10165 * docs/manual/advanced-dparams.xml:
10166 * docs/pwg/advanced-dparams.xml:
10170 * libs/gst/controller/lib.c: (gst_controller_init):
10173 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10175 * gst/gstelement.c: (gst_element_message_full):
10176 also show file/line/func if no additional debug was given
10178 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10180 * win32/vs7/grammar.vcproj:
10181 activate copy of autogenerated files for Release mode
10183 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10185 * win32/common/libgstreamer.def:
10186 export gst_value_compare
10188 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10190 * plugins/elements/Makefile.am:
10191 * plugins/elements/gstelements.c:
10192 * plugins/elements/gstfdsink.c: (_do_init),
10193 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10194 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10195 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10196 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10197 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10198 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10199 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10200 * plugins/elements/gstfdsink.h:
10201 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10203 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10205 * docs/manual/advanced-dparams.xml:
10206 describe controller
10207 * docs/manual/advanced-position.xml:
10208 * docs/manual/basics-init.xml:
10209 * docs/manual/manual.xml:
10210 * docs/manual/titlepage.xml:
10211 * docs/pwg/pwg.xml:
10212 * docs/pwg/titlepage.xml:
10213 cleanup xml (more to come)
10214 * libs/gst/controller/gstcontroller.c:
10217 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10219 * win32/vs6/grammar.dsp:
10220 add autogen of gstmarshal.c,h for Release mode
10222 2006-01-30 Wim Taymans <wim@fluendo.com>
10224 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10225 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10226 (gst_base_sink_handle_object), (gst_base_sink_event),
10227 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10228 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10229 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10230 (gst_base_sink_deactivate), (gst_base_sink_activate),
10231 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10232 (gst_base_sink_query), (gst_base_sink_change_state):
10233 Basesink cleanups, remove some old code.
10234 Handle the case where a subclass can preroll in the render
10235 method (mostly audiosinks).
10236 Handle more events.
10237 Remove some locks around variables that are now protected
10238 with the PREROLL_LOCK (clock_id, flushing, ..).
10239 Optimize position query some more, do correct locking.
10240 Remove old code to push queue in state change, this is not
10241 needed anymore since preroll blocks on all prerollable items
10243 Almost implemented as described in design doc.
10245 2006-01-30 Wim Taymans <wim@fluendo.com>
10247 * tests/check/gst/gstbin.c: (GST_START_TEST):
10248 Wait for refcount to settle down before checking.
10250 2006-01-30 Wim Taymans <wim@fluendo.com>
10252 * docs/design/part-element-sink.txt:
10253 Pseudo code overview of desired sink behaviour regarding
10256 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10257 * win32/vs6/grammar.dsp:
10258 fix some bugs in Release mode for autogenerated files
10260 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10261 * win32/common/libgstbase.def:
10262 * win32/common/libgstreamer.def:
10263 export some new symbols: gst_base_src_set_format,
10264 gst_iterator_next, gst_structure_set_valist
10266 2006-01-29 Julien MOUTTE <julien@moutte.net>
10268 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10269 Set pad functions unconditionally. Fixes #329105.
10271 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10273 add vs8 project files created by Sergey Scobich
10275 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10277 * gst/gstutils.c: (gst_element_unlink_pads):
10278 Don't leak pad references.
10280 * tests/check/elements/fakesink.c: (GST_START_TEST):
10281 * tests/check/generic/sinks.c: (GST_START_TEST):
10282 * tests/check/generic/states.c: (GST_START_TEST):
10283 * tests/check/gst/gstbin.c: (GST_START_TEST):
10284 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10285 * tests/check/gst/gstelement.c: (GST_START_TEST):
10286 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10287 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10288 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10289 Fix a bunch of leaks. Make generic/sinks.c
10290 use a bit less cpu by slowing the buffer rate
10291 between fakesrc and fakesink.
10293 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10295 * gst/gstelement.c: (gst_element_send_event):
10298 * gst/gstiterator.c:
10299 * gst/gstiterator.h:
10300 * gst/gstpad.c: (gst_pad_send_event):
10301 * gst/gststructure.c:
10305 * libs/gst/base/gstadapter.c:
10306 doc fixes, to link to function, just write gst_cool_function(), don't
10309 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10311 * plugins/elements/gsttee.c: (gst_tee_do_push),
10312 (gst_tee_handle_buffer):
10313 Always prefer an actual return value from a src
10314 pad in place of NOT_LINKED. This means we return
10315 WRONG_STATE when all src pads are WRONG_STATE
10316 instead of NOT_LINKED.
10318 Lock when replacing the last message to prevent
10319 racing with the get_property method.
10323 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10325 * tests/check/Makefile.am:
10326 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10328 Add a very simple check that should have caught the memleak I fixed
10329 last night (if not for the slice allocator hiding it)
10331 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10333 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10334 (gst_bin_remove_func), (gst_bin_handle_message_func),
10335 (bin_query_duration_fold), (bin_query_generic_fold):
10336 Clean up references to the clock provider when disposed or when
10337 handling a clock-lost message from it.
10339 Unref sinks when performing a query via gst_iterator_fold, as the
10340 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10342 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10343 (gst_clock_set_master):
10344 Drop our reference to the master clock, if any, when we are disposed.
10346 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10347 Chain up in dispose.
10349 2006-01-26 Wim Taymans <wim@fluendo.com>
10351 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10352 Add some debugging.
10354 2006-01-26 Julien MOUTTE <julien@moutte.net>
10356 * plugins/elements/gsttee.c: (gst_tee_do_push),
10357 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10358 handles pad being NOT_LINKED or in WRONG_STATE.
10360 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10365 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10368 remove obsolete entry
10370 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10372 * docs/gst/gstreamer-sections.txt:
10373 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10374 (gst_bin_iterate_sources), (gst_bin_send_event):
10376 * gst/gstelement.c: (gst_element_send_event):
10378 * gst/gstpad.c: (gst_pad_send_event):
10379 added code for downstream events, reviewed docs in gstevent.c
10381 2006-01-25 Julien MOUTTE <julien@moutte.net>
10383 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10384 We only query position using the clock in the playing state.
10385 Query peer in the other cases.
10386 * win32/common/config.h: Updates.
10388 2006-01-24 Wim Taymans <wim@fluendo.com>
10390 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10391 A clock entry that is scheduled for the exact time of the
10392 clock is still in time.
10394 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10395 (gst_base_sink_do_sync):
10396 Add some more debug info.
10398 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10401 Add new vs7 project files and solution.
10403 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10406 all files removed as they were out-dated.
10408 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10410 * docs/random/release:
10412 * gst/gstbin.c: (gst_bin_init):
10413 * gst/gstbus.c: (gst_bus_new):
10415 * gst/gstpipeline.c: (gst_pipeline_init):
10416 use gst_bus_new(), improve logging, fix docs
10417 * win32/common/config.h:
10418 update for cvs build
10420 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10423 up required version of automake to 1.7
10425 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
10427 * win32/common/libgstreamer.def:
10428 export gst_buffer_is_metadata_writable
10430 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
10432 * docs/gst/gstreamer-sections.txt:
10434 Add gst_event_replace() (#327001)
10436 2006-01-20 Wim Taymans <wim@fluendo.com>
10438 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10439 Make it actually compile too..
10441 2006-01-20 Wim Taymans <wim@fluendo.com>
10444 Clarify behaviour of _is_equal() when passing NULL parameters.
10446 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10447 (gst_pad_set_caps):
10448 Cleanups. Don't unref NULL caps.
10449 When setting the same caps, protect caps of the pad with
10451 Use full functionality of _is_equal() when comparing caps.
10453 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10455 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10456 Don't loop infinitely if there are no buffers to present. Partially
10457 fixes #327197, but collectpads is just broken for reusing elements
10458 to do multiple encodes atm.
10460 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10462 * tools/gst-inspect.c: (print_element_features):
10463 * tools/gst-xmlinspect.c: (main):
10464 URL_HANDLER is not a plugin feature we can search for in
10467 2006-01-19 Edward Hervey <edward@fluendo.com>
10469 * gst/gstelement.c: (gst_element_pads_activate):
10470 When activating, do src pads first, then sink pads.
10471 When de-activating, do sink pads first, then src pads.
10473 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10475 * docs/gst/gstreamer-sections.txt:
10476 Add gst_index_add_associationv to the docs
10478 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10483 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10484 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10485 Do some refactoring. Doesn't actually change functionality,
10486 but makes landing the DRAIN event easier later.
10488 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10490 * docs/pwg/advanced-scheduling.xml:
10491 Update from 0.9.x to 0.10 API and make example a bit
10494 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10496 * docs/gst/gstreamer-sections.txt:
10497 Add gst_buffer_(is|make)_metadata_writable methods.
10499 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10501 * docs/design/part-sparsestreams.txt:
10502 Update sparse streams doc, hopefully for greater clarity
10504 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10506 * docs/design/part-events.txt:
10507 Remove mention of FILLER events.
10510 * docs/design/part-sparsestreams.txt:
10511 Write some things about using NEWSEGMENT to keep sparse streams
10514 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10516 * gst/gstbin.c: (gst_bin_dispose):
10517 Guard gst_object_unref call against a NULL object (dispose
10518 can theoretically be called multiple times).
10520 2006-01-18 Wim Taymans <wim@fluendo.com>
10522 * gst/gstbin.c: (gst_bin_element_set_state):
10523 * gst/gstclock.c: (gst_clock_id_wait):
10524 Added some more debug info.
10526 * libs/gst/base/gstadapter.c:
10529 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10530 (gst_base_sink_do_sync), (gst_base_sink_chain):
10531 Added some comments.
10533 2006-01-18 Wim Taymans <wim@fluendo.com>
10535 * tests/check/Makefile.am:
10536 * tests/check/elements/fakesink.c: (chain_async_buffer),
10537 (chain_async), (chain_async_return), (GST_START_TEST),
10538 (fakesink_suite), (main):
10539 Added fakesink test that checks prerolling and clipping
10542 * tests/check/gst/gstutils.c: (GST_START_TEST):
10543 Make check run faster so that buildbots don't timeout.
10545 2006-01-18 Wim Taymans <wim@fluendo.com>
10547 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10548 (gst_base_sink_do_sync):
10550 When the sink finishes blocking on the preroll buffer, it can
10551 immediatly render it instead of rendering when the next buffer
10554 2006-01-18 Wim Taymans <wim@fluendo.com>
10556 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10557 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10558 (gst_base_sink_chain):
10560 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10561 Don't store _last_stop if the buffer is dropped.
10563 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10565 * plugins/elements/gsttypefindelement.c:
10566 (gst_type_find_element_class_init):
10567 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10568 object method handler that sets the caps on the pad and we want
10569 that to happen before we emit the signal (fixes e.g. feeding a
10570 plain text file to decodebin).
10572 2006-01-18 Christian Schaller <Christian@fluendo.com>
10574 * gst/gstplugin.c: Add MPL and Proprietary as license options
10576 2006-01-18 Andy Wingo <wingo@pobox.com>
10578 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10579 symbol was exported before, it appears this was just an oversight.
10581 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10583 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10584 prototype to gint. OK since this prototype was not in the header.
10586 2006-01-17 Andy Wingo <wingo@pobox.com>
10588 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10589 registry while we remove plugins.
10591 * tools/gst-inspect.c (print_element_info): Don't unref the
10592 factory arg, that should be the responsibility of whatever code
10593 received the ref. Fixes a double-free when called from
10594 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10595 (main): Unref the factory if we have one.
10596 (print_element_list): No change -- relies on the
10597 plugin_feature_list_free to free the list of features.
10599 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10601 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10602 (gst_buffer_make_metadata_writable):
10604 * libs/gst/base/gstbasetransform.c:
10605 (gst_base_transform_prepare_output_buf):
10606 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10607 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10608 Replace gst_buffer_(make|is)_metadata_writable patch now
10609 that the release is out.
10611 2006-01-17 Andy Wingo <wingo@pobox.com>
10613 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10614 in the present tense without reference to versions.
10616 * gst/gstregistry.c (gst_registry_add_plugin)
10617 (gst_registry_remove_plugin, gst_registry_remove_feature)
10618 (gst_registry_find_feature, gst_registry_get_feature_list)
10619 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10620 (gst_registry_lookup, gst_registry_scan_path)
10621 (_gst_registry_remove_cache_plugins)
10622 (gst_registry_get_feature_list_by_plugin): Add argument
10625 === release 0.10.2 ===
10627 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10630 releasing 0.10.2, "If man is five"
10632 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10636 * libs/gst/base/gstbasetransform.c:
10637 (gst_base_transform_prepare_output_buf):
10638 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10639 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10640 Back out patch until after the release.
10642 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10644 * gst/gstminiobject.c:
10645 Spelling fix in docs.
10646 * ChangeLog - remove conflict indicator
10648 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10650 Reviewed By: Andy Wingo
10652 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10653 (gst_buffer_make_metadata_writable):
10655 Add gst_buffer_(is|make)_metadata_writable as analogues of
10656 gst_buffer_(is|make)_writable.
10658 * libs/gst/base/gstbasetransform.c:
10659 (gst_base_transform_prepare_output_buf):
10660 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10661 Use name gst_buffer_(is|make)_metadata_writable functions.
10663 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10664 Test gst_buffer_(is|make)_metadata_writable
10668 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10670 * docs/manual/Makefile.am:
10671 don't do parallel make
10674 * win32/common/config.h.in:
10675 add generations for HOST_CPU and GST_MAJORMINOR
10676 * win32/common/config.h:
10677 commit generated result
10679 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10681 * docs/manual/appendix-integration.xml:
10682 Update GNOME integration section to use gst_init_get_option_group()
10683 instead of the old popt stuff (#322911). Also, GNOME applications
10684 should now use gconf*sink and gconf*src instead of the old gconf
10687 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10690 * docs/gst/gstreamer-docs.sgml:
10691 * docs/gst/gstreamer-sections.txt:
10692 * docs/libs/gstreamer-libs-sections.txt:
10693 add new API entries to the docs
10694 * libs/gst/controller/Makefile.am:
10695 * libs/gst/controller/gstcontroller.c:
10696 * libs/gst/controller/gstcontroller.h:
10697 * libs/gst/controller/gstcontrollerprivate.h:
10698 * libs/gst/controller/gsthelper.c:
10699 * libs/gst/controller/gstinterpolation.c:
10700 move private structs to private header
10702 gstreamer-0.7 -> gstreamer-0.10
10703 * tests/check/libs/struct_i386.h:
10704 remove private structs
10706 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10708 * plugins/indexers/Makefile.am:
10709 Fixes as part of #317048
10711 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10713 * plugins/indexers/Makefile.am:
10714 fix #316086 - compilation when mmap is missing
10716 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10718 * libs/gst/base/gstbasesink.c:
10719 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10720 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10721 * win32/common/config.h:
10722 added some defines GST_MAJORMINOR and HOST_CPU
10723 * win32/common/libgstbase.def:
10724 * win32/common/libgstreamer.def:
10725 added some exported functions.
10727 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10729 * libs/gst/controller/gstcontroller.c:
10730 (gst_controlled_property_set_interpolation_mode),
10731 (gst_controlled_property_new):
10732 * libs/gst/controller/gstcontroller.h:
10733 * libs/gst/controller/gstinterpolation.c:
10734 (interpolate_none_get_string_value_array):
10735 make G_TYPE_STRING controlable
10737 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10740 * tools/gst-feedback.1.in:
10741 * tools/gst-inspect.1.in:
10742 * tools/gst-launch.1.in:
10743 * tools/gst-md5sum.1.in:
10744 * tools/gst-typefind.1.in:
10745 * tools/gst-xmlinspect.1.in:
10746 * tools/gst-xmllaunch.1.in:
10747 cleanup man-pages, remove reference to gst-register, document env-vars
10749 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10751 * gst/gstbuffer.c: (gst_buffer_span):
10752 gst_buffer_span should copy the timestamp of the first buffer
10753 if they were both originally overlapping subbuffers of the
10754 same parent, using the same logic as the 'slow copy' case.
10756 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10758 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10759 Need to awaken ALL the pads when we pop a buffer, otherwise
10760 collectpads only works when there is 2 input streams.
10762 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10764 * docs/random/ensonic/media-device-daemon.txt:
10767 fix doc example, add clarification
10768 * tools/gst-launch.1.in:
10769 add initial info about GST_PLUGIN_PATH, needs more work
10771 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10773 * docs/manual/basics-bins.xml:
10774 * docs/manual/basics-elements.xml:
10775 * docs/manual/intro-basics.xml:
10776 Some more minor docs additions and updates.
10778 2006-01-11 Wim Taymans <wim@fluendo.com>
10780 * docs/manual/basics-bins.xml:
10781 * docs/manual/basics-elements.xml:
10782 Some small fixes as pointed out by Ser-ver on IRC.
10784 2006-01-10 Edward Hervey <edward@fluendo.com>
10786 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10787 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10788 the single-segment mode.
10790 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10792 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10794 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10795 (gst_base_src_perform_seek), (gst_base_src_send_event),
10796 (gst_base_src_set_property), (gst_base_src_get_property),
10797 (gst_base_src_loop), (gst_base_src_start),
10798 (gst_base_src_activate_push):
10799 * libs/gst/base/gstbasesrc.h:
10800 Name (private) union; makes Sun's Forte compiler happy (#324900).
10802 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10805 gst-register is gone.
10807 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10809 * gst/gstvalue.c: (_gst_value_initialize):
10810 make the G_TYPE_DATE instantiation work if debug is disabled
10812 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10814 * gst/gstmessage.c: (gst_message_parse_tag),
10815 (gst_message_parse_error), (gst_message_parse_warning):
10816 Don't crash when return location for error/warning debug
10817 string is NULL; add fact that return locations can be
10818 NULL to docs where appropriate.
10820 2006-01-05 Wim Taymans <wim@fluendo.com>
10822 * gst/gstplugin.c: (gst_plugin_load_file):
10823 Replace strdup by g_strdup.
10825 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10827 * docs/pwg/advanced-types.xml:
10830 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10832 submitted by: Abel Cheung
10836 Added Chinese (traditional) translation
10838 2006-01-04 Wim Taymans <wim@fluendo.com>
10840 * docs/manual/basics-pads.xml:
10841 * docs/plugins/Makefile.am:
10842 * docs/plugins/gstreamer-plugins-docs.sgml:
10843 * docs/plugins/gstreamer-plugins-sections.txt:
10844 * docs/pwg/advanced-clock.xml:
10845 * docs/pwg/advanced-scheduling.xml:
10846 * docs/pwg/advanced-types.xml:
10847 * plugins/elements/gstfdsink.c:
10848 * plugins/elements/gstfdsrc.c:
10849 * plugins/elements/gstfdsrc.h:
10850 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10851 * plugins/elements/gstidentity.h:
10852 * plugins/elements/gstqueue.h:
10853 * plugins/elements/gsttee.c:
10854 * plugins/elements/gsttee.h:
10855 * plugins/elements/gsttypefindelement.c:
10856 (gst_type_find_element_class_init):
10857 * plugins/elements/gsttypefindelement.h:
10858 Small updates to various docs.
10859 Added core plugins to docs.
10861 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10864 add a suppression for liboil's uninitialized variable
10866 2006-01-02 James Livingston <jrl at ids dot org dot au>
10868 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10871 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10872 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10873 compiler switch is being used (#325429).
10875 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10877 * gst/gstbin.c: (gst_bin_query):
10878 Disable duration query caching in bins until it gets
10879 fixed (see #324807).
10881 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10883 * tools/gst-inspect.c: (print_element_properties_info):
10884 Handle properties of POINTER and BOXED type.
10886 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10888 * gst/gst.c: (init_post):
10889 Init tags stuff and some other things before loading
10890 any static plugins (there may be other static plugins
10891 than just the GStreamer ones, and they may want to
10892 register their own tags or formats or whatever, and
10893 preferably without segfaulting).
10895 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10896 Print at least a warning in the debug logs if we drop a
10897 query just because we don't know how to adjust the value
10898 in the particular format.
10900 2005-12-24 David Schleef <ds@schleef.org>
10902 * tools/gstreamer-completion:
10903 Replacement for gst-complete written in sh and sed. Only
10904 completes names of features, but that's 90% of what I want
10905 it for. Properties are not available in registry.xml. (Maybe
10908 === release 0.10.1 ===
10910 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
10913 releasing 0.10.1, "Nollaig chridheil"
10915 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
10917 * docs/faq/cvs.xml:
10918 Add missing quote, should be make ERROR_CFLAGS="".
10920 2005-12-20 Wim Taymans <wim@fluendo.com>
10922 * docs/design/part-trickmodes.txt:
10923 More documentation on trickmodes.
10925 2005-12-20 Edward Hervey <edward@fluendo.com>
10927 * gst/gstcaps.c: (gst_static_caps_get_type):
10929 API addition: GST_TYPE_STATIC_CAPS
10930 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10931 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10932 * gst/gstpadtemplate.h:
10933 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10934 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10937 2005-12-18 Wim Taymans <wim@fluendo.com>
10939 * libs/gst/base/gstadapter.c:
10940 * libs/gst/base/gstadapter.h:
10941 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10942 (gst_base_sink_get_position):
10943 * libs/gst/base/gstbasesink.h:
10944 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10945 (gst_base_src_default_query), (gst_base_src_default_do_seek),
10946 (gst_base_src_do_seek), (gst_base_src_perform_seek),
10947 (gst_base_src_send_event), (gst_base_src_update_length),
10948 (gst_base_src_get_range), (gst_base_src_loop),
10949 (gst_base_src_start):
10950 * libs/gst/base/gstbasesrc.h:
10951 * libs/gst/base/gstbasetransform.h:
10952 * libs/gst/base/gstcollectpads.h:
10953 * libs/gst/base/gstpushsrc.c:
10954 * libs/gst/base/gstpushsrc.h:
10955 * libs/gst/dataprotocol/dataprotocol.c:
10956 * libs/gst/dataprotocol/dataprotocol.h:
10957 * libs/gst/net/gstnetclientclock.h:
10958 * libs/gst/net/gstnettimeprovider.h:
10959 Documentation updates.
10961 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
10963 * docs/manual/basics-helloworld.xml:
10964 Remove superfluous closing bracket in helloworld example.
10966 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
10968 * tools/gst-launch.1.in:
10969 Update gst-launch man page; add a section with useful
10970 environment variables. Fixes #323882.
10972 2005-12-16 Stefan Kost <ensonic@users.sf.net>
10975 * gst/gst_private.h:
10976 change some char* into char[]
10978 2005-12-16 Wim Taymans <wim@fluendo.com>
10980 * gst/gstregistryxml.c: (load_feature):
10982 Don't use g_object_unref on GstObjects so that we avoid
10983 leaks on unsafe glibs.
10985 2005-12-16 Wim Taymans <wim@fluendo.com>
10987 * gst/gstbin.c: (gst_bin_recalc_state):
10990 2005-12-16 Wim Taymans <wim@fluendo.com>
10992 * common/check.mak:
10993 Added make forever target for check.
10995 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
10997 * gst/gst.c: (init_post):
10998 make the registry cache file HOST_CPU-dependent
11000 2005-12-16 Andy Wingo <wingo@pobox.com>
11002 * plugins/elements/gstbufferstore.c
11003 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11006 * tests/check/gst/gstobject.c
11007 (test_fake_object_name_threaded_unique): Pay attention to
11008 g_list_sort return value.
11010 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11012 * tools/gst-feedback-m.m:
11013 Update for 0.9/0.10 (fixes #323870).
11015 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11017 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11018 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11020 * tests/check/gst/gstminiobject.c: (my_foo_init),
11021 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11022 (test_value_collection), (gst_mini_object_suite):
11023 Add test to ensure refcounts end up as expected when passing
11024 GstMiniObjects through g_object_get() and g_object_set().
11026 2005-12-14 Julien MOUTTE <julien@moutte.net>
11028 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11029 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11030 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11031 of collectpads. This version removes a lot of races without
11032 touching API/ABI. Yay !
11034 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11036 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11037 Don't allow activation of a srcpad in pull_range if it has no
11039 Change some debug statements to be a little clearer
11041 * plugins/elements/gsttypefindelement.c:
11042 (gst_type_find_handle_src_query):
11043 Check that we have a peer before executing queries thereupon.
11045 * tests/examples/metadata/read-metadata.c: (message_loop):
11046 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11047 immediately return us any available message with 0 timeout.
11049 2005-12-12 Michael Smith <msmith@fluendo.com>
11051 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11052 Don't unref factories after calling them.
11053 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11054 * plugins/elements/gsttypefindelement.c:
11055 (gst_type_find_element_chain):
11056 Free lists of factories after using them. Fixing typefinding memory
11059 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11061 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11062 (gst_plugin_feature_load):
11063 more meaningful debug output
11065 * tests/Makefile.am:
11066 * tests/old/examples/Makefile.am:
11067 make make distcheck happy again
11069 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11071 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11072 Catch the special case where we are operating chain-based,
11073 but the downstream peer pad has no chain function. Emit a
11074 custom error message in this case instead of letting the
11075 core generate one implying that this is some sort of core
11076 bug. It's not, it just means that whatever got plugged
11077 into the pipeline downstream when we announced the type
11078 can only operate pull-based, while our source can only
11079 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11080 Error string has not been marked for translation yet, as
11081 it probably needs some more work first.
11083 (gst_type_find_element_get_best_possibility):
11084 Add helper function to find the best of all available
11085 found possibilities that qualify given the min. threshold.
11087 (gst_type_find_element_handle_event):
11088 Fix the case where we get an EOS while still in TYPEFIND
11089 mode (we want to chose the best of all possible types,
11090 not just the first type that happens to be in our unsorted
11091 list of possible types).
11093 (gst_type_find_element_chain):
11094 Make sure we return GST_FLOW_ERROR when we errored out
11095 in stop_typefinding(); also, don't just find the best of
11096 all found type entries and then use the last examined
11097 type entry, but actually use the best entry.
11099 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11101 * tests/examples/typefind/typefind.c: (type_found):
11102 * tests/examples/xml/runxml.c: (xml_loaded):
11103 More gcc4 fixes and a mem leak fix.
11105 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11107 * tests/examples/xml/createxml.c: (object_saved):
11110 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11112 * tests/Makefile.am:
11113 enable the examples even more
11115 2005-12-12 Andy Wingo <wingo@pobox.com>
11117 * libs/gst/net/gstnettimeprovider.c
11118 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11119 (gst_net_time_provider_set_property)
11120 (gst_net_time_provider_get_property):
11121 API addition: Export "active" as a GObject property.
11122 (gst_net_time_provider_thread): Only respond to time queries if
11123 the time provider is active.
11125 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11126 NetTimeProvider, preserving binary compat.
11128 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11130 * tests/examples/controller/audio-example.c: (main):
11131 * tests/examples/launch/Makefile.am:
11132 convert comments again
11134 2005-12-12 Wim Taymans <wim@fluendo.com>
11136 * libs/gst/base/gstpushsrc.c:
11139 2005-12-12 Wim Taymans <wim@fluendo.com>
11141 * docs/libs/gstreamer-libs-sections.txt:
11142 Added new symbol to docs.
11144 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11145 (gst_base_src_init), (gst_base_src_set_format),
11146 (gst_base_src_default_query), (gst_base_src_query),
11147 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11148 (gst_base_src_perform_seek), (gst_base_src_send_event),
11149 (gst_base_src_default_event), (gst_base_src_event_handler),
11150 (gst_base_src_set_property), (gst_base_src_get_property),
11151 (gst_base_src_wait), (gst_base_src_do_sync),
11152 (gst_base_src_update_length), (gst_base_src_get_range),
11153 (gst_base_src_check_get_range), (gst_base_src_loop),
11154 (gst_base_src_default_negotiate), (gst_base_src_start),
11155 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11156 (gst_base_src_change_state):
11157 * libs/gst/base/gstbasesrc.h:
11158 Implement seeking to other formats than _BYTES.
11159 Implement more seeking methods correctly.
11161 Added query vmethod.
11162 Added do_seek vmethod to make life easier for subclasses
11164 API addition: gst_base_src_set_format()
11166 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11168 * tests/examples/Makefile.am:
11171 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11174 * docs/random/ensonic/media-device-daemon.txt:
11175 * tests/examples/controller/.cvsignore:
11176 * tests/examples/controller/Makefile.am:
11177 * tests/examples/controller/audio-example.c: (main):
11178 * tests/examples/helloworld/.cvsignore:
11179 * tests/examples/helloworld/Makefile.am:
11180 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11181 * tests/examples/launch/.cvsignore:
11182 * tests/examples/launch/Makefile.am:
11183 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11184 * tests/examples/metadata/.cvsignore:
11185 * tests/examples/metadata/Makefile.am:
11186 * tests/examples/metadata/read-metadata.c: (message_loop),
11187 (make_pipeline), (print_tag), (main):
11188 * tests/examples/queue/.cvsignore:
11189 * tests/examples/queue/Makefile.am:
11190 * tests/examples/queue/queue.c: (event_loop), (main):
11191 * tests/examples/typefind/.cvsignore:
11192 * tests/examples/typefind/Makefile.am:
11193 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11195 * tests/examples/xml/.cvsignore:
11196 * tests/examples/xml/Makefile.am:
11197 * tests/examples/xml/createxml.c: (object_saved), (main):
11198 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11199 * tests/old/examples/Makefile.am:
11200 * tests/old/examples/TODO:
11201 * tests/old/examples/controller/.cvsignore:
11202 * tests/old/examples/controller/Makefile.am:
11203 * tests/old/examples/controller/audio-example.c:
11204 * tests/old/examples/helloworld/.cvsignore:
11205 * tests/old/examples/helloworld/Makefile.am:
11206 * tests/old/examples/helloworld/helloworld.c:
11207 * tests/old/examples/launch/.cvsignore:
11208 * tests/old/examples/launch/Makefile.am:
11209 * tests/old/examples/launch/mp3parselaunch.c:
11210 * tests/old/examples/launch/mp3play:
11211 * tests/old/examples/manual/Makefile.am:
11212 * tests/old/examples/metadata/Makefile.am:
11213 * tests/old/examples/metadata/read-metadata.c:
11214 * tests/old/examples/queue/.cvsignore:
11215 * tests/old/examples/queue/Makefile.am:
11216 * tests/old/examples/queue/queue.c:
11217 * tests/old/examples/typefind/.cvsignore:
11218 * tests/old/examples/typefind/Makefile.am:
11219 * tests/old/examples/typefind/typefind.c:
11220 * tests/old/examples/xml/.cvsignore:
11221 * tests/old/examples/xml/Makefile.am:
11222 * tests/old/examples/xml/createxml.c:
11223 * tests/old/examples/xml/runxml.c:
11224 applied some simple fixing to some examples
11225 re-enabled the working examples
11227 2005-12-12 Wim Taymans <wim@fluendo.com>
11229 * gst/gstsegment.c: (gst_segment_init),
11230 (gst_segment_set_last_stop), (gst_segment_set_seek),
11231 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11232 (gst_segment_to_running_time):
11233 Added more documentation.
11234 Make sure the last_pos value is updated properly.
11235 Make sure to_stream_time and to_running_time don't
11236 operate on wrong values.
11238 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11241 2005-12-12 Michael Smith <msmith@fluendo.com>
11243 * plugins/elements/gsttypefindelement.c: (free_entry),
11244 (gst_type_find_element_chain):
11245 Now that we're not leaking factories, make sure we keep references
11246 to them while we need them.
11248 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11250 * tests/check/gst/struct_i386.h:
11251 ifdef out the XML structs
11253 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11255 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11256 floor is not needed, F is always positive; this obviates the
11257 need for adding -lm when building without libxml
11259 2005-12-12 Wim Taymans <wim@fluendo.com>
11261 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11262 Take current playback rate into account when reporting
11265 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11267 * docs/manual/mime-world.fig:
11268 Let's try this again, this time with a file that is
11269 actually in XFig format.
11271 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11273 * docs/manual/mime-world.fig:
11274 Add audioconvert element to diagram so that it
11275 matches the text and the code (fixes #319526).
11277 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11279 * docs/pwg/building-chainfn.xml:
11280 * docs/pwg/building-pads.xml:
11281 * docs/pwg/building-state.xml:
11282 * docs/pwg/other-source.xml:
11283 Update state change stuff for 0.10 (fixes #322969).
11285 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11287 * docs/manual/advanced-dataaccess.xml:
11288 * docs/manual/appendix-checklist.xml:
11289 * docs/manual/appendix-programs.xml:
11290 * docs/manual/basics-pads.xml:
11291 * docs/manual/highlevel-components.xml:
11292 * docs/manual/manual.xml:
11293 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11294 add converters in front of pipelines; remove curly
11295 brackets for threads stuff, they no longer exist; use
11296 GST_TYPE_FRACTION for framerates; update some pieces of
11297 code to 0.10, but there's plenty more to do.
11299 * docs/manual/appendix-porting.xml:
11300 Expand on asynchroneous state changes; s/0.9/0.10/;
11301 mention disappearance of gst_init_get_popt_table()
11304 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11306 * docs/faq/using.xml:
11307 Spider no longer exists, and neither does gst-launch-ext.
11308 Update examples to use decodebin and playbin and put
11309 converters in front of sinks (fixes #323726).
11311 2005-12-09 Michael Smith <msmith@fluendo.com>
11313 * plugins/elements/gsttypefindelement.c: (find_peek),
11314 (gst_type_find_element_chain):
11315 Fix leaking element factories in typefinding.
11316 Fix problem where we forgot about a probable type on non-seekable
11317 files, and thus later mis-typefound it.
11319 2005-12-09 Michael Smith <msmith@fluendo.com>
11321 * common/m4/gst-makecontext.m4:
11322 * common/m4/gst-mcsc.m4:
11324 * win32/common/config.h:
11325 * win32/common/config.h.in:
11326 Remove makecontext stuff; not used in 0.10 and causes problems on
11327 HPUX according to bug #322441
11329 2005-12-07 Wim Taymans <wim@fluendo.com>
11331 * tests/check/Makefile.am:
11332 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11334 * tests/check/libs/struct_i386.h:
11335 Added ABI check for libs
11337 2005-12-07 Wim Taymans <wim@fluendo.com>
11339 * tests/check/Makefile.am:
11340 And add the struct_i386.h to dist.
11342 2005-12-07 Wim Taymans <wim@fluendo.com>
11344 * tests/check/Makefile.am:
11345 * tests/check/gst/.cvsignore:
11346 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11348 * tests/check/gst/struct_i386.h:
11349 Added check for ABI compatibility.
11351 2005-12-07 Wim Taymans <wim@fluendo.com>
11353 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11354 (gst_fake_src_get_times), (gst_fake_src_create):
11355 Fix broken sync option, fixes #323259
11357 2005-12-07 Wim Taymans <wim@fluendo.com>
11362 * gst/gstcaps.c: (gst_caps_is_equal):
11363 Don't assert on NULL <--> X. Fixes #323260
11365 * gst/gstminiobject.c: (gst_mini_object_replace):
11366 If we're doing atomic operations, we might just as well use
11367 the proper way to get an atomic pointer.
11369 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11370 Clean up debugging.
11372 2005-12-07 Michael Smith <msmith@fluendo.com>
11374 * gst/parse/grammar.y:
11375 Remove handling of { } for threads.
11377 2005-12-06 David Schleef <ds@schleef.org>
11379 * libs/gst/base/gstbasetransform.c: speling fix.
11381 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
11383 * docs/libs/tmpl/gstdataprotocol.sgml:
11384 * docs/random/omega/testing/gstobject.c:
11387 * gst/gstelement.c:
11388 * gst/gstelementfactory.c:
11391 * gst/gstghostpad.c:
11393 * gst/gstpadtemplate.c:
11394 * gst/gstregistryxml.c:
11395 * gst/gsttaglist.c:
11396 * gst/gsttagsetter.c:
11397 * gst/gsttypefind.c:
11399 * libs/gst/base/gstbasesrc.c:
11400 * libs/gst/net/gstnetclientclock.c:
11401 * libs/gst/net/gstnettimeprovider.c:
11402 * plugins/elements/gstfakesrc.c:
11403 * plugins/elements/gstfdsrc.c:
11404 * plugins/elements/gstfilesrc.c:
11405 * plugins/elements/gstidentity.c:
11406 * plugins/elements/gstqueue.c:
11407 * plugins/elements/gsttypefindelement.c:
11408 * plugins/indexers/gstfileindex.c:
11409 * plugins/indexers/gstmemindex.c:
11410 * tests/check/gst/gsttag.c:
11411 * tests/old/examples/cutter/cutter.c:
11412 * tests/old/examples/mixer/mixer.c:
11413 * tests/old/examples/xml/runxml.c: (main):
11414 * tests/old/testsuite/caps/normalisation.c:
11415 * tests/old/testsuite/debug/global.c:
11416 * tests/old/testsuite/parse/parse1.c:
11417 * tools/gst-xmlinspect.c:
11418 * win32/common/dirent.c:
11421 === release 0.10.0 ===
11423 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11426 releasing 0.10.0, "Maroilles"
11428 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11430 submitted by: Funda Wang <fundawang@linux.net.cn>
11434 added Chinese (Traditional) translation
11436 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11438 * docs/gst/gstreamer-sections.txt:
11439 * docs/libs/tmpl/gstdataprotocol.sgml:
11440 * docs/random/thomasvs/TODO:
11445 2005-12-05 Andy Wingo <wingo@pobox.com>
11447 patch by: Wim Taymans <wim@fluendo.com>
11449 * libs/gst/base/gstbasetransform.c
11450 (gst_base_transform_prepare_output_buf)
11451 (gst_base_transform_buffer_alloc):
11452 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11453 alloc_buffer_and_set_caps.
11455 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11456 set_caps on the source pad.
11457 (gst_pad_alloc_buffer_and_set_caps): New function, does what
11458 alloc_buffer used to do. Fixes #322874.
11460 * docs/gst/gstreamer-sections.txt:
11461 * docs/design/part-negotiation.txt:
11462 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11465 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11467 patch by: Sebastien Moutte
11470 * win32/common/config.h.in:
11471 * win32/vs6/libgstcontroller.dsp:
11474 2005-12-05 Wim Taymans <wim@fluendo.com>
11476 * gst/gstcaps.c: (gst_caps_is_equal):
11477 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11478 (gst_fake_src_create):
11479 Back out previous code changes, leave doc updates, file bugs
11482 2005-12-05 Wim Taymans <wim@fluendo.com>
11484 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11485 (gst_fake_src_get_times), (gst_fake_src_create):
11486 * plugins/elements/gstfakesrc.h:
11487 Fix broken sync code.
11489 2005-12-05 Wim Taymans <wim@fluendo.com>
11491 * gst/gstcaps.c: (gst_caps_is_equal):
11492 Comparing NULL against !NULL yields different caps, not a
11495 2005-12-05 Wim Taymans <wim@fluendo.com>
11497 * gst/gstpipeline.c:
11498 Fix small typo in docs.
11500 2005-12-05 Andy Wingo <wingo@pobox.com>
11502 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11504 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11505 registries/plugins with a MAJORMINOR one.
11506 (plugin_desc): Rename library from gstcoreleements to
11507 staticelements. Fixes #323222.
11509 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11511 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11512 Change debug category to 'collectpads' from 'collect_pads'
11515 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11517 patch by: Sebastien Moutte
11519 * libs/gst/controller/gstinterpolation.c:
11520 use convert function for uint64/double
11521 * win32/vs6/libgstcontroller.dsp:
11524 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11526 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11527 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11529 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11530 add tests that seem to show that the guint64/gdouble conversions
11533 2005-12-02 Wim Taymans <wim@fluendo.com>
11535 * gst/gstregistry.c: (gst_registry_add_path):
11536 * gst/gstregistry.h:
11537 * gst/gstregistryxml.c:
11540 2005-12-02 Wim Taymans <wim@fluendo.com>
11542 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11543 (gst_util_uint64_scale_int):
11546 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11547 Add debug log line.
11549 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11552 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11555 * win32/common/config.h:
11556 * win32/vs6/gstreamer.dsw:
11557 * win32/vs6/libgstcoreelements.dsp:
11558 * win32/vs6/libgstelements.dsp:
11559 renamed core elements plugin
11561 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11563 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11565 do piece-wise major/minor comparison so 0.9 < 0.10
11566 also allow .exe extensions for tools
11568 2005-12-02 Michael Smith <msmith@fluendo.com>
11571 Escape a % to make gtkdoc happier; bug 322958.
11573 === release 0.9.7 ===
11575 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11578 releasing 0.9.7, "My Dog Has No Nose"
11580 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11582 * common/gst-xmlinspect.py:
11584 * docs/libs/tmpl/gstdataprotocol.sgml:
11585 * docs/random/release:
11604 * win32/common/config.h:
11605 * win32/common/config.h.in:
11606 * win32/vs6/gst_inspect.dsp:
11607 * win32/vs6/gst_launch.dsp:
11608 * win32/vs6/libgstbase.dsp:
11609 * win32/vs6/libgstelements.dsp:
11610 * win32/vs6/libgstreamer.dsp:
11611 * win32/vs7/GStreamer.vcproj:
11612 * win32/vs7/gst-inspect.vcproj:
11613 * win32/vs7/gst-launch.vcproj:
11614 * win32/vs7/libgstbase.vcproj:
11615 bump GST_MAJORMINOR to 0.10
11616 reset libtool version
11618 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11622 Added Bulgarian translation by (Alexander Shopov)
11624 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11626 * tests/check/gst/gstplugin.c:
11629 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11631 * common/gst-xmlinspect.py:
11632 * common/gtk-doc-plugins.mak:
11634 * docs/Makefile.am:
11635 * docs/gst/Makefile.am:
11636 * docs/gst/gstreamer-docs.sgml:
11637 * docs/gst/gstreamer-sections.txt:
11638 * docs/gst/gstreamer.types:
11639 * docs/gst/gstreamer.types.in:
11640 * docs/plugins/Makefile.am:
11641 * docs/plugins/gstreamer-plugins-docs.sgml:
11642 * docs/plugins/gstreamer-plugins-sections.txt:
11643 * docs/plugins/gstreamer-plugins.types:
11644 * docs/plugins/inspect.stamp:
11645 * docs/plugins/inspect/plugin-coreelements.xml:
11646 * docs/plugins/inspect/plugin-coreindexers.xml:
11647 * docs/plugins/scanobj-build.stamp:
11648 * gstreamer.spec.in:
11649 * plugins/elements/Makefile.am:
11650 * plugins/elements/gstelements.c:
11651 * plugins/elements/gstfakesink.c:
11652 * plugins/elements/gstfakesrc.c:
11653 * plugins/elements/gstfilesink.c:
11654 * plugins/elements/gstfilesrc.c:
11655 * plugins/elements/gstqueue.c:
11656 * plugins/indexers/Makefile.am:
11657 * plugins/indexers/gstindexers.c:
11658 document core plugins in a separate document just like all the
11660 rename these plugins to something starting with core
11662 2005-12-01 Andy Wingo <wingo@pobox.com>
11664 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11665 padding here before, but it missed the commit.
11667 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11669 * libs/gst/controller/gstinterpolation.c:
11670 whitespace prices have crashed, we should feel free to use some now
11671 use gst_guint64_to_gdouble
11673 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11675 * libs/gst/controller/gstcontroller.c:
11676 * libs/gst/controller/gsthelper.c:
11677 * libs/gst/controller/gstinterpolation.c:
11678 * libs/gst/controller/lib.c:
11679 wrap config.h include
11681 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11683 * docs/gst/gstreamer-sections.txt:
11686 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11688 * plugins/elements/gstelements.c:
11689 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11690 (gst_fd_sink__class_init), (gst_fd_sink__init),
11691 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11692 (gst_fd_sink__get_property):
11693 * plugins/elements/gstfdsink.h:
11694 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11695 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11696 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11697 (gst_fd_src_unlock), (gst_fd_src_set_property),
11698 (gst_fd_src_get_property), (gst_fd_src_create),
11699 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11700 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11701 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11702 (gst_fd_src_uri_handler_init):
11703 * plugins/elements/gstfdsrc.h:
11704 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11707 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11709 * docs/gst/Makefile.am:
11710 * docs/gst/gstreamer.types.in:
11714 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11720 * gst/gstregistry.h:
11721 * tests/benchmarks/complexity.c:
11722 * tests/benchmarks/mass-elements.c:
11723 * tests/check/Makefile.am:
11724 * tools/Makefile.am:
11725 * tools/gst-inspect.c:
11726 * tools/gst-xmlinspect.c:
11727 various fixes to make
11728 --disable-nls --disable-registry --disable-loadsave
11729 --disable-parse --disable-gst-debug
11730 work and get the core .so down to 360444 bytes after stripping
11732 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11737 * docs/random/thomasvs/TODO:
11738 * tests/Makefile.am:
11742 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11744 * win32/GStreamer.vcproj:
11747 * win32/Makefile.inspect:
11748 * win32/Makefile.launch:
11749 * win32/Makefile.register:
11750 * win32/README.txt:
11751 * win32/gst-inspect.vcproj:
11752 * win32/gst-launch.vcproj:
11753 * win32/gst-register.vcproj:
11754 * win32/gstelements.vcproj:
11755 * win32/gstgetbits.def:
11756 * win32/gstgetbits.vcproj:
11757 * win32/gstreamer-dbg.def:
11758 * win32/gstreamer.def:
11759 * win32/libgstbase.def:
11760 * win32/libgstbase.vcproj:
11761 * win32/link_oldruntime.c:
11765 * win32/msvc71.sln:
11766 move even more stuff, win32/ is nice and clean now
11768 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11770 * libs/gst/control/.cvsignore:
11775 * win32/gstbytestream.def:
11776 * win32/gstbytestream.vcproj:
11777 * win32/gstconfig.h:
11778 * win32/gstenumtypes.c:
11779 * win32/gstenumtypes.h:
11780 * win32/gstoptimalscheduler.vcproj:
11781 * win32/gstversion.h:
11783 * win32/testsuite/bins.vcproj:
11784 * win32/testsuite/bytestream.vcproj:
11785 * win32/testsuite/caps.vcproj:
11786 * win32/testsuite/cleanup.vcproj:
11787 * win32/testsuite/clock.vcproj:
11788 * win32/testsuite/debug.vcproj:
11789 * win32/testsuite/dlopen.vcproj:
11790 * win32/testsuite/dynparams.vcproj:
11791 * win32/testsuite/elements.vcproj:
11792 * win32/testsuite/ghostpads.vcproj:
11793 * win32/testsuite/indexers.vcproj:
11794 * win32/testsuite/negotiation.vcproj:
11795 * win32/testsuite/parse.vcproj:
11796 * win32/testsuite/plugin.vcproj:
11797 * win32/testsuite/refcounting.vcproj:
11798 * win32/testsuite/schedulers.vcproj:
11799 * win32/testsuite/states.vcproj:
11800 * win32/testsuite/tags.vcproj:
11801 * win32/testsuite/threads.vcproj:
11802 remove old win32 stuff that isn't maintained and should be
11805 2005-11-30 Andy Wingo <wingo@pobox.com>
11807 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11808 loading the gst.interfaces python module bork.
11810 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11811 available since GLib 2.2. Fixes #318031.
11813 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11816 * check/.cvsignore:
11817 * check/Makefile.am:
11818 * check/elements/.cvsignore:
11819 * check/elements/fakesrc.c:
11820 * check/elements/fdsrc.c:
11821 * check/elements/identity.c:
11822 * check/generic/.cvsignore:
11823 * check/generic/states.c:
11824 * check/gst-libs/.cvsignore:
11825 * check/gst-libs/controller.c:
11826 * check/gst-libs/gdp.c:
11827 * check/gst/.cvsignore:
11828 * check/gst/capslist.h:
11830 * check/gst/gstbin.c:
11831 * check/gst/gstbuffer.c:
11832 * check/gst/gstbus.c:
11833 * check/gst/gstcaps.c:
11834 * check/gst/gstelement.c:
11835 * check/gst/gstevent.c:
11836 * check/gst/gstghostpad.c:
11837 * check/gst/gstiterator.c:
11838 * check/gst/gstmessage.c:
11839 * check/gst/gstminiobject.c:
11840 * check/gst/gstobject.c:
11841 * check/gst/gstpad.c:
11842 * check/gst/gstpipeline.c:
11843 * check/gst/gstplugin.c:
11844 * check/gst/gstsegment.c:
11845 * check/gst/gststructure.c:
11846 * check/gst/gstsystemclock.c:
11847 * check/gst/gsttag.c:
11848 * check/gst/gstutils.c:
11849 * check/gst/gstvalue.c:
11850 * check/net/.cvsignore:
11851 * check/net/gstnetclientclock.c:
11852 * check/net/gstnettimeprovider.c:
11853 * check/pipelines/.cvsignore:
11854 * check/pipelines/cleanup.c:
11855 * check/pipelines/simple_launch_lines.c:
11856 * check/pipelines/stress.c:
11857 * check/states/.cvsignore:
11858 * check/states/sinks.c:
11860 * examples/Makefile.am:
11861 * examples/appreader/.cvsignore:
11862 * examples/appreader/Makefile.am:
11863 * examples/appreader/appreader.c:
11864 * examples/controller/.cvsignore:
11865 * examples/controller/Makefile.am:
11866 * examples/controller/audio-example.c:
11867 * examples/cutter/.cvsignore:
11868 * examples/cutter/Makefile.am:
11869 * examples/cutter/cutter.c:
11870 * examples/cutter/cutter.h:
11871 * examples/events/Makefile.am:
11872 * examples/events/seek.c:
11873 * examples/helloworld/.cvsignore:
11874 * examples/helloworld/Makefile.am:
11875 * examples/helloworld/helloworld.c:
11876 * examples/helloworld2/.cvsignore:
11877 * examples/helloworld2/Makefile.am:
11878 * examples/helloworld2/helloworld2.c:
11879 * examples/launch/.cvsignore:
11880 * examples/launch/Makefile.am:
11881 * examples/launch/mp3parselaunch.c:
11882 * examples/launch/mp3play:
11883 * examples/manual/.cvsignore:
11884 * examples/manual/Makefile.am:
11885 * examples/manual/extract.pl:
11886 * examples/metadata/Makefile.am:
11887 * examples/metadata/read-metadata.c:
11888 * examples/mixer/.cvsignore:
11889 * examples/mixer/Makefile.am:
11890 * examples/mixer/mixer.c:
11891 * examples/mixer/mixer.h:
11892 * examples/pingpong/.cvsignore:
11893 * examples/pingpong/Makefile.am:
11894 * examples/pingpong/pingpong.c:
11895 * examples/plugins/.cvsignore:
11896 * examples/plugins/Makefile.am:
11897 * examples/plugins/example.c:
11898 * examples/plugins/example.h:
11899 * examples/pwg/.cvsignore:
11900 * examples/pwg/Makefile.am:
11901 * examples/pwg/extract.pl:
11902 * examples/queue/.cvsignore:
11903 * examples/queue/Makefile.am:
11904 * examples/queue/queue.c:
11905 * examples/queue2/.cvsignore:
11906 * examples/queue2/Makefile.am:
11907 * examples/queue2/queue2.c:
11908 * examples/queue3/.cvsignore:
11909 * examples/queue3/Makefile.am:
11910 * examples/queue3/queue3.c:
11911 * examples/queue4/.cvsignore:
11912 * examples/queue4/Makefile.am:
11913 * examples/queue4/queue4.c:
11914 * examples/retag/.cvsignore:
11915 * examples/retag/Makefile.am:
11916 * examples/retag/retag.c:
11917 * examples/retag/transcode.c:
11918 * examples/thread/.cvsignore:
11919 * examples/thread/Makefile.am:
11920 * examples/thread/thread.c:
11921 * examples/typefind/.cvsignore:
11922 * examples/typefind/Makefile.am:
11923 * examples/typefind/typefind.c:
11924 * examples/xml/.cvsignore:
11925 * examples/xml/Makefile.am:
11926 * examples/xml/createxml.c:
11927 * examples/xml/runxml.c:
11928 * tests/Makefile.am:
11929 * tests/check/Makefile.am:
11930 * testsuite/.cvsignore:
11931 * testsuite/Makefile.am:
11933 * testsuite/caps/.cvsignore:
11934 * testsuite/caps/Makefile.am:
11935 * testsuite/caps/app_fixate.c:
11936 * testsuite/caps/audioscale.c:
11937 * testsuite/caps/caps.c:
11938 * testsuite/caps/caps.h:
11939 * testsuite/caps/caps_strings:
11940 * testsuite/caps/compatibility.c:
11941 * testsuite/caps/deserialize.c:
11942 * testsuite/caps/enumcaps.c:
11943 * testsuite/caps/eratosthenes.c:
11944 * testsuite/caps/filtercaps.c:
11945 * testsuite/caps/fixed.c:
11946 * testsuite/caps/fraction-convert.c:
11947 * testsuite/caps/fraction-multiply-and-zero.c:
11948 * testsuite/caps/intersect2.c:
11949 * testsuite/caps/intersection.c:
11950 * testsuite/caps/normalisation.c:
11951 * testsuite/caps/random.c:
11952 * testsuite/caps/renegotiate.c:
11953 * testsuite/caps/sets.c:
11954 * testsuite/caps/simplify.c:
11955 * testsuite/caps/string-conversions.c:
11956 * testsuite/caps/structure.c:
11957 * testsuite/caps/subtract.c:
11958 * testsuite/caps/union.c:
11959 * testsuite/debug/.cvsignore:
11960 * testsuite/debug/Makefile.am:
11961 * testsuite/debug/category.c:
11962 * testsuite/debug/commandline.c:
11963 * testsuite/debug/global.c:
11964 * testsuite/debug/output.c:
11965 * testsuite/debug/printf_extension.c:
11966 * testsuite/dlopen/.cvsignore:
11967 * testsuite/dlopen/Makefile.am:
11968 * testsuite/dlopen/dlopen_gst.c:
11969 * testsuite/dlopen/loadgst.c:
11970 * testsuite/elements/.cvsignore:
11971 * testsuite/elements/Makefile.am:
11972 * testsuite/elements/gst-inspect-check.in:
11973 * testsuite/elements/struct_i386.h:
11974 * testsuite/elements/struct_size.c:
11975 * testsuite/indexers/.cvsignore:
11976 * testsuite/indexers/Makefile.am:
11977 * testsuite/indexers/cache1.c:
11978 * testsuite/indexers/indexdump.c:
11979 * testsuite/parse/.cvsignore:
11980 * testsuite/parse/Makefile.am:
11981 * testsuite/parse/parse1.c:
11982 * testsuite/parse/parse2.c:
11983 * testsuite/plugin/.cvsignore:
11984 * testsuite/plugin/Makefile.am:
11985 * testsuite/plugin/README:
11986 * testsuite/plugin/dynamic.c:
11987 * testsuite/plugin/linked.c:
11988 * testsuite/plugin/loading.c:
11989 * testsuite/plugin/registry.c:
11990 * testsuite/plugin/static.c:
11991 * testsuite/plugin/static2.c:
11992 * testsuite/plugin/testplugin.c:
11993 * testsuite/plugin/testplugin2.c:
11994 * testsuite/plugin/testplugin2_s.c:
11995 * testsuite/plugin/testplugin_s.c:
11996 * testsuite/refcounting/.cvsignore:
11997 * testsuite/refcounting/Makefile.am:
11998 * testsuite/refcounting/bin.c:
11999 * testsuite/refcounting/element.c:
12000 * testsuite/refcounting/element_pad.c:
12001 * testsuite/refcounting/mainloop.c:
12002 * testsuite/refcounting/mem.c:
12003 * testsuite/refcounting/mem.h:
12004 * testsuite/refcounting/object.c:
12005 * testsuite/refcounting/pad.c:
12006 * testsuite/refcounting/sched.c:
12007 * testsuite/refcounting/thread.c:
12008 * testsuite/states/.cvsignore:
12009 * testsuite/states/Makefile.am:
12010 * testsuite/states/bin.c:
12011 * testsuite/states/locked.c:
12012 * testsuite/states/parent.c:
12013 * testsuite/threads/.cvsignore:
12014 * testsuite/threads/159566.c:
12015 * testsuite/threads/159852.c:
12016 * testsuite/threads/Makefile.am:
12017 * testsuite/threads/queue.c:
12018 * testsuite/threads/signals.c:
12019 * testsuite/threads/staticrec.c:
12020 * testsuite/threads/thread.c:
12021 * testsuite/threads/threadb.c:
12022 * testsuite/threads/threadc.c:
12023 * testsuite/threads/threadd.c:
12024 * testsuite/threads/threade.c:
12025 * testsuite/threads/threadf.c:
12026 * testsuite/threads/threadg.c:
12027 * testsuite/threads/threadh.c:
12028 * testsuite/threads/threadi.c:
12029 move all of these under tests
12031 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12034 * tests/Makefile.am:
12037 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12039 * docs/gst/gstreamer-sections.txt:
12040 * tests/sched/.cvsignore:
12041 * tests/sched/Makefile.am:
12042 * tests/sched/cases/(fs-fs).xml:
12043 * tests/sched/cases/(fs-i-fs).xml:
12044 * tests/sched/cases/(fs-i-i-fs).xml:
12045 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12046 * tests/sched/dynamic-pipeline.c:
12047 * tests/sched/interrupt1.c:
12048 * tests/sched/interrupt2.c:
12049 * tests/sched/interrupt3.c:
12050 * tests/sched/runtestcases:
12051 * tests/sched/runxml.c:
12052 * tests/sched/sched-stress.c:
12053 * tests/sched/sort.c:
12054 * tests/sched/testcases:
12055 * tests/sched/testcases1.tc:
12056 * tests/seeking/.cvsignore:
12057 * tests/seeking/Makefile.am:
12058 * tests/seeking/seeking1.c:
12059 * tests/threadstate/.cvsignore:
12060 * tests/threadstate/Makefile.am:
12061 * tests/threadstate/test1.c:
12062 * tests/threadstate/test2.c:
12063 * tests/threadstate/threadstate1.c:
12064 * tests/threadstate/threadstate2.c:
12065 * tests/threadstate/threadstate3.c:
12066 * tests/threadstate/threadstate4.c:
12067 * tests/threadstate/threadstate5.c:
12068 remove obsolete tests
12070 * tests/bench-complexity.scm:
12071 * tests/bench-mass_elements.scm:
12072 * tests/complexity.c:
12073 * tests/complexity.gnuplot:
12074 * tests/instantiate/.cvsignore:
12075 * tests/instantiate/Makefile.am:
12076 * tests/instantiate/caps.c:
12077 * tests/mass_elements.c:
12078 * tests/network-clock-utils.scm:
12079 * tests/network-clock.scm:
12081 First pass at cleaning up tests/ dir before moving the rest
12082 Combined with CVS surgery
12084 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12087 queue has moved, update
12089 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12091 * docs/gst/gstreamer-sections.txt:
12092 remove double entries from the docs
12093 * gst/gst_private.h:
12094 * gst/gstinfo.c: (_gst_debug_init):
12095 remove the THREAD debug category
12099 * docs/gst/gstreamer.types:
12100 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12101 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12102 completely move queue and fix up debugging categories
12104 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12106 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12107 make initialization portable, using LL is not
12109 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12111 * win32/common/gstconfig.h:
12114 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12116 * win32/common/libgstreamer.def:
12117 rename symbols; sort base section
12119 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12121 * gst/gstclock.c: (do_linear_regression):
12122 remove crack non-portable handrolled DEBUG macro
12124 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12126 * docs/random/release:
12128 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12129 (gst_object_flags_get_type), (register_gst_bin_flags),
12130 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12131 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12132 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12133 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12134 (gst_caps_flags_get_type), (register_gst_clock_return),
12135 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12136 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12137 (gst_clock_flags_get_type), (register_gst_state),
12138 (gst_state_get_type), (register_gst_state_change_return),
12139 (gst_state_change_return_get_type), (register_gst_state_change),
12140 (gst_state_change_get_type), (register_gst_element_flags),
12141 (gst_element_flags_get_type), (register_gst_core_error),
12142 (gst_core_error_get_type), (register_gst_library_error),
12143 (gst_library_error_get_type), (register_gst_resource_error),
12144 (gst_resource_error_get_type), (register_gst_stream_error),
12145 (gst_stream_error_get_type), (register_gst_event_type_flags),
12146 (gst_event_type_flags_get_type), (register_gst_event_type),
12147 (gst_event_type_get_type), (register_gst_seek_type),
12148 (gst_seek_type_get_type), (register_gst_seek_flags),
12149 (gst_seek_flags_get_type), (register_gst_format),
12150 (gst_format_get_type), (register_gst_index_certainty),
12151 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12152 (gst_index_entry_type_get_type),
12153 (register_gst_index_lookup_method),
12154 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12155 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12156 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12157 (gst_index_flags_get_type), (register_gst_debug_level),
12158 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12159 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12160 (gst_iterator_result_get_type), (register_gst_iterator_item),
12161 (gst_iterator_item_get_type), (register_gst_message_type),
12162 (gst_message_type_get_type), (register_gst_mini_object_flags),
12163 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12164 (gst_pad_link_return_get_type), (register_gst_flow_return),
12165 (gst_flow_return_get_type), (register_gst_activate_mode),
12166 (gst_activate_mode_get_type), (register_gst_pad_direction),
12167 (gst_pad_direction_get_type), (register_gst_pad_flags),
12168 (gst_pad_flags_get_type), (register_gst_pad_presence),
12169 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12170 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12171 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12172 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12173 (gst_plugin_flags_get_type), (register_gst_rank),
12174 (gst_rank_get_type), (register_gst_query_type),
12175 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12176 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12177 (gst_tag_flag_get_type), (register_gst_task_state),
12178 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12179 (gst_alloc_trace_flags_get_type),
12180 (register_gst_type_find_probability),
12181 (gst_type_find_probability_get_type), (register_gst_uri_type),
12182 (gst_uri_type_get_type), (register_gst_parse_error),
12183 (gst_parse_error_get_type):
12184 * win32/common/gstenumtypes.h:
12185 * win32/common/gstversion.h:
12186 update visual studio generated files
12188 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12190 * win32/vs6/libgstbase.dsp:
12191 * win32/vs6/libgstelements.dsp:
12192 update project files for new locations
12194 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12199 reinstate and update
12204 * docs/random/LICENSE:
12207 2005-11-30 Edward Hervey <edward@fluendo.com>
12209 * gst/gsttypefind.c: (gst_type_find_register):
12210 * gst/gsttypefind.h:
12211 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12212 (gst_type_find_factory_dispose):
12213 * gst/gsttypefindfactory.h:
12214 Fix memory leak in GstTypeFindFactory.
12216 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12219 * plugins/elements/Makefile.am:
12220 * plugins/elements/gstelements.c:
12221 * plugins/elements/gstqueue.c:
12222 move queue from core to the elements plugin
12224 2005-11-29 Andy Wingo <wingo@pobox.com>
12226 * libs/gst/base/gstbasetransform.h:
12227 * libs/gst/base/gstbasesrc.h:
12228 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12230 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12231 of pointers by which to pad very extensible base classes (like the
12232 ones in libs/gst/base).
12234 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12236 * docs/gst/gstreamer-docs.sgml:
12237 * docs/gst/gstreamer-sections.txt:
12238 * docs/libs/gstreamer-libs-docs.sgml:
12239 * docs/libs/gstreamer-libs-sections.txt:
12240 moving documentation from core to lib
12242 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12244 * check/Makefile.am:
12246 * docs/gst/Makefile.am:
12248 * gst/base/.cvsignore:
12249 * gst/base/Makefile.am:
12251 * gst/base/gstadapter.c:
12252 * gst/base/gstadapter.h:
12253 * gst/base/gstbasesink.c:
12254 * gst/base/gstbasesink.h:
12255 * gst/base/gstbasesrc.c:
12256 * gst/base/gstbasesrc.h:
12257 * gst/base/gstbasetransform.c:
12258 * gst/base/gstbasetransform.h:
12259 * gst/base/gstcollectpads.c:
12260 * gst/base/gstcollectpads.h:
12261 * gst/base/gstpushsrc.c:
12262 * gst/base/gstpushsrc.h:
12263 * gst/base/gsttypefindhelper.c:
12264 * gst/base/gsttypefindhelper.h:
12265 * gst/check/Makefile.am:
12266 * gst/check/gstcheck.c:
12267 * gst/check/gstcheck.h:
12268 * gst/net/Makefile.am:
12269 * gst/net/gstnet.h:
12270 * gst/net/gstnetclientclock.c:
12271 * gst/net/gstnetclientclock.h:
12272 * gst/net/gstnettimepacket.c:
12273 * gst/net/gstnettimepacket.h:
12274 * gst/net/gstnettimeprovider.c:
12275 * gst/net/gstnettimeprovider.h:
12276 * libs/gst/Makefile.am:
12277 * libs/gst/base/Makefile.am:
12278 * libs/gst/base/gstbasetransform.c:
12279 * libs/gst/check/Makefile.am:
12280 * plugins/elements/Makefile.am:
12282 CVS surgery + support to move base, check, and net out of gst
12285 2005-11-29 Andy Wingo <wingo@pobox.com>
12287 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12289 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12292 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12294 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12296 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12298 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12299 padding; reduces object size by about 30%. We don't expect
12300 anything else to go into gstobject.
12302 * gst/gstminiobject.h (struct _GstMiniObject)
12303 (struct _GstMiniObjectClass): Only one pointer of padding; the
12304 payload is only a pointer and two ints anyway. For the class there
12305 are only two methods as well.
12307 * gst/gstelement.h (struct _GstElementClass): Removed
12308 the state_changed signal callback, it is not used.
12310 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12312 * docs/gst/gstreamer.types:
12313 fix includes, though they are a little dinky
12315 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12317 * check/Makefile.am:
12318 look in the right place for elements, a lot more chance of
12321 remove indexers and elements subdirs
12322 * plugins/Makefile.am:
12323 make indexers conditional
12325 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12329 * plugins/elements/Makefile.am:
12330 * plugins/elements/gstcapsfilter.c:
12331 * plugins/elements/gstfilesink.c:
12332 * plugins/elements/gstfilesrc.c:
12333 * plugins/elements/gstidentity.c:
12334 * plugins/indexers/Makefile.am:
12335 do CVS surgery and related build fixery to move elements
12336 and indexers in a new gstreamer/plugins directory, out of the
12339 2005-11-29 Andy Wingo <wingo@pobox.com>
12341 * check/Makefile.am:
12342 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12343 * pkgconfig/gstreamer-net.pc.in:
12344 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12347 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12349 * tools/Makefile.am:
12350 * tools/gst-complete.1.in:
12351 * tools/gst-complete.c:
12352 * tools/gst-compprep.1.in:
12353 * tools/gst-compprep.c:
12354 removing -compprep and -complete
12356 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12358 * gst/gstevent.c: (gst_event_new_new_segment),
12359 (gst_event_parse_new_segment):
12361 fix #320529 - clean up new_segment API and structure.
12362 Let's hope everyone was using the methods, and not the structure.
12364 2005-11-29 Edward Hervey <edward@fluendo.com>
12366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12367 (gst_base_sink_event), (gst_base_sink_do_sync),
12368 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12369 Properly handle non GST_FORMAT_TIME segment
12370 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12371 Properly handle non GST_FORMAT_TIME segment
12372 * gst/gstsegment.c:
12373 This function is valid if the accumulator is 0 and the format
12374 is different from the requested format.
12376 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12378 * docs/gst/gstreamer-sections.txt:
12379 Add gst_query_new_seeking and gst_query_parse_seeking to the
12382 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12384 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12385 Treat a pad alloc with new caps the same as if we were not
12386 negotiated, in order to allow a changing upstream output
12387 to produce a new format of data.
12389 2005-11-29 Edward Hervey <edward@fluendo.com>
12391 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12392 (gst_base_transform_event), (gst_base_transform_eventfunc):
12393 The event virtual method is now properly implemented, with a default
12395 Sub classes should call the parent_class event method. They should
12396 return FALSE if they had a problem handling the given event, or don't
12397 want GstBaseTransform to send that even downstream
12398 * gst/elements/gstidentity.c: (gst_identity_class_init),
12399 (gst_identity_init), (gst_identity_event),
12400 (gst_identity_transform_ip), (gst_identity_set_property),
12401 (gst_identity_get_property):
12402 * gst/elements/gstidentity.h:
12403 Added the single-segment boolean property.
12404 If set to TRUE, it will output a single segment of data, starting from
12405 0, will eat up all incoming newsegment, and modify the timestamp of the
12406 buffers accordingly
12408 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
12410 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12411 Don't ref NULL target pad (#322751). Improve docs.
12413 2005-11-29 Michael Smith <msmith@fluendo.com>
12415 * gst/gstregistryxml.c: (load_plugin):
12416 Don't crash if we failed to load a feature from a plugin.
12418 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12420 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12422 use more check API and less GLib API
12424 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12427 don't run checks if we don't have check
12428 * common/check.mak:
12429 remove the registry when running make torture
12430 * docs/gst/gstreamer-sections.txt:
12431 remove second multiply
12432 * gst/gstqueue.c: (gst_queue_loop):
12433 fix a compile warning when disabling debug
12435 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12438 Hey! Let's print the pad name if the pointer != NULL instead
12439 of when it == NULL :-)
12441 2005-11-28 Wim Taymans <wim@fluendo.com>
12443 * check/gst/gstutils.c: (GST_START_TEST):
12444 Updated check, add some scaling accuracy checking code.
12446 * gst/gstutils.c: (gst_util_div128_64),
12447 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12448 (gst_util_uint64_scale_int):
12449 Fix 6 times faster division code. Optimize for common
12450 1/1 and less common X/1 cases.
12452 2005-11-28 Wim Taymans <wim@fluendo.com>
12454 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12457 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12458 (do_linear_regression), (gst_clock_add_observation):
12460 Release lock when the clock cannot be slaved.
12461 Catch the case where the regression returned an invalid denominator.
12463 * gst/gstutils.c: (gst_util_div128_64_iterate),
12464 (gst_util_div128_64), (gst_util_uint64_scale_int64),
12465 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12466 Add protentially more performant non-iterative 128/64 divide function
12467 that unfortunatly does not work yet.
12468 Shortcut the trivial 0/X = 0 case.
12469 Remove the warnings on overflow.
12471 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12473 * gst/gstplugin.c: (gst_plugin_register_func):
12474 everything causing a plugin not to load should be at least a WARNING
12476 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12478 * docs/random/ensonic/dparams.txt:
12479 some TODOs for the next dev cycle
12480 * libs/gst/controller/gstcontroller.c:
12481 (gst_controlled_property_set_interpolation_mode),
12482 (gst_controlled_property_new):
12483 * libs/gst/controller/gstcontroller.h:
12484 use base type to assign acccessor functions
12486 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12488 * check/Makefile.am:
12489 Oops, that should have been top_srcdir
12491 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12493 * check/Makefile.am:
12494 * check/elements/fdsrc.c: (GST_START_TEST):
12495 Use a cmdline define to specify the location of a file to use for
12496 testing, to avoid breaking distcheck.
12498 2005-11-28 Andy Wingo <wingo@pobox.com>
12500 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12502 2005-11-28 Edward Hervey <edward@fluendo.com>
12504 * tools/gst-launch.c: (main):
12505 Clarify the output strings, makes it easier to translate.
12508 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12511 don't try and build net if we don't even have <sys/socket.h>
12513 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12515 * check/Makefile.am:
12516 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12517 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12518 Add tests for fdsrc seekability
12520 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12521 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12522 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12523 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12524 * gst/elements/gstfdsrc.h:
12525 fdsrc should not be a 'live' source.
12526 Implement seeking on seekable fd's.
12528 * gst/gstquery.c: (gst_query_new_seeking),
12529 (gst_query_parse_seeking):
12531 Implement SEEKING query functions:
12532 *_new_seeking and *_parse_seeking
12534 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12536 * gst/gstelement.c: (gst_element_dispose):
12539 * gst/gstiterator.c:
12540 * gst/gststructure.c:
12543 * libs/gst/controller/gstcontroller.c:
12544 (gst_controlled_property_set_interpolation_mode):
12545 * libs/gst/controller/gstcontroller.h:
12546 * libs/gst/controller/gstinterpolation.c:
12547 (interpolate_none_get_enum_value_array):
12548 support controlling enums
12550 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12553 Improve documentation for gst_value_union().
12556 Change return value for union, intersect and subtract functions
12557 from gint to gboolean.
12559 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12561 * gst/gstvalue.c: (gst_value_serialize_any_list),
12562 (gst_value_transform_any_list_string),
12563 (gst_value_deserialize_list), (gst_value_deserialize_array),
12564 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12565 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12566 (gst_value_set_fraction_range_full),
12567 (gst_value_deserialize_fraction_range),
12568 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12569 (gst_value_deserialize_boolean),
12570 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12571 (gst_value_serialize_float), (gst_value_deserialize_float),
12572 (gst_string_wrap), (gst_value_deserialize_string),
12573 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12574 (gst_value_union_int_range_int_range),
12575 (gst_value_intersect_int_range_int_range),
12576 (gst_value_intersect_double_range_double_range),
12577 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12578 (gst_value_subtract_int_range_int_range),
12579 (gst_value_subtract_double_double_range),
12580 (gst_value_subtract_double_range_double_range),
12581 (gst_value_deserialize_fraction):
12583 Use gint, gdouble and gchar in our API instead of int, double and
12584 char (and make usage in gstvalue.c more consistent).
12586 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12588 * check/Makefile.am:
12589 * libs/gst/controller/Makefile.am:
12590 * libs/gst/dataprotocol/Makefile.am:
12591 fix up Makefile.am and remove GST_ENABLE_NEW
12593 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12597 * gst/base/Makefile.am:
12598 * gst/check/Makefile.am:
12599 * gst/elements/Makefile.am:
12600 * gst/net/Makefile.am:
12601 update LDFLAGS use some more
12603 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12605 * common/m4/gst-doc.m4:
12608 2005-11-26 Edward Hervey <edward@fluendo.com>
12610 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12611 This shouldn't issue a g_warning since it returns NULL if it
12612 couldn't find the plugin, and all functions using this behave
12613 properly on a NULL return. Switching to a GST_WARNING.
12615 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12617 * gst/gstbin.c: (gst_bin_handle_message_func):
12618 Don't leak clock messages.
12620 2005-11-25 Wim Taymans <wim@fluendo.com>
12622 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12623 (gst_util_uint64_scale_int):
12624 Optimisations, remove unneeded vars.
12626 2005-11-25 Wim Taymans <wim@fluendo.com>
12628 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12629 Added more checks for the high precision uint64 cases.
12631 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12632 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12633 Implement high precision (guint64 * guint64) / guint64.
12635 2005-11-24 Wim Taymans <wim@fluendo.com>
12637 * gst/base/gstbasesrc.c: (gst_base_src_query):
12638 Fix wrong percentage query.
12640 * gst/gstutils.c: (gst_util_uint64_scale),
12641 (gst_util_uint64_scale_int):
12642 Add some more common cases that can be handled
12643 efficiently to _scale.
12645 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12647 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12648 (gst_mini_object_suite):
12649 don't use check calls from threads; check probably isn't
12650 threadsafe and using a lock to make it threadsafe would
12651 defeat the purpose of this check
12652 * gst/check/gstcheck.c:
12653 * gst/check/gstcheck.h:
12654 use GST_DEBUG some more
12656 2005-11-24 Wim Taymans <wim@fluendo.com>
12658 * gst/gstutils.c: (gst_util_uint64_scale),
12659 (gst_util_uint64_scale_int):
12660 Chain trivial case to _scale_int.
12662 2005-11-24 Wim Taymans <wim@fluendo.com>
12664 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12665 Added test for scaling.
12670 * gst/gstutils.c: (gst_util_uint64_scale_int):
12671 Implemented high precision scaling code.
12673 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12676 do not crash on pad==NULL
12678 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12680 Patch by: Stefan Kost
12682 * common/gtk-doc.mak:
12683 * docs/gst/Makefile.am:
12684 * docs/libs/Makefile.am:
12685 Fix distcheck issues for the libraries docs build
12688 2005-11-24 Michael Smith <msmith@fluendo.com>
12690 * docs/manual/basics-helloworld.xml:
12691 Fix bug #315027: memory leak in example code in docs.
12693 2005-11-24 Michael Smith <msmith@fluendo.com>
12695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12696 Unlock the PREROLL_LOCK in a failure case.
12698 2005-11-24 Wim Taymans <wim@fluendo.com>
12700 * docs/gst/gstreamer-sections.txt:
12701 * gst/base/gstadapter.h:
12702 * gst/base/gstbasesink.h:
12703 * gst/base/gstbasesrc.h:
12704 * gst/base/gstbasetransform.h:
12705 * gst/base/gstpushsrc.h:
12706 * gst/elements/gstfakesink.h:
12707 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12708 * gst/elements/gstfakesrc.h:
12709 * gst/elements/gstfilesink.h:
12710 * gst/elements/gstfilesrc.h:
12713 * gst/gstbuffer.c: (_gst_buffer_copy):
12716 * gst/gstchildproxy.c:
12718 * gst/gstelement.c:
12719 * gst/gstelementfactory.c:
12720 * gst/gstelementfactory.h:
12722 * gst/gstghostpad.h:
12724 * gst/gstinterface.h:
12725 * gst/gstminiobject.c:
12726 * gst/gstminiobject.h:
12729 * gst/gstpadtemplate.h:
12730 * gst/gstpipeline.h:
12731 * gst/gstpluginfeature.h:
12734 * gst/gsttaglist.c:
12735 * gst/gsttaglist.h:
12736 * gst/gsttagsetter.c:
12737 * gst/gsttagsetter.h:
12740 * gst/gsttypefind.h:
12743 * gst/net/gstnetclientclock.c:
12744 * gst/net/gstnetclientclock.h:
12745 * gst/net/gstnettimepacket.c:
12746 * gst/net/gstnettimeprovider.c:
12747 * gst/net/gstnettimeprovider.h:
12750 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12752 * configure.ac: back to HEAD
12754 === release 0.9.6 ===
12756 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12759 releasing 0.9.6, "Always On Time"
12761 2005-11-23 Wim Taymans <wim@fluendo.com>
12763 * docs/gst/gstreamer-sections.txt:
12764 * gst/glib-compat.c:
12765 * gst/gsttagsetter.c:
12767 * gst/net/gstnetclientclock.c:
12768 * gst/net/gstnettimepacket.h:
12771 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12773 * docs/faq/using.xml:
12774 * docs/libs/tmpl/gstcontrol.sgml:
12775 * docs/manual/advanced-dparams.xml:
12776 * docs/manual/appendix-checklist.xml:
12777 * docs/manual/basics-elements.xml:
12778 * docs/pwg/other-source.xml:
12779 * docs/random/moving-plugins:
12781 * tools/gst-launch.1.in:
12782 remove mentions of sinesrc
12784 2005-11-23 Michael Smith <msmith@fluendo.com>
12786 * docs/gst/gstreamer-sections.txt:
12787 Update for new API and API changes.
12789 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12791 Documentation typo fix.
12792 * gst/net/gstnettimepacket.c:
12793 Documentation fixes for arguments.
12795 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12797 * gst/gststructure.c: (gst_structure_get_fraction),
12798 (gst_structure_parse_value),
12799 (gst_structure_fixate_field_nearest_fraction):
12800 * gst/gststructure.h:
12801 * gst/gstutils.c: (gst_util_uint64_scale_int):
12803 * scripts/update-funcnames:
12805 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12806 Make gst_structure_fixate_field_nearest_fraction take a numerator
12807 and denominator argument instead of a GValue
12808 add gst_structure_get_fraction helper function.
12810 2005-11-23 Wim Taymans <wim@fluendo.com>
12812 * docs/design/part-TODO.txt:
12815 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12816 * gst/net/gstnetclientclock.h:
12817 Use parent fields for timeout and window_size.
12819 2005-11-23 Andy Wingo <wingo@pobox.com>
12821 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12822 rate_num/rate_denom change.
12824 * gst/net/gstnetclientclock.c
12825 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12826 OBJECT_LOCK. Don't call add_observation with the lock.
12828 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12830 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12832 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12833 deal with rate as a fraction whose numerator and denominator are
12834 GstClockTime values.
12835 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12836 master; the other fields are protected by the SLAVE_LOCK.
12837 (do_linear_regression): Note that this must be called with the
12839 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12840 OBJECT_LOCK. Call set_calibration instead of touching the
12841 variables directly.
12842 (gst_clock_set_property, gst_clock_get_property): Protect
12843 master/slave parameters with the SLAVE_LOCK.
12845 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12846 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12847 note that all of the instance variables that add_observation and
12848 the set_master functions use are protected by that lock and not
12850 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12852 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12853 the caller to take the object lock.
12855 2005-11-23 Wim Taymans <wim@fluendo.com>
12857 * gst/gsterror.c: (_gst_core_errors_init):
12859 Add error for clock stuff.
12861 * gst/gstpipeline.c: (gst_pipeline_change_state),
12862 (gst_pipeline_set_clock):
12863 Post clock error when clock cannot be used in a pipeline.
12865 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12867 * docs/gst/gstreamer-sections.txt:
12868 make two symbols from gstinfo private for the docs
12869 * gst/base/gstcollectpads.h:
12871 fix doc typos, update docs
12873 2005-11-22 Wim Taymans <wim@fluendo.com>
12875 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12876 (gst_base_sink_wait), (gst_base_sink_do_sync),
12877 (gst_base_sink_handle_event):
12878 * gst/base/gstbasesink.h:
12879 No need to store the clock, the parent element class already
12882 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12883 Updates for clock_set returning a gboolean
12885 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12886 (gst_clock_id_wait_async), (gst_clock_class_init),
12887 (gst_clock_init), (gst_clock_finalize),
12888 (gst_clock_get_internal_time), (gst_clock_get_time),
12889 (gst_clock_slave_callback), (gst_clock_set_master),
12890 (gst_clock_get_master), (do_linear_regression),
12891 (gst_clock_add_observation), (gst_clock_set_property),
12892 (gst_clock_get_property):
12894 Implement master/slave. When setting a clock as a slave, a
12895 periodic timeout is scheduled to sample master and slave times.
12896 Then the slave clock is recalibrated to match offset and rate
12897 of the master clock.
12898 Update logging a bit.
12899 Add flag so that a clock can state that is cannot be slaved to
12902 * gst/gstelement.c: (gst_element_set_clock):
12903 * gst/gstelement.h:
12904 The set clock returns a gboolean for when an element cannot
12905 deal with the selected clock in the pipeline.
12907 * gst/gstpipeline.c: (gst_pipeline_change_state),
12908 (gst_pipeline_set_clock):
12909 * gst/gstpipeline.h:
12910 Handle the case where the selected clock cannot be set on
12913 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12914 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12915 (gst_net_client_clock_set_property),
12916 (gst_net_client_clock_get_property),
12917 (gst_net_client_clock_observe_times):
12918 * gst/net/gstnetclientclock.h:
12919 Use regression code in GstClock parent, remove duplicated
12922 2005-11-22 Michael Smith <msmith@fluendo.com>
12924 * gst/gstutils.c: (gst_util_clock_time_scale):
12926 * docs/gst/gstreamer-sections.txt:
12927 Rename method to have extra underscore.
12929 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
12931 * gst/elements/Makefile.am:
12932 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12933 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12934 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12935 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12936 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12937 * gst/elements/gstfakesrc.h:
12938 * gst/gstqueue.c: (queue_leaky_get_type):
12939 correctly fix GEnumValues so that nick is the short lowercase
12941 * tools/gst-inspect.c: (print_element_properties_info):
12942 also show the nick, since it's useful to use from parse_launch
12946 2005-11-22 Michael Smith <msmith@fluendo.com>
12948 * gst/gstutils.c: (gst_util_clocktime_scale):
12950 * docs/gst/gstreamer-sections.txt:
12951 Add util method for scaling a clocktime by a fraction. Useful
12952 implementation is left as an exercise for the reader.
12954 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12956 * gst/gstvalue.c: (gst_value_collect_fraction_range):
12957 If needed, allocate storage in the destination value during
12960 2005-11-22 Edward Hervey <edward@fluendo.com>
12962 * docs/gst/gstreamer-sections.txt:
12965 * gst/gsturitype.c:
12966 * gst/gsturitype.h:
12967 * gst/gstutils.c: (gst_util_set_object_arg):
12968 * tools/gst-compprep.c: (main):
12969 * tools/gst-inspect.c: (print_element_properties_info):
12970 Removed GstURI, closes bug #321061
12972 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12974 * check/gst/gststructure.c: (GST_START_TEST):
12975 * gst/gststructure.c: (gst_structure_parse_value):
12976 Oops, broke automatic string type parsing.
12977 Add a test to catch it in future.
12979 2005-11-22 Andy Wingo <wingo@pobox.com>
12981 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
12982 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
12983 Actually rename the function implementations. Grr.
12985 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12987 * check/gst/capslist.h:
12989 * check/gst/gststructure.c: (GST_START_TEST),
12990 (gst_structure_suite):
12991 Test automatic value type detection in gst_structure_from_string.
12992 * gst/gststructure.c: (gst_structure_parse_value):
12993 Add fraction as a type we try and guess automatically in
12994 caps/structure strings.
12996 2005-11-22 Andy Wingo <wingo@pobox.com>
12998 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13000 * gst/gsttagsetter.h:
13001 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13002 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13003 (gst_tag_setter_add_tag_valist)
13004 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13005 _add_values, _add_valist, and _add_valist_values. Since this is an
13006 interface the function suffixes should be more explicit so
13007 language binding don't end up with element.add_valist ->
13008 gst_tag_setter_add_valist, for example. Fixes #322069.
13010 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13012 * check/gst/gstcaps.c: (GST_START_TEST):
13013 Extend caps string tests to check that a caps to string
13014 conversion is reversible and produces the same caps.
13016 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13017 Output "fraction" as the generic type fraction range, so caps
13018 serialisation and deserialisation works.
13019 * check/gst/capslist.h:
13020 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13021 Support 'MIN' and 'MAX' for deserialising fractions.
13023 2005-11-22 Andy Wingo <wingo@pobox.com>
13025 * gst/gstevent.h (gst_event_new_new_segment)
13026 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13027 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13028 Renamed from *_newsegment, *_buffersize, *_notarget.
13030 * scripts/update-funcnames: New script, performs the changes
13033 2005-11-22 Wim Taymans <wim@fluendo.com>
13035 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13036 Make sure the GstFlowReturn is returned.
13038 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13039 (gst_bus_add_signal_watch):
13041 add gst_bus_add_signal_watch_full.
13043 * gst/gstplugin.c: (gst_plugin_load_file):
13044 Small style cleanup.
13046 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13048 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13049 Block the fakesrc srcpad when we send an event, to avoid
13050 contention on the stream_lock causing random test failures.
13052 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13054 * check/gst/gstvalue.c: (GST_START_TEST):
13055 * gst/gstvalue.c: (gst_value_fraction_subtract):
13058 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13061 include "gstchildproxy.h"
13062 * gst/gstchildproxy.h:
13063 * libs/gst/controller/gstcontroller.h:
13064 use G_GNUC_NULL_TERMINATED
13066 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13068 * check/gst/capslist.h:
13069 * check/gst/gstcaps.c: (GST_START_TEST):
13070 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13071 * gst/gststructure.c: (gst_structure_parse_range),
13072 (gst_structure_fixate_field_nearest_fraction):
13073 * gst/gststructure.h:
13074 * gst/gstvalue.c: (gst_value_init_fraction_range),
13075 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13076 (gst_value_collect_fraction_range),
13077 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13078 (gst_value_set_fraction_range_full),
13079 (gst_value_get_fraction_range_min),
13080 (gst_value_get_fraction_range_max),
13081 (gst_value_serialize_fraction_range),
13082 (gst_value_transform_fraction_range_string),
13083 (gst_value_compare_fraction_range),
13084 (gst_value_deserialize_fraction_range),
13085 (gst_value_intersect_fraction_fraction_range),
13086 (gst_value_intersect_fraction_range_fraction_range),
13087 (gst_value_subtract_fraction_fraction_range),
13088 (gst_value_subtract_fraction_range_fraction),
13089 (gst_value_subtract_fraction_range_fraction_range),
13090 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13091 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13092 (gst_value_transform_string_fraction), (_gst_value_initialize):
13094 Implement fraction ranges and extend GstFraction to support
13095 arithmetic subtraction, as well as deserialization from integer
13096 strings such as "100"
13097 Add a testsuite as for int and double range set operations
13099 2005-11-21 Andy Wingo <wingo@pobox.com>
13101 * gst/gsttaglist.h:
13103 * gst/gststructure.h: Add glib-compat.h.
13105 2005-11-21 Wim Taymans <wim@fluendo.com>
13107 * gst/gstbin.c: (gst_bin_change_state_func):
13110 2005-11-21 Wim Taymans <wim@fluendo.com>
13112 * gst/gstsegment.h:
13113 And add a nice define too.
13115 2005-11-21 Wim Taymans <wim@fluendo.com>
13117 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13118 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13119 (gst_segment_set_duration), (gst_segment_set_last_stop),
13120 (gst_segment_set_seek), (gst_segment_set_newsegment),
13121 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13122 (gst_segment_clip):
13123 * gst/gstsegment.h:
13124 Make binding friendly.
13126 2005-11-21 Andy Wingo <wingo@pobox.com>
13128 * gst/gsttagsetter.h:
13129 * gst/gsttaglist.h:
13130 * gst/gststructure.h:
13132 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13135 * gst/gsterror.c (_gst_core_errors_init):
13136 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13139 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13140 (noinst_HEADERS): noinst the -private.
13142 2005-11-21 Michael Smith <msmith@fluendo.com>
13145 * gst/gstregistry.h:
13146 Remove unimplemented declarations for which we can see no sensible
13149 2005-11-21 Andy Wingo <wingo@pobox.com>
13151 * gst/gst.h: Include glib-compat.h.
13153 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13155 * gst/glib-compat.c: Include the public and the private header.
13157 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13161 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13163 * check/gst/gstevent.c (create_custom_events): Check that
13164 FLUSH_STOP is serialized.
13166 * check/elements/identity.c (event_func):
13167 * check/elements/fakesrc.c (event_func): No stream lock, the core
13170 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13171 stream lock taking, yay.
13173 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13174 ensure that core takes the stream lock.
13176 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13179 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13180 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13181 it already. For the flush start we do take it though so we get the
13182 right preroll state change messages.
13184 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13185 the stream lock here, the core does it for us.
13187 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13188 GST_STREAM_GET_LOCK.
13189 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13190 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13191 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13192 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13193 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13194 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13196 * gst/gstpad.c: Update for stream lock name change.
13198 * gst/base/gstbasesink.c: Update for preroll lock name change.
13200 2005-11-21 Wim Taymans <wim@fluendo.com>
13202 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13203 (gst_clock_get_master):
13205 * gst/gstsystemclock.c: (gst_system_clock_init):
13206 Convert Clock flags to object flags.
13207 Added methods to manage master/slave clocks.
13209 2005-11-21 Wim Taymans <wim@fluendo.com>
13211 * check/gst/gstsegment.c: (GST_START_TEST):
13212 * docs/design/part-TODO.txt:
13213 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13214 (gst_base_sink_event), (gst_base_sink_do_sync),
13215 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13216 (gst_base_sink_query), (gst_base_sink_change_state):
13217 * gst/base/gstbasesink.h:
13218 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13219 (gst_base_src_default_newsegment),
13220 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13221 (gst_base_src_get_range), (gst_base_src_loop),
13222 (gst_base_src_change_state):
13223 * gst/base/gstbasesrc.h:
13224 * gst/base/gstbasetransform.c:
13225 (gst_base_transform_prepare_output_buf),
13226 (gst_base_transform_event), (gst_base_transform_change_state):
13227 * gst/base/gstbasetransform.h:
13228 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13229 (gst_collect_pads_event):
13230 * gst/base/gstcollectpads.h:
13231 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13232 (gst_fake_src_create):
13233 * gst/elements/gstfakesrc.h:
13234 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13235 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13236 (gst_segment_set_last_stop), (gst_segment_set_seek),
13237 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13238 (gst_segment_to_running_time), (gst_segment_clip):
13239 * gst/gstsegment.h:
13240 More segment updates, replace code in plugins with segment
13243 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13245 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13246 Don't ignore sscanf results
13248 2005-11-21 Andy Wingo <wingo@pobox.com>
13250 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13253 * *.c: Ran scripts/update-macros. Oh yes.
13255 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13256 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13259 * scripts/update-macros: New script. Run it on your files to
13260 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13263 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13265 * docs/gst/Makefile.am:
13266 * docs/gst/gstreamer-docs.sgml:
13267 * docs/gst/gstreamer-sections.txt:
13268 * docs/gst/gstreamer.types:
13270 more docs fixes, add new api to the docs
13272 2005-11-21 Andy Wingo <wingo@pobox.com>
13274 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13275 state_broadcast call.
13277 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13279 2005-11-21 Julien MOUTTE <julien@moutte.net>
13281 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13282 function calls for arrays.
13284 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13286 * docs/random/ensonic/media-device-daemon.txt:
13287 wild idea, can this be done?
13288 * docs/gst/gstreamer-sections.txt:
13293 * gst/gstpluginfeature.c:
13297 doc fixes and additions
13299 2005-11-21 Andy Wingo <wingo@pobox.com>
13301 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13302 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13303 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13304 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13305 private to the basesrc implementation.
13307 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13308 behalf of event function if necessary. It should no longer be
13309 necessary to take the stream lock in pad's event functions. Fixes
13312 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13313 * docs/gst/gstreamer-sections.txt:
13314 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13315 (gst_structure_fixate_field_nearest_double),
13316 (gst_structure_fixate_field_boolean):
13317 * gst/gststructure.h:
13318 * win32/common/libgstreamer.def:
13319 * win32/gstreamer.def:
13321 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13324 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13326 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13327 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13328 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13329 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13330 (gst_fdsrc_uri_handler_init):
13331 * gst/elements/gstfdsrc.h:
13332 Port fd:// URI handler from 0.8 to fdsrc
13334 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13336 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13337 (gst_value_serialize_fourcc):
13339 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13340 consistent with our other format defines (#320324).
13342 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13344 * gst/gstvalue.c: (gst_value_is_fixed):
13345 Revert previous commit. Value lists are by definition
13346 not fixed, as they are a list of possible values.
13348 2005-11-21 Andy Wingo <wingo@pobox.com>
13350 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13351 during the stable series if we need it. Fixes #319178.
13353 * gst/gstevent.c (gst_event_new_filler): Removed.
13355 * check/gst/gstevent.c: Update comment about filler events.
13357 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13359 * gst/gstvalue.c: (gst_value_is_fixed):
13360 Should handle both value arrays and value lists.
13362 2005-11-21 Andy Wingo <wingo@pobox.com>
13364 patch by: Alessandro Dessina <alessandro nnva org>
13366 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13367 functions to access arrays. Fixes #321962.
13369 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13371 * docs/gst/gstreamer.types:
13372 gst_collectpads_get_type => gst_collect_pads_get_type.
13374 * gst/base/gstbasetransform.c:
13375 Remove unused SIGNAL_HANDOFF enum.
13377 2005-11-21 Andy Wingo <wingo@pobox.com>
13379 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13380 the event type (upstream, downstream, serialized). Renamed
13381 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13382 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13383 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13385 * gst/gstevent.c: Update for new CUSTOM event names.
13387 * check/gst/gstevent.c: Update check for new CUSTOM event names.
13390 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13393 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13395 * docs/gst/gstreamer-sections.txt:
13396 * win32/common/libgstbase.def:
13397 * win32/libgstbase.def:
13398 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13399 (gst_collect_pads_class_init), (gst_collect_pads_init),
13400 (gst_collect_pads_finalize), (gst_collect_pads_new),
13401 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13402 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13403 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13404 (gst_collect_pads_start), (gst_collect_pads_stop),
13405 (gst_collect_pads_peek), (gst_collect_pads_pop),
13406 (gst_collect_pads_available), (gst_collect_pads_read),
13407 (gst_collect_pads_flush), (gst_collect_pads_event),
13408 (gst_collect_pads_chain):
13409 * gst/base/gstcollectpads.h:
13410 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13411 unimplemented functions as unimplemented. Add padding to
13412 GstCollectData. (#320766, #320423)
13414 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13416 * gst/gstmessage.c:
13417 Improve docs for DURATION message (usage of duration parameter)
13420 2005-11-20 Wim Taymans <wim@fluendo.com>
13422 * check/Makefile.am:
13423 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13427 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13428 (gst_segment_set_seek), (gst_segment_set_newsegment),
13429 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13430 (gst_segment_clip):
13431 * gst/gstsegment.h:
13432 Added segment helper structure and methods. Not fully implemented
13434 Added segment check.
13436 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
13438 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13439 Add a deserialisation test for fractions
13440 * examples/metadata/read-metadata.c: (message_loop),
13441 (make_pipeline), (main):
13442 Fix up metadata reading sample.
13443 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13445 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13446 Don't try and fixate empty caps
13447 * gst/gst_private.h:
13448 Wrap in G_BEGIN_DECLS/G_END_DECLS
13449 * gst/gstvalue.c: (gst_value_collect_fraction),
13450 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13451 (gst_value_transform_string_fraction),
13452 (gst_value_compare_fraction):
13453 Add some extra guards to ensure that we don't end up
13454 with an invalid denominator of 0 in a gstfraction and
13455 that fractions always get reduced.
13457 2005-11-20 Wim Taymans <wim@fluendo.com>
13459 * docs/gst/gstreamer-sections.txt:
13461 * gst/gstelement.c:
13470 2005-11-20 Wim Taymans <wim@fluendo.com>
13472 * docs/design/part-TODO.txt:
13474 Make a proper enum of the flag.
13476 2005-11-19 Wim Taymans <wim@fluendo.com>
13478 * docs/design/part-TODO.txt:
13479 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13480 (gst_format_to_quark), (gst_format_register):
13482 * gst/gstquery.c: (_gst_query_initialize),
13483 (gst_query_type_get_name), (gst_query_type_to_quark),
13484 (gst_query_type_register):
13486 Add type to quark and type to string conversions.
13488 2005-11-19 Andy Wingo <wingo@pobox.com>
13490 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13493 2005-11-19 Wim Taymans <wim@fluendo.com>
13495 * docs/design/part-TODO.txt:
13496 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13497 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13498 (gst_bin_handle_message_func):
13500 Make message handling overridable.
13502 2005-11-19 Andy Wingo <wingo@pobox.com>
13504 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13507 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13509 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13510 is a GstClockTime. Fixes #321710.
13512 * gst/gstclock.h (GstClock): Remove offset property. Add
13513 internal_calibration and external_calibration. Fix padding. Pad
13514 also by GstClockTime so we don't run into problems.
13516 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13517 (gst_clock_get_rate_offset): Remove.
13518 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13521 * gst/gstutils.c (g_static_rec_cond_wait)
13522 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13524 * gst/gstbin.c: Remove terrible continue_state prototype.
13526 * gst/gstelement.h (gst_element_continue_state): Make public.
13528 * gst/gstelement.h:
13529 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13530 by continue_state. Fixes #319389.
13532 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13533 Really fixes #168438. However I don't see anywhere where the
13534 filter function is called... stupid GStreamer...
13536 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13537 don't have a dispose function, so it won't get called when the
13538 object is unreffed, but oh well!
13540 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13541 allows a destroy function to be set so user_data can be freed.
13543 (gst_index_set_filter): Call gst_index_set_filter_full.
13545 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13547 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13548 string should produce an error, given the lack of a way to
13549 represent NULL strings. Fixes #165650.
13552 * gst/gstvalue.c (gst_value_array_append_value)
13553 (gst_value_array_prepend_value, gst_value_array_get_size)
13554 (gst_value_array_get_value): New API, copied from
13555 gst_value_list_*, only operates on arrays.
13556 (gst_value_list_append_value, gst_value_list_prepend_value)
13557 (gst_value_list_concat, gst_value_list_get_size)
13558 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13560 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13561 init_list, because it works on both.
13562 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13563 (gst_value_copy_list_or_array): Renamed from copy_list.
13564 (gst_value_free_list_or_array): Renamed from free_list.
13565 (gst_value_collect_list_or_array): Renamed from collect_list.
13566 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13567 (gst_value_list_or_array_peek_pointer): Renamed from
13569 (_gst_value_array_value_table, _gst_value_list_value_table):
13570 Update value table functions.
13571 (gst_value_compare_list_or_array): Renamed from compare_list.
13573 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13576 * gst/gsttaglist.c:
13577 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13578 GstTagList*. Fixes #143472.
13580 * gst/gststructure.h: Clarify what the foreach/map functions can
13581 or can't do to their arguments.
13583 2005-11-18 Wim Taymans <wim@fluendo.com>
13585 * gst/gstclock.c: (gst_clock_set_calibration),
13586 (gst_clock_get_calibration):
13588 Calibration can be set with internal time equal to current
13591 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13597 2005-11-18 Andy Wingo <wingo@pobox.com>
13600 * pkgconfig/gstreamer-net.pc.in:
13601 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13602 * pkgconfig/Makefile.am: Add net pkgconfig files.
13604 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13607 * gst/gstghostpad.c:
13613 2005-11-18 Andy Wingo <wingo@pobox.com>
13615 * gst/net/gstnetclientclock.c: Turn off debugging.
13617 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13618 times connverge somewhat. Can't make a real test.
13620 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13621 integer arithmetic. Return the minimum of the domain, which can be
13622 set as "internal" for gst_clock_set_calibration.
13623 (gst_net_client_clock_observe_times): Call _set_calibration.
13624 (gst_net_client_clock_new): Call _set_calibration instead of
13627 * check/net/gstnetclientclock.c (test_functioning): Use the right
13631 * gst/gstclock.c (gst_clock_get_calibration)
13632 (gst_clock_set_calibration): New functions, obsolete the ones I
13633 added yesterday. Doh. Precision issues mean we have to extrapolate
13634 from a point in the more recent past than 1970.
13635 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13637 (gst_clock_adjust_unlocked): Use the right calibration data.
13639 2005-11-18 Edward Hervey <edward@fluendo.com>
13641 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13642 Also reset the ->current_* values in READY->PAUSED
13644 2005-11-18 Andy Wingo <wingo@pobox.com>
13646 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13647 Whoops, check the right fd. Also add some debugging.
13648 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13649 (do_linear_regression): Add a crapload of debugging. Subtract off
13650 the minimum values from the input series to discard unneeded bits.
13651 Use only int arithmetic. There is still double arithmetic when
13652 calculating the intercept that needs fixing. Return boolean to
13653 indicate success; FALSE would mean the domain or range is too
13654 great. Still needs fixes.
13656 2005-11-18 Wim Taymans <wim@fluendo.com>
13658 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13659 For the current position in stream time, we need to subtract
13662 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13663 Release lock before calling the callback function of async
13666 2005-11-18 Andy Wingo <wingo@pobox.com>
13668 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13669 Port goes all the way to MAXUINT16.
13671 * gst/net/gstnettimeprovider.c: Make the port range the same as
13672 for the kernel: 0 assigns, otherwise ports are less than
13675 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13678 * check/net/gstnetclientclock.c (test_functioning): Add the start
13681 2005-11-18 Wim Taymans <wim@fluendo.com>
13683 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13684 (gst_bin_remove_func), (bin_bus_handler):
13686 Removing a clock provider from a bin, triggers a clock lost message
13687 so that a new clock will be selected.
13688 Adding a clock to a bin triggers a clock provider message.
13689 Make sure we reselect a clock when we received a clock lost message.
13690 Keep a reference to the element that provided the clock.
13692 2005-11-18 Andy Wingo <wingo@pobox.com>
13694 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13695 the clock initially so it produces values around the base time.
13696 (gst_net_client_clock_class_init): Typo fix.
13697 (gst_net_client_clock_thread): Add note on when the socket gets
13700 2005-11-17 Wim Taymans <wim@fluendo.com>
13702 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13703 Free remote and local time arrays.
13705 2005-11-17 Wim Taymans <wim@fluendo.com>
13707 * gst/net/gstnetclientclock.c: (do_linear_regression),
13708 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13709 Fix compilation, uninitialized vars and a forgotten continue.
13711 2005-11-17 Andy Wingo <wingo@pobox.com>
13713 * check/Makefile.am (check_PROGRAMS):
13714 * check/net/gstnetclientclock.c: Add a most minimal test for the
13715 net client clock. More to come later.
13717 * gst/net/gstnet.h:
13718 * gst/net/Makefile.am: Add netclientclock.
13720 * gst/net/gstnetclientclock.h:
13721 * gst/net/gstnetclientclock.c: New files, implement an untested
13722 GstClock that takes its time from a network time provider.
13723 Implements the algorithm in network-clock.scm.
13725 * tests/network-clock.scm (*window-size*): Rename from
13727 * tests/network-clock.scm (network-time):
13728 * tests/network-clock-utils.scm (q-push): Update callers.
13730 2005-11-17 Wim Taymans <wim@fluendo.com>
13732 * gst/gstbin.c: (gst_bin_provide_clock_func),
13733 (gst_bin_sort_iterator_new):
13734 And unref the child too..
13736 2005-11-17 Wim Taymans <wim@fluendo.com>
13738 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13739 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13740 Refactor the sort iterator so it can be used while holding the
13742 Make clock selection select a clock closest to the source.
13744 2005-11-17 Michael Smith <msmith@fluendo.com>
13746 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13747 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13749 Anonymous structs are a gcc (and some other compilers) extension, so
13750 don't use them. Since this is only for ABI-compatibility, and our
13751 API/ABI freeze is over in a few days, this whole thing will only
13752 last a few days, so don't bother trying to think up a meaningful
13753 name for the struct.
13755 2005-11-17 Andy Wingo <wingo@pobox.com>
13757 * gst/gstclock.h (GstClock): Add rate and offset properties,
13758 preserving ABI stability. Add rate/offset accessors. Will file bug
13759 for the freeze break.
13761 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13762 and offset, trying to keep precision and avoiding
13763 underflow/overflow.
13764 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13765 functions. Make gst_clock_set_time_adjust obsolete.
13766 (gst_clock_set_time_adjust): Note that this function is obsolete.
13767 Will file bug soon.
13769 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13770 greppable by using GST_PADDING-1+1.
13772 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13774 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13776 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13777 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13779 * gst/gstpadtemplate.h:
13780 * gst/gstpluginfeature.h:
13781 Don't use c++ style comments in headers (#321638).
13783 2005-11-16 Andy Wingo <wingo@pobox.com>
13785 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13788 * check/net/gstnettimeprovider.c: Check to see that the time
13789 provider actually provides times. Works, yo!
13791 2005-11-16 Wim Taymans <wim@fluendo.com>
13793 * check/Makefile.am:
13796 * check/elements/fakesrc.c: (GST_START_TEST):
13797 Set element to NULL before disposing it.
13799 2005-11-16 Andy Wingo <wingo@pobox.com>
13801 * gst/net/Makefile.am:
13802 * gst/net/gstnet.h:
13803 * gst/net/gstnettimeprovider.c:
13804 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13805 provider, include it from gstnet.h, and add it to the build.
13807 * gst/net/gstnettimepacket.h:
13808 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13809 sending and receiving.
13811 2005-11-16 Wim Taymans <wim@fluendo.com>
13813 * check/Makefile.am:
13814 Enable valgrind check.
13816 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13817 (gst_fake_src_alloc_buffer):
13820 2005-11-16 Wim Taymans <wim@fluendo.com>
13822 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13823 Call parent finalize too.
13825 2005-11-16 Wim Taymans <wim@fluendo.com>
13827 * check/Makefile.am:
13828 Enable valgrind check that should work fine now.
13830 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13831 * gst/gstqueue.c: (gst_queue_init):
13832 Fix memleaks in pad allocation.
13834 2005-11-16 Andy Wingo <wingo@pobox.com>
13836 * gst/net/Makefile.am:
13837 * gst/net/gstnet.h: New part of core to hold network elements and
13838 objects. Put in core because it exposes API that applications want
13839 to use. The library is named libgstnet-tempname right now because
13840 of the existing libgstnet in gst-plugins-base. Solution is
13841 probably to rename the one in plugins-base; will file a bug for
13844 * gst/net/gstnettimeprovider.c:
13845 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13846 get_time call over the network.
13849 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13851 * check/Makefile.am:
13852 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13853 get additions shortly.
13855 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13857 * gst/gstpad.c: (gst_pad_new_from_static_template):
13859 add gst_pad_new_from_static_template functions
13860 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13861 (gst_check_setup_sink_pad):
13862 * gst/elements/gsttee.c: (gst_tee_init):
13865 2005-11-16 Wim Taymans <wim@fluendo.com>
13867 * gst/gstpad.c: (gst_pad_pause_task):
13868 Removed warning, it's not really an error either.
13870 2005-11-16 Wim Taymans <wim@fluendo.com>
13872 * gst/base/gstbasetransform.c:
13873 (gst_base_transform_prepare_output_buf),
13874 (gst_base_transform_event):
13875 Check if the caps are NULL, this can happen if the element
13876 is shutting down and the pad caps are set to NULL.
13878 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13880 * gst/elements/gsttee.c: (gst_tee_init):
13881 fix pad template leak in tee
13883 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13885 * gst/glib-compat.c: (g_value_dup_gst_object):
13886 * gst/glib-compat.h:
13887 * gst/gstpad.c: (gst_pad_set_property):
13888 use gst_object_ref when setting the pad template; this will
13889 trigger the pad template leaks on GLib 2.6 and the slaves
13891 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13893 * gst/glib-compat.c: (gst_flags_get_first_value):
13894 * gst/glib-compat.h:
13895 * gst/gstregistryxml.c:
13896 remove functions copied from GLib 2.6
13898 2005-11-16 Michael Smith <msmith@fluendo.com>
13901 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13902 do, but only breaks with newer valgrind versions. We're not a
13903 valgrind tool, we have no link-time dependencies on libcoregrind.
13905 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13907 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13909 * gst/gstmessage.h:
13912 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13914 * gst/base/gstbasesrc.c: (gst_base_src_init):
13915 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13916 * gst/gstqueue.c: (gst_queue_init):
13917 * gst/gstregistryxml.c: (load_feature):
13918 Revert all these unrefs, they don't even pass make check !
13920 2005-11-15 Johan Dahlin <johan@gnome.org>
13922 * gst/base/gstbasesrc.c: (gst_base_src_init):
13923 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13924 * gst/gstqueue.c: (gst_queue_init):
13925 Free pad templates, fixes a couple of leaks.
13927 2005-11-15 Daniel Fischer <dan at f3c dot com>
13929 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13931 * gst/gstpad.c: (gst_pad_get_property):
13932 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13933 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13936 2005-11-15 Wim Taymans <wim@fluendo.com>
13941 2005-11-15 Andy Wingo <wingo@pobox.com>
13943 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13945 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13946 using GST_CLOCK_TIME_NONE to disable base time management.
13947 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13948 time if it was NONE before.
13949 (gst_pipeline_change_state): Only munge the base time if
13950 stream_time != GST_CLOCK_TIME_NONE.
13952 * check/gst/gstpipeline.c (test_base_time): Punt around the
13953 problem of the probe not being called, because that's not the
13954 issue I'm looking at. Add a check that setting stream_time to NONE
13955 disables base time management.
13957 2005-11-15 Wim Taymans <wim@fluendo.com>
13959 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13960 segment_stop == -1 at startup.
13962 * gst/base/gstbasetransform.c: (gst_base_transform_event),
13963 (gst_base_transform_change_state):
13964 Init segment values at start.
13966 2005-11-15 Wim Taymans <wim@fluendo.com>
13968 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13969 0 segment values are 0 in any format.
13971 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13972 * gst/base/gstbasetransform.h:
13973 Parse newsegment correctly in basetransform
13975 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13976 Sync to clock using updated segment values.
13978 2005-11-15 Andy Wingo <wingo@pobox.com>
13980 * check/gst/gstpipeline.c (test_base_time): Add check that the
13981 base time and stream time are reset correctly.
13983 2005-11-15 Wim Taymans <wim@fluendo.com>
13985 * docs/design/part-TODO.txt:
13986 Some more TODO items.
13988 2005-11-15 Andy Wingo <wingo@pobox.com>
13990 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
13991 error if the user selected "no clock" as the clocking method.
13993 * check/gst/gstpipeline.c (test_base_time): New test for buffer
13994 timestamps with live capture.
13996 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
13997 is 0 but we are a live source, timestamp the buffers using the
14000 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14002 * docs/gst/gstreamer-sections.txt:
14004 * gst/gstghostpad.c:
14009 2005-11-14 Wim Taymans <wim@fluendo.com>
14012 add suppressions from Wim's Debian machine
14014 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14017 add suppressions from Andy's AMD64 Ubuntu machine
14019 2005-11-14 Andy Wingo <wingo@pobox.com>
14021 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14022 STATE_LOCK not necessary. Fixes #311489.
14024 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14027 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14028 this function is not implemented.
14030 2005-11-14 Julien MOUTTE <julien@moutte.net>
14032 * gst/base/gstbasetransform.c:
14033 (gst_base_transform_prepare_output_buf):
14034 Ref the source pad caps while we need them.
14037 2005-11-11 Wim Taymans <wim@fluendo.com>
14039 * docs/gst/gstreamer-sections.txt:
14040 Added some docs for GstCollectData.
14042 * gst/base/gstadapter.c:
14043 Some small code example fix.
14045 * gst/base/gstcollectpads.c:
14046 * gst/base/gstcollectpads.h:
14047 Document some more.
14049 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14051 * configure.ac: back to HEAD
14053 === release 0.9.5 ===
14055 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14058 releasing 0.9.5, "Bike Lunch Day"
14060 2005-11-11 Wim Taymans <wim@fluendo.com>
14062 * gst/gstbuffer.c: (_gst_buffer_copy):
14065 * gst/gstcaps.c: (gst_caps_is_equal):
14067 Make _is_equal fast in the trivial cases.
14069 * gst/gstminiobject.c:
14070 * gst/gstminiobject.h:
14071 More docs. Spifify .h file.
14076 2005-11-11 Wim Taymans <wim@fluendo.com>
14078 * gst/base/gstbasetransform.c:
14079 (gst_base_transform_prepare_output_buf),
14080 (gst_base_transform_handle_buffer):
14082 If we're processing a buffer and need to allocate an output
14083 buffer, we cannot accept a format change. If we did get a
14084 format change, we have to alloc a buffer ourselves of the
14087 2005-11-11 Wim Taymans <wim@fluendo.com>
14089 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14090 While checking the flag for reentrancy in the gstcaps function
14091 is nice to detect recursive invocations, it also makes it
14092 impossible to call getcaps from multiple threads, which must be
14093 possible. So, checking for recursive calls has to go.
14095 2005-11-11 Michael Smith <msmith@fluendo.com>
14097 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14098 Don't sync on buffers that fall partially outside our current
14099 segment. Prevents an assertion failure/abort playing some files.
14101 2005-11-10 Andy Wingo <wingo@pobox.com>
14103 * check/gst/gstbin.c (test_message_state_changed_children): Style
14106 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14107 gst_bus_poll with the signal watch. Ensures that poll and a signal
14108 watch see the same messages.
14110 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14111 a poll and a watch at the same time get the same messages.
14113 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14115 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14116 * gst/gstcaps.c: (gst_caps_intersect):
14117 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14118 and it's not needed.
14120 2005-11-10 Wim Taymans <wim@fluendo.com>
14122 * docs/design/part-TODO.txt:
14125 2005-11-10 Wim Taymans <wim@fluendo.com>
14127 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14128 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14129 (gst_base_src_do_sync), (gst_base_src_get_range):
14130 Implement clock sync in base class.
14132 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14134 patch by: Tim-Philipp Müller <tim at centricular dot net>
14136 * gst/gststructure.c: (gst_structure_parse_field),
14137 (gst_structure_from_string):
14138 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14139 so that gst_parse_launch() can deal with spaces in filtered link
14140 caps (fixes #164479)
14141 * check/gst/capslist.h:
14142 * check/gst/gststructure.c: (GST_START_TEST):
14143 add unit tests for this change
14145 2005-11-10 Wim Taymans <wim@fluendo.com>
14147 * docs/gst/gstreamer-sections.txt:
14148 * gst/gstelement.c:
14149 * gst/gstelement.h:
14150 Fix docs, move some STATE macros to private.
14152 2005-11-10 Wim Taymans <wim@fluendo.com>
14154 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14155 Added check for bug #317341
14159 Some more spiffifying.
14161 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14162 Call peer linkfunction if we are a source pad. Totally fixes
14166 Update docs, source pads should call the peer linkfunction
14167 so they can atomically perform the pad link.
14169 2005-11-09 Wim Taymans <wim@fluendo.com>
14173 Uber-spiffy-spiffify some more.
14175 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14177 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14178 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14179 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14180 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14181 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14182 * gst/gstpad.c: (gst_pad_init):
14183 Use GST_DEBUG_FUNCPTR() more extensively.
14185 2005-11-09 Wim Taymans <wim@fluendo.com>
14187 * gst/gstobject.c: (gst_object_class_init):
14189 Documentation fixes.
14191 2005-11-09 Edward Hervey <edward@fluendo.com>
14193 * gst/gsttypefindfactory.c:
14196 2005-11-09 Edward Hervey <edward@fluendo.com>
14198 * gst/base/gsttypefindhelper.c:
14199 * gst/gsttypefind.c:
14200 * gst/gsttypefind.h:
14203 2005-11-09 Wim Taymans <wim@fluendo.com>
14205 * gst/gstiterator.c:
14212 2005-11-09 Wim Taymans <wim@fluendo.com>
14218 2005-11-09 Wim Taymans <wim@fluendo.com>
14220 * docs/gst/gstreamer-sections.txt:
14221 Moved the message async delivery private lock and cond
14222 to the private section.
14224 * gst/gstmessage.c:
14225 * gst/gstmessage.h:
14228 2005-11-09 Edward Hervey <edward@fluendo.com>
14230 * docs/gst/gstreamer-sections.txt:
14233 Document GstURIHandler
14235 2005-11-09 Wim Taymans <wim@fluendo.com>
14237 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14238 (gst_iterator_find_custom):
14239 * gst/gstiterator.h:
14242 2005-11-09 Wim Taymans <wim@fluendo.com>
14245 Document another field.
14247 * gst/gststructure.c:
14248 * gst/gststructure.h:
14251 2005-11-09 Wim Taymans <wim@fluendo.com>
14254 Documented structs.
14256 2005-11-09 Wim Taymans <wim@fluendo.com>
14258 * docs/gst/gstreamer-sections.txt:
14259 Added some new macros.
14266 2005-11-09 Wim Taymans <wim@fluendo.com>
14268 * docs/design/part-TODO.txt:
14269 Some more items for the TODO
14275 2005-11-09 Andy Wingo <wingo@pobox.com>
14277 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14278 to work on something else now tho...
14280 * gst/base/gstadapter.c: More adapter docs.
14282 * gst/elements/gstfilesink.c (gst_file_sink_start)
14283 (gst_file_sink_stop): New functions, replace the state change
14285 (gst_file_sink_class_init): Hook up the start and stop functions.
14286 (gst_file_sink_base_init): Don't set the state change handler any
14287 more. It was a bit ugly too, being set from here...
14288 (gst_file_sink_get_property, gst_file_sink_set_property):
14290 (gst_file_sink_set_location): More robust check that doesn't call
14291 GST_STATE. Ugggggg.
14293 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14295 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14296 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14298 2005-11-08 Wim Taymans <wim@fluendo.com>
14300 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14301 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14302 (gst_base_sink_chain), (gst_base_sink_change_state):
14303 * gst/base/gstbasesink.h:
14304 * gst/base/gstbasesrc.h:
14305 * gst/gstelement.h:
14307 Avoid excessive typechecking in macros.
14309 * gst/gstminiobject.c: (gst_mini_object_get_type),
14310 (gst_mini_object_init), (gst_mini_object_new),
14311 (gst_mini_object_free):
14312 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14313 (gst_object_finalize):
14314 Remove cruft code, optimize alloc_trace.
14316 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14318 * docs/faq/gst-uninstalled:
14319 fix up PS1 for systems that try to reset it
14321 2005-11-07 Wim Taymans <wim@fluendo.com>
14323 * gst/base/gstbasesrc.c: (gst_base_src_init),
14324 (gst_base_src_get_range):
14325 Set the segment_end to -1 initially. Fixed typefind.
14327 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14329 * gst/base/gstadapter.c:
14330 Debug category should be 'adapter', not 'GstAdapter'.
14332 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14333 (gst_collectpads_class_init), (gst_collectpads_init),
14334 (gst_collectpads_peek), (gst_collectpads_pop),
14335 (gst_collectpads_event), (gst_collectpads_chain):
14336 Add debug category and some debugging output. Use boilerplate
14337 macros. Remove some extraneous words from docs.
14339 2005-11-05 Andy Wingo <wingo@pobox.com>
14341 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14344 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14346 * docs/gst/gstreamer-sections.txt:
14349 * gst/gstminiobject.h:
14354 2005-11-04 Wim Taymans <wim@fluendo.com>
14356 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14357 Small update to stop at the configured segment_end
14360 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14362 * gst/gstregistry.c:
14363 * gst/gstregistry.h:
14366 2005-11-04 Edward Hervey <edward@fluendo.com>
14368 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14369 Check if we are doing a segment seek and have arrived at the
14370 end of that segment.
14372 2005-11-04 Wim Taymans <wim@fluendo.com>
14374 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14375 Don't leak a mutex unlock in case of an error.
14380 2005-11-04 Wim Taymans <wim@fluendo.com>
14382 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14384 Get the context to wake up only once.
14386 2005-11-03 Wim Taymans <wim@fluendo.com>
14388 * check/states/sinks.c: (GST_START_TEST):
14389 Uncomment fixed check.
14391 * docs/design/part-TODO.txt:
14394 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14395 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14396 (gst_base_sink_get_position):
14397 If we are going to PLAYING, post the right pending state
14398 when we post the intermediate paused message.
14400 * gst/gstelement.c: (gst_element_continue_state),
14401 (gst_element_set_state_func), (gst_element_change_state):
14402 Don't post state changes that were between the same state
14403 and were not ASYNC.
14405 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14407 * docs/gst/gstreamer-sections.txt:
14410 * gst/gstminiobject.h:
14413 more docs and doc style fixes
14415 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14417 * docs/gst/gstreamer-sections.txt:
14418 * gst/gstelement.c:
14419 * gst/gstminiobject.c:
14422 2005-11-03 Andy Wingo <wingo@pobox.com>
14424 * check/states/sinks.c (test_livesrc_sink): Add checks that the
14425 state-changed messages actually have the right order and the right
14428 2005-11-03 Wim Taymans <wim@fluendo.com>
14430 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14431 Added some more checks. Specifically the case where NO_PREROLL
14432 elements are in the pipeline.
14434 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14435 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14436 (gst_base_sink_get_position):
14437 Post READY->PAUSED state change messages too.
14438 Fix bug where VOID was posted as pending state...
14440 * gst/gstbin.c: (gst_bin_recalc_state):
14441 use _element_continue_state() to continue the state change.
14443 * gst/gstelement.c: (gst_element_continue_state),
14444 (gst_element_commit_state), (gst_element_set_state_func),
14445 (gst_element_change_state), (gst_element_change_state_func):
14446 Lots of state change cleanups, assign the STATE_RETURN in
14447 a new continue_state() function that also propagates the
14448 last return value from a state change to the app.
14449 Update some debug statements with proper category.
14451 2005-11-03 Wim Taymans <wim@fluendo.com>
14453 * docs/design/part-events.txt:
14454 * docs/design/part-gstpipeline.txt:
14455 * docs/design/part-messages.txt:
14456 * docs/design/part-overview.txt:
14457 * docs/design/part-seeking.txt:
14458 * docs/design/part-states.txt:
14459 * docs/design/part-trickmodes.txt:
14460 * docs/manual/advanced-position.xml:
14461 Small docs updates.
14464 People think !! is ugly, this looks better.
14466 * gst/gstpad.c: (gst_pad_set_blocked_async):
14467 Remove !! since it's fixed elsewhere now.
14469 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14471 * gst/gstminiobject.h:
14473 Add !! to _FLAG_IS_SET macros to make the result boolean.
14475 2005-11-03 Edward Hervey <edward@fluendo.com>
14477 * gst/gstpad.c: (gst_pad_set_blocked_async):
14478 comparing a flag and a gboolean rarely returns coherent results...
14479 Added two characters (!!) to make that work correctly.
14481 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14483 * gst/gstbus.c: (gst_bus_class_init):
14486 * gst/gstqueue.c: (gst_queue_loop):
14487 Don't assume a miniobject that isn't a buffer is an
14488 event (it could be that there is a refcounting
14489 problem somewhere and the pointer is stale and
14490 refers to an already destroyed miniobject).
14492 2005-11-03 Julien MOUTTE <julien@moutte.net>
14494 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14496 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14498 * docs/manual/advanced-position.xml:
14499 Update seek example and explanations to current 0.9 API.
14501 * gst/elements/gsttypefindelement.c:
14502 (gst_type_find_element_activate):
14503 Remove FIXME comment now that the found caps
14506 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14508 * gst/gstregistryxml.c: (load_feature):
14509 Add another GST_STR_NULL instance
14511 2005-11-02 Edward Hervey <edward@fluendo.com>
14513 * gst/gstpad.c: (handle_pad_block):
14514 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14516 2005-11-02 Wim Taymans <wim@fluendo.com>
14521 * gst/gstelement.c: (gst_element_commit_state):
14522 Remove unused value.
14524 * gst/gstiterator.c:
14525 Mention that the returned element is reffed in the docs.
14527 2005-11-02 Wim Taymans <wim@fluendo.com>
14529 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14530 (gst_pad_push), (gst_pad_push_event):
14531 Unlock blocked pads when they are flushed.
14533 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14536 * docs/gst/gstreamer-sections.txt:
14539 * gst/gstregistry.c: (gst_registry_scan_path_level):
14540 fix for a nasty little missed situation where an installed plug-in
14541 which was in the cache did not get overridden by an uninstalled one
14542 which was earlier in the plugin path because the newly created plugin
14543 for the uninstalled one (not in the registry) didn't get its
14544 ->registered set to TRUE
14546 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14548 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14549 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14550 (gst_collectpads_is_active), (gst_collectpads_collect),
14551 (gst_collectpads_collect_range), (gst_collectpads_start),
14552 (gst_collectpads_stop), (gst_collectpads_peek),
14553 (gst_collectpads_pop), (gst_collectpads_available),
14554 (gst_collectpads_read), (gst_collectpads_flush):
14555 Guard public API with assertions.
14558 Fix docs for gst_pad_set_link_function().
14560 2005-11-02 Johan Dahlin <johan@gnome.org>
14562 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14563 Unref found_caps after we used it.
14565 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14567 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14568 Don't try to ref NULL.
14570 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14572 * win32/common/config.h.in:
14573 provide a GST_FUNCTION that just gives a string for now
14575 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14577 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14578 (gst_object_flags_get_type), (register_gst_bin_flags),
14579 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14580 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14581 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14582 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14583 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14584 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14585 (gst_clock_flags_get_type), (register_gst_state),
14586 (gst_state_get_type), (register_gst_state_change_return),
14587 (gst_state_change_return_get_type), (register_gst_state_change),
14588 (gst_state_change_get_type), (register_gst_element_flags),
14589 (gst_element_flags_get_type), (register_gst_core_error),
14590 (gst_core_error_get_type), (register_gst_library_error),
14591 (gst_library_error_get_type), (register_gst_resource_error),
14592 (gst_resource_error_get_type), (register_gst_stream_error),
14593 (gst_stream_error_get_type), (register_gst_event_type),
14594 (gst_event_type_get_type), (register_gst_seek_type),
14595 (gst_seek_type_get_type), (register_gst_seek_flags),
14596 (gst_seek_flags_get_type), (register_gst_format),
14597 (gst_format_get_type), (register_gst_index_certainty),
14598 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14599 (gst_index_entry_type_get_type),
14600 (register_gst_index_lookup_method),
14601 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14602 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14603 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14604 (gst_index_flags_get_type), (register_gst_debug_level),
14605 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14606 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14607 (gst_iterator_result_get_type), (register_gst_iterator_item),
14608 (gst_iterator_item_get_type), (register_gst_message_type),
14609 (gst_message_type_get_type), (register_gst_mini_object_flags),
14610 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14611 (gst_pad_link_return_get_type), (register_gst_flow_return),
14612 (gst_flow_return_get_type), (register_gst_activate_mode),
14613 (gst_activate_mode_get_type), (register_gst_pad_direction),
14614 (gst_pad_direction_get_type), (register_gst_pad_flags),
14615 (gst_pad_flags_get_type), (register_gst_pad_presence),
14616 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14617 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14618 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14619 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14620 (gst_plugin_flags_get_type), (register_gst_rank),
14621 (gst_rank_get_type), (register_gst_query_type),
14622 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14623 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14624 (gst_tag_flag_get_type), (register_gst_task_state),
14625 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14626 (gst_alloc_trace_flags_get_type),
14627 (register_gst_type_find_probability),
14628 (gst_type_find_probability_get_type), (register_gst_uri_type),
14629 (gst_uri_type_get_type), (register_gst_parse_error),
14630 (gst_parse_error_get_type):
14631 * win32/common/gstversion.h:
14632 update win32 copies
14634 2005-11-01 Luca Ognibene <luogni@tin.it>
14637 fix docs. popt is dead, long live GOption.
14639 2005-10-31 Wim Taymans <wim@fluendo.com>
14644 2005-10-31 Andy Wingo <wingo@pobox.com>
14648 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14650 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14651 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14652 the possibility of deadlocks here if code calling notify() or
14653 set() has a lock that can be taken in another notify handler (ABBA
14654 with class lock and e.g. python GIL state lock).
14656 2005-10-28 Julien MOUTTE <julien@moutte.net>
14658 * gst/gstbus.c: Doc updates.
14660 2005-10-28 Wim Taymans <wim@fluendo.com>
14662 * docs/design/part-TODO.txt:
14663 * gst/gstiterator.c:
14664 * gst/gstsystemclock.c:
14665 * gst/gstsystemclock.h:
14668 2005-10-28 Edward Hervey <edward@fluendo.com>
14670 * docs/gst/gstreamer-docs.sgml:
14671 * docs/gst/gstreamer-sections.txt:
14672 the GstURIType documentation page is private, it only defines GstURIType
14673 which should be defined in the GstURIHandler page
14675 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14677 * gst/gstbin.c: (gst_bin_class_init):
14680 Documentation updates.
14682 2005-10-28 Wim Taymans <wim@fluendo.com>
14684 * docs/gst/gstreamer-sections.txt:
14687 Documented the clocks.
14689 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14691 * docs/gst/gstreamer-sections.txt:
14692 move some macros to private sections
14693 * gst/gstminiobject.c:
14694 * gst/gstminiobject.h:
14695 add descriptions provided by ds and some more
14697 mark macro as to be removed
14699 2005-10-28 Wim Taymans <wim@fluendo.com>
14701 * docs/design/part-TODO.txt:
14702 Add an item to TODO.
14704 * gst/gstiterator.c: (gst_iterator_fold),
14705 (gst_iterator_find_custom):
14706 * gst/gstiterator.h:
14709 2005-10-28 Wim Taymans <wim@fluendo.com>
14711 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14712 (gst_base_transform_init):
14715 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14716 An EOS event marks the queue as completely filled.
14718 2005-10-27 Wim Taymans <wim@fluendo.com>
14720 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14721 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14722 Some more debugging.
14724 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14725 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14726 (gst_base_transform_event), (gst_base_transform_getrange),
14727 (gst_base_transform_chain):
14728 * gst/base/gstbasetransform.h:
14730 Protect transform and concurrent buffer alloc with a new lock.
14731 Try not to break ABI/API.
14733 2005-10-27 Wim Taymans <wim@fluendo.com>
14735 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14736 (gst_base_src_init), (gst_base_src_query),
14737 (gst_base_src_default_newsegment),
14738 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14739 (gst_base_src_send_event), (gst_base_src_event_handler),
14740 (gst_base_src_pad_get_range), (gst_base_src_loop),
14741 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14742 (gst_base_src_start), (gst_base_src_deactivate),
14743 (gst_base_src_activate_push), (gst_base_src_change_state):
14744 Move some stuff around and cleanup things.
14746 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14748 * gst/base/gstbasesrc.c: (gst_base_src_query):
14749 Add missing break statements.
14751 2005-10-27 Wim Taymans <wim@fluendo.com>
14753 * check/gst/gstbin.c: (GST_START_TEST):
14754 An extra refcount is taken in basesrc.
14756 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14757 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14758 (gst_base_src_loop):
14759 Small cleanups, check for flushing after being unlocked from the
14760 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14761 Don't send out EOS when going to READY.
14763 2005-10-27 Wim Taymans <wim@fluendo.com>
14765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14766 (gst_base_sink_get_position):
14769 * gst/gstbin.c: (message_check), (bin_replace_message),
14770 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14771 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14772 (bin_query_duration_init), (bin_query_duration_fold),
14773 (bin_query_duration_done), (bin_query_generic_fold),
14775 * tools/gst-launch.c: (main):
14778 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14780 * examples/controller/audio-example.c: (main):
14781 * examples/queue/queue.c: (event_loop):
14782 * gst/base/gstbasetransform.h:
14783 * gst/gstelement.c: (gst_element_send_event):
14785 * gst/gstpad.c: (gst_pad_send_event):
14788 changing log priority in error situations
14790 2005-10-25 Wim Taymans <wim@fluendo.com>
14792 * gst/gstbin.c: (message_check), (bin_replace_message),
14793 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14794 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14795 (bin_query_duration_init), (bin_query_duration_fold),
14796 (bin_query_duration_done), (bin_query_generic_fold),
14798 Some doc and debug updates.
14799 Cache previously requested query DURATION for speed. invalidate
14800 cached duration if element posts a DURATION message.
14802 2005-10-25 Wim Taymans <wim@fluendo.com>
14804 * docs/design/part-TODO.txt:
14807 * gst/gstbin.c: (message_check), (bin_replace_message),
14808 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14809 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14810 (bin_query_duration_init), (bin_query_duration_fold),
14811 (bin_query_duration_done), (bin_query_generic_fold),
14813 Handle SEGMENT_START/DONE messages correctly.
14814 More evolved query algorithm that handles duration queries
14817 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14818 (gst_element_get_state_func), (gst_element_abort_state),
14819 (gst_element_commit_state), (gst_element_lost_state):
14820 Some more debugging.
14822 * gst/gstmessage.h:
14825 2005-10-25 Wim Taymans <wim@fluendo.com>
14827 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14828 Don't use invalid stream_time.
14830 * gst/gstevent.c: (gst_event_new_newsegment):
14831 stream_time in newsegment cannot be undefined.
14833 2005-10-24 Wim Taymans <wim@fluendo.com>
14838 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14840 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14842 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14844 * docs/libs/tmpl/gstdparam.sgml:
14845 * docs/libs/tmpl/gstdplinint.sgml:
14846 * docs/libs/tmpl/gstdpman.sgml:
14847 * docs/libs/tmpl/gstdpsmooth.sgml:
14848 * docs/libs/tmpl/gstunitconvert.sgml:
14851 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14856 === release 0.9.4 ===
14858 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14861 releasing 0.9.4, "Tyrannosaurus Rex"
14863 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14865 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14866 (gst_file_sink_get_current_offset):
14867 Use fseeko() and ftello() if available. When falling back on
14868 lseek() to get the current offset, fflush() first to make sure
14869 everything is up-to-date and we get the right offset.
14871 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14873 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14874 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14875 * gst/gsterror.c: (_gst_stream_errors_init):
14877 * gst/gstqueue.c: (gst_queue_loop):
14879 remove prematurely added error category and clean up the instances
14881 2005-10-21 Wim Taymans <wim@fluendo.com>
14883 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14884 (gst_base_sink_get_position), (gst_base_sink_query),
14885 (gst_base_sink_change_state):
14886 Simply set the right flag when going to playing, that's all
14887 we need to do instead of calling a function inside the object
14888 lock (that could take the lock as well and deadlock)
14890 2005-10-21 Wim Taymans <wim@fluendo.com>
14892 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14893 (gst_base_src_loop):
14894 Don't warn, the peer element knows what to do best when
14895 the seek failed, it might try something else.
14897 2005-10-21 Wim Taymans <wim@fluendo.com>
14899 * gst/base/gstbasesrc.c: (gst_base_src_init),
14900 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14903 2005-10-21 Wim Taymans <wim@fluendo.com>
14905 * docs/design/part-segments.txt:
14908 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14909 Correctly set caps, even on the subbufer.
14911 2005-10-21 Wim Taymans <wim@fluendo.com>
14913 * docs/gst/gstreamer-docs.sgml:
14914 * docs/gst/gstreamer-sections.txt:
14915 * gst/gstelement.h:
14918 * gst/gstmessage.h:
14921 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14925 And 2% more doc coverage.
14927 2005-10-21 Andy Wingo <wingo@pobox.com>
14929 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14930 position reporting.
14932 2005-10-20 Wim Taymans <wim@fluendo.com>
14934 * gst/gsterror.c: (gst_error_get_message):
14937 * gst/gststructure.c:
14942 2005-10-20 Wim Taymans <wim@fluendo.com>
14947 Another 1% more coverage.
14949 2005-10-20 Wim Taymans <wim@fluendo.com>
14951 * docs/gst/gstreamer-sections.txt:
14952 * gst/gstelement.c: (gst_element_get_state_func),
14953 (gst_element_abort_state), (gst_element_commit_state),
14954 (gst_element_lost_state):
14956 * gst/gstquery.c: (gst_query_set_position),
14957 (gst_query_parse_position), (gst_query_set_duration),
14958 (gst_query_parse_duration), (gst_query_new_convert):
14960 Yay! 1% more docs coverage.
14962 2005-10-20 Wim Taymans <wim@fluendo.com>
14965 * gst/gstquery.c: (gst_query_set_position),
14966 (gst_query_parse_position), (gst_query_set_duration),
14967 (gst_query_parse_duration), (gst_query_new_convert):
14969 * gst/gstutils.c: (gst_element_query_convert):
14971 Docs and consistency fixes.
14973 2005-10-20 Wim Taymans <wim@fluendo.com>
14979 2005-10-20 Wim Taymans <wim@fluendo.com>
14981 * gst/gstbin.c: (message_check), (bin_replace_message),
14982 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14983 (update_degree), (gst_bin_sort_iterator_next),
14984 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
14985 Reworked the message handling a bit, cache the messages instead of
14986 only the senders. alows us to do more in the future.
14988 2005-10-20 Wim Taymans <wim@fluendo.com>
14990 * docs/design/part-TODO.txt:
14993 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14994 (gst_base_sink_query):
14995 Don't use clock time to report position when in EOS.
14997 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
14999 * tools/gst-inspect.c: (print_interfaces),
15000 (print_element_properties_info), (print_element_info):
15001 Fix interface output with gst-inspect -a; don't print
15002 newlines after double/float properties.
15004 2005-10-20 Wim Taymans <wim@fluendo.com>
15006 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15007 (gst_base_sink_query):
15008 Speed up current position calculation.
15010 * gst/base/gstbasesrc.c: (gst_base_src_query),
15011 (gst_base_src_default_newsegment):
15012 Correctly set stream position in newsegment.
15014 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15015 (update_degree), (gst_bin_sort_iterator_next),
15016 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15017 * gst/gstmessage.c: (gst_message_new_custom):
15018 Clean up debugging info
15020 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15021 (gst_queue_loop), (gst_queue_handle_src_query):
15024 2005-10-19 Wim Taymans <wim@fluendo.com>
15026 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15027 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15028 Fix query handling again.
15030 2005-10-19 Wim Taymans <wim@fluendo.com>
15032 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15033 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15034 * gst/base/gstbasesrc.c: (gst_base_src_query):
15035 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15036 * gst/elements/gsttypefindelement.c:
15037 (gst_type_find_handle_src_query), (find_element_get_length),
15038 (gst_type_find_element_activate):
15041 * gst/gstquery.c: (gst_query_new_position),
15042 (gst_query_set_position), (gst_query_parse_position),
15043 (gst_query_new_duration), (gst_query_set_duration),
15044 (gst_query_parse_duration), (gst_query_set_segment),
15045 (gst_query_parse_segment):
15047 Bundling query position/duration is not a good idea since duration
15048 does not change much and we don't want to recalculate it for every
15049 position query, so they are separated again..
15050 Base value in segment query is not needed.
15052 * gst/gstqueue.c: (gst_queue_handle_src_query):
15053 * gst/gstutils.c: (gst_element_query_position),
15054 (gst_element_query_duration), (gst_pad_query_position),
15055 (gst_pad_query_duration):
15057 Updates for query API change.
15058 Added some docs here and there.
15060 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15062 * check/gst/gstbin.c: (GST_START_TEST):
15063 * check/gst/gstghostpad.c: (GST_START_TEST):
15064 * check/pipelines/cleanup.c: (GST_START_TEST):
15065 wait on thread to die so we can check refcount correctly
15067 2005-10-18 Wim Taymans <wim@fluendo.com>
15069 * check/pipelines/stress.c: (GST_START_TEST):
15070 Make check a little more time consuming.
15072 2005-10-18 Wim Taymans <wim@fluendo.com>
15074 * check/Makefile.am:
15075 * check/pipelines/stress.c: (GST_START_TEST),
15076 (simple_launch_lines_suite), (main):
15077 Small state change torture test.
15079 * docs/design/part-states.txt:
15080 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15081 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15082 (gst_base_sink_change_state):
15083 Never take state lock from streaming thread, clean up ugly
15084 hacks. Unfortunatly core does not yet support nice ways to
15085 async commit state.
15087 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15089 Start state recalc if a STATE_DIRTY message is posted, but only
15090 on the toplevel bin.
15092 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15093 (gst_element_get_state_func), (gst_element_abort_state),
15094 (gst_element_commit_state), (gst_element_lost_state),
15095 (gst_element_set_state_func), (gst_element_change_state):
15096 * gst/gstelement.h:
15097 State variables are now protected with the LOCK, the state
15098 lock is only used to serialize _set_state().
15100 2005-10-18 Wim Taymans <wim@fluendo.com>
15102 * check/gst/gstbin.c: (GST_START_TEST):
15103 * check/gst/gstmessage.c: (GST_START_TEST):
15104 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15105 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15107 * gst/gstelement.c: (gst_element_abort_state),
15108 (gst_element_commit_state), (gst_element_lost_state):
15109 * gst/gstmessage.c: (gst_message_new_state_changed),
15110 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15111 (gst_message_new_segment_done), (gst_message_new_duration),
15112 (gst_message_parse_state_changed),
15113 (gst_message_parse_segment_start),
15114 (gst_message_parse_segment_done), (gst_message_parse_duration):
15115 * gst/gstmessage.h:
15116 * tools/gst-launch.c: (event_loop):
15117 Seriously, this is better than a previous commit as we only need
15118 to notify the fact that an element changed state in a streaming
15119 thread, marking the state of the parents dirty, hence the
15120 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15123 2005-10-18 Wim Taymans <wim@fluendo.com>
15125 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15126 (gst_bin_recalc_func):
15127 * gst/gstelement.c: (gst_element_set_clock),
15128 (gst_element_abort_state), (gst_element_lost_state):
15129 Cleanups, prepare for state change fixes.
15131 2005-10-18 Wim Taymans <wim@fluendo.com>
15134 * gst/gstelement.c: (gst_element_class_init),
15135 (gst_element_set_state), (gst_element_set_state_func):
15136 * gst/gstelement.h:
15137 Pending ABI changes.
15138 GThreadPool in GstBinClass to monitor async state changes.
15139 state_cookie in GstElement to detect concurrent gst/set state.
15140 set_state is now virtual too in case a very complicated element
15141 has to be constructed.
15143 2005-10-18 Wim Taymans <wim@fluendo.com>
15145 * check/gst/gstbin.c: (GST_START_TEST):
15146 * check/gst/gstmessage.c: (GST_START_TEST):
15147 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15148 * gst/gstbin.c: (bin_bus_handler):
15149 * gst/gstelement.c: (gst_element_commit_state),
15150 (gst_element_lost_state):
15151 * gst/gstmessage.c: (gst_message_new_state_changed),
15152 (gst_message_new_segment_start), (gst_message_new_segment_done),
15153 (gst_message_new_duration), (gst_message_parse_state_changed),
15154 (gst_message_parse_segment_start),
15155 (gst_message_parse_segment_done), (gst_message_parse_duration):
15156 * gst/gstmessage.h:
15157 * tools/gst-launch.c: (event_loop):
15158 Make messages future proof.
15159 state-change gets a flag if it was a message comming from the
15161 segment-start/stop can also be specified in other formats.
15162 A message to notify an app that a pipeline changed playback
15164 Also fix a GstMessage leak in -launch
15166 2005-10-18 Andy Wingo <wingo@pobox.com>
15168 * gst/gstelement.c (gst_element_dispose): More helpful message.
15170 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15172 reviewed by: <delete if not using a buddy>
15174 * common/gtk-doc.mak:
15176 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15178 * gst/gstregistry.c: (gst_registry_scan_path_level):
15179 unref a plug-in we get that was already initialized
15181 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15183 * docs/gst/gstreamer-sections.txt:
15184 * docs/libs/gstreamer-libs-sections.txt:
15185 * gst/gstelement.h:
15186 add new api entries
15187 hide internal macro
15189 2005-10-17 Andy Wingo <wingo@pobox.com>
15191 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15194 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15196 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15198 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15199 (gst_element_get_state_func): Better debug message.
15200 (gst_element_commit_state): s/INFO/DEBUG/.
15201 (gst_element_lost_state, gst_element_change_state):
15203 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15204 (gst_message_new_custom): s/INFO/LOG/.
15206 2005-10-17 Michael Smith <msmith@fluendo.com>
15208 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15209 Check if end time is valid using end time, not start time.
15211 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15213 * check/gst-libs/controller.c: (GST_START_TEST),
15214 (gst_controller_suite):
15215 * libs/gst/controller/gstcontroller.c:
15216 (gst_controlled_property_set_interpolation_mode):
15217 * libs/gst/controller/gstcontroller.h:
15218 * libs/gst/controller/gstinterpolation.c:
15219 * testsuite/controller/.cvsignore:
15220 * testsuite/controller/Makefile.am:
15221 * testsuite/controller/interpolator.c:
15222 merge controller testsuites
15224 remove mem-chunk from docs
15226 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15228 * gst/gstmemchunk.c:
15229 * gst/gstmemchunk.h:
15230 * gst/gsttrashstack.c:
15231 * gst/gsttrashstack.h:
15232 out. get out. you're fired. to the Attic !
15234 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15236 * gst/gstcaps.c: (gst_caps_intersect):
15237 fix signedness issues in a (hopefully) correct way
15238 * gst/gstelement.c: (gst_element_pads_activate):
15240 * gst/gstobject.c: (gst_object_set_parent):
15243 2005-10-17 Julien MOUTTE <julien@moutte.net>
15245 * gst/gstvalue.h: Fix prototypes.
15247 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15249 * docs/gst/gstreamer-sections.txt:
15250 * gst/gst.c: (gst_version_string):
15252 * gst/gstversion.h.in:
15253 * win32/common/libgstreamer.def:
15254 add gst_version_string ()
15256 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15260 * gst/gst.c: (init_post):
15261 * win32/common/config.h.in:
15263 * gst/gstcaps.c: (gst_caps_intersect):
15264 use gint64, the range could be bigger than a guint
15266 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15269 document potential problem in 2038
15271 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15273 * gst/gstcaps.c: (gst_caps_intersect):
15274 Fix guint j diving under 0
15276 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15279 * win32/common/config.h:
15280 * win32/common/config.h.in:
15281 check for process.h, declares getpid() on Windows
15283 include process.h if we have it
15284 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15285 * gst/gstmemchunk.h:
15286 fix signedness issues
15287 * win32/common/libgstreamer.def:
15290 2005-10-16 Julien MOUTTE <julien@moutte.net>
15292 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15293 fix. Because of unsigned ints, caps intersection was going nuts and
15294 trying to access structures with G_MAXUINT index. That fixes
15295 videotestsrc ! ffmpegcolorspace ! fakesink
15296 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15299 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15302 use the gettext macro
15303 * gst/elements/gstelements.c:
15305 * gst/indexers/gstindexers.c:
15306 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15307 * win32/common/config.h:
15309 * win32/common/config.h.in:
15310 add the template to generate config.h
15311 * win32/common/gstenumtypes.c:
15312 * win32/common/gstversion.h:
15315 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15317 * gst/gst.c: (gst_version):
15318 * gst/gstversion.h.in:
15321 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15324 Oops, add missing closing bracket.
15326 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15329 use common m4's for argument checking
15331 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15333 * docs/gst/gstreamer-sections.txt:
15335 Add GST_EVENT_TYPE_NAME() macro.
15337 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15340 * gst/gstpluginfeature.c:
15342 privatize more symbols
15344 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15347 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15348 everything that uses GStreamer API should have the includes
15350 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15352 * docs/gst/gstreamer-sections.txt:
15353 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15355 give each value a _get_type, removes the DATA exports
15357 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15361 remove _gst_registry_auto_load, not used anymore
15362 * gst/gstbin.c: (gst_bin_get_type):
15364 * gst/gstelement.c: (gst_element_get_type):
15365 * gst/gstelement.h:
15366 * gst/gstobject.c: (gst_object_get_type):
15368 * gst/gstpad.c: (gst_pad_get_type):
15370 make _get_type functions similar, fixes data export from library
15372 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15375 correctly make conditionals
15376 * gst/elements/Makefile.am:
15377 * gst/elements/gstelements.c:
15378 fix typo causing fdsrc not to build
15380 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15382 * testsuite/Makefile.am:
15383 * testsuite/bytestream/.cvsignore:
15384 * testsuite/bytestream/Makefile.am:
15385 * testsuite/bytestream/filepadsink.c:
15386 * testsuite/bytestream/gstbstest.c:
15387 * testsuite/bytestream/test1.c:
15388 * testsuite/bytestream/testfile1:
15389 * testsuite/caps/normalisation.c:
15390 * testsuite/caps/random.c: (main):
15391 * testsuite/cleanup/.cvsignore:
15392 * testsuite/cleanup/Makefile.am:
15393 * testsuite/cleanup/cleanup1.c:
15394 * testsuite/cleanup/cleanup2.c:
15395 * testsuite/cleanup/cleanup3.c:
15396 * testsuite/cleanup/cleanup4.c:
15397 * testsuite/cleanup/cleanup5.c:
15398 * testsuite/controller/interpolator.c:
15399 * testsuite/debug/printf_extension.c: (main):
15400 * testsuite/elements/tee.c:
15401 * testsuite/negotiation/.cvsignore:
15402 * testsuite/negotiation/Makefile.am:
15403 * testsuite/negotiation/pad_link.c:
15404 * testsuite/pad/Makefile.am:
15405 * testsuite/pad/chainnopull.c:
15406 * testsuite/pad/getnopush.c:
15407 * testsuite/pad/link.c:
15408 * testsuite/refcounting/sched.c: (create_pipeline):
15409 * testsuite/registry/Makefile.am:
15410 * testsuite/registry/gst-print-formats.c:
15411 * testsuite/schedulers/.cvsignore:
15412 * testsuite/schedulers/142183-2.c:
15413 * testsuite/schedulers/142183.c:
15414 * testsuite/schedulers/143777-2.c:
15415 * testsuite/schedulers/143777.c:
15416 * testsuite/schedulers/147713.c:
15417 * testsuite/schedulers/147819.c:
15418 * testsuite/schedulers/147894-2.c:
15419 * testsuite/schedulers/147894.c:
15420 * testsuite/schedulers/Makefile.am:
15421 * testsuite/schedulers/group_link.c:
15422 * testsuite/schedulers/queue_link.c:
15423 * testsuite/schedulers/relink.c:
15424 * testsuite/schedulers/unlink.c:
15425 * testsuite/schedulers/unref.c:
15426 * testsuite/schedulers/useless_iteration.c:
15427 * testsuite/states/bin.c:
15428 clean out/remove some stuff from the testsuite directories
15430 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15433 check for some headers
15434 * gst/elements/Makefile.am:
15435 * gst/elements/gstelements.c:
15436 don't compile fdsrc without sys/socket.h
15437 * gst/indexers/Makefile.am:
15438 * gst/indexers/gstindexers.c: (plugin_init):
15439 don't compile fileindex without mmap
15441 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15448 * check/Makefile.am:
15449 * docs/gst/Makefile.am:
15450 * examples/helloworld/Makefile.am:
15452 * gst/base/Makefile.am:
15453 * gst/check/Makefile.am:
15454 * gst/elements/Makefile.am:
15455 * gst/indexers/Makefile.am:
15456 * gst/parse/Makefile.am:
15457 * libs/gst/controller/Makefile.am:
15458 * libs/gst/dataprotocol/Makefile.am:
15459 * examples/helloworld/helloworld.c: (event_loop):
15460 compile fixes, though it's not being compiled currently
15462 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15464 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15465 Add some simple tests for the new taglist date API.
15467 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15469 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15470 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15471 Beautify 'last-message' output: print 'none' for buffer timestamps
15472 and durations if none is set; improve alignment with next messages.
15474 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15476 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15477 * gst/gstpluginfeature.h:
15478 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15479 * gst/gstregistry.h:
15480 * docs/gst/gstreamer-sections.txt:
15481 Add new API to check plugin feature version requirements.
15483 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15484 Some basic tests for the above.
15486 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15488 * gst/gststructure.c: (gst_structure_to_string):
15489 guard against NULL printf - happens when for example
15490 a message structure with GstClock gets serialized
15492 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15494 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15495 Fix presumable copy'n'pasto.
15497 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15499 * gst/elements/gstfakesrc.h:
15500 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15501 * gst/elements/gsttypefindelement.c:
15502 fix some signedness
15503 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15504 I wonder if this could actually write +2GB files before
15506 2005-10-13 Andy Wingo <wingo@pobox.com>
15508 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15509 Fix Timmeke Waymans bug.
15510 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15511 string of the proper length to gst_caps_from_string. There's a
15512 potential for, before this fix, that this could cause someone
15513 connecting over the network to cause a segfault if the payload is
15514 not NUL-terminated.
15516 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15518 * docs/design/draft-push-pull.txt:
15519 * docs/design/part-overview.txt:
15520 * docs/random/TODO-pre-0.9:
15521 * docs/random/old/ChangeLog.gstreamer:
15522 * gst/base/gstpushsrc.c:
15526 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15528 * gst/glib-compat.c: (gst_flags_get_first_value):
15529 * gst/glib-compat.h:
15530 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15531 (gst_value_compare_double), (gst_value_serialize_flags):
15532 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15535 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15538 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15540 * tools/gst-launch.c: (event_loop):
15541 print out clock nicely
15543 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15545 * docs/gst/gstreamer-sections.txt:
15546 * gst/gsttaglist.h:
15547 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15548 (gst_tag_list_get_date_index):
15549 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15550 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15552 2005-10-13 Julien MOUTTE <julien@moutte.net>
15554 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15555 (gst_collectpads_chain):
15556 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15559 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15561 * docs/gst/gstreamer-sections.txt:
15564 * tools/gst-inspect.c: (main):
15565 * tools/gst-launch.c: (main):
15566 * tools/gst-run.c: (main):
15567 * tools/gst-xmlinspect.c: (main):
15568 fix GOption context leaks
15571 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15575 * win32/common/config.h:
15577 * win32/vs6/grammar.dsp:
15578 * win32/vs6/libgstelements.dsp:
15579 * win32/vs6/libgstreamer.dsp:
15582 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15584 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15585 * gst/base/gstbasesrc.c: (gst_base_src_query):
15586 fix more guint64<->gdouble conversions
15588 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15591 add win32-update target
15592 * win32/common/gstconfig.h:
15593 * win32/common/gstenumtypes.c:
15594 * win32/common/gstenumtypes.h:
15595 * win32/common/gstversion.h:
15596 add files that visual studio can't generate
15598 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15601 add a win32-update target
15604 2005-10-12 Wim Taymans <wim@fluendo.com>
15606 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15607 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15608 * gst/gstelement.c: (gst_element_commit_state),
15609 (gst_element_set_state):
15610 Protect flags with proper lock.
15611 unref provided cached clock in dispose.
15613 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15616 * gst/gstminiobject.h:
15618 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15619 removed unused flags from miniobject
15622 2005-10-12 Wim Taymans <wim@fluendo.com>
15624 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15625 (gst_file_sink_event), (gst_file_sink_render):
15626 Flush before seeking.
15628 2005-10-12 Andy Wingo <wingo@pobox.com>
15630 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15631 always been the case.
15633 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15635 * check/gst/gstbin.c: (GST_START_TEST):
15636 * docs/gst/gstreamer-sections.txt:
15637 * gst/base/gstbasesink.c: (gst_base_sink_init):
15638 * gst/base/gstbasesrc.c: (gst_base_src_init),
15639 (gst_base_src_get_range), (gst_base_src_check_get_range),
15640 (gst_base_src_start), (gst_base_src_stop):
15641 * gst/base/gstbasesrc.h:
15642 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15643 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15644 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15648 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15650 * gst/gstelement.c: (gst_element_is_locked_state),
15651 (gst_element_set_locked_state), (gst_element_commit_state),
15652 (gst_element_set_state):
15653 * gst/gstelement.h:
15654 * gst/gstindex.c: (gst_index_init):
15656 * gst/gstminiobject.h:
15657 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15658 (gst_object_set_parent):
15660 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15661 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15663 * gst/gstpadtemplate.h:
15664 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15665 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15666 * gst/gstpipeline.h:
15667 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15668 (gst_file_index_commit):
15669 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15670 * testsuite/pad/link.c: (gst_test_src_init),
15671 (gst_test_filter_init), (gst_test_sink_init):
15672 * testsuite/states/locked.c: (main):
15673 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15674 moved bitshift from macro to enum definition
15676 2005-10-12 Wim Taymans <wim@fluendo.com>
15678 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15679 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15680 (gst_file_sink_render):
15681 Some more debugging info.
15683 2005-10-12 Wim Taymans <wim@fluendo.com>
15685 * docs/design/part-states.txt:
15686 * tools/gst-launch.c: (main):
15688 Revert non-intentional change.
15690 2005-10-12 Wim Taymans <wim@fluendo.com>
15692 * check/gst/gstbin.c: (GST_START_TEST):
15693 * check/gst/gstelement.c: (GST_START_TEST):
15694 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15695 * check/gst/gstghostpad.c: (GST_START_TEST):
15696 * check/gst/gstpipeline.c: (GST_START_TEST):
15697 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15698 * check/states/sinks.c: (GST_START_TEST):
15699 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15700 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15701 (gst_bin_remove_func), (gst_bin_get_state_func),
15702 (gst_bin_recalc_state), (gst_bin_change_state_func),
15704 * gst/gstelement.c: (gst_element_get_state_func),
15705 (gst_element_get_state), (gst_element_abort_state),
15706 (gst_element_commit_state), (gst_element_set_state),
15707 (gst_element_change_state), (gst_element_change_state_func):
15708 * gst/gstelement.h:
15709 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15710 (gst_pipeline_provide_clock_func):
15711 * gst/gstutils.c: (gst_element_link_pads_filtered):
15712 * tools/gst-launch.c: (main):
15713 * tools/gst-typefind.c: (main):
15714 Use GstClockTime in _get_state() instead of GTimeVal.
15715 Remove old code in gstutils.c
15717 2005-10-12 Andy Wingo <wingo@pobox.com>
15719 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15722 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15723 there is no task. Shouldn't affect any code, as nothing in our
15724 plugins checks this return value.
15725 (gst_pad_stop_task): Also take the stream lock if the pad has no
15726 task. Docs updated.
15728 2005-10-12 Wim Taymans <wim@fluendo.com>
15730 * gst/gstpad.c: (pre_activate), (post_activate),
15731 (gst_pad_activate_pull), (gst_pad_activate_push):
15732 Cleanup activation code. Reset old state if
15735 2005-10-12 Wim Taymans <wim@fluendo.com>
15737 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15738 (gst_base_sink_change_state):
15739 No need to prerol after receiving EOS.
15741 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15742 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15743 * gst/elements/gstidentity.c: (gst_identity_event):
15744 Print events more verbosely.
15746 2005-10-12 Wim Taymans <wim@fluendo.com>
15748 * check/Makefile.am:
15749 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15750 * check/states/sinks2.c:
15751 Moved sinks2 testcode in sinks check.
15753 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15754 (gst_bin_remove_func), (gst_bin_recalc_state),
15755 (gst_bin_change_state_func), (bin_bus_handler):
15756 Fix potential race condition when _get_state() iterated over an
15757 ASYNC element right before it posted a state completion.
15760 Do proper cast here.
15762 * gst/gstevent.c: (gst_event_new_newsegment),
15763 (gst_event_parse_newsegment):
15764 A playback rate of 0.0 is not allowed.
15766 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15768 * win32/common/config.h:
15769 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15770 (_trewinddir), (_ttelldir), (_tseekdir):
15771 * win32/common/dirent.h:
15772 * win32/common/gtchar.h:
15773 * win32/common/libgstbase.def:
15774 * win32/common/libgstreamer.def:
15775 * win32/vs6/grammar.dsp:
15776 * win32/vs6/gst_inspect.dsp:
15777 * win32/vs6/gst_launch.dsp:
15778 * win32/vs6/gstreamer.dsw:
15779 * win32/vs6/libgstbase.dsp:
15780 * win32/vs6/libgstelements.dsp:
15781 * win32/vs6/libgstreamer.dsp:
15782 Visual Studio 6 project files, and a new common directory.
15785 2005-10-11 Wim Taymans <wim@fluendo.com>
15787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15788 (gst_base_sink_do_sync), (gst_base_sink_query),
15789 (gst_base_sink_change_state):
15790 * gst/base/gstbasesink.h:
15791 Correctly parse newsegment info.
15793 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15795 * gst/gst.c: (init_post):
15796 split plugin paths correctly
15798 2005-10-11 Wim Taymans <wim@fluendo.com>
15800 * check/gst/gstevent.c: (GST_START_TEST):
15801 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15802 (gst_base_sink_change_state):
15803 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15804 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15805 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15806 * gst/gstevent.c: (gst_event_new_newsegment),
15807 (gst_event_parse_newsegment):
15809 Added extra flag to newsegment for future API freeze.
15810 Updated check and base elements.
15812 2005-10-11 Julien MOUTTE <julien@moutte.net>
15814 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15815 (gst_collectpads_add_pad), (gst_collectpads_pop),
15816 (gst_collectpads_event), (gst_collectpads_chain):
15817 * gst/base/gstcollectpads.h: Handle EOS correctly.
15819 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15821 * tools/gst-launch.c: (main):
15822 more null protecting
15824 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15826 * gst/gst-i18n-lib.h:
15827 check for ENABLE_NLS, not GETTEXT_PACKAGE
15828 * gst/gstregistry.c: (gst_registry_add_plugin),
15829 (gst_registry_scan_path_level),
15830 (_gst_registry_remove_cache_plugins):
15831 protect possibly NULL strings
15832 * gst/parse/types.h:
15833 config.h already included before
15834 * tools/gst-inspect.c: (main):
15835 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15836 check for ENABLE_NLS, not GETTEXT_PACKAGE
15837 * tools/gst-launch.c: (main):
15838 check for ENABLE_NLS, not GETTEXT_PACKAGE
15840 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15843 if we don't have glib, fail before testing 2.8
15844 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15845 fix a leak, should fix plugins-base testsuite
15847 2005-10-11 Andy Wingo <wingo@pobox.com>
15849 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15850 take the mode we're going to as an arg. Go head and set the mode
15851 and flushing flags now, so that if the activate function starts a
15852 thread all the flags will be in the right state.
15853 (post_activate): Renamed also. Just handle making sure streaming
15854 finishes for the deactivation case, and setting the deactivated
15856 (gst_pad_set_active): Complain loudly if deactivation fails.
15857 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15858 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15859 remove the terrible hack.
15861 2005-10-11 Wim Taymans <wim@fluendo.com>
15863 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15864 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15865 (gst_bin_recalc_state), (gst_bin_change_state_func),
15866 (gst_bin_dispose), (bin_bus_handler):
15868 Prepare to make current EOS message queue more generic.
15871 * gst/gstevent.c: (gst_event_new_newsegment),
15872 (gst_event_parse_newsegment):
15874 Rename base to stream_time.
15876 * gst/gstmessage.h:
15879 2005-10-11 Wim Taymans <wim@fluendo.com>
15881 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15882 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15883 (gst_bin_change_state_func), (bin_bus_handler):
15885 Work on proper clock selection.
15887 2005-10-11 Edward Hervey <edward@fluendo.com>
15889 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15890 * libs/gst/controller/gstcontroller.h:
15891 Added GList* version of _remove_properties() in order to be able to wrap
15894 2005-10-11 Wim Taymans <wim@fluendo.com>
15896 * docs/design/part-states.txt:
15899 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15900 (gst_bin_change_state_func), (bin_bus_handler):
15901 Doc updates. Don't distribute the same clock over and over again.
15907 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15908 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15909 (gst_pad_send_event):
15911 Make probe emission threadsafe again.
15912 Register quarks and move _get_name() from utils.
15915 * gst/gstpipeline.c: (gst_pipeline_class_init),
15916 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15917 Only redistribute the clock of it changed.
15919 * gst/gstsystemclock.h:
15924 Moved the _flow_get_name() to GstPad.
15926 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15928 * check/gst-libs/gdp.c: (GST_START_TEST):
15929 * check/gst/gstcaps.c: (GST_START_TEST):
15930 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15931 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15932 (gst_dp_packet_from_caps):
15933 fix more valgrind warnings before turning up the heat
15935 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15937 * gst/parse/grammar.y:
15938 some cleanup before the hacking
15940 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15942 * gst/base/gstbasesrc.c: (gst_base_src_query):
15944 * gst/gstutils.c: (gst_guint64_to_gdouble),
15945 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15947 externalize, basesrc uses it
15948 obviously the implementation needs testing
15950 2005-10-10 Wim Taymans <wim@fluendo.com>
15952 * tests/sched/Makefile.am:
15953 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15954 (make_pipeline3), (make_pipeline4), (print_elem), (main):
15956 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15958 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15959 apparently converting from guint64 to double is not implemented
15962 2005-10-10 Wim Taymans <wim@fluendo.com>
15964 * check/Makefile.am:
15965 * check/generic/states.c: (GST_START_TEST):
15966 * check/gst/gstbin.c: (GST_START_TEST):
15967 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15968 * check/states/sinks.c: (GST_START_TEST):
15969 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15971 Check fixes, use API as stated in design docs, remove hacks.
15973 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15974 (gst_base_sink_change_state):
15975 Catch stopping our task while we're shutting down.
15977 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15978 (gst_bin_remove_func), (gst_bin_get_state_func),
15979 (gst_bin_recalc_state), (gst_bin_change_state_func),
15982 * gst/gstelement.c: (gst_element_init),
15983 (gst_element_get_state_func), (gst_element_abort_state),
15984 (gst_element_commit_state), (gst_element_lost_state),
15985 (gst_element_set_state), (gst_element_change_state),
15986 (gst_element_change_state_func):
15987 * gst/gstelement.h:
15988 New state change algorithm (see #318116)
15990 * gst/gstpipeline.c: (gst_pipeline_class_init),
15991 (gst_pipeline_init), (gst_pipeline_set_property),
15992 (gst_pipeline_get_property), (do_pipeline_seek),
15993 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15994 * gst/gstpipeline.h:
15995 Remove crude state change hacks.
15998 Remove crude hacks.
16000 * tools/gst-launch.c: (main):
16001 Fixes for state change. Needs some more work to fully use the
16004 2005-10-10 Andy Wingo <wingo@pobox.com>
16006 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16008 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16009 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16012 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16014 * gst/gstiterator.c: (gst_iterator_new):
16015 Fix my previous commit: GTypes passed to gst_iterator_new()
16016 can be fundamental types.
16018 2005-10-10 Wim Taymans <wim@fluendo.com>
16020 * gst/gstelement.c: (gst_element_iterate_pad_list),
16021 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16022 (gst_element_iterate_sink_pads):
16023 Use src/sink pads lists for the respective iterators instead
16026 2005-10-10 Andy Wingo <wingo@pobox.com>
16028 Merged in popt removal + GOption addition patch from Ronald, bug
16031 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16032 GstElement macros around, remove popt-related symbols, add goption
16035 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16037 * docs/gst/Makefile.am:
16038 * docs/libs/Makefile.am: No POPT_CFLAGS.
16040 * examples/manual/Makefile.am:
16041 * docs/manual/basics-init.xml: Doc updates with an example.
16043 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16044 (gst_init), (parse_one_option), (parse_goption_arg):
16045 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16046 bit of hand merging and debugging to get the GOption stuff working
16049 * tests/Makefile.am:
16050 * tools/Makefile.am:
16051 * tools/gst-inspect.c: (main):
16052 * tools/gst-launch.c: (main):
16053 * tools/gst-run.c: (main):
16054 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16056 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16058 * gst/gstiterator.c: (gst_iterator_new):
16059 Add assertions to make sure passed GType is likely to really
16060 be a GType (as the compiler won't catch it if the size and
16061 GType arguments get mixed up, see #318447).
16063 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16065 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16067 * gst/gstbin.c: (gst_bin_iterate_sorted):
16068 Pass GType and size arguments to gst_iterator_new() in the right
16069 order (maybe we should make _new() take the GType as first argument
16070 just like _new_list()?) (#318447).
16073 2005-10-10 Wim Taymans <wim@fluendo.com>
16075 * gst/gstelement.c: (gst_element_finalize):
16076 And free the GStaticRecMutex too
16078 2005-10-10 Andy Wingo <wingo@pobox.com>
16080 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16081 Allocate and free the mutex properly.
16083 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16085 (GstElement): The state_lock is now recursive. Rebuild your
16086 plugins, suckers. Old macros adapted.
16088 * docs/gst/gstreamer-sections.txt: Doc updates.
16091 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16092 (g_static_rec_cond_wait): Ported from state changes patch, while
16093 we wait on bug #317802 to be solved in a well-distributed GLib.
16095 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16096 gst_element_change_state, variable name changes.
16097 (gst_element_change_state): Split out of gst_element_set_state in
16098 preparation for the state change merge. Doesn't pay attention to
16099 the 'transition' argument.
16100 (gst_element_set_state): Updates, hopefully purely cosmetic.
16101 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16102 state change patch.
16103 (gst_element_get_state_func): Renamed from get_state, cosmetic
16106 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16108 * gst/elements/gstelements.c:
16109 * win32/GStreamer.vcproj:
16111 * win32/dirent.c: (_tseekdir):
16112 * win32/gst-inspect.vcproj:
16113 * win32/gst-launch.vcproj:
16114 * win32/gstconfig.h:
16115 * win32/gstelements.vcproj:
16116 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16117 * win32/gstreamer.def:
16118 * win32/msvc71.sln:
16119 updates for the win32 build (patch from Sebastien Moutte)
16121 2005-10-10 Andy Wingo <wingo@pobox.com>
16123 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16124 gst_bin_get_state, cleaned up (but no logic changes).
16125 (bin_element_is_sink): Comment updates.
16126 (sink_iterator_filter): Remove needless cast.
16127 (gst_bin_iterate_sinks): Doc update.
16128 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16129 cleaned up (but no logic changes).
16131 * check/states/sinks.c (test_src_sink): Cleanups from the state
16133 (test_livesrc_sink): Sync on the state.
16135 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16136 the state change patch.
16138 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16141 * check/gst/gstbin.c: Merge in some style fixes and additional
16142 checks from Wim's state change patch.
16144 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16146 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16147 (gst_type_find_helper):
16148 Check whether we have the requested data already in our list of
16149 cached buffers before pulling a new buffer; also make the buffer
16150 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16152 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16157 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16158 don't use long long, it's not portable. Replacing with
16159 gint64 seems to work; let's hope no skeletons fall out of the closet.
16161 2005-10-10 Andy Wingo <wingo@pobox.com>
16163 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16165 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16167 * docs/gst/gstreamer-sections.txt:
16172 * gst/gstmessage.c: (gst_message_parse_state_changed):
16175 more docs, fix compilation
16177 2005-10-09 Philippe Khalaf <burger@speedy.org>
16178 * gst/gstmessage.c:
16179 Fixed a few forgotten variables on previous commit
16181 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16183 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16184 Fix evil typefind crasher: getrange() might return a short
16185 buffer at the end of a file, but gst_type_find_peek() must
16186 either return the full data as requested or NULL, but
16187 never a short buffer.
16189 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16191 * gst/gstmessage.c: (gst_message_new_state_changed),
16192 (gst_message_parse_state_changed):
16193 * gst/gstmessage.h:
16194 don't use "new", it's a C++ keyword
16196 2005-10-08 Wim Taymans <wim@fluendo.com>
16198 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16199 * gst/gstelement.c: (gst_element_post_message):
16200 * gst/gstpipeline.c: (gst_pipeline_change_state):
16201 Small docs and debug updates.
16203 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16205 * docs/gst/gstreamer-sections.txt:
16206 * gst/gstelementfactory.c:
16208 * gst/gsttaglist.c:
16211 2005-10-08 Wim Taymans <wim@fluendo.com>
16213 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16214 (gst_bin_dispose), (bin_bus_handler):
16215 Fix typos, add comments.
16216 Clear EOS list when going to PAUSED from any direction and do it
16217 in a threadsafe way.
16218 Get base time in a threadsafe way too.
16219 Fix confusing debug in the change_state function.
16220 Various other small cleanups.
16222 * gst/gstelement.c: (gst_element_post_message):
16223 Fix very verbose bus posting code.
16225 * gst/gstpipeline.c: (gst_pipeline_class_init),
16226 (gst_pipeline_set_property), (gst_pipeline_get_property),
16227 (gst_pipeline_change_state):
16228 Small ARG_ -> PROP_ cleanup
16230 2005-10-08 Wim Taymans <wim@fluendo.com>
16232 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16233 Do a less CPU demanding EOS check because we can.
16235 2005-10-08 Wim Taymans <wim@fluendo.com>
16237 * libs/gst/dataprotocol/dataprotocol.c:
16238 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16239 (gst_dp_packet_from_event):
16240 * libs/gst/dataprotocol/dataprotocol.h:
16241 * libs/gst/dataprotocol/dp-private.h:
16242 It's about time we bump the version number.
16243 Since event types don't fit in the guint8 anymore describing
16244 the payload type, make payload type 16 bits wide.
16246 2005-10-08 Wim Taymans <wim@fluendo.com>
16248 * docs/design/part-TODO.txt:
16249 * docs/design/part-clocks.txt:
16250 * docs/design/part-events.txt:
16251 * docs/design/part-gstbin.txt:
16252 * docs/design/part-gstelement.txt:
16253 * docs/design/part-gstpipeline.txt:
16254 * docs/design/part-live-source.txt:
16255 * docs/design/part-messages.txt:
16256 * docs/design/part-overview.txt:
16257 * docs/design/part-states.txt:
16260 2005-10-08 Wim Taymans <wim@fluendo.com>
16264 Fix event quark registration.
16265 Add some space between events so we can insert them in the
16268 2005-10-08 Wim Taymans <wim@fluendo.com>
16270 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16271 (gst_base_sink_handle_buffer):
16272 Better log message.
16275 * gst/gstelement.h:
16278 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16279 (gst_queue_set_property), (gst_queue_get_property):
16281 Remove old unused properties.
16283 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16284 * docs/gst/gstreamer-sections.txt:
16285 * gst/gstmessage.c:
16286 * gst/gstmessage.h:
16287 * gst/gstminiobject.c:
16288 * gst/gstminiobject.h:
16292 lots of new docs and doc fixes
16294 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16296 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16298 * gst/gstregistry.c: (gst_registry_lookup_locked),
16299 (gst_registry_scan_path_level):
16300 * gst/gstregistryxml.c: (load_plugin):
16301 Only ever load one plugin for a given plugin basename.
16302 This ensures correct overriding of GST_PLUGIN_PATH over
16303 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16304 system installed plugins.
16306 2005-10-08 Wim Taymans <wim@fluendo.com>
16308 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16309 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16310 Prepare for doing QOS.
16312 2005-10-08 Wim Taymans <wim@fluendo.com>
16314 * check/gst/gstbin.c: (GST_START_TEST):
16315 * check/pipelines/cleanup.c: (GST_START_TEST):
16316 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16317 Allow new clock message too.
16319 2005-10-08 Wim Taymans <wim@fluendo.com>
16321 * gst/gstmessage.c: (gst_message_new_error),
16322 (gst_message_new_warning), (gst_message_new_tag),
16323 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16324 (gst_message_new_clock_lost), (gst_message_new_new_clock),
16325 (gst_message_new_segment_start), (gst_message_new_segment_done),
16326 (gst_message_parse_state_changed),
16327 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16328 (gst_message_parse_new_clock):
16329 * gst/gstmessage.h:
16330 Also carry the clock in question.
16332 2005-10-08 Wim Taymans <wim@fluendo.com>
16334 * gst/gstmessage.c: (gst_message_new_custom),
16335 (gst_message_new_eos), (gst_message_new_error),
16336 (gst_message_new_warning), (gst_message_new_tag),
16337 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16338 (gst_message_new_new_clock), (gst_message_new_segment_start),
16339 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16340 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16341 * gst/gstmessage.h:
16343 Added clock related messages.
16345 * gst/gstpipeline.c: (gst_pipeline_change_state):
16346 Post message when the clock changed.
16348 * tools/gst-launch.c: (event_loop):
16351 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
16353 * tools/gst-inspect.c: (print_element_properties_info):
16354 Can't pass NULL strings to g_print() on windows.
16356 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16358 * docs/Makefile.am:
16359 * docs/gst/Makefile.am:
16360 * docs/gst/gstreamer-docs.sgml:
16361 * docs/gst/running.xml:
16362 * docs/version.entities.in:
16363 add a chapter on running GStreamer.
16364 document GST_DEBUG and GST_PLUGIN* env vars
16366 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16371 remove PLUGINS_BUILDDIR stuff
16372 * gst/gst.c: (init_post):
16373 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16375 remove, it was condescending and not needed
16377 2005-10-08 Wim Taymans <wim@fluendo.com>
16379 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16380 (gst_base_sink_handle_object), (gst_base_sink_event),
16381 (gst_base_sink_wait), (gst_base_sink_handle_event),
16382 (gst_base_sink_change_state):
16383 * gst/base/gstbasesink.h:
16384 Repost EOS message while going to PLAYING if still EOS.
16385 Make sure that when receiving a FLUSH_START we don't attempt
16386 to sync on the clock anymore.
16388 2005-10-08 Wim Taymans <wim@fluendo.com>
16390 * tools/gst-launch.c: (event_loop):
16391 Better message printout.
16393 2005-10-08 Wim Taymans <wim@fluendo.com>
16395 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16396 (gst_bin_child_proxy_get_children_count):
16397 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16398 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16399 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16400 (gst_child_proxy_set_valist):
16401 * gst/parse/grammar.y:
16402 Make ChildProxy threadsafe and fix mem leaks.
16404 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16406 * gst/gst.c: (init_post):
16407 debug the GST_PLUGIN_ env vars
16409 2005-10-08 Wim Taymans <wim@fluendo.com>
16411 * check/gst/gstbin.c: (GST_START_TEST):
16412 * check/gst/gstmessage.c: (GST_START_TEST):
16413 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16414 * gst/gstelement.c: (gst_element_commit_state),
16415 (gst_element_lost_state):
16416 * gst/gstmessage.c: (gst_message_new_state_changed),
16417 (gst_message_parse_state_changed):
16418 * gst/gstmessage.h:
16419 * tools/gst-launch.c: (event_loop):
16420 Added extra field to STATE_CHANGE message with the pending
16421 state, which will be different from the new state soon.
16423 2005-10-08 Wim Taymans <wim@fluendo.com>
16425 * gst/gstbus.c: (gst_bus_pop):
16427 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16428 Small cleanups and doc updates.
16430 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16432 * gst/gst.c: (init_pre):
16433 * gst/gstbin.c: (gst_bin_add_func):
16434 log distributing clocks and base time
16435 * gst/gstregistry.c: (gst_registry_add_plugin),
16436 (gst_registry_scan_path_level), (gst_registry_scan_path):
16437 clean up the debugging output a little
16438 * gst/gstutils.c: (gst_element_state_get_name):
16439 warn about a memleak (I've actually seen this be used, though
16440 it was probably a bug)
16442 2005-10-07 Wim Taymans <wim@fluendo.com>
16444 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16445 (gst_base_src_init), (gst_base_src_default_newsegment),
16446 (gst_base_src_newsegment), (gst_base_src_do_seek),
16447 (gst_base_src_loop), (gst_base_src_start):
16448 * gst/base/gstbasesrc.h:
16449 Make the newsegment event customizable by subclasses.
16451 2005-10-07 Wim Taymans <wim@fluendo.com>
16453 * gst/gstevent.c: (gst_event_new_buffersize),
16454 (gst_event_parse_buffersize):
16456 New event for future idea.
16458 2005-10-07 Andy Wingo <wingo@pobox.com>
16460 * gst/gstelement.c (gst_element_post_message): Doc update.
16462 * docs/gst/gstreamer-sections.txt: Update.
16464 * gst/gstmessage.c (gst_message_new_application): Made into a
16465 function like honest API calls.
16466 (gst_message_new_element): New message type.
16468 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16470 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16471 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16474 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16475 NO_PREROLL from gst_element_change_state to fall through.
16477 2005-10-07 Wim Taymans <wim@fluendo.com>
16479 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16480 (gst_ghost_pad_do_activate_push):
16481 Activating a ghostpad with no internal pad in push mode
16484 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16487 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16488 Fixes compilation on Windows.
16490 2005-10-07 Michael Smith <msmith@fluendo.com>
16492 * tools/gst-inspect.c:
16493 Print out feature and plugin count at the end when printing out
16496 2005-10-04 Michael Smith <msmith@fluendo.com>
16498 * gst/gsterror.c: (_gst_stream_errors_init):
16499 Add another error string used in a few existing plugins.
16502 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16503 * tools/gst-inspect.c: (print_element_info):
16504 When a feature disappears from a plugin (and the feature exists in
16505 the cached registry file), things went horribly wrong. This isn't a
16506 complete fix, we should actually be removing the 'missing' features
16507 from the features list when we load the actual plugin. That's not
16510 2005-10-04 Johan Dahlin <johan@gnome.org>
16512 * check/gst/gstiterator.c: (GST_START_TEST):
16513 * gst/gstbin.c: (gst_bin_iterate_elements),
16514 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16515 * gst/gstelement.c: (gst_element_iterate_pads):
16516 * gst/gstformat.c: (gst_format_iterate_definitions):
16517 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16518 (gst_iterator_new_list), (gst_iterator_filter):
16519 * gst/gstiterator.h:
16520 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16521 Add a GType to GstIterator, update callsites and tests.
16523 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16525 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16526 give events a chance to be handled by event probes when the pad
16529 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16531 * gst/gstevent.c: (gst_event_type_get_name),
16532 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16534 add string representations for event types
16536 2005-10-06 Wim Taymans <wim@fluendo.com>
16538 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16539 Don't use NULL pointers.
16541 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16543 * gst/gst_private.h:
16545 * gst/gstelement.c:
16547 * gst/gstpluginfeature.c:
16548 widen the debug category in output to fit the biggest one we have
16549 add a bus category and use it
16550 play with the colors
16551 fix up some categories
16553 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16555 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16556 add push activation of sink ghost pads.
16557 Andye, please verify
16559 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16561 * gst/gstutils.c: (gst_element_link_pads):
16562 fix a bug in the case where neither element has a pad
16563 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16564 add a test for that case
16566 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16568 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16569 emit have-data before checking for peers. This allows
16570 for probe handlers to connect elements. This helps autopluggers.
16571 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16573 add six checks, linked/unlinked with no/true/false probe
16575 2005-10-04 Wim Taymans <wim@fluendo.com>
16577 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16578 (gst_fake_sink_event), (gst_fake_sink_preroll),
16579 (gst_fake_sink_render), (gst_fake_sink_change_state):
16580 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16581 (gst_fake_src_get_property), (gst_fake_src_create),
16582 (gst_fake_src_stop):
16583 * gst/elements/gstidentity.c: (gst_identity_stop):
16584 Protect last_message with lock.
16586 2005-10-04 Edward Hervey <edward@fluendo.com>
16589 Added precision in the comments for GST_FORMAT_DEFAULT
16591 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16593 * tools/gst-launch.c: (main):
16594 Don't try to run erroneous pipelines.
16596 2005-10-04 Julien MOUTTE <julien@moutte.net>
16598 * gst/gstbus.c: We don't need this header.
16600 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16603 back to development
16605 === release 0.9.3 ===
16607 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16611 Releasing 0.9.3, "Unregistered"
16613 2005-10-03 Andy Wingo <wingo@pobox.com>
16615 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16616 whereby calling a pad's activatepush() function can start a thread
16617 that starts to push or pull before the pad gets the FLUSHING flag
16618 unset. Hack around it by holding the stream lock until the flag is
16619 set. Need to replace this with a proper solution. Together with
16620 the ghost pad fixes, this fixes mp3 playing/tagreading.
16622 * docs/design/part-gstghostpad.txt: Add a note about activation of
16623 proxy pads outside of ghost pads.
16625 * gst/gstghostpad.c: Implement the ghost pad activation design.
16627 2005-10-02 Andy Wingo <wingo@pobox.com>
16629 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16630 It is volatile, after all.
16632 * docs/design/part-gstghostpad.txt: Flesh out activation with
16635 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16638 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16641 Fix (unused) AM_CONDITIONAL tests.
16643 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16645 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16647 * gst/gstutils.c: (gst_pad_query_convert):
16648 Add assertion that makes sure src_val is >=0, just like
16649 gst_query_new_convert() has. (#315895)
16651 2005-09-30 Edward Hervey <edward@fluendo.com>
16653 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16654 Let's not iterate pads we're not interested in, it avoids getting
16655 sky-high refcounts on sinkpad.
16657 2005-09-30 Wim Taymans <wim@fluendo.com>
16659 * gst/gstelement.c: (gst_element_set_state),
16660 (gst_element_change_state):
16661 Small tweak, element in ASYNC remains ASYNC.
16663 2005-09-30 Wim Taymans <wim@fluendo.com>
16665 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16666 Only error is an error.
16668 * gst/gstbin.c: (gst_bin_change_state):
16671 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16672 Also call pad_block in pad alloc.
16674 * gst/gstutils.c: (gst_flow_get_name):
16677 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16679 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16680 (gst_base_src_get_range):
16681 Fix documentation typos. Add some more debug info.
16683 2005-09-29 David Schleef <ds@schleef.org>
16685 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16686 more end-user friendly.
16687 * tools/gst-inspect.c: (main): Check if command-line argument is
16688 a file and attempt to load that file as a plugin.
16690 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16692 * check/gst/gstbin.c:
16693 * check/states/sinks.c:
16694 fix tests for the new warning
16695 * check/gst/gstpipeline.c:
16696 add a test for pipeline and bus interaction
16697 * gst/gstelement.c:
16698 elements should be NULL if they get disposed; add a warning if not
16700 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16703 for 2.6 refcounting, make debug log more correct by printing
16704 the actual refcounts at the time of swap (Wim)
16706 2005-09-29 Andy Wingo <wingo@pobox.com>
16708 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16709 removes signal watches previously added via
16710 gst_bus_add_signal_watch.
16711 (gst_bus_add_signal_watch): Don't return the source id, just store
16712 it on the bus if there wasn't an id already.
16714 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16715 add_signal_watch and remove_signal_watch.
16717 2005-09-29 Edward Hervey <edward@fluendo.com>
16719 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16720 Better if we actually iterate the list :)
16722 2005-09-29 Wim Taymans <wim@fluendo.com>
16724 * check/gst/gstbin.c: (GST_START_TEST):
16725 Change for new bus API.
16727 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16728 (send_messages), (GST_START_TEST), (gstbus_suite):
16729 Change for new bus signal API.
16731 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16732 (gst_bus_source_prepare), (gst_bus_source_check),
16733 (gst_bus_create_watch), (gst_bus_add_watch_full),
16734 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16735 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16737 Remove support for multiple GSources operating on different
16738 message types as it is too complex and unneeded when using
16740 Added support for receiving signals from the bus.
16742 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16744 * docs/libs/tmpl/gstdataprotocol.sgml:
16745 * docs/manual/advanced-dataaccess.xml:
16746 * gst/elements/gstcapsfilter.c:
16748 rename filter-caps to caps property
16750 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16752 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16753 More robust fraction string parsing.
16755 * docs/pwg/appendix-porting.xml:
16756 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16758 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16760 * gst/gstcaps.c: (gst_caps_do_simplify):
16761 Thou shalt not free a structure and then continue using it
16762 in the next loop iteration.
16764 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16766 Add test case for caps simplification.
16768 2005-09-29 Wim Taymans <wim@fluendo.com>
16770 * check/gst/gstbin.c: (GST_START_TEST):
16773 2005-09-29 Wim Taymans <wim@fluendo.com>
16775 * check/gst/gstbin.c: (GST_START_TEST):
16778 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16779 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16780 (find_element), (gst_bin_sort_iterator_next),
16781 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16782 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16783 (gst_bin_change_state), (gst_bin_dispose):
16784 A bin does not have a bus, it gets the bus from the parent.
16786 * gst/gstelement.c: (gst_element_requires_clock),
16787 (gst_element_provides_clock), (gst_element_is_indexable),
16788 (gst_element_is_locked_state), (gst_element_change_state),
16789 (gst_element_set_bus_func):
16792 * gst/gstpipeline.c: (gst_pipeline_class_init),
16793 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16794 The pipeline provides a bus.
16796 2005-09-28 Johan Dahlin <johan@gnome.org>
16798 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16799 gst_structure_get_enum instead of gst_structure_get_int
16801 * gst/gststructure.c (gst_structure_get_enum): Impl.
16803 * gst/gststructure.h (gst_structure_get_enum): Add
16805 * docs/gst/gstreamer-sections.txt: Ditto
16807 * gst/gstmessage.c (gst_message_new_state_changed): Use
16808 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16809 which does introspection.
16810 Reviewed by Christian Schaller
16812 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16814 * gst/gstinfo.c: (gst_debug_log_default):
16815 don't do dummy g_strdup()s
16816 * libs/gst/controller/gstcontroller.c:
16817 (on_object_controlled_property_changed),
16818 (gst_controlled_property_new), (gst_controller_new_valist),
16819 (gst_controller_new_list),
16820 (gst_controller_remove_properties_valist), (gst_controller_set),
16821 (gst_controller_get), (gst_controller_sync_values),
16822 (gst_controller_get_value_array), (_gst_controller_class_init),
16823 (gst_controller_get_type):
16824 * libs/gst/controller/gstcontroller.h:
16825 * libs/gst/controller/gstinterpolation.c:
16826 (gst_controlled_property_find_timed_value_node):
16827 convert // to /**/ comments
16829 2005-09-28 Wim Taymans <wim@fluendo.com>
16831 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16832 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16833 (gst_bus_sync_signal_handler):
16835 Added async-message and sync-message signals to the bus.
16836 Added helper BusFunc to emit signals for all posted messages.
16838 * gst/gstmessage.c: (gst_message_type_get_name),
16839 (gst_message_type_to_quark), (gst_message_get_type):
16840 * gst/gstmessage.h:
16841 Register quarks for message names.
16843 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16845 * docs/libs/gstreamer-libs-sections.txt:
16846 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16847 (gst_controller_new_list):
16848 * libs/gst/controller/gstcontroller.h:
16849 added another constructor for language bindings
16851 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16853 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16857 * gst/gstinfo.c: (_gst_debug_init):
16858 slightly more readable color for refcount debugging
16860 2005-09-28 Wim Taymans <wim@fluendo.com>
16862 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16863 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16864 (find_element), (gst_bin_sort_iterator_next),
16865 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16866 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16867 (gst_bin_change_state), (gst_bin_dispose):
16868 Small doc fixes. get_clock -> provide_clock.
16870 * gst/gstelement.c: (gst_element_class_init),
16871 (gst_element_provides_clock), (gst_element_provide_clock),
16872 (gst_element_get_clock), (gst_element_commit_state),
16873 (gst_element_lost_state):
16874 * gst/gstelement.h:
16875 Make get/set_clock() symetric. Add provide_clock vmethod since
16876 that is actually what this function does.
16878 * gst/gstpipeline.c: (gst_pipeline_class_init),
16879 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16880 (gst_pipeline_get_clock):
16881 get_clock -> provide_clock.
16883 2005-09-28 Andy Wingo <wingo@pobox.com>
16885 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16886 lieu of real docs...
16888 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16890 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16892 * gst/elements/gstcapsfilter.c:
16893 * gst/elements/gstfakesink.c:
16894 * gst/elements/gstfakesrc.c:
16895 * gst/elements/gstfdsink.c:
16896 * gst/elements/gstfdsrc.c:
16897 * gst/elements/gstfilesink.c:
16898 * gst/elements/gstfilesrc.c:
16899 * gst/elements/gstidentity.c:
16900 * gst/elements/gsttee.c:
16901 * gst/elements/gsttypefindelement.c:
16902 Make element details static.
16904 2005-09-28 Wim Taymans <wim@fluendo.com>
16906 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16907 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16908 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16909 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16910 (gst_bin_change_state), (gst_bin_dispose):
16911 Some documentation updates.
16912 Clean up dispose handlers.
16914 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16915 * gst/gstpad.c: (gst_pad_dispose):
16916 Clean up dispose handler.
16918 * gst/gstpipeline.c: (gst_pipeline_change_state):
16919 Removed spurious UNLOCK.
16921 2005-09-27 Stefan Kost <ensonic@users.sf.net>
16923 * docs/gst/gstreamer-sections.txt:
16924 * gst/base/gstbasesrc.h:
16925 * gst/gstelement.h:
16929 * gst/gstpipeline.c:
16930 * gst/gstpipeline.h:
16933 added two new functions to the docs
16934 documents all undocumented GstXXXFlags
16935 completed some incomplete docs
16937 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
16939 * gst/gstbin.c: (gst_bin_dispose):
16940 * gst/gstelement.c: (gst_element_dispose):
16941 remove now useless and leaky resurrection code in dispose
16942 * gst/base/gstbasesrc.c: (gst_base_src_init):
16943 * gst/gstelementfactory.c: (gst_element_factory_create):
16944 * gst/gstobject.c: (gst_object_set_parent):
16947 2005-09-27 Wim Taymans <wim@fluendo.com>
16949 * docs/design/part-TODO.txt:
16952 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16953 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16954 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16955 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16956 (gst_bin_change_state):
16957 * gst/gstelement.h:
16958 Remove element variable, we keep element info in the iterator now.
16960 2005-09-27 Andy Wingo <wingo@pobox.com>
16962 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16965 2005-09-27 Wim Taymans <wim@fluendo.com>
16967 * check/gst/gstbin.c: (GST_START_TEST):
16968 Enable check that works now.
16970 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16971 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16972 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16973 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16974 (gst_bin_change_state):
16976 Redid the state change algorithm using a topological sort algo.
16977 Handles all cases correctly.
16978 Exposed iterator for state change order.
16980 * gst/gstelement.h:
16981 Temp storage for state changes. Need to get rid of this soon.
16983 2005-09-27 Wim Taymans <wim@fluendo.com>
16985 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
16986 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
16987 (link_fold_func), (gst_pad_proxy_setcaps):
16988 Leak fixes, the fold functions need to unref the passed object and
16989 _get_parent_*() returns ref to parent.
16991 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16993 * check/gst/gstbuffer.c: (test_make_writable):
16994 Plug leak in test case and fix 'make check-valgrind'
16996 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16998 * gst/gstbuffer.c: (gst_subbuffer_init):
16999 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17000 works correctly in all circumstances (we could have just copied
17001 the parent buffer's readonly flag, but conceptually it seems
17002 cleaner to mark all subbuffers as read-only). (based on patch
17003 by Alessandro Decina, #314710).
17005 * check/gst/gstbuffer.c: (create_read_only_buffer),
17006 (test_make_writable), (test_subbuffer_make_writable),
17008 Add some tests for gst_buffer_make_writable().
17010 2005-09-27 Wim Taymans <wim@fluendo.com>
17012 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17013 use gst_object_has_ancestor().
17015 * gst/gstobject.c: (gst_object_has_ancestor):
17017 gst_object_has_ancestor() copied from gstbin.c as it is a
17020 * tests/instantiate/create.c: (create_all_elements):
17021 * tests/lat.c: (handoff_src), (handoff_sink):
17022 * tests/sched/runxml.c: (main):
17023 * tests/seeking/seeking1.c: (main):
17024 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17026 Fix compilation of some tests.
17028 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17031 Remove comment. GST_TYPE_G_ERROR is here to stay,
17032 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17033 (#316961, #300610).
17035 2005-09-26 Wim Taymans <wim@fluendo.com>
17037 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17038 Added check that shows error in state change order.
17040 2005-09-26 Wim Taymans <wim@fluendo.com>
17042 * gst/gstbin.c: (gst_bin_change_state):
17043 Make state change function use 3 queues again, we were
17044 adding elements in the wrong order.
17046 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17049 * gst/gstpad.c: (gst_pad_dispose):
17050 Added some debug info first.
17052 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17054 * docs/design/draft-push-pull.txt:
17055 * docs/design/part-events.txt:
17056 * docs/design/part-overview.txt:
17057 * docs/design/part-scheduling.txt:
17058 Replace all _pull_region() with _pull_range()
17060 2005-09-26 Andy Wingo <wingo@pobox.com>
17062 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17064 * check/gst-libs/controller.c: Update for controller api change.
17067 * tests/Makefile.am:
17068 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17069 over by GLib bug 118439.
17071 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17072 routines to a function.
17074 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17076 * libs/gst/controller/gsthelper.c:
17077 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17078 (gst_object_sync_values): Renamed from sink_values. Ugh.
17080 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17082 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17083 Renamed from controller_key, as it is exported.
17085 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17087 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17092 * gst/gstpadtemplate.h:
17095 * gst/gstqueryutils.c:
17096 * gst/gstqueryutils.h:
17097 remove queryutils headers after moving the two used functions
17098 to gstquery. also fixes build problem for gstsiddec
17100 2005-09-26 Michael Smith <msmith@fluendo.com>
17102 * tools/gst-launch.1.in:
17103 Correct documentation in manpage of debug syntax
17105 2005-09-26 Wim Taymans <wim@fluendo.com>
17107 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17108 (gst_base_src_is_seekable), (gst_base_src_change_state):
17109 Some more debugging info.
17111 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17113 * docs/gst/gstreamer-sections.txt:
17114 * gst/base/gstbasetransform.h:
17118 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17120 * docs/gst/.cvsignore:
17121 * docs/gst/tmpl/.cvsignore:
17122 * docs/gst/tmpl/gstpipeline.sgml:
17123 * docs/gst/tmpl/gstplugin.sgml:
17124 * gst/gstpipeline.c:
17127 inlined the last two docs files
17128 removed the tmpl directory from cvs (no more conflicts here!)
17130 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17132 * docs/gst/gstreamer-sections.txt:
17133 * docs/gst/tmpl/.cvsignore:
17134 * docs/gst/tmpl/gstpad.sgml:
17135 * docs/gst/tmpl/gstpadtemplate.sgml:
17137 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17138 (gst_pad_finalize), (gst_pad_set_pad_template):
17140 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17141 (gst_pad_template_class_init), (gst_pad_template_init),
17142 (gst_pad_template_dispose), (name_is_valid),
17143 (gst_static_pad_template_get), (gst_pad_template_new),
17144 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17145 (gst_pad_template_pad_created):
17146 * gst/gstpadtemplate.h:
17147 inlined two more docs
17148 factored gstpadtemplate out of gstpad
17150 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17152 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17153 (test_children_state_change_order_semi_sink):
17154 Fix test case: we can't rely on a fixed state change order when
17155 going from READY => PAUSED because the sink might commit its
17156 new state first when the first buffer created by the source
17157 reaches the sink before the source has finished its change state.
17158 (Test case still fails at times, see #316856, comment 5 onwards)
17160 2005-09-24 Wim Taymans <wim@fluendo.com>
17162 * docs/design/part-events.txt:
17163 * docs/design/part-gstbus.txt:
17164 * docs/design/part-gstpipeline.txt:
17165 * docs/design/part-messages.txt:
17166 * docs/design/part-overview.txt:
17167 * docs/design/part-segments.txt:
17171 * gst/gstelement.c:
17174 * gst/gstiterator.c:
17175 Various documentation updates.
17177 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17180 Well, that's embarassing. Luckily we weren't using
17181 GST_CLOCK_DIFF anywhere.
17183 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17185 * common/gtk-doc.mak:
17186 don't fail on building XML, FC4 slave shows a bunch of doc
17187 missing bits that I don't get
17189 * gst/gstpipeline.c:
17190 * gst/gststructure.c:
17193 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17195 * docs/design/part-gstbin.txt:
17196 * docs/design/part-gstbus.txt:
17198 Add blurb about how the bus goes into flushing mode and
17199 drops all messages when its bin goes from READY into NULL
17202 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17204 * docs/gst/gstreamer-sections.txt:
17205 * gst/gststructure.c: (gst_structure_get_clock_time):
17206 * gst/gststructure.h:
17207 add a method to get a GstClockTime out of a structure
17209 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17211 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17212 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17213 Added test to check state change order in bins (can still be made
17214 to fail here under heavy disk load; bails out with 'Push on pad
17215 fakesink:sink0, but it was not activated in push mode').
17217 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17218 Fix state change order when there is only a semi sink (#316856)
17220 * gst/gstbus.c: (gst_bus_class_init):
17221 Use _class_peek_parent(), not _class_ref(); fix docs to say
17222 'default main context' instead of 'mainloop' where that is
17225 * gst/gstelement.c: (gst_element_commit_state),
17226 (gst_element_set_state):
17227 Fix typos in debug messages
17229 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17232 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17233 * gst/gstpluginfeature.c:
17235 various doc updates
17236 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17237 change an assert into an error until it gets fixed properly
17239 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17241 * docs/gst/gstreamer-sections.txt:
17242 * docs/gst/tmpl/.cvsignore:
17243 * docs/gst/tmpl/gstelement.sgml:
17244 * docs/gst/tmpl/gstinfo.sgml:
17245 * docs/gst/tmpl/gstobject.sgml:
17246 * gst/gstelement.c:
17247 * gst/gstelement.h:
17250 * gst/gstobject.c: (gst_object_class_init):
17252 inlined 3 more biiiig doc files and added some missing docs on the fly
17254 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17256 * check/gst/.cvsignore:
17257 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17258 * gst/gstregistryxml.c: (load_plugin),
17259 (gst_registry_xml_save_plugin):
17260 put back source in registry. add checks for find_plugin.
17261 * testsuite/states/bin.c: (assert_state), (empty_bin),
17262 (test_adding_one_element), (main):
17263 * testsuite/states/locked.c: (main):
17264 some compile/run fixes
17266 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17268 * check/gst/gstvalue.c: (GST_START_TEST):
17269 fix leaks in the test itself
17271 2005-09-22 Wim Taymans <wim@fluendo.com>
17273 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17274 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17275 (gst_base_sink_query):
17276 Prepare for more accurate position reporting and query
17279 * gst/gstelement.c: (gst_element_send_event),
17280 (gst_element_set_state):
17283 2005-09-22 Wim Taymans <wim@fluendo.com>
17285 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17286 (gst_query_parse_segment):
17288 More documentation.
17289 Add segment query for future use.
17291 2005-09-22 Wim Taymans <wim@fluendo.com>
17293 * gst/gstbin.c: (gst_bin_add_func):
17294 Some more debug info.
17296 * gst/gstelement.c: (gst_element_send_event):
17297 Simplify send_event
17299 * gst/gstelement.h:
17300 Don't know how flags got broken.
17305 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17307 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17308 Add simplistic test suite for GST_TYPE_DATE serialisation and
17311 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17313 * docs/gst/gstreamer-sections.txt:
17314 * gst/gststructure.c: (gst_structure_set_valist),
17315 (gst_structure_get_date):
17316 * gst/gststructure.h:
17317 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17318 (gst_date_copy), (gst_value_compare_date),
17319 (gst_value_serialize_date), (gst_value_deserialize_date),
17320 (gst_value_transform_date_string),
17321 (gst_value_transform_string_date), (_gst_value_initialize):
17323 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17324 bunch of utility functions along with a hack that checks that
17325 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17326 is required. Part of the grand scheme in #170777.
17328 2005-09-22 Andy Wingo <wingo@pobox.com>
17330 * gst/gstconfig.h.in: Psych out gtk-doc.
17332 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17334 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17336 * tools/gst-inspect.c (print_element_list): Plug some
17337 inconsequential leaks.
17339 * gst/gstregistry.c (gst_registry_get_default): Doc.
17341 * check/gst/gstplugin.c:
17342 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17343 * gst/gstelementfactory.c (gst_element_factory_create):
17344 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17347 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17348 (gst_plugin_feature_load): Doc, don't eat refs.
17350 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17351 (gst_plugin_list_free): Doc.
17352 (gst_plugin_load_file): Doc updates.
17354 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17355 accessors returning refcounted objects, return a ref.
17357 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17358 accessor for caps. IDEMPOTENCE. Oh yes.
17360 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
17362 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17364 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17365 (_gst_debug_register_funcptr):
17366 Add mutex to serialise access to the hash table with
17367 the function pointer => function name string mapping;
17368 make that hash table static scope (#316809).
17370 * gst/registries/.cvsignore:
17371 Remove left-over file.
17373 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17375 * docs/pwg/appendix-porting.xml:
17376 And something about newsegment events and caps-on-buffers to
17377 the porting guide (feel free to improve).
17379 2005-09-21 Andy Wingo <wingo@pobox.com>
17381 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17382 data and event probes on the same pad.
17383 (test_buffer_probe_once): Test that removing probes from within
17384 the probe functions works.
17386 2005-09-21 Andy Wingo <wingo@pobox.com>
17388 * check/gst/gstutils.c: New file.
17389 (test_buffer_probe_n_times): A simple buffer probe test. More to
17392 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17393 have-data::buffer, not have-data.
17394 (gst_pad_add_event_probe): Likewise for have-data::event.
17395 (gst_pad_add_data_probe): More docs. The part about 'resolving the
17396 peer' isn't quite right yet though.
17397 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
17398 (gst_pad_remove_data_probe): Change to take the guint handler_id
17399 as their arg, not the function+data, which is more glib-like.
17401 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17402 the signal emission to indicate if the data is a buffer or an
17404 (gst_pad_get_type): Initialize buffer and event quarks.
17405 (gst_pad_class_init): have-data is now a detailed signal, yes it
17408 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17410 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17411 * gst/gstutils.c: (gst_util_set_value_from_string),
17412 (gst_util_set_object_arg):
17413 Don't put functional code in g_return_if_fail() or
17414 g_return_val_if_fail() statements, otherwise things will
17415 break when G_DISABLE_CHECKS is defined during compilation.
17417 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17419 * docs/gst/tmpl/.cvsignore:
17420 * docs/gst/tmpl/gstvalue.sgml:
17423 inlied another one and added some obvious docs
17425 2005-09-21 Wim Taymans <wim@fluendo.com>
17427 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17428 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17429 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17430 (gst_fdsrc_get_property), (gst_fdsrc_create):
17431 * gst/elements/gstfdsrc.h:
17432 Properly implement fdsrc. Removed signal and timeout,
17433 better implemented somewhere else.
17435 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17437 * docs/gst/tmpl/.cvsignore:
17438 * docs/gst/tmpl/gstimplementsinterface.sgml:
17439 * gst/gstinterface.c:
17442 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17444 * docs/gst/gstreamer-sections.txt:
17445 * docs/gst/tmpl/.cvsignore:
17446 * docs/gst/tmpl/gstenumtypes.sgml:
17447 remove obsolete doc file
17449 2005-09-21 David Schleef <ds@schleef.org>
17451 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17452 little beer, fix a little leak.
17454 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17456 * docs/gst/gstreamer-docs.sgml:
17457 * docs/gst/gstreamer-sections.txt:
17458 * docs/gst/tmpl/.cvsignore:
17462 * gst/gstelement.h:
17463 * gst/gstindex.c: (gst_index_class_init):
17465 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17466 (gst_index_factory_class_init), (gst_index_factory_init),
17467 (gst_index_factory_finalize), (gst_index_factory_new),
17468 (gst_index_factory_destroy), (gst_index_factory_find),
17469 (gst_index_factory_create), (gst_index_factory_make):
17470 * gst/gstindexfactory.h:
17471 * gst/gstpluginfeature.c:
17472 * gst/gstpluginfeature.h:
17473 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17474 more docs inlined, splitted gstindex.{c,h}
17476 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17478 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17481 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17483 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17484 Set sync to FALSE by default.
17486 2005-09-20 Wim Taymans <wim@fluendo.com>
17488 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17489 (gst_base_sink_init):
17490 Make sync property settable from subclass.
17492 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17493 (gst_fake_sink_change_state):
17494 Set sync to FALSE by default.
17496 2005-09-20 Wim Taymans <wim@fluendo.com>
17498 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17499 * tools/gst-launch.c: (main):
17500 The timeout handler should have lower priority than the source
17501 so we don't timeout before popping a message with 0 timeout.
17502 Dump error messages after failed state change.
17504 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17506 * tools/gst-inspect.c: (print_element_properties_info):
17509 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17511 * check/gst/gstevent.c:
17512 * gst/elements/gstfakesink.c:
17513 * gst/elements/gstfakesink.h:
17514 remove the sync property from fakesink.
17515 has the side effect of setting sync TRUE
17516 for fakesink, which is a change. Anyone who knows how
17517 to fix this nicely in a GObject-y way, feel free.
17519 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17521 * docs/gst/gstreamer-docs.sgml:
17522 remove probe refsection
17524 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17526 * check/Makefile.am:
17527 disable valgrinding the controller test again
17528 * docs/gst/gstreamer-sections.txt:
17529 update for api-changes
17531 2005-09-20 Wim Taymans <wim@fluendo.com>
17533 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17534 (gst_base_sink_set_property), (gst_base_sink_get_property),
17535 (gst_base_sink_do_sync):
17536 * gst/base/gstbasesink.h:
17537 Added sync property to basesink to disable clock sync.
17539 2005-09-20 Andy Wingo <wingo@pobox.com>
17541 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17542 eating the caller's refcount.
17544 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17545 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17548 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17549 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17550 of GLib 2.8 public, so we can know which refcount to check in
17553 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17554 (gst_object_init): Only set the gst refcount if we're going ahead
17555 with the refcount hack.
17557 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17559 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17560 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17561 more leaks plumbed, added more debug-logging
17565 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17567 * gst/gstmessage.c:
17568 remove include of gstmemchunk.h
17570 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17572 * gst/gstclock.c: (_gst_clock_id_free):
17573 Commit from the Political Party For More Atomic CVS Commits,
17574 so that people don't waste too much of their day fishing
17575 out obvious leaks out of massive commits.
17576 Oh, and fix a pretty damn obvious leak in the memchunk
17579 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17581 * check/Makefile.am:
17582 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17583 plug mem-leak, re-add to valgrindable tests
17585 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17588 unbreak the build for those who have chronic arthritis
17589 and typing "make check" is just too taxing on the hands
17591 2005-09-20 Andy Wingo <wingo@pobox.com>
17593 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17594 really want it out, you should fix plugins at the same time.
17596 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17599 * docs/gst/gstreamer-sections.txt:
17601 added missing symbols to api docs
17602 disable ref-count hack if we have glib >= 2.8
17604 2005-09-19 David Schleef <ds@schleef.org>
17606 * docs/gst/Makefile.am: Ignore a few more internal headers
17607 * docs/gst/gstreamer-docs.sgml: Remove old sections
17608 * docs/gst/gstreamer-sections.txt: Remove old sections
17609 * docs/gst/tmpl/gstobject.sgml: update
17610 * docs/gst/tmpl/gstplugin.sgml: update
17611 * docs/gst/tmpl/gstpluginfeature.sgml: update
17612 * docs/random/ds/0.9-suggested-changes: update.
17613 * gst/Makefile.am: remove memchunk and trashstack, since they're
17615 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17616 * gst/gst.h: don't include some headers
17617 * gst/gstchildproxy.c: add gstmarshal.h
17618 * gst/gstclock.c: Don't use memchunks
17619 * gst/gstminiobject.c: Add some docs
17620 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17621 * gst/gstobject.h: same
17622 * gst/gstplugin.c: include gstmacros.h
17623 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17624 * gst/gstquery.c: don't use memchunks
17625 * gst/gstregistry.c: rename gst_registry_deinit()
17626 * gst/gstregistry.h: same
17628 2005-09-19 David Schleef <ds@schleef.org>
17630 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17631 * docs/libs/gstreamer-libs-sections.txt:
17632 * docs/libs/tmpl/gstgetbits.sgml:
17633 * docs/libs/tmpl/gstputbits.sgml:
17635 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17637 * win32/gstenumtypes.c:
17638 * win32/gstenumtypes.h:
17641 2005-09-19 Wim Taymans <wim@fluendo.com>
17643 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17644 Automatically PAUSE and RESUME a pipeline when a flushing seek
17647 2005-09-19 Andy Wingo <wingo@pobox.com>
17649 * gst/gstregistry.h: Spacing fixen.
17651 2005-09-19 Wim Taymans <wim@fluendo.com>
17653 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17654 Handle state change failure more correctly.
17656 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17658 * check/Makefile.am:
17659 * check/pipelines/cleanup.c: (run_pipeline):
17660 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17662 enable cleanup again after fixing the leak
17664 some more info on docs
17666 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17668 * check/Makefile.am:
17669 re-enable tests now that leaks are plugged
17671 * check/gst/gstbin.c:
17672 * check/gst/gstpipeline.c:
17673 add some more tests while fixing leaks
17674 * common/check.mak:
17675 make sure binaries are uptodate when valgrinding/gdbing
17677 * gst/gstelementfactory.c:
17678 remove a ref too many, and add a FIXME for when we get
17679 round to disposing of classes
17681 fix the refcounting when loading a plugin from a file and
17682 the code pretends that the pointer is the same even though
17683 of course it can change
17684 * gst/gstpluginfeature.c:
17685 unref plugins marked cached (a bit confusing as a name)
17686 as the docs state should be done
17687 various doc additions to explain refcounting
17688 * gst/gstregistry.c:
17689 * gst/gstregistryxml.c:
17692 2005-09-19 Wim Taymans <wim@fluendo.com>
17694 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17695 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17696 (send_messages), (GST_START_TEST), (gstbus_suite):
17697 * check/gst/gstpipeline.c: (GST_START_TEST):
17698 * check/pipelines/cleanup.c: (run_pipeline):
17699 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17701 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17702 (gst_bus_source_check), (gst_bus_source_dispatch),
17703 (gst_bus_create_watch), (gst_bus_add_watch_full),
17704 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17706 * tools/gst-launch.c: (event_loop):
17707 * tools/gst-md5sum.c: (event_loop):
17708 GstBusHandler -> GstBusFunc, return value has the same meaning as
17709 any other GSource (FALSE == remove source).
17710 _add_watch() and _add_watch_full() now take a MessageType mask to
17711 only handle specific types of messages.
17712 _poll() returns the GstMessage instead of the message type to avoid
17714 _have_pending() takes a MessageType mask now too.
17715 Added testsuite for multiple bus watches.
17716 Fix testsuites and applications for new bus API.
17718 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17720 * check/Makefile.am:
17721 mark a bunch of the tests as to fix until we fix them
17723 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17725 * common/check.mak:
17726 use GST_PLUGIN settings for valgrind tests as well, so we're
17727 valgrinding the correct thing
17728 * gst/gst.c: (init_post):
17731 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17733 * gst/gst.c: (init_post), (gst_deinit):
17734 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17735 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17736 * gst/gstindex.c: (gst_index_factory_class_init),
17737 (gst_index_factory_finalize):
17738 * gst/gstobject.c: (gst_object_dispose):
17739 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17740 (gst_plugin_load_file), (gst_plugin_desc_free):
17741 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17742 (gst_plugin_feature_finalize):
17743 * gst/gstregistry.c: (gst_registry_class_init),
17744 (gst_registry_init), (gst_registry_finalize),
17745 (gst_registry_get_default), (gst_registry_deinit):
17746 * gst/gstregistry.h:
17747 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17748 various cleanups and memleak plugging. make valgrind is happy now.
17750 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17752 * common/check.mak:
17753 add a check-valgrind target
17755 2005-09-18 David Schleef <ds@schleef.org>
17757 * tools/gst-inspect.c: Revert the GOption code.
17759 2005-09-17 David Schleef <ds@schleef.org>
17761 * check/Makefile.am: Fix environment variables.
17762 * check/gst/gstplugin.c: Fix for API changes.
17763 * tools/gst-inspect.c: Fix for API changes.
17764 * tools/gst-xmlinspect.c: Fix for API changes.
17765 * gst/gstelementfactory.c:
17768 * gst/gstpluginfeature.c:
17769 * gst/gstpluginfeature.h:
17770 * gst/gstregistry.c:
17771 * gst/gstregistry.h:
17772 * gst/gstregistryxml.c:
17773 * gst/gsttypefind.c:
17774 * gst/gsttypefindfactory.c:
17775 * gst/indexers/gstfileindex.c:
17776 * gst/indexers/gstmemindex.c:
17777 * gst/schedulers/Makefile.am:
17778 Change registry to keep track of both plugins and features,
17779 removing the feature tracking from plugins themselves.
17781 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17783 * check/Makefile.am:
17784 * tools/gst-register.1.in:
17785 remove gst-register
17787 2005-09-15 David Schleef <ds@schleef.org>
17789 * check/gst/gstplugin.c:
17790 * gst/gstelementfactory.c:
17792 * gst/gstpluginfeature.c:
17793 * gst/gstregistry.c:
17794 Getting tired of debugging. Disabled all the unreffing of
17795 plugins and features, which fixes the segfaults, but of
17796 course leaks like crazy. At least playbin works.
17798 2005-09-15 David Schleef <ds@schleef.org>
17800 * check/gst/gstplugin.c: (register_check_elements),
17801 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17803 * gst/elements/gsttypefindelement.c: Fix refcounting.
17804 * gst/gsttypefind.c:
17805 * gst/gsttypefindfactory.c:
17806 * gst/gsttypefindfactory.h:
17808 2005-09-15 David Schleef <ds@schleef.org>
17810 * gst/gstindex.c: get refcounting correct.
17811 * gst/gstregistry.c: Handle the case where a feature/plugin is
17814 2005-09-15 David Schleef <ds@schleef.org>
17816 * check/Makefile.am:
17817 * check/gst/gstplugin.c: Add test
17818 * gst/gstplugin.c: Fix problems noticed by testsuite
17820 * gst/gstregistry.c:
17821 * gst/gstregistry.h:
17823 2005-09-15 David Schleef <ds@schleef.org>
17825 * gst/gstplugin.c: Implement semi-decent recounting and locking
17826 in plugins and plugin features.
17828 * gst/gstpluginfeature.c:
17829 * gst/gstpluginfeature.h:
17830 * gst/gstregistry.c:
17832 2005-09-15 Michael Smith <msmith@fluendo.com>
17834 * gst/gstregistry.c: (gst_registry_get_feature_list):
17835 Implement this. Makes oggdemux work; decodebin still broken.
17837 2005-09-14 David Schleef <ds@schleef.org>
17839 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17841 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17842 * gst/check/Makefile.am:
17843 * libs/gst/controller/Makefile.am:
17844 * libs/gst/dataprotocol/Makefile.am:
17846 2005-09-14 David Schleef <ds@schleef.org>
17848 * configure.ac: Remove getbits library. Nothing uses it, and
17849 it should be in something like liboil if someone did want
17851 * libs/gst/Makefile.am:
17852 * libs/gst/getbits/Makefile.am:
17853 * libs/gst/getbits/gbtest.c:
17854 * libs/gst/getbits/getbits.c:
17855 * libs/gst/getbits/getbits.h:
17856 * libs/gst/getbits/gstgetbits_generic.c:
17857 * libs/gst/getbits/gstgetbits_i386.s:
17858 * libs/gst/getbits/gstgetbits_inl.h:
17860 2005-09-14 David Schleef <ds@schleef.org>
17862 * gst/Makefile.am: Dist glib-compat.h
17864 2005-09-14 David Schleef <ds@schleef.org>
17866 * configure.ac: Remove gst/registries, since it's no longer used.
17867 * gst/registries/Makefile.am:
17868 * gst/registries/gstlibxmlregistry.c:
17869 * gst/registries/gstlibxmlregistry.h:
17870 * gst/registries/gstxmlregistry.c:
17871 * gst/registries/gstxmlregistry.h:
17872 * gst/registries/registrytest.c:
17874 2005-09-14 David Schleef <ds@schleef.org>
17876 * gst/glib-compat.h:
17877 * gst/gstregistryxml.c:
17878 Convergence is near. Seriously.
17880 2005-09-14 David Schleef <ds@schleef.org>
17882 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17883 * gst/glib-compat.h:
17884 Attempt #4 to appease the buildbots.
17886 2005-09-14 David Schleef <ds@schleef.org>
17888 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17891 2005-09-14 David Schleef <ds@schleef.org>
17893 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17896 2005-09-14 David Schleef <ds@schleef.org>
17898 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17901 2005-09-14 David Schleef <ds@schleef.org>
17903 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17904 * gst/glib-compat.h: Add some functions that are in newer versions
17905 of glib than we care to require.
17906 * gst/gstregistryxml.c: Use them.
17908 2005-09-14 David Schleef <ds@schleef.org>
17910 * po/POTFILES.in: remove gst-register.c
17912 2005-09-14 David Schleef <ds@schleef.org>
17914 * docs/gst/gstreamer-docs.sgml:
17915 * docs/gst/gstreamer-sections.txt:
17916 * docs/gst/gstreamer.types:
17917 * docs/gst/tmpl/gstelement.sgml:
17918 * docs/gst/tmpl/gstplugin.sgml:
17919 * docs/gst/tmpl/gstpluginfeature.sgml:
17920 Documentation updates for registry changes.
17922 2005-09-14 David Schleef <ds@schleef.org>
17924 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17925 because we don't require glib-2.8.
17927 2005-09-14 David Schleef <ds@schleef.org>
17929 * gst/gstregistryxml.c: Added. Essentially moved out of the
17930 registries directory.
17932 2005-09-14 David Schleef <ds@schleef.org>
17934 * check/Makefile.am:
17935 * check/generic/states.c:
17939 * gst/gst_private.h:
17940 * gst/gstelementfactory.c:
17945 * gst/gstpluginfeature.c:
17946 * gst/gstpluginfeature.h:
17947 * gst/gstregistry.c:
17948 * gst/gstregistry.h:
17949 * gst/gstregistrypool.c: remove
17950 * gst/gstregistrypool.h: remove
17951 * gst/gsttypefind.c:
17952 * gst/gsttypefindfactory.c:
17954 * tools/Makefile.am:
17955 * tools/gst-compprep.c:
17956 * tools/gst-inspect.c:
17957 * tools/gst-register.c: remove
17958 * tools/gst-xmlinspect.c:
17959 Registry rewrite. Changes registry from being a file created
17960 by a tool into a simple cache file created automatically by
17961 libgstreamer. Removed gst-register (because it's no longer
17962 needed). Remove registry pools, because we only have one
17963 registry implementation (XML). Fix up other subsystems as
17966 2005-09-13 Michael Smith <msmith@fluendo.com>
17968 * gst/gstconfig.h.in:
17969 Don't Use windows linking attributes for MinGW. Fixes #316157
17971 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
17973 * gst/gstutils.c: (set_state_async_thread_func),
17974 (gst_element_set_state_async):
17975 Apparently people think it's better if this function doesn't
17976 try to set the state to whatever state was asked for on the first
17977 call to this function for any object. Seriously.
17979 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17981 * check/gst/gstpipeline.c: (GST_START_TEST):
17982 * docs/gst/gstreamer-sections.txt:
17983 * gst/gstutils.c: (set_state_async_thread_func),
17984 (gst_element_set_state_async):
17986 add a "gst_element_set_state_async" method that
17987 sets the state and starts a thread to make sure the state
17988 change completes as best as it can
17990 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17992 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17993 codify design+behaviour in testsuite after discussion
17995 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17997 * docs/gst/tmpl/gstelement.sgml:
17998 * docs/manual/appendix-quotes.xml:
18000 * gst/gstelement.c: (gst_element_set_state):
18003 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18005 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18006 (gst_base_transform_prepare_output_buf),
18007 (gst_base_transform_handle_buffer):
18008 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18009 (gst_capsfilter_prepare_buf):
18010 Remove the requirement for sub-classes to call the parent
18011 implementation of prepare_output_buffer with a wrapper function.
18013 * gst/gsttaglist.h:
18014 * gst/gsttagsetter.h:
18015 Fix #define wrapper
18017 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18019 * docs/gst/gstreamer-sections.txt:
18022 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18024 * docs/gst/gstreamer-sections.txt:
18025 * docs/gst/tmpl/gstelement.sgml:
18026 * docs/gst/tmpl/gstplugin.sgml:
18027 * gst/gstminiobject.c:
18029 docs now stop throwing warnings
18031 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18033 * docs/gst/gstreamer-sections.txt:
18034 * docs/gst/gstreamer.types:
18035 * docs/gst/tmpl/gstpad.sgml:
18036 * docs/gst/tmpl/gsttypes.sgml:
18037 * gst/base/gstadapter.h:
18038 * gst/base/gstbasesink.h:
18039 * gst/base/gstbasesrc.h:
18045 * gst/gstelement.h:
18047 * gst/gstmessage.h:
18049 * gst/gststructure.c:
18050 * gst/registries/gstlibxmlregistry.h:
18051 various documentation fixes
18053 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18055 * docs/gst/gstreamer-sections.txt:
18056 * docs/gst/tmpl/gstvalue.sgml:
18057 rearrange gstvalue section
18058 * gst/gstutils.c: (gst_element_state_get_name):
18060 * gst/gstvalue.c: (_gst_value_initialize):
18064 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18066 * check/gst-libs/controller.c:
18067 Header include fix.
18068 * gst/base/gstbasetransform.c:
18069 (gst_base_transform_default_prepare_buf),
18070 (gst_base_transform_handle_buffer):
18071 * gst/base/gstbasetransform.h:
18072 Some more basetransform changes and fixes to enable sub-classes
18073 that modify buffer metadata only.
18074 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18075 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18076 (gst_capsfilter_prepare_buf):
18077 If the output pad has fixed allowed caps and input buffers
18078 don't have any, set the fixed caps on outgoing buffers.
18080 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18081 * check/elements/identity.c: (GST_START_TEST):
18082 Make the error a little clearer when the test fails because
18083 identity made a copy of the buffer.
18084 * docs/gst/gstreamer-sections.txt:
18085 New symbols in gstbasetransform.h
18086 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18087 (gst_base_transform_init), (gst_base_transform_transform_size),
18088 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18089 (gst_base_transform_default_prepare_buf),
18090 (gst_base_transform_get_unit_size),
18091 (gst_base_transform_buffer_alloc),
18092 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18093 (gst_base_transform_change_state),
18094 (gst_base_transform_set_passthrough),
18095 (gst_base_transform_set_in_place),
18096 (gst_base_transform_is_in_place):
18097 * gst/base/gstbasetransform.h:
18098 Change BaseTransform to separate in_place operate from same_caps
18099 output. in_place implies that the element can perform the transform
18100 on incoming buffers in-place, even if the caps on the output are
18102 Sub-class elements can now implement special buffer allocation
18103 methods for outgoing buffers if they wish to.
18104 Big documentation addition.
18105 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18106 * gst/elements/gstelements.c:
18107 Changes for basetransform modifications.
18108 * gst/elements/Makefile.am:
18109 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18110 Compile fix. Extra debug output.
18112 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18114 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18116 add tests for valid pad naming
18117 * gst/check/gstcheck.c: (gst_check_log_message_func),
18118 (gst_check_log_critical_func):
18120 remove printing of code, it is fragile when the code contains
18121 % and the line number is enough info
18122 * gst/check/gstcheck.h:
18123 * gst/gstpad.c: (gst_pad_template_new):
18126 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18129 say what CHECK flags we use
18130 * docs/libs/gstreamer-libs.types:
18131 * libs/gst/controller/Makefile.am:
18132 * libs/gst/controller/gst-controller.c:
18133 * libs/gst/controller/gst-controller.h:
18134 * libs/gst/controller/gst-helper.c:
18135 * libs/gst/controller/gst-interpolation.c:
18136 * libs/gst/controller/gstcontroller.c:
18137 * libs/gst/controller/gsthelper.c:
18138 * libs/gst/controller/gstinterpolation.c:
18139 * tools/gst-inspect.c: (print_plugin_info):
18140 we don't use dashes in header names
18142 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18144 * check/Makefile.am:
18145 * check/gst/.cvsignore:
18146 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18147 (gst_pipeline_suite), (main):
18148 adding a test for pipelines and state changes
18149 * gst/gstutils.c: (get_state_func):
18151 * gstreamer.spec.in:
18154 2005-09-08 Michael Smith <msmith@fluendo.com>
18156 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18157 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18158 (gst_file_src_is_seekable), (gst_file_src_get_size),
18159 (gst_file_src_start):
18160 * gst/elements/gstfilesrc.h:
18161 Various fixes for unseekable, unmmapable, and non-normal files, so
18162 that fallback to read() rather than mmap() works.
18163 * gst/gstevent.c: (gst_event_new_newsegment):
18164 Allow newsegment events with segment_start == segment_end, as will
18165 correctly happen if you use filesrc on a zero-size file, for
18168 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18170 * gst/gstplugin.c: (gst_plugin_load_file):
18171 Call g_module_close when we don't load the module
18173 * gst/registries/gstlibxmlregistry.c:
18174 (gst_xml_registry_get_property):
18175 Port leak fix from 0.8
18177 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18179 * docs/gst/gstreamer-docs.sgml:
18180 * docs/gst/tmpl/.cvsignore:
18181 * docs/gst/tmpl/gsttrace.sgml:
18182 * docs/gst/tmpl/gsttrashstack.sgml:
18185 * gst/gstelement.h:
18187 * gst/gstmessage.c:
18188 * gst/gstmessage.h:
18191 * gst/gsttaginterface.c:
18192 * gst/gsttaginterface.h:
18193 * gst/gsttaglist.c:
18194 * gst/gsttaglist.h:
18195 * gst/gsttagsetter.c:
18196 * gst/gsttagsetter.h:
18199 * gst/gsttrashstack.c:
18200 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18201 inlined docs for gsttrace, gsttrashstack
18203 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18206 * gst/elements/gstbufferstore.h:
18207 * gst/elements/gsttypefindelement.c:
18208 * gst/elements/gsttypefindelement.h:
18210 * gst/gsttypefind.c:
18211 * gst/gsttypefind.h:
18212 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18213 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18214 (gst_type_find_factory_dispose),
18215 (gst_type_find_factory_unload_thyself),
18216 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18217 (gst_type_find_factory_get_caps),
18218 (gst_type_find_factory_get_extensions),
18219 (gst_type_find_factory_call_function):
18220 * gst/gsttypefindfactory.h:
18221 * gst/registries/gstlibxmlregistry.c:
18222 * gst/registries/gstxmlregistry.c:
18223 splitted gsttypefind into gsttypefind, gsttypefindfactory
18225 2005-09-07 Andy Wingo <wingo@pobox.com>
18227 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18228 condition whereby the pad's task function is entered before the
18229 pad_mode variable was set.
18231 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18233 * gst/gstpad.c: (gst_pad_alloc_buffer):
18234 Catch misbehaving pad_alloc functions that don't
18235 set up caps and do it for them.
18237 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18239 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18240 test for pipe!=NULL
18241 * docs/gst/tmpl/.cvsignore:
18242 * docs/gst/tmpl/gstmemchunk.sgml:
18243 * docs/gst/tmpl/gstparse.sgml:
18244 * docs/gst/tmpl/gsttaglist.sgml:
18245 * docs/gst/tmpl/gsttagsetter.sgml:
18246 * docs/gst/tmpl/gsttypefind.sgml:
18247 * docs/gst/tmpl/gsttypefindfactory.sgml:
18248 * gst/gstmemchunk.c:
18251 * gst/gsttaginterface.c:
18252 * gst/gsttypefind.c:
18253 * gst/gsttypefind.h:
18256 === release 0.9.2 ===
18258 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18263 releasing 0.9.2, "South"
18265 2005-09-05 Andy Wingo <wingo@pobox.com>
18267 * gst/registries/gstxmlregistry.h:
18268 * gst/registries/gstxmlregistry.c: Um... resurrect...
18270 * gst/registries/gstxmlregistry.h:
18271 * gst/registries/gstxmlregistry.c: and update to newer API.
18272 Incidentally they should be a bit faster now that they don't have
18275 2005-09-05 Andy Wingo <wingo@pobox.com>
18277 * gst/registries/gstxmlregistry.h:
18278 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18279 replaced by the libxml registry a while back
18281 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18283 * docs/gst/tmpl/gstplugin.sgml:
18284 * gst/elements/gstelements.c:
18286 * gst/gstplugin.c: (gst_plugin_register_func),
18287 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18288 (gst_plugin_get_source):
18290 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18291 (gst_xml_registry_save_plugin):
18292 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18293 (gst_xml_registry_save_plugin):
18294 * tools/gst-inspect.c: (print_plugin_info):
18295 add a "source" plugin description field, to represent the source
18296 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18297 will set it to PACKAGE, which is automake's idea of the name of
18298 the source project.
18300 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18305 * docs/Makefile.am:
18306 * docs/faq/Makefile.am:
18307 * docs/gst/tmpl/gstelement.sgml:
18308 * docs/gst/tmpl/gsttypes.sgml:
18309 * docs/htmlinstall.mak:
18310 * docs/manual/Makefile.am:
18311 * docs/pwg/Makefile.am:
18312 reorganize doc build a little
18313 split out docbook and gtk-doc stuff
18314 have two separate --enable's and enable them through autogen
18315 but disable by default in configure (to be similar to other
18317 * gstreamer.spec.in:
18318 clean up docs install
18336 translation updates
18338 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18340 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18343 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18344 (gst_fake_sink_change_state):
18345 Make state change function thread-safe.
18347 * gst/gstpad.c: (gst_pad_alloc_buffer):
18348 Set offset on generic buffer allocated by fallback.
18350 2005-09-03 Stefan Kost <ensonic@users.sf.net>
18352 * docs/gst/gstreamer-sections.txt:
18353 * docs/gst/tmpl/gstelement.sgml:
18355 * libs/gst/controller/gst-controller.c:
18356 (gst_controlled_property_set_interpolation_mode),
18357 (gst_controlled_property_new),
18358 (gst_controller_find_controlled_property):
18359 run the wingo-magic script against the docs
18361 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18363 * docs/gst/gstreamer-docs.sgml:
18364 * docs/gst/gstreamer-sections.txt:
18365 * docs/gst/tmpl/.cvsignore:
18366 * docs/gst/tmpl/gstelementdetails.sgml:
18367 * docs/gst/tmpl/gstelementfactory.sgml:
18370 * gst/gstelementfactory.c:
18371 * gst/gstelementfactory.h:
18372 merged elementdetails docs into elementfactory docs
18375 2005-09-02 Andy Wingo <wingo@pobox.com>
18377 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18378 consider this enum an enum and not a flags.
18380 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18382 * docs/gst/gstreamer-docs.sgml:
18383 * docs/gst/tmpl/.cvsignore:
18384 * docs/gst/tmpl/gstghostpad.sgml:
18385 * docs/gst/tmpl/gstiterator.sgml:
18386 * docs/gst/tmpl/gstmacros.sgml:
18387 * docs/gst/tmpl/gstrealpad.sgml:
18388 * docs/gst/tmpl/gstregistry.sgml:
18389 * docs/gst/tmpl/gstregistrypool.sgml:
18390 * docs/gst/tmpl/gststructure.sgml:
18391 * docs/gst/tmpl/gstsystemclock.sgml:
18392 * docs/gst/tmpl/gsttrace.sgml:
18393 * gst/gstghostpad.c:
18395 * gst/gstmemchunk.c:
18396 * gst/gstmemchunk.h:
18398 * gst/gstregistry.c:
18399 * gst/gstregistrypool.c:
18400 * gst/gststructure.c:
18401 * gst/gstsystemclock.c:
18404 2005-09-02 Andy Wingo <wingo@pobox.com>
18406 * gst/gstelement.h (GstState): Renamed from GstElementState,
18407 changed to be a normal enum instead of flags.
18408 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18409 munged to be GST_STATE_CHANGE_*.
18410 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18411 work with the new state representation.
18412 (GstStateChange): New enumeration of possible state transitions.
18413 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18414 (GstElementClass::change_state): Pass the GstStateChange along as
18415 an argument. Helps language bindings, so they don't have to use
18416 tricky lock-needing macros like GST_STATE_CHANGE ().
18418 * scripts/update-states (file): New script. Run it on a file to
18419 update it for state naming and API changes. Updates files in
18422 * All files updated for the new API.
18424 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
18426 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18427 * gst/gstutils.c: (gst_util_set_value_from_string),
18428 (gst_util_set_object_arg):
18429 fix a bunch of unchecked return values
18430 * tools/gst-complete.c: (main):
18431 * gstreamer.spec.in:
18434 2005-09-01 Wim Taymans <wim@fluendo.com>
18436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18437 (gst_base_sink_event), (gst_base_sink_do_sync),
18438 (gst_base_sink_handle_event):
18439 * gst/base/gstbasesink.h:
18440 Handle newsegments more correctly.
18445 * gst/gstevent.c: (gst_event_new_newsegment):
18446 A newsegment cannot have a start_time of -1
18448 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
18450 * win32/gstenumtypes.c:
18451 * win32/gstenumtypes.h:
18454 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18456 * libs/gst/controller/gst-controller.c:
18457 (gst_controlled_property_set_interpolation_mode),
18458 (gst_controlled_property_new):
18459 fixed boolean again
18461 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
18463 * docs/faq/gst-uninstalled:
18468 * gst/gstutils.c: (gst_element_link_filtered):
18470 add gst_element_link_filtered
18472 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18474 * docs/gst/gstreamer-docs.sgml:
18475 * docs/gst/gstreamer-sections.txt:
18476 * docs/gst/tmpl/.cvsignore:
18477 * docs/gst/tmpl/gsterror.sgml:
18478 * docs/gst/tmpl/gstfilter.sgml:
18479 * docs/gst/tmpl/gsturihandler.sgml:
18480 * docs/gst/tmpl/gsturitype.sgml:
18481 * docs/gst/tmpl/gstutils.sgml:
18482 * docs/gst/tmpl/gstxml.sgml:
18487 * gst/gsturitype.c:
18490 inlined more docs, fixed double id-ref
18492 2005-08-31 Wim Taymans <wim@fluendo.com>
18494 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18495 (gst_base_transform_handle_buffer):
18496 Passthrough elements don't need the caps as they don't care.
18498 2005-08-31 Wim Taymans <wim@fluendo.com>
18500 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18501 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18502 Don't leak refcounts on buffers.
18504 2005-08-31 Wim Taymans <wim@fluendo.com>
18506 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18507 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18508 (gst_base_transform_chain), (gst_base_transform_change_state):
18509 * gst/base/gstbasetransform.h:
18510 Handle the case where we are not negotiated more gracefully.
18512 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18514 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18515 (gst_file_src_map_region):
18516 Set READONLY flag on mmap'ed buffers, otherwise
18517 gst_buffer_make_writable() won't work properly (#314708).
18519 2005-08-31 Wim Taymans <wim@fluendo.com>
18521 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18522 passthrough elements can even do inplace on non writable
18523 buffers (as they don't touch them).
18525 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18527 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18528 (gst_test_mono_source_set_property),
18529 (gst_test_mono_source_class_init), (GST_START_TEST),
18530 (gst_controller_suite):
18531 more tests (hehe I have the most)
18533 describe popping messages whenusing mulltiple sources
18534 * libs/gst/controller/gst-controller.c:
18535 (gst_controlled_property_set_interpolation_mode),
18536 (gst_controlled_property_new):
18537 * libs/gst/controller/gst-controller.h:
18538 * libs/gst/controller/gst-interpolation.c:
18539 implement boolean properties
18541 2005-08-31 Wim Taymans <wim@fluendo.com>
18543 * gst/gstminiobject.c: (gst_mini_object_ref):
18544 Cannot assert that the refcount has to be positive
18545 since a disposed object can be resurrected.
18547 2005-08-31 Wim Taymans <wim@fluendo.com>
18549 * gst/gstpad.c: (gst_pad_init):
18550 Revert change, need to first fix badly behaving
18553 2005-08-30 Wim Taymans <wim@fluendo.com>
18555 * check/elements/fakesrc.c: (setup_fakesrc):
18556 * check/elements/identity.c: (setup_identity):
18557 Activate pads before using them.
18559 2005-08-30 Wim Taymans <wim@fluendo.com>
18561 * gst/base/gstadapter.c: (gst_adapter_flush):
18562 Flushing out 0 bytes is ok for this function.
18564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18565 no newsegment gives a warning and sets the start/stop to
18568 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18569 (gst_base_transform_set_passthrough):
18572 * gst/gstminiobject.c: (gst_mini_object_ref):
18573 Check refcount here too.
18575 * gst/gstpad.c: (gst_pad_init):
18576 Pads are initially flushing and refusing data.
18578 * gst/gstutils.c: (gst_element_link_pads_filtered):
18579 When adding a capsfilter element make sure it has the
18580 same state as the parent bin.
18582 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18584 * docs/gst/tmpl/.cvsignore:
18585 * docs/gst/tmpl/gstformat.sgml:
18586 * docs/gst/tmpl/gstversion.sgml:
18590 * gst/gstversion.h.in:
18591 more docs and two more inlined
18593 2005-08-30 Wim Taymans <wim@fluendo.com>
18595 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18596 Don't sync to clock.
18598 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18600 * docs/gst/gstreamer-sections.txt:
18601 ultral33t func10ns deserve to appear in the docs actually
18602 * docs/gst/tmpl/.cvsignore:
18603 * docs/gst/tmpl/gstcompat.sgml:
18604 * docs/gst/tmpl/gstconfig.sgml:
18605 * gst/check/gstcheck.c:
18607 * gst/gstconfig.h.in:
18610 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18612 * docs/gst/tmpl/.cvsignore:
18613 * docs/gst/tmpl/gstquery.sgml:
18614 * docs/gst/tmpl/gstutils.sgml:
18617 inlined and extended docs
18619 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18621 * check/gst-libs/controller.c: (GST_START_TEST),
18622 (gst_controller_suite):
18624 * docs/gst/tmpl/gstutils.sgml:
18625 * docs/libs/gstreamer-libs-sections.txt:
18626 * docs/libs/tmpl/gstdataprotocol.sgml:
18628 * examples/controller/audio-example.c: (main):
18629 controller example works now
18632 * tools/gst-inspect.c: (print_element_properties_info):
18633 show param spec flags
18635 2005-08-29 Andy Wingo <wingo@pobox.com>
18637 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18639 2005-08-28 Andy Wingo <wingo@pobox.com>
18641 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18642 as having two arguments instead of just one. Allows superclasses
18643 to access information on subclasses -- see the terrible for() loop
18644 in gtype.c:g_type_create_instance for the reason why. All callers
18647 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18649 * docs/design/part-messages.txt:
18651 * docs/gst/tmpl/.cvsignore:
18652 * docs/gst/tmpl/gstcaps.sgml:
18653 * docs/gst/tmpl/gstclock.sgml:
18659 * gst/gstmessage.c:
18660 added descriptions for bus and message
18661 inline caps and clock docs
18663 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18665 * gst/gstmessage.c:
18666 * gst/gstmessage.h:
18669 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18671 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18674 2005-08-26 Andy Wingo <wingo@pobox.com>
18676 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18677 element_set_state's return val.
18678 (test_2_elements): Add test that's been disabled for months.
18680 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18681 can-activate-pull properties.
18683 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18684 can-activate-pull properties. Implement is_seekable so fakesrc can
18685 operate in pull mode.
18687 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18689 (gst_base_sink_activate, gst_base_sink_activate_pull)
18690 (gst_base_sink_activate_push): Make activation mode choosing work.
18692 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18693 is right. Make pull mode work. Post an eos before pausing in pull
18695 (gst_base_sink_change_state): Pay attention to the core's
18696 change_state() return val.
18698 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18699 has-getrange properties. Cleanups.
18701 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18702 has_getrange and replace with can_activate_pull and
18705 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18706 locking comments. Remove has_loop, has_chain and replace with
18707 can_activate_pull and can_activate_push.
18709 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18712 * examples/Makefile.am:
18713 * examples/metadata/Makefile.am:
18714 * examples/metadata/read-metadata.c: (message_loop),
18715 (have_pad_handler), (make_pipeline), (print_tag), (main):
18716 Add metadata reading example that loops over a list of filenames,
18717 dumping any tags found.
18719 * gst/gstbus.c: (gst_bus_dispose):
18720 * gst/gstelement.c: (gst_element_dispose):
18721 Release a few potentially-held references in dispose.
18723 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18725 * docs/gst/tmpl/gstminiobject.sgml:
18726 do *not* add tmpl/*.sgml files to CVS!
18728 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18730 * libs/gst/bytestream/.cvsignore:
18731 * libs/gst/bytestream/Makefile.am:
18732 * libs/gst/bytestream/adapter.c:
18733 * libs/gst/bytestream/adapter.h:
18734 * libs/gst/bytestream/bytestream.c:
18735 * libs/gst/bytestream/bytestream.h:
18736 * libs/gst/bytestream/filepad.c:
18737 * libs/gst/bytestream/filepad.h:
18738 removing obsolete files
18740 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18742 * docs/gst/gstreamer-docs.sgml:
18743 * docs/libs/gstreamer-libs-docs.sgml:
18744 disabed additional index entries again, as this makes docs-gen just
18745 slow and they aren't useful yet
18746 * docs/libs/gstreamer-libs-sections.txt:
18747 little -section.txt cleanup for libs
18749 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18752 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18753 fix up some debugging
18754 (gst_base_transform_get_unit_size),
18755 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18756 (gst_base_transform_handle_buffer):
18757 * gst/base/gstbasetransform.h:
18758 handle and store timed NEWSEGMENT events so that subclasses that
18759 calculate time by counting samples have a segment_start time they
18760 need to add to their timestamps - see audioresample
18762 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18765 removed ';' from the end of macro defs
18766 * docs/gst/gstreamer-docs.sgml:
18767 * docs/gst/gstreamer-sections.txt:
18768 * docs/gst/tmpl/.cvsignore:
18770 * gst/gstelement.c: (gst_element_class_init),
18771 (gst_element_set_state), (activate_pads),
18772 (gst_element_save_thyself):
18773 * gst/gstevent.c: (gst_event_new_newsegment):
18775 * gst/gstiterator.c:
18776 * gst/gstiterator.h:
18779 * gst/gstutils.c: (gst_pad_query_convert):
18781 fixed parameter name mismatches between source, header and docs
18782 added some more docs, resolved the last batch of unused elements in
18783 docs (now someone needs to doc them)
18785 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18787 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18788 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18789 don't walk through the plugins backwards. Where is all this
18790 reversed logic coming from ?
18792 2005-08-25 Wim Taymans <wim@fluendo.com>
18794 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18795 (gst_base_transform_transform_size),
18796 (gst_base_transform_configure_caps),
18797 (gst_base_transform_get_unit_size),
18798 (gst_base_transform_buffer_alloc),
18799 (gst_base_transform_change_state):
18800 * gst/base/gstbasetransform.h:
18801 Cache caps unit_size.
18802 Make sure we cannot negotiate up and downstream at the
18805 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18807 * gst/gst.c: (init_pre), (init_post):
18808 register the installed plugin path after the env var
18809 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18810 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18811 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18812 directories, so the tests can prefer uninstalled over installed
18814 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18816 * gst/base/gstbasetransform.h:
18821 2005-08-25 Wim Taymans <wim@fluendo.com>
18823 * gst/gstbin.c: (bin_bus_handler):
18824 Be a bit more conservative about the posted message.
18826 * gst/gstbus.c: (gst_bus_post):
18827 Some cleanups, warn wrong return values.
18829 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18831 * check/gst/gstbin.c: (GST_START_TEST):
18832 * gst/gstbin.c: (bin_bus_handler):
18833 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18834 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18835 (gst_message_new_warning), (gst_message_new_tag),
18836 (gst_message_new_state_changed), (gst_message_new_segment_start),
18837 (gst_message_new_segment_done), (gst_message_new_custom):
18838 * gst/gstmessage.h:
18839 * tools/gst-launch.c: (event_loop):
18840 * tools/gst-md5sum.c: (event_loop):
18841 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18843 2005-08-25 Wim Taymans <wim@fluendo.com>
18845 * check/generic/states.c: (GST_START_TEST):
18846 Cleanup can be done at the end.
18848 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18849 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18850 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18851 Oh boy.. Thanks for finding this, Thomas.
18853 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18855 * docs/gst/gstreamer.types:
18856 added missing types
18858 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18860 * docs/gst/gstreamer-docs.sgml:
18861 * docs/gst/gstreamer-sections.txt:
18862 * docs/gst/tmpl/.cvsignore:
18864 * gst/gstiterator.c:
18866 * gst/registries/gstxmlregistry.h:
18867 added missing classes and symbols (123 more to go)
18868 removed removed symbols from section file
18869 fixed many doc-comments
18871 2005-08-24 Wim Taymans <wim@fluendo.com>
18873 * check/generic/states.c: (GST_START_TEST):
18874 Make sure all tasks are stopped.
18876 * check/gst/gstbin.c: (GST_START_TEST):
18877 Unref after usage for proper valgrinding.
18879 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18880 Really wait for the task to stop before destroying the
18883 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18884 (gst_queue_src_activate_push):
18885 Small cleanups. Don't stop the task when we did not start
18888 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18889 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18890 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18893 Protect the stream lock with the object lock.
18894 Disallow setting the stream lock when running.
18895 Add cleanup_all to wait for the threadpool to finish.
18896 Remove code to autoallocate a mutex if none was provided.
18897 Add _join() to wait for a task to stop.
18898 Protect the thread pool with a global lock.
18900 2005-08-24 Wim Taymans <wim@fluendo.com>
18902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18903 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18904 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18905 * gst/base/gstbasesink.h:
18906 Handle newsegment events correctly.
18907 Drop buffers out of the segment range.
18909 2005-08-22 Andy Wingo <wingo@pobox.com>
18911 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18912 macro, implements an interface and gstimplementsinterface for a
18915 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18917 * check/Makefile.am:
18918 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18919 add a test that does a bunch of state changes on elements
18920 needs some fixing for valgrind
18921 * check/states/sinks.c: (gst_object_suite):
18924 add prototype for gst_caps_is_equal_fixed
18926 * gst/gstregistrypool.c:
18929 2005-08-24 Andy Wingo <wingo@pobox.com>
18931 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18932 convert a negative value. Doesn't make much sense. Mostly this is
18933 here to force callers to ensure -1 maps to -1.
18935 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18937 * docs/pwg/advanced-types.xml:
18938 Well done to Michael for catching my deliberate introduction
18939 of this spelling mistake.
18940 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18941 * gst/gstelement.h:
18942 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18943 unlink pads before removing the element from the bin.
18945 2005-08-24 Andy Wingo <wingo@pobox.com>
18947 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18948 the same thing as GST_DEBUG=*:4.
18949 (parse_debug_level, parse_debug_category): New helper parsers.
18951 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18953 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18954 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18955 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18956 (gst_base_transform_buffer_alloc),
18957 (gst_base_transform_handle_buffer):
18958 use gboolean return values and pointers to size so we can use the
18959 full GST_BUFFER_SIZE range (guint) for buffer sizes
18960 use GstPadDirection for transform_caps
18961 * gst/base/gstbasetransform.h:
18962 rename get_size to get_unit_size since that's what it is
18963 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18964 use GstPadDirection for transform_caps
18965 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18967 cleanup and debugging
18969 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18971 * gst/gstelement.c: (gst_element_class_init),
18972 (gst_element_set_state), (activate_pads),
18973 (gst_element_save_thyself):
18974 * tools/gst-compprep.c: (main):
18975 * tools/gst-inspect.c: (print_element_properties_info):
18976 * tools/gst-xmlinspect.c: (print_element_properties):
18977 Fixed long standing mem-leak
18979 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18981 * check/gst/gstbin.c: (GST_START_TEST):
18982 * gst/gstbin.c: (bin_bus_handler):
18983 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18984 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18985 (gst_message_new_warning), (gst_message_new_tag),
18986 (gst_message_new_state_changed), (gst_message_new_segment_start),
18987 (gst_message_new_segment_done), (gst_message_new_custom):
18988 * gst/gstmessage.h:
18989 * tools/gst-launch.c: (event_loop):
18990 * tools/gst-md5sum.c: (event_loop):
18991 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
18992 that applications can sensibly post custom messages with references
18993 to their own objects.
18995 2005-08-24 Andy Wingo <wingo@pobox.com>
18997 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19000 2005-08-24 Wim Taymans <wim@fluendo.com>
19002 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19003 (gst_base_transform_transform_caps),
19004 (gst_base_transform_transform_size),
19005 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19006 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19007 (gst_base_transform_handle_buffer):
19008 * gst/base/gstbasetransform.h:
19009 Many fixes and new features added by Thomas. Can now also do
19010 transforms with variable sizes and a custom fixate_caps function.
19012 2005-08-24 Wim Taymans <wim@fluendo.com>
19014 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19018 Cast to ClockTime before formatting to time.
19023 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19025 * check/gst-libs/controller.c: (GST_START_TEST),
19026 (gst_controller_suite):
19027 * docs/gst/tmpl/gstcaps.sgml:
19028 * docs/gst/tmpl/gstghostpad.sgml:
19029 * docs/gst/tmpl/gstquery.sgml:
19030 * docs/gst/tmpl/gstutils.sgml:
19031 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19032 (gst_object_sink_values), (gst_object_get_value_arrays),
19033 (gst_object_get_value_array):
19034 gracefully handle helper method calls to objects that are not beeing
19035 controlled, added test case for that
19037 2005-08-23 Wim Taymans <wim@fluendo.com>
19039 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19040 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19041 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19042 (gst_event_parse_qos), (gst_event_new_seek),
19043 (gst_event_parse_seek):
19045 Some more debugging output and doc cleanups.
19047 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19048 Fix possible deadlock.
19050 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19052 * docs/gst/gstreamer-docs.sgml:
19053 * docs/gst/gstreamer-sections.txt:
19054 * docs/gst/gstreamer.types:
19055 * docs/gst/tmpl/.cvsignore:
19058 * gst/gstelement.c:
19060 added 100 symbols from gstreamer-unused.txt to the right sections
19061 fixed more broken comments
19062 added GstBus to docs
19064 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19066 * docs/gst/gstreamer-sections.txt:
19067 * docs/gst/tmpl/.cvsignore:
19068 * docs/gst/tmpl/gstbin.sgml:
19069 * docs/gst/tmpl/gstbuffer.sgml:
19070 * gst/base/gstbasesrc.c:
19071 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19074 * tools/gst-launch.1.in:
19075 inlined more doc comments, added missing comments and fixed comments
19078 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19080 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19084 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19086 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19087 * gst/gststructure.h:
19088 add a fixate function for booleans; add a FIXME that these func
19089 names should probably be gst_structure_fixate_*
19091 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19093 * docs/gst/gstreamer-docs.sgml:
19094 * docs/gst/gstreamer-sections.txt:
19096 * gst/gstbin.c: (gst_bin_get_type),
19097 (gst_bin_child_proxy_get_child_by_index),
19098 (gst_bin_child_proxy_get_children_count),
19099 (gst_bin_child_proxy_init):
19100 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19101 (gst_child_proxy_get_child_by_index),
19102 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19103 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19104 (gst_child_proxy_get), (gst_child_proxy_set_property),
19105 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19106 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19107 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19108 * gst/gstchildproxy.h:
19109 * gst/parse/grammar.y:
19110 * tools/gst-inspect.c: (print_interfaces),
19111 (print_element_properties_info), (print_element_info):
19112 ported gstchildproxy over from 0.8
19113 ported gst-inspect fixes and enhancements over from 0.8
19115 2005-08-22 Wim Taymans <wim@fluendo.com>
19117 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19118 (gst_base_transform_handle_buffer):
19119 Also call the transform function if we have ANY caps.
19121 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19124 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19126 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19127 Don't pretend to handle seek events if the source is not seekable
19129 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19131 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19132 Remove extra parameter to debug output
19134 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19135 (gst_base_src_do_seek), (gst_base_src_activate_push):
19136 Fix seek event handling.
19138 * gst/gstpipeline.c: (gst_pipeline_change_state):
19139 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19140 (gst_queue_src_activate_push):
19141 Don't start the src pad task on FLUSH_STOP if the pad
19145 2005-08-22 Wim Taymans <wim@fluendo.com>
19147 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19148 Added check for gst_static_caps_get() refcounting.
19150 2005-08-22 Wim Taymans <wim@fluendo.com>
19152 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19153 Make _static_caps_get() refcounting sane.
19155 * gst/gstelement.c: (gst_element_set_state):
19156 Add g_return_val_if_fail() to protect against segfaults.
19158 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19160 * docs/gst/tmpl/gstevent.sgml:
19163 inlined remaining docs, added missing doc comments
19165 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19167 * check/gst/gstbin.c: (GST_START_TEST):
19168 since we don't know when preroll is done, use refcount range
19170 * gst/check/gstcheck.h:
19171 add macro for checking refcount range
19173 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19175 * check/Makefile.am:
19176 clean up environment for when registry gets built versus
19177 when actual tests are run; valgrind seems to not report
19178 leaks if GST_PLUGIN_PATH is set to some specific values
19179 * check/gst/gstbin.c: (GST_START_TEST):
19180 add more refcounting checks; maybe this exposes a
19182 * common/check.mak:
19183 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19184 * gst/check/gstcheck.h:
19185 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19186 (gst_bin_change_state):
19187 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19188 add/fix debugging/whitespace
19190 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19192 * check/gst/gstevent.c: (event_probe), (test_event),
19194 Er, don't call gst_bin_watch_for_state_change you idiot.
19196 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19198 * check/Makefile.am:
19199 Use CHECK_CFLAGS and CHECK_LIBS
19200 * check/gst/gstevent.c: (event_probe), (test_event),
19203 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19204 (gst_base_src_start), (gst_base_src_stop),
19205 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19206 (gst_base_src_change_state):
19207 Sprinkle gst_base_src_stop liberally around error paths to fix
19208 problems reusing a source after failed state changes.
19209 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19210 (helper_find_suggest), (gst_type_find_helper):
19211 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19213 * docs/gst/tmpl/gstevent.sgml:
19214 Migrate part of the docs from the SGML file. Wait for ensonic to
19215 tell me how I did it wrong ;)
19216 * tools/gst-typefind.c: (main):
19217 Extra robustness to state changes between files.
19219 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19221 * check/Makefile.am:
19222 don't valgrind the controller test - it's leaking - Stefan, HELP
19223 * gst/check/gstcheck.c: (gst_check_message_error),
19224 (gst_check_chain_func), (gst_check_setup_element),
19225 (gst_check_teardown_element), (gst_check_setup_src_pad),
19226 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19227 (gst_check_teardown_sink_pad):
19228 * gst/check/gstcheck.h:
19229 add a bunch of methods to set up elements, and src and sink pads
19230 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19231 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19234 * gst/gstmessage.c:
19236 whitespace/doc fixes
19238 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19240 * gst/gstelement.h:
19241 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19242 be handled by the application and not always printed as well
19244 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19246 * check/Makefile.am:
19248 * gst/check/gstcheck.c: (gst_check_message_error):
19249 * gst/check/gstcheck.h:
19250 add a fail_unless_equals_int
19251 add fail_unless for error messages
19253 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19255 * check/Makefile.am:
19257 * common/Makefile.am:
19258 * common/check.mak:
19260 factor out some of the common stuff so we can use it
19262 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19264 * check/Makefile.am:
19265 * check/gst/gstiterator.c: (GST_START_TEST):
19266 * check/gst/gstsystemclock.c: (GST_START_TEST),
19267 (gst_systemclock_suite):
19268 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19270 valgrind more tests
19272 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19274 * check/elements/.cvsignore:
19275 * check/elements/gstfakesrc.c:
19276 rename to name of element
19277 * check/elements/identity.c: (chain_func), (event_func),
19278 (setup_identity), (cleanup_identity), (GST_START_TEST),
19279 (identity_suite), (main):
19280 add a test for identity
19281 * check/Makefile.am:
19282 * pkgconfig/Makefile.am:
19283 * pkgconfig/gstreamer-check.pc.in:
19284 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19288 move the check stuff to a library that gets installed
19289 * check/gst-libs/controller.c: (GST_START_TEST):
19290 * check/gst-libs/gdp.c:
19291 * check/gst/gst.c: (GST_START_TEST):
19292 * check/gst/gstbin.c:
19293 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19294 * check/gst/gstbus.c:
19295 * check/gst/gstcaps.c: (GST_START_TEST):
19296 * check/gst/gstelement.c:
19297 * check/gst/gstghostpad.c:
19298 * check/gst/gstiterator.c:
19299 * check/gst/gstmessage.c:
19300 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19301 * check/gst/gstobject.c:
19302 * check/gst/gstpad.c: (GST_START_TEST):
19303 * check/gst/gststructure.c: (GST_START_TEST):
19304 * check/gst/gstsystemclock.c: (GST_START_TEST),
19305 (gst_systemclock_suite):
19306 * check/gst/gsttag.c: (gst_tag_suite):
19307 * check/gst/gstvalue.c:
19308 * check/pipelines/cleanup.c:
19309 * check/pipelines/simple_launch_lines.c:
19310 * check/states/sinks.c:
19311 change include statement
19313 * docs/gst/gstreamer-sections.txt:
19314 * docs/gst/tmpl/gstpad.sgml:
19315 document more pad stuff
19316 * gst/gstminiobject.c: (gst_mini_object_ref),
19317 (gst_mini_object_unref):
19320 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19322 * docs/gst/tmpl/gst.sgml:
19324 eliminate another tmpl file, fix spelling in the long-description
19326 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19328 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19329 (test_event), (timediff), (gstevents_suite):
19330 Should fix build on 64-bit arch's
19332 2005-08-18 Andy Wingo <wingo@pobox.com>
19334 Make sure that when a pipeline goes to PLAYING, that data has
19335 actually hit the sink.
19337 * check/states/sinks.c (test_sink): A sink that doesn't get any
19338 data shouldn't return SUCCESS for going to either PLAYING or
19339 PAUSED. Test also the return values on the way back down.
19341 * gst/gstelement.c (gst_element_set_state): When changing the
19342 state of an element currently changing state asynchronously, go to
19343 lost-state after commiting the pending state. Makes future calls
19344 to get_state continue to return ASYNC.
19346 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19347 ASYNC when going to PLAYING if we still don't have preroll, as can
19348 happen with live sources.
19350 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19352 * docs/pwg/advanced-types.xml:
19353 Hack long paragraph into 2 chunks as a workaround for buggy
19354 jadetex version in sid and breezy that loops infinitely and
19357 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19359 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19360 (test_event), (timediff), (gstevents_suite):
19361 Provide more error margin in clock measurements to allow for
19362 g_get_current_time inaccuracies.
19364 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19366 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19367 (test_event), (timediff), (gstevents_suite):
19368 Fix error message output so I might be able to tell why the
19369 test works here but fails on the build farm.
19371 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19373 * check/Makefile.am:
19374 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19375 (test_event), (timediff), (gstevents_suite), (main):
19378 * docs/design/part-seeking.txt:
19379 Spelling correction
19381 * docs/gst/tmpl/gstevent.sgml:
19382 * docs/gst/tmpl/gstfakesrc.sgml:
19385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19386 Treat a buffer-without-newsegment the same as a receiving
19387 a newsegment not in time format, and disable syncing to the clock
19390 * gst/gstbus.c: (gst_bus_set_sync_handler):
19391 Assert if anyone tries to replace the existing sync_handler for bus,
19392 as only the owner should be setting it.
19395 Have a fixed set of custom event enums with events identified by
19396 their structure name (as in 0.8), rather than a free-for-all
19397 allowing collisions between enum values from different plugins.
19399 * gst/gstpad.c: (gst_pad_class_init):
19402 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19403 Handle out-of-band downstream events from the sending thread.
19405 2005-08-17 Andy Wingo <wingo@pobox.com>
19407 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19408 play-timeout==0 to mean no timeout at all. In that case, don't
19409 bother with a get_state or a warning, just return directly, even
19412 * gst/base/gstbasetransform.c: Debug changes.
19415 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19416 ensure bins post state change messages. A bit of a hack but I can't
19417 think of a way to avoid it.
19419 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19421 2005-08-16 Andy Wingo <wingo@pobox.com>
19423 * gst/base/gstadapter.h:
19424 * gst/base/gstadapter.c (gst_adapter_take): New function, like
19425 peek() but you own the data. Not terribly efficient atm.
19427 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19429 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19430 (gst_element_found_tags):
19432 Add two utility functions for tag handling.
19434 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19436 * docs/manual/advanced-dataaccess.xml:
19437 * docs/manual/basics-helloworld.xml:
19438 Fix docs to use _bin_add() before _link(), which fixes the examples
19439 with recent core versions (reported by Madhan Raj M
19440 <raj_madan@rediffmail.com>, #313199).
19442 2005-08-16 Wim Taymans <wim@fluendo.com>
19444 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19445 Added subtract checks.
19447 * docs/design/part-events.txt:
19448 Some more docs about newsegment
19450 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19453 * gst/gstcaps.c: (gst_caps_to_string):
19454 Add comments, cleanups.
19456 * gst/gstelement.c: (gst_element_save_thyself):
19459 * gst/gstvalue.c: (gst_value_collect_int_range),
19460 (gst_string_unwrap), (gst_value_union_int_int_range),
19461 (gst_value_union_int_range_int_range),
19462 (gst_value_intersect_int_int_range),
19463 (gst_value_intersect_int_range_int_range),
19464 (gst_value_intersect_double_double_range),
19465 (gst_value_intersect_double_range_double_range),
19466 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19467 (gst_value_subtract_int_range_int),
19468 (gst_value_subtract_double_range_double),
19469 (gst_value_subtract_double_range_double_range),
19470 (gst_value_subtract_from_list), (gst_value_subtract_list),
19471 (gst_value_can_compare), (gst_value_compare_fraction):
19472 Cleanups, add comments, remove unneeded asserts.
19474 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19476 * tools/gst-launch.c: (event_loop):
19477 don't convert NULL structures to strings
19479 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19481 * docs/gst/gstreamer-sections.txt:
19482 made some defines private
19483 * docs/gst/tmpl/gstconfig.sgml:
19484 * docs/gst/tmpl/gstqueue.sgml:
19485 * docs/gst/tmpl/gsttaglist.sgml:
19486 * docs/gst/tmpl/gsttypes.sgml:
19487 * docs/gst/tmpl/gstutils.sgml:
19488 * docs/pwg/appendix-porting.xml:
19489 * gst/base/gstbasesink.h:
19490 * gst/base/gstbasesrc.c:
19491 * gst/base/gstbasesrc.h:
19492 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19493 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19494 * gst/gstelement.c: (gst_element_class_init):
19495 * gst/gstpad.c: (gst_pad_class_init):
19496 * gst/gstqueue.c: (gst_queue_class_init):
19497 * gst/gstxml.c: (gst_xml_class_init):
19498 documented all undocumented signal inline
19499 * libs/gst/controller/gst-controller.h:
19502 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19504 * docs/pwg/appendix-porting.xml:
19505 Document _set_link_function -> _set_setcaps_function.
19507 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19509 * check/Makefile.am:
19510 add a .check target for running the check
19511 * check/gst-libs/controller.c: (GST_START_TEST):
19513 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19514 complete checks for gstbuffer; would be nice if I could get the
19515 gcov stuff to work so I can see if I actually completed gstbuffer.c
19516 * check/gstcheck.h:
19517 add ASSERT_BUFFER_REFCOUNT
19519 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19521 * docs/gst/gstreamer-sections.txt:
19522 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19524 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19525 spew out a warning if a tag that is already registered
19526 is re-registered, unless it is re-registered with a
19527 different type (#308438).
19529 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19531 * docs/pwg/appendix-porting.xml:
19532 * docs/pwg/building-state.xml:
19533 Add some paragraphs about state changes in 0.9 to the PWG
19534 and the porting guide, in particular about the new meaning
19535 of GST_STATE_PAUSED and how to write state change functions
19536 with concurrent access by multiple threads in mind.
19538 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19540 * docs/gst/gstreamer-docs.sgml:
19541 * docs/libs/gstreamer-libs-docs.sgml:
19542 added deprecation and since indexes
19543 * libs/gst/controller/gst-controller.c:
19544 * libs/gst/controller/gst-helper.c:
19548 2005-08-11 Wim Taymans <wim@fluendo.com>
19550 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19551 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19552 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19553 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19554 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19555 (gst_ghost_pad_set_target):
19556 Actually implement (re)setting the target on a ghostpad
19557 as described in the docs.
19559 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19561 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19562 Check whether GST_DEBUG_NO_COLOR environment variable is
19563 set and disable coloured debug output if that is the case.
19565 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19567 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19568 (gst_type_find_helper):
19569 The memory returned by gst_type_find_peek() needs to
19570 stay valid until the end of a typefind function, and
19571 typefind functions may keep results from different
19572 offsets around, so we can't just unref the buffer from
19573 the previous _peek(), but have to save all buffers
19574 returned by _peek() until typefinding is done and only
19577 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19579 * docs/gst/gstreamer-sections.txt:
19581 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19583 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19585 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19586 Fix a pretty good memleak.
19588 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19590 * gst/gstiterator.h:
19591 Fix wrong include and 'make distcheck'.
19593 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19595 * gst/gstbin.c: (bin_bus_handler):
19596 Use gst_element_post_message() instead.
19598 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19600 * gst/base/gstadapter.h:
19601 * gst/base/gstbasesink.h:
19602 * gst/base/gstbasesrc.h:
19603 * gst/base/gstbasetransform.h:
19604 * gst/base/gstcollectpads.h:
19605 * gst/base/gstpushsrc.h:
19606 * gst/gstiterator.h:
19607 Add padding to our base elements' class and instance structs and
19608 to GstIterator (you will need to rebuild all plugins and apps!)
19610 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19612 * gst/gstbin.c: (bin_bus_handler):
19613 Make default message forwarding from child->bus to bin->bus
19614 threadsafe and make it not emit warnings if the parent has no bus.
19616 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19618 * gst/gstelement.c: (activate_pads):
19619 On paused->ready, set pad->caps to NULL, as is the documented
19620 behaviour in this state change. Fixes playback of series of
19621 media files when visualization is enabled in Totem.
19623 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19625 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19626 Allow NULL as filter-caps (which means "any").
19628 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19630 * docs/libs/gstreamer-libs-sections.txt:
19631 * libs/gst/controller/gst-controller.c:
19632 * libs/gst/controller/gst-controller.h:
19633 * libs/gst/controller/gst-helper.c:
19634 adding more entries to the docs and fix small doc-bugs
19636 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19638 * docs/gst/gstreamer-docs.sgml:
19639 * docs/gst/gstreamer-sections.txt:
19640 * docs/gst/gstreamer.types:
19641 * docs/gst/tmpl/gstbasesink.sgml:
19642 * docs/gst/tmpl/gstbasesrc.sgml:
19643 * docs/gst/tmpl/gstbasetransform.sgml:
19644 * docs/gst/tmpl/gstfakesrc.sgml:
19645 * gst/base/gstcollectpads.c:
19646 * gst/base/gstcollectpads.h:
19647 * libs/gst/controller/gst-controller.c:
19648 * libs/gst/controller/gst-controller.h:
19649 * libs/gst/controller/gst-helper.c:
19650 * libs/gst/controller/gst-interpolation.c:
19651 * libs/gst/controller/lib.c:
19652 added long/short desc for controller docs
19653 added collectpads base class docs
19654 added correct includes to base-class docs
19656 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19658 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19659 (gst_test_mono_source_set_property),
19660 (gst_test_mono_source_class_init), (GST_START_TEST),
19661 (gst_controller_suite):
19662 * docs/gst/gstreamer-docs.sgml:
19663 * docs/gst/gstreamer-sections.txt:
19664 * docs/gst/gstreamer.types:
19665 * docs/libs/gstreamer-libs-docs.sgml:
19666 * docs/libs/gstreamer-libs-sections.txt:
19667 * gst/base/gstadapter.c:
19668 * libs/gst/controller/gst-controller.c:
19669 (gst_controlled_property_new), (gst_controlled_property_free),
19670 (gst_controller_new_valist),
19671 (gst_controller_remove_properties_valist),
19672 (gst_controller_sink_values), (_gst_controller_finalize):
19673 * libs/gst/controller/gst-controller.h:
19674 * libs/gst/controller/gst-helper.c:
19675 (gst_object_control_properties), (gst_object_uncontrol_properties),
19676 (gst_object_get_controller), (gst_object_set_controller),
19677 (gst_object_sink_values), (gst_object_get_value_arrays),
19678 (gst_object_get_value_array):
19679 more tests (and fixes) for the controller
19680 more docs for the controller
19681 integrated companies docs for the adapter
19683 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19685 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19686 (GST_START_TEST), (fakesrc_suite):
19687 add tests for sizetype
19689 2005-08-04 Andy Wingo <wingo@pobox.com>
19691 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19692 fixes buffer_alloc proxying among other things.
19694 * gst/base/gstbasetransform.c:
19695 * gst/base/gstbasetransform.h:
19696 Revert patch to gstbasetransform from 7-28 removing
19699 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19700 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19701 Semantics changed, should return not the size of the output buffer
19702 but the byte size of a buffer with a given caps.
19704 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19706 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19707 out) are not the pad caps until setcaps finishes.
19708 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19709 not-in-place case as well. Deal with changing from in-place to
19710 not-in-place within calling pad_alloc_buffer. Still a bit
19711 concerned about the overhead here...
19713 2005-08-03 Andy Wingo <wingo@pobox.com>
19715 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19716 fixating is an error.
19718 2005-08-04 Edward Hervey <edward@fluendo.com>
19720 * gst/base/gstadapter.h:
19721 Added gst_adapter_get_type() to the header
19723 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19725 * check/Makefile.am:
19726 * check/gst-libs/controller.c:
19727 * libs/gst/controller/gst-controller.c:
19728 (gst_controller_new_valist):
19729 added check test suite for the controller
19730 * gst/base/gstpushsrc.c:
19733 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19735 * docs/gst/Makefile.am:
19736 * docs/gst/gstreamer-docs.sgml:
19737 * docs/gst/gstreamer-sections.txt:
19738 * docs/gst/gstreamer.types:
19739 * docs/gst/tmpl/gstfakesrc.sgml:
19741 * gst/base/gstbasesink.c:
19742 * gst/base/gstbasesink.h:
19743 * gst/base/gstbasesrc.c:
19744 * gst/base/gstbasesrc.h:
19745 * gst/base/gstbasetransform.c:
19746 * gst/base/gstpushsrc.c:
19747 * gst/base/gstpushsrc.h:
19748 add short/long description docs to base classes
19749 add pushsrc to the docs
19750 remove consolidated doc fragments
19752 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19755 * docs/libs/Makefile.am:
19756 * docs/libs/gstreamer-libs-docs.sgml:
19757 * docs/libs/gstreamer-libs-sections.txt:
19758 * docs/libs/gstreamer-libs.types:
19759 * examples/Makefile.am:
19760 * examples/controller/.cvsignore:
19761 * examples/controller/Makefile.am:
19762 * examples/controller/audio-example.c: (main):
19763 * libs/gst/Makefile.am:
19764 * libs/gst/controller/.cvsignore:
19765 * libs/gst/controller/Makefile.am:
19766 * libs/gst/controller/gst-controller.c:
19767 (on_object_controlled_property_changed), (gst_timed_value_compare),
19768 (gst_timed_value_find),
19769 (gst_controlled_property_set_interpolation_mode),
19770 (gst_controlled_property_new), (gst_controlled_property_free),
19771 (gst_controller_find_controlled_property),
19772 (gst_controller_new_valist), (gst_controller_new),
19773 (gst_controller_remove_properties_valist),
19774 (gst_controller_remove_properties), (gst_controller_set),
19775 (gst_controller_set_from_list), (gst_controller_unset),
19776 (gst_controller_get), (gst_controller_get_all),
19777 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19778 (gst_controller_get_value_array),
19779 (gst_controller_set_interpolation_mode),
19780 (_gst_controller_finalize), (_gst_controller_init),
19781 (_gst_controller_class_init), (gst_controller_get_type):
19782 * libs/gst/controller/gst-controller.h:
19783 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19784 (g_object_uncontrol_properties), (g_object_get_controller),
19785 (g_object_set_controller), (g_object_sink_values),
19786 (g_object_get_value_arrays), (g_object_get_value_array):
19787 * libs/gst/controller/gst-interpolation.c:
19788 (gst_controlled_property_find_timed_value_node),
19789 (interpolate_none_get), (interpolate_trigger_get),
19790 (interpolate_trigger_get_value_array):
19791 * libs/gst/controller/lib.c: (gst_controller_init):
19792 * pkgconfig/Makefile.am:
19793 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19794 * pkgconfig/gstreamer-control.pc.in:
19795 * testsuite/Makefile.am:
19796 * testsuite/controller/.cvsignore:
19797 * testsuite/controller/Makefile.am:
19798 * testsuite/controller/interpolator.c: (main):
19799 added controller code
19800 removed dparam pc files
19802 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19803 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19804 (gst_collectpads_stop):
19805 Broadcast the condition when shutting down, to make sure we wake all
19806 threads up. Shut down pads on finalize, for safety.
19808 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19809 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19810 (gst_base_transform_handle_buffer),
19811 (gst_base_transform_change_state):
19812 Handle PAUSED->READY->PAUSED transition after negotiation
19814 * gst/gstmessage.c: (gst_message_init):
19815 Extra piece of debug for new messages.
19817 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19820 * docs/gst/tmpl/gstbasesrc.sgml:
19821 * docs/gst/tmpl/gstelement.sgml:
19822 * docs/gst/tmpl/gstevent.sgml:
19823 * docs/gst/tmpl/gstfakesrc.sgml:
19824 * docs/gst/tmpl/gstformat.sgml:
19825 * docs/gst/tmpl/gstghostpad.sgml:
19826 * docs/gst/tmpl/gstpad.sgml:
19827 * docs/gst/tmpl/gstquery.sgml:
19828 * docs/gst/tmpl/gststructure.sgml:
19829 * docs/gst/tmpl/gsttaglist.sgml:
19830 * docs/gst/tmpl/gstvalue.sgml:
19831 * docs/libs/gstreamer-libs-docs.sgml:
19832 * docs/libs/gstreamer-libs-sections.txt:
19833 * docs/libs/gstreamer-libs.types:
19834 * libs/gst/Makefile.am:
19835 * libs/gst/control/.cvsignore:
19836 * libs/gst/control/Makefile.am:
19837 * libs/gst/control/control.c:
19838 * libs/gst/control/control.h:
19839 * libs/gst/control/dparam.c:
19840 * libs/gst/control/dparam.h:
19841 * libs/gst/control/dparam_smooth.c:
19842 * libs/gst/control/dparam_smooth.h:
19843 * libs/gst/control/dparamcommon.h:
19844 * libs/gst/control/dparammanager.c:
19845 * libs/gst/control/dparammanager.h:
19846 * libs/gst/control/dplinearinterp.c:
19847 * libs/gst/control/dplinearinterp.h:
19848 * libs/gst/control/unitconvert.c:
19849 * libs/gst/control/unitconvert.h:
19850 * testsuite/Makefile.am:
19851 * testsuite/dynparams/.cvsignore:
19852 * testsuite/dynparams/Makefile.am:
19853 * testsuite/dynparams/dparamstest.c:
19854 * tools/Makefile.am:
19855 * tools/gst-inspect.c: (print_element_info), (main):
19856 * tools/gst-xmlinspect.c: (print_element_info), (main):
19857 deactivate and remove dparams (libgstcontrol)
19859 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19861 * gst/elements/gsttypefindelement.c:
19862 (gst_type_find_element_have_type), (gst_type_find_element_init),
19863 (stop_typefinding), (gst_type_find_element_handle_event),
19864 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19865 * gst/elements/gsttypefindelement.h:
19866 Set caps on all outgoing buffers, not just the first one.
19868 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19870 * gst/elements/gsttypefindelement.c:
19871 (gst_type_find_element_have_type),
19872 (gst_type_find_element_check_set_buffer_caps),
19873 (gst_type_find_element_init), (stop_typefinding),
19874 (gst_type_find_element_handle_event),
19875 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19876 * gst/elements/gsttypefindelement.h:
19877 Set caps on first outgoing buffer when we've found the type.
19879 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19881 * docs/gst/gstreamer-docs.sgml:
19882 * docs/gst/gstreamer-sections.txt:
19883 * docs/gst/tmpl/gstscheduler.sgml:
19884 * docs/gst/tmpl/gstschedulerfactory.sgml:
19885 Remove some old cruft from docs.
19887 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19890 Fix inline docs for GstPadLinkReturn.
19892 * gst/gststructure.c: (gst_structure_has_name):
19893 * gst/gststructure.h:
19894 * docs/gst/gstreamer-sections.txt:
19895 New API: gst_structure_has_name().
19897 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19900 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19901 and _LARGEFILE_SOURCE in config.h as required. Do not
19902 export those flags in our .pc files any longer (#142209).
19904 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19906 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19907 (gst_file_sink_do_seek), (gst_file_sink_event),
19908 (gst_file_sink_get_current_offset), (gst_file_sink_render):
19909 Redo seek/tell calls with large file support in mind; add some
19910 debugging messages; add log message that tells us when large
19911 file support is unavailable or not enabled for some reason.
19913 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19914 Add log message that tells us when large file support
19915 is unavailable or not enabled for some reason.
19917 2005-07-29 Wim Taymans <wim@fluendo.com>
19919 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19920 Added test for removing an element with ghostpad from a bin.
19921 Fixed test as current implementation does the right thing.
19923 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19924 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19925 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19926 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19927 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19928 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19929 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19930 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19931 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19932 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19933 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19934 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19935 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19936 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19937 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19938 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19939 * gst/gstghostpad.h:
19940 Clean up ghostpads, remove properties for internal stuff.
19943 Prepare for switching targets, not all use cases work yet.
19945 2005-07-29 Wim Taymans <wim@fluendo.com>
19947 * docs/design/part-gstghostpad.txt:
19950 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19951 (gst_bin_remove_func):
19952 Unlinking pads while holding the bin LOCK is not a good
19955 * gst/gstpad.c: (gst_pad_class_init),
19956 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19957 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19958 No prob setting template after creating the pad.
19960 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
19962 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19963 (gst_bus_peek), (gst_bus_source_dispatch),
19964 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19965 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19966 gst_bus_poll may be called from other threads. Handle
19967 this nicely by not making poll_data disappear off the
19968 stack once gst_bus_poll returns.
19969 gst_bus_peek now increments the refcount on the returned
19972 2005-07-29 Wim Taymans <wim@fluendo.com>
19974 * docs/design/part-gstghostpad.txt:
19975 Overview of current GhostPad datastructures and use
19976 cases for changing the target.
19978 2005-07-28 Wim Taymans <wim@fluendo.com>
19980 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19981 Added checks for hierarchy consistency whan adding linked
19984 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19985 Added check to test element scheduling without bin/pipeline.
19987 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19988 First add elements to bin, then link.
19990 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19991 (gst_bin_remove_func):
19992 Unlink pads from elements added/removed from bin to maintain
19993 hierarchy consistency.
19995 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19997 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19998 (gst_base_transform_handle_buffer):
19999 * gst/base/gstbasetransform.h:
20000 Remove broken delay_configure (fixes renegotiation of software
20001 scaling pipelines); remove some leftover printf()s.
20003 2005-07-28 Wim Taymans <wim@fluendo.com>
20005 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20006 Added some more tests for wrong hierarchy
20008 * docs/design/part-overview.txt:
20011 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20014 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20015 (gst_element_dispose):
20016 Some more cleanups.
20018 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20019 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20020 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20021 (gst_pad_set_caps), (gst_pad_send_event):
20022 Check for correct hierarchy when linking pads. Moving to
20023 strict requirement for ghostpads when linking elements in
20027 Clean ups. Added WRONG_HIERARCHY return value.
20029 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20031 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20032 Better debug if no transform is possible.
20034 2005-07-27 Wim Taymans <wim@fluendo.com>
20036 * docs/random/wtay/network-transp:
20037 Some old doc I had.
20039 2005-07-27 Wim Taymans <wim@fluendo.com>
20041 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20042 (gst_dp_event_from_packet):
20043 Fix serialization of seek events.
20045 2005-07-27 Wim Taymans <wim@fluendo.com>
20047 * check/gst-libs/gdp.c: (GST_START_TEST):
20048 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20049 Fix compilation and fix event serialization.
20051 2005-07-27 Wim Taymans <wim@fluendo.com>
20054 * docs/design/part-TODO.txt:
20055 * docs/design/part-events.txt:
20058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20059 (gst_base_sink_event), (gst_base_sink_do_sync),
20060 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20061 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20062 (gst_base_src_do_seek), (gst_base_src_event_handler),
20063 (gst_base_src_loop):
20064 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20065 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20066 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20067 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20068 (gst_base_transform_set_passthrough),
20069 (gst_base_transform_is_passthrough):
20070 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20071 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20077 * gst/gstelement.c: (gst_element_seek):
20078 * gst/gstelement.h:
20079 Update gst_element_seek.
20081 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20082 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20083 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20084 (gst_event_new_eos), (gst_event_new_newsegment),
20085 (gst_event_parse_newsegment), (gst_event_new_tag),
20086 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20087 (gst_event_parse_qos), (gst_event_new_seek),
20088 (gst_event_parse_seek), (gst_event_new_navigation):
20090 Make GstEvent use GstStructure. Add parsing code, make sure the
20091 API is sufficiently generic.
20092 Mark possible directions of events and serialization.
20094 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20095 (_gst_message_copy), (gst_message_new_segment_start),
20096 (gst_message_new_segment_done), (gst_message_new_custom),
20097 (gst_message_parse_segment_start),
20098 (gst_message_parse_segment_done):
20101 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20102 (gst_pad_set_caps), (gst_pad_send_event):
20103 Update for new events.
20104 Catch events sent in wrong directions.
20106 * gst/gstqueue.c: (gst_queue_link_src),
20107 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20108 (gst_queue_handle_src_query):
20113 Remove event code from this file.
20115 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20116 (gst_dp_event_from_packet):
20119 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20121 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20122 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20123 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20124 Make debugging actually useful.
20126 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20128 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20129 (gst_pad_fixate_caps):
20130 Implement default fixation once again, so that gst_pad_fixate()
20131 actually does anything at all. This probably needs to be some
20132 sort of a last resort, and use profile-based fixation first, but
20133 since that doesn't exist yet, this is the best we have. Fixes
20134 visualization in Totem.
20136 2005-07-22 Wim Taymans <wim@fluendo.com>
20138 * docs/design/part-events.txt:
20141 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20142 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20143 (gst_base_sink_activate_pull):
20144 Some more comments.
20146 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20147 (gst_fake_src_create):
20148 Fix handoff marshall.
20150 * gst/elements/gstidentity.c: (gst_identity_class_init),
20151 (gst_identity_transform_ip):
20152 We're a real inplace element.
20154 * gst/gstbus.c: (gst_bus_post):
20155 Added some comments.
20157 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20158 * tests/muxing/case1.c: (main):
20159 * tests/sched/dynamic-pipeline.c: (main):
20160 * tests/sched/interrupt1.c: (main):
20161 * tests/sched/interrupt2.c: (main):
20162 * tests/sched/interrupt3.c: (main):
20163 * tests/sched/runxml.c: (main):
20164 * tests/sched/sched-stress.c: (main):
20165 * tests/seeking/seeking1.c: (event_received), (main):
20166 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20168 * tests/threadstate/threadstate3.c: (main):
20169 * tests/threadstate/threadstate4.c: (main):
20170 * tests/threadstate/threadstate5.c: (main):
20173 2005-07-21 Wim Taymans <wim@fluendo.com>
20175 * docs/design/part-seeking.txt:
20176 Some small additions.
20178 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20179 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20180 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20181 * gst/base/gstbasesink.h:
20182 discont values are gint64, handle the math correctly.
20184 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20185 Make the basesrc report error if the source pad is not linked.
20187 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20188 (gst_queue_loop), (gst_queue_handle_src_query),
20189 (gst_queue_src_activate_push):
20190 Make queue collect data even if the srcpad is not linked.
20191 Start pushing out data as soon as it is linked.
20193 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20195 Added gst_flow_get_name() to ease error reporting.
20197 2005-07-20 Wim Taymans <wim@fluendo.com>
20199 * gst/gstmessage.c: (gst_message_new_segment_start),
20200 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20201 (gst_message_parse_segment_done):
20202 * gst/gstmessage.h:
20203 Added a bunch of messages for advanced seeking.
20205 * gst/parse/grammar.y:
20206 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20207 (gst_dpman_state_changed):
20208 Fix some new-pad -> pad-added signals
20210 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20212 * docs/manual/appendix-porting.xml:
20213 * docs/pwg/appendix-porting.xml:
20214 Document new-pad/state-change signal renames and the FixedList
20217 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20219 * docs/manual/advanced-autoplugging.xml:
20220 * docs/manual/basics-helloworld.xml:
20221 * docs/manual/basics-pads.xml:
20222 * docs/random/ds/0.9-suggested-changes:
20223 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20224 * gst/gstelement.h:
20228 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20229 (gst_structure_parse_array), (gst_structure_parse_value):
20230 * gst/gstvalue.c: (gst_type_is_fixed),
20231 (gst_value_list_prepend_value), (gst_value_list_append_value),
20232 (gst_value_list_get_size), (gst_value_list_get_value),
20233 (gst_value_transform_array_string), (gst_value_serialize_array),
20234 (gst_value_deserialize_array), (gst_value_intersect_array),
20235 (gst_value_is_fixed), (_gst_value_initialize):
20237 GstElement::new-pad -> pad-added, GstElement::state-change ->
20238 state-changed, GstValueFixedList -> GstValueArray, add format and
20239 flags as their own arguments in gst_element_seek() (should improve
20240 "bindeability"), remove function generators since they don't work
20241 under a whole bunch of compilers (they were deprecated already
20244 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20246 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20247 (_gst_debug_register_funcptr):
20249 Fix illegal cast on some platforms (#309253).
20251 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20253 * gst/gstmessage.c: (gst_message_new_custom):
20254 * gst/gstmessage.h:
20255 Add _new_custom, make _new_application a macro to _new_custom.
20257 2005-07-20 Wim Taymans <wim@fluendo.com>
20259 * gst/base/gstbasesrc.c: (gst_base_src_init),
20260 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20261 * gst/base/gstbasesrc.h:
20262 Add a gboolean to decide when to push out a discont.
20264 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20265 (gst_queue_loop), (gst_queue_handle_src_query),
20266 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20267 (gst_queue_set_property), (gst_queue_get_property):
20270 * tests/threadstate/threadstate1.c: (main):
20271 Make a thread test compile and run... very silly..
20274 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20276 * docs/manual/appendix-porting.xml:
20277 Mention removal of libgstgconf-0.9.la and existence of gconf
20280 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20282 * docs/pwg/advanced-clock.xml:
20283 * docs/pwg/appendix-porting.xml:
20284 * docs/pwg/intro-preface.xml:
20285 * docs/pwg/other-base.xml:
20286 * docs/pwg/other-manager.xml:
20287 * docs/pwg/other-nton.xml:
20288 * docs/pwg/other-ntoone.xml:
20289 * docs/pwg/other-oneton.xml:
20290 * docs/pwg/pwg.xml:
20291 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20292 demuxer), remove n-to-n (was never written), fix some code examples
20293 and links and update the porting section to include all this.
20295 2005-07-19 Wim Taymans <wim@fluendo.com>
20297 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20298 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20299 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20300 (gst_queue_src_activate_push), (gst_queue_change_state),
20301 (gst_queue_get_property):
20303 Propagate GstFlowReturn more intelligently upstream and output
20304 an ERROR/EOS when streaming stopped due to fatal error.
20306 2005-07-19 Wim Taymans <wim@fluendo.com>
20308 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20309 Don't block forever for the state change to complete, the
20310 pipeline already did with a sensible timeout.
20312 2005-07-19 Wim Taymans <wim@fluendo.com>
20314 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20315 Make sure we never call the create function is we
20318 2005-07-19 Andy Wingo <wingo@pobox.com>
20320 * gst/parse/parse.l: Attempt to solve bug #172815.
20322 2005-07-19 Wim Taymans <wim@fluendo.com>
20324 * docs/design/part-clocks.txt:
20325 * docs/design/part-events.txt:
20326 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20327 Small docs updates.
20328 Only update the seeking values when we are not
20331 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20333 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20334 Oops, ignore the result of gst_pad_push_event here.
20336 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20338 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20339 (gst_base_src_activate_push):
20340 Send discont event from the loop function, as pads
20341 aren't activated yet in the activate_push handler.
20343 * gst/gstbin.c: (bin_bus_handler):
20344 Don't leak element name.
20346 2005-07-18 Andy Wingo <wingo@pobox.com>
20348 * configure.ac: Use AS_LIBTOOL_TAGS.
20350 2005-07-18 Wim Taymans <wim@fluendo.com>
20352 * docs/gst/gstreamer.types:
20353 Remove deleted types.
20355 2005-07-18 Wim Taymans <wim@fluendo.com>
20357 * check/elements/gstfakesrc.c: (GST_START_TEST):
20360 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20361 (init_popt_callback):
20363 * gst/gst_private.h:
20364 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20365 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20368 * gst/gstconfig.h.in:
20369 * gst/gstelement.c: (gst_element_class_init),
20370 (gst_element_set_base_time), (gst_element_get_base_time),
20371 (iterator_fold_with_resync), (gst_element_change_state),
20372 (gst_element_dispose), (gst_element_get_bus):
20373 * gst/gstelement.h:
20374 * gst/gstelementfactory.h:
20375 * gst/gsterror.c: (_gst_core_errors_init):
20378 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20380 * gst/gstinfo.c: (_gst_debug_init):
20381 * gst/gstmessage.c: (_gst_message_copy):
20382 * gst/gstmessage.h:
20383 * gst/gstminiobject.h:
20386 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20387 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20390 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20391 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20392 (gst_pipeline_get_last_stream_time):
20393 * gst/gstpipeline.h:
20394 * gst/gstpluginfeature.h:
20396 * gst/gstscheduler.c:
20397 * gst/gstscheduler.h:
20398 * gst/gststructure.h:
20399 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20400 (gst_task_finalize), (gst_task_func), (gst_task_create),
20401 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20402 (gst_task_stop), (gst_task_pause):
20404 * gst/gsttypefind.h:
20406 * gst/registries/gstlibxmlregistry.c: (load_feature),
20407 (gst_xml_registry_load), (gst_xml_registry_save_feature):
20408 * gst/registries/gstxmlregistry.c:
20409 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20410 * gst/schedulers/threadscheduler.c:
20411 * libs/gst/control/dparammanager.h:
20412 * tools/gst-inspect.c: (print_element_list),
20413 (print_plugin_features), (print_element_features):
20414 * tools/gst-xmlinspect.c: (print_element_list),
20415 (print_plugin_info), (main):
20416 Removed plugable schedulers.
20417 Removed Scheduler/Manager from elements.
20418 Removed gsttypes.h, rearranged includes.
20419 Removed dependency pad<->element, element<>pipeline, and
20420 various others, fix includes.
20421 implement gst_pad_get_parent() with gst_object_get_parent()
20422 Make GstTask sefcontained.
20423 Fix _get_state() on GstBin, it did not return ASYNC with a 0
20425 Fix endless loop in iterator_fold_with_resync.
20428 2005-07-18 Wim Taymans <wim@fluendo.com>
20434 2005-07-18 Wim Taymans <wim@fluendo.com>
20437 No more cothreads.h
20439 2005-07-18 Wim Taymans <wim@fluendo.com>
20443 Let's remove these.
20445 2005-07-18 Wim Taymans <wim@fluendo.com>
20447 * docs/design/part-dynamic.txt:
20448 * docs/design/part-events.txt:
20449 * docs/design/part-seeking.txt:
20450 Some more docs in the works.
20452 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20453 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20454 (gst_base_transform_setcaps), (gst_base_transform_get_size),
20455 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20456 (gst_base_transform_handle_buffer),
20457 (gst_base_transform_sink_activate_push),
20458 (gst_base_transform_src_activate_pull),
20459 (gst_base_transform_set_passthrough),
20460 (gst_base_transform_is_passthrough):
20463 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20466 * gst/gstevent.c: (gst_event_finalize):
20469 * gst/gstutils.c: (gst_element_unlink),
20470 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20471 (gst_pad_proxy_setcaps):
20473 Add _get_parent_element() to get a pads parent as an element.
20475 2005-07-18 Wim Taymans <wim@fluendo.com>
20477 * check/gst/gstbin.c: (GST_START_TEST):
20480 2005-07-18 Wim Taymans <wim@fluendo.com>
20482 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20483 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20484 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20485 (gst_base_sink_event), (gst_base_sink_do_sync),
20486 (gst_base_sink_chain), (gst_base_sink_loop),
20487 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20488 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20490 Fix logic for returning ASYNC when not prerolled.
20492 2005-07-18 Wim Taymans <wim@fluendo.com>
20494 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20495 Fix nasty refcount bug.
20497 2005-07-16 Philippe Khalaf <burger@speedy.org>
20499 * gst/elements/gstfdsrc.c:
20500 * gst/elements/gstfdsrc.h:
20501 * gst/elements/gstelements.c:
20502 * gst/elements/Makefile.am:
20503 Ported fdsrc to 0.9.
20505 2005-07-16 Wim Taymans <wim@fluendo.com>
20507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20508 (gst_base_sink_do_sync):
20511 2005-07-16 Wim Taymans <wim@fluendo.com>
20513 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20514 (gst_base_sink_event), (gst_base_sink_get_times),
20515 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20516 * gst/base/gstbasesink.h:
20517 Store and use discont values when syncing buffers as described
20520 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20521 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20522 (gst_base_src_activate_push):
20523 Push discont event when starting.
20525 * gst/elements/gstidentity.c: (gst_identity_transform):
20528 * gst/gstbin.c: (gst_bin_change_state):
20529 Small cleanups in base_time distribution.
20531 * gst/gstelement.c: (gst_element_set_base_time),
20532 (gst_element_get_base_time), (gst_element_change_state):
20533 * gst/gstelement.h:
20534 Added methods for the base_time of the element.
20537 * gst/gstpipeline.c: (gst_pipeline_send_event),
20538 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20539 (gst_pipeline_get_last_stream_time):
20540 * gst/gstpipeline.h:
20542 Handle seeking as described in design doc, remove stream_time
20544 Cleanups clock and stream_time selection code. Added accessors
20545 for the stream_time.
20548 2005-07-16 Andy Wingo <wingo@pobox.com>
20550 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20553 2005-07-16 Wim Taymans <wim@fluendo.com>
20555 * check/gst/gstbin.c: (GST_START_TEST):
20556 Make elements silent as the deep_notify refs the
20557 parent, which might make the test fail.
20559 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20560 Don't hold the lock for too long.
20562 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20564 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20565 Don't unref the caps we passed to gst_caps_make_writable() after
20566 passing them. gst_caps_make_writable() will do that for us.
20568 2005-07-15 Andy Wingo <wingo@pobox.com>
20570 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20573 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20574 own marshalling function for the handoff signal. Properly type the
20575 buffer as a buffer. Fixes some warnings. Should do a more general
20577 (gst_identity_class_init): Plug into the right marshaller.
20579 2005-07-15 Wim Taymans <wim@fluendo.com>
20581 * docs/design/part-TODO.txt:
20582 * docs/design/part-clocks.txt:
20583 * docs/design/part-element-sink.txt:
20584 * docs/design/part-events.txt:
20585 * docs/design/part-gstpipeline.txt:
20586 Updated docs, mostly DISCONT related.
20588 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20590 * docs/pwg/building-pads.xml:
20591 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20593 2005-07-15 Andy Wingo <wingo@pobox.com>
20595 * tools/gst-typefind.c: Update, add copyright block.
20597 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20598 Normalize and truncate caps before fixation.
20601 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20602 discards all but the first structure from its argument.
20604 2005-07-15 Wim Taymans <wim@fluendo.com>
20606 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20607 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20608 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20609 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20610 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20611 (gst_base_transform_chain), (gst_base_transform_change_state),
20612 (gst_base_transform_set_passthrough),
20613 (gst_base_transform_is_passthrough):
20614 * gst/base/gstbasetransform.h:
20615 Make passthrough work using the bufferpools.
20616 Changed API a bit, subclasses have to write into a buffer
20617 provided by the base class.
20618 More debug info in nego functions.
20620 * gst/elements/gstidentity.c: (gst_identity_init),
20621 (gst_identity_transform):
20622 Port to new base class.
20624 2005-07-15 Wim Taymans <wim@fluendo.com>
20626 * gst/gstmessage.c: (gst_message_new_state_changed):
20627 * tools/gst-launch.c: (event_loop), (main):
20628 Totally dump messages in -launch with the -m option.
20629 Fix message name for State messages,
20631 2005-07-14 Wim Taymans <wim@fluendo.com>
20633 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20634 Post error messages on errors.
20636 2005-07-14 Wim Taymans <wim@fluendo.com>
20638 * gst/gstcaps.c: (gst_caps_do_simplify):
20642 Define error for stream stopped.
20644 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20645 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20646 Do proper return values.
20648 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20649 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20650 (gst_pad_get_range):
20651 Better return values.
20654 Reorganise return values, add macro to check for fatal errors.
20656 * gst/gstqueue.c: (gst_queue_chain):
20657 Return proper GstFlowReturn values,
20659 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20661 * docs/gst/gstreamer-sections.txt:
20662 * docs/gst/gstreamer.types:
20663 * docs/gst/tmpl/gst.sgml:
20664 * docs/gst/tmpl/gstbasesink.sgml:
20665 * docs/gst/tmpl/gstbasesrc.sgml:
20666 * docs/gst/tmpl/gstbasetransform.sgml:
20667 * docs/gst/tmpl/gstbin.sgml:
20668 * docs/gst/tmpl/gstbuffer.sgml:
20669 * docs/gst/tmpl/gstcaps.sgml:
20670 * docs/gst/tmpl/gstclock.sgml:
20671 * docs/gst/tmpl/gstcompat.sgml:
20672 * docs/gst/tmpl/gstconfig.sgml:
20673 * docs/gst/tmpl/gstelement.sgml:
20674 * docs/gst/tmpl/gstelementdetails.sgml:
20675 * docs/gst/tmpl/gstelementfactory.sgml:
20676 * docs/gst/tmpl/gstenumtypes.sgml:
20677 * docs/gst/tmpl/gsterror.sgml:
20678 * docs/gst/tmpl/gstevent.sgml:
20679 * docs/gst/tmpl/gstfakesink.sgml:
20680 * docs/gst/tmpl/gstfakesrc.sgml:
20681 * docs/gst/tmpl/gstfilesink.sgml:
20682 * docs/gst/tmpl/gstfilesrc.sgml:
20683 * docs/gst/tmpl/gstfilter.sgml:
20684 * docs/gst/tmpl/gstformat.sgml:
20685 * docs/gst/tmpl/gstghostpad.sgml:
20686 * docs/gst/tmpl/gstimplementsinterface.sgml:
20687 * docs/gst/tmpl/gstindex.sgml:
20688 * docs/gst/tmpl/gstindexfactory.sgml:
20689 * docs/gst/tmpl/gstinfo.sgml:
20690 * docs/gst/tmpl/gstiterator.sgml:
20691 * docs/gst/tmpl/gstmacros.sgml:
20692 * docs/gst/tmpl/gstmemchunk.sgml:
20693 * docs/gst/tmpl/gstminiobject.sgml:
20694 * docs/gst/tmpl/gstobject.sgml:
20695 * docs/gst/tmpl/gstpad.sgml:
20696 * docs/gst/tmpl/gstpadtemplate.sgml:
20697 * docs/gst/tmpl/gstparse.sgml:
20698 * docs/gst/tmpl/gstpipeline.sgml:
20699 * docs/gst/tmpl/gstplugin.sgml:
20700 * docs/gst/tmpl/gstpluginfeature.sgml:
20701 * docs/gst/tmpl/gstquery.sgml:
20702 * docs/gst/tmpl/gstqueue.sgml:
20703 * docs/gst/tmpl/gstregistry.sgml:
20704 * docs/gst/tmpl/gstregistrypool.sgml:
20705 * docs/gst/tmpl/gstscheduler.sgml:
20706 * docs/gst/tmpl/gstschedulerfactory.sgml:
20707 * docs/gst/tmpl/gststructure.sgml:
20708 * docs/gst/tmpl/gstsystemclock.sgml:
20709 * docs/gst/tmpl/gsttaglist.sgml:
20710 * docs/gst/tmpl/gsttagsetter.sgml:
20711 * docs/gst/tmpl/gsttrace.sgml:
20712 * docs/gst/tmpl/gsttrashstack.sgml:
20713 * docs/gst/tmpl/gsttypefind.sgml:
20714 * docs/gst/tmpl/gsttypefindfactory.sgml:
20715 * docs/gst/tmpl/gsttypes.sgml:
20716 * docs/gst/tmpl/gsturihandler.sgml:
20717 * docs/gst/tmpl/gsturitype.sgml:
20718 * docs/gst/tmpl/gstutils.sgml:
20719 * docs/gst/tmpl/gstvalue.sgml:
20720 * docs/gst/tmpl/gstversion.sgml:
20721 * docs/gst/tmpl/gstxml.sgml:
20722 * docs/libs/tmpl/gstcontrol.sgml:
20723 * docs/libs/tmpl/gstdataprotocol.sgml:
20724 * docs/libs/tmpl/gstdparam.sgml:
20725 * docs/libs/tmpl/gstdplinint.sgml:
20726 * docs/libs/tmpl/gstdpman.sgml:
20727 * docs/libs/tmpl/gstdpsmooth.sgml:
20728 * docs/libs/tmpl/gstgetbits.sgml:
20729 * docs/libs/tmpl/gstunitconvert.sgml:
20730 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20731 (gst_push_src_base_init), (gst_push_src_class_init),
20732 (gst_push_src_init), (gst_push_src_create):
20733 * gst/base/gstpushsrc.h:
20734 * gst/elements/gstelements.c:
20735 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20736 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20737 (gst_fake_sink_init), (gst_fake_sink_set_property),
20738 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20739 (gst_fake_sink_event), (gst_fake_sink_preroll),
20740 (gst_fake_sink_render), (gst_fake_sink_change_state):
20741 * gst/elements/gstfakesink.h:
20742 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20743 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20744 (gst_fake_src_base_init), (gst_fake_src_class_init),
20745 (gst_fake_src_init), (gst_fake_src_event_handler),
20746 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20747 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20748 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20749 (gst_fake_src_create_buffer), (gst_fake_src_create),
20750 (gst_fake_src_start), (gst_fake_src_stop):
20751 * gst/elements/gstfakesrc.h:
20752 * gst/elements/gstfilesink.c: (_do_init),
20753 (gst_file_sink_base_init), (gst_file_sink_class_init),
20754 (gst_file_sink_init), (gst_file_sink_dispose),
20755 (gst_file_sink_set_location), (gst_file_sink_set_property),
20756 (gst_file_sink_get_property), (gst_file_sink_open_file),
20757 (gst_file_sink_close_file), (gst_file_sink_query),
20758 (gst_file_sink_event), (gst_file_sink_render),
20759 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20760 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20761 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20762 * gst/elements/gstfilesink.h:
20763 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20764 (gst_file_src_class_init), (gst_file_src_init),
20765 (gst_file_src_finalize), (gst_file_src_set_location),
20766 (gst_file_src_set_property), (gst_file_src_get_property),
20767 (gst_file_src_map_region), (gst_file_src_map_small_region),
20768 (gst_file_src_create_mmap), (gst_file_src_create_read),
20769 (gst_file_src_create), (gst_file_src_is_seekable),
20770 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20771 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20772 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20773 (gst_file_src_uri_handler_init):
20774 * gst/elements/gstfilesrc.h:
20775 more autistic cleanliness in functions/names/defines
20777 2005-07-13 Andy Wingo <wingo@pobox.com>
20779 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20780 source couldn't negotiate.
20782 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20786 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20787 function. I am channeling Hades. Put your boots on suckers!!!
20789 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20791 * testsuite/caps/Makefile.am:
20792 * testsuite/caps/value_compare.c:
20793 * testsuite/caps/value_intersect.c:
20794 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20795 move two testsuite apps over to the check dir
20797 2005-07-12 Wim Taymans <wim@fluendo.com>
20799 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20800 Added more debug info in the negotiate process.
20802 * gst/gstmessage.h:
20803 Prepare for segment playback.
20805 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20811 * tools/gst-launch.c: (main):
20812 NULL pipeline on errors.
20814 2005-07-12 Andy Wingo <wingo@pobox.com>
20816 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20817 not it comes from a malloc region. Make sure our copy gets freed.
20819 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20821 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20822 * check/gst/gstmessage.c: (GST_START_TEST):
20823 * check/gst/gststructure.c: (GST_START_TEST),
20824 (gst_structure_suite), (main):
20826 * gst/gstelement.c: (gst_element_message_full):
20827 clean up GError and debug string now that they get copied
20828 * gst/gstmessage.c: (gst_message_new_error),
20829 (gst_message_new_warning), (gst_message_parse_error),
20830 (gst_message_parse_warning):
20831 use GST_TYPE_G_ERROR for structure_new, and take copies of
20832 arguments, so that we don't mess up refcounting
20834 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20836 * check/Makefile.am:
20837 add per-test valgrind targets
20838 * check/gst-libs/gdp.c: (GST_START_TEST),
20839 (gst_data_protocol_suite), (main):
20842 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20844 * check/Makefile.am:
20845 instate more valgrindable tests
20846 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20847 (GST_START_TEST), (fakesrc_suite):
20848 * check/gst/gstpad.c: (GST_START_TEST):
20849 * check/gst/gststructure.c: (GST_START_TEST):
20851 * docs/gst/tmpl/gstminiobject.sgml:
20852 * gst/gstpad.c: (gst_pad_finalize):
20853 fix the static mutex leak
20855 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20857 * check/Makefile.am:
20858 add two more tests for valgrinding
20859 * check/gst/gstvalue.c: (GST_START_TEST):
20860 test refcount of deserialized buffer, found a leak
20861 * docs/gst/gstreamer-docs.sgml:
20862 * docs/gst/gstreamer-sections.txt:
20863 * docs/gst/gstreamer.types:
20864 * docs/gst/tmpl/gstminiobject.sgml:
20865 add miniobject to docs
20866 * gst/gstminiobject.c:
20868 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20869 (gst_string_unwrap):
20870 fix a hard-to-find invalid write for one of the tests
20871 fix a leak for deserialized buffers
20873 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20875 * docs/pwg/advanced-events.xml:
20876 * docs/pwg/advanced-request.xml:
20877 * docs/pwg/advanced-scheduling.xml:
20878 * docs/pwg/appendix-porting.xml:
20879 * docs/pwg/building-boiler.xml:
20880 * docs/pwg/intro-preface.xml:
20881 * docs/pwg/other-ntoone.xml:
20882 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20883 of example code and explanation for pad activation, loop() and
20884 getrange() functions and a bit more. Remove old comments pointing
20886 * examples/pwg/Makefile.am:
20887 Add loop/getrange examples.
20889 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20892 check for valgrind binary + some fixes
20894 valgrind suppressions for the tests
20895 * check/Makefile.am:
20896 add a valgrind: target that valgrinds the unit tests
20897 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20898 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20899 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20900 * check/gst/gstghostpad.c:
20902 * check/gst/gstdata.c:
20904 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20905 (thread_unref), (gst_mini_object_suite), (main):
20907 * gst/gst.c: (gst_deinit):
20909 add a method to clean up.
20910 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20911 (gst_system_clock_obtain):
20912 allow for disposing the system clock.
20913 * tools/gst-launch.c: (main):
20916 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20918 * docs/gst/tmpl/gstbasesrc.sgml:
20919 * docs/gst/tmpl/gstfakesrc.sgml:
20920 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20921 (gst_base_src_init), (gst_base_src_set_property),
20922 (gst_base_src_get_property), (gst_base_src_get_range),
20923 (gst_base_src_start):
20924 * gst/base/gstbasesrc.h:
20925 add num-buffers property
20926 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20927 (gst_fakesrc_init), (gst_fakesrc_set_property),
20928 (gst_fakesrc_get_property), (gst_fakesrc_create),
20929 (gst_fakesrc_start):
20930 remove num-buffers property
20932 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20934 * docs/gst/gstreamer-sections.txt:
20935 * docs/gst/tmpl/gstbasesink.sgml:
20936 * docs/gst/tmpl/gstbasesrc.sgml:
20937 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20938 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20939 (gst_base_sink_finalize), (gst_base_sink_set_clock),
20940 (gst_base_sink_set_property), (gst_base_sink_get_property),
20941 (gst_base_sink_handle_object), (gst_base_sink_event),
20942 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20943 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20944 (gst_base_sink_loop), (gst_base_sink_deactivate),
20945 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20946 (gst_base_sink_change_state):
20947 * gst/base/gstbasesink.h:
20948 * gst/base/gstbasesrc.h:
20949 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20950 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20951 (gst_filesink_init):
20952 more macro splitting
20954 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20956 * gst/gstelement.c: (gst_element_get_bus):
20958 * tools/gst-launch.c: (check_intr), (event_loop):
20961 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20963 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20966 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20968 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20969 (gst_base_src_finalize):
20970 add finalize method and clean up properly
20971 * gst/gstpipeline.c: (gst_pipeline_dispose):
20974 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20976 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20978 add more things to check
20979 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20980 * gst/gstelement.c:
20983 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20985 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20986 (GST_START_TEST), (fakesrc_suite):
20987 * check/gst-libs/gdp.c: (GST_START_TEST):
20988 * check/gst/gst.c: (GST_START_TEST):
20989 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20990 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20991 * check/gst/gstbus.c: (GST_START_TEST):
20992 * check/gst/gstcaps.c: (GST_START_TEST):
20993 * check/gst/gstdata.c: (GST_START_TEST):
20994 * check/gst/gstelement.c: (GST_START_TEST):
20995 * check/gst/gstghostpad.c: (GST_START_TEST):
20996 * check/gst/gstiterator.c: (GST_START_TEST):
20997 * check/gst/gstmessage.c: (GST_START_TEST):
20998 * check/gst/gstobject.c: (GST_START_TEST):
20999 * check/gst/gstpad.c: (GST_START_TEST):
21000 * check/gst/gststructure.c: (GST_START_TEST):
21001 * check/gst/gstsystemclock.c: (GST_START_TEST),
21002 (gst_systemclock_suite):
21003 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21004 * check/gst/gstvalue.c: (GST_START_TEST):
21005 * check/pipelines/cleanup.c: (GST_START_TEST):
21006 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21007 * check/states/sinks.c: (GST_START_TEST):
21008 * check/gstcheck.c: (gst_check_init):
21009 * check/gstcheck.h:
21010 add debugging category
21011 use GST_START_TEST now, so we add a debug line
21013 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21015 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21016 add test for state change message on a bin
21017 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21019 * gst/gstbin.c: (gst_bin_init):
21020 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21021 * gst/gstelement.c: (gst_element_post_message),
21022 (gst_element_set_state):
21023 * gst/gstelementfactory.c: (gst_element_factory_create):
21024 * gst/gstmessage.c: (gst_message_new):
21025 * gst/gstscheduler.c:
21026 various debugging additions and cleanups
21028 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21030 * check/Makefile.am:
21031 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21033 adding tests for elements
21034 * gst/gstelement.c: (gst_element_dispose):
21036 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21038 * gst/registries/gstlibxmlregistry.c: (load_feature):
21039 plug more leaks. A simple gst_init() now is leakfree, yay.
21041 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21043 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21044 (gst_xml_registry_load):
21045 plug another memleak
21047 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21050 use GST_SET_ERROR_CFLAGS
21051 * docs/faq/cvs.xml:
21052 change to ERROR_CFLAGS
21054 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21057 make GST_ERROR_CFLAGS overridable and re-enable Werror
21058 * docs/faq/cvs.xml:
21059 add a note about error CFLAGS
21060 * docs/gst/tmpl/gstfakesrc.sgml:
21061 * gst/elements/gstfakesrc.c:
21062 comment out some unused code
21063 * gst/gst.c: (split_and_iterate):
21064 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21068 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21070 * common/Makefile.am:
21071 * common/gtk-doc.mak:
21072 * docs/gst/Makefile.am:
21073 factor out gtk-doc.mak
21075 2005-07-07 Wim Taymans <wim@fluendo.com>
21077 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21078 (gst_thread_scheduler_dispose):
21079 Unlock the STREAM_LOCK completely.
21081 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21083 * check/Makefile.am:
21084 * check/elements/.cvsignore:
21085 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21086 (START_TEST), (fakesrc_suite), (main):
21087 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21088 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21089 (gst_fakesrc_create), (gst_fakesrc_start):
21090 * gst/elements/gstfakesrc.h:
21091 adding a first element test
21093 2005-07-07 Andy Wingo <wingo@pobox.com>
21095 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21098 2005-07-07 Wim Taymans <wim@fluendo.com>
21104 2005-07-07 Wim Taymans <wim@fluendo.com>
21106 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21107 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21108 Allow subclasses to implement their own negotiation.
21110 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21112 * docs/design/part-gstbin.txt:
21113 * docs/design/part-gstpipeline.txt:
21114 Update design notes to reflect the movement of
21115 responsibility for bus handling from GstPipeline to
21118 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21121 Remove unnecessary queue2/3/4 examples.
21123 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21125 * examples/Makefile.am:
21126 * examples/helloworld/helloworld.c: (event_loop), (main):
21127 * examples/queue/queue.c: (event_loop), (main):
21128 * examples/queue2/queue2.c: (main):
21129 Update a couple of the examples to work again.
21131 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21132 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21133 Spelling corrections and extra debug.
21135 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21136 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21137 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21139 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21140 (gst_pipeline_change_state):
21141 * gst/gstpipeline.h:
21142 Move the bus handler for children to the GstBin, and create a
21143 separate bus for receiving messages from children to the one the
21144 bus sends 'upwards' on.
21146 2005-07-06 Wim Taymans <wim@fluendo.com>
21149 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21150 (gst_base_sink_handle_object), (gst_base_sink_loop),
21151 (gst_base_sink_change_state):
21152 * gst/base/gstbasesink.h:
21153 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21154 (gst_base_src_init), (gst_base_src_setcaps),
21155 (gst_base_src_getcaps), (gst_base_src_loop),
21156 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21157 (gst_base_src_start), (gst_base_src_change_state):
21158 * gst/base/gstbasesrc.h:
21159 Make basesrc negotiate.
21160 Handle the case where preroll fails in basesink.
21163 2005-07-06 Wim Taymans <wim@fluendo.com>
21165 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21166 Implement the fixate function.
21167 Clean up acceptcaps.
21169 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21171 * docs/pwg/building-filterfactory.xml:
21172 * docs/pwg/pwg.xml:
21173 Remove never-written filter-factory chapter; I'll add the various
21174 base classes to part 4 ("other element types") later on.
21176 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21178 * docs/pwg/advanced-negotiation.xml:
21179 * docs/pwg/building-boiler.xml:
21180 * docs/pwg/building-pads.xml:
21181 * docs/pwg/pwg.xml:
21182 * examples/pwg/Makefile.am:
21183 Add a chapter on caps negotiation, simplify the original code
21184 samples a bit w.r.t. caps negotiation, add link to the advanced
21185 section. Add a bunch of examples showing different use cases of
21186 different types of caps negotiation. Upstream renegotiation isn't
21187 fully documented yet since nobody knows how that works.
21189 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21191 * check/gst/gstpad.c:
21192 * check/gstcheck.c:
21193 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21194 if pad has no parent, return NULL as list of internal links
21196 2005-07-05 Andy Wingo <wingo@pobox.com>
21198 * gst/elements/gstfilesrc.c:
21199 * gst/elements/gstfakesrc.c:
21200 * gst/base/gstpushsrc.c:
21201 * gst/base/gstbasesrc.h:
21202 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21204 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21207 better report generation target (lcov needs a patch)
21209 2005-07-05 Andy Wingo <wingo@pobox.com>
21211 * gst/elements, testsuite: Null if we got it...
21213 2005-07-05 Wim Taymans <wim@fluendo.com>
21216 * libs/gst/dataprotocol/Makefile.am:
21217 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21218 * libs/gst/dataprotocol/dataprotocol.h:
21219 * pkgconfig/Makefile.am:
21220 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21221 * pkgconfig/gstreamer-dataprotocol.pc.in:
21222 Ported dataprotol to 0.9.
21223 Added pkgconfig files.
21225 2005-07-05 Andy Wingo <wingo@pobox.com>
21227 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21228 Default to returning TRUE for the case when tranform_caps returns
21229 a fixed caps, like for identity or volume.
21231 * check/gst/gstbus.c (pound_bus_with_messages):
21232 * check/gst/gstmessage.c (START_TEST):
21233 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21234 message API change.
21236 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21237 logic weaks here: always run transform_caps, trying passthrough
21238 operation only if the original caps intersects with the transform.
21240 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21241 source and sink caps.
21243 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21244 Intersect the peer caps with the pad template before going into
21246 (gst_base_transform_transform_caps): More debugging.
21248 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21251 2005-07-04 Edward Hervey <edward@fluendo.com>
21255 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21258 2005-07-04 Andy Wingo <wingo@pobox.com>
21260 * check/gst/gstpad.c: Only set explicit caps on pads.
21262 2005-07-01 Andy Wingo <wingo@pobox.com>
21264 * tests/network-clock.scm: Commentary update.
21266 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21267 Didn't really make sense, not implementable with basetransform,
21269 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21270 attempt at implementing the sync property, needs an unlock method.
21272 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21273 New func, by default returns the same caps (the identity
21275 (gst_base_transform_getcaps): Uses transform_caps to return
21276 something sensible.
21277 (gst_base_transform_setcaps): Complicated logic to get caps on
21278 both pads, even if they are different, and to call set_caps once
21279 for every time both pads get their caps set.
21280 (gst_base_transform_handle_buffer): Give the ref to the transform
21281 function. Allows in-place modification of the buffer.
21283 * gst/base/gstbasetransform.h (transform_caps): New class method.
21284 Given caps on one side, what can I do on the other.
21285 (set_caps): Take two caps, one for each side of the element.
21288 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21289 caps in place. This is safe because we can check the mutability of
21290 the caps, and a good idea because fixate functions are just called
21291 as a matter of last resort. (Not actually implemented.)
21292 (gst_pad_set_caps): If the caps we're setting is actually the same
21293 as the existing pad caps, just update the pointer without calling
21294 setcaps. Assert that caps is either NULL or fixed, as per the
21297 * gst/gstghostpad.c: Update for fixate changes.
21299 2005-07-02 Andy Wingo <wingo@pobox.com>
21302 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21303 two refcounts makes it immutable, which is enough. Doc more.
21305 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21307 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21308 Put the mini_object into GValue as a mini_object,
21309 not a gpointer, since that's how we declared
21312 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21314 * examples/pwg/Makefile.am:
21315 Fix buildbot again.
21317 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21319 * docs/pwg/building-testapp.xml:
21321 * examples/pwg/Makefile.am:
21324 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21327 * examples/Makefile.am:
21328 * examples/pwg/Makefile.am:
21329 * examples/pwg/extract.pl:
21330 Enable building the PWG examples.
21331 * docs/pwg/advanced-interfaces.xml:
21332 Add URI interface stub.
21333 * docs/pwg/advanced-types.xml:
21334 * docs/pwg/other-autoplugger.xml:
21335 * docs/pwg/appendix-porting.xml:
21336 * docs/pwg/pwg.xml:
21337 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21338 * docs/pwg/building-boiler.xml:
21339 * docs/pwg/building-chainfn.xml:
21340 * docs/pwg/building-pads.xml:
21341 * docs/pwg/building-props.xml:
21342 * docs/pwg/building-state.xml:
21343 * docs/pwg/building-testapp.xml:
21344 Update the building-*.xml parts for 0.9 changes. All examples
21345 code blocks compile in examples/pwg/*.
21347 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21349 * docs/manual/advanced-autoplugging.xml:
21350 * docs/manual/appendix-checklist.xml:
21351 * docs/manual/appendix-integration.xml:
21352 * docs/manual/highlevel-components.xml:
21353 Fix playbin/decodebin examples, update docs a bit, mention bus
21354 instead of signals in various places, mention kmplayer and
21355 kaffeine since they have a working GStreamer backend in the KDE
21358 2005-06-30 Wim Taymans <wim@fluendo.com>
21361 * docs/design/draft-ghostpads.txt:
21362 * docs/design/draft-push-pull.txt:
21363 * docs/design/draft-query.txt:
21364 * docs/design/part-TODO.txt:
21365 * docs/design/part-query.txt:
21366 Added CHANGES-0.9 doc, updated status of other docs.
21371 2005-06-30 Wim Taymans <wim@fluendo.com>
21373 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21374 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21375 (gst_base_sink_change_state):
21376 * gst/base/gstbasesink.h:
21377 Some tweaks, only EOS and a buffer complete a preroll.
21379 2005-06-30 Andy Wingo <wingo@pobox.com>
21381 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21382 activate_push down to the internal pad as well.
21384 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
21386 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21388 * gst/gsttaginterface.c:
21389 Some documentation fixes (#307394 and #307397).
21391 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
21393 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21395 * gst/gstvalue.c: (gst_value_intersect_list):
21396 Fix memleak (#309125).
21398 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21400 * docs/manual/advanced-dataaccess.xml:
21401 Fix fakesrc example to compile; doesn't work, bug somewhere...?
21402 * docs/manual/basics-pads.xml:
21403 Add reference for filtered caps to above chapter.
21405 2005-06-30 Wim Taymans <wim@fluendo.com>
21407 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21408 (gst_bin_change_state):
21410 Lame attempt at making the state change function a bit
21413 2005-06-30 Wim Taymans <wim@fluendo.com>
21415 * docs/design/part-clocks.txt:
21416 * docs/design/part-element-sink.txt:
21417 * docs/design/part-events.txt:
21418 * docs/design/part-preroll.txt:
21419 * docs/design/part-states.txt:
21420 Some more tweeks and additions to the docs.
21422 2005-06-30 Wim Taymans <wim@fluendo.com>
21424 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21425 (default_have_data), (gst_pad_class_init), (gst_pad_init),
21426 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21427 (gst_pad_check_pull_range), (gst_pad_get_range),
21428 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21430 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21431 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21432 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21433 (gst_pad_remove_buffer_probe):
21434 Removed atomic operations, use existing LOCK.
21435 Move exception handling out of main code path.
21437 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21439 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21440 (silly_return_true_function), (gst_pad_class_init),
21441 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21442 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21443 (gst_pad_send_event):
21444 Fix accumulator, add default value by using _emitv() instead
21445 of _emit() for signal emission.
21447 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21449 * docs/manual/advanced-dataaccess.xml:
21450 * examples/manual/Makefile.am:
21452 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21455 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
21457 * gst/elements/gstfilesink.c: (gst_filesink_render):
21458 Simplify code so that we don't have to handle short
21459 writes and return GST_FLOW_ERROR if an error occured.
21461 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21463 * docs/gst/gstreamer-docs.sgml:
21464 Remove probes more.
21466 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21468 * docs/gst/gstreamer-sections.txt:
21469 * docs/gst/tmpl/gstpad.sgml:
21470 * docs/gst/tmpl/gstprobe.sgml:
21472 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21473 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21474 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21475 (gst_pad_push_event), (gst_pad_send_event):
21477 * gst/gstutils.c: (gst_pad_add_data_probe),
21478 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21479 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21480 (gst_pad_remove_buffer_probe):
21482 Remove old probes, add new g-signal-based probes and some utility
21485 2005-06-29 Edward Hervey <edward@fluendo.com>
21487 * gst/gstelementfactory.c:
21490 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21491 the definition to the header file.
21493 2005-06-29 Andy Wingo <wingo@pobox.com>
21495 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21496 plugins from the source directory.
21498 2005-06-29 Wim Taymans <wim@fluendo.com>
21500 * docs/gst/tmpl/gstbuffer.sgml:
21501 * docs/gst/tmpl/gstclock.sgml:
21502 Some fixings for blantently wrong text.
21504 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21506 * check/Makefile.am:
21507 * gst/gst.c: (add_path_func), (init_pre):
21508 * gst/gstregistry.c: (gst_registry_add_path):
21509 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21510 only scan the GST_PLUGIN_PATH locations, and not add
21513 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21515 * docs/gst/gstreamer-sections.txt:
21516 * docs/gst/tmpl/gstbasesrc.sgml:
21517 * gst/gstelement.c:
21518 * gst/gstelement.h:
21523 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21525 * docs/manual/advanced-autoplugging.xml:
21526 Fix autoplugging example.
21528 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21530 * docs/manual/advanced-autoplugging.xml:
21531 * docs/manual/mime-world.fig:
21532 Try to get autoplugging working, fix type detection. Fix text
21533 in hello-world image.
21535 2005-06-29 Wim Taymans <wim@fluendo.com>
21537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21538 (gst_base_sink_change_state):
21542 map SIGNAL and BROADCAST to the right function.
21545 Remove redundant braces.
21547 * gst/gstpad.c: (gst_pad_set_caps):
21548 Don't call setcaps function when reseting caps to NULL.
21550 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21551 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21552 (gst_system_clock_id_unschedule):
21553 Use BROADCAST as this is what we do.
21555 2005-06-29 Wim Taymans <wim@fluendo.com>
21557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21558 We are actually prerolling before commiting the state
21561 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21563 * docs/manual/advanced-clocks.xml:
21564 * docs/manual/advanced-interfaces.xml:
21565 * docs/manual/advanced-metadata.xml:
21566 * docs/manual/advanced-position.xml:
21567 * docs/manual/advanced-schedulers.xml:
21568 * docs/manual/advanced-threads.xml:
21569 * docs/manual/appendix-porting.xml:
21570 * docs/manual/basics-bins.xml:
21571 * docs/manual/basics-bus.xml:
21572 * docs/manual/basics-elements.xml:
21573 * docs/manual/basics-helloworld.xml:
21574 * docs/manual/basics-pads.xml:
21575 * docs/manual/highlevel-components.xml:
21576 * docs/manual/manual.xml:
21577 * docs/manual/thread.fig:
21578 Update (until threads/scheduling) Application Development Manual;
21579 remove GstThread, add GstBus, add simple porting checklist, add
21580 documentation for tag writing, clocks, make all examples until this
21581 part compile and run.
21582 * examples/manual/Makefile.am:
21583 Update from changes to Application Development Manual; add bus
21584 example, remove thread example.
21586 2005-06-28 Wim Taymans <wim@fluendo.com>
21588 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21589 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21590 (gst_bus_source_dispatch):
21591 Add debugging messages.
21592 Make internal methods static.
21593 Handle the case where the bus is flushed in the handler.
21595 * gst/gstelement.c: (gst_element_get_bus):
21596 Fix refcount in _get_bus();
21598 * gst/gstpipeline.c: (gst_pipeline_change_state),
21599 (gst_pipeline_get_clock_func):
21600 Clock refcounting fixes.
21601 Handle the case where preroll timed out more gracefully.
21603 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21604 Clean up the internal thread in dispose. This is needed
21605 for subclasses that actually get disposed.
21607 * gst/schedulers/threadscheduler.c:
21608 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21609 (gst_thread_scheduler_dispose):
21610 Free thread pool in dispose.
21612 2005-06-28 Andy Wingo <wingo@pobox.com>
21614 * tests/network-clock-utils.scm (debug, print-event): New utils.
21616 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21617 (*packet-loss*): Unified loss probability.
21618 (network-time): Report out-of-band events.
21620 * tests/plot-data: Add support for out-of-band events. Hack it
21621 into this script instead of passing it down the pipe; should fix
21624 2005-06-28 Wim Taymans <wim@fluendo.com>
21626 * docs/gst/gstreamer.types:
21627 * docs/gst/tmpl/gstbasesrc.sgml:
21628 * docs/gst/tmpl/gstpad.sgml:
21631 2005-06-28 Wim Taymans <wim@fluendo.com>
21633 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21634 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21635 (gst_proxy_pad_do_fixatecaps):
21636 Correctly proxy the check_pull_range function.
21638 2005-06-28 Andy Wingo <wingo@pobox.com>
21640 * tests/network-clock.scm: Removed need for slib.
21642 2005-06-28 Wim Taymans <wim@fluendo.com>
21644 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21645 (gst_basesink_preroll_queue_flush):
21646 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21647 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21648 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21649 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21650 (gst_proxy_pad_set_property):
21653 * gst/gstqueue.c: (gst_queue_init):
21654 The deprecated pad loop function is removed now.
21656 2005-06-28 Andy Wingo <wingo@pobox.com>
21658 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21659 New parameters, simulate network packet loss.
21661 * tests/network-clock-utils.scm: Initialize the RNG.
21663 2005-06-28 Wim Taymans <wim@fluendo.com>
21665 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21666 (gst_basesink_event), (gst_basesink_deactivate):
21667 Flushing the preroll queue always needs to unlock the waiters.
21669 2005-06-28 Edward Hervey <edward@fluendo.com>
21671 * gst/gstpipeline.c: (gst_pipeline_send_event):
21672 Wheen a seek was successful on a pipeline, set the stream_time to the
21673 seek offset in order to have a synchronized stream_time.
21675 2005-06-28 Wim Taymans <wim@fluendo.com>
21677 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21678 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21679 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21680 (gst_proxy_pad_do_fixatecaps):
21681 Call wrapper function instead of just calling the function
21682 pointers. This takes care of any locking and whatmore.
21684 2005-06-28 Wim Taymans <wim@fluendo.com>
21686 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21687 (gst_pad_pull_range):
21689 CONNECTED -> LINKED.
21691 2005-06-28 Andy Wingo <wingo@pobox.com>
21693 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21694 source-munging commit!!!
21696 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21697 (gst_object_sink): Take gpointer arguments, not GstObject --
21698 avoids casts. Like GLib.
21700 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21703 2005-06-27 Andy Wingo <wingo@pobox.com>
21705 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21708 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21709 returns a sorted copy of the trace list.
21710 (gst_alloc_trace_print_live): New API, only prints traces with
21711 live objects. Sort the list.
21712 (gst_alloc_trace_print_all): Sort the list.
21713 (gst_alloc_trace_print): Align columns.
21715 * gst/elements/gstttypefindelement.c:
21716 * gst/elements/gsttee.c:
21717 * gst/base/gstbasesrc.c:
21718 * gst/base/gstbasesink.c:
21719 * gst/base/gstbasetransform.c:
21720 * gst/gstqueue.c: Adapt for pad activation changes.
21722 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21724 (gst_pipeline_dispose): Drop ref on sched.
21726 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21727 (gst_pad_activate_default): Push mode by default.
21728 (pre_activate_switch, post_activate_switch): New stubs, things to
21729 do before and after switching activation modes on pads.
21730 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21731 the pad's activate function to choose which mode to activate.
21732 Shortcut on deactivation and call the right function directly.
21733 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21735 (gst_pad_activate_push): New API, same for push mode.
21736 (gst_pad_set_activate_function)
21737 (gst_pad_set_activatepull_function)
21738 (gst_pad_set_activatepush_function): Setters for new API.
21740 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21741 Trace all miniobjects.
21742 (gst_mini_object_make_writable): Unref the arg if we copy, like
21743 gst_caps_make_writable.
21745 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21747 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21748 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21749 Adapt for new pad API.
21751 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21753 * gst/gstelement.h:
21754 * gst/gstelement.c (gst_element_iterate_src_pads)
21755 (gst_element_iterate_sink_pads): New API functions.
21757 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21758 should fold into gstiterator.c in some form.
21759 (gst_element_pads_activate): Simplified via use of fold and
21760 delegation of decisions to gstpad->activate.
21762 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21765 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21766 class once in init, like gstmessage. Didn't run into this issue
21767 but it seems correct. Don't initialize a trace, gstminiobject does
21770 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21771 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21773 (assert_live_count): New util function, uses alloc traces to check
21776 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21777 To be modified when unlink drops the internal pad.
21779 2005-06-27 Wim Taymans <wim@fluendo.com>
21781 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21782 (gst_bin_change_state):
21783 Cleanup the get_state() function a little, make sure it
21784 iterates the same set of elements.
21785 Added stub iterate_state_order().
21787 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21789 * docs/gst/gstreamer-docs.sgml:
21790 * docs/gst/gstreamer-sections.txt:
21791 * docs/gst/gstreamer.types:
21792 * docs/gst/tmpl/gstbasesink.sgml:
21793 * docs/gst/tmpl/gstbasesrc.sgml:
21794 * docs/gst/tmpl/gstbasetransform.sgml:
21795 * docs/gst/tmpl/gstelement.sgml:
21796 * docs/gst/tmpl/gstiterator.sgml:
21797 * gst/base/gstbasesrc.c:
21798 * gst/base/gstbasesrc.h:
21799 * gst/base/gstbasetransform.h:
21800 * gst/gstelement.c:
21801 * gst/gstiterator.h:
21802 adding basetransform and iterator docs
21804 2005-06-27 Andy Wingo <wingo@pobox.com>
21806 * docs/design/part-activation.txt: Notes on how activation should
21807 work -- not quite implemented yet.
21809 2005-06-25 Wim Taymans <wim@fluendo.com>
21811 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21812 At least get the chain function correct, needs more
21815 2005-06-25 Wim Taymans <wim@fluendo.com>
21817 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21818 (gst_basesink_handle_object), (gst_basesink_event),
21819 (gst_basesink_do_sync), (gst_basesink_handle_event),
21820 (gst_basesink_change_state):
21822 Right, two problems here: ghostpads don't take locks and
21823 glib _rec_mutex_lock_full() with depth==0 still locks.
21824 Catch illegal locking and g_warn them.
21826 2005-06-25 Wim Taymans <wim@fluendo.com>
21828 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21829 Have to check for completion now...
21831 2005-06-25 Wim Taymans <wim@fluendo.com>
21833 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21834 (gst_basesink_handle_object), (gst_basesink_event),
21835 (gst_basesink_do_sync), (gst_basesink_handle_event),
21836 (gst_basesink_change_state):
21838 Unlock STREAM_LOCK whatever the recursion was.
21840 2005-06-25 Wim Taymans <wim@fluendo.com>
21842 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21843 (gst_basesink_preroll_queue_empty),
21844 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21845 (gst_basesink_event), (gst_basesink_do_sync),
21846 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21847 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21848 (gst_basesink_change_state):
21849 Reworked the base sink, handle event and buffer serialisation
21850 correctly and removed possible deadlock.
21851 Handle EOS correctly.
21853 2005-06-25 Wim Taymans <wim@fluendo.com>
21855 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21856 (gst_pipeline_change_state):
21857 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21858 Allow elements to post EOS in the state change function.
21859 Fix up -launch, make it exit the poll loop when the
21860 pipeline actually changed state.
21861 Fix up warning parsing in -launch.
21863 2005-06-25 Wim Taymans <wim@fluendo.com>
21865 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21866 (gst_tee_sink_activate):
21867 Core takes STREAM_LOCK for us now.
21869 2005-06-25 Wim Taymans <wim@fluendo.com>
21871 * gst/gstelement.c: (gst_element_get_state_func),
21872 (gst_element_set_state):
21873 * gst/gstelement.h:
21874 * gst/gstmessage.c: (gst_message_parse_error),
21875 (gst_message_parse_warning):
21876 Keep track of current target state while performing a state
21877 change so that subclasses can do something interesting.
21878 Fix parsing of warning/error messages when GError is NULL.
21880 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21882 * docs/gst/Makefile.am:
21883 * docs/gst/gstreamer-docs.sgml:
21884 * docs/gst/gstreamer-sections.txt:
21885 * docs/gst/gstreamer.types:
21886 * docs/gst/tmpl/gstbasesink.sgml:
21887 * docs/gst/tmpl/gstbasesrc.sgml:
21888 * docs/gst/tmpl/gstbin.sgml:
21889 * docs/gst/tmpl/gstcompat.sgml:
21890 * docs/gst/tmpl/gstfakesink.sgml:
21891 * docs/gst/tmpl/gstfakesrc.sgml:
21892 * docs/gst/tmpl/gstfilesink.sgml:
21893 * docs/gst/tmpl/gstfilesrc.sgml:
21894 * docs/gst/tmpl/gstindex.sgml:
21895 * docs/manual/appendix-quotes.xml:
21896 * gst/base/gstbasesrc.h:
21897 * gst/elements/gstfakesrc.h:
21898 * gst/gstmessage.h:
21899 start pulling in base classes and elements in our docs
21901 2005-06-24 Stefan Kost <ensonic@users.sf.net>
21903 * docs/gst/Makefile.am:
21904 * docs/libs/Makefile.am:
21905 fixed make distcheck with gtk-doc 1.3
21907 2005-06-23 Wim Taymans <wim@fluendo.com>
21909 * gst/gstelement.c: (gst_element_get_state_func),
21910 (gst_element_set_state), (gst_element_change_state):
21911 When the state did not change, also report NO_PREROLL
21914 2005-06-23 Wim Taymans <wim@fluendo.com>
21916 * gst/gstpad.c: (gst_pad_event_default):
21917 * gst/gstqueue.c: (gst_queue_loop):
21918 No unsafe task pausing please.
21920 2005-06-23 Wim Taymans <wim@fluendo.com>
21922 * gst/schedulers/threadscheduler.c:
21923 (gst_thread_scheduler_task_start),
21924 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21925 Ref the task before pushing it on the threadpool. This
21926 makes sure that we have a ref when the threadfunction is
21929 2005-06-23 Andy Wingo <wingo@pobox.com>
21931 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21932 offset is greater than the file's size.
21934 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
21935 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21936 * gst/gstobject.c (gst_object_class_init): Make the class lock
21937 recursive. Wim won't let me drop deep_notify. Decodebin works
21938 again, whoopdy doo.
21940 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21941 internal pad, and hacks accordingly. Doesn't do it on the target
21942 pad because we change its caps. Probably catches all cases of
21944 (gst_ghost_pad_set_property): Connect to notify::caps as
21947 * tests/network-clock.scm (plot-simulation): Pipe data to the
21948 elite python skript.
21950 * tests/network-clock-utils.scm (define-parameter): New macro,
21951 defines a parameter that can be set via the command line.
21952 (set-parameter!, parse-parameter-arguments): Command line args
21955 * tests/plot-data: Simple matplotlib-based plotter, takes input on
21958 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
21960 * gst/elements/gsttypefindelement.c:
21961 (gst_type_find_element_handle_event):
21962 Don't restart typefinding on a discont.
21963 * gst/gstelement.c: (gst_element_set_state):
21964 Debug spelling fix.
21965 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21966 Allow changing mode of an active pad.
21967 Debug output fixes.
21968 * gst/registries/gstlibxmlregistry.c: (load_feature):
21969 Don't cast a static pad template to a normal pad template.
21971 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
21973 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21974 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21975 remove gst_strtoll completely, since it didn't actually do
21976 anything more than what g_ascii_strtoull already does.
21977 check for range errors when deserializing
21978 do a cast for the unsigned cases; but further fixing needs
21979 a decision on what the interpretation of "(int)" and
21980 deserialization should be for values that fall outside the
21981 type's boundaries (ie, refuse, or interpret as casting)
21983 2005-06-23 Wim Taymans <wim@fluendo.com>
21985 * check/Makefile.am:
21986 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
21987 * docs/design/part-live-source.txt:
21988 * docs/design/part-states.txt:
21989 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21990 (gst_basesrc_set_live), (gst_basesrc_is_live),
21991 (gst_basesrc_get_range), (gst_basesrc_activate),
21992 (gst_basesrc_change_state):
21993 * gst/base/gstbasesrc.h:
21994 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21995 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21996 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
21997 * gst/gstelement.c: (gst_element_get_state_func),
21998 (gst_element_set_state):
21999 * gst/gstelement.h:
22001 * tools/gst-launch.c: (event_loop), (main):
22002 Added support for live sources and other elements that
22004 Updated design docs, added live-source design doc.
22005 Implemented live source functionality in basesrc
22006 Fix error condition in _bin_get_state()
22007 Implement live source handling in -launch.
22008 Added check for live sources.
22009 Fixed case in GstBin where elements were changed state
22013 2005-06-23 Andy Wingo <wingo@pobox.com>
22015 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22016 borken refcounting.
22018 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22019 gst_caps_replace takes care of this for us.
22021 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22022 gst_pad_set_caps on the target, not just its setcaps() function.
22024 * tests/network-clock.scm:
22025 * tests/network-clock-utils.scm: A network clock simulator.
22026 Something of an algorithmic testbed before doing something in C.
22028 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22030 * check/Makefile.am:
22031 * check/gst/capslist.h:
22032 copy over from 0.8, and add two with bitmasks specified with
22034 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22035 add test to parse everything from capslist.h
22036 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22038 add test for structure deserialization
22039 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22040 add tests for deserialization of strings to int types
22041 * gst/gststructure.c: (gst_structure_nth_field_name):
22042 * gst/gststructure.h:
22043 add a way to get the name of a field referenced by index
22044 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22045 instead of checking if the resulting long long lies between
22046 min and max, we check if the long long would fit into
22047 a number of bytes for the final type.
22048 This fixes cases where a string represents 2^32 - 1, which
22049 when cast to int would be the (valid) -1, but is bigger than
22052 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22054 * gst/parse/grammar.y:
22055 add a log line for type deserialization
22057 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22059 * check/gst/gstvalue.c: (START_TEST):
22060 * gst/gstvalue.c: (gst_value_deserialize):
22061 return long long, not int, so gint64 deserialization actually
22062 works. Is there any flag that makes the compiler check this ?
22065 2005-06-22 Wim Taymans <wim@fluendo.com>
22068 Added convenience macros for setting buffers in GValue.
22070 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22072 * check/gst/.cvsignore:
22073 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22074 add a test deserializing int64, and comment part out because
22077 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22079 * check/Makefile.am:
22080 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22081 * testsuite/Makefile.am:
22082 * testsuite/caps/Makefile.am:
22083 * testsuite/caps/value_serialize.c:
22084 * testsuite/test_gst_init.c:
22085 move a value_serialize test over
22087 2005-06-20 Wim Taymans <wim@fluendo.com>
22092 * gst/gstvalue.c: (gst_value_compare_buffer),
22093 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22094 (gst_value_compare_flags), (gst_value_serialize_flags),
22095 (gst_value_deserialize_flags), (_gst_value_initialize):
22096 Fix serialisation of buffers, they are not boxed types anymore
22098 2005-06-20 Wim Taymans <wim@fluendo.com>
22100 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22101 Testcase to show error in buffer-on-caps serialisation.
22103 2005-06-20 Andy Wingo <wingo@pobox.com>
22105 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22106 will be adding to later.
22108 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22109 if its socks fill with rocks.
22110 (gst_system_clock_obtain): Set the name on object construction.
22111 Avoid double-checked locking.
22113 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22115 * gst/gsturi.c: (gst_element_make_from_uri):
22116 Fix potential endless loop.
22118 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22120 * check/Makefile.am:
22122 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22124 move over from testsuite dir and clean up
22127 * testsuite/Makefile.am:
22128 * testsuite/tags/.cvsignore:
22129 * testsuite/tags/Makefile.am:
22130 * testsuite/tags/merge.c:
22131 remove testsuite/tags
22133 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22135 * docs/gst/gstreamer-sections.txt:
22136 * docs/gst/tmpl/gstenumtypes.sgml:
22137 * win32/gstenumtypes.c:
22138 clean up documentation build a little
22140 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22142 * check/gstcheck.h:
22143 add macros for checking refcounts on objects and caps
22144 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22145 add some more unit tests
22146 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22147 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22148 fix leaked refcounts (I hope :)) so unittest works
22152 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22154 * configure.ac: back to HEAD
22156 === release 0.9.1 ===
22158 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22164 2005-06-17 Andy Wingo <wingo@pobox.com>
22166 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22167 assert; it's always possible that the pad gets deactivated in
22168 between the checks in gstpad.c and the implementation. Rely on
22169 finish_preroll() to return a FLUSHING or similar instead of on the
22172 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22173 clock and post an EOS message if we come out of finish_preroll in
22176 2005-06-16 David Schleef <ds@schleef.org>
22178 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22179 (gst_capsfilter_set_property): Allow NULL as possible value
22180 for filter_caps property, indicating GST_CAPS_ANY.
22182 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22184 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22186 * gst/schedulers/Makefile.am:
22188 * gstreamer.spec.in:
22191 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22193 * gstreamer.spec.in:
22196 2005-06-08 Andy Wingo <wingo@pobox.com>
22198 * gst/gstutils.c: RPAD fixes all around.
22199 (gst_element_link_pads): Refcounting fixes.
22201 * tools/gst-inspect.c:
22202 * tools/gst-xmlinspect.c:
22204 * gst/base/gsttypefindhelper.c:
22205 * gst/base/gstbasesink.c:
22206 * gst/gstqueue.c: RPAD fixes.
22208 * gst/gstghostpad.h:
22209 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22210 pads. The tricky thing is they provide both source and sink
22211 interfaces, since they proxy the internal pad for the external
22212 pad, and vice versa. Implement with lower-level ProxyPad objects,
22213 with the interior proxy pad as a child of the exterior ghost pad.
22214 Should write a doc on this.
22216 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22217 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22220 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22221 pads are real pads. No ghost pads in this file. Not documenting
22222 the myriad s/RPAD/PAD/ and REALIZE fixes.
22223 (gst_pad_class_init): Add properties for "direction" and
22224 "template". Both are construct-only, so they can't change during
22225 the life of the pad. Fixes properly deriving from GstPad.
22226 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22227 derived objects, just set properties when creating the objects via
22229 (gst_pad_get_parent): Implement as a function, return NULL if the
22230 parent is not an element.
22231 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22232 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22234 * gst/gstobject.c (gst_object_class_init): Make name a construct
22235 property. Don't set it in the object init.
22237 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22238 with UNKNOWN direction.
22239 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22240 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22241 (gst_element_remove_pad): Remove ghost-pad special cases.
22242 (gst_element_pads_activate): Remove rpad cruft.
22244 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22245 catch the pad's-parent-not-an-element case.
22247 * gst/gst.h: Include gstghostpad.h.
22249 * gst/gst.c (init_post): No more real, ghost pads.
22251 * gst/Makefile.am: Add gstghostpad.[ch].
22253 * check/Makefile.am:
22254 * check/gst/gstbin.c:
22255 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22256 into a bin creates ghost pads, and that the refcounts are right.
22257 Partly moved from gstbin.c.
22259 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22261 * check/gst-libs/.cvsignore:
22262 * check/gst/.cvsignore:
22263 * check/pipelines/.cvsignore:
22265 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22266 (START_TEST), (cleanup_suite), (main):
22267 add some tests related to cleanup after running pipelines
22269 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22271 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22272 add a testsuite for GstBuffer
22274 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22276 * gst/gstminiobject.h:
22277 add defines for accessing the refcount
22279 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22281 * Makefile.am: added support for html unit test coverage reports
22283 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22285 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22286 Free existing caps if the capsfilter changes. Add a FIXME about
22287 setting those caps on the pads.
22289 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22290 Before adding a ghost pad to a parent bin, check that there isn't
22291 already one for the element on the bin. Prevents infinite recursion
22292 when using decodebin in parse pipelines. Andy says he'll rewrite the
22293 way this works anyway, so ignore the hack.
22295 2005-06-02 Andy Wingo <wingo@pobox.com>
22297 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22298 file size, pass it on to the type find helper.
22300 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22301 segment_start and segment_end properly according to the seek
22302 method. Segment_end is still a bit flaky because offset can be
22303 negative for CUR and END cases, but it takes -1 as an "unset"
22306 2005-06-02 Wim Taymans <wim@fluendo.com>
22308 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22309 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22310 (gst_basesink_activate):
22311 * gst/base/gstbasesink.h:
22312 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22313 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22314 (gst_pad_query), (gst_pad_start_task):
22316 * gst/gstqueue.c: (gst_queue_bufferalloc),
22317 (gst_queue_handle_sink_event), (gst_queue_chain):
22318 Bufferalloc: return GstFlowReturn to more accuratly report
22319 why allocation failed.
22321 2005-06-02 Wim Taymans <wim@fluendo.com>
22323 * gst/gstpipeline.c: (gst_pipeline_send_event):
22324 Take snapshot of state without blocking.
22326 2005-06-02 Wim Taymans <wim@fluendo.com>
22328 * docs/design/part-TODO.txt:
22329 * docs/design/part-caps.txt:
22330 * docs/design/part-clocks.txt:
22331 * docs/design/part-negotiation.txt:
22332 * docs/design/part-preroll.txt:
22335 2005-05-30 Wim Taymans <wim@fluendo.com>
22337 * gst/elements/gstidentity.c: (gst_identity_event),
22338 (gst_identity_transform), (gst_identity_get_property):
22339 Protect last_message property as it is accessed from
22342 2005-05-30 Wim Taymans <wim@fluendo.com>
22344 * gst/gstelement.c: (gst_element_init),
22345 (gst_element_pads_activate), (gst_element_change_state):
22346 Slicker pad activation code.
22348 2005-05-30 Wim Taymans <wim@fluendo.com>
22351 * gst/gstelement.h:
22352 * gst/gstelementfactory.h:
22354 Move elementfactory methods to separate .h file.
22356 2005-05-30 Wim Taymans <wim@fluendo.com>
22358 * docs/design/part-overview.txt:
22359 * gst/gstsystemclock.h:
22360 Small typo fixes, doc updates.
22362 2005-05-30 Wim Taymans <wim@fluendo.com>
22364 * gst/gst.c: (gst_init_get_popt_table), (init_post),
22365 (init_popt_callback):
22366 Remove cpu-opt flag.
22368 2005-05-30 Wim Taymans <wim@fluendo.com>
22370 * gst/gstbuffer.c: (gst_subbuffer_finalize),
22371 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22373 Avoid typechecking in places where not needed.
22374 Added accessor for malloc_data.
22376 2005-05-30 Wim Taymans <wim@fluendo.com>
22378 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22379 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22380 (gst_pad_configure_sink), (gst_pad_configure_src),
22381 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22382 (gst_pad_start_task):
22383 Propagate errors from _set_caps() in configure_src/sink
22384 functions instead of returning TRUE.
22385 FLUSH events can travel up and downstream
22388 2005-05-30 Wim Taymans <wim@fluendo.com>
22390 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22391 (gst_basesink_activate):
22392 Handle EOS in preroll.
22394 2005-05-30 Wim Taymans <wim@fluendo.com>
22396 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22397 (gst_queue_loop), (gst_queue_handle_src_event):
22398 Remove old pieces of code
22399 Flushing the queue in an upstream event is a very bad idea.
22401 2005-05-26 Andy Wingo <wingo@pobox.com>
22403 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22404 gst_value_set_mini_object so as to add a ref on the object (which
22405 will be removed when the value is unset).
22407 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22408 arg type in ::handoff.
22410 * gst/gstelement.c (gst_element_change_state): Also deactivate
22411 pads in READY->NULL, just in case the element didn't make it to
22412 PAUSED. Wingo tested, Wim approved.
22414 2005-05-26 Wim Taymans <wim@fluendo.com>
22416 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22417 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22418 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22419 A flushing pad cannot be used to alloc_buffer from.
22421 2005-05-26 Wim Taymans <wim@fluendo.com>
22423 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22424 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22425 (gst_bus_source_dispatch), (gst_bus_source_finalize),
22426 (gst_bus_create_watch), (gst_bus_add_watch_full):
22428 Implement a real GSource and use g_main_context_wakeup() to
22429 signal new messages instead of the socketpair.
22431 2005-05-25 Wim Taymans <wim@fluendo.com>
22433 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22434 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22435 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22436 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22437 (gst_pad_send_event), (gst_pad_start_task):
22438 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22439 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22440 (gst_queue_sink_activate), (gst_queue_src_activate),
22441 (gst_queue_change_state):
22443 Fix state changes for non sinks. We now change sinks, then elements
22444 with unconnected srcpads, then the rest.
22445 More efficient queue unlocking in flush and state changes.
22446 Set the pad activate mode even if it does not have an activate
22449 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22451 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22452 Don't go in pull mode for non-seekable sources.
22453 * gst/elements/gsttypefindelement.h:
22454 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22455 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22456 (free_entry), (stop_typefinding),
22457 (gst_type_find_element_handle_event), (find_peek),
22458 (gst_type_find_element_chain), (do_pull_typefind),
22459 (gst_type_find_element_change_state):
22460 Allow typefinding (w/o seeking) in push-mode, simplified version
22461 of what was in 0.8.
22462 * gst/gstutils.c: (gst_buffer_join):
22464 gst_buffer_join() from 0.8.
22466 2005-05-25 Wim Taymans <wim@fluendo.com>
22468 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22469 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22470 (gst_pad_send_event), (gst_pad_start_task):
22471 Disable attempt at mode switching until it is figured out.
22473 2005-05-25 Wim Taymans <wim@fluendo.com>
22475 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22476 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22477 (gst_basesink_finish_preroll), (gst_basesink_chain),
22478 (gst_basesink_loop), (gst_basesink_activate),
22479 (gst_basesink_change_state):
22480 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22481 (gst_basesrc_get_range), (gst_basesrc_loop),
22482 (gst_basesrc_activate):
22483 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22484 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22485 (gst_real_pad_init), (gst_real_pad_set_property),
22486 (gst_real_pad_get_property), (gst_pad_set_active),
22487 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22488 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22489 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22490 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22491 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22492 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22493 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22494 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22495 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22496 (gst_pad_stop_task):
22498 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22499 (gst_queue_loop), (gst_queue_src_activate):
22500 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22501 (gst_task_get_state):
22503 * gst/schedulers/threadscheduler.c:
22504 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22505 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22507 Remove ACTIVE pad flag, use FLUSHING everywhere
22508 Added _pad_chain(), _pad_get_range() to call chain/getrange
22510 Add locks around IS_FLUSHING when reading.
22511 Take STREAM lock in chain(), get_range() functions so plugins
22512 don't need to take it anymore.
22516 2005-05-25 Wim Taymans <wim@fluendo.com>
22518 * tools/gst-launch.c: (event_loop):
22519 Unref message after using its contents instead of
22522 2005-05-24 Wim Taymans <wim@fluendo.com>
22524 * docs/design/draft-ghostpads.txt:
22525 * docs/design/draft-push-pull.txt:
22526 * docs/design/draft-query.txt:
22527 * docs/design/part-overview.txt:
22528 Docs updates, added general overview doc.
22530 2005-05-21 David Schleef <ds@schleef.org>
22532 * docs/gst/tmpl/old/GstBin.sgml:
22533 * docs/gst/tmpl/old/GstBuffer.sgml:
22534 * docs/gst/tmpl/old/GstCaps.sgml:
22535 * docs/gst/tmpl/old/GstClock.sgml:
22536 * docs/gst/tmpl/old/GstCompat.sgml:
22537 * docs/gst/tmpl/old/GstData.sgml:
22538 * docs/gst/tmpl/old/GstElement.sgml:
22539 * docs/gst/tmpl/old/GstEvent.sgml:
22540 * docs/gst/tmpl/old/GstIndex.sgml:
22541 * docs/gst/tmpl/old/GstStructure.sgml:
22542 * docs/gst/tmpl/old/GstTag.sgml:
22543 * docs/gst/tmpl/old/cothreads.sgml:
22544 * docs/gst/tmpl/old/cothreads_compat.sgml:
22545 * docs/gst/tmpl/old/gettext.sgml:
22546 * docs/gst/tmpl/old/gobject2gtk.sgml:
22547 * docs/gst/tmpl/old/grammar.tab.sgml:
22548 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22549 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22550 * docs/gst/tmpl/old/gst_private.sgml:
22551 * docs/gst/tmpl/old/gstaggregator.sgml:
22552 * docs/gst/tmpl/old/gstarch.sgml:
22553 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22554 * docs/gst/tmpl/old/gstbufferstore.sgml:
22555 * docs/gst/tmpl/old/gstdata_private.sgml:
22556 * docs/gst/tmpl/old/gstdisksink.sgml:
22557 * docs/gst/tmpl/old/gstdisksrc.sgml:
22558 * docs/gst/tmpl/old/gstelementfactory.sgml:
22559 * docs/gst/tmpl/old/gstextratypes.sgml:
22560 * docs/gst/tmpl/old/gstfakesink.sgml:
22561 * docs/gst/tmpl/old/gstfakesrc.sgml:
22562 * docs/gst/tmpl/old/gstfdsink.sgml:
22563 * docs/gst/tmpl/old/gstfdsrc.sgml:
22564 * docs/gst/tmpl/old/gstfilesink.sgml:
22565 * docs/gst/tmpl/old/gstfilesrc.sgml:
22566 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22567 * docs/gst/tmpl/old/gstidentity.sgml:
22568 * docs/gst/tmpl/old/gstindexfactory.sgml:
22569 * docs/gst/tmpl/old/gstmarshal.sgml:
22570 * docs/gst/tmpl/old/gstmd5sink.sgml:
22571 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22572 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22573 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22574 * docs/gst/tmpl/old/gstpipefilter.sgml:
22575 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22576 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22577 * docs/gst/tmpl/old/gstshaper.sgml:
22578 * docs/gst/tmpl/old/gstspider.sgml:
22579 * docs/gst/tmpl/old/gstspideridentity.sgml:
22580 * docs/gst/tmpl/old/gststatistics.sgml:
22581 * docs/gst/tmpl/old/gsttee.sgml:
22582 * docs/gst/tmpl/old/gsttimecache.sgml:
22583 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22584 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22585 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22586 * docs/gst/tmpl/old/types.sgml:
22587 I didn't intend to add these or check them in.
22589 2005-05-19 David Schleef <ds@schleef.org>
22591 * configure.ac: Use -no-common everywhere. In a sane world, it
22592 would be the default in libtool, because without it, you can't
22593 build DLLs on Windows.
22594 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22595 * docs/gst/gstreamer-sections.txt:
22596 * docs/gst/tmpl/gstcpu.sgml:
22597 * docs/gst/tmpl/gstdata.sgml:
22598 * docs/gst/tmpl/gstthread.sgml:
22600 2005-05-19 David Schleef <ds@schleef.org>
22602 * gst/gstminiobject.c: (gst_value_set_mini_object),
22603 (gst_value_take_mini_object), (gst_value_get_mini_object):
22604 * gst/gstminiobject.h: Add GValue set/get functions.
22606 2005-05-19 Wim Taymans <wim@fluendo.com>
22608 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22609 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22610 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22612 * gst/gstbus.c: (gst_bus_post):
22613 * gst/gstelement.c: (gst_element_get_random_pad):
22614 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22615 Make subbufer unref the parent in finalize.
22616 some more debugging info.
22619 2005-05-19 Wim Taymans <wim@fluendo.com>
22621 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22622 (gst_basesink_init), (gst_basesink_finalize),
22623 (gst_basesink_activate), (gst_basesink_change_state):
22624 Don't free preroll queue too early.
22626 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22630 Hi, I'm outdated. Please shoot me.
22632 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22634 * gst/gstpipeline.c: (gst_pipeline_send_event):
22635 Do not access variables after they have been deleted.
22637 2005-05-19 Wim Taymans <wim@fluendo.com>
22639 * tools/gst-inspect.c: (print_plugin_features):
22640 A plugin feature does unfortunatly not use the
22643 2005-05-18 Wim Taymans <wim@fluendo.com>
22645 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22646 Port _span() functions to new subbuffers.
22648 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22650 * gst/gstbin.c: (gst_bin_add_func):
22651 Fix clock settery in bins when adding kids after the clock has
22654 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22656 * gst/elements/gstidentity.c: (gst_identity_class_init):
22657 Workaround until signals support GstMiniObject.
22659 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22662 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22664 2005-05-18 Wim Taymans <wim@fluendo.com>
22666 * gst/base/Makefile.am:
22667 * gst/base/gstadapter.c: (gst_adapter_base_init),
22668 (gst_adapter_class_init), (gst_adapter_init),
22669 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22670 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22671 (gst_adapter_flush), (gst_adapter_available),
22672 (gst_adapter_available_fast):
22673 * gst/base/gstadapter.h:
22674 Ported and added adapter to the base classes.
22676 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22679 * gst/gstmessage.c:
22680 Make sure the class is reffed/unreffed once before threads can be
22681 used. Fixes #304551.
22683 2005-05-17 Wim Taymans <wim@fluendo.com>
22685 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22686 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22687 * gst/gstminiobject.c: (gst_mini_object_get_type),
22688 (gst_mini_object_free):
22689 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22690 (gst_pad_push), (gst_pad_push_event):
22691 * gst/gstqueue.c: (gst_queue_change_state):
22692 Don't queue buffers in basesink when we are flushing.
22693 Unref buffer when flushing in basesink.
22694 Flush queue when going to READY
22695 Unref buffer when _push() returns an error.
22696 Don't free MiniObject instance when refcount is incremented
22697 in _finalize() so that we can recover objects.
22699 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22701 * docs/manual/advanced-schedulers.xml:
22702 * docs/manual/appendix-checklist.xml:
22703 * docs/pwg/advanced-clock.xml:
22704 * docs/pwg/advanced-interfaces.xml:
22705 * docs/pwg/advanced-request.xml:
22706 * docs/pwg/advanced-types.xml:
22707 * docs/pwg/intro-preface.xml:
22708 * examples/plugins/example.c: (gst_example_get_type),
22709 (gst_example_class_init), (gst_example_chain),
22710 (gst_example_set_property), (gst_example_get_property),
22711 (gst_example_change_state), (plugin_init):
22712 * examples/plugins/example.h:
22715 2005-05-17 Wim Taymans <wim@fluendo.com>
22717 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22718 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22719 * gst/gstqueue.c: (gst_queue_change_state):
22720 Clear queue when going to READY.
22721 Remove IN_SETCAPS flag too.
22723 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22725 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22726 Remove implicit cast from gboolean to GstElementStateReturn;
22727 make sure we still return failure in paused => ready case if
22728 the parent class fails to change state and our own stop
22731 2005-05-17 Wim Taymans <wim@fluendo.com>
22733 * tools/gst-launch.c: (event_loop):
22734 Message was unreffed too soon.
22736 2005-05-16 Andy Wingo <wingo@pobox.com>
22738 * gst/gstbin.c (sink_iterator_filter): Err... um...
22740 * check/gst/gstbin.c (test_ghost_pads): New test for the
22741 ghosting-if-elements-not-in-same-bin behavior.
22743 2005-05-16 David Schleef <ds@schleef.org>
22745 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22746 accessing refcount directly.
22748 2005-05-15 David Schleef <ds@schleef.org>
22750 * check/Makefile.am: remove GstData checks
22751 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22752 * gst/Makefile.am: add miniobject, remove data
22753 * gst/gst.h: add miniobject, remove data
22754 * gst/gstdata.c: remove
22755 * gst/gstdata.h: remove
22756 * gst/gstdata_private.h: remove
22757 * gst/gsttypes.h: remove GstEvent and GstMessage
22758 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22759 * gst/gstmarshal.list: change BOXED -> OBJECT
22761 Implement GstMiniObject.
22762 * gst/gstminiobject.c:
22763 * gst/gstminiobject.h:
22765 Modify to be subclasses of GstMiniObject.
22766 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22767 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22768 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22769 (gst_subbuffer_get_type), (gst_subbuffer_init),
22770 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22773 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22774 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22775 (_gst_event_copy), (gst_event_new):
22777 * gst/gstmessage.c: (_gst_message_initialize),
22778 (gst_message_get_type), (gst_message_class_init),
22779 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22780 (gst_message_new), (gst_message_new_error),
22781 (gst_message_new_warning), (gst_message_new_tag),
22782 (gst_message_new_state_changed), (gst_message_new_application):
22783 * gst/gstmessage.h:
22784 * gst/gstprobe.c: (gst_probe_perform),
22785 (gst_probe_dispatcher_dispatch):
22787 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22788 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22789 (_gst_query_copy), (gst_query_new):
22791 Update elements for GstData -> GstMiniObject changes
22793 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22794 (gst_queue_chain), (gst_queue_loop):
22795 * gst/elements/gstbufferstore.c:
22796 (gst_buffer_store_add_buffer_func),
22797 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22798 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22799 (gst_fakesink_render):
22800 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22801 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22802 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22803 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22804 (gst_filesrc_create_read):
22805 * gst/elements/gstidentity.c: (gst_identity_class_init):
22806 * gst/elements/gsttypefindelement.c:
22807 (gst_type_find_element_src_event), (free_entry_buffers),
22808 (gst_type_find_element_handle_event):
22809 * libs/gst/dataprotocol/dataprotocol.c:
22810 (gst_dp_header_from_buffer):
22811 * libs/gst/dataprotocol/dataprotocol.h:
22812 * libs/gst/dataprotocol/dp-private.h:
22814 2005-05-15 David Schleef <ds@schleef.org>
22816 * gst/elements/gstelements.c: Don't include headers that were
22819 2005-05-15 David Schleef <ds@schleef.org>
22821 * gst/elements/Makefile.am: Remove some elements that don't
22822 need to be in the core (or even exist at all).
22823 * gst/elements/gstaggregator.c:
22824 * gst/elements/gstaggregator.h:
22825 * gst/elements/gstmd5sink.c:
22826 * gst/elements/gstmd5sink.h:
22827 * gst/elements/gstmultifilesrc.c:
22828 * gst/elements/gstmultifilesrc.h:
22829 * gst/elements/gstpipefilter.c:
22830 * gst/elements/gstpipefilter.h:
22831 * gst/elements/gstshaper.c:
22832 * gst/elements/gstshaper.h:
22833 * gst/elements/gststatistics.c:
22834 * gst/elements/gststatistics.h:
22835 * po/POTFILES.in: Remove above files.
22837 2005-05-14 Andy Wingo <wingo@pobox.com>
22839 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22840 so as to get the refs right.
22841 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22842 unreffing objects that don't pass the filter.
22844 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22845 gst_element_set_bus.
22846 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22847 normal cases, this will destroy the bus.
22849 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22852 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22855 2005-05-13 Andy Wingo <wingo@pobox.com>
22857 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22858 gst_pad_link, call pad_link_maybe_ghosting,
22859 (pad_link_maybe_ghosting): Links pads, making sure that the
22860 elements being linked are in the same bin.
22861 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22862 Helpers for pad_link_maybe_ghosting.
22864 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22867 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22869 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22871 * docs/design/part-element-source.txt:
22874 2005-05-12 Wim Taymans <wim@fluendo.com>
22876 * gst/base/gstbasesink.c: (gst_basesink_init),
22877 (gst_basesink_activate):
22878 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22879 (gst_basesrc_is_seekable):
22880 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22881 (bin_element_is_sink), (gst_bin_change_state):
22882 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22883 * gst/gstelement.h:
22884 Identify sinks by their flag to avoid overly complicated
22886 Do state changes even for elements not reachable from the
22888 BaseSink is a sink now :)
22889 Some more debugging info in the basesrc.
22892 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22894 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22895 Implement _query on a bin, similar to _send_event.
22897 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22899 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22900 Discont event offset format should be GST_FORMAT_BYTES,
22901 not GST_FORMAT_TIME.
22903 2005-05-12 Wim Taymans <wim@fluendo.com>
22905 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22906 Same fix as Ronald's but without the signal.
22908 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22910 * gst/gstutils.c: (gst_element_query_position):
22911 No, an element is not a pad.
22913 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22915 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22916 (gst_bin_get_state):
22917 If a child is removed from a bin while we remove the child from
22918 the bin and while we're retrieving its state, signal this to the
22919 get_state function so we abort the wait (instead of waiting for
22920 a timeout) and can immediately re-iterate over all other elements.
22922 2005-05-12 Wim Taymans <wim@fluendo.com>
22924 * gst/base/Makefile.am:
22925 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22926 (gst_basesrc_start):
22927 * gst/base/gstbasesrc.h:
22928 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22929 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22930 (gst_pushsrc_init), (gst_pushsrc_create):
22931 * gst/base/gstpushsrc.h:
22932 Added is_seekable to BaseSrc
22933 Added simple PushSrc.
22935 2005-05-11 Wim Taymans <wim@fluendo.com>
22937 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22938 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22939 (gst_element_link_pads), (gst_element_query_position),
22940 (gst_element_query_convert), (intersect_caps_func),
22941 (gst_pad_query_position), (gst_pad_query_convert):
22942 Fix refcounting in utils function.
22943 No point in trying to activate a pad when it's added, it could
22944 be added from the state change function and then we deadlock, the
22945 element has to decide what to do.
22947 2005-05-10 Andy Wingo <wingo@pobox.com>
22949 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22950 *all* the arguments.
22952 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22953 stream lock if it's a FLUSH_DONE; normal flushes don't get the
22954 lock (according to the docs -- if this is wrong change the docs).
22956 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22957 flush messages in the NULL state.
22959 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22960 message immediately and return.
22961 (gst_bus_set_flushing): New function. If a bus is flushing, it
22962 flushes out any queued messages and immediately unrefs new
22963 messages. This is so when an element goes to NULL, all of the
22964 unhandled messages coming from it can be freed, and their
22965 references to the element dropped. In other words: message source
22966 ref considered harmful :P
22968 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22969 we're finished with it.
22971 * gst/gstmessage.c (gst_message_new_state_changed):
22973 2005-05-10 Wim Taymans <wim@fluendo.com>
22975 * gst/gstvalue.c: (gst_value_compare_flags),
22976 (gst_value_serialize_flags), (gst_value_deserialize_flags),
22977 (_gst_value_initialize):
22978 Added flags serialize/deserialize/compare code.
22980 2005-05-09 Andy Wingo <wingo@pobox.com>
22982 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
22983 Intersect the peer's caps with our caps.
22985 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22987 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22988 * gst/elements/gsttypefindelement.c: (find_peek):
22989 Handle negative offsets better. Fixes decodebin.
22991 2005-05-09 Wim Taymans <wim@fluendo.com>
22993 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
22994 (gst_base_transform_event):
22995 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
22996 Implement accept_caps.
22997 Fix silly lock/unlock mismatch in base class.
22999 2005-05-09 Wim Taymans <wim@fluendo.com>
23001 * docs/design/draft-push-pull.txt:
23002 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23003 * gst/elements/gstfilesink.c: (gst_filesink_init),
23004 (gst_filesink_query):
23005 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23006 (gst_type_find_handle_src_query), (find_element_get_length):
23007 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23008 * gst/gstelement.h:
23009 * gst/gstmessage.c:
23010 * gst/gstmessage.h:
23011 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23012 (gst_real_pad_get_caps_unlocked),
23013 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23014 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23015 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23016 (gst_real_pad_dispose), (gst_real_pad_finalize),
23017 (gst_pad_load_and_link), (gst_pad_save_thyself),
23018 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23019 (gst_pad_check_pull_range), (gst_pad_pull_range),
23020 (gst_pad_template_get_type), (gst_pad_template_class_init),
23021 (gst_pad_template_init), (gst_pad_template_dispose),
23022 (name_is_valid), (gst_static_pad_template_get),
23023 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23024 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23025 (gst_pad_get_element_private), (gst_pad_start_task),
23026 (gst_pad_pause_task), (gst_pad_stop_task),
23027 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23028 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23029 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23030 (gst_ghost_pad_new):
23032 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23033 (gst_query_new_position), (gst_query_set_position),
23034 (gst_query_parse_position), (gst_query_new_convert),
23035 (gst_query_set_convert), (gst_query_parse_convert):
23037 * gst/gstqueryutils.c:
23038 * gst/gstqueryutils.h:
23039 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23040 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23041 (gst_queue_handle_src_query):
23042 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23043 (gst_element_query_position), (gst_element_query_convert),
23044 (intersect_caps_func), (gst_pad_query_position),
23045 (gst_pad_query_convert):
23047 * tools/gst-inspect.c: (print_pad_info):
23048 * tools/gst-xmlinspect.c: (print_element_info):
23049 Remove old query functions. Ported old code.
23050 Added position/convert helper functions to gstutils.
23051 Reordered gstpad.c code, grouping relevant things.
23052 Remove gst_message_new(), always need to speficy a specific
23056 2005-05-09 Andy Wingo <wingo@pobox.com>
23058 * gst/gstiterator.h: Add some includes.
23060 * gst/gstqueryutils.h: Include more headers.
23063 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23064 some uses of gst_pad_query.
23066 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23067 NULL out parameters.
23068 (gst_query_new_position): New proc, allocates a new position
23071 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23072 gstqueryutils.c to the build.
23074 * gst/gststructure.c (gst_structure_set_valist): Implement with
23075 the generic G_VALUE_COLLECT.
23077 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23079 * gst/Makefile.am: (gst_headers):
23080 Added gstqueryutils.h to the list of headers to install, that was
23081 a 'nachty' move wingo :)
23083 2005-05-06 Andy Wingo <wingo@pobox.com>
23086 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23087 GstData, init a memchunk.
23088 (standard_definitions): Add a few query types, deprecate a few.
23089 (gst_query_get_type): New proc.
23090 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23092 (gst_query_new_application, gst_query_get_structure): New public
23095 * docs/design/draft-query.txt: Removed LINKS from the query types,
23096 because all the rest can be dispatched to other pads -- seemed
23097 ugly to have a query that couldn't be dispatched. internal_links
23098 is fine as a pad method.
23100 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23101 in gstpad.c, but maintain binary compatibility for the moment.
23102 Will fix before 0.9 is out.
23104 * gst/gstqueryutils.c:
23105 * gst/gstqueryutils.h: New files, implement 3 methods for each
23106 query type: parse_query, parse_response, and set. Probably need an
23109 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23111 * gst/elements/gstfilesink.c (gst_filesink_query2):
23112 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23113 query_types, and formats methods.
23115 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23116 (gst_pad_set_query2_function): New functions.
23117 (gst_real_pad_init): Set query2_default as the default query2
23118 function. Basically just dispatches to internally linked pads.
23122 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23123 without using the atomic operations. Only one thread can possibly
23124 be accessing the data at this point. Changed so as to avoid
23125 gst_atomic operations.
23127 2005-05-06 Wim Taymans <wim@fluendo.com>
23129 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23130 Also set caps if we use the fallback buffer alloc.
23132 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23134 * docs/gst/Makefile.am:
23135 * docs/gst/gstreamer-docs.sgml:
23136 * docs/gst/gstreamer-sections.txt:
23137 * docs/gst/tmpl/gstatomic.sgml:
23138 * docs/gst/tmpl/gstmemchunk.sgml:
23139 * testsuite/elements/struct_i386.h:
23140 * win32/GStreamer.vcproj:
23142 Purge GstAtomic stuff from docs and win32 makefiles as well
23144 2005-05-06 Wim Taymans <wim@fluendo.com>
23146 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23147 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23148 * gst/gstpad.c: (gst_pad_peer_get_caps):
23149 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23150 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23151 (gst_queue_src_activate), (gst_queue_change_state):
23153 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23154 (intersect_caps_func):
23155 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23156 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23157 Some fixes for the peer_get_caps() change.
23159 2005-05-06 Wim Taymans <wim@fluendo.com>
23161 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23162 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23163 (gst_basesink_activate):
23164 Actually do something with error codes returned from the push
23167 2005-05-06 Wim Taymans <wim@fluendo.com>
23169 * docs/design/part-element-sink.txt:
23170 * docs/design/part-element-source.txt:
23171 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23172 (gst_basesink_event), (gst_basesink_activate):
23173 * gst/base/gstbasesink.h:
23174 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23175 (gst_basesrc_activate):
23176 * gst/base/gstbasesrc.h:
23177 * gst/gstelement.c: (gst_element_pads_activate):
23178 Some more documentation.
23179 Fixed scheduling decision in _pads_activate().
23181 2005-05-05 Andy Wingo <wingo@pobox.com>
23183 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23186 2005-05-05 Wim Taymans <wim@fluendo.com>
23188 * gst/base/Makefile.am:
23189 * gst/base/gstbasesink.h:
23190 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23191 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23192 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23193 (gst_collectpads_class_init), (gst_collectpads_init),
23194 (gst_collectpads_finalize), (gst_collectpads_new),
23195 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23196 (find_pad), (gst_collectpads_remove_pad),
23197 (gst_collectpads_is_active), (gst_collectpads_collect),
23198 (gst_collectpads_collect_range), (gst_collectpads_start),
23199 (gst_collectpads_stop), (gst_collectpads_peek),
23200 (gst_collectpads_pop), (gst_collectpads_available),
23201 (gst_collectpads_read), (gst_collectpads_flush),
23202 (gst_collectpads_chain):
23203 * gst/base/gstcollectpads.h:
23204 * gst/elements/Makefile.am:
23205 * gst/elements/gstelements.c:
23206 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23207 (gst_fakesink_get_times), (gst_fakesink_event),
23208 (gst_fakesink_preroll), (gst_fakesink_render):
23209 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23210 (gst_filesink_init), (gst_filesink_set_location),
23211 (gst_filesink_open_file), (gst_filesink_close_file),
23212 (gst_filesink_pad_query), (gst_filesink_event),
23213 (gst_filesink_render), (gst_filesink_change_state):
23214 * gst/elements/gstfilesink.h:
23215 Added object to help in making collect pad based elements.
23217 Make event function in sink baseclass return gboolean.
23219 2005-05-05 Wim Taymans <wim@fluendo.com>
23221 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23222 (gst_bin_get_by_name):
23224 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23225 (gst_clock_finalize):
23226 * gst/gstdata.c: (gst_data_replace):
23228 * gst/gstelement.c: (gst_element_request_pad),
23229 (gst_element_pads_activate):
23230 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23231 (gst_object_unref):
23232 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23233 (gst_pad_set_checkgetrange_function),
23234 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23235 (gst_pad_check_pull_range), (gst_pad_pull_range),
23236 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23237 (gst_pad_pause_task), (gst_pad_stop_task):
23238 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23239 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23240 Fix name lookup in GstBin.
23241 Added _data_replace() function and _buffer_replace()
23242 Use finalize method to clean up clock.
23243 Fix refcounting on request pads.
23244 Fix pad schedule mode error.
23245 Some more object refcounting debug info,
23248 2005-05-04 Andy Wingo <wingo@pobox.com>
23250 * check/Makefile.am:
23251 * docs/gst/tmpl/gstatomic.sgml:
23252 * docs/gst/tmpl/gstplugin.sgml:
23253 * gst/base/gstbasesink.c: (gst_basesink_activate):
23254 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23255 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23256 (gst_basesrc_query), (gst_basesrc_set_property),
23257 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23258 (gst_basesrc_activate):
23259 * gst/base/gstbasesrc.h:
23260 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23261 (gst_base_transform_src_activate):
23262 * gst/elements/gstelements.c:
23263 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23264 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23265 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23266 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23267 (gst_type_find_element_checkgetrange),
23268 (gst_type_find_element_activate):
23269 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23270 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23271 (gst_caps_load_thyself):
23272 * gst/gstelement.c: (gst_element_pads_activate),
23273 (gst_element_save_thyself), (gst_element_restore_thyself):
23274 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23275 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23277 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23278 (gst_xml_parse_file), (gst_xml_parse_memory),
23279 (gst_xml_get_element), (gst_xml_make_element):
23280 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23281 (_file_index_id_save_xml), (gst_file_index_commit):
23282 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23283 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23285 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23286 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23287 * tools/gst-complete.c: (main):
23288 * tools/gst-compprep.c: (main):
23289 * tools/gst-inspect.c: (print_element_properties_info):
23290 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23291 * tools/gst-xmlinspect.c: (print_element_properties):
23294 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23296 * gst/gstplugin.c: (gst_plugin_check_module),
23297 (gst_plugin_check_file), (gst_plugin_load_file):
23298 apply patch from #172526 to make register work on MacOSX
23300 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23302 * docs/gst/tmpl/gstconfig.sgml:
23303 * gst/gstconfig.h.in:
23304 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23305 * testsuite/debug/printf_extension.c: (main):
23306 Do not use GST_PTR_FORMAT on pointers to types with
23307 sizeof < sizeof(gpointer). Fixes test on 64-bit
23308 * testsuite/elements/property.h:
23309 use correct printf format
23311 2005-05-02 Wim Taymans <wim@fluendo.com>
23313 * docs/design/draft-push-pull.txt:
23314 * docs/design/draft-query.txt:
23315 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23316 (gst_basesrc_start):
23317 Added draft for new query API.
23318 Added draft for better selecting scheduling methods.
23319 Make basesrc ignore length if the subclass does not support
23322 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23325 possible fixes for automake-1.5 - _LIBADD is reserved
23327 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23329 * docs/faq/Makefile.am:
23330 * docs/manual/Makefile.am:
23331 * docs/manuals.mak:
23332 * docs/pwg/Makefile.am:
23334 possible fixes for automake-1.5
23336 2005-04-28 Wim Taymans <wim@fluendo.com>
23338 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23339 (gst_basesink_pad_getcaps), (gst_basesink_init),
23340 (gst_basesink_do_sync):
23341 * gst/gstclock.c: (gst_clock_entry_new):
23342 * gst/gstevent.c: (gst_event_discont_get_value):
23343 * gst/gstpipeline.c: (pipeline_bus_handler),
23344 (gst_pipeline_change_state):
23345 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23346 Better debugging of clocking info.
23347 Allow NULL values when getting discont values.
23349 2005-04-27 Wim Taymans <wim@fluendo.com>
23351 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23352 * check/gst/gstpad.c: (gst_pad_suite):
23353 Increase timeout for checks.
23355 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23357 * check/Makefile.am:
23358 fix the broken rule for cleanup. Apparently this rule is
23359 only needed on FC2, so maybe this warrants further autotool
23362 2005-04-26 Wim Taymans <wim@fluendo.com>
23364 * gst/gsttrashstack.h:
23365 Ooohh. a nasty one! After having a failed pop() from the stack,
23366 it's possible that the stack is empty. In that case, don't
23367 follow the NULL pointer.
23369 2005-04-25 Wim Taymans <wim@fluendo.com>
23371 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23372 (gst_pad_set_checkgetrange_function),
23373 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23374 (gst_pad_check_pull_range), (gst_pad_pull_range),
23375 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23376 (gst_pad_pause_task), (gst_pad_stop_task):
23377 * gst/gstplugin.c: (gst_plugin_load):
23379 Remove gst_library_load as it does more harm than good with
23380 the new g_module flags.
23381 Revert bogus caps template check in pad linking, pad caps
23382 are important when linking not the template, which is more
23383 general than the current caps.
23385 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23387 * gst/autoplug/.cvsignore:
23388 * gst/autoplug/Makefile.am:
23389 * gst/autoplug/gstsearchfuncs.c:
23390 * gst/autoplug/gstsearchfuncs.h:
23391 * gst/autoplug/gstspider.c:
23392 * gst/autoplug/gstspider.h:
23393 * gst/autoplug/gstspideridentity.c:
23394 * gst/autoplug/gstspideridentity.h:
23395 * gst/autoplug/spidertest.c:
23398 2005-04-25 Wim Taymans <wim@fluendo.com>
23400 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23401 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23402 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23403 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23405 Added stubs for unimplemented functions.
23407 2005-04-24 David Schleef <ds@schleef.org>
23409 * gst/gstpad.h: Disable some unimplemented functions. Wim,
23412 2005-04-24 David Schleef <ds@schleef.org>
23414 Convert everything from GstAtomicInt to g_atomic_int_*, and
23419 * gst/gstatomic_impl.h:
23427 * gst/gstdata_private.h:
23431 * gst/gstmessage.c:
23434 * gst/gststructure.c:
23435 * gst/gststructure.h:
23436 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23439 2005-04-24 David Schleef <ds@schleef.org>
23441 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23442 make the regressions tests work. Remove some code that is no
23444 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23445 Disable warning for pads without templates.
23447 2005-04-24 David Schleef <ds@schleef.org>
23449 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
23450 functions that handle filtered links.
23451 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23453 * gst/gstutils.c: Fix/remove utility functions that handle
23456 * gst/gstvalue.c: Add serialization/deserialization of caps
23457 * gst/parse/grammar.y: Ignore filtered caps when linking. This
23458 requires fixing so that the filter caps notation creates
23459 a capsfilter element and sets the filter_caps property. I
23460 think everyone probably wants to keep the shorthand notation.
23461 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23462 * docs/gst/tmpl/gstpad.sgml:
23464 * gst/elements/gstelements.c: Register capsfilter element.
23465 * gst/Makefile.am: fix spacing
23466 * docs/random/ds/0.9-suggested-changes: random
23468 2005-04-23 David Schleef <ds@schleef.org>
23470 * gst/elements/Makefile.am:
23471 * gst/elements/gstcapsfilter.c: New element that acts like an
23472 identity, but filters caps. Will eventually replace filtered
23473 caps in pad linking.
23474 * gst/gstutils.c: (gst_element_create_all_pads): New function
23475 to create all the ALWAYS pads that are registered with an
23476 element class. This functionality should eventually be
23477 merged in with GstElement initialization.
23479 * testsuite/trigger/README: part of trigger test code that should
23480 have been checked in a long time ago.
23482 2005-04-23 David Schleef <ds@schleef.org>
23484 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23485 needed with new versions of libtool (nobody will confirm this),
23486 and hard to carry around.
23487 * gst/autoplug/Makefile.am:
23488 * gst/base/Makefile.am:
23489 * gst/elements/Makefile.am:
23490 * gst/indexers/Makefile.am:
23491 * gst/schedulers/Makefile.am:
23492 * libs/gst/bytestream/Makefile.am:
23493 * libs/gst/control/Makefile.am:
23494 * libs/gst/dataprotocol/Makefile.am:
23495 * libs/gst/getbits/Makefile.am:
23497 2005-04-21 Wim Taymans <wim@fluendo.com>
23499 * docs/design/draft-push-pull.txt:
23500 * docs/design/part-MT-refcounting.txt:
23501 * docs/design/part-TODO.txt:
23502 * docs/design/part-caps.txt:
23503 * docs/design/part-events.txt:
23504 * docs/design/part-gstbus.txt:
23505 * docs/design/part-gstpipeline.txt:
23506 * docs/design/part-messages.txt:
23507 * docs/design/part-push-pull.txt:
23508 * docs/design/part-query.txt:
23511 2005-04-21 Wim Taymans <wim@fluendo.com>
23513 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23514 (gst_message_new), (gst_message_new_error),
23515 (gst_message_new_warning), (gst_message_new_tag),
23516 (gst_message_new_state_changed), (gst_message_new_application),
23517 (gst_message_get_structure):
23518 * gst/gstmessage.h:
23519 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23520 (gst_structure_copy_conditional):
23521 Use parent refcount in GstMessage to ensure GstStructure
23523 Cleaned up headers a bit.
23526 2005-04-20 Wim Taymans <wim@fluendo.com>
23528 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23529 (gst_basesink_pad_getcaps), (gst_basesink_init),
23530 (gst_basesink_chain_unlocked):
23531 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23532 (gst_type_find_helper):
23533 * gst/elements/gsttypefindelement.c:
23534 (gst_type_find_element_have_type), (gst_type_find_element_init),
23535 (stop_typefinding), (gst_type_find_element_handle_event),
23536 (find_suggest), (gst_type_find_element_chain),
23537 (gst_type_find_element_checkgetrange),
23538 (gst_type_find_element_getrange), (do_typefind),
23539 (gst_type_find_element_activate):
23540 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23541 (gst_buffer_default_free), (gst_buffer_default_copy),
23542 (gst_buffer_set_caps):
23543 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23544 (gst_caps_replace):
23545 * gst/gstmessage.c: (gst_message_new),
23546 (gst_message_new_state_changed):
23547 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23548 (gst_pad_set_checkgetrange_function),
23549 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23550 (gst_pad_set_caps), (gst_pad_check_pull_range),
23551 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23553 * gst/gsttypefind.c: (gst_type_find_register):
23554 Make gst_caps_replace() work like other _replace() functions.
23555 Use _caps_replace() where possible.
23556 Make sure _message_new() initialises its field.
23557 Add gst_static_pad_template_get_caps()
23560 2005-04-18 Andy Wingo <wingo@pobox.com>
23562 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23563 on the peer, not the pad. I think that was a typo. Pass an extra
23564 arg to see if random access is possible. Activate the pads as
23565 PULL_RANGE if possible.
23567 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23569 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23570 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23573 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23575 * docs/faq/using.xml:
23576 Add note on gstreamer-properties (#154996).
23578 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23580 * docs/random/bbb/optional-properties:
23581 Some analysis on optional properties.
23583 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23585 * docs/gst/tmpl/gstelementfactory.sgml:
23586 * gst/gstelement.h:
23587 * gst/gstelementfactory.c: (gst_element_factory_init),
23588 (gst_element_factory_cleanup), (gst_element_register),
23589 (__gst_element_factory_add_static_pad_template),
23590 (gst_element_factory_get_static_pad_templates),
23591 (gst_element_factory_can_src_caps),
23592 (gst_element_factory_can_sink_caps):
23593 * gst/registries/Makefile.am:
23594 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23595 (gst_xml_registry_class_init), (gst_xml_registry_init),
23596 (gst_xml_registry_new), (gst_xml_registry_set_property),
23597 (gst_xml_registry_get_property), (get_time), (make_dir),
23598 (gst_xml_registry_get_perms_func),
23599 (plugin_times_older_than_recurse), (plugin_times_older_than),
23600 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23601 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23602 (add_to_char_array), (read_string), (read_uint), (read_enum),
23603 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23604 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23605 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23606 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23607 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23608 (gst_xml_registry_rebuild):
23609 * gst/registries/gstlibxmlregistry.h:
23610 * tools/gst-compprep.c: (main):
23611 * tools/gst-inspect.c: (print_pad_templates_info):
23612 * tools/gst-xmlinspect.c: (print_element_info):
23613 Use libxml2 for registry parsing, use staticpadtemplates in
23614 elementfactories. Makes gst_init() +/- 10x faster.
23616 2005-04-12 Wim Taymans <wim@fluendo.com>
23618 * gst/base/Makefile.am:
23619 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23620 (gst_basesink_pad_getcaps), (gst_basesink_init),
23621 (gst_basesink_event), (gst_basesink_change_state):
23622 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23623 (gst_basesrc_init), (gst_basesrc_query),
23624 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23625 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23626 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23627 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23628 (gst_basesrc_stop), (gst_basesrc_activate),
23629 (gst_basesrc_change_state):
23630 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23631 (helper_find_suggest), (gst_type_find_helper):
23632 * gst/base/gsttypefindhelper.h:
23633 * gst/elements/Makefile.am:
23634 * gst/elements/gstelements.c:
23635 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23636 (gst_fakesink_get_times), (gst_fakesink_event),
23637 (gst_fakesink_preroll), (gst_fakesink_render):
23638 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23639 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23640 (gst_fakesrc_get_property), (gst_fakesrc_create),
23641 (gst_fakesrc_start), (gst_fakesrc_stop):
23642 * gst/elements/gstfakesrc.h:
23643 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23644 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23645 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23646 (gst_filesrc_create_read), (gst_filesrc_create),
23647 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23648 (gst_filesrc_start):
23649 * gst/elements/gsttypefindelement.c:
23650 (gst_type_find_element_have_type), (gst_type_find_element_init),
23651 (start_typefinding), (stop_typefinding), (push_buffer_store),
23652 (gst_type_find_element_handle_event),
23653 (gst_type_find_element_chain),
23654 (gst_type_find_element_checkgetrange),
23655 (gst_type_find_element_getrange), (do_typefind),
23656 (gst_type_find_element_activate),
23657 (gst_type_find_element_change_state):
23658 * gst/elements/gsttypefindelement.h:
23659 * gst/gstpipeline.c: (pipeline_bus_handler):
23660 Added typefind helper.
23661 Small preroll fix in the base sink.
23662 Disable typefind code in basesrc.
23663 Crude port of typefindelement.
23667 2005-04-11 Wim Taymans <wim@fluendo.com>
23669 * check/gst/gstbus.c: (gstbus_suite):
23670 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23671 * check/gstcheck.h:
23672 Fix up the timeout so that the test does not fail.
23674 2005-04-06 Wim Taymans <wim@fluendo.com>
23677 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23678 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23679 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23680 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23681 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23682 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23683 (gst_basesrc_stop), (gst_basesrc_activate),
23684 (gst_basesrc_change_state), (basesrc_find_peek),
23685 (basesrc_find_suggest), (gst_basesrc_type_find):
23686 * gst/base/gstbasesrc.h:
23687 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23688 (gst_filesrc_class_init), (gst_filesrc_init),
23689 (gst_filesrc_finalize), (gst_filesrc_set_location),
23690 (gst_filesrc_set_property), (gst_filesrc_get_property),
23691 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23692 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23693 (gst_filesrc_create_read), (gst_filesrc_create),
23694 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23695 * gst/elements/gstfilesrc.h:
23696 * gst/gstelement.c: (gst_element_get_state_func),
23697 (gst_element_lost_state), (gst_element_pads_activate):
23698 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23699 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23700 (gst_pad_pull_range):
23702 More work on the generic source base class, implement seeking,
23704 Make filesrc extend the base source class.
23705 Added gst_pad_set_checkgetrange_function to GstPad.
23707 2005-04-06 Andy Wingo <wingo@pobox.com>
23709 * pkgconfig/gstreamer-base.pc.in:
23710 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23712 * pkgconfig/Makefile.am:
23713 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23715 2005-04-04 Wim Taymans <wim@fluendo.com>
23717 * gst/base/Makefile.am:
23719 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23720 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23721 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23722 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23723 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23724 (gst_basesrc_base_init), (gst_basesrc_class_init),
23725 (gst_basesrc_init), (gst_basesrc_get_formats),
23726 (gst_basesrc_get_query_types), (gst_basesrc_query),
23727 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23728 (gst_basesrc_set_property), (gst_basesrc_get_property),
23729 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23730 (gst_basesrc_loop), (gst_basesrc_activate),
23731 (gst_basesrc_change_state):
23732 * gst/base/gstbasesrc.h:
23733 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23734 (gst_fakesrc_class_init), (gst_fakesrc_init),
23735 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23736 (gst_fakesrc_get_property), (gst_fakesrc_create):
23737 * gst/elements/gstfakesrc.h:
23738 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23739 (gst_filesrc_open_file), (gst_filesrc_loop),
23740 (gst_filesrc_activate), (filesrc_find_peek),
23741 (gst_filesrc_type_find):
23742 Made base source class, make fakesrc extend it.
23743 Add comments to basesink class.
23744 Some filesrc cleanup.
23746 2005-03-31 David Schleef <ds@schleef.org>
23748 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23749 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23750 expected to link against libgstreamer.
23751 * gst/base/Makefile.am: link against libgstreamer
23752 * gst/elements/Makefile.am: same
23754 2005-03-31 Andy Wingo <wingo@pobox.com>
23756 * tests/instantiate/Makefile.am:
23757 * tests/instantiate/caps.c: Add test to test speed of caps copy
23760 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23761 GMemChunk to be fair.
23763 * gst/gsttrashstack.h: Remove warning about using the fallback
23764 trash stack implementation, it's still faster than malloc.
23766 2005-03-30 Andy Wingo <wingo@pobox.com>
23768 * tests/complexity.c: Add a copyright.
23770 2005-03-31 Wim Taymans <wim@fluendo.com>
23772 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23773 (gst_base_transform_class_init), (gst_base_transform_init),
23774 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23775 (gst_base_transform_get_property),
23776 (gst_base_transform_sink_activate),
23777 (gst_base_transform_src_activate),
23778 (gst_base_transform_change_state):
23779 * gst/base/gstbasetransform.h:
23780 * gst/elements/gstidentity.c: (gst_identity_class_init),
23781 (gst_identity_event), (gst_identity_check_perfect),
23782 (gst_identity_transform), (gst_identity_start),
23783 (gst_identity_stop):
23784 Added start/stop methods to transform base class so subclasses
23785 don't need to deal with state changes even.
23787 2005-03-31 Wim Taymans <wim@fluendo.com>
23789 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23790 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23792 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23793 (gst_pad_pull_range):
23794 Added rate to the discont event to prepare for variable speed
23795 and reverse playback.
23797 2005-03-29 David Schleef <ds@schleef.org>
23800 * testsuite/trigger/Makefile.am:
23801 * testsuite/trigger/trigger.c: A little example program to show
23802 how trigger-based elements can work.
23804 2005-03-29 Wim Taymans <wim@fluendo.com>
23806 * gst/base/Makefile.am:
23808 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23809 (gst_basesink_base_init), (gst_basesink_class_init),
23810 (gst_basesink_pad_getcaps), (gst_basesink_init),
23811 (gst_basesink_activate), (gst_basesink_change_state):
23812 * gst/base/gstbasesink.h:
23813 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23814 (gst_base_transform_base_init), (gst_base_transform_finalize),
23815 (gst_base_transform_class_init), (gst_base_transform_init),
23816 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23817 (gst_base_transform_event), (gst_base_transform_getrange),
23818 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23819 (gst_base_transform_set_property),
23820 (gst_base_transform_get_property),
23821 (gst_base_transform_sink_activate),
23822 (gst_base_transform_src_activate),
23823 (gst_base_transform_change_state):
23824 * gst/base/gstbasetransform.h:
23825 * gst/elements/gstidentity.c: (gst_identity_finalize),
23826 (gst_identity_class_init), (gst_identity_init),
23827 (gst_identity_event), (gst_identity_check_perfect),
23828 (gst_identity_transform), (gst_identity_set_property),
23829 (gst_identity_get_property), (gst_identity_change_state):
23830 * gst/elements/gstidentity.h:
23831 * gst/gstelement.c: (gst_element_get_state_func),
23832 (gst_element_lost_state), (gst_element_pads_activate):
23833 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23834 (gst_pad_check_pull_range), (gst_pad_pull_range):
23836 Simplify pad activation.
23837 Added function to check if pull_range can be performed.
23838 Error out when pulling inactive or flushing pads.
23839 Removed const from refcounted types as it does not make sense.
23840 Simplify pad templates in basesink
23841 Added base class for simple 1-to-1 transforms.
23842 Make identity subclass the base transform.
23844 2005-03-29 Andy Wingo <wingo@pobox.com>
23846 * docs/libs/gstreamer-libs-overrides.txt:
23847 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23848 really don't understand what's going on, but like whatever. I want
23851 * docs/gst/Makefile.am:
23852 * docs/libs/Makefile.am: Dist the overrides files.
23854 * check/Makefile.am (clean-local): Remove .libs directories.
23856 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23857 elements to EXTRA_DIST, so po/ files are happy.
23859 * po/POTFILES.in: Er, remove it here.
23861 * po/POTFILES: Remove gstspider.c.
23863 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23865 * docs/libs/gstreamer-libs-docs.sgml:
23866 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23869 * tests/complexity.c (main): Set the length of the preroll queue
23870 on the sinks to prevent a lockup.
23872 * libs/gst/dataprotocol/Makefile.am:
23873 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23874 the same as the one in check/gst-libs/gdp.c.
23876 * po/, docs/gst/: Commit automatic changes to docs and po files.
23878 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23879 the versioned libgstbase.
23881 * check/Makefile.am: Depend on an unversioned gst-register, seems
23882 to make autoconf happier.
23884 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23886 2005-03-28 Wim Taymans <wim@fluendo.com>
23889 * docs/design/part-gstelement.txt:
23890 * docs/design/part-negotiation.txt:
23891 * docs/design/part-preroll.txt:
23892 * docs/design/part-scheduling.txt:
23893 * docs/design/part-states.txt:
23895 * gst/base/Makefile.am:
23897 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23898 (gst_basesink_base_init), (gst_basesink_class_init),
23899 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23900 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23901 (gst_basesink_set_pad_functions),
23902 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23903 (gst_basesink_set_property), (gst_basesink_get_property),
23904 (gst_base_sink_get_template), (gst_base_sink_get_caps),
23905 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23906 (gst_basesink_preroll_queue_push),
23907 (gst_basesink_preroll_queue_empty),
23908 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23909 (gst_basesink_event), (gst_basesink_get_times),
23910 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23911 (gst_basesink_chain_unlocked), (gst_basesink_chain),
23912 (gst_basesink_loop), (gst_basesink_activate),
23913 (gst_basesink_change_state):
23914 * gst/base/gstbasesink.h:
23915 * gst/elements/Makefile.am:
23916 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23917 (gst_fakesink_class_init), (gst_fakesink_init),
23918 (gst_fakesink_set_property), (gst_fakesink_get_property),
23919 (gst_fakesink_get_times), (gst_fakesink_event),
23920 (gst_fakesink_preroll), (gst_fakesink_render),
23921 (gst_fakesink_change_state):
23922 * gst/elements/gstfakesink.h:
23923 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23924 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23925 * gst/gstelement.c: (gst_element_add_pad),
23926 (gst_element_get_state_func), (gst_element_abort_state),
23927 (gst_element_commit_state), (gst_element_lost_state),
23928 (gst_element_set_state), (gst_element_pads_activate):
23929 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23930 * gst/gstpipeline.c: (gst_pipeline_send_event),
23931 (gst_pipeline_change_state):
23932 Added state change code.
23933 Added/updated docs.
23934 Added sink base class, make fakesink extend the base class.
23935 Small cleanups in GstPipeline.
23937 2005-03-26 David Schleef <ds@schleef.org>
23939 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
23940 is broken and should be implemented in a different library.
23941 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23942 * gst/gst.h: remove gstcpu.h
23943 * gst/gstcpu.c: remove
23944 * gst/gstcpu.h: remove
23945 * gst/Makefile.am.future: Remove this file. It's ancient.
23947 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23949 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23950 (gst_bin_send_event):
23951 Add default event/set_manager handlers. The set_manager handler
23952 takes care that the manager is distributed over kids that were
23953 already in the bin before the manager was set. The event handler
23954 is a utility virtual function that sends the event over all sinks,
23955 so that gst_element_send_event (bin, event); has the expected
23957 * gst/gstpad.c: (gst_pad_event_default):
23958 Re-install default event handling for discontinuities, so that
23959 seeking works without requiring hacks in applications or extra
23961 * gst/gstpipeline.c: (gst_pipeline_class_init),
23962 (gst_pipeline_send_event):
23963 Half hack, half utility: set a pipeline to PAUSED for seek events,
23964 since that is the only way we can guarantee a/v sync. Means that
23965 you can do gst_element_seek (pipeline, method, pos); on a pipeline
23966 and it "just works".
23968 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23970 * gst/gstpipeline.c: (gst_pipeline_use_clock):
23971 Lock/unlock mismatch.
23973 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
23975 * docs/faq/gst-uninstalled:
23976 add gst-plugins-base
23977 * docs/gst/Makefile.am:
23978 don't error out until docs are fixed
23979 * docs/gst/gstreamer.types:
23982 2005-03-22 Wim Taymans <wim@fluendo.com>
23984 * check/Makefile.am:
23985 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
23986 * gst/gststructure.c: (gst_structure_set_valist),
23987 (gst_structure_copy_conditional):
23988 Activated more tests.
23989 Added message test.
23990 Added G_TYPE_POINTER to GstStructure.
23993 2005-03-22 Wim Taymans <wim@fluendo.com>
23995 * docs/design/part-TODO.txt:
23996 * docs/design/part-events.txt:
23997 * docs/design/part-gstbin.txt:
23998 * docs/design/part-gstbus.txt:
23999 * docs/design/part-gstpipeline.txt:
24000 * docs/design/part-messages.txt:
24002 * gst/gstmessage.c:
24005 2005-03-21 Wim Taymans <wim@fluendo.com>
24007 * gst/gstbus.c: (gst_bus_post):
24008 Fix copy-and-paste error.
24010 2005-03-21 Wim Taymans <wim@fluendo.com>
24012 * check/Makefile.am:
24014 * gst/elements/Makefile.am:
24015 * gst/elements/gstelements.c:
24016 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24017 (gst_fakesink_event), (gst_fakesink_chain):
24018 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24019 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24020 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24021 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24022 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24023 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24024 (gst_fakesrc_loop), (gst_fakesrc_activate),
24025 (gst_fakesrc_change_state):
24026 * gst/elements/gstfakesrc.h:
24027 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24028 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24029 (gst_filesrc_open_file), (gst_filesrc_loop),
24030 (gst_filesrc_activate), (gst_filesrc_change_state),
24031 (filesrc_find_peek), (filesrc_find_suggest),
24032 (gst_filesrc_type_find):
24033 * gst/elements/gstidentity.c: (gst_identity_finalize),
24034 (gst_identity_class_init), (gst_identity_init),
24035 (gst_identity_proxy_getcaps), (identity_queue_push),
24036 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24037 (gst_identity_getrange), (gst_identity_chain),
24038 (gst_identity_sink_loop), (gst_identity_src_loop),
24039 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24040 (gst_identity_set_property), (gst_identity_get_property),
24041 (gst_identity_change_state):
24042 * gst/elements/gstidentity.h:
24043 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24044 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24045 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24046 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24047 (gst_tee_sink_activate):
24048 * gst/elements/gsttee.h:
24049 * gst/gst.c: (gst_register_core_elements), (init_post):
24051 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24052 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24053 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24054 (gst_bin_change_state):
24056 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24057 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24058 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24059 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24060 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24061 (bus_watch_callback), (bus_watch_destroy),
24062 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24063 (poll_timeout), (gst_bus_poll):
24067 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24068 (gst_element_post_message), (gst_element_message_full),
24069 (gst_element_get_state_func), (gst_element_get_state),
24070 (gst_element_abort_state), (gst_element_commit_state),
24071 (gst_element_lost_state), (gst_element_set_state),
24072 (gst_element_pads_activate), (gst_element_change_state),
24073 (gst_element_dispose), (gst_element_set_manager_func),
24074 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24075 (gst_element_set_manager), (gst_element_get_manager),
24076 (gst_element_set_bus), (gst_element_get_bus),
24077 (gst_element_set_scheduler), (gst_element_get_scheduler):
24078 * gst/gstelement.h:
24079 * gst/gstevent.c: (gst_event_new_segment_seek),
24080 (gst_event_new_flush):
24082 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24083 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24084 (gst_message_new_eos), (gst_message_new_error),
24085 (gst_message_new_warning), (gst_message_new_tag),
24086 (gst_message_new_state_changed), (gst_message_new_application),
24087 (gst_message_get_structure), (gst_message_parse_tag),
24088 (gst_message_parse_state_changed), (gst_message_parse_error),
24089 (gst_message_parse_warning):
24090 * gst/gstmessage.h:
24091 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24092 (gst_real_pad_set_property), (gst_pad_set_active),
24093 (gst_pad_is_active), (gst_pad_set_blocked_async),
24094 (gst_pad_set_blocked), (gst_pad_is_blocked),
24095 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24096 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24097 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24098 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24099 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24100 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24101 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24102 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24103 (gst_pad_set_caps), (gst_pad_configure_sink),
24104 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24105 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24106 (gst_real_pad_dispose), (gst_real_pad_finalize),
24107 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24108 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24109 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24111 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24112 (pipeline_bus_handler), (gst_pipeline_change_state),
24113 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24114 * gst/gstpipeline.h:
24116 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24117 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24118 (gst_queue_link_src), (gst_queue_bufferalloc),
24119 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24120 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24121 (gst_queue_loop), (gst_queue_handle_src_event),
24122 (gst_queue_handle_src_query), (gst_queue_src_activate),
24123 (gst_queue_change_state):
24125 * gst/gstscheduler.c: (gst_scheduler_init),
24126 (gst_scheduler_dispose), (gst_scheduler_create_task),
24127 (gst_scheduler_factory_create):
24128 * gst/gstscheduler.h:
24129 * gst/gststructure.c: (gst_structure_get_type),
24130 (gst_structure_copy_conditional):
24131 * gst/gststructure.h:
24132 * gst/gsttaginterface.h:
24133 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24134 (gst_task_init), (gst_task_dispose), (gst_task_create),
24135 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24141 * gst/schedulers/Makefile.am:
24142 * gst/schedulers/cothreads_compat.h:
24143 * gst/schedulers/entryscheduler.c:
24144 * gst/schedulers/faircothreads.c:
24145 * gst/schedulers/faircothreads.h:
24146 * gst/schedulers/fairscheduler.c:
24147 * gst/schedulers/gstbasicscheduler.c:
24148 * gst/schedulers/gstoptimalscheduler.c:
24149 * gst/schedulers/gthread-cothreads.h:
24150 * gst/schedulers/threadscheduler.c:
24151 (gst_thread_scheduler_task_get_type),
24152 (gst_thread_scheduler_task_class_init),
24153 (gst_thread_scheduler_task_init),
24154 (gst_thread_scheduler_task_start),
24155 (gst_thread_scheduler_task_stop),
24156 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24157 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24158 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24159 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24161 * libs/gst/Makefile.am:
24162 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24163 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24164 (gst_file_pad_parent_set):
24165 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24166 (gst_dp_event_from_packet):
24167 * tests/complexity.c: (main):
24168 * tests/mass_elements.c: (main):
24169 * testsuite/states/locked.c: (message_received), (main):
24170 * testsuite/states/parent.c: (main):
24171 * tools/gst-inspect.c: (print_element_flag_info),
24172 (print_implementation_info), (print_pad_info):
24173 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24175 * tools/gst-md5sum.c: (event_loop), (main):
24176 * tools/gst-typefind.c: (main):
24177 * tools/gst-xmlinspect.c: (print_element_info):
24179 Added GstBus for mainloop integration.
24180 Added GstMessage for sending notifications on the bus.
24181 Added GstTask as an abstraction for pipeline entry points.
24183 Removed Schedulers.
24184 Simplified GstQueue for multithreaded core.
24185 Made _link threadsafe, removed old capsnego.
24186 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24187 Added pad blocking functions.
24188 Reworked scheduling functions in GstPad to prepare for
24189 scheduling updates soon.
24190 Moved events out of data stream.
24191 Simplified GstEvent types.
24192 Added return values to push/pull.
24193 Removed clocking from GstElement.
24194 Added prototypes for state change function for next merge.
24195 Removed iterate from bins and state change management.
24196 Fixed some elements, disabled others for now.
24197 Fixed -inspect and -launch.
24198 Added check for GstBus.
24200 2005-03-10 Wim Taymans <wim@fluendo.com>
24202 * docs/design/part-MT-refcounting.txt:
24203 * docs/design/part-clocks.txt:
24204 * docs/design/part-gstelement.txt:
24205 * docs/design/part-gstobject.txt:
24206 * docs/design/part-standards.txt:
24207 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24208 (gst_bin_remove_func), (gst_bin_remove):
24212 * testsuite/clock/clock1.c: (main):
24213 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24215 * testsuite/dlopen/loadgst.c: (do_test):
24216 * testsuite/refcounting/bin.c: (add_remove_test1),
24217 (add_remove_test2), (main):
24218 * testsuite/refcounting/element.c: (main):
24219 * testsuite/refcounting/element_pad.c: (main):
24220 * testsuite/refcounting/pad.c: (main):
24221 * tools/gst-launch.c: (sigint_handler_sighandler):
24222 * tools/gst-typefind.c: (main):
24224 Added doc about clock.
24225 removed gst_bin_iterate_recurse_up(), marked methods
24227 Fix more testsuites.
24229 2005-03-09 Wim Taymans <wim@fluendo.com>
24231 * gst/gstpad.c: (gst_pad_get_direction),
24232 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24233 (gst_pad_collect_valist):
24234 * testsuite/bins/interface.c: (main):
24235 * testsuite/caps/audioscale.c: (test_caps):
24236 * testsuite/caps/caps.c: (test1), (test2), (test3):
24237 * testsuite/caps/deserialize.c: (main):
24238 * testsuite/caps/enumcaps.c: (main):
24239 * testsuite/caps/filtercaps.c: (main):
24240 * testsuite/caps/intersect2.c: (main):
24241 * testsuite/caps/random.c: (main):
24242 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24243 * testsuite/caps/sets.c: (check_caps):
24244 * testsuite/caps/simplify.c: (check_caps), (main):
24245 * testsuite/caps/subtract.c: (check_caps):
24246 Fix _pad_get_direction wrt ghostpads.
24247 Fix caps testsuite.
24249 2005-03-09 Wim Taymans <wim@fluendo.com>
24251 * check/Makefile.am:
24252 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24253 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24254 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24255 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24256 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24257 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24258 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24259 (bin_element_is_sink), (gst_bin_iterate_sinks),
24260 (gst_bin_iterate_all_by_interface):
24262 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24263 (gst_element_change_state), (gst_element_dispose),
24264 (gst_element_finalize), (gst_element_set_loop_function):
24265 * gst/gstelement.h:
24266 * gst/gstiterator.c: (find_custom_fold_func):
24267 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24268 (gst_pad_collectv), (gst_pad_collect_valist),
24269 (gst_pad_template_new):
24270 * gst/gstpipeline.c: (gst_pipeline_class_init),
24271 (gst_pipeline_dispose), (gst_pipeline_set_property),
24272 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24273 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24274 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24276 * gst/schedulers/entryscheduler.c:
24277 * gst/schedulers/gstbasicscheduler.c:
24278 (gst_basic_scheduler_cothreaded_chain),
24279 (gst_basic_scheduler_chain_add_element):
24280 * testsuite/bins/interface.c: (main):
24282 Added GstSystemClock test.
24283 Implemented clock distribution code in GstBin.
24284 Implemented iterate sinks method for future use.
24285 Rearranged gstelement.h
24286 Fix GstIterator comparison bug.
24287 Moved some code to GstPipeline, mostly clocking related.
24289 2005-03-09 Wim Taymans <wim@fluendo.com>
24292 * gst/gst_private.h:
24293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24294 (gst_bin_remove_func), (gst_bin_remove),
24295 (gst_bin_get_by_name_recurse_up):
24296 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24297 (gst_clock_id_compare_func), (gst_clock_id_wait),
24298 (gst_clock_id_wait_async), (gst_clock_init),
24299 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24300 * gst/gstelement.h:
24301 * gst/gstinfo.c: (_gst_debug_init):
24303 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24304 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24306 Bump version number, we're now 0.9.0
24307 Add future debugging category.
24308 Fix NULL _unref() in _get_by_name_recurse_up
24309 Rearrange gstpad.h.
24312 2005-03-08 Wim Taymans <wim@fluendo.com>
24314 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24315 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24316 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24317 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24318 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24319 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24320 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24321 * gst/elements/gstidentity.c: (gst_identity_class_init):
24322 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24323 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24324 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24325 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24326 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24328 * gst/gstelement.c: (gst_element_class_init),
24329 (gst_element_base_class_init), (gst_element_init),
24330 (gst_element_get_random_pad), (gst_element_wait_state_change),
24331 (gst_element_change_state), (gst_element_dispose),
24332 (gst_element_finalize), (gst_element_set_loop_function):
24333 * gst/gstelement.h:
24334 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24335 * gst/gstthread.c: (gst_thread_class_init),
24336 (gst_thread_release_children_locks), (gst_thread_change_state):
24337 * gst/schedulers/gstbasicscheduler.c:
24338 (gst_basic_scheduler_loopfunc_wrapper),
24339 (gst_basic_scheduler_chain_wrapper),
24340 (gst_basic_scheduler_src_wrapper),
24341 (gst_basic_scheduler_remove_element):
24342 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24343 Remove threadsafe properties. Fix elements because GObject
24344 complains when installing a property before declaring a
24345 set/get_property handler.
24346 Rearrange gstelement.h file, use STATE macros for state locks.
24347 Free mutexes in the finalize method instead of dispose.
24349 2005-03-08 Wim Taymans <wim@fluendo.com>
24351 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24352 * gst/gstthread.c: (gst_thread_release_children_locks):
24353 Added parentage check.
24354 Fix build og GstThread again.
24356 2005-03-08 Wim Taymans <wim@fluendo.com>
24358 * docs/design/part-MT-refcounting.txt:
24359 * docs/design/part-conventions.txt:
24360 * docs/design/part-gstobject.txt:
24361 * docs/design/part-relations.txt:
24362 * docs/design/part-standards.txt:
24363 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24364 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24365 (gst_bin_get_by_name), (gst_bin_get_by_interface),
24366 (gst_bin_iterate_all_by_interface):
24369 * gst/gstelement.c: (gst_element_class_init),
24370 (gst_element_change_state), (gst_element_set_loop_function):
24371 * gst/gstelement.h:
24372 * gst/gstiterator.c:
24373 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24374 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24375 (gst_object_dispatch_properties_changed), (gst_object_set_name),
24376 (gst_object_set_parent), (gst_object_unparent),
24377 (gst_object_check_uniqueness):
24379 Docs updates, clean up some headers.
24381 2005-03-07 Wim Taymans <wim@fluendo.com>
24383 * check/.cvsignore:
24384 * check/Makefile.am:
24385 * check/gst-libs/.cvsignore:
24386 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24387 * check/gst/.cvsignore:
24388 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24389 (START_TEST), (gstbus_suite), (main):
24390 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24391 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24392 (gst_data_suite), (main):
24393 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24394 (add_fold_func), (gstiterator_suite), (main):
24395 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24396 (thread_name_object), (thread_name_object_default),
24397 (gst_object_name_compare), (gst_object_suite), (main):
24398 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24399 (gst_pad_suite), (main):
24400 * check/gstcheck.c: (gst_check_log_message_func),
24401 (gst_check_log_critical_func), (gst_check_init):
24402 * check/gstcheck.h:
24403 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24404 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24407 2005-03-07 Wim Taymans <wim@fluendo.com>
24409 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24410 (gst_list_iterator_next), (gst_list_iterator_resync),
24411 (gst_list_iterator_free), (gst_iterator_new_list),
24412 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24413 (gst_iterator_free), (gst_iterator_push), (filter_next),
24414 (filter_resync), (filter_uninit), (filter_free),
24415 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24416 (gst_iterator_foreach), (find_custom_fold_func),
24417 (gst_iterator_find_custom):
24418 * gst/gstiterator.h:
24419 Added missing files.
24421 2005-03-07 Wim Taymans <wim@fluendo.com>
24425 * docs/design/part-MT-refcounting.txt:
24426 * docs/design/part-conventions.txt:
24427 * docs/design/part-gstobject.txt:
24428 * docs/design/part-relations.txt:
24429 * examples/mixer/mixer.c: (main):
24430 * examples/thread/thread.c: (eos), (main):
24432 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24433 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24434 (gst_spider_plug_from_srcpad):
24435 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24436 (gst_spider_identity_change_state),
24437 (gst_spider_identity_sink_loop_type_finding):
24438 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24439 * gst/elements/gstidentity.c: (gst_identity_init):
24440 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24441 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24442 * gst/elements/gsttypefindelement.c: (free_entry):
24445 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24446 (gst_bin_set_clock_func), (gst_bin_auto_clock),
24447 (gst_bin_set_index), (gst_bin_set_element_sched),
24448 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24449 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24450 (gst_bin_iterate_elements), (iterate_child_recurse),
24451 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24452 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24453 (compare_interface), (gst_bin_get_by_interface),
24454 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24456 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24457 (gst_buffer_default_free), (gst_buffer_default_copy),
24458 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24459 (gst_buffer_create_sub):
24461 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24462 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24463 (gst_caps_unref), (gst_static_caps_get),
24464 (gst_caps_remove_and_get_structure), (gst_caps_append),
24465 (gst_caps_append_structure), (gst_caps_remove_structure),
24466 (gst_caps_copy_nth), (gst_caps_set_simple),
24467 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24468 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24469 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24470 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24471 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24472 (gst_caps_structure_figure_out_union),
24473 (gst_caps_switch_structures), (gst_caps_do_simplify),
24474 (gst_caps_replace), (gst_caps_from_string),
24475 (gst_caps_copy_conditional):
24477 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24478 (_gst_clock_id_free), (gst_clock_id_unref),
24479 (gst_clock_id_compare_func), (gst_clock_id_wait),
24480 (gst_clock_id_wait_async), (gst_clock_class_init),
24481 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24482 (gst_clock_get_time), (gst_clock_set_time_adjust),
24483 (gst_clock_set_property), (gst_clock_get_property):
24486 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24487 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24489 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24490 (gst_element_requires_clock), (gst_element_provides_clock),
24491 (gst_element_set_clock), (gst_element_clock_wait),
24492 (gst_element_wait), (gst_element_set_time_delay),
24493 (gst_element_is_indexable), (gst_element_add_pad),
24494 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24495 (pad_compare_name), (gst_element_get_static_pad),
24496 (gst_element_request_pad), (gst_element_get_request_pad),
24497 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24498 (gst_element_class_get_pad_template_list),
24499 (gst_element_class_get_pad_template), (gst_element_error_func),
24500 (gst_element_get_random_pad), (gst_element_get_event_masks),
24501 (gst_element_send_event), (gst_element_seek),
24502 (gst_element_get_query_types), (gst_element_query),
24503 (gst_element_get_formats), (gst_element_convert),
24504 (gst_element_is_locked_state), (gst_element_set_locked_state),
24505 (gst_element_sync_state_with_parent), (gst_element_change_state),
24506 (gst_element_finalize), (gst_element_yield),
24507 (gst_element_interrupt), (gst_element_set_scheduler),
24508 (gst_element_get_scheduler), (gst_element_set_loop_function):
24509 * gst/gstelement.h:
24511 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24512 (gst_format_get_by_nick), (gst_format_get_details),
24513 (gst_format_iterate_definitions):
24515 * gst/gstindex.c: (gst_index_gtype_resolver):
24518 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24519 (gst_mem_chunk_free):
24520 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24521 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24522 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24523 (gst_object_dispatch_properties_changed),
24524 (gst_object_set_name_default), (gst_object_set_name),
24525 (gst_object_get_name), (gst_object_set_name_prefix),
24526 (gst_object_get_name_prefix), (gst_object_set_parent),
24527 (gst_object_get_parent), (gst_object_unparent),
24528 (gst_object_check_uniqueness), (gst_object_save_thyself),
24529 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24530 (gst_object_set_property), (gst_object_get_property),
24531 (gst_object_get_path_string):
24533 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24534 (gst_real_pad_init), (gst_real_pad_get_property),
24535 (gst_pad_custom_new), (gst_pad_get_direction),
24536 (gst_pad_set_active), (gst_pad_is_active),
24537 (gst_pad_set_event_function), (gst_pad_is_linked),
24538 (gst_pad_link_free), (gst_pad_link_intersect),
24539 (gst_pad_link_fixate), (gst_pad_set_caps),
24540 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24541 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24542 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24543 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24544 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24545 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24546 (gst_pad_realize), (gst_pad_get_allowed_caps),
24547 (gst_real_pad_dispose), (gst_real_pad_finalize),
24548 (gst_pad_collectv), (gst_pad_collect_valist),
24549 (gst_pad_template_dispose), (gst_pad_template_new),
24550 (gst_pad_get_internal_links):
24552 * gst/gstpipeline.c: (gst_pipeline_dispose),
24553 (gst_pipeline_change_state):
24554 * gst/gstpipeline.h:
24556 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24557 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24558 * gst/gstpluginfeature.h:
24559 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24560 * gst/gstquery.c: (_gst_query_type_initialize),
24561 (gst_query_type_register), (gst_query_type_get_by_nick),
24562 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24564 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24565 * gst/gstscheduler.c: (gst_scheduler_add_element),
24566 (gst_scheduler_factory_create):
24567 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24568 (gst_structure_free), (gst_structure_set_name),
24569 (gst_structure_id_set_value), (gst_structure_set_value),
24570 (gst_structure_set_valist), (gst_structure_remove_field),
24571 (gst_structure_remove_fields),
24572 (gst_structure_remove_fields_valist),
24573 (gst_structure_remove_all_fields), (gst_structure_foreach),
24574 (gst_structure_map_in_place),
24575 (gst_caps_structure_fixate_field_nearest_int),
24576 (gst_caps_structure_fixate_field_nearest_double):
24577 * gst/gststructure.h:
24578 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24579 (gst_system_clock_init), (gst_system_clock_dispose),
24580 (gst_system_clock_async_thread),
24581 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24582 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24583 * gst/gstsystemclock.h:
24584 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24585 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24586 * gst/gsttaginterface.c:
24587 * gst/gstthread.c: (gst_thread_dispose),
24588 (gst_thread_release_children_locks), (gst_thread_change_state),
24589 (gst_thread_main_loop):
24590 * gst/gsttrashstack.h:
24591 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24593 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24594 (gst_element_request_pad), (gst_element_get_pad_from_template),
24595 (gst_element_request_compatible_pad),
24596 (gst_element_get_compatible_pad_filtered),
24597 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24598 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24599 (gst_element_link_many), (gst_element_link),
24600 (gst_element_link_pads), (gst_element_unlink_pads),
24601 (gst_element_unlink_many), (gst_element_unlink),
24602 (gst_pad_can_link_filtered), (gst_pad_can_link),
24603 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24604 (gst_object_default_error), (gst_bin_add_many),
24605 (gst_bin_remove_many), (gst_element_populate_std_props),
24606 (gst_element_class_install_std_props), (gst_buffer_merge),
24607 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24608 (link_fold_func), (gst_pad_proxy_setcaps):
24610 * gst/gstvalue.c: (gst_value_deserialize_string):
24611 * gst/parse/grammar.y:
24612 * gst/schedulers/gstbasicscheduler.c:
24613 (gst_basic_scheduler_cothreaded_chain),
24614 (gst_basic_scheduler_chain_recursive_add),
24615 (gst_basic_scheduler_pad_link):
24616 * gst/schedulers/gstoptimalscheduler.c:
24617 (get_group_schedule_function),
24618 (gst_opt_scheduler_state_transition),
24619 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24620 * libs/gst/bytestream/bytestream.c:
24621 * libs/gst/dataprotocol/dataprotocol.c:
24622 (gst_dp_header_from_buffer):
24625 * tests/threadstate/threadstate2.c: (eos):
24626 * tools/gst-compprep.c: (main):
24627 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24628 (print_pad_info), (print_children_info):
24629 * tools/gst-launch.c: (idle_func), (main):
24630 * tools/gst-md5sum.c: (idle_func), (main):
24631 * tools/gst-xmlinspect.c: (print_element_info):
24632 First THREADED backport attempt, focusing on adding locks and
24633 making sure the API is threadsafe. Needs more work. More docs
24636 2005-02-24 Andy Wingo <wingo@pobox.com>
24638 * tests/bench-complexity.scm:
24639 * tests/complexity.gnuplot: New files, good for running complexity
24642 * tests/Makefile.am:
24643 * tests/complexity.c: New test, sets up N elements, at each level
24644 teeing into M streams per element. Eeeenteresting.
24646 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24647 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24648 running bench-mass_elements.scm.
24650 * tests/bench-mass_elements.scm: New script, runs mass_elements
24651 for various numbers of identities, outputting the results to a
24652 file. Requires guile 1.6. Just for testing.
24654 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24656 * gst/schedulers/fairscheduler.c:
24657 compile with debug disabled
24659 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24662 hunting season on 0.9 is now OPEN