1 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3 * docs/gst/gstreamer-sections.txt:
4 * gst/gsttaglist.c:
5 * gst/gsttaglist.h:
6 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
8 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
10 * docs/libs/Makefile.am:
11 Include our build-prefix libs and includes before the generic ones to
12 avoid linking against the installed libs when we want the build-tree
13 ones.
15 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
17 Patch by: Steve Fink <sphink gmail com>
19 * docs/pwg/building-testapp.xml:
20 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
21 if people try to build or install the example from the plugin
22 template against a GStreamer from package using the configure
23 defaults.
25 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
27 Patch by: Steve Fink <sphink gmail com>
29 * tools/gst-inspect.1.in:
30 Document --print-all and --print-plugin-auto-install-info command
31 line options in man page.
33 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
35 * docs/gst/gstreamer-sections.txt:
36 Add docs for new api function.
38 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
40 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
41 * gst/gstelementfactory.h:
42 API: gst_element_factory_has_interface()
43 Added method to check if an element factory implements a named
44 interface.
46 2007-07-25 Stefan Kost <ensonic@users.sf.net>
48 * configure.ac:
49 * docs/gst/gstreamer.types.in:
50 Another conditional doc check.
52 * gst/gstmessage.c:
53 * gst/gstparamspecs.h:
54 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
55 * gst/gstvalue.c:
56 * gst/gstxml.h:
57 API-doc fixes.
59 2007-07-24 Stefan Kost <ensonic@users.sf.net>
61 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
62 (gst_registry_binary_load_feature),
63 (gst_registry_binary_load_plugin),
64 (gst_registry_binary_read_cache):
65 Print error just once and with additional info.
67 2007-07-24 Stefan Kost <ensonic@users.sf.net>
69 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
70 (helper_find_suggest), (helper_find_get_length),
71 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
72 (gst_type_find_helper_for_buffer):
73 Cleanup the typefindhelper code and add private doc comments.
75 2007-07-24 Edward Hervey <bilboed@bilboed.com>
77 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
78 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
79 Fix capsfilter for cases where the caps set on capsfilter will provide
80 additional information.
81 Fixes #449197
83 2007-07-24 Stefan Kost <ensonic@users.sf.net>
85 * gst/gsttypefindfactory.c:
86 Fix docs that recommened wrong function to use.
88 2007-07-23 Stefan Kost <ensonic@users.sf.net>
90 * tools/gst-inspect.c: (print_plugin_features):
91 Also give media-type for typefinders in element output.
93 2007-07-23 Stefan Kost <ensonic@users.sf.net>
95 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
96 (gst_registry_remove_features_for_plugin_unlocked),
97 (gst_registry_add_feature), (gst_registry_remove_feature),
98 (gst_registry_lookup_feature_locked):
99 * gst/gstregistry.h:
100 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
101 Fixes #459501.
103 2007-07-23 Stefan Kost <ensonic@users.sf.net>
105 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
106 (gst_plugin_feature_set_name):
107 Avoid double memory usage for pluginfeature names. Fixes #459466.
109 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
111 * gst/gstpad.h:
112 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
113 driving the pipeline may need to explicitly check for NOT_LINKED as
114 well, since IS_FATAL doesn't cover that.
116 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
118 * docs/pwg/advanced-types.xml:
119 Fix typo and duplicate entry in video formats list.
121 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
123 * libs/gst/controller/gstinterpolation.c:
124 Also round to the nearest int when using cubic interpolation.
126 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
128 * libs/gst/controller/gstinterpolation.c:
129 When linearly interpolating integer types, round to the nearest int
130 by adding 0.5. Don't do it for float/double types.
131 Fixes the failing controller test on my machine, which is somehow
132 rounding differently than on the buildbots.
134 2007-07-20 Stefan Kost <ensonic@users.sf.net>
136 * tools/gst-plot-timeline.py:
137 Better log parsing (categories can have -). Adjust text vs. lines, so
138 that they span the same y-range.
140 2007-07-20 Stefan Kost <ensonic@users.sf.net>
142 * docs/random/ensonic/audiobaseclasses.txt:
143 * docs/random/ensonic/dynlink.txt:
144 * docs/random/ensonic/profiling.txt:
145 Save my thoughts.
147 * docs/random/moving-plugins:
148 Add note to use g_assert type macros.
150 2007-07-20 Stefan Kost <ensonic@users.sf.net>
152 * configure.ac:
153 * libs/gst/check/Makefile.am:
154 Add libm check as we use in for plugins.
156 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
158 * gst/gstbin.c: (gst_bin_continue_func):
159 Check that the state_cookie hasn't changed since the continue_func
160 was scheduled. Avoids problems where the state changes back to
161 something it shouldn't be because it was changed in the meantime.
163 2007-07-17 Stefan Kost <ensonic@users.sf.net>
165 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
166 (gst_registry_binary_save_string),
167 (gst_registry_binary_save_pad_template),
168 (gst_registry_binary_save_feature),
169 (gst_registry_binary_save_plugin),
170 (gst_registry_binary_load_feature),
171 (gst_registry_binary_load_plugin),
172 (gst_registry_binary_read_cache):
173 Fix memory leak. Be less verbose in the log.
175 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
177 * tests/check/elements/.cvsignore:
178 Add file to cvsignore as commanded.
180 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
182 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
183 (mq_dummypad_event), (run_output_order_test):
184 Use a GStaticMutex to protect all cases where libcheck
185 fail_if/fail_unless macros might be called from multiple threads
186 simultaneously to avoid errors like:
187 "check_pack.c:107: :-1081725400:Bad message type arg"
189 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
191 * tests/check/pipelines/stress.c: (GST_START_TEST):
192 Make sure we set the pipeline back to the NULL state before
193 dropping our final reference.
195 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
197 * tests/check/elements/tee.c: (GST_START_TEST):
198 Make the tee stress-test a little less stressful so it doesn't just
199 time out on slow-machines, and remove a small race when it's starting
200 up by adding a get_state() call.
202 2007-07-16 Stefan Kost <ensonic@users.sf.net>
204 * gst/gst.c:
205 Avoid reading registry twice on startup. Fixes #457322.
207 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
209 * pkgconfig/gstreamer-check-uninstalled.pc.in:
210 * pkgconfig/gstreamer-check.pc.in:
211 Substitute the CFLAGS for libcheck into our .pc file too so that
212 dependent modules will pick it up properly if libcheck is installed
213 into some other prefix.
215 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
217 * configure.ac:
218 Revert the pkg-config check for libcheck, since it pulls in the
219 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
220 a proper solution, either from the check project, or something else.
222 2007-07-12 Stefan Kost <ensonic@users.sf.net>
224 * configure.ac:
225 Use pkg-config to locate check.
227 2007-07-10 Stefan Kost <ensonic@users.sf.net>
229 * gst/gsttaglist.c:
230 Fix doc syntax.
232 * gst/gstutils.c:
233 * gst/gstutils.h:
234 Add deprecation guards.
236 * libs/gst/base/gstcollectpads.h:
237 Don't document object (this is implicitly private).
239 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
241 * gst/gststructure.c: (gst_structure_parse_value):
242 When deserialising foo=bar without a type cast, check if it's a
243 boolean before falling back to a string type, otherwise things like
244 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
245 because the filtercaps end up having a signed=(string)true field,
246 which causes problems later when intersection caps.
248 * tests/check/gst/gststructure.c: (GST_START_TEST):
249 Add a unit test for this.
251 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
253 Reviewed by: Stefan Kost <ensonic@users.sf.net>
255 * libs/gst/controller/Makefile.am:
256 * libs/gst/controller/gstcontroller.c:
257 (gst_controlled_property_add_interpolation_control_source),
258 (gst_controlled_property_new), (gst_controlled_property_free),
259 (gst_controller_find_controlled_property),
260 (gst_controller_new_valist), (gst_controller_new_list),
261 (gst_controller_new), (gst_controller_remove_properties_valist),
262 (gst_controller_remove_properties_list),
263 (gst_controller_remove_properties),
264 (gst_controller_set_property_disabled),
265 (gst_controller_set_disabled), (gst_controller_set_control_source),
266 (gst_controller_get_control_source), (gst_controller_get),
267 (gst_controller_sync_values), (gst_controller_get_value_array),
268 (_gst_controller_dispose), (gst_controller_get_type),
269 (gst_controlled_property_set_interpolation_mode),
270 (gst_controller_set), (gst_controller_set_from_list),
271 (gst_controller_unset), (gst_controller_unset_all),
272 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
273 * libs/gst/controller/gstcontroller.h:
274 * libs/gst/controller/gstcontrollerprivate.h:
275 * libs/gst/controller/gstcontrolsource.c:
276 (gst_control_source_class_init), (gst_control_source_init),
277 (gst_control_source_get_value),
278 (gst_control_source_get_value_array), (gst_control_source_bind):
279 * libs/gst/controller/gstcontrolsource.h:
280 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
281 (gst_object_get_control_source):
282 * libs/gst/controller/gstinterpolation.c:
283 (gst_interpolation_control_source_find_control_point_node),
284 (gst_interpolation_control_source_get_first_value),
285 (_interpolate_none_get), (interpolate_none_get),
286 (interpolate_none_get_boolean_value_array),
287 (interpolate_none_get_enum_value_array),
288 (interpolate_none_get_string_value_array),
289 (_interpolate_trigger_get), (interpolate_trigger_get),
290 (interpolate_trigger_get_boolean_value_array),
291 (interpolate_trigger_get_enum_value_array),
292 (interpolate_trigger_get_string_value_array):
293 * libs/gst/controller/gstinterpolationcontrolsource.c:
294 (gst_control_point_free), (gst_interpolation_control_source_reset),
295 (gst_interpolation_control_source_new),
296 (gst_interpolation_control_source_set_interpolation_mode),
297 (gst_interpolation_control_source_bind),
298 (gst_control_point_compare), (gst_control_point_find),
299 (gst_interpolation_control_source_set_internal),
300 (gst_interpolation_control_source_set),
301 (gst_interpolation_control_source_set_from_list),
302 (gst_interpolation_control_source_unset),
303 (gst_interpolation_control_source_unset_all),
304 (gst_interpolation_control_source_get_all),
305 (gst_interpolation_control_source_get_count),
306 (gst_interpolation_control_source_init),
307 (gst_interpolation_control_source_finalize),
308 (gst_interpolation_control_source_dispose),
309 (gst_interpolation_control_source_class_init):
310 * libs/gst/controller/gstinterpolationcontrolsource.h:
311 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
312 API: Refactor GstController into the core controller which can take
313 a GstControlSource for providing actual values for timestamps.
314 Implement a interpolation control source and use this for backward
315 compatibility, deprecate a bunch of functions that are now handled
316 by GstControlSource or GstInterpolationControlSource.
317 Make it possible to disable the controller completely or only for
318 specific properties. Fixes #450711.
319 * docs/libs/gstreamer-libs-docs.sgml:
320 * docs/libs/gstreamer-libs-sections.txt:
321 * docs/libs/gstreamer-libs.types:
322 Add new functions and classes to the docs.
323 * tests/check/libs/controller.c: (GST_START_TEST),
324 (gst_controller_suite):
325 * tests/examples/controller/audio-example.c: (main):
326 Port unit test and example to the new API and add some new
327 unit tests.
329 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
331 Patch by: Mark Nauwelaerts <manauw at skynet be>
333 * plugins/elements/gstmultiqueue.c:
334 (gst_multi_queue_get_internal_links), (apply_buffer),
335 (single_queue_overrun_cb), (gst_single_queue_new):
336 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
337 the pipeline layout can be tracked correctly. Fixes #453732.
339 2007-07-05 Stefan Kost <ensonic@users.sf.net>
341 * docs/gst/Makefile.am:
342 * docs/libs/Makefile.am:
343 * docs/plugins/Makefile.am:
344 Simplify --extra-dir as gtkdoc scans recursively.
346 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
348 * tools/gst-launch.c: (main):
349 When we got an error, there is no point in waiting for preroll when
350 shutting down.
352 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
354 * plugins/elements/gsttee.c: (gst_tee_base_init),
355 (gst_tee_request_new_pad), (gst_tee_release_pad),
356 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
357 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
358 (gst_tee_chain):
359 Be a lot smarter when deciding what srcpad to use for proxying
360 the buffer_alloc. Also handle pad added/removed when doing so.
361 Fixes #357959.
362 Keep track of what pads we already pushed on in case we have pads
363 added/removed while pushing. Fixes #374639
365 * tests/check/Makefile.am:
366 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
367 (tee_suite):
368 Added unit test for pad resync.
370 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
372 * po/nl.po:
373 * po/sv.po:
374 Updated translations.
376 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
378 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
380 * po/LINGUAS:
381 * po/fi.po:
382 Added new Finnish translation.
384 2007-06-28 Wim Taymans <wim@fluendo.com>
386 * plugins/elements/gstmultiqueue.c: (apply_buffer),
387 (single_queue_overrun_cb):
388 When figuring out when a queue is filled, use our internal time estimate
389 based on segments, just like check_full does.
391 2007-06-27 Stefan Kost <ensonic@users.sf.net>
393 * gst/gstminiobject.c: (gst_mini_object_get_type):
394 Remove 3 do-nothing methods.
396 2007-06-27 Wim Taymans <wim@fluendo.com>
398 Patch by: Tim Angus <tim at ngus dot net>
400 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
401 (gst_capsfilter_set_property):
402 Take a reference instead of a copy when setting "caps".
403 Fix documentation to clarify this behaviour. Fixes #449414.
405 2007-06-27 Stefan Kost <ensonic@users.sf.net>
407 * gst/gstindexfactory.c: (gst_index_factory_get_type):
408 * gst/gstplugin.c: (gst_plugin_init):
409 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
410 * gst/gstquery.c: (gst_query_get_type):
411 * gst/gstregistry.c: (gst_registry_init):
412 * gst/gsturi.c: (gst_uri_handler_base_init):
413 Remove empty instance_init() functions to save relocs and lessen the
414 noise. Remove some of the function prototypes that are doubled by
415 G_DEFINE_TYPE.
417 2007-06-27 Wim Taymans <wim@fluendo.com>
419 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
421 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
422 Add peer and direction in the XML serialisation of ghostpads.
423 Fixes #449226.
425 2007-06-26 Stefan Kost <ensonic@users.sf.net>
427 * configure.ac:
428 Preserve useful information, thanks Tim.
430 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
432 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
433 (gst_single_queue_flush), (apply_segment), (apply_buffer),
434 (gst_single_queue_push_one), (gst_multi_queue_loop),
435 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
436 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
437 (compute_high_id), (gst_single_queue_new):
438 * plugins/elements/gstmultiqueue.h:
439 Take the multiqueue lock when updating the fill level so we don't get
440 confused.
442 After applying a buffer or event on the src pad segment, make sure to
443 call gst_data_queue_limits_changed() to get the data queue to unblock
444 and check the filled state again.
446 Rework the not-linked pad handling so the logic is that not-linked
447 pads can push as fast as they like, but only so they never get
448 ahead of any linked pads.
450 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
451 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
452 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
454 Add a test to check that not-linked pads always stay behind
455 linked pads.
457 Fixes: #430682
459 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
461 * docs/random/release:
462 Some updates to the release procedure.
464 2007-06-26 Stefan Kost <ensonic@users.sf.net>
466 * gst/gstelementfactory.c: (__gst_element_details_clear):
467 Microoptimization that saves stunning 80 bytes.
469 2007-06-25 Stefan Kost <ensonic@users.sf.net>
471 * docs/plugins/gstreamer-plugins.args:
472 * docs/plugins/inspect/plugin-coreelements.xml:
473 * docs/plugins/inspect/plugin-coreindexers.xml:
474 Update docs with caps info.
476 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
478 * po/it.po:
479 Updated Italian translation.
481 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
483 * ChangeLog:
484 * po/vi.po:
485 Update Vietnamese translations.
487 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
489 * libs/gst/base/gstbasesink.c:
490 Remove unused signal enum.
492 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
494 * docs/gst/gstreamer-sections.txt:
495 * gst/gstelement.c:
496 * gst/gstutils.c: (gst_type_register_static_full):
497 Beef up and include the docs for gst_type_register_static_full and
498 gst_element_class_set_details_simple and add the API keyword
499 in the ChangeLog.
501 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
503 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
504 (update_time_level), (gst_single_queue_push_one),
505 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
506 (single_queue_overrun_cb), (single_queue_underrun_cb),
507 (single_queue_check_full):
508 Fix setting max-* properties after adding queues.
509 Use IS_FILLED for checking visible items.
510 Signal overrun if multiple queues overrun.
511 Add extra debug output.
512 Patch by: Wim Taymans <wim@fluendo.com>
514 2007-06-21 Stefan Kost <ensonic@users.sf.net>
516 * gst/gstelement.c: (gst_element_class_set_details_simple):
517 * gst/gstelement.h:
518 * gst/gstutils.c: (gst_type_register_static_full):
519 * gst/gstutils.h:
520 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
521 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
522 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
523 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
524 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
525 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
526 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
527 * plugins/elements/gstidentity.c: (gst_identity_base_init):
528 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
529 * plugins/elements/gstqueue.c: (gst_queue_base_init),
530 (apply_buffer), (gst_queue_chain):
531 * plugins/elements/gsttee.c: (gst_tee_base_init):
532 * plugins/elements/gsttypefindelement.c:
533 (gst_type_find_element_base_init),
534 (gst_type_find_element_class_init):
535 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
536 API: add gst_type_register_static_full
537 API: add gst_element_class_set_details_simple
539 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
541 * docs/pwg/advanced-types.xml:
542 Fix typo in iana.org URI.
544 2007-06-19 Andy Wingo <wingo@pobox.com>
546 * tests/check/pipelines/simple-launch-lines.c
547 (test_state_change_returns): Enable pull-mode tests now that
548 basesink has been fixed.
550 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
551 Changed from gst_base_sink_is_prerolled, reversing the sense of
552 the return value. Returns FALSE also if the sink is in pull mode,
553 in which case it needs no preroll.
554 (gst_base_sink_query, gst_base_sink_change_state): Update for
555 needs_preroll change.
556 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
557 chaining up, in which we return SUCCESS directly if we activated
558 in pull mode instead of ASYNC. Involves countering an async_start
559 message sent before chaining up; not sure if this is correct, in
560 an ideal world we only send async-start when activating in push
561 mode.
563 * tests/check/pipelines/simple-launch-lines.c
564 (test_state_change_returns): New test, partially disabled until
565 basesink is fixed.
567 2007-06-19 Wim Taymans <wim@fluendo.com>
569 * plugins/elements/gstmultiqueue.c: (apply_buffer),
570 (gst_multi_queue_sink_event):
571 Fix event leak.
573 2007-06-19 Wim Taymans <wim@fluendo.com>
575 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
576 (gst_bin_change_state_func), (bin_push_state_continue),
577 (bin_handle_async_start), (bin_handle_async_done),
578 (gst_bin_handle_message_func):
579 Move the common code for posting state-change messages into
580 one function.
581 Broadcast the state signal after we posted the messages.
582 Mark the bin as busy when it's doing a state-change.
583 Make sure async-start/done messages don't interfere with the bin's
584 state when it's busy.
585 After the state change, let the bin check which elements completed the
586 state change while it was busy so that it can update its state.
588 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
590 * docs/random/release:
591 Add a note about updating the doap file to the release checklist
593 2007-06-18 Wim Taymans <wim@fluendo.com>
595 * plugins/elements/gstmultiqueue.c: (apply_buffer),
596 (gst_single_queue_push_one), (gst_multi_queue_chain),
597 (gst_multi_queue_sink_event):
598 Make sure we don't reference the buffer/event after we have given away
599 ownership in the queue.
601 2007-06-18 Wim Taymans <wim@fluendo.com>
603 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
604 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
605 Update queue state _after_ adding the item in the queue because else we
606 could end up being full without the element added yet.
608 2007-06-18 Wim Taymans <wim@fluendo.com>
610 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
611 (gst_bin_remove_func), (gst_bin_get_state_func),
612 (gst_bin_element_set_state), (gst_bin_continue_func),
613 (bin_push_state_continue), (bin_handle_async_start),
614 (bin_handle_async_done), (gst_bin_handle_message_func):
615 * gst/gstbin.h:
616 Immediatly commit the toplevel bin state when receiving an async-done
617 message. This enables us to avoid spawning a thread to commit the state
618 in some common cases and it also avoids some races.
619 Avoid spawning a state thread when adding/removing async elements to a
620 toplevel bin. Instead we immediatly update the bin state.
621 Get rid of iterating all the children when getting the state in the bin
622 because it is now always up-to-date.
623 Fix bug where locked elements would always return _SUCCESS even it they
624 returned NO_PREROLL before being locked.
625 Fix the order of the state_change, async-start/done messages that was
626 sometimes incorrect.
627 Mark the state_dirty field as deprecated, we don't need it anymore as we
628 are always up-to-date.
630 * gst/gstelement.c: (gst_element_get_state_func),
631 (gst_element_continue_state):
632 Small debug inprovements.
633 Return the previous element state return when nothing is pending instead
634 of blindly returning SUCCESS.
636 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
637 (gst_sinks_suite):
638 Add a whole bunch of new testcases.
640 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
642 * po/uk.po:
643 * po/vi.po:
644 Update translations.
646 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
648 * gst/gstpad.c:
649 Fix typo in the docs.
651 2007-06-15 Wim Taymans <wim@fluendo.com>
653 * docs/libs/gstreamer-libs-sections.txt:
654 Add docs for new methods.
656 2007-06-15 Wim Taymans <wim@fluendo.com>
658 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
659 (gst_multi_queue_item_new):
660 Don't use GSlice because we don't depend on >= 2.10 yet.
662 2007-06-15 Wim Taymans <wim@fluendo.com>
664 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
665 (update_time_level), (apply_segment), (apply_buffer),
666 (gst_single_queue_push_one), (gst_multi_queue_item_new),
667 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
668 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
669 (single_queue_underrun_cb), (single_queue_check_full):
670 Remove debug printf.
672 2007-06-15 Wim Taymans <wim@fluendo.com>
674 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
675 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
676 (gst_data_queue_set_flushing), (gst_data_queue_push),
677 (gst_data_queue_pop), (gst_data_queue_drop_head),
678 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
679 * libs/gst/base/gstdataqueue.h:
680 Various cleanups.
681 Added methods to get the current levels and to inform the queue that the
682 'full' limits changed.
684 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
685 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
686 (gst_single_queue_flush), (update_time_level), (apply_segment),
687 (apply_buffer), (gst_single_queue_push_one),
688 (gst_multi_queue_item_steal_object),
689 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
690 (gst_multi_queue_loop), (gst_multi_queue_chain),
691 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
692 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
693 (gst_multi_queue_src_query), (single_queue_overrun_cb),
694 (single_queue_underrun_cb), (single_queue_check_full),
695 (gst_single_queue_new):
696 Keep track of time in the queue by measuring the difference between
697 running_time on input and output. This gives more accurate results and
698 can compensate for segments correctly.
699 Make a queue by default only 5 buffers deep. We will now increase the
700 buffer size depending on the filledness of the other queues.
701 Factor out commong flush code.
702 Make sure we don't add additional refcounts to buffers when we can avoid
703 it.
704 Propagate GstFlowReturn differently.
705 Use GSlice for intermediate GstMultiQueueItems.
706 Keep track of EOS.
707 Resize queues on over and underruns based on filled level of other
708 queues.
709 When checking if the queue is filled, prefer to measure in time if we
710 can and fall back to bytes when no time is known.
712 * plugins/elements/gstqueue.c:
713 Fix return value.
715 2007-06-15 Wim Taymans <wim@fluendo.com>
717 * libs/gst/base/gstbasetransform.c:
718 (gst_base_transform_sink_event):
719 Work around the brokenness of the event vmethod in basetransform. Prefer
720 to return TRUE when the subclass returned FALSE (meaning don't forward
721 the event).
723 * libs/gst/base/gstbasetransform.h:
724 Clarify the docs.
726 2007-06-15 Wim Taymans <wim@fluendo.com>
728 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
729 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
730 (gst_base_src_default_query), (gst_base_src_get_range),
731 (gst_base_src_start):
732 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
733 Improve debugging.
735 2007-06-15 Stefan Kost <ensonic@users.sf.net>
737 * docs/pwg/advanced-types.xml:
738 Added more formats to caps table.
740 2007-06-15 Stefan Kost <ensonic@users.sf.net>
742 * tools/gst-launch.c: (main):
743 Remove crufy code. GOption does not need this workaround.
745 2007-06-14 Stefan Kost <ensonic@users.sf.net>
747 * libs/gst/controller/gstcontroller.c:
748 (gst_controlled_property_set_interpolation_mode):
749 Fix wrong getter for enums in controller.
751 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
753 * libs/gst/check/gstcheck.c: (gst_check_init):
754 Intercept criticals and warnings in the Gst-Phonon log domain, so
755 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
756 well.
758 2007-06-14 Edward Hervey <edward@fluendo.com>
760 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
761 Since this file doesn't include "gst.h" it will not go through the
762 macros that disable GST_LOG if debugging was disabled.
764 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
766 * libs/gst/check/Makefile.am:
767 * libs/gst/check/gstcheck.h:
768 * pkgconfig/gstreamer-check-uninstalled.pc.in:
769 * pkgconfig/gstreamer-check.pc.in:
770 Ugly 'fix' for the controller unit test on the p5 bot: in
771 fail_unless_equals_float() check whether the values are 'almost
772 equal' by allowing a small absolute error, which should be good
773 enough for our use cases (normal numbers and values close to 0).
774 Proper fixage left to floating point arithmetic aficionados.
776 2007-06-14 Stefan Kost <ensonic@users.sf.net>
778 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
779 (gst_base_sink_render_object), (gst_base_sink_get_position):
780 Add two breaks thats where missing.
782 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
784 * docs/libs/gstreamer-libs-sections.txt:
785 * libs/gst/check/gstcheck.h:
786 API: add fail_unless_equals_float() and assert_equals_float().
787 Add documentation for some of the macros.
789 * tests/check/libs/controller.c: (GST_START_TEST):
790 Use newly-added asserts.
792 2007-06-14 Stefan Kost <ensonic@users.sf.net>
794 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
795 Show the caps change in the log to help spotting the case of not
796 exactly matching caps.
798 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
800 * docs/pwg/building-boiler.xml:
801 Fix typos, spotted by Thijs Vermeir (#447190).
803 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
805 * docs/plugins/tmpl/.cvsignore:
806 Ignore file to keep the buildbots happy
808 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
810 * docs/plugins/Makefile.am:
811 * docs/plugins/gstreamer-plugins-docs.sgml:
812 * docs/plugins/gstreamer-plugins-sections.txt:
813 Pull fdsink into the docs too.
815 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
817 * libs/gst/controller/gstinterpolation.c:
818 Actually use the new functions with min/max checks for the trigger and
819 none interpolation modes for get() and get_value_array() instead of
820 just the latter.
822 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
824 * libs/gst/controller/gstcontroller.c:
825 (gst_controlled_property_free):
826 Unset the minimum and maximum GValues when freeing the corresponding
827 GstControllerProperty struct.
829 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
831 * libs/gst/controller/gstcontroller.c:
832 (gst_controlled_property_new):
833 * libs/gst/controller/gstcontrollerprivate.h:
834 * libs/gst/controller/gstinterpolation.c:
835 (gst_controlled_property_find_control_point_node),
836 (interpolate_none_get), (interpolate_none_get_enum_value_array),
837 (interpolate_none_get_string_value_array),
838 (interpolate_trigger_get),
839 (interpolate_trigger_get_enum_value_array),
840 (interpolate_trigger_get_string_value_array):
841 Protect against values larger or smaller than the minimum or maximum
842 allowed value for the property when using values that can be compared.
844 Optimize trigger interpolator a bit by taking the last requested value
845 into account instead of always looping through the complete list.
847 Fix coding style a bit, everywhere else we use "return foo" instead
848 of "return (foo)".
850 * tests/check/libs/controller.c: (GST_START_TEST),
851 (gst_controller_suite):
852 Add unit test for the protection against too large or too small
853 values.
855 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
857 * docs/random/slomo/controller.txt:
858 Add some thoughts about the future of the controller.
860 2007-06-08 Wim Taymans <wim@fluendo.com>
862 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
863 Don't overflow in retimestamping code.
865 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
867 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
868 Use gst_util_guint64_to_gdouble for conversions.
869 * win32/common/libgstreamer.def:
870 Add new exported functions.
872 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
874 * gst/gstutils.c:
875 Small docs addition.
877 2007-06-07 Stefan Kost <ensonic@users.sf.net>
879 * README:
880 Remove that test line again.
882 2007-06-07 Stefan Kost <ensonic@users.sf.net>
884 * README:
885 Test commit mail sending.
887 2007-06-07 Stefan Kost <ensonic@users.sf.net>
889 * configure.ac:
890 Fix typo and test commit mail sending.
892 2007-06-07 Stefan Kost <ensonic@users.sf.net>
894 * tests/examples/controller/audio-example.c:
895 Improve comment and test commit mail sending.
897 2007-06-07 Wim Taymans <wim@fluendo.com>
899 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
900 (gst_bin_remove_func), (gst_bin_element_set_state),
901 (bin_handle_async_start), (bin_handle_async_done),
902 (gst_bin_handle_message_func):
903 Add helper function to find messages.
904 Generate the async-done messages together with the state change
905 messages.
906 Small cleanups in handling toplevel bins.
908 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
910 * libs/gst/base/gstdataqueue.c:
911 * libs/gst/base/gstdataqueue.h:
912 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
913 (gst_multi_queue_item_new), (gst_multi_queue_chain),
914 (gst_multi_queue_sink_event):
915 * tests/check/elements/multiqueue.c: (multiqueue_suite):
916 Fix multiqueue leaking buffers and events when downstream or the
917 queue are flushing. Make refcounting assumptions explicit and
918 document them (shouldn't break existing code that uses it other than
919 maybe leak miniobjects, but that already happens anyway). Add unit
920 test for the most common flushing case. Fixes #423700.
922 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
924 * libs/gst/controller/gstcontroller.c:
925 Clarify docs: The get_all, get_value_array(s) functions
926 don't modify the GObject properties.
928 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
930 * libs/gst/controller/gstcontroller.c:
931 (gst_controlled_property_set_interpolation_mode),
932 (gst_controlled_property_prepend_default),
933 (gst_controlled_property_new), (gst_controller_set_unlocked),
934 (gst_controller_set), (gst_controller_set_from_list),
935 (gst_controller_unset), (gst_controller_unset_all):
936 * libs/gst/controller/gstcontrollerprivate.h:
937 * libs/gst/controller/gstinterpolation.c:
938 Factor out the 'set' logic into gst_controller_set_unlocked for the
939 gst_controller_set and gst_controller_set_from_list functions.
941 To make life of the interpolators easier always add a control point
942 at timestamp zero with the default value.
944 In the linear interpolator make things more obvious by better variable
945 naming (slope).
947 Implement cubic interpolation mode (by using a natural cubic spline)
948 and map the quadratic interpolation mode to this too (as quadratic
949 doesn't make much sense, see discussion on the list).
951 * tests/check/libs/controller.c: (GST_START_TEST),
952 (gst_controller_suite):
953 Add unit test for the cubic interpolation mode and check everywhere
954 if the interpolation mode could be set as expected.
956 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
958 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
959 Don't use GLib-2.10 functions, we still depend on
960 GLib-how-old-is-it-again-2.8.
962 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
964 * docs/gst/gstreamer-sections.txt:
965 * gst/Makefile.am:
966 * gst/gst.c:
967 * gst/gst.h:
968 * gst/gstparamspecs.c: (_gst_param_fraction_init),
969 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
970 (_gst_param_fraction_values_cmp),
971 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
972 * gst/gstparamspecs.h:
973 * gst/gstvalue.c:
974 * tests/check/Makefile.am:
975 * tests/check/gst/.cvsignore:
976 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
977 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
978 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
979 (GST_START_TEST), (gst_param_spec_suite):
980 API: add GstParamSpecFraction, so elements can have fraction
981 properties without lots of painful string parsing (#444648).
983 2007-06-05 Wim Taymans <wim@fluendo.com>
985 * gst/gstobject.c: (gst_object_class_init):
986 Fix signal signature.
988 * gst/gstsegment.c:
989 Add small clarification in the api docs.
991 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
992 States are protected with object lock.
994 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
996 * AUTHORS:
997 I should probably be listed as an author by now.
999 * docs/random/release:
1000 Update the release doc
1002 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1004 * gst/gstvalue.c:
1005 Make docs for gst_value_compare() mention return enums that
1006 actually exist.
1008 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1010 * configure.ac:
1011 Back to CVS
1013 === release 0.10.13 ===
1015 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1017 * configure.ac:
1018 releasing 0.10.13, "With or without you"
1020 2007-05-25 Wim Taymans <wim@fluendo.com>
1022 * gst/gstbin.c: (bin_handle_async_done):
1023 Make sure that the child bin stops after completing the async state
1024 change so that the parent can continue the state change to PLAYING.
1025 Fixes #441159.
1027 2007-05-25 Wim Taymans <wim@fluendo.com>
1029 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1030 (unref_data), (gst_collect_pads_remove_pad),
1031 (gst_collect_pads_check_pads):
1032 Use additional refcounting to avoid crashes when dynamically adding and
1033 removing pads. Fixes #420206.
1035 2007-05-24 Wim Taymans <wim@fluendo.com>
1037 * tools/gst-launch.c: (event_loop):
1038 When buffering goes from a two digit to a single digit number, make sure
1039 to remove the old second digit by writing a blank over it.
1041 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1043 * libs/gst/base/gstdataqueue.c:
1044 Eliminate tabs and trailing comma in enum list; fix some typos.
1046 2007-05-24 Wim Taymans <wim@fluendo.com>
1048 * tests/check/gst/gstbin.c: (GST_START_TEST):
1049 Allow refcount of 3 and 4 because some state thread might still be busy
1050 with it.
1052 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1054 * plugins/elements/Makefile.am:
1055 * plugins/elements/gstmultiqueue.h:
1056 * plugins/elements/gstqueue.h:
1057 These are not installed headers, no need for padding.
1059 2007-05-24 Wim Taymans <wim@fluendo.com>
1061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1062 (gst_bin_continue_func):
1063 Enable latency for next release.
1064 Restore STATE_LOCK around recalc_state that was left out during the
1065 rewrite and could result in racy behaviour when _get_state and
1066 recalc_state are run concurrently. See #440463.
1068 2007-05-23 Wim Taymans <wim@fluendo.com>
1070 * tests/check/gst/gstsystemclock.c: (store_callback),
1071 (GST_START_TEST):
1072 Improve test_async_order to also work when both timers are already
1073 expired when we get scheduled to check it.
1075 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1077 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1078 (gst_bin_set_property), (gst_bin_get_property),
1079 (gst_bin_remove_func), (gst_bin_handle_message_func):
1080 * gst/gstbin.h:
1081 'private' is a c++ keyword, let's not use that in header files,
1082 otherwise c++ compilers will throw a tantrum.
1084 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1086 * plugins/elements/gstelements.c:
1087 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1088 (gst_file_sink_get_current_offset):
1089 * plugins/indexers/gstindexers.c: (plugin_init):
1090 Use #ifdef for HAVE_XYZ for consistency.
1092 * tests/check/Makefile.am:
1093 * tests/check/elements/.cvsignore:
1094 * tests/check/elements/filesink.c: (setup_filesink),
1095 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1096 Add some unit tests for filesink.
1098 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1100 Patch by: Mark Nauwelaerts <manauw at skynet be>
1102 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1103 (gst_file_sink_query), (gst_file_sink_do_seek),
1104 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1105 * plugins/elements/gstfilesink.h:
1106 Fix position reporting; rename data_written member to current_pos to
1107 reflect its real meaning (fixes #412648).
1109 2007-05-22 Edward Hervey <edward@fluendo.com>
1111 * docs/gst/gstreamer-sections.txt:
1112 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1113 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1114 (gst_bin_remove_func), (gst_bin_handle_message_func):
1115 * gst/gstbin.h:
1116 Add a property for bins that handle the state change of their childs.
1117 Fixes #435880
1119 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1121 * libs/gst/controller/gstinterpolation.c:
1122 Use an array of the correct type when using _get_value_array with
1123 linear interpolation.
1125 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1127 * gst/gstelement.c (gst_element_requires_clock,
1128 gst_element_provides_clock, gst_element_request_pad,
1129 gst_element_class_set_details, gst_element_class_set_details_simple,
1130 gst_element_default_send_event, gst_element_abort_state,
1131 gst_element_continue_state, gst_element_set_state,
1132 gst_element_set_state_func, iterator_activate_fold_with_resync):
1133 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1134 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1135 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1136 gst_pad_get_range, gst_pad_pull_range):
1137 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1138 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1139 GstPadActivateModeFunction, GstPadChainFunction,
1140 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1141 GstPadFixateCapsFunction, GstPadTemplate):
1142 * gst/gstpipeline.c (gst_pipeline_change_state,
1143 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1144 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1145 gst_pipeline_get_delay):
1146 Whitespace and docs fixes.
1148 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1150 * libs/gst/controller/gstinterpolation.c:
1151 (interpolate_trigger_get_enum_value_array),
1152 (interpolate_trigger_get_string_value_array):
1153 Add support for retrieving value arrays when using the trigger
1154 interpolation mode.
1156 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1158 * libs/gst/controller/gstcontroller.c:
1159 (gst_controller_get_value_array):
1160 * libs/gst/controller/gstcontroller.h:
1161 Clarify the docs of gst_controller_get_value_array(): The array where
1162 the values should be written to must be allocated as there seems to be
1163 no way to get the size of a random GType. This doesn't change any
1164 behaviour. Also fix some typos all over the place and remove an unused,
1165 commented function that is not necessary as g_object_set() could be
1166 used instead.
1167 * tests/check/libs/controller.c: (GST_START_TEST),
1168 (gst_controller_suite):
1169 Add unit test for gst_controller_get_value_array().
1171 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1173 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1175 Disable part of the gst_buffer_try_new_and_alloc test, because
1176 it can happily succeed on 64-bit systems where there's more address
1177 space available.
1179 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1181 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1182 Add unit test for the improved caps checking from bug #421543.
1184 2007-05-21 Wim Taymans <wim@fluendo.com>
1186 * docs/design/part-synchronisation.txt:
1187 Small addition.
1189 * gst/gstbin.c: (gst_bin_query):
1190 * plugins/elements/gstqueue.c: (apply_segment):
1191 Improve debugging.
1193 * gst/gstmessage.h:
1194 Improve docs.
1196 2007-05-21 Wim Taymans <wim@fluendo.com>
1198 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1199 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1200 (gst_pad_configure_src):
1201 Added simple version of improved caps checking. It was previously
1202 assumed that a setcaps function would check the validity of the caps but
1203 people prefer us to check caps against the template automatically.
1204 Fixes #421543.
1206 2007-05-21 Wim Taymans <wim@fluendo.com>
1208 * libs/gst/base/gstbasetransform.h:
1209 Fix macro for locking/unlocking the transform lock.
1211 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1213 * docs/plugins/tmpl/.cvsignore:
1214 Ignore more.
1216 2007-05-18 Edward Hervey <edward@fluendo.com>
1218 * plugins/elements/gstqueue.c: (gst_queue_loop):
1219 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1220 for the subtle art of warning a potentially blocking thread that it
1221 should check the source pad return value, and relay the information
1222 upstream.
1224 2007-05-18 Edward Hervey <edward@fluendo.com>
1226 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1227 Release the queue lock !
1229 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1231 * docs/libs/gstreamer-libs-sections.txt:
1232 Add the two new controller functions to the appropiate places.
1234 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1236 reviewed by: Stefan Kost <ensonic@users.sf.net>
1238 * libs/gst/controller/gstcontroller.c:
1239 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1240 (_gst_controller_get_property), (_gst_controller_set_property),
1241 (_gst_controller_init), (_gst_controller_class_init):
1242 * libs/gst/controller/gstcontroller.h:
1243 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1244 (gst_object_get_control_rate), (gst_object_set_control_rate):
1245 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1246 Add API that provides sync suggestion timestamps for elements that
1247 call gst_object_sync_values() from which those elements can subdivide
1248 their processing loop to get the best results for the controlled
1249 properties. For now it just suggests last_sync + control_rate as
1250 new timestamp but this will be improved in the future.
1252 While doing that change the control-rate property to a GstClockTime
1253 from guint and change it's meaning from samples to nanoseconds as
1254 the GstController doesn't know anything about sampling rate. Strictly
1255 speaking this breaks ABI but as the control-rate property didn't do
1256 anything in the past and as such couldn't be used this should be no
1257 problem.
1259 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1261 reviewed by: Stefan Kost <ensonic@users.sf.net>
1263 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1264 (gst_controller_unset_all):
1265 * libs/gst/controller/gstcontrollerprivate.h:
1266 * libs/gst/controller/gstinterpolation.c:
1267 (gst_controlled_property_find_control_point_node):
1268 Save last synced value from the list to continue searching from there
1269 in future syncs. This speeds everything up a bit.
1271 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1273 reviewed by: Stefan Kost <ensonic@users.sf.net>
1275 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1276 (gst_control_point_find), (gst_controlled_property_new),
1277 (gst_control_point_free), (gst_controlled_property_free),
1278 (gst_controller_set), (gst_controller_set_from_list),
1279 (gst_controller_unset), (gst_controller_unset_all),
1280 (gst_controller_sync_values):
1281 * libs/gst/controller/gstcontroller.h:
1282 * libs/gst/controller/gstcontrollerprivate.h:
1283 * libs/gst/controller/gstinterpolation.c:
1284 (gst_controlled_property_find_control_point_node),
1285 (interpolate_none_get), (interpolate_trigger_get):
1286 Add a new private GstControlPoint struct which "inherits" from
1287 GstTimedValue to allow different interpolators to store internal
1288 values next to each control point. From the outside everything is
1289 still a GstControlPoint so we don't loose binary compatibility.
1290 Also fixup all the GValue handling to not leak GValues or list nodes.
1291 * tests/check/libs/controller.c: (GST_START_TEST):
1292 Free the list nodes and GValues in the controller_misc test.
1294 2007-05-17 Edward Hervey <edward@fluendo.com>
1296 * gst/gstsegment.c:
1297 Small doc fix.
1299 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1301 * gst/gstplugin.c: (gst_plugin_load_file):
1302 If we fail to load a plugin because of unresolved symbols or missing
1303 libraries and spew a warning to stderr, we may just as well mention
1304 which plugin it was that failed to load.
1306 2007-05-13 David Schleef <ds@schleef.org>
1308 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1309 handles the case when ENABLE_GTK_DOC is false, and installs
1310 the prebuilt documentation. So gtk-doc subdirs are
1311 unconditionally enabled. Fixes: #349099.
1313 2007-05-13 David Schleef <ds@schleef.org>
1315 * gst/gstutils.h: Reword some documentation.
1317 2007-05-12 David Schleef <ds@schleef.org>
1319 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1320 do anything with the passed "module" parameter, so remove it.
1321 Allows removal of additional vestigal code.
1323 2007-05-12 David Schleef <ds@schleef.org>
1325 * gst/gstplugin.c:
1326 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1327 Switch to using g_stat() because it's more portable.
1329 2007-05-12 David Schleef <ds@schleef.org>
1331 * gst/gst.c:
1332 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1333 parsing for embedded systems.
1334 * gst/gstelementfactory.c:
1335 Allow gst_element_register() to be called with plugin==NULL.
1336 Did nobody notice that static elements were broken?
1338 2007-05-12 Wim Taymans <wim@fluendo.com>
1340 * tools/gst-launch.c: (event_loop):
1341 Give more interesting info when buffering starts and stops.
1342 Fix case where buffering starts but we fail to update the buffering flag
1343 because the target state is not PLAYING.
1345 2007-05-12 Wim Taymans <wim@fluendo.com>
1347 * plugins/elements/gstqueue.c: (gst_queue_init),
1348 (gst_queue_finalize), (update_time_level), (apply_segment),
1349 (apply_buffer), (gst_queue_locked_flush),
1350 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1351 (gst_queue_handle_sink_event), (gst_queue_chain),
1352 (gst_queue_push_one), (gst_queue_loop):
1353 * plugins/elements/gstqueue.h:
1354 Refactor an cleanup queue a bit.
1355 Do better time level calculations that also work when the srcpad is not
1356 yet running.
1357 Remove some unneeded debug lines.
1359 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1360 Added testcase for time level measurement.
1361 Try to make some stuff more racefree.
1363 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1365 * gst/gsturi.c: (gst_element_make_from_uri):
1366 Don't leak plugin feature.
1368 * tests/check/Makefile.am:
1369 * tests/check/gst/.cvsignore:
1370 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1371 Add brain-dead unit test.
1373 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1375 Patch by: Jeroen Wouters <woutersj at gmail com>
1377 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1378 Treat protocol strings in a case-insensitive way (#437563).
1380 2007-05-11 Michael Smith <msmith@fluendo.com>
1382 * gst/gstplugin.c: (gst_plugin_load_file):
1383 * gst/gstregistry.c: (gst_registry_scan_path_level):
1384 Don't print a g_warning for any failure to load a shared object.
1385 Instead, push this down into gstplugin.c, and warn _only_ if we
1386 failed to open the module (i.e. failure to link).
1387 Avoids warnings on normal, working, non-plugin .so files.
1389 2007-05-11 Stefan Kost <ensonic@users.sf.net>
1391 * gst/gstplugin.c (gst_plugin_load_file):
1392 * gst/gstregistry.c (GST_CAT_DEFAULT,
1393 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1394 Print a g_warning if there was an error when loading a plugins during
1395 registry scan. The shuld help beginners starting with gst-plugin
1396 template.
1398 2007-05-10 Wim Taymans <wim@fluendo.com>
1400 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1401 (update_time_level), (gst_queue_locked_flush),
1402 (gst_queue_handle_sink_event), (gst_queue_chain),
1403 (gst_queue_push_one), (gst_queue_loop):
1404 * plugins/elements/gstqueue.h:
1405 Be smarter when calculating the current amount of data in the queue by
1406 measuring the difference between start and end timestamps (in running
1407 time) inside the queue. Fixes #432876.
1408 API: GstQueue::pushing to notify elements that we are pushing data again
1409 since the running signal is rather broken for this purpose.
1411 2007-05-10 Stefan Kost <ensonic@users.sf.net>
1413 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1414 gst_queue_base_init, gst_queue_init):
1415 use GST_BOILERPLATE
1417 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
1419 * win32/common/libgstreamer.def:
1420 Add new exported functions.
1421 * win32/vs6/grammar.dsp:
1422 Use grammar pre-generated files.
1424 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1426 Based on patch by: Peter Kjellerstedt <pkj at axis com>
1428 * gst/Makefile.am:
1429 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1430 * gst/gstparse.h:
1431 * gst/gstutils.c: (gst_parse_bin_from_description):
1432 * gst/gstutils.h:
1433 Maintain API and ABI when --disable-parse is used. Now that
1434 we have an appropriate error code, we can just return NULL and the
1435 appropriate error when gst_parse_launch() is used despite it having
1436 been disabled (#342564).
1438 * tests/check/Makefile.am:
1439 * tests/check/pipelines/.cvsignore:
1440 * tests/check/pipelines/parse-disabled.c:
1441 Make sure these functions exist and return NULL plus a GError when
1442 --disable-parse is used.
1444 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1446 * tests/benchmarks/complexity.c: (main):
1447 * tests/benchmarks/mass-elements.c: (main):
1448 Set a good example and don't leak messages.
1450 2007-05-06 Stefan Kost <ensonic@users.sf.net>
1452 * docs/gst/Makefile.am:
1453 * docs/libs/Makefile.am:
1454 Correct fixxrefs options.
1456 * docs/plugins/Makefile.am:
1457 * docs/plugins/gstreamer-plugins-docs.sgml:
1458 * docs/plugins/gstreamer-plugins-sections.txt:
1459 * plugins/elements/Makefile.am:
1460 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1461 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1462 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1463 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1464 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1465 _GstCapsFilterClass, trans_class):
1466 * plugins/elements/gstelements.c (name, rank, type, _elements):
1467 * plugins/elements/gstidentity.c
1468 (gst_identity_check_imperfect_timestamp,
1469 gst_identity_check_imperfect_offset):
1470 Document capsfilter and add doc-blurb to identity.
1472 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
1474 * libs/gst/controller/gstcontroller.c:
1475 (gst_controlled_property_set_interpolation_mode):
1476 * libs/gst/controller/gstinterpolation.c:
1477 Don't crash if someone tries to set an interpolation mode that
1478 is invalid or that isn't supported yet. Fixes #422295.
1480 * tests/check/libs/controller.c: (GST_START_TEST),
1481 (gst_controller_suite):
1482 Add a test case for the above.
1484 2007-05-03 Edward Hervey <edward@fluendo.com>
1486 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1487 Properly set the last_stop position on GstSegment. This will only happen
1488 if there is a buffer to push out.
1490 2007-05-03 Wim Taymans <wim@fluendo.com>
1492 * libs/gst/base/gstbasetransform.c:
1493 (gst_base_transform_buffer_alloc):
1494 always_in_place does not mean that the sink and source caps are the
1495 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1497 2007-05-03 Wim Taymans <wim@fluendo.com>
1499 * docs/libs/gstreamer-libs-sections.txt:
1500 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1501 (gst_base_src_default_query), (gst_base_src_get_range):
1502 * libs/gst/base/gstbasesrc.h:
1503 API: gst_base_src_query_latency(). Added method so that subclasses can
1504 easily get the latency values of the base source class.
1506 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1508 * tools/gst-inspect.c (print_implementation_info):
1509 Remove 0.8 cruft.
1511 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1513 * tools/Makefile.am:
1514 * tools/gst-launch.1.in:
1515 Don't create a customised man page based on the host architecture,
1516 describe the default registry path generically. That way the man
1517 page is the same for all architectures and packagers have one
1518 multilib issue less to deal with. Fixes #434926.
1520 2007-05-02 Wim Taymans <wim@fluendo.com>
1522 * gst/gstpad.c:
1523 Fix documentation as spotted by rg on IRC.
1525 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1527 * gst/gstutils.c:
1528 Improve docs for gst_element_{link,unlink}.
1530 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1532 * docs/design/part-events.txt:
1533 * docs/design/part-overview.txt:
1534 * gst/gstevent.c:
1535 * gst/gsturi.c:
1536 * gst/gsturi.h:
1537 * libs/gst/base/gstbasesink.c:
1538 Typo fixes; minor docs addition.
1540 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1542 * docs/gst/gstreamer-sections.txt:
1543 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1544 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1545 * gst/gsturi.h:
1546 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1547 or src that supports a given URI protocol exists.
1549 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1551 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1552 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1553 Set the location to NULL if "file://" is set as URI. Otherwise
1554 some random previous URI would still be set if "file://" is
1555 set on an already used filesink/filesrc.
1557 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1559 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1560 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1561 Special case the "file://" URI as as this is used by some
1562 applications to test with gst_element_make_from_uri if there's
1563 an element that supports the URI protocol.
1564 Also move the g_path_is_absolute() check for the location part
1565 of the URI to also check this for "file://localhost/bla" URIs.
1567 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1569 * docs/gst/gstreamer-sections.txt:
1570 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1571 * gst/gstbuffer.h:
1572 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1573 (gst_buffer_suite):
1574 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1576 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1578 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1579 (gst_registry_binary_load_pad_template),
1580 (gst_registry_binary_load_plugin),
1581 (gst_registry_binary_read_cache):
1582 * gst/gstregistrybinary.h:
1583 Implement no-mmap alternative for registry reading. Do code cleanups.
1584 Add more comments about avoiding strdups for all text data. Comments
1585 welcome.
1587 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1589 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1590 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1591 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1592 Comment structs and reformat to fix the build (that stuff should go
1593 into a priv. header).
1595 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1597 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1598 (gst_registry_binary_load_feature):
1599 * gst/gstregistrybinary.h:
1600 Refactor so that we can implement multiple features. Add support for
1601 TypeFindFactory features.
1603 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1605 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1607 * configure.ac:
1608 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1610 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1612 * gst/gstbin.c: (gst_bin_element_set_state),
1613 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1614 (bin_handle_async_done), (gst_bin_handle_message_func):
1615 Fix build with --gst-disable-gst-debug
1617 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1619 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1620 Make sure streaming has finished before calling the ::stop() vfunc,
1621 since that vfunc might clear state which is being used in the
1622 streaming thread. This fixes a race that caused crashes in
1623 audioresample when shutting down a pipeline (#420106).
1625 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1627 * docs/gst/gstreamer-sections.txt:
1628 That was one byte missing.
1630 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1632 * configure.ac:
1633 * docs/gst/gstreamer-sections.txt:
1634 * gst/Makefile.am:
1635 * gst/gstconfig.h.in:
1636 * gst/gstobject.c: (gst_object_class_init),
1637 (gst_signal_object_class_init):
1638 * gst/gstobject.h:
1639 2nd attempt to have a xml-less build as a joined effort of #413123
1640 and #421480.
1642 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1644 * docs/design/draft-tagreading.txt:
1645 Added open issues/thoughts to draft.
1647 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1649 * gst/parse/grammar.tab.pre.c:
1650 * gst/parse/grammar.tab.pre.h:
1651 * gst/parse/lex._gst_parse_yy.pre.c:
1652 Update the prebuild parser sources.
1654 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1656 * gst/parse/Makefile.am:
1657 And now fix the building of the flex sources. Now everything should
1658 work as expected.
1660 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1662 * gst/parse/Makefile.am:
1663 Now hopefully fix the build failures by setting proper rule
1664 dependencies and moving instead of copying.
1666 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1668 * tests/benchmarks/complexity.gnuplot:
1669 * tests/benchmarks/complexity.scm:
1670 * tests/benchmarks/mass-elements.gnuplot:
1671 * tests/benchmarks/mass-elements.scm:
1672 Total licensification.
1674 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1676 * gst/parse/Makefile.am:
1677 Fix the build by correcting the rule that gave wrong files to flex.
1679 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1681 * tests/benchmarks/complexity.c:
1682 * tests/benchmarks/mass-elements.c:
1683 Change licence to LGPL as granted by Benjamin and Andy.
1685 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1687 * gst/parse/Makefile.am:
1688 Add correct grammar.tab.h dependency if compiling without new enough
1689 flex. Fixes #431150.
1691 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1693 * gst/parse/Makefile.am:
1694 Fix typo and use outdated sources if the flex/bison sources are newer
1695 than the pregenerated ones but flex is too old. Print a warning in
1696 that case. This should fix the build on the build bot.
1698 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1700 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1701 * gst/parse/Makefile.am:
1702 * gst/parse/grammar.y:
1703 * gst/parse/parse.l:
1704 Make the parser reentrant and recursively callable. This requires flex
1705 >= 2.5.31, for older versions pregenerated sources are used as we
1706 can't bump the build dependency. Finally fixes #349180.
1708 * gst/gstparse.c: (gst_parse_launch):
1709 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1710 now anyway.
1712 * docs/gst/Makefile.am:
1713 * docs/gst/Makefile.am:
1714 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1715 (__gst_parse_strfree), (__gst_parse_link_new),
1716 (__gst_parse_link_free), (__gst_parse_chain_new),
1717 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1718 (gst_parse_element_set), (gst_parse_free_link),
1719 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1720 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1721 (_gst_parse_launch):
1722 * gst/parse/grammar.tab.pre.h:
1723 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1724 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1725 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1726 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1727 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1728 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1729 (_gst_parse_yypop_buffer_state),
1730 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1731 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1732 (yy_fatal_error), (_gst_parse_yyget_extra),
1733 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1734 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1735 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1736 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1737 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1738 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1739 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1740 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1741 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1742 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1743 (_gst_parse_yyfree):
1744 If the installed flex version is too old use pre-generated parser
1745 sources. These pre-generated parser sources are always updated when
1746 the actual flex/bison sources change but require everybody who wants
1747 to change something in the parser to have flex >= 2.5.31 installed.
1749 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1751 * common/m4/gst-gettext.m4:
1752 * gst/gst-i18n-lib.h:
1753 Make --disable-nls to work
1755 2007-04-17 Wim Taymans <wim@fluendo.com>
1757 * gst/gstconfig.h.in:
1758 Revert previous change that broke the build.
1760 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1762 * configure.ac:
1763 * gst/Makefile.am:
1764 * gst/gstconfig.h.in:
1765 Drop libxml2 dependency when building with
1766 --enable-binary-registry --disable-loadsave
1768 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1770 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1771 (gst_registry_binary_read_cache):
1772 * gst/gstregistrybinary.h:
1773 Remove unnecessary <sys/mman.h> include which broke the win32 build
1774 with MingW; move includes from header file to .c file, even if the
1775 header file isn't installed; use g_strerror() where UTF-8 strings
1776 are expected, such as in GST_DEBUG messages.
1778 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1780 * docs/libs/gstreamer-libs-sections.txt:
1781 Remove bogus addition for API I didn't end up keeping.
1783 * libs/gst/base/gstbasesrc.h:
1784 Mention Since: 0.10.13 in the documentation.
1786 Add the API keyword to the previous ChangeLog entry.
1788 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1790 * docs/libs/gstreamer-libs-sections.txt:
1791 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1792 (gst_base_src_default_prepare_seek_segment),
1793 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1794 * libs/gst/base/gstbasesrc.h:
1795 Allow basesrc derived classes to execute seeks in other formats
1796 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1797 to prepare the GstSegment in any format that their perform_seek method
1798 will be able to understand. The default implementation provides the
1799 old behaviour of attempting to convert the seek offsets to the
1800 configured native format.
1802 API: basesrc::prepare_seek_segment vmethod.
1804 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1806 * gst/gstelement.c: (gst_element_get_state_func):
1807 Don't output the same debug statement twice.
1809 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1810 (gst_adapter_peek), (gst_adapter_take_buffer):
1811 Optimise the case where we have buffers at the head of the queue that
1812 can be joined quickly (because they're contiguous sub-buffers) by
1813 merging them together rather than copying data out into new memory.
1815 * gst/parse/grammar.y:
1816 * tests/check/pipelines/parse-launch.c:
1817 Fix a leak in an error path for parse_launch, and add a check
1818 for it to the testsuite.
1820 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1822 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1823 Don't deadlock when releasing a pad - gst_pad_set_active may try
1824 and take the multiqueue lock too.
1826 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1828 * gst/gsterror.c: (_gst_core_errors_init):
1829 * gst/gsterror.h:
1830 API: add GST_CORE_ERROR_DISABLED (#392804).
1832 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1834 * docs/faq/gst-uninstalled:
1835 don't get empty paths on the PATH variables
1836 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1837 Don't format for the uncommon terminal width of 84 characters.
1839 2007-04-06 Wim Taymans <wim@fluendo.com>
1841 * gst/gstpipeline.c: (reset_stream_time),
1842 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1843 Only try to select a different pipeline clock when we went back to
1844 PAUSED and not when we merely got flushed.
1846 2007-04-05 Michael Smith <msmith@fluendo.com>
1848 * tools/gst-launch.1.in:
1849 fractions are better supported in gstreamer than ractions, so
1850 suggest using those.
1852 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1854 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1856 * po/LINGUAS:
1857 * po/da.po:
1858 Added Danish translation.
1860 2007-04-05 Wim Taymans <wim@fluendo.com>
1862 * libs/gst/base/gstbasesink.c:
1863 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1864 Fix leak caused when refusing newsegment after EOS.
1866 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1867 (gst_fake_sink_init), (gst_fake_sink_set_property),
1868 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1869 (gst_fake_sink_render), (gst_fake_sink_change_state):
1870 * plugins/elements/gstfakesink.h:
1871 Add num-buffers property to make the element generate EOS after a
1872 configurable amount of buffers.
1873 API: fakesink::num-buffers property.
1875 * tests/check/elements/fakesink.c: (GST_START_TEST),
1876 (fakesink_suite):
1877 Fix GstBus leak in test.
1878 Test for fakesink num-buffers.
1880 2007-04-05 Wim Taymans <wim@fluendo.com>
1882 * libs/gst/base/gstbasesink.c:
1883 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1884 (gst_base_sink_change_state):
1885 Don't accept anything after an EOS, return UNEXPECTED instead.
1887 * tests/check/elements/fakesink.c: (GST_START_TEST),
1888 (fakesink_suite):
1889 Unit test for new EOS behaviour.
1891 2007-04-05 Wim Taymans <wim@fluendo.com>
1893 * gst/gstelement.c: (gst_element_get_request_pad):
1894 Make padtemplates also work when they don't contain %s or %d.
1896 2007-04-05 Wim Taymans <wim@fluendo.com>
1898 * docs/gst/gstreamer-sections.txt:
1899 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1900 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1901 * gst/gstclock.h:
1902 Improve _adjust_unlocked() so that it overflows less.
1903 Add gst_clock_unadjust_unlocked to convert from external time to
1904 internal time based on calibration.
1905 Add some more debug.
1906 API: GstClock::gst_clock_unadjust_unlocked()
1908 2007-04-03 Wim Taymans <wim@fluendo.com>
1910 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1912 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1913 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1914 when releasing sink pad. Fixes #425400.
1916 2007-04-02 Stefan Kost <ensonic@users.sf.net>
1918 * docs/random/ensonic/dynlink.txt:
1919 More work on proposal for new core api.
1921 * docs/libs/gstreamer-libs-sections.txt:
1922 * libs/gst/base/gstbasetransform.h:
1923 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1925 * libs/gst/controller/gstcontroller.c:
1926 (on_object_controlled_property_changed),
1927 (gst_controller_sync_values),
1928 (gst_controller_set_interpolation_mode):
1929 * libs/gst/controller/gstcontroller.h:
1930 Less verbose logging add docs for unimplemented parts and correctly
1931 return when using unavailable parts.
1933 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1935 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1936 Move all the debug to the CLOCK category, and associate it with
1937 the clock object.
1939 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1941 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1942 Make take_buffer a bit quicker by removing redundant checks
1943 caused by calling gst_adapter_take.
1945 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1947 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1948 Don't leak GCond.
1950 * tests/check/Makefile.am:
1951 * tests/check/elements/.cvsignore:
1952 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1953 (GST_START_TEST), (multiqueue_suite):
1954 Add some dead simple unit tests for the 'multiqueue' element
1955 (some bits don't work yet and are disabled for now).
1957 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1959 * gst/gstelement.c: (gst_element_get_request_pad),
1960 (gst_element_class_get_request_pad_template):
1961 Make gst_element_get_request_pad() create request pads only for
1962 request pad templates and not for, say, sometimes pad templates.
1964 2007-03-28 Stefan Kost <ensonic@users.sf.net>
1966 * docs/design/draft-klass.txt:
1967 Add example that needs more thinking.
1969 * docs/design/draft-missing-plugins.txt:
1970 More thoughts about wrapper plugins.
1972 * docs/random/ensonic/embedded.txt:
1973 * docs/random/ensonic/profiling.txt:
1974 More design work.
1976 2007-03-25 Wim Taymans <wim@fluendo.com>
1978 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1979 (gst_base_src_loop):
1980 Only push the segment events in the PLAYING state for live sources.
1982 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
1984 * gst/gstpipeline.c: (gst_pipeline_change_state):
1985 Modify the clock distribution path in PAUSED->PLAYING so that we
1986 never attempt to choose a new clock unless we're actually leaving
1987 the PAUSED state for the first time. This prevents choosing a
1988 different clock when the state_change gets called for a 2nd time due
1989 to some element doing an async state change.
1991 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1993 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
1994 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
1995 (gst_pad_chain_unchecked), (gst_pad_push):
1996 Revert last commit. This needs some more thoughts.
1998 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2000 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2001 (gst_pad_chain_unchecked), (gst_pad_push):
2002 Check in set_caps if the caps are compatible with the pad and remove
2003 two functions that are redundant now. Fixes #421543.
2005 2007-03-22 Wim Taymans <wim@fluendo.com>
2007 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2008 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2009 Unref some more to make valgrind happy.
2011 2007-03-22 Wim Taymans <wim@fluendo.com>
2013 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2014 (gst_system_clock_id_wait_jitter),
2015 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2016 Fix anoying regression that survived a few releases. When adding an
2017 async entry while blocking on a sync entry, the sync entry will unblock
2018 but still be busy, so it should continue to wait instead of returning
2019 _BUSY to the app.
2020 Add some comments here and there.
2022 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2023 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2024 Add testcase for this.
2026 2007-03-22 Wim Taymans <wim@fluendo.com>
2028 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2029 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2030 WRONG_STATE and can silently pause the task. All other cases should
2031 error out.
2033 2007-03-22 Wim Taymans <wim@fluendo.com>
2035 Patch by: Ville Syrjala <syrjala at sci dot fi>
2037 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2038 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2039 Improve debugging.
2041 2007-03-21 Michael Smith <msmith@fluendo.com>
2043 * docs/pwg/advanced-types.xml:
2044 Fix some errors in the typefinding docs pointed out on irc.
2046 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2048 * libs/gst/base/gstbasesrc.c:
2049 Clarify FIXME comment in the face of having added unlock_stop()
2051 2007-03-21 Wim Taymans <wim@fluendo.com>
2053 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2054 Prepare for release where we warn against possible app breakage in the
2055 case of live pipelines along with an env var to enable/disable live
2056 preroll mode (GST_COMPAT=[no-]live-preroll).
2058 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2060 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2061 So we should use correct constants for checking for None offset.
2063 2007-03-20 Wim Taymans <wim@fluendo.com>
2065 * docs/design/part-block.txt:
2066 Mention the fact that the newly switched element should be set to at
2067 least PAUSED.
2069 2007-03-20 Wim Taymans <wim@fluendo.com>
2071 * gst/gst.c:
2072 Fix compilation with registry disabled as spotted by Saur.
2074 2007-03-20 Wim Taymans <wim@fluendo.com>
2076 Patch by: Olivier Crete <tester at tester dot ca>
2078 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2079 Look at the pending state too when syncing the element state to the
2080 parent. Fixes #420133.
2082 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2084 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2085 (gst_base_sink_change_state):
2086 * libs/gst/base/gstbasesink.h:
2087 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2088 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2089 (gst_base_src_deactivate):
2090 * libs/gst/base/gstbasesrc.h:
2091 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2092 for sub-classes to correctly clear any state they set trying to
2093 unlock, such as clearing out unlock commands from a command fd.
2094 API: basesrc::unlock_stop
2095 API: basesink::unlock_stop
2097 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2098 (gst_fd_sink_render), (gst_fd_sink_unlock),
2099 (gst_fd_sink_unlock_stop):
2100 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2101 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2102 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2104 Implement unlock_stop in fdsrc and fdsink.
2105 Implement seeking in fdsrc when a seekable fd is passed, as in
2106 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2108 2007-03-19 Wim Taymans <wim@fluendo.com>
2110 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2112 * gst/gstelement.c: (gst_element_class_init):
2113 Fix pad-added and pad-removed signal signatures so that the pad type is
2114 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2116 2007-03-19 Wim Taymans <wim@fluendo.com>
2118 * docs/gst/gstreamer-sections.txt:
2119 Add new element field and method.
2121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2122 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2123 (gst_bin_recalc_state), (gst_bin_get_state_func),
2124 (gst_bin_element_set_state), (gst_bin_change_state_func),
2125 (gst_bin_continue_func), (bin_bus_handler),
2126 (bin_push_state_continue), (bin_handle_async_start),
2127 (bin_handle_async_done), (gst_bin_handle_message_func):
2128 Make async state changes a bit smarter by using new ASYNC_START and
2129 ASYNC_DONE messages. This reduces the number of times we run the state
2130 recalculation thread.
2131 Don't change state of element with a pending ASYNC_START message.
2132 Deprecate STATE_DIRTY messages.
2134 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2135 (gst_element_get_state_func), (gst_element_continue_state),
2136 (gst_element_lost_state), (gst_element_set_state_func),
2137 (gst_element_change_state):
2138 * gst/gstelement.h:
2139 Keep the state that was last set by the app in a new element field.
2140 Don't allow state changes when handling an element event.
2141 Post ASYNC_START and ASYNC_DONE messages.
2142 Change lost_state so that we go to PAUSED and wait for the parent to set
2143 us to PLAYING again (so latency calculation can be performed)
2144 Export gst_element_change_state() method so that subclasses can use it.
2145 API: gst_element_change_state()
2146 API: GST_STATE_TARGET
2148 * gst/gstpipeline.c: (gst_pipeline_class_init),
2149 (reset_stream_time), (gst_pipeline_change_state),
2150 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2151 Using the new ASYNC_START message we can reset the base_time when
2152 needed. This can then be used to implement base_time redistribution in
2153 flushing seeks so that we can remove the explicit seek handling.
2154 Perform latency query and configuration when going to PLAYING.
2156 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2157 (gst_base_sink_query), (gst_base_sink_change_state):
2158 Post new ASYNC_START/ASYNC_DONE messages.
2160 * tests/check/generic/sinks.c: (GST_START_TEST):
2161 Fix test because the bin will not set the async element to PLAYING right
2162 away.
2164 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2165 Make the message check a little stronger.
2166 Handle ASYNC messages.
2168 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2169 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2170 Expect ASYNC_DONE messages.
2172 2007-03-19 Wim Taymans <wim@fluendo.com>
2174 * docs/gst/gstreamer-sections.txt:
2175 * gst/gstmessage.c: (gst_message_new_async_start),
2176 (gst_message_new_async_done), (gst_message_parse_info),
2177 (gst_message_parse_async_start):
2178 * gst/gstmessage.h:
2179 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2180 support.
2182 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2184 * tools/gst-inspect.c:
2185 (print_plugin_automatic_install_info_codecs):
2186 Now that we don't check for the 'Codec' keyword any longer in the
2187 klass, we shouldn't spew a warning if the klass isn't a decoder or
2188 encoder (since it might be a Source/Network, for example).
2190 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2192 * tools/gst-inspect.c:
2193 (print_plugin_automatic_install_info_codecs):
2194 Don't require decoder/demuxer/depayloader elements or
2195 encoder/muxer/paylader elements to have 'Codec' as part of their
2196 factory class string when introspecting a plugin's capabilities.
2197 draft-klass.txt mentions that it might be removed in future, and
2198 flump3dec doesn't have it as part of its class string, so chances
2199 are others might also not have it.
2201 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2203 * po/af.po:
2204 * po/az.po:
2205 * po/bg.po:
2206 * po/ca.po:
2207 * po/cs.po:
2208 * po/de.po:
2209 * po/en_GB.po:
2210 * po/fr.po:
2211 * po/it.po:
2212 * po/nb.po:
2213 * po/nl.po:
2214 * po/ru.po:
2215 * po/sq.po:
2216 * po/sr.po:
2217 * po/sv.po:
2218 * po/tr.po:
2219 * po/uk.po:
2220 * po/vi.po:
2221 * po/zh_CN.po:
2222 * po/zh_TW.po:
2223 Update translations from translation project
2225 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2227 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2228 (gst_child_proxy_set_property):
2229 Invert precondition check to be alike the ones in the mimiced gobject
2230 api.
2232 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2234 * docs/design/draft-tagreading.txt:
2235 * docs/random/ensonic/audiobaseclasses.txt:
2236 Do some Architect work.
2238 * gst/gstobject.c: (gst_object_set_name):
2239 Add a WARNING.
2241 * gst/gstpad.c:
2242 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2244 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2246 * gst/gstsystemclock.c: (gst_system_clock_init),
2247 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2248 Defer starting the async system clock thread until the first async
2249 wait is scheduled. Fixes #414986.
2251 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2253 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2254 (gst_single_queue_free):
2255 Fix small leak (free GstSingleQueue structure too, not only contents).
2257 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2259 * gst/gstbin.c:(gst_bin_add):
2260 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2261 * win32/common/libgstbase.def:
2262 * win32/common/libgstreamer.def:
2263 Add new exported functions.
2265 2007-03-09 Wim Taymans <wim@fluendo.com>
2267 * docs/plugins/gstreamer-plugins-sections.txt:
2268 Fix GstTee docs.
2270 2007-03-09 Wim Taymans <wim@fluendo.com>
2272 * docs/gst/gstreamer-sections.txt:
2273 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2274 * gst/gstbuffer.h:
2275 Add metadata copy functions. Fixes #393099.
2276 API: gst_buffer_copy_metadata()
2278 * gst/gstutils.c: (gst_buffer_stamp):
2279 * libs/gst/base/gstbasetransform.c:
2280 (gst_base_transform_prepare_output_buffer):
2281 Use new metadata copy functions.
2283 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2285 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2286 (gst_identity_init), (gst_identity_check_perfect),
2287 (gst_identity_check_imperfect_timestamp),
2288 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2289 (gst_identity_set_property), (gst_identity_get_property):
2290 * plugins/elements/gstidentity.h:
2291 Separate out check-imperfect-timestamp and check-imperfect-offset.
2292 Put back check-perfect as it was to keep compatibility.
2294 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2296 * gst/gstelement.c: (gst_element_dispose):
2297 There's no need to warn if VOID_PENDING is not NONE here, as
2298 long as the state is NULL it's ok, and that's checked immediately
2299 above.
2301 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2303 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2304 Fix check for perfect stream to ignore buffers with -1
2305 offsets/offset ends when checking data contiguity.
2307 2007-03-08 Wim Taymans <wim@fluendo.com>
2309 * tools/gst-launch.c: (event_loop):
2310 Print INFO messages.
2312 2007-03-08 Wim Taymans <wim@fluendo.com>
2314 * libs/gst/base/gstbasetransform.c:
2315 (gst_base_transform_sink_eventfunc),
2316 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2317 (gst_base_transform_activate):
2318 * libs/gst/base/gstbasetransform.h:
2319 Add support for dropping buffers with custom GstFlowReturn.
2320 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2321 buffers or dropped buffers.
2323 * docs/libs/gstreamer-libs-sections.txt:
2324 docs for new custom return code.
2326 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2327 Use drop support in base class to implement drop-probability.
2329 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2331 * gst/gst.c: (load_plugin_func):
2332 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2333 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2334 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2335 Remove newlines at end of debug log strings.
2337 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2339 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2340 Only post bus message at max, once per buffer received.
2342 2007-03-07 Wim Taymans <wim@fluendo.com>
2344 * docs/design/Makefile.am:
2345 * docs/design/part-synchronisation.txt:
2346 Add doc about synchronisation
2348 * docs/design/draft-latency.txt:
2349 * docs/design/part-TODO.txt:
2350 * docs/design/part-clocks.txt:
2351 * docs/design/part-events.txt:
2352 * docs/design/part-gstbus.txt:
2353 * docs/design/part-gstpipeline.txt:
2354 * docs/design/part-live-source.txt:
2355 * docs/design/part-messages.txt:
2356 * docs/design/part-overview.txt:
2357 * docs/design/part-streams.txt:
2358 * docs/design/part-trickmodes.txt:
2359 Documentation updates.
2361 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2363 * gstreamer.doap:
2364 Update the doap file.
2366 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2368 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2369 Rename non-perfect to imperfect for Mike and for the sanctity of the
2370 language.
2371 Also make sure bus message gets emitted for data-incontiguities.
2373 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2375 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2376 (gst_identity_start):
2377 * plugins/elements/gstidentity.h:
2378 Emit bus message if check-perfect is true and we encounter a
2379 non-perfect stream between 2 consecutive buffers.
2380 Fixes #415394.
2382 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2384 * configure.ac:
2385 Back to CVS
2387 === release 0.10.12 ===
2389 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2391 * configure.ac:
2392 releasing 0.10.12, "Inevitable Demise"
2394 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
2396 * configure.ac:
2397 Version 0.10.11.2 (0.10.12 pre-release)
2398 Bump libtool versioning.
2400 2007-03-01 Stefan Kost <ensonic@users.sf.net>
2402 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2403 Log flow-names and not numbers.
2405 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2407 * configure.ac:
2408 Convert to new AG_GST style.
2410 2007-02-28 Wim Taymans <wim@fluendo.com>
2412 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2413 Don't unref query twice.
2415 2007-02-28 Wim Taymans <wim@fluendo.com>
2417 * gst/gstvalue.c: (gst_value_transform_object_string),
2418 (_gst_value_initialize):
2419 Implement GstObject -> string transform so we print object names
2420 when serializing GValues containing GstObjects.
2422 2007-02-28 Wim Taymans <wim@fluendo.com>
2424 * docs/gst/gstreamer-sections.txt:
2425 Add new stuff to docs.
2427 2007-02-28 Wim Taymans <wim@fluendo.com>
2429 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2430 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2431 (gst_base_sink_change_state):
2432 Improve latency query code.
2433 Don't leak latency events.
2435 * tests/check/gst/gstbin.c: (GST_START_TEST):
2436 Improve debugging.
2438 2007-02-28 Wim Taymans <wim@fluendo.com>
2440 * gst/gstelement.c: (gst_element_message_full),
2441 (gst_element_get_state_func):
2442 * gst/gstelement.h:
2443 Improve docs a little. Added Since: for new macro.
2445 * gst/gstobject.c: (gst_object_sink):
2446 * gst/gstpipeline.c: (gst_pipeline_change_state),
2447 (gst_pipeline_set_new_stream_time):
2448 * gst/gstpipeline.h:
2449 Improve debugging and docs.
2451 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2452 Improve debugging.
2454 2007-02-28 Wim Taymans <wim@fluendo.com>
2456 * gst/gstelement.c: (gst_element_message_full),
2457 (gst_element_set_locked_state), (gst_element_get_state_func),
2458 (gst_element_change_state):
2459 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2460 Documentation updates.
2461 Small code cleanups.
2463 * gst/gstmessage.c: (gst_message_new_info),
2464 (gst_message_parse_info):
2465 * gst/gstmessage.h:
2466 API: gst_message_new_info()
2467 API: gst_message_parse_info()
2468 Add INFO message create and parse code.
2470 2007-02-28 Wim Taymans <wim@fluendo.com>
2472 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2473 (bin_query_latency_done):
2474 Also report the live parameter of a latency query.
2476 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2478 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2479 Copy the current generic/states example from -base and adapt so
2480 we can use the exact same code everywhere.
2481 Check a STATES_IGNORE_ELEMENTS env var which can be used
2482 to ignore certain element factories for this test, which is
2483 what is being done in -base
2484 * tests/check/Makefile.am:
2485 Mention this environment variable.
2487 2007-02-27 Wim Taymans <wim@fluendo.com>
2489 * docs/gst/gstreamer-sections.txt:
2490 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2491 (gst_bus_timed_pop), (gst_bus_pop):
2492 * gst/gstbus.h:
2493 API: gst_bus_timed_pop()
2494 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2495 message to arrive on the bus.
2497 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2498 (gst_bus_suite):
2499 Two unit tests for new _timed_pop() function.
2501 2007-02-23 Wim Taymans <wim@fluendo.com>
2503 * gst/gstpipeline.c: (gst_pipeline_change_state),
2504 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2505 Don't ref a NULL clock in _provide_clock_func().
2506 Don't allow an INVALID delay.
2507 Don't try to calculate base_time with an invalid start_time.
2508 Also distribute and notify a NULL clock when it was selected.
2510 * tools/gst-launch.c: (event_loop):
2511 Don't crash when a NULL clock was selected in the pipeline.
2513 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2515 * docs/design/Makefile.am:
2516 * docs/design/draft-missing-plugins.txt:
2517 * docs/random/draft-missing-plugins.txt:
2518 Some small updates: update plugin system identifier prefix
2519 ('gstreamer.net' to 'gstreamer'), mention our new install
2520 API in libgstbaseutils rather than libgimme-codec, add
2521 reference to the online docs.
2523 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2525 * win32/common/config.h:
2526 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2527 use moap cl ci to only check in what is mentioned in the ChangeLog.
2529 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2531 * docs/gst/gstreamer-sections.txt:
2532 * gst/gstelement.h:
2533 Fix up documentation to link to the correct GstGError section.
2534 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2536 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2538 * tools/gst-launch.c: (event_loop):
2539 Make sure that we actually show the important message part of a
2540 warning message.
2541 No need to check if the gerror is not NULL to free; first of all
2542 g_free accepts NULL; and second the default error handler would
2543 segfault if gerror was NULL.
2545 2007-02-21 Wim Taymans <wim@fluendo.com>
2547 * docs/gst/gstreamer-sections.txt:
2548 Removed docs as well.
2550 2007-02-21 Wim Taymans <wim@fluendo.com>
2552 * gst/gstmessage.c: (gst_message_parse_duration):
2553 * gst/gstmessage.h:
2554 Remove new messages for release.
2556 2007-02-20 Wim Taymans <wim@fluendo.com>
2558 * docs/design/part-gstghostpad.txt:
2559 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2560 (gst_ghost_pad_new_full):
2561 Make the ghostpad a parent of the internal pad again for better backward
2562 compatibility. Don't write code that relies on this however.
2564 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2565 (gst_pad_link_check_hierarchy):
2566 Require that parents should be GstElements in the hierarchy check.
2568 2007-02-20 Wim Taymans <wim@fluendo.com>
2570 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2571 (gst_bin_change_state_func), (bin_query_min_max_init),
2572 (bin_query_latency_fold), (bin_query_latency_done),
2573 (gst_bin_query):
2574 Improve debug info.
2575 Implement latency query.
2577 2007-02-20 Wim Taymans <wim@fluendo.com>
2579 * docs/design/part-gstghostpad.txt:
2580 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2581 (gst_ghost_pad_internal_do_activate_push),
2582 (gst_ghost_pad_internal_do_activate_pull),
2583 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2584 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2585 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2586 Do not set the internal pad as a parent anymore so we can avoid
2587 hierarchy linking errors when the ghostpad has no parent yet. This also
2588 fixes failed activation because of unlinked internal pads, which in
2589 turn fixes the impossible case where you have to activate a pad before
2590 you can add it to a running element.
2591 Also fix the docs.
2593 * gst/gstpad.c: (pre_activate), (post_activate),
2594 (gst_pad_set_active), (gst_pad_activate_pull),
2595 (gst_pad_activate_push), (gst_pad_check_pull_range):
2596 Add some more debug info.
2597 Mark activation mode in pre_activate so that we don't try to activate in
2598 endless loops. Fixes #385084.
2600 2007-02-19 Wim Taymans <wim@fluendo.com>
2602 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2603 (gst_base_transform_check_get_range):
2604 Implement a checkgetrange function instead of relying on the default
2605 core behaviour that assumes we can operate in pull mode if we have a
2606 getrange function. First step at fixing #385084.
2608 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2610 * gst/gstchildproxy.h:
2611 * libs/gst/base/gstbasesink.h:
2612 * libs/gst/base/gstbasesrc.h:
2613 * libs/gst/base/gstbasetransform.h:
2614 More docs coverage and some ChangeLog surgery (add missing names)
2616 2007-02-15 Wim Taymans <wim@fluendo.com>
2618 * docs/design/part-TODO.txt:
2619 * docs/design/part-activation.txt:
2620 * docs/design/part-block.txt:
2621 * docs/design/part-buffering.txt:
2622 * docs/design/part-clocks.txt:
2623 * docs/design/part-element-source.txt:
2624 * docs/design/part-events.txt:
2625 * docs/design/part-gstbin.txt:
2626 * docs/design/part-gstbus.txt:
2627 * docs/design/part-gstpipeline.txt:
2628 * docs/design/part-live-source.txt:
2629 * docs/design/part-messages.txt:
2630 * docs/design/part-overview.txt:
2631 * docs/design/part-qos.txt:
2632 * docs/design/part-query.txt:
2633 * docs/design/part-states.txt:
2634 * docs/design/part-trickmodes.txt:
2635 Some doc updates. Start renaming from stream_time to running_time where
2636 it was used wrongly.
2638 2007-02-15 Wim Taymans <wim@fluendo.com>
2640 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2641 Answer LATENCY query.
2643 2007-02-15 Wim Taymans <wim@fluendo.com>
2645 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2646 (GST_START_TEST):
2647 Improve debugging.
2649 2007-02-15 Wim Taymans <wim@fluendo.com>
2651 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2652 (gst_pad_dispatcher):
2653 Improve debugging of default pad dispatcher and query functions.
2655 2007-02-15 Wim Taymans <wim@fluendo.com>
2657 * docs/gst/gstreamer-sections.txt:
2658 Remove old unused method.
2660 2007-02-13 Wim Taymans <wim@fluendo.com>
2662 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2663 Fix check
2665 2007-02-13 Wim Taymans <wim@fluendo.com>
2667 * docs/design/part-seeking.txt:
2668 Some small update.
2670 * gst/gstsegment.c: (gst_segment_set_seek):
2671 Revert old bogus change that should make seeking work again.
2673 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2675 * docs/random/ensonic/dynlink.txt:
2676 * docs/random/ensonic/interfaces.txt:
2677 * docs/random/ensonic/receipies.txt:
2678 Possible dynamic reconnection api, plus some type fixes the other two
2679 docs.
2681 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2683 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2684 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2685 Also check for an absolute path following file:// in the filesrc
2686 element. Remove redundant check and call g_path_is_absolute() on the
2687 unescaped location.
2689 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2691 * docs/design/draft-klass.txt:
2692 Add existing category analysis.
2694 * gst/gstcaps.c:
2695 Fix doc example, framerate is a fraction.
2697 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2699 * configure.ac:
2700 * docs/gst/Makefile.am:
2701 * docs/gst/gstreamer-sections.txt:
2702 * docs/libs/Makefile.am:
2703 Erm, forgot a bunch of --extra-dir.
2705 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2707 * configure.ac:
2708 * docs/gst/Makefile.am:
2709 * docs/libs/Makefile.am:
2710 * docs/plugins/Makefile.am:
2711 Add crossreferences to glib/gobject docs.
2713 2007-02-12 Wim Taymans <wim@fluendo.com>
2715 * docs/design/draft-latency.txt:
2716 Small update.
2718 * docs/libs/gstreamer-libs-sections.txt:
2719 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2720 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2721 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2722 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2723 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2724 (gst_base_sink_get_position), (gst_base_sink_query),
2725 (gst_base_sink_change_state):
2726 * libs/gst/base/gstbasesink.h:
2727 API: gst_base_sink_query_latency() to let subclasses query the upstream
2728 latency.
2729 API: gst_base_sink_get_latency() to let subclasses query the configured
2730 latency in the sink.
2731 Implement query and set latency.
2732 Update some docs.
2733 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2734 don't continue preroll when we are flushing. Fixes #405284.
2736 * tests/check/pipelines/stress.c: (change_state_timeout),
2737 (quit_timeout), (GST_START_TEST), (stress_suite):
2738 Test for #405284.
2740 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2742 Patch by: René Stadler <mail at renestadler de>
2744 * docs/gst/gstreamer-sections.txt:
2745 * gst/gsttaglist.c: (_gst_tag_initialize):
2746 * gst/gsttaglist.h:
2747 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2749 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2751 * docs/libs/Makefile.am:
2752 Fix path to core docs.
2754 * gst/gstbin.c: (gst_bin_get_by_interface),
2755 (gst_bin_iterate_all_by_interface):
2756 Refix docs by also renaming 'interface' to 'iface' in implementation.
2758 * docs/gst/gstreamer-sections.txt:
2759 * gst/gstcaps.c:
2760 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2761 * gst/gstchildproxy.h:
2762 * gst/gstelementfactory.c:
2763 * gst/gstpadtemplate.h:
2764 * libs/gst/controller/gstcontroller.c:
2765 (gst_controlled_property_new):
2766 Document more.
2768 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2770 * gst/gstbin.h:(gst_bin_get_by_interface),
2771 (gst_bin_iterate_all_by_interface):
2772 Replace interface parameter name by iface as interface is
2773 a reserved keyword in Visual Studio for C++ projects so it removes
2774 a build error for application developpers using VS.
2775 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2776 Fix a bug on Windows in uri format check. Now the prefix checked
2777 is file:// and next we check if the path after file:// is absolute.
2778 * win32/common/libgstbase.def:
2779 * win32/common/libgstdataprotocol.def:
2780 * win32/common/libgstgstreamer.def:
2781 Add new exported functions.
2783 2007-02-09 Andy Wingo <wingo@pobox.com>
2785 * tests/check/pipelines/simple-launch-lines.c
2786 (simple_launch_lines_suite, test_tee): Disable tee test until I
2787 have time to fix it :-(
2789 * tests/check/Makefile.am (noinst_HEADERS):
2790 * tests/check/libs/libsabi.c:
2791 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2792 * tests/check/gst/gstabi.c:
2793 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2795 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2796 tests for push and pull tee behavior.
2798 * plugins/elements/gsttee.h:
2799 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2800 mark as deprecated as well as unimplemented. It was a crack idea.
2801 Add support for tee operating in pull mode, off by default.
2803 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2804 normal-case logs down to LOG, raise errors to WARNING.
2805 (gst_registry_xml_read_cache): Don't log before calling a function
2806 that logs.
2808 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2809 exit (registry finalize).
2810 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2811 DEBUG log when we emit signals that people don't even have the
2812 chance to connect to.
2813 (gst_registry_scan_path_level): Less logging in the normal case.
2815 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2817 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2819 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2820 Correctly generate EOS for non-seekable files. We don't have a total
2821 length for them and would get an unexpected end of file if we only
2822 special-cased for regular files. (Fixes: #404569)
2824 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2826 * tests/check/elements/filesrc.c: (GST_START_TEST),
2827 (filesrc_suite):
2828 Add unit test for the GstURIHandler interface in filesrc. This also
2829 tests the newly added file://localhost/foo/bar support.
2831 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2833 * gst/gstelementfactory.h:
2834 The klass string is not a hierarchy. Add reference to the design doc
2835 for more information and common types.
2837 2007-02-02 Wim Taymans <wim@fluendo.com>
2839 * gst/gstquery.c: (gst_query_new_latency):
2840 Remove old structure field.
2842 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2844 * tools/gst-launch.1.in:
2845 Give example for network streaming (#351998)
2847 2007-02-02 Wim Taymans <wim@fluendo.com>
2849 * docs/gst/gstreamer-sections.txt:
2850 Add docs for new methods.
2852 * gst/gstevent.c: (gst_event_new_latency),
2853 (gst_event_parse_latency):
2854 * gst/gstevent.h:
2855 Add new LATENCY event to configure latency in a pipeline.
2856 API: gst_event_new_latency
2857 API: gst_event_parse_latency
2859 * gst/gstmessage.c: (gst_message_new_buffering),
2860 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2861 (gst_message_new_latency), (gst_message_parse_buffering),
2862 (gst_message_parse_lost_preroll):
2863 * gst/gstmessage.h:
2864 Added messages used in draft-latency.
2865 API: gst_message_new_lost_preroll
2866 API: gst_message_parse_lost_preroll
2867 API: gst_message_new_prerolled
2868 API: gst_message_new_latency
2870 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2871 (gst_query_parse_latency):
2872 * gst/gstquery.h:
2873 Implemented new latency query as in design doc.
2874 API: gst_query_new_latency
2875 API: gst_query_set_latency
2876 API: gst_query_parse_latency
2878 2007-02-02 Wim Taymans <wim@fluendo.com>
2880 * docs/design/draft-latency.txt:
2881 Slight redesign to allow for dynamic latency adjustments.
2883 * docs/design/part-negotiation.txt:
2884 Fix some typos.
2886 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2888 reviewed by: Wim Taymans <wim@fluendo.com>
2890 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2891 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2892 Allow file://localhost/foo/bar URLs and correctly fail for every other
2893 hostname that one sets. This was gnomevfssrc is linked for those if
2894 installed as it can handle it (#403172)
2896 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2898 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2900 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2901 (unref_data), (gst_collect_pads_add_pad_full):
2902 * libs/gst/base/gstcollectpads.h:
2903 Don't put the previously added destroy notify in the GstCollectData
2904 struct as all it's padding is already used and we don't want to break
2905 ABI. Instead put in the pad's GObject data for now. This should be
2906 cleaned up for 0.11 (#402393).
2908 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2910 reviewed by: Wim Taymans <wim@fluendo.com>
2912 * docs/libs/gstreamer-libs-sections.txt:
2913 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2914 (unref_data), (gst_collect_pads_add_pad),
2915 (gst_collect_pads_add_pad_full):
2916 * libs/gst/base/gstcollectpads.h:
2917 API: Add function to specify a destroy notification for custom
2918 GstCollectData when adding new pads in GstCollectPads (#402393).
2920 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
2922 * po/sv.po:
2923 Update Swedish translation (#378255).
2925 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2927 * docs/design/draft-klass.txt:
2928 Fix the previous change, this is a list of categories and not a hierarchy.
2930 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2932 * docs/design/draft-klass.txt:
2933 Add info about how to get a list of used classes.
2935 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
2937 * plugins/elements/gsttypefindelement.c:
2938 (gst_type_find_element_chain_do_typefinding),
2939 (gst_type_find_element_change_state):
2940 Don't leak found caps in chain function (no idea why that never
2941 showed up as a leak anywhere).
2943 2007-01-30 Stefan Kost <ensonic@users.sf.net>
2945 * gst/gstplugin.h:
2946 Fix and expand GstPluginDesc API docs.
2948 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2950 * gst/gstcaps.c:
2951 * gst/gstelementfactory.c:
2952 * gst/gstpadtemplate.h:
2953 api doc fixes
2955 * libs/gst/controller/gstcontroller.c:
2956 (gst_controlled_property_new):
2957 * tests/examples/controller/audio-example.c:
2958 comment fixes
2960 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2962 * configure.ac:
2963 comment about refining the xml deps
2965 * docs/manuals.mak:
2966 comments about moving away from jade for docs
2968 * gst/gst.c:
2969 recommit the ifdefs to use the binary registry
2971 * gst/gstbin.c: (gst_bin_change_state_func):
2972 this break is obsolete
2974 * gst/gstelementfactory.h:
2975 better GST_ELEMENT_DETAILS docs, add comment about translation
2977 * gst/gstinfo.h:
2978 remove eol slash
2980 * gst/gstobject.c: (gst_signal_object_get_type):
2981 add G_UNLIKELY as usual
2983 * gst/gstpad.c: (gst_pad_event_default):
2984 add fall trhu comment
2986 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2987 (gst_registry_binary_initialize_magic),
2988 (gst_registry_binary_save_string),
2989 (gst_registry_binary_save_pad_template),
2990 (gst_registry_binary_save_feature),
2991 (gst_registry_binary_save_plugin),
2992 (gst_registry_binary_write_cache),
2993 (gst_registry_binary_check_magic),
2994 (gst_registry_binary_load_pad_template),
2995 (gst_registry_binary_load_feature),
2996 (gst_registry_binary_load_plugin),
2997 (gst_registry_binary_read_cache):
2998 comment typo and formatting
3000 * gst/gstutils.c: (gst_element_state_get_name),
3001 (gst_element_state_change_return_get_name):
3002 remove obsolete breaks
3004 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3005 add FIXME 0.11 and remove cpp comment
3007 2007-01-29 Edward Hervey <edward@fluendo.com>
3009 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3010 Fix print statement in an even more portable way.
3012 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3014 * docs/gst/gstreamer-sections.txt:
3015 * gst/gstutils.h:
3016 API: add GST_ROUND_DOWN_* macros (#401781).
3018 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3020 * docs/gst/gstreamer.types.in:
3021 * gst/gstregistry.c: (gst_registry_class_init):
3022 Document registry signals and make gtk-doc pick them up (#401381).
3024 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3026 * docs/pwg/building-testapp.xml:
3027 Add some audioconverts and audioresample to the pipeline, and some
3028 more comments and error handling.
3030 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3032 * docs/manual/manual.xml:
3033 * docs/pwg/pwg.xml:
3034 Fix typo (#400987).
3036 2007-01-26 Wim Taymans <wim@fluendo.com>
3038 * gst/gstcaps.c: (gst_static_caps_get):
3039 Init caps flags too.
3041 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3043 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3045 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3046 If not using mmap'ed files try to seek to the end instead of the
3047 start to determine whether we can seek at all. This fixes the case
3048 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3049 seeks for everything afterwards fail. Fixes #400656
3051 2007-01-25 Wim Taymans <wim@fluendo.com>
3053 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3054 Add some refcount debugging.
3055 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3056 in multiple streaming threads.
3058 2007-01-25 Wim Taymans <wim@fluendo.com>
3060 Patch by: David Schleef <ds at schleef dot org>
3062 * docs/libs/gstreamer-libs-sections.txt:
3063 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3064 * libs/gst/base/gstadapter.h:
3065 API: gst_adapter_copy() that can reduce the amount of memcpy when
3066 getting data from the adapter. Fixes #388201.
3068 2007-01-25 Edward Hervey <edward@fluendo.com>
3070 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3071 In print statements, "%x" is for guint. Fixes build on macosx.
3073 2007-01-24 Edward Hervey <edward@fluendo.com>
3075 * plugins/elements/gstmultiqueue.c:
3076 (gst_multi_queue_loop):
3077 Small fix.
3078 (single_queue_overrun_cb), (single_queue_underrun_cb),
3079 (single_queue_check_full), (gst_single_queue_new):
3080 Implement single queue growth system.
3081 This uses the extra-size properties, and will grow single queues by
3082 that much if one goes full whereas there are others empty. This is
3083 called extra-mode in the code.
3084 When a single queue's levels go back below the initial max-size
3085 limits, it is no longer in extra-mode. This is to ensure we don't
3086 consume too much memory.
3087 Fixes #399875
3089 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3091 * gst/gst.c: (gst_init_get_option_group):
3092 Make warning about late g_thread_init() calls a bit more explicit,
3093 so that it's more obvious to application developers what they need
3094 to do if a user files a bug against their application.
3096 2007-01-22 Edward Hervey <edward@fluendo.com>
3098 * plugins/elements/gstmultiqueue.c:
3099 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3100 Remove previous hack of unsetting the flushing flag for the source pad
3101 instead of activating it. Instead, fix the source pad activate function
3102 so that it no longer depends on having a parent set or not.
3104 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3106 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3108 * docs/manual/basics-bus.xml:
3109 Fix example code, gst_element_unref() doesn't exist any longer.
3111 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3113 Patch by: Mark Nauwelaerts <manauw at skynet be>
3115 * gst/gstpad.c:
3116 Fix two docs typoes (#399094).
3118 2007-01-19 Edward Hervey <edward@fluendo.com>
3120 * docs/faq/gst-uninstalled:
3121 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3122 depending on libgstbaseutils can work in uninstalled environment.
3124 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3126 * gst/gsttaglist.h:
3127 * gst/gsttagsetter.c:
3128 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3129 statement for new tag.
3131 2007-01-17 Edward Hervey <edward@fluendo.com>
3133 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3134 When dynamically creating single queues, activate sinkpad before adding
3135 it.
3136 We should be doing the same thing for the source pad, but we can't
3137 since it would call a method which needs the parent to be set in order
3138 to work propertly. Instead of activating the source pad, we just unset
3139 the flushing flag, which is the minimal requirement for adding a pad
3140 to an element in a state greater than READY.
3142 2007-01-17 Edward Hervey <edward@fluendo.com>
3144 * docs/faq/gst-uninstalled:
3145 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3146 Mac OS X.
3148 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3150 * tests/check/gst/gstabi.c:
3151 * tests/check/gst/struct_hppa.h:
3152 * tests/check/libs/libsabi.c:
3153 * tests/check/libs/struct_hppa.h:
3154 Add ABI structs for HPPA (see #393796).
3156 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3158 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3159 Actually write ABI structs to the file specified in the GST_ABI
3160 environment variable, as the message we print claims we would.
3162 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3164 * tests/check/gst/gsttask.c:
3165 Fix header comment.
3167 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3169 * gst/gsttaglist.c: (_gst_tag_initialize):
3170 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3171 previous two entries.
3173 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3175 * docs/gst/gstreamer-sections.txt:
3176 * gst/gsttaglist.c: (_gst_tag_initialize):
3177 * gst/gsttaglist.h:
3178 Add tag support for beat-per-minute.
3180 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3182 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3183 (gst_registry_binary_initialize_magic),
3184 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3185 (gst_registry_binary_save_pad_template),
3186 (gst_registry_binary_save_feature),
3187 (gst_registry_binary_save_plugin),
3188 (gst_registry_binary_write_cache),
3189 (gst_registry_binary_check_magic),
3190 (gst_registry_binary_load_pad_template),
3191 (gst_registry_binary_load_feature),
3192 (gst_registry_binary_load_plugin),
3193 (gst_registry_binary_read_cache):
3194 * gst/gstregistrybinary.h:
3195 Use glib types, cleanup comments, impement interfaces and uri-types.
3197 2007-01-13 Andy Wingo <wingo@pobox.com>
3199 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3200 getrange() to return buffers with other caps, while we fix
3201 demuxers and typefind, or otherwise change part-negotiation.txt.
3203 2007-01-12 Andy Wingo <wingo@pobox.com>
3205 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3206 Factor start/stop into this private function instead of partially
3207 in activate functions and partially in the change_state function.
3208 Fixes setup before the element has changed from READY->PAUSED, as
3209 is the case in pull-mode pipelines.
3210 (gst_base_transform_sink_activate_push)
3211 (gst_base_transform_src_activate_pull): Refactor to use
3212 gst_base_transform_activate().
3213 (gst_base_transform_change_state): Removed, not needed any more.
3215 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3216 Truncate before fixating.
3218 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3219 Don't set_caps() if the result of fixating is ANY, as it's not
3220 supported, and not necessary in the case of a link with no
3221 template caps on either side. Fixes tests/check/libs/basesrc in
3222 some pull-mode tests.
3224 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3225 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3226 (gst_base_transform_src_activate_pull):
3227 Track the activation mode.
3228 (gst_base_transform_setcaps): In pull mode, when activating the
3229 src pad, after activating the sink pad, activate the sink pad's
3230 peer, as discussed in part-negotiation.txt.
3232 * libs/gst/base/gstbasesrc.h:
3233 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3234 vmethod, as in basesink.
3236 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3238 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3239 mode, first proxy the setcaps to the peer pad.
3240 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3241 new fixate vmethod.
3242 (gst_base_sink_default_activate_pull): Rename from
3243 gst_base_sink_activate_pull.
3244 (gst_base_sink_negotiate_pull): New function, performs negotiation
3245 in pull mode before calling ::activate_pull().
3246 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3247 vmethod instead of the default implementation. I have no idea how
3248 this worked before. Negotiate before calling activate_pull.
3250 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3251 sink pads in pull mode. In addition to being correct, fixes
3252 filesrc ! decodebin ! identity ! fakesink.
3253 (gst_pad_get_range, gst_pad_pull_range): Don't call
3254 gst_pad_set_caps() if the caps changes; instead error out with
3255 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3257 2007-01-12 Andy Wingo <wingo@pobox.com>
3259 * docs/design/part-negotiation.txt: Update with more policy.
3261 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3263 * libs/gst/check/gstbufferstraw.h:
3264 * libs/gst/check/gstcheck.h:
3265 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3266 belongs.
3268 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3270 * tests/check/Makefile.am:
3271 * tests/check/gst/.cvsignore:
3272 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3273 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3274 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3275 (GST_START_TEST), (gst_tag_setter_suite):
3276 Add minimal unit test for beforementioned GstTagSetter bug.
3278 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3280 Patch by: René Stadler <mail at renestadler dot de>
3282 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3283 gst_tag_list_merge() returns a new list, so it's not the best idea
3284 to ingore its return value. Effectively meant that tags could only
3285 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3286 Also add function guard to require a non-NULL taglist as input (has
3287 always been so due to gst_tag_list_copy(), just making it explicit).
3289 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3291 * docs/random/draft-missing-plugins.txt:
3292 Some additions: mention new API that is supposed to be used at the
3293 various stages; short blob about new gst-inspect introspection
3294 option; mention potential future problem with plugins that have
3295 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3297 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3299 * tools/gst-inspect.c:
3300 (print_plugin_automatic_install_info_codecs),
3301 (print_plugin_automatic_install_info_protocols),
3302 (print_plugin_automatic_install_info), (main):
3303 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3304 introspect plugin files and get machine-parsable output that corresponds
3305 to the last bit of the missing-plugin installer string (small gotcha:
3306 doesn't take into account ranks).
3308 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3310 * configure.ac:
3311 * docs/gst/gstreamer-sections.txt:
3312 * gst/Makefile.am:
3313 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3314 (gst_registry_lookup_locked):
3315 * gst/gstregistry.h:
3316 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3317 (gst_registry_binary_initialize_magic),
3318 (gst_registry_binary_save_string),
3319 (gst_registry_binary_save_pad_template),
3320 (gst_registry_binary_save_feature),
3321 (gst_registry_binary_save_plugin),
3322 (gst_registry_binary_write_cache),
3323 (gst_registry_binary_check_magic),
3324 (gst_registry_binary_load_pad_template),
3325 (gst_registry_binary_load_feature),
3326 (gst_registry_binary_load_plugin),
3327 (gst_registry_binary_read_cache):
3328 * gst/gstregistrybinary.h:
3329 * gst/gstregistryxml.c: (load_feature),
3330 (gst_registry_xml_read_cache):
3331 commit binary registry (disabled by default, see #359653)
3333 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3335 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3336 Fix 'make check' too.
3338 2007-01-10 Andy Wingo <wingo@pobox.com>
3340 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3341 notes.
3343 * docs/design/part-negotiation.txt: Update with, um, one way that
3344 pull-mode negotiation might work?
3346 * gst/gstpad.h:
3347 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3348 that the pad must be a src pad; makes sense to call it the other
3349 way in pull mode, and the logic is symmetric anyway.
3351 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3353 * plugins/elements/gstfilesink.c:
3354 Include <stdio.h> for fseeko().
3356 2007-01-10 Wim Taymans <wim@fluendo.com>
3358 * gst/gstevent.c:
3359 * gst/gstevent.h:
3360 Reserve LATENCY event.
3362 2007-01-09 Wim Taymans <wim@fluendo.com>
3364 * docs/design/draft-latency.txt:
3365 Updates.
3367 2007-01-09 Wim Taymans <wim@fluendo.com>
3369 * docs/design/draft-latency.txt:
3370 Updates.
3372 * gst/gstelement.h:
3373 * gst/gststructure.c:
3374 * gst/gsttrace.c:
3375 Small typo fixes.
3377 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
3379 * tests/check/.cvsignore:
3380 Ignore test-registry.xml as well.
3382 2007-01-09 Wim Taymans <wim@fluendo.com>
3384 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3385 unref data at the end when we are done with the pad.
3387 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3389 * docs/gst/gstreamer-sections.txt:
3390 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3391 (init_post), (gst_deinit), (gst_update_registry):
3392 * gst/gst.h:
3393 API: add gst_update_registry() (#391296).
3395 * tests/check/Makefile.am:
3396 * tests/check/gst/gstregistry.c:
3397 * tests/check/gst/.cvsignore:
3398 Simple unit test for the above.
3400 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3402 * gst/gstregistry.c: (gst_registry_scan_path_level):
3403 Plugin extension on HP-UX is .sl, add that to the list of approved
3404 plugin extensions (see #393796).
3406 * tests/check/gst/gstpad.c: (GST_START_TEST):
3407 ulong => gulong. Fixes compilation with HP-UX compiler.
3409 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3410 Fix compilation if valgrind headers are not available.
3412 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
3414 * win32/common/libgstreamer.def:
3415 Add new exported function.
3416 * win32/vs6/libgstbase.dsp:
3417 Add gstdataqueue.c to the build.
3418 * win32/vs6/libgstcoreelements.dsp:
3419 Add gstmultiqueue.c to the build.
3421 2007-01-06 Andy Wingo <wingo@pobox.com>
3423 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3424 activate_pull(), providing for a way to specialize the process of
3425 spawning a thread to pull on the sink pad. There is a default
3426 implementation.
3428 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3429 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3430 (gst_base_sink_init): Renamed pad activation functions (inserting
3431 "_pad" in their names). Refactor to use the new activate_pull
3432 vmethod, as appropriate.
3433 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3434 default activate_pull function to start a task pulling from the
3435 sink pad, as before.
3437 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3438 on the pads if necessary, as in push()/chain(). Update docs.
3439 Shouldn't affect existing pull() usage as it is currently only
3440 being used on buffers without caps.
3442 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3444 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3445 (init_pre):
3446 Call g_thread_init() first thing in gst_init() / gst_check_init().
3447 When initialisation is done via gst_init_get_option_group() and
3448 GOption parsing, issue a warning if the GLib thread system has not
3449 been initialised yet by the time gst_init_get_option_group() is
3450 called, as it's quite likely other GLib functions such as
3451 g_option_context_new() have been called already then, and
3452 g_thread_init() must be called before any other GLib function. The
3453 application in question must be fixed in that case, since memory
3454 corruption might happen otherwise.
3455 We issue the warning because even if the GLib folks decide to work
3456 around the problem on their end in future, this is still an issue
3457 with all GLib versions >= 2.10.0, so we should warn until we depend
3458 on a GLib version we know to be safe.
3459 Update documentation as well.
3460 Closes bug #391278.
3462 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3464 * tools/gst-inspect.c: (main):
3465 * tools/gst-launch.c: (main):
3466 * tools/gst-typefind.c: (main):
3467 * tools/gst-xmlinspect.c: (main):
3468 Call g_thread_init() really really early, before any other GLib
3469 function (see #342564 and recent discussion on gtk-devel-list).
3471 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3473 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
3475 * gst/gst_private.h:
3476 * gst/gstconfig.h.in:
3477 * gst/gstinfo.h:
3478 On win32, all the __declspec stuff for symbol exporting is
3479 apparently only needed with MSVC, but doesn't work with MingW.
3480 Fixes compilation with MingW and #391909.
3482 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3484 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3485 Change some GST_ERROR_OBJECT that aren't really errors to
3486 GST_WARNING_OBJECT in order to reduce terminal spam.
3488 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3490 * tests/check/Makefile.am:
3491 disable test again, as there seem to be still race problems
3493 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3495 * tests/check/Makefile.am:
3496 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3497 (GST_START_TEST), (queue_suite):
3498 enable queue test again, add tests for the leaky behaviour
3500 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3502 * configure.ac:
3503 * tests/examples/Makefile.am:
3504 Compile adapter test/example only if the required headers are
3505 available (fixes #391915).
3507 2007-01-01 David Schleef <ds@schleef.org>
3509 * gst/gstplugin.c:
3510 Restore the previous signal handler for SIGSEGV instead of
3511 setting to default, since we may have stolen it away from
3512 someone. (i.e., Mono)
3514 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3516 * docs/random/draft-missing-plugins.txt:
3517 Some small additions and clarifications.
3519 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3521 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3522 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3523 since that can lead to random memory corruptions and crashes
3524 (may or may not be related to #383244, #386711, and #386711).
3526 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3528 * tests/check/.cvsignore:
3529 * tests/check/Makefile.am:
3530 sync .cvsignome and CLEANFILES
3532 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3534 * tests/check/Makefile.am:
3535 fix distcheck
3537 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3539 * docs/design/part-states.txt:
3540 two tiny additional comments
3542 * gst/gststructure.c:
3543 doc fixing
3545 * tests/check/Makefile.am:
3546 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3547 (GST_START_TEST):
3548 disable test for now, unless it gets fixed
3550 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3552 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3553 (GST_START_TEST):
3554 fix race in underrun test
3556 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3558 * tests/check/elements/.cvsignore:
3559 ignore more
3561 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3562 (GST_START_TEST):
3563 try to narrow test failure
3565 2006-12-21 David Schleef <ds@schleef.org>
3567 * plugins/elements/gstfakesrc.c:
3568 Use g_random_int_range(), since it produces better random
3569 numbers in a range than almost-correct floating point code.
3571 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3573 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3574 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3575 (gst_check_teardown_sink_pad):
3576 do not automatically (de)activate pads
3578 * tests/check/Makefile.am:
3579 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3580 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3581 add new, yet simple tests for queue
3583 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3584 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3585 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3586 (GST_START_TEST):
3587 * tests/check/elements/identity.c: (cleanup_identity):
3588 consistent pad (de)activation
3590 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3592 Patch by: Sebastian Dröge <slomo ubuntu com>
3594 * libs/gst/base/gstcollectpads.c:
3595 Fix two doc typos (#387866).
3597 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3599 * docs/manual/advanced-dparams.xml:
3600 Fix typo (g_object_control_properties() doesn't exist).
3602 2006-12-19 Edward Hervey <edward@fluendo.com>
3604 * gst/gstsegment.c: (gst_segment_set_seek):
3605 Fine tune the cases where the segment start/stop values are really
3606 updated.
3607 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3608 Add tests for the return values of gst_segment_set_seek().
3610 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3612 * gst/gst.c:
3613 Docs typo fix.
3615 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3616 (gst_queue_init):
3617 Fix incorrect documentation and flesh it out a bit more.
3618 Set default values for the max properties on the GParamSpec as well,
3619 so it shows up correctly in gst-inspect.
3621 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3623 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3624 Correct docs of queue, add more detail and crosslink it more.
3626 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3628 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3629 Print additional debug info when the stream isn't perfectly
3630 timestamped; don't try to use invalid durations.
3632 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3634 * docs/design/Makefile.am:
3635 Dist new design docs.
3637 2006-12-16 Wim Taymans <wim@fluendo.com>
3639 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3641 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3642 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3643 (gst_collect_pads_stop), (gst_collect_pads_event),
3644 (gst_collect_pads_chain):
3645 * libs/gst/base/gstcollectpads.h:
3646 Add refcounting to the collectpads data so we can track when it's safe
3647 to free the data. Fixes #383382.
3649 2006-12-15 Wim Taymans <wim@fluendo.com>
3651 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3652 (gst_collect_pads_remove_pad):
3653 Automatically activate/deactivate pads when they are added to a
3654 started/stoped collectpads.
3656 2006-12-15 Wim Taymans <wim@fluendo.com>
3658 * gst/gstelement.c: (gst_element_add_pad):
3659 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3660 * gst/gstpad.c: (gst_pad_init):
3661 Set pads to FLUSHING when they are created. Check, warn and fix when a
3662 demuxer adds an inactive pad to itself when running. Fixes #339326.
3664 2006-12-15 Wim Taymans <wim@fluendo.com>
3666 * gst/gstelement.c: (gst_element_class_init),
3667 (gst_element_default_send_event), (gst_element_send_event),
3668 (gst_element_default_query), (gst_element_query):
3669 Expose default element send_event and query handling as vmethods that
3670 subclasses can chain up to.
3672 2006-12-15 Wim Taymans <wim@fluendo.com>
3674 * gst/gstelement.c: (gst_element_set_state_func):
3675 Small documentation fixes.
3677 2006-12-15 Wim Taymans <wim@fluendo.com>
3679 * docs/design/draft-latency.txt:
3680 Checked in draft for handling latency in pipelines.
3682 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3684 * Makefile.am:
3685 * gstreamer.doap:
3686 * gstreamer.spec.in:
3687 adding .doap file
3689 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3691 * gst/gst.c: (init_pre), (init_post):
3692 init_pre() and init_post() might be called via our GOptionGroup or
3693 from gst_init(), and we should skip both of them if we've already
3694 been initialised, otherwise we will init some things twice or add
3695 two default log functions.
3697 2006-12-13 Edward Hervey <edward@fluendo.com>
3699 * docs/manual/basics-bus.xml:
3700 No, gst_main_loop does not exist. Its g_main_loop.
3701 Discovered by somebody who abused the copy-paste technique of coding :)
3703 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3705 * gst/gstghostpad.c:
3706 Log ghostpad debug stuff to the GST_PADS category as well rather
3707 than just to the default category.
3709 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3711 * configure.ac:
3712 * gst/gst.c: (init_pre):
3713 Add some basic system details such as OS and architecture
3714 to the debug output if possible, courtesy of uname().
3716 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3718 * docs/gst/running.xml:
3719 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3720 environment variables.
3722 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3724 * tests/check/gst/gstbin.c: (GST_START_TEST):
3725 It is acceptable to have a refcount of 2 or 3 at this point in the
3726 test, because the pipeline might be just posting its state_change
3727 message. The next line then waits for that message to appear using
3728 bus_poll, so that should be fine too.
3730 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3732 * gst/gst.c: (ensure_current_registry_forking):
3733 Ignore EINTR when reading from the child registry pipe.
3734 Explicitly ignore the return value from close, since it makes no
3735 difference.
3737 * gst/gstminiobject.c: (gst_mini_object_ref),
3738 (gst_mini_object_unref):
3739 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3741 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3742 When removing cached plugins, remove their features too, so they're
3743 not visible after they've disappeared.
3745 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3746 In the unlikely case that we are linking pads with no parents, don't
3747 crash trying to get the non-existent parent bin.
3749 * gst/parse/grammar.y:
3750 Output debug in the PIPELINE category
3752 2005-03-08 Wim Taymans <wim@fluendo.com>
3754 Patch by: René Stadler <mail at renestadler dot de>
3756 * gst/gstclock.c: (gst_clock_new_periodic_id):
3757 Reject invalid clock times for interval of periodic ids.
3758 Fixes ##383506.
3760 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3762 * gst/gstelementfactory.c: (gst_element_factory_create):
3763 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3764 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3765 * tools/gst-inspect.c: (print_element_info):
3766 Fix refcounting of gst_plugin_feature_load to match the docs.
3767 Fixes: #380129
3769 2006-12-07 Wim Taymans <wim@fluendo.com>
3771 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3772 (gst_base_sink_get_position):
3773 Improve debugging of events.
3775 2006-12-07 Wim Taymans <wim@fluendo.com>
3777 Patch by: René Stadler <mail at renestadler dot de>
3779 * gst/gstclock.c: (gst_clock_id_wait):
3780 Make period ids add the interval to the origial requested time instead
3781 of the possibly updated time which can be wrong when there are multiple
3782 waiters for the same id. Fixes #382592.
3784 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3785 (gst_system_clock_id_wait_jitter_unlocked),
3786 (gst_system_clock_id_wait_jitter):
3787 Fix restart in the async notify thread when an async entry is added to
3788 the front of the list. Fixes #381492.
3790 * tests/check/gst/gstsystemclock.c: (store_callback),
3791 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3792 Added test for multiple async waits.
3793 Added test for async wait order.
3795 2006-12-07 Wim Taymans <wim@fluendo.com>
3797 * gst/gstbin.c: (gst_bin_query):
3798 Add some more docs about the POSITION query.
3800 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3802 * configure.ac:
3803 Bump version nano - back to CVS.
3805 === release 0.10.11 ===
3807 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3809 * configure.ac:
3810 releasing 0.10.11, "Love never runs on time"
3812 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3814 * win32/common/libgstbase.def:
3815 * win32/common/libgstreamer.def:
3816 * win32/vs8/libgstbase.vcproj:
3817 * win32/vs8/libgstcoreelements.vcproj:
3818 * win32/vs8/libgstreamer.vcproj:
3819 Fix compilation on win32 under VS8
3820 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3821 Partially fixes #381175
3823 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3825 * gst/gstvalue.c: (gst_value_compare_fraction):
3826 If someone is foolish enough to compare 2 fractions with denominator =
3827 0, return UNORDERED rather than aborting.
3829 2006-11-28 Edward Hervey <edward@fluendo.com>
3831 * libs/gst/base/Makefile.am:
3832 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3833 (gst_data_queue_base_init), (gst_data_queue_class_init),
3834 (gst_data_queue_init), (gst_data_queue_new),
3835 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3836 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3837 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3838 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3839 (gst_data_queue_set_flushing), (gst_data_queue_push),
3840 (gst_data_queue_pop), (gst_data_queue_drop_head),
3841 (gst_data_queue_set_property), (gst_data_queue_get_property):
3842 * libs/gst/base/gstdataqueue.h:
3843 New GstDataQueue object for threadsafe queueing. Most useful for
3844 elements that need some queueing functionnality.
3845 * docs/libs/gstreamer-libs-docs.sgml:
3846 * docs/libs/gstreamer-libs-sections.txt:
3847 Insert documentation for GstDataQueue
3848 * plugins/elements/Makefile.am:
3849 * plugins/elements/gstelements.c:
3850 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3851 (gst_multi_queue_class_init), (gst_multi_queue_init),
3852 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3853 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3854 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3855 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3856 (gst_multi_queue_loop), (gst_multi_queue_chain),
3857 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3858 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3859 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3860 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3861 (wake_up_next_non_linked), (compute_next_non_linked),
3862 (single_queue_overrun_cb), (single_queue_underrun_cb),
3863 (single_queue_check_full), (gst_single_queue_new):
3864 * plugins/elements/gstmultiqueue.h:
3865 New multiqueue element, using GstDataQueue. Used for queuing multiple
3866 streams.
3867 Closes #344639 and #347785
3869 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3871 * docs/pwg/advanced-types.xml:
3872 add more missing type details
3874 * tools/gst-run.c: (main):
3875 remove unused variable
3877 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3879 * docs/libs/Makefile.am:
3880 * docs/libs/gstreamer-libs.types:
3881 add types of base classes to enable gobject specific stuff in the docs
3883 * docs/random/ensonic/embedded.txt:
3884 more ideas about isolating platform specific things
3886 2006-11-20 Wim Taymans <wim@fluendo.com>
3888 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3890 * libs/gst/check/gstcheck.h:
3891 Fix compilation and running against 0.9.4. Fixes #377332.
3893 2006-11-20 Wim Taymans <wim@fluendo.com>
3895 * gst/gstsegment.c: (gst_segment_set_seek),
3896 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3897 (gst_segment_to_running_time):
3898 Fix boundary checking in to_running_time() and to_stream_time().
3899 Fixes #377183.
3901 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3902 stream and running time can now be calculated for the complete
3903 clipped segment.
3905 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3907 * gst/gstpad.c: (gst_pad_push_event):
3908 Can't access event structure after giving away ownership of
3909 the event.
3911 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3913 * docs/random/ensonic/embedded.txt:
3914 * docs/random/ensonic/profiling.txt:
3915 * docs/random/ensonic/receipies.txt:
3916 more thinking
3918 2006-11-13 Wim Taymans <wim@fluendo.com>
3920 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3922 * gst/gstpad.c:
3923 Fix documentation for gst_pad_dispatcher. Fixes #374475.
3925 2006-11-13 Wim Taymans <wim@fluendo.com>
3927 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3929 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3930 Store new length in segment duration so we don't keep on calling the
3931 potentially expensize get_size() call. Fixes #370865.
3933 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
3935 Patch by: Sergey Scobich <sergey.scobich at gmail com>
3937 * win32/common/libgstreamer.def:
3938 Add two missing symbols (#366492).
3940 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
3942 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3943 (gst_adapter_take_buffer):
3944 Fix format string to use all its arguments.
3945 Remove useless >= check on a guint
3947 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3949 * tests/examples/adapter/.cvsignore:
3950 Ignore build file as commanded by the build-bot
3952 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3954 * tests/examples/adapter/Makefile.am:
3955 * tests/examples/adapter/adapter_test.c: (run_test_take),
3956 (run_test_take_buffer), (run_tests), (main):
3958 Add new files from the previous commit
3960 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3962 * Makefile.am:
3963 * configure.ac:
3964 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3965 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3966 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3967 * libs/gst/base/gstadapter.h:
3968 * tests/check/libs/adapter.c: (create_and_fill_adapter),
3969 (GST_START_TEST), (gst_adapter_suite):
3970 * tests/examples/Makefile.am:
3971 Do some optimisation work in GstAdapter to avoid copies in more cases.
3972 It could still do slightly better by merging buffers when
3973 gst_buffer_is_span_fast is true, but is already faster.
3975 Also, avoid traversing a single-linked list to append each incoming
3976 buffer inside the adapter.
3978 Add simple test app that times the adapter behaviour in different
3979 situations, and extend the unit test to check that bytes enter and
3980 exit the adapter in their original order.
3982 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
3984 * docs/random/draft-missing-plugins.txt:
3985 Update: use element message instead of adding a new message
3986 type to the core; don't provide GStreamer API to initiate the
3987 plugin download, just provide API to compose the strings needed
3988 and let an external libgimmestuff handle the rest.
3990 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
3992 * tools/gst-inspect.c: (print_element_properties_info):
3993 Print a string instead of 'unknown type' for GValueArray properties
3995 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
3997 * docs/random/draft-missing-plugins.txt:
3998 More small fixes.
4000 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4002 * tests/examples/typefind/typefind.c: (type_found), (main):
4003 Make typefind element example work again (#371894); add a
4004 license header.
4006 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4008 * docs/random/draft-missing-plugins.txt:
4009 Commit initial draft about how to deal with missing plugins,
4010 needs work (API too).
4012 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4014 * docs/pwg/advanced-types.xml:
4015 documents the new caps elements (see #363118)
4017 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4019 * gst/gstplugin.c: (gst_plugin_load_file):
4020 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4021 (gst_file_src_map_region), (gst_file_src_start):
4022 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4023 (gst_file_index_commit):
4024 Use g_strerror() instead of strerror() - we want UTF-8.
4026 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4028 Patch by: Peter Kjellerstedt <pkj at axis com>
4030 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4031 Another printf fix (#371493).
4033 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4035 * tests/check/gst/gsttag.c:
4036 relicence (okay with author=company)
4038 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4040 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4041 (gst_pad_push_event):
4042 Enhance debug and improve docs
4044 * gst/gsturi.c:
4045 Fix docs
4047 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4049 * docs/random/ensonic/distributed.txt:
4050 * docs/random/ensonic/profiling.txt:
4051 more ideas
4053 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4055 * docs/gst/gstreamer-sections.txt:
4056 add new API and fix the build
4058 * gst/gstbin.c: (gst_bin_recalc_state):
4059 * gst/gstelement.c: (gst_element_message_full),
4060 (gst_element_get_state_func), (gst_element_set_state_func):
4061 use new API and improve logging
4063 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4064 * gst/gstutils.h:
4065 API: add function to get StateChangereturn names to improve logs
4067 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4069 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4070 I'm considering shooting the next person to put strerror stuff
4071 in the translateable part of the message.
4073 2006-11-03 Wim Taymans <wim@fluendo.com>
4075 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4076 Get the type and printf conversion specifiers right.
4078 2006-11-03 Wim Taymans <wim@fluendo.com>
4080 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4082 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4083 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4084 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4085 Some small cleanups. Improve debugging.
4086 * gst/gstpad.h:
4087 Signal all waiting threads with a broadcast instead of just one.
4088 Fixes #369942.
4090 2006-11-03 Wim Taymans <wim@fluendo.com>
4092 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4093 (gst_fd_src_create):
4094 Add some debugging.
4095 Only update fd when it's different from the old.
4097 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4099 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4100 Printf fixes for PPC/OSX, take two (#369366).
4102 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4104 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4106 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4107 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4108 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4109 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4110 don't cast to long long for portability reasons, but use
4111 GLib's types instead.
4113 2006-10-30 Michael Smith <msmith@fluendo.com>
4115 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4116 Get the arguments to lseek() the right way around.
4117 Fixes 367677.
4119 2006-10-30 Wim Taymans <wim@fluendo.com>
4121 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4123 * gst/gstinfo.h:
4124 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4126 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4128 Patch by: Kjartan Maraas <kmaraas at gnome org>
4130 * docs/design/part-MT-refcounting.txt:
4131 * docs/random/wtay/capsnego2-docs:
4132 * gst/gstclock.c:
4133 * gst/gstxml.c:
4134 Typo fixes (#366212).
4136 2006-10-28 Wim Taymans <wim@fluendo.com>
4138 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4140 * gst/gst.c:
4141 * win32/common/libgstbase.def:
4142 * win32/common/libgstreamer.def:
4143 * win32/vs8/libgstbase.vcproj:
4144 * win32/vs8/libgstcontroller.vcproj:
4145 Add needed entries in .def files.
4146 Use HAVE_UNISTD_H.
4147 Rearrange def files in vs8 solutions. Fixes #366286.
4149 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4151 * win32/common/gstconfig.h:
4152 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4153 hand-made win32 gstconfig.h. Fixes #366321.
4155 2006-10-27 Wim Taymans <wim@fluendo.com>
4157 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4158 (gst_ghost_pad_new_full):
4159 Make acceptcaps return TRUE when we don't have a target, just like
4160 setcaps does.
4162 2006-10-27 Wim Taymans <wim@fluendo.com>
4164 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4165 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4167 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4169 * gst/gststructure.c: (gst_structure_id_set_value):
4170 If someone tries to set a non-UTF8 string field on a structure,
4171 don't just print a warning, but also ignore the request and do
4172 not change/add that field to the structure.
4174 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4175 Test for the above.
4177 2006-10-25 David Schleef <ds@schleef.org>
4179 * gst/gstinfo.c:
4180 g_hash_table_insert() needs a cast to a non-const pointer duh.
4182 2006-10-25 David Schleef <ds@schleef.org>
4184 * gst/gstinfo.c:
4185 * gst/gstinfo.h:
4186 Change name parameter of _gst_debug_register_funcptr to const
4187 to reflect the constness of its use in the function as well
4188 as to quiet a gcc warning.
4190 2006-10-25 Edward Hervey <edward@fluendo.com>
4192 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4193 Don't push the buffer if it's empty.
4194 Closes #363095
4196 2006-10-24 Wim Taymans <wim@fluendo.com>
4198 * gst/gstevent.h:
4199 Add small comment.
4201 * libs/gst/base/gstbasetransform.c:
4202 (gst_base_transform_sink_eventfunc):
4203 Debug segment values *after* updating them as this is more
4204 interesting.
4206 2006-10-23 Wim Taymans <wim@fluendo.com>
4208 * docs/design/part-events.txt:
4209 Update some docs.
4211 * docs/design/part-block.txt:
4212 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4213 (gst_pad_push_event):
4214 Revert BLOCKING patch, it tries to be smart without really having a
4215 clear idea what or how. So, now we discard all FLUSHING events again on
4216 a blocking pad. Should fix gnonlin again.
4218 2006-10-23 Wim Taymans <wim@fluendo.com>
4220 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4222 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4223 (gst_base_src_start), (gst_base_src_activate_push):
4224 Make sure size is always initialized. Fixes #364388.
4226 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4228 * docs/random/ensonic/distributed.txt:
4229 add some ideas about doing distributed processing
4231 * docs/random/ensonic/profiling.txt:
4232 get_rusage look promising
4234 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4236 * docs/manual/basics-helloworld.xml:
4237 Add a cast in example to fix compile warning
4239 2006-10-18 Wim Taymans <wim@fluendo.com>
4241 * gst/gstsegment.c: (gst_segment_set_last_stop),
4242 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4243 Relax arg checking again, -1 is allowed.
4245 2006-10-18 Wim Taymans <wim@fluendo.com>
4247 * gst/gstsegment.c: (gst_segment_set_last_stop),
4248 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4249 _set_last_stop() must be with a value != -1
4250 A _TYPE_SET to -1 means seek to 0.
4251 Calc last_stop correctly for negative rates.
4252 Make sure we work with positive durations when updating a segment.
4254 2006-10-18 Wim Taymans <wim@fluendo.com>
4256 * docs/design/part-live-source.txt:
4257 * gst/gstclock.h:
4258 Small docs fixes.
4260 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4262 * gst/gstbuffer.h:
4263 Add an explicit cast to GstBuffer** to keep old code that added an
4264 explicit cast to GstMiniObject** for gst_mini_object_replace()
4265 compiling without warning.
4267 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4269 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4270 check for validity of dates
4272 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4274 * docs/gst/gstreamer-sections.txt:
4275 Forgot this one, makes gtk-doc shut up.
4277 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4279 Patch by: Peter Kjellerstedt <pkj at axis com>
4281 * gst/gstobject.h:
4282 Don't define xmlNodePtr to gpointer if the core was built with
4283 --disable-loadsave and --disable-registry, this will break
4284 applications that want to use libxml2 but are buildling against a
4285 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4286 instead so we don't have to mess with the libxml2 namespace
4287 (#361675).
4289 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4291 * gst/gstbuffer.h:
4292 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4293 type-punned pointer warnings.
4295 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4297 * gst/gstelement.h:
4298 Add casts to the correct return type to state <=> state transition
4299 macros.
4301 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4303 * docs/design/part-live-source.txt:
4304 describe howto handle latency
4306 * docs/random/ensonic/profiling.txt:
4307 more ideas
4309 * tools/gst-plot-timeline.py:
4310 fix log parsing for solaris, remove unused function
4312 2006-10-16 Wim Taymans <wim@fluendo.com>
4314 * docs/design/part-trickmodes.txt:
4315 * gst/gstevent.c:
4316 Update some docs regarding reverse playback.
4318 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4320 Patch by: Marcus Granado <mrc dot gran at gmail com>
4322 * win32/vs8/grammar.vcproj:
4323 Error out with a warning if glib-genmarshal.exe is not in path,
4324 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4326 2006-10-13 Wim Taymans <wim@fluendo.com>
4328 * gst/gstsegment.c: (gst_segment_set_seek):
4329 When seeking to stop -1, set last_stop (current position) to the
4330 duration of the segment.
4332 2006-10-13 Wim Taymans <wim@fluendo.com>
4334 * gst/gstelement.h:
4335 Clarify _NO_PREROLL a bit more.
4337 * gst/gstevent.c:
4338 Fix docs.
4340 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4341 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4342 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4343 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4344 due to wrong locking order. Fixes #361769.
4345 Remove some redundant/misplaced checks in pad_block.
4347 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4348 For negative rates, count backwards from the duration.
4350 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4352 * gst/gsterror.c: (_gst_library_errors_init):
4353 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4354 up with something better).
4356 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4358 * win32/vs6/libgstreamer.dsp:
4359 * win32/vs7/libgstreamer.vcproj:
4360 * win32/vs8/libgstreamer.vcproj:
4361 Don't reference glib-compat.c which is currently not used and not
4362 disted; add gstquark.c which was recently added. Fixes #361730.
4364 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4366 * win32/common/libgstbase.def:
4367 * win32/common/libgstcontroller.def:
4368 * win32/common/libgstreamer.def:
4369 Add gst_caps_merge() and a bunch of other recently-added functions.
4370 Fixes #361732.
4372 2006-10-11 Wim Taymans <wim@fluendo.com>
4374 * docs/plugins/gstreamer-plugins.args:
4375 * docs/plugins/inspect/plugin-coreelements.xml:
4376 * docs/plugins/inspect/plugin-coreindexers.xml:
4377 Update element args.
4379 * gst/gstsystemclock.c:
4380 Small comment update.
4382 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4383 (gst_tee_request_new_pad), (gst_tee_release_pad),
4384 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4385 (gst_tee_sink_activate_pull):
4386 * plugins/elements/gsttee.h:
4387 Some tee loving:
4388 Add default property defines.
4389 Implement release pad function.
4390 Give properties better blubs etc.
4391 Activate pads before adding them to a running tee.
4392 Do simple buffer_alloc on the first requested pad.
4393 Post error when activation fails.
4395 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4397 * gst/gst.c: (ensure_current_registry_forking):
4398 Check return value of write() to make compiler happy.
4400 2006-10-11 Wim Taymans <wim@fluendo.com>
4402 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4404 * plugins/elements/gstqueue.c: (gst_queue_chain):
4405 Recheck queue filledness after signalling the overrun when we're about
4406 to leak downstream because we released the lock when emitting the signal
4407 and the queue could be empty again. Fixes #352345.
4409 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4411 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4412 Fix refcounting here too, just like we did for _new_valist() a few
4413 days ago (#357180) (thanks to René Stadler). Also remove all those
4414 'Since: 0.9' from the gtk-doc blobs.
4416 * tests/check/libs/controller.c: (controller_refcount_new_list),
4417 (gst_controller_suite):
4418 Unit test for the above.
4420 2006-10-10 Wim Taymans <wim@fluendo.com>
4422 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4424 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4425 (gst_pad_save_thyself):
4426 Update some docs.
4427 Write pad direction in XML output. Fixes #345496.
4429 2006-10-10 Wim Taymans <wim@fluendo.com>
4431 Patch by: René Stadler <mail at renestadler dot de>
4433 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4434 (gst_controller_new_list), (_gst_controller_dispose),
4435 (_gst_controller_finalize), (_gst_controller_class_init):
4436 Take ref to controlled object so that it cannot disappear.
4437 Fixes #357432.
4439 2006-10-10 Wim Taymans <wim@fluendo.com>
4441 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4442 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4443 (gst_check_teardown_sink_pad):
4444 Activate/deactivate pads in setup/teardown respectively.
4446 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4448 Patch by: Josep Torre Valles <josep@fluendo.com>
4450 * gst/Makefile.am:
4451 Cast values when making gstenumtypes.h. This pacifies Forte
4452 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4453 in the enumeration.
4455 2006-10-09 Wim Taymans <wim@fluendo.com>
4457 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4458 Rename some more @cur to @start to fix docs.
4460 * gst/gstsegment.c: (gst_segment_set_seek):
4461 Fix typo.
4462 time and start must always stay in sync as defined in design doc.
4464 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4465 Rename param to fix docs.
4467 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4468 Check that start and time are in sync.
4470 * tests/check/pipelines/parse-launch.c:
4471 (gst_parse_test_element_change_state):
4472 Activate pad before adding to the element.
4474 2006-10-09 Wim Taymans <wim@fluendo.com>
4476 * docs/design/part-qos.txt:
4477 Fix typo.
4479 * gst/gstevent.c:
4480 * gst/gstevent.h:
4481 Update seek event docs regarding negative rates.
4482 Rename @cur to @start.
4484 * gst/gstsegment.c: (gst_segment_set_seek):
4485 * gst/gstsegment.h:
4486 Update set_seek docs regarding negative rates.
4487 Correctly update last_stop to @stop when dealing with negative
4488 rates.
4489 Rename @cur to @start.
4491 * tests/check/gst/gstpad.c: (GST_START_TEST):
4492 Activate pads before trying to use them.
4494 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4495 (gst_segment_suite):
4496 Add simple check for segments and negative rates.
4498 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4500 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4501 * gst/gsttaglist.h:
4502 * docs/gst/gstreamer-sections.txt:
4503 API: add gst_tag_list_is_empty() (#360467).
4505 * tests/check/gst/gsttag.c: (GST_START_TEST):
4506 And a test case.
4508 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4510 * gst/gstmessage.h:
4511 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4512 a value that doesn't fit on enumeration.
4514 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4516 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4517 Remove local debugging system and use Gstreamer's instead.
4519 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4521 Patch by: Josep Torre Valles <josep@fluendo.com>
4523 * common/m4/gst-error.m4:
4524 Disable warning of statement not reached on Forte.
4525 * gst/gstmessage.h:
4526 Fix warning on Forte (value doesn't fit on enumeration).
4527 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4528 Fix warning on Forte (value doesn't fit on enumeration).
4529 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4530 DEBUG macro says it takes minimum of 2 args and so Forte
4531 complains about the use with just 1 arg.
4532 * plugins/elements/gstfdsink.c:
4533 * plugins/elements/gstfdsrc.c:
4534 * plugins/elements/gstfilesink.c:
4535 * plugins/elements/gstfilesrc.c:
4536 Use correct return type for the uri handler implementations.
4538 All these fix warnings in Forte. Fixes bug #360860.
4540 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4542 * gst/gstelement.h:
4543 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4544 format string, so don't use G_GNUC_PRINTF for those versions.
4546 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4548 * gst/gsttaglist.c: (gst_is_tag_list):
4549 * gst/gsttaglist.h:
4550 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4552 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4553 Small test for the above.
4555 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4557 * gst/gsttaglist.h:
4558 Less tabs, more spaces.
4560 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4562 * gst/gstinfo.h:
4563 Those two function declarations do actually belong there, revert
4564 commit from yesterday that turned them intro macros.
4566 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4568 Patch by: Josep Torre Valles <josep@fluendo.com>
4570 * gst/gst.c: (gst_init_get_option_group):
4571 Fix empty declaration and type mismatch.
4572 * gst/gstbin.c: (gst_bin_change_state_func):
4573 Fix type mismatch.
4574 * gst/gstelement.c: (gst_element_continue_state),
4575 (gst_element_set_state_func), (gst_element_change_state),
4576 (gst_element_change_state_func):
4577 Fix type mismatches.
4578 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4579 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4580 Cast as appropriate.
4581 * gst/gstobject.c: (gst_class_signal_connect):
4582 Cast as appropriate. The function pointer parameter really
4583 has the wrong type but would break API if we change it.
4584 * gst/gstquery.c:
4585 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4586 order of including string.h.
4587 * gst/gstutils.c: (gst_element_state_get_name):
4588 Remove unreachable line.
4589 * gst/gstxml.c: (gst_xml_parse_doc):
4590 Fix type mismatch.
4591 All these caught by Forte.
4593 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4595 Patch by: Josep Torre Valles <josep@fluendo.com>
4597 * common/m4/gst-error.m4:
4598 Fixed bug #360151.
4599 We need to disable warnings on Forte for empty declarations
4600 due to gst-indent adding ;s to lines that just use macros
4601 where the macro actually doesn't need a ; at end to end
4602 statement.
4604 2006-10-06 Wim Taymans <wim@fluendo.com>
4606 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4607 (gst_file_sink_close_file), (gst_file_sink_event),
4608 (gst_file_sink_render):
4609 Add some FIXME for the NEWSEGMENT handling.
4611 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4613 * gst/parse/grammar.y:
4614 Remove static function gst_parse_element_lock as all it does
4615 is return. Looks like cruft from 0.8.
4617 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4619 Patch by: Josep Torre Valles <josep@fluendo.com>
4621 * common/m4/gst-error.m4:
4622 * configure.ac:
4623 * libs/gst/net/Makefile.am:
4624 Fix a compilation issue with Forte on Solaris. inet_aton is in
4625 libresolv.
4627 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4629 * gst/gstpad.c: (pre_activate):
4630 * gst/gstregistry.c: (gst_registry_scan_path_level):
4631 * gst/gstregistryxml.c: (load_plugin):
4632 * libs/gst/controller/gstcontroller.c:
4633 (gst_controlled_property_set_interpolation_mode):
4634 * libs/gst/dataprotocol/dataprotocol.c:
4635 (gst_dp_packet_from_event_1_0):
4636 * libs/gst/net/gstnetclientclock.c:
4637 (gst_net_client_clock_observe_times):
4638 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4639 Printf fixes.
4641 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4643 * configure.ac:
4644 * docs/gst/gstreamer-sections.txt:
4645 * gst/gstconfig.h.in:
4646 * gst/gstelement.h:
4647 * gst/gstinfo.h:
4648 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4649 whether we can use G_GNUC_PRINTF in other header files and at
4650 least check the printf format/arguments of debug messages and
4651 GST_ELEMENT_ERROR messages when the printf extension is not
4652 being used.
4653 Replace more tabs with spaces in gstinfo.h and remove two spurious
4654 function declarations in GST_DISABLE_DEBUG part with macros.
4656 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4658 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4659 More docs for the sync-message signal (mention that it is not
4660 emitted by default); log message structures of messages posted on
4661 the bus as well.
4663 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4665 * gst/gst.c: (ensure_current_registry_forking):
4666 Use a pipe pair to receive status results from the forked child, and
4667 ignore the result from waitpid. Fixes #355499
4669 2006-10-02 Wim Taymans <wim@fluendo.com>
4671 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4672 (gst_ghost_pad_suite):
4673 Fix leak in check.
4675 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4677 * gst/gstpad.c:
4678 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4680 2006-10-02 Edward Hervey <edward@fluendo.com>
4682 * docs/design/part-block.txt:
4683 Further explain the use of flushing on blocked pads.
4684 * docs/gst/gstreamer-sections.txt:
4685 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4686 (gst_pad_push_event):
4687 * gst/gstpad.h:
4688 Added new GstPadFlag : GST_PAD_BLOCKING.
4689 Adds the notion of pads really blocking, which enables to properly
4690 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4691 Fixes #358999
4692 API: gst_pad_is_blocking()
4693 API: GST_PAD_IS_BLOCKING() macro
4694 API: GST_PAD_BLOCKING GstPadFlag
4696 2006-10-02 Wim Taymans <wim@fluendo.com>
4698 Patch by: mrcgran <mrc.gran at gmail dot com>
4700 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4701 Filter the proxied caps against the padtemplate if we have one.
4703 * gst/gstquery.c: (gst_query_new_segment):
4704 Add include for gstinfo.h so that compilation with
4705 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4707 2006-10-02 Wim Taymans <wim@fluendo.com>
4709 Patch by: Alessandro Decina <alessandro at nnva org>
4711 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4712 (gst_file_sink_set_location), (gst_file_sink_open_file),
4713 (gst_file_sink_close_file), (gst_file_sink_event),
4714 (gst_file_sink_render):
4715 Set file to NULL when closing filesink so that we can set a new filename
4716 in READY. Fixes #358613.
4718 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4720 Patch by: Alessandro Decina <alessandro at nnva org>
4722 * gst/gstevent.c: (_gst_event_copy):
4723 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4724 with event structures by setting the parent refcount address of the
4725 copied structure to the address of the refcount member of the newly
4726 copied event rather than the address of the refcount member of the
4727 original event. Fixes #358737.
4729 * tests/check/gst/gstevent.c: (GST_START_TEST):
4730 Unit test for the above.
4732 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4734 * docs/design/Makefile.am:
4735 Dist some more files.
4737 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4739 * tests/check/libs/controller.c: (GST_START_TEST),
4740 (gst_controller_suite):
4741 Add test for the previous fix; add some more tests
4742 for correct refcounting behaviour; fix a few leaks
4743 in test cases; call gst_controller_init() at start
4744 of all tests.
4746 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4748 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4749 (gst_controller_set_from_list):
4750 Don't g_return_val_if_fail() on timed values with invalid timestamps
4751 inside a critical section without unlocking the mutex. Spotted by
4752 René Stadler. (#357617)
4753 Also, fix up refcounting properly: when returning an existing
4754 controller, we should increase the reference only once and not
4755 once per property and when trying to control a property again
4756 we should also increase the refcount.
4758 2006-09-29 Wim Taymans <wim@fluendo.com>
4760 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4761 * libs/gst/net/gstnettimeprovider.c:
4762 (gst_net_time_provider_thread):
4763 Stop reading commands when EOF as well.
4765 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4766 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4767 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4768 Unify description of the dump property.
4770 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4772 * tests/examples/manual/.cvsignore:
4773 OK, so it's actually cvsignore that needs changing. Stop laughing.
4775 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4777 * tests/examples/manual/Makefile.am:
4778 Gah, declare vars *before* using them
4780 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4782 * gst/gst.c: (init_pre), (scan_and_update_registry),
4783 (ensure_current_registry_nonforking),
4784 (ensure_current_registry_forking), (ensure_current_registry),
4785 (init_post), (gst_debug_help), (gst_deinit):
4786 * gst/gst_private.h:
4787 * gst/gstregistry.c: (gst_registry_finalize),
4788 (gst_registry_remove_features_for_plugin_unlocked),
4789 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4790 (gst_registry_scan_path),
4791 (_priv_gst_registry_remove_cache_plugins),
4792 (_priv_gst_registry_cleanup):
4793 * gst/gstregistry.h:
4794 Re-commit the registry changes, along with an extra fix:
4795 When a cached plugin is encountered at a different file path,
4796 update the stored path in the registry cache so that the parent
4797 process knows where it actually is now when it re-reads the registry
4798 cache. Fixes the thing that broke distcheck with the previous commit.
4800 * tests/check/Makefile.am:
4801 Clean up files named 'core' too when running make clean.
4803 * tests/examples/manual/Makefile.am:
4804 Set up a registry path for running these tests, and clean it properly
4805 for distcheck.
4807 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4809 * configure.ac:
4810 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4811 want gmodule-no-export-2.0.pc instead so that we don't drag in
4812 --export-dynamic on every project that links to GStreamer.
4814 Also, make our export regex only match the start of symbols, rather
4815 than any symbol that contains '_gst' somewhere.
4817 * libs/gst/check/Makefile.am:
4818 The libgstcheck we build does however need export-dynamic, as it
4819 produces some symbols that don't match our _gst... style regex.
4820 Fixes: #318031
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):
4828 * gst/gst_private.h:
4829 * gst/gstregistry.c: (gst_registry_finalize),
4830 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4831 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4832 (_gst_registry_cleanup):
4833 * gst/gstregistry.h:
4834 Revert previous change until I figure out why it breaks distcheck.
4836 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4838 * gst/gst.c: (init_pre), (scan_and_update_registry),
4839 (ensure_current_registry_nonforking),
4840 (ensure_current_registry_forking), (ensure_current_registry),
4841 (init_post), (gst_debug_help), (gst_deinit):
4843 Make init_pre and init_post take the full complement of GOptionFunc
4844 args so they can return useful GErrors. Make the registry updating
4845 functions do so.
4847 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4848 ensure that the registry we're about to write out doesn't contain
4849 stale information about old-deleted plugin files.
4851 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4852 that deletion of plugin files is considered a registry change.
4854 * gst/gst_private.h:
4855 * gst/gstregistry.c: (gst_registry_finalize),
4856 (gst_registry_remove_features_for_plugin_unlocked),
4857 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4858 (gst_registry_scan_path),
4859 (_priv_gst_registry_remove_cache_plugins),
4860 (_priv_gst_registry_cleanup):
4861 * gst/gstregistry.h:
4862 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4863 by adding _priv prefix, so that they won't appear in the global
4864 symbol table. They still do atm though because of #318031. Move the
4865 prototypes to gst_private.h
4867 When removing a plugin, remove all features for that plugin too.
4868 Fixes #340878.
4870 2006-09-27 Wim Taymans <wim@fluendo.com>
4872 * docs/random/moving-plugins:
4873 Make it clear that the "compiled-in descriptions" really mean
4874 the element details.
4876 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4877 (gst_base_sink_wait_preroll):
4878 Update docs.
4880 * docs/libs/gstreamer-libs-sections.txt:
4881 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4882 (gst_base_src_get_range), (gst_base_src_activate_push):
4883 * libs/gst/base/gstbasesrc.h:
4884 Added function to block while waiting for PLAYING, this function
4885 is used by live sources that block on the clock.
4886 API: gst_base_src_wait_playing()
4888 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4890 Patch by: Peter Kjellerstedt <pkj at axis com>
4892 * Makefile.am:
4893 gst-element-check.m4 is generated and should therefore be
4894 copied from the build dir rather than the source dir (#357593).
4895 'make distcheck' hasn't noticed this because we were disting
4896 the file as well, so stop doing that.
4898 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4900 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4901 Add some tests for gst_caps_intersect().
4903 * tools/gst-launch.c: (event_loop):
4904 Print all buffering percentages we get, even the 100% one.
4906 2006-09-26 Wim Taymans <wim@fluendo.com>
4908 * tools/gst-inspect.c: (print_element_properties_info),
4909 (print_signal_info):
4910 Fix printing of flags to match the look of enums.
4912 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4914 * gst/gstelementfactory.c:
4915 Fix typo in docs blurb.
4917 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4919 * gst/gsturi.c: (search_by_entry):
4920 Don't assert/crash here if a uri handler doesn't return any
4921 supported protocols. The list of protocols could be generated
4922 dynamically at runtime or at plugin registration, and an error
4923 in the underlying library shouldn't be fatal (#353301).
4925 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4927 * gst/gstinfo.c:
4928 Fix warning if HAVE_PRINTF_EXTENSION is undefined
4929 (spotted by Peter Kjellerstedt).
4931 2006-09-23 Wim Taymans <wim@fluendo.com>
4933 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4935 * libs/gst/base/gstbasesrc.c:
4936 (gst_base_src_default_check_get_range), (gst_base_src_start),
4937 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4938 (gst_base_src_change_state):
4939 Match _start/_stop calls in the activate functions. Remove redundant
4940 _stop call from the state change function. Fixes #356910.
4941 Turn failure DEBUG into ERROR.
4943 2006-09-22 Wim Taymans <wim@fluendo.com>
4945 * docs/design/part-buffering.txt:
4946 * gst/gstmessage.c: (gst_message_new_buffering),
4947 (gst_message_parse_buffering):
4948 Update docs about buffering.
4950 * docs/design/part-trickmodes.txt:
4951 Fix typo.
4953 2006-09-22 Stefan Kost <ensonic@users.sf.net>
4955 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4956 (gst_controller_new_list):
4957 Ref instances when returning them again (fixes #357180)
4959 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
4961 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4962 Don't forget to release proxy lock when there's an error.
4964 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
4966 * gst/gstcaps.h:
4967 Add extra initialisers for Caps things, to fix some plugin warnings
4968 when using -Wextra
4970 2006-09-18 Wim Taymans <wim@fluendo.com>
4972 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4973 Also set template on the internal pad so that a getcaps from the
4974 target pad returns the template caps.
4976 2006-09-18 Wim Taymans <wim@fluendo.com>
4978 * gst/gstelement.c: (gst_element_post_message),
4979 (gst_element_dispose):
4980 Use _DEBUG_OBJECT some more.
4982 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4983 Avoid typechecks.
4985 * tools/gst-launch.c: (main):
4986 If the toplevel element is not a GstPipeline, it must be put in a
4987 pipeline so that a bus and clock is selected.
4989 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4991 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4992 JITTER, RATE, and LATENCY query should be handled by the
4993 default case and not by the CONVERT query code.
4995 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4997 * gst/gstformat.c: (gst_format_register):
4998 Fix locking order (must take lock before using n_values).
5000 * gst/gstvalue.c: (gst_value_serialize_enum),
5001 (gst_value_deserialize_enum_iter_cmp),
5002 (gst_value_deserialize_enum):
5003 Fix serialisation/deserialisation of custom registered GstFormats.
5005 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5006 Unit test for custom format serialisation/deserialisation.
5008 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5010 * docs/pwg/building-boiler.xml:
5011 * plugins/elements/gstcapsfilter.c:
5012 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5013 section.
5015 2006-09-16 Edward Hervey <edward@fluendo.com>
5017 * libs/gst/base/gstbasetransform.c:
5018 (gst_base_transform_buffer_alloc):
5019 Check if requested caps are the same as the sinks caps IF
5020 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5021 is FALSE.
5022 This fixes the renegotiation issues stated in #352827.
5024 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5026 * configure.ac:
5027 * docs/manual/advanced-autoplugging.xml:
5028 * tests/examples/Makefile.am:
5029 * tests/examples/manual/.cvsignore:
5030 * tests/examples/manual/Makefile.am:
5031 * tests/examples/manual/extract.pl:
5032 Extract the manual examples again like we used to do.
5033 Fix one of them.
5035 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5037 * win32/common/config.h:
5038 update for version
5040 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5042 * gst/gsterror.c:
5043 Documents how to receive errors.
5045 2006-09-15 Wim Taymans <wim@fluendo.com>
5047 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5048 (event_loop), (main):
5049 Added some comments here and there.
5050 Post an application message when an interrupt is caught instead of doing
5051 an uncontrolled state change.
5052 Clean up the event loop.
5053 Handle buffering messages, pause/resume the pipeline.
5054 Make shutdown because of an interrupt more reliable.
5056 2006-09-15 Wim Taymans <wim@fluendo.com>
5058 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5059 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5060 (gst_base_sink_preroll_object):
5061 Make sure that our internal state is correct when we commit our state
5062 asynchronously. This solves a race where a state change to PLAYING
5063 could cause the sink to remain blocked in preroll in some situations.
5065 2006-09-15 Wim Taymans <wim@fluendo.com>
5067 * tools/gst-inspect.c: (print_element_properties_info),
5068 (print_signal_info):
5069 List flags as hex so it's easier to deal with.
5071 2006-09-15 Wim Taymans <wim@fluendo.com>
5073 * docs/libs/gstreamer-libs-sections.txt:
5074 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5075 (gst_base_sink_do_sync):
5076 * libs/gst/base/gstbasesink.h:
5077 Expose logic to wait for preroll so that subclasses such as audiosink
5078 can also use this method.
5079 API: gst_base_sink_wait_preroll()
5081 2006-09-15 Wim Taymans <wim@fluendo.com>
5083 * gst/gstobject.c: (gst_object_set_parent):
5084 * gst/gstpipeline.c: (do_pipeline_seek):
5085 Small cleanups in docs and code.
5087 * gst/gstsegment.c: (gst_segment_clip):
5088 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5089 if stop == start and start is in the segment, no clipping should be
5090 done. Also add a test for this.
5092 2006-09-15 Wim Taymans <wim@fluendo.com>
5094 * docs/design/part-buffering.txt:
5095 * docs/gst/gstreamer-sections.txt:
5096 * gst/gstmessage.c: (gst_message_new_buffering),
5097 (gst_message_parse_buffering):
5098 * gst/gstmessage.h:
5099 Added methods to create and parse BUFFERING messages.
5100 Added preliminary docs about buffering.
5101 API: gst_message_new_buffering
5102 API: gst_message_parse_buffering
5104 2006-09-06 Wim Taymans <wim@fluendo.com>
5106 * gst/gstbin.c:
5107 Update documentation.
5109 * gst/gstelement.c: (gst_element_class_init),
5110 (gst_element_release_request_pad), (gst_element_set_clock),
5111 (gst_element_get_index), (gst_element_add_pad),
5112 (gst_element_remove_pad), (gst_element_get_random_pad),
5113 (gst_element_send_event), (gst_element_get_query_types),
5114 (gst_element_query), (gst_element_post_message),
5115 (gst_element_message_full), (gst_element_continue_state),
5116 (gst_element_lost_state), (gst_element_save_thyself),
5117 (gst_element_restore_thyself):
5118 Documentation updates.
5119 Rename last bit of the new-pad -> pad-added signal rename.
5120 Fix the case where an element query would only work if the source
5121 pad was linked.
5122 Avoid some useless type checking in message handling.
5124 * gst/gstevent.c:
5125 * gst/gstevent.h:
5126 * gst/gstutils.c:
5127 Documentation updates.
5129 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5131 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5132 add an INFO line for when we actually update the fd
5134 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5136 * configure.ac:
5137 back to TRUNK
5139 === release 0.10.10 ===
5141 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5143 * configure.ac:
5144 releasing 0.10.10, "Pais"
5146 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5148 * docs/manual/advanced-position.xml:
5149 Fix typo in sample code.
5151 2006-09-05 Wim Taymans <wim@fluendo.com>
5153 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5154 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5155 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5156 * libs/gst/net/gstnetclientclock.h:
5157 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5158 * libs/gst/net/gstnettimepacket.h:
5159 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5160 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5161 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5162 * libs/gst/net/gstnettimeprovider.h:
5163 Make stuff compile on windows. Fixes #345295.
5165 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5167 * gst/gst.c: (ensure_current_registry_forking):
5168 Print better details when child was terminated by signal.
5170 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5172 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5173 Print a warning rather than g_assert() if a plugin feature
5174 is a URI handler but returns no protocols (#353976).
5176 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5178 * docs/random/moving-plugins:
5179 Fix two typos.
5181 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5183 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5184 Fix locking order, handle NULL function values properly.
5186 * gst/gstinfo.h:
5187 Fix docs.
5189 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5190 Initialise variable before using it and fix debug statement to
5191 print the address of the function rather than the address of the
5192 variable on the stack holding the address of the function.
5194 2006-09-01 Wim Taymans <wim@fluendo.com>
5196 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5197 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5198 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5199 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5200 (gst_ghost_pad_parent_unset),
5201 (gst_ghost_pad_internal_do_activate_push),
5202 (gst_ghost_pad_internal_do_activate_pull),
5203 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5204 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5205 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5206 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5207 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5208 (gst_ghost_pad_new_no_target_from_template),
5209 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5210 More cleanups.
5211 Avoid needless typechecking in macros.
5212 Since the internal pad is always present and never changes, there is
5213 no need to locking or ref when retrieving it.
5214 Improve debugging a bit.
5215 Handle link errors when setting the target. Fixes #341029.
5217 2006-09-01 Wim Taymans <wim@fluendo.com>
5219 * docs/libs/gstreamer-libs-sections.txt:
5220 * docs/plugins/gstreamer-plugins-sections.txt:
5221 Fix docs some more.
5223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5224 (gst_collect_pads_event):
5225 * libs/gst/base/gstcollectpads.h:
5226 Documentation updates.
5227 Free queued buffer when removing a pad.
5229 2006-08-31 Michael Smith <msmith@fluendo.com>
5231 * gst/gstutils.c: (gst_element_link_pads),
5232 (gst_element_link_pads_filtered):
5233 Ensure that we set a capsfilter to NULL if we failed to link it
5234 when doing filtered linking, to avoid criticals.
5236 No need to check for unreffing srcpad, which is explicly NULLed
5237 above (a trivial code cleanup).
5239 2006-08-31 Wim Taymans <wim@fluendo.com>
5241 * docs/design/part-gstghostpad.txt:
5242 Update ascii art in documentation.
5244 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5245 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5246 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5247 (gst_ghost_pad_internal_do_activate_push),
5248 (gst_ghost_pad_internal_do_activate_pull),
5249 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5250 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5251 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5252 (gst_ghost_pad_set_target):
5253 Small cleanups and leak fixes.
5254 Remove some checks now that the internal pad is never NULL.
5255 Fix the case where linking pads without a target would create nasty
5256 criticals. Fixes #341029.
5257 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5258 value of _set_target().
5260 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5261 (gst_ghost_pad_suite):
5262 Some more tests for creating and linking untargeted ghostpads.
5264 2006-08-31 Edward Hervey <edward@fluendo.com>
5266 * docs/gst/gstreamer-sections.txt:
5267 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5268 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5269 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5270 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5271 (gst_ghost_pad_new_from_template),
5272 (gst_ghost_pad_new_no_target_from_template):
5273 * gst/gstghostpad.h:
5274 Refactored *_new() functions.
5275 Templates are now used as a g_object_new() parameter.
5276 Use template in _do_getcaps() if we don't have a target.
5277 Small documentation cleanups.
5278 Added two new constructors:
5279 gst_ghost_pad_new_from_template()
5280 gst_ghost_pad_new_no_target_from_template()
5281 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5282 (gst_ghost_pad_suite):
5283 Added tests for new ghostpad instanciation functions.
5285 API additions: gst_ghost_pad_new_from_template,
5286 gst_ghost_pad_new_no_target_from_template
5288 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5290 * docs/random/ensonic/profiling.txt:
5291 Ideas about qos profiling.
5293 2006-08-29 Wim Taymans <wim@fluendo.com>
5295 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5296 Code cleanups.
5297 Fix memleak.
5299 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5301 * gst/gstxml.c:
5302 Improve and detypofy docs.
5304 * tests/check/Makefile.am:
5305 * tests/check/gst/.cvsignore:
5306 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5307 Add a basic test suite for GstXML.
5309 2006-08-29 Wim Taymans <wim@fluendo.com>
5311 * gst/gstelement.c: (activate_pads), (clear_caps),
5312 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5313 Clear the pad caps when the element shut down all of the pads and
5314 is not streaming data that could modify the caps.
5315 Fixes #352958.
5317 2006-08-28 Michael Smith <msmith@fluendo.com>
5319 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5320 Revert previous change; I misunderstood single-segment mode.
5322 2006-08-28 Michael Smith <msmith@fluendo.com>
5324 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5325 Unset DISCONT on buffers when using single-segment mode.
5327 2006-08-28 Wim Taymans <wim@fluendo.com>
5329 * gst/gstcaps.c: (gst_caps_merge_structure):
5330 * gst/gstcaps.h:
5331 Fix docs and indentation again.
5333 * tests/check/gst/gstquery.c: (GST_START_TEST):
5334 Fix leak in tests and add some more tests.
5336 2006-08-28 Edward Hervey <edward@fluendo.com>
5338 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5339 Inform GstSegment of the last stop position in order for the current
5340 segment to have a proper duration if it doesn't have a specific stop
5341 position from which a duration could be calculated.
5342 This bug was noticeable when a non-flushing, non-update new segment was
5343 followed by another segment (all buffers from the new segment were being
5344 dropped).
5346 2006-08-28 Wim Taymans <wim@fluendo.com>
5348 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5349 Small comment update.
5351 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5352 (gst_identity_transform_ip):
5353 Drop-probability is broken, mention this in the code with a
5354 FIXME and also in the property description.
5355 Make silent also be silent about the drop messages.
5357 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5359 * docs/manual/appendix-win32.xml:
5360 Remove mention of popt, we don't depend on that any
5361 longer (#353136). Add some comments pointing out that
5362 this section is slightly outdated.
5364 2006-08-28 Wim Taymans <wim@fluendo.com>
5366 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5368 * gst/gstquery.c: (gst_query_new_segment):
5369 * tests/check/gst/gstquery.c: (GST_START_TEST):
5370 Initialize variables when creating a new segment query.
5371 Fixes #353121.
5373 2006-08-28 Wim Taymans <wim@fluendo.com>
5375 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5377 * gst/gstelement.c: (gst_element_get_bus):
5378 * tests/check/gst/gstelement.c: (GST_START_TEST):
5379 Check for NULL before _reffing the bus. Fixes #353122.
5381 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
5383 * docs/manual/basics-bus.xml:
5384 Docs update: fix wrong callback return value explanation; add
5385 some lines about the implicit relationship between main loop
5386 and main context; remove duplicate main loop variable declaration.
5388 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
5390 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5391 Don't leak caps in unit test; add a few more simple
5392 checks.
5394 2006-08-24 Stefan Kost <ensonic@users.sf.net>
5396 * docs/gst/gstreamer-sections.txt:
5397 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5398 (gst_caps_structure_is_subset), (gst_caps_merge),
5399 (gst_caps_merge_structure):
5400 * gst/gstcaps.h:
5401 * libs/gst/base/gstbasetransform.c:
5402 (gst_base_transform_transform_caps):
5403 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5404 implement caps merging (fixes #352580)
5406 2006-08-23 Stefan Kost <ensonic@users.sf.net>
5408 * tools/Makefile.am:
5409 * tools/gst-plot-timeline.py:
5410 add debug-log plotting developer tool (#340674)
5412 2006-08-23 Wim Taymans <wim@fluendo.com>
5414 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5415 (gst_pad_stop_task):
5416 Improve debugging for task functions.
5418 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5419 (gst_task_start), (gst_task_pause), (gst_task_join):
5420 Make sure that the task function started and finished after a
5421 join().
5422 Don't try to push the task function on the threadpool multiple
5423 times.
5424 Improve the g_warning message with some useful suggestions
5425 about how to fix the problem.
5427 2006-08-23 Wim Taymans <wim@fluendo.com>
5429 * gst/gstutils.c: (gst_pad_proxy_getcaps):
5430 Handle RESYNC correctly in _proxy_getcaps.
5432 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
5434 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5435 (gst_xml_parse_memory), (gst_xml_get_element):
5436 Chain up to parent class in dispose function and also
5437 unref the elements in the toplevel_elements GList.
5438 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5439 Always return a reference in gst_xml_get_element() rather
5440 than only sometimes.
5442 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5443 Don't leak GstXml object.
5445 2006-08-21 Stefan Kost <ensonic@users.sf.net>
5447 * docs/gst/gstreamer-sections.txt:
5448 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5449 (gst_caps_merge):
5450 * gst/gstcaps.h:
5451 * libs/gst/base/gstbasetransform.c:
5452 (gst_base_transform_transform_caps):
5453 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5454 in a better way
5456 2006-08-21 Edward Hervey <edward@fluendo.com>
5458 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5459 Implement GObject::dispose virtual method in GstXML so we can free the
5460 top_elements GList.
5462 2006-08-21 Wim Taymans <wim@fluendo.com>
5464 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5465 (gst_buffer_create_sub):
5466 Copy duration/offset_end/caps when creating a subbuffer of the
5467 complete parent.
5468 Make the subbuffer read-only when we make the metadata writable for
5469 now. Fixes #351768.
5471 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5472 Added check for metadata copy when creating subbuffers.
5474 2006-08-21 Edward Hervey <edward@fluendo.com>
5476 * libs/gst/base/gstbasetransform.c:
5477 (gst_base_transform_buffer_alloc):
5478 Only call downstream buffer_alloc if transform element is passthrough
5479 or always_in_place. Closes #350449.
5481 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5483 * ChangeLog:
5484 ChangeLog surgery to add comments to previous changes
5486 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5488 * gst/gst.c:
5489 Add comments
5491 * gst/gstpad.c: (gst_pad_set_active):
5492 Be more verbose in the log
5494 * libs/gst/base/gstbasetransform.c:
5495 (gst_base_transform_transform_caps):
5496 Simplify caps to get rid of duplicates, fixes #345444
5498 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5500 * gst/gstvalue.c:
5501 * gst/gstvalue.h:
5502 Use these optimizations only internally.
5504 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5506 * gst/gstvalue.c: (gst_value_compare_list),
5507 (gst_value_compare_fraction_range),
5508 (gst_value_intersect_fraction_fraction_range),
5509 (gst_value_intersect_fraction_range_fraction_range),
5510 (gst_value_subtract_fraction_fraction_range),
5511 (gst_value_subtract_fraction_range_fraction_range),
5512 (gst_value_get_compare_func), (gst_value_compare),
5513 (gst_value_compare_with_func):
5514 * gst/gstvalue.h:
5515 Saves the expensive lookup of the compare function in many cases
5516 (#345444)
5518 2006-08-18 Edward Hervey <edward@fluendo.com>
5520 * tests/check/gst/gstinfo.c: (gst_info_suite):
5521 Disable test that require gstdebug if it wasn't built in core.
5523 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5525 * docs/random/ensonic/logging.txt:
5526 update ideas
5528 * gst/gstinfo.c: (gst_debug_log_default):
5529 reorder fields, save some columns, add optional color codes for log
5530 levels
5532 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5534 * docs/random/ensonic/logging.txt:
5535 add ideas about making the logs a bit more useful
5537 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5539 * docs/pwg/advanced-events.xml:
5540 * docs/pwg/titlepage.xml:
5541 Update for 0.10 API (#340627). Add myself
5542 to authors list.
5544 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5546 * docs/libs/gstreamer-libs-docs.sgml:
5547 * docs/libs/gstreamer-libs-sections.txt:
5548 * libs/gst/check/gstbufferstraw.c:
5549 Make gstcheck stuff show up in docs (still needs to
5550 be documented properly though).
5552 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5554 * docs/gst/gstreamer-sections.txt:
5555 * gst/Makefile.am:
5556 * gst/gst.c: (init_post):
5557 * gst/gst_private.h:
5558 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5559 * gst/gstquark.h:
5560 * gst/gstquery.c: (gst_query_new_position),
5561 (gst_query_set_position), (gst_query_parse_position),
5562 (gst_query_new_duration), (gst_query_set_duration),
5563 (gst_query_parse_duration), (gst_query_new_convert),
5564 (gst_query_set_convert), (gst_query_parse_convert),
5565 (gst_query_new_segment), (gst_query_set_segment),
5566 (gst_query_parse_segment), (gst_query_new_seeking),
5567 (gst_query_set_seeking), (gst_query_parse_seeking):
5568 Add internal helpers for pre-registering quarks from static strings
5569 and using the quark values directly instead of looking them up when
5570 creating and parsing queries. Can be used for event construction too.
5571 Closes #350432.
5573 2006-08-16 Wim Taymans <wim@fluendo.com>
5575 * gst/gstbin.c:
5576 Fix bogus docs.
5578 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5580 * gst/gstutils.c: (gst_util_set_value_from_string):
5581 Fix memleak (#351502).
5583 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5584 Add unit test for most of gst_util_set_value_from_string()
5585 (not that one would want to encourage use of this function).
5587 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5589 * libs/gst/check/gstcheck.h:
5590 Use const gchar * variables in fail_unless_equals_string
5591 macro to avoid compiler warnings (and don't use tabs for
5592 indenting).
5594 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5596 * tools/gst-launch.c: (print_tag):
5597 More space on the left for the tag names, to cater
5598 for the 'extended comment' tag (not touching the
5599 string for the first line since it's translated).
5601 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5603 * libs/gst/check/gstcheck.h:
5604 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5605 print something when they fail.
5607 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5609 * docs/gst/gstreamer-sections.txt:
5610 * gst/gsttaglist.c: (_gst_tag_initialize):
5611 * gst/gsttaglist.h:
5612 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5613 Also change merge function for GST_TAG_COMMENT to
5614 use_first.
5616 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5618 * gst/gstinfo.c: (gst_debug_print_object):
5619 Make GST_PTR_FORMAT print messages as well.
5621 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5622 (GST_START_TEST), (gst_info_suite):
5623 More tests.
5625 2006-08-14 Edward Hervey <edward@fluendo.com>
5627 * gst/gstelementfactory.c: (gst_element_register):
5628 If the GstElementClass doesn't have a GstElementDetails with all fields
5629 filled up correctly (longname, description AND author), then error out
5630 nicely instead of crashing.
5632 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5634 * gst/gststructure.c:
5635 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5637 * gst/gstvalue.h:
5638 Expand on the difference between arrays and lists as we use them.
5640 2006-08-14 Wim Taymans <wim@fluendo.com>
5642 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5643 If the parent state change function failed, don't assume we can safely
5644 stop the source, this will be done when the pads are deactivated.
5646 2006-08-14 Wim Taymans <wim@fluendo.com>
5648 * gst/gstbuffer.c:
5649 * gst/gsttask.c: (gst_task_join):
5650 Small doc updates.
5652 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5653 (gst_pad_stop_task):
5654 When pad (de)activation failed for some reason, restore the old
5655 activation mode and set the pad to flushing instead of assuming the
5656 pad is deactivated.
5657 If the _task_join() failed, reinstall the task on the pad so that it can
5658 be stopped later and return an error.
5660 2006-08-11 Andy Wingo <wingo@pobox.com>
5662 * configure.ac:
5663 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5664 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5665 is only for users of API that don't want to see deprecated
5666 functions in the headers; people that want to compile out
5667 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5668 CFLAGS. Fixes the build of multifdsink, or will soon..
5670 2006-08-11 Wim Taymans <wim@fluendo.com>
5672 * docs/gst/gstreamer-sections.txt:
5673 Add GstClockClass vmethod docs.
5675 * gst/gstcaps.h:
5676 Mark #endif with comment for associated #if
5678 * gst/gstclock.c: (gst_clock_id_wait):
5679 * gst/gstclock.h:
5680 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5681 most clock implementations.
5682 Document vmethods.
5683 Flesh out docs about resolution methods.
5684 API: GstClockClass::wait_jitter
5686 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5687 (gst_system_clock_async_thread),
5688 (gst_system_clock_id_wait_jitter_unlocked),
5689 (gst_system_clock_id_wait_jitter):
5690 Use base class wait_jitter variant for improved performance
5691 due to less clock polling.
5693 2006-08-11 Edward Hervey <edward@fluendo.com>
5695 * gst/gst.c: (gst_init_check), (init_post):
5696 Set gst as being initialized before scanning/updating the registry,
5697 since there might be my python plugin loader that calls gst_init() and
5698 we don't want to loop back in.
5699 Closes #350879
5701 2006-08-11 Wim Taymans <wim@fluendo.com>
5703 * docs/design/part-qos.txt:
5704 Bring docs in line with the code. Mostly the sign of the jitter was
5705 wrong in the docs. Fixes #349943.
5707 * gst/gstclock.c:
5708 Fix the docs for the jitter.
5710 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5711 (gst_event_parse_tag), (gst_event_new_buffer_size),
5712 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5713 (gst_event_new_seek), (gst_event_parse_seek),
5714 (gst_event_new_navigation):
5715 Make sure the GstStructure has no parent when creating custom
5716 events.
5717 Add some more argument checking so that we avoid 0.0 rates.
5718 Flesh out the docs for the QoS event some more.
5720 2006-08-11 Wim Taymans <wim@fluendo.com>
5722 * docs/gst/gstreamer-sections.txt:
5723 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5724 (ensure_current_registry_forking), (ensure_current_registry),
5725 (parse_one_option), (parse_goption_arg), (gst_deinit),
5726 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5727 * gst/gst.h:
5728 Doc updates.
5729 Added API and command line option to disable registry forking in
5730 addition to the environment variable.
5731 Constify some static arrays.
5732 Added some more debug.
5733 Don't deinit twice.
5734 API: gst_registry_fork_is_enabled()
5735 API: gst_registry_fork_set_enabled()
5736 API: --gst-disable-registry-fork command line option
5737 Fixes #348918.
5739 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5741 * gst/gst.c: (gst_init):
5742 Fix typo in error message.
5744 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5746 * libs/gst/controller/gstcontroller.h:
5747 fix ABI size-correction
5749 * tests/check/libs/gdp.c: (gst_dp_suite):
5750 make tests that use deprecated API conditional
5752 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5754 * docs/libs/gstreamer-libs-sections.txt:
5755 * libs/gst/controller/gstcontroller.c:
5756 (_gst_controller_get_property), (_gst_controller_set_property),
5757 (_gst_controller_init), (_gst_controller_class_init):
5758 * libs/gst/controller/gstcontroller.h:
5759 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5760 (gst_object_set_control_rate):
5761 API: add gst_object_{s,g}et_control_rate(), add private data section,
5762 fix docs
5764 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5765 * libs/gst/dataprotocol/dataprotocol.h:
5766 add deprecation guards to make gtk-doc happy and allow disabling cruft
5768 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5770 * tests/check/Makefile.am:
5771 * tests/check/gst/.cvsignore:
5772 Let's enable the new unit test as well.
5774 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5776 * configure.ac:
5777 * docs/gst/gstreamer-sections.txt:
5778 * gst/gstconfig.h.in:
5779 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5780 (_gst_info_printf_extension_ptr),
5781 (_gst_info_printf_extension_segment):
5782 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5783 register that lets us easily dump GstSegments into debug
5784 logs (#350419).
5786 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5787 (info_segment_format_printf_extension), (gst_info_suite):
5788 Add simple unit test that logs a bunch of different segments (not
5789 valgrinded at the moment because of leaks in
5790 gst_debug_add_log_function).
5792 2006-08-09 Edward Hervey <edward@fluendo.com>
5794 * libs/gst/base/gstbasetransform.c:
5795 (gst_base_transform_buffer_alloc):
5796 Even if we can't figure out the proper format to request downstream,
5797 call buffer_alloc() downstream with the input parameters without setting
5798 the caps on the srcpad. This will force negotiation in the chain
5799 function.
5800 Closes #350449
5802 2006-08-08 Edward Hervey <edward@fluendo.com>
5804 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5805 Unlinking from a pad without a target is now a perfectly valid case
5806 which should NOT raise an assertion.
5807 This case would happen if a linked ghostpad its target set to NULL after
5808 it was previously linked.
5810 2006-08-08 Edward Hervey <edward@fluendo.com>
5812 * tests/check/libs/gdp.c:
5813 Also comment out the test (see below).
5815 2006-08-08 Edward Hervey <edward@fluendo.com>
5817 * tests/check/libs/gdp.c: (gst_dp_suite):
5818 Use the architecture information from config.h and not gcc macros
5819 in order to properly disable a test that fails on PPC64.
5821 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5823 * gst/gstelement.c: (gst_element_remove_pad):
5824 Don't crash printing the warning if the pad has no parent.
5826 2006-08-02 Wim Taymans <wim@fluendo.com>
5828 * libs/gst/dataprotocol/dataprotocol.c:
5829 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5830 (gst_dp_crc), (gst_dp_header_payload_length),
5831 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5832 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5833 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5834 (gst_dp_event_from_packet), (gst_dp_validate_header),
5835 (gst_dp_validate_payload):
5836 Make debug category static
5837 Constify the crc table.
5838 Do some more arg checking in public functions.
5839 Fix some docs and do some small cleanups.
5841 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5842 Add some more checks to see if GDP deals with bogus input.
5844 2006-07-31 Wim Taymans <wim@fluendo.com>
5846 * gst/gstvalue.c: (gst_value_compare_list):
5847 Fix GstValueList comparison code. Fixes #347293.
5849 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5850 Check to test GstValueList comparison.
5852 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5854 * gst/gstelementfactory.c: (gst_element_factory_create):
5855 Remove unnecessary ref/unref pair
5857 * gst/parse/grammar.y:
5858 Make sure to free the parse buffer on all code paths.
5859 Move a g_free up to the error handler where it's easier to see.
5861 * tests/check/gst/gstevent.c: (test_event):
5862 Extending timeout for downstream travelling events to 10 seconds to
5863 hopefully avoid intermittent failure on the buildbots.
5865 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5866 Don't manually set the state of the src element - it will happen as a
5867 natural consequence of the pipeline changing state, and that way it
5868 will do it in the right order too.
5870 2006-07-31 Wim Taymans <wim@fluendo.com>
5872 * libs/gst/base/gstbasetransform.c:
5873 (gst_base_transform_buffer_alloc):
5874 Use OBJECT_LOCK and refcounting to get the pad caps in the
5875 buffer_alloc function because the caps could change while we are
5876 busy with them. Fixes #349105
5878 2006-07-31 Wim Taymans <wim@fluendo.com>
5880 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5881 Protect _PAD_CAPS with OBJECT_LOCK.
5883 2006-07-31 Wim Taymans <wim@fluendo.com>
5885 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5886 (gst_pad_get_property), (gst_pad_activate_pull),
5887 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5888 (gst_pad_set_activate_function),
5889 (gst_pad_set_activatepull_function),
5890 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5891 (gst_pad_set_getrange_function),
5892 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5893 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5894 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5895 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5896 (gst_pad_set_acceptcaps_function),
5897 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5898 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5899 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5900 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5901 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5902 (gst_pad_configure_sink), (gst_pad_configure_src),
5903 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5904 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5905 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5906 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5907 (gst_pad_send_event):
5908 Use _DEBUG_OBJECT when it makes sense.
5909 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5910 Small cleanups and code reflows.
5911 Avoid caps refcounting in _accept_caps.
5912 Refactor alloc_buffer so that the code performed on the peer is in a
5913 separate function. Also if the pad does not implement a buffer alloc
5914 function, we should still check if the pad is flushing before falling
5915 back to the default allocator.
5917 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5919 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5920 Make all uses of identity and fakesink have silent=true to avoid
5921 serialising every passing data structure, which is breaking tests
5922 on FC4 for some unknown reason.
5924 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5926 * gst/parse/Makefile.am:
5927 * gst/parse/grammar.y:
5928 * gst/parse/parse.l:
5929 Reverted previous patch as it required to bump the flex dependency to
5930 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5932 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5934 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5936 * gst/parse/Makefile.am:
5937 * gst/parse/grammar.y:
5938 * gst/parse/parse.l:
5939 push & pop the state of the lexer for reentrant use case
5940 Fixes #349180
5942 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
5944 * libs/gst/base/gstbasesrc.h:
5945 Note in the docs that the ::newsegment vfunc is not actually used by
5946 GstBaseSrc.
5948 2006-07-28 Wim Taymans <wim@fluendo.com>
5950 * libs/gst/base/gstcollectpads.c:
5951 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5952 (gst_collect_pads_clear), (gst_collect_pads_flush),
5953 (gst_collect_pads_event), (gst_collect_pads_chain):
5954 When flushing a pad, also clear the queued buffer so that we don't
5955 accidentally use it when we shouldn't.
5956 Fix leaks by inreffing incomming buffer.
5957 Flush out queued buffers in case of errors.
5958 Fixes #347452.
5960 2006-07-28 Wim Taymans <wim@fluendo.com>
5962 * docs/random/phonon-gst:
5963 Random notes about a Phonon backend.
5965 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5967 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5968 Extra debug output
5969 * tests/check/libs/gdp.c: (gst_dp_suite):
5970 Take a whack at fixing the ppc compile using a different define to
5971 disable the broken test.
5973 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5974 Remove excess g_print()
5976 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5978 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5979 Oops, meant to uncomment this line too to dampen the noise a bit.
5981 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5983 * gst/parse/grammar.y:
5984 * gst/parse/parse.l:
5985 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5986 (GST_START_TEST), (parse_suite):
5987 Fix some of the leaks exposed by extending the parse-launch testsuite,
5988 and move the 3 I can't figure out into a separate test that won't run
5989 the pipelines unless the appropriate line is uncommented.
5991 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5993 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5994 Requesting 0 bytes before the end of the file should result in
5995 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
5996 unit test.
5998 2006-07-27 Wim Taymans <wim@fluendo.com>
6000 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6001 Fix useless assert, a uint is always positive.
6003 * gst/gststructure.c: (gst_structure_nth_field_name),
6004 (gst_structure_foreach), (gst_structure_map_in_place):
6005 Check input arguments for public functions to avoid obvious crashes.
6007 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6008 * plugins/elements/gstfakesink.h:
6009 Do less useless typechecking.
6011 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6013 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6014 Do not use mmap() by default since there are a number of error
6015 conditions that we would like to handle in a non-fatal way that
6016 will result in a SIGBUS if we use mmap(). Examples: external
6017 devices (USB harddrive, portable music player) being unplugged
6018 while in use; file on mounted CD/DVD that can't be read because
6019 the medium is partly damaged. Fixes #348455 and #348475.
6021 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6023 * gst/gstquery.h:
6024 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6025 rates are a gdouble
6027 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6029 * gst/gstregistry.c:
6030 Move big documentation comment into class section header, so that it
6031 appears in the API docs.
6033 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6035 * docs/gst/gstreamer-sections.txt:
6036 Oops. Commit the docs additions too for new API.
6037 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6039 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6041 * gst/gststructure.c: (gst_structure_id_set),
6042 (gst_structure_id_set_valist):
6043 * gst/gststructure.h:
6044 Add API for setting values into structures without performing
6045 a quark lookup, if the appropriate quark is already known.
6047 API: gst_structure_id_set
6048 API: gst_structure_id_set_valist
6050 * gst/parse/grammar.y:
6051 * gst/parse/parse.l:
6052 Remove some dead code shown by the coverage information.
6053 Don't throw a critical g_warning when encountering a syntax error,
6054 just warn and let the normal error path handle it.
6056 * plugins/elements/gstelements.c:
6057 Bump the rank of filesink up to PRIMARY so that it is preferred over
6058 gnomevfssink for file:// sink uri's
6060 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6061 (GST_START_TEST), (run_delayed_test),
6062 (gst_parse_test_element_base_init),
6063 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6064 (gst_parse_test_element_change_state),
6065 (gst_register_parse_element), (parse_suite):
6066 Beef up the tests for parse syntax to check that more error cases
6067 fail as they are supposed to. Increases the test coverage a bit.
6069 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6071 * docs/manual/basics-elements.xml:
6072 Fix gst_element_link() example.
6074 * gst/gstutils.c:
6075 Mention in API docs that one should usually gst_bin_add()
6076 elements to a bin or pipeline before doing the linking.
6078 2006-07-26 Wim Taymans <wim@fluendo.com>
6080 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6081 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6082 Avoid function call for known types by keeping the buffer and
6083 subbuffer GType global.
6085 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6086 Random silly optimisations in read() path.
6088 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6090 * tools/gst-launch.c: (main):
6091 If the top-level of the parse is a normal bin, it doesn't do the
6092 right logic to run as a top-level element, so place it inside a
6093 pipeline.
6095 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6097 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6098 Remove superfluous g_object_notify() calls, GObject does
6099 that for us automatically.
6101 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6103 * gst/gstinfo.h:
6104 on Win32, use dllspec to export the debug category symbols
6106 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6108 * gst/gsttaglist.c: (_gst_tag_initialize):
6109 Allow more than one GST_TAG_IMAGE per taglist.
6111 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6113 * gst/gstminiobject.c:
6114 update docs
6115 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6116 (gst_fd_src_create):
6117 log recurring events at LOG level
6118 add more debug for when the fd gets set
6120 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6122 * gst/gstparse.c: (gst_parse_launch):
6123 Also remove reentrance checks if flex is MT safe (#348179)
6124 Fix my empty ChangeLog entry below
6126 2006-07-21 Andy Wingo <wingo@pobox.com>
6128 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6130 * libs/gst/check/Makefile.am
6131 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6132 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6133 * libs/gst/check/gstbufferstraw.h:
6134 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6135 functions, thus proving I am still a GStreamer haxor. OK I wrote
6136 them a long time ago, but anyways.
6138 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6140 * configure.ac:
6141 * gst/gstparse.c: (gst_parse_launch):
6142 Check for flex version and omit mutex if we have a MT save flex
6143 (fixes #348179)
6145 2006-07-21 Wim Taymans <wim@fluendo.com>
6147 * gst/gstparse.c: (gst_parse_launch):
6148 Protect recursive calls to _parse with a recursive mutex
6149 and busy flag.
6151 2006-07-21 Wim Taymans <wim@fluendo.com>
6153 * tests/check/gst/gstpad.c: (GST_START_TEST):
6154 Fix leak in test.
6156 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6158 * gst/gstparse.c: (gst_parse_launch):
6159 Do not hang on recursive usage of gst_parse_launch()
6161 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6163 * gst/gsttaglist.c:
6164 Add some more docs, comments and FIXME 0.11s here and there
6165 and also fix some typos.
6167 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6169 * gst/gstsegment.h:
6170 Convert tabs to spaces for better readability.
6172 2006-07-20 Edward Hervey <edward@fluendo.com>
6174 * tests/check/libs/gdp.c: (gst_dp_suite):
6175 the test_buffer test fails at line 140 on ppc64 at the following
6176 check:
6177 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6178 GST_BUFFER_FLAG_IN_CAPS),
6179 "GST_BUFFER_IN_CAPS flag should have been copied !");
6180 See bug #348114 for more details.
6182 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6184 * docs/pwg/advanced-scheduling.xml:
6185 * gst/gstpad.c:
6186 Fix typos (#348000).
6188 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6190 * docs/pwg/intro-basics.xml:
6191 Fix wrong links (#347927).
6193 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6195 * gst/gstregistry.h:
6196 * gst/gstregistryxml.c: (load_feature),
6197 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6198 * win32/common/config.h:
6199 make --disable-index work (#342564)
6201 2006-07-18 Wim Taymans <wim@fluendo.com>
6203 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6205 * gst/Makefile.am:
6206 * gst/gsttrace.h:
6207 The attached patch adds two missing defines to gsttrace.h when tracing
6208 is disabled. It also corrects one existing define.
6209 Fixes #347756.
6211 2006-07-17 Wim Taymans <wim@fluendo.com>
6213 * docs/gst/gstreamer-sections.txt:
6214 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6215 * gst/gst.h:
6216 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6217 Add two functions to check and change the SIGSEGV behaviour
6218 when loading plugins.
6219 Don't mess with the SIGSEGV handler when we were told not to.
6220 Fixes #347794.
6221 API: gst_segtrap_is_enabled
6222 API: gst_segtrap_set_enabled
6224 2006-07-14 Wim Taymans <wim@fluendo.com>
6226 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6227 * tests/check/elements/filesrc.c: (GST_START_TEST):
6228 Revert fix for regression in #347408 after release.
6230 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6232 Patch by: Antoine Tremblay <hexa00 at gmail com>
6234 * gst/gstutils.c: (gst_element_unlink):
6235 Free iterator when done (#347311).
6237 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6238 And add a test case for this.
6240 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6242 * configure.ac:
6243 Bump nano back to CVS
6245 === release 0.10.9 ===
6247 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6249 * configure.ac:
6250 releasing 0.10.9, "On the road again"
6252 2006-07-13 Wim Taymans <wim@fluendo.com>
6254 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6255 * tests/check/elements/filesrc.c: (GST_START_TEST):
6256 Revert pull-0 fix for release. Disable check. Fixes #347408.
6258 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6260 * libs/gst/dataprotocol/dataprotocol.c:
6261 (gst_dp_event_from_packet_1_0):
6262 Fixes #347337: failure to deserialize event packets with
6263 empty payload (only event type)
6265 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6267 * gst/Makefile.am:
6268 do not install a .c file in the header directory
6270 2006-07-13 Edward Hervey <edward@fluendo.com>
6272 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6273 GhostPad no longer implicitely use the padtemplates of the targets.
6274 Fixes #347384
6276 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6278 * gst/gstvalue.c: (gst_value_compare_list),
6279 (gst_value_compare_array), (_gst_value_initialize):
6280 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6281 Make GstValueArray comparison be order dependent as designed.
6282 Add checks for value lists and value array comparisons.
6283 Fixes #347221
6285 2006-07-11 Edward Hervey <edward@fluendo.com>
6287 * gst/gstbin.c: (activate_pads),
6288 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6289 (gst_bin_change_state_func):
6290 (de)activate src pads before calling state_change on the childs.
6291 This is to avoid the case where a src ghostpad is blocked (holding the
6292 stream lock), which would block the deactivation of the ghostpad's
6293 target pad.
6294 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6295 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6296 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6297 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6298 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6299 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6300 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6301 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6302 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6303 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6304 (gst_ghost_pad_class_init),
6305 (gst_ghost_pad_internal_do_activate_push),
6306 (gst_ghost_pad_internal_do_activate_pull),
6307 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6308 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6309 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6310 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6311 GhostPads now create their internal GstProxyPad at creation (and not
6312 when they're linked, as it was being done previously).
6313 The internal and target pads are linked straight away.
6314 The data will also travel through the other pad in order to make
6315 pad blocking and probes non-hackish (the probe/block now really happens
6316 on the GhostPad and not on the target).
6317 * gst/gstpad.c: (gst_pad_set_blocked_async),
6318 (gst_pad_link_prepare), (gst_pad_push_event):
6319 Remove previous ghostpad cruft.
6320 * gst/gstutils.c: (gst_pad_add_data_probe),
6321 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6322 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6323 (gst_pad_remove_buffer_probe):
6324 Remove previous ghost pad cruft.
6325 Added more detailed debug statements.
6326 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6327 Fix the testsuite for refcounting changes.
6328 The comments about who has references were correct, but the refcount
6329 being checked wasn't the same (!?!).
6331 Fixes #341029
6333 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6335 * docs/gst/gstreamer-sections.txt:
6336 * gst/gstconfig.h.in:
6337 More docs for configuration options, add docs to gtk-doc.
6339 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6341 * gst/Makefile.am:
6342 * gst/gstconfig.h.in:
6343 * win32/common/config.h:
6344 Fix build when disabling tracing (fixes #344016). Also start to document
6345 the defines that disable the sub-systems.
6347 2006-07-10 Edward Hervey <edward@fluendo.com>
6349 * gst/gst.c: (ensure_current_registry_forking):
6350 let's make valgrind happy...
6352 2006-07-09 Wim Taymans <wim@fluendo.com>
6354 * gst/gstelement.c: (activate_pads),
6355 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6356 Better pad activation code: Reset the collect value too on resync.
6357 Add some comments.
6359 2006-07-09 Wim Taymans <wim@fluendo.com>
6361 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6362 (gst_pad_activate_push):
6363 Use some more macros where it makes sense.
6364 Allow pad mode switching instead of asserting. When a pad
6365 is activated in one mode and we activate it in another,
6366 deactivate it first before activating it in a different mode.
6367 Fixes #329198.
6369 2006-07-08 Andy Wingo <wingo@pobox.com>
6371 * tools/gst-launch.c (main): Handle err == NULL.
6373 * gst/gst.c (init_post, ensure_current_registry)
6374 (ensure_current_registry_forking)
6375 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6376 factoring out the registry scanning into separate functions. Don't
6377 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6378 Better environment var name/interface suggestions accepted.
6380 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6382 * gst/gstobject.c: (gst_object_set_name_default),
6383 (gst_object_set_name):
6384 Random micro-optimisation: don't use a hash table
6385 with strings as keys and the usual strdup/strcmp
6386 involved, but rather just use the GQuark of the
6387 type name as key, since it needs to be looked up
6388 anyway to get the type name string.
6390 * tests/check/gst/gstobject.c: (GST_START_TEST):
6391 Fix various leaks.
6393 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6395 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6396 (gst_bin_iterate_all_by_interface):
6397 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6398 GTypes are gulongs and thus the top 4 bytes might be cut
6399 off on some platforms when doing GPOINTER_TO_INT, leading
6400 to invalid GTypes and bad things happening (see RH bug #179654).
6401 Also add a check to make sure the type passed in is really
6402 an interface type.
6404 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6406 * .cvsignore:
6407 Ignore more.
6409 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6411 * Makefile.am:
6412 * configure.ac:
6413 * gst-element-check.m4:
6414 * gst-element-check.m4.in:
6415 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6416 instead of the unversioned gst-inspect (#324176, #168659).
6418 2006-07-06 Wim Taymans <wim@fluendo.com>
6420 * gst/gstmessage.h:
6421 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6422 warnings.
6424 2006-07-06 Wim Taymans <wim@fluendo.com>
6426 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6427 (gst_base_src_wait), (gst_base_src_update_length),
6428 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6429 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6430 (gst_base_src_loop), (gst_base_src_start),
6431 (gst_base_src_activate_pull):
6432 Update docs.
6433 blocksize == 0 now means the default blocksize when working in push
6434 based mode.
6435 Remove some pointless asserts in _wait function.
6436 Fix offset/length calculations and EOS handling. We can now pull 0
6437 bytes as well, which is allowed.
6438 use _check_get_range() to decide if we can operate in _pull based
6439 mode.
6440 Fix refcounting leak when check_get_range function was not
6441 implemented.
6442 API GstBaseSrc::blocksize range can be 0 too now (default)
6444 * tests/check/elements/filesrc.c: (GST_START_TEST),
6445 (filesrc_suite):
6446 Added check to test _get_range() behaviour.
6448 2006-07-06 Wim Taymans <wim@fluendo.com>
6450 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6451 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6452 (gst_pad_pull_range):
6453 * gst/gstpad.h:
6454 Lots of comments and docs added to the pad functions.
6455 Flesh out the expected behaviour of the get_range() functions.
6457 2006-07-06 Wim Taymans <wim@fluendo.com>
6459 * gst/gstbus.h:
6460 * gst/gstclock.h:
6461 * gst/gstevent.h:
6462 * gst/gstiterator.h:
6463 * gst/gstpad.h:
6464 * gst/gstplugin.h:
6465 * gst/gsttask.h:
6466 Remove comma at end of enumerator list.
6468 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
6470 * win32/common/libgstbase.def:
6471 * win32/common/libgstdataprotocol.def:
6472 * win32/common/libsgtreamer.def:
6473 Add new exported functions.
6475 2006-07-05 Wim Taymans <wim@fluendo.com>
6477 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6478 Add some more docs here and there.
6480 2006-07-05 Wim Taymans <wim@fluendo.com>
6482 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6483 (gst_base_sink_loop), (gst_base_sink_get_position):
6484 When operating in pull mode update the offset so that we
6485 read sequentially.
6487 2006-07-05 Wim Taymans <wim@fluendo.com>
6489 * gst/gstregistryxml.c: (read_string):
6490 Avoid strdup. (will happen in libxml, but hey!)
6492 * gst/gsturi.c:
6493 Add some more docs.
6495 2006-07-05 Wim Taymans <wim@fluendo.com>
6497 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6498 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6499 (gst_buffer_suite):
6500 No point in checking if the size of the subbuffer > 0, the
6501 code handles it correclty as demonstrated by unit test.
6502 Also add a unit test for the zero sized _new_and_alloc and
6503 _copy. Fixes #346663.
6505 2006-07-05 Wim Taymans <wim@fluendo.com>
6507 * libs/gst/base/gstbasetransform.c:
6508 (gst_base_transform_prepare_output_buffer),
6509 (gst_base_transform_buffer_alloc),
6510 (gst_base_transform_handle_buffer):
6511 Make sure the buffer we pass to transform_ip has a refcount of
6512 1 and thus is writable. Fixes #343196
6514 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6516 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6517 (gst_file_src_init), (gst_file_src_set_property),
6518 (gst_file_src_get_property), (gst_file_src_map_region):
6519 * plugins/elements/gstfilesrc.h:
6520 Add "sequential" property, off by default, to use madvise and hint
6521 to the kernel that sequential access is desired.
6522 Touch all retrieved pages by default to ensure they are pulled
6523 into memory. (Closes #345720)
6525 2006-07-03 Wim Taymans <wim@fluendo.com>
6527 * docs/design/part-block.txt:
6528 * docs/design/part-dynamic.txt:
6529 Small docs updates.
6531 2006-07-03 Wim Taymans <wim@fluendo.com>
6533 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6534 (gst_caps_unref), (gst_static_caps_get),
6535 (gst_caps_append_structure):
6536 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6537 Use GSlice when the glib we build against is >= 2.10
6539 2006-07-03 Wim Taymans <wim@fluendo.com>
6541 * gst/gstelement.c: (gst_element_pads_activate):
6542 Small cleanup in pad activation code.
6544 2006-07-03 Wim Taymans <wim@fluendo.com>
6546 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6548 * gst/gst-i18n-app.h:
6549 * gst/gst-i18n-lib.h:
6550 * tools/gst-inspect.c: (print_signal_info):
6551 The attached patch will make the inclusion of gettext.h unconditional in
6552 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6553 libintl.h in tools/gst-inspect.c.
6554 This allows use of --disable-nls again and fixes #344642.
6556 2006-07-03 Edward Hervey <edward@fluendo.com>
6558 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6559 Implement pad blocking on events according to part-block.txt.
6560 More comments on behaviour.
6561 * tests/check/gst/gstevent.c: (test_event):
6562 Send event to peer pad of blocked pad (else it will block).
6564 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6566 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6567 (gst_check_run_suite):
6568 if we get the wrong message, give us the types as string
6569 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6570 Fix a translatable
6571 * tests/check/elements/filesrc.c: (GST_START_TEST):
6572 add a test for trying to open a non-existing file
6574 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6576 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6577 add a test for adding self
6579 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6581 * libs/gst/check/gstcheck.h:
6582 add some assert_ as alias for fail_unless_*
6583 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6584 increase test coverage
6586 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6588 * Makefile.am:
6589 include lcov.mak for lcov coverage generation
6590 * tools/Makefile.am:
6591 add to CLEANFILES
6593 2006-07-02 Edward Hervey <edward@fluendo.com>
6595 * tests/check/elements/.cvsignore:
6596 moaping
6598 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6600 * configure.ac:
6601 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6602 * tests/check/Makefile.am:
6603 clean up gcov files
6605 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6607 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6608 remove gst_caps_simplify; it was not declared and not used
6609 and deprecated in 0.8
6611 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6613 * docs/faq/gst-uninstalled:
6614 don't put empty paths on PYTHONPATH
6615 * docs/gst/gstreamer-sections.txt:
6616 remove some symbols that are not there
6618 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6620 * gst/gstcaps.c: (gst_caps_compare_structures):
6621 whitespace fixes
6622 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6623 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6624 add more tests
6626 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6628 * libs/gst/dataprotocol/Makefile.am:
6629 build dataprotocol test by linking to the lib, instead of
6630 compiling the source, so we get coverage
6631 * tests/check/Makefile.am:
6632 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6633 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6634 add a test for filesrc
6636 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6638 * tests/check/gst/gststructure.c: (GST_START_TEST),
6639 (gst_structure_suite):
6640 Push coverage from 59.04% to 70.00%
6642 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6644 * tests/check/Makefile.am:
6645 gst-inspect every element; this makes sure that we also get
6646 coverage on element's get/set functions
6648 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6650 * configure.ac:
6651 set CFLAGS and friends to -O0 if gcov is being used
6652 add GCOV LIBS
6653 * gst/Makefile.am:
6654 * libs/gst/base/Makefile.am:
6655 * libs/gst/check/Makefile.am:
6656 * libs/gst/controller/Makefile.am:
6657 * libs/gst/dataprotocol/Makefile.am:
6658 * libs/gst/net/Makefile.am:
6659 * plugins/elements/Makefile.am:
6660 * plugins/indexers/Makefile.am:
6661 add makefile rules to generate gcov data and clean up
6662 * tests/check/Makefile.am:
6663 add a coverage target that generates an html overview
6664 of coverage data
6666 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6668 * tests/check/elements/fakesink.c:
6669 * tests/check/elements/fakesrc.c:
6670 * tests/check/elements/fdsrc.c:
6671 * tests/check/elements/identity.c:
6672 * tests/check/generic/sinks.c: (gst_sinks_suite):
6673 * tests/check/generic/states.c:
6674 * tests/check/gst/gst.c:
6675 * tests/check/gst/gstabi.c:
6676 * tests/check/gst/gstbin.c:
6677 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6678 * tests/check/gst/gstbus.c: (gst_bus_suite):
6679 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6680 * tests/check/gst/gstelement.c:
6681 * tests/check/gst/gstevent.c: (gst_event_suite):
6682 * tests/check/gst/gstghostpad.c:
6683 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6684 * tests/check/gst/gstmessage.c: (gst_message_suite):
6685 * tests/check/gst/gstminiobject.c:
6686 * tests/check/gst/gstobject.c:
6687 * tests/check/gst/gstpad.c:
6688 * tests/check/gst/gstpipeline.c:
6689 * tests/check/gst/gstplugin.c:
6690 * tests/check/gst/gstquery.c: (gst_query_suite):
6691 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6692 * tests/check/gst/gststructure.c:
6693 * tests/check/gst/gstsystemclock.c:
6694 * tests/check/gst/gsttag.c:
6695 * tests/check/gst/gsttask.c: (gst_task_suite):
6696 * tests/check/gst/gstutils.c:
6697 * tests/check/gst/gstvalue.c:
6698 * tests/check/libs/adapter.c:
6699 * tests/check/libs/basesrc.c:
6700 * tests/check/libs/collectpads.c:
6701 * tests/check/libs/controller.c:
6702 * tests/check/libs/gdp.c: (gst_dp_suite):
6703 * tests/check/libs/gstnetclientclock.c:
6704 * tests/check/libs/gstnettimeprovider.c:
6705 * tests/check/libs/libsabi.c: (libsabi_suite):
6706 * tests/check/libs/typefindhelper.c:
6707 * tests/check/pipelines/cleanup.c:
6708 * tests/check/pipelines/parse-launch.c:
6709 * tests/check/pipelines/simple-launch-lines.c:
6710 * tests/check/pipelines/stress.c: (stress_suite):
6711 use the new macro
6713 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6715 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6716 * libs/gst/check/gstcheck.h:
6717 create a macro and function so that the simple unit test
6718 case can be just one macro to create main()
6720 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6722 * gst/gstbin.c: (gst_bin_restore_thyself):
6723 * gst/gstxml.c: (gst_xml_make_element):
6724 Fix deserialisation from XML. Set parent manually
6725 instead of using gst_bin_add(), since gst_bin_add()
6726 will unlink all pads of the element being added.
6727 Fixes #341667.
6729 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6731 Patch by: Peter Kjellerstedt <pkj at axis com>
6733 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6734 Fix missing g_strdup() and double free when using the
6735 --gst-plugin-load command line option (#346097).
6737 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6739 * gst/gstinfo.c:
6740 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6742 * libs/gst/net/gstnetclientclock.c:
6743 * libs/gst/net/gstnettimeprovider.c:
6744 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6746 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6748 * docs/manual/advanced-dataaccess.xml:
6749 Fix buffer probe example compilation in
6750 ADM (#345708).
6752 2006-06-22 Edward Hervey <edward@fluendo.com>
6754 * gst/gstelement.c: (gst_element_pads_activate):
6755 We need to deactivate src pads first and then sink pads.
6756 The reason is the src pads might be blocking while holding the streaming
6757 lock, so we need to deactivate them first so that deactivating the sink
6758 pads doesn't block (since it will require the streaming lock).
6760 2006-06-22 Wim Taymans <wim@fluendo.com>
6762 * libs/gst/base/gstbasetransform.c:
6763 (gst_base_transform_buffer_alloc):
6764 Forgot to remove two unneeded unrefs.
6765 Simplify a check _is_equal allready checks the obvious case.
6767 2006-06-22 Wim Taymans <wim@fluendo.com>
6769 * docs/design/part-block.txt:
6770 Some docs about what pad_block should do.
6772 2006-06-22 Wim Taymans <wim@fluendo.com>
6774 * gst/gstcaps.c: (gst_caps_replace):
6775 Fix crasher when passed NULL. Doc clarification.
6776 Optimize for the trivial case.
6778 * gst/gstpipeline.c: (gst_pipeline_change_state):
6779 Small cleanups.
6781 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6782 Small documentation cleanup.
6784 * libs/gst/base/gstbasetransform.c:
6785 (gst_base_transform_buffer_alloc):
6786 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6787 is what we need and it avoids a whole lot of redundant
6788 refcount operations.
6790 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6792 Patch by: Philip Jägenstedt <philip at lysator liu se>
6794 * docs/manual/advanced-dataaccess.xml:
6795 Fix 'Embedding static elements' section to use
6796 GST_PLUGIN_DEFINE_STATIC (#345607).
6798 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6800 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6801 Attempt to 'fix' spuriously failing test case: it seems like the
6802 timeout of half a second is simply too small when the system is under
6803 load otherwise, and the timeout doesn't really seem to serve any
6804 particular purpose here. Give the pipeline a few seconds to preroll
6805 first, and then give it another half a second to go from PAUSED to
6806 PLAYING and marshal the message into the main thread.
6808 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6810 * tools/gst-feedback-m.m:
6811 Don't only use unversioned tools, try versioned tools as well
6812 (#345086).
6814 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6816 * gst/gstbus.c: (gst_bus_class_init):
6817 Fix some typos, make docs more explicit.
6819 2006-06-20 Wim Taymans <wim@fluendo.com>
6821 * tests/check/gst/gstghostpad.c: (block_callback),
6822 (GST_START_TEST), (gst_ghost_pad_suite):
6823 Added some more ghostpad tests, mainly blocking
6824 and probes.
6826 2006-06-16 Wim Taymans <wim@fluendo.com>
6828 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6829 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6830 (gst_file_sink_event), (gst_file_sink_render):
6831 * plugins/elements/gstfilesink.h:
6832 Check if we can seek in the file instead of assuming
6833 we always can. Post an error when we are asked to seek in a
6834 non-seekable file (like a fifo). Fixes #343312.
6835 Some cleanups.
6837 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6839 * tools/gst-launch.1.in:
6840 Un-garble (fourcc) bit in filtered caps section.
6842 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6844 * docs/manual/advanced-autoplugging.xml:
6845 * docs/manual/basics-helloworld.xml:
6846 * docs/manual/highlevel-components.xml:
6847 Don't leak bus reference in sample code.
6849 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6851 * autogen.sh:
6852 Add default for new --enable-plugin-docs switch.
6854 * configure.ac:
6855 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6856 Fixes #344039.
6858 * docs/Makefile.am:
6859 Use new ENABLE_PLUGIN_DOCS conditional.
6861 2006-06-14 Wim Taymans <wim@fluendo.com>
6863 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6864 Make it clear with a FIXME and a real define what the #if 0
6865 previously disabled.
6867 2006-06-14 Wim Taymans <wim@fluendo.com>
6869 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6870 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6871 * libs/gst/base/gstbasetransform.c:
6872 (gst_base_transform_sink_eventfunc):
6873 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6874 Don't randomly and silently reset a segment when the format
6875 changes as this is a bug somewhere upstream. Fixes #330379.
6877 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6879 Patch by: Wouter Paesen <wouter at kangaroot net>
6881 * libs/gst/controller/gstcontroller.c:
6882 (gst_controlled_property_new):
6883 Fix controlling of float properties (#344849).
6885 * tests/check/libs/controller.c:
6886 (gst_test_mono_source_get_property),
6887 (gst_test_mono_source_set_property),
6888 (gst_test_mono_source_class_init), (GST_START_TEST):
6889 While we're at it, add some float stuff to unit test.
6891 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6893 * docs/README:
6894 * docs/images/gdp-header.svg:
6895 add a gdp image
6896 * docs/libs/Makefile.am:
6897 * docs/libs/gdp-header.png:
6898 * libs/gst/dataprotocol/dataprotocol.c:
6899 add it to the API docs
6900 * docs/manual/intro-motivation.xml:
6901 fix typo
6903 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6905 * gst/gst.c: (scan_and_update_registry), (init_post):
6906 If the fork()'ed child process can't write the updated registry cache
6907 file to disk for some reason, make it exit with a failure exit code,
6908 so that the parent can then re-scan the plugins itself and update the
6909 registry structures in memory and work with that (rather than failing
6910 when creating elements because seemingly no plugins are available).
6911 Refactor registry scanning code into separate function for this and
6912 also separate fork() and non-fork() code paths. Fixes #344748.
6914 2006-06-13 Wim Taymans <wim@fluendo.com>
6916 * docs/manual/advanced-dataaccess.xml:
6917 Fix wrong PluginDesc. Fixes #344755.
6919 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6921 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6922 Fix silly bug that prevented us from creating
6923 ~/.gstreamer-0.10 and writing the registry in one
6924 go (the first call to g_mkstemp() would overwrite the
6925 placeholder in the template string, so the second call
6926 to g_mkstemp() after creating the missing directory
6927 would then error out with 'invalid argument').
6929 2006-06-13 Edward Hervey <edward@fluendo.com>
6931 * gst/gst.c: (init_post):
6932 Free string.
6934 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6936 * gst/glib-compat-private.h:
6937 * gst/glib-compat.c:
6938 * gst/glib-compat.h:
6939 * gst/gstvalue.c: (gst_value_serialize_flags):
6940 remove GLib 2.6 compatibility code
6942 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
6944 * gst/parse/Makefile.am:
6945 Fix build with 'make -j N' even more (#340016).
6947 2006-06-12 Wim Taymans <wim@fluendo.com>
6949 * docs/gst/gstreamer-sections.txt:
6950 Fix docs.
6952 2006-06-12 Wim Taymans <wim@fluendo.com>
6954 * gst/gstsegment.c: (gst_segment_set_duration),
6955 (gst_segment_set_last_stop), (gst_segment_set_seek),
6956 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6957 (gst_segment_to_running_time), (gst_segment_clip):
6958 Use G_UNLIKELY to help the compiler a bit.
6960 2006-06-12 Wim Taymans <wim@fluendo.com>
6962 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6964 * gst/gstevent.c: (gst_event_get_type):
6965 * gst/gstmessage.c:
6966 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6967 (gst_pad_push):
6968 constify quark registration strings. Fixes #344115
6969 Avoid unneeded type checking is _pad_push() by internally
6970 calling gst_pad_chain_unchecked().
6972 2006-06-12 Wim Taymans <wim@fluendo.com>
6974 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6975 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6976 (gst_subbuffer_finalize), (gst_buffer_create_sub),
6977 (gst_buffer_is_span_fast), (gst_buffer_span):
6978 Init _type for consistency.
6979 Use _FLAGS macro to avoid type check.
6980 Avoid unneeded type checks in subbufer code.
6982 2006-06-12 Wim Taymans <wim@fluendo.com>
6984 * gst/gst.c: (gst_debug_help):
6985 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6986 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6987 (gst_plugin_feature_list_free):
6988 * gst/gstregistry.c: (gst_registry_add_plugin),
6989 (gst_registry_add_feature), (gst_registry_plugin_filter),
6990 (gst_registry_feature_filter), (gst_registry_find_plugin),
6991 (gst_registry_find_feature), (gst_registry_get_plugin_list),
6992 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
6993 * gst/gstregistryxml.c: (load_feature),
6994 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
6995 * gst/gstminiobject.c: (gst_mini_object_unref),
6996 (gst_mini_object_replace), (gst_value_mini_object_free),
6997 (gst_value_mini_object_copy):
6998 Use _CAST macros to avoid unneeded type checking.
6999 Added some more G_UNLIKELY.
7001 2006-06-12 Wim Taymans <wim@fluendo.com>
7003 * gst/gstbuffer.h:
7004 Avoid unneeded type checking.
7005 API: GST_BUFFER_IS_DISCONT
7007 * gst/gstminiobject.h:
7008 Avoid type check in flag accessor.
7010 * gst/gstelementfactory.h:
7011 * gst/gstplugin.h:
7012 * gst/gstpluginfeature.h:
7013 Add _CAST macros.
7014 API: GST_ELEMENT_FACTORY_CAST
7015 API: GST_PLUGIN_CAST
7016 API: GST_PLUGIN_FEATURE_CAST
7018 2006-06-12 Wim Taymans <wim@fluendo.com>
7020 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7021 (gst_object_unref):
7022 Add G_UNLIKELY in type registration.
7023 Avoid type check in _ref/_unref since that is also
7024 done in glib.
7026 2006-06-12 Wim Taymans <wim@fluendo.com>
7028 * gst/gsterror.c: (gst_g_error_get_type):
7029 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7030 (gst_static_pad_template_get_type):
7031 * gst/gsttaglist.c: (gst_tag_list_get_type):
7032 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7033 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7034 * gst/gsturi.c: (gst_uri_handler_get_type):
7035 * gst/gstvalue.c: (gst_date_get_type):
7036 * gst/gstxml.c: (gst_xml_get_type):
7037 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7038 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7039 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7040 Add G_UNLIKELY in type registration.
7042 2006-06-12 Wim Taymans <wim@fluendo.com>
7044 * tools/gst-inspect.c: (print_signal_info):
7045 Properly print enum values.
7047 2006-06-12 Wim Taymans <wim@fluendo.com>
7049 * gst/gstinfo.c: (gst_debug_set_active),
7050 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7051 * gst/gstinfo.h:
7052 Add some G_[UN]LIKELY.
7053 Maintain __gst_debug_min to avoid formatting the arguments of
7054 debug messages that will be dropped anyway to avoid a lot of
7055 overhead from the debugging system.
7057 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7059 * po/POTFILES.in:
7060 * po/POTFILES.skip:
7061 add missing files containing translatable strings, tell intltool about
7062 one exception
7064 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7066 * tests/check/libs/.cvsignore:
7067 add test-binary to ignore list
7069 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7071 * docs/libs/gstreamer-libs-docs.sgml:
7072 reorder (put dp into a chapter) and indent
7074 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7076 * configure.ac:
7077 back to HEAD
7079 === release 0.10.8 ===
7081 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7083 * configure.ac:
7084 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7086 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7088 * gst/gst.c: (init_post):
7089 move pid declaration to declaration block
7091 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7093 * gst/gst.c: (init_post):
7094 use _exit() instead of exit() in our forked child; this ensures
7095 that none of the registered exit handlers from whatever is using
7096 GStreamer get executed. This fixes gnome-mixer-applet failing
7097 to load, because ORBit would shut down.
7098 Spotted by: Edward Hervey <edward@fluendo.com>
7099 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7100 Fixes #344474
7102 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7104 * configure.ac:
7105 back to TRUNK
7107 === release 0.10.7 ===
7109 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7111 * configure.ac:
7112 releasing 0.10.7, "Soepeke, ik zie ou"
7114 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7116 * configure.ac:
7117 * po/af.po:
7118 * po/az.po:
7119 * po/bg.po:
7120 * po/ca.po:
7121 * po/cs.po:
7122 * po/de.po:
7123 * po/en_GB.po:
7124 * po/fr.po:
7125 * po/it.po:
7126 * po/nb.po:
7127 * po/nl.po:
7128 * po/ru.po:
7129 * po/sq.po:
7130 * po/sr.po:
7131 * po/sv.po:
7132 * po/tr.po:
7133 * po/uk.po:
7134 * po/vi.po:
7135 * po/zh_CN.po:
7136 * po/zh_TW.po:
7137 * win32/common/config.h:
7138 0.10.6.2 prerelease
7140 2006-06-07 Wim Taymans <wim@fluendo.com>
7142 * gst/gstindex.c: (gst_index_gtype_resolver):
7143 * tools/gst-xmlinspect.c: (print_plugin_info):
7144 Fix leak spotted by coverity checker. Fixes #343827
7145 Fix another other leak found by paolo borelli.
7147 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7149 * libs/gst/dataprotocol/dataprotocol.c:
7150 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7151 (gst_dp_version_get_type), (gst_dp_init),
7152 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7153 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7154 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7155 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7156 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7157 (gst_dp_packetizer_free):
7158 * libs/gst/dataprotocol/dataprotocol.h:
7159 API: add a GstDPPacketizer object, and create/free functions
7160 API: add GstDPVersion enum
7161 Add 1.0 event function that uses the string serialization
7162 Serialize more useful buffer flags
7163 Fixes #343988
7165 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7167 * tests/check/Makefile.am:
7168 * tests/check/gst/gstabi.c:
7169 * tests/check/gst/struct_ppc64.h:
7170 * tests/check/libs/libsabi.c:
7171 * tests/check/libs/struct_ppc64.h:
7172 add ppc64 structure sizes
7174 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7176 * tests/check/Makefile.am:
7177 * tests/check/gst/gstabi.c:
7178 * tests/check/gst/struct_x86_64.h:
7179 * tests/check/libs/libsabi.c:
7180 * tests/check/libs/struct_x86_64.h:
7181 generate and add structure size lists for x86_64
7183 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7185 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7186 * libs/gst/check/gstcheck.h:
7187 factor out the method from tests that checks size of structures,
7188 and add code to generate the header containing these sizes
7189 * tests/check/gst/gstabi.c: (GST_START_TEST):
7190 * tests/check/gst/struct_i386.h:
7191 * tests/check/libs/libsabi.c: (GST_START_TEST):
7192 * tests/check/libs/struct_i386.h:
7193 use it
7195 2006-06-06 Michael Smith <msmith@fluendo.com>
7197 * gst/gstsegment.h:
7198 Don't use c++-style comments, fixes #343929
7200 2006-06-05 Edward Hervey <edward@fluendo.com>
7202 * gst/gst.c:
7203 plugin_paths is not used if we build without registry support.
7205 * gst/gstsegment.c: (gst_segment_copy):
7206 _copy() was always returning NULL...
7208 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7210 * libs/gst/dataprotocol/dataprotocol.c:
7211 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7212 (gst_dp_packet_from_event):
7213 factor out CRC code
7215 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7217 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7218 make sure we unset caps
7220 2006-06-02 Michael Smith <msmith@fluendo.com>
7222 * libs/gst/check/gstcheck.c: (gst_check_init),
7223 (gst_check_chain_func):
7224 * libs/gst/check/gstcheck.h:
7225 Add a cond/mutex to the check support lib, signal this whenever we
7226 add to the buffers list. This will allow tests to not busy-wait on
7227 the buffer-list.
7229 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7231 * libs/gst/dataprotocol/dataprotocol.c:
7232 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7233 (gst_dp_packet_from_event):
7234 factor out some common header init code
7236 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7238 * docs/libs/gstreamer-libs-sections.txt:
7239 * docs/libs/tmpl/gstdataprotocol.sgml:
7240 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7241 * libs/gst/dataprotocol/dataprotocol.h:
7242 API: make gst_dp_crc() public
7244 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7246 * plugins/indexers/gstindexers.c: (plugin_init):
7247 conditionally register fileindexer (fixes #343598)
7249 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7251 * gst/gsttagsetter.h:
7252 Can't cast ifaces to a class
7254 * libs/gst/net/gstnetclientclock.h:
7255 * libs/gst/net/gstnettimeprovider.h:
7256 * plugins/elements/gstfakesink.h:
7257 * plugins/elements/gstfakesrc.h:
7258 * plugins/elements/gstfdsink.h:
7259 * plugins/elements/gstfdsrc.h:
7260 * plugins/elements/gstfilesink.h:
7261 * plugins/elements/gstfilesrc.h:
7262 * plugins/elements/gstidentity.h:
7263 * plugins/elements/gstqueue.h:
7264 * plugins/elements/gsttee.h:
7265 * plugins/indexers/gstfileindex.c:
7266 * plugins/indexers/gstmemindex.c:
7267 * tests/old/examples/plugins/example.h:
7268 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7270 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7272 * libs/gst/dataprotocol/dataprotocol.c:
7273 (gst_dp_header_from_buffer):
7274 make sure we zero the whole ABI-compatible area
7276 2006-06-01 Wim Taymans <wim@fluendo.com>
7278 Patch by: Alessandro Decina <alessandro at nnva dot org>
7280 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7281 Make sure the EOS flag is cleared from pads after a flush
7282 or stop. Fixes #343538.
7284 * tests/check/libs/collectpads.c: (GST_START_TEST),
7285 (gst_collect_pads_suite):
7286 Added test for collectpads reusage after EOS.
7288 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7290 * gst/gst.c:
7291 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7292 * win32/common/libgstbase.def:
7293 export gst_collect_pads_set_flushing
7294 * win32/common/libgstreamer.def:
7295 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7296 gst_value_fraction_multiply
7297 * win32/vs6/gst_inspect.dsp:
7298 add a link to intl.lib
7300 2006-05-30 Wim Taymans <wim@fluendo.com>
7302 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7303 (gst_collect_pads_chain):
7304 Handle the case where a pad is removed from the collection
7305 that could cause the other pads to become collectable.
7307 2006-05-30 Wim Taymans <wim@fluendo.com>
7309 * gst/gstelement.c:
7310 Clarify the use of _release_request_pad() and
7311 _get_request_pad() a bit better.
7313 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7314 (gst_adapter_take_buffer):
7315 Fix some doc and comment typos.
7317 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7319 * docs/gst/gstreamer-sections.txt:
7320 * docs/libs/gstreamer-libs-sections.txt:
7321 add declared symbols
7323 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7325 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7326 Add debug that can be enabled using a #define at the top of the file,
7327 for dumping stats about how late/early we were when waking up from
7328 waiting on the clock.
7330 2006-05-30 Wim Taymans <wim@fluendo.com>
7332 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7333 When rebuilding the pad list, don't leak the previous list.
7335 2006-05-30 Wim Taymans <wim@fluendo.com>
7337 Patch by: Lutz Mueller <lutz at topfrose dot de>
7339 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7340 (gst_base_src_get_query_types), (gst_base_src_update_length):
7341 Publish supported query types.
7342 Update last_stop field in get_range mode so the position
7343 query works. Fixes #342321.
7345 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7347 * docs/gst/gstreamer-sections.txt:
7348 * gst/gsttaglist.c: (_gst_tag_initialize):
7349 * gst/gsttaglist.h:
7350 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7352 2006-05-30 Wim Taymans <wim@fluendo.com>
7354 Patch by: Alessandro Decina <alessandro at nnva dot org>
7356 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7357 Unlock mutex when removing an unknown pad.
7358 Fixes #343334.
7360 * tests/check/Makefile.am:
7361 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7362 (push_event), (setup), (teardown), (GST_START_TEST),
7363 (gst_collect_pads_suite), (main):
7364 Added collecpads check, disabled for now as check crashes for
7365 some reason.
7367 2006-05-29 Wim Taymans <wim@fluendo.com>
7369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7370 Don't leak pads lists.
7372 2006-05-29 Wim Taymans <wim@fluendo.com>
7374 * docs/libs/gstreamer-libs-sections.txt:
7375 * libs/gst/base/gstcollectpads.c:
7376 (gst_collect_pads_set_flushing_unlocked),
7377 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7378 (gst_collect_pads_stop):
7379 * libs/gst/base/gstcollectpads.h:
7380 API: gst_collect_pads_set_flushing()
7381 Added api to set the pads to flushing, useful for seeking
7382 code in elements using collectpads.
7383 Clear segment when receiving a flush.
7385 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
7387 * gst/gst.c: (add_path_func), (init_post):
7388 Don't scan registry paths passed via --gst-plugin-path immediately
7389 (will crash, because absolutely nothing is set up and no types are
7390 registered etc.); do this later in init_post(). Fixes #343057.
7392 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
7394 * gst/gst.c: (init_post):
7395 if we have fork, fork while reading/rebuilding the registry
7396 so the parent doesn't take the hit of having all plugins loaded
7397 in memory. Fixes #342777.
7398 * configure.ac:
7399 Check if we have fork()
7400 * win32/common/config.h.in:
7401 no fork() on win32
7403 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7405 * plugins/elements/gstelements.c:
7406 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7407 (gst_file_src_init), (gst_file_src_set_property),
7408 (gst_file_src_get_property), (gst_file_src_start):
7409 * plugins/elements/gstfilesrc.h:
7410 API: GstFileSrc::use-mmap
7412 Add a use-mmap property to enable easier testing of all code paths.
7413 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7414 in the absence of gnomevfssrc. (Closes #340501)
7416 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7418 * tools/gst-inspect.c:
7419 Add missing include, removes warning of ngettext not being defined on
7420 some arches.
7422 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7424 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7425 Handle NULL input and output pointers silently as a failed conversion,
7426 rather than g_warnings.
7428 2006-05-25 Wim Taymans <wim@fluendo.com>
7430 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7431 Initialize variable before using. Fixes #342820.
7433 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
7435 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7436 Fix off-by-one bug that would only allow peeks of N-1 bytes
7437 from the start even if the buffer to typefind on contains
7438 in fact N bytes of data (makes vorbis typefinding from a
7439 vorbis identification header buffer work).
7441 * tests/check/Makefile.am:
7442 * tests/check/libs/.cvsignore:
7443 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7444 (gst_typefindhelper_suite), (main), (foobar_typefind),
7445 (plugin_init):
7446 Add very basic unit test for gst_type_find_helper_for_buffer()
7447 that checks for the problem fixed above.
7449 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
7451 * tools/gst-inspect.c: (print_interfaces),
7452 (print_element_properties_info), (print_element_list), (main):
7453 add more translatable strings
7455 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
7457 Patch by: Julien Moutte <julien at moutte net>
7459 * docs/gst/gstreamer-sections.txt:
7460 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7462 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7463 (gst_fake_sink_preroll):
7464 * plugins/elements/gstfakesink.h:
7465 API: Add new GstFakeSink::preroll-handoff signal (#337100).
7467 2006-05-23 Wim Taymans <wim@fluendo.com>
7469 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7470 * gst/gstpad.h:
7471 Added _CUSTOM error and success GstFlowReturn that can be
7472 used be elements internally.
7473 Added macro to check for SUCCESS flowreturns.
7474 API: GST_FLOW_CUSTOM_SUCCESS
7475 API: GST_FLOW_CUSTOM_ERROR
7476 API: GST_FLOW_IS_SUCCESS
7478 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7479 Added check for GstFlowReturn sanity.
7481 2006-05-23 Wim Taymans <wim@fluendo.com>
7483 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7485 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7486 (gst_collect_pads_event):
7487 clear/reset segment info in FLUSH_STOP.
7488 Fixes #336929.
7490 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7493 (gst_collect_pads_check_collected):
7494 Flush queued buffer on _stop(), fixes playing again (#342454)
7496 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7498 * tests/check/gst/gststructure.c: (GST_START_TEST),
7499 (gst_structure_suite):
7500 add a test for a complete structure
7502 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7504 * docs/faq/developing.xml:
7505 * docs/faq/faq.xml:
7506 * docs/faq/troubleshooting.xml:
7507 * docs/faq/using.xml:
7508 Some minor FAQ updates that won't change the fact that
7509 our FAQ is badly structured, full of information hardly
7510 anyone new to GStreamer needs to know and lacking lots
7511 of information people constantly ask for.
7513 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7515 * gst/gstpad.c: (gst_pad_set_caps):
7516 Short-circuit gst_pad_set_caps if setting the existing
7517 caps pointer again, and avoid printing debug and
7518 reffing/unreffing the caps.
7520 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7521 There's actually no need to set the caps before pushing -
7522 the acceptcaps method will handle it anyway.
7524 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7526 * docs/gst/gstreamer-sections.txt:
7527 * win32/common/libgstreamer.def:
7528 * gst/gstutils.c: (gst_element_seek_simple):
7529 * gst/gstutils.h:
7530 API: add gst_element_seek_simple() (#342238).
7532 2006-05-18 Edward Hervey <edward@fluendo.com>
7534 * gst/gsttypefind.c: (gst_type_find_get_type):
7535 * gst/gsttypefind.h:
7536 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7537 registered for GstTypeFind pointers. This allows wrapping the structure
7538 in bindings (i.e. gst-python).
7540 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7542 * gst/gsttagsetter.c:
7543 Docs additions and fixes (see #339918).
7545 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7547 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7548 The caps intersection algorithm can produce multiple copies of the
7549 caps. Until that is fixed, we need to simplify the result to be
7550 sure whether the allowed caps are fixed or not.
7552 * plugins/elements/gstqueue.c: (gst_queue_init),
7553 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7554 (gst_queue_push_one):
7555 Proxied buffer alloc should not set the caps on the source pad.
7556 When pushing buffers, we always accept the caps change that triggers.
7557 This prevents negotiation errors caused by caps changing mid-stream
7558 and then being refused on our source pad (because upstream is now
7559 refusing those caps).
7561 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7563 * tests/examples/helloworld/helloworld.c: (main):
7564 Must plug audioconvert and audioresample between decoder
7565 and audio sink.
7567 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7569 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7570 (load_feature), (load_plugin):
7571 Allow empty strings for some of the plugin fields so we don't
7572 drop valid plugin entries that were written out correctly
7573 (Fixes #341479)
7575 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7577 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7578 Use g_remove and g_rename instead of remove and rename that don't
7579 handle utf8 characters. rename was failing for users who had specific
7580 characters in their name then the registry was built at each
7581 gstreamer init.
7582 * win32/vs6/gst_inspect.dsp:
7583 * win32/vs6/gst_launch.dsp:
7584 * win32/vs6/libgstbase.dsp:
7585 * win32/vs6/libgstcoreelements.dsp:
7586 * win32/vs6/libgstreamer.dsp:
7587 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7588 build of libgstreamer and clean unused libraries in projects link
7589 settings.
7591 2006-05-17 Edward Hervey <edward@fluendo.com>
7593 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7594 The queue is not responsible for pushing an EOS when receiving a fatal
7595 flow error. It's up to the real element driving the pipeline to do that.
7597 2006-05-16 Edward Hervey <edward@fluendo.com>
7599 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7600 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7601 buffer returned a fatal error. It should just send an EOS and stop
7602 its task.
7603 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7604 when pushing buffers on the queue and will be able to handle the event.
7606 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7608 * docs/manual/basics-bins.xml:
7609 * docs/manual/basics-init.xml:
7610 Fix typos and minor errors in sample code (#341856).
7612 2006-05-16 Wim Taymans <wim@fluendo.com>
7614 * docs/design/part-qos.txt:
7615 Fix indexes in formulas to make more sense.
7617 2006-05-15 Wim Taymans <wim@fluendo.com>
7619 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7620 Don't report POSITION based on clock time if sync is
7621 disabled in a sink.
7623 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7625 * gst/gstobject.h:
7626 Add cast to make compiler happy - refcount variable was a gint
7627 in GstObject but is a guint in GObject and g_atomic_int_get()
7628 wants a gint *.
7630 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7632 * gst/parse/Makefile.am:
7633 chain commands using &&, which also makes parallel make work
7635 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7637 * docs/gst/gstreamer-sections.txt:
7638 * gst/gstevent.c:
7639 * gst/gstevent.h:
7640 * gst/gstmessage.h:
7641 Minor docs fixes.
7643 === release 0.10.6 ===
7645 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7647 * configure.ac:
7648 releasing 0.10.6, "Take the cannoli"
7650 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7652 * tools/gst-launch.c: (print_tag):
7653 Fix use of uninitialized variable in the hypothetical
7654 case that some broken plugin creates a GST_TAG_IMAGE
7655 tag containing a NULL buffer (#341667).
7657 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7659 * tools/gst-launch.c: (print_tag):
7660 Print something more intelligible for image tags when
7661 using the -t switch (#341556).
7663 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7665 * Makefile.am:
7666 updates for win32
7667 * configure.ac:
7668 define GST_MAJORMINOR so we have it available in win32/common/config.h
7669 Possibly remove it from our Makefile.am files later
7670 * win32/common/config.h:
7671 * win32/common/config.h.in:
7672 added GST_MAJORMINOR
7673 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7674 * win32/common/gstversion.h:
7675 updated
7677 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7679 * win32/MANIFEST:
7680 Update win32 files listing.
7681 * win32/common/gstversion.h:
7682 Add GST_MAJORMINOR definition.
7683 * win32/common/libgstreamer.def:
7684 Add new exported functions.
7686 2006-05-12 Michael Smith <msmith@fluendo.com>
7688 * gst/gstplugin.c: (gst_plugin_load_file):
7689 If an so file has no plugin entry point, unload the module.
7691 2006-05-11 Wim Taymans <wim@fluendo.com>
7693 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7694 (gst_queue_set_property):
7695 Don't forget to signal the _chain or _loop function
7696 when the queue size or thresholds change since that might
7697 cause them to make progres again.
7699 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7701 * gst/gstclock.c: (gst_clock_class_init):
7702 * gst/gstindex.c: (gst_index_class_init):
7703 * gst/gstobject.c: (gst_object_class_init):
7704 * gst/gstpad.c: (gst_pad_class_init):
7705 * gst/gstpipeline.c: (gst_pipeline_class_init):
7706 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7707 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7708 * libs/gst/base/gstbasetransform.c:
7709 (gst_base_transform_class_init):
7710 * libs/gst/net/gstnetclientclock.c:
7711 (gst_net_client_clock_class_init):
7712 * libs/gst/net/gstnettimeprovider.c:
7713 (gst_net_time_provider_class_init):
7714 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7715 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7716 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7717 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7718 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7719 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7720 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7721 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7722 * plugins/elements/gsttee.c: (gst_tee_class_init):
7723 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7724 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7725 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7727 2006-05-11 Wim Taymans <wim@fluendo.com>
7729 * gst/gstbuffer.c: (_gst_buffer_initialize):
7730 Register subbufer along with the buffer type so that
7731 it does not accidentally gets registered from N
7732 different streaming threads in a non threadsafe way.
7734 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7736 * gst/gstbuffer.h:
7737 * gst/gstevent.h:
7738 * gst/gstmessage.h:
7739 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7740 gst_event_ref() and gst_message_ref() functions again
7741 (ugly hack, please do fix if there's a better way besides
7742 overrides.txt, which doesn't seem to work).
7744 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7746 * libs/gst/check/gstcheck.h:
7747 add an assert for setting state to avoid lots of repetitive code
7748 in the future
7750 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7752 * gst/gstvalue.c: (gst_value_serialize_flags):
7753 fix a leak if no flags are set
7754 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7755 fix leak in tests
7757 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7759 * docs/manual/basics-pads.xml:
7760 Expand a bit on caps and filtered links and update
7761 examples that were still using the no longer existing
7762 gst_pad_link_filtered() (#338206).
7764 2006-05-10 Wim Taymans <wim@fluendo.com>
7766 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7767 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7768 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7769 (gst_collect_pads_stop):
7770 * libs/gst/base/gstcollectpads.h:
7771 No need to call _stop in _finalize.
7772 Iterate the main pad list in _finalize.
7773 Added some more debug.
7774 Free lists and data in the right order.
7775 Also free data whem doing _remove_pad when stopped for
7776 backward compatibility protect ::started with PAD_LOCK as
7777 well.
7779 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7781 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7782 (gst_structure_parse_value):
7783 add some comments
7784 rename a method so that it actually says what it does better
7786 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7788 * gst/gstevent.c: (_gst_event_initialize):
7789 * gst/gstformat.c: (_gst_format_initialize):
7790 make sure some essential types used by events are registered
7791 as part of gst_init()
7792 * gst/gstvalue.c: (gst_value_serialize_flags):
7793 if no flags are set, serialize them to a value that represents NONE
7794 so that deserializing them works
7795 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7796 add tests for serialization and deserialization of flags
7798 2006-05-10 Wim Taymans <wim@fluendo.com>
7800 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7801 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7802 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7803 (gst_collect_pads_event), (gst_collect_pads_chain):
7804 Update docs.
7805 Better debug info.
7806 Catch and return errors from the collect function
7807 Refuse data on eos pads.
7809 2006-05-10 Edward Hervey <edward@fluendo.com>
7811 * gst/gstinterface.h:
7812 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7813 GInterface type checking.
7814 They were previously using non-defined macros.
7816 2006-05-09 Wim Taymans <wim@fluendo.com>
7818 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7819 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7820 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7821 (gst_collect_pads_start), (gst_collect_pads_stop),
7822 (gst_collect_pads_peek), (gst_collect_pads_pop),
7823 (gst_collect_pads_available), (gst_collect_pads_read),
7824 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7825 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7826 (gst_collect_pads_chain):
7827 * libs/gst/base/gstcollectpads.h:
7828 Clean up the mess that is collectpads, add comments and
7829 FIXMEs where needed.
7830 Maintain a separate pad list so we can add pads while
7831 collecting the other ones. For this we need a new separate
7832 lock (see comics).
7833 Fix memory leak in finalize.
7834 Refactor some weird code to set/unset pad flushing flags, mark
7835 with comments.
7836 Don't crash in _available, _read, _flush when we're EOS.
7838 * tests/check/libs/.cvsignore:
7839 Ignore adapter check binary.
7841 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7843 * gst/gstindex.c: (gst_index_resolver_get_type):
7844 * plugins/elements/gstfakesink.c:
7845 (gst_fake_sink_state_error_get_type):
7846 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7847 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7848 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7849 Const-ify GEnumValue arrays.
7851 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7853 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7854 Add test case for flags + gst_buffer_make_metadata_writable().
7856 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7858 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7859 gst_buffer_make_metadata_writable() should maintain the
7860 buffer flags (those that make sense at least) (see #340859).
7862 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7864 * tools/gst-inspect.c:
7865 * tools/gst-launch.c:
7866 * tools/gst-typefind.c:
7867 * tools/gst-xmlinspect.c:
7868 * tools/tools.h:
7869 Fix up includes: need to include stdlib.h in tools.h for exit().
7871 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7873 * gst/gsttaglist.c: (_gst_tag_initialize):
7874 * gst/gsttaglist.h:
7875 API: add GST_TAG_IMAGE tag (#340721).
7877 2006-05-08 Wim Taymans <wim@fluendo.com>
7879 * gst/gstquery.c:
7880 Added some docs for the segment query.
7882 2006-05-08 Wim Taymans <wim@fluendo.com>
7884 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7885 (gst_base_src_loop), (gst_base_src_change_state):
7886 Always push non-flushing serialized events in the streaming
7887 thread.
7889 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7891 * gst/gsterror.c: (_gst_stream_errors_init):
7892 Add a missing error string.
7894 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7896 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7897 Add applied_rate to the debug
7899 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7900 Copy applied_rate into the outgoing NEWSEGMENT event
7902 2006-05-08 Wim Taymans <wim@fluendo.com>
7904 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7906 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7907 (gst_base_sink_change_state):
7908 call ::unlock before taking the PREROLL_LOCK so we can safely
7909 handle elements that lock in ::render.
7910 Fixes #340174.
7912 2006-05-08 Edward Hervey <edward@fluendo.com>
7914 * autogen.sh: (CONFIGURE_DEF_OPT):
7915 Darwin's libtoolize is in fact called glibtoolize.
7916 Adding glibtoolize to the list of accepted names for libtoolize.
7918 2006-05-08 Wim Taymans <wim@fluendo.com>
7920 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7921 Unify error handling, don't post an error message
7922 when a push() returns EOS but perform our normal EOS
7923 handling code. Fixes #340772.
7925 2006-05-08 Wim Taymans <wim@fluendo.com>
7927 * docs/design/part-overview.txt:
7928 Make upsteam/downstream concepts more clear.
7929 Give an example of serialized/non-serialized events.
7931 * docs/design/part-events.txt:
7932 * docs/design/part-streams.txt:
7933 Mention applied_rate.
7935 * docs/design/part-trickmodes.txt:
7936 Mention applied rate, flesh out some more use cases.
7938 * gst/gstevent.c: (gst_event_new_new_segment),
7939 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7940 (gst_event_parse_new_segment_full), (gst_event_new_tag),
7941 (gst_event_parse_tag), (gst_event_new_buffer_size),
7942 (gst_event_parse_buffer_size), (gst_event_new_qos),
7943 (gst_event_parse_qos), (gst_event_parse_seek),
7944 (gst_event_new_navigation):
7945 * gst/gstevent.h:
7946 Add applied_rate field to NEWSEGMENT event.
7947 API: gst_event_new_new_segment_full()
7948 API: gst_event_parse_new_segment_full()
7950 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7951 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7952 (gst_segment_to_stream_time), (gst_segment_to_running_time):
7953 * gst/gstsegment.h:
7954 Add applied_rate to GstSegment structure.
7955 Make calculation of stream_time and running_time more correct
7956 wrt rate/applied_rate.
7957 Add some more docs.
7958 API: GstSegment::applied_rate field
7959 API: gst_segment_set_newsegment_full();
7961 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7962 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7963 * libs/gst/base/gstbasetransform.c:
7964 (gst_base_transform_sink_eventfunc),
7965 (gst_base_transform_handle_buffer):
7966 Parse and use applied_rate in the GstSegment field.
7968 * tests/check/gst/gstevent.c: (GST_START_TEST):
7969 Add check for applied_rate field.
7971 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7972 (gstsegments_suite):
7973 Add more checks for various GstSegment operations.
7975 2006-05-08 Wim Taymans <wim@fluendo.com>
7977 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7978 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7979 (gst_base_sink_get_position), (gst_base_sink_change_state):
7980 Store the sync time of the buffer end position separatly in a
7981 new variable eos_rtime so we can properly sync the EOS event.
7982 Fixes #340697.
7983 Fix the docs for gst_base_sink_set_qos_enabled().
7984 Don't set segment start to invalid value when we receive a
7985 non TIME newsegment.
7986 get closer to handling position reporting for negative rates
7987 correctly.
7989 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7991 * gst/gstcaps.c:
7992 Docs about how to print caps for debug purposes.
7994 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
7995 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
7997 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7999 * gst/gstelement.c:
8000 use full enum names and preprend a '%' in docs strings to make recent
8001 gtk-doc turn that into a link
8003 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8005 * docs/manual/basics-bins.xml:
8006 * docs/manual/basics-bus.xml:
8007 * docs/manual/basics-pads.xml:
8008 Some typo fixes, some additions, some clarifications.
8010 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8012 * tools/gst-inspect.c: (main):
8013 * tools/gst-launch.c: (main):
8014 * tools/gst-run.c: (main):
8015 * tools/gst-typefind.c: (main):
8016 * tools/gst-xmlinspect.c: (main):
8017 Use the string passed to g_option_context_new() for
8018 what it's intended for - the program name is already
8019 printed elsewhere.
8021 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8023 * tools/Makefile.am:
8024 * tools/gst-inspect.c: (main):
8025 * tools/gst-launch.c: (main):
8026 * tools/gst-xmlinspect.c: (main):
8027 * tools/tools.h:
8028 Add back --version command line option (#340460).
8030 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8031 Add --version option and use GOption for argument parsing; refactor a
8032 bit; accept directories as arguments and recurse into them; lastly,
8033 print a decent error message when things go wrong.
8035 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8037 * docs/manual/basics-bins.xml:
8038 Don't mention GstThread (#340611)
8039 * docs/manual/basics-elements.xml:
8040 Update link to GObject tutorial (#340607)
8042 2006-05-05 Wim Taymans <wim@fluendo.com>
8044 * gst/gstbuffer.h:
8045 * gst/gstminiobject.c:
8046 Add note about refcounting and miniobject/buffer writeability
8047 to docs. Fixes #340604
8049 * gst/gstelementfactory.h:
8050 Added some explanation about @klass.
8052 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8054 * docs/manual/intro-motivation.xml:
8055 * docs/manual/manual.xml:
8056 Avoid CORBA & Bonobo references (#340598)
8058 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8060 * docs/manual/basics-bus.xml:
8061 * docs/manual/basics-pads.xml:
8062 Fix up some inaccuracies and omissions (#340609)
8064 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8066 * gst/gstghostpad.c:
8067 Small typo in docs (#340625)
8069 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8071 * gst/parse/Makefile.am:
8072 Make 'make -j' proof (see #340698).
8074 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8076 * configure.ac:
8077 Require GLib-2.8 here as well.
8079 2006-05-05 Wim Taymans <wim@fluendo.com>
8081 * gst/glib-compat.c:
8082 * gst/gst.c: (init_pre):
8083 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8084 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8085 (gst_object_dispatch_properties_changed):
8086 * gst/gstobject.h:
8087 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8088 * gst/gststructure.c: (gst_structure_set_valist):
8089 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8090 Remove pre glib2.8 compatibility, fixes #340508
8092 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8094 * gst/gsttaglist.h:
8095 Mention type of tags in doc blurbs.
8097 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8099 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8100 (gst_pad_configure_src), (gst_pad_push):
8101 Restore acceptcaps checking behaviour now that good plugins have
8102 been released.
8104 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8106 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8108 * gst/gst.c:
8109 * gst/gstbus.c:
8110 * gst/gstclock.c:
8111 * gst/gstevent.c:
8112 * gst/gstformat.c:
8113 * gst/gstmessage.c:
8114 * gst/gstparse.c:
8115 * gst/gstquery.c:
8116 * gst/gstutils.c:
8117 * gst/parse/Makefile.am:
8118 * libs/gst/base/gstadapter.c:
8119 * libs/gst/base/gstbasesrc.c:
8120 * libs/gst/base/gstpushsrc.c:
8121 * libs/gst/base/gsttypefindhelper.c:
8122 * plugins/elements/gstfakesrc.c:
8123 * plugins/elements/gstidentity.c:
8124 Make sure gstprivate.h and/or config.h are
8125 always included first, otherwise some of our
8126 defines (like _FILE_OFFSET_BITS) might be
8127 redefined in the system headers. Fixes build
8128 on opensolaris (#340016).
8130 2006-05-04 Wim Taymans <wim@fluendo.com>
8132 * docs/libs/gstreamer-libs-sections.txt:
8133 API: addition: gst_adapter_take_buffer()
8135 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8136 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8137 (gst_adapter_available_fast):
8138 * libs/gst/base/gstadapter.h:
8139 Prepare for optimizing the hell out of this hugely inefficient
8140 piece of code.
8141 Added gst_adapter_take_buffer() so we can at least start thinking
8142 about subbuffering and merging.
8143 Added some comments.
8145 * tests/check/Makefile.am:
8146 * tests/check/libs/adapter.c: (GST_START_TEST),
8147 (gst_adapter_suite), (main):
8148 Added GstAdapter check.
8150 2006-05-04 Wim Taymans <wim@fluendo.com>
8152 * docs/design/part-overview.txt:
8153 Fix some typos, add blurb about buffer flags.
8155 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8157 * docs/libs/gstreamer-libs-sections.txt:
8158 make sure GstBaseTransformClass shows up in the docs
8159 * libs/gst/base/gstbasetransform.c:
8160 * libs/gst/base/gstbasetransform.h:
8161 move docs so gtk-doc picks it up now
8163 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8165 * docs/libs/gstreamer-libs-sections.txt:
8166 add missing symbols to docs
8168 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8170 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8171 back out the newsegment handling change, see #340060 for ongoing
8172 discussion
8174 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8176 * tools/gst-run.c: (get_candidates), (main):
8177 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8178 work); fix typo in error message. Fixes #340079.
8180 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8182 * common/Makefile.am:
8183 * docs/Makefile.am:
8184 * docs/faq/Makefile.am:
8185 * docs/gst/Makefile.am:
8186 * docs/libs/Makefile.am:
8187 * docs/manual/Makefile.am:
8188 * docs/plugins/Makefile.am:
8189 * docs/pwg/Makefile.am:
8190 * docs/slides/Makefile.am:
8191 * docs/upload.mak:
8192 * common/upload.mak:
8193 move upload.mak to common
8195 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8197 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8198 add more asserts on refcounts
8199 do more cleanup at end of tests
8200 fix test leaks showing in FC5
8202 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8204 * plugins/elements/gsttypefindelement.c:
8205 (gst_type_find_element_handle_event):
8206 reverted wrong change and reflowed code to avoid others falling into
8207 this trap
8209 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8211 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8212 fix changelog entry about last collectpads change,
8213 add notes about proper fix
8215 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8217 * gst/gst.c:
8218 * gst/gstregistry.c: (gst_registry_scan_path_level),
8219 (gst_registry_scan_path):
8220 * gst/gstregistry.h:
8221 only write out registry if it has changed, fixes #338339
8223 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8225 * gst/gstbin.c:
8226 * gst/gstpipeline.c:
8227 * plugins/elements/gstcapsfilter.c:
8228 * plugins/elements/gstfakesink.c:
8229 * plugins/elements/gstfakesrc.c:
8230 * plugins/elements/gstfdsink.c:
8231 * plugins/elements/gstfdsrc.c:
8232 * plugins/elements/gstfilesink.c:
8233 * plugins/elements/gstfilesrc.c:
8234 * plugins/elements/gstidentity.c:
8235 * plugins/elements/gstqueue.c:
8236 * plugins/elements/gsttee.c:
8237 * plugins/elements/gsttypefindelement.c:
8238 (gst_type_find_element_handle_event):
8239 make GstElementDetails const
8241 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8243 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8244 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8245 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8246 more detailed debug and formatting cleanup,
8247 forward newsegments to src-pad (so that e.g. adder not eats them)
8249 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8251 * gst/gstutils.c: (gst_element_link_pads):
8252 cleanup double code
8254 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8256 * libs/gst/controller/gstcontroller.c:
8257 (gst_controller_sync_values):
8258 some little tuning
8259 * tests/check/libs/controller.c: (GST_START_TEST),
8260 (gst_controller_suite):
8261 a new test for live value handling
8263 2006-04-28 Wim Taymans <wim@fluendo.com>
8265 * gst/gstutils.c: (push_and_ref):
8266 Added some more docs.
8267 Fix refcount issue whith gst_element_found_tags() helper
8268 function. Fixes #338335
8270 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8271 Added testsuite for gst_element_found_tags().
8273 2006-04-28 Michael Smith <msmith@fluendo.com>
8275 * gst/gstvalue.c: (gst_value_serialize_flags):
8276 Avoid NULL dereference when trying to serialize flags containing
8277 invalid values.
8279 2006-04-28 Michael Smith <msmith@fluendo.com>
8281 * plugins/elements/gsttypefindelement.c:
8282 (gst_type_find_element_handle_event):
8283 If we get EOS before any data is accumulated, don't use
8284 uninitialised local variables.
8286 2006-04-28 Michael Smith <msmith@fluendo.com>
8288 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8289 (gst_dp_event_from_packet):
8290 Fixes in reading/writing events over GDP (not currently used?) -
8291 dereferencing NULL events for unknown/invalid event types, memory
8292 leak, and change g_warning to GST_WARNING.
8294 2006-04-28 Wim Taymans <wim@fluendo.com>
8296 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8297 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8298 (gst_base_sink_get_position), (gst_base_sink_change_state):
8299 When frame dropping is enabled, we should not ignore frames
8300 without a duration.
8301 Update some documentation.
8303 2006-04-28 Wim Taymans <wim@fluendo.com>
8305 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8306 (gst_base_src_send_event), (gst_base_src_change_state):
8307 Documentation updates.
8309 2006-04-28 Wim Taymans <wim@fluendo.com>
8311 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8312 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8313 handle EAGAIN, EINTR and short writes correctly. Also clean
8314 up some error cases, avoid a deadlock on bad file descriptors and
8315 use GST_DEBUG_OBJECT.
8316 Fixes #339843
8318 2006-04-28 Wim Taymans <wim@fluendo.com>
8320 * gst/gstvalue.c: (gst_value_serialize_buffer),
8321 (gst_value_deserialize_buffer):
8322 Don't try to serialize a GValue with a NULL buffer.
8323 Fixes #339821.
8325 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8326 Added check for serialisation of NULL buffers.
8328 2006-04-28 Wim Taymans <wim@fluendo.com>
8330 * gst/gstminiobject.c: (gst_value_take_mini_object):
8331 Taking a NULL miniobject is valid, fix the case where
8332 we try to unref the NULL miniobject.
8334 2006-04-28 Wim Taymans <wim@fluendo.com>
8336 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8338 * gst/gstbin.c: (gst_bin_handle_message_func):
8339 Update docs.
8340 Don't leak bin refcount when a state recalc is
8341 in progress and we delay another one #339808.
8343 2006-04-28 Wim Taymans <wim@fluendo.com>
8345 * docs/design/part-TODO.txt:
8346 Mention QoS as an ongoing work item.
8348 * docs/design/part-buffering.txt:
8349 New doc about buffering that needs to be fleshed out
8350 at some point.
8352 * docs/design/part-qos.txt:
8353 More QoS policy for decoders/demuxers/transforms
8355 * docs/design/part-trickmodes.txt:
8356 Small update.
8358 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8360 * configure.ac:
8361 back to HEAD
8363 === release 0.10.5 ===
8365 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8367 * configure.ac:
8368 releasing 0.10.5, "Fogo"
8370 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
8372 patch by: Wim Taymans
8374 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8375 (gst_pad_configure_src), (gst_pad_push):
8376 * gst/gstpipeline.c: (gst_pipeline_init):
8377 Fix internal data flow errors. Fixes #338711.
8379 2006-04-12 Wim Taymans <wim@fluendo.com>
8381 * tests/check/gst/gstelement.c: (GST_START_TEST):
8382 Don't leak the factory.
8384 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8386 * configure.ac:
8387 * win32/common/config.h:
8388 prerelease
8390 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
8392 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8393 (gst_controller_unset_all):
8394 Free allocated GstTimedValues when freeing list nodes.
8395 Should fix leaks 'make check-valgrind' complains about.
8397 * win32/common/libgstcontroller.def:
8398 Add gst_controller_unset_all.
8400 2006-04-11 Stefan Kost <ensonic@users.sf.net>
8402 * docs/libs/gstreamer-libs-sections.txt:
8403 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8404 (gst_controller_unset_all):
8405 * libs/gst/controller/gstcontroller.h:
8406 API: Added new method gst_controller_unset_all()
8407 fixed gst_controller_unset()
8408 * tests/check/libs/controller.c: (GST_START_TEST),
8409 (gst_controller_suite):
8410 Added two testcases for new and fixed method
8412 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
8414 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8415 MSG_DONTWAIT is not defined on Cygwin, so work
8416 around that (fixes #317048).
8418 2006-04-11 Wim Taymans <wim@fluendo.com>
8420 * gst/gstelementfactory.c: (gst_element_register),
8421 (gst_element_factory_create), (gst_element_factory_make):
8422 Some cleanups.
8423 Fixed a FIXME.
8424 Updated docs (Fixes #131079)
8426 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8427 Small cleanups.
8429 * tests/check/gst/gstelement.c: (GST_START_TEST),
8430 (gst_element_suite):
8431 Added testcase for elementfactory class field.
8433 2006-04-10 Wim Taymans <wim@fluendo.com>
8435 * gst/gstsegment.c:
8436 Added some more docs.
8438 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8439 (gst_base_sink_reset_qos):
8440 Calculate more accurate rate values.
8442 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
8444 * gst/gst_private.h:
8445 add a new #ifdef to use __declspec(dllimport) only for
8446 other modules and not for gstreamer core
8447 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8448 use gst_guint64_to_gdouble for conversion
8449 * win32/common/libgstreamer.def:
8450 add new exported functions
8451 * win32/vs6/gst_inspect.dsp:
8452 * win32/vs6/gst_launch.dsp:
8453 * win32/vs6/libgstbase.dsp:
8454 * win32/vs6/libgstcontroller.dsp:
8455 * win32/vs6/libgstcoreelements.dsp:
8456 * win32/vs6/libgstdataprotocol.dsp:
8457 * win32/vs6/libgstnet.dsp:
8458 update project files
8460 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8462 * gst/gstbuffer.c: (gst_subbuffer_class_init):
8463 * gst/gstclock.c: (gst_clock_class_init):
8464 * gst/gstelement.c: (gst_element_class_init):
8465 * gst/gstindex.c: (gst_index_class_init):
8466 * gst/gstindexfactory.c: (gst_index_factory_class_init):
8467 * gst/gstobject.c: (gst_object_class_init),
8468 (gst_signal_object_class_init):
8469 * gst/gstpad.c: (gst_pad_class_init):
8470 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8471 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8472 * gst/gstregistry.c: (gst_registry_class_init):
8473 * gst/gstsystemclock.c: (gst_system_clock_class_init):
8474 * gst/gsttask.c: (gst_task_class_init):
8475 * gst/gstxml.c: (gst_xml_class_init):
8476 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8477 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8478 (gst_base_src_loop):
8479 * libs/gst/controller/gstcontroller.c:/
8480 (_gst_controller_class_init):
8481 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8482 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8483 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8484 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8485 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8486 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8488 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8490 * gst/gstpad.c: (gst_pad_link):
8491 Must set peer pads before calling the link function, otherwise
8492 a task started from a link function might get a flow-not-linked
8493 result when trying to push because the other thread where the
8494 linking happens hasn't had a chance to set the peers yet. This
8495 might happen for example when a queue gets linked to a downstream
8496 element, as queue starts a streaming task when its source pad
8497 gets linked. Happens in real life when playing back flac/musepack
8498 files in playbin (#332390).
8500 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8502 * gst/gstindex.h:
8503 * gst/gstxml.h:
8504 * libs/gst/base/gstadapter.h:
8505 * libs/gst/base/gstbasesink.h:
8506 * libs/gst/base/gstbasesrc.h:
8507 * libs/gst/base/gstbasetransform.h:
8508 * libs/gst/base/gstcollectpads.h:
8509 * libs/gst/base/gstpushsrc.h:
8510 Fix broken GObject macros
8512 2006-04-07 Wim Taymans <wim@fluendo.com>
8514 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8515 Initialize start and stop times, thanks valgrind.
8517 2006-04-07 Wim Taymans <wim@fluendo.com>
8519 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8520 Be a bit nicer to badly behaving upstream elements that expect
8521 us to deal with non TIME segments and timestamps (such as fakesrc
8522 in the testsuite).
8524 2006-04-07 Wim Taymans <wim@fluendo.com>
8526 * gst/gstbus.c:
8527 Small documentation clarification about the signal watch.
8529 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8530 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8531 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8532 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8533 (gst_base_sink_get_position_last),
8534 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8535 Convert and store timestamps in stream time and running time, the
8536 raw timestamps are not useful, also document this better.
8537 Use different window sizes for good and bad QoS observations so
8538 we react to badness a little quicker.
8539 Keep track of the amount of rendered and dropped buffers.
8540 Send QoS timestamps in running time.
8542 * libs/gst/base/gstbasetransform.c:
8543 (gst_base_transform_sink_eventfunc),
8544 (gst_base_transform_handle_buffer):
8545 Compare QoS timestamps against running time.
8547 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8549 * gst/gstpad.c:
8550 Typo fixes in docs.
8552 2006-04-06 Michael Smith <msmith@fluendo.com>
8554 * gst/gstpad.c: (gst_pad_set_property):
8555 Use g_value_get_object() instead of g_value_dup_gst_object(),
8556 to avoid double-reffing the pad template (which we then sink,
8557 so this worked previously if (and only if) the pad template
8558 was floating.
8560 * gst/gstpadtemplate.c: (gst_pad_template_init),
8561 (gst_pad_template_pad_created):
8562 Never return floating references to pad templates, create
8563 them as initially-sunken.
8565 Document an extra function (and make this stop sinking our
8566 pad template, since that is now guaranteed to do nothing,
8567 since we created it sunken).
8569 * gst/gstghostpad.c:
8570 Fix docs typo.
8572 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8574 * gst/gstinfo.c: (__gst_in_valgrind):
8575 Add some newlines.
8577 * plugins/elements/gsttypefindelement.c:
8578 (gst_type_find_element_chain):
8579 Don't leak buffer caps.
8581 2006-04-06 Michael Smith <msmith@fluendo.com>
8583 * gst/parse/grammar.y:
8584 Fix a leak in parse-launch for any source-or-sink named element
8585 references used.
8587 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8588 Unref the pipeline if it exists after we've failed parsing.
8590 2006-04-05 Michael Smith <msmith@fluendo.com>
8592 * gst/gstpipeline.c: (gst_pipeline_init):
8593 When we create a pipeline bus, initially create it in flushing mode.
8594 Fixes leaks in at least one test, and makes a new pipeline work the
8595 same as one that has gone to READY and then back to NULL.
8597 * gst/gstelement.c:
8598 Typo fix in docs.
8600 2006-04-05 Michael Smith <msmith@fluendo.com>
8602 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8603 Unref a pad we reffed.
8604 * tests/check/gst/gstutils.c: (GST_START_TEST):
8605 Unref bins
8607 2006-04-05 Michael Smith <msmith@fluendo.com>
8609 * gst/gstquery.c: (gst_query_set_formats),
8610 (gst_query_set_formatsv):
8611 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8613 2006-04-05 Michael Smith <msmith@fluendo.com>
8615 * tests/check/generic/sinks.c: (GST_START_TEST):
8616 Fix a variety of memleaks in sinks check, which are only sometimes
8617 shown by running the tests under valgrind (weird?).
8619 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8621 * docs/version.entities.in:
8622 Fix the substituted entity name after thomas' changes on the
8623 weekend.
8625 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8627 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8628 VALGRIND_PRINTF
8630 2006-04-05 Andy Wingo <wingo@pobox.com>
8632 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8634 * libs/gst/base/gstbasetransform.c
8635 (gst_base_transform_sink_eventfunc): When resetting our segment on
8636 FLUSH_STOP, also update the flag saying we haven't seen a
8637 newsegment.
8639 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8641 Patch by: Paolo Borelli <pborelli at katamail dot com>
8643 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8644 (gst_plugin_check_license):
8645 minor clean-ups: G_DEFINE_TYPE already takes care of the
8646 parent_class stuff, no need to do it twice. Mark array of
8647 license strings as constant. (#337103)
8649 2006-04-04 Michael Smith <msmith@fluendo.com>
8651 * tools/gst-inspect.c: (print_element_list):
8652 Free the right plugin list; fixes a memory leak.
8654 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8656 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8658 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8659 Don't error out on empty buffers (#336945).
8661 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8663 * docs/libs/gstreamer-libs-sections.txt:
8664 * gst/gsttaglist.c:
8665 * libs/gst/base/gstbasesink.c:
8666 * libs/gst/base/gstbasesink.h:
8667 * libs/gst/base/gstbasesrc.c:
8668 * libs/gst/base/gstbasesrc.h:
8669 Documentation updates. Make BaseSink and BaseSrc docs contain the
8670 class structure so that people can actually see the prototypes for
8671 virtual functions they're supposed to be overriding.
8673 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8675 * plugins/elements/gsttypefindelement.c:
8676 (gst_type_find_element_chain):
8677 More debug info; when skipping typefinding, send cached
8678 events in all cases.
8680 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8682 * configure.ac:
8683 use new AS_VERSION and AS_NANO macros
8684 * gst/gst-i18n-lib.h:
8685 * gst/gst.c:
8686 * gst/gsterror.c:
8687 * gst/gstversion.h.in:
8688 * win32/common/config.h:
8689 * win32/common/config.h.in:
8690 update accordingly
8692 2006-03-31 Michael Smith <msmith@fluendo.com>
8694 * plugins/elements/gsttypefindelement.c:
8695 (gst_type_find_element_chain):
8696 Do not typefind content if the buffers already have caps.
8697 Neccesary for icydemux (#333657), and the right thing to do anyway.
8699 2006-03-30 Wim Taymans <wim@fluendo.com>
8701 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8702 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8703 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8704 (gst_base_sink_record_qos_observation),
8705 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8706 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8707 (gst_base_sink_change_state):
8708 More QoS measurements as described in the design doc.
8709 Get rid of ringbuffer with observations, running average is
8710 more simple and equally good.
8711 Calculates valid proportion now.
8712 Added beginning of flood measurement.
8714 2006-03-29 Wim Taymans <wim@fluendo.com>
8716 * docs/design/part-qos.txt:
8717 * gst/gstclock.c:
8718 Small documentation updates and additions.
8720 2006-03-29 Wim Taymans <wim@fluendo.com>
8722 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8723 (gst_base_src_send_event), (gst_base_src_loop),
8724 (gst_base_src_change_state):
8725 Perform the EOS logic when we reach the segment stop position.
8726 Fix compilation on gcc4.1
8728 2006-03-29 Wim Taymans <wim@fluendo.com>
8730 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8732 * plugins/elements/gstqueue.c: (gst_queue_init),
8733 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8734 (gst_queue_set_property):
8735 * plugins/elements/gstqueue.h:
8736 In queue, when EOS is received, if minimum threshold > max_size -
8737 current_level, there is chance that queue blocks forever in conditional
8738 item del wait. This is because the queue is not emptied completely due
8739 to minimum threshold. Here is another approach. Instead of setting
8740 cur_levels to max in EOS, just zero all minimum threshold levels. This
8741 should make sure that queue gives out all data. When going to READY
8742 (stop) state, just reset the original minimum threshold levels.
8743 Fixes #336336.
8745 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8747 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8748 (gst_type_find_element_handle_event),
8749 (gst_type_find_element_send_cached_events),
8750 (gst_type_find_element_change_state):
8751 * plugins/elements/gsttypefindelement.h:
8752 When typefinding is done in push mode, we should cache
8753 events we receive during typefinding instead of just
8754 dropping them (e.g. newsegment, custom events from
8755 dvdreadsrc etc.) and then send them out once we've
8756 determined the type of the stream (and decodebin
8757 has had a chance to plug in a decoder/demuxer).
8759 2006-03-27 Wim Taymans <wim@fluendo.com>
8761 * docs/design/part-qos.txt:
8762 First QoS ideas.
8764 2006-03-27 Wim Taymans <wim@fluendo.com>
8766 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8768 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8769 (gst_base_src_send_event), (gst_base_src_change_state):
8770 Handle element seek correctly when we are streaming.
8771 Fixes #326998.
8773 2006-03-24 Michael Smith <msmith@fluendo.com>
8775 * docs/faq/gst-uninstalled:
8776 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8777 allow you to correctly run intalled applications built against old
8778 core, using plugins that require updated core (e.g. running
8779 installed totem against a full uninstalled gstreamer stack)
8781 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8783 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8784 more debug details
8786 2006-03-24 Wim Taymans <wim@fluendo.com>
8788 * docs/gst/gstreamer-sections.txt:
8789 Rearrange the order of the methods so that related methods
8790 are grouped together in sections.
8792 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8794 * gst/gstelement.c:
8795 Little clarification in the docs
8797 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8799 * docs/README:
8800 formatting fix
8801 * plugins/elements/gstidentity.c:
8802 * plugins/elements/gstqueue.c:
8803 * plugins/elements/gsttee.c:
8804 * plugins/elements/gsttypefindelement.c:
8805 GST_ELEMENT_DETAILS formatting
8807 2006-03-24 Wim Taymans <wim@fluendo.com>
8809 * libs/gst/base/gstbasesink.h:
8810 Only add fields, not insert or we break ABI.
8812 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8814 * win32/common/libgstbase.def:
8815 * win32/common/libgstreamer.def:
8816 Update, add recently added functions.
8818 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8820 * docs/gst/gstreamer-sections.txt:
8821 * gst/gstutils.c: (gst_pad_query_peer_position),
8822 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8823 * gst/gstutils.h:
8824 API: add some new utility functions:
8825 - gst_pad_query_peer_position()
8826 - gst_pad_query_peer_duration()
8827 - gst_pad_query_peer_convert()
8829 2006-03-23 Wim Taymans <wim@fluendo.com>
8831 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8832 (gst_base_sink_init), (gst_base_sink_finalize),
8833 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8834 (gst_base_sink_set_property), (gst_base_sink_get_property),
8835 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8836 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8837 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8838 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8839 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8840 (gst_base_sink_preroll_object), (gst_base_sink_event),
8841 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8842 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8843 (gst_base_sink_query), (gst_base_sink_change_state):
8844 Decouple max-lateness and the fact that QoS messages are generated
8845 with a new property (qos).
8846 added API: GstBaseSink::async_play()
8847 Add vmethod so subclasses can be notified of ASYNC playing
8848 state changes.
8849 Collect timestamp start and stop to report better current
8850 position in EOS/PLAYING/PAUSED/READY/NULL.
8851 Refactor QoS/frame dropping and other measurements.
8852 API: GstBaseSrc::qos
8853 Fixes #326311
8855 * libs/gst/base/gstbasesink.h:
8856 Added Private struct.
8857 API: gst_base_sink_set_qos_enabled()
8858 API: gst_base_sink_is_qos_enabled()
8860 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8862 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8863 If compiling against GLib-2.8 or newer, try to read the
8864 registry file using GMappedFile first before falling back
8865 to fopen() + fread() (#332151).
8867 2006-03-22 Wim Taymans <wim@fluendo.com>
8869 * gst/gstinfo.c: (gst_debug_set_active),
8870 (gst_debug_category_set_threshold):
8871 Disable debugging unless explicitly activated.
8872 Fixes #335480.
8874 2006-03-22 Wim Taymans <wim@fluendo.com>
8876 * gst/gstelement.c: (gst_element_set_locked_state),
8877 (gst_element_dispose):
8878 Cleanup the error case.
8880 * gst/gstobject.c: (gst_object_dispose):
8881 print a critical when some object was disposed with
8882 a parent, also revive the object since it might
8883 crash the parent.
8885 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8887 * tools/gst-launch.1.in:
8888 Fix another typo.
8890 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8892 * configure.ac:
8893 * tests/check/Makefile.am:
8894 disable some tests when we don't have a registry
8895 * tests/check/gst/gstutils.c: (gst_utils_suite):
8896 don't build the part that needs parsing
8898 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8900 * gst/Makefile.am
8901 * tests/examples/Makefile.am:
8902 fix --disable-parse build
8904 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8906 * tools/gst-feedback.1.in:
8907 Fix typo: s/feeback/feedback/ (#133494).
8909 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8911 * tools/Makefile.am:
8912 * tools/gst-launch.1.in:
8913 Add FILES section and correct entry about GST_REGISTRY_PATH
8914 environment variable (#133495; #133494).
8916 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8918 * tools/Makefile.am:
8919 * tools/gst-md5sum.1.in:
8920 * tools/gst-md5sum.c:
8921 Remove gst-md5sum and man page (the md5sink element
8922 required was removed ages ago)
8924 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8926 * gst/gststructure.c: (gst_structure_id_set_value):
8927 Make sure that string fields in structures/taglists
8928 contain valid UTF-8 - we don't want to pass rubbish to
8929 applications because of a buggy plugin (cp. #334167).
8931 2006-03-21 Edward Hervey <edward@fluendo.com>
8933 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8934 (gst_bin_handle_message_func):
8935 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8936 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8937 (gst_element_set_bus_func):
8938 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8939 * gst/gstminiobject.c: (gst_value_set_mini_object),
8940 (gst_value_take_mini_object):
8941 * gst/gstpad.c: (gst_pad_set_pad_template):
8942 * gst/gstpipeline.c: (gst_pipeline_dispose),
8943 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8944 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8945 (gst_collect_pads_chain):
8946 * libs/gst/net/gstnettimeprovider.c:
8947 (gst_net_time_provider_set_property):
8948 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8949 It's in fact all issues with gst_*object_replace().
8951 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8953 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
8955 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8956 * pkgconfig/gstreamer-check.pc.in:
8957 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8959 2006-03-21 Edward Hervey <edward@fluendo.com>
8961 * gst/gstbuffer.h:
8962 * gst/gstevent.h:
8963 * gst/gstmessage.h:
8964 gst_[buffer|event|message]_ref() macros are replaced by a static
8965 inline functions because gcc-4.1 will about if the return value
8966 isn't used.
8967 * tests/check/gst/gstevent.c: (event_probe):
8968 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8970 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
8972 * gst/gstutils.h:
8973 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8974 the type' case. (Closes: #335195 for now). In the future, when we
8975 depend on GLib 2.10, we could also intern the type name using
8976 g_intern_static_string()
8978 2006-03-20 Wim Taymans <wim@fluendo.com>
8980 * gst/gstbin.c: (gst_bin_handle_message_func),
8981 (bin_query_max_init), (bin_query_position_fold),
8982 (bin_query_position_done), (gst_bin_query):
8983 Position query should also take max of all streams.
8985 2006-03-20 Wim Taymans <wim@fluendo.com>
8987 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8988 (gst_fake_src_finalize):
8989 Fix leaks in fakesrc.
8991 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8992 Fix leaks in the testcase.
8994 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
8996 * gst/gst_private.h:
8997 add win32 specific import decoration(__declspec(dllimport))
8998 for all extern GstDebugCategory * variables
8999 * win32/common/libgstbase.def:
9000 * win32/common/libgstcontroller.def:
9001 * win32/common/libgstreamer.def:
9002 Add some exports, remove empty lines
9003 * win32/common/libgstdataprotocol.def:
9004 * win32/common/libgstdataprotocol.dsp:
9005 * win32/common/libgstnet.def:
9006 * win32/common/libgstnet.dsp:
9007 new project files and exportation files added
9009 2006-03-19 Wim Taymans <wim@fluendo.com>
9011 * tests/check/libs/basesrc.c: (eos_event_counter):
9012 Use proper return value for probe.
9014 2006-03-17 Wim Taymans <wim@fluendo.com>
9016 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9017 (gst_pad_push):
9018 Don't leak buffers, caps and pads on negotiation errors.
9020 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9022 * docs/faq/cvs.xml:
9023 * docs/faq/dependencies.xml:
9024 * docs/faq/developing.xml:
9025 * docs/faq/faq.xml:
9026 * docs/faq/general.xml:
9027 * docs/faq/getting.xml:
9028 * docs/faq/legal.xml:
9029 * docs/faq/troubleshooting.xml:
9030 * docs/faq/using.xml:
9031 Faq review and update.
9033 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9035 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9036 (gst_pad_push):
9037 Don't pound the cpu to pieces by checking get_caps when accept_caps
9038 is called with the same caps as the pad already has.
9039 Use GST_DEBUG_OBJECT when outputting caps change information.
9041 2006-03-15 Wim Taymans <wim@fluendo.com>
9043 * gst/gstclock.c: (gst_clock_class_init):
9044 Fix docs.
9046 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9048 * gst/gstbuffer.h:
9049 Documentation fix.
9051 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9052 (gst_pad_accept_caps), (gst_pad_configure_sink),
9053 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9054 Make the default acceptcaps behaviour be to check the requested
9055 caps against the gst_pad_get_caps output.
9057 Ensure that gst_pad_accept_caps is used to check caps when a pad
9058 doesn't have a setcaps function, so that pads automatically refuse
9059 caps that they don't allow in their pad template. (Fixes #332986)
9061 When a buffer with attached caps is pushed, ensure that the source
9062 pad receives those caps even if the element didn't call
9063 gst_pad_set_caps first.
9065 2006-03-15 Wim Taymans <wim@fluendo.com>
9067 * libs/gst/base/gstadapter.c:
9068 Add some docs.
9070 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9072 * win32/common/libgstbase.def:
9073 * win32/common/libgstcontroller.def:
9074 * win32/common/libgstreamer.def:
9075 Add a whole bunch of missing functions (#334434).
9077 2006-03-14 Wim Taymans <wim@fluendo.com>
9079 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9080 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9081 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9082 Better debug info when we receive a segment event.
9083 Reorganize a bit so we can pass the get_times() results around.
9084 Use the segment format when calculating the running time.
9085 Don't do QoS is sync is disabled or we have no clock or the
9086 element does not want us to sync to the clock.
9087 Don't drop buffers if QoS is disabled for now.
9089 2006-03-14 Wim Taymans <wim@fluendo.com>
9091 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9092 Marked the stats property as unimplemented so people don't get
9093 wild ideas.
9094 Add debug message when regression goes wrong.
9095 Added some more docs.
9097 2006-03-14 Wim Taymans <wim@fluendo.com>
9099 * gst/gstsegment.c: (gst_segment_to_stream_time):
9100 Return correct return type in case of errors.
9102 2006-03-14 Wim Taymans <wim@fluendo.com>
9104 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9105 Don't segfault on invalid formats.
9107 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9109 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9110 Can't use gst_segment_to_running_time() when the segment
9111 is not in GST_TIME_FORMAT (like with filesink, for example).
9112 Stops flac encoding pipelines from spewing critical warnings
9113 at EOS (#331248).
9115 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9117 * gst/gstpipeline.c: (gst_pipeline_class_init):
9118 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9120 * plugins/elements/gsttypefindelement.c:
9121 (gst_type_find_element_handle_event):
9122 Don't try to typefind empty streams.
9124 2006-03-14 Wim Taymans <wim@fluendo.com>
9126 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9127 (gst_base_sink_do_qos):
9128 Separate QoS calculation.
9129 Only drop buffers when lateness is bigger than the
9130 duration of the buffer.
9132 2006-03-13 Wim Taymans <wim@fluendo.com>
9134 * gst/gstpipeline.c: (gst_pipeline_set_property),
9135 (gst_pipeline_get_property), (do_pipeline_seek),
9136 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9137 (gst_pipeline_get_delay):
9138 Don't deadlock when reading properties.
9140 2006-03-13 Wim Taymans <wim@fluendo.com>
9142 * libs/gst/base/gstbasetransform.c:
9143 (gst_base_transform_class_init), (gst_base_transform_init),
9144 (gst_base_transform_sink_event),
9145 (gst_base_transform_sink_eventfunc),
9146 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9147 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9148 (gst_base_transform_set_property),
9149 (gst_base_transform_get_property),
9150 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9151 (gst_base_transform_set_qos_enabled),
9152 (gst_base_transform_is_qos_enabled):
9153 * libs/gst/base/gstbasetransform.h:
9154 Make basetransform virtual method for src events too.
9155 Handle QOS in basetransform.
9156 API: gst_base_transform_update_qos()
9157 API: gst_base_transform_set_qos_enabled()
9158 API: gst_base_transform_is_qos_enabled()
9160 2006-03-13 Wim Taymans <wim@fluendo.com>
9162 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9163 (gst_base_sink_do_sync):
9164 Small cleanups.
9165 Use QOS debug category.
9167 2006-03-13 Wim Taymans <wim@fluendo.com>
9169 * plugins/elements/gstqueue.c:
9170 Very small doc update.
9172 2006-03-13 Wim Taymans <wim@fluendo.com>
9174 * gst/gst_private.h:
9175 * gst/gstinfo.c: (_gst_debug_init):
9176 Added QOS debug category
9178 2006-03-13 Wim Taymans <wim@fluendo.com>
9180 * docs/gst/gstreamer-sections.txt:
9181 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9182 * gst/gstbin.h:
9183 * gst/gstbus.c: (gst_bus_class_init):
9184 * gst/gstbus.h:
9185 * gst/gstclock.c:
9186 * gst/gstelement.c: (gst_element_set_locked_state):
9187 * gst/gstsegment.c:
9188 Documentation updates.
9190 * gst/gstpipeline.c: (gst_pipeline_get_type),
9191 (gst_pipeline_class_init), (gst_pipeline_init),
9192 (gst_pipeline_dispose), (gst_pipeline_set_property),
9193 (gst_pipeline_get_property), (do_pipeline_seek),
9194 (gst_pipeline_send_event), (gst_pipeline_change_state),
9195 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9196 (gst_pipeline_get_delay):
9197 * gst/gstpipeline.h:
9198 Added methods for setting the delay.
9199 API: gst_pipeline_set_delay()
9200 API: gst_pipeline_get_delay()
9201 Add pipeline debug category
9202 Various cleanups.
9203 Updated docs.
9204 Don't reset stream time when seek failed.
9206 2006-03-13 Wim Taymans <wim@fluendo.com>
9208 * docs/design/draft-klass.txt:
9209 * docs/design/part-clocks.txt:
9210 * docs/design/part-events.txt:
9211 * docs/design/part-gstbin.txt:
9212 * docs/design/part-gstpipeline.txt:
9213 * docs/design/part-messages.txt:
9214 * docs/design/part-negotiation.txt:
9215 * docs/design/part-overview.txt:
9216 * docs/design/part-preroll.txt:
9217 * docs/design/part-seeking.txt:
9218 * docs/design/part-states.txt:
9219 * docs/design/part-streams.txt:
9220 Documentation updates.
9222 2006-03-12 Julien MOUTTE <julien@moutte.net>
9224 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9225 us to leak strings...
9227 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9229 * libs/gst/net/gstnettimeprovider.c:
9230 fix docs
9231 * win32/common/config.h:
9232 update
9234 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9236 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9238 * configure.ac:
9239 Don't check for libgnomeui (leftover from old examples
9240 that aren't built or disted any longer) (#334303).
9242 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9244 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9245 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9246 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9247 there's no space left on the device.
9249 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9251 * gst/gstclock.h:
9252 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9253 to cast the input to GstClockTime before comparing with
9254 another GstClockTime value.
9256 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9258 * configure.ac:
9259 back to trunk
9261 === release 0.10.4 ===
9263 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9265 * configure.ac:
9266 releasing 0.10.4, "Light"
9268 2006-03-10 Michael Smith <msmith@fluendo.com>
9270 * libs/gst/dataprotocol/dataprotocol.c:
9271 Fix docs for dataprocotol to not get the return types completely
9272 wrong for a few functions.
9274 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9276 * docs/gst/gstreamer-sections.txt:
9277 * gst/gstpipeline.c: (gst_pipeline_class_init),
9278 (gst_pipeline_init), (gst_pipeline_set_property),
9279 (gst_pipeline_get_property), (gst_pipeline_change_state),
9280 (gst_pipeline_set_auto_flush_bus),
9281 (gst_pipeline_get_auto_flush_bus):
9282 * gst/gstpipeline.h:
9283 Add new API: gst_pipeline_set_auto_flush_bus() and
9284 gst_pipeline_get_auto_flush_bus() to disable automatic
9285 flushing of the pipeline's GstBus when going from READY
9286 to NULL state (#332045).
9288 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9290 * docs/gst/gstreamer-sections.txt:
9291 * gst/gsturi.c: (gst_uri_has_protocol):
9292 * gst/gsturi.h:
9293 Add new API: gst_uri_has_protocol() (#333779).
9295 2006-03-09 Wim Taymans <wim@fluendo.com>
9297 * gst/gstclock.c: (gst_clock_entry_new),
9298 (gst_clock_id_compare_func), (gst_clock_id_wait),
9299 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9300 (gst_clock_init), (gst_clock_get_internal_time),
9301 (gst_clock_set_master), (do_linear_regression),
9302 (gst_clock_add_observation), (gst_clock_set_property):
9303 * gst/gstclock.h:
9304 Review docs.
9305 Small cleanups.
9306 Fix a possible segfault when the window-size is made smaller.
9307 Calculate jitter before performing the clock wait. Ideally
9308 the clock implementation should calculate jitter but we need
9309 API breakage for that.
9311 * gst/gstsystemclock.c: (gst_system_clock_init):
9312 Docs review.
9314 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9315 Remove leftover else
9317 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9318 (gst_systemclock_suite):
9319 Added check to test GST_CLOCK_DIFF.
9321 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9323 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9324 (gst_type_find_helper_get_range):
9325 If we are provided with the size, we should implement
9326 GstTypeFind::get_length, so that typefind functions who
9327 want to can actually peek at the middle of a file.
9329 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9331 * docs/manual/advanced-dataaccess.xml:
9332 Add some very very basic error checking.
9334 * docs/pwg/appendix-checklist.xml:
9335 Some updates to the list of things to check when writing an element.
9337 2006-03-08 Wim Taymans <wim@fluendo.com>
9339 * docs/design/part-element-transform.txt:
9340 Added some docs about the design of tranform elements.
9342 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9343 (gst_base_src_loop), (gst_base_src_change_state):
9344 Mark buffers with the DISCONT flag.
9346 2006-03-08 Michael Smith <msmith@fluendo.com>
9348 * gst/gstregistry.h:
9349 * gst/gstregistryxml.c: (gst_registry_save),
9350 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9351 (gst_registry_xml_save_pad_template),
9352 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9353 (gst_registry_xml_write_cache):
9354 Rewrite registry-saving to avoid race conditions and check for
9355 failed writes.
9357 2006-03-08 Wim Taymans <wim@fluendo.com>
9359 * libs/gst/base/gstbasetransform.c:
9360 (gst_base_transform_transform_caps),
9361 (gst_base_transform_transform_size),
9362 (gst_base_transform_prepare_output_buffer),
9363 (gst_base_transform_get_unit_size),
9364 (gst_base_transform_buffer_alloc),
9365 (gst_base_transform_handle_buffer),
9366 (gst_base_transform_change_state):
9367 Cleanups, separate normal flow from errors, add sensible
9368 DEBUG lines.
9369 Don't try to renegotiate when allocating an output buffer.
9370 Also copy DISCONT buffer flag when copying a buffer.
9371 Reset the transform after we finish streaming, not during.
9373 2006-03-08 Wim Taymans <wim@fluendo.com>
9375 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9376 Use last buffer timestamp in qos message.
9378 2006-03-07 Wim Taymans <wim@fluendo.com>
9380 Patch by: Christophe Fergeau
9382 * docs/pwg/advanced-tagging.xml:
9383 * docs/pwg/building-pads.xml:
9384 fixes #333416
9386 2006-03-07 Wim Taymans <wim@fluendo.com>
9388 * docs/libs/gstreamer-libs-sections.txt:
9389 Added basesink new methods.
9391 * gst/gstevent.c:
9392 * gst/gstevent.h:
9393 Docs updates. Flesh out the QoS docs.
9395 * libs/gst/base/gstadapter.c:
9396 Small doc clarification about ownership and flushing.
9398 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9399 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9400 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9401 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9402 * libs/gst/base/gstbasesink.h:
9403 API additions:
9404 Added new methods to allow subclass to control max-lateness
9405 and sync.
9406 Generate very basic QoS events based on last sync observation.
9407 Updated docs, fix typo, added some QoS blurb.
9409 * libs/gst/base/gstbasesrc.c:
9410 Remove obsolete _get_state() calls from docs.
9412 2006-03-07 Wim Taymans <wim@fluendo.com>
9414 * docs/libs/gstreamer-libs-sections.txt:
9415 * libs/gst/base/gstbasetransform.h:
9416 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9417 Fix docs for GstBaseSrc.
9419 2006-03-07 Wim Taymans <wim@fluendo.com>
9421 * docs/gst/gstreamer-sections.txt:
9422 * gst/gstbuffer.h:
9423 * gst/gstvalue.c:
9424 * libs/gst/base/gstbasetransform.h:
9425 Small documentation fixes.
9427 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9429 * gst/gstvalue.c:
9430 Document thread-unsafety of gst_value_register_foo_func()
9431 when used at the same time as gst_value_foo() (#322628).
9433 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9435 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9436 (gst_push_src_check_get_range):
9437 Push sources don't support pull mode by default.
9439 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9441 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9442 (gst_base_src_init), (gst_base_src_pad_check_get_range),
9443 (gst_base_src_default_check_get_range):
9444 * libs/gst/base/gstbasesrc.h:
9445 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9446 provide default implementation, and rename
9447 gst_base_src_check_get_range() to
9448 gst_base_src_pad_check_get_range() for clarity.
9450 2006-03-06 Wim Taymans <wim@fluendo.com>
9452 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9453 Make property overridable.
9455 2006-03-06 Wim Taymans <wim@fluendo.com>
9457 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9458 (gst_base_sink_init), (gst_base_sink_set_property),
9459 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9460 * libs/gst/base/gstbasesink.h:
9461 API addition: Make max-lateness a property.
9463 2006-03-06 Wim Taymans <wim@fluendo.com>
9465 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9466 (gst_base_sink_do_sync), (gst_base_sink_render_object):
9467 Don't ever draw a frame that is >10ms late.
9469 2006-03-06 Michael Smith <msmith@fluendo.com>
9471 * gst/gstmessage.c: (_gst_message_copy):
9472 When copying a message, set the parent_refcount of the enclosed
9473 structure to point at the copy, not the original message.
9475 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9477 Patch by: Christophe Fergeau
9479 * gst/gstutils.h:
9480 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9481 usable in c++ code (#333417)
9483 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9485 * gst/gstclock.h:
9486 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9488 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9490 * libs/gst/base/gstbasetransform.c:
9491 (gst_base_transform_transform_caps):
9492 Make sure caps are writable before passing them to
9493 gst_caps_append().
9495 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9497 * gst/gsterror.h:
9498 Fix some minor docs errors.
9500 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9502 Patch by: Ross Burton <ross at burtonini dot com>
9504 * gst/gsterror.c: (_gst_resource_errors_init):
9505 * gst/gsterror.h:
9506 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9508 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9510 * gst/gst.c:
9511 Add a check and output a g_warning when GStreamer is built
9512 against GLib 2.6 but running against 2.8 or higher, and vice
9513 versa. (Closes: #323542)
9515 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9517 * gst/parse/parse.l:
9518 Commit patch for parse_launch syntax from #331255. Removes
9519 support for quoted strings and mimetypes when writing filtered
9520 caps. See the bug report for more details - I'm pretty sure this
9521 obscure feature is not in use by _anyone_ anywhere.
9523 With this simple change, the size of the gstreamer.so here
9524 drops from 2193KB to 1565KB.
9526 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9528 * plugins/elements/gsttypefindelement.h:
9529 * plugins/elements/gsttypefindelement.c:
9530 (gst_type_find_element_src_event), (start_typefinding),
9531 (stop_typefinding), (gst_type_find_element_handle_event),
9532 (gst_type_find_element_chain),
9533 (gst_type_find_element_chain_do_typefinding):
9534 Use gst_type_find_helper_for_buffer() for chain-based
9535 typefinding.
9537 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9539 * plugins/elements/gsttypefindelement.c:
9540 (gst_type_find_element_class_init),
9541 (gst_type_find_element_set_property),
9542 (gst_type_find_element_get_property):
9543 Deprecate "maximum" property (not only was it only taken into
9544 account for typefinding in push-mode anyway, it also was never
9545 actually possible to set it in the first place because the
9546 property was registered with the numeric property ID for the
9547 "minimum" property). Register "maximum" property correctly,
9548 for the sake of future copy'n'pasters. Remove some cruft
9549 from property get/set functions.
9551 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9553 * plugins/elements/gsttypefindelement.c:
9554 (gst_type_find_element_activate):
9555 Use gst_type_find_helper_get_range() here, so we
9556 can honour the "minimum" property and also emit
9557 the signal with the correct probability of the found caps.
9559 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9561 * docs/libs/gstreamer-libs-sections.txt:
9562 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9563 (helper_find_suggest), (gst_type_find_helper_get_range),
9564 (gst_type_find_helper):
9565 * libs/gst/base/gsttypefindhelper.h:
9566 New API: gst_type_find_helper_get_range() (#333042).
9568 2006-03-02 Michael Smith <msmith@fluendo.com>
9570 * gst/gstregistryxml.c: (load_feature):
9571 Asserting on a failure to read part of the registry is Not Cool.
9572 Just log a warning and return NULL (which is already handled)
9574 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9576 * win32/common/libgstbase.def:
9577 added export of gst_type_find_helper_for_buffer
9578 * win32/common/libgstbase.def:
9579 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9580 gst_ghost_pad_get_target
9582 2006-02-28 Wim Taymans <wim@fluendo.com>
9584 * docs/design/draft-klass.txt:
9585 We use Filter now.
9586 Added Connector to mark elements that are only used to
9587 allow pipeline connections.
9588 Moved Debug to extra feature since most of them are
9589 functionally something else.
9591 2006-02-28 Wim Taymans <wim@fluendo.com>
9593 * docs/design/draft-klass.txt:
9594 Some updates and clarifications.
9596 2006-02-28 Wim Taymans <wim@fluendo.com>
9598 * docs/design/draft-klass.txt:
9599 Proposal for klass field values.
9601 * docs/design/part-streams.txt:
9602 Start of a doc describing stream anatomy.
9604 2006-02-28 Wim Taymans <wim@fluendo.com>
9606 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9607 Help the compiler a bit with type registration.
9608 Use existing forward cod path instead of duplicating it when
9609 handling a message.
9611 * gst/gstbus.c: (gst_bus_get_type):
9612 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9613 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9614 * gst/gstclock.c: (gst_clock_get_type):
9615 * gst/gstelement.c: (gst_element_get_type),
9616 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9617 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9618 * gst/gstminiobject.c: (gst_mini_object_get_type):
9619 * gst/gstpad.c: (gst_pad_get_type):
9620 * gst/gstsegment.c: (gst_segment_get_type):
9621 * gst/gststructure.c: (gst_structure_get_type):
9622 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9623 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9624 * gst/gstvalue.c:
9625 Help compiler with type registration.
9627 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9628 Small doc update.
9630 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9632 * plugins/elements/gsttypefindelement.c:
9633 (gst_type_find_element_handle_event):
9634 When we get an EOS event and have not found a type yet
9635 (most likely because we had not yet accumulated
9636 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9637 type given the data we have so far. Fixes typefinding
9638 for very short streams again, most notably quicktime
9639 redirections as used on Apple's trailer site (#331701).
9641 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9643 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9644 (gst_type_find_helper):
9645 Try typefinding factories with the highest rank first.
9647 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9649 * docs/libs/gstreamer-libs-docs.sgml:
9650 * docs/libs/gstreamer-libs-sections.txt:
9651 * libs/gst/base/gsttypefindhelper.c:
9652 Add section for typefind helper and add documentation
9653 for the old and the new function.
9655 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9657 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9658 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9659 (gst_type_find_helper_for_buffer):
9660 * libs/gst/base/gsttypefindhelper.h:
9661 New API: gst_type_find_helper_for_buffer() (#332723).
9663 2006-02-27 Michael Smith <msmith@fluendo.com>
9665 Patch by: Loïc Minier
9667 * configure.ac:
9668 * docs/Makefile.am:
9669 * docs/slides/Makefile.am:
9670 prevent CVS directories getting disted.
9672 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9674 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9675 Use the REFCOUNTING category for caps refcounting.
9677 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9679 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9680 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9682 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9684 * plugins/elements/gsttypefindelement.c:
9685 (gst_type_find_element_activate):
9686 Use gst_pad_check_pull_range() before _activate_pull()
9687 to avoid unnecessary open/close (see #331690).
9689 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9691 * gst/gstutils.c:
9692 Docs enhancement: make it crystal clear what the
9693 gst_pad_add_*_probe() callbacks should look like.
9695 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9697 * libs/gst/base/gstbasesrc.c:
9698 Document how applications can stop recording from
9699 live sources (see #330996).
9701 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9703 * tests/check/Makefile.am:
9704 * tests/check/libs/basesrc.c: (eos_event_counter),
9705 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9706 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9707 (gst_basesrc_suite), (main):
9708 ... and add some tests for the base source EOS stuff.
9710 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9712 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9713 Test case originally showed the problem fixed below,
9714 but was then amended. Add checks back at the place
9715 where they used to be.
9717 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9719 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9720 (gst_base_src_init), (gst_base_src_loop),
9721 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9722 (gst_base_src_change_state):
9723 * libs/gst/base/gstbasesrc.h:
9724 Don't unconditionally send EOS when going from PAUSED to
9725 READY state, esp. make sure we don't send two EOS events
9726 in some cases (e.g. one when reaching EOS and one when
9727 going from PAUSED to READY). Also, we don't want to send
9728 EOS events when operating in pull mode. However, we do
9729 want to send an EOS event when shutting down a live
9730 source explicitly, for example (fixes #330996).
9732 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9734 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9735 Update src->read_position after a seek when not using mmap.
9736 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9738 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9740 * gst/Makefile.am:
9741 * gst/gstparse.h:
9742 * gst/gstutils.c:
9743 * gst/gstutils.h:
9744 Make things work with --disable-parse as they do with
9745 --disable-load-save - the symbols involved disappear, but the
9746 header is still installed and GST_DISABLE_PARSE is included via
9747 gstconfig.h
9749 2006-02-20 Julien MOUTTE <julien@moutte.net>
9751 * libs/gst/base/gstbasetransform.c:
9752 (gst_base_transform_change_state): Fix a stupid bug. I was
9753 sure I compiled that.
9755 2006-02-20 Julien MOUTTE <julien@moutte.net>
9757 * gst/gstpad.c: (gst_pad_set_blocked_async):
9758 * gst/gstutils.c: (gst_pad_add_data_probe),
9759 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9760 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9761 (gst_pad_remove_buffer_probe): Make those function act on the
9762 ghostpad target when it's a ghostpad. (Closes #331727)
9764 2006-02-20 Julien MOUTTE <julien@moutte.net>
9766 * libs/gst/base/gstbasetransform.c:
9767 (gst_base_transform_change_state): Make basetransform reusable.
9768 (Closes #331898)
9770 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9772 * docs/random/release:
9773 Move the current documentation of how to do a release to the top
9774 of the file.
9776 * gst/gstbin.c: (gst_bin_class_init),
9777 (gst_bin_handle_message_func):
9778 Allow multiple state-recalculation threads. (Closes #328873)
9780 2006-02-19 Julien MOUTTE <julien@moutte.net>
9782 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9783 * gst/gstpad.c: (gst_pad_set_event_function),
9784 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9785 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9786 2 strings. You can't use the STR_NULL macro on that.
9788 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9790 * gst/gstpad.c: (gst_pad_set_event_function),
9791 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9792 (gst_pad_set_getcaps_function)
9793 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9794 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9795 So now, we can use --gst-debug-level=5 on Windows
9796 * win32/common/libgstcontroller.def:
9797 Added export of gst_controller_init
9798 * win32/vs6/libgstcontroller.dsp:
9799 Fixed Release post build configuration
9801 2006-02-17 Wim Taymans <wim@fluendo.com>
9803 * tests/check/gst/gstquery.c: (GST_START_TEST):
9804 Added another check.
9806 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9808 * plugins/elements/gsttypefindelement.c: (find_peek):
9809 We can do peeks at non-zero offsets, as long as they
9810 fall within the buffer we have.
9812 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9814 * tests/check/Makefile.am:
9815 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9816 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9817 (parse_suite), (main):
9818 Add testsuite for parse launch syntax
9820 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9822 * plugins/elements/gsttypefindelement.c:
9823 (gst_type_find_element_chain):
9824 When typefinding is unsuccessful in the chain function, don't
9825 error out immediately. Only error out with NO_CAPS_FOUND if
9826 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9827 otherwise simply wait for more data so we can try typefinding
9828 again with more data later. Also, don't attempt to typefind
9829 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9830 this should improve typefinding from network sources where the
9831 size of the first buffer can be somewhat random.
9833 2006-02-14 Wim Taymans <wim@fluendo.com>
9835 * docs/gst/gstreamer-sections.txt:
9836 * gst/gstpadtemplate.c:
9837 * gst/gstpadtemplate.h:
9838 Fix padtemplate docs, fixes #328805.
9840 2006-02-14 Wim Taymans <wim@fluendo.com>
9842 * tools/gst-launch.c: (main):
9843 NO_PREROLL is not an ERROR so don't send confusing messages
9844 to the user.
9846 2006-02-14 Wim Taymans <wim@fluendo.com>
9848 Patch by: Torsten Schoenfeld
9850 * gst/gstregistry.c: (gst_registry_get_default),
9851 (_gst_registry_cleanup):
9852 Protect default registry with lock and ref/sink it.
9853 Fixes #324818
9855 2006-02-14 Wim Taymans <wim@fluendo.com>
9857 * gst/gstbuffer.c:
9858 * gst/gstquery.c: (gst_query_list_add_format),
9859 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9860 (gst_query_parse_formats_nth):
9861 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9862 Docs fixes.
9864 2006-02-14 Wim Taymans <wim@fluendo.com>
9866 * docs/gst/gstreamer-sections.txt:
9867 Reworked query docs.
9869 * gst/gstquery.c: (gst_query_new_formats),
9870 (gst_query_list_add_format), (gst_query_set_formats),
9871 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9872 (gst_query_parse_formats_nth):
9873 * gst/gstquery.h:
9874 Flesh out formats query, added some new methods.
9875 Fix part of #324398.
9877 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9878 Added query creation tests.
9880 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9882 * gst/gstpad.c: (fixate_value):
9883 Add a default fixation for fraction lists.
9885 2006-02-13 Wim Taymans <wim@fluendo.com>
9887 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9888 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9889 (gst_task_join):
9890 * gst/gsttask.h:
9891 Detect and warn for obvious deadlocks. fixes #320340
9892 Fix error case where lock was not released.
9894 * tests/check/Makefile.am:
9895 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9896 (task_func), (gst_element_suite), (main):
9897 Add task check.
9899 2006-02-13 Wim Taymans <wim@fluendo.com>
9901 * docs/gst/gstreamer-sections.txt:
9902 * gst/gstbus.c:
9903 Add new functions to docs.
9905 2006-02-13 Wim Taymans <wim@fluendo.com>
9907 * docs/design/part-TODO.txt:
9908 Updated TODO list, basesrc supports seeking to non-bytes
9909 formats.
9911 * docs/design/part-element-sink.txt:
9912 Update docs.
9914 * gst/gstbin.c: (bin_replace_message),
9915 (gst_bin_handle_message_func):
9916 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9917 * gst/gstevent.c: (gst_event_finalize):
9918 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9919 (gst_pad_send_event):
9920 Use shiny new _TYPE_NAME macros.
9922 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9923 Move debug statement up.
9925 * gst/gstelement.c: (gst_element_set_locked_state):
9926 Add some debugging.
9928 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
9930 * docs/gst/gstreamer-sections.txt:
9931 * gst/gstmessage.h:
9932 * gst/gstquery.h:
9933 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9934 macros (#330906). Also, document the already existing
9935 GST_QUERY_TYPE macro.
9937 2006-02-13 Wim Taymans <wim@fluendo.com>
9939 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9940 (event_probe), (GST_START_TEST):
9941 Only events up to the pipeline EOS are counted, there are
9942 some more when going to NULL currently which we don't care
9943 about for now.
9945 2006-02-13 Wim Taymans <wim@fluendo.com>
9947 * gst/gstpad.c: (gst_pad_send_event):
9948 Correctly check flushing and emit probes. fixes #330125
9950 2006-02-10 Andy Wingo <wingo@pobox.com>
9952 * gst/gstbus.c (gst_bus_class_init): Declare our private data
9953 structure.
9954 (gst_bus_init): Cache the location of the private data in the
9955 instance structure.
9956 (gst_bus_enable_sync_message_emission)
9957 (gst_bus_disable_sync_message_emission): Implement new public
9958 functions.
9959 (gst_bus_post): Emit the sync-message signal if the user asked for
9960 it. Fixes #330684.
9962 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9963 location of the bus-private structure.
9964 (gst_bus_enable_sync_message_emission)
9965 (gst_bus_disable_sync_message_emission): API addition
9967 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
9969 Patch by: Vincent Torri
9971 * docs/pwg/building-boiler.xml:
9972 PWG patch from #326800
9974 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
9976 * configure.ac:
9977 * docs/Makefile.am:
9978 * docs/design/Makefile.am:
9979 Dist design docs.
9981 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9983 * configure.ac:
9984 back to CVS
9986 === release 0.10.3 ===
9988 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9990 * configure.ac:
9991 releasing 0.10.3, "Like a virgin"
9993 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9995 * configure.ac:
9996 2nd prerelease of 0.10.3
9997 Bump libtool versioning.
9999 2006-02-07 Andy Wingo <wingo@pobox.com>
10001 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10002 update last_stop if we're in TIME format and the timestamp is
10003 valid.
10005 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10006 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10007 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10008 If we get a new newsegment with a different format, adapt
10009 accordingly.
10011 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10012 of 0. Not a problem, really.
10014 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10015 warn if sync=true.
10017 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10019 * configure.ac:
10020 Prelease of 0.10.3
10022 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10024 * win32/vs7:
10025 project files updated to the default vs7 configuration
10026 * win32/common/libgstbase.def:
10027 * win32/common/libgstreamer.def:
10028 added new symbols,
10029 removed empty lines,
10030 sorted all exported symbols alphabetically
10031 * win32/common/dirent.c:
10032 * win32/common/dirent.h:
10033 * win32/common/gchar.h:
10034 use windows line end.
10036 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10038 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10039 Send EOS event when stopping.
10041 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10043 * docs/README:
10044 Tell folks what to do if the plugin-foobar.xml file
10045 hasn't been generated for a newly-added plugin.
10047 2006-02-05 Julien MOUTTE <julien@moutte.net>
10049 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10050 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10051 (gst_collect_pads_start), (gst_collect_pads_stop),
10052 (gst_collect_pads_event): Collectpads now holds a reference
10053 to the GstPad that was added. Indeed we don't want to look
10054 at pads that might just go away with no warning...
10056 2006-02-05 Julien MOUTTE <julien@moutte.net>
10058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10059 (gst_collect_pads_start), (gst_collect_pads_stop),
10060 (gst_collect_pads_event), (gst_collect_pads_chain):
10061 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10062 Mark Nauwelaerts's patch on bug #328491.
10064 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10066 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10067 (gst_utils_suite):
10068 Add some simple tests for gst_parse_bin_from_description() and
10069 gst_bin_find_unconnected_pad() (#329069).
10071 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10073 * tools/gst-launch.c: (event_loop), (main):
10074 Catch errors during preroll (#320084).
10076 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10078 * plugins/elements/gsttypefindelement.c:
10079 (gst_type_find_element_activate):
10080 Post TYPE_NOT_FOUND error message when typefinding
10081 is unsuccessful in the activate function as well.
10083 2006-02-02 Wim Taymans <wim@fluendo.com>
10085 * docs/design/part-element-sink.txt:
10086 Updated doc.
10088 2006-02-02 Wim Taymans <wim@fluendo.com>
10090 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10091 (gst_base_sink_render_object),
10092 (gst_base_sink_queue_object_unlocked):
10093 Only keep track of prerollable items when we are
10094 prerolling.
10095 Before rendering after preroll, always check if we
10096 have queued items.
10097 Added some more debugging.
10099 2006-02-02 Wim Taymans <wim@fluendo.com>
10101 * gst/gstelement.c: (gst_element_continue_state),
10102 (gst_element_set_state_func), (gst_element_change_state):
10103 Fixed #326576, been running this for quite some time with
10104 no regressions at all.
10106 2006-02-02 Wim Taymans <wim@fluendo.com>
10108 * common/gst.supp:
10109 Added more suppressions
10111 2006-02-02 Wim Taymans <wim@fluendo.com>
10113 * docs/design/part-element-sink.txt:
10114 Updated document.
10116 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10117 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10118 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10119 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10120 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10121 (gst_base_sink_preroll_object),
10122 (gst_base_sink_queue_object_unlocked),
10123 (gst_base_sink_queue_object), (gst_base_sink_event),
10124 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10125 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10126 (gst_base_sink_get_position), (gst_base_sink_change_state):
10127 * libs/gst/base/gstbasesink.h:
10128 Totally refactored matching the design doc.
10129 Use two segments, one to clip incomming buffers and another to
10130 perform sync.
10131 Handle queueing correctly, bypass the queue when playing.
10132 Make EOS cancelable.
10133 Handle errors correctly when operating in pull based mode.
10135 * tests/check/elements/fakesink.c: (GST_START_TEST),
10136 (fakesink_suite):
10137 Added new check for sinks.
10139 2006-02-02 Wim Taymans <wim@fluendo.com>
10141 * gst/gstsegment.c: (gst_segment_clip):
10142 No reason to refuse to clip when start == -1
10144 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10146 * docs/README:
10147 * docs/manual/intro-basics.xml:
10148 * docs/manual/intro-preface.xml:
10149 * docs/manual/manual.xml:
10150 * docs/pwg/advanced-dparams.xml:
10151 * docs/pwg/intro-basics.xml:
10152 * docs/pwg/intro-preface.xml:
10153 * docs/pwg/pwg.xml:
10154 describe dparams (controller) for plugins
10155 unify docs a little more
10157 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10159 * docs/gst/gstreamer-sections.txt:
10160 * gst/gstutils.c: (element_find_unconnected_pad),
10161 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10162 * gst/gstutils.h:
10163 Add new API: gst_parse_bin_from_description() and
10164 gst_bin_find_unconnected_pad() (#329069).
10166 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10168 * docs/manual/README:
10169 uncover a nasty detail of the docs build
10171 2006-01-31 Wim Taymans <wim@fluendo.com>
10173 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10174 Don't cache duration messages if we're not going to use or
10175 free them.
10177 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10179 * docs/manual/advanced-dparams.xml:
10180 * docs/pwg/advanced-dparams.xml:
10181 more dparam docs
10182 * gst/gstindex.c:
10183 fix docs
10184 * libs/gst/controller/lib.c: (gst_controller_init):
10185 init just once
10187 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10189 * gst/gstelement.c: (gst_element_message_full):
10190 also show file/line/func if no additional debug was given
10192 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10194 * win32/vs7/grammar.vcproj:
10195 activate copy of autogenerated files for Release mode
10197 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10199 * win32/common/libgstreamer.def:
10200 export gst_value_compare
10202 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10204 * plugins/elements/Makefile.am:
10205 * plugins/elements/gstelements.c:
10206 * plugins/elements/gstfdsink.c: (_do_init),
10207 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10208 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10209 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10210 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10211 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10212 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10213 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10214 * plugins/elements/gstfdsink.h:
10215 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10217 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10219 * docs/manual/advanced-dparams.xml:
10220 describe controller
10221 * docs/manual/advanced-position.xml:
10222 * docs/manual/basics-init.xml:
10223 * docs/manual/manual.xml:
10224 * docs/manual/titlepage.xml:
10225 * docs/pwg/pwg.xml:
10226 * docs/pwg/titlepage.xml:
10227 cleanup xml (more to come)
10228 * libs/gst/controller/gstcontroller.c:
10229 fix typo
10231 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10233 * win32/vs6/grammar.dsp:
10234 add autogen of gstmarshal.c,h for Release mode
10236 2006-01-30 Wim Taymans <wim@fluendo.com>
10238 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10239 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10240 (gst_base_sink_handle_object), (gst_base_sink_event),
10241 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10242 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10243 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10244 (gst_base_sink_deactivate), (gst_base_sink_activate),
10245 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10246 (gst_base_sink_query), (gst_base_sink_change_state):
10247 Basesink cleanups, remove some old code.
10248 Handle the case where a subclass can preroll in the render
10249 method (mostly audiosinks).
10250 Handle more events.
10251 Remove some locks around variables that are now protected
10252 with the PREROLL_LOCK (clock_id, flushing, ..).
10253 Optimize position query some more, do correct locking.
10254 Remove old code to push queue in state change, this is not
10255 needed anymore since preroll blocks on all prerollable items
10256 now.
10257 Almost implemented as described in design doc.
10259 2006-01-30 Wim Taymans <wim@fluendo.com>
10261 * tests/check/gst/gstbin.c: (GST_START_TEST):
10262 Wait for refcount to settle down before checking.
10264 2006-01-30 Wim Taymans <wim@fluendo.com>
10266 * docs/design/part-element-sink.txt:
10267 Pseudo code overview of desired sink behaviour regarding
10268 preroll.
10270 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10271 * win32/vs6/grammar.dsp:
10272 fix some bugs in Release mode for autogenerated files
10274 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10275 * win32/common/libgstbase.def:
10276 * win32/common/libgstreamer.def:
10277 export some new symbols: gst_base_src_set_format,
10278 gst_iterator_next, gst_structure_set_valist
10280 2006-01-29 Julien MOUTTE <julien@moutte.net>
10282 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10283 Set pad functions unconditionally. Fixes #329105.
10285 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10286 * win32/vs8:
10287 add vs8 project files created by Sergey Scobich
10289 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10291 * gst/gstutils.c: (gst_element_unlink_pads):
10292 Don't leak pad references.
10294 * tests/check/elements/fakesink.c: (GST_START_TEST):
10295 * tests/check/generic/sinks.c: (GST_START_TEST):
10296 * tests/check/generic/states.c: (GST_START_TEST):
10297 * tests/check/gst/gstbin.c: (GST_START_TEST):
10298 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10299 * tests/check/gst/gstelement.c: (GST_START_TEST):
10300 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10301 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10302 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10303 Fix a bunch of leaks. Make generic/sinks.c
10304 use a bit less cpu by slowing the buffer rate
10305 between fakesrc and fakesink.
10307 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10308 * gst/gstcaps.c:
10309 * gst/gstelement.c: (gst_element_send_event):
10310 * gst/gstevent.c:
10311 * gst/gstinfo.c:
10312 * gst/gstiterator.c:
10313 * gst/gstiterator.h:
10314 * gst/gstpad.c: (gst_pad_send_event):
10315 * gst/gststructure.c:
10316 * gst/gsturi.c:
10317 * gst/gstutils.c:
10318 * gst/gstvalue.c:
10319 * libs/gst/base/gstadapter.c:
10320 doc fixes, to link to function, just write gst_cool_function(), don't
10321 prefix with '#'
10323 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10325 * plugins/elements/gsttee.c: (gst_tee_do_push),
10326 (gst_tee_handle_buffer):
10327 Always prefer an actual return value from a src
10328 pad in place of NOT_LINKED. This means we return
10329 WRONG_STATE when all src pads are WRONG_STATE
10330 instead of NOT_LINKED.
10332 Lock when replacing the last message to prevent
10333 racing with the get_property method.
10335 Add debug output
10337 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10339 * tests/check/Makefile.am:
10340 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10341 (main):
10342 Add a very simple check that should have caught the memleak I fixed
10343 last night (if not for the slice allocator hiding it)
10345 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10347 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10348 (gst_bin_remove_func), (gst_bin_handle_message_func),
10349 (bin_query_duration_fold), (bin_query_generic_fold):
10350 Clean up references to the clock provider when disposed or when
10351 handling a clock-lost message from it.
10353 Unref sinks when performing a query via gst_iterator_fold, as the
10354 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10356 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10357 (gst_clock_set_master):
10358 Drop our reference to the master clock, if any, when we are disposed.
10360 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10361 Chain up in dispose.
10363 2006-01-26 Wim Taymans <wim@fluendo.com>
10365 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10366 Add some debugging.
10368 2006-01-26 Julien MOUTTE <julien@moutte.net>
10370 * plugins/elements/gsttee.c: (gst_tee_do_push),
10371 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10372 handles pad being NOT_LINKED or in WRONG_STATE.
10374 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10376 * win32/MANIFEST:
10377 more updating
10379 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10381 * win32/MANIFEST:
10382 remove obsolete entry
10384 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10386 * docs/gst/gstreamer-sections.txt:
10387 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10388 (gst_bin_iterate_sources), (gst_bin_send_event):
10389 * gst/gstbin.h:
10390 * gst/gstelement.c: (gst_element_send_event):
10391 * gst/gstevent.c:
10392 * gst/gstpad.c: (gst_pad_send_event):
10393 added code for downstream events, reviewed docs in gstevent.c
10395 2006-01-25 Julien MOUTTE <julien@moutte.net>
10397 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10398 We only query position using the clock in the playing state.
10399 Query peer in the other cases.
10400 * win32/common/config.h: Updates.
10402 2006-01-24 Wim Taymans <wim@fluendo.com>
10404 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10405 A clock entry that is scheduled for the exact time of the
10406 clock is still in time.
10408 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10409 (gst_base_sink_do_sync):
10410 Add some more debug info.
10412 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10414 * win32/vs7:
10415 Add new vs7 project files and solution.
10417 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10419 * win32/vs7:
10420 all files removed as they were out-dated.
10422 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10424 * docs/random/release:
10425 update notes
10426 * gst/gstbin.c: (gst_bin_init):
10427 * gst/gstbus.c: (gst_bus_new):
10428 * gst/gstbus.h:
10429 * gst/gstpipeline.c: (gst_pipeline_init):
10430 use gst_bus_new(), improve logging, fix docs
10431 * win32/common/config.h:
10432 update for cvs build
10434 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10436 * autogen.sh:
10437 up required version of automake to 1.7
10439 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
10441 * win32/common/libgstreamer.def:
10442 export gst_buffer_is_metadata_writable
10444 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
10446 * docs/gst/gstreamer-sections.txt:
10447 * gst/gstevent.h:
10448 Add gst_event_replace() (#327001)
10450 2006-01-20 Wim Taymans <wim@fluendo.com>
10452 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10453 Make it actually compile too..
10455 2006-01-20 Wim Taymans <wim@fluendo.com>
10457 * gst/gstcaps.c:
10458 Clarify behaviour of _is_equal() when passing NULL parameters.
10460 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10461 (gst_pad_set_caps):
10462 Cleanups. Don't unref NULL caps.
10463 When setting the same caps, protect caps of the pad with
10464 proper lock.
10465 Use full functionality of _is_equal() when comparing caps.
10467 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10469 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10470 Don't loop infinitely if there are no buffers to present. Partially
10471 fixes #327197, but collectpads is just broken for reusing elements
10472 to do multiple encodes atm.
10474 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10476 * tools/gst-inspect.c: (print_element_features):
10477 * tools/gst-xmlinspect.c: (main):
10478 URL_HANDLER is not a plugin feature we can search for in
10479 the registry.
10481 2006-01-19 Edward Hervey <edward@fluendo.com>
10483 * gst/gstelement.c: (gst_element_pads_activate):
10484 When activating, do src pads first, then sink pads.
10485 When de-activating, do sink pads first, then src pads.
10487 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10489 * docs/gst/gstreamer-sections.txt:
10490 Add gst_index_add_associationv to the docs
10492 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10494 * gst/gstevent.c:
10495 Fix docs typo
10497 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10498 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10499 Do some refactoring. Doesn't actually change functionality,
10500 but makes landing the DRAIN event easier later.
10502 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10504 * docs/pwg/advanced-scheduling.xml:
10505 Update from 0.9.x to 0.10 API and make example a bit
10506 clearer.
10508 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10510 * docs/gst/gstreamer-sections.txt:
10511 Add gst_buffer_(is|make)_metadata_writable methods.
10513 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10515 * docs/design/part-sparsestreams.txt:
10516 Update sparse streams doc, hopefully for greater clarity
10518 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10520 * docs/design/part-events.txt:
10521 Remove mention of FILLER events.
10522 Add DRAIN event.
10524 * docs/design/part-sparsestreams.txt:
10525 Write some things about using NEWSEGMENT to keep sparse streams
10526 flowing.
10528 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10530 * gst/gstbin.c: (gst_bin_dispose):
10531 Guard gst_object_unref call against a NULL object (dispose
10532 can theoretically be called multiple times).
10534 2006-01-18 Wim Taymans <wim@fluendo.com>
10536 * gst/gstbin.c: (gst_bin_element_set_state):
10537 * gst/gstclock.c: (gst_clock_id_wait):
10538 Added some more debug info.
10540 * libs/gst/base/gstadapter.c:
10541 Added more docs.
10543 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10544 (gst_base_sink_do_sync), (gst_base_sink_chain):
10545 Added some comments.
10547 2006-01-18 Wim Taymans <wim@fluendo.com>
10549 * tests/check/Makefile.am:
10550 * tests/check/elements/fakesink.c: (chain_async_buffer),
10551 (chain_async), (chain_async_return), (GST_START_TEST),
10552 (fakesink_suite), (main):
10553 Added fakesink test that checks prerolling and clipping
10554 behaviour.
10556 * tests/check/gst/gstutils.c: (GST_START_TEST):
10557 Make check run faster so that buildbots don't timeout.
10559 2006-01-18 Wim Taymans <wim@fluendo.com>
10561 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10562 (gst_base_sink_do_sync):
10563 Some cleanups.
10564 When the sink finishes blocking on the preroll buffer, it can
10565 immediatly render it instead of rendering when the next buffer
10566 arrives.
10568 2006-01-18 Wim Taymans <wim@fluendo.com>
10570 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10571 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10572 (gst_base_sink_chain):
10573 Small cleanups.
10574 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10575 Don't store _last_stop if the buffer is dropped.
10577 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10579 * plugins/elements/gsttypefindelement.c:
10580 (gst_type_find_element_class_init):
10581 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10582 object method handler that sets the caps on the pad and we want
10583 that to happen before we emit the signal (fixes e.g. feeding a
10584 plain text file to decodebin).
10586 2006-01-18 Christian Schaller <Christian@fluendo.com>
10588 * gst/gstplugin.c: Add MPL and Proprietary as license options
10590 2006-01-18 Andy Wingo <wingo@pobox.com>
10592 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10593 symbol was exported before, it appears this was just an oversight.
10594 Fixes #168703.
10595 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10597 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10598 prototype to gint. OK since this prototype was not in the header.
10600 2006-01-17 Andy Wingo <wingo@pobox.com>
10602 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10603 registry while we remove plugins.
10605 * tools/gst-inspect.c (print_element_info): Don't unref the
10606 factory arg, that should be the responsibility of whatever code
10607 received the ref. Fixes a double-free when called from
10608 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10609 (main): Unref the factory if we have one.
10610 (print_element_list): No change -- relies on the
10611 plugin_feature_list_free to free the list of features.
10613 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10615 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10616 (gst_buffer_make_metadata_writable):
10617 * gst/gstbuffer.h:
10618 * libs/gst/base/gstbasetransform.c:
10619 (gst_base_transform_prepare_output_buf):
10620 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10621 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10622 Replace gst_buffer_(make|is)_metadata_writable patch now
10623 that the release is out.
10625 2006-01-17 Andy Wingo <wingo@pobox.com>
10627 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10628 in the present tense without reference to versions.
10630 * gst/gstregistry.c (gst_registry_add_plugin)
10631 (gst_registry_remove_plugin, gst_registry_remove_feature)
10632 (gst_registry_find_feature, gst_registry_get_feature_list)
10633 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10634 (gst_registry_lookup, gst_registry_scan_path)
10635 (_gst_registry_remove_cache_plugins)
10636 (gst_registry_get_feature_list_by_plugin): Add argument
10637 validation.
10639 === release 0.10.2 ===
10641 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10643 * configure.ac:
10644 releasing 0.10.2, "If man is five"
10646 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10648 * gst/gstbuffer.c:
10649 * gst/gstbuffer.h:
10650 * libs/gst/base/gstbasetransform.c:
10651 (gst_base_transform_prepare_output_buf):
10652 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10653 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10654 Back out patch until after the release.
10656 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10658 * gst/gstminiobject.c:
10659 Spelling fix in docs.
10660 * ChangeLog - remove conflict indicator
10662 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10664 Reviewed By: Andy Wingo
10666 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10667 (gst_buffer_make_metadata_writable):
10668 * gst/gstbuffer.h:
10669 Add gst_buffer_(is|make)_metadata_writable as analogues of
10670 gst_buffer_(is|make)_writable.
10672 * libs/gst/base/gstbasetransform.c:
10673 (gst_base_transform_prepare_output_buf):
10674 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10675 Use name gst_buffer_(is|make)_metadata_writable functions.
10677 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10678 Test gst_buffer_(is|make)_metadata_writable
10680 (Closes: #324162)
10682 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10684 * docs/manual/Makefile.am:
10685 don't do parallel make
10686 * configure.ac:
10687 AC_SUBST HOST_CPU
10688 * win32/common/config.h.in:
10689 add generations for HOST_CPU and GST_MAJORMINOR
10690 * win32/common/config.h:
10691 commit generated result
10693 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10695 * docs/manual/appendix-integration.xml:
10696 Update GNOME integration section to use gst_init_get_option_group()
10697 instead of the old popt stuff (#322911). Also, GNOME applications
10698 should now use gconf*sink and gconf*src instead of the old gconf
10699 helper lib we had.
10701 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10704 * docs/gst/gstreamer-docs.sgml:
10705 * docs/gst/gstreamer-sections.txt:
10706 * docs/libs/gstreamer-libs-sections.txt:
10707 add new API entries to the docs
10708 * libs/gst/controller/Makefile.am:
10709 * libs/gst/controller/gstcontroller.c:
10710 * libs/gst/controller/gstcontroller.h:
10711 * libs/gst/controller/gstcontrollerprivate.h:
10712 * libs/gst/controller/gsthelper.c:
10713 * libs/gst/controller/gstinterpolation.c:
10714 move private structs to private header
10715 * po/README:
10716 gstreamer-0.7 -> gstreamer-0.10
10717 * tests/check/libs/struct_i386.h:
10718 remove private structs
10720 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10722 * plugins/indexers/Makefile.am:
10723 Fixes as part of #317048
10725 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10727 * plugins/indexers/Makefile.am:
10728 fix #316086 - compilation when mmap is missing
10730 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10732 * libs/gst/base/gstbasesink.c:
10733 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10734 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10735 * win32/common/config.h:
10736 added some defines GST_MAJORMINOR and HOST_CPU
10737 * win32/common/libgstbase.def:
10738 * win32/common/libgstreamer.def:
10739 added some exported functions.
10741 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10743 * libs/gst/controller/gstcontroller.c:
10744 (gst_controlled_property_set_interpolation_mode),
10745 (gst_controlled_property_new):
10746 * libs/gst/controller/gstcontroller.h:
10747 * libs/gst/controller/gstinterpolation.c:
10748 (interpolate_none_get_string_value_array):
10749 make G_TYPE_STRING controlable
10751 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10753 * tools/README:
10754 * tools/gst-feedback.1.in:
10755 * tools/gst-inspect.1.in:
10756 * tools/gst-launch.1.in:
10757 * tools/gst-md5sum.1.in:
10758 * tools/gst-typefind.1.in:
10759 * tools/gst-xmlinspect.1.in:
10760 * tools/gst-xmllaunch.1.in:
10761 cleanup man-pages, remove reference to gst-register, document env-vars
10763 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10765 * gst/gstbuffer.c: (gst_buffer_span):
10766 gst_buffer_span should copy the timestamp of the first buffer
10767 if they were both originally overlapping subbuffers of the
10768 same parent, using the same logic as the 'slow copy' case.
10770 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10772 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10773 Need to awaken ALL the pads when we pop a buffer, otherwise
10774 collectpads only works when there is 2 input streams.
10776 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10778 * docs/random/ensonic/media-device-daemon.txt:
10779 more ideas (dbus)
10780 * gst/gstbuffer.c:
10781 fix doc example, add clarification
10782 * tools/gst-launch.1.in:
10783 add initial info about GST_PLUGIN_PATH, needs more work
10785 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10787 * docs/manual/basics-bins.xml:
10788 * docs/manual/basics-elements.xml:
10789 * docs/manual/intro-basics.xml:
10790 Some more minor docs additions and updates.
10792 2006-01-11 Wim Taymans <wim@fluendo.com>
10794 * docs/manual/basics-bins.xml:
10795 * docs/manual/basics-elements.xml:
10796 Some small fixes as pointed out by Ser-ver on IRC.
10798 2006-01-10 Edward Hervey <edward@fluendo.com>
10800 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10801 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10802 the single-segment mode.
10804 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10806 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10808 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10809 (gst_base_src_perform_seek), (gst_base_src_send_event),
10810 (gst_base_src_set_property), (gst_base_src_get_property),
10811 (gst_base_src_loop), (gst_base_src_start),
10812 (gst_base_src_activate_push):
10813 * libs/gst/base/gstbasesrc.h:
10814 Name (private) union; makes Sun's Forte compiler happy (#324900).
10816 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10818 * README:
10819 gst-register is gone.
10821 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10823 * gst/gstvalue.c: (_gst_value_initialize):
10824 make the G_TYPE_DATE instantiation work if debug is disabled
10826 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10828 * gst/gstmessage.c: (gst_message_parse_tag),
10829 (gst_message_parse_error), (gst_message_parse_warning):
10830 Don't crash when return location for error/warning debug
10831 string is NULL; add fact that return locations can be
10832 NULL to docs where appropriate.
10834 2006-01-05 Wim Taymans <wim@fluendo.com>
10836 * gst/gstplugin.c: (gst_plugin_load_file):
10837 Replace strdup by g_strdup.
10839 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10841 * docs/pwg/advanced-types.xml:
10842 fix doc borkage
10844 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10846 submitted by: Abel Cheung
10848 * po/LINGUAS:
10849 * po/zh_TW.po:
10850 Added Chinese (traditional) translation
10852 2006-01-04 Wim Taymans <wim@fluendo.com>
10854 * docs/manual/basics-pads.xml:
10855 * docs/plugins/Makefile.am:
10856 * docs/plugins/gstreamer-plugins-docs.sgml:
10857 * docs/plugins/gstreamer-plugins-sections.txt:
10858 * docs/pwg/advanced-clock.xml:
10859 * docs/pwg/advanced-scheduling.xml:
10860 * docs/pwg/advanced-types.xml:
10861 * plugins/elements/gstfdsink.c:
10862 * plugins/elements/gstfdsrc.c:
10863 * plugins/elements/gstfdsrc.h:
10864 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10865 * plugins/elements/gstidentity.h:
10866 * plugins/elements/gstqueue.h:
10867 * plugins/elements/gsttee.c:
10868 * plugins/elements/gsttee.h:
10869 * plugins/elements/gsttypefindelement.c:
10870 (gst_type_find_element_class_init):
10871 * plugins/elements/gsttypefindelement.h:
10872 Small updates to various docs.
10873 Added core plugins to docs.
10875 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10877 * common/gst.supp:
10878 add a suppression for liboil's uninitialized variable
10880 2006-01-02 James Livingston <jrl at ids dot org dot au>
10882 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10884 * gst/gstutils.h:
10885 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10886 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10887 compiler switch is being used (#325429).
10889 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10891 * gst/gstbin.c: (gst_bin_query):
10892 Disable duration query caching in bins until it gets
10893 fixed (see #324807).
10895 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10897 * tools/gst-inspect.c: (print_element_properties_info):
10898 Handle properties of POINTER and BOXED type.
10900 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10902 * gst/gst.c: (init_post):
10903 Init tags stuff and some other things before loading
10904 any static plugins (there may be other static plugins
10905 than just the GStreamer ones, and they may want to
10906 register their own tags or formats or whatever, and
10907 preferably without segfaulting).
10909 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10910 Print at least a warning in the debug logs if we drop a
10911 query just because we don't know how to adjust the value
10912 in the particular format.
10914 2005-12-24 David Schleef <ds@schleef.org>
10916 * tools/gstreamer-completion:
10917 Replacement for gst-complete written in sh and sed. Only
10918 completes names of features, but that's 90% of what I want
10919 it for. Properties are not available in registry.xml. (Maybe
10920 they should be...)
10922 === release 0.10.1 ===
10924 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
10926 * configure.ac:
10927 releasing 0.10.1, "Nollaig chridheil"
10929 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
10931 * docs/faq/cvs.xml:
10932 Add missing quote, should be make ERROR_CFLAGS="".
10934 2005-12-20 Wim Taymans <wim@fluendo.com>
10936 * docs/design/part-trickmodes.txt:
10937 More documentation on trickmodes.
10939 2005-12-20 Edward Hervey <edward@fluendo.com>
10941 * gst/gstcaps.c: (gst_static_caps_get_type):
10942 * gst/gstcaps.h:
10943 API addition: GST_TYPE_STATIC_CAPS
10944 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10945 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10946 * gst/gstpadtemplate.h:
10947 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10948 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10949 bindings.
10951 2005-12-18 Wim Taymans <wim@fluendo.com>
10953 * libs/gst/base/gstadapter.c:
10954 * libs/gst/base/gstadapter.h:
10955 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10956 (gst_base_sink_get_position):
10957 * libs/gst/base/gstbasesink.h:
10958 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10959 (gst_base_src_default_query), (gst_base_src_default_do_seek),
10960 (gst_base_src_do_seek), (gst_base_src_perform_seek),
10961 (gst_base_src_send_event), (gst_base_src_update_length),
10962 (gst_base_src_get_range), (gst_base_src_loop),
10963 (gst_base_src_start):
10964 * libs/gst/base/gstbasesrc.h:
10965 * libs/gst/base/gstbasetransform.h:
10966 * libs/gst/base/gstcollectpads.h:
10967 * libs/gst/base/gstpushsrc.c:
10968 * libs/gst/base/gstpushsrc.h:
10969 * libs/gst/dataprotocol/dataprotocol.c:
10970 * libs/gst/dataprotocol/dataprotocol.h:
10971 * libs/gst/net/gstnetclientclock.h:
10972 * libs/gst/net/gstnettimeprovider.h:
10973 Documentation updates.
10975 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
10977 * docs/manual/basics-helloworld.xml:
10978 Remove superfluous closing bracket in helloworld example.
10980 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
10982 * tools/gst-launch.1.in:
10983 Update gst-launch man page; add a section with useful
10984 environment variables. Fixes #323882.
10986 2005-12-16 Stefan Kost <ensonic@users.sf.net>
10988 * gst/gst.c:
10989 * gst/gst_private.h:
10990 change some char* into char[]
10992 2005-12-16 Wim Taymans <wim@fluendo.com>
10994 * gst/gstregistryxml.c: (load_feature):
10995 Cleanups.
10996 Don't use g_object_unref on GstObjects so that we avoid
10997 leaks on unsafe glibs.
10999 2005-12-16 Wim Taymans <wim@fluendo.com>
11001 * gst/gstbin.c: (gst_bin_recalc_state):
11002 Small doc updates.
11004 2005-12-16 Wim Taymans <wim@fluendo.com>
11006 * common/check.mak:
11007 Added make forever target for check.
11009 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11011 * gst/gst.c: (init_post):
11012 make the registry cache file HOST_CPU-dependent
11014 2005-12-16 Andy Wingo <wingo@pobox.com>
11016 * plugins/elements/gstbufferstore.c
11017 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11018 return value.
11020 * tests/check/gst/gstobject.c
11021 (test_fake_object_name_threaded_unique): Pay attention to
11022 g_list_sort return value.
11024 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11026 * tools/gst-feedback-m.m:
11027 Update for 0.9/0.10 (fixes #323870).
11029 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11031 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11032 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11034 * tests/check/gst/gstminiobject.c: (my_foo_init),
11035 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11036 (test_value_collection), (gst_mini_object_suite):
11037 Add test to ensure refcounts end up as expected when passing
11038 GstMiniObjects through g_object_get() and g_object_set().
11040 2005-12-14 Julien MOUTTE <julien@moutte.net>
11042 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11043 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11044 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11045 of collectpads. This version removes a lot of races without
11046 touching API/ABI. Yay !
11048 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11050 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11051 Don't allow activation of a srcpad in pull_range if it has no
11052 getrange function.
11053 Change some debug statements to be a little clearer
11055 * plugins/elements/gsttypefindelement.c:
11056 (gst_type_find_handle_src_query):
11057 Check that we have a peer before executing queries thereupon.
11059 * tests/examples/metadata/read-metadata.c: (message_loop):
11060 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11061 immediately return us any available message with 0 timeout.
11063 2005-12-12 Michael Smith <msmith@fluendo.com>
11065 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11066 Don't unref factories after calling them.
11067 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11068 * plugins/elements/gsttypefindelement.c:
11069 (gst_type_find_element_chain):
11070 Free lists of factories after using them. Fixing typefinding memory
11071 leaks.
11073 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11075 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11076 (gst_plugin_feature_load):
11077 more meaningful debug output
11078 * configure.ac:
11079 * tests/Makefile.am:
11080 * tests/old/examples/Makefile.am:
11081 make make distcheck happy again
11083 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11085 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11086 Catch the special case where we are operating chain-based,
11087 but the downstream peer pad has no chain function. Emit a
11088 custom error message in this case instead of letting the
11089 core generate one implying that this is some sort of core
11090 bug. It's not, it just means that whatever got plugged
11091 into the pipeline downstream when we announced the type
11092 can only operate pull-based, while our source can only
11093 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11094 Error string has not been marked for translation yet, as
11095 it probably needs some more work first.
11097 (gst_type_find_element_get_best_possibility):
11098 Add helper function to find the best of all available
11099 found possibilities that qualify given the min. threshold.
11101 (gst_type_find_element_handle_event):
11102 Fix the case where we get an EOS while still in TYPEFIND
11103 mode (we want to chose the best of all possible types,
11104 not just the first type that happens to be in our unsorted
11105 list of possible types).
11107 (gst_type_find_element_chain):
11108 Make sure we return GST_FLOW_ERROR when we errored out
11109 in stop_typefinding(); also, don't just find the best of
11110 all found type entries and then use the last examined
11111 type entry, but actually use the best entry.
11113 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11115 * tests/examples/typefind/typefind.c: (type_found):
11116 * tests/examples/xml/runxml.c: (xml_loaded):
11117 More gcc4 fixes and a mem leak fix.
11119 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11121 * tests/examples/xml/createxml.c: (object_saved):
11122 gcc 4 fixes
11124 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11126 * tests/Makefile.am:
11127 enable the examples even more
11129 2005-12-12 Andy Wingo <wingo@pobox.com>
11131 * libs/gst/net/gstnettimeprovider.c
11132 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11133 (gst_net_time_provider_set_property)
11134 (gst_net_time_provider_get_property):
11135 API addition: Export "active" as a GObject property.
11136 (gst_net_time_provider_thread): Only respond to time queries if
11137 the time provider is active.
11139 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11140 NetTimeProvider, preserving binary compat.
11142 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11144 * tests/examples/controller/audio-example.c: (main):
11145 * tests/examples/launch/Makefile.am:
11146 convert comments again
11148 2005-12-12 Wim Taymans <wim@fluendo.com>
11150 * libs/gst/base/gstpushsrc.c:
11151 Fix typo.
11153 2005-12-12 Wim Taymans <wim@fluendo.com>
11155 * docs/libs/gstreamer-libs-sections.txt:
11156 Added new symbol to docs.
11158 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11159 (gst_base_src_init), (gst_base_src_set_format),
11160 (gst_base_src_default_query), (gst_base_src_query),
11161 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11162 (gst_base_src_perform_seek), (gst_base_src_send_event),
11163 (gst_base_src_default_event), (gst_base_src_event_handler),
11164 (gst_base_src_set_property), (gst_base_src_get_property),
11165 (gst_base_src_wait), (gst_base_src_do_sync),
11166 (gst_base_src_update_length), (gst_base_src_get_range),
11167 (gst_base_src_check_get_range), (gst_base_src_loop),
11168 (gst_base_src_default_negotiate), (gst_base_src_start),
11169 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11170 (gst_base_src_change_state):
11171 * libs/gst/base/gstbasesrc.h:
11172 Implement seeking to other formats than _BYTES.
11173 Implement more seeking methods correctly.
11174 Doc updates.
11175 Added query vmethod.
11176 Added do_seek vmethod to make life easier for subclasses
11177 when seeking.
11178 API addition: gst_base_src_set_format()
11180 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11182 * tests/examples/Makefile.am:
11183 added that too
11185 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11187 * configure.ac:
11188 * docs/random/ensonic/media-device-daemon.txt:
11189 * tests/examples/controller/.cvsignore:
11190 * tests/examples/controller/Makefile.am:
11191 * tests/examples/controller/audio-example.c: (main):
11192 * tests/examples/helloworld/.cvsignore:
11193 * tests/examples/helloworld/Makefile.am:
11194 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11195 * tests/examples/launch/.cvsignore:
11196 * tests/examples/launch/Makefile.am:
11197 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11198 * tests/examples/metadata/.cvsignore:
11199 * tests/examples/metadata/Makefile.am:
11200 * tests/examples/metadata/read-metadata.c: (message_loop),
11201 (make_pipeline), (print_tag), (main):
11202 * tests/examples/queue/.cvsignore:
11203 * tests/examples/queue/Makefile.am:
11204 * tests/examples/queue/queue.c: (event_loop), (main):
11205 * tests/examples/typefind/.cvsignore:
11206 * tests/examples/typefind/Makefile.am:
11207 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11208 (main):
11209 * tests/examples/xml/.cvsignore:
11210 * tests/examples/xml/Makefile.am:
11211 * tests/examples/xml/createxml.c: (object_saved), (main):
11212 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11213 * tests/old/examples/Makefile.am:
11214 * tests/old/examples/TODO:
11215 * tests/old/examples/controller/.cvsignore:
11216 * tests/old/examples/controller/Makefile.am:
11217 * tests/old/examples/controller/audio-example.c:
11218 * tests/old/examples/helloworld/.cvsignore:
11219 * tests/old/examples/helloworld/Makefile.am:
11220 * tests/old/examples/helloworld/helloworld.c:
11221 * tests/old/examples/launch/.cvsignore:
11222 * tests/old/examples/launch/Makefile.am:
11223 * tests/old/examples/launch/mp3parselaunch.c:
11224 * tests/old/examples/launch/mp3play:
11225 * tests/old/examples/manual/Makefile.am:
11226 * tests/old/examples/metadata/Makefile.am:
11227 * tests/old/examples/metadata/read-metadata.c:
11228 * tests/old/examples/queue/.cvsignore:
11229 * tests/old/examples/queue/Makefile.am:
11230 * tests/old/examples/queue/queue.c:
11231 * tests/old/examples/typefind/.cvsignore:
11232 * tests/old/examples/typefind/Makefile.am:
11233 * tests/old/examples/typefind/typefind.c:
11234 * tests/old/examples/xml/.cvsignore:
11235 * tests/old/examples/xml/Makefile.am:
11236 * tests/old/examples/xml/createxml.c:
11237 * tests/old/examples/xml/runxml.c:
11238 applied some simple fixing to some examples
11239 re-enabled the working examples
11241 2005-12-12 Wim Taymans <wim@fluendo.com>
11243 * gst/gstsegment.c: (gst_segment_init),
11244 (gst_segment_set_last_stop), (gst_segment_set_seek),
11245 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11246 (gst_segment_to_running_time):
11247 Added more documentation.
11248 Make sure the last_pos value is updated properly.
11249 Make sure to_stream_time and to_running_time don't
11250 operate on wrong values.
11252 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11253 Update check.
11255 2005-12-12 Michael Smith <msmith@fluendo.com>
11257 * plugins/elements/gsttypefindelement.c: (free_entry),
11258 (gst_type_find_element_chain):
11259 Now that we're not leaking factories, make sure we keep references
11260 to them while we need them.
11262 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11264 * tests/check/gst/struct_i386.h:
11265 ifdef out the XML structs
11267 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11269 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11270 floor is not needed, F is always positive; this obviates the
11271 need for adding -lm when building without libxml
11273 2005-12-12 Wim Taymans <wim@fluendo.com>
11275 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11276 Take current playback rate into account when reporting
11277 the position.
11279 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11281 * docs/manual/mime-world.fig:
11282 Let's try this again, this time with a file that is
11283 actually in XFig format.
11285 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11287 * docs/manual/mime-world.fig:
11288 Add audioconvert element to diagram so that it
11289 matches the text and the code (fixes #319526).
11291 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11293 * docs/pwg/building-chainfn.xml:
11294 * docs/pwg/building-pads.xml:
11295 * docs/pwg/building-state.xml:
11296 * docs/pwg/other-source.xml:
11297 Update state change stuff for 0.10 (fixes #322969).
11299 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11301 * docs/manual/advanced-dataaccess.xml:
11302 * docs/manual/appendix-checklist.xml:
11303 * docs/manual/appendix-programs.xml:
11304 * docs/manual/basics-pads.xml:
11305 * docs/manual/highlevel-components.xml:
11306 * docs/manual/manual.xml:
11307 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11308 add converters in front of pipelines; remove curly
11309 brackets for threads stuff, they no longer exist; use
11310 GST_TYPE_FRACTION for framerates; update some pieces of
11311 code to 0.10, but there's plenty more to do.
11313 * docs/manual/appendix-porting.xml:
11314 Expand on asynchroneous state changes; s/0.9/0.10/;
11315 mention disappearance of gst_init_get_popt_table()
11316 (fixes #322916).
11318 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11320 * docs/faq/using.xml:
11321 Spider no longer exists, and neither does gst-launch-ext.
11322 Update examples to use decodebin and playbin and put
11323 converters in front of sinks (fixes #323726).
11325 2005-12-09 Michael Smith <msmith@fluendo.com>
11327 * plugins/elements/gsttypefindelement.c: (find_peek),
11328 (gst_type_find_element_chain):
11329 Fix leaking element factories in typefinding.
11330 Fix problem where we forgot about a probable type on non-seekable
11331 files, and thus later mis-typefound it.
11333 2005-12-09 Michael Smith <msmith@fluendo.com>
11335 * common/m4/gst-makecontext.m4:
11336 * common/m4/gst-mcsc.m4:
11337 * configure.ac:
11338 * win32/common/config.h:
11339 * win32/common/config.h.in:
11340 Remove makecontext stuff; not used in 0.10 and causes problems on
11341 HPUX according to bug #322441
11343 2005-12-07 Wim Taymans <wim@fluendo.com>
11345 * tests/check/Makefile.am:
11346 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11347 (main):
11348 * tests/check/libs/struct_i386.h:
11349 Added ABI check for libs
11351 2005-12-07 Wim Taymans <wim@fluendo.com>
11353 * tests/check/Makefile.am:
11354 And add the struct_i386.h to dist.
11356 2005-12-07 Wim Taymans <wim@fluendo.com>
11358 * tests/check/Makefile.am:
11359 * tests/check/gst/.cvsignore:
11360 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11361 (main):
11362 * tests/check/gst/struct_i386.h:
11363 Added check for ABI compatibility.
11365 2005-12-07 Wim Taymans <wim@fluendo.com>
11367 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11368 (gst_fake_src_get_times), (gst_fake_src_create):
11369 Fix broken sync option, fixes #323259
11371 2005-12-07 Wim Taymans <wim@fluendo.com>
11373 * gst/gstbuffer.c:
11374 Small docs update.
11376 * gst/gstcaps.c: (gst_caps_is_equal):
11377 Don't assert on NULL <--> X. Fixes #323260
11379 * gst/gstminiobject.c: (gst_mini_object_replace):
11380 If we're doing atomic operations, we might just as well use
11381 the proper way to get an atomic pointer.
11383 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11384 Clean up debugging.
11386 2005-12-07 Michael Smith <msmith@fluendo.com>
11388 * gst/parse/grammar.y:
11389 Remove handling of { } for threads.
11391 2005-12-06 David Schleef <ds@schleef.org>
11393 * libs/gst/base/gstbasetransform.c: speling fix.
11395 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
11397 * docs/libs/tmpl/gstdataprotocol.sgml:
11398 * docs/random/omega/testing/gstobject.c:
11399 * gst/gst.c:
11400 * gst/gstclock.c:
11401 * gst/gstelement.c:
11402 * gst/gstelementfactory.c:
11403 * gst/gsterror.c:
11404 * gst/gstevent.c:
11405 * gst/gstghostpad.c:
11406 * gst/gstinfo.c:
11407 * gst/gstpadtemplate.c:
11408 * gst/gstregistryxml.c:
11409 * gst/gsttaglist.c:
11410 * gst/gsttagsetter.c:
11411 * gst/gsttypefind.c:
11412 * gst/gstvalue.c:
11413 * libs/gst/base/gstbasesrc.c:
11414 * libs/gst/net/gstnetclientclock.c:
11415 * libs/gst/net/gstnettimeprovider.c:
11416 * plugins/elements/gstfakesrc.c:
11417 * plugins/elements/gstfdsrc.c:
11418 * plugins/elements/gstfilesrc.c:
11419 * plugins/elements/gstidentity.c:
11420 * plugins/elements/gstqueue.c:
11421 * plugins/elements/gsttypefindelement.c:
11422 * plugins/indexers/gstfileindex.c:
11423 * plugins/indexers/gstmemindex.c:
11424 * tests/check/gst/gsttag.c:
11425 * tests/old/examples/cutter/cutter.c:
11426 * tests/old/examples/mixer/mixer.c:
11427 * tests/old/examples/xml/runxml.c: (main):
11428 * tests/old/testsuite/caps/normalisation.c:
11429 * tests/old/testsuite/debug/global.c:
11430 * tests/old/testsuite/parse/parse1.c:
11431 * tools/gst-xmlinspect.c:
11432 * win32/common/dirent.c:
11433 expand tabs
11435 === release 0.10.0 ===
11437 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11439 * configure.ac:
11440 releasing 0.10.0, "Maroilles"
11442 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11444 submitted by: Funda Wang <fundawang@linux.net.cn>
11446 * po/LINGUAS:
11447 * po/zh_CN.po:
11448 added Chinese (Traditional) translation
11450 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11452 * docs/gst/gstreamer-sections.txt:
11453 * docs/libs/tmpl/gstdataprotocol.sgml:
11454 * docs/random/thomasvs/TODO:
11455 * gst/gstutils.c:
11456 * gst/gstutils.h:
11457 fix docs
11459 2005-12-05 Andy Wingo <wingo@pobox.com>
11461 patch by: Wim Taymans <wim@fluendo.com>
11463 * libs/gst/base/gstbasetransform.c
11464 (gst_base_transform_prepare_output_buf)
11465 (gst_base_transform_buffer_alloc):
11466 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11467 alloc_buffer_and_set_caps.
11469 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11470 set_caps on the source pad.
11471 (gst_pad_alloc_buffer_and_set_caps): New function, does what
11472 alloc_buffer used to do. Fixes #322874.
11474 * docs/gst/gstreamer-sections.txt:
11475 * docs/design/part-negotiation.txt:
11476 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11477 changes.
11479 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11481 patch by: Sebastien Moutte
11483 * win32/MANIFEST:
11484 * win32/common/config.h.in:
11485 * win32/vs6/libgstcontroller.dsp:
11486 win32 build fixes
11488 2005-12-05 Wim Taymans <wim@fluendo.com>
11490 * gst/gstcaps.c: (gst_caps_is_equal):
11491 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11492 (gst_fake_src_create):
11493 Back out previous code changes, leave doc updates, file bugs
11494 instead.
11496 2005-12-05 Wim Taymans <wim@fluendo.com>
11498 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11499 (gst_fake_src_get_times), (gst_fake_src_create):
11500 * plugins/elements/gstfakesrc.h:
11501 Fix broken sync code.
11503 2005-12-05 Wim Taymans <wim@fluendo.com>
11505 * gst/gstcaps.c: (gst_caps_is_equal):
11506 Comparing NULL against !NULL yields different caps, not a
11507 failure.
11509 2005-12-05 Wim Taymans <wim@fluendo.com>
11511 * gst/gstpipeline.c:
11512 Fix small typo in docs.
11514 2005-12-05 Andy Wingo <wingo@pobox.com>
11516 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11518 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11519 registries/plugins with a MAJORMINOR one.
11520 (plugin_desc): Rename library from gstcoreleements to
11521 staticelements. Fixes #323222.
11523 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11525 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11526 Change debug category to 'collectpads' from 'collect_pads'
11527 (fixes #323250).
11529 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11531 patch by: Sebastien Moutte
11533 * libs/gst/controller/gstinterpolation.c:
11534 use convert function for uint64/double
11535 * win32/vs6/libgstcontroller.dsp:
11536 link to GLib
11538 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11540 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11541 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11542 * gst/gstutils.h:
11543 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11544 add tests that seem to show that the guint64/gdouble conversions
11545 are correct.
11547 2005-12-02 Wim Taymans <wim@fluendo.com>
11549 * gst/gstregistry.c: (gst_registry_add_path):
11550 * gst/gstregistry.h:
11551 * gst/gstregistryxml.c:
11552 Fix docs again.
11554 2005-12-02 Wim Taymans <wim@fluendo.com>
11556 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11557 (gst_util_uint64_scale_int):
11558 Small cleanup.
11560 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11561 Add debug log line.
11563 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11564 Add FIXME.
11566 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11568 * win32/MANIFEST:
11569 * win32/common/config.h:
11570 * win32/vs6/gstreamer.dsw:
11571 * win32/vs6/libgstcoreelements.dsp:
11572 * win32/vs6/libgstelements.dsp:
11573 renamed core elements plugin
11575 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11577 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11578 (get_candidates):
11579 do piece-wise major/minor comparison so 0.9 < 0.10
11580 also allow .exe extensions for tools
11582 2005-12-02 Michael Smith <msmith@fluendo.com>
11584 * gst/gst.c:
11585 Escape a % to make gtkdoc happier; bug 322958.
11587 === release 0.9.7 ===
11589 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11591 * configure.ac:
11592 releasing 0.9.7, "My Dog Has No Nose"
11594 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11596 * common/gst-xmlinspect.py:
11597 * configure.ac:
11598 * docs/libs/tmpl/gstdataprotocol.sgml:
11599 * docs/random/release:
11600 * po/af.po:
11601 * po/az.po:
11602 * po/bg.po:
11603 * po/ca.po:
11604 * po/cs.po:
11605 * po/de.po:
11606 * po/en_GB.po:
11607 * po/fr.po:
11608 * po/it.po:
11609 * po/nb.po:
11610 * po/nl.po:
11611 * po/ru.po:
11612 * po/sq.po:
11613 * po/sr.po:
11614 * po/sv.po:
11615 * po/tr.po:
11616 * po/uk.po:
11617 * po/vi.po:
11618 * win32/common/config.h:
11619 * win32/common/config.h.in:
11620 * win32/vs6/gst_inspect.dsp:
11621 * win32/vs6/gst_launch.dsp:
11622 * win32/vs6/libgstbase.dsp:
11623 * win32/vs6/libgstelements.dsp:
11624 * win32/vs6/libgstreamer.dsp:
11625 * win32/vs7/GStreamer.vcproj:
11626 * win32/vs7/gst-inspect.vcproj:
11627 * win32/vs7/gst-launch.vcproj:
11628 * win32/vs7/libgstbase.vcproj:
11629 bump GST_MAJORMINOR to 0.10
11630 reset libtool version
11632 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11634 * po/LINGUAS:
11635 * po/bg.po:
11636 Added Bulgarian translation by (Alexander Shopov)
11638 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11640 * tests/check/gst/gstplugin.c:
11641 fix test
11643 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11645 * common/gst-xmlinspect.py:
11646 * common/gtk-doc-plugins.mak:
11647 * configure.ac:
11648 * docs/Makefile.am:
11649 * docs/gst/Makefile.am:
11650 * docs/gst/gstreamer-docs.sgml:
11651 * docs/gst/gstreamer-sections.txt:
11652 * docs/gst/gstreamer.types:
11653 * docs/gst/gstreamer.types.in:
11654 * docs/plugins/Makefile.am:
11655 * docs/plugins/gstreamer-plugins-docs.sgml:
11656 * docs/plugins/gstreamer-plugins-sections.txt:
11657 * docs/plugins/gstreamer-plugins.types:
11658 * docs/plugins/inspect.stamp:
11659 * docs/plugins/inspect/plugin-coreelements.xml:
11660 * docs/plugins/inspect/plugin-coreindexers.xml:
11661 * docs/plugins/scanobj-build.stamp:
11662 * gstreamer.spec.in:
11663 * plugins/elements/Makefile.am:
11664 * plugins/elements/gstelements.c:
11665 * plugins/elements/gstfakesink.c:
11666 * plugins/elements/gstfakesrc.c:
11667 * plugins/elements/gstfilesink.c:
11668 * plugins/elements/gstfilesrc.c:
11669 * plugins/elements/gstqueue.c:
11670 * plugins/indexers/Makefile.am:
11671 * plugins/indexers/gstindexers.c:
11672 document core plugins in a separate document just like all the
11673 others
11674 rename these plugins to something starting with core
11676 2005-12-01 Andy Wingo <wingo@pobox.com>
11678 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11679 padding here before, but it missed the commit.
11681 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11683 * libs/gst/controller/gstinterpolation.c:
11684 whitespace prices have crashed, we should feel free to use some now
11685 use gst_guint64_to_gdouble
11687 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11689 * libs/gst/controller/gstcontroller.c:
11690 * libs/gst/controller/gsthelper.c:
11691 * libs/gst/controller/gstinterpolation.c:
11692 * libs/gst/controller/lib.c:
11693 wrap config.h include
11695 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11697 * docs/gst/gstreamer-sections.txt:
11698 update docs
11700 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11702 * plugins/elements/gstelements.c:
11703 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11704 (gst_fd_sink__class_init), (gst_fd_sink__init),
11705 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11706 (gst_fd_sink__get_property):
11707 * plugins/elements/gstfdsink.h:
11708 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11709 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11710 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11711 (gst_fd_src_unlock), (gst_fd_src_set_property),
11712 (gst_fd_src_get_property), (gst_fd_src_create),
11713 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11714 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11715 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11716 (gst_fd_src_uri_handler_init):
11717 * plugins/elements/gstfdsrc.h:
11718 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11719 more anal cleanup
11721 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11723 * docs/gst/Makefile.am:
11724 * docs/gst/gstreamer.types.in:
11725 * gst/Makefile.am:
11726 fix the docs build
11728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11730 * configure.ac:
11731 * gst/Makefile.am:
11732 * gst/gst.c:
11733 * gst/gstplugin.h:
11734 * gst/gstregistry.h:
11735 * tests/benchmarks/complexity.c:
11736 * tests/benchmarks/mass-elements.c:
11737 * tests/check/Makefile.am:
11738 * tools/Makefile.am:
11739 * tools/gst-inspect.c:
11740 * tools/gst-xmlinspect.c:
11741 various fixes to make
11742 --disable-nls --disable-registry --disable-loadsave
11743 --disable-parse --disable-gst-debug
11744 work and get the core .so down to 360444 bytes after stripping
11746 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11748 * Makefile.am:
11749 * configure.ac:
11750 descend into tests
11751 * docs/random/thomasvs/TODO:
11752 * tests/Makefile.am:
11753 * tests/README:
11754 add a README
11756 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11758 * win32/GStreamer.vcproj:
11759 * win32/MANIFEST:
11760 * win32/Makefile:
11761 * win32/Makefile.inspect:
11762 * win32/Makefile.launch:
11763 * win32/Makefile.register:
11764 * win32/README.txt:
11765 * win32/gst-inspect.vcproj:
11766 * win32/gst-launch.vcproj:
11767 * win32/gst-register.vcproj:
11768 * win32/gstelements.vcproj:
11769 * win32/gstgetbits.def:
11770 * win32/gstgetbits.vcproj:
11771 * win32/gstreamer-dbg.def:
11772 * win32/gstreamer.def:
11773 * win32/libgstbase.def:
11774 * win32/libgstbase.vcproj:
11775 * win32/link_oldruntime.c:
11776 * win32/mman.c:
11777 * win32/mman.h:
11778 * win32/mman.inl:
11779 * win32/msvc71.sln:
11780 move even more stuff, win32/ is nice and clean now
11782 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11784 * libs/gst/control/.cvsignore:
11785 * win32/MANIFEST:
11786 * win32/config.h:
11787 * win32/dirent.c:
11788 * win32/dirent.h:
11789 * win32/gstbytestream.def:
11790 * win32/gstbytestream.vcproj:
11791 * win32/gstconfig.h:
11792 * win32/gstenumtypes.c:
11793 * win32/gstenumtypes.h:
11794 * win32/gstoptimalscheduler.vcproj:
11795 * win32/gstversion.h:
11796 * win32/gtchar.h:
11797 * win32/testsuite/bins.vcproj:
11798 * win32/testsuite/bytestream.vcproj:
11799 * win32/testsuite/caps.vcproj:
11800 * win32/testsuite/cleanup.vcproj:
11801 * win32/testsuite/clock.vcproj:
11802 * win32/testsuite/debug.vcproj:
11803 * win32/testsuite/dlopen.vcproj:
11804 * win32/testsuite/dynparams.vcproj:
11805 * win32/testsuite/elements.vcproj:
11806 * win32/testsuite/ghostpads.vcproj:
11807 * win32/testsuite/indexers.vcproj:
11808 * win32/testsuite/negotiation.vcproj:
11809 * win32/testsuite/parse.vcproj:
11810 * win32/testsuite/plugin.vcproj:
11811 * win32/testsuite/refcounting.vcproj:
11812 * win32/testsuite/schedulers.vcproj:
11813 * win32/testsuite/states.vcproj:
11814 * win32/testsuite/tags.vcproj:
11815 * win32/testsuite/threads.vcproj:
11816 remove old win32 stuff that isn't maintained and should be
11817 reorganized
11819 2005-11-30 Andy Wingo <wingo@pobox.com>
11821 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11822 loading the gst.interfaces python module bork.
11824 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11825 available since GLib 2.2. Fixes #318031.
11827 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11829 * Makefile.am:
11830 * check/.cvsignore:
11831 * check/Makefile.am:
11832 * check/elements/.cvsignore:
11833 * check/elements/fakesrc.c:
11834 * check/elements/fdsrc.c:
11835 * check/elements/identity.c:
11836 * check/generic/.cvsignore:
11837 * check/generic/states.c:
11838 * check/gst-libs/.cvsignore:
11839 * check/gst-libs/controller.c:
11840 * check/gst-libs/gdp.c:
11841 * check/gst/.cvsignore:
11842 * check/gst/capslist.h:
11843 * check/gst/gst.c:
11844 * check/gst/gstbin.c:
11845 * check/gst/gstbuffer.c:
11846 * check/gst/gstbus.c:
11847 * check/gst/gstcaps.c:
11848 * check/gst/gstelement.c:
11849 * check/gst/gstevent.c:
11850 * check/gst/gstghostpad.c:
11851 * check/gst/gstiterator.c:
11852 * check/gst/gstmessage.c:
11853 * check/gst/gstminiobject.c:
11854 * check/gst/gstobject.c:
11855 * check/gst/gstpad.c:
11856 * check/gst/gstpipeline.c:
11857 * check/gst/gstplugin.c:
11858 * check/gst/gstsegment.c:
11859 * check/gst/gststructure.c:
11860 * check/gst/gstsystemclock.c:
11861 * check/gst/gsttag.c:
11862 * check/gst/gstutils.c:
11863 * check/gst/gstvalue.c:
11864 * check/net/.cvsignore:
11865 * check/net/gstnetclientclock.c:
11866 * check/net/gstnettimeprovider.c:
11867 * check/pipelines/.cvsignore:
11868 * check/pipelines/cleanup.c:
11869 * check/pipelines/simple_launch_lines.c:
11870 * check/pipelines/stress.c:
11871 * check/states/.cvsignore:
11872 * check/states/sinks.c:
11873 * configure.ac:
11874 * examples/Makefile.am:
11875 * examples/appreader/.cvsignore:
11876 * examples/appreader/Makefile.am:
11877 * examples/appreader/appreader.c:
11878 * examples/controller/.cvsignore:
11879 * examples/controller/Makefile.am:
11880 * examples/controller/audio-example.c:
11881 * examples/cutter/.cvsignore:
11882 * examples/cutter/Makefile.am:
11883 * examples/cutter/cutter.c:
11884 * examples/cutter/cutter.h:
11885 * examples/events/Makefile.am:
11886 * examples/events/seek.c:
11887 * examples/helloworld/.cvsignore:
11888 * examples/helloworld/Makefile.am:
11889 * examples/helloworld/helloworld.c:
11890 * examples/helloworld2/.cvsignore:
11891 * examples/helloworld2/Makefile.am:
11892 * examples/helloworld2/helloworld2.c:
11893 * examples/launch/.cvsignore:
11894 * examples/launch/Makefile.am:
11895 * examples/launch/mp3parselaunch.c:
11896 * examples/launch/mp3play:
11897 * examples/manual/.cvsignore:
11898 * examples/manual/Makefile.am:
11899 * examples/manual/extract.pl:
11900 * examples/metadata/Makefile.am:
11901 * examples/metadata/read-metadata.c:
11902 * examples/mixer/.cvsignore:
11903 * examples/mixer/Makefile.am:
11904 * examples/mixer/mixer.c:
11905 * examples/mixer/mixer.h:
11906 * examples/pingpong/.cvsignore:
11907 * examples/pingpong/Makefile.am:
11908 * examples/pingpong/pingpong.c:
11909 * examples/plugins/.cvsignore:
11910 * examples/plugins/Makefile.am:
11911 * examples/plugins/example.c:
11912 * examples/plugins/example.h:
11913 * examples/pwg/.cvsignore:
11914 * examples/pwg/Makefile.am:
11915 * examples/pwg/extract.pl:
11916 * examples/queue/.cvsignore:
11917 * examples/queue/Makefile.am:
11918 * examples/queue/queue.c:
11919 * examples/queue2/.cvsignore:
11920 * examples/queue2/Makefile.am:
11921 * examples/queue2/queue2.c:
11922 * examples/queue3/.cvsignore:
11923 * examples/queue3/Makefile.am:
11924 * examples/queue3/queue3.c:
11925 * examples/queue4/.cvsignore:
11926 * examples/queue4/Makefile.am:
11927 * examples/queue4/queue4.c:
11928 * examples/retag/.cvsignore:
11929 * examples/retag/Makefile.am:
11930 * examples/retag/retag.c:
11931 * examples/retag/transcode.c:
11932 * examples/thread/.cvsignore:
11933 * examples/thread/Makefile.am:
11934 * examples/thread/thread.c:
11935 * examples/typefind/.cvsignore:
11936 * examples/typefind/Makefile.am:
11937 * examples/typefind/typefind.c:
11938 * examples/xml/.cvsignore:
11939 * examples/xml/Makefile.am:
11940 * examples/xml/createxml.c:
11941 * examples/xml/runxml.c:
11942 * tests/Makefile.am:
11943 * tests/check/Makefile.am:
11944 * testsuite/.cvsignore:
11945 * testsuite/Makefile.am:
11946 * testsuite/Rules:
11947 * testsuite/caps/.cvsignore:
11948 * testsuite/caps/Makefile.am:
11949 * testsuite/caps/app_fixate.c:
11950 * testsuite/caps/audioscale.c:
11951 * testsuite/caps/caps.c:
11952 * testsuite/caps/caps.h:
11953 * testsuite/caps/caps_strings:
11954 * testsuite/caps/compatibility.c:
11955 * testsuite/caps/deserialize.c:
11956 * testsuite/caps/enumcaps.c:
11957 * testsuite/caps/eratosthenes.c:
11958 * testsuite/caps/filtercaps.c:
11959 * testsuite/caps/fixed.c:
11960 * testsuite/caps/fraction-convert.c:
11961 * testsuite/caps/fraction-multiply-and-zero.c:
11962 * testsuite/caps/intersect2.c:
11963 * testsuite/caps/intersection.c:
11964 * testsuite/caps/normalisation.c:
11965 * testsuite/caps/random.c:
11966 * testsuite/caps/renegotiate.c:
11967 * testsuite/caps/sets.c:
11968 * testsuite/caps/simplify.c:
11969 * testsuite/caps/string-conversions.c:
11970 * testsuite/caps/structure.c:
11971 * testsuite/caps/subtract.c:
11972 * testsuite/caps/union.c:
11973 * testsuite/debug/.cvsignore:
11974 * testsuite/debug/Makefile.am:
11975 * testsuite/debug/category.c:
11976 * testsuite/debug/commandline.c:
11977 * testsuite/debug/global.c:
11978 * testsuite/debug/output.c:
11979 * testsuite/debug/printf_extension.c:
11980 * testsuite/dlopen/.cvsignore:
11981 * testsuite/dlopen/Makefile.am:
11982 * testsuite/dlopen/dlopen_gst.c:
11983 * testsuite/dlopen/loadgst.c:
11984 * testsuite/elements/.cvsignore:
11985 * testsuite/elements/Makefile.am:
11986 * testsuite/elements/gst-inspect-check.in:
11987 * testsuite/elements/struct_i386.h:
11988 * testsuite/elements/struct_size.c:
11989 * testsuite/indexers/.cvsignore:
11990 * testsuite/indexers/Makefile.am:
11991 * testsuite/indexers/cache1.c:
11992 * testsuite/indexers/indexdump.c:
11993 * testsuite/parse/.cvsignore:
11994 * testsuite/parse/Makefile.am:
11995 * testsuite/parse/parse1.c:
11996 * testsuite/parse/parse2.c:
11997 * testsuite/plugin/.cvsignore:
11998 * testsuite/plugin/Makefile.am:
11999 * testsuite/plugin/README:
12000 * testsuite/plugin/dynamic.c:
12001 * testsuite/plugin/linked.c:
12002 * testsuite/plugin/loading.c:
12003 * testsuite/plugin/registry.c:
12004 * testsuite/plugin/static.c:
12005 * testsuite/plugin/static2.c:
12006 * testsuite/plugin/testplugin.c:
12007 * testsuite/plugin/testplugin2.c:
12008 * testsuite/plugin/testplugin2_s.c:
12009 * testsuite/plugin/testplugin_s.c:
12010 * testsuite/refcounting/.cvsignore:
12011 * testsuite/refcounting/Makefile.am:
12012 * testsuite/refcounting/bin.c:
12013 * testsuite/refcounting/element.c:
12014 * testsuite/refcounting/element_pad.c:
12015 * testsuite/refcounting/mainloop.c:
12016 * testsuite/refcounting/mem.c:
12017 * testsuite/refcounting/mem.h:
12018 * testsuite/refcounting/object.c:
12019 * testsuite/refcounting/pad.c:
12020 * testsuite/refcounting/sched.c:
12021 * testsuite/refcounting/thread.c:
12022 * testsuite/states/.cvsignore:
12023 * testsuite/states/Makefile.am:
12024 * testsuite/states/bin.c:
12025 * testsuite/states/locked.c:
12026 * testsuite/states/parent.c:
12027 * testsuite/threads/.cvsignore:
12028 * testsuite/threads/159566.c:
12029 * testsuite/threads/159852.c:
12030 * testsuite/threads/Makefile.am:
12031 * testsuite/threads/queue.c:
12032 * testsuite/threads/signals.c:
12033 * testsuite/threads/staticrec.c:
12034 * testsuite/threads/thread.c:
12035 * testsuite/threads/threadb.c:
12036 * testsuite/threads/threadc.c:
12037 * testsuite/threads/threadd.c:
12038 * testsuite/threads/threade.c:
12039 * testsuite/threads/threadf.c:
12040 * testsuite/threads/threadg.c:
12041 * testsuite/threads/threadh.c:
12042 * testsuite/threads/threadi.c:
12043 move all of these under tests
12045 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12047 * configure.ac:
12048 * tests/Makefile.am:
12049 fix distcheck
12051 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12053 * docs/gst/gstreamer-sections.txt:
12054 * tests/sched/.cvsignore:
12055 * tests/sched/Makefile.am:
12056 * tests/sched/cases/(fs-fs).xml:
12057 * tests/sched/cases/(fs-i-fs).xml:
12058 * tests/sched/cases/(fs-i-i-fs).xml:
12059 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12060 * tests/sched/dynamic-pipeline.c:
12061 * tests/sched/interrupt1.c:
12062 * tests/sched/interrupt2.c:
12063 * tests/sched/interrupt3.c:
12064 * tests/sched/runtestcases:
12065 * tests/sched/runxml.c:
12066 * tests/sched/sched-stress.c:
12067 * tests/sched/sort.c:
12068 * tests/sched/testcases:
12069 * tests/sched/testcases1.tc:
12070 * tests/seeking/.cvsignore:
12071 * tests/seeking/Makefile.am:
12072 * tests/seeking/seeking1.c:
12073 * tests/threadstate/.cvsignore:
12074 * tests/threadstate/Makefile.am:
12075 * tests/threadstate/test1.c:
12076 * tests/threadstate/test2.c:
12077 * tests/threadstate/threadstate1.c:
12078 * tests/threadstate/threadstate2.c:
12079 * tests/threadstate/threadstate3.c:
12080 * tests/threadstate/threadstate4.c:
12081 * tests/threadstate/threadstate5.c:
12082 remove obsolete tests
12083 * configure.ac:
12084 * tests/bench-complexity.scm:
12085 * tests/bench-mass_elements.scm:
12086 * tests/complexity.c:
12087 * tests/complexity.gnuplot:
12088 * tests/instantiate/.cvsignore:
12089 * tests/instantiate/Makefile.am:
12090 * tests/instantiate/caps.c:
12091 * tests/mass_elements.c:
12092 * tests/network-clock-utils.scm:
12093 * tests/network-clock.scm:
12094 * tests/plot-data:
12095 First pass at cleaning up tests/ dir before moving the rest
12096 Combined with CVS surgery
12098 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12100 * po/POTFILES.in:
12101 queue has moved, update
12103 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12105 * docs/gst/gstreamer-sections.txt:
12106 remove double entries from the docs
12107 * gst/gst_private.h:
12108 * gst/gstinfo.c: (_gst_debug_init):
12109 remove the THREAD debug category
12110 * gst/Makefile.am:
12111 * gst/gstqueue.c:
12112 * gst/gstqueue.h:
12113 * docs/gst/gstreamer.types:
12114 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12115 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12116 completely move queue and fix up debugging categories
12118 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12120 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12121 make initialization portable, using LL is not
12123 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12125 * win32/common/gstconfig.h:
12126 add large padding
12128 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12130 * win32/common/libgstreamer.def:
12131 rename symbols; sort base section
12133 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12135 * gst/gstclock.c: (do_linear_regression):
12136 remove crack non-portable handrolled DEBUG macro
12138 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12140 * docs/random/release:
12141 update notes
12142 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12143 (gst_object_flags_get_type), (register_gst_bin_flags),
12144 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12145 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12146 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12147 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12148 (gst_caps_flags_get_type), (register_gst_clock_return),
12149 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12150 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12151 (gst_clock_flags_get_type), (register_gst_state),
12152 (gst_state_get_type), (register_gst_state_change_return),
12153 (gst_state_change_return_get_type), (register_gst_state_change),
12154 (gst_state_change_get_type), (register_gst_element_flags),
12155 (gst_element_flags_get_type), (register_gst_core_error),
12156 (gst_core_error_get_type), (register_gst_library_error),
12157 (gst_library_error_get_type), (register_gst_resource_error),
12158 (gst_resource_error_get_type), (register_gst_stream_error),
12159 (gst_stream_error_get_type), (register_gst_event_type_flags),
12160 (gst_event_type_flags_get_type), (register_gst_event_type),
12161 (gst_event_type_get_type), (register_gst_seek_type),
12162 (gst_seek_type_get_type), (register_gst_seek_flags),
12163 (gst_seek_flags_get_type), (register_gst_format),
12164 (gst_format_get_type), (register_gst_index_certainty),
12165 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12166 (gst_index_entry_type_get_type),
12167 (register_gst_index_lookup_method),
12168 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12169 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12170 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12171 (gst_index_flags_get_type), (register_gst_debug_level),
12172 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12173 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12174 (gst_iterator_result_get_type), (register_gst_iterator_item),
12175 (gst_iterator_item_get_type), (register_gst_message_type),
12176 (gst_message_type_get_type), (register_gst_mini_object_flags),
12177 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12178 (gst_pad_link_return_get_type), (register_gst_flow_return),
12179 (gst_flow_return_get_type), (register_gst_activate_mode),
12180 (gst_activate_mode_get_type), (register_gst_pad_direction),
12181 (gst_pad_direction_get_type), (register_gst_pad_flags),
12182 (gst_pad_flags_get_type), (register_gst_pad_presence),
12183 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12184 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12185 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12186 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12187 (gst_plugin_flags_get_type), (register_gst_rank),
12188 (gst_rank_get_type), (register_gst_query_type),
12189 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12190 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12191 (gst_tag_flag_get_type), (register_gst_task_state),
12192 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12193 (gst_alloc_trace_flags_get_type),
12194 (register_gst_type_find_probability),
12195 (gst_type_find_probability_get_type), (register_gst_uri_type),
12196 (gst_uri_type_get_type), (register_gst_parse_error),
12197 (gst_parse_error_get_type):
12198 * win32/common/gstenumtypes.h:
12199 * win32/common/gstversion.h:
12200 update visual studio generated files
12202 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12204 * win32/vs6/libgstbase.dsp:
12205 * win32/vs6/libgstelements.dsp:
12206 update project files for new locations
12208 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12210 * Makefile.am:
12211 remove some files
12212 * README:
12213 reinstate and update
12214 * DEVEL:
12215 * REQUIREMENTS:
12216 removed
12217 * LICENSE:
12218 * docs/random/LICENSE:
12219 moved to random
12221 2005-11-30 Edward Hervey <edward@fluendo.com>
12223 * gst/gsttypefind.c: (gst_type_find_register):
12224 * gst/gsttypefind.h:
12225 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12226 (gst_type_find_factory_dispose):
12227 * gst/gsttypefindfactory.h:
12228 Fix memory leak in GstTypeFindFactory.
12230 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12232 * gst/gst.c:
12233 * plugins/elements/Makefile.am:
12234 * plugins/elements/gstelements.c:
12235 * plugins/elements/gstqueue.c:
12236 move queue from core to the elements plugin
12238 2005-11-29 Andy Wingo <wingo@pobox.com>
12240 * libs/gst/base/gstbasetransform.h:
12241 * libs/gst/base/gstbasesrc.h:
12242 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12244 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12245 of pointers by which to pad very extensible base classes (like the
12246 ones in libs/gst/base).
12248 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12250 * docs/gst/gstreamer-docs.sgml:
12251 * docs/gst/gstreamer-sections.txt:
12252 * docs/libs/gstreamer-libs-docs.sgml:
12253 * docs/libs/gstreamer-libs-sections.txt:
12254 moving documentation from core to lib
12256 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12258 * check/Makefile.am:
12259 * configure.ac:
12260 * docs/gst/Makefile.am:
12261 * gst/Makefile.am:
12262 * gst/base/.cvsignore:
12263 * gst/base/Makefile.am:
12264 * gst/base/README:
12265 * gst/base/gstadapter.c:
12266 * gst/base/gstadapter.h:
12267 * gst/base/gstbasesink.c:
12268 * gst/base/gstbasesink.h:
12269 * gst/base/gstbasesrc.c:
12270 * gst/base/gstbasesrc.h:
12271 * gst/base/gstbasetransform.c:
12272 * gst/base/gstbasetransform.h:
12273 * gst/base/gstcollectpads.c:
12274 * gst/base/gstcollectpads.h:
12275 * gst/base/gstpushsrc.c:
12276 * gst/base/gstpushsrc.h:
12277 * gst/base/gsttypefindhelper.c:
12278 * gst/base/gsttypefindhelper.h:
12279 * gst/check/Makefile.am:
12280 * gst/check/gstcheck.c:
12281 * gst/check/gstcheck.h:
12282 * gst/net/Makefile.am:
12283 * gst/net/gstnet.h:
12284 * gst/net/gstnetclientclock.c:
12285 * gst/net/gstnetclientclock.h:
12286 * gst/net/gstnettimepacket.c:
12287 * gst/net/gstnettimepacket.h:
12288 * gst/net/gstnettimeprovider.c:
12289 * gst/net/gstnettimeprovider.h:
12290 * libs/gst/Makefile.am:
12291 * libs/gst/base/Makefile.am:
12292 * libs/gst/base/gstbasetransform.c:
12293 * libs/gst/check/Makefile.am:
12294 * plugins/elements/Makefile.am:
12295 * po/POTFILES.in:
12296 CVS surgery + support to move base, check, and net out of gst
12297 and into libs/gst
12299 2005-11-29 Andy Wingo <wingo@pobox.com>
12301 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12303 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12304 padding.
12306 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12308 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12310 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12312 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12313 padding; reduces object size by about 30%. We don't expect
12314 anything else to go into gstobject.
12316 * gst/gstminiobject.h (struct _GstMiniObject)
12317 (struct _GstMiniObjectClass): Only one pointer of padding; the
12318 payload is only a pointer and two ints anyway. For the class there
12319 are only two methods as well.
12321 * gst/gstelement.h (struct _GstElementClass): Removed
12322 the state_changed signal callback, it is not used.
12324 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12326 * docs/gst/gstreamer.types:
12327 fix includes, though they are a little dinky
12329 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12331 * check/Makefile.am:
12332 look in the right place for elements, a lot more chance of
12333 success
12334 * gst/Makefile.am:
12335 remove indexers and elements subdirs
12336 * plugins/Makefile.am:
12337 make indexers conditional
12339 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12341 * Makefile.am:
12342 * configure.ac:
12343 * plugins/elements/Makefile.am:
12344 * plugins/elements/gstcapsfilter.c:
12345 * plugins/elements/gstfilesink.c:
12346 * plugins/elements/gstfilesrc.c:
12347 * plugins/elements/gstidentity.c:
12348 * plugins/indexers/Makefile.am:
12349 do CVS surgery and related build fixery to move elements
12350 and indexers in a new gstreamer/plugins directory, out of the
12351 gst/ directory
12353 2005-11-29 Andy Wingo <wingo@pobox.com>
12355 * check/Makefile.am:
12356 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12357 * pkgconfig/gstreamer-net.pc.in:
12358 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12359 #322257.
12361 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12363 * tools/Makefile.am:
12364 * tools/gst-complete.1.in:
12365 * tools/gst-complete.c:
12366 * tools/gst-compprep.1.in:
12367 * tools/gst-compprep.c:
12368 removing -compprep and -complete
12370 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12372 * gst/gstevent.c: (gst_event_new_new_segment),
12373 (gst_event_parse_new_segment):
12374 * gst/gstevent.h:
12375 fix #320529 - clean up new_segment API and structure.
12376 Let's hope everyone was using the methods, and not the structure.
12378 2005-11-29 Edward Hervey <edward@fluendo.com>
12380 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12381 (gst_base_sink_event), (gst_base_sink_do_sync),
12382 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12383 Properly handle non GST_FORMAT_TIME segment
12384 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12385 Properly handle non GST_FORMAT_TIME segment
12386 * gst/gstsegment.c:
12387 This function is valid if the accumulator is 0 and the format
12388 is different from the requested format.
12390 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12392 * docs/gst/gstreamer-sections.txt:
12393 Add gst_query_new_seeking and gst_query_parse_seeking to the
12394 docs.
12396 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12398 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12399 Treat a pad alloc with new caps the same as if we were not
12400 negotiated, in order to allow a changing upstream output
12401 to produce a new format of data.
12403 2005-11-29 Edward Hervey <edward@fluendo.com>
12405 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12406 (gst_base_transform_event), (gst_base_transform_eventfunc):
12407 The event virtual method is now properly implemented, with a default
12408 handler
12409 Sub classes should call the parent_class event method. They should
12410 return FALSE if they had a problem handling the given event, or don't
12411 want GstBaseTransform to send that even downstream
12412 * gst/elements/gstidentity.c: (gst_identity_class_init),
12413 (gst_identity_init), (gst_identity_event),
12414 (gst_identity_transform_ip), (gst_identity_set_property),
12415 (gst_identity_get_property):
12416 * gst/elements/gstidentity.h:
12417 Added the single-segment boolean property.
12418 If set to TRUE, it will output a single segment of data, starting from
12419 0, will eat up all incoming newsegment, and modify the timestamp of the
12420 buffers accordingly
12422 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
12424 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12425 Don't ref NULL target pad (#322751). Improve docs.
12427 2005-11-29 Michael Smith <msmith@fluendo.com>
12429 * gst/gstregistryxml.c: (load_plugin):
12430 Don't crash if we failed to load a feature from a plugin.
12432 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12434 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12435 (GST_START_TEST):
12436 use more check API and less GLib API
12438 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12440 * Makefile.am:
12441 don't run checks if we don't have check
12442 * common/check.mak:
12443 remove the registry when running make torture
12444 * docs/gst/gstreamer-sections.txt:
12445 remove second multiply
12446 * gst/gstqueue.c: (gst_queue_loop):
12447 fix a compile warning when disabling debug
12449 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12451 * gst/gstinfo.h:
12452 Hey! Let's print the pad name if the pointer != NULL instead
12453 of when it == NULL :-)
12455 2005-11-28 Wim Taymans <wim@fluendo.com>
12457 * check/gst/gstutils.c: (GST_START_TEST):
12458 Updated check, add some scaling accuracy checking code.
12460 * gst/gstutils.c: (gst_util_div128_64),
12461 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12462 (gst_util_uint64_scale_int):
12463 Fix 6 times faster division code. Optimize for common
12464 1/1 and less common X/1 cases.
12466 2005-11-28 Wim Taymans <wim@fluendo.com>
12468 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12469 More checks.
12471 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12472 (do_linear_regression), (gst_clock_add_observation):
12473 Cleanups.
12474 Release lock when the clock cannot be slaved.
12475 Catch the case where the regression returned an invalid denominator.
12477 * gst/gstutils.c: (gst_util_div128_64_iterate),
12478 (gst_util_div128_64), (gst_util_uint64_scale_int64),
12479 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12480 Add protentially more performant non-iterative 128/64 divide function
12481 that unfortunatly does not work yet.
12482 Shortcut the trivial 0/X = 0 case.
12483 Remove the warnings on overflow.
12485 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12487 * gst/gstplugin.c: (gst_plugin_register_func):
12488 everything causing a plugin not to load should be at least a WARNING
12490 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12492 * docs/random/ensonic/dparams.txt:
12493 some TODOs for the next dev cycle
12494 * libs/gst/controller/gstcontroller.c:
12495 (gst_controlled_property_set_interpolation_mode),
12496 (gst_controlled_property_new):
12497 * libs/gst/controller/gstcontroller.h:
12498 use base type to assign acccessor functions
12500 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12502 * check/Makefile.am:
12503 Oops, that should have been top_srcdir
12505 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12507 * check/Makefile.am:
12508 * check/elements/fdsrc.c: (GST_START_TEST):
12509 Use a cmdline define to specify the location of a file to use for
12510 testing, to avoid breaking distcheck.
12512 2005-11-28 Andy Wingo <wingo@pobox.com>
12514 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12516 2005-11-28 Edward Hervey <edward@fluendo.com>
12518 * tools/gst-launch.c: (main):
12519 Clarify the output strings, makes it easier to translate.
12520 Fixes #322626
12522 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12524 * gst/Makefile.am:
12525 don't try and build net if we don't even have <sys/socket.h>
12527 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12529 * check/Makefile.am:
12530 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12531 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12532 Add tests for fdsrc seekability
12534 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12535 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12536 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12537 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12538 * gst/elements/gstfdsrc.h:
12539 fdsrc should not be a 'live' source.
12540 Implement seeking on seekable fd's.
12542 * gst/gstquery.c: (gst_query_new_seeking),
12543 (gst_query_parse_seeking):
12544 * gst/gstquery.h:
12545 Implement SEEKING query functions:
12546 *_new_seeking and *_parse_seeking
12548 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12550 * gst/gstelement.c: (gst_element_dispose):
12551 don't loop forever
12553 * gst/gstiterator.c:
12554 * gst/gststructure.c:
12555 doc fixes
12557 * libs/gst/controller/gstcontroller.c:
12558 (gst_controlled_property_set_interpolation_mode):
12559 * libs/gst/controller/gstcontroller.h:
12560 * libs/gst/controller/gstinterpolation.c:
12561 (interpolate_none_get_enum_value_array):
12562 support controlling enums
12564 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12566 * gst/gstvalue.c:
12567 Improve documentation for gst_value_union().
12569 * gst/gstvalue.h:
12570 Change return value for union, intersect and subtract functions
12571 from gint to gboolean.
12573 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12575 * gst/gstvalue.c: (gst_value_serialize_any_list),
12576 (gst_value_transform_any_list_string),
12577 (gst_value_deserialize_list), (gst_value_deserialize_array),
12578 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12579 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12580 (gst_value_set_fraction_range_full),
12581 (gst_value_deserialize_fraction_range),
12582 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12583 (gst_value_deserialize_boolean),
12584 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12585 (gst_value_serialize_float), (gst_value_deserialize_float),
12586 (gst_string_wrap), (gst_value_deserialize_string),
12587 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12588 (gst_value_union_int_range_int_range),
12589 (gst_value_intersect_int_range_int_range),
12590 (gst_value_intersect_double_range_double_range),
12591 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12592 (gst_value_subtract_int_range_int_range),
12593 (gst_value_subtract_double_double_range),
12594 (gst_value_subtract_double_range_double_range),
12595 (gst_value_deserialize_fraction):
12596 * gst/gstvalue.h:
12597 Use gint, gdouble and gchar in our API instead of int, double and
12598 char (and make usage in gstvalue.c more consistent).
12600 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12602 * check/Makefile.am:
12603 * libs/gst/controller/Makefile.am:
12604 * libs/gst/dataprotocol/Makefile.am:
12605 fix up Makefile.am and remove GST_ENABLE_NEW
12607 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12609 * configure.ac:
12610 * gst/Makefile.am:
12611 * gst/base/Makefile.am:
12612 * gst/check/Makefile.am:
12613 * gst/elements/Makefile.am:
12614 * gst/net/Makefile.am:
12615 update LDFLAGS use some more
12617 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12619 * common/m4/gst-doc.m4:
12620 Fixes #312589
12622 2005-11-26 Edward Hervey <edward@fluendo.com>
12624 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12625 This shouldn't issue a g_warning since it returns NULL if it
12626 couldn't find the plugin, and all functions using this behave
12627 properly on a NULL return. Switching to a GST_WARNING.
12629 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12631 * gst/gstbin.c: (gst_bin_handle_message_func):
12632 Don't leak clock messages.
12634 2005-11-25 Wim Taymans <wim@fluendo.com>
12636 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12637 (gst_util_uint64_scale_int):
12638 Optimisations, remove unneeded vars.
12640 2005-11-25 Wim Taymans <wim@fluendo.com>
12642 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12643 Added more checks for the high precision uint64 cases.
12645 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12646 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12647 Implement high precision (guint64 * guint64) / guint64.
12649 2005-11-24 Wim Taymans <wim@fluendo.com>
12651 * gst/base/gstbasesrc.c: (gst_base_src_query):
12652 Fix wrong percentage query.
12654 * gst/gstutils.c: (gst_util_uint64_scale),
12655 (gst_util_uint64_scale_int):
12656 Add some more common cases that can be handled
12657 efficiently to _scale.
12659 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12661 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12662 (gst_mini_object_suite):
12663 don't use check calls from threads; check probably isn't
12664 threadsafe and using a lock to make it threadsafe would
12665 defeat the purpose of this check
12666 * gst/check/gstcheck.c:
12667 * gst/check/gstcheck.h:
12668 use GST_DEBUG some more
12670 2005-11-24 Wim Taymans <wim@fluendo.com>
12672 * gst/gstutils.c: (gst_util_uint64_scale),
12673 (gst_util_uint64_scale_int):
12674 Chain trivial case to _scale_int.
12676 2005-11-24 Wim Taymans <wim@fluendo.com>
12678 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12679 Added test for scaling.
12681 * gst/gstclock.h:
12682 Small doc fix.
12684 * gst/gstutils.c: (gst_util_uint64_scale_int):
12685 Implemented high precision scaling code.
12687 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12689 * gst/gstinfo.h:
12690 do not crash on pad==NULL
12692 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12694 Patch by: Stefan Kost
12696 * common/gtk-doc.mak:
12697 * docs/gst/Makefile.am:
12698 * docs/libs/Makefile.am:
12699 Fix distcheck issues for the libraries docs build
12700 Closes #319599.
12702 2005-11-24 Michael Smith <msmith@fluendo.com>
12704 * docs/manual/basics-helloworld.xml:
12705 Fix bug #315027: memory leak in example code in docs.
12707 2005-11-24 Michael Smith <msmith@fluendo.com>
12709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12710 Unlock the PREROLL_LOCK in a failure case.
12712 2005-11-24 Wim Taymans <wim@fluendo.com>
12714 * docs/gst/gstreamer-sections.txt:
12715 * gst/base/gstadapter.h:
12716 * gst/base/gstbasesink.h:
12717 * gst/base/gstbasesrc.h:
12718 * gst/base/gstbasetransform.h:
12719 * gst/base/gstpushsrc.h:
12720 * gst/elements/gstfakesink.h:
12721 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12722 * gst/elements/gstfakesrc.h:
12723 * gst/elements/gstfilesink.h:
12724 * gst/elements/gstfilesrc.h:
12725 * gst/gst.c:
12726 * gst/gstbin.c:
12727 * gst/gstbuffer.c: (_gst_buffer_copy):
12728 * gst/gstbus.h:
12729 * gst/gstcaps.c:
12730 * gst/gstchildproxy.c:
12731 * gst/gstclock.c:
12732 * gst/gstelement.c:
12733 * gst/gstelementfactory.c:
12734 * gst/gstelementfactory.h:
12735 * gst/gstevent.c:
12736 * gst/gstghostpad.h:
12737 * gst/gstindex.h:
12738 * gst/gstinterface.h:
12739 * gst/gstminiobject.c:
12740 * gst/gstminiobject.h:
12741 * gst/gstpad.c:
12742 * gst/gstpad.h:
12743 * gst/gstpadtemplate.h:
12744 * gst/gstpipeline.h:
12745 * gst/gstpluginfeature.h:
12746 * gst/gstquery.h:
12747 * gst/gstqueue.h:
12748 * gst/gsttaglist.c:
12749 * gst/gsttaglist.h:
12750 * gst/gsttagsetter.c:
12751 * gst/gsttagsetter.h:
12752 * gst/gsttrace.c:
12753 * gst/gsttrace.h:
12754 * gst/gsttypefind.h:
12755 * gst/gsturi.h:
12756 * gst/gstvalue.c:
12757 * gst/net/gstnetclientclock.c:
12758 * gst/net/gstnetclientclock.h:
12759 * gst/net/gstnettimepacket.c:
12760 * gst/net/gstnettimeprovider.c:
12761 * gst/net/gstnettimeprovider.h:
12762 Doc fixes.
12764 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12766 * configure.ac: back to HEAD
12768 === release 0.9.6 ===
12770 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12772 * configure.ac:
12773 releasing 0.9.6, "Always On Time"
12775 2005-11-23 Wim Taymans <wim@fluendo.com>
12777 * docs/gst/gstreamer-sections.txt:
12778 * gst/glib-compat.c:
12779 * gst/gsttagsetter.c:
12780 * gst/gstvalue.c:
12781 * gst/net/gstnetclientclock.c:
12782 * gst/net/gstnettimepacket.h:
12783 Doc updates.
12785 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12787 * docs/faq/using.xml:
12788 * docs/libs/tmpl/gstcontrol.sgml:
12789 * docs/manual/advanced-dparams.xml:
12790 * docs/manual/appendix-checklist.xml:
12791 * docs/manual/basics-elements.xml:
12792 * docs/pwg/other-source.xml:
12793 * docs/random/moving-plugins:
12794 * gst/gstpad.c:
12795 * tools/gst-launch.1.in:
12796 remove mentions of sinesrc
12798 2005-11-23 Michael Smith <msmith@fluendo.com>
12800 * docs/gst/gstreamer-sections.txt:
12801 Update for new API and API changes.
12802 * gst/gstobject.h:
12803 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12804 * gst/gstvalue.c:
12805 Documentation typo fix.
12806 * gst/net/gstnettimepacket.c:
12807 Documentation fixes for arguments.
12809 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12811 * gst/gststructure.c: (gst_structure_get_fraction),
12812 (gst_structure_parse_value),
12813 (gst_structure_fixate_field_nearest_fraction):
12814 * gst/gststructure.h:
12815 * gst/gstutils.c: (gst_util_uint64_scale_int):
12816 * gst/gstutils.h:
12817 * scripts/update-funcnames:
12818 API Changes.
12819 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12820 Make gst_structure_fixate_field_nearest_fraction take a numerator
12821 and denominator argument instead of a GValue
12822 add gst_structure_get_fraction helper function.
12824 2005-11-23 Wim Taymans <wim@fluendo.com>
12826 * docs/design/part-TODO.txt:
12827 Update TODO.
12829 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12830 * gst/net/gstnetclientclock.h:
12831 Use parent fields for timeout and window_size.
12833 2005-11-23 Andy Wingo <wingo@pobox.com>
12835 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12836 rate_num/rate_denom change.
12838 * gst/net/gstnetclientclock.c
12839 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12840 OBJECT_LOCK. Don't call add_observation with the lock.
12842 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12843 fraction.
12844 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12845 rate fraction.
12846 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12847 deal with rate as a fraction whose numerator and denominator are
12848 GstClockTime values.
12849 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12850 master; the other fields are protected by the SLAVE_LOCK.
12851 (do_linear_regression): Note that this must be called with the
12852 SLAVE_LOCK.
12853 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12854 OBJECT_LOCK. Call set_calibration instead of touching the
12855 variables directly.
12856 (gst_clock_set_property, gst_clock_get_property): Protect
12857 master/slave parameters with the SLAVE_LOCK.
12859 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12860 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12861 note that all of the instance variables that add_observation and
12862 the set_master functions use are protected by that lock and not
12863 the OBJECT_LOCK.
12864 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12866 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12867 the caller to take the object lock.
12869 2005-11-23 Wim Taymans <wim@fluendo.com>
12871 * gst/gsterror.c: (_gst_core_errors_init):
12872 * gst/gsterror.h:
12873 Add error for clock stuff.
12875 * gst/gstpipeline.c: (gst_pipeline_change_state),
12876 (gst_pipeline_set_clock):
12877 Post clock error when clock cannot be used in a pipeline.
12879 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12881 * docs/gst/gstreamer-sections.txt:
12882 make two symbols from gstinfo private for the docs
12883 * gst/base/gstcollectpads.h:
12884 * gst/gstutils.c:
12885 fix doc typos, update docs
12887 2005-11-22 Wim Taymans <wim@fluendo.com>
12889 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12890 (gst_base_sink_wait), (gst_base_sink_do_sync),
12891 (gst_base_sink_handle_event):
12892 * gst/base/gstbasesink.h:
12893 No need to store the clock, the parent element class already
12894 has it.
12896 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12897 Updates for clock_set returning a gboolean
12899 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12900 (gst_clock_id_wait_async), (gst_clock_class_init),
12901 (gst_clock_init), (gst_clock_finalize),
12902 (gst_clock_get_internal_time), (gst_clock_get_time),
12903 (gst_clock_slave_callback), (gst_clock_set_master),
12904 (gst_clock_get_master), (do_linear_regression),
12905 (gst_clock_add_observation), (gst_clock_set_property),
12906 (gst_clock_get_property):
12907 * gst/gstclock.h:
12908 Implement master/slave. When setting a clock as a slave, a
12909 periodic timeout is scheduled to sample master and slave times.
12910 Then the slave clock is recalibrated to match offset and rate
12911 of the master clock.
12912 Update logging a bit.
12913 Add flag so that a clock can state that is cannot be slaved to
12914 another clock.
12916 * gst/gstelement.c: (gst_element_set_clock):
12917 * gst/gstelement.h:
12918 The set clock returns a gboolean for when an element cannot
12919 deal with the selected clock in the pipeline.
12921 * gst/gstpipeline.c: (gst_pipeline_change_state),
12922 (gst_pipeline_set_clock):
12923 * gst/gstpipeline.h:
12924 Handle the case where the selected clock cannot be set on
12925 the pipeline.
12927 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12928 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12929 (gst_net_client_clock_set_property),
12930 (gst_net_client_clock_get_property),
12931 (gst_net_client_clock_observe_times):
12932 * gst/net/gstnetclientclock.h:
12933 Use regression code in GstClock parent, remove duplicated
12934 functionality.
12936 2005-11-22 Michael Smith <msmith@fluendo.com>
12938 * gst/gstutils.c: (gst_util_clock_time_scale):
12939 * gst/gstutils.h:
12940 * docs/gst/gstreamer-sections.txt:
12941 Rename method to have extra underscore.
12943 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
12945 * gst/elements/Makefile.am:
12946 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12947 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12948 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12949 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12950 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12951 * gst/elements/gstfakesrc.h:
12952 * gst/gstqueue.c: (queue_leaky_get_type):
12953 correctly fix GEnumValues so that nick is the short lowercase
12954 dashed tag
12955 * tools/gst-inspect.c: (print_element_properties_info):
12956 also show the nick, since it's useful to use from parse_launch
12957 syntax
12958 Fixes #322139
12960 2005-11-22 Michael Smith <msmith@fluendo.com>
12962 * gst/gstutils.c: (gst_util_clocktime_scale):
12963 * gst/gstutils.h:
12964 * docs/gst/gstreamer-sections.txt:
12965 Add util method for scaling a clocktime by a fraction. Useful
12966 implementation is left as an exercise for the reader.
12968 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12970 * gst/gstvalue.c: (gst_value_collect_fraction_range):
12971 If needed, allocate storage in the destination value during
12972 collection.
12974 2005-11-22 Edward Hervey <edward@fluendo.com>
12976 * docs/gst/gstreamer-sections.txt:
12977 * gst/Makefile.am:
12978 * gst/gst.h:
12979 * gst/gsturitype.c:
12980 * gst/gsturitype.h:
12981 * gst/gstutils.c: (gst_util_set_object_arg):
12982 * tools/gst-compprep.c: (main):
12983 * tools/gst-inspect.c: (print_element_properties_info):
12984 Removed GstURI, closes bug #321061
12986 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12988 * check/gst/gststructure.c: (GST_START_TEST):
12989 * gst/gststructure.c: (gst_structure_parse_value):
12990 Oops, broke automatic string type parsing.
12991 Add a test to catch it in future.
12993 2005-11-22 Andy Wingo <wingo@pobox.com>
12995 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
12996 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
12997 Actually rename the function implementations. Grr.
12999 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13001 * check/gst/capslist.h:
13002 Comment test cases
13003 * check/gst/gststructure.c: (GST_START_TEST),
13004 (gst_structure_suite):
13005 Test automatic value type detection in gst_structure_from_string.
13006 * gst/gststructure.c: (gst_structure_parse_value):
13007 Add fraction as a type we try and guess automatically in
13008 caps/structure strings.
13010 2005-11-22 Andy Wingo <wingo@pobox.com>
13012 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13014 * gst/gsttagsetter.h:
13015 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13016 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13017 (gst_tag_setter_add_tag_valist)
13018 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13019 _add_values, _add_valist, and _add_valist_values. Since this is an
13020 interface the function suffixes should be more explicit so
13021 language binding don't end up with element.add_valist ->
13022 gst_tag_setter_add_valist, for example. Fixes #322069.
13024 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13026 * check/gst/gstcaps.c: (GST_START_TEST):
13027 Extend caps string tests to check that a caps to string
13028 conversion is reversible and produces the same caps.
13030 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13031 Output "fraction" as the generic type fraction range, so caps
13032 serialisation and deserialisation works.
13033 * check/gst/capslist.h:
13034 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13035 Support 'MIN' and 'MAX' for deserialising fractions.
13037 2005-11-22 Andy Wingo <wingo@pobox.com>
13039 * gst/gstevent.h (gst_event_new_new_segment)
13040 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13041 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13042 Renamed from *_newsegment, *_buffersize, *_notarget.
13044 * scripts/update-funcnames: New script, performs the changes
13045 listed above.
13047 2005-11-22 Wim Taymans <wim@fluendo.com>
13049 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13050 Make sure the GstFlowReturn is returned.
13052 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13053 (gst_bus_add_signal_watch):
13054 * gst/gstbus.h:
13055 add gst_bus_add_signal_watch_full.
13057 * gst/gstplugin.c: (gst_plugin_load_file):
13058 Small style cleanup.
13060 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13062 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13063 Block the fakesrc srcpad when we send an event, to avoid
13064 contention on the stream_lock causing random test failures.
13066 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13068 * check/gst/gstvalue.c: (GST_START_TEST):
13069 * gst/gstvalue.c: (gst_value_fraction_subtract):
13070 Fix subtraction.
13072 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13074 * gst/gst.h:
13075 include "gstchildproxy.h"
13076 * gst/gstchildproxy.h:
13077 * libs/gst/controller/gstcontroller.h:
13078 use G_GNUC_NULL_TERMINATED
13080 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13082 * check/gst/capslist.h:
13083 * check/gst/gstcaps.c: (GST_START_TEST):
13084 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13085 * gst/gststructure.c: (gst_structure_parse_range),
13086 (gst_structure_fixate_field_nearest_fraction):
13087 * gst/gststructure.h:
13088 * gst/gstvalue.c: (gst_value_init_fraction_range),
13089 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13090 (gst_value_collect_fraction_range),
13091 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13092 (gst_value_set_fraction_range_full),
13093 (gst_value_get_fraction_range_min),
13094 (gst_value_get_fraction_range_max),
13095 (gst_value_serialize_fraction_range),
13096 (gst_value_transform_fraction_range_string),
13097 (gst_value_compare_fraction_range),
13098 (gst_value_deserialize_fraction_range),
13099 (gst_value_intersect_fraction_fraction_range),
13100 (gst_value_intersect_fraction_range_fraction_range),
13101 (gst_value_subtract_fraction_fraction_range),
13102 (gst_value_subtract_fraction_range_fraction),
13103 (gst_value_subtract_fraction_range_fraction_range),
13104 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13105 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13106 (gst_value_transform_string_fraction), (_gst_value_initialize):
13107 * gst/gstvalue.h:
13108 Implement fraction ranges and extend GstFraction to support
13109 arithmetic subtraction, as well as deserialization from integer
13110 strings such as "100"
13111 Add a testsuite as for int and double range set operations
13113 2005-11-21 Andy Wingo <wingo@pobox.com>
13115 * gst/gsttaglist.h:
13116 * gst/gstcaps.h:
13117 * gst/gststructure.h: Add glib-compat.h.
13119 2005-11-21 Wim Taymans <wim@fluendo.com>
13121 * gst/gstbin.c: (gst_bin_change_state_func):
13122 Fix for #321595
13124 2005-11-21 Wim Taymans <wim@fluendo.com>
13126 * gst/gstsegment.h:
13127 And add a nice define too.
13129 2005-11-21 Wim Taymans <wim@fluendo.com>
13131 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13132 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13133 (gst_segment_set_duration), (gst_segment_set_last_stop),
13134 (gst_segment_set_seek), (gst_segment_set_newsegment),
13135 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13136 (gst_segment_clip):
13137 * gst/gstsegment.h:
13138 Make binding friendly.
13140 2005-11-21 Andy Wingo <wingo@pobox.com>
13142 * gst/gsttagsetter.h:
13143 * gst/gsttaglist.h:
13144 * gst/gststructure.h:
13145 * gst/gstcaps.h:
13146 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13147 #319940.
13149 * gst/gsterror.c (_gst_core_errors_init):
13150 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13151 category.
13153 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13154 (noinst_HEADERS): noinst the -private.
13156 2005-11-21 Michael Smith <msmith@fluendo.com>
13158 * gst/gstplugin.h:
13159 * gst/gstregistry.h:
13160 Remove unimplemented declarations for which we can see no sensible
13161 use.
13163 2005-11-21 Andy Wingo <wingo@pobox.com>
13165 * gst/gst.h: Include glib-compat.h.
13167 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13169 * gst/glib-compat.c: Include the public and the private header.
13171 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13173 * gst/gstvalue.c:
13174 * gst/gstpad.c:
13175 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13177 * check/gst/gstevent.c (create_custom_events): Check that
13178 FLUSH_STOP is serialized.
13180 * check/elements/identity.c (event_func):
13181 * check/elements/fakesrc.c (event_func): No stream lock, the core
13182 takes it.
13184 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13185 stream lock taking, yay.
13187 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13188 ensure that core takes the stream lock.
13190 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13191 lock name change.
13193 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13194 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13195 it already. For the flush start we do take it though so we get the
13196 right preroll state change messages.
13198 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13199 the stream lock here, the core does it for us.
13201 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13202 GST_STREAM_GET_LOCK.
13203 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13204 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13205 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13206 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13207 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13208 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13210 * gst/gstpad.c: Update for stream lock name change.
13212 * gst/base/gstbasesink.c: Update for preroll lock name change.
13214 2005-11-21 Wim Taymans <wim@fluendo.com>
13216 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13217 (gst_clock_get_master):
13218 * gst/gstclock.h:
13219 * gst/gstsystemclock.c: (gst_system_clock_init):
13220 Convert Clock flags to object flags.
13221 Added methods to manage master/slave clocks.
13223 2005-11-21 Wim Taymans <wim@fluendo.com>
13225 * check/gst/gstsegment.c: (GST_START_TEST):
13226 * docs/design/part-TODO.txt:
13227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13228 (gst_base_sink_event), (gst_base_sink_do_sync),
13229 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13230 (gst_base_sink_query), (gst_base_sink_change_state):
13231 * gst/base/gstbasesink.h:
13232 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13233 (gst_base_src_default_newsegment),
13234 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13235 (gst_base_src_get_range), (gst_base_src_loop),
13236 (gst_base_src_change_state):
13237 * gst/base/gstbasesrc.h:
13238 * gst/base/gstbasetransform.c:
13239 (gst_base_transform_prepare_output_buf),
13240 (gst_base_transform_event), (gst_base_transform_change_state):
13241 * gst/base/gstbasetransform.h:
13242 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13243 (gst_collect_pads_event):
13244 * gst/base/gstcollectpads.h:
13245 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13246 (gst_fake_src_create):
13247 * gst/elements/gstfakesrc.h:
13248 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13249 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13250 (gst_segment_set_last_stop), (gst_segment_set_seek),
13251 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13252 (gst_segment_to_running_time), (gst_segment_clip):
13253 * gst/gstsegment.h:
13254 More segment updates, replace code in plugins with segment
13255 helper functions.
13257 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13259 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13260 Don't ignore sscanf results
13262 2005-11-21 Andy Wingo <wingo@pobox.com>
13264 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13266 * *.h:
13267 * *.c: Ran scripts/update-macros. Oh yes.
13269 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13270 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13271 GST_GET_LOCK, etc.
13273 * scripts/update-macros: New script. Run it on your files to
13274 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13275 well.
13277 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13279 * docs/gst/Makefile.am:
13280 * docs/gst/gstreamer-docs.sgml:
13281 * docs/gst/gstreamer-sections.txt:
13282 * docs/gst/gstreamer.types:
13283 * gst/gstinfo.h:
13284 more docs fixes, add new api to the docs
13286 2005-11-21 Andy Wingo <wingo@pobox.com>
13288 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13289 state_broadcast call.
13291 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13293 2005-11-21 Julien MOUTTE <julien@moutte.net>
13295 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13296 function calls for arrays.
13298 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13300 * docs/random/ensonic/media-device-daemon.txt:
13301 wild idea, can this be done?
13302 * docs/gst/gstreamer-sections.txt:
13303 * gst/gsterror.h:
13304 * gst/gstfilter.c:
13305 * gst/gstfilter.h:
13306 * gst/gstplugin.h:
13307 * gst/gstpluginfeature.c:
13308 * gst/gsttrace.c:
13309 * gst/gstvalue.c:
13310 * gst/gstvalue.h:
13311 doc fixes and additions
13313 2005-11-21 Andy Wingo <wingo@pobox.com>
13315 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13316 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13317 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13318 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13319 private to the basesrc implementation.
13321 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13322 behalf of event function if necessary. It should no longer be
13323 necessary to take the stream lock in pad's event functions. Fixes
13324 #320299.
13326 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13327 * docs/gst/gstreamer-sections.txt:
13328 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13329 (gst_structure_fixate_field_nearest_double),
13330 (gst_structure_fixate_field_boolean):
13331 * gst/gststructure.h:
13332 * win32/common/libgstreamer.def:
13333 * win32/gstreamer.def:
13335 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13336 (#322027)
13338 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13340 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13341 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13342 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13343 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13344 (gst_fdsrc_uri_handler_init):
13345 * gst/elements/gstfdsrc.h:
13346 Port fd:// URI handler from 0.8 to fdsrc
13348 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13350 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13351 (gst_value_serialize_fourcc):
13352 * gst/gstvalue.h:
13353 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13354 consistent with our other format defines (#320324).
13356 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13358 * gst/gstvalue.c: (gst_value_is_fixed):
13359 Revert previous commit. Value lists are by definition
13360 not fixed, as they are a list of possible values.
13362 2005-11-21 Andy Wingo <wingo@pobox.com>
13364 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13365 during the stable series if we need it. Fixes #319178.
13367 * gst/gstevent.c (gst_event_new_filler): Removed.
13369 * check/gst/gstevent.c: Update comment about filler events.
13371 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13373 * gst/gstvalue.c: (gst_value_is_fixed):
13374 Should handle both value arrays and value lists.
13376 2005-11-21 Andy Wingo <wingo@pobox.com>
13378 patch by: Alessandro Dessina <alessandro nnva org>
13380 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13381 functions to access arrays. Fixes #321962.
13383 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13385 * docs/gst/gstreamer.types:
13386 gst_collectpads_get_type => gst_collect_pads_get_type.
13388 * gst/base/gstbasetransform.c:
13389 Remove unused SIGNAL_HANDOFF enum.
13391 2005-11-21 Andy Wingo <wingo@pobox.com>
13393 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13394 the event type (upstream, downstream, serialized). Renamed
13395 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13396 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13397 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13399 * gst/gstevent.c: Update for new CUSTOM event names.
13401 * check/gst/gstevent.c: Update check for new CUSTOM event names.
13403 * gst/gstevent.h:
13404 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13405 bug #319392.
13407 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13409 * docs/gst/gstreamer-sections.txt:
13410 * win32/common/libgstbase.def:
13411 * win32/libgstbase.def:
13412 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13413 (gst_collect_pads_class_init), (gst_collect_pads_init),
13414 (gst_collect_pads_finalize), (gst_collect_pads_new),
13415 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13416 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13417 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13418 (gst_collect_pads_start), (gst_collect_pads_stop),
13419 (gst_collect_pads_peek), (gst_collect_pads_pop),
13420 (gst_collect_pads_available), (gst_collect_pads_read),
13421 (gst_collect_pads_flush), (gst_collect_pads_event),
13422 (gst_collect_pads_chain):
13423 * gst/base/gstcollectpads.h:
13424 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13425 unimplemented functions as unimplemented. Add padding to
13426 GstCollectData. (#320766, #320423)
13428 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13430 * gst/gstmessage.c:
13431 Improve docs for DURATION message (usage of duration parameter)
13432 (#320113)
13434 2005-11-20 Wim Taymans <wim@fluendo.com>
13436 * check/Makefile.am:
13437 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13438 (main):
13439 * gst/Makefile.am:
13440 * gst/gst.h:
13441 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13442 (gst_segment_set_seek), (gst_segment_set_newsegment),
13443 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13444 (gst_segment_clip):
13445 * gst/gstsegment.h:
13446 Added segment helper structure and methods. Not fully implemented
13447 yet.
13448 Added segment check.
13450 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
13452 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13453 Add a deserialisation test for fractions
13454 * examples/metadata/read-metadata.c: (message_loop),
13455 (make_pipeline), (main):
13456 Fix up metadata reading sample.
13457 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13458 Debug format fix
13459 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13460 Don't try and fixate empty caps
13461 * gst/gst_private.h:
13462 Wrap in G_BEGIN_DECLS/G_END_DECLS
13463 * gst/gstvalue.c: (gst_value_collect_fraction),
13464 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13465 (gst_value_transform_string_fraction),
13466 (gst_value_compare_fraction):
13467 Add some extra guards to ensure that we don't end up
13468 with an invalid denominator of 0 in a gstfraction and
13469 that fractions always get reduced.
13471 2005-11-20 Wim Taymans <wim@fluendo.com>
13473 * docs/gst/gstreamer-sections.txt:
13474 * gst/gstbuffer.h:
13475 * gst/gstelement.c:
13476 * gst/gstformat.c:
13477 * gst/gstformat.h:
13478 * gst/gstindex.h:
13479 * gst/gstquery.c:
13480 * gst/gstquery.h:
13481 * gst/gstvalue.c:
13482 Doc fixes.
13484 2005-11-20 Wim Taymans <wim@fluendo.com>
13486 * docs/design/part-TODO.txt:
13487 * gst/gstcaps.h:
13488 Make a proper enum of the flag.
13490 2005-11-19 Wim Taymans <wim@fluendo.com>
13492 * docs/design/part-TODO.txt:
13493 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13494 (gst_format_to_quark), (gst_format_register):
13495 * gst/gstformat.h:
13496 * gst/gstquery.c: (_gst_query_initialize),
13497 (gst_query_type_get_name), (gst_query_type_to_quark),
13498 (gst_query_type_register):
13499 * gst/gstquery.h:
13500 Add type to quark and type to string conversions.
13502 2005-11-19 Andy Wingo <wingo@pobox.com>
13504 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13505 #320097.
13507 2005-11-19 Wim Taymans <wim@fluendo.com>
13509 * docs/design/part-TODO.txt:
13510 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13511 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13512 (gst_bin_handle_message_func):
13513 * gst/gstbin.h:
13514 Make message handling overridable.
13516 2005-11-19 Andy Wingo <wingo@pobox.com>
13518 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13520 * gst/gstclock.h:
13521 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13522 be a GstClockTime.
13523 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13524 is a GstClockTime. Fixes #321710.
13526 * gst/gstclock.h (GstClock): Remove offset property. Add
13527 internal_calibration and external_calibration. Fix padding. Pad
13528 also by GstClockTime so we don't run into problems.
13530 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13531 (gst_clock_get_rate_offset): Remove.
13532 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13534 * gst/gstutils.h:
13535 * gst/gstutils.c (g_static_rec_cond_wait)
13536 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13538 * gst/gstbin.c: Remove terrible continue_state prototype.
13540 * gst/gstelement.h (gst_element_continue_state): Make public.
13542 * gst/gstelement.h:
13543 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13544 by continue_state. Fixes #319389.
13546 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13547 Really fixes #168438. However I don't see anywhere where the
13548 filter function is called... stupid GStreamer...
13550 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13551 don't have a dispose function, so it won't get called when the
13552 object is unreffed, but oh well!
13554 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13555 allows a destroy function to be set so user_data can be freed.
13556 Fixes #168438.
13557 (gst_index_set_filter): Call gst_index_set_filter_full.
13559 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13561 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13562 string should produce an error, given the lack of a way to
13563 represent NULL strings. Fixes #165650.
13565 * gst/gstvalue.h:
13566 * gst/gstvalue.c (gst_value_array_append_value)
13567 (gst_value_array_prepend_value, gst_value_array_get_size)
13568 (gst_value_array_get_value): New API, copied from
13569 gst_value_list_*, only operates on arrays.
13570 (gst_value_list_append_value, gst_value_list_prepend_value)
13571 (gst_value_list_concat, gst_value_list_get_size)
13572 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13574 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13575 init_list, because it works on both.
13576 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13577 (gst_value_copy_list_or_array): Renamed from copy_list.
13578 (gst_value_free_list_or_array): Renamed from free_list.
13579 (gst_value_collect_list_or_array): Renamed from collect_list.
13580 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13581 (gst_value_list_or_array_peek_pointer): Renamed from
13582 list_peek_pointer.
13583 (_gst_value_array_value_table, _gst_value_list_value_table):
13584 Update value table functions.
13585 (gst_value_compare_list_or_array): Renamed from compare_list.
13587 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13588 some constness.
13590 * gst/gsttaglist.c:
13591 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13592 GstTagList*. Fixes #143472.
13594 * gst/gststructure.h: Clarify what the foreach/map functions can
13595 or can't do to their arguments.
13597 2005-11-18 Wim Taymans <wim@fluendo.com>
13599 * gst/gstclock.c: (gst_clock_set_calibration),
13600 (gst_clock_get_calibration):
13601 Doc and API fixes.
13602 Calibration can be set with internal time equal to current
13603 internal time too.
13605 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13607 * gst/gsterror.c:
13608 * gst/gsterror.h:
13609 document
13611 2005-11-18 Andy Wingo <wingo@pobox.com>
13613 * configure.ac:
13614 * pkgconfig/gstreamer-net.pc.in:
13615 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13616 * pkgconfig/Makefile.am: Add net pkgconfig files.
13618 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13620 * gst/gstcaps.c:
13621 * gst/gstghostpad.c:
13622 * gst/gsttrace.c:
13623 * gst/gstvalue.c:
13624 * gst/gstvalue.h:
13625 docs fixes
13627 2005-11-18 Andy Wingo <wingo@pobox.com>
13629 * gst/net/gstnetclientclock.c: Turn off debugging.
13631 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13632 times connverge somewhat. Can't make a real test.
13634 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13635 integer arithmetic. Return the minimum of the domain, which can be
13636 set as "internal" for gst_clock_set_calibration.
13637 (gst_net_client_clock_observe_times): Call _set_calibration.
13638 (gst_net_client_clock_new): Call _set_calibration instead of
13639 rate_offset.
13641 * check/net/gstnetclientclock.c (test_functioning): Use the right
13642 adjustment api.
13644 * gst/gstclock.h:
13645 * gst/gstclock.c (gst_clock_get_calibration)
13646 (gst_clock_set_calibration): New functions, obsolete the ones I
13647 added yesterday. Doh. Precision issues mean we have to extrapolate
13648 from a point in the more recent past than 1970.
13649 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13650 obsolete.
13651 (gst_clock_adjust_unlocked): Use the right calibration data.
13653 2005-11-18 Edward Hervey <edward@fluendo.com>
13655 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13656 Also reset the ->current_* values in READY->PAUSED
13658 2005-11-18 Andy Wingo <wingo@pobox.com>
13660 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13661 Whoops, check the right fd. Also add some debugging.
13662 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13663 (do_linear_regression): Add a crapload of debugging. Subtract off
13664 the minimum values from the input series to discard unneeded bits.
13665 Use only int arithmetic. There is still double arithmetic when
13666 calculating the intercept that needs fixing. Return boolean to
13667 indicate success; FALSE would mean the domain or range is too
13668 great. Still needs fixes.
13670 2005-11-18 Wim Taymans <wim@fluendo.com>
13672 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13673 For the current position in stream time, we need to subtract
13674 accumulated time.
13676 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13677 Release lock before calling the callback function of async
13678 entries.
13680 2005-11-18 Andy Wingo <wingo@pobox.com>
13682 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13683 Port goes all the way to MAXUINT16.
13685 * gst/net/gstnettimeprovider.c: Make the port range the same as
13686 for the kernel: 0 assigns, otherwise ports are less than
13687 MAXUINT16.
13689 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13690 port change.
13692 * check/net/gstnetclientclock.c (test_functioning): Add the start
13693 of another test.
13695 2005-11-18 Wim Taymans <wim@fluendo.com>
13697 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13698 (gst_bin_remove_func), (bin_bus_handler):
13699 * gst/gstbin.h:
13700 Removing a clock provider from a bin, triggers a clock lost message
13701 so that a new clock will be selected.
13702 Adding a clock to a bin triggers a clock provider message.
13703 Make sure we reselect a clock when we received a clock lost message.
13704 Keep a reference to the element that provided the clock.
13706 2005-11-18 Andy Wingo <wingo@pobox.com>
13708 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13709 the clock initially so it produces values around the base time.
13710 (gst_net_client_clock_class_init): Typo fix.
13711 (gst_net_client_clock_thread): Add note on when the socket gets
13712 closed.
13714 2005-11-17 Wim Taymans <wim@fluendo.com>
13716 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13717 Free remote and local time arrays.
13719 2005-11-17 Wim Taymans <wim@fluendo.com>
13721 * gst/net/gstnetclientclock.c: (do_linear_regression),
13722 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13723 Fix compilation, uninitialized vars and a forgotten continue.
13725 2005-11-17 Andy Wingo <wingo@pobox.com>
13727 * check/Makefile.am (check_PROGRAMS):
13728 * check/net/gstnetclientclock.c: Add a most minimal test for the
13729 net client clock. More to come later.
13731 * gst/net/gstnet.h:
13732 * gst/net/Makefile.am: Add netclientclock.
13734 * gst/net/gstnetclientclock.h:
13735 * gst/net/gstnetclientclock.c: New files, implement an untested
13736 GstClock that takes its time from a network time provider.
13737 Implements the algorithm in network-clock.scm.
13739 * tests/network-clock.scm (*window-size*): Rename from
13740 *queue-length*.
13741 * tests/network-clock.scm (network-time):
13742 * tests/network-clock-utils.scm (q-push): Update callers.
13744 2005-11-17 Wim Taymans <wim@fluendo.com>
13746 * gst/gstbin.c: (gst_bin_provide_clock_func),
13747 (gst_bin_sort_iterator_new):
13748 And unref the child too..
13750 2005-11-17 Wim Taymans <wim@fluendo.com>
13752 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13753 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13754 Refactor the sort iterator so it can be used while holding the
13755 LOCK too.
13756 Make clock selection select a clock closest to the source.
13758 2005-11-17 Michael Smith <msmith@fluendo.com>
13760 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13761 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13762 * gst/gstclock.h:
13763 Anonymous structs are a gcc (and some other compilers) extension, so
13764 don't use them. Since this is only for ABI-compatibility, and our
13765 API/ABI freeze is over in a few days, this whole thing will only
13766 last a few days, so don't bother trying to think up a meaningful
13767 name for the struct.
13769 2005-11-17 Andy Wingo <wingo@pobox.com>
13771 * gst/gstclock.h (GstClock): Add rate and offset properties,
13772 preserving ABI stability. Add rate/offset accessors. Will file bug
13773 for the freeze break.
13775 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13776 and offset, trying to keep precision and avoiding
13777 underflow/overflow.
13778 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13779 functions. Make gst_clock_set_time_adjust obsolete.
13780 (gst_clock_set_time_adjust): Note that this function is obsolete.
13781 Will file bug soon.
13783 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13784 greppable by using GST_PADDING-1+1.
13786 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13788 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13790 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13791 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13793 * gst/gstpadtemplate.h:
13794 * gst/gstpluginfeature.h:
13795 Don't use c++ style comments in headers (#321638).
13797 2005-11-16 Andy Wingo <wingo@pobox.com>
13799 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13800 buffer.
13802 * check/net/gstnettimeprovider.c: Check to see that the time
13803 provider actually provides times. Works, yo!
13805 2005-11-16 Wim Taymans <wim@fluendo.com>
13807 * check/Makefile.am:
13808 Enable more tests.
13810 * check/elements/fakesrc.c: (GST_START_TEST):
13811 Set element to NULL before disposing it.
13813 2005-11-16 Andy Wingo <wingo@pobox.com>
13815 * gst/net/Makefile.am:
13816 * gst/net/gstnet.h:
13817 * gst/net/gstnettimeprovider.c:
13818 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13819 provider, include it from gstnet.h, and add it to the build.
13821 * gst/net/gstnettimepacket.h:
13822 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13823 sending and receiving.
13825 2005-11-16 Wim Taymans <wim@fluendo.com>
13827 * check/Makefile.am:
13828 Enable valgrind check.
13830 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13831 (gst_fake_src_alloc_buffer):
13832 Fix memleak.
13834 2005-11-16 Wim Taymans <wim@fluendo.com>
13836 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13837 Call parent finalize too.
13839 2005-11-16 Wim Taymans <wim@fluendo.com>
13841 * check/Makefile.am:
13842 Enable valgrind check that should work fine now.
13844 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13845 * gst/gstqueue.c: (gst_queue_init):
13846 Fix memleaks in pad allocation.
13848 2005-11-16 Andy Wingo <wingo@pobox.com>
13850 * gst/net/Makefile.am:
13851 * gst/net/gstnet.h: New part of core to hold network elements and
13852 objects. Put in core because it exposes API that applications want
13853 to use. The library is named libgstnet-tempname right now because
13854 of the existing libgstnet in gst-plugins-base. Solution is
13855 probably to rename the one in plugins-base; will file a bug for
13856 the freeze break.
13858 * gst/net/gstnettimeprovider.c:
13859 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13860 get_time call over the network.
13862 * configure.ac:
13863 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13865 * check/Makefile.am:
13866 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13867 get additions shortly.
13869 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13871 * gst/gstpad.c: (gst_pad_new_from_static_template):
13872 * gst/gstpad.h:
13873 add gst_pad_new_from_static_template functions
13874 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13875 (gst_check_setup_sink_pad):
13876 * gst/elements/gsttee.c: (gst_tee_init):
13877 and use them
13879 2005-11-16 Wim Taymans <wim@fluendo.com>
13881 * gst/gstpad.c: (gst_pad_pause_task):
13882 Removed warning, it's not really an error either.
13884 2005-11-16 Wim Taymans <wim@fluendo.com>
13886 * gst/base/gstbasetransform.c:
13887 (gst_base_transform_prepare_output_buf),
13888 (gst_base_transform_event):
13889 Check if the caps are NULL, this can happen if the element
13890 is shutting down and the pad caps are set to NULL.
13892 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13894 * gst/elements/gsttee.c: (gst_tee_init):
13895 fix pad template leak in tee
13897 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13899 * gst/glib-compat.c: (g_value_dup_gst_object):
13900 * gst/glib-compat.h:
13901 * gst/gstpad.c: (gst_pad_set_property):
13902 use gst_object_ref when setting the pad template; this will
13903 trigger the pad template leaks on GLib 2.6 and the slaves
13905 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13907 * gst/glib-compat.c: (gst_flags_get_first_value):
13908 * gst/glib-compat.h:
13909 * gst/gstregistryxml.c:
13910 remove functions copied from GLib 2.6
13912 2005-11-16 Michael Smith <msmith@fluendo.com>
13914 * gst/Makefile.am:
13915 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13916 do, but only breaks with newer valgrind versions. We're not a
13917 valgrind tool, we have no link-time dependencies on libcoregrind.
13919 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13921 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13922 some debug changes
13923 * gst/gstmessage.h:
13924 typo fixes
13926 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13928 * gst/base/gstbasesrc.c: (gst_base_src_init):
13929 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13930 * gst/gstqueue.c: (gst_queue_init):
13931 * gst/gstregistryxml.c: (load_feature):
13932 Revert all these unrefs, they don't even pass make check !
13934 2005-11-15 Johan Dahlin <johan@gnome.org>
13936 * gst/base/gstbasesrc.c: (gst_base_src_init):
13937 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13938 * gst/gstqueue.c: (gst_queue_init):
13939 Free pad templates, fixes a couple of leaks.
13941 2005-11-15 Daniel Fischer <dan at f3c dot com>
13943 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13945 * gst/gstpad.c: (gst_pad_get_property):
13946 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13947 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13948 (#321452)
13950 2005-11-15 Wim Taymans <wim@fluendo.com>
13952 * gst/gstevent.c:
13953 Small doc update.
13955 2005-11-15 Andy Wingo <wingo@pobox.com>
13957 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13959 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13960 using GST_CLOCK_TIME_NONE to disable base time management.
13961 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13962 time if it was NONE before.
13963 (gst_pipeline_change_state): Only munge the base time if
13964 stream_time != GST_CLOCK_TIME_NONE.
13966 * check/gst/gstpipeline.c (test_base_time): Punt around the
13967 problem of the probe not being called, because that's not the
13968 issue I'm looking at. Add a check that setting stream_time to NONE
13969 disables base time management.
13971 2005-11-15 Wim Taymans <wim@fluendo.com>
13973 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13974 segment_stop == -1 at startup.
13976 * gst/base/gstbasetransform.c: (gst_base_transform_event),
13977 (gst_base_transform_change_state):
13978 Init segment values at start.
13980 2005-11-15 Wim Taymans <wim@fluendo.com>
13982 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13983 0 segment values are 0 in any format.
13985 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13986 * gst/base/gstbasetransform.h:
13987 Parse newsegment correctly in basetransform
13989 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13990 Sync to clock using updated segment values.
13992 2005-11-15 Andy Wingo <wingo@pobox.com>
13994 * check/gst/gstpipeline.c (test_base_time): Add check that the
13995 base time and stream time are reset correctly.
13997 2005-11-15 Wim Taymans <wim@fluendo.com>
13999 * docs/design/part-TODO.txt:
14000 Some more TODO items.
14002 2005-11-15 Andy Wingo <wingo@pobox.com>
14004 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14005 error if the user selected "no clock" as the clocking method.
14007 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14008 timestamps with live capture.
14010 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14011 is 0 but we are a live source, timestamp the buffers using the
14012 element's clock.
14014 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14016 * docs/gst/gstreamer-sections.txt:
14017 * gst/gsterror.c:
14018 * gst/gstghostpad.c:
14019 * gst/gstobject.h:
14020 * gst/gstxml.c:
14021 more section docs
14023 2005-11-14 Wim Taymans <wim@fluendo.com>
14025 * common/gst.supp:
14026 add suppressions from Wim's Debian machine
14028 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14030 * common/gst.supp:
14031 add suppressions from Andy's AMD64 Ubuntu machine
14033 2005-11-14 Andy Wingo <wingo@pobox.com>
14035 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14036 STATE_LOCK not necessary. Fixes #311489.
14038 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14039 #305291.
14041 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14042 this function is not implemented.
14044 2005-11-14 Julien MOUTTE <julien@moutte.net>
14046 * gst/base/gstbasetransform.c:
14047 (gst_base_transform_prepare_output_buf):
14048 Ref the source pad caps while we need them.
14049 Fixes (#321386)
14051 2005-11-11 Wim Taymans <wim@fluendo.com>
14053 * docs/gst/gstreamer-sections.txt:
14054 Added some docs for GstCollectData.
14056 * gst/base/gstadapter.c:
14057 Some small code example fix.
14059 * gst/base/gstcollectpads.c:
14060 * gst/base/gstcollectpads.h:
14061 Document some more.
14063 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14065 * configure.ac: back to HEAD
14067 === release 0.9.5 ===
14069 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14071 * configure.ac:
14072 releasing 0.9.5, "Bike Lunch Day"
14074 2005-11-11 Wim Taymans <wim@fluendo.com>
14076 * gst/gstbuffer.c: (_gst_buffer_copy):
14077 Copy more flags.
14079 * gst/gstcaps.c: (gst_caps_is_equal):
14080 Fix some docs.
14081 Make _is_equal fast in the trivial cases.
14083 * gst/gstminiobject.c:
14084 * gst/gstminiobject.h:
14085 More docs. Spifify .h file.
14087 * gst/gstutils.c:
14088 Small doc update.
14090 2005-11-11 Wim Taymans <wim@fluendo.com>
14092 * gst/base/gstbasetransform.c:
14093 (gst_base_transform_prepare_output_buf),
14094 (gst_base_transform_handle_buffer):
14095 Small cleanups.
14096 If we're processing a buffer and need to allocate an output
14097 buffer, we cannot accept a format change. If we did get a
14098 format change, we have to alloc a buffer ourselves of the
14099 right size.
14101 2005-11-11 Wim Taymans <wim@fluendo.com>
14103 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14104 While checking the flag for reentrancy in the gstcaps function
14105 is nice to detect recursive invocations, it also makes it
14106 impossible to call getcaps from multiple threads, which must be
14107 possible. So, checking for recursive calls has to go.
14109 2005-11-11 Michael Smith <msmith@fluendo.com>
14111 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14112 Don't sync on buffers that fall partially outside our current
14113 segment. Prevents an assertion failure/abort playing some files.
14115 2005-11-10 Andy Wingo <wingo@pobox.com>
14117 * check/gst/gstbin.c (test_message_state_changed_children): Style
14118 fix..
14120 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14121 gst_bus_poll with the signal watch. Ensures that poll and a signal
14122 watch see the same messages.
14124 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14125 a poll and a watch at the same time get the same messages.
14127 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14129 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14130 * gst/gstcaps.c: (gst_caps_intersect):
14131 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14132 and it's not needed.
14134 2005-11-10 Wim Taymans <wim@fluendo.com>
14136 * docs/design/part-TODO.txt:
14137 Updated todo.
14139 2005-11-10 Wim Taymans <wim@fluendo.com>
14141 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14142 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14143 (gst_base_src_do_sync), (gst_base_src_get_range):
14144 Implement clock sync in base class.
14146 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14148 patch by: Tim-Philipp Müller <tim at centricular dot net>
14150 * gst/gststructure.c: (gst_structure_parse_field),
14151 (gst_structure_from_string):
14152 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14153 so that gst_parse_launch() can deal with spaces in filtered link
14154 caps (fixes #164479)
14155 * check/gst/capslist.h:
14156 * check/gst/gststructure.c: (GST_START_TEST):
14157 add unit tests for this change
14159 2005-11-10 Wim Taymans <wim@fluendo.com>
14161 * docs/gst/gstreamer-sections.txt:
14162 * gst/gstelement.c:
14163 * gst/gstelement.h:
14164 Fix docs, move some STATE macros to private.
14166 2005-11-10 Wim Taymans <wim@fluendo.com>
14168 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14169 Added check for bug #317341
14171 * gst/gstbuffer.c:
14172 * gst/gstbuffer.h:
14173 Some more spiffifying.
14175 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14176 Call peer linkfunction if we are a source pad. Totally fixes
14177 #317341
14179 * gst/gstpad.c:
14180 Update docs, source pads should call the peer linkfunction
14181 so they can atomically perform the pad link.
14183 2005-11-09 Wim Taymans <wim@fluendo.com>
14185 * gst/gstbuffer.c:
14186 * gst/gstbuffer.h:
14187 Uber-spiffy-spiffify some more.
14189 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14191 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14192 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14193 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14194 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14195 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14196 * gst/gstpad.c: (gst_pad_init):
14197 Use GST_DEBUG_FUNCPTR() more extensively.
14199 2005-11-09 Wim Taymans <wim@fluendo.com>
14201 * gst/gstobject.c: (gst_object_class_init):
14202 * gst/gstobject.h:
14203 Documentation fixes.
14205 2005-11-09 Edward Hervey <edward@fluendo.com>
14207 * gst/gsttypefindfactory.c:
14208 Fix docs.
14210 2005-11-09 Edward Hervey <edward@fluendo.com>
14212 * gst/base/gsttypefindhelper.c:
14213 * gst/gsttypefind.c:
14214 * gst/gsttypefind.h:
14215 Fix docs.
14217 2005-11-09 Wim Taymans <wim@fluendo.com>
14219 * gst/gstiterator.c:
14220 Fix revision data.
14222 * gst/gsttask.c:
14223 * gst/gsttask.h:
14224 Fix docs.
14226 2005-11-09 Wim Taymans <wim@fluendo.com>
14228 * gst/gstevent.h:
14229 * gst/gsturi.h:
14230 Fix docs.
14232 2005-11-09 Wim Taymans <wim@fluendo.com>
14234 * docs/gst/gstreamer-sections.txt:
14235 Moved the message async delivery private lock and cond
14236 to the private section.
14238 * gst/gstmessage.c:
14239 * gst/gstmessage.h:
14240 Fixed docs.
14242 2005-11-09 Edward Hervey <edward@fluendo.com>
14244 * docs/gst/gstreamer-sections.txt:
14245 * gst/gsturi.c:
14246 * gst/gsturi.h:
14247 Document GstURIHandler
14249 2005-11-09 Wim Taymans <wim@fluendo.com>
14251 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14252 (gst_iterator_find_custom):
14253 * gst/gstiterator.h:
14254 Fix iterator docs.
14256 2005-11-09 Wim Taymans <wim@fluendo.com>
14258 * gst/gstbin.h:
14259 Document another field.
14261 * gst/gststructure.c:
14262 * gst/gststructure.h:
14263 Document.
14265 2005-11-09 Wim Taymans <wim@fluendo.com>
14267 * gst/gstbin.h:
14268 Documented structs.
14270 2005-11-09 Wim Taymans <wim@fluendo.com>
14272 * docs/gst/gstreamer-sections.txt:
14273 Added some new macros.
14275 * gst/gstclock.c:
14276 * gst/gstclock.h:
14277 * gst/gstobject.h:
14278 Docs updates.
14280 2005-11-09 Wim Taymans <wim@fluendo.com>
14282 * docs/design/part-TODO.txt:
14283 Some more items for the TODO
14285 * gst/gstcaps.c:
14286 * gst/gstcaps.h:
14287 Document GstCaps.
14289 2005-11-09 Andy Wingo <wingo@pobox.com>
14291 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14292 to work on something else now tho...
14294 * gst/base/gstadapter.c: More adapter docs.
14296 * gst/elements/gstfilesink.c (gst_file_sink_start)
14297 (gst_file_sink_stop): New functions, replace the state change
14298 handler.
14299 (gst_file_sink_class_init): Hook up the start and stop functions.
14300 (gst_file_sink_base_init): Don't set the state change handler any
14301 more. It was a bit ugly too, being set from here...
14302 (gst_file_sink_get_property, gst_file_sink_set_property):
14303 Cleanups...
14304 (gst_file_sink_set_location): More robust check that doesn't call
14305 GST_STATE. Ugggggg.
14307 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14309 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14310 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14312 2005-11-08 Wim Taymans <wim@fluendo.com>
14314 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14315 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14316 (gst_base_sink_chain), (gst_base_sink_change_state):
14317 * gst/base/gstbasesink.h:
14318 * gst/base/gstbasesrc.h:
14319 * gst/gstelement.h:
14320 * gst/gstevent.h:
14321 Avoid excessive typechecking in macros.
14323 * gst/gstminiobject.c: (gst_mini_object_get_type),
14324 (gst_mini_object_init), (gst_mini_object_new),
14325 (gst_mini_object_free):
14326 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14327 (gst_object_finalize):
14328 Remove cruft code, optimize alloc_trace.
14330 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14332 * docs/faq/gst-uninstalled:
14333 fix up PS1 for systems that try to reset it
14335 2005-11-07 Wim Taymans <wim@fluendo.com>
14337 * gst/base/gstbasesrc.c: (gst_base_src_init),
14338 (gst_base_src_get_range):
14339 Set the segment_end to -1 initially. Fixed typefind.
14341 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14343 * gst/base/gstadapter.c:
14344 Debug category should be 'adapter', not 'GstAdapter'.
14346 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14347 (gst_collectpads_class_init), (gst_collectpads_init),
14348 (gst_collectpads_peek), (gst_collectpads_pop),
14349 (gst_collectpads_event), (gst_collectpads_chain):
14350 Add debug category and some debugging output. Use boilerplate
14351 macros. Remove some extraneous words from docs.
14353 2005-11-05 Andy Wingo <wingo@pobox.com>
14355 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14356 macro.
14358 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14360 * docs/gst/gstreamer-sections.txt:
14361 * gst/gstcaps.h:
14362 * gst/gstinfo.c:
14363 * gst/gstminiobject.h:
14364 * gst/gstobject.h:
14365 * gst/gstutils.h:
14366 more docs added
14368 2005-11-04 Wim Taymans <wim@fluendo.com>
14370 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14371 Small update to stop at the configured segment_end
14372 position.
14374 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14376 * gst/gstregistry.c:
14377 * gst/gstregistry.h:
14378 added missing docs
14380 2005-11-04 Edward Hervey <edward@fluendo.com>
14382 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14383 Check if we are doing a segment seek and have arrived at the
14384 end of that segment.
14386 2005-11-04 Wim Taymans <wim@fluendo.com>
14388 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14389 Don't leak a mutex unlock in case of an error.
14391 * gst/gstbus.h:
14392 Doc fixes.
14394 2005-11-04 Wim Taymans <wim@fluendo.com>
14396 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14397 (gst_bus_post):
14398 Get the context to wake up only once.
14400 2005-11-03 Wim Taymans <wim@fluendo.com>
14402 * check/states/sinks.c: (GST_START_TEST):
14403 Uncomment fixed check.
14405 * docs/design/part-TODO.txt:
14406 Updated TODO.
14408 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14409 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14410 (gst_base_sink_get_position):
14411 If we are going to PLAYING, post the right pending state
14412 when we post the intermediate paused message.
14414 * gst/gstelement.c: (gst_element_continue_state),
14415 (gst_element_set_state_func), (gst_element_change_state):
14416 Don't post state changes that were between the same state
14417 and were not ASYNC.
14419 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14421 * docs/gst/gstreamer-sections.txt:
14422 * gst/gstcaps.h:
14423 * gst/gstinfo.c:
14424 * gst/gstminiobject.h:
14425 * gst/gstobject.h:
14426 * gst/gstutils.h:
14427 more docs and doc style fixes
14429 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14431 * docs/gst/gstreamer-sections.txt:
14432 * gst/gstelement.c:
14433 * gst/gstminiobject.c:
14434 doc fixes
14436 2005-11-03 Andy Wingo <wingo@pobox.com>
14438 * check/states/sinks.c (test_livesrc_sink): Add checks that the
14439 state-changed messages actually have the right order and the right
14440 values.
14442 2005-11-03 Wim Taymans <wim@fluendo.com>
14444 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14445 Added some more checks. Specifically the case where NO_PREROLL
14446 elements are in the pipeline.
14448 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14449 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14450 (gst_base_sink_get_position):
14451 Post READY->PAUSED state change messages too.
14452 Fix bug where VOID was posted as pending state...
14454 * gst/gstbin.c: (gst_bin_recalc_state):
14455 use _element_continue_state() to continue the state change.
14457 * gst/gstelement.c: (gst_element_continue_state),
14458 (gst_element_commit_state), (gst_element_set_state_func),
14459 (gst_element_change_state), (gst_element_change_state_func):
14460 Lots of state change cleanups, assign the STATE_RETURN in
14461 a new continue_state() function that also propagates the
14462 last return value from a state change to the app.
14463 Update some debug statements with proper category.
14465 2005-11-03 Wim Taymans <wim@fluendo.com>
14467 * docs/design/part-events.txt:
14468 * docs/design/part-gstpipeline.txt:
14469 * docs/design/part-messages.txt:
14470 * docs/design/part-overview.txt:
14471 * docs/design/part-seeking.txt:
14472 * docs/design/part-states.txt:
14473 * docs/design/part-trickmodes.txt:
14474 * docs/manual/advanced-position.xml:
14475 Small docs updates.
14477 * gst/gstobject.h:
14478 People think !! is ugly, this looks better.
14480 * gst/gstpad.c: (gst_pad_set_blocked_async):
14481 Remove !! since it's fixed elsewhere now.
14483 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14485 * gst/gstminiobject.h:
14486 * gst/gstobject.h:
14487 Add !! to _FLAG_IS_SET macros to make the result boolean.
14489 2005-11-03 Edward Hervey <edward@fluendo.com>
14491 * gst/gstpad.c: (gst_pad_set_blocked_async):
14492 comparing a flag and a gboolean rarely returns coherent results...
14493 Added two characters (!!) to make that work correctly.
14495 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14497 * gst/gstbus.c: (gst_bus_class_init):
14498 Fix some typos.
14500 * gst/gstqueue.c: (gst_queue_loop):
14501 Don't assume a miniobject that isn't a buffer is an
14502 event (it could be that there is a refcounting
14503 problem somewhere and the pointer is stale and
14504 refers to an already destroyed miniobject).
14506 2005-11-03 Julien MOUTTE <julien@moutte.net>
14508 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14510 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14512 * docs/manual/advanced-position.xml:
14513 Update seek example and explanations to current 0.9 API.
14515 * gst/elements/gsttypefindelement.c:
14516 (gst_type_find_element_activate):
14517 Remove FIXME comment now that the found caps
14518 are unreffed.
14520 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14522 * gst/gstregistryxml.c: (load_feature):
14523 Add another GST_STR_NULL instance
14525 2005-11-02 Edward Hervey <edward@fluendo.com>
14527 * gst/gstpad.c: (handle_pad_block):
14528 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14530 2005-11-02 Wim Taymans <wim@fluendo.com>
14532 * gst/gstbin.c:
14533 Fix typo in docs.
14535 * gst/gstelement.c: (gst_element_commit_state):
14536 Remove unused value.
14538 * gst/gstiterator.c:
14539 Mention that the returned element is reffed in the docs.
14541 2005-11-02 Wim Taymans <wim@fluendo.com>
14543 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14544 (gst_pad_push), (gst_pad_push_event):
14545 Unlock blocked pads when they are flushed.
14547 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14549 * docs/README:
14550 * docs/gst/gstreamer-sections.txt:
14551 * gst/gstbin.c:
14552 doc updates
14553 * gst/gstregistry.c: (gst_registry_scan_path_level):
14554 fix for a nasty little missed situation where an installed plug-in
14555 which was in the cache did not get overridden by an uninstalled one
14556 which was earlier in the plugin path because the newly created plugin
14557 for the uninstalled one (not in the registry) didn't get its
14558 ->registered set to TRUE
14560 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14562 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14563 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14564 (gst_collectpads_is_active), (gst_collectpads_collect),
14565 (gst_collectpads_collect_range), (gst_collectpads_start),
14566 (gst_collectpads_stop), (gst_collectpads_peek),
14567 (gst_collectpads_pop), (gst_collectpads_available),
14568 (gst_collectpads_read), (gst_collectpads_flush):
14569 Guard public API with assertions.
14571 * gst/gstpad.c:
14572 Fix docs for gst_pad_set_link_function().
14574 2005-11-02 Johan Dahlin <johan@gnome.org>
14576 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14577 Unref found_caps after we used it.
14579 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14581 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14582 Don't try to ref NULL.
14584 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14586 * win32/common/config.h.in:
14587 provide a GST_FUNCTION that just gives a string for now
14589 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14591 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14592 (gst_object_flags_get_type), (register_gst_bin_flags),
14593 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14594 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14595 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14596 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14597 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14598 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14599 (gst_clock_flags_get_type), (register_gst_state),
14600 (gst_state_get_type), (register_gst_state_change_return),
14601 (gst_state_change_return_get_type), (register_gst_state_change),
14602 (gst_state_change_get_type), (register_gst_element_flags),
14603 (gst_element_flags_get_type), (register_gst_core_error),
14604 (gst_core_error_get_type), (register_gst_library_error),
14605 (gst_library_error_get_type), (register_gst_resource_error),
14606 (gst_resource_error_get_type), (register_gst_stream_error),
14607 (gst_stream_error_get_type), (register_gst_event_type),
14608 (gst_event_type_get_type), (register_gst_seek_type),
14609 (gst_seek_type_get_type), (register_gst_seek_flags),
14610 (gst_seek_flags_get_type), (register_gst_format),
14611 (gst_format_get_type), (register_gst_index_certainty),
14612 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14613 (gst_index_entry_type_get_type),
14614 (register_gst_index_lookup_method),
14615 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14616 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14617 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14618 (gst_index_flags_get_type), (register_gst_debug_level),
14619 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14620 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14621 (gst_iterator_result_get_type), (register_gst_iterator_item),
14622 (gst_iterator_item_get_type), (register_gst_message_type),
14623 (gst_message_type_get_type), (register_gst_mini_object_flags),
14624 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14625 (gst_pad_link_return_get_type), (register_gst_flow_return),
14626 (gst_flow_return_get_type), (register_gst_activate_mode),
14627 (gst_activate_mode_get_type), (register_gst_pad_direction),
14628 (gst_pad_direction_get_type), (register_gst_pad_flags),
14629 (gst_pad_flags_get_type), (register_gst_pad_presence),
14630 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14631 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14632 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14633 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14634 (gst_plugin_flags_get_type), (register_gst_rank),
14635 (gst_rank_get_type), (register_gst_query_type),
14636 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14637 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14638 (gst_tag_flag_get_type), (register_gst_task_state),
14639 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14640 (gst_alloc_trace_flags_get_type),
14641 (register_gst_type_find_probability),
14642 (gst_type_find_probability_get_type), (register_gst_uri_type),
14643 (gst_uri_type_get_type), (register_gst_parse_error),
14644 (gst_parse_error_get_type):
14645 * win32/common/gstversion.h:
14646 update win32 copies
14648 2005-11-01 Luca Ognibene <luogni@tin.it>
14650 * gst/gst.c:
14651 fix docs. popt is dead, long live GOption.
14653 2005-10-31 Wim Taymans <wim@fluendo.com>
14655 * gst/gstbuffer.h:
14656 Small doc fix.
14658 2005-10-31 Andy Wingo <wingo@pobox.com>
14660 * Boo!
14662 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14664 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14665 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14666 the possibility of deadlocks here if code calling notify() or
14667 set() has a lock that can be taken in another notify handler (ABBA
14668 with class lock and e.g. python GIL state lock).
14670 2005-10-28 Julien MOUTTE <julien@moutte.net>
14672 * gst/gstbus.c: Doc updates.
14674 2005-10-28 Wim Taymans <wim@fluendo.com>
14676 * docs/design/part-TODO.txt:
14677 * gst/gstiterator.c:
14678 * gst/gstsystemclock.c:
14679 * gst/gstsystemclock.h:
14680 Doc updates.
14682 2005-10-28 Edward Hervey <edward@fluendo.com>
14684 * docs/gst/gstreamer-docs.sgml:
14685 * docs/gst/gstreamer-sections.txt:
14686 the GstURIType documentation page is private, it only defines GstURIType
14687 which should be defined in the GstURIHandler page
14689 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14691 * gst/gstbin.c: (gst_bin_class_init):
14692 * gst/gstbin.h:
14693 * gst/gstutils.c:
14694 Documentation updates.
14696 2005-10-28 Wim Taymans <wim@fluendo.com>
14698 * docs/gst/gstreamer-sections.txt:
14699 * gst/gstclock.c:
14700 * gst/gstclock.h:
14701 Documented the clocks.
14703 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14705 * docs/gst/gstreamer-sections.txt:
14706 move some macros to private sections
14707 * gst/gstminiobject.c:
14708 * gst/gstminiobject.h:
14709 add descriptions provided by ds and some more
14710 * gst/gstpad.h:
14711 mark macro as to be removed
14713 2005-10-28 Wim Taymans <wim@fluendo.com>
14715 * docs/design/part-TODO.txt:
14716 Add an item to TODO.
14718 * gst/gstiterator.c: (gst_iterator_fold),
14719 (gst_iterator_find_custom):
14720 * gst/gstiterator.h:
14721 Add iterator docs.
14723 2005-10-28 Wim Taymans <wim@fluendo.com>
14725 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14726 (gst_base_transform_init):
14727 Don't leak class.
14729 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14730 An EOS event marks the queue as completely filled.
14732 2005-10-27 Wim Taymans <wim@fluendo.com>
14734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14735 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14736 Some more debugging.
14738 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14739 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14740 (gst_base_transform_event), (gst_base_transform_getrange),
14741 (gst_base_transform_chain):
14742 * gst/base/gstbasetransform.h:
14743 Fix debugging,
14744 Protect transform and concurrent buffer alloc with a new lock.
14745 Try not to break ABI/API.
14747 2005-10-27 Wim Taymans <wim@fluendo.com>
14749 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14750 (gst_base_src_init), (gst_base_src_query),
14751 (gst_base_src_default_newsegment),
14752 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14753 (gst_base_src_send_event), (gst_base_src_event_handler),
14754 (gst_base_src_pad_get_range), (gst_base_src_loop),
14755 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14756 (gst_base_src_start), (gst_base_src_deactivate),
14757 (gst_base_src_activate_push), (gst_base_src_change_state):
14758 Move some stuff around and cleanup things.
14760 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14762 * gst/base/gstbasesrc.c: (gst_base_src_query):
14763 Add missing break statements.
14765 2005-10-27 Wim Taymans <wim@fluendo.com>
14767 * check/gst/gstbin.c: (GST_START_TEST):
14768 An extra refcount is taken in basesrc.
14770 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14771 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14772 (gst_base_src_loop):
14773 Small cleanups, check for flushing after being unlocked from the
14774 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14775 Don't send out EOS when going to READY.
14777 2005-10-27 Wim Taymans <wim@fluendo.com>
14779 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14780 (gst_base_sink_get_position):
14781 Some more debug.
14783 * gst/gstbin.c: (message_check), (bin_replace_message),
14784 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14785 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14786 (bin_query_duration_init), (bin_query_duration_fold),
14787 (bin_query_duration_done), (bin_query_generic_fold),
14788 (gst_bin_query):
14789 * tools/gst-launch.c: (main):
14790 Remove old option.
14792 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14794 * examples/controller/audio-example.c: (main):
14795 * examples/queue/queue.c: (event_loop):
14796 * gst/base/gstbasetransform.h:
14797 * gst/gstelement.c: (gst_element_send_event):
14798 * gst/gstevent.h:
14799 * gst/gstpad.c: (gst_pad_send_event):
14800 fixing examples
14801 fixing docs typos
14802 changing log priority in error situations
14804 2005-10-25 Wim Taymans <wim@fluendo.com>
14806 * gst/gstbin.c: (message_check), (bin_replace_message),
14807 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14808 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14809 (bin_query_duration_init), (bin_query_duration_fold),
14810 (bin_query_duration_done), (bin_query_generic_fold),
14811 (gst_bin_query):
14812 Some doc and debug updates.
14813 Cache previously requested query DURATION for speed. invalidate
14814 cached duration if element posts a DURATION message.
14816 2005-10-25 Wim Taymans <wim@fluendo.com>
14818 * docs/design/part-TODO.txt:
14819 Update TODO.
14821 * gst/gstbin.c: (message_check), (bin_replace_message),
14822 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14823 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14824 (bin_query_duration_init), (bin_query_duration_fold),
14825 (bin_query_duration_done), (bin_query_generic_fold),
14826 (gst_bin_query):
14827 Handle SEGMENT_START/DONE messages correctly.
14828 More evolved query algorithm that handles duration queries
14829 correctly.
14831 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14832 (gst_element_get_state_func), (gst_element_abort_state),
14833 (gst_element_commit_state), (gst_element_lost_state):
14834 Some more debugging.
14836 * gst/gstmessage.h:
14837 Added doc.
14839 2005-10-25 Wim Taymans <wim@fluendo.com>
14841 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14842 Don't use invalid stream_time.
14844 * gst/gstevent.c: (gst_event_new_newsegment):
14845 stream_time in newsegment cannot be undefined.
14847 2005-10-24 Wim Taymans <wim@fluendo.com>
14849 * gst/gstbus.c:
14850 Doc fix.
14852 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14853 (gst_queue_loop):
14854 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14856 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14858 * docs/libs/tmpl/gstdparam.sgml:
14859 * docs/libs/tmpl/gstdplinint.sgml:
14860 * docs/libs/tmpl/gstdpman.sgml:
14861 * docs/libs/tmpl/gstdpsmooth.sgml:
14862 * docs/libs/tmpl/gstunitconvert.sgml:
14863 these are obsolete
14865 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14867 * configure.ac:
14868 back to HEAD
14870 === release 0.9.4 ===
14872 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14874 * configure.ac:
14875 releasing 0.9.4, "Tyrannosaurus Rex"
14877 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14879 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14880 (gst_file_sink_get_current_offset):
14881 Use fseeko() and ftello() if available. When falling back on
14882 lseek() to get the current offset, fflush() first to make sure
14883 everything is up-to-date and we get the right offset.
14885 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14888 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14889 * gst/gsterror.c: (_gst_stream_errors_init):
14890 * gst/gsterror.h:
14891 * gst/gstqueue.c: (gst_queue_loop):
14892 * po/POTFILES.in:
14893 remove prematurely added error category and clean up the instances
14895 2005-10-21 Wim Taymans <wim@fluendo.com>
14897 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14898 (gst_base_sink_get_position), (gst_base_sink_query),
14899 (gst_base_sink_change_state):
14900 Simply set the right flag when going to playing, that's all
14901 we need to do instead of calling a function inside the object
14902 lock (that could take the lock as well and deadlock)
14904 2005-10-21 Wim Taymans <wim@fluendo.com>
14906 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14907 (gst_base_src_loop):
14908 Don't warn, the peer element knows what to do best when
14909 the seek failed, it might try something else.
14911 2005-10-21 Wim Taymans <wim@fluendo.com>
14913 * gst/base/gstbasesrc.c: (gst_base_src_init),
14914 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14915 Fix seeking.
14917 2005-10-21 Wim Taymans <wim@fluendo.com>
14919 * docs/design/part-segments.txt:
14920 More docs.
14922 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14923 Correctly set caps, even on the subbufer.
14925 2005-10-21 Wim Taymans <wim@fluendo.com>
14927 * docs/gst/gstreamer-docs.sgml:
14928 * docs/gst/gstreamer-sections.txt:
14929 * gst/gstelement.h:
14930 * gst/gstevent.c:
14931 * gst/gstevent.h:
14932 * gst/gstmessage.h:
14933 * gst/gstpad.h:
14934 * gst/gstparse.h:
14935 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14936 * gst/gsttask.h:
14937 * gst/gstutils.c:
14938 * gst/gstutils.h:
14939 And 2% more doc coverage.
14941 2005-10-21 Andy Wingo <wingo@pobox.com>
14943 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14944 position reporting.
14946 2005-10-20 Wim Taymans <wim@fluendo.com>
14948 * gst/gsterror.c: (gst_error_get_message):
14949 * gst/gstparse.h:
14950 * gst/gstquery.h:
14951 * gst/gststructure.c:
14952 * gst/gsttrace.c:
14953 * gst/gstutils.c:
14954 More docs.
14956 2005-10-20 Wim Taymans <wim@fluendo.com>
14958 * gst/gstbuffer.h:
14959 * gst/gstpad.c:
14960 * gst/gstparse.c:
14961 Another 1% more coverage.
14963 2005-10-20 Wim Taymans <wim@fluendo.com>
14965 * docs/gst/gstreamer-sections.txt:
14966 * gst/gstelement.c: (gst_element_get_state_func),
14967 (gst_element_abort_state), (gst_element_commit_state),
14968 (gst_element_lost_state):
14969 * gst/gstevent.h:
14970 * gst/gstquery.c: (gst_query_set_position),
14971 (gst_query_parse_position), (gst_query_set_duration),
14972 (gst_query_parse_duration), (gst_query_new_convert):
14973 * gst/gstutils.c:
14974 Yay! 1% more docs coverage.
14976 2005-10-20 Wim Taymans <wim@fluendo.com>
14978 * gst/gstpad.h:
14979 * gst/gstquery.c: (gst_query_set_position),
14980 (gst_query_parse_position), (gst_query_set_duration),
14981 (gst_query_parse_duration), (gst_query_new_convert):
14982 * gst/gstquery.h:
14983 * gst/gstutils.c: (gst_element_query_convert):
14984 * gst/gstutils.h:
14985 Docs and consistency fixes.
14987 2005-10-20 Wim Taymans <wim@fluendo.com>
14989 * gst/gsttask.c:
14990 * gst/gsttask.h:
14991 More docs.
14993 2005-10-20 Wim Taymans <wim@fluendo.com>
14995 * gst/gstbin.c: (message_check), (bin_replace_message),
14996 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14997 (update_degree), (gst_bin_sort_iterator_next),
14998 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
14999 Reworked the message handling a bit, cache the messages instead of
15000 only the senders. alows us to do more in the future.
15002 2005-10-20 Wim Taymans <wim@fluendo.com>
15004 * docs/design/part-TODO.txt:
15005 Update TODO
15007 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15008 (gst_base_sink_query):
15009 Don't use clock time to report position when in EOS.
15011 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15013 * tools/gst-inspect.c: (print_interfaces),
15014 (print_element_properties_info), (print_element_info):
15015 Fix interface output with gst-inspect -a; don't print
15016 newlines after double/float properties.
15018 2005-10-20 Wim Taymans <wim@fluendo.com>
15020 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15021 (gst_base_sink_query):
15022 Speed up current position calculation.
15024 * gst/base/gstbasesrc.c: (gst_base_src_query),
15025 (gst_base_src_default_newsegment):
15026 Correctly set stream position in newsegment.
15028 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15029 (update_degree), (gst_bin_sort_iterator_next),
15030 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15031 * gst/gstmessage.c: (gst_message_new_custom):
15032 Clean up debugging info
15034 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15035 (gst_queue_loop), (gst_queue_handle_src_query):
15036 Pause task faster.
15038 2005-10-19 Wim Taymans <wim@fluendo.com>
15040 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15041 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15042 Fix query handling again.
15044 2005-10-19 Wim Taymans <wim@fluendo.com>
15046 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15047 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15048 * gst/base/gstbasesrc.c: (gst_base_src_query):
15049 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15050 * gst/elements/gsttypefindelement.c:
15051 (gst_type_find_handle_src_query), (find_element_get_length),
15052 (gst_type_find_element_activate):
15053 API change fix.
15055 * gst/gstquery.c: (gst_query_new_position),
15056 (gst_query_set_position), (gst_query_parse_position),
15057 (gst_query_new_duration), (gst_query_set_duration),
15058 (gst_query_parse_duration), (gst_query_set_segment),
15059 (gst_query_parse_segment):
15060 * gst/gstquery.h:
15061 Bundling query position/duration is not a good idea since duration
15062 does not change much and we don't want to recalculate it for every
15063 position query, so they are separated again..
15064 Base value in segment query is not needed.
15066 * gst/gstqueue.c: (gst_queue_handle_src_query):
15067 * gst/gstutils.c: (gst_element_query_position),
15068 (gst_element_query_duration), (gst_pad_query_position),
15069 (gst_pad_query_duration):
15070 * gst/gstutils.h:
15071 Updates for query API change.
15072 Added some docs here and there.
15074 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15076 * check/gst/gstbin.c: (GST_START_TEST):
15077 * check/gst/gstghostpad.c: (GST_START_TEST):
15078 * check/pipelines/cleanup.c: (GST_START_TEST):
15079 wait on thread to die so we can check refcount correctly
15081 2005-10-18 Wim Taymans <wim@fluendo.com>
15083 * check/pipelines/stress.c: (GST_START_TEST):
15084 Make check a little more time consuming.
15086 2005-10-18 Wim Taymans <wim@fluendo.com>
15088 * check/Makefile.am:
15089 * check/pipelines/stress.c: (GST_START_TEST),
15090 (simple_launch_lines_suite), (main):
15091 Small state change torture test.
15093 * docs/design/part-states.txt:
15094 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15095 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15096 (gst_base_sink_change_state):
15097 Never take state lock from streaming thread, clean up ugly
15098 hacks. Unfortunatly core does not yet support nice ways to
15099 async commit state.
15101 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15102 (bin_bus_handler):
15103 Start state recalc if a STATE_DIRTY message is posted, but only
15104 on the toplevel bin.
15106 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15107 (gst_element_get_state_func), (gst_element_abort_state),
15108 (gst_element_commit_state), (gst_element_lost_state),
15109 (gst_element_set_state_func), (gst_element_change_state):
15110 * gst/gstelement.h:
15111 State variables are now protected with the LOCK, the state
15112 lock is only used to serialize _set_state().
15114 2005-10-18 Wim Taymans <wim@fluendo.com>
15116 * check/gst/gstbin.c: (GST_START_TEST):
15117 * check/gst/gstmessage.c: (GST_START_TEST):
15118 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15119 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15120 (bin_bus_handler):
15121 * gst/gstelement.c: (gst_element_abort_state),
15122 (gst_element_commit_state), (gst_element_lost_state):
15123 * gst/gstmessage.c: (gst_message_new_state_changed),
15124 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15125 (gst_message_new_segment_done), (gst_message_new_duration),
15126 (gst_message_parse_state_changed),
15127 (gst_message_parse_segment_start),
15128 (gst_message_parse_segment_done), (gst_message_parse_duration):
15129 * gst/gstmessage.h:
15130 * tools/gst-launch.c: (event_loop):
15131 Seriously, this is better than a previous commit as we only need
15132 to notify the fact that an element changed state in a streaming
15133 thread, marking the state of the parents dirty, hence the
15134 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15135 message.
15137 2005-10-18 Wim Taymans <wim@fluendo.com>
15139 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15140 (gst_bin_recalc_func):
15141 * gst/gstelement.c: (gst_element_set_clock),
15142 (gst_element_abort_state), (gst_element_lost_state):
15143 Cleanups, prepare for state change fixes.
15145 2005-10-18 Wim Taymans <wim@fluendo.com>
15147 * gst/gstbin.h:
15148 * gst/gstelement.c: (gst_element_class_init),
15149 (gst_element_set_state), (gst_element_set_state_func):
15150 * gst/gstelement.h:
15151 Pending ABI changes.
15152 GThreadPool in GstBinClass to monitor async state changes.
15153 state_cookie in GstElement to detect concurrent gst/set state.
15154 set_state is now virtual too in case a very complicated element
15155 has to be constructed.
15157 2005-10-18 Wim Taymans <wim@fluendo.com>
15159 * check/gst/gstbin.c: (GST_START_TEST):
15160 * check/gst/gstmessage.c: (GST_START_TEST):
15161 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15162 * gst/gstbin.c: (bin_bus_handler):
15163 * gst/gstelement.c: (gst_element_commit_state),
15164 (gst_element_lost_state):
15165 * gst/gstmessage.c: (gst_message_new_state_changed),
15166 (gst_message_new_segment_start), (gst_message_new_segment_done),
15167 (gst_message_new_duration), (gst_message_parse_state_changed),
15168 (gst_message_parse_segment_start),
15169 (gst_message_parse_segment_done), (gst_message_parse_duration):
15170 * gst/gstmessage.h:
15171 * tools/gst-launch.c: (event_loop):
15172 Make messages future proof.
15173 state-change gets a flag if it was a message comming from the
15174 streaming thread.
15175 segment-start/stop can also be specified in other formats.
15176 A message to notify an app that a pipeline changed playback
15177 duration.
15178 Also fix a GstMessage leak in -launch
15180 2005-10-18 Andy Wingo <wingo@pobox.com>
15182 * gst/gstelement.c (gst_element_dispose): More helpful message.
15184 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15186 reviewed by: <delete if not using a buddy>
15188 * common/gtk-doc.mak:
15190 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15192 * gst/gstregistry.c: (gst_registry_scan_path_level):
15193 unref a plug-in we get that was already initialized
15195 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15197 * docs/gst/gstreamer-sections.txt:
15198 * docs/libs/gstreamer-libs-sections.txt:
15199 * gst/gstelement.h:
15200 add new api entries
15201 hide internal macro
15203 2005-10-17 Andy Wingo <wingo@pobox.com>
15205 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15206 cleanup.
15208 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15210 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15212 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15213 (gst_element_get_state_func): Better debug message.
15214 (gst_element_commit_state): s/INFO/DEBUG/.
15215 (gst_element_lost_state, gst_element_change_state):
15217 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15218 (gst_message_new_custom): s/INFO/LOG/.
15220 2005-10-17 Michael Smith <msmith@fluendo.com>
15222 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15223 Check if end time is valid using end time, not start time.
15225 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15227 * check/gst-libs/controller.c: (GST_START_TEST),
15228 (gst_controller_suite):
15229 * libs/gst/controller/gstcontroller.c:
15230 (gst_controlled_property_set_interpolation_mode):
15231 * libs/gst/controller/gstcontroller.h:
15232 * libs/gst/controller/gstinterpolation.c:
15233 * testsuite/controller/.cvsignore:
15234 * testsuite/controller/Makefile.am:
15235 * testsuite/controller/interpolator.c:
15236 merge controller testsuites
15237 fix broken tests
15238 remove mem-chunk from docs
15240 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15242 * gst/gstmemchunk.c:
15243 * gst/gstmemchunk.h:
15244 * gst/gsttrashstack.c:
15245 * gst/gsttrashstack.h:
15246 out. get out. you're fired. to the Attic !
15248 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15250 * gst/gstcaps.c: (gst_caps_intersect):
15251 fix signedness issues in a (hopefully) correct way
15252 * gst/gstelement.c: (gst_element_pads_activate):
15253 some debugging
15254 * gst/gstobject.c: (gst_object_set_parent):
15255 some debugging
15257 2005-10-17 Julien MOUTTE <julien@moutte.net>
15259 * gst/gstvalue.h: Fix prototypes.
15261 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15263 * docs/gst/gstreamer-sections.txt:
15264 * gst/gst.c: (gst_version_string):
15265 * gst/gst.h:
15266 * gst/gstversion.h.in:
15267 * win32/common/libgstreamer.def:
15268 add gst_version_string ()
15270 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15272 * configure.ac:
15273 clean up further
15274 * gst/gst.c: (init_post):
15275 * win32/common/config.h.in:
15276 it's PLUGINDIR now
15277 * gst/gstcaps.c: (gst_caps_intersect):
15278 use gint64, the range could be bigger than a guint
15280 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15282 * gst/gstclock.h:
15283 document potential problem in 2038
15285 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15287 * gst/gstcaps.c: (gst_caps_intersect):
15288 Fix guint j diving under 0
15290 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15292 * configure.ac:
15293 * win32/common/config.h:
15294 * win32/common/config.h.in:
15295 check for process.h, declares getpid() on Windows
15296 * gst/gstinfo.c:
15297 include process.h if we have it
15298 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15299 * gst/gstmemchunk.h:
15300 fix signedness issues
15301 * win32/common/libgstreamer.def:
15302 fix get_type's
15304 2005-10-16 Julien MOUTTE <julien@moutte.net>
15306 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15307 fix. Because of unsigned ints, caps intersection was going nuts and
15308 trying to access structures with G_MAXUINT index. That fixes
15309 videotestsrc ! ffmpegcolorspace ! fakesink
15310 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15311 consistency.
15313 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15315 * configure.ac:
15316 use the gettext macro
15317 * gst/elements/gstelements.c:
15318 * gst/gst.c:
15319 * gst/indexers/gstindexers.c:
15320 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15321 * win32/common/config.h:
15322 updated config.h
15323 * win32/common/config.h.in:
15324 add the template to generate config.h
15325 * win32/common/gstenumtypes.c:
15326 * win32/common/gstversion.h:
15327 updated copies
15329 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15331 * gst/gst.c: (gst_version):
15332 * gst/gstversion.h.in:
15333 add the nano
15335 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15337 * gst/gstevent.h:
15338 Oops, add missing closing bracket.
15340 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15342 * configure.ac:
15343 use common m4's for argument checking
15345 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15347 * docs/gst/gstreamer-sections.txt:
15348 * gst/gstevent.h:
15349 Add GST_EVENT_TYPE_NAME() macro.
15351 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15353 * gst/gstinfo.c:
15354 * gst/gstpluginfeature.c:
15355 * gst/gsttask.c:
15356 privatize more symbols
15358 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15360 * configure.ac:
15361 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15362 everything that uses GStreamer API should have the includes
15364 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15366 * docs/gst/gstreamer-sections.txt:
15367 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15368 * gst/gstvalue.h:
15369 give each value a _get_type, removes the DATA exports
15371 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15373 * gst/gst.c:
15374 * gst/gst.h:
15375 remove _gst_registry_auto_load, not used anymore
15376 * gst/gstbin.c: (gst_bin_get_type):
15377 * gst/gstbin.h:
15378 * gst/gstelement.c: (gst_element_get_type):
15379 * gst/gstelement.h:
15380 * gst/gstobject.c: (gst_object_get_type):
15381 * gst/gstobject.h:
15382 * gst/gstpad.c: (gst_pad_get_type):
15383 * gst/gstpad.h:
15384 make _get_type functions similar, fixes data export from library
15386 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15388 * configure.ac:
15389 correctly make conditionals
15390 * gst/elements/Makefile.am:
15391 * gst/elements/gstelements.c:
15392 fix typo causing fdsrc not to build
15394 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15396 * testsuite/Makefile.am:
15397 * testsuite/bytestream/.cvsignore:
15398 * testsuite/bytestream/Makefile.am:
15399 * testsuite/bytestream/filepadsink.c:
15400 * testsuite/bytestream/gstbstest.c:
15401 * testsuite/bytestream/test1.c:
15402 * testsuite/bytestream/testfile1:
15403 * testsuite/caps/normalisation.c:
15404 * testsuite/caps/random.c: (main):
15405 * testsuite/cleanup/.cvsignore:
15406 * testsuite/cleanup/Makefile.am:
15407 * testsuite/cleanup/cleanup1.c:
15408 * testsuite/cleanup/cleanup2.c:
15409 * testsuite/cleanup/cleanup3.c:
15410 * testsuite/cleanup/cleanup4.c:
15411 * testsuite/cleanup/cleanup5.c:
15412 * testsuite/controller/interpolator.c:
15413 * testsuite/debug/printf_extension.c: (main):
15414 * testsuite/elements/tee.c:
15415 * testsuite/negotiation/.cvsignore:
15416 * testsuite/negotiation/Makefile.am:
15417 * testsuite/negotiation/pad_link.c:
15418 * testsuite/pad/Makefile.am:
15419 * testsuite/pad/chainnopull.c:
15420 * testsuite/pad/getnopush.c:
15421 * testsuite/pad/link.c:
15422 * testsuite/refcounting/sched.c: (create_pipeline):
15423 * testsuite/registry/Makefile.am:
15424 * testsuite/registry/gst-print-formats.c:
15425 * testsuite/schedulers/.cvsignore:
15426 * testsuite/schedulers/142183-2.c:
15427 * testsuite/schedulers/142183.c:
15428 * testsuite/schedulers/143777-2.c:
15429 * testsuite/schedulers/143777.c:
15430 * testsuite/schedulers/147713.c:
15431 * testsuite/schedulers/147819.c:
15432 * testsuite/schedulers/147894-2.c:
15433 * testsuite/schedulers/147894.c:
15434 * testsuite/schedulers/Makefile.am:
15435 * testsuite/schedulers/group_link.c:
15436 * testsuite/schedulers/queue_link.c:
15437 * testsuite/schedulers/relink.c:
15438 * testsuite/schedulers/unlink.c:
15439 * testsuite/schedulers/unref.c:
15440 * testsuite/schedulers/useless_iteration.c:
15441 * testsuite/states/bin.c:
15442 clean out/remove some stuff from the testsuite directories
15444 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15446 * configure.ac:
15447 check for some headers
15448 * gst/elements/Makefile.am:
15449 * gst/elements/gstelements.c:
15450 don't compile fdsrc without sys/socket.h
15451 * gst/indexers/Makefile.am:
15452 * gst/indexers/gstindexers.c: (plugin_init):
15453 don't compile fileindex without mmap
15455 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15457 * configure.ac:
15458 reorganize
15459 clean up
15460 document more
15461 remove cruft
15462 * check/Makefile.am:
15463 * docs/gst/Makefile.am:
15464 * examples/helloworld/Makefile.am:
15465 * gst/Makefile.am:
15466 * gst/base/Makefile.am:
15467 * gst/check/Makefile.am:
15468 * gst/elements/Makefile.am:
15469 * gst/indexers/Makefile.am:
15470 * gst/parse/Makefile.am:
15471 * libs/gst/controller/Makefile.am:
15472 * libs/gst/dataprotocol/Makefile.am:
15473 * examples/helloworld/helloworld.c: (event_loop):
15474 compile fixes, though it's not being compiled currently
15476 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15478 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15479 Add some simple tests for the new taglist date API.
15481 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15483 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15484 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15485 Beautify 'last-message' output: print 'none' for buffer timestamps
15486 and durations if none is set; improve alignment with next messages.
15488 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15490 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15491 * gst/gstpluginfeature.h:
15492 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15493 * gst/gstregistry.h:
15494 * docs/gst/gstreamer-sections.txt:
15495 Add new API to check plugin feature version requirements.
15497 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15498 Some basic tests for the above.
15500 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15502 * gst/gststructure.c: (gst_structure_to_string):
15503 guard against NULL printf - happens when for example
15504 a message structure with GstClock gets serialized
15506 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15508 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15509 Fix presumable copy'n'pasto.
15511 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15513 * gst/elements/gstfakesrc.h:
15514 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15515 * gst/elements/gsttypefindelement.c:
15516 fix some signedness
15517 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15518 I wonder if this could actually write +2GB files before
15520 2005-10-13 Andy Wingo <wingo@pobox.com>
15522 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15523 Fix Timmeke Waymans bug.
15524 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15525 string of the proper length to gst_caps_from_string. There's a
15526 potential for, before this fix, that this could cause someone
15527 connecting over the network to cause a segfault if the payload is
15528 not NUL-terminated.
15530 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15532 * docs/design/draft-push-pull.txt:
15533 * docs/design/part-overview.txt:
15534 * docs/random/TODO-pre-0.9:
15535 * docs/random/old/ChangeLog.gstreamer:
15536 * gst/base/gstpushsrc.c:
15537 * gst/gstclock.c:
15538 fixed typos
15540 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15542 * gst/glib-compat.c: (gst_flags_get_first_value):
15543 * gst/glib-compat.h:
15544 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15545 (gst_value_compare_double), (gst_value_serialize_flags):
15546 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15547 infinite loop
15549 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15552 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15553 fix up debugging
15554 * tools/gst-launch.c: (event_loop):
15555 print out clock nicely
15557 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15559 * docs/gst/gstreamer-sections.txt:
15560 * gst/gsttaglist.h:
15561 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15562 (gst_tag_list_get_date_index):
15563 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15564 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15566 2005-10-13 Julien MOUTTE <julien@moutte.net>
15568 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15569 (gst_collectpads_chain):
15570 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15571 in CollectData.
15573 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15575 * docs/gst/gstreamer-sections.txt:
15576 * gst/gst.c:
15577 * gst/gsterror.h:
15578 * tools/gst-inspect.c: (main):
15579 * tools/gst-launch.c: (main):
15580 * tools/gst-run.c: (main):
15581 * tools/gst-xmlinspect.c: (main):
15582 fix GOption context leaks
15583 doc fixes
15585 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15587 * gst/gstbus.c:
15588 use HAVE_UNISTD_H
15589 * win32/common/config.h:
15590 update config
15591 * win32/vs6/grammar.dsp:
15592 * win32/vs6/libgstelements.dsp:
15593 * win32/vs6/libgstreamer.dsp:
15594 update vs6 files
15596 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15598 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15599 * gst/base/gstbasesrc.c: (gst_base_src_query):
15600 fix more guint64<->gdouble conversions
15602 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15604 * Makefile.am:
15605 add win32-update target
15606 * win32/common/gstconfig.h:
15607 * win32/common/gstenumtypes.c:
15608 * win32/common/gstenumtypes.h:
15609 * win32/common/gstversion.h:
15610 add files that visual studio can't generate
15612 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15614 * Makefile.am:
15615 add a win32-update target
15616 * configure.ac:
15618 2005-10-12 Wim Taymans <wim@fluendo.com>
15620 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15621 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15622 * gst/gstelement.c: (gst_element_commit_state),
15623 (gst_element_set_state):
15624 Protect flags with proper lock.
15625 unref provided cached clock in dispose.
15627 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15629 * gst/gst.c:
15630 * gst/gstminiobject.h:
15631 * gst/gstpad.h:
15632 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15633 removed unused flags from miniobject
15634 doc fixes
15636 2005-10-12 Wim Taymans <wim@fluendo.com>
15638 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15639 (gst_file_sink_event), (gst_file_sink_render):
15640 Flush before seeking.
15642 2005-10-12 Andy Wingo <wingo@pobox.com>
15644 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15645 always been the case.
15647 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15649 * check/gst/gstbin.c: (GST_START_TEST):
15650 * docs/gst/gstreamer-sections.txt:
15651 * gst/base/gstbasesink.c: (gst_base_sink_init):
15652 * gst/base/gstbasesrc.c: (gst_base_src_init),
15653 (gst_base_src_get_range), (gst_base_src_check_get_range),
15654 (gst_base_src_start), (gst_base_src_stop):
15655 * gst/base/gstbasesrc.h:
15656 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15657 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15658 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15659 (bin_bus_handler):
15660 * gst/gstbin.h:
15661 * gst/gstbuffer.h:
15662 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15663 * gst/gstbus.h:
15664 * gst/gstelement.c: (gst_element_is_locked_state),
15665 (gst_element_set_locked_state), (gst_element_commit_state),
15666 (gst_element_set_state):
15667 * gst/gstelement.h:
15668 * gst/gstindex.c: (gst_index_init):
15669 * gst/gstindex.h:
15670 * gst/gstminiobject.h:
15671 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15672 (gst_object_set_parent):
15673 * gst/gstobject.h:
15674 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15675 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15676 * gst/gstpad.h:
15677 * gst/gstpadtemplate.h:
15678 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15679 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15680 * gst/gstpipeline.h:
15681 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15682 (gst_file_index_commit):
15683 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15684 * testsuite/pad/link.c: (gst_test_src_init),
15685 (gst_test_filter_init), (gst_test_sink_init):
15686 * testsuite/states/locked.c: (main):
15687 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15688 moved bitshift from macro to enum definition
15690 2005-10-12 Wim Taymans <wim@fluendo.com>
15692 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15693 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15694 (gst_file_sink_render):
15695 Some more debugging info.
15697 2005-10-12 Wim Taymans <wim@fluendo.com>
15699 * docs/design/part-states.txt:
15700 * tools/gst-launch.c: (main):
15701 Some doc updates.
15702 Revert non-intentional change.
15704 2005-10-12 Wim Taymans <wim@fluendo.com>
15706 * check/gst/gstbin.c: (GST_START_TEST):
15707 * check/gst/gstelement.c: (GST_START_TEST):
15708 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15709 * check/gst/gstghostpad.c: (GST_START_TEST):
15710 * check/gst/gstpipeline.c: (GST_START_TEST):
15711 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15712 * check/states/sinks.c: (GST_START_TEST):
15713 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15714 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15715 (gst_bin_remove_func), (gst_bin_get_state_func),
15716 (gst_bin_recalc_state), (gst_bin_change_state_func),
15717 (bin_bus_handler):
15718 * gst/gstelement.c: (gst_element_get_state_func),
15719 (gst_element_get_state), (gst_element_abort_state),
15720 (gst_element_commit_state), (gst_element_set_state),
15721 (gst_element_change_state), (gst_element_change_state_func):
15722 * gst/gstelement.h:
15723 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15724 (gst_pipeline_provide_clock_func):
15725 * gst/gstutils.c: (gst_element_link_pads_filtered):
15726 * tools/gst-launch.c: (main):
15727 * tools/gst-typefind.c: (main):
15728 Use GstClockTime in _get_state() instead of GTimeVal.
15729 Remove old code in gstutils.c
15731 2005-10-12 Andy Wingo <wingo@pobox.com>
15733 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15734 removed.
15736 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15737 there is no task. Shouldn't affect any code, as nothing in our
15738 plugins checks this return value.
15739 (gst_pad_stop_task): Also take the stream lock if the pad has no
15740 task. Docs updated.
15742 2005-10-12 Wim Taymans <wim@fluendo.com>
15744 * gst/gstpad.c: (pre_activate), (post_activate),
15745 (gst_pad_activate_pull), (gst_pad_activate_push):
15746 Cleanup activation code. Reset old state if
15747 activation failed.
15749 2005-10-12 Wim Taymans <wim@fluendo.com>
15751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15752 (gst_base_sink_change_state):
15753 No need to prerol after receiving EOS.
15755 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15756 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15757 * gst/elements/gstidentity.c: (gst_identity_event):
15758 Print events more verbosely.
15760 2005-10-12 Wim Taymans <wim@fluendo.com>
15762 * check/Makefile.am:
15763 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15764 * check/states/sinks2.c:
15765 Moved sinks2 testcode in sinks check.
15767 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15768 (gst_bin_remove_func), (gst_bin_recalc_state),
15769 (gst_bin_change_state_func), (bin_bus_handler):
15770 Fix potential race condition when _get_state() iterated over an
15771 ASYNC element right before it posted a state completion.
15773 * gst/gstclock.h:
15774 Do proper cast here.
15776 * gst/gstevent.c: (gst_event_new_newsegment),
15777 (gst_event_parse_newsegment):
15778 A playback rate of 0.0 is not allowed.
15780 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15782 * win32/common/config.h:
15783 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15784 (_trewinddir), (_ttelldir), (_tseekdir):
15785 * win32/common/dirent.h:
15786 * win32/common/gtchar.h:
15787 * win32/common/libgstbase.def:
15788 * win32/common/libgstreamer.def:
15789 * win32/vs6/grammar.dsp:
15790 * win32/vs6/gst_inspect.dsp:
15791 * win32/vs6/gst_launch.dsp:
15792 * win32/vs6/gstreamer.dsw:
15793 * win32/vs6/libgstbase.dsp:
15794 * win32/vs6/libgstelements.dsp:
15795 * win32/vs6/libgstreamer.dsp:
15796 Visual Studio 6 project files, and a new common directory.
15797 Phear.
15799 2005-10-11 Wim Taymans <wim@fluendo.com>
15801 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15802 (gst_base_sink_do_sync), (gst_base_sink_query),
15803 (gst_base_sink_change_state):
15804 * gst/base/gstbasesink.h:
15805 Correctly parse newsegment info.
15807 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15809 * gst/gst.c: (init_post):
15810 split plugin paths correctly
15812 2005-10-11 Wim Taymans <wim@fluendo.com>
15814 * check/gst/gstevent.c: (GST_START_TEST):
15815 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15816 (gst_base_sink_change_state):
15817 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15818 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15819 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15820 * gst/gstevent.c: (gst_event_new_newsegment),
15821 (gst_event_parse_newsegment):
15822 * gst/gstevent.h:
15823 Added extra flag to newsegment for future API freeze.
15824 Updated check and base elements.
15826 2005-10-11 Julien MOUTTE <julien@moutte.net>
15828 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15829 (gst_collectpads_add_pad), (gst_collectpads_pop),
15830 (gst_collectpads_event), (gst_collectpads_chain):
15831 * gst/base/gstcollectpads.h: Handle EOS correctly.
15833 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15835 * tools/gst-launch.c: (main):
15836 more null protecting
15838 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15840 * gst/gst-i18n-lib.h:
15841 check for ENABLE_NLS, not GETTEXT_PACKAGE
15842 * gst/gstregistry.c: (gst_registry_add_plugin),
15843 (gst_registry_scan_path_level),
15844 (_gst_registry_remove_cache_plugins):
15845 protect possibly NULL strings
15846 * gst/parse/types.h:
15847 config.h already included before
15848 * tools/gst-inspect.c: (main):
15849 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15850 check for ENABLE_NLS, not GETTEXT_PACKAGE
15851 * tools/gst-launch.c: (main):
15852 check for ENABLE_NLS, not GETTEXT_PACKAGE
15854 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15856 * configure.ac:
15857 if we don't have glib, fail before testing 2.8
15858 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15859 fix a leak, should fix plugins-base testsuite
15861 2005-10-11 Andy Wingo <wingo@pobox.com>
15863 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15864 take the mode we're going to as an arg. Go head and set the mode
15865 and flushing flags now, so that if the activate function starts a
15866 thread all the flags will be in the right state.
15867 (post_activate): Renamed also. Just handle making sure streaming
15868 finishes for the deactivation case, and setting the deactivated
15869 mode.
15870 (gst_pad_set_active): Complain loudly if deactivation fails.
15871 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15872 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15873 remove the terrible hack.
15875 2005-10-11 Wim Taymans <wim@fluendo.com>
15877 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15878 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15879 (gst_bin_recalc_state), (gst_bin_change_state_func),
15880 (gst_bin_dispose), (bin_bus_handler):
15881 * gst/gstbin.h:
15882 Prepare to make current EOS message queue more generic.
15883 Fix some typos.
15885 * gst/gstevent.c: (gst_event_new_newsegment),
15886 (gst_event_parse_newsegment):
15887 * gst/gstevent.h:
15888 Rename base to stream_time.
15890 * gst/gstmessage.h:
15891 Fix typo in docs.
15893 2005-10-11 Wim Taymans <wim@fluendo.com>
15895 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15896 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15897 (gst_bin_change_state_func), (bin_bus_handler):
15898 * gst/gstbin.h:
15899 Work on proper clock selection.
15901 2005-10-11 Edward Hervey <edward@fluendo.com>
15903 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15904 * libs/gst/controller/gstcontroller.h:
15905 Added GList* version of _remove_properties() in order to be able to wrap
15906 it in bindings.
15908 2005-10-11 Wim Taymans <wim@fluendo.com>
15910 * docs/design/part-states.txt:
15911 Some more docs.
15913 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15914 (gst_bin_change_state_func), (bin_bus_handler):
15915 Doc updates. Don't distribute the same clock over and over again.
15917 * gst/gstclock.c:
15918 * gst/gstclock.h:
15919 Doc updates.
15921 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15922 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15923 (gst_pad_send_event):
15924 * gst/gstpad.h:
15925 Make probe emission threadsafe again.
15926 Register quarks and move _get_name() from utils.
15927 Doc updates.
15929 * gst/gstpipeline.c: (gst_pipeline_class_init),
15930 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15931 Only redistribute the clock of it changed.
15933 * gst/gstsystemclock.h:
15934 Doc updates.
15936 * gst/gstutils.c:
15937 * gst/gstutils.h:
15938 Moved the _flow_get_name() to GstPad.
15940 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15942 * check/gst-libs/gdp.c: (GST_START_TEST):
15943 * check/gst/gstcaps.c: (GST_START_TEST):
15944 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15945 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15946 (gst_dp_packet_from_caps):
15947 fix more valgrind warnings before turning up the heat
15949 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15951 * gst/parse/grammar.y:
15952 some cleanup before the hacking
15954 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15956 * gst/base/gstbasesrc.c: (gst_base_src_query):
15957 use conversions
15958 * gst/gstutils.c: (gst_guint64_to_gdouble),
15959 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15960 * gst/gstutils.h:
15961 externalize, basesrc uses it
15962 obviously the implementation needs testing
15964 2005-10-10 Wim Taymans <wim@fluendo.com>
15966 * tests/sched/Makefile.am:
15967 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15968 (make_pipeline3), (make_pipeline4), (print_elem), (main):
15970 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15972 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15973 apparently converting from guint64 to double is not implemented
15974 on MSVC
15976 2005-10-10 Wim Taymans <wim@fluendo.com>
15978 * check/Makefile.am:
15979 * check/generic/states.c: (GST_START_TEST):
15980 * check/gst/gstbin.c: (GST_START_TEST):
15981 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15982 * check/states/sinks.c: (GST_START_TEST):
15983 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15984 (main):
15985 Check fixes, use API as stated in design docs, remove hacks.
15987 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15988 (gst_base_sink_change_state):
15989 Catch stopping our task while we're shutting down.
15991 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15992 (gst_bin_remove_func), (gst_bin_get_state_func),
15993 (gst_bin_recalc_state), (gst_bin_change_state_func),
15994 (bin_bus_handler):
15995 * gst/gstbin.h:
15996 * gst/gstelement.c: (gst_element_init),
15997 (gst_element_get_state_func), (gst_element_abort_state),
15998 (gst_element_commit_state), (gst_element_lost_state),
15999 (gst_element_set_state), (gst_element_change_state),
16000 (gst_element_change_state_func):
16001 * gst/gstelement.h:
16002 New state change algorithm (see #318116)
16004 * gst/gstpipeline.c: (gst_pipeline_class_init),
16005 (gst_pipeline_init), (gst_pipeline_set_property),
16006 (gst_pipeline_get_property), (do_pipeline_seek),
16007 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16008 * gst/gstpipeline.h:
16009 Remove crude state change hacks.
16011 * gst/gstutils.h:
16012 Remove crude hacks.
16014 * tools/gst-launch.c: (main):
16015 Fixes for state change. Needs some more work to fully use the
16016 new stuff.
16018 2005-10-10 Andy Wingo <wingo@pobox.com>
16020 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16022 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16023 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16024 issue.
16026 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16028 * gst/gstiterator.c: (gst_iterator_new):
16029 Fix my previous commit: GTypes passed to gst_iterator_new()
16030 can be fundamental types.
16032 2005-10-10 Wim Taymans <wim@fluendo.com>
16034 * gst/gstelement.c: (gst_element_iterate_pad_list),
16035 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16036 (gst_element_iterate_sink_pads):
16037 Use src/sink pads lists for the respective iterators instead
16038 of filtering.
16040 2005-10-10 Andy Wingo <wingo@pobox.com>
16042 Merged in popt removal + GOption addition patch from Ronald, bug
16043 #169772.
16045 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16046 GstElement macros around, remove popt-related symbols, add goption
16047 stuff.
16049 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16051 * docs/gst/Makefile.am:
16052 * docs/libs/Makefile.am: No POPT_CFLAGS.
16054 * examples/manual/Makefile.am:
16055 * docs/manual/basics-init.xml: Doc updates with an example.
16057 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16058 (gst_init), (parse_one_option), (parse_goption_arg):
16059 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16060 bit of hand merging and debugging to get the GOption stuff working
16061 tho.
16063 * tests/Makefile.am:
16064 * tools/Makefile.am:
16065 * tools/gst-inspect.c: (main):
16066 * tools/gst-launch.c: (main):
16067 * tools/gst-run.c: (main):
16068 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16070 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16072 * gst/gstiterator.c: (gst_iterator_new):
16073 Add assertions to make sure passed GType is likely to really
16074 be a GType (as the compiler won't catch it if the size and
16075 GType arguments get mixed up, see #318447).
16077 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16079 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16081 * gst/gstbin.c: (gst_bin_iterate_sorted):
16082 Pass GType and size arguments to gst_iterator_new() in the right
16083 order (maybe we should make _new() take the GType as first argument
16084 just like _new_list()?) (#318447).
16087 2005-10-10 Wim Taymans <wim@fluendo.com>
16089 * gst/gstelement.c: (gst_element_finalize):
16090 And free the GStaticRecMutex too
16092 2005-10-10 Andy Wingo <wingo@pobox.com>
16094 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16095 Allocate and free the mutex properly.
16097 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16098 New macros.
16099 (GstElement): The state_lock is now recursive. Rebuild your
16100 plugins, suckers. Old macros adapted.
16102 * docs/gst/gstreamer-sections.txt: Doc updates.
16104 * gst/gstutils.h:
16105 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16106 (g_static_rec_cond_wait): Ported from state changes patch, while
16107 we wait on bug #317802 to be solved in a well-distributed GLib.
16109 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16110 gst_element_change_state, variable name changes.
16111 (gst_element_change_state): Split out of gst_element_set_state in
16112 preparation for the state change merge. Doesn't pay attention to
16113 the 'transition' argument.
16114 (gst_element_set_state): Updates, hopefully purely cosmetic.
16115 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16116 state change patch.
16117 (gst_element_get_state_func): Renamed from get_state, cosmetic
16118 changes.
16120 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16122 * gst/elements/gstelements.c:
16123 * win32/GStreamer.vcproj:
16124 * win32/config.h:
16125 * win32/dirent.c: (_tseekdir):
16126 * win32/gst-inspect.vcproj:
16127 * win32/gst-launch.vcproj:
16128 * win32/gstconfig.h:
16129 * win32/gstelements.vcproj:
16130 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16131 * win32/gstreamer.def:
16132 * win32/msvc71.sln:
16133 updates for the win32 build (patch from Sebastien Moutte)
16135 2005-10-10 Andy Wingo <wingo@pobox.com>
16137 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16138 gst_bin_get_state, cleaned up (but no logic changes).
16139 (bin_element_is_sink): Comment updates.
16140 (sink_iterator_filter): Remove needless cast.
16141 (gst_bin_iterate_sinks): Doc update.
16142 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16143 cleaned up (but no logic changes).
16145 * check/states/sinks.c (test_src_sink): Cleanups from the state
16146 change patch.
16147 (test_livesrc_sink): Sync on the state.
16149 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16150 the state change patch.
16152 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16153 change patch.
16155 * check/gst/gstbin.c: Merge in some style fixes and additional
16156 checks from Wim's state change patch.
16158 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16160 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16161 (gst_type_find_helper):
16162 Check whether we have the requested data already in our list of
16163 cached buffers before pulling a new buffer; also make the buffer
16164 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16166 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16168 * gst/gstcaps.c:
16169 * gst/gstevent.c:
16170 doc updates
16171 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16172 don't use long long, it's not portable. Replacing with
16173 gint64 seems to work; let's hope no skeletons fall out of the closet.
16175 2005-10-10 Andy Wingo <wingo@pobox.com>
16177 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16179 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16181 * docs/gst/gstreamer-sections.txt:
16182 * gst/gstevent.c:
16183 * gst/gstevent.h:
16184 * gst/gstinfo.c:
16185 * gst/gstinfo.h:
16186 * gst/gstmessage.c: (gst_message_parse_state_changed):
16187 * gst/gstpad.c:
16188 * gst/gstpad.h:
16189 more docs, fix compilation
16191 2005-10-09 Philippe Khalaf <burger@speedy.org>
16192 * gst/gstmessage.c:
16193 Fixed a few forgotten variables on previous commit
16195 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16197 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16198 Fix evil typefind crasher: getrange() might return a short
16199 buffer at the end of a file, but gst_type_find_peek() must
16200 either return the full data as requested or NULL, but
16201 never a short buffer.
16203 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16205 * gst/gstmessage.c: (gst_message_new_state_changed),
16206 (gst_message_parse_state_changed):
16207 * gst/gstmessage.h:
16208 don't use "new", it's a C++ keyword
16210 2005-10-08 Wim Taymans <wim@fluendo.com>
16212 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16213 * gst/gstelement.c: (gst_element_post_message):
16214 * gst/gstpipeline.c: (gst_pipeline_change_state):
16215 Small docs and debug updates.
16217 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16219 * docs/gst/gstreamer-sections.txt:
16220 * gst/gstelementfactory.c:
16221 * gst/gstevent.c:
16222 * gst/gsttaglist.c:
16223 more docs
16225 2005-10-08 Wim Taymans <wim@fluendo.com>
16227 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16228 (gst_bin_dispose), (bin_bus_handler):
16229 Fix typos, add comments.
16230 Clear EOS list when going to PAUSED from any direction and do it
16231 in a threadsafe way.
16232 Get base time in a threadsafe way too.
16233 Fix confusing debug in the change_state function.
16234 Various other small cleanups.
16236 * gst/gstelement.c: (gst_element_post_message):
16237 Fix very verbose bus posting code.
16239 * gst/gstpipeline.c: (gst_pipeline_class_init),
16240 (gst_pipeline_set_property), (gst_pipeline_get_property),
16241 (gst_pipeline_change_state):
16242 Small ARG_ -> PROP_ cleanup
16244 2005-10-08 Wim Taymans <wim@fluendo.com>
16246 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16247 Do a less CPU demanding EOS check because we can.
16249 2005-10-08 Wim Taymans <wim@fluendo.com>
16251 * libs/gst/dataprotocol/dataprotocol.c:
16252 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16253 (gst_dp_packet_from_event):
16254 * libs/gst/dataprotocol/dataprotocol.h:
16255 * libs/gst/dataprotocol/dp-private.h:
16256 It's about time we bump the version number.
16257 Since event types don't fit in the guint8 anymore describing
16258 the payload type, make payload type 16 bits wide.
16260 2005-10-08 Wim Taymans <wim@fluendo.com>
16262 * docs/design/part-TODO.txt:
16263 * docs/design/part-clocks.txt:
16264 * docs/design/part-events.txt:
16265 * docs/design/part-gstbin.txt:
16266 * docs/design/part-gstelement.txt:
16267 * docs/design/part-gstpipeline.txt:
16268 * docs/design/part-live-source.txt:
16269 * docs/design/part-messages.txt:
16270 * docs/design/part-overview.txt:
16271 * docs/design/part-states.txt:
16272 Many doc updates.
16274 2005-10-08 Wim Taymans <wim@fluendo.com>
16276 * gst/gstevent.c:
16277 * gst/gstevent.h:
16278 Fix event quark registration.
16279 Add some space between events so we can insert them in the
16280 right groups.
16282 2005-10-08 Wim Taymans <wim@fluendo.com>
16284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16285 (gst_base_sink_handle_buffer):
16286 Better log message.
16288 * gst/gstbus.h:
16289 * gst/gstelement.h:
16290 More docs.
16292 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16293 (gst_queue_set_property), (gst_queue_get_property):
16294 * gst/gstqueue.h:
16295 Remove old unused properties.
16297 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16298 * docs/gst/gstreamer-sections.txt:
16299 * gst/gstmessage.c:
16300 * gst/gstmessage.h:
16301 * gst/gstminiobject.c:
16302 * gst/gstminiobject.h:
16303 * gst/gstobject.h:
16304 * gst/gstpad.h:
16305 * gst/gstutils.h:
16306 lots of new docs and doc fixes
16308 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16310 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16311 * gst/gstplugin.h:
16312 * gst/gstregistry.c: (gst_registry_lookup_locked),
16313 (gst_registry_scan_path_level):
16314 * gst/gstregistryxml.c: (load_plugin):
16315 Only ever load one plugin for a given plugin basename.
16316 This ensures correct overriding of GST_PLUGIN_PATH over
16317 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16318 system installed plugins.
16320 2005-10-08 Wim Taymans <wim@fluendo.com>
16322 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16323 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16324 Prepare for doing QOS.
16326 2005-10-08 Wim Taymans <wim@fluendo.com>
16328 * check/gst/gstbin.c: (GST_START_TEST):
16329 * check/pipelines/cleanup.c: (GST_START_TEST):
16330 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16331 Allow new clock message too.
16333 2005-10-08 Wim Taymans <wim@fluendo.com>
16335 * gst/gstmessage.c: (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_clock_lost), (gst_message_new_new_clock),
16339 (gst_message_new_segment_start), (gst_message_new_segment_done),
16340 (gst_message_parse_state_changed),
16341 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16342 (gst_message_parse_new_clock):
16343 * gst/gstmessage.h:
16344 Also carry the clock in question.
16346 2005-10-08 Wim Taymans <wim@fluendo.com>
16348 * gst/gstmessage.c: (gst_message_new_custom),
16349 (gst_message_new_eos), (gst_message_new_error),
16350 (gst_message_new_warning), (gst_message_new_tag),
16351 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16352 (gst_message_new_new_clock), (gst_message_new_segment_start),
16353 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16354 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16355 * gst/gstmessage.h:
16356 Clean up.
16357 Added clock related messages.
16359 * gst/gstpipeline.c: (gst_pipeline_change_state):
16360 Post message when the clock changed.
16362 * tools/gst-launch.c: (event_loop):
16363 Print new clock.
16365 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
16367 * tools/gst-inspect.c: (print_element_properties_info):
16368 Can't pass NULL strings to g_print() on windows.
16370 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16372 * docs/Makefile.am:
16373 * docs/gst/Makefile.am:
16374 * docs/gst/gstreamer-docs.sgml:
16375 * docs/gst/running.xml:
16376 * docs/version.entities.in:
16377 add a chapter on running GStreamer.
16378 document GST_DEBUG and GST_PLUGIN* env vars
16380 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16382 * Makefile.am:
16383 remove include dir
16384 * configure.ac:
16385 remove PLUGINS_BUILDDIR stuff
16386 * gst/gst.c: (init_post):
16387 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16388 * idiottest.mak:
16389 remove, it was condescending and not needed
16391 2005-10-08 Wim Taymans <wim@fluendo.com>
16393 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16394 (gst_base_sink_handle_object), (gst_base_sink_event),
16395 (gst_base_sink_wait), (gst_base_sink_handle_event),
16396 (gst_base_sink_change_state):
16397 * gst/base/gstbasesink.h:
16398 Repost EOS message while going to PLAYING if still EOS.
16399 Make sure that when receiving a FLUSH_START we don't attempt
16400 to sync on the clock anymore.
16402 2005-10-08 Wim Taymans <wim@fluendo.com>
16404 * tools/gst-launch.c: (event_loop):
16405 Better message printout.
16407 2005-10-08 Wim Taymans <wim@fluendo.com>
16409 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16410 (gst_bin_child_proxy_get_children_count):
16411 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16412 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16413 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16414 (gst_child_proxy_set_valist):
16415 * gst/parse/grammar.y:
16416 Make ChildProxy threadsafe and fix mem leaks.
16418 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16420 * gst/gst.c: (init_post):
16421 debug the GST_PLUGIN_ env vars
16423 2005-10-08 Wim Taymans <wim@fluendo.com>
16425 * check/gst/gstbin.c: (GST_START_TEST):
16426 * check/gst/gstmessage.c: (GST_START_TEST):
16427 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16428 * gst/gstelement.c: (gst_element_commit_state),
16429 (gst_element_lost_state):
16430 * gst/gstmessage.c: (gst_message_new_state_changed),
16431 (gst_message_parse_state_changed):
16432 * gst/gstmessage.h:
16433 * tools/gst-launch.c: (event_loop):
16434 Added extra field to STATE_CHANGE message with the pending
16435 state, which will be different from the new state soon.
16437 2005-10-08 Wim Taymans <wim@fluendo.com>
16439 * gst/gstbus.c: (gst_bus_pop):
16440 * gst/gstclock.c:
16441 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16442 Small cleanups and doc updates.
16444 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16446 * gst/gst.c: (init_pre):
16447 * gst/gstbin.c: (gst_bin_add_func):
16448 log distributing clocks and base time
16449 * gst/gstregistry.c: (gst_registry_add_plugin),
16450 (gst_registry_scan_path_level), (gst_registry_scan_path):
16451 clean up the debugging output a little
16452 * gst/gstutils.c: (gst_element_state_get_name):
16453 warn about a memleak (I've actually seen this be used, though
16454 it was probably a bug)
16456 2005-10-07 Wim Taymans <wim@fluendo.com>
16458 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16459 (gst_base_src_init), (gst_base_src_default_newsegment),
16460 (gst_base_src_newsegment), (gst_base_src_do_seek),
16461 (gst_base_src_loop), (gst_base_src_start):
16462 * gst/base/gstbasesrc.h:
16463 Make the newsegment event customizable by subclasses.
16465 2005-10-07 Wim Taymans <wim@fluendo.com>
16467 * gst/gstevent.c: (gst_event_new_buffersize),
16468 (gst_event_parse_buffersize):
16469 * gst/gstevent.h:
16470 New event for future idea.
16472 2005-10-07 Andy Wingo <wingo@pobox.com>
16474 * gst/gstelement.c (gst_element_post_message): Doc update.
16476 * docs/gst/gstreamer-sections.txt: Update.
16478 * gst/gstmessage.c (gst_message_new_application): Made into a
16479 function like honest API calls.
16480 (gst_message_new_element): New message type.
16482 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16484 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16485 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16486 times.
16488 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16489 NO_PREROLL from gst_element_change_state to fall through.
16491 2005-10-07 Wim Taymans <wim@fluendo.com>
16493 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16494 (gst_ghost_pad_do_activate_push):
16495 Activating a ghostpad with no internal pad in push mode
16496 is ok.
16498 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16500 * gst/gstobject.h:
16501 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16502 Fixes compilation on Windows.
16504 2005-10-07 Michael Smith <msmith@fluendo.com>
16506 * tools/gst-inspect.c:
16507 Print out feature and plugin count at the end when printing out
16508 all features.
16510 2005-10-04 Michael Smith <msmith@fluendo.com>
16512 * gst/gsterror.c: (_gst_stream_errors_init):
16513 Add another error string used in a few existing plugins.
16515 * gst/gstplugin.c:
16516 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16517 * tools/gst-inspect.c: (print_element_info):
16518 When a feature disappears from a plugin (and the feature exists in
16519 the cached registry file), things went horribly wrong. This isn't a
16520 complete fix, we should actually be removing the 'missing' features
16521 from the features list when we load the actual plugin. That's not
16522 yet implemented.
16524 2005-10-04 Johan Dahlin <johan@gnome.org>
16526 * check/gst/gstiterator.c: (GST_START_TEST):
16527 * gst/gstbin.c: (gst_bin_iterate_elements),
16528 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16529 * gst/gstelement.c: (gst_element_iterate_pads):
16530 * gst/gstformat.c: (gst_format_iterate_definitions):
16531 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16532 (gst_iterator_new_list), (gst_iterator_filter):
16533 * gst/gstiterator.h:
16534 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16535 Add a GType to GstIterator, update callsites and tests.
16537 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16539 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16540 give events a chance to be handled by event probes when the pad
16541 is not linked
16543 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16545 * gst/gstevent.c: (gst_event_type_get_name),
16546 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16547 * gst/gstevent.h:
16548 add string representations for event types
16550 2005-10-06 Wim Taymans <wim@fluendo.com>
16552 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16553 Don't use NULL pointers.
16555 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16557 * gst/gst_private.h:
16558 * gst/gstbus.c:
16559 * gst/gstelement.c:
16560 * gst/gstinfo.c:
16561 * gst/gstpluginfeature.c:
16562 widen the debug category in output to fit the biggest one we have
16563 add a bus category and use it
16564 play with the colors
16565 fix up some categories
16567 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16569 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16570 add push activation of sink ghost pads.
16571 Andye, please verify
16573 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16575 * gst/gstutils.c: (gst_element_link_pads):
16576 fix a bug in the case where neither element has a pad
16577 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16578 add a test for that case
16580 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16582 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16583 emit have-data before checking for peers. This allows
16584 for probe handlers to connect elements. This helps autopluggers.
16585 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16586 (gst_pad_suite):
16587 add six checks, linked/unlinked with no/true/false probe
16589 2005-10-04 Wim Taymans <wim@fluendo.com>
16591 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16592 (gst_fake_sink_event), (gst_fake_sink_preroll),
16593 (gst_fake_sink_render), (gst_fake_sink_change_state):
16594 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16595 (gst_fake_src_get_property), (gst_fake_src_create),
16596 (gst_fake_src_stop):
16597 * gst/elements/gstidentity.c: (gst_identity_stop):
16598 Protect last_message with lock.
16600 2005-10-04 Edward Hervey <edward@fluendo.com>
16602 * gst/gstformat.h:
16603 Added precision in the comments for GST_FORMAT_DEFAULT
16605 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16607 * tools/gst-launch.c: (main):
16608 Don't try to run erroneous pipelines.
16610 2005-10-04 Julien MOUTTE <julien@moutte.net>
16612 * gst/gstbus.c: We don't need this header.
16614 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16616 * configure.ac:
16617 back to development
16619 === release 0.9.3 ===
16621 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16623 * README:
16624 * configure.ac:
16625 Releasing 0.9.3, "Unregistered"
16627 2005-10-03 Andy Wingo <wingo@pobox.com>
16629 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16630 whereby calling a pad's activatepush() function can start a thread
16631 that starts to push or pull before the pad gets the FLUSHING flag
16632 unset. Hack around it by holding the stream lock until the flag is
16633 set. Need to replace this with a proper solution. Together with
16634 the ghost pad fixes, this fixes mp3 playing/tagreading.
16636 * docs/design/part-gstghostpad.txt: Add a note about activation of
16637 proxy pads outside of ghost pads.
16639 * gst/gstghostpad.c: Implement the ghost pad activation design.
16641 2005-10-02 Andy Wingo <wingo@pobox.com>
16643 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16644 It is volatile, after all.
16646 * docs/design/part-gstghostpad.txt: Flesh out activation with
16647 ghost pads.
16649 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16650 GST_DEBUG_FUNCPTR.
16652 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16654 * configure.ac:
16655 Fix (unused) AM_CONDITIONAL tests.
16657 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16659 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16661 * gst/gstutils.c: (gst_pad_query_convert):
16662 Add assertion that makes sure src_val is >=0, just like
16663 gst_query_new_convert() has. (#315895)
16665 2005-09-30 Edward Hervey <edward@fluendo.com>
16667 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16668 Let's not iterate pads we're not interested in, it avoids getting
16669 sky-high refcounts on sinkpad.
16671 2005-09-30 Wim Taymans <wim@fluendo.com>
16673 * gst/gstelement.c: (gst_element_set_state),
16674 (gst_element_change_state):
16675 Small tweak, element in ASYNC remains ASYNC.
16677 2005-09-30 Wim Taymans <wim@fluendo.com>
16679 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16680 Only error is an error.
16682 * gst/gstbin.c: (gst_bin_change_state):
16683 Better debugging.
16685 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16686 Also call pad_block in pad alloc.
16688 * gst/gstutils.c: (gst_flow_get_name):
16689 Better debugging.
16691 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16693 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16694 (gst_base_src_get_range):
16695 Fix documentation typos. Add some more debug info.
16697 2005-09-29 David Schleef <ds@schleef.org>
16699 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16700 more end-user friendly.
16701 * tools/gst-inspect.c: (main): Check if command-line argument is
16702 a file and attempt to load that file as a plugin.
16704 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16706 * check/gst/gstbin.c:
16707 * check/states/sinks.c:
16708 fix tests for the new warning
16709 * check/gst/gstpipeline.c:
16710 add a test for pipeline and bus interaction
16711 * gst/gstelement.c:
16712 elements should be NULL if they get disposed; add a warning if not
16714 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16716 * gst/gstobject.c:
16717 for 2.6 refcounting, make debug log more correct by printing
16718 the actual refcounts at the time of swap (Wim)
16720 2005-09-29 Andy Wingo <wingo@pobox.com>
16722 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16723 removes signal watches previously added via
16724 gst_bus_add_signal_watch.
16725 (gst_bus_add_signal_watch): Don't return the source id, just store
16726 it on the bus if there wasn't an id already.
16728 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16729 add_signal_watch and remove_signal_watch.
16731 2005-09-29 Edward Hervey <edward@fluendo.com>
16733 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16734 Better if we actually iterate the list :)
16736 2005-09-29 Wim Taymans <wim@fluendo.com>
16738 * check/gst/gstbin.c: (GST_START_TEST):
16739 Change for new bus API.
16741 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16742 (send_messages), (GST_START_TEST), (gstbus_suite):
16743 Change for new bus signal API.
16745 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16746 (gst_bus_source_prepare), (gst_bus_source_check),
16747 (gst_bus_create_watch), (gst_bus_add_watch_full),
16748 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16749 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16750 * gst/gstbus.h:
16751 Remove support for multiple GSources operating on different
16752 message types as it is too complex and unneeded when using
16753 signals.
16754 Added support for receiving signals from the bus.
16756 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16758 * docs/libs/tmpl/gstdataprotocol.sgml:
16759 * docs/manual/advanced-dataaccess.xml:
16760 * gst/elements/gstcapsfilter.c:
16761 * gst/gstutils.c:
16762 rename filter-caps to caps property
16764 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16766 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16767 More robust fraction string parsing.
16769 * docs/pwg/appendix-porting.xml:
16770 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16772 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16774 * gst/gstcaps.c: (gst_caps_do_simplify):
16775 Thou shalt not free a structure and then continue using it
16776 in the next loop iteration.
16778 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16779 (gst_caps_suite):
16780 Add test case for caps simplification.
16782 2005-09-29 Wim Taymans <wim@fluendo.com>
16784 * check/gst/gstbin.c: (GST_START_TEST):
16785 Oops.
16787 2005-09-29 Wim Taymans <wim@fluendo.com>
16789 * check/gst/gstbin.c: (GST_START_TEST):
16790 Add bus to bin.
16792 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16793 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16794 (find_element), (gst_bin_sort_iterator_next),
16795 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16796 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16797 (gst_bin_change_state), (gst_bin_dispose):
16798 A bin does not have a bus, it gets the bus from the parent.
16800 * gst/gstelement.c: (gst_element_requires_clock),
16801 (gst_element_provides_clock), (gst_element_is_indexable),
16802 (gst_element_is_locked_state), (gst_element_change_state),
16803 (gst_element_set_bus_func):
16804 Small cleanups.
16806 * gst/gstpipeline.c: (gst_pipeline_class_init),
16807 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16808 The pipeline provides a bus.
16810 2005-09-28 Johan Dahlin <johan@gnome.org>
16812 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16813 gst_structure_get_enum instead of gst_structure_get_int
16815 * gst/gststructure.c (gst_structure_get_enum): Impl.
16817 * gst/gststructure.h (gst_structure_get_enum): Add
16819 * docs/gst/gstreamer-sections.txt: Ditto
16821 * gst/gstmessage.c (gst_message_new_state_changed): Use
16822 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16823 which does introspection.
16824 Reviewed by Christian Schaller
16826 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16828 * gst/gstinfo.c: (gst_debug_log_default):
16829 don't do dummy g_strdup()s
16830 * libs/gst/controller/gstcontroller.c:
16831 (on_object_controlled_property_changed),
16832 (gst_controlled_property_new), (gst_controller_new_valist),
16833 (gst_controller_new_list),
16834 (gst_controller_remove_properties_valist), (gst_controller_set),
16835 (gst_controller_get), (gst_controller_sync_values),
16836 (gst_controller_get_value_array), (_gst_controller_class_init),
16837 (gst_controller_get_type):
16838 * libs/gst/controller/gstcontroller.h:
16839 * libs/gst/controller/gstinterpolation.c:
16840 (gst_controlled_property_find_timed_value_node):
16841 convert // to /**/ comments
16843 2005-09-28 Wim Taymans <wim@fluendo.com>
16845 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16846 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16847 (gst_bus_sync_signal_handler):
16848 * gst/gstbus.h:
16849 Added async-message and sync-message signals to the bus.
16850 Added helper BusFunc to emit signals for all posted messages.
16852 * gst/gstmessage.c: (gst_message_type_get_name),
16853 (gst_message_type_to_quark), (gst_message_get_type):
16854 * gst/gstmessage.h:
16855 Register quarks for message names.
16857 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16859 * docs/libs/gstreamer-libs-sections.txt:
16860 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16861 (gst_controller_new_list):
16862 * libs/gst/controller/gstcontroller.h:
16863 added another constructor for language bindings
16865 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16867 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16868 add another check
16869 * gst/gstbus.c:
16870 add some doc
16871 * gst/gstinfo.c: (_gst_debug_init):
16872 slightly more readable color for refcount debugging
16874 2005-09-28 Wim Taymans <wim@fluendo.com>
16876 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16877 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16878 (find_element), (gst_bin_sort_iterator_next),
16879 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16880 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16881 (gst_bin_change_state), (gst_bin_dispose):
16882 Small doc fixes. get_clock -> provide_clock.
16884 * gst/gstelement.c: (gst_element_class_init),
16885 (gst_element_provides_clock), (gst_element_provide_clock),
16886 (gst_element_get_clock), (gst_element_commit_state),
16887 (gst_element_lost_state):
16888 * gst/gstelement.h:
16889 Make get/set_clock() symetric. Add provide_clock vmethod since
16890 that is actually what this function does.
16892 * gst/gstpipeline.c: (gst_pipeline_class_init),
16893 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16894 (gst_pipeline_get_clock):
16895 get_clock -> provide_clock.
16897 2005-09-28 Andy Wingo <wingo@pobox.com>
16899 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16900 lieu of real docs...
16902 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16904 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16906 * gst/elements/gstcapsfilter.c:
16907 * gst/elements/gstfakesink.c:
16908 * gst/elements/gstfakesrc.c:
16909 * gst/elements/gstfdsink.c:
16910 * gst/elements/gstfdsrc.c:
16911 * gst/elements/gstfilesink.c:
16912 * gst/elements/gstfilesrc.c:
16913 * gst/elements/gstidentity.c:
16914 * gst/elements/gsttee.c:
16915 * gst/elements/gsttypefindelement.c:
16916 Make element details static.
16918 2005-09-28 Wim Taymans <wim@fluendo.com>
16920 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16921 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16922 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16923 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16924 (gst_bin_change_state), (gst_bin_dispose):
16925 Some documentation updates.
16926 Clean up dispose handlers.
16928 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16929 * gst/gstpad.c: (gst_pad_dispose):
16930 Clean up dispose handler.
16932 * gst/gstpipeline.c: (gst_pipeline_change_state):
16933 Removed spurious UNLOCK.
16935 2005-09-27 Stefan Kost <ensonic@users.sf.net>
16937 * docs/gst/gstreamer-sections.txt:
16938 * gst/base/gstbasesrc.h:
16939 * gst/gstelement.h:
16940 * gst/gstevent.h:
16941 * gst/gstobject.h:
16942 * gst/gstpad.h:
16943 * gst/gstpipeline.c:
16944 * gst/gstpipeline.h:
16945 * gst/gstutils.h:
16946 * gst/gstxml.h:
16947 added two new functions to the docs
16948 documents all undocumented GstXXXFlags
16949 completed some incomplete docs
16951 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
16953 * gst/gstbin.c: (gst_bin_dispose):
16954 * gst/gstelement.c: (gst_element_dispose):
16955 remove now useless and leaky resurrection code in dispose
16956 * gst/base/gstbasesrc.c: (gst_base_src_init):
16957 * gst/gstelementfactory.c: (gst_element_factory_create):
16958 * gst/gstobject.c: (gst_object_set_parent):
16959 add some debugging
16961 2005-09-27 Wim Taymans <wim@fluendo.com>
16963 * docs/design/part-TODO.txt:
16964 Update TODO.
16966 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16967 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16968 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16969 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16970 (gst_bin_change_state):
16971 * gst/gstelement.h:
16972 Remove element variable, we keep element info in the iterator now.
16974 2005-09-27 Andy Wingo <wingo@pobox.com>
16976 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16977 values.
16979 2005-09-27 Wim Taymans <wim@fluendo.com>
16981 * check/gst/gstbin.c: (GST_START_TEST):
16982 Enable check that works now.
16984 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16985 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16986 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16987 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16988 (gst_bin_change_state):
16989 * gst/gstbin.h:
16990 Redid the state change algorithm using a topological sort algo.
16991 Handles all cases correctly.
16992 Exposed iterator for state change order.
16994 * gst/gstelement.h:
16995 Temp storage for state changes. Need to get rid of this soon.
16997 2005-09-27 Wim Taymans <wim@fluendo.com>
16999 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17000 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17001 (link_fold_func), (gst_pad_proxy_setcaps):
17002 Leak fixes, the fold functions need to unref the passed object and
17003 _get_parent_*() returns ref to parent.
17005 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17007 * check/gst/gstbuffer.c: (test_make_writable):
17008 Plug leak in test case and fix 'make check-valgrind'
17010 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17012 * gst/gstbuffer.c: (gst_subbuffer_init):
17013 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17014 works correctly in all circumstances (we could have just copied
17015 the parent buffer's readonly flag, but conceptually it seems
17016 cleaner to mark all subbuffers as read-only). (based on patch
17017 by Alessandro Decina, #314710).
17019 * check/gst/gstbuffer.c: (create_read_only_buffer),
17020 (test_make_writable), (test_subbuffer_make_writable),
17021 (gst_test_suite):
17022 Add some tests for gst_buffer_make_writable().
17024 2005-09-27 Wim Taymans <wim@fluendo.com>
17026 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17027 use gst_object_has_ancestor().
17029 * gst/gstobject.c: (gst_object_has_ancestor):
17030 * gst/gstobject.h:
17031 gst_object_has_ancestor() copied from gstbin.c as it is a
17032 useful function.
17034 * tests/instantiate/create.c: (create_all_elements):
17035 * tests/lat.c: (handoff_src), (handoff_sink):
17036 * tests/sched/runxml.c: (main):
17037 * tests/seeking/seeking1.c: (main):
17038 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17039 (main):
17040 Fix compilation of some tests.
17042 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17044 * gst/gsterror.h:
17045 Remove comment. GST_TYPE_G_ERROR is here to stay,
17046 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17047 (#316961, #300610).
17049 2005-09-26 Wim Taymans <wim@fluendo.com>
17051 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17052 Added check that shows error in state change order.
17054 2005-09-26 Wim Taymans <wim@fluendo.com>
17056 * gst/gstbin.c: (gst_bin_change_state):
17057 Make state change function use 3 queues again, we were
17058 adding elements in the wrong order.
17060 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17061 Some debug info,
17063 * gst/gstpad.c: (gst_pad_dispose):
17064 Added some debug info first.
17066 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17068 * docs/design/draft-push-pull.txt:
17069 * docs/design/part-events.txt:
17070 * docs/design/part-overview.txt:
17071 * docs/design/part-scheduling.txt:
17072 Replace all _pull_region() with _pull_range()
17074 2005-09-26 Andy Wingo <wingo@pobox.com>
17076 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17078 * check/gst-libs/controller.c: Update for controller api change.
17080 * configure.ac:
17081 * tests/Makefile.am:
17082 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17083 over by GLib bug 118439.
17085 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17086 routines to a function.
17088 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17090 * libs/gst/controller/gsthelper.c:
17091 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17092 (gst_object_sync_values): Renamed from sink_values. Ugh.
17094 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17096 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17097 Renamed from controller_key, as it is exported.
17099 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17101 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17103 * gst/Makefile.am:
17104 * gst/gst.h:
17105 * gst/gstpad.h:
17106 * gst/gstpadtemplate.h:
17107 * gst/gstquery.c:
17108 * gst/gstquery.h:
17109 * gst/gstqueryutils.c:
17110 * gst/gstqueryutils.h:
17111 remove queryutils headers after moving the two used functions
17112 to gstquery. also fixes build problem for gstsiddec
17114 2005-09-26 Michael Smith <msmith@fluendo.com>
17116 * tools/gst-launch.1.in:
17117 Correct documentation in manpage of debug syntax
17119 2005-09-26 Wim Taymans <wim@fluendo.com>
17121 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17122 (gst_base_src_is_seekable), (gst_base_src_change_state):
17123 Some more debugging info.
17125 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17127 * docs/gst/gstreamer-sections.txt:
17128 * gst/base/gstbasetransform.h:
17129 * gst/gstindex.h:
17130 added more docs
17132 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17134 * docs/gst/.cvsignore:
17135 * docs/gst/tmpl/.cvsignore:
17136 * docs/gst/tmpl/gstpipeline.sgml:
17137 * docs/gst/tmpl/gstplugin.sgml:
17138 * gst/gstpipeline.c:
17139 * gst/gstplugin.c:
17140 * gst/gstplugin.h:
17141 inlined the last two docs files
17142 removed the tmpl directory from cvs (no more conflicts here!)
17144 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17146 * docs/gst/gstreamer-sections.txt:
17147 * docs/gst/tmpl/.cvsignore:
17148 * docs/gst/tmpl/gstpad.sgml:
17149 * docs/gst/tmpl/gstpadtemplate.sgml:
17150 * gst/Makefile.am:
17151 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17152 (gst_pad_finalize), (gst_pad_set_pad_template):
17153 * gst/gstpad.h:
17154 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17155 (gst_pad_template_class_init), (gst_pad_template_init),
17156 (gst_pad_template_dispose), (name_is_valid),
17157 (gst_static_pad_template_get), (gst_pad_template_new),
17158 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17159 (gst_pad_template_pad_created):
17160 * gst/gstpadtemplate.h:
17161 inlined two more docs
17162 factored gstpadtemplate out of gstpad
17164 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17166 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17167 (test_children_state_change_order_semi_sink):
17168 Fix test case: we can't rely on a fixed state change order when
17169 going from READY => PAUSED because the sink might commit its
17170 new state first when the first buffer created by the source
17171 reaches the sink before the source has finished its change state.
17172 (Test case still fails at times, see #316856, comment 5 onwards)
17174 2005-09-24 Wim Taymans <wim@fluendo.com>
17176 * docs/design/part-events.txt:
17177 * docs/design/part-gstbus.txt:
17178 * docs/design/part-gstpipeline.txt:
17179 * docs/design/part-messages.txt:
17180 * docs/design/part-overview.txt:
17181 * docs/design/part-segments.txt:
17182 * gst/gstbin.c:
17183 * gst/gstbuffer.c:
17184 * gst/gstclock.c:
17185 * gst/gstelement.c:
17186 * gst/gstevent.c:
17187 * gst/gstfilter.c:
17188 * gst/gstiterator.c:
17189 Various documentation updates.
17191 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17193 * gst/gstclock.h:
17194 Well, that's embarassing. Luckily we weren't using
17195 GST_CLOCK_DIFF anywhere.
17197 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17199 * common/gtk-doc.mak:
17200 don't fail on building XML, FC4 slave shows a bunch of doc
17201 missing bits that I don't get
17202 * gst/gstpad.c:
17203 * gst/gstpipeline.c:
17204 * gst/gststructure.c:
17205 some doc updates
17207 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17209 * docs/design/part-gstbin.txt:
17210 * docs/design/part-gstbus.txt:
17211 * gst/gstbus.c:
17212 Add blurb about how the bus goes into flushing mode and
17213 drops all messages when its bin goes from READY into NULL
17214 state.
17216 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17218 * docs/gst/gstreamer-sections.txt:
17219 * gst/gststructure.c: (gst_structure_get_clock_time):
17220 * gst/gststructure.h:
17221 add a method to get a GstClockTime out of a structure
17223 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17225 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17226 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17227 Added test to check state change order in bins (can still be made
17228 to fail here under heavy disk load; bails out with 'Push on pad
17229 fakesink:sink0, but it was not activated in push mode').
17231 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17232 Fix state change order when there is only a semi sink (#316856)
17234 * gst/gstbus.c: (gst_bus_class_init):
17235 Use _class_peek_parent(), not _class_ref(); fix docs to say
17236 'default main context' instead of 'mainloop' where that is
17237 what's meant.
17239 * gst/gstelement.c: (gst_element_commit_state),
17240 (gst_element_set_state):
17241 Fix typos in debug messages
17243 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17245 * docs/README:
17246 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17247 * gst/gstpluginfeature.c:
17248 * gst/gstutils.c:
17249 various doc updates
17250 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17251 change an assert into an error until it gets fixed properly
17253 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17255 * docs/gst/gstreamer-sections.txt:
17256 * docs/gst/tmpl/.cvsignore:
17257 * docs/gst/tmpl/gstelement.sgml:
17258 * docs/gst/tmpl/gstinfo.sgml:
17259 * docs/gst/tmpl/gstobject.sgml:
17260 * gst/gstelement.c:
17261 * gst/gstelement.h:
17262 * gst/gstinfo.c:
17263 * gst/gstinfo.h:
17264 * gst/gstobject.c: (gst_object_class_init):
17265 * gst/gstobject.h:
17266 inlined 3 more biiiig doc files and added some missing docs on the fly
17268 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17270 * check/gst/.cvsignore:
17271 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17272 * gst/gstregistryxml.c: (load_plugin),
17273 (gst_registry_xml_save_plugin):
17274 put back source in registry. add checks for find_plugin.
17275 * testsuite/states/bin.c: (assert_state), (empty_bin),
17276 (test_adding_one_element), (main):
17277 * testsuite/states/locked.c: (main):
17278 some compile/run fixes
17280 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * check/gst/gstvalue.c: (GST_START_TEST):
17283 fix leaks in the test itself
17285 2005-09-22 Wim Taymans <wim@fluendo.com>
17287 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17288 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17289 (gst_base_sink_query):
17290 Prepare for more accurate position reporting and query
17291 handling.
17293 * gst/gstelement.c: (gst_element_send_event),
17294 (gst_element_set_state):
17295 Add some comment.
17297 2005-09-22 Wim Taymans <wim@fluendo.com>
17299 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17300 (gst_query_parse_segment):
17301 * gst/gstquery.h:
17302 More documentation.
17303 Add segment query for future use.
17305 2005-09-22 Wim Taymans <wim@fluendo.com>
17307 * gst/gstbin.c: (gst_bin_add_func):
17308 Some more debug info.
17310 * gst/gstelement.c: (gst_element_send_event):
17311 Simplify send_event
17313 * gst/gstelement.h:
17314 Don't know how flags got broken.
17316 * gst/gstquery.h:
17317 Added new query.
17319 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17321 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17322 Add simplistic test suite for GST_TYPE_DATE serialisation and
17323 deserialisation.
17325 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17327 * docs/gst/gstreamer-sections.txt:
17328 * gst/gststructure.c: (gst_structure_set_valist),
17329 (gst_structure_get_date):
17330 * gst/gststructure.h:
17331 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17332 (gst_date_copy), (gst_value_compare_date),
17333 (gst_value_serialize_date), (gst_value_deserialize_date),
17334 (gst_value_transform_date_string),
17335 (gst_value_transform_string_date), (_gst_value_initialize):
17336 * gst/gstvalue.h:
17337 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17338 bunch of utility functions along with a hack that checks that
17339 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17340 is required. Part of the grand scheme in #170777.
17342 2005-09-22 Andy Wingo <wingo@pobox.com>
17344 * gst/gstconfig.h.in: Psych out gtk-doc.
17346 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17348 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17350 * tools/gst-inspect.c (print_element_list): Plug some
17351 inconsequential leaks.
17353 * gst/gstregistry.c (gst_registry_get_default): Doc.
17355 * check/gst/gstplugin.c:
17356 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17357 * gst/gstelementfactory.c (gst_element_factory_create):
17358 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17359 refcount changes.
17361 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17362 (gst_plugin_feature_load): Doc, don't eat refs.
17364 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17365 (gst_plugin_list_free): Doc.
17366 (gst_plugin_load_file): Doc updates.
17368 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17369 accessors returning refcounted objects, return a ref.
17371 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17372 accessor for caps. IDEMPOTENCE. Oh yes.
17374 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
17376 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17378 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17379 (_gst_debug_register_funcptr):
17380 Add mutex to serialise access to the hash table with
17381 the function pointer => function name string mapping;
17382 make that hash table static scope (#316809).
17384 * gst/registries/.cvsignore:
17385 Remove left-over file.
17387 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17389 * docs/pwg/appendix-porting.xml:
17390 And something about newsegment events and caps-on-buffers to
17391 the porting guide (feel free to improve).
17393 2005-09-21 Andy Wingo <wingo@pobox.com>
17395 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17396 data and event probes on the same pad.
17397 (test_buffer_probe_once): Test that removing probes from within
17398 the probe functions works.
17400 2005-09-21 Andy Wingo <wingo@pobox.com>
17402 * check/gst/gstutils.c: New file.
17403 (test_buffer_probe_n_times): A simple buffer probe test. More to
17404 come, foolios.
17406 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17407 have-data::buffer, not have-data.
17408 (gst_pad_add_event_probe): Likewise for have-data::event.
17409 (gst_pad_add_data_probe): More docs. The part about 'resolving the
17410 peer' isn't quite right yet though.
17411 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
17412 (gst_pad_remove_data_probe): Change to take the guint handler_id
17413 as their arg, not the function+data, which is more glib-like.
17415 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17416 the signal emission to indicate if the data is a buffer or an
17417 event.
17418 (gst_pad_get_type): Initialize buffer and event quarks.
17419 (gst_pad_class_init): have-data is now a detailed signal, yes it
17420 is.
17422 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17424 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17425 * gst/gstutils.c: (gst_util_set_value_from_string),
17426 (gst_util_set_object_arg):
17427 Don't put functional code in g_return_if_fail() or
17428 g_return_val_if_fail() statements, otherwise things will
17429 break when G_DISABLE_CHECKS is defined during compilation.
17431 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17433 * docs/gst/tmpl/.cvsignore:
17434 * docs/gst/tmpl/gstvalue.sgml:
17435 * gst/gstvalue.c:
17436 * gst/gstvalue.h:
17437 inlied another one and added some obvious docs
17439 2005-09-21 Wim Taymans <wim@fluendo.com>
17441 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17442 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17443 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17444 (gst_fdsrc_get_property), (gst_fdsrc_create):
17445 * gst/elements/gstfdsrc.h:
17446 Properly implement fdsrc. Removed signal and timeout,
17447 better implemented somewhere else.
17449 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17451 * docs/gst/tmpl/.cvsignore:
17452 * docs/gst/tmpl/gstimplementsinterface.sgml:
17453 * gst/gstinterface.c:
17454 inlined more docs
17456 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17458 * docs/gst/gstreamer-sections.txt:
17459 * docs/gst/tmpl/.cvsignore:
17460 * docs/gst/tmpl/gstenumtypes.sgml:
17461 remove obsolete doc file
17463 2005-09-21 David Schleef <ds@schleef.org>
17465 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17466 little beer, fix a little leak.
17468 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17470 * docs/gst/gstreamer-docs.sgml:
17471 * docs/gst/gstreamer-sections.txt:
17472 * docs/gst/tmpl/.cvsignore:
17473 * gst/Makefile.am:
17474 * gst/gst.h:
17475 * gst/gstbin.c:
17476 * gst/gstelement.h:
17477 * gst/gstindex.c: (gst_index_class_init):
17478 * gst/gstindex.h:
17479 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17480 (gst_index_factory_class_init), (gst_index_factory_init),
17481 (gst_index_factory_finalize), (gst_index_factory_new),
17482 (gst_index_factory_destroy), (gst_index_factory_find),
17483 (gst_index_factory_create), (gst_index_factory_make):
17484 * gst/gstindexfactory.h:
17485 * gst/gstpluginfeature.c:
17486 * gst/gstpluginfeature.h:
17487 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17488 more docs inlined, splitted gstindex.{c,h}
17490 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17492 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17493 fix a leak
17495 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17497 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17498 Set sync to FALSE by default.
17500 2005-09-20 Wim Taymans <wim@fluendo.com>
17502 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17503 (gst_base_sink_init):
17504 Make sync property settable from subclass.
17506 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17507 (gst_fake_sink_change_state):
17508 Set sync to FALSE by default.
17510 2005-09-20 Wim Taymans <wim@fluendo.com>
17512 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17513 * tools/gst-launch.c: (main):
17514 The timeout handler should have lower priority than the source
17515 so we don't timeout before popping a message with 0 timeout.
17516 Dump error messages after failed state change.
17518 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17520 * tools/gst-inspect.c: (print_element_properties_info):
17521 Fix two typos.
17523 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17525 * check/gst/gstevent.c:
17526 * gst/elements/gstfakesink.c:
17527 * gst/elements/gstfakesink.h:
17528 remove the sync property from fakesink.
17529 has the side effect of setting sync TRUE
17530 for fakesink, which is a change. Anyone who knows how
17531 to fix this nicely in a GObject-y way, feel free.
17533 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17535 * docs/gst/gstreamer-docs.sgml:
17536 remove probe refsection
17538 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17540 * check/Makefile.am:
17541 disable valgrinding the controller test again
17542 * docs/gst/gstreamer-sections.txt:
17543 update for api-changes
17545 2005-09-20 Wim Taymans <wim@fluendo.com>
17547 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17548 (gst_base_sink_set_property), (gst_base_sink_get_property),
17549 (gst_base_sink_do_sync):
17550 * gst/base/gstbasesink.h:
17551 Added sync property to basesink to disable clock sync.
17553 2005-09-20 Andy Wingo <wingo@pobox.com>
17555 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17556 eating the caller's refcount.
17558 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17559 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17560 refcount.
17562 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17563 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17564 of GLib 2.8 public, so we can know which refcount to check in
17565 tests.
17567 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17568 (gst_object_init): Only set the gst refcount if we're going ahead
17569 with the refcount hack.
17571 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17573 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17574 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17575 more leaks plumbed, added more debug-logging
17576 * gst/gstmacros.h:
17577 whitespace fix
17579 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17581 * gst/gstmessage.c:
17582 remove include of gstmemchunk.h
17584 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17586 * gst/gstclock.c: (_gst_clock_id_free):
17587 Commit from the Political Party For More Atomic CVS Commits,
17588 so that people don't waste too much of their day fishing
17589 out obvious leaks out of massive commits.
17590 Oh, and fix a pretty damn obvious leak in the memchunk
17591 removal code.
17593 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17595 * check/Makefile.am:
17596 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17597 plug mem-leak, re-add to valgrindable tests
17599 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17601 * gst/gstplugin.h:
17602 unbreak the build for those who have chronic arthritis
17603 and typing "make check" is just too taxing on the hands
17605 2005-09-20 Andy Wingo <wingo@pobox.com>
17607 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17608 really want it out, you should fix plugins at the same time.
17610 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17612 * configure.ac:
17613 * docs/gst/gstreamer-sections.txt:
17614 * gst/gstobject.c:
17615 added missing symbols to api docs
17616 disable ref-count hack if we have glib >= 2.8
17618 2005-09-19 David Schleef <ds@schleef.org>
17620 * docs/gst/Makefile.am: Ignore a few more internal headers
17621 * docs/gst/gstreamer-docs.sgml: Remove old sections
17622 * docs/gst/gstreamer-sections.txt: Remove old sections
17623 * docs/gst/tmpl/gstobject.sgml: update
17624 * docs/gst/tmpl/gstplugin.sgml: update
17625 * docs/gst/tmpl/gstpluginfeature.sgml: update
17626 * docs/random/ds/0.9-suggested-changes: update.
17627 * gst/Makefile.am: remove memchunk and trashstack, since they're
17628 not used.
17629 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17630 * gst/gst.h: don't include some headers
17631 * gst/gstchildproxy.c: add gstmarshal.h
17632 * gst/gstclock.c: Don't use memchunks
17633 * gst/gstminiobject.c: Add some docs
17634 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17635 * gst/gstobject.h: same
17636 * gst/gstplugin.c: include gstmacros.h
17637 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17638 * gst/gstquery.c: don't use memchunks
17639 * gst/gstregistry.c: rename gst_registry_deinit()
17640 * gst/gstregistry.h: same
17642 2005-09-19 David Schleef <ds@schleef.org>
17644 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17645 * docs/libs/gstreamer-libs-sections.txt:
17646 * docs/libs/tmpl/gstgetbits.sgml:
17647 * docs/libs/tmpl/gstputbits.sgml:
17649 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17651 * win32/gstenumtypes.c:
17652 * win32/gstenumtypes.h:
17653 Update.
17655 2005-09-19 Wim Taymans <wim@fluendo.com>
17657 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17658 Automatically PAUSE and RESUME a pipeline when a flushing seek
17659 is performed.
17661 2005-09-19 Andy Wingo <wingo@pobox.com>
17663 * gst/gstregistry.h: Spacing fixen.
17665 2005-09-19 Wim Taymans <wim@fluendo.com>
17667 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17668 Handle state change failure more correctly.
17670 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17672 * check/Makefile.am:
17673 * check/pipelines/cleanup.c: (run_pipeline):
17674 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17675 (GST_START_TEST):
17676 enable cleanup again after fixing the leak
17677 * docs/README:
17678 some more info on docs
17680 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17682 * check/Makefile.am:
17683 re-enable tests now that leaks are plugged
17684 * check/gst/gst.c:
17685 * check/gst/gstbin.c:
17686 * check/gst/gstpipeline.c:
17687 add some more tests while fixing leaks
17688 * common/check.mak:
17689 make sure binaries are uptodate when valgrinding/gdbing
17690 * gst/gst.c:
17691 * gst/gstelementfactory.c:
17692 remove a ref too many, and add a FIXME for when we get
17693 round to disposing of classes
17694 * gst/gstplugin.c:
17695 fix the refcounting when loading a plugin from a file and
17696 the code pretends that the pointer is the same even though
17697 of course it can change
17698 * gst/gstpluginfeature.c:
17699 unref plugins marked cached (a bit confusing as a name)
17700 as the docs state should be done
17701 various doc additions to explain refcounting
17702 * gst/gstregistry.c:
17703 * gst/gstregistryxml.c:
17704 debugging
17706 2005-09-19 Wim Taymans <wim@fluendo.com>
17708 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17709 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17710 (send_messages), (GST_START_TEST), (gstbus_suite):
17711 * check/gst/gstpipeline.c: (GST_START_TEST):
17712 * check/pipelines/cleanup.c: (run_pipeline):
17713 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17714 (GST_START_TEST):
17715 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17716 (gst_bus_source_check), (gst_bus_source_dispatch),
17717 (gst_bus_create_watch), (gst_bus_add_watch_full),
17718 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17719 * gst/gstbus.h:
17720 * tools/gst-launch.c: (event_loop):
17721 * tools/gst-md5sum.c: (event_loop):
17722 GstBusHandler -> GstBusFunc, return value has the same meaning as
17723 any other GSource (FALSE == remove source).
17724 _add_watch() and _add_watch_full() now take a MessageType mask to
17725 only handle specific types of messages.
17726 _poll() returns the GstMessage instead of the message type to avoid
17727 race conditions.
17728 _have_pending() takes a MessageType mask now too.
17729 Added testsuite for multiple bus watches.
17730 Fix testsuites and applications for new bus API.
17732 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17734 * check/Makefile.am:
17735 mark a bunch of the tests as to fix until we fix them
17737 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17739 * common/check.mak:
17740 use GST_PLUGIN settings for valgrind tests as well, so we're
17741 valgrinding the correct thing
17742 * gst/gst.c: (init_post):
17743 plug another leak
17745 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17747 * gst/gst.c: (init_post), (gst_deinit):
17748 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17749 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17750 * gst/gstindex.c: (gst_index_factory_class_init),
17751 (gst_index_factory_finalize):
17752 * gst/gstobject.c: (gst_object_dispose):
17753 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17754 (gst_plugin_load_file), (gst_plugin_desc_free):
17755 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17756 (gst_plugin_feature_finalize):
17757 * gst/gstregistry.c: (gst_registry_class_init),
17758 (gst_registry_init), (gst_registry_finalize),
17759 (gst_registry_get_default), (gst_registry_deinit):
17760 * gst/gstregistry.h:
17761 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17762 various cleanups and memleak plugging. make valgrind is happy now.
17764 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17766 * common/check.mak:
17767 add a check-valgrind target
17769 2005-09-18 David Schleef <ds@schleef.org>
17771 * tools/gst-inspect.c: Revert the GOption code.
17773 2005-09-17 David Schleef <ds@schleef.org>
17775 * check/Makefile.am: Fix environment variables.
17776 * check/gst/gstplugin.c: Fix for API changes.
17777 * tools/gst-inspect.c: Fix for API changes.
17778 * tools/gst-xmlinspect.c: Fix for API changes.
17779 * gst/gstelementfactory.c:
17780 * gst/gstplugin.c:
17781 * gst/gstplugin.h:
17782 * gst/gstpluginfeature.c:
17783 * gst/gstpluginfeature.h:
17784 * gst/gstregistry.c:
17785 * gst/gstregistry.h:
17786 * gst/gstregistryxml.c:
17787 * gst/gsttypefind.c:
17788 * gst/gsttypefindfactory.c:
17789 * gst/indexers/gstfileindex.c:
17790 * gst/indexers/gstmemindex.c:
17791 * gst/schedulers/Makefile.am:
17792 Change registry to keep track of both plugins and features,
17793 removing the feature tracking from plugins themselves.
17795 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17797 * check/Makefile.am:
17798 * tools/gst-register.1.in:
17799 remove gst-register
17801 2005-09-15 David Schleef <ds@schleef.org>
17803 * check/gst/gstplugin.c:
17804 * gst/gstelementfactory.c:
17805 * gst/gstplugin.c:
17806 * gst/gstpluginfeature.c:
17807 * gst/gstregistry.c:
17808 Getting tired of debugging. Disabled all the unreffing of
17809 plugins and features, which fixes the segfaults, but of
17810 course leaks like crazy. At least playbin works.
17812 2005-09-15 David Schleef <ds@schleef.org>
17814 * check/gst/gstplugin.c: (register_check_elements),
17815 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17816 More testing
17817 * gst/elements/gsttypefindelement.c: Fix refcounting.
17818 * gst/gsttypefind.c:
17819 * gst/gsttypefindfactory.c:
17820 * gst/gsttypefindfactory.h:
17822 2005-09-15 David Schleef <ds@schleef.org>
17824 * gst/gstindex.c: get refcounting correct.
17825 * gst/gstregistry.c: Handle the case where a feature/plugin is
17826 not found.
17828 2005-09-15 David Schleef <ds@schleef.org>
17830 * check/Makefile.am:
17831 * check/gst/gstplugin.c: Add test
17832 * gst/gstplugin.c: Fix problems noticed by testsuite
17833 * gst/gstplugin.h:
17834 * gst/gstregistry.c:
17835 * gst/gstregistry.h:
17837 2005-09-15 David Schleef <ds@schleef.org>
17839 * gst/gstplugin.c: Implement semi-decent recounting and locking
17840 in plugins and plugin features.
17841 * gst/gstplugin.h:
17842 * gst/gstpluginfeature.c:
17843 * gst/gstpluginfeature.h:
17844 * gst/gstregistry.c:
17846 2005-09-15 Michael Smith <msmith@fluendo.com>
17848 * gst/gstregistry.c: (gst_registry_get_feature_list):
17849 Implement this. Makes oggdemux work; decodebin still broken.
17851 2005-09-14 David Schleef <ds@schleef.org>
17853 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17854 #316076)
17855 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17856 * gst/check/Makefile.am:
17857 * libs/gst/controller/Makefile.am:
17858 * libs/gst/dataprotocol/Makefile.am:
17860 2005-09-14 David Schleef <ds@schleef.org>
17862 * configure.ac: Remove getbits library. Nothing uses it, and
17863 it should be in something like liboil if someone did want
17864 to use it.
17865 * libs/gst/Makefile.am:
17866 * libs/gst/getbits/Makefile.am:
17867 * libs/gst/getbits/gbtest.c:
17868 * libs/gst/getbits/getbits.c:
17869 * libs/gst/getbits/getbits.h:
17870 * libs/gst/getbits/gstgetbits_generic.c:
17871 * libs/gst/getbits/gstgetbits_i386.s:
17872 * libs/gst/getbits/gstgetbits_inl.h:
17874 2005-09-14 David Schleef <ds@schleef.org>
17876 * gst/Makefile.am: Dist glib-compat.h
17878 2005-09-14 David Schleef <ds@schleef.org>
17880 * configure.ac: Remove gst/registries, since it's no longer used.
17881 * gst/registries/Makefile.am:
17882 * gst/registries/gstlibxmlregistry.c:
17883 * gst/registries/gstlibxmlregistry.h:
17884 * gst/registries/gstxmlregistry.c:
17885 * gst/registries/gstxmlregistry.h:
17886 * gst/registries/registrytest.c:
17888 2005-09-14 David Schleef <ds@schleef.org>
17890 * gst/glib-compat.h:
17891 * gst/gstregistryxml.c:
17892 Convergence is near. Seriously.
17894 2005-09-14 David Schleef <ds@schleef.org>
17896 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17897 * gst/glib-compat.h:
17898 Attempt #4 to appease the buildbots.
17900 2005-09-14 David Schleef <ds@schleef.org>
17902 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17903 Attempt #3.
17905 2005-09-14 David Schleef <ds@schleef.org>
17907 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17908 Attempt #2.
17910 2005-09-14 David Schleef <ds@schleef.org>
17912 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17913 the new functions.
17915 2005-09-14 David Schleef <ds@schleef.org>
17917 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17918 * gst/glib-compat.h: Add some functions that are in newer versions
17919 of glib than we care to require.
17920 * gst/gstregistryxml.c: Use them.
17922 2005-09-14 David Schleef <ds@schleef.org>
17924 * po/POTFILES.in: remove gst-register.c
17926 2005-09-14 David Schleef <ds@schleef.org>
17928 * docs/gst/gstreamer-docs.sgml:
17929 * docs/gst/gstreamer-sections.txt:
17930 * docs/gst/gstreamer.types:
17931 * docs/gst/tmpl/gstelement.sgml:
17932 * docs/gst/tmpl/gstplugin.sgml:
17933 * docs/gst/tmpl/gstpluginfeature.sgml:
17934 Documentation updates for registry changes.
17936 2005-09-14 David Schleef <ds@schleef.org>
17938 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17939 because we don't require glib-2.8.
17941 2005-09-14 David Schleef <ds@schleef.org>
17943 * gst/gstregistryxml.c: Added. Essentially moved out of the
17944 registries directory.
17946 2005-09-14 David Schleef <ds@schleef.org>
17948 * check/Makefile.am:
17949 * check/generic/states.c:
17950 * gst/Makefile.am:
17951 * gst/gst.c:
17952 * gst/gst.h:
17953 * gst/gst_private.h:
17954 * gst/gstelementfactory.c:
17955 * gst/gstindex.c:
17956 * gst/gstinfo.c:
17957 * gst/gstplugin.c:
17958 * gst/gstplugin.h:
17959 * gst/gstpluginfeature.c:
17960 * gst/gstpluginfeature.h:
17961 * gst/gstregistry.c:
17962 * gst/gstregistry.h:
17963 * gst/gstregistrypool.c: remove
17964 * gst/gstregistrypool.h: remove
17965 * gst/gsttypefind.c:
17966 * gst/gsttypefindfactory.c:
17967 * gst/gsturi.c:
17968 * tools/Makefile.am:
17969 * tools/gst-compprep.c:
17970 * tools/gst-inspect.c:
17971 * tools/gst-register.c: remove
17972 * tools/gst-xmlinspect.c:
17973 Registry rewrite. Changes registry from being a file created
17974 by a tool into a simple cache file created automatically by
17975 libgstreamer. Removed gst-register (because it's no longer
17976 needed). Remove registry pools, because we only have one
17977 registry implementation (XML). Fix up other subsystems as
17978 necessary.
17980 2005-09-13 Michael Smith <msmith@fluendo.com>
17982 * gst/gstconfig.h.in:
17983 Don't Use windows linking attributes for MinGW. Fixes #316157
17985 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
17987 * gst/gstutils.c: (set_state_async_thread_func),
17988 (gst_element_set_state_async):
17989 Apparently people think it's better if this function doesn't
17990 try to set the state to whatever state was asked for on the first
17991 call to this function for any object. Seriously.
17993 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17995 * check/gst/gstpipeline.c: (GST_START_TEST):
17996 * docs/gst/gstreamer-sections.txt:
17997 * gst/gstutils.c: (set_state_async_thread_func),
17998 (gst_element_set_state_async):
17999 * gst/gstutils.h:
18000 add a "gst_element_set_state_async" method that
18001 sets the state and starts a thread to make sure the state
18002 change completes as best as it can
18004 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18006 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18007 codify design+behaviour in testsuite after discussion
18009 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18011 * docs/gst/tmpl/gstelement.sgml:
18012 * docs/manual/appendix-quotes.xml:
18013 add a quote
18014 * gst/gstelement.c: (gst_element_set_state):
18015 add some debug
18017 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18019 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18020 (gst_base_transform_prepare_output_buf),
18021 (gst_base_transform_handle_buffer):
18022 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18023 (gst_capsfilter_prepare_buf):
18024 Remove the requirement for sub-classes to call the parent
18025 implementation of prepare_output_buffer with a wrapper function.
18027 * gst/gsttaglist.h:
18028 * gst/gsttagsetter.h:
18029 Fix #define wrapper
18031 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18033 * docs/gst/gstreamer-sections.txt:
18034 more doc cleanups
18036 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18038 * docs/gst/gstreamer-sections.txt:
18039 * docs/gst/tmpl/gstelement.sgml:
18040 * docs/gst/tmpl/gstplugin.sgml:
18041 * gst/gstminiobject.c:
18042 * gst/gstvalue.h:
18043 docs now stop throwing warnings
18045 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18047 * docs/gst/gstreamer-sections.txt:
18048 * docs/gst/gstreamer.types:
18049 * docs/gst/tmpl/gstpad.sgml:
18050 * docs/gst/tmpl/gsttypes.sgml:
18051 * gst/base/gstadapter.h:
18052 * gst/base/gstbasesink.h:
18053 * gst/base/gstbasesrc.h:
18054 * gst/gstbin.h:
18055 * gst/gstbuffer.h:
18056 * gst/gstbus.h:
18057 * gst/gstcaps.h:
18058 * gst/gstclock.h:
18059 * gst/gstelement.h:
18060 * gst/gstevent.h:
18061 * gst/gstmessage.h:
18062 * gst/gstpad.h:
18063 * gst/gststructure.c:
18064 * gst/registries/gstlibxmlregistry.h:
18065 various documentation fixes
18067 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18069 * docs/gst/gstreamer-sections.txt:
18070 * docs/gst/tmpl/gstvalue.sgml:
18071 rearrange gstvalue section
18072 * gst/gstutils.c: (gst_element_state_get_name):
18073 NONE -> VOID
18074 * gst/gstvalue.c: (_gst_value_initialize):
18075 * gst/gstvalue.h:
18076 doc updates
18078 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18080 * check/gst-libs/controller.c:
18081 Header include fix.
18082 * gst/base/gstbasetransform.c:
18083 (gst_base_transform_default_prepare_buf),
18084 (gst_base_transform_handle_buffer):
18085 * gst/base/gstbasetransform.h:
18086 Some more basetransform changes and fixes to enable sub-classes
18087 that modify buffer metadata only.
18088 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18089 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18090 (gst_capsfilter_prepare_buf):
18091 If the output pad has fixed allowed caps and input buffers
18092 don't have any, set the fixed caps on outgoing buffers.
18094 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18095 * check/elements/identity.c: (GST_START_TEST):
18096 Make the error a little clearer when the test fails because
18097 identity made a copy of the buffer.
18098 * docs/gst/gstreamer-sections.txt:
18099 New symbols in gstbasetransform.h
18100 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18101 (gst_base_transform_init), (gst_base_transform_transform_size),
18102 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18103 (gst_base_transform_default_prepare_buf),
18104 (gst_base_transform_get_unit_size),
18105 (gst_base_transform_buffer_alloc),
18106 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18107 (gst_base_transform_change_state),
18108 (gst_base_transform_set_passthrough),
18109 (gst_base_transform_set_in_place),
18110 (gst_base_transform_is_in_place):
18111 * gst/base/gstbasetransform.h:
18112 Change BaseTransform to separate in_place operate from same_caps
18113 output. in_place implies that the element can perform the transform
18114 on incoming buffers in-place, even if the caps on the output are
18115 different.
18116 Sub-class elements can now implement special buffer allocation
18117 methods for outgoing buffers if they wish to.
18118 Big documentation addition.
18119 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18120 * gst/elements/gstelements.c:
18121 Changes for basetransform modifications.
18122 * gst/elements/Makefile.am:
18123 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18124 Compile fix. Extra debug output.
18126 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18128 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18129 (gst_pad_suite):
18130 add tests for valid pad naming
18131 * gst/check/gstcheck.c: (gst_check_log_message_func),
18132 (gst_check_log_critical_func):
18133 add ASSERT_WARNING
18134 remove printing of code, it is fragile when the code contains
18135 % and the line number is enough info
18136 * gst/check/gstcheck.h:
18137 * gst/gstpad.c: (gst_pad_template_new):
18138 fix memleaks
18140 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18142 * configure.ac:
18143 say what CHECK flags we use
18144 * docs/libs/gstreamer-libs.types:
18145 * libs/gst/controller/Makefile.am:
18146 * libs/gst/controller/gst-controller.c:
18147 * libs/gst/controller/gst-controller.h:
18148 * libs/gst/controller/gst-helper.c:
18149 * libs/gst/controller/gst-interpolation.c:
18150 * libs/gst/controller/gstcontroller.c:
18151 * libs/gst/controller/gsthelper.c:
18152 * libs/gst/controller/gstinterpolation.c:
18153 * tools/gst-inspect.c: (print_plugin_info):
18154 we don't use dashes in header names
18156 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18158 * check/Makefile.am:
18159 * check/gst/.cvsignore:
18160 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18161 (gst_pipeline_suite), (main):
18162 adding a test for pipelines and state changes
18163 * gst/gstutils.c: (get_state_func):
18164 add some debugging
18165 * gstreamer.spec.in:
18166 fix up spec file
18168 2005-09-08 Michael Smith <msmith@fluendo.com>
18170 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18171 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18172 (gst_file_src_is_seekable), (gst_file_src_get_size),
18173 (gst_file_src_start):
18174 * gst/elements/gstfilesrc.h:
18175 Various fixes for unseekable, unmmapable, and non-normal files, so
18176 that fallback to read() rather than mmap() works.
18177 * gst/gstevent.c: (gst_event_new_newsegment):
18178 Allow newsegment events with segment_start == segment_end, as will
18179 correctly happen if you use filesrc on a zero-size file, for
18180 example.
18182 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18184 * gst/gstplugin.c: (gst_plugin_load_file):
18185 Call g_module_close when we don't load the module
18187 * gst/registries/gstlibxmlregistry.c:
18188 (gst_xml_registry_get_property):
18189 Port leak fix from 0.8
18191 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18193 * docs/gst/gstreamer-docs.sgml:
18194 * docs/gst/tmpl/.cvsignore:
18195 * docs/gst/tmpl/gsttrace.sgml:
18196 * docs/gst/tmpl/gsttrashstack.sgml:
18197 * gst/Makefile.am:
18198 * gst/gst.h:
18199 * gst/gstelement.h:
18200 * gst/gstevent.h:
18201 * gst/gstmessage.c:
18202 * gst/gstmessage.h:
18203 * gst/gsttag.c:
18204 * gst/gsttag.h:
18205 * gst/gsttaginterface.c:
18206 * gst/gsttaginterface.h:
18207 * gst/gsttaglist.c:
18208 * gst/gsttaglist.h:
18209 * gst/gsttagsetter.c:
18210 * gst/gsttagsetter.h:
18211 * gst/gsttrace.c:
18212 * gst/gsttrace.h:
18213 * gst/gsttrashstack.c:
18214 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18215 inlined docs for gsttrace, gsttrashstack
18217 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18219 * gst/Makefile.am:
18220 * gst/elements/gstbufferstore.h:
18221 * gst/elements/gsttypefindelement.c:
18222 * gst/elements/gsttypefindelement.h:
18223 * gst/gst.h:
18224 * gst/gsttypefind.c:
18225 * gst/gsttypefind.h:
18226 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18227 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18228 (gst_type_find_factory_dispose),
18229 (gst_type_find_factory_unload_thyself),
18230 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18231 (gst_type_find_factory_get_caps),
18232 (gst_type_find_factory_get_extensions),
18233 (gst_type_find_factory_call_function):
18234 * gst/gsttypefindfactory.h:
18235 * gst/registries/gstlibxmlregistry.c:
18236 * gst/registries/gstxmlregistry.c:
18237 splitted gsttypefind into gsttypefind, gsttypefindfactory
18239 2005-09-07 Andy Wingo <wingo@pobox.com>
18241 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18242 condition whereby the pad's task function is entered before the
18243 pad_mode variable was set.
18245 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18247 * gst/gstpad.c: (gst_pad_alloc_buffer):
18248 Catch misbehaving pad_alloc functions that don't
18249 set up caps and do it for them.
18251 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18253 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18254 test for pipe!=NULL
18255 * docs/gst/tmpl/.cvsignore:
18256 * docs/gst/tmpl/gstmemchunk.sgml:
18257 * docs/gst/tmpl/gstparse.sgml:
18258 * docs/gst/tmpl/gsttaglist.sgml:
18259 * docs/gst/tmpl/gsttagsetter.sgml:
18260 * docs/gst/tmpl/gsttypefind.sgml:
18261 * docs/gst/tmpl/gsttypefindfactory.sgml:
18262 * gst/gstmemchunk.c:
18263 * gst/gstparse.c:
18264 * gst/gsttag.c:
18265 * gst/gsttaginterface.c:
18266 * gst/gsttypefind.c:
18267 * gst/gsttypefind.h:
18268 inlined more docs
18270 === release 0.9.2 ===
18272 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18274 * NEWS:
18275 * RELEASE:
18276 * configure.ac:
18277 releasing 0.9.2, "South"
18279 2005-09-05 Andy Wingo <wingo@pobox.com>
18281 * gst/registries/gstxmlregistry.h:
18282 * gst/registries/gstxmlregistry.c: Um... resurrect...
18284 * gst/registries/gstxmlregistry.h:
18285 * gst/registries/gstxmlregistry.c: and update to newer API.
18286 Incidentally they should be a bit faster now that they don't have
18287 to parse the caps.
18289 2005-09-05 Andy Wingo <wingo@pobox.com>
18291 * gst/registries/gstxmlregistry.h:
18292 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18293 replaced by the libxml registry a while back
18295 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18297 * docs/gst/tmpl/gstplugin.sgml:
18298 * gst/elements/gstelements.c:
18299 * gst/gst.c:
18300 * gst/gstplugin.c: (gst_plugin_register_func),
18301 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18302 (gst_plugin_get_source):
18303 * gst/gstplugin.h:
18304 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18305 (gst_xml_registry_save_plugin):
18306 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18307 (gst_xml_registry_save_plugin):
18308 * tools/gst-inspect.c: (print_plugin_info):
18309 add a "source" plugin description field, to represent the source
18310 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18311 will set it to PACKAGE, which is automake's idea of the name of
18312 the source project.
18314 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18316 * Makefile.am:
18317 * autogen.sh:
18318 * configure.ac:
18319 * docs/Makefile.am:
18320 * docs/faq/Makefile.am:
18321 * docs/gst/tmpl/gstelement.sgml:
18322 * docs/gst/tmpl/gsttypes.sgml:
18323 * docs/htmlinstall.mak:
18324 * docs/manual/Makefile.am:
18325 * docs/pwg/Makefile.am:
18326 reorganize doc build a little
18327 split out docbook and gtk-doc stuff
18328 have two separate --enable's and enable them through autogen
18329 but disable by default in configure (to be similar to other
18330 projects)
18331 * gstreamer.spec.in:
18332 clean up docs install
18333 * po/af.po:
18334 * po/az.po:
18335 * po/ca.po:
18336 * po/cs.po:
18337 * po/de.po:
18338 * po/en_GB.po:
18339 * po/fr.po:
18340 * po/it.po:
18341 * po/nb.po:
18342 * po/nl.po:
18343 * po/ru.po:
18344 * po/sq.po:
18345 * po/sr.po:
18346 * po/sv.po:
18347 * po/tr.po:
18348 * po/uk.po:
18349 * po/vi.po:
18350 translation updates
18352 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18354 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18355 Add comment.
18357 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18358 (gst_fake_sink_change_state):
18359 Make state change function thread-safe.
18361 * gst/gstpad.c: (gst_pad_alloc_buffer):
18362 Set offset on generic buffer allocated by fallback.
18364 2005-09-03 Stefan Kost <ensonic@users.sf.net>
18366 * docs/gst/gstreamer-sections.txt:
18367 * docs/gst/tmpl/gstelement.sgml:
18368 * gst/gstpad.c:
18369 * libs/gst/controller/gst-controller.c:
18370 (gst_controlled_property_set_interpolation_mode),
18371 (gst_controlled_property_new),
18372 (gst_controller_find_controlled_property):
18373 run the wingo-magic script against the docs
18375 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18377 * docs/gst/gstreamer-docs.sgml:
18378 * docs/gst/gstreamer-sections.txt:
18379 * docs/gst/tmpl/.cvsignore:
18380 * docs/gst/tmpl/gstelementdetails.sgml:
18381 * docs/gst/tmpl/gstelementfactory.sgml:
18382 * gst/gst.c:
18383 * gst/gstbus.c:
18384 * gst/gstelementfactory.c:
18385 * gst/gstelementfactory.h:
18386 merged elementdetails docs into elementfactory docs
18387 inlined both
18389 2005-09-02 Andy Wingo <wingo@pobox.com>
18391 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18392 consider this enum an enum and not a flags.
18394 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18396 * docs/gst/gstreamer-docs.sgml:
18397 * docs/gst/tmpl/.cvsignore:
18398 * docs/gst/tmpl/gstghostpad.sgml:
18399 * docs/gst/tmpl/gstiterator.sgml:
18400 * docs/gst/tmpl/gstmacros.sgml:
18401 * docs/gst/tmpl/gstrealpad.sgml:
18402 * docs/gst/tmpl/gstregistry.sgml:
18403 * docs/gst/tmpl/gstregistrypool.sgml:
18404 * docs/gst/tmpl/gststructure.sgml:
18405 * docs/gst/tmpl/gstsystemclock.sgml:
18406 * docs/gst/tmpl/gsttrace.sgml:
18407 * gst/gstghostpad.c:
18408 * gst/gstmacros.h:
18409 * gst/gstmemchunk.c:
18410 * gst/gstmemchunk.h:
18411 * gst/gstqueue.c:
18412 * gst/gstregistry.c:
18413 * gst/gstregistrypool.c:
18414 * gst/gststructure.c:
18415 * gst/gstsystemclock.c:
18416 more docs inlined
18418 2005-09-02 Andy Wingo <wingo@pobox.com>
18420 * gst/gstelement.h (GstState): Renamed from GstElementState,
18421 changed to be a normal enum instead of flags.
18422 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18423 munged to be GST_STATE_CHANGE_*.
18424 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18425 work with the new state representation.
18426 (GstStateChange): New enumeration of possible state transitions.
18427 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18428 (GstElementClass::change_state): Pass the GstStateChange along as
18429 an argument. Helps language bindings, so they don't have to use
18430 tricky lock-needing macros like GST_STATE_CHANGE ().
18432 * scripts/update-states (file): New script. Run it on a file to
18433 update it for state naming and API changes. Updates files in
18434 place.
18436 * All files updated for the new API.
18438 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
18440 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18441 * gst/gstutils.c: (gst_util_set_value_from_string),
18442 (gst_util_set_object_arg):
18443 fix a bunch of unchecked return values
18444 * tools/gst-complete.c: (main):
18445 * gstreamer.spec.in:
18446 clean up a little
18448 2005-09-01 Wim Taymans <wim@fluendo.com>
18450 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18451 (gst_base_sink_event), (gst_base_sink_do_sync),
18452 (gst_base_sink_handle_event):
18453 * gst/base/gstbasesink.h:
18454 Handle newsegments more correctly.
18456 * gst/gstbus.c:
18457 Fix docs.
18459 * gst/gstevent.c: (gst_event_new_newsegment):
18460 A newsegment cannot have a start_time of -1
18462 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
18464 * win32/gstenumtypes.c:
18465 * win32/gstenumtypes.h:
18466 Update
18468 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18470 * libs/gst/controller/gst-controller.c:
18471 (gst_controlled_property_set_interpolation_mode),
18472 (gst_controlled_property_new):
18473 fixed boolean again
18475 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
18477 * docs/faq/gst-uninstalled:
18478 add -good
18479 * gst/gstevent.c:
18480 * gst/gstevent.h:
18481 remove wrong docs
18482 * gst/gstutils.c: (gst_element_link_filtered):
18483 * gst/gstutils.h:
18484 add gst_element_link_filtered
18486 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18488 * docs/gst/gstreamer-docs.sgml:
18489 * docs/gst/gstreamer-sections.txt:
18490 * docs/gst/tmpl/.cvsignore:
18491 * docs/gst/tmpl/gsterror.sgml:
18492 * docs/gst/tmpl/gstfilter.sgml:
18493 * docs/gst/tmpl/gsturihandler.sgml:
18494 * docs/gst/tmpl/gsturitype.sgml:
18495 * docs/gst/tmpl/gstutils.sgml:
18496 * docs/gst/tmpl/gstxml.sgml:
18497 * gst/gsterror.c:
18498 * gst/gsterror.h:
18499 * gst/gstfilter.c:
18500 * gst/gsturi.c:
18501 * gst/gsturitype.c:
18502 * gst/gstutils.c:
18503 * gst/gstxml.c:
18504 inlined more docs, fixed double id-ref
18506 2005-08-31 Wim Taymans <wim@fluendo.com>
18508 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18509 (gst_base_transform_handle_buffer):
18510 Passthrough elements don't need the caps as they don't care.
18512 2005-08-31 Wim Taymans <wim@fluendo.com>
18514 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18515 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18516 Don't leak refcounts on buffers.
18518 2005-08-31 Wim Taymans <wim@fluendo.com>
18520 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18521 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18522 (gst_base_transform_chain), (gst_base_transform_change_state):
18523 * gst/base/gstbasetransform.h:
18524 Handle the case where we are not negotiated more gracefully.
18526 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18528 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18529 (gst_file_src_map_region):
18530 Set READONLY flag on mmap'ed buffers, otherwise
18531 gst_buffer_make_writable() won't work properly (#314708).
18533 2005-08-31 Wim Taymans <wim@fluendo.com>
18535 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18536 passthrough elements can even do inplace on non writable
18537 buffers (as they don't touch them).
18539 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18541 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18542 (gst_test_mono_source_set_property),
18543 (gst_test_mono_source_class_init), (GST_START_TEST),
18544 (gst_controller_suite):
18545 more tests (hehe I have the most)
18546 * gst/gstbus.c:
18547 describe popping messages whenusing mulltiple sources
18548 * libs/gst/controller/gst-controller.c:
18549 (gst_controlled_property_set_interpolation_mode),
18550 (gst_controlled_property_new):
18551 * libs/gst/controller/gst-controller.h:
18552 * libs/gst/controller/gst-interpolation.c:
18553 implement boolean properties
18555 2005-08-31 Wim Taymans <wim@fluendo.com>
18557 * gst/gstminiobject.c: (gst_mini_object_ref):
18558 Cannot assert that the refcount has to be positive
18559 since a disposed object can be resurrected.
18561 2005-08-31 Wim Taymans <wim@fluendo.com>
18563 * gst/gstpad.c: (gst_pad_init):
18564 Revert change, need to first fix badly behaving
18565 apps.
18567 2005-08-30 Wim Taymans <wim@fluendo.com>
18569 * check/elements/fakesrc.c: (setup_fakesrc):
18570 * check/elements/identity.c: (setup_identity):
18571 Activate pads before using them.
18573 2005-08-30 Wim Taymans <wim@fluendo.com>
18575 * gst/base/gstadapter.c: (gst_adapter_flush):
18576 Flushing out 0 bytes is ok for this function.
18578 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18579 no newsegment gives a warning and sets the start/stop to
18580 invalid.
18582 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18583 (gst_base_transform_set_passthrough):
18584 Some debug info.
18586 * gst/gstminiobject.c: (gst_mini_object_ref):
18587 Check refcount here too.
18589 * gst/gstpad.c: (gst_pad_init):
18590 Pads are initially flushing and refusing data.
18592 * gst/gstutils.c: (gst_element_link_pads_filtered):
18593 When adding a capsfilter element make sure it has the
18594 same state as the parent bin.
18596 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18598 * docs/gst/tmpl/.cvsignore:
18599 * docs/gst/tmpl/gstformat.sgml:
18600 * docs/gst/tmpl/gstversion.sgml:
18601 * gst/gstbus.h:
18602 * gst/gstformat.c:
18603 * gst/gstformat.h:
18604 * gst/gstversion.h.in:
18605 more docs and two more inlined
18607 2005-08-30 Wim Taymans <wim@fluendo.com>
18609 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18610 Don't sync to clock.
18612 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18614 * docs/gst/gstreamer-sections.txt:
18615 ultral33t func10ns deserve to appear in the docs actually
18616 * docs/gst/tmpl/.cvsignore:
18617 * docs/gst/tmpl/gstcompat.sgml:
18618 * docs/gst/tmpl/gstconfig.sgml:
18619 * gst/check/gstcheck.c:
18620 * gst/gstcompat.h:
18621 * gst/gstconfig.h.in:
18622 inlined more docs
18624 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18626 * docs/gst/tmpl/.cvsignore:
18627 * docs/gst/tmpl/gstquery.sgml:
18628 * docs/gst/tmpl/gstutils.sgml:
18629 * gst/gstquery.c:
18630 * gst/gstquery.h:
18631 inlined and extended docs
18633 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18635 * check/gst-libs/controller.c: (GST_START_TEST),
18636 (gst_controller_suite):
18637 more tests
18638 * docs/gst/tmpl/gstutils.sgml:
18639 * docs/libs/gstreamer-libs-sections.txt:
18640 * docs/libs/tmpl/gstdataprotocol.sgml:
18641 include path fixes
18642 * examples/controller/audio-example.c: (main):
18643 controller example works now
18644 * gst/gstclock.h:
18645 doc fixes
18646 * tools/gst-inspect.c: (print_element_properties_info):
18647 show param spec flags
18649 2005-08-29 Andy Wingo <wingo@pobox.com>
18651 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18653 2005-08-28 Andy Wingo <wingo@pobox.com>
18655 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18656 as having two arguments instead of just one. Allows superclasses
18657 to access information on subclasses -- see the terrible for() loop
18658 in gtype.c:g_type_create_instance for the reason why. All callers
18659 changed.
18661 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18663 * docs/design/part-messages.txt:
18664 update info
18665 * docs/gst/tmpl/.cvsignore:
18666 * docs/gst/tmpl/gstcaps.sgml:
18667 * docs/gst/tmpl/gstclock.sgml:
18668 * gst/gstbus.c:
18669 * gst/gstcaps.c:
18670 * gst/gstcaps.h:
18671 * gst/gstclock.c:
18672 * gst/gstclock.h:
18673 * gst/gstmessage.c:
18674 added descriptions for bus and message
18675 inline caps and clock docs
18677 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18679 * gst/gstmessage.c:
18680 * gst/gstmessage.h:
18681 doc fixes
18683 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18685 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18686 fix div-by-zero
18688 2005-08-26 Andy Wingo <wingo@pobox.com>
18690 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18691 element_set_state's return val.
18692 (test_2_elements): Add test that's been disabled for months.
18694 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18695 can-activate-pull properties.
18697 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18698 can-activate-pull properties. Implement is_seekable so fakesrc can
18699 operate in pull mode.
18701 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18702 properties.
18703 (gst_base_sink_activate, gst_base_sink_activate_pull)
18704 (gst_base_sink_activate_push): Make activation mode choosing work.
18705 Cleanups.
18706 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18707 is right. Make pull mode work. Post an eos before pausing in pull
18708 mode.
18709 (gst_base_sink_change_state): Pay attention to the core's
18710 change_state() return val.
18712 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18713 has-getrange properties. Cleanups.
18715 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18716 has_getrange and replace with can_activate_pull and
18717 can_activate_push.
18719 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18720 locking comments. Remove has_loop, has_chain and replace with
18721 can_activate_pull and can_activate_push.
18723 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18725 * configure.ac:
18726 * examples/Makefile.am:
18727 * examples/metadata/Makefile.am:
18728 * examples/metadata/read-metadata.c: (message_loop),
18729 (have_pad_handler), (make_pipeline), (print_tag), (main):
18730 Add metadata reading example that loops over a list of filenames,
18731 dumping any tags found.
18733 * gst/gstbus.c: (gst_bus_dispose):
18734 * gst/gstelement.c: (gst_element_dispose):
18735 Release a few potentially-held references in dispose.
18737 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18739 * docs/gst/tmpl/gstminiobject.sgml:
18740 do *not* add tmpl/*.sgml files to CVS!
18742 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18744 * libs/gst/bytestream/.cvsignore:
18745 * libs/gst/bytestream/Makefile.am:
18746 * libs/gst/bytestream/adapter.c:
18747 * libs/gst/bytestream/adapter.h:
18748 * libs/gst/bytestream/bytestream.c:
18749 * libs/gst/bytestream/bytestream.h:
18750 * libs/gst/bytestream/filepad.c:
18751 * libs/gst/bytestream/filepad.h:
18752 removing obsolete files
18754 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18756 * docs/gst/gstreamer-docs.sgml:
18757 * docs/libs/gstreamer-libs-docs.sgml:
18758 disabed additional index entries again, as this makes docs-gen just
18759 slow and they aren't useful yet
18760 * docs/libs/gstreamer-libs-sections.txt:
18761 little -section.txt cleanup for libs
18763 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18766 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18767 fix up some debugging
18768 (gst_base_transform_get_unit_size),
18769 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18770 (gst_base_transform_handle_buffer):
18771 * gst/base/gstbasetransform.h:
18772 handle and store timed NEWSEGMENT events so that subclasses that
18773 calculate time by counting samples have a segment_start time they
18774 need to add to their timestamps - see audioresample
18776 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18778 * gst/gstbin.h:
18779 removed ';' from the end of macro defs
18780 * docs/gst/gstreamer-docs.sgml:
18781 * docs/gst/gstreamer-sections.txt:
18782 * docs/gst/tmpl/.cvsignore:
18783 * gst/gstbus.h:
18784 * gst/gstelement.c: (gst_element_class_init),
18785 (gst_element_set_state), (activate_pads),
18786 (gst_element_save_thyself):
18787 * gst/gstevent.c: (gst_event_new_newsegment):
18788 * gst/gstevent.h:
18789 * gst/gstiterator.c:
18790 * gst/gstiterator.h:
18791 * gst/gstpad.c:
18792 * gst/gstprobe.h:
18793 * gst/gstutils.c: (gst_pad_query_convert):
18794 * gst/gstutils.h:
18795 fixed parameter name mismatches between source, header and docs
18796 added some more docs, resolved the last batch of unused elements in
18797 docs (now someone needs to doc them)
18799 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18801 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18802 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18803 don't walk through the plugins backwards. Where is all this
18804 reversed logic coming from ?
18806 2005-08-25 Wim Taymans <wim@fluendo.com>
18808 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18809 (gst_base_transform_transform_size),
18810 (gst_base_transform_configure_caps),
18811 (gst_base_transform_get_unit_size),
18812 (gst_base_transform_buffer_alloc),
18813 (gst_base_transform_change_state):
18814 * gst/base/gstbasetransform.h:
18815 Cache caps unit_size.
18816 Make sure we cannot negotiate up and downstream at the
18817 same time.
18819 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18821 * gst/gst.c: (init_pre), (init_post):
18822 register the installed plugin path after the env var
18823 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18824 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18825 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18826 directories, so the tests can prefer uninstalled over installed
18828 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18830 * gst/base/gstbasetransform.h:
18831 comment
18832 * gst/gstpad.c:
18833 add to docs
18835 2005-08-25 Wim Taymans <wim@fluendo.com>
18837 * gst/gstbin.c: (bin_bus_handler):
18838 Be a bit more conservative about the posted message.
18840 * gst/gstbus.c: (gst_bus_post):
18841 Some cleanups, warn wrong return values.
18843 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18845 * check/gst/gstbin.c: (GST_START_TEST):
18846 * gst/gstbin.c: (bin_bus_handler):
18847 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18848 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18849 (gst_message_new_warning), (gst_message_new_tag),
18850 (gst_message_new_state_changed), (gst_message_new_segment_start),
18851 (gst_message_new_segment_done), (gst_message_new_custom):
18852 * gst/gstmessage.h:
18853 * tools/gst-launch.c: (event_loop):
18854 * tools/gst-md5sum.c: (event_loop):
18855 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18857 2005-08-25 Wim Taymans <wim@fluendo.com>
18859 * check/generic/states.c: (GST_START_TEST):
18860 Cleanup can be done at the end.
18862 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18863 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18864 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18865 Oh boy.. Thanks for finding this, Thomas.
18867 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18869 * docs/gst/gstreamer.types:
18870 added missing types
18872 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18874 * docs/gst/gstreamer-docs.sgml:
18875 * docs/gst/gstreamer-sections.txt:
18876 * docs/gst/tmpl/.cvsignore:
18877 * gst/gstbin.c:
18878 * gst/gstiterator.c:
18879 * gst/gstutils.c:
18880 * gst/registries/gstxmlregistry.h:
18881 added missing classes and symbols (123 more to go)
18882 removed removed symbols from section file
18883 fixed many doc-comments
18885 2005-08-24 Wim Taymans <wim@fluendo.com>
18887 * check/generic/states.c: (GST_START_TEST):
18888 Make sure all tasks are stopped.
18890 * check/gst/gstbin.c: (GST_START_TEST):
18891 Unref after usage for proper valgrinding.
18893 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18894 Really wait for the task to stop before destroying the
18895 mutex.
18897 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18898 (gst_queue_src_activate_push):
18899 Small cleanups. Don't stop the task when we did not start
18900 it.
18902 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18903 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18904 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18905 (gst_task_join):
18906 * gst/gsttask.h:
18907 Protect the stream lock with the object lock.
18908 Disallow setting the stream lock when running.
18909 Add cleanup_all to wait for the threadpool to finish.
18910 Remove code to autoallocate a mutex if none was provided.
18911 Add _join() to wait for a task to stop.
18912 Protect the thread pool with a global lock.
18914 2005-08-24 Wim Taymans <wim@fluendo.com>
18916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18917 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18918 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18919 * gst/base/gstbasesink.h:
18920 Handle newsegment events correctly.
18921 Drop buffers out of the segment range.
18923 2005-08-22 Andy Wingo <wingo@pobox.com>
18925 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18926 macro, implements an interface and gstimplementsinterface for a
18927 new type.
18929 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18931 * check/Makefile.am:
18932 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18933 add a test that does a bunch of state changes on elements
18934 needs some fixing for valgrind
18935 * check/states/sinks.c: (gst_object_suite):
18936 whitespace
18937 * gst/gstcaps.h:
18938 add prototype for gst_caps_is_equal_fixed
18939 * gst/gstplugin.c:
18940 * gst/gstregistrypool.c:
18941 doc fixes
18943 2005-08-24 Andy Wingo <wingo@pobox.com>
18945 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18946 convert a negative value. Doesn't make much sense. Mostly this is
18947 here to force callers to ensure -1 maps to -1.
18949 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18951 * docs/pwg/advanced-types.xml:
18952 Well done to Michael for catching my deliberate introduction
18953 of this spelling mistake.
18954 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18955 * gst/gstelement.h:
18956 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18957 unlink pads before removing the element from the bin.
18959 2005-08-24 Andy Wingo <wingo@pobox.com>
18961 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18962 the same thing as GST_DEBUG=*:4.
18963 (parse_debug_level, parse_debug_category): New helper parsers.
18965 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18967 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18968 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18969 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18970 (gst_base_transform_buffer_alloc),
18971 (gst_base_transform_handle_buffer):
18972 use gboolean return values and pointers to size so we can use the
18973 full GST_BUFFER_SIZE range (guint) for buffer sizes
18974 use GstPadDirection for transform_caps
18975 * gst/base/gstbasetransform.h:
18976 rename get_size to get_unit_size since that's what it is
18977 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18978 use GstPadDirection for transform_caps
18979 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18980 * gst/gstutils.h:
18981 cleanup and debugging
18983 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18985 * gst/gstelement.c: (gst_element_class_init),
18986 (gst_element_set_state), (activate_pads),
18987 (gst_element_save_thyself):
18988 * tools/gst-compprep.c: (main):
18989 * tools/gst-inspect.c: (print_element_properties_info):
18990 * tools/gst-xmlinspect.c: (print_element_properties):
18991 Fixed long standing mem-leak
18993 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18995 * check/gst/gstbin.c: (GST_START_TEST):
18996 * gst/gstbin.c: (bin_bus_handler):
18997 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18998 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18999 (gst_message_new_warning), (gst_message_new_tag),
19000 (gst_message_new_state_changed), (gst_message_new_segment_start),
19001 (gst_message_new_segment_done), (gst_message_new_custom):
19002 * gst/gstmessage.h:
19003 * tools/gst-launch.c: (event_loop):
19004 * tools/gst-md5sum.c: (event_loop):
19005 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19006 that applications can sensibly post custom messages with references
19007 to their own objects.
19009 2005-08-24 Andy Wingo <wingo@pobox.com>
19011 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19012 already.
19014 2005-08-24 Wim Taymans <wim@fluendo.com>
19016 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19017 (gst_base_transform_transform_caps),
19018 (gst_base_transform_transform_size),
19019 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19020 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19021 (gst_base_transform_handle_buffer):
19022 * gst/base/gstbasetransform.h:
19023 Many fixes and new features added by Thomas. Can now also do
19024 transforms with variable sizes and a custom fixate_caps function.
19026 2005-08-24 Wim Taymans <wim@fluendo.com>
19028 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19029 Some debugging.
19031 * gst/gstclock.h:
19032 Cast to ClockTime before formatting to time.
19034 * gst/gstutils.h:
19035 Cleanups.
19037 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19039 * check/gst-libs/controller.c: (GST_START_TEST),
19040 (gst_controller_suite):
19041 * docs/gst/tmpl/gstcaps.sgml:
19042 * docs/gst/tmpl/gstghostpad.sgml:
19043 * docs/gst/tmpl/gstquery.sgml:
19044 * docs/gst/tmpl/gstutils.sgml:
19045 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19046 (gst_object_sink_values), (gst_object_get_value_arrays),
19047 (gst_object_get_value_array):
19048 gracefully handle helper method calls to objects that are not beeing
19049 controlled, added test case for that
19051 2005-08-23 Wim Taymans <wim@fluendo.com>
19053 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19054 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19055 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19056 (gst_event_parse_qos), (gst_event_new_seek),
19057 (gst_event_parse_seek):
19058 * gst/gstevent.h:
19059 Some more debugging output and doc cleanups.
19061 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19062 Fix possible deadlock.
19064 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19066 * docs/gst/gstreamer-docs.sgml:
19067 * docs/gst/gstreamer-sections.txt:
19068 * docs/gst/gstreamer.types:
19069 * docs/gst/tmpl/.cvsignore:
19070 * gst/gstbin.h:
19071 * gst/gstbus.c:
19072 * gst/gstelement.c:
19073 * gst/gstevent.h:
19074 added 100 symbols from gstreamer-unused.txt to the right sections
19075 fixed more broken comments
19076 added GstBus to docs
19078 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19080 * docs/gst/gstreamer-sections.txt:
19081 * docs/gst/tmpl/.cvsignore:
19082 * docs/gst/tmpl/gstbin.sgml:
19083 * docs/gst/tmpl/gstbuffer.sgml:
19084 * gst/base/gstbasesrc.c:
19085 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19086 * gst/gstbuffer.c:
19087 * gst/gstbuffer.h:
19088 * tools/gst-launch.1.in:
19089 inlined more doc comments, added missing comments and fixed comments
19090 fixed typos
19092 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19094 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19095 some debugging
19096 * gst/gstcaps.h:
19097 whitespace fixes
19098 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19099 more debugging
19100 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19101 * gst/gststructure.h:
19102 add a fixate function for booleans; add a FIXME that these func
19103 names should probably be gst_structure_fixate_*
19105 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19107 * docs/gst/gstreamer-docs.sgml:
19108 * docs/gst/gstreamer-sections.txt:
19109 * gst/Makefile.am:
19110 * gst/gstbin.c: (gst_bin_get_type),
19111 (gst_bin_child_proxy_get_child_by_index),
19112 (gst_bin_child_proxy_get_children_count),
19113 (gst_bin_child_proxy_init):
19114 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19115 (gst_child_proxy_get_child_by_index),
19116 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19117 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19118 (gst_child_proxy_get), (gst_child_proxy_set_property),
19119 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19120 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19121 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19122 * gst/gstchildproxy.h:
19123 * gst/parse/grammar.y:
19124 * tools/gst-inspect.c: (print_interfaces),
19125 (print_element_properties_info), (print_element_info):
19126 ported gstchildproxy over from 0.8
19127 ported gst-inspect fixes and enhancements over from 0.8
19129 2005-08-22 Wim Taymans <wim@fluendo.com>
19131 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19132 (gst_base_transform_handle_buffer):
19133 Also call the transform function if we have ANY caps.
19135 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19136 Fix debug info.
19138 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19140 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19141 Don't pretend to handle seek events if the source is not seekable
19143 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19145 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19146 Remove extra parameter to debug output
19148 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19149 (gst_base_src_do_seek), (gst_base_src_activate_push):
19150 Fix seek event handling.
19152 * gst/gstpipeline.c: (gst_pipeline_change_state):
19153 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19154 (gst_queue_src_activate_push):
19155 Don't start the src pad task on FLUSH_STOP if the pad
19156 isn't linked.
19157 Debug changes.
19159 2005-08-22 Wim Taymans <wim@fluendo.com>
19161 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19162 Added check for gst_static_caps_get() refcounting.
19164 2005-08-22 Wim Taymans <wim@fluendo.com>
19166 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19167 Make _static_caps_get() refcounting sane.
19169 * gst/gstelement.c: (gst_element_set_state):
19170 Add g_return_val_if_fail() to protect against segfaults.
19172 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19174 * docs/gst/tmpl/gstevent.sgml:
19175 * gst/gstevent.c:
19176 * gst/gstevent.h:
19177 inlined remaining docs, added missing doc comments
19179 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19181 * check/gst/gstbin.c: (GST_START_TEST):
19182 since we don't know when preroll is done, use refcount range
19183 check for the sink
19184 * gst/check/gstcheck.h:
19185 add macro for checking refcount range
19187 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19189 * check/Makefile.am:
19190 clean up environment for when registry gets built versus
19191 when actual tests are run; valgrind seems to not report
19192 leaks if GST_PLUGIN_PATH is set to some specific values
19193 * check/gst/gstbin.c: (GST_START_TEST):
19194 add more refcounting checks; maybe this exposes a
19195 preroll lock bug ?
19196 * common/check.mak:
19197 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19198 * gst/check/gstcheck.h:
19199 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19200 (gst_bin_change_state):
19201 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19202 add/fix debugging/whitespace
19204 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19206 * check/gst/gstevent.c: (event_probe), (test_event),
19207 (GST_START_TEST):
19208 Er, don't call gst_bin_watch_for_state_change you idiot.
19210 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19212 * check/Makefile.am:
19213 Use CHECK_CFLAGS and CHECK_LIBS
19214 * check/gst/gstevent.c: (event_probe), (test_event),
19215 (GST_START_TEST):
19216 Don't leak events.
19217 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19218 (gst_base_src_start), (gst_base_src_stop),
19219 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19220 (gst_base_src_change_state):
19221 Sprinkle gst_base_src_stop liberally around error paths to fix
19222 problems reusing a source after failed state changes.
19223 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19224 (helper_find_suggest), (gst_type_find_helper):
19225 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19226 * gst/gstevent.h:
19227 * docs/gst/tmpl/gstevent.sgml:
19228 Migrate part of the docs from the SGML file. Wait for ensonic to
19229 tell me how I did it wrong ;)
19230 * tools/gst-typefind.c: (main):
19231 Extra robustness to state changes between files.
19233 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19235 * check/Makefile.am:
19236 don't valgrind the controller test - it's leaking - Stefan, HELP
19237 * gst/check/gstcheck.c: (gst_check_message_error),
19238 (gst_check_chain_func), (gst_check_setup_element),
19239 (gst_check_teardown_element), (gst_check_setup_src_pad),
19240 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19241 (gst_check_teardown_sink_pad):
19242 * gst/check/gstcheck.h:
19243 add a bunch of methods to set up elements, and src and sink pads
19244 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19245 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19246 (GST_START_TEST):
19247 use them
19248 * gst/gstmessage.c:
19249 * gst/gsttag.h:
19250 whitespace/doc fixes
19252 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19254 * gst/gstelement.h:
19255 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19256 be handled by the application and not always printed as well
19258 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19260 * check/Makefile.am:
19261 set GST_TOOLS_DIR
19262 * gst/check/gstcheck.c: (gst_check_message_error):
19263 * gst/check/gstcheck.h:
19264 add a fail_unless_equals_int
19265 add fail_unless for error messages
19267 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19269 * check/Makefile.am:
19270 * check/gst.supp:
19271 * common/Makefile.am:
19272 * common/check.mak:
19273 * common/gst.supp:
19274 factor out some of the common stuff so we can use it
19276 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19278 * check/Makefile.am:
19279 * check/gst/gstiterator.c: (GST_START_TEST):
19280 * check/gst/gstsystemclock.c: (GST_START_TEST),
19281 (gst_systemclock_suite):
19282 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19283 * gst/gstclock.c:
19284 valgrind more tests
19286 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19288 * check/elements/.cvsignore:
19289 * check/elements/gstfakesrc.c:
19290 rename to name of element
19291 * check/elements/identity.c: (chain_func), (event_func),
19292 (setup_identity), (cleanup_identity), (GST_START_TEST),
19293 (identity_suite), (main):
19294 add a test for identity
19295 * check/Makefile.am:
19296 * pkgconfig/Makefile.am:
19297 * pkgconfig/gstreamer-check.pc.in:
19298 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19299 * gst/check:
19300 * gst/Makefile.am:
19301 * configure.ac:
19302 move the check stuff to a library that gets installed
19303 * check/gst-libs/controller.c: (GST_START_TEST):
19304 * check/gst-libs/gdp.c:
19305 * check/gst/gst.c: (GST_START_TEST):
19306 * check/gst/gstbin.c:
19307 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19308 * check/gst/gstbus.c:
19309 * check/gst/gstcaps.c: (GST_START_TEST):
19310 * check/gst/gstelement.c:
19311 * check/gst/gstghostpad.c:
19312 * check/gst/gstiterator.c:
19313 * check/gst/gstmessage.c:
19314 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19315 * check/gst/gstobject.c:
19316 * check/gst/gstpad.c: (GST_START_TEST):
19317 * check/gst/gststructure.c: (GST_START_TEST):
19318 * check/gst/gstsystemclock.c: (GST_START_TEST),
19319 (gst_systemclock_suite):
19320 * check/gst/gsttag.c: (gst_tag_suite):
19321 * check/gst/gstvalue.c:
19322 * check/pipelines/cleanup.c:
19323 * check/pipelines/simple_launch_lines.c:
19324 * check/states/sinks.c:
19325 change include statement
19327 * docs/gst/gstreamer-sections.txt:
19328 * docs/gst/tmpl/gstpad.sgml:
19329 document more pad stuff
19330 * gst/gstminiobject.c: (gst_mini_object_ref),
19331 (gst_mini_object_unref):
19332 debug refcounting
19334 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19336 * docs/gst/tmpl/gst.sgml:
19337 * gst/gst.c:
19338 eliminate another tmpl file, fix spelling in the long-description
19340 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19342 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19343 (test_event), (timediff), (gstevents_suite):
19344 Should fix build on 64-bit arch's
19346 2005-08-18 Andy Wingo <wingo@pobox.com>
19348 Make sure that when a pipeline goes to PLAYING, that data has
19349 actually hit the sink.
19351 * check/states/sinks.c (test_sink): A sink that doesn't get any
19352 data shouldn't return SUCCESS for going to either PLAYING or
19353 PAUSED. Test also the return values on the way back down.
19355 * gst/gstelement.c (gst_element_set_state): When changing the
19356 state of an element currently changing state asynchronously, go to
19357 lost-state after commiting the pending state. Makes future calls
19358 to get_state continue to return ASYNC.
19360 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19361 ASYNC when going to PLAYING if we still don't have preroll, as can
19362 happen with live sources.
19364 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19366 * docs/pwg/advanced-types.xml:
19367 Hack long paragraph into 2 chunks as a workaround for buggy
19368 jadetex version in sid and breezy that loops infinitely and
19369 eats all RAM.
19371 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19373 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19374 (test_event), (timediff), (gstevents_suite):
19375 Provide more error margin in clock measurements to allow for
19376 g_get_current_time inaccuracies.
19378 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19380 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19381 (test_event), (timediff), (gstevents_suite):
19382 Fix error message output so I might be able to tell why the
19383 test works here but fails on the build farm.
19385 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19387 * check/Makefile.am:
19388 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19389 (test_event), (timediff), (gstevents_suite), (main):
19390 I wrote a test!
19392 * docs/design/part-seeking.txt:
19393 Spelling correction
19395 * docs/gst/tmpl/gstevent.sgml:
19396 * docs/gst/tmpl/gstfakesrc.sgml:
19397 Docs updates.
19399 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19400 Treat a buffer-without-newsegment the same as a receiving
19401 a newsegment not in time format, and disable syncing to the clock
19402 with a warning.
19404 * gst/gstbus.c: (gst_bus_set_sync_handler):
19405 Assert if anyone tries to replace the existing sync_handler for bus,
19406 as only the owner should be setting it.
19408 * gst/gstevent.h:
19409 Have a fixed set of custom event enums with events identified by
19410 their structure name (as in 0.8), rather than a free-for-all
19411 allowing collisions between enum values from different plugins.
19413 * gst/gstpad.c: (gst_pad_class_init):
19414 Docs change.
19416 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19417 Handle out-of-band downstream events from the sending thread.
19419 2005-08-17 Andy Wingo <wingo@pobox.com>
19421 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19422 play-timeout==0 to mean no timeout at all. In that case, don't
19423 bother with a get_state or a warning, just return directly, even
19424 if it's ASYNC.
19426 * gst/base/gstbasetransform.c: Debug changes.
19428 * gst/gstutils.h:
19429 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19430 ensure bins post state change messages. A bit of a hack but I can't
19431 think of a way to avoid it.
19433 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19435 2005-08-16 Andy Wingo <wingo@pobox.com>
19437 * gst/base/gstadapter.h:
19438 * gst/base/gstadapter.c (gst_adapter_take): New function, like
19439 peek() but you own the data. Not terribly efficient atm.
19441 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19443 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19444 (gst_element_found_tags):
19445 * gst/gstutils.h:
19446 Add two utility functions for tag handling.
19448 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19450 * docs/manual/advanced-dataaccess.xml:
19451 * docs/manual/basics-helloworld.xml:
19452 Fix docs to use _bin_add() before _link(), which fixes the examples
19453 with recent core versions (reported by Madhan Raj M
19454 <raj_madan@rediffmail.com>, #313199).
19456 2005-08-16 Wim Taymans <wim@fluendo.com>
19458 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19459 Added subtract checks.
19461 * docs/design/part-events.txt:
19462 Some more docs about newsegment
19464 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19465 Fix FIXME
19467 * gst/gstcaps.c: (gst_caps_to_string):
19468 Add comments, cleanups.
19470 * gst/gstelement.c: (gst_element_save_thyself):
19471 cleanups
19473 * gst/gstvalue.c: (gst_value_collect_int_range),
19474 (gst_string_unwrap), (gst_value_union_int_int_range),
19475 (gst_value_union_int_range_int_range),
19476 (gst_value_intersect_int_int_range),
19477 (gst_value_intersect_int_range_int_range),
19478 (gst_value_intersect_double_double_range),
19479 (gst_value_intersect_double_range_double_range),
19480 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19481 (gst_value_subtract_int_range_int),
19482 (gst_value_subtract_double_range_double),
19483 (gst_value_subtract_double_range_double_range),
19484 (gst_value_subtract_from_list), (gst_value_subtract_list),
19485 (gst_value_can_compare), (gst_value_compare_fraction):
19486 Cleanups, add comments, remove unneeded asserts.
19488 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19490 * tools/gst-launch.c: (event_loop):
19491 don't convert NULL structures to strings
19493 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19495 * docs/gst/gstreamer-sections.txt:
19496 made some defines private
19497 * docs/gst/tmpl/gstconfig.sgml:
19498 * docs/gst/tmpl/gstqueue.sgml:
19499 * docs/gst/tmpl/gsttaglist.sgml:
19500 * docs/gst/tmpl/gsttypes.sgml:
19501 * docs/gst/tmpl/gstutils.sgml:
19502 * docs/pwg/appendix-porting.xml:
19503 * gst/base/gstbasesink.h:
19504 * gst/base/gstbasesrc.c:
19505 * gst/base/gstbasesrc.h:
19506 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19507 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19508 * gst/gstelement.c: (gst_element_class_init):
19509 * gst/gstpad.c: (gst_pad_class_init):
19510 * gst/gstqueue.c: (gst_queue_class_init):
19511 * gst/gstxml.c: (gst_xml_class_init):
19512 documented all undocumented signal inline
19513 * libs/gst/controller/gst-controller.h:
19514 added padding
19516 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19518 * docs/pwg/appendix-porting.xml:
19519 Document _set_link_function -> _set_setcaps_function.
19521 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19523 * check/Makefile.am:
19524 add a .check target for running the check
19525 * check/gst-libs/controller.c: (GST_START_TEST):
19526 cosmetic fixups
19527 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19528 complete checks for gstbuffer; would be nice if I could get the
19529 gcov stuff to work so I can see if I actually completed gstbuffer.c
19530 * check/gstcheck.h:
19531 add ASSERT_BUFFER_REFCOUNT
19533 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19535 * docs/gst/gstreamer-sections.txt:
19536 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19537 * gst/gsttag.h:
19538 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19539 spew out a warning if a tag that is already registered
19540 is re-registered, unless it is re-registered with a
19541 different type (#308438).
19543 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19545 * docs/pwg/appendix-porting.xml:
19546 * docs/pwg/building-state.xml:
19547 Add some paragraphs about state changes in 0.9 to the PWG
19548 and the porting guide, in particular about the new meaning
19549 of GST_STATE_PAUSED and how to write state change functions
19550 with concurrent access by multiple threads in mind.
19552 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19554 * docs/gst/gstreamer-docs.sgml:
19555 * docs/libs/gstreamer-libs-docs.sgml:
19556 added deprecation and since indexes
19557 * libs/gst/controller/gst-controller.c:
19558 * libs/gst/controller/gst-helper.c:
19559 added since tags
19562 2005-08-11 Wim Taymans <wim@fluendo.com>
19564 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19565 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19566 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19567 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19568 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19569 (gst_ghost_pad_set_target):
19570 Actually implement (re)setting the target on a ghostpad
19571 as described in the docs.
19573 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19575 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19576 Check whether GST_DEBUG_NO_COLOR environment variable is
19577 set and disable coloured debug output if that is the case.
19579 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19581 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19582 (gst_type_find_helper):
19583 The memory returned by gst_type_find_peek() needs to
19584 stay valid until the end of a typefind function, and
19585 typefind functions may keep results from different
19586 offsets around, so we can't just unref the buffer from
19587 the previous _peek(), but have to save all buffers
19588 returned by _peek() until typefinding is done and only
19589 free them then.
19591 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19593 * docs/gst/gstreamer-sections.txt:
19594 * gst/gstutils.h:
19595 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19597 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19599 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19600 Fix a pretty good memleak.
19602 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19604 * gst/gstiterator.h:
19605 Fix wrong include and 'make distcheck'.
19607 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19609 * gst/gstbin.c: (bin_bus_handler):
19610 Use gst_element_post_message() instead.
19612 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19614 * gst/base/gstadapter.h:
19615 * gst/base/gstbasesink.h:
19616 * gst/base/gstbasesrc.h:
19617 * gst/base/gstbasetransform.h:
19618 * gst/base/gstcollectpads.h:
19619 * gst/base/gstpushsrc.h:
19620 * gst/gstiterator.h:
19621 Add padding to our base elements' class and instance structs and
19622 to GstIterator (you will need to rebuild all plugins and apps!)
19624 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19626 * gst/gstbin.c: (bin_bus_handler):
19627 Make default message forwarding from child->bus to bin->bus
19628 threadsafe and make it not emit warnings if the parent has no bus.
19630 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19632 * gst/gstelement.c: (activate_pads):
19633 On paused->ready, set pad->caps to NULL, as is the documented
19634 behaviour in this state change. Fixes playback of series of
19635 media files when visualization is enabled in Totem.
19637 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19639 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19640 Allow NULL as filter-caps (which means "any").
19642 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19644 * docs/libs/gstreamer-libs-sections.txt:
19645 * libs/gst/controller/gst-controller.c:
19646 * libs/gst/controller/gst-controller.h:
19647 * libs/gst/controller/gst-helper.c:
19648 adding more entries to the docs and fix small doc-bugs
19650 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19652 * docs/gst/gstreamer-docs.sgml:
19653 * docs/gst/gstreamer-sections.txt:
19654 * docs/gst/gstreamer.types:
19655 * docs/gst/tmpl/gstbasesink.sgml:
19656 * docs/gst/tmpl/gstbasesrc.sgml:
19657 * docs/gst/tmpl/gstbasetransform.sgml:
19658 * docs/gst/tmpl/gstfakesrc.sgml:
19659 * gst/base/gstcollectpads.c:
19660 * gst/base/gstcollectpads.h:
19661 * libs/gst/controller/gst-controller.c:
19662 * libs/gst/controller/gst-controller.h:
19663 * libs/gst/controller/gst-helper.c:
19664 * libs/gst/controller/gst-interpolation.c:
19665 * libs/gst/controller/lib.c:
19666 added long/short desc for controller docs
19667 added collectpads base class docs
19668 added correct includes to base-class docs
19670 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19672 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19673 (gst_test_mono_source_set_property),
19674 (gst_test_mono_source_class_init), (GST_START_TEST),
19675 (gst_controller_suite):
19676 * docs/gst/gstreamer-docs.sgml:
19677 * docs/gst/gstreamer-sections.txt:
19678 * docs/gst/gstreamer.types:
19679 * docs/libs/gstreamer-libs-docs.sgml:
19680 * docs/libs/gstreamer-libs-sections.txt:
19681 * gst/base/gstadapter.c:
19682 * libs/gst/controller/gst-controller.c:
19683 (gst_controlled_property_new), (gst_controlled_property_free),
19684 (gst_controller_new_valist),
19685 (gst_controller_remove_properties_valist),
19686 (gst_controller_sink_values), (_gst_controller_finalize):
19687 * libs/gst/controller/gst-controller.h:
19688 * libs/gst/controller/gst-helper.c:
19689 (gst_object_control_properties), (gst_object_uncontrol_properties),
19690 (gst_object_get_controller), (gst_object_set_controller),
19691 (gst_object_sink_values), (gst_object_get_value_arrays),
19692 (gst_object_get_value_array):
19693 more tests (and fixes) for the controller
19694 more docs for the controller
19695 integrated companies docs for the adapter
19697 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19699 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19700 (GST_START_TEST), (fakesrc_suite):
19701 add tests for sizetype
19703 2005-08-04 Andy Wingo <wingo@pobox.com>
19705 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19706 fixes buffer_alloc proxying among other things.
19708 * gst/base/gstbasetransform.c:
19709 * gst/base/gstbasetransform.h:
19710 Revert patch to gstbasetransform from 7-28 removing
19711 delay_configure.
19713 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19714 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19715 Semantics changed, should return not the size of the output buffer
19716 but the byte size of a buffer with a given caps.
19718 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19719 debug object.
19720 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19721 out) are not the pad caps until setcaps finishes.
19722 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19723 not-in-place case as well. Deal with changing from in-place to
19724 not-in-place within calling pad_alloc_buffer. Still a bit
19725 concerned about the overhead here...
19727 2005-08-03 Andy Wingo <wingo@pobox.com>
19729 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19730 fixating is an error.
19732 2005-08-04 Edward Hervey <edward@fluendo.com>
19734 * gst/base/gstadapter.h:
19735 Added gst_adapter_get_type() to the header
19737 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19739 * check/Makefile.am:
19740 * check/gst-libs/controller.c:
19741 * libs/gst/controller/gst-controller.c:
19742 (gst_controller_new_valist):
19743 added check test suite for the controller
19744 * gst/base/gstpushsrc.c:
19745 fixed a doc typo
19747 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19749 * docs/gst/Makefile.am:
19750 * docs/gst/gstreamer-docs.sgml:
19751 * docs/gst/gstreamer-sections.txt:
19752 * docs/gst/gstreamer.types:
19753 * docs/gst/tmpl/gstfakesrc.sgml:
19754 * gst/base/README:
19755 * gst/base/gstbasesink.c:
19756 * gst/base/gstbasesink.h:
19757 * gst/base/gstbasesrc.c:
19758 * gst/base/gstbasesrc.h:
19759 * gst/base/gstbasetransform.c:
19760 * gst/base/gstpushsrc.c:
19761 * gst/base/gstpushsrc.h:
19762 add short/long description docs to base classes
19763 add pushsrc to the docs
19764 remove consolidated doc fragments
19766 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19768 * configure.ac:
19769 * docs/libs/Makefile.am:
19770 * docs/libs/gstreamer-libs-docs.sgml:
19771 * docs/libs/gstreamer-libs-sections.txt:
19772 * docs/libs/gstreamer-libs.types:
19773 * examples/Makefile.am:
19774 * examples/controller/.cvsignore:
19775 * examples/controller/Makefile.am:
19776 * examples/controller/audio-example.c: (main):
19777 * libs/gst/Makefile.am:
19778 * libs/gst/controller/.cvsignore:
19779 * libs/gst/controller/Makefile.am:
19780 * libs/gst/controller/gst-controller.c:
19781 (on_object_controlled_property_changed), (gst_timed_value_compare),
19782 (gst_timed_value_find),
19783 (gst_controlled_property_set_interpolation_mode),
19784 (gst_controlled_property_new), (gst_controlled_property_free),
19785 (gst_controller_find_controlled_property),
19786 (gst_controller_new_valist), (gst_controller_new),
19787 (gst_controller_remove_properties_valist),
19788 (gst_controller_remove_properties), (gst_controller_set),
19789 (gst_controller_set_from_list), (gst_controller_unset),
19790 (gst_controller_get), (gst_controller_get_all),
19791 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19792 (gst_controller_get_value_array),
19793 (gst_controller_set_interpolation_mode),
19794 (_gst_controller_finalize), (_gst_controller_init),
19795 (_gst_controller_class_init), (gst_controller_get_type):
19796 * libs/gst/controller/gst-controller.h:
19797 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19798 (g_object_uncontrol_properties), (g_object_get_controller),
19799 (g_object_set_controller), (g_object_sink_values),
19800 (g_object_get_value_arrays), (g_object_get_value_array):
19801 * libs/gst/controller/gst-interpolation.c:
19802 (gst_controlled_property_find_timed_value_node),
19803 (interpolate_none_get), (interpolate_trigger_get),
19804 (interpolate_trigger_get_value_array):
19805 * libs/gst/controller/lib.c: (gst_controller_init):
19806 * pkgconfig/Makefile.am:
19807 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19808 * pkgconfig/gstreamer-control.pc.in:
19809 * testsuite/Makefile.am:
19810 * testsuite/controller/.cvsignore:
19811 * testsuite/controller/Makefile.am:
19812 * testsuite/controller/interpolator.c: (main):
19813 added controller code
19814 removed dparam pc files
19816 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19817 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19818 (gst_collectpads_stop):
19819 Broadcast the condition when shutting down, to make sure we wake all
19820 threads up. Shut down pads on finalize, for safety.
19822 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19823 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19824 (gst_base_transform_handle_buffer),
19825 (gst_base_transform_change_state):
19826 Handle PAUSED->READY->PAUSED transition after negotiation
19827 occurred already.
19828 * gst/gstmessage.c: (gst_message_init):
19829 Extra piece of debug for new messages.
19831 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19833 * configure.ac:
19834 * docs/gst/tmpl/gstbasesrc.sgml:
19835 * docs/gst/tmpl/gstelement.sgml:
19836 * docs/gst/tmpl/gstevent.sgml:
19837 * docs/gst/tmpl/gstfakesrc.sgml:
19838 * docs/gst/tmpl/gstformat.sgml:
19839 * docs/gst/tmpl/gstghostpad.sgml:
19840 * docs/gst/tmpl/gstpad.sgml:
19841 * docs/gst/tmpl/gstquery.sgml:
19842 * docs/gst/tmpl/gststructure.sgml:
19843 * docs/gst/tmpl/gsttaglist.sgml:
19844 * docs/gst/tmpl/gstvalue.sgml:
19845 * docs/libs/gstreamer-libs-docs.sgml:
19846 * docs/libs/gstreamer-libs-sections.txt:
19847 * docs/libs/gstreamer-libs.types:
19848 * libs/gst/Makefile.am:
19849 * libs/gst/control/.cvsignore:
19850 * libs/gst/control/Makefile.am:
19851 * libs/gst/control/control.c:
19852 * libs/gst/control/control.h:
19853 * libs/gst/control/dparam.c:
19854 * libs/gst/control/dparam.h:
19855 * libs/gst/control/dparam_smooth.c:
19856 * libs/gst/control/dparam_smooth.h:
19857 * libs/gst/control/dparamcommon.h:
19858 * libs/gst/control/dparammanager.c:
19859 * libs/gst/control/dparammanager.h:
19860 * libs/gst/control/dplinearinterp.c:
19861 * libs/gst/control/dplinearinterp.h:
19862 * libs/gst/control/unitconvert.c:
19863 * libs/gst/control/unitconvert.h:
19864 * testsuite/Makefile.am:
19865 * testsuite/dynparams/.cvsignore:
19866 * testsuite/dynparams/Makefile.am:
19867 * testsuite/dynparams/dparamstest.c:
19868 * tools/Makefile.am:
19869 * tools/gst-inspect.c: (print_element_info), (main):
19870 * tools/gst-xmlinspect.c: (print_element_info), (main):
19871 deactivate and remove dparams (libgstcontrol)
19873 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19875 * gst/elements/gsttypefindelement.c:
19876 (gst_type_find_element_have_type), (gst_type_find_element_init),
19877 (stop_typefinding), (gst_type_find_element_handle_event),
19878 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19879 * gst/elements/gsttypefindelement.h:
19880 Set caps on all outgoing buffers, not just the first one.
19882 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19884 * gst/elements/gsttypefindelement.c:
19885 (gst_type_find_element_have_type),
19886 (gst_type_find_element_check_set_buffer_caps),
19887 (gst_type_find_element_init), (stop_typefinding),
19888 (gst_type_find_element_handle_event),
19889 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19890 * gst/elements/gsttypefindelement.h:
19891 Set caps on first outgoing buffer when we've found the type.
19893 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19895 * docs/gst/gstreamer-docs.sgml:
19896 * docs/gst/gstreamer-sections.txt:
19897 * docs/gst/tmpl/gstscheduler.sgml:
19898 * docs/gst/tmpl/gstschedulerfactory.sgml:
19899 Remove some old cruft from docs.
19901 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19903 * gst/gstpad.h:
19904 Fix inline docs for GstPadLinkReturn.
19906 * gst/gststructure.c: (gst_structure_has_name):
19907 * gst/gststructure.h:
19908 * docs/gst/gstreamer-sections.txt:
19909 New API: gst_structure_has_name().
19911 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19913 * configure.ac:
19914 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19915 and _LARGEFILE_SOURCE in config.h as required. Do not
19916 export those flags in our .pc files any longer (#142209).
19918 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19920 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19921 (gst_file_sink_do_seek), (gst_file_sink_event),
19922 (gst_file_sink_get_current_offset), (gst_file_sink_render):
19923 Redo seek/tell calls with large file support in mind; add some
19924 debugging messages; add log message that tells us when large
19925 file support is unavailable or not enabled for some reason.
19927 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19928 Add log message that tells us when large file support
19929 is unavailable or not enabled for some reason.
19931 2005-07-29 Wim Taymans <wim@fluendo.com>
19933 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19934 Added test for removing an element with ghostpad from a bin.
19935 Fixed test as current implementation does the right thing.
19937 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19938 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19939 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19940 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19941 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19942 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19943 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19944 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19945 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19946 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19947 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19948 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19949 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19950 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19951 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19952 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19953 * gst/gstghostpad.h:
19954 Clean up ghostpads, remove properties for internal stuff.
19955 Make threadsafe.
19956 Fix refcounting.
19957 Prepare for switching targets, not all use cases work yet.
19959 2005-07-29 Wim Taymans <wim@fluendo.com>
19961 * docs/design/part-gstghostpad.txt:
19962 Small update.
19964 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19965 (gst_bin_remove_func):
19966 Unlinking pads while holding the bin LOCK is not a good
19967 idea.
19969 * gst/gstpad.c: (gst_pad_class_init),
19970 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19971 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19972 No prob setting template after creating the pad.
19974 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
19976 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19977 (gst_bus_peek), (gst_bus_source_dispatch),
19978 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19979 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19980 gst_bus_poll may be called from other threads. Handle
19981 this nicely by not making poll_data disappear off the
19982 stack once gst_bus_poll returns.
19983 gst_bus_peek now increments the refcount on the returned
19984 message.
19986 2005-07-29 Wim Taymans <wim@fluendo.com>
19988 * docs/design/part-gstghostpad.txt:
19989 Overview of current GhostPad datastructures and use
19990 cases for changing the target.
19992 2005-07-28 Wim Taymans <wim@fluendo.com>
19994 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19995 Added checks for hierarchy consistency whan adding linked
19996 elements to bins.
19998 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19999 Added check to test element scheduling without bin/pipeline.
20001 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20002 First add elements to bin, then link.
20004 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20005 (gst_bin_remove_func):
20006 Unlink pads from elements added/removed from bin to maintain
20007 hierarchy consistency.
20009 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20011 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20012 (gst_base_transform_handle_buffer):
20013 * gst/base/gstbasetransform.h:
20014 Remove broken delay_configure (fixes renegotiation of software
20015 scaling pipelines); remove some leftover printf()s.
20017 2005-07-28 Wim Taymans <wim@fluendo.com>
20019 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20020 Added some more tests for wrong hierarchy
20022 * docs/design/part-overview.txt:
20023 Some updates.
20025 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20026 Cleanups.
20028 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20029 (gst_element_dispose):
20030 Some more cleanups.
20032 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20033 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20034 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20035 (gst_pad_set_caps), (gst_pad_send_event):
20036 Check for correct hierarchy when linking pads. Moving to
20037 strict requirement for ghostpads when linking elements in
20038 different bins.
20040 * gst/gstpad.h:
20041 Clean ups. Added WRONG_HIERARCHY return value.
20043 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20045 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20046 Better debug if no transform is possible.
20048 2005-07-27 Wim Taymans <wim@fluendo.com>
20050 * docs/random/wtay/network-transp:
20051 Some old doc I had.
20053 2005-07-27 Wim Taymans <wim@fluendo.com>
20055 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20056 (gst_dp_event_from_packet):
20057 Fix serialization of seek events.
20059 2005-07-27 Wim Taymans <wim@fluendo.com>
20061 * check/gst-libs/gdp.c: (GST_START_TEST):
20062 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20063 Fix compilation and fix event serialization.
20065 2005-07-27 Wim Taymans <wim@fluendo.com>
20067 * CHANGES-0.9:
20068 * docs/design/part-TODO.txt:
20069 * docs/design/part-events.txt:
20070 Some docs updates
20072 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20073 (gst_base_sink_event), (gst_base_sink_do_sync),
20074 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20075 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20076 (gst_base_src_do_seek), (gst_base_src_event_handler),
20077 (gst_base_src_loop):
20078 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20079 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20080 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20081 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20082 (gst_base_transform_set_passthrough),
20083 (gst_base_transform_is_passthrough):
20084 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20085 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20086 Event updates.
20088 * gst/gstbuffer.h:
20089 Use faster casts.
20091 * gst/gstelement.c: (gst_element_seek):
20092 * gst/gstelement.h:
20093 Update gst_element_seek.
20095 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20096 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20097 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20098 (gst_event_new_eos), (gst_event_new_newsegment),
20099 (gst_event_parse_newsegment), (gst_event_new_tag),
20100 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20101 (gst_event_parse_qos), (gst_event_new_seek),
20102 (gst_event_parse_seek), (gst_event_new_navigation):
20103 * gst/gstevent.h:
20104 Make GstEvent use GstStructure. Add parsing code, make sure the
20105 API is sufficiently generic.
20106 Mark possible directions of events and serialization.
20108 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20109 (_gst_message_copy), (gst_message_new_segment_start),
20110 (gst_message_new_segment_done), (gst_message_new_custom),
20111 (gst_message_parse_segment_start),
20112 (gst_message_parse_segment_done):
20113 Small cleanups.
20115 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20116 (gst_pad_set_caps), (gst_pad_send_event):
20117 Update for new events.
20118 Catch events sent in wrong directions.
20120 * gst/gstqueue.c: (gst_queue_link_src),
20121 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20122 (gst_queue_handle_src_query):
20123 Event updates.
20125 * gst/gsttag.c:
20126 * gst/gsttag.h:
20127 Remove event code from this file.
20129 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20130 (gst_dp_event_from_packet):
20131 Event updates.
20133 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20135 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20136 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20137 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20138 Make debugging actually useful.
20140 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20142 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20143 (gst_pad_fixate_caps):
20144 Implement default fixation once again, so that gst_pad_fixate()
20145 actually does anything at all. This probably needs to be some
20146 sort of a last resort, and use profile-based fixation first, but
20147 since that doesn't exist yet, this is the best we have. Fixes
20148 visualization in Totem.
20150 2005-07-22 Wim Taymans <wim@fluendo.com>
20152 * docs/design/part-events.txt:
20153 Small update.
20155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20156 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20157 (gst_base_sink_activate_pull):
20158 Some more comments.
20160 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20161 (gst_fake_src_create):
20162 Fix handoff marshall.
20164 * gst/elements/gstidentity.c: (gst_identity_class_init),
20165 (gst_identity_transform_ip):
20166 We're a real inplace element.
20168 * gst/gstbus.c: (gst_bus_post):
20169 Added some comments.
20171 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20172 * tests/muxing/case1.c: (main):
20173 * tests/sched/dynamic-pipeline.c: (main):
20174 * tests/sched/interrupt1.c: (main):
20175 * tests/sched/interrupt2.c: (main):
20176 * tests/sched/interrupt3.c: (main):
20177 * tests/sched/runxml.c: (main):
20178 * tests/sched/sched-stress.c: (main):
20179 * tests/seeking/seeking1.c: (event_received), (main):
20180 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20181 (main):
20182 * tests/threadstate/threadstate3.c: (main):
20183 * tests/threadstate/threadstate4.c: (main):
20184 * tests/threadstate/threadstate5.c: (main):
20185 Fix the tests.
20187 2005-07-21 Wim Taymans <wim@fluendo.com>
20189 * docs/design/part-seeking.txt:
20190 Some small additions.
20192 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20193 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20194 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20195 * gst/base/gstbasesink.h:
20196 discont values are gint64, handle the math correctly.
20198 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20199 Make the basesrc report error if the source pad is not linked.
20201 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20202 (gst_queue_loop), (gst_queue_handle_src_query),
20203 (gst_queue_src_activate_push):
20204 Make queue collect data even if the srcpad is not linked.
20205 Start pushing out data as soon as it is linked.
20207 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20208 * gst/gstutils.h:
20209 Added gst_flow_get_name() to ease error reporting.
20211 2005-07-20 Wim Taymans <wim@fluendo.com>
20213 * gst/gstmessage.c: (gst_message_new_segment_start),
20214 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20215 (gst_message_parse_segment_done):
20216 * gst/gstmessage.h:
20217 Added a bunch of messages for advanced seeking.
20219 * gst/parse/grammar.y:
20220 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20221 (gst_dpman_state_changed):
20222 Fix some new-pad -> pad-added signals
20224 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20226 * docs/manual/appendix-porting.xml:
20227 * docs/pwg/appendix-porting.xml:
20228 Document new-pad/state-change signal renames and the FixedList
20229 type rename.
20231 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20233 * docs/manual/advanced-autoplugging.xml:
20234 * docs/manual/basics-helloworld.xml:
20235 * docs/manual/basics-pads.xml:
20236 * docs/random/ds/0.9-suggested-changes:
20237 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20238 * gst/gstelement.h:
20239 * gst/gstevent.h:
20240 * gst/gstformat.h:
20241 * gst/gstquery.h:
20242 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20243 (gst_structure_parse_array), (gst_structure_parse_value):
20244 * gst/gstvalue.c: (gst_type_is_fixed),
20245 (gst_value_list_prepend_value), (gst_value_list_append_value),
20246 (gst_value_list_get_size), (gst_value_list_get_value),
20247 (gst_value_transform_array_string), (gst_value_serialize_array),
20248 (gst_value_deserialize_array), (gst_value_intersect_array),
20249 (gst_value_is_fixed), (_gst_value_initialize):
20250 * gst/gstvalue.h:
20251 GstElement::new-pad -> pad-added, GstElement::state-change ->
20252 state-changed, GstValueFixedList -> GstValueArray, add format and
20253 flags as their own arguments in gst_element_seek() (should improve
20254 "bindeability"), remove function generators since they don't work
20255 under a whole bunch of compilers (they were deprecated already
20256 anyway).
20258 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20260 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20261 (_gst_debug_register_funcptr):
20262 * gst/gstinfo.h:
20263 Fix illegal cast on some platforms (#309253).
20265 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20267 * gst/gstmessage.c: (gst_message_new_custom):
20268 * gst/gstmessage.h:
20269 Add _new_custom, make _new_application a macro to _new_custom.
20271 2005-07-20 Wim Taymans <wim@fluendo.com>
20273 * gst/base/gstbasesrc.c: (gst_base_src_init),
20274 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20275 * gst/base/gstbasesrc.h:
20276 Add a gboolean to decide when to push out a discont.
20278 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20279 (gst_queue_loop), (gst_queue_handle_src_query),
20280 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20281 (gst_queue_set_property), (gst_queue_get_property):
20282 Some cleanups.
20284 * tests/threadstate/threadstate1.c: (main):
20285 Make a thread test compile and run... very silly..
20288 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20290 * docs/manual/appendix-porting.xml:
20291 Mention removal of libgstgconf-0.9.la and existence of gconf
20292 elements.
20294 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20296 * docs/pwg/advanced-clock.xml:
20297 * docs/pwg/appendix-porting.xml:
20298 * docs/pwg/intro-preface.xml:
20299 * docs/pwg/other-base.xml:
20300 * docs/pwg/other-manager.xml:
20301 * docs/pwg/other-nton.xml:
20302 * docs/pwg/other-ntoone.xml:
20303 * docs/pwg/other-oneton.xml:
20304 * docs/pwg/pwg.xml:
20305 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20306 demuxer), remove n-to-n (was never written), fix some code examples
20307 and links and update the porting section to include all this.
20309 2005-07-19 Wim Taymans <wim@fluendo.com>
20311 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20312 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20313 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20314 (gst_queue_src_activate_push), (gst_queue_change_state),
20315 (gst_queue_get_property):
20316 * gst/gstqueue.h:
20317 Propagate GstFlowReturn more intelligently upstream and output
20318 an ERROR/EOS when streaming stopped due to fatal error.
20320 2005-07-19 Wim Taymans <wim@fluendo.com>
20322 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20323 Don't block forever for the state change to complete, the
20324 pipeline already did with a sensible timeout.
20326 2005-07-19 Wim Taymans <wim@fluendo.com>
20328 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20329 Make sure we never call the create function is we
20330 got deactivated.
20332 2005-07-19 Andy Wingo <wingo@pobox.com>
20334 * gst/parse/parse.l: Attempt to solve bug #172815.
20336 2005-07-19 Wim Taymans <wim@fluendo.com>
20338 * docs/design/part-clocks.txt:
20339 * docs/design/part-events.txt:
20340 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20341 Small docs updates.
20342 Only update the seeking values when we are not
20343 busy streaming.
20345 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20347 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20348 Oops, ignore the result of gst_pad_push_event here.
20350 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20352 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20353 (gst_base_src_activate_push):
20354 Send discont event from the loop function, as pads
20355 aren't activated yet in the activate_push handler.
20357 * gst/gstbin.c: (bin_bus_handler):
20358 Don't leak element name.
20360 2005-07-18 Andy Wingo <wingo@pobox.com>
20362 * configure.ac: Use AS_LIBTOOL_TAGS.
20364 2005-07-18 Wim Taymans <wim@fluendo.com>
20366 * docs/gst/gstreamer.types:
20367 Remove deleted types.
20369 2005-07-18 Wim Taymans <wim@fluendo.com>
20371 * check/elements/gstfakesrc.c: (GST_START_TEST):
20372 * configure.ac:
20373 * gst/Makefile.am:
20374 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20375 (init_popt_callback):
20376 * gst/gst.h:
20377 * gst/gst_private.h:
20378 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20379 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20380 * gst/gstbin.h:
20381 * gst/gstbus.h:
20382 * gst/gstconfig.h.in:
20383 * gst/gstelement.c: (gst_element_class_init),
20384 (gst_element_set_base_time), (gst_element_get_base_time),
20385 (iterator_fold_with_resync), (gst_element_change_state),
20386 (gst_element_dispose), (gst_element_get_bus):
20387 * gst/gstelement.h:
20388 * gst/gstelementfactory.h:
20389 * gst/gsterror.c: (_gst_core_errors_init):
20390 * gst/gsterror.h:
20391 * gst/gstevent.h:
20392 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20393 * gst/gstindex.c:
20394 * gst/gstinfo.c: (_gst_debug_init):
20395 * gst/gstmessage.c: (_gst_message_copy):
20396 * gst/gstmessage.h:
20397 * gst/gstminiobject.h:
20398 * gst/gstobject.c:
20399 * gst/gstobject.h:
20400 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20401 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20402 * gst/gstpad.h:
20403 * gst/gstparse.h:
20404 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20405 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20406 (gst_pipeline_get_last_stream_time):
20407 * gst/gstpipeline.h:
20408 * gst/gstpluginfeature.h:
20409 * gst/gstquery.h:
20410 * gst/gstscheduler.c:
20411 * gst/gstscheduler.h:
20412 * gst/gststructure.h:
20413 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20414 (gst_task_finalize), (gst_task_func), (gst_task_create),
20415 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20416 (gst_task_stop), (gst_task_pause):
20417 * gst/gsttask.h:
20418 * gst/gsttypefind.h:
20419 * gst/gsttypes.h:
20420 * gst/registries/gstlibxmlregistry.c: (load_feature),
20421 (gst_xml_registry_load), (gst_xml_registry_save_feature):
20422 * gst/registries/gstxmlregistry.c:
20423 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20424 * gst/schedulers/threadscheduler.c:
20425 * libs/gst/control/dparammanager.h:
20426 * tools/gst-inspect.c: (print_element_list),
20427 (print_plugin_features), (print_element_features):
20428 * tools/gst-xmlinspect.c: (print_element_list),
20429 (print_plugin_info), (main):
20430 Removed plugable schedulers.
20431 Removed Scheduler/Manager from elements.
20432 Removed gsttypes.h, rearranged includes.
20433 Removed dependency pad<->element, element<>pipeline, and
20434 various others, fix includes.
20435 implement gst_pad_get_parent() with gst_object_get_parent()
20436 Make GstTask sefcontained.
20437 Fix _get_state() on GstBin, it did not return ASYNC with a 0
20438 timeout.
20439 Fix endless loop in iterator_fold_with_resync.
20442 2005-07-18 Wim Taymans <wim@fluendo.com>
20444 * gst/Makefile.am:
20445 * gst/gstarch.h:
20446 Remove old file.
20448 2005-07-18 Wim Taymans <wim@fluendo.com>
20450 * gst/Makefile.am:
20451 No more cothreads.h
20453 2005-07-18 Wim Taymans <wim@fluendo.com>
20455 * gst/cothreads.c:
20456 * gst/cothreads.h:
20457 Let's remove these.
20459 2005-07-18 Wim Taymans <wim@fluendo.com>
20461 * docs/design/part-dynamic.txt:
20462 * docs/design/part-events.txt:
20463 * docs/design/part-seeking.txt:
20464 Some more docs in the works.
20466 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20467 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20468 (gst_base_transform_setcaps), (gst_base_transform_get_size),
20469 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20470 (gst_base_transform_handle_buffer),
20471 (gst_base_transform_sink_activate_push),
20472 (gst_base_transform_src_activate_pull),
20473 (gst_base_transform_set_passthrough),
20474 (gst_base_transform_is_passthrough):
20475 Refcounting fixes.
20477 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20478 Cleanups.
20480 * gst/gstevent.c: (gst_event_finalize):
20481 Set SRC to NULL.
20483 * gst/gstutils.c: (gst_element_unlink),
20484 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20485 (gst_pad_proxy_setcaps):
20486 * gst/gstutils.h:
20487 Add _get_parent_element() to get a pads parent as an element.
20489 2005-07-18 Wim Taymans <wim@fluendo.com>
20491 * check/gst/gstbin.c: (GST_START_TEST):
20492 Remove bogus test.
20494 2005-07-18 Wim Taymans <wim@fluendo.com>
20496 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20497 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20498 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20499 (gst_base_sink_event), (gst_base_sink_do_sync),
20500 (gst_base_sink_chain), (gst_base_sink_loop),
20501 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20502 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20503 Refcounting fixes.
20504 Fix logic for returning ASYNC when not prerolled.
20506 2005-07-18 Wim Taymans <wim@fluendo.com>
20508 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20509 Fix nasty refcount bug.
20511 2005-07-16 Philippe Khalaf <burger@speedy.org>
20513 * gst/elements/gstfdsrc.c:
20514 * gst/elements/gstfdsrc.h:
20515 * gst/elements/gstelements.c:
20516 * gst/elements/Makefile.am:
20517 Ported fdsrc to 0.9.
20519 2005-07-16 Wim Taymans <wim@fluendo.com>
20521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20522 (gst_base_sink_do_sync):
20523 Fix compile error.
20525 2005-07-16 Wim Taymans <wim@fluendo.com>
20527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20528 (gst_base_sink_event), (gst_base_sink_get_times),
20529 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20530 * gst/base/gstbasesink.h:
20531 Store and use discont values when syncing buffers as described
20532 in design docs.
20534 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20535 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20536 (gst_base_src_activate_push):
20537 Push discont event when starting.
20539 * gst/elements/gstidentity.c: (gst_identity_transform):
20540 Small cleanups.
20542 * gst/gstbin.c: (gst_bin_change_state):
20543 Small cleanups in base_time distribution.
20545 * gst/gstelement.c: (gst_element_set_base_time),
20546 (gst_element_get_base_time), (gst_element_change_state):
20547 * gst/gstelement.h:
20548 Added methods for the base_time of the element.
20549 Some MT fixes.
20551 * gst/gstpipeline.c: (gst_pipeline_send_event),
20552 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20553 (gst_pipeline_get_last_stream_time):
20554 * gst/gstpipeline.h:
20555 MT fixes.
20556 Handle seeking as described in design doc, remove stream_time
20557 hack.
20558 Cleanups clock and stream_time selection code. Added accessors
20559 for the stream_time.
20562 2005-07-16 Andy Wingo <wingo@pobox.com>
20564 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20565 (#305291).
20567 2005-07-16 Wim Taymans <wim@fluendo.com>
20569 * check/gst/gstbin.c: (GST_START_TEST):
20570 Make elements silent as the deep_notify refs the
20571 parent, which might make the test fail.
20573 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20574 Don't hold the lock for too long.
20576 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20578 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20579 Don't unref the caps we passed to gst_caps_make_writable() after
20580 passing them. gst_caps_make_writable() will do that for us.
20582 2005-07-15 Andy Wingo <wingo@pobox.com>
20584 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20585 (#157311).
20587 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20588 own marshalling function for the handoff signal. Properly type the
20589 buffer as a buffer. Fixes some warnings. Should do a more general
20590 solution.
20591 (gst_identity_class_init): Plug into the right marshaller.
20593 2005-07-15 Wim Taymans <wim@fluendo.com>
20595 * docs/design/part-TODO.txt:
20596 * docs/design/part-clocks.txt:
20597 * docs/design/part-element-sink.txt:
20598 * docs/design/part-events.txt:
20599 * docs/design/part-gstpipeline.txt:
20600 Updated docs, mostly DISCONT related.
20602 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20604 * docs/pwg/building-pads.xml:
20605 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20607 2005-07-15 Andy Wingo <wingo@pobox.com>
20609 * tools/gst-typefind.c: Update, add copyright block.
20611 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20612 Normalize and truncate caps before fixation.
20614 * gst/gstcaps.h:
20615 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20616 discards all but the first structure from its argument.
20618 2005-07-15 Wim Taymans <wim@fluendo.com>
20620 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20621 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20622 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20623 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20624 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20625 (gst_base_transform_chain), (gst_base_transform_change_state),
20626 (gst_base_transform_set_passthrough),
20627 (gst_base_transform_is_passthrough):
20628 * gst/base/gstbasetransform.h:
20629 Make passthrough work using the bufferpools.
20630 Changed API a bit, subclasses have to write into a buffer
20631 provided by the base class.
20632 More debug info in nego functions.
20634 * gst/elements/gstidentity.c: (gst_identity_init),
20635 (gst_identity_transform):
20636 Port to new base class.
20638 2005-07-15 Wim Taymans <wim@fluendo.com>
20640 * gst/gstmessage.c: (gst_message_new_state_changed):
20641 * tools/gst-launch.c: (event_loop), (main):
20642 Totally dump messages in -launch with the -m option.
20643 Fix message name for State messages,
20645 2005-07-14 Wim Taymans <wim@fluendo.com>
20647 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20648 Post error messages on errors.
20650 2005-07-14 Wim Taymans <wim@fluendo.com>
20652 * gst/gstcaps.c: (gst_caps_do_simplify):
20653 Remove debug info.
20655 * gst/gsterror.h:
20656 Define error for stream stopped.
20658 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20659 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20660 Do proper return values.
20662 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20663 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20664 (gst_pad_get_range):
20665 Better return values.
20667 * gst/gstpad.h:
20668 Reorganise return values, add macro to check for fatal errors.
20670 * gst/gstqueue.c: (gst_queue_chain):
20671 Return proper GstFlowReturn values,
20673 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20675 * docs/gst/gstreamer-sections.txt:
20676 * docs/gst/gstreamer.types:
20677 * docs/gst/tmpl/gst.sgml:
20678 * docs/gst/tmpl/gstbasesink.sgml:
20679 * docs/gst/tmpl/gstbasesrc.sgml:
20680 * docs/gst/tmpl/gstbasetransform.sgml:
20681 * docs/gst/tmpl/gstbin.sgml:
20682 * docs/gst/tmpl/gstbuffer.sgml:
20683 * docs/gst/tmpl/gstcaps.sgml:
20684 * docs/gst/tmpl/gstclock.sgml:
20685 * docs/gst/tmpl/gstcompat.sgml:
20686 * docs/gst/tmpl/gstconfig.sgml:
20687 * docs/gst/tmpl/gstelement.sgml:
20688 * docs/gst/tmpl/gstelementdetails.sgml:
20689 * docs/gst/tmpl/gstelementfactory.sgml:
20690 * docs/gst/tmpl/gstenumtypes.sgml:
20691 * docs/gst/tmpl/gsterror.sgml:
20692 * docs/gst/tmpl/gstevent.sgml:
20693 * docs/gst/tmpl/gstfakesink.sgml:
20694 * docs/gst/tmpl/gstfakesrc.sgml:
20695 * docs/gst/tmpl/gstfilesink.sgml:
20696 * docs/gst/tmpl/gstfilesrc.sgml:
20697 * docs/gst/tmpl/gstfilter.sgml:
20698 * docs/gst/tmpl/gstformat.sgml:
20699 * docs/gst/tmpl/gstghostpad.sgml:
20700 * docs/gst/tmpl/gstimplementsinterface.sgml:
20701 * docs/gst/tmpl/gstindex.sgml:
20702 * docs/gst/tmpl/gstindexfactory.sgml:
20703 * docs/gst/tmpl/gstinfo.sgml:
20704 * docs/gst/tmpl/gstiterator.sgml:
20705 * docs/gst/tmpl/gstmacros.sgml:
20706 * docs/gst/tmpl/gstmemchunk.sgml:
20707 * docs/gst/tmpl/gstminiobject.sgml:
20708 * docs/gst/tmpl/gstobject.sgml:
20709 * docs/gst/tmpl/gstpad.sgml:
20710 * docs/gst/tmpl/gstpadtemplate.sgml:
20711 * docs/gst/tmpl/gstparse.sgml:
20712 * docs/gst/tmpl/gstpipeline.sgml:
20713 * docs/gst/tmpl/gstplugin.sgml:
20714 * docs/gst/tmpl/gstpluginfeature.sgml:
20715 * docs/gst/tmpl/gstquery.sgml:
20716 * docs/gst/tmpl/gstqueue.sgml:
20717 * docs/gst/tmpl/gstregistry.sgml:
20718 * docs/gst/tmpl/gstregistrypool.sgml:
20719 * docs/gst/tmpl/gstscheduler.sgml:
20720 * docs/gst/tmpl/gstschedulerfactory.sgml:
20721 * docs/gst/tmpl/gststructure.sgml:
20722 * docs/gst/tmpl/gstsystemclock.sgml:
20723 * docs/gst/tmpl/gsttaglist.sgml:
20724 * docs/gst/tmpl/gsttagsetter.sgml:
20725 * docs/gst/tmpl/gsttrace.sgml:
20726 * docs/gst/tmpl/gsttrashstack.sgml:
20727 * docs/gst/tmpl/gsttypefind.sgml:
20728 * docs/gst/tmpl/gsttypefindfactory.sgml:
20729 * docs/gst/tmpl/gsttypes.sgml:
20730 * docs/gst/tmpl/gsturihandler.sgml:
20731 * docs/gst/tmpl/gsturitype.sgml:
20732 * docs/gst/tmpl/gstutils.sgml:
20733 * docs/gst/tmpl/gstvalue.sgml:
20734 * docs/gst/tmpl/gstversion.sgml:
20735 * docs/gst/tmpl/gstxml.sgml:
20736 * docs/libs/tmpl/gstcontrol.sgml:
20737 * docs/libs/tmpl/gstdataprotocol.sgml:
20738 * docs/libs/tmpl/gstdparam.sgml:
20739 * docs/libs/tmpl/gstdplinint.sgml:
20740 * docs/libs/tmpl/gstdpman.sgml:
20741 * docs/libs/tmpl/gstdpsmooth.sgml:
20742 * docs/libs/tmpl/gstgetbits.sgml:
20743 * docs/libs/tmpl/gstunitconvert.sgml:
20744 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20745 (gst_push_src_base_init), (gst_push_src_class_init),
20746 (gst_push_src_init), (gst_push_src_create):
20747 * gst/base/gstpushsrc.h:
20748 * gst/elements/gstelements.c:
20749 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20750 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20751 (gst_fake_sink_init), (gst_fake_sink_set_property),
20752 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20753 (gst_fake_sink_event), (gst_fake_sink_preroll),
20754 (gst_fake_sink_render), (gst_fake_sink_change_state):
20755 * gst/elements/gstfakesink.h:
20756 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20757 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20758 (gst_fake_src_base_init), (gst_fake_src_class_init),
20759 (gst_fake_src_init), (gst_fake_src_event_handler),
20760 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20761 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20762 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20763 (gst_fake_src_create_buffer), (gst_fake_src_create),
20764 (gst_fake_src_start), (gst_fake_src_stop):
20765 * gst/elements/gstfakesrc.h:
20766 * gst/elements/gstfilesink.c: (_do_init),
20767 (gst_file_sink_base_init), (gst_file_sink_class_init),
20768 (gst_file_sink_init), (gst_file_sink_dispose),
20769 (gst_file_sink_set_location), (gst_file_sink_set_property),
20770 (gst_file_sink_get_property), (gst_file_sink_open_file),
20771 (gst_file_sink_close_file), (gst_file_sink_query),
20772 (gst_file_sink_event), (gst_file_sink_render),
20773 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20774 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20775 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20776 * gst/elements/gstfilesink.h:
20777 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20778 (gst_file_src_class_init), (gst_file_src_init),
20779 (gst_file_src_finalize), (gst_file_src_set_location),
20780 (gst_file_src_set_property), (gst_file_src_get_property),
20781 (gst_file_src_map_region), (gst_file_src_map_small_region),
20782 (gst_file_src_create_mmap), (gst_file_src_create_read),
20783 (gst_file_src_create), (gst_file_src_is_seekable),
20784 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20785 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20786 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20787 (gst_file_src_uri_handler_init):
20788 * gst/elements/gstfilesrc.h:
20789 more autistic cleanliness in functions/names/defines
20791 2005-07-13 Andy Wingo <wingo@pobox.com>
20793 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20794 source couldn't negotiate.
20796 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20797 connections again.
20799 * gst/gstutils.h:
20800 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20801 function. I am channeling Hades. Put your boots on suckers!!!
20803 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20805 * testsuite/caps/Makefile.am:
20806 * testsuite/caps/value_compare.c:
20807 * testsuite/caps/value_intersect.c:
20808 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20809 move two testsuite apps over to the check dir
20811 2005-07-12 Wim Taymans <wim@fluendo.com>
20813 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20814 Added more debug info in the negotiate process.
20816 * gst/gstmessage.h:
20817 Prepare for segment playback.
20819 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20820 Better debugging.
20822 * gst/gstutils.c:
20823 Some more docs.
20825 * tools/gst-launch.c: (main):
20826 NULL pipeline on errors.
20828 2005-07-12 Andy Wingo <wingo@pobox.com>
20830 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20831 not it comes from a malloc region. Make sure our copy gets freed.
20833 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20835 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20836 * check/gst/gstmessage.c: (GST_START_TEST):
20837 * check/gst/gststructure.c: (GST_START_TEST),
20838 (gst_structure_suite), (main):
20839 more testing
20840 * gst/gstelement.c: (gst_element_message_full):
20841 clean up GError and debug string now that they get copied
20842 * gst/gstmessage.c: (gst_message_new_error),
20843 (gst_message_new_warning), (gst_message_parse_error),
20844 (gst_message_parse_warning):
20845 use GST_TYPE_G_ERROR for structure_new, and take copies of
20846 arguments, so that we don't mess up refcounting
20848 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20850 * check/Makefile.am:
20851 add per-test valgrind targets
20852 * check/gst-libs/gdp.c: (GST_START_TEST),
20853 (gst_data_protocol_suite), (main):
20854 clean up
20856 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20858 * check/Makefile.am:
20859 instate more valgrindable tests
20860 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20861 (GST_START_TEST), (fakesrc_suite):
20862 * check/gst/gstpad.c: (GST_START_TEST):
20863 * check/gst/gststructure.c: (GST_START_TEST):
20864 fix test leaks
20865 * docs/gst/tmpl/gstminiobject.sgml:
20866 * gst/gstpad.c: (gst_pad_finalize):
20867 fix the static mutex leak
20869 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20871 * check/Makefile.am:
20872 add two more tests for valgrinding
20873 * check/gst/gstvalue.c: (GST_START_TEST):
20874 test refcount of deserialized buffer, found a leak
20875 * docs/gst/gstreamer-docs.sgml:
20876 * docs/gst/gstreamer-sections.txt:
20877 * docs/gst/gstreamer.types:
20878 * docs/gst/tmpl/gstminiobject.sgml:
20879 add miniobject to docs
20880 * gst/gstminiobject.c:
20881 add some docs
20882 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20883 (gst_string_unwrap):
20884 fix a hard-to-find invalid write for one of the tests
20885 fix a leak for deserialized buffers
20887 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20889 * docs/pwg/advanced-events.xml:
20890 * docs/pwg/advanced-request.xml:
20891 * docs/pwg/advanced-scheduling.xml:
20892 * docs/pwg/appendix-porting.xml:
20893 * docs/pwg/building-boiler.xml:
20894 * docs/pwg/intro-preface.xml:
20895 * docs/pwg/other-ntoone.xml:
20896 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20897 of example code and explanation for pad activation, loop() and
20898 getrange() functions and a bit more. Remove old comments pointing
20899 to loop-functions.
20900 * examples/pwg/Makefile.am:
20901 Add loop/getrange examples.
20903 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20905 * configure.ac:
20906 check for valgrind binary + some fixes
20907 * check/gst.supp:
20908 valgrind suppressions for the tests
20909 * check/Makefile.am:
20910 add a valgrind: target that valgrinds the unit tests
20911 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20912 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20913 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20914 * check/gst/gstghostpad.c:
20915 added some cleanup
20916 * check/gst/gstdata.c:
20917 removed
20918 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20919 (thread_unref), (gst_mini_object_suite), (main):
20920 added
20921 * gst/gst.c: (gst_deinit):
20922 * gst/gst.h:
20923 add a method to clean up.
20924 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20925 (gst_system_clock_obtain):
20926 allow for disposing the system clock.
20927 * tools/gst-launch.c: (main):
20928 deinit
20930 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20932 * docs/gst/tmpl/gstbasesrc.sgml:
20933 * docs/gst/tmpl/gstfakesrc.sgml:
20934 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20935 (gst_base_src_init), (gst_base_src_set_property),
20936 (gst_base_src_get_property), (gst_base_src_get_range),
20937 (gst_base_src_start):
20938 * gst/base/gstbasesrc.h:
20939 add num-buffers property
20940 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20941 (gst_fakesrc_init), (gst_fakesrc_set_property),
20942 (gst_fakesrc_get_property), (gst_fakesrc_create),
20943 (gst_fakesrc_start):
20944 remove num-buffers property
20946 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20948 * docs/gst/gstreamer-sections.txt:
20949 * docs/gst/tmpl/gstbasesink.sgml:
20950 * docs/gst/tmpl/gstbasesrc.sgml:
20951 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20952 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20953 (gst_base_sink_finalize), (gst_base_sink_set_clock),
20954 (gst_base_sink_set_property), (gst_base_sink_get_property),
20955 (gst_base_sink_handle_object), (gst_base_sink_event),
20956 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20957 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20958 (gst_base_sink_loop), (gst_base_sink_deactivate),
20959 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20960 (gst_base_sink_change_state):
20961 * gst/base/gstbasesink.h:
20962 * gst/base/gstbasesrc.h:
20963 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20964 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20965 (gst_filesink_init):
20966 more macro splitting
20968 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20970 * gst/gstelement.c: (gst_element_get_bus):
20971 add debug
20972 * tools/gst-launch.c: (check_intr), (event_loop):
20973 fix bus leaks
20975 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20977 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20978 fix a caps leak
20980 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20982 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20983 (gst_base_src_finalize):
20984 add finalize method and clean up properly
20985 * gst/gstpipeline.c: (gst_pipeline_dispose):
20986 add debug
20988 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20990 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20991 (gst_bin_suite):
20992 add more things to check
20993 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20994 * gst/gstelement.c:
20995 more debug
20997 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20999 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21000 (GST_START_TEST), (fakesrc_suite):
21001 * check/gst-libs/gdp.c: (GST_START_TEST):
21002 * check/gst/gst.c: (GST_START_TEST):
21003 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21004 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21005 * check/gst/gstbus.c: (GST_START_TEST):
21006 * check/gst/gstcaps.c: (GST_START_TEST):
21007 * check/gst/gstdata.c: (GST_START_TEST):
21008 * check/gst/gstelement.c: (GST_START_TEST):
21009 * check/gst/gstghostpad.c: (GST_START_TEST):
21010 * check/gst/gstiterator.c: (GST_START_TEST):
21011 * check/gst/gstmessage.c: (GST_START_TEST):
21012 * check/gst/gstobject.c: (GST_START_TEST):
21013 * check/gst/gstpad.c: (GST_START_TEST):
21014 * check/gst/gststructure.c: (GST_START_TEST):
21015 * check/gst/gstsystemclock.c: (GST_START_TEST),
21016 (gst_systemclock_suite):
21017 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21018 * check/gst/gstvalue.c: (GST_START_TEST):
21019 * check/pipelines/cleanup.c: (GST_START_TEST):
21020 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21021 * check/states/sinks.c: (GST_START_TEST):
21022 * check/gstcheck.c: (gst_check_init):
21023 * check/gstcheck.h:
21024 add debugging category
21025 use GST_START_TEST now, so we add a debug line
21027 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21029 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21030 add test for state change message on a bin
21031 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21032 add another test
21033 * gst/gstbin.c: (gst_bin_init):
21034 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21035 * gst/gstelement.c: (gst_element_post_message),
21036 (gst_element_set_state):
21037 * gst/gstelementfactory.c: (gst_element_factory_create):
21038 * gst/gstmessage.c: (gst_message_new):
21039 * gst/gstscheduler.c:
21040 various debugging additions and cleanups
21042 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21044 * check/Makefile.am:
21045 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21046 (main):
21047 adding tests for elements
21048 * gst/gstelement.c: (gst_element_dispose):
21050 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21052 * gst/registries/gstlibxmlregistry.c: (load_feature):
21053 plug more leaks. A simple gst_init() now is leakfree, yay.
21055 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21057 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21058 (gst_xml_registry_load):
21059 plug another memleak
21061 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21063 * configure.ac:
21064 use GST_SET_ERROR_CFLAGS
21065 * docs/faq/cvs.xml:
21066 change to ERROR_CFLAGS
21068 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21070 * configure.ac:
21071 make GST_ERROR_CFLAGS overridable and re-enable Werror
21072 * docs/faq/cvs.xml:
21073 add a note about error CFLAGS
21074 * docs/gst/tmpl/gstfakesrc.sgml:
21075 * gst/elements/gstfakesrc.c:
21076 comment out some unused code
21077 * gst/gst.c: (split_and_iterate):
21078 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21079 (load_feature):
21080 plug some memleaks
21082 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21084 * common/Makefile.am:
21085 * common/gtk-doc.mak:
21086 * docs/gst/Makefile.am:
21087 factor out gtk-doc.mak
21089 2005-07-07 Wim Taymans <wim@fluendo.com>
21091 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21092 (gst_thread_scheduler_dispose):
21093 Unlock the STREAM_LOCK completely.
21095 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21097 * check/Makefile.am:
21098 * check/elements/.cvsignore:
21099 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21100 (START_TEST), (fakesrc_suite), (main):
21101 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21102 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21103 (gst_fakesrc_create), (gst_fakesrc_start):
21104 * gst/elements/gstfakesrc.h:
21105 adding a first element test
21107 2005-07-07 Andy Wingo <wingo@pobox.com>
21109 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21110 debug message.
21112 2005-07-07 Wim Taymans <wim@fluendo.com>
21114 * gst/gstquery.c:
21115 * gst/gstquery.h:
21116 Remove old types
21118 2005-07-07 Wim Taymans <wim@fluendo.com>
21120 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21121 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21122 Allow subclasses to implement their own negotiation.
21124 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21126 * docs/design/part-gstbin.txt:
21127 * docs/design/part-gstpipeline.txt:
21128 Update design notes to reflect the movement of
21129 responsibility for bus handling from GstPipeline to
21130 GstBin
21132 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21134 * configure.ac:
21135 Remove unnecessary queue2/3/4 examples.
21137 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21139 * examples/Makefile.am:
21140 * examples/helloworld/helloworld.c: (event_loop), (main):
21141 * examples/queue/queue.c: (event_loop), (main):
21142 * examples/queue2/queue2.c: (main):
21143 Update a couple of the examples to work again.
21145 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21146 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21147 Spelling corrections and extra debug.
21149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21150 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21151 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21152 * gst/gstbin.h:
21153 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21154 (gst_pipeline_change_state):
21155 * gst/gstpipeline.h:
21156 Move the bus handler for children to the GstBin, and create a
21157 separate bus for receiving messages from children to the one the
21158 bus sends 'upwards' on.
21160 2005-07-06 Wim Taymans <wim@fluendo.com>
21162 * gst/base/README:
21163 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21164 (gst_base_sink_handle_object), (gst_base_sink_loop),
21165 (gst_base_sink_change_state):
21166 * gst/base/gstbasesink.h:
21167 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21168 (gst_base_src_init), (gst_base_src_setcaps),
21169 (gst_base_src_getcaps), (gst_base_src_loop),
21170 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21171 (gst_base_src_start), (gst_base_src_change_state):
21172 * gst/base/gstbasesrc.h:
21173 Make basesrc negotiate.
21174 Handle the case where preroll fails in basesink.
21175 Update README.
21177 2005-07-06 Wim Taymans <wim@fluendo.com>
21179 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21180 Implement the fixate function.
21181 Clean up acceptcaps.
21183 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21185 * docs/pwg/building-filterfactory.xml:
21186 * docs/pwg/pwg.xml:
21187 Remove never-written filter-factory chapter; I'll add the various
21188 base classes to part 4 ("other element types") later on.
21190 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21192 * docs/pwg/advanced-negotiation.xml:
21193 * docs/pwg/building-boiler.xml:
21194 * docs/pwg/building-pads.xml:
21195 * docs/pwg/pwg.xml:
21196 * examples/pwg/Makefile.am:
21197 Add a chapter on caps negotiation, simplify the original code
21198 samples a bit w.r.t. caps negotiation, add link to the advanced
21199 section. Add a bunch of examples showing different use cases of
21200 different types of caps negotiation. Upstream renegotiation isn't
21201 fully documented yet since nobody knows how that works.
21203 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21205 * check/gst/gstpad.c:
21206 * check/gstcheck.c:
21207 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21208 if pad has no parent, return NULL as list of internal links
21210 2005-07-05 Andy Wingo <wingo@pobox.com>
21212 * gst/elements/gstfilesrc.c:
21213 * gst/elements/gstfakesrc.c:
21214 * gst/base/gstpushsrc.c:
21215 * gst/base/gstbasesrc.h:
21216 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21218 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21220 * Makefile.am:
21221 better report generation target (lcov needs a patch)
21223 2005-07-05 Andy Wingo <wingo@pobox.com>
21225 * gst/elements, testsuite: Null if we got it...
21227 2005-07-05 Wim Taymans <wim@fluendo.com>
21229 * configure.ac:
21230 * libs/gst/dataprotocol/Makefile.am:
21231 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21232 * libs/gst/dataprotocol/dataprotocol.h:
21233 * pkgconfig/Makefile.am:
21234 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21235 * pkgconfig/gstreamer-dataprotocol.pc.in:
21236 Ported dataprotol to 0.9.
21237 Added pkgconfig files.
21239 2005-07-05 Andy Wingo <wingo@pobox.com>
21241 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21242 Default to returning TRUE for the case when tranform_caps returns
21243 a fixed caps, like for identity or volume.
21245 * check/gst/gstbus.c (pound_bus_with_messages):
21246 * check/gst/gstmessage.c (START_TEST):
21247 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21248 message API change.
21250 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21251 logic weaks here: always run transform_caps, trying passthrough
21252 operation only if the original caps intersects with the transform.
21254 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21255 source and sink caps.
21257 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21258 Intersect the peer caps with the pad template before going into
21259 transform_caps.
21260 (gst_base_transform_transform_caps): More debugging.
21262 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21263 src argument.
21265 2005-07-04 Edward Hervey <edward@fluendo.com>
21267 * gst/gstutils.c:
21268 * gst/gstutils.h:
21269 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21270 in bindings.
21272 2005-07-04 Andy Wingo <wingo@pobox.com>
21274 * check/gst/gstpad.c: Only set explicit caps on pads.
21276 2005-07-01 Andy Wingo <wingo@pobox.com>
21278 * tests/network-clock.scm: Commentary update.
21280 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21281 Didn't really make sense, not implementable with basetransform,
21282 etc.
21283 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21284 attempt at implementing the sync property, needs an unlock method.
21286 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21287 New func, by default returns the same caps (the identity
21288 transformation).
21289 (gst_base_transform_getcaps): Uses transform_caps to return
21290 something sensible.
21291 (gst_base_transform_setcaps): Complicated logic to get caps on
21292 both pads, even if they are different, and to call set_caps once
21293 for every time both pads get their caps set.
21294 (gst_base_transform_handle_buffer): Give the ref to the transform
21295 function. Allows in-place modification of the buffer.
21297 * gst/base/gstbasetransform.h (transform_caps): New class method.
21298 Given caps on one side, what can I do on the other.
21299 (set_caps): Take two caps, one for each side of the element.
21301 * gst/gstpad.h:
21302 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21303 caps in place. This is safe because we can check the mutability of
21304 the caps, and a good idea because fixate functions are just called
21305 as a matter of last resort. (Not actually implemented.)
21306 (gst_pad_set_caps): If the caps we're setting is actually the same
21307 as the existing pad caps, just update the pointer without calling
21308 setcaps. Assert that caps is either NULL or fixed, as per the
21309 docs.
21311 * gst/gstghostpad.c: Update for fixate changes.
21313 2005-07-02 Andy Wingo <wingo@pobox.com>
21315 * gst/gstcaps.c:
21316 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21317 two refcounts makes it immutable, which is enough. Doc more.
21319 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21321 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21322 Put the mini_object into GValue as a mini_object,
21323 not a gpointer, since that's how we declared
21324 the signal.
21326 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21328 * examples/pwg/Makefile.am:
21329 Fix buildbot again.
21331 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21333 * docs/pwg/building-testapp.xml:
21334 Add extra check.
21335 * examples/pwg/Makefile.am:
21336 Fix buildbot.
21338 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21340 * configure.ac:
21341 * examples/Makefile.am:
21342 * examples/pwg/Makefile.am:
21343 * examples/pwg/extract.pl:
21344 Enable building the PWG examples.
21345 * docs/pwg/advanced-interfaces.xml:
21346 Add URI interface stub.
21347 * docs/pwg/advanced-types.xml:
21348 * docs/pwg/other-autoplugger.xml:
21349 * docs/pwg/appendix-porting.xml:
21350 * docs/pwg/pwg.xml:
21351 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21352 * docs/pwg/building-boiler.xml:
21353 * docs/pwg/building-chainfn.xml:
21354 * docs/pwg/building-pads.xml:
21355 * docs/pwg/building-props.xml:
21356 * docs/pwg/building-state.xml:
21357 * docs/pwg/building-testapp.xml:
21358 Update the building-*.xml parts for 0.9 changes. All examples
21359 code blocks compile in examples/pwg/*.
21361 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21363 * docs/manual/advanced-autoplugging.xml:
21364 * docs/manual/appendix-checklist.xml:
21365 * docs/manual/appendix-integration.xml:
21366 * docs/manual/highlevel-components.xml:
21367 Fix playbin/decodebin examples, update docs a bit, mention bus
21368 instead of signals in various places, mention kmplayer and
21369 kaffeine since they have a working GStreamer backend in the KDE
21370 section.
21372 2005-06-30 Wim Taymans <wim@fluendo.com>
21374 * CHANGES-0.9:
21375 * docs/design/draft-ghostpads.txt:
21376 * docs/design/draft-push-pull.txt:
21377 * docs/design/draft-query.txt:
21378 * docs/design/part-TODO.txt:
21379 * docs/design/part-query.txt:
21380 Added CHANGES-0.9 doc, updated status of other docs.
21382 * gst/gstquery.h:
21383 Remove "hmm" macro
21385 2005-06-30 Wim Taymans <wim@fluendo.com>
21387 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21388 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21389 (gst_base_sink_change_state):
21390 * gst/base/gstbasesink.h:
21391 Some tweaks, only EOS and a buffer complete a preroll.
21393 2005-06-30 Andy Wingo <wingo@pobox.com>
21395 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21396 activate_push down to the internal pad as well.
21398 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
21400 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21402 * gst/gsttaginterface.c:
21403 Some documentation fixes (#307394 and #307397).
21405 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
21407 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21409 * gst/gstvalue.c: (gst_value_intersect_list):
21410 Fix memleak (#309125).
21412 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21414 * docs/manual/advanced-dataaccess.xml:
21415 Fix fakesrc example to compile; doesn't work, bug somewhere...?
21416 * docs/manual/basics-pads.xml:
21417 Add reference for filtered caps to above chapter.
21419 2005-06-30 Wim Taymans <wim@fluendo.com>
21421 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21422 (gst_bin_change_state):
21423 Probes are gone.
21424 Lame attempt at making the state change function a bit
21425 more readable.
21427 2005-06-30 Wim Taymans <wim@fluendo.com>
21429 * docs/design/part-clocks.txt:
21430 * docs/design/part-element-sink.txt:
21431 * docs/design/part-events.txt:
21432 * docs/design/part-preroll.txt:
21433 * docs/design/part-states.txt:
21434 Some more tweeks and additions to the docs.
21436 2005-06-30 Wim Taymans <wim@fluendo.com>
21438 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21439 (default_have_data), (gst_pad_class_init), (gst_pad_init),
21440 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21441 (gst_pad_check_pull_range), (gst_pad_get_range),
21442 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21443 * gst/gstpad.h:
21444 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21445 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21446 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21447 (gst_pad_remove_buffer_probe):
21448 Removed atomic operations, use existing LOCK.
21449 Move exception handling out of main code path.
21451 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21453 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21454 (silly_return_true_function), (gst_pad_class_init),
21455 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21456 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21457 (gst_pad_send_event):
21458 Fix accumulator, add default value by using _emitv() instead
21459 of _emit() for signal emission.
21461 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21463 * docs/manual/advanced-dataaccess.xml:
21464 * examples/manual/Makefile.am:
21465 Add probe example.
21466 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21467 Make work (??).
21469 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
21471 * gst/elements/gstfilesink.c: (gst_filesink_render):
21472 Simplify code so that we don't have to handle short
21473 writes and return GST_FLOW_ERROR if an error occured.
21475 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21477 * docs/gst/gstreamer-docs.sgml:
21478 Remove probes more.
21480 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21482 * docs/gst/gstreamer-sections.txt:
21483 * docs/gst/tmpl/gstpad.sgml:
21484 * docs/gst/tmpl/gstprobe.sgml:
21485 * gst/Makefile.am:
21486 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21487 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21488 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21489 (gst_pad_push_event), (gst_pad_send_event):
21490 * gst/gstpad.h:
21491 * gst/gstutils.c: (gst_pad_add_data_probe),
21492 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21493 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21494 (gst_pad_remove_buffer_probe):
21495 * gst/gstutils.h:
21496 Remove old probes, add new g-signal-based probes and some utility
21497 functions.
21499 2005-06-29 Edward Hervey <edward@fluendo.com>
21501 * gst/gstelementfactory.c:
21502 * gst/gstutils.h:
21503 * gst/gstutils.c:
21504 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21505 the definition to the header file.
21507 2005-06-29 Andy Wingo <wingo@pobox.com>
21509 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21510 plugins from the source directory.
21512 2005-06-29 Wim Taymans <wim@fluendo.com>
21514 * docs/gst/tmpl/gstbuffer.sgml:
21515 * docs/gst/tmpl/gstclock.sgml:
21516 Some fixings for blantently wrong text.
21518 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21520 * check/Makefile.am:
21521 * gst/gst.c: (add_path_func), (init_pre):
21522 * gst/gstregistry.c: (gst_registry_add_path):
21523 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21524 only scan the GST_PLUGIN_PATH locations, and not add
21525 system locations
21527 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21529 * docs/gst/gstreamer-sections.txt:
21530 * docs/gst/tmpl/gstbasesrc.sgml:
21531 * gst/gstelement.c:
21532 * gst/gstelement.h:
21533 * gst/gstevent.c:
21534 * gst/gstutils.c:
21535 doc fixes
21537 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21539 * docs/manual/advanced-autoplugging.xml:
21540 Fix autoplugging example.
21542 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21544 * docs/manual/advanced-autoplugging.xml:
21545 * docs/manual/mime-world.fig:
21546 Try to get autoplugging working, fix type detection. Fix text
21547 in hello-world image.
21549 2005-06-29 Wim Taymans <wim@fluendo.com>
21551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21552 (gst_base_sink_change_state):
21553 Small debug line.
21555 * gst/gstclock.h:
21556 map SIGNAL and BROADCAST to the right function.
21558 * gst/gstobject.h:
21559 Remove redundant braces.
21561 * gst/gstpad.c: (gst_pad_set_caps):
21562 Don't call setcaps function when reseting caps to NULL.
21564 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21565 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21566 (gst_system_clock_id_unschedule):
21567 Use BROADCAST as this is what we do.
21569 2005-06-29 Wim Taymans <wim@fluendo.com>
21571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21572 We are actually prerolling before commiting the state
21573 change.
21575 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21577 * docs/manual/advanced-clocks.xml:
21578 * docs/manual/advanced-interfaces.xml:
21579 * docs/manual/advanced-metadata.xml:
21580 * docs/manual/advanced-position.xml:
21581 * docs/manual/advanced-schedulers.xml:
21582 * docs/manual/advanced-threads.xml:
21583 * docs/manual/appendix-porting.xml:
21584 * docs/manual/basics-bins.xml:
21585 * docs/manual/basics-bus.xml:
21586 * docs/manual/basics-elements.xml:
21587 * docs/manual/basics-helloworld.xml:
21588 * docs/manual/basics-pads.xml:
21589 * docs/manual/highlevel-components.xml:
21590 * docs/manual/manual.xml:
21591 * docs/manual/thread.fig:
21592 Update (until threads/scheduling) Application Development Manual;
21593 remove GstThread, add GstBus, add simple porting checklist, add
21594 documentation for tag writing, clocks, make all examples until this
21595 part compile and run.
21596 * examples/manual/Makefile.am:
21597 Update from changes to Application Development Manual; add bus
21598 example, remove thread example.
21600 2005-06-28 Wim Taymans <wim@fluendo.com>
21602 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21603 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21604 (gst_bus_source_dispatch):
21605 Add debugging messages.
21606 Make internal methods static.
21607 Handle the case where the bus is flushed in the handler.
21609 * gst/gstelement.c: (gst_element_get_bus):
21610 Fix refcount in _get_bus();
21612 * gst/gstpipeline.c: (gst_pipeline_change_state),
21613 (gst_pipeline_get_clock_func):
21614 Clock refcounting fixes.
21615 Handle the case where preroll timed out more gracefully.
21617 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21618 Clean up the internal thread in dispose. This is needed
21619 for subclasses that actually get disposed.
21621 * gst/schedulers/threadscheduler.c:
21622 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21623 (gst_thread_scheduler_dispose):
21624 Free thread pool in dispose.
21626 2005-06-28 Andy Wingo <wingo@pobox.com>
21628 * tests/network-clock-utils.scm (debug, print-event): New utils.
21630 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21631 (*packet-loss*): Unified loss probability.
21632 (network-time): Report out-of-band events.
21634 * tests/plot-data: Add support for out-of-band events. Hack it
21635 into this script instead of passing it down the pipe; should fix
21636 this later.
21638 2005-06-28 Wim Taymans <wim@fluendo.com>
21640 * docs/gst/gstreamer.types:
21641 * docs/gst/tmpl/gstbasesrc.sgml:
21642 * docs/gst/tmpl/gstpad.sgml:
21643 Docs fixes.
21645 2005-06-28 Wim Taymans <wim@fluendo.com>
21647 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21648 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21649 (gst_proxy_pad_do_fixatecaps):
21650 Correctly proxy the check_pull_range function.
21652 2005-06-28 Andy Wingo <wingo@pobox.com>
21654 * tests/network-clock.scm: Removed need for slib.
21656 2005-06-28 Wim Taymans <wim@fluendo.com>
21658 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21659 (gst_basesink_preroll_queue_flush):
21660 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21661 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21662 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21663 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21664 (gst_proxy_pad_set_property):
21665 * gst/gstpad.c:
21666 * gst/gstpad.h:
21667 * gst/gstqueue.c: (gst_queue_init):
21668 The deprecated pad loop function is removed now.
21670 2005-06-28 Andy Wingo <wingo@pobox.com>
21672 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21673 New parameters, simulate network packet loss.
21675 * tests/network-clock-utils.scm: Initialize the RNG.
21677 2005-06-28 Wim Taymans <wim@fluendo.com>
21679 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21680 (gst_basesink_event), (gst_basesink_deactivate):
21681 Flushing the preroll queue always needs to unlock the waiters.
21683 2005-06-28 Edward Hervey <edward@fluendo.com>
21685 * gst/gstpipeline.c: (gst_pipeline_send_event):
21686 Wheen a seek was successful on a pipeline, set the stream_time to the
21687 seek offset in order to have a synchronized stream_time.
21689 2005-06-28 Wim Taymans <wim@fluendo.com>
21691 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21692 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21693 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21694 (gst_proxy_pad_do_fixatecaps):
21695 Call wrapper function instead of just calling the function
21696 pointers. This takes care of any locking and whatmore.
21698 2005-06-28 Wim Taymans <wim@fluendo.com>
21700 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21701 (gst_pad_pull_range):
21702 * gst/gstpad.h:
21703 CONNECTED -> LINKED.
21705 2005-06-28 Andy Wingo <wingo@pobox.com>
21707 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21708 source-munging commit!!!
21710 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21711 (gst_object_sink): Take gpointer arguments, not GstObject --
21712 avoids casts. Like GLib.
21714 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21715 activate.
21717 2005-06-27 Andy Wingo <wingo@pobox.com>
21719 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21720 remaining buffer.
21722 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21723 returns a sorted copy of the trace list.
21724 (gst_alloc_trace_print_live): New API, only prints traces with
21725 live objects. Sort the list.
21726 (gst_alloc_trace_print_all): Sort the list.
21727 (gst_alloc_trace_print): Align columns.
21729 * gst/elements/gstttypefindelement.c:
21730 * gst/elements/gsttee.c:
21731 * gst/base/gstbasesrc.c:
21732 * gst/base/gstbasesink.c:
21733 * gst/base/gstbasetransform.c:
21734 * gst/gstqueue.c: Adapt for pad activation changes.
21736 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21737 sched.
21738 (gst_pipeline_dispose): Drop ref on sched.
21740 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21741 (gst_pad_activate_default): Push mode by default.
21742 (pre_activate_switch, post_activate_switch): New stubs, things to
21743 do before and after switching activation modes on pads.
21744 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21745 the pad's activate function to choose which mode to activate.
21746 Shortcut on deactivation and call the right function directly.
21747 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21748 mode.
21749 (gst_pad_activate_push): New API, same for push mode.
21750 (gst_pad_set_activate_function)
21751 (gst_pad_set_activatepull_function)
21752 (gst_pad_set_activatepush_function): Setters for new API.
21754 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21755 Trace all miniobjects.
21756 (gst_mini_object_make_writable): Unref the arg if we copy, like
21757 gst_caps_make_writable.
21759 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21761 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21762 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21763 Adapt for new pad API.
21765 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21767 * gst/gstelement.h:
21768 * gst/gstelement.c (gst_element_iterate_src_pads)
21769 (gst_element_iterate_sink_pads): New API functions.
21771 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21772 should fold into gstiterator.c in some form.
21773 (gst_element_pads_activate): Simplified via use of fold and
21774 delegation of decisions to gstpad->activate.
21776 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21777 help in debugging.
21779 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21780 class once in init, like gstmessage. Didn't run into this issue
21781 but it seems correct. Don't initialize a trace, gstminiobject does
21782 that.
21784 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21785 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21786 to the bus.
21787 (assert_live_count): New util function, uses alloc traces to check
21788 cleanup.
21790 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21791 To be modified when unlink drops the internal pad.
21793 2005-06-27 Wim Taymans <wim@fluendo.com>
21795 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21796 (gst_bin_change_state):
21797 Cleanup the get_state() function a little, make sure it
21798 iterates the same set of elements.
21799 Added stub iterate_state_order().
21801 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21803 * docs/gst/gstreamer-docs.sgml:
21804 * docs/gst/gstreamer-sections.txt:
21805 * docs/gst/gstreamer.types:
21806 * docs/gst/tmpl/gstbasesink.sgml:
21807 * docs/gst/tmpl/gstbasesrc.sgml:
21808 * docs/gst/tmpl/gstbasetransform.sgml:
21809 * docs/gst/tmpl/gstelement.sgml:
21810 * docs/gst/tmpl/gstiterator.sgml:
21811 * gst/base/gstbasesrc.c:
21812 * gst/base/gstbasesrc.h:
21813 * gst/base/gstbasetransform.h:
21814 * gst/gstelement.c:
21815 * gst/gstiterator.h:
21816 adding basetransform and iterator docs
21818 2005-06-27 Andy Wingo <wingo@pobox.com>
21820 * docs/design/part-activation.txt: Notes on how activation should
21821 work -- not quite implemented yet.
21823 2005-06-25 Wim Taymans <wim@fluendo.com>
21825 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21826 At least get the chain function correct, needs more
21827 fixing.
21829 2005-06-25 Wim Taymans <wim@fluendo.com>
21831 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21832 (gst_basesink_handle_object), (gst_basesink_event),
21833 (gst_basesink_do_sync), (gst_basesink_handle_event),
21834 (gst_basesink_change_state):
21835 * gst/gsttask.h:
21836 Right, two problems here: ghostpads don't take locks and
21837 glib _rec_mutex_lock_full() with depth==0 still locks.
21838 Catch illegal locking and g_warn them.
21840 2005-06-25 Wim Taymans <wim@fluendo.com>
21842 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21843 Have to check for completion now...
21845 2005-06-25 Wim Taymans <wim@fluendo.com>
21847 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21848 (gst_basesink_handle_object), (gst_basesink_event),
21849 (gst_basesink_do_sync), (gst_basesink_handle_event),
21850 (gst_basesink_change_state):
21851 * gst/gstpad.h:
21852 Unlock STREAM_LOCK whatever the recursion was.
21854 2005-06-25 Wim Taymans <wim@fluendo.com>
21856 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21857 (gst_basesink_preroll_queue_empty),
21858 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21859 (gst_basesink_event), (gst_basesink_do_sync),
21860 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21861 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21862 (gst_basesink_change_state):
21863 Reworked the base sink, handle event and buffer serialisation
21864 correctly and removed possible deadlock.
21865 Handle EOS correctly.
21867 2005-06-25 Wim Taymans <wim@fluendo.com>
21869 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21870 (gst_pipeline_change_state):
21871 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21872 Allow elements to post EOS in the state change function.
21873 Fix up -launch, make it exit the poll loop when the
21874 pipeline actually changed state.
21875 Fix up warning parsing in -launch.
21877 2005-06-25 Wim Taymans <wim@fluendo.com>
21879 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21880 (gst_tee_sink_activate):
21881 Core takes STREAM_LOCK for us now.
21883 2005-06-25 Wim Taymans <wim@fluendo.com>
21885 * gst/gstelement.c: (gst_element_get_state_func),
21886 (gst_element_set_state):
21887 * gst/gstelement.h:
21888 * gst/gstmessage.c: (gst_message_parse_error),
21889 (gst_message_parse_warning):
21890 Keep track of current target state while performing a state
21891 change so that subclasses can do something interesting.
21892 Fix parsing of warning/error messages when GError is NULL.
21894 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21896 * docs/gst/Makefile.am:
21897 * docs/gst/gstreamer-docs.sgml:
21898 * docs/gst/gstreamer-sections.txt:
21899 * docs/gst/gstreamer.types:
21900 * docs/gst/tmpl/gstbasesink.sgml:
21901 * docs/gst/tmpl/gstbasesrc.sgml:
21902 * docs/gst/tmpl/gstbin.sgml:
21903 * docs/gst/tmpl/gstcompat.sgml:
21904 * docs/gst/tmpl/gstfakesink.sgml:
21905 * docs/gst/tmpl/gstfakesrc.sgml:
21906 * docs/gst/tmpl/gstfilesink.sgml:
21907 * docs/gst/tmpl/gstfilesrc.sgml:
21908 * docs/gst/tmpl/gstindex.sgml:
21909 * docs/manual/appendix-quotes.xml:
21910 * gst/base/gstbasesrc.h:
21911 * gst/elements/gstfakesrc.h:
21912 * gst/gstmessage.h:
21913 start pulling in base classes and elements in our docs
21915 2005-06-24 Stefan Kost <ensonic@users.sf.net>
21917 * docs/gst/Makefile.am:
21918 * docs/libs/Makefile.am:
21919 fixed make distcheck with gtk-doc 1.3
21921 2005-06-23 Wim Taymans <wim@fluendo.com>
21923 * gst/gstelement.c: (gst_element_get_state_func),
21924 (gst_element_set_state), (gst_element_change_state):
21925 When the state did not change, also report NO_PREROLL
21926 when it matters.
21928 2005-06-23 Wim Taymans <wim@fluendo.com>
21930 * gst/gstpad.c: (gst_pad_event_default):
21931 * gst/gstqueue.c: (gst_queue_loop):
21932 No unsafe task pausing please.
21934 2005-06-23 Wim Taymans <wim@fluendo.com>
21936 * gst/schedulers/threadscheduler.c:
21937 (gst_thread_scheduler_task_start),
21938 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21939 Ref the task before pushing it on the threadpool. This
21940 makes sure that we have a ref when the threadfunction is
21941 actually called.
21943 2005-06-23 Andy Wingo <wingo@pobox.com>
21945 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21946 offset is greater than the file's size.
21948 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
21949 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21950 * gst/gstobject.c (gst_object_class_init): Make the class lock
21951 recursive. Wim won't let me drop deep_notify. Decodebin works
21952 again, whoopdy doo.
21954 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21955 internal pad, and hacks accordingly. Doesn't do it on the target
21956 pad because we change its caps. Probably catches all cases of
21957 interest tho.
21958 (gst_ghost_pad_set_property): Connect to notify::caps as
21959 appropritate.
21961 * tests/network-clock.scm (plot-simulation): Pipe data to the
21962 elite python skript.
21964 * tests/network-clock-utils.scm (define-parameter): New macro,
21965 defines a parameter that can be set via the command line.
21966 (set-parameter!, parse-parameter-arguments): Command line args
21967 parser.
21969 * tests/plot-data: Simple matplotlib-based plotter, takes input on
21970 stdin.
21972 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
21974 * gst/elements/gsttypefindelement.c:
21975 (gst_type_find_element_handle_event):
21976 Don't restart typefinding on a discont.
21977 * gst/gstelement.c: (gst_element_set_state):
21978 Debug spelling fix.
21979 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21980 Allow changing mode of an active pad.
21981 Debug output fixes.
21982 * gst/registries/gstlibxmlregistry.c: (load_feature):
21983 Don't cast a static pad template to a normal pad template.
21985 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
21987 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21988 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21989 remove gst_strtoll completely, since it didn't actually do
21990 anything more than what g_ascii_strtoull already does.
21991 check for range errors when deserializing
21992 do a cast for the unsigned cases; but further fixing needs
21993 a decision on what the interpretation of "(int)" and
21994 deserialization should be for values that fall outside the
21995 type's boundaries (ie, refuse, or interpret as casting)
21997 2005-06-23 Wim Taymans <wim@fluendo.com>
21999 * check/Makefile.am:
22000 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22001 * docs/design/part-live-source.txt:
22002 * docs/design/part-states.txt:
22003 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22004 (gst_basesrc_set_live), (gst_basesrc_is_live),
22005 (gst_basesrc_get_range), (gst_basesrc_activate),
22006 (gst_basesrc_change_state):
22007 * gst/base/gstbasesrc.h:
22008 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22009 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22010 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22011 * gst/gstelement.c: (gst_element_get_state_func),
22012 (gst_element_set_state):
22013 * gst/gstelement.h:
22014 * gst/gsttypes.h:
22015 * tools/gst-launch.c: (event_loop), (main):
22016 Added support for live sources and other elements that
22017 cannot do preroll.
22018 Updated design docs, added live-source design doc.
22019 Implemented live source functionality in basesrc
22020 Fix error condition in _bin_get_state()
22021 Implement live source handling in -launch.
22022 Added check for live sources.
22023 Fixed case in GstBin where elements were changed state
22024 multiple times.
22027 2005-06-23 Andy Wingo <wingo@pobox.com>
22029 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22030 borken refcounting.
22032 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22033 gst_caps_replace takes care of this for us.
22035 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22036 gst_pad_set_caps on the target, not just its setcaps() function.
22038 * tests/network-clock.scm:
22039 * tests/network-clock-utils.scm: A network clock simulator.
22040 Something of an algorithmic testbed before doing something in C.
22042 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22044 * check/Makefile.am:
22045 * check/gst/capslist.h:
22046 copy over from 0.8, and add two with bitmasks specified with
22047 (int) 0xFF...
22048 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22049 add test to parse everything from capslist.h
22050 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22051 (main):
22052 add test for structure deserialization
22053 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22054 add tests for deserialization of strings to int types
22055 * gst/gststructure.c: (gst_structure_nth_field_name):
22056 * gst/gststructure.h:
22057 add a way to get the name of a field referenced by index
22058 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22059 instead of checking if the resulting long long lies between
22060 min and max, we check if the long long would fit into
22061 a number of bytes for the final type.
22062 This fixes cases where a string represents 2^32 - 1, which
22063 when cast to int would be the (valid) -1, but is bigger than
22064 G_MAXINT
22066 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22068 * gst/parse/grammar.y:
22069 add a log line for type deserialization
22071 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22073 * check/gst/gstvalue.c: (START_TEST):
22074 * gst/gstvalue.c: (gst_value_deserialize):
22075 return long long, not int, so gint64 deserialization actually
22076 works. Is there any flag that makes the compiler check this ?
22077 Fixes #308559
22079 2005-06-22 Wim Taymans <wim@fluendo.com>
22081 * gst/gstbuffer.h:
22082 Added convenience macros for setting buffers in GValue.
22084 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22086 * check/gst/.cvsignore:
22087 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22088 add a test deserializing int64, and comment part out because
22089 it fails, yay !
22091 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22093 * check/Makefile.am:
22094 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22095 * testsuite/Makefile.am:
22096 * testsuite/caps/Makefile.am:
22097 * testsuite/caps/value_serialize.c:
22098 * testsuite/test_gst_init.c:
22099 move a value_serialize test over
22101 2005-06-20 Wim Taymans <wim@fluendo.com>
22103 * gst/gstpad.c:
22104 Small doc updates.
22106 * gst/gstvalue.c: (gst_value_compare_buffer),
22107 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22108 (gst_value_compare_flags), (gst_value_serialize_flags),
22109 (gst_value_deserialize_flags), (_gst_value_initialize):
22110 Fix serialisation of buffers, they are not boxed types anymore
22112 2005-06-20 Wim Taymans <wim@fluendo.com>
22114 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22115 Testcase to show error in buffer-on-caps serialisation.
22117 2005-06-20 Andy Wingo <wingo@pobox.com>
22119 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22120 will be adding to later.
22122 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22123 if its socks fill with rocks.
22124 (gst_system_clock_obtain): Set the name on object construction.
22125 Avoid double-checked locking.
22127 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22129 * gst/gsturi.c: (gst_element_make_from_uri):
22130 Fix potential endless loop.
22132 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22134 * check/Makefile.am:
22135 add gsttag
22136 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22137 (main):
22138 move over from testsuite dir and clean up
22139 * configure.ac:
22140 * gst/gsttag.c:
22141 * testsuite/Makefile.am:
22142 * testsuite/tags/.cvsignore:
22143 * testsuite/tags/Makefile.am:
22144 * testsuite/tags/merge.c:
22145 remove testsuite/tags
22147 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22149 * docs/gst/gstreamer-sections.txt:
22150 * docs/gst/tmpl/gstenumtypes.sgml:
22151 * win32/gstenumtypes.c:
22152 clean up documentation build a little
22154 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22156 * check/gstcheck.h:
22157 add macros for checking refcounts on objects and caps
22158 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22159 add some more unit tests
22160 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22161 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22162 fix leaked refcounts (I hope :)) so unittest works
22163 * gst/gstpad.h:
22164 whitespace removal
22166 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22168 * configure.ac: back to HEAD
22170 === release 0.9.1 ===
22172 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22174 * NEWS:
22175 * RELEASE:
22176 updated
22178 2005-06-17 Andy Wingo <wingo@pobox.com>
22180 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22181 assert; it's always possible that the pad gets deactivated in
22182 between the checks in gstpad.c and the implementation. Rely on
22183 finish_preroll() to return a FLUSHING or similar instead of on the
22184 assert.
22186 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22187 clock and post an EOS message if we come out of finish_preroll in
22188 the playing state.
22190 2005-06-16 David Schleef <ds@schleef.org>
22192 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22193 (gst_capsfilter_set_property): Allow NULL as possible value
22194 for filter_caps property, indicating GST_CAPS_ANY.
22196 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22198 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22199 fix debug output
22200 * gst/schedulers/Makefile.am:
22201 use libgst prefix
22202 * gstreamer.spec.in:
22203 fix spec for it
22205 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22207 * gstreamer.spec.in:
22208 clean up
22210 2005-06-08 Andy Wingo <wingo@pobox.com>
22212 * gst/gstutils.c: RPAD fixes all around.
22213 (gst_element_link_pads): Refcounting fixes.
22215 * tools/gst-inspect.c:
22216 * tools/gst-xmlinspect.c:
22217 * parse/grammar.y:
22218 * gst/base/gsttypefindhelper.c:
22219 * gst/base/gstbasesink.c:
22220 * gst/gstqueue.c: RPAD fixes.
22222 * gst/gstghostpad.h:
22223 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22224 pads. The tricky thing is they provide both source and sink
22225 interfaces, since they proxy the internal pad for the external
22226 pad, and vice versa. Implement with lower-level ProxyPad objects,
22227 with the interior proxy pad as a child of the exterior ghost pad.
22228 Should write a doc on this.
22230 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22231 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22232 gst_object API.
22234 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22235 pads are real pads. No ghost pads in this file. Not documenting
22236 the myriad s/RPAD/PAD/ and REALIZE fixes.
22237 (gst_pad_class_init): Add properties for "direction" and
22238 "template". Both are construct-only, so they can't change during
22239 the life of the pad. Fixes properly deriving from GstPad.
22240 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22241 derived objects, just set properties when creating the objects via
22242 g_object_new.
22243 (gst_pad_get_parent): Implement as a function, return NULL if the
22244 parent is not an element.
22245 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22246 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22248 * gst/gstobject.c (gst_object_class_init): Make name a construct
22249 property. Don't set it in the object init.
22251 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22252 with UNKNOWN direction.
22253 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22254 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22255 (gst_element_remove_pad): Remove ghost-pad special cases.
22256 (gst_element_pads_activate): Remove rpad cruft.
22258 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22259 catch the pad's-parent-not-an-element case.
22261 * gst/gst.h: Include gstghostpad.h.
22263 * gst/gst.c (init_post): No more real, ghost pads.
22265 * gst/Makefile.am: Add gstghostpad.[ch].
22267 * check/Makefile.am:
22268 * check/gst/gstbin.c:
22269 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22270 into a bin creates ghost pads, and that the refcounts are right.
22271 Partly moved from gstbin.c.
22273 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22275 * check/gst-libs/.cvsignore:
22276 * check/gst/.cvsignore:
22277 * check/pipelines/.cvsignore:
22278 ignore more
22279 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22280 (START_TEST), (cleanup_suite), (main):
22281 add some tests related to cleanup after running pipelines
22283 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22285 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22286 add a testsuite for GstBuffer
22288 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22290 * gst/gstminiobject.h:
22291 add defines for accessing the refcount
22293 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22295 * Makefile.am: added support for html unit test coverage reports
22297 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22299 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22300 Free existing caps if the capsfilter changes. Add a FIXME about
22301 setting those caps on the pads.
22303 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22304 Before adding a ghost pad to a parent bin, check that there isn't
22305 already one for the element on the bin. Prevents infinite recursion
22306 when using decodebin in parse pipelines. Andy says he'll rewrite the
22307 way this works anyway, so ignore the hack.
22309 2005-06-02 Andy Wingo <wingo@pobox.com>
22311 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22312 file size, pass it on to the type find helper.
22314 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22315 segment_start and segment_end properly according to the seek
22316 method. Segment_end is still a bit flaky because offset can be
22317 negative for CUR and END cases, but it takes -1 as an "unset"
22318 value.
22320 2005-06-02 Wim Taymans <wim@fluendo.com>
22322 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22323 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22324 (gst_basesink_activate):
22325 * gst/base/gstbasesink.h:
22326 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22327 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22328 (gst_pad_query), (gst_pad_start_task):
22329 * gst/gstpad.h:
22330 * gst/gstqueue.c: (gst_queue_bufferalloc),
22331 (gst_queue_handle_sink_event), (gst_queue_chain):
22332 Bufferalloc: return GstFlowReturn to more accuratly report
22333 why allocation failed.
22335 2005-06-02 Wim Taymans <wim@fluendo.com>
22337 * gst/gstpipeline.c: (gst_pipeline_send_event):
22338 Take snapshot of state without blocking.
22340 2005-06-02 Wim Taymans <wim@fluendo.com>
22342 * docs/design/part-TODO.txt:
22343 * docs/design/part-caps.txt:
22344 * docs/design/part-clocks.txt:
22345 * docs/design/part-negotiation.txt:
22346 * docs/design/part-preroll.txt:
22347 Small doc updates
22349 2005-05-30 Wim Taymans <wim@fluendo.com>
22351 * gst/elements/gstidentity.c: (gst_identity_event),
22352 (gst_identity_transform), (gst_identity_get_property):
22353 Protect last_message property as it is accessed from
22354 multiple threads.
22356 2005-05-30 Wim Taymans <wim@fluendo.com>
22358 * gst/gstelement.c: (gst_element_init),
22359 (gst_element_pads_activate), (gst_element_change_state):
22360 Slicker pad activation code.
22362 2005-05-30 Wim Taymans <wim@fluendo.com>
22364 * gst/Makefile.am:
22365 * gst/gstelement.h:
22366 * gst/gstelementfactory.h:
22367 * gst/gsttypes.h:
22368 Move elementfactory methods to separate .h file.
22370 2005-05-30 Wim Taymans <wim@fluendo.com>
22372 * docs/design/part-overview.txt:
22373 * gst/gstsystemclock.h:
22374 Small typo fixes, doc updates.
22376 2005-05-30 Wim Taymans <wim@fluendo.com>
22378 * gst/gst.c: (gst_init_get_popt_table), (init_post),
22379 (init_popt_callback):
22380 Remove cpu-opt flag.
22382 2005-05-30 Wim Taymans <wim@fluendo.com>
22384 * gst/gstbuffer.c: (gst_subbuffer_finalize),
22385 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22386 * gst/gstbuffer.h:
22387 Avoid typechecking in places where not needed.
22388 Added accessor for malloc_data.
22390 2005-05-30 Wim Taymans <wim@fluendo.com>
22392 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22393 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22394 (gst_pad_configure_sink), (gst_pad_configure_src),
22395 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22396 (gst_pad_start_task):
22397 Propagate errors from _set_caps() in configure_src/sink
22398 functions instead of returning TRUE.
22399 FLUSH events can travel up and downstream
22402 2005-05-30 Wim Taymans <wim@fluendo.com>
22404 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22405 (gst_basesink_activate):
22406 Handle EOS in preroll.
22408 2005-05-30 Wim Taymans <wim@fluendo.com>
22410 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22411 (gst_queue_loop), (gst_queue_handle_src_event):
22412 Remove old pieces of code
22413 Flushing the queue in an upstream event is a very bad idea.
22415 2005-05-26 Andy Wingo <wingo@pobox.com>
22417 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22418 gst_value_set_mini_object so as to add a ref on the object (which
22419 will be removed when the value is unset).
22421 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22422 arg type in ::handoff.
22424 * gst/gstelement.c (gst_element_change_state): Also deactivate
22425 pads in READY->NULL, just in case the element didn't make it to
22426 PAUSED. Wingo tested, Wim approved.
22428 2005-05-26 Wim Taymans <wim@fluendo.com>
22430 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22431 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22432 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22433 A flushing pad cannot be used to alloc_buffer from.
22435 2005-05-26 Wim Taymans <wim@fluendo.com>
22437 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22438 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22439 (gst_bus_source_dispatch), (gst_bus_source_finalize),
22440 (gst_bus_create_watch), (gst_bus_add_watch_full):
22441 * gst/gstbus.h:
22442 Implement a real GSource and use g_main_context_wakeup() to
22443 signal new messages instead of the socketpair.
22445 2005-05-25 Wim Taymans <wim@fluendo.com>
22447 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22448 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22449 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22450 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22451 (gst_pad_send_event), (gst_pad_start_task):
22452 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22453 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22454 (gst_queue_sink_activate), (gst_queue_src_activate),
22455 (gst_queue_change_state):
22456 * gst/gstqueue.h:
22457 Fix state changes for non sinks. We now change sinks, then elements
22458 with unconnected srcpads, then the rest.
22459 More efficient queue unlocking in flush and state changes.
22460 Set the pad activate mode even if it does not have an activate
22461 function.
22463 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22465 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22466 Don't go in pull mode for non-seekable sources.
22467 * gst/elements/gsttypefindelement.h:
22468 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22469 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22470 (free_entry), (stop_typefinding),
22471 (gst_type_find_element_handle_event), (find_peek),
22472 (gst_type_find_element_chain), (do_pull_typefind),
22473 (gst_type_find_element_change_state):
22474 Allow typefinding (w/o seeking) in push-mode, simplified version
22475 of what was in 0.8.
22476 * gst/gstutils.c: (gst_buffer_join):
22477 * gst/gstutils.h:
22478 gst_buffer_join() from 0.8.
22480 2005-05-25 Wim Taymans <wim@fluendo.com>
22482 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22483 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22484 (gst_pad_send_event), (gst_pad_start_task):
22485 Disable attempt at mode switching until it is figured out.
22487 2005-05-25 Wim Taymans <wim@fluendo.com>
22489 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22490 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22491 (gst_basesink_finish_preroll), (gst_basesink_chain),
22492 (gst_basesink_loop), (gst_basesink_activate),
22493 (gst_basesink_change_state):
22494 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22495 (gst_basesrc_get_range), (gst_basesrc_loop),
22496 (gst_basesrc_activate):
22497 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22498 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22499 (gst_real_pad_init), (gst_real_pad_set_property),
22500 (gst_real_pad_get_property), (gst_pad_set_active),
22501 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22502 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22503 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22504 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22505 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22506 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22507 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22508 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22509 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22510 (gst_pad_stop_task):
22511 * gst/gstpad.h:
22512 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22513 (gst_queue_loop), (gst_queue_src_activate):
22514 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22515 (gst_task_get_state):
22516 * gst/gsttask.h:
22517 * gst/schedulers/threadscheduler.c:
22518 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22519 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22520 in task function.
22521 Remove ACTIVE pad flag, use FLUSHING everywhere
22522 Added _pad_chain(), _pad_get_range() to call chain/getrange
22523 functions.
22524 Add locks around IS_FLUSHING when reading.
22525 Take STREAM lock in chain(), get_range() functions so plugins
22526 don't need to take it anymore.
22530 2005-05-25 Wim Taymans <wim@fluendo.com>
22532 * tools/gst-launch.c: (event_loop):
22533 Unref message after using its contents instead of
22534 before.
22536 2005-05-24 Wim Taymans <wim@fluendo.com>
22538 * docs/design/draft-ghostpads.txt:
22539 * docs/design/draft-push-pull.txt:
22540 * docs/design/draft-query.txt:
22541 * docs/design/part-overview.txt:
22542 Docs updates, added general overview doc.
22544 2005-05-21 David Schleef <ds@schleef.org>
22546 * docs/gst/tmpl/old/GstBin.sgml:
22547 * docs/gst/tmpl/old/GstBuffer.sgml:
22548 * docs/gst/tmpl/old/GstCaps.sgml:
22549 * docs/gst/tmpl/old/GstClock.sgml:
22550 * docs/gst/tmpl/old/GstCompat.sgml:
22551 * docs/gst/tmpl/old/GstData.sgml:
22552 * docs/gst/tmpl/old/GstElement.sgml:
22553 * docs/gst/tmpl/old/GstEvent.sgml:
22554 * docs/gst/tmpl/old/GstIndex.sgml:
22555 * docs/gst/tmpl/old/GstStructure.sgml:
22556 * docs/gst/tmpl/old/GstTag.sgml:
22557 * docs/gst/tmpl/old/cothreads.sgml:
22558 * docs/gst/tmpl/old/cothreads_compat.sgml:
22559 * docs/gst/tmpl/old/gettext.sgml:
22560 * docs/gst/tmpl/old/gobject2gtk.sgml:
22561 * docs/gst/tmpl/old/grammar.tab.sgml:
22562 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22563 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22564 * docs/gst/tmpl/old/gst_private.sgml:
22565 * docs/gst/tmpl/old/gstaggregator.sgml:
22566 * docs/gst/tmpl/old/gstarch.sgml:
22567 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22568 * docs/gst/tmpl/old/gstbufferstore.sgml:
22569 * docs/gst/tmpl/old/gstdata_private.sgml:
22570 * docs/gst/tmpl/old/gstdisksink.sgml:
22571 * docs/gst/tmpl/old/gstdisksrc.sgml:
22572 * docs/gst/tmpl/old/gstelementfactory.sgml:
22573 * docs/gst/tmpl/old/gstextratypes.sgml:
22574 * docs/gst/tmpl/old/gstfakesink.sgml:
22575 * docs/gst/tmpl/old/gstfakesrc.sgml:
22576 * docs/gst/tmpl/old/gstfdsink.sgml:
22577 * docs/gst/tmpl/old/gstfdsrc.sgml:
22578 * docs/gst/tmpl/old/gstfilesink.sgml:
22579 * docs/gst/tmpl/old/gstfilesrc.sgml:
22580 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22581 * docs/gst/tmpl/old/gstidentity.sgml:
22582 * docs/gst/tmpl/old/gstindexfactory.sgml:
22583 * docs/gst/tmpl/old/gstmarshal.sgml:
22584 * docs/gst/tmpl/old/gstmd5sink.sgml:
22585 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22586 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22587 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22588 * docs/gst/tmpl/old/gstpipefilter.sgml:
22589 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22590 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22591 * docs/gst/tmpl/old/gstshaper.sgml:
22592 * docs/gst/tmpl/old/gstspider.sgml:
22593 * docs/gst/tmpl/old/gstspideridentity.sgml:
22594 * docs/gst/tmpl/old/gststatistics.sgml:
22595 * docs/gst/tmpl/old/gsttee.sgml:
22596 * docs/gst/tmpl/old/gsttimecache.sgml:
22597 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22598 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22599 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22600 * docs/gst/tmpl/old/types.sgml:
22601 I didn't intend to add these or check them in.
22603 2005-05-19 David Schleef <ds@schleef.org>
22605 * configure.ac: Use -no-common everywhere. In a sane world, it
22606 would be the default in libtool, because without it, you can't
22607 build DLLs on Windows.
22608 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22609 * docs/gst/gstreamer-sections.txt:
22610 * docs/gst/tmpl/gstcpu.sgml:
22611 * docs/gst/tmpl/gstdata.sgml:
22612 * docs/gst/tmpl/gstthread.sgml:
22614 2005-05-19 David Schleef <ds@schleef.org>
22616 * gst/gstminiobject.c: (gst_value_set_mini_object),
22617 (gst_value_take_mini_object), (gst_value_get_mini_object):
22618 * gst/gstminiobject.h: Add GValue set/get functions.
22620 2005-05-19 Wim Taymans <wim@fluendo.com>
22622 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22623 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22624 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22625 * gst/gstbuffer.h:
22626 * gst/gstbus.c: (gst_bus_post):
22627 * gst/gstelement.c: (gst_element_get_random_pad):
22628 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22629 Make subbufer unref the parent in finalize.
22630 some more debugging info.
22633 2005-05-19 Wim Taymans <wim@fluendo.com>
22635 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22636 (gst_basesink_init), (gst_basesink_finalize),
22637 (gst_basesink_activate), (gst_basesink_change_state):
22638 Don't free preroll queue too early.
22640 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22642 * gst/Makefile.am:
22643 * gst/ROADMAP:
22644 Hi, I'm outdated. Please shoot me.
22646 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22648 * gst/gstpipeline.c: (gst_pipeline_send_event):
22649 Do not access variables after they have been deleted.
22651 2005-05-19 Wim Taymans <wim@fluendo.com>
22653 * tools/gst-inspect.c: (print_plugin_features):
22654 A plugin feature does unfortunatly not use the
22655 object name yet...
22657 2005-05-18 Wim Taymans <wim@fluendo.com>
22659 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22660 Port _span() functions to new subbuffers.
22662 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22664 * gst/gstbin.c: (gst_bin_add_func):
22665 Fix clock settery in bins when adding kids after the clock has
22666 been selected.
22668 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22670 * gst/elements/gstidentity.c: (gst_identity_class_init):
22671 Workaround until signals support GstMiniObject.
22673 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22675 * gst/gstbuffer.c:
22676 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22678 2005-05-18 Wim Taymans <wim@fluendo.com>
22680 * gst/base/Makefile.am:
22681 * gst/base/gstadapter.c: (gst_adapter_base_init),
22682 (gst_adapter_class_init), (gst_adapter_init),
22683 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22684 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22685 (gst_adapter_flush), (gst_adapter_available),
22686 (gst_adapter_available_fast):
22687 * gst/base/gstadapter.h:
22688 Ported and added adapter to the base classes.
22690 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22692 * gst/gst.c:
22693 * gst/gstmessage.c:
22694 Make sure the class is reffed/unreffed once before threads can be
22695 used. Fixes #304551.
22697 2005-05-17 Wim Taymans <wim@fluendo.com>
22699 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22700 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22701 * gst/gstminiobject.c: (gst_mini_object_get_type),
22702 (gst_mini_object_free):
22703 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22704 (gst_pad_push), (gst_pad_push_event):
22705 * gst/gstqueue.c: (gst_queue_change_state):
22706 Don't queue buffers in basesink when we are flushing.
22707 Unref buffer when flushing in basesink.
22708 Flush queue when going to READY
22709 Unref buffer when _push() returns an error.
22710 Don't free MiniObject instance when refcount is incremented
22711 in _finalize() so that we can recover objects.
22713 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22715 * docs/manual/advanced-schedulers.xml:
22716 * docs/manual/appendix-checklist.xml:
22717 * docs/pwg/advanced-clock.xml:
22718 * docs/pwg/advanced-interfaces.xml:
22719 * docs/pwg/advanced-request.xml:
22720 * docs/pwg/advanced-types.xml:
22721 * docs/pwg/intro-preface.xml:
22722 * examples/plugins/example.c: (gst_example_get_type),
22723 (gst_example_class_init), (gst_example_chain),
22724 (gst_example_set_property), (gst_example_get_property),
22725 (gst_example_change_state), (plugin_init):
22726 * examples/plugins/example.h:
22727 small doc fixes
22729 2005-05-17 Wim Taymans <wim@fluendo.com>
22731 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22732 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22733 * gst/gstqueue.c: (gst_queue_change_state):
22734 Clear queue when going to READY.
22735 Remove IN_SETCAPS flag too.
22737 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22739 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22740 Remove implicit cast from gboolean to GstElementStateReturn;
22741 make sure we still return failure in paused => ready case if
22742 the parent class fails to change state and our own stop
22743 vfunc succeeds.
22745 2005-05-17 Wim Taymans <wim@fluendo.com>
22747 * tools/gst-launch.c: (event_loop):
22748 Message was unreffed too soon.
22750 2005-05-16 Andy Wingo <wingo@pobox.com>
22752 * gst/gstbin.c (sink_iterator_filter): Err... um...
22754 * check/gst/gstbin.c (test_ghost_pads): New test for the
22755 ghosting-if-elements-not-in-same-bin behavior.
22757 2005-05-16 David Schleef <ds@schleef.org>
22759 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22760 accessing refcount directly.
22762 2005-05-15 David Schleef <ds@schleef.org>
22764 * check/Makefile.am: remove GstData checks
22765 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22766 * gst/Makefile.am: add miniobject, remove data
22767 * gst/gst.h: add miniobject, remove data
22768 * gst/gstdata.c: remove
22769 * gst/gstdata.h: remove
22770 * gst/gstdata_private.h: remove
22771 * gst/gsttypes.h: remove GstEvent and GstMessage
22772 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22773 * gst/gstmarshal.list: change BOXED -> OBJECT
22775 Implement GstMiniObject.
22776 * gst/gstminiobject.c:
22777 * gst/gstminiobject.h:
22779 Modify to be subclasses of GstMiniObject.
22780 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22781 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22782 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22783 (gst_subbuffer_get_type), (gst_subbuffer_init),
22784 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22785 (gst_buffer_span):
22786 * gst/gstbuffer.h:
22787 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22788 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22789 (_gst_event_copy), (gst_event_new):
22790 * gst/gstevent.h:
22791 * gst/gstmessage.c: (_gst_message_initialize),
22792 (gst_message_get_type), (gst_message_class_init),
22793 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22794 (gst_message_new), (gst_message_new_error),
22795 (gst_message_new_warning), (gst_message_new_tag),
22796 (gst_message_new_state_changed), (gst_message_new_application):
22797 * gst/gstmessage.h:
22798 * gst/gstprobe.c: (gst_probe_perform),
22799 (gst_probe_dispatcher_dispatch):
22800 * gst/gstprobe.h:
22801 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22802 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22803 (_gst_query_copy), (gst_query_new):
22805 Update elements for GstData -> GstMiniObject changes
22806 * gst/gstquery.h:
22807 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22808 (gst_queue_chain), (gst_queue_loop):
22809 * gst/elements/gstbufferstore.c:
22810 (gst_buffer_store_add_buffer_func),
22811 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22812 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22813 (gst_fakesink_render):
22814 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22815 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22816 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22817 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22818 (gst_filesrc_create_read):
22819 * gst/elements/gstidentity.c: (gst_identity_class_init):
22820 * gst/elements/gsttypefindelement.c:
22821 (gst_type_find_element_src_event), (free_entry_buffers),
22822 (gst_type_find_element_handle_event):
22823 * libs/gst/dataprotocol/dataprotocol.c:
22824 (gst_dp_header_from_buffer):
22825 * libs/gst/dataprotocol/dataprotocol.h:
22826 * libs/gst/dataprotocol/dp-private.h:
22828 2005-05-15 David Schleef <ds@schleef.org>
22830 * gst/elements/gstelements.c: Don't include headers that were
22831 just removed.
22833 2005-05-15 David Schleef <ds@schleef.org>
22835 * gst/elements/Makefile.am: Remove some elements that don't
22836 need to be in the core (or even exist at all).
22837 * gst/elements/gstaggregator.c:
22838 * gst/elements/gstaggregator.h:
22839 * gst/elements/gstmd5sink.c:
22840 * gst/elements/gstmd5sink.h:
22841 * gst/elements/gstmultifilesrc.c:
22842 * gst/elements/gstmultifilesrc.h:
22843 * gst/elements/gstpipefilter.c:
22844 * gst/elements/gstpipefilter.h:
22845 * gst/elements/gstshaper.c:
22846 * gst/elements/gstshaper.h:
22847 * gst/elements/gststatistics.c:
22848 * gst/elements/gststatistics.h:
22849 * po/POTFILES.in: Remove above files.
22851 2005-05-14 Andy Wingo <wingo@pobox.com>
22853 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22854 so as to get the refs right.
22855 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22856 unreffing objects that don't pass the filter.
22858 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22859 gst_element_set_bus.
22860 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22861 normal cases, this will destroy the bus.
22863 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22864 object.
22866 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22867 has no sinks.
22869 2005-05-13 Andy Wingo <wingo@pobox.com>
22871 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22872 gst_pad_link, call pad_link_maybe_ghosting,
22873 (pad_link_maybe_ghosting): Links pads, making sure that the
22874 elements being linked are in the same bin.
22875 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22876 Helpers for pad_link_maybe_ghosting.
22878 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22880 * configure.ac:
22881 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22883 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22885 * docs/design/part-element-source.txt:
22886 Mention GstPushSrc
22888 2005-05-12 Wim Taymans <wim@fluendo.com>
22890 * gst/base/gstbasesink.c: (gst_basesink_init),
22891 (gst_basesink_activate):
22892 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22893 (gst_basesrc_is_seekable):
22894 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22895 (bin_element_is_sink), (gst_bin_change_state):
22896 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22897 * gst/gstelement.h:
22898 Identify sinks by their flag to avoid overly complicated
22899 checks (fow now).
22900 Do state changes even for elements not reachable from the
22901 sinks.
22902 BaseSink is a sink now :)
22903 Some more debugging info in the basesrc.
22906 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22908 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22909 Implement _query on a bin, similar to _send_event.
22911 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22913 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22914 Discont event offset format should be GST_FORMAT_BYTES,
22915 not GST_FORMAT_TIME.
22917 2005-05-12 Wim Taymans <wim@fluendo.com>
22919 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22920 Same fix as Ronald's but without the signal.
22922 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22924 * gst/gstutils.c: (gst_element_query_position):
22925 No, an element is not a pad.
22927 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22929 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22930 (gst_bin_get_state):
22931 If a child is removed from a bin while we remove the child from
22932 the bin and while we're retrieving its state, signal this to the
22933 get_state function so we abort the wait (instead of waiting for
22934 a timeout) and can immediately re-iterate over all other elements.
22936 2005-05-12 Wim Taymans <wim@fluendo.com>
22938 * gst/base/Makefile.am:
22939 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22940 (gst_basesrc_start):
22941 * gst/base/gstbasesrc.h:
22942 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22943 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22944 (gst_pushsrc_init), (gst_pushsrc_create):
22945 * gst/base/gstpushsrc.h:
22946 Added is_seekable to BaseSrc
22947 Added simple PushSrc.
22949 2005-05-11 Wim Taymans <wim@fluendo.com>
22951 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22952 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22953 (gst_element_link_pads), (gst_element_query_position),
22954 (gst_element_query_convert), (intersect_caps_func),
22955 (gst_pad_query_position), (gst_pad_query_convert):
22956 Fix refcounting in utils function.
22957 No point in trying to activate a pad when it's added, it could
22958 be added from the state change function and then we deadlock, the
22959 element has to decide what to do.
22961 2005-05-10 Andy Wingo <wingo@pobox.com>
22963 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22964 *all* the arguments.
22966 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22967 stream lock if it's a FLUSH_DONE; normal flushes don't get the
22968 lock (according to the docs -- if this is wrong change the docs).
22970 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22971 flush messages in the NULL state.
22973 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22974 message immediately and return.
22975 (gst_bus_set_flushing): New function. If a bus is flushing, it
22976 flushes out any queued messages and immediately unrefs new
22977 messages. This is so when an element goes to NULL, all of the
22978 unhandled messages coming from it can be freed, and their
22979 references to the element dropped. In other words: message source
22980 ref considered harmful :P
22982 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22983 we're finished with it.
22985 * gst/gstmessage.c (gst_message_new_state_changed):
22987 2005-05-10 Wim Taymans <wim@fluendo.com>
22989 * gst/gstvalue.c: (gst_value_compare_flags),
22990 (gst_value_serialize_flags), (gst_value_deserialize_flags),
22991 (_gst_value_initialize):
22992 Added flags serialize/deserialize/compare code.
22994 2005-05-09 Andy Wingo <wingo@pobox.com>
22996 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
22997 Intersect the peer's caps with our caps.
22999 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23001 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23002 * gst/elements/gsttypefindelement.c: (find_peek):
23003 Handle negative offsets better. Fixes decodebin.
23005 2005-05-09 Wim Taymans <wim@fluendo.com>
23007 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23008 (gst_base_transform_event):
23009 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23010 Implement accept_caps.
23011 Fix silly lock/unlock mismatch in base class.
23013 2005-05-09 Wim Taymans <wim@fluendo.com>
23015 * docs/design/draft-push-pull.txt:
23016 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23017 * gst/elements/gstfilesink.c: (gst_filesink_init),
23018 (gst_filesink_query):
23019 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23020 (gst_type_find_handle_src_query), (find_element_get_length):
23021 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23022 * gst/gstelement.h:
23023 * gst/gstmessage.c:
23024 * gst/gstmessage.h:
23025 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23026 (gst_real_pad_get_caps_unlocked),
23027 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23028 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23029 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23030 (gst_real_pad_dispose), (gst_real_pad_finalize),
23031 (gst_pad_load_and_link), (gst_pad_save_thyself),
23032 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23033 (gst_pad_check_pull_range), (gst_pad_pull_range),
23034 (gst_pad_template_get_type), (gst_pad_template_class_init),
23035 (gst_pad_template_init), (gst_pad_template_dispose),
23036 (name_is_valid), (gst_static_pad_template_get),
23037 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23038 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23039 (gst_pad_get_element_private), (gst_pad_start_task),
23040 (gst_pad_pause_task), (gst_pad_stop_task),
23041 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23042 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23043 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23044 (gst_ghost_pad_new):
23045 * gst/gstpad.h:
23046 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23047 (gst_query_new_position), (gst_query_set_position),
23048 (gst_query_parse_position), (gst_query_new_convert),
23049 (gst_query_set_convert), (gst_query_parse_convert):
23050 * gst/gstquery.h:
23051 * gst/gstqueryutils.c:
23052 * gst/gstqueryutils.h:
23053 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23054 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23055 (gst_queue_handle_src_query):
23056 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23057 (gst_element_query_position), (gst_element_query_convert),
23058 (intersect_caps_func), (gst_pad_query_position),
23059 (gst_pad_query_convert):
23060 * gst/gstutils.h:
23061 * tools/gst-inspect.c: (print_pad_info):
23062 * tools/gst-xmlinspect.c: (print_element_info):
23063 Remove old query functions. Ported old code.
23064 Added position/convert helper functions to gstutils.
23065 Reordered gstpad.c code, grouping relevant things.
23066 Remove gst_message_new(), always need to speficy a specific
23067 message.
23070 2005-05-09 Andy Wingo <wingo@pobox.com>
23072 * gst/gstiterator.h: Add some includes.
23074 * gst/gstqueryutils.h: Include more headers.
23076 * gst/gstpad.h:
23077 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23078 some uses of gst_pad_query.
23080 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23081 NULL out parameters.
23082 (gst_query_new_position): New proc, allocates a new position
23083 query.
23085 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23086 gstqueryutils.c to the build.
23088 * gst/gststructure.c (gst_structure_set_valist): Implement with
23089 the generic G_VALUE_COLLECT.
23091 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23093 * gst/Makefile.am: (gst_headers):
23094 Added gstqueryutils.h to the list of headers to install, that was
23095 a 'nachty' move wingo :)
23097 2005-05-06 Andy Wingo <wingo@pobox.com>
23099 * gst/gstquery.h
23100 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23101 GstData, init a memchunk.
23102 (standard_definitions): Add a few query types, deprecate a few.
23103 (gst_query_get_type): New proc.
23104 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23105 implementation.
23106 (gst_query_new_application, gst_query_get_structure): New public
23107 procs.
23109 * docs/design/draft-query.txt: Removed LINKS from the query types,
23110 because all the rest can be dispatched to other pads -- seemed
23111 ugly to have a query that couldn't be dispatched. internal_links
23112 is fine as a pad method.
23114 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23115 in gstpad.c, but maintain binary compatibility for the moment.
23116 Will fix before 0.9 is out.
23118 * gst/gstqueryutils.c:
23119 * gst/gstqueryutils.h: New files, implement 3 methods for each
23120 query type: parse_query, parse_response, and set. Probably need an
23121 allocator as well.
23123 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23125 * gst/elements/gstfilesink.c (gst_filesink_query2):
23126 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23127 query_types, and formats methods.
23129 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23130 (gst_pad_set_query2_function): New functions.
23131 (gst_real_pad_init): Set query2_default as the default query2
23132 function. Basically just dispatches to internally linked pads.
23134 Needs review!
23136 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23137 without using the atomic operations. Only one thread can possibly
23138 be accessing the data at this point. Changed so as to avoid
23139 gst_atomic operations.
23141 2005-05-06 Wim Taymans <wim@fluendo.com>
23143 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23144 Also set caps if we use the fallback buffer alloc.
23146 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23148 * docs/gst/Makefile.am:
23149 * docs/gst/gstreamer-docs.sgml:
23150 * docs/gst/gstreamer-sections.txt:
23151 * docs/gst/tmpl/gstatomic.sgml:
23152 * docs/gst/tmpl/gstmemchunk.sgml:
23153 * testsuite/elements/struct_i386.h:
23154 * win32/GStreamer.vcproj:
23155 * win32/Makefile:
23156 Purge GstAtomic stuff from docs and win32 makefiles as well
23158 2005-05-06 Wim Taymans <wim@fluendo.com>
23160 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23161 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23162 * gst/gstpad.c: (gst_pad_peer_get_caps):
23163 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23164 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23165 (gst_queue_src_activate), (gst_queue_change_state):
23166 * gst/gstqueue.h:
23167 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23168 (intersect_caps_func):
23169 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23170 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23171 Some fixes for the peer_get_caps() change.
23173 2005-05-06 Wim Taymans <wim@fluendo.com>
23175 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23176 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23177 (gst_basesink_activate):
23178 Actually do something with error codes returned from the push
23179 functions.
23181 2005-05-06 Wim Taymans <wim@fluendo.com>
23183 * docs/design/part-element-sink.txt:
23184 * docs/design/part-element-source.txt:
23185 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23186 (gst_basesink_event), (gst_basesink_activate):
23187 * gst/base/gstbasesink.h:
23188 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23189 (gst_basesrc_activate):
23190 * gst/base/gstbasesrc.h:
23191 * gst/gstelement.c: (gst_element_pads_activate):
23192 Some more documentation.
23193 Fixed scheduling decision in _pads_activate().
23195 2005-05-05 Andy Wingo <wingo@pobox.com>
23197 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23198 the test suite.
23200 2005-05-05 Wim Taymans <wim@fluendo.com>
23202 * gst/base/Makefile.am:
23203 * gst/base/gstbasesink.h:
23204 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23205 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23206 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23207 (gst_collectpads_class_init), (gst_collectpads_init),
23208 (gst_collectpads_finalize), (gst_collectpads_new),
23209 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23210 (find_pad), (gst_collectpads_remove_pad),
23211 (gst_collectpads_is_active), (gst_collectpads_collect),
23212 (gst_collectpads_collect_range), (gst_collectpads_start),
23213 (gst_collectpads_stop), (gst_collectpads_peek),
23214 (gst_collectpads_pop), (gst_collectpads_available),
23215 (gst_collectpads_read), (gst_collectpads_flush),
23216 (gst_collectpads_chain):
23217 * gst/base/gstcollectpads.h:
23218 * gst/elements/Makefile.am:
23219 * gst/elements/gstelements.c:
23220 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23221 (gst_fakesink_get_times), (gst_fakesink_event),
23222 (gst_fakesink_preroll), (gst_fakesink_render):
23223 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23224 (gst_filesink_init), (gst_filesink_set_location),
23225 (gst_filesink_open_file), (gst_filesink_close_file),
23226 (gst_filesink_pad_query), (gst_filesink_event),
23227 (gst_filesink_render), (gst_filesink_change_state):
23228 * gst/elements/gstfilesink.h:
23229 Added object to help in making collect pad based elements.
23230 Ported filesink.
23231 Make event function in sink baseclass return gboolean.
23233 2005-05-05 Wim Taymans <wim@fluendo.com>
23235 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23236 (gst_bin_get_by_name):
23237 * gst/gstbuffer.h:
23238 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23239 (gst_clock_finalize):
23240 * gst/gstdata.c: (gst_data_replace):
23241 * gst/gstdata.h:
23242 * gst/gstelement.c: (gst_element_request_pad),
23243 (gst_element_pads_activate):
23244 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23245 (gst_object_unref):
23246 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23247 (gst_pad_set_checkgetrange_function),
23248 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23249 (gst_pad_check_pull_range), (gst_pad_pull_range),
23250 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23251 (gst_pad_pause_task), (gst_pad_stop_task):
23252 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23253 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23254 Fix name lookup in GstBin.
23255 Added _data_replace() function and _buffer_replace()
23256 Use finalize method to clean up clock.
23257 Fix refcounting on request pads.
23258 Fix pad schedule mode error.
23259 Some more object refcounting debug info,
23262 2005-05-04 Andy Wingo <wingo@pobox.com>
23264 * check/Makefile.am:
23265 * docs/gst/tmpl/gstatomic.sgml:
23266 * docs/gst/tmpl/gstplugin.sgml:
23267 * gst/base/gstbasesink.c: (gst_basesink_activate):
23268 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23269 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23270 (gst_basesrc_query), (gst_basesrc_set_property),
23271 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23272 (gst_basesrc_activate):
23273 * gst/base/gstbasesrc.h:
23274 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23275 (gst_base_transform_src_activate):
23276 * gst/elements/gstelements.c:
23277 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23278 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23279 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23280 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23281 (gst_type_find_element_checkgetrange),
23282 (gst_type_find_element_activate):
23283 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23284 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23285 (gst_caps_load_thyself):
23286 * gst/gstelement.c: (gst_element_pads_activate),
23287 (gst_element_save_thyself), (gst_element_restore_thyself):
23288 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23289 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23290 * gst/gstpad.h:
23291 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23292 (gst_xml_parse_file), (gst_xml_parse_memory),
23293 (gst_xml_get_element), (gst_xml_make_element):
23294 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23295 (_file_index_id_save_xml), (gst_file_index_commit):
23296 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23297 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23298 (load_paths):
23299 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23300 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23301 * tools/gst-complete.c: (main):
23302 * tools/gst-compprep.c: (main):
23303 * tools/gst-inspect.c: (print_element_properties_info):
23304 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23305 * tools/gst-xmlinspect.c: (print_element_properties):
23306 GCC 4 fixen.
23308 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23310 * gst/gstplugin.c: (gst_plugin_check_module),
23311 (gst_plugin_check_file), (gst_plugin_load_file):
23312 apply patch from #172526 to make register work on MacOSX
23314 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23316 * docs/gst/tmpl/gstconfig.sgml:
23317 * gst/gstconfig.h.in:
23318 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23319 * testsuite/debug/printf_extension.c: (main):
23320 Do not use GST_PTR_FORMAT on pointers to types with
23321 sizeof < sizeof(gpointer). Fixes test on 64-bit
23322 * testsuite/elements/property.h:
23323 use correct printf format
23325 2005-05-02 Wim Taymans <wim@fluendo.com>
23327 * docs/design/draft-push-pull.txt:
23328 * docs/design/draft-query.txt:
23329 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23330 (gst_basesrc_start):
23331 Added draft for new query API.
23332 Added draft for better selecting scheduling methods.
23333 Make basesrc ignore length if the subclass does not support
23334 it.
23336 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23338 * gst/Makefile.am:
23339 possible fixes for automake-1.5 - _LIBADD is reserved
23341 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23343 * docs/faq/Makefile.am:
23344 * docs/manual/Makefile.am:
23345 * docs/manuals.mak:
23346 * docs/pwg/Makefile.am:
23347 * gst/Makefile.am:
23348 possible fixes for automake-1.5
23350 2005-04-28 Wim Taymans <wim@fluendo.com>
23352 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23353 (gst_basesink_pad_getcaps), (gst_basesink_init),
23354 (gst_basesink_do_sync):
23355 * gst/gstclock.c: (gst_clock_entry_new):
23356 * gst/gstevent.c: (gst_event_discont_get_value):
23357 * gst/gstpipeline.c: (pipeline_bus_handler),
23358 (gst_pipeline_change_state):
23359 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23360 Better debugging of clocking info.
23361 Allow NULL values when getting discont values.
23363 2005-04-27 Wim Taymans <wim@fluendo.com>
23365 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23366 * check/gst/gstpad.c: (gst_pad_suite):
23367 Increase timeout for checks.
23369 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23371 * check/Makefile.am:
23372 fix the broken rule for cleanup. Apparently this rule is
23373 only needed on FC2, so maybe this warrants further autotool
23374 inspection.
23376 2005-04-26 Wim Taymans <wim@fluendo.com>
23378 * gst/gsttrashstack.h:
23379 Ooohh. a nasty one! After having a failed pop() from the stack,
23380 it's possible that the stack is empty. In that case, don't
23381 follow the NULL pointer.
23383 2005-04-25 Wim Taymans <wim@fluendo.com>
23385 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23386 (gst_pad_set_checkgetrange_function),
23387 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23388 (gst_pad_check_pull_range), (gst_pad_pull_range),
23389 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23390 (gst_pad_pause_task), (gst_pad_stop_task):
23391 * gst/gstplugin.c: (gst_plugin_load):
23392 * gst/gstplugin.h:
23393 Remove gst_library_load as it does more harm than good with
23394 the new g_module flags.
23395 Revert bogus caps template check in pad linking, pad caps
23396 are important when linking not the template, which is more
23397 general than the current caps.
23399 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23401 * gst/autoplug/.cvsignore:
23402 * gst/autoplug/Makefile.am:
23403 * gst/autoplug/gstsearchfuncs.c:
23404 * gst/autoplug/gstsearchfuncs.h:
23405 * gst/autoplug/gstspider.c:
23406 * gst/autoplug/gstspider.h:
23407 * gst/autoplug/gstspideridentity.c:
23408 * gst/autoplug/gstspideridentity.h:
23409 * gst/autoplug/spidertest.c:
23410 Die, spider, die.
23412 2005-04-25 Wim Taymans <wim@fluendo.com>
23414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23415 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23416 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23417 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23418 * gst/gstpad.h:
23419 Added stubs for unimplemented functions.
23421 2005-04-24 David Schleef <ds@schleef.org>
23423 * gst/gstpad.h: Disable some unimplemented functions. Wim,
23424 please fix.
23426 2005-04-24 David Schleef <ds@schleef.org>
23428 Convert everything from GstAtomicInt to g_atomic_int_*, and
23429 remove gstatomic.
23430 * gst/Makefile.am:
23431 * gst/gstatomic.c:
23432 * gst/gstatomic.h:
23433 * gst/gstatomic_impl.h:
23434 * gst/gstbuffer.c:
23435 * gst/gstcaps.c:
23436 * gst/gstcaps.h:
23437 * gst/gstclock.c:
23438 * gst/gstclock.h:
23439 * gst/gstdata.c:
23440 * gst/gstdata.h:
23441 * gst/gstdata_private.h:
23442 * gst/gstevent.c:
23443 * gst/gstinfo.c:
23444 * gst/gstinfo.h:
23445 * gst/gstmessage.c:
23446 * gst/gstobject.c:
23447 * gst/gstobject.h:
23448 * gst/gststructure.c:
23449 * gst/gststructure.h:
23450 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23451 * gst/gstutils.h:
23453 2005-04-24 David Schleef <ds@schleef.org>
23455 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23456 make the regressions tests work. Remove some code that is no
23457 longer true.
23458 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23459 Disable warning for pads without templates.
23461 2005-04-24 David Schleef <ds@schleef.org>
23463 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
23464 functions that handle filtered links.
23465 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23466 removed functions.
23467 * gst/gstutils.c: Fix/remove utility functions that handle
23468 filtered caps.
23469 * gst/gstutils.h:
23470 * gst/gstvalue.c: Add serialization/deserialization of caps
23471 * gst/parse/grammar.y: Ignore filtered caps when linking. This
23472 requires fixing so that the filter caps notation creates
23473 a capsfilter element and sets the filter_caps property. I
23474 think everyone probably wants to keep the shorthand notation.
23475 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23476 * docs/gst/tmpl/gstpad.sgml:
23478 * gst/elements/gstelements.c: Register capsfilter element.
23479 * gst/Makefile.am: fix spacing
23480 * docs/random/ds/0.9-suggested-changes: random
23482 2005-04-23 David Schleef <ds@schleef.org>
23484 * gst/elements/Makefile.am:
23485 * gst/elements/gstcapsfilter.c: New element that acts like an
23486 identity, but filters caps. Will eventually replace filtered
23487 caps in pad linking.
23488 * gst/gstutils.c: (gst_element_create_all_pads): New function
23489 to create all the ALWAYS pads that are registered with an
23490 element class. This functionality should eventually be
23491 merged in with GstElement initialization.
23492 * gst/gstutils.h:
23493 * testsuite/trigger/README: part of trigger test code that should
23494 have been checked in a long time ago.
23496 2005-04-23 David Schleef <ds@schleef.org>
23498 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23499 needed with new versions of libtool (nobody will confirm this),
23500 and hard to carry around.
23501 * gst/autoplug/Makefile.am:
23502 * gst/base/Makefile.am:
23503 * gst/elements/Makefile.am:
23504 * gst/indexers/Makefile.am:
23505 * gst/schedulers/Makefile.am:
23506 * libs/gst/bytestream/Makefile.am:
23507 * libs/gst/control/Makefile.am:
23508 * libs/gst/dataprotocol/Makefile.am:
23509 * libs/gst/getbits/Makefile.am:
23511 2005-04-21 Wim Taymans <wim@fluendo.com>
23513 * docs/design/draft-push-pull.txt:
23514 * docs/design/part-MT-refcounting.txt:
23515 * docs/design/part-TODO.txt:
23516 * docs/design/part-caps.txt:
23517 * docs/design/part-events.txt:
23518 * docs/design/part-gstbus.txt:
23519 * docs/design/part-gstpipeline.txt:
23520 * docs/design/part-messages.txt:
23521 * docs/design/part-push-pull.txt:
23522 * docs/design/part-query.txt:
23523 Some more docs.
23525 2005-04-21 Wim Taymans <wim@fluendo.com>
23527 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23528 (gst_message_new), (gst_message_new_error),
23529 (gst_message_new_warning), (gst_message_new_tag),
23530 (gst_message_new_state_changed), (gst_message_new_application),
23531 (gst_message_get_structure):
23532 * gst/gstmessage.h:
23533 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23534 (gst_structure_copy_conditional):
23535 Use parent refcount in GstMessage to ensure GstStructure
23536 consistency.
23537 Cleaned up headers a bit.
23540 2005-04-20 Wim Taymans <wim@fluendo.com>
23542 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23543 (gst_basesink_pad_getcaps), (gst_basesink_init),
23544 (gst_basesink_chain_unlocked):
23545 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23546 (gst_type_find_helper):
23547 * gst/elements/gsttypefindelement.c:
23548 (gst_type_find_element_have_type), (gst_type_find_element_init),
23549 (stop_typefinding), (gst_type_find_element_handle_event),
23550 (find_suggest), (gst_type_find_element_chain),
23551 (gst_type_find_element_checkgetrange),
23552 (gst_type_find_element_getrange), (do_typefind),
23553 (gst_type_find_element_activate):
23554 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23555 (gst_buffer_default_free), (gst_buffer_default_copy),
23556 (gst_buffer_set_caps):
23557 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23558 (gst_caps_replace):
23559 * gst/gstmessage.c: (gst_message_new),
23560 (gst_message_new_state_changed):
23561 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23562 (gst_pad_set_checkgetrange_function),
23563 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23564 (gst_pad_set_caps), (gst_pad_check_pull_range),
23565 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23566 * gst/gstpad.h:
23567 * gst/gsttypefind.c: (gst_type_find_register):
23568 Make gst_caps_replace() work like other _replace() functions.
23569 Use _caps_replace() where possible.
23570 Make sure _message_new() initialises its field.
23571 Add gst_static_pad_template_get_caps()
23574 2005-04-18 Andy Wingo <wingo@pobox.com>
23576 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23577 on the peer, not the pad. I think that was a typo. Pass an extra
23578 arg to see if random access is possible. Activate the pads as
23579 PULL_RANGE if possible.
23581 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23583 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23584 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23585 to PROP_....
23587 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23589 * docs/faq/using.xml:
23590 Add note on gstreamer-properties (#154996).
23592 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23594 * docs/random/bbb/optional-properties:
23595 Some analysis on optional properties.
23597 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23599 * docs/gst/tmpl/gstelementfactory.sgml:
23600 * gst/gstelement.h:
23601 * gst/gstelementfactory.c: (gst_element_factory_init),
23602 (gst_element_factory_cleanup), (gst_element_register),
23603 (__gst_element_factory_add_static_pad_template),
23604 (gst_element_factory_get_static_pad_templates),
23605 (gst_element_factory_can_src_caps),
23606 (gst_element_factory_can_sink_caps):
23607 * gst/registries/Makefile.am:
23608 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23609 (gst_xml_registry_class_init), (gst_xml_registry_init),
23610 (gst_xml_registry_new), (gst_xml_registry_set_property),
23611 (gst_xml_registry_get_property), (get_time), (make_dir),
23612 (gst_xml_registry_get_perms_func),
23613 (plugin_times_older_than_recurse), (plugin_times_older_than),
23614 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23615 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23616 (add_to_char_array), (read_string), (read_uint), (read_enum),
23617 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23618 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23619 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23620 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23621 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23622 (gst_xml_registry_rebuild):
23623 * gst/registries/gstlibxmlregistry.h:
23624 * tools/gst-compprep.c: (main):
23625 * tools/gst-inspect.c: (print_pad_templates_info):
23626 * tools/gst-xmlinspect.c: (print_element_info):
23627 Use libxml2 for registry parsing, use staticpadtemplates in
23628 elementfactories. Makes gst_init() +/- 10x faster.
23630 2005-04-12 Wim Taymans <wim@fluendo.com>
23632 * gst/base/Makefile.am:
23633 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23634 (gst_basesink_pad_getcaps), (gst_basesink_init),
23635 (gst_basesink_event), (gst_basesink_change_state):
23636 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23637 (gst_basesrc_init), (gst_basesrc_query),
23638 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23639 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23640 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23641 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23642 (gst_basesrc_stop), (gst_basesrc_activate),
23643 (gst_basesrc_change_state):
23644 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23645 (helper_find_suggest), (gst_type_find_helper):
23646 * gst/base/gsttypefindhelper.h:
23647 * gst/elements/Makefile.am:
23648 * gst/elements/gstelements.c:
23649 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23650 (gst_fakesink_get_times), (gst_fakesink_event),
23651 (gst_fakesink_preroll), (gst_fakesink_render):
23652 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23653 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23654 (gst_fakesrc_get_property), (gst_fakesrc_create),
23655 (gst_fakesrc_start), (gst_fakesrc_stop):
23656 * gst/elements/gstfakesrc.h:
23657 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23658 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23659 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23660 (gst_filesrc_create_read), (gst_filesrc_create),
23661 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23662 (gst_filesrc_start):
23663 * gst/elements/gsttypefindelement.c:
23664 (gst_type_find_element_have_type), (gst_type_find_element_init),
23665 (start_typefinding), (stop_typefinding), (push_buffer_store),
23666 (gst_type_find_element_handle_event),
23667 (gst_type_find_element_chain),
23668 (gst_type_find_element_checkgetrange),
23669 (gst_type_find_element_getrange), (do_typefind),
23670 (gst_type_find_element_activate),
23671 (gst_type_find_element_change_state):
23672 * gst/elements/gsttypefindelement.h:
23673 * gst/gstpipeline.c: (pipeline_bus_handler):
23674 Added typefind helper.
23675 Small preroll fix in the base sink.
23676 Disable typefind code in basesrc.
23677 Crude port of typefindelement.
23678 Fakesrc cleanups.
23681 2005-04-11 Wim Taymans <wim@fluendo.com>
23683 * check/gst/gstbus.c: (gstbus_suite):
23684 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23685 * check/gstcheck.h:
23686 Fix up the timeout so that the test does not fail.
23688 2005-04-06 Wim Taymans <wim@fluendo.com>
23690 * gst/base/README:
23691 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23692 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23693 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23694 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23695 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23696 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23697 (gst_basesrc_stop), (gst_basesrc_activate),
23698 (gst_basesrc_change_state), (basesrc_find_peek),
23699 (basesrc_find_suggest), (gst_basesrc_type_find):
23700 * gst/base/gstbasesrc.h:
23701 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23702 (gst_filesrc_class_init), (gst_filesrc_init),
23703 (gst_filesrc_finalize), (gst_filesrc_set_location),
23704 (gst_filesrc_set_property), (gst_filesrc_get_property),
23705 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23706 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23707 (gst_filesrc_create_read), (gst_filesrc_create),
23708 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23709 * gst/elements/gstfilesrc.h:
23710 * gst/gstelement.c: (gst_element_get_state_func),
23711 (gst_element_lost_state), (gst_element_pads_activate):
23712 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23713 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23714 (gst_pad_pull_range):
23715 * gst/gstpad.h:
23716 More work on the generic source base class, implement seeking,
23717 query.
23718 Make filesrc extend the base source class.
23719 Added gst_pad_set_checkgetrange_function to GstPad.
23721 2005-04-06 Andy Wingo <wingo@pobox.com>
23723 * pkgconfig/gstreamer-base.pc.in:
23724 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23726 * pkgconfig/Makefile.am:
23727 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23729 2005-04-04 Wim Taymans <wim@fluendo.com>
23731 * gst/base/Makefile.am:
23732 * gst/base/README:
23733 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23734 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23735 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23736 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23737 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23738 (gst_basesrc_base_init), (gst_basesrc_class_init),
23739 (gst_basesrc_init), (gst_basesrc_get_formats),
23740 (gst_basesrc_get_query_types), (gst_basesrc_query),
23741 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23742 (gst_basesrc_set_property), (gst_basesrc_get_property),
23743 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23744 (gst_basesrc_loop), (gst_basesrc_activate),
23745 (gst_basesrc_change_state):
23746 * gst/base/gstbasesrc.h:
23747 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23748 (gst_fakesrc_class_init), (gst_fakesrc_init),
23749 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23750 (gst_fakesrc_get_property), (gst_fakesrc_create):
23751 * gst/elements/gstfakesrc.h:
23752 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23753 (gst_filesrc_open_file), (gst_filesrc_loop),
23754 (gst_filesrc_activate), (filesrc_find_peek),
23755 (gst_filesrc_type_find):
23756 Made base source class, make fakesrc extend it.
23757 Add comments to basesink class.
23758 Some filesrc cleanup.
23760 2005-03-31 David Schleef <ds@schleef.org>
23762 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23763 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23764 expected to link against libgstreamer.
23765 * gst/base/Makefile.am: link against libgstreamer
23766 * gst/elements/Makefile.am: same
23768 2005-03-31 Andy Wingo <wingo@pobox.com>
23770 * tests/instantiate/Makefile.am:
23771 * tests/instantiate/caps.c: Add test to test speed of caps copy
23772 and free.
23774 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23775 GMemChunk to be fair.
23777 * gst/gsttrashstack.h: Remove warning about using the fallback
23778 trash stack implementation, it's still faster than malloc.
23780 2005-03-30 Andy Wingo <wingo@pobox.com>
23782 * tests/complexity.c: Add a copyright.
23784 2005-03-31 Wim Taymans <wim@fluendo.com>
23786 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23787 (gst_base_transform_class_init), (gst_base_transform_init),
23788 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23789 (gst_base_transform_get_property),
23790 (gst_base_transform_sink_activate),
23791 (gst_base_transform_src_activate),
23792 (gst_base_transform_change_state):
23793 * gst/base/gstbasetransform.h:
23794 * gst/elements/gstidentity.c: (gst_identity_class_init),
23795 (gst_identity_event), (gst_identity_check_perfect),
23796 (gst_identity_transform), (gst_identity_start),
23797 (gst_identity_stop):
23798 Added start/stop methods to transform base class so subclasses
23799 don't need to deal with state changes even.
23801 2005-03-31 Wim Taymans <wim@fluendo.com>
23803 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23804 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23805 * gst/gstevent.h:
23806 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23807 (gst_pad_pull_range):
23808 Added rate to the discont event to prepare for variable speed
23809 and reverse playback.
23811 2005-03-29 David Schleef <ds@schleef.org>
23813 * configure.ac:
23814 * testsuite/trigger/Makefile.am:
23815 * testsuite/trigger/trigger.c: A little example program to show
23816 how trigger-based elements can work.
23818 2005-03-29 Wim Taymans <wim@fluendo.com>
23820 * gst/base/Makefile.am:
23821 * gst/base/README:
23822 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23823 (gst_basesink_base_init), (gst_basesink_class_init),
23824 (gst_basesink_pad_getcaps), (gst_basesink_init),
23825 (gst_basesink_activate), (gst_basesink_change_state):
23826 * gst/base/gstbasesink.h:
23827 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23828 (gst_base_transform_base_init), (gst_base_transform_finalize),
23829 (gst_base_transform_class_init), (gst_base_transform_init),
23830 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23831 (gst_base_transform_event), (gst_base_transform_getrange),
23832 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23833 (gst_base_transform_set_property),
23834 (gst_base_transform_get_property),
23835 (gst_base_transform_sink_activate),
23836 (gst_base_transform_src_activate),
23837 (gst_base_transform_change_state):
23838 * gst/base/gstbasetransform.h:
23839 * gst/elements/gstidentity.c: (gst_identity_finalize),
23840 (gst_identity_class_init), (gst_identity_init),
23841 (gst_identity_event), (gst_identity_check_perfect),
23842 (gst_identity_transform), (gst_identity_set_property),
23843 (gst_identity_get_property), (gst_identity_change_state):
23844 * gst/elements/gstidentity.h:
23845 * gst/gstelement.c: (gst_element_get_state_func),
23846 (gst_element_lost_state), (gst_element_pads_activate):
23847 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23848 (gst_pad_check_pull_range), (gst_pad_pull_range):
23849 * gst/gstpad.h:
23850 Simplify pad activation.
23851 Added function to check if pull_range can be performed.
23852 Error out when pulling inactive or flushing pads.
23853 Removed const from refcounted types as it does not make sense.
23854 Simplify pad templates in basesink
23855 Added base class for simple 1-to-1 transforms.
23856 Make identity subclass the base transform.
23858 2005-03-29 Andy Wingo <wingo@pobox.com>
23860 * docs/libs/gstreamer-libs-overrides.txt:
23861 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23862 really don't understand what's going on, but like whatever. I want
23863 green buildbot!
23865 * docs/gst/Makefile.am:
23866 * docs/libs/Makefile.am: Dist the overrides files.
23868 * check/Makefile.am (clean-local): Remove .libs directories.
23870 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23871 elements to EXTRA_DIST, so po/ files are happy.
23873 * po/POTFILES.in: Er, remove it here.
23875 * po/POTFILES: Remove gstspider.c.
23877 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23879 * docs/libs/gstreamer-libs-docs.sgml:
23880 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23881 bytestream.
23883 * tests/complexity.c (main): Set the length of the preroll queue
23884 on the sinks to prevent a lockup.
23886 * libs/gst/dataprotocol/Makefile.am:
23887 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23888 the same as the one in check/gst-libs/gdp.c.
23890 * po/, docs/gst/: Commit automatic changes to docs and po files.
23892 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23893 the versioned libgstbase.
23895 * check/Makefile.am: Depend on an unversioned gst-register, seems
23896 to make autoconf happier.
23898 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23900 2005-03-28 Wim Taymans <wim@fluendo.com>
23902 * configure.ac:
23903 * docs/design/part-gstelement.txt:
23904 * docs/design/part-negotiation.txt:
23905 * docs/design/part-preroll.txt:
23906 * docs/design/part-scheduling.txt:
23907 * docs/design/part-states.txt:
23908 * gst/Makefile.am:
23909 * gst/base/Makefile.am:
23910 * gst/base/README:
23911 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23912 (gst_basesink_base_init), (gst_basesink_class_init),
23913 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23914 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23915 (gst_basesink_set_pad_functions),
23916 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23917 (gst_basesink_set_property), (gst_basesink_get_property),
23918 (gst_base_sink_get_template), (gst_base_sink_get_caps),
23919 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23920 (gst_basesink_preroll_queue_push),
23921 (gst_basesink_preroll_queue_empty),
23922 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23923 (gst_basesink_event), (gst_basesink_get_times),
23924 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23925 (gst_basesink_chain_unlocked), (gst_basesink_chain),
23926 (gst_basesink_loop), (gst_basesink_activate),
23927 (gst_basesink_change_state):
23928 * gst/base/gstbasesink.h:
23929 * gst/elements/Makefile.am:
23930 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23931 (gst_fakesink_class_init), (gst_fakesink_init),
23932 (gst_fakesink_set_property), (gst_fakesink_get_property),
23933 (gst_fakesink_get_times), (gst_fakesink_event),
23934 (gst_fakesink_preroll), (gst_fakesink_render),
23935 (gst_fakesink_change_state):
23936 * gst/elements/gstfakesink.h:
23937 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23938 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23939 * gst/gstelement.c: (gst_element_add_pad),
23940 (gst_element_get_state_func), (gst_element_abort_state),
23941 (gst_element_commit_state), (gst_element_lost_state),
23942 (gst_element_set_state), (gst_element_pads_activate):
23943 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23944 * gst/gstpipeline.c: (gst_pipeline_send_event),
23945 (gst_pipeline_change_state):
23946 Added state change code.
23947 Added/updated docs.
23948 Added sink base class, make fakesink extend the base class.
23949 Small cleanups in GstPipeline.
23951 2005-03-26 David Schleef <ds@schleef.org>
23953 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
23954 is broken and should be implemented in a different library.
23955 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23956 * gst/gst.h: remove gstcpu.h
23957 * gst/gstcpu.c: remove
23958 * gst/gstcpu.h: remove
23959 * gst/Makefile.am.future: Remove this file. It's ancient.
23961 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23963 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23964 (gst_bin_send_event):
23965 Add default event/set_manager handlers. The set_manager handler
23966 takes care that the manager is distributed over kids that were
23967 already in the bin before the manager was set. The event handler
23968 is a utility virtual function that sends the event over all sinks,
23969 so that gst_element_send_event (bin, event); has the expected
23970 behaviour.
23971 * gst/gstpad.c: (gst_pad_event_default):
23972 Re-install default event handling for discontinuities, so that
23973 seeking works without requiring hacks in applications or extra
23974 code in sinks.
23975 * gst/gstpipeline.c: (gst_pipeline_class_init),
23976 (gst_pipeline_send_event):
23977 Half hack, half utility: set a pipeline to PAUSED for seek events,
23978 since that is the only way we can guarantee a/v sync. Means that
23979 you can do gst_element_seek (pipeline, method, pos); on a pipeline
23980 and it "just works".
23982 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23984 * gst/gstpipeline.c: (gst_pipeline_use_clock):
23985 Lock/unlock mismatch.
23987 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
23989 * docs/faq/gst-uninstalled:
23990 add gst-plugins-base
23991 * docs/gst/Makefile.am:
23992 don't error out until docs are fixed
23993 * docs/gst/gstreamer.types:
23994 remove thread
23996 2005-03-22 Wim Taymans <wim@fluendo.com>
23998 * check/Makefile.am:
23999 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24000 * gst/gststructure.c: (gst_structure_set_valist),
24001 (gst_structure_copy_conditional):
24002 Activated more tests.
24003 Added message test.
24004 Added G_TYPE_POINTER to GstStructure.
24007 2005-03-22 Wim Taymans <wim@fluendo.com>
24009 * docs/design/part-TODO.txt:
24010 * docs/design/part-events.txt:
24011 * docs/design/part-gstbin.txt:
24012 * docs/design/part-gstbus.txt:
24013 * docs/design/part-gstpipeline.txt:
24014 * docs/design/part-messages.txt:
24015 * gst/gstbus.c:
24016 * gst/gstmessage.c:
24017 Docs updates
24019 2005-03-21 Wim Taymans <wim@fluendo.com>
24021 * gst/gstbus.c: (gst_bus_post):
24022 Fix copy-and-paste error.
24024 2005-03-21 Wim Taymans <wim@fluendo.com>
24026 * check/Makefile.am:
24027 * gst/Makefile.am:
24028 * gst/elements/Makefile.am:
24029 * gst/elements/gstelements.c:
24030 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24031 (gst_fakesink_event), (gst_fakesink_chain):
24032 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24033 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24034 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24035 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24036 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24037 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24038 (gst_fakesrc_loop), (gst_fakesrc_activate),
24039 (gst_fakesrc_change_state):
24040 * gst/elements/gstfakesrc.h:
24041 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24042 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24043 (gst_filesrc_open_file), (gst_filesrc_loop),
24044 (gst_filesrc_activate), (gst_filesrc_change_state),
24045 (filesrc_find_peek), (filesrc_find_suggest),
24046 (gst_filesrc_type_find):
24047 * gst/elements/gstidentity.c: (gst_identity_finalize),
24048 (gst_identity_class_init), (gst_identity_init),
24049 (gst_identity_proxy_getcaps), (identity_queue_push),
24050 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24051 (gst_identity_getrange), (gst_identity_chain),
24052 (gst_identity_sink_loop), (gst_identity_src_loop),
24053 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24054 (gst_identity_set_property), (gst_identity_get_property),
24055 (gst_identity_change_state):
24056 * gst/elements/gstidentity.h:
24057 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24058 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24059 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24060 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24061 (gst_tee_sink_activate):
24062 * gst/elements/gsttee.h:
24063 * gst/gst.c: (gst_register_core_elements), (init_post):
24064 * gst/gst.h:
24065 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24066 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24067 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24068 (gst_bin_change_state):
24069 * gst/gstbin.h:
24070 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24071 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24072 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24073 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24074 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24075 (bus_watch_callback), (bus_watch_destroy),
24076 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24077 (poll_timeout), (gst_bus_poll):
24078 * gst/gstbus.h:
24079 * gst/gstcaps.h:
24080 * gst/gstdata.h:
24081 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24082 (gst_element_post_message), (gst_element_message_full),
24083 (gst_element_get_state_func), (gst_element_get_state),
24084 (gst_element_abort_state), (gst_element_commit_state),
24085 (gst_element_lost_state), (gst_element_set_state),
24086 (gst_element_pads_activate), (gst_element_change_state),
24087 (gst_element_dispose), (gst_element_set_manager_func),
24088 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24089 (gst_element_set_manager), (gst_element_get_manager),
24090 (gst_element_set_bus), (gst_element_get_bus),
24091 (gst_element_set_scheduler), (gst_element_get_scheduler):
24092 * gst/gstelement.h:
24093 * gst/gstevent.c: (gst_event_new_segment_seek),
24094 (gst_event_new_flush):
24095 * gst/gstevent.h:
24096 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24097 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24098 (gst_message_new_eos), (gst_message_new_error),
24099 (gst_message_new_warning), (gst_message_new_tag),
24100 (gst_message_new_state_changed), (gst_message_new_application),
24101 (gst_message_get_structure), (gst_message_parse_tag),
24102 (gst_message_parse_state_changed), (gst_message_parse_error),
24103 (gst_message_parse_warning):
24104 * gst/gstmessage.h:
24105 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24106 (gst_real_pad_set_property), (gst_pad_set_active),
24107 (gst_pad_is_active), (gst_pad_set_blocked_async),
24108 (gst_pad_set_blocked), (gst_pad_is_blocked),
24109 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24110 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24111 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24112 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24113 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24114 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24115 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24116 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24117 (gst_pad_set_caps), (gst_pad_configure_sink),
24118 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24119 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24120 (gst_real_pad_dispose), (gst_real_pad_finalize),
24121 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24122 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24123 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24124 * gst/gstpad.h:
24125 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24126 (pipeline_bus_handler), (gst_pipeline_change_state),
24127 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24128 * gst/gstpipeline.h:
24129 * gst/gstprobe.h:
24130 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24131 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24132 (gst_queue_link_src), (gst_queue_bufferalloc),
24133 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24134 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24135 (gst_queue_loop), (gst_queue_handle_src_event),
24136 (gst_queue_handle_src_query), (gst_queue_src_activate),
24137 (gst_queue_change_state):
24138 * gst/gstqueue.h:
24139 * gst/gstscheduler.c: (gst_scheduler_init),
24140 (gst_scheduler_dispose), (gst_scheduler_create_task),
24141 (gst_scheduler_factory_create):
24142 * gst/gstscheduler.h:
24143 * gst/gststructure.c: (gst_structure_get_type),
24144 (gst_structure_copy_conditional):
24145 * gst/gststructure.h:
24146 * gst/gsttaginterface.h:
24147 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24148 (gst_task_init), (gst_task_dispose), (gst_task_create),
24149 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24150 (gst_task_pause):
24151 * gst/gsttask.h:
24152 * gst/gstthread.c:
24153 * gst/gstthread.h:
24154 * gst/gsttypes.h:
24155 * gst/schedulers/Makefile.am:
24156 * gst/schedulers/cothreads_compat.h:
24157 * gst/schedulers/entryscheduler.c:
24158 * gst/schedulers/faircothreads.c:
24159 * gst/schedulers/faircothreads.h:
24160 * gst/schedulers/fairscheduler.c:
24161 * gst/schedulers/gstbasicscheduler.c:
24162 * gst/schedulers/gstoptimalscheduler.c:
24163 * gst/schedulers/gthread-cothreads.h:
24164 * gst/schedulers/threadscheduler.c:
24165 (gst_thread_scheduler_task_get_type),
24166 (gst_thread_scheduler_task_class_init),
24167 (gst_thread_scheduler_task_init),
24168 (gst_thread_scheduler_task_start),
24169 (gst_thread_scheduler_task_stop),
24170 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24171 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24172 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24173 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24174 (plugin_init):
24175 * libs/gst/Makefile.am:
24176 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24177 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24178 (gst_file_pad_parent_set):
24179 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24180 (gst_dp_event_from_packet):
24181 * tests/complexity.c: (main):
24182 * tests/mass_elements.c: (main):
24183 * testsuite/states/locked.c: (message_received), (main):
24184 * testsuite/states/parent.c: (main):
24185 * tools/gst-inspect.c: (print_element_flag_info),
24186 (print_implementation_info), (print_pad_info):
24187 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24188 (main):
24189 * tools/gst-md5sum.c: (event_loop), (main):
24190 * tools/gst-typefind.c: (main):
24191 * tools/gst-xmlinspect.c: (print_element_info):
24192 Next big merge.
24193 Added GstBus for mainloop integration.
24194 Added GstMessage for sending notifications on the bus.
24195 Added GstTask as an abstraction for pipeline entry points.
24196 Removed GstThread.
24197 Removed Schedulers.
24198 Simplified GstQueue for multithreaded core.
24199 Made _link threadsafe, removed old capsnego.
24200 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24201 Added pad blocking functions.
24202 Reworked scheduling functions in GstPad to prepare for
24203 scheduling updates soon.
24204 Moved events out of data stream.
24205 Simplified GstEvent types.
24206 Added return values to push/pull.
24207 Removed clocking from GstElement.
24208 Added prototypes for state change function for next merge.
24209 Removed iterate from bins and state change management.
24210 Fixed some elements, disabled others for now.
24211 Fixed -inspect and -launch.
24212 Added check for GstBus.
24214 2005-03-10 Wim Taymans <wim@fluendo.com>
24216 * docs/design/part-MT-refcounting.txt:
24217 * docs/design/part-clocks.txt:
24218 * docs/design/part-gstelement.txt:
24219 * docs/design/part-gstobject.txt:
24220 * docs/design/part-standards.txt:
24221 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24222 (gst_bin_remove_func), (gst_bin_remove):
24223 * gst/gstbin.h:
24224 * gst/gstbuffer.c:
24225 * gst/gstcaps.h:
24226 * testsuite/clock/clock1.c: (main):
24227 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24228 (main):
24229 * testsuite/dlopen/loadgst.c: (do_test):
24230 * testsuite/refcounting/bin.c: (add_remove_test1),
24231 (add_remove_test2), (main):
24232 * testsuite/refcounting/element.c: (main):
24233 * testsuite/refcounting/element_pad.c: (main):
24234 * testsuite/refcounting/pad.c: (main):
24235 * tools/gst-launch.c: (sigint_handler_sighandler):
24236 * tools/gst-typefind.c: (main):
24237 Doc updates.
24238 Added doc about clock.
24239 removed gst_bin_iterate_recurse_up(), marked methods
24240 for removal.
24241 Fix more testsuites.
24243 2005-03-09 Wim Taymans <wim@fluendo.com>
24245 * gst/gstpad.c: (gst_pad_get_direction),
24246 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24247 (gst_pad_collect_valist):
24248 * testsuite/bins/interface.c: (main):
24249 * testsuite/caps/audioscale.c: (test_caps):
24250 * testsuite/caps/caps.c: (test1), (test2), (test3):
24251 * testsuite/caps/deserialize.c: (main):
24252 * testsuite/caps/enumcaps.c: (main):
24253 * testsuite/caps/filtercaps.c: (main):
24254 * testsuite/caps/intersect2.c: (main):
24255 * testsuite/caps/random.c: (main):
24256 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24257 * testsuite/caps/sets.c: (check_caps):
24258 * testsuite/caps/simplify.c: (check_caps), (main):
24259 * testsuite/caps/subtract.c: (check_caps):
24260 Fix _pad_get_direction wrt ghostpads.
24261 Fix caps testsuite.
24263 2005-03-09 Wim Taymans <wim@fluendo.com>
24265 * check/Makefile.am:
24266 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24267 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24268 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24269 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24270 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24271 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24272 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24273 (bin_element_is_sink), (gst_bin_iterate_sinks),
24274 (gst_bin_iterate_all_by_interface):
24275 * gst/gstbin.h:
24276 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24277 (gst_element_change_state), (gst_element_dispose),
24278 (gst_element_finalize), (gst_element_set_loop_function):
24279 * gst/gstelement.h:
24280 * gst/gstiterator.c: (find_custom_fold_func):
24281 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24282 (gst_pad_collectv), (gst_pad_collect_valist),
24283 (gst_pad_template_new):
24284 * gst/gstpipeline.c: (gst_pipeline_class_init),
24285 (gst_pipeline_dispose), (gst_pipeline_set_property),
24286 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24287 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24288 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24289 * gst/gstutils.h:
24290 * gst/schedulers/entryscheduler.c:
24291 * gst/schedulers/gstbasicscheduler.c:
24292 (gst_basic_scheduler_cothreaded_chain),
24293 (gst_basic_scheduler_chain_add_element):
24294 * testsuite/bins/interface.c: (main):
24295 Added GstBin test.
24296 Added GstSystemClock test.
24297 Implemented clock distribution code in GstBin.
24298 Implemented iterate sinks method for future use.
24299 Rearranged gstelement.h
24300 Fix GstIterator comparison bug.
24301 Moved some code to GstPipeline, mostly clocking related.
24303 2005-03-09 Wim Taymans <wim@fluendo.com>
24305 * configure.ac:
24306 * gst/gst_private.h:
24307 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24308 (gst_bin_remove_func), (gst_bin_remove),
24309 (gst_bin_get_by_name_recurse_up):
24310 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24311 (gst_clock_id_compare_func), (gst_clock_id_wait),
24312 (gst_clock_id_wait_async), (gst_clock_init),
24313 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24314 * gst/gstelement.h:
24315 * gst/gstinfo.c: (_gst_debug_init):
24316 * gst/gstobject.h:
24317 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24318 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24319 * gst/gstpad.h:
24320 Bump version number, we're now 0.9.0
24321 Add future debugging category.
24322 Fix NULL _unref() in _get_by_name_recurse_up
24323 Rearrange gstpad.h.
24324 Update some docs.
24326 2005-03-08 Wim Taymans <wim@fluendo.com>
24328 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24329 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24330 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24331 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24332 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24333 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24334 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24335 * gst/elements/gstidentity.c: (gst_identity_class_init):
24336 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24337 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24338 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24339 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24340 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24341 (gst_tee_link):
24342 * gst/gstelement.c: (gst_element_class_init),
24343 (gst_element_base_class_init), (gst_element_init),
24344 (gst_element_get_random_pad), (gst_element_wait_state_change),
24345 (gst_element_change_state), (gst_element_dispose),
24346 (gst_element_finalize), (gst_element_set_loop_function):
24347 * gst/gstelement.h:
24348 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24349 * gst/gstthread.c: (gst_thread_class_init),
24350 (gst_thread_release_children_locks), (gst_thread_change_state):
24351 * gst/schedulers/gstbasicscheduler.c:
24352 (gst_basic_scheduler_loopfunc_wrapper),
24353 (gst_basic_scheduler_chain_wrapper),
24354 (gst_basic_scheduler_src_wrapper),
24355 (gst_basic_scheduler_remove_element):
24356 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24357 Remove threadsafe properties. Fix elements because GObject
24358 complains when installing a property before declaring a
24359 set/get_property handler.
24360 Rearrange gstelement.h file, use STATE macros for state locks.
24361 Free mutexes in the finalize method instead of dispose.
24363 2005-03-08 Wim Taymans <wim@fluendo.com>
24365 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24366 * gst/gstthread.c: (gst_thread_release_children_locks):
24367 Added parentage check.
24368 Fix build og GstThread again.
24370 2005-03-08 Wim Taymans <wim@fluendo.com>
24372 * docs/design/part-MT-refcounting.txt:
24373 * docs/design/part-conventions.txt:
24374 * docs/design/part-gstobject.txt:
24375 * docs/design/part-relations.txt:
24376 * docs/design/part-standards.txt:
24377 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24378 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24379 (gst_bin_get_by_name), (gst_bin_get_by_interface),
24380 (gst_bin_iterate_all_by_interface):
24381 * gst/gstbuffer.h:
24382 * gst/gstclock.h:
24383 * gst/gstelement.c: (gst_element_class_init),
24384 (gst_element_change_state), (gst_element_set_loop_function):
24385 * gst/gstelement.h:
24386 * gst/gstiterator.c:
24387 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24388 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24389 (gst_object_dispatch_properties_changed), (gst_object_set_name),
24390 (gst_object_set_parent), (gst_object_unparent),
24391 (gst_object_check_uniqueness):
24392 * gst/gstobject.h:
24393 Docs updates, clean up some headers.
24395 2005-03-07 Wim Taymans <wim@fluendo.com>
24397 * check/.cvsignore:
24398 * check/Makefile.am:
24399 * check/gst-libs/.cvsignore:
24400 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24401 * check/gst/.cvsignore:
24402 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24403 (START_TEST), (gstbus_suite), (main):
24404 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24405 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24406 (gst_data_suite), (main):
24407 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24408 (add_fold_func), (gstiterator_suite), (main):
24409 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24410 (thread_name_object), (thread_name_object_default),
24411 (gst_object_name_compare), (gst_object_suite), (main):
24412 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24413 (gst_pad_suite), (main):
24414 * check/gstcheck.c: (gst_check_log_message_func),
24415 (gst_check_log_critical_func), (gst_check_init):
24416 * check/gstcheck.h:
24417 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24418 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24419 Added checks.
24421 2005-03-07 Wim Taymans <wim@fluendo.com>
24423 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24424 (gst_list_iterator_next), (gst_list_iterator_resync),
24425 (gst_list_iterator_free), (gst_iterator_new_list),
24426 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24427 (gst_iterator_free), (gst_iterator_push), (filter_next),
24428 (filter_resync), (filter_uninit), (filter_free),
24429 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24430 (gst_iterator_foreach), (find_custom_fold_func),
24431 (gst_iterator_find_custom):
24432 * gst/gstiterator.h:
24433 Added missing files.
24435 2005-03-07 Wim Taymans <wim@fluendo.com>
24437 * Makefile.am:
24438 * configure.ac:
24439 * docs/design/part-MT-refcounting.txt:
24440 * docs/design/part-conventions.txt:
24441 * docs/design/part-gstobject.txt:
24442 * docs/design/part-relations.txt:
24443 * examples/mixer/mixer.c: (main):
24444 * examples/thread/thread.c: (eos), (main):
24445 * gst/Makefile.am:
24446 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24447 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24448 (gst_spider_plug_from_srcpad):
24449 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24450 (gst_spider_identity_change_state),
24451 (gst_spider_identity_sink_loop_type_finding):
24452 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24453 * gst/elements/gstidentity.c: (gst_identity_init):
24454 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24455 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24456 * gst/elements/gsttypefindelement.c: (free_entry):
24457 * gst/gst.c:
24458 * gst/gst.h:
24459 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24460 (gst_bin_set_clock_func), (gst_bin_auto_clock),
24461 (gst_bin_set_index), (gst_bin_set_element_sched),
24462 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24463 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24464 (gst_bin_iterate_elements), (iterate_child_recurse),
24465 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24466 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24467 (compare_interface), (gst_bin_get_by_interface),
24468 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24469 * gst/gstbin.h:
24470 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24471 (gst_buffer_default_free), (gst_buffer_default_copy),
24472 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24473 (gst_buffer_create_sub):
24474 * gst/gstbuffer.h:
24475 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24476 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24477 (gst_caps_unref), (gst_static_caps_get),
24478 (gst_caps_remove_and_get_structure), (gst_caps_append),
24479 (gst_caps_append_structure), (gst_caps_remove_structure),
24480 (gst_caps_copy_nth), (gst_caps_set_simple),
24481 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24482 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24483 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24484 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24485 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24486 (gst_caps_structure_figure_out_union),
24487 (gst_caps_switch_structures), (gst_caps_do_simplify),
24488 (gst_caps_replace), (gst_caps_from_string),
24489 (gst_caps_copy_conditional):
24490 * gst/gstcaps.h:
24491 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24492 (_gst_clock_id_free), (gst_clock_id_unref),
24493 (gst_clock_id_compare_func), (gst_clock_id_wait),
24494 (gst_clock_id_wait_async), (gst_clock_class_init),
24495 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24496 (gst_clock_get_time), (gst_clock_set_time_adjust),
24497 (gst_clock_set_property), (gst_clock_get_property):
24498 * gst/gstclock.h:
24499 * gst/gstcompat.h:
24500 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24501 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24502 * gst/gstdata.h:
24503 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24504 (gst_element_requires_clock), (gst_element_provides_clock),
24505 (gst_element_set_clock), (gst_element_clock_wait),
24506 (gst_element_wait), (gst_element_set_time_delay),
24507 (gst_element_is_indexable), (gst_element_add_pad),
24508 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24509 (pad_compare_name), (gst_element_get_static_pad),
24510 (gst_element_request_pad), (gst_element_get_request_pad),
24511 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24512 (gst_element_class_get_pad_template_list),
24513 (gst_element_class_get_pad_template), (gst_element_error_func),
24514 (gst_element_get_random_pad), (gst_element_get_event_masks),
24515 (gst_element_send_event), (gst_element_seek),
24516 (gst_element_get_query_types), (gst_element_query),
24517 (gst_element_get_formats), (gst_element_convert),
24518 (gst_element_is_locked_state), (gst_element_set_locked_state),
24519 (gst_element_sync_state_with_parent), (gst_element_change_state),
24520 (gst_element_finalize), (gst_element_yield),
24521 (gst_element_interrupt), (gst_element_set_scheduler),
24522 (gst_element_get_scheduler), (gst_element_set_loop_function):
24523 * gst/gstelement.h:
24524 * gst/gstevent.h:
24525 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24526 (gst_format_get_by_nick), (gst_format_get_details),
24527 (gst_format_iterate_definitions):
24528 * gst/gstformat.h:
24529 * gst/gstindex.c: (gst_index_gtype_resolver):
24530 * gst/gstinfo.c:
24531 * gst/gstinfo.h:
24532 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24533 (gst_mem_chunk_free):
24534 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24535 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24536 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24537 (gst_object_dispatch_properties_changed),
24538 (gst_object_set_name_default), (gst_object_set_name),
24539 (gst_object_get_name), (gst_object_set_name_prefix),
24540 (gst_object_get_name_prefix), (gst_object_set_parent),
24541 (gst_object_get_parent), (gst_object_unparent),
24542 (gst_object_check_uniqueness), (gst_object_save_thyself),
24543 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24544 (gst_object_set_property), (gst_object_get_property),
24545 (gst_object_get_path_string):
24546 * gst/gstobject.h:
24547 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24548 (gst_real_pad_init), (gst_real_pad_get_property),
24549 (gst_pad_custom_new), (gst_pad_get_direction),
24550 (gst_pad_set_active), (gst_pad_is_active),
24551 (gst_pad_set_event_function), (gst_pad_is_linked),
24552 (gst_pad_link_free), (gst_pad_link_intersect),
24553 (gst_pad_link_fixate), (gst_pad_set_caps),
24554 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24555 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24556 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24557 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24558 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24559 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24560 (gst_pad_realize), (gst_pad_get_allowed_caps),
24561 (gst_real_pad_dispose), (gst_real_pad_finalize),
24562 (gst_pad_collectv), (gst_pad_collect_valist),
24563 (gst_pad_template_dispose), (gst_pad_template_new),
24564 (gst_pad_get_internal_links):
24565 * gst/gstpad.h:
24566 * gst/gstpipeline.c: (gst_pipeline_dispose),
24567 (gst_pipeline_change_state):
24568 * gst/gstpipeline.h:
24569 * gst/gstplugin.c:
24570 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24571 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24572 * gst/gstpluginfeature.h:
24573 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24574 * gst/gstquery.c: (_gst_query_type_initialize),
24575 (gst_query_type_register), (gst_query_type_get_by_nick),
24576 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24577 * gst/gstquery.h:
24578 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24579 * gst/gstscheduler.c: (gst_scheduler_add_element),
24580 (gst_scheduler_factory_create):
24581 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24582 (gst_structure_free), (gst_structure_set_name),
24583 (gst_structure_id_set_value), (gst_structure_set_value),
24584 (gst_structure_set_valist), (gst_structure_remove_field),
24585 (gst_structure_remove_fields),
24586 (gst_structure_remove_fields_valist),
24587 (gst_structure_remove_all_fields), (gst_structure_foreach),
24588 (gst_structure_map_in_place),
24589 (gst_caps_structure_fixate_field_nearest_int),
24590 (gst_caps_structure_fixate_field_nearest_double):
24591 * gst/gststructure.h:
24592 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24593 (gst_system_clock_init), (gst_system_clock_dispose),
24594 (gst_system_clock_async_thread),
24595 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24596 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24597 * gst/gstsystemclock.h:
24598 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24599 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24600 * gst/gsttaginterface.c:
24601 * gst/gstthread.c: (gst_thread_dispose),
24602 (gst_thread_release_children_locks), (gst_thread_change_state),
24603 (gst_thread_main_loop):
24604 * gst/gsttrashstack.h:
24605 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24606 * gst/gsttypes.h:
24607 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24608 (gst_element_request_pad), (gst_element_get_pad_from_template),
24609 (gst_element_request_compatible_pad),
24610 (gst_element_get_compatible_pad_filtered),
24611 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24612 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24613 (gst_element_link_many), (gst_element_link),
24614 (gst_element_link_pads), (gst_element_unlink_pads),
24615 (gst_element_unlink_many), (gst_element_unlink),
24616 (gst_pad_can_link_filtered), (gst_pad_can_link),
24617 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24618 (gst_object_default_error), (gst_bin_add_many),
24619 (gst_bin_remove_many), (gst_element_populate_std_props),
24620 (gst_element_class_install_std_props), (gst_buffer_merge),
24621 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24622 (link_fold_func), (gst_pad_proxy_setcaps):
24623 * gst/gstutils.h:
24624 * gst/gstvalue.c: (gst_value_deserialize_string):
24625 * gst/parse/grammar.y:
24626 * gst/schedulers/gstbasicscheduler.c:
24627 (gst_basic_scheduler_cothreaded_chain),
24628 (gst_basic_scheduler_chain_recursive_add),
24629 (gst_basic_scheduler_pad_link):
24630 * gst/schedulers/gstoptimalscheduler.c:
24631 (get_group_schedule_function),
24632 (gst_opt_scheduler_state_transition),
24633 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24634 * libs/gst/bytestream/bytestream.c:
24635 * libs/gst/dataprotocol/dataprotocol.c:
24636 (gst_dp_header_from_buffer):
24637 * po/nb.po:
24638 * po/ru.po:
24639 * tests/threadstate/threadstate2.c: (eos):
24640 * tools/gst-compprep.c: (main):
24641 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24642 (print_pad_info), (print_children_info):
24643 * tools/gst-launch.c: (idle_func), (main):
24644 * tools/gst-md5sum.c: (idle_func), (main):
24645 * tools/gst-xmlinspect.c: (print_element_info):
24646 First THREADED backport attempt, focusing on adding locks and
24647 making sure the API is threadsafe. Needs more work. More docs
24648 follow this week.
24650 2005-02-24 Andy Wingo <wingo@pobox.com>
24652 * tests/bench-complexity.scm:
24653 * tests/complexity.gnuplot: New files, good for running complexity
24654 benchmarks.
24656 * tests/Makefile.am:
24657 * tests/complexity.c: New test, sets up N elements, at each level
24658 teeing into M streams per element. Eeeenteresting.
24660 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24661 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24662 running bench-mass_elements.scm.
24664 * tests/bench-mass_elements.scm: New script, runs mass_elements
24665 for various numbers of identities, outputting the results to a
24666 file. Requires guile 1.6. Just for testing.
24668 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24670 * gst/schedulers/fairscheduler.c:
24671 compile with debug disabled
24673 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24675 * configure.ac:
24676 hunting season on 0.9 is now OPEN