1 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4 (gst_plugin_feature_set_name):
5 Revert patch from #459466 until after the release and we can work
6 out exactly what the problem is (if any).
8 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
10 * docs/gst/gstreamer-sections.txt:
13 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
15 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
17 * docs/libs/Makefile.am:
18 Include our build-prefix libs and includes before the generic ones to
19 avoid linking against the installed libs when we want the build-tree
22 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
24 Patch by: Steve Fink <sphink gmail com>
26 * docs/pwg/building-testapp.xml:
27 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
28 if people try to build or install the example from the plugin
29 template against a GStreamer from package using the configure
32 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
34 Patch by: Steve Fink <sphink gmail com>
36 * tools/gst-inspect.1.in:
37 Document --print-all and --print-plugin-auto-install-info command
38 line options in man page.
40 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
42 * docs/gst/gstreamer-sections.txt:
43 Add docs for new api function.
45 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
47 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
48 * gst/gstelementfactory.h:
49 API: gst_element_factory_has_interface()
50 Added method to check if an element factory implements a named
53 2007-07-25 Stefan Kost <ensonic@users.sf.net>
56 * docs/gst/gstreamer.types.in:
57 Another conditional doc check.
60 * gst/gstparamspecs.h:
61 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
66 2007-07-24 Stefan Kost <ensonic@users.sf.net>
68 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
69 (gst_registry_binary_load_feature),
70 (gst_registry_binary_load_plugin),
71 (gst_registry_binary_read_cache):
72 Print error just once and with additional info.
74 2007-07-24 Stefan Kost <ensonic@users.sf.net>
76 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
77 (helper_find_suggest), (helper_find_get_length),
78 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
79 (gst_type_find_helper_for_buffer):
80 Cleanup the typefindhelper code and add private doc comments.
82 2007-07-24 Edward Hervey <bilboed@bilboed.com>
84 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
85 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
86 Fix capsfilter for cases where the caps set on capsfilter will provide
87 additional information.
90 2007-07-24 Stefan Kost <ensonic@users.sf.net>
92 * gst/gsttypefindfactory.c:
93 Fix docs that recommened wrong function to use.
95 2007-07-23 Stefan Kost <ensonic@users.sf.net>
97 * tools/gst-inspect.c: (print_plugin_features):
98 Also give media-type for typefinders in element output.
100 2007-07-23 Stefan Kost <ensonic@users.sf.net>
102 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
103 (gst_registry_remove_features_for_plugin_unlocked),
104 (gst_registry_add_feature), (gst_registry_remove_feature),
105 (gst_registry_lookup_feature_locked):
107 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
110 2007-07-23 Stefan Kost <ensonic@users.sf.net>
112 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
113 (gst_plugin_feature_set_name):
114 Avoid double memory usage for pluginfeature names. Fixes #459466.
116 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
119 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
120 driving the pipeline may need to explicitly check for NOT_LINKED as
121 well, since IS_FATAL doesn't cover that.
123 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
125 * docs/pwg/advanced-types.xml:
126 Fix typo and duplicate entry in video formats list.
128 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
130 * libs/gst/controller/gstinterpolation.c:
131 Also round to the nearest int when using cubic interpolation.
133 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
135 * libs/gst/controller/gstinterpolation.c:
136 When linearly interpolating integer types, round to the nearest int
137 by adding 0.5. Don't do it for float/double types.
138 Fixes the failing controller test on my machine, which is somehow
139 rounding differently than on the buildbots.
141 2007-07-20 Stefan Kost <ensonic@users.sf.net>
143 * tools/gst-plot-timeline.py:
144 Better log parsing (categories can have -). Adjust text vs. lines, so
145 that they span the same y-range.
147 2007-07-20 Stefan Kost <ensonic@users.sf.net>
149 * docs/random/ensonic/audiobaseclasses.txt:
150 * docs/random/ensonic/dynlink.txt:
151 * docs/random/ensonic/profiling.txt:
154 * docs/random/moving-plugins:
155 Add note to use g_assert type macros.
157 2007-07-20 Stefan Kost <ensonic@users.sf.net>
160 * libs/gst/check/Makefile.am:
161 Add libm check as we use in for plugins.
163 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
165 * gst/gstbin.c: (gst_bin_continue_func):
166 Check that the state_cookie hasn't changed since the continue_func
167 was scheduled. Avoids problems where the state changes back to
168 something it shouldn't be because it was changed in the meantime.
170 2007-07-17 Stefan Kost <ensonic@users.sf.net>
172 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
173 (gst_registry_binary_save_string),
174 (gst_registry_binary_save_pad_template),
175 (gst_registry_binary_save_feature),
176 (gst_registry_binary_save_plugin),
177 (gst_registry_binary_load_feature),
178 (gst_registry_binary_load_plugin),
179 (gst_registry_binary_read_cache):
180 Fix memory leak. Be less verbose in the log.
182 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
184 * tests/check/elements/.cvsignore:
185 Add file to cvsignore as commanded.
187 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
189 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
190 (mq_dummypad_event), (run_output_order_test):
191 Use a GStaticMutex to protect all cases where libcheck
192 fail_if/fail_unless macros might be called from multiple threads
193 simultaneously to avoid errors like:
194 "check_pack.c:107: :-1081725400:Bad message type arg"
196 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
198 * tests/check/pipelines/stress.c: (GST_START_TEST):
199 Make sure we set the pipeline back to the NULL state before
200 dropping our final reference.
202 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
204 * tests/check/elements/tee.c: (GST_START_TEST):
205 Make the tee stress-test a little less stressful so it doesn't just
206 time out on slow-machines, and remove a small race when it's starting
207 up by adding a get_state() call.
209 2007-07-16 Stefan Kost <ensonic@users.sf.net>
212 Avoid reading registry twice on startup. Fixes #457322.
214 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
216 * pkgconfig/gstreamer-check-uninstalled.pc.in:
217 * pkgconfig/gstreamer-check.pc.in:
218 Substitute the CFLAGS for libcheck into our .pc file too so that
219 dependent modules will pick it up properly if libcheck is installed
220 into some other prefix.
222 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
225 Revert the pkg-config check for libcheck, since it pulls in the
226 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
227 a proper solution, either from the check project, or something else.
229 2007-07-12 Stefan Kost <ensonic@users.sf.net>
232 Use pkg-config to locate check.
234 2007-07-10 Stefan Kost <ensonic@users.sf.net>
241 Add deprecation guards.
243 * libs/gst/base/gstcollectpads.h:
244 Don't document object (this is implicitly private).
246 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
248 * gst/gststructure.c: (gst_structure_parse_value):
249 When deserialising foo=bar without a type cast, check if it's a
250 boolean before falling back to a string type, otherwise things like
251 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
252 because the filtercaps end up having a signed=(string)true field,
253 which causes problems later when intersection caps.
255 * tests/check/gst/gststructure.c: (GST_START_TEST):
256 Add a unit test for this.
258 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
260 Reviewed by: Stefan Kost <ensonic@users.sf.net>
262 * libs/gst/controller/Makefile.am:
263 * libs/gst/controller/gstcontroller.c:
264 (gst_controlled_property_add_interpolation_control_source),
265 (gst_controlled_property_new), (gst_controlled_property_free),
266 (gst_controller_find_controlled_property),
267 (gst_controller_new_valist), (gst_controller_new_list),
268 (gst_controller_new), (gst_controller_remove_properties_valist),
269 (gst_controller_remove_properties_list),
270 (gst_controller_remove_properties),
271 (gst_controller_set_property_disabled),
272 (gst_controller_set_disabled), (gst_controller_set_control_source),
273 (gst_controller_get_control_source), (gst_controller_get),
274 (gst_controller_sync_values), (gst_controller_get_value_array),
275 (_gst_controller_dispose), (gst_controller_get_type),
276 (gst_controlled_property_set_interpolation_mode),
277 (gst_controller_set), (gst_controller_set_from_list),
278 (gst_controller_unset), (gst_controller_unset_all),
279 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
280 * libs/gst/controller/gstcontroller.h:
281 * libs/gst/controller/gstcontrollerprivate.h:
282 * libs/gst/controller/gstcontrolsource.c:
283 (gst_control_source_class_init), (gst_control_source_init),
284 (gst_control_source_get_value),
285 (gst_control_source_get_value_array), (gst_control_source_bind):
286 * libs/gst/controller/gstcontrolsource.h:
287 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
288 (gst_object_get_control_source):
289 * libs/gst/controller/gstinterpolation.c:
290 (gst_interpolation_control_source_find_control_point_node),
291 (gst_interpolation_control_source_get_first_value),
292 (_interpolate_none_get), (interpolate_none_get),
293 (interpolate_none_get_boolean_value_array),
294 (interpolate_none_get_enum_value_array),
295 (interpolate_none_get_string_value_array),
296 (_interpolate_trigger_get), (interpolate_trigger_get),
297 (interpolate_trigger_get_boolean_value_array),
298 (interpolate_trigger_get_enum_value_array),
299 (interpolate_trigger_get_string_value_array):
300 * libs/gst/controller/gstinterpolationcontrolsource.c:
301 (gst_control_point_free), (gst_interpolation_control_source_reset),
302 (gst_interpolation_control_source_new),
303 (gst_interpolation_control_source_set_interpolation_mode),
304 (gst_interpolation_control_source_bind),
305 (gst_control_point_compare), (gst_control_point_find),
306 (gst_interpolation_control_source_set_internal),
307 (gst_interpolation_control_source_set),
308 (gst_interpolation_control_source_set_from_list),
309 (gst_interpolation_control_source_unset),
310 (gst_interpolation_control_source_unset_all),
311 (gst_interpolation_control_source_get_all),
312 (gst_interpolation_control_source_get_count),
313 (gst_interpolation_control_source_init),
314 (gst_interpolation_control_source_finalize),
315 (gst_interpolation_control_source_dispose),
316 (gst_interpolation_control_source_class_init):
317 * libs/gst/controller/gstinterpolationcontrolsource.h:
318 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
319 API: Refactor GstController into the core controller which can take
320 a GstControlSource for providing actual values for timestamps.
321 Implement a interpolation control source and use this for backward
322 compatibility, deprecate a bunch of functions that are now handled
323 by GstControlSource or GstInterpolationControlSource.
324 Make it possible to disable the controller completely or only for
325 specific properties. Fixes #450711.
326 * docs/libs/gstreamer-libs-docs.sgml:
327 * docs/libs/gstreamer-libs-sections.txt:
328 * docs/libs/gstreamer-libs.types:
329 Add new functions and classes to the docs.
330 * tests/check/libs/controller.c: (GST_START_TEST),
331 (gst_controller_suite):
332 * tests/examples/controller/audio-example.c: (main):
333 Port unit test and example to the new API and add some new
336 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
338 Patch by: Mark Nauwelaerts <manauw at skynet be>
340 * plugins/elements/gstmultiqueue.c:
341 (gst_multi_queue_get_internal_links), (apply_buffer),
342 (single_queue_overrun_cb), (gst_single_queue_new):
343 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
344 the pipeline layout can be tracked correctly. Fixes #453732.
346 2007-07-05 Stefan Kost <ensonic@users.sf.net>
348 * docs/gst/Makefile.am:
349 * docs/libs/Makefile.am:
350 * docs/plugins/Makefile.am:
351 Simplify --extra-dir as gtkdoc scans recursively.
353 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
355 * tools/gst-launch.c: (main):
356 When we got an error, there is no point in waiting for preroll when
359 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
361 * plugins/elements/gsttee.c: (gst_tee_base_init),
362 (gst_tee_request_new_pad), (gst_tee_release_pad),
363 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
364 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
366 Be a lot smarter when deciding what srcpad to use for proxying
367 the buffer_alloc. Also handle pad added/removed when doing so.
369 Keep track of what pads we already pushed on in case we have pads
370 added/removed while pushing. Fixes #374639
372 * tests/check/Makefile.am:
373 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
375 Added unit test for pad resync.
377 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
381 Updated translations.
383 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
385 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
389 Added new Finnish translation.
391 2007-06-28 Wim Taymans <wim@fluendo.com>
393 * plugins/elements/gstmultiqueue.c: (apply_buffer),
394 (single_queue_overrun_cb):
395 When figuring out when a queue is filled, use our internal time estimate
396 based on segments, just like check_full does.
398 2007-06-27 Stefan Kost <ensonic@users.sf.net>
400 * gst/gstminiobject.c: (gst_mini_object_get_type):
401 Remove 3 do-nothing methods.
403 2007-06-27 Wim Taymans <wim@fluendo.com>
405 Patch by: Tim Angus <tim at ngus dot net>
407 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
408 (gst_capsfilter_set_property):
409 Take a reference instead of a copy when setting "caps".
410 Fix documentation to clarify this behaviour. Fixes #449414.
412 2007-06-27 Stefan Kost <ensonic@users.sf.net>
414 * gst/gstindexfactory.c: (gst_index_factory_get_type):
415 * gst/gstplugin.c: (gst_plugin_init):
416 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
417 * gst/gstquery.c: (gst_query_get_type):
418 * gst/gstregistry.c: (gst_registry_init):
419 * gst/gsturi.c: (gst_uri_handler_base_init):
420 Remove empty instance_init() functions to save relocs and lessen the
421 noise. Remove some of the function prototypes that are doubled by
424 2007-06-27 Wim Taymans <wim@fluendo.com>
426 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
428 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
429 Add peer and direction in the XML serialisation of ghostpads.
432 2007-06-26 Stefan Kost <ensonic@users.sf.net>
435 Preserve useful information, thanks Tim.
437 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
439 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
440 (gst_single_queue_flush), (apply_segment), (apply_buffer),
441 (gst_single_queue_push_one), (gst_multi_queue_loop),
442 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
443 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
444 (compute_high_id), (gst_single_queue_new):
445 * plugins/elements/gstmultiqueue.h:
446 Take the multiqueue lock when updating the fill level so we don't get
449 After applying a buffer or event on the src pad segment, make sure to
450 call gst_data_queue_limits_changed() to get the data queue to unblock
451 and check the filled state again.
453 Rework the not-linked pad handling so the logic is that not-linked
454 pads can push as fast as they like, but only so they never get
455 ahead of any linked pads.
457 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
458 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
459 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
461 Add a test to check that not-linked pads always stay behind
466 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
468 * docs/random/release:
469 Some updates to the release procedure.
471 2007-06-26 Stefan Kost <ensonic@users.sf.net>
473 * gst/gstelementfactory.c: (__gst_element_details_clear):
474 Microoptimization that saves stunning 80 bytes.
476 2007-06-25 Stefan Kost <ensonic@users.sf.net>
478 * docs/plugins/gstreamer-plugins.args:
479 * docs/plugins/inspect/plugin-coreelements.xml:
480 * docs/plugins/inspect/plugin-coreindexers.xml:
481 Update docs with caps info.
483 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
486 Updated Italian translation.
488 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
492 Update Vietnamese translations.
494 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
496 * libs/gst/base/gstbasesink.c:
497 Remove unused signal enum.
499 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
501 * docs/gst/gstreamer-sections.txt:
503 * gst/gstutils.c: (gst_type_register_static_full):
504 Beef up and include the docs for gst_type_register_static_full and
505 gst_element_class_set_details_simple and add the API keyword
508 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
510 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
511 (update_time_level), (gst_single_queue_push_one),
512 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
513 (single_queue_overrun_cb), (single_queue_underrun_cb),
514 (single_queue_check_full):
515 Fix setting max-* properties after adding queues.
516 Use IS_FILLED for checking visible items.
517 Signal overrun if multiple queues overrun.
518 Add extra debug output.
519 Patch by: Wim Taymans <wim@fluendo.com>
521 2007-06-21 Stefan Kost <ensonic@users.sf.net>
523 * gst/gstelement.c: (gst_element_class_set_details_simple):
525 * gst/gstutils.c: (gst_type_register_static_full):
527 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
528 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
529 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
530 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
531 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
532 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
533 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
534 * plugins/elements/gstidentity.c: (gst_identity_base_init):
535 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
536 * plugins/elements/gstqueue.c: (gst_queue_base_init),
537 (apply_buffer), (gst_queue_chain):
538 * plugins/elements/gsttee.c: (gst_tee_base_init):
539 * plugins/elements/gsttypefindelement.c:
540 (gst_type_find_element_base_init),
541 (gst_type_find_element_class_init):
542 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
543 API: add gst_type_register_static_full
544 API: add gst_element_class_set_details_simple
546 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
548 * docs/pwg/advanced-types.xml:
549 Fix typo in iana.org URI.
551 2007-06-19 Andy Wingo <wingo@pobox.com>
553 * tests/check/pipelines/simple-launch-lines.c
554 (test_state_change_returns): Enable pull-mode tests now that
555 basesink has been fixed.
557 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
558 Changed from gst_base_sink_is_prerolled, reversing the sense of
559 the return value. Returns FALSE also if the sink is in pull mode,
560 in which case it needs no preroll.
561 (gst_base_sink_query, gst_base_sink_change_state): Update for
562 needs_preroll change.
563 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
564 chaining up, in which we return SUCCESS directly if we activated
565 in pull mode instead of ASYNC. Involves countering an async_start
566 message sent before chaining up; not sure if this is correct, in
567 an ideal world we only send async-start when activating in push
570 * tests/check/pipelines/simple-launch-lines.c
571 (test_state_change_returns): New test, partially disabled until
574 2007-06-19 Wim Taymans <wim@fluendo.com>
576 * plugins/elements/gstmultiqueue.c: (apply_buffer),
577 (gst_multi_queue_sink_event):
580 2007-06-19 Wim Taymans <wim@fluendo.com>
582 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
583 (gst_bin_change_state_func), (bin_push_state_continue),
584 (bin_handle_async_start), (bin_handle_async_done),
585 (gst_bin_handle_message_func):
586 Move the common code for posting state-change messages into
588 Broadcast the state signal after we posted the messages.
589 Mark the bin as busy when it's doing a state-change.
590 Make sure async-start/done messages don't interfere with the bin's
591 state when it's busy.
592 After the state change, let the bin check which elements completed the
593 state change while it was busy so that it can update its state.
595 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
597 * docs/random/release:
598 Add a note about updating the doap file to the release checklist
600 2007-06-18 Wim Taymans <wim@fluendo.com>
602 * plugins/elements/gstmultiqueue.c: (apply_buffer),
603 (gst_single_queue_push_one), (gst_multi_queue_chain),
604 (gst_multi_queue_sink_event):
605 Make sure we don't reference the buffer/event after we have given away
606 ownership in the queue.
608 2007-06-18 Wim Taymans <wim@fluendo.com>
610 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
611 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
612 Update queue state _after_ adding the item in the queue because else we
613 could end up being full without the element added yet.
615 2007-06-18 Wim Taymans <wim@fluendo.com>
617 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
618 (gst_bin_remove_func), (gst_bin_get_state_func),
619 (gst_bin_element_set_state), (gst_bin_continue_func),
620 (bin_push_state_continue), (bin_handle_async_start),
621 (bin_handle_async_done), (gst_bin_handle_message_func):
623 Immediatly commit the toplevel bin state when receiving an async-done
624 message. This enables us to avoid spawning a thread to commit the state
625 in some common cases and it also avoids some races.
626 Avoid spawning a state thread when adding/removing async elements to a
627 toplevel bin. Instead we immediatly update the bin state.
628 Get rid of iterating all the children when getting the state in the bin
629 because it is now always up-to-date.
630 Fix bug where locked elements would always return _SUCCESS even it they
631 returned NO_PREROLL before being locked.
632 Fix the order of the state_change, async-start/done messages that was
634 Mark the state_dirty field as deprecated, we don't need it anymore as we
635 are always up-to-date.
637 * gst/gstelement.c: (gst_element_get_state_func),
638 (gst_element_continue_state):
639 Small debug inprovements.
640 Return the previous element state return when nothing is pending instead
641 of blindly returning SUCCESS.
643 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
645 Add a whole bunch of new testcases.
647 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
653 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
656 Fix typo in the docs.
658 2007-06-15 Wim Taymans <wim@fluendo.com>
660 * docs/libs/gstreamer-libs-sections.txt:
661 Add docs for new methods.
663 2007-06-15 Wim Taymans <wim@fluendo.com>
665 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
666 (gst_multi_queue_item_new):
667 Don't use GSlice because we don't depend on >= 2.10 yet.
669 2007-06-15 Wim Taymans <wim@fluendo.com>
671 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
672 (update_time_level), (apply_segment), (apply_buffer),
673 (gst_single_queue_push_one), (gst_multi_queue_item_new),
674 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
675 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
676 (single_queue_underrun_cb), (single_queue_check_full):
679 2007-06-15 Wim Taymans <wim@fluendo.com>
681 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
682 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
683 (gst_data_queue_set_flushing), (gst_data_queue_push),
684 (gst_data_queue_pop), (gst_data_queue_drop_head),
685 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
686 * libs/gst/base/gstdataqueue.h:
688 Added methods to get the current levels and to inform the queue that the
689 'full' limits changed.
691 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
692 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
693 (gst_single_queue_flush), (update_time_level), (apply_segment),
694 (apply_buffer), (gst_single_queue_push_one),
695 (gst_multi_queue_item_steal_object),
696 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
697 (gst_multi_queue_loop), (gst_multi_queue_chain),
698 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
699 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
700 (gst_multi_queue_src_query), (single_queue_overrun_cb),
701 (single_queue_underrun_cb), (single_queue_check_full),
702 (gst_single_queue_new):
703 Keep track of time in the queue by measuring the difference between
704 running_time on input and output. This gives more accurate results and
705 can compensate for segments correctly.
706 Make a queue by default only 5 buffers deep. We will now increase the
707 buffer size depending on the filledness of the other queues.
708 Factor out commong flush code.
709 Make sure we don't add additional refcounts to buffers when we can avoid
711 Propagate GstFlowReturn differently.
712 Use GSlice for intermediate GstMultiQueueItems.
714 Resize queues on over and underruns based on filled level of other
716 When checking if the queue is filled, prefer to measure in time if we
717 can and fall back to bytes when no time is known.
719 * plugins/elements/gstqueue.c:
722 2007-06-15 Wim Taymans <wim@fluendo.com>
724 * libs/gst/base/gstbasetransform.c:
725 (gst_base_transform_sink_event):
726 Work around the brokenness of the event vmethod in basetransform. Prefer
727 to return TRUE when the subclass returned FALSE (meaning don't forward
730 * libs/gst/base/gstbasetransform.h:
733 2007-06-15 Wim Taymans <wim@fluendo.com>
735 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
736 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
737 (gst_base_src_default_query), (gst_base_src_get_range),
738 (gst_base_src_start):
739 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
742 2007-06-15 Stefan Kost <ensonic@users.sf.net>
744 * docs/pwg/advanced-types.xml:
745 Added more formats to caps table.
747 2007-06-15 Stefan Kost <ensonic@users.sf.net>
749 * tools/gst-launch.c: (main):
750 Remove crufy code. GOption does not need this workaround.
752 2007-06-14 Stefan Kost <ensonic@users.sf.net>
754 * libs/gst/controller/gstcontroller.c:
755 (gst_controlled_property_set_interpolation_mode):
756 Fix wrong getter for enums in controller.
758 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
760 * libs/gst/check/gstcheck.c: (gst_check_init):
761 Intercept criticals and warnings in the Gst-Phonon log domain, so
762 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
765 2007-06-14 Edward Hervey <edward@fluendo.com>
767 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
768 Since this file doesn't include "gst.h" it will not go through the
769 macros that disable GST_LOG if debugging was disabled.
771 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
773 * libs/gst/check/Makefile.am:
774 * libs/gst/check/gstcheck.h:
775 * pkgconfig/gstreamer-check-uninstalled.pc.in:
776 * pkgconfig/gstreamer-check.pc.in:
777 Ugly 'fix' for the controller unit test on the p5 bot: in
778 fail_unless_equals_float() check whether the values are 'almost
779 equal' by allowing a small absolute error, which should be good
780 enough for our use cases (normal numbers and values close to 0).
781 Proper fixage left to floating point arithmetic aficionados.
783 2007-06-14 Stefan Kost <ensonic@users.sf.net>
785 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
786 (gst_base_sink_render_object), (gst_base_sink_get_position):
787 Add two breaks thats where missing.
789 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
791 * docs/libs/gstreamer-libs-sections.txt:
792 * libs/gst/check/gstcheck.h:
793 API: add fail_unless_equals_float() and assert_equals_float().
794 Add documentation for some of the macros.
796 * tests/check/libs/controller.c: (GST_START_TEST):
797 Use newly-added asserts.
799 2007-06-14 Stefan Kost <ensonic@users.sf.net>
801 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
802 Show the caps change in the log to help spotting the case of not
803 exactly matching caps.
805 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
807 * docs/pwg/building-boiler.xml:
808 Fix typos, spotted by Thijs Vermeir (#447190).
810 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
812 * docs/plugins/tmpl/.cvsignore:
813 Ignore file to keep the buildbots happy
815 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
817 * docs/plugins/Makefile.am:
818 * docs/plugins/gstreamer-plugins-docs.sgml:
819 * docs/plugins/gstreamer-plugins-sections.txt:
820 Pull fdsink into the docs too.
822 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
824 * libs/gst/controller/gstinterpolation.c:
825 Actually use the new functions with min/max checks for the trigger and
826 none interpolation modes for get() and get_value_array() instead of
829 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
831 * libs/gst/controller/gstcontroller.c:
832 (gst_controlled_property_free):
833 Unset the minimum and maximum GValues when freeing the corresponding
834 GstControllerProperty struct.
836 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
838 * libs/gst/controller/gstcontroller.c:
839 (gst_controlled_property_new):
840 * libs/gst/controller/gstcontrollerprivate.h:
841 * libs/gst/controller/gstinterpolation.c:
842 (gst_controlled_property_find_control_point_node),
843 (interpolate_none_get), (interpolate_none_get_enum_value_array),
844 (interpolate_none_get_string_value_array),
845 (interpolate_trigger_get),
846 (interpolate_trigger_get_enum_value_array),
847 (interpolate_trigger_get_string_value_array):
848 Protect against values larger or smaller than the minimum or maximum
849 allowed value for the property when using values that can be compared.
851 Optimize trigger interpolator a bit by taking the last requested value
852 into account instead of always looping through the complete list.
854 Fix coding style a bit, everywhere else we use "return foo" instead
857 * tests/check/libs/controller.c: (GST_START_TEST),
858 (gst_controller_suite):
859 Add unit test for the protection against too large or too small
862 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
864 * docs/random/slomo/controller.txt:
865 Add some thoughts about the future of the controller.
867 2007-06-08 Wim Taymans <wim@fluendo.com>
869 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
870 Don't overflow in retimestamping code.
872 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
874 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
875 Use gst_util_guint64_to_gdouble for conversions.
876 * win32/common/libgstreamer.def:
877 Add new exported functions.
879 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
884 2007-06-07 Stefan Kost <ensonic@users.sf.net>
887 Remove that test line again.
889 2007-06-07 Stefan Kost <ensonic@users.sf.net>
892 Test commit mail sending.
894 2007-06-07 Stefan Kost <ensonic@users.sf.net>
897 Fix typo and test commit mail sending.
899 2007-06-07 Stefan Kost <ensonic@users.sf.net>
901 * tests/examples/controller/audio-example.c:
902 Improve comment and test commit mail sending.
904 2007-06-07 Wim Taymans <wim@fluendo.com>
906 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
907 (gst_bin_remove_func), (gst_bin_element_set_state),
908 (bin_handle_async_start), (bin_handle_async_done),
909 (gst_bin_handle_message_func):
910 Add helper function to find messages.
911 Generate the async-done messages together with the state change
913 Small cleanups in handling toplevel bins.
915 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
917 * libs/gst/base/gstdataqueue.c:
918 * libs/gst/base/gstdataqueue.h:
919 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
920 (gst_multi_queue_item_new), (gst_multi_queue_chain),
921 (gst_multi_queue_sink_event):
922 * tests/check/elements/multiqueue.c: (multiqueue_suite):
923 Fix multiqueue leaking buffers and events when downstream or the
924 queue are flushing. Make refcounting assumptions explicit and
925 document them (shouldn't break existing code that uses it other than
926 maybe leak miniobjects, but that already happens anyway). Add unit
927 test for the most common flushing case. Fixes #423700.
929 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
931 * libs/gst/controller/gstcontroller.c:
932 Clarify docs: The get_all, get_value_array(s) functions
933 don't modify the GObject properties.
935 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
937 * libs/gst/controller/gstcontroller.c:
938 (gst_controlled_property_set_interpolation_mode),
939 (gst_controlled_property_prepend_default),
940 (gst_controlled_property_new), (gst_controller_set_unlocked),
941 (gst_controller_set), (gst_controller_set_from_list),
942 (gst_controller_unset), (gst_controller_unset_all):
943 * libs/gst/controller/gstcontrollerprivate.h:
944 * libs/gst/controller/gstinterpolation.c:
945 Factor out the 'set' logic into gst_controller_set_unlocked for the
946 gst_controller_set and gst_controller_set_from_list functions.
948 To make life of the interpolators easier always add a control point
949 at timestamp zero with the default value.
951 In the linear interpolator make things more obvious by better variable
954 Implement cubic interpolation mode (by using a natural cubic spline)
955 and map the quadratic interpolation mode to this too (as quadratic
956 doesn't make much sense, see discussion on the list).
958 * tests/check/libs/controller.c: (GST_START_TEST),
959 (gst_controller_suite):
960 Add unit test for the cubic interpolation mode and check everywhere
961 if the interpolation mode could be set as expected.
963 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
965 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
966 Don't use GLib-2.10 functions, we still depend on
967 GLib-how-old-is-it-again-2.8.
969 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
971 * docs/gst/gstreamer-sections.txt:
975 * gst/gstparamspecs.c: (_gst_param_fraction_init),
976 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
977 (_gst_param_fraction_values_cmp),
978 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
979 * gst/gstparamspecs.h:
981 * tests/check/Makefile.am:
982 * tests/check/gst/.cvsignore:
983 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
984 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
985 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
986 (GST_START_TEST), (gst_param_spec_suite):
987 API: add GstParamSpecFraction, so elements can have fraction
988 properties without lots of painful string parsing (#444648).
990 2007-06-05 Wim Taymans <wim@fluendo.com>
992 * gst/gstobject.c: (gst_object_class_init):
993 Fix signal signature.
996 Add small clarification in the api docs.
998 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
999 States are protected with object lock.
1001 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1004 I should probably be listed as an author by now.
1006 * docs/random/release:
1007 Update the release doc
1009 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1012 Make docs for gst_value_compare() mention return enums that
1015 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1020 === release 0.10.13 ===
1022 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1025 releasing 0.10.13, "With or without you"
1027 2007-05-25 Wim Taymans <wim@fluendo.com>
1029 * gst/gstbin.c: (bin_handle_async_done):
1030 Make sure that the child bin stops after completing the async state
1031 change so that the parent can continue the state change to PLAYING.
1034 2007-05-25 Wim Taymans <wim@fluendo.com>
1036 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1037 (unref_data), (gst_collect_pads_remove_pad),
1038 (gst_collect_pads_check_pads):
1039 Use additional refcounting to avoid crashes when dynamically adding and
1040 removing pads. Fixes #420206.
1042 2007-05-24 Wim Taymans <wim@fluendo.com>
1044 * tools/gst-launch.c: (event_loop):
1045 When buffering goes from a two digit to a single digit number, make sure
1046 to remove the old second digit by writing a blank over it.
1048 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1050 * libs/gst/base/gstdataqueue.c:
1051 Eliminate tabs and trailing comma in enum list; fix some typos.
1053 2007-05-24 Wim Taymans <wim@fluendo.com>
1055 * tests/check/gst/gstbin.c: (GST_START_TEST):
1056 Allow refcount of 3 and 4 because some state thread might still be busy
1059 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1061 * plugins/elements/Makefile.am:
1062 * plugins/elements/gstmultiqueue.h:
1063 * plugins/elements/gstqueue.h:
1064 These are not installed headers, no need for padding.
1066 2007-05-24 Wim Taymans <wim@fluendo.com>
1068 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1069 (gst_bin_continue_func):
1070 Enable latency for next release.
1071 Restore STATE_LOCK around recalc_state that was left out during the
1072 rewrite and could result in racy behaviour when _get_state and
1073 recalc_state are run concurrently. See #440463.
1075 2007-05-23 Wim Taymans <wim@fluendo.com>
1077 * tests/check/gst/gstsystemclock.c: (store_callback),
1079 Improve test_async_order to also work when both timers are already
1080 expired when we get scheduled to check it.
1082 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1084 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1085 (gst_bin_set_property), (gst_bin_get_property),
1086 (gst_bin_remove_func), (gst_bin_handle_message_func):
1088 'private' is a c++ keyword, let's not use that in header files,
1089 otherwise c++ compilers will throw a tantrum.
1091 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1093 * plugins/elements/gstelements.c:
1094 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1095 (gst_file_sink_get_current_offset):
1096 * plugins/indexers/gstindexers.c: (plugin_init):
1097 Use #ifdef for HAVE_XYZ for consistency.
1099 * tests/check/Makefile.am:
1100 * tests/check/elements/.cvsignore:
1101 * tests/check/elements/filesink.c: (setup_filesink),
1102 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1103 Add some unit tests for filesink.
1105 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1107 Patch by: Mark Nauwelaerts <manauw at skynet be>
1109 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1110 (gst_file_sink_query), (gst_file_sink_do_seek),
1111 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1112 * plugins/elements/gstfilesink.h:
1113 Fix position reporting; rename data_written member to current_pos to
1114 reflect its real meaning (fixes #412648).
1116 2007-05-22 Edward Hervey <edward@fluendo.com>
1118 * docs/gst/gstreamer-sections.txt:
1119 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1120 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1121 (gst_bin_remove_func), (gst_bin_handle_message_func):
1123 Add a property for bins that handle the state change of their childs.
1126 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1128 * libs/gst/controller/gstinterpolation.c:
1129 Use an array of the correct type when using _get_value_array with
1130 linear interpolation.
1132 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1134 * gst/gstelement.c (gst_element_requires_clock,
1135 gst_element_provides_clock, gst_element_request_pad,
1136 gst_element_class_set_details, gst_element_class_set_details_simple,
1137 gst_element_default_send_event, gst_element_abort_state,
1138 gst_element_continue_state, gst_element_set_state,
1139 gst_element_set_state_func, iterator_activate_fold_with_resync):
1140 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1141 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1142 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1143 gst_pad_get_range, gst_pad_pull_range):
1144 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1145 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1146 GstPadActivateModeFunction, GstPadChainFunction,
1147 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1148 GstPadFixateCapsFunction, GstPadTemplate):
1149 * gst/gstpipeline.c (gst_pipeline_change_state,
1150 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1151 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1152 gst_pipeline_get_delay):
1153 Whitespace and docs fixes.
1155 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1157 * libs/gst/controller/gstinterpolation.c:
1158 (interpolate_trigger_get_enum_value_array),
1159 (interpolate_trigger_get_string_value_array):
1160 Add support for retrieving value arrays when using the trigger
1163 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1165 * libs/gst/controller/gstcontroller.c:
1166 (gst_controller_get_value_array):
1167 * libs/gst/controller/gstcontroller.h:
1168 Clarify the docs of gst_controller_get_value_array(): The array where
1169 the values should be written to must be allocated as there seems to be
1170 no way to get the size of a random GType. This doesn't change any
1171 behaviour. Also fix some typos all over the place and remove an unused,
1172 commented function that is not necessary as g_object_set() could be
1174 * tests/check/libs/controller.c: (GST_START_TEST),
1175 (gst_controller_suite):
1176 Add unit test for gst_controller_get_value_array().
1178 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1180 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1182 Disable part of the gst_buffer_try_new_and_alloc test, because
1183 it can happily succeed on 64-bit systems where there's more address
1186 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1188 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1189 Add unit test for the improved caps checking from bug #421543.
1191 2007-05-21 Wim Taymans <wim@fluendo.com>
1193 * docs/design/part-synchronisation.txt:
1196 * gst/gstbin.c: (gst_bin_query):
1197 * plugins/elements/gstqueue.c: (apply_segment):
1203 2007-05-21 Wim Taymans <wim@fluendo.com>
1205 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1206 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1207 (gst_pad_configure_src):
1208 Added simple version of improved caps checking. It was previously
1209 assumed that a setcaps function would check the validity of the caps but
1210 people prefer us to check caps against the template automatically.
1213 2007-05-21 Wim Taymans <wim@fluendo.com>
1215 * libs/gst/base/gstbasetransform.h:
1216 Fix macro for locking/unlocking the transform lock.
1218 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1220 * docs/plugins/tmpl/.cvsignore:
1223 2007-05-18 Edward Hervey <edward@fluendo.com>
1225 * plugins/elements/gstqueue.c: (gst_queue_loop):
1226 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1227 for the subtle art of warning a potentially blocking thread that it
1228 should check the source pad return value, and relay the information
1231 2007-05-18 Edward Hervey <edward@fluendo.com>
1233 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1234 Release the queue lock !
1236 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1238 * docs/libs/gstreamer-libs-sections.txt:
1239 Add the two new controller functions to the appropiate places.
1241 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1243 reviewed by: Stefan Kost <ensonic@users.sf.net>
1245 * libs/gst/controller/gstcontroller.c:
1246 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1247 (_gst_controller_get_property), (_gst_controller_set_property),
1248 (_gst_controller_init), (_gst_controller_class_init):
1249 * libs/gst/controller/gstcontroller.h:
1250 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1251 (gst_object_get_control_rate), (gst_object_set_control_rate):
1252 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1253 Add API that provides sync suggestion timestamps for elements that
1254 call gst_object_sync_values() from which those elements can subdivide
1255 their processing loop to get the best results for the controlled
1256 properties. For now it just suggests last_sync + control_rate as
1257 new timestamp but this will be improved in the future.
1259 While doing that change the control-rate property to a GstClockTime
1260 from guint and change it's meaning from samples to nanoseconds as
1261 the GstController doesn't know anything about sampling rate. Strictly
1262 speaking this breaks ABI but as the control-rate property didn't do
1263 anything in the past and as such couldn't be used this should be no
1266 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1268 reviewed by: Stefan Kost <ensonic@users.sf.net>
1270 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1271 (gst_controller_unset_all):
1272 * libs/gst/controller/gstcontrollerprivate.h:
1273 * libs/gst/controller/gstinterpolation.c:
1274 (gst_controlled_property_find_control_point_node):
1275 Save last synced value from the list to continue searching from there
1276 in future syncs. This speeds everything up a bit.
1278 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1280 reviewed by: Stefan Kost <ensonic@users.sf.net>
1282 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1283 (gst_control_point_find), (gst_controlled_property_new),
1284 (gst_control_point_free), (gst_controlled_property_free),
1285 (gst_controller_set), (gst_controller_set_from_list),
1286 (gst_controller_unset), (gst_controller_unset_all),
1287 (gst_controller_sync_values):
1288 * libs/gst/controller/gstcontroller.h:
1289 * libs/gst/controller/gstcontrollerprivate.h:
1290 * libs/gst/controller/gstinterpolation.c:
1291 (gst_controlled_property_find_control_point_node),
1292 (interpolate_none_get), (interpolate_trigger_get):
1293 Add a new private GstControlPoint struct which "inherits" from
1294 GstTimedValue to allow different interpolators to store internal
1295 values next to each control point. From the outside everything is
1296 still a GstControlPoint so we don't loose binary compatibility.
1297 Also fixup all the GValue handling to not leak GValues or list nodes.
1298 * tests/check/libs/controller.c: (GST_START_TEST):
1299 Free the list nodes and GValues in the controller_misc test.
1301 2007-05-17 Edward Hervey <edward@fluendo.com>
1306 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1308 * gst/gstplugin.c: (gst_plugin_load_file):
1309 If we fail to load a plugin because of unresolved symbols or missing
1310 libraries and spew a warning to stderr, we may just as well mention
1311 which plugin it was that failed to load.
1313 2007-05-13 David Schleef <ds@schleef.org>
1315 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1316 handles the case when ENABLE_GTK_DOC is false, and installs
1317 the prebuilt documentation. So gtk-doc subdirs are
1318 unconditionally enabled. Fixes: #349099.
1320 2007-05-13 David Schleef <ds@schleef.org>
1322 * gst/gstutils.h: Reword some documentation.
1324 2007-05-12 David Schleef <ds@schleef.org>
1326 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1327 do anything with the passed "module" parameter, so remove it.
1328 Allows removal of additional vestigal code.
1330 2007-05-12 David Schleef <ds@schleef.org>
1333 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1334 Switch to using g_stat() because it's more portable.
1336 2007-05-12 David Schleef <ds@schleef.org>
1339 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1340 parsing for embedded systems.
1341 * gst/gstelementfactory.c:
1342 Allow gst_element_register() to be called with plugin==NULL.
1343 Did nobody notice that static elements were broken?
1345 2007-05-12 Wim Taymans <wim@fluendo.com>
1347 * tools/gst-launch.c: (event_loop):
1348 Give more interesting info when buffering starts and stops.
1349 Fix case where buffering starts but we fail to update the buffering flag
1350 because the target state is not PLAYING.
1352 2007-05-12 Wim Taymans <wim@fluendo.com>
1354 * plugins/elements/gstqueue.c: (gst_queue_init),
1355 (gst_queue_finalize), (update_time_level), (apply_segment),
1356 (apply_buffer), (gst_queue_locked_flush),
1357 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1358 (gst_queue_handle_sink_event), (gst_queue_chain),
1359 (gst_queue_push_one), (gst_queue_loop):
1360 * plugins/elements/gstqueue.h:
1361 Refactor an cleanup queue a bit.
1362 Do better time level calculations that also work when the srcpad is not
1364 Remove some unneeded debug lines.
1366 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1367 Added testcase for time level measurement.
1368 Try to make some stuff more racefree.
1370 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1372 * gst/gsturi.c: (gst_element_make_from_uri):
1373 Don't leak plugin feature.
1375 * tests/check/Makefile.am:
1376 * tests/check/gst/.cvsignore:
1377 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1378 Add brain-dead unit test.
1380 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1382 Patch by: Jeroen Wouters <woutersj at gmail com>
1384 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1385 Treat protocol strings in a case-insensitive way (#437563).
1387 2007-05-11 Michael Smith <msmith@fluendo.com>
1389 * gst/gstplugin.c: (gst_plugin_load_file):
1390 * gst/gstregistry.c: (gst_registry_scan_path_level):
1391 Don't print a g_warning for any failure to load a shared object.
1392 Instead, push this down into gstplugin.c, and warn _only_ if we
1393 failed to open the module (i.e. failure to link).
1394 Avoids warnings on normal, working, non-plugin .so files.
1396 2007-05-11 Stefan Kost <ensonic@users.sf.net>
1398 * gst/gstplugin.c (gst_plugin_load_file):
1399 * gst/gstregistry.c (GST_CAT_DEFAULT,
1400 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1401 Print a g_warning if there was an error when loading a plugins during
1402 registry scan. The shuld help beginners starting with gst-plugin
1405 2007-05-10 Wim Taymans <wim@fluendo.com>
1407 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1408 (update_time_level), (gst_queue_locked_flush),
1409 (gst_queue_handle_sink_event), (gst_queue_chain),
1410 (gst_queue_push_one), (gst_queue_loop):
1411 * plugins/elements/gstqueue.h:
1412 Be smarter when calculating the current amount of data in the queue by
1413 measuring the difference between start and end timestamps (in running
1414 time) inside the queue. Fixes #432876.
1415 API: GstQueue::pushing to notify elements that we are pushing data again
1416 since the running signal is rather broken for this purpose.
1418 2007-05-10 Stefan Kost <ensonic@users.sf.net>
1420 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1421 gst_queue_base_init, gst_queue_init):
1424 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
1426 * win32/common/libgstreamer.def:
1427 Add new exported functions.
1428 * win32/vs6/grammar.dsp:
1429 Use grammar pre-generated files.
1431 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1433 Based on patch by: Peter Kjellerstedt <pkj at axis com>
1436 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1438 * gst/gstutils.c: (gst_parse_bin_from_description):
1440 Maintain API and ABI when --disable-parse is used. Now that
1441 we have an appropriate error code, we can just return NULL and the
1442 appropriate error when gst_parse_launch() is used despite it having
1443 been disabled (#342564).
1445 * tests/check/Makefile.am:
1446 * tests/check/pipelines/.cvsignore:
1447 * tests/check/pipelines/parse-disabled.c:
1448 Make sure these functions exist and return NULL plus a GError when
1449 --disable-parse is used.
1451 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1453 * tests/benchmarks/complexity.c: (main):
1454 * tests/benchmarks/mass-elements.c: (main):
1455 Set a good example and don't leak messages.
1457 2007-05-06 Stefan Kost <ensonic@users.sf.net>
1459 * docs/gst/Makefile.am:
1460 * docs/libs/Makefile.am:
1461 Correct fixxrefs options.
1463 * docs/plugins/Makefile.am:
1464 * docs/plugins/gstreamer-plugins-docs.sgml:
1465 * docs/plugins/gstreamer-plugins-sections.txt:
1466 * plugins/elements/Makefile.am:
1467 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1468 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1469 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1470 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1471 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1472 _GstCapsFilterClass, trans_class):
1473 * plugins/elements/gstelements.c (name, rank, type, _elements):
1474 * plugins/elements/gstidentity.c
1475 (gst_identity_check_imperfect_timestamp,
1476 gst_identity_check_imperfect_offset):
1477 Document capsfilter and add doc-blurb to identity.
1479 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
1481 * libs/gst/controller/gstcontroller.c:
1482 (gst_controlled_property_set_interpolation_mode):
1483 * libs/gst/controller/gstinterpolation.c:
1484 Don't crash if someone tries to set an interpolation mode that
1485 is invalid or that isn't supported yet. Fixes #422295.
1487 * tests/check/libs/controller.c: (GST_START_TEST),
1488 (gst_controller_suite):
1489 Add a test case for the above.
1491 2007-05-03 Edward Hervey <edward@fluendo.com>
1493 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1494 Properly set the last_stop position on GstSegment. This will only happen
1495 if there is a buffer to push out.
1497 2007-05-03 Wim Taymans <wim@fluendo.com>
1499 * libs/gst/base/gstbasetransform.c:
1500 (gst_base_transform_buffer_alloc):
1501 always_in_place does not mean that the sink and source caps are the
1502 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1504 2007-05-03 Wim Taymans <wim@fluendo.com>
1506 * docs/libs/gstreamer-libs-sections.txt:
1507 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1508 (gst_base_src_default_query), (gst_base_src_get_range):
1509 * libs/gst/base/gstbasesrc.h:
1510 API: gst_base_src_query_latency(). Added method so that subclasses can
1511 easily get the latency values of the base source class.
1513 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1515 * tools/gst-inspect.c (print_implementation_info):
1518 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1520 * tools/Makefile.am:
1521 * tools/gst-launch.1.in:
1522 Don't create a customised man page based on the host architecture,
1523 describe the default registry path generically. That way the man
1524 page is the same for all architectures and packagers have one
1525 multilib issue less to deal with. Fixes #434926.
1527 2007-05-02 Wim Taymans <wim@fluendo.com>
1530 Fix documentation as spotted by rg on IRC.
1532 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1535 Improve docs for gst_element_{link,unlink}.
1537 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1539 * docs/design/part-events.txt:
1540 * docs/design/part-overview.txt:
1544 * libs/gst/base/gstbasesink.c:
1545 Typo fixes; minor docs addition.
1547 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1549 * docs/gst/gstreamer-sections.txt:
1550 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1551 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1553 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1554 or src that supports a given URI protocol exists.
1556 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1558 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1559 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1560 Set the location to NULL if "file://" is set as URI. Otherwise
1561 some random previous URI would still be set if "file://" is
1562 set on an already used filesink/filesrc.
1564 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1566 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1567 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1568 Special case the "file://" URI as as this is used by some
1569 applications to test with gst_element_make_from_uri if there's
1570 an element that supports the URI protocol.
1571 Also move the g_path_is_absolute() check for the location part
1572 of the URI to also check this for "file://localhost/bla" URIs.
1574 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1576 * docs/gst/gstreamer-sections.txt:
1577 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1579 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1581 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1583 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1585 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1586 (gst_registry_binary_load_pad_template),
1587 (gst_registry_binary_load_plugin),
1588 (gst_registry_binary_read_cache):
1589 * gst/gstregistrybinary.h:
1590 Implement no-mmap alternative for registry reading. Do code cleanups.
1591 Add more comments about avoiding strdups for all text data. Comments
1594 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1596 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1597 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1598 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1599 Comment structs and reformat to fix the build (that stuff should go
1600 into a priv. header).
1602 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1604 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1605 (gst_registry_binary_load_feature):
1606 * gst/gstregistrybinary.h:
1607 Refactor so that we can implement multiple features. Add support for
1608 TypeFindFactory features.
1610 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1612 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1615 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1617 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1619 * gst/gstbin.c: (gst_bin_element_set_state),
1620 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1621 (bin_handle_async_done), (gst_bin_handle_message_func):
1622 Fix build with --gst-disable-gst-debug
1624 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1626 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1627 Make sure streaming has finished before calling the ::stop() vfunc,
1628 since that vfunc might clear state which is being used in the
1629 streaming thread. This fixes a race that caused crashes in
1630 audioresample when shutting down a pipeline (#420106).
1632 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1634 * docs/gst/gstreamer-sections.txt:
1635 That was one byte missing.
1637 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1640 * docs/gst/gstreamer-sections.txt:
1642 * gst/gstconfig.h.in:
1643 * gst/gstobject.c: (gst_object_class_init),
1644 (gst_signal_object_class_init):
1646 2nd attempt to have a xml-less build as a joined effort of #413123
1649 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1651 * docs/design/draft-tagreading.txt:
1652 Added open issues/thoughts to draft.
1654 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1656 * gst/parse/grammar.tab.pre.c:
1657 * gst/parse/grammar.tab.pre.h:
1658 * gst/parse/lex._gst_parse_yy.pre.c:
1659 Update the prebuild parser sources.
1661 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1663 * gst/parse/Makefile.am:
1664 And now fix the building of the flex sources. Now everything should
1667 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1669 * gst/parse/Makefile.am:
1670 Now hopefully fix the build failures by setting proper rule
1671 dependencies and moving instead of copying.
1673 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1675 * tests/benchmarks/complexity.gnuplot:
1676 * tests/benchmarks/complexity.scm:
1677 * tests/benchmarks/mass-elements.gnuplot:
1678 * tests/benchmarks/mass-elements.scm:
1679 Total licensification.
1681 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1683 * gst/parse/Makefile.am:
1684 Fix the build by correcting the rule that gave wrong files to flex.
1686 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1688 * tests/benchmarks/complexity.c:
1689 * tests/benchmarks/mass-elements.c:
1690 Change licence to LGPL as granted by Benjamin and Andy.
1692 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1694 * gst/parse/Makefile.am:
1695 Add correct grammar.tab.h dependency if compiling without new enough
1696 flex. Fixes #431150.
1698 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1700 * gst/parse/Makefile.am:
1701 Fix typo and use outdated sources if the flex/bison sources are newer
1702 than the pregenerated ones but flex is too old. Print a warning in
1703 that case. This should fix the build on the build bot.
1705 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1707 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1708 * gst/parse/Makefile.am:
1709 * gst/parse/grammar.y:
1710 * gst/parse/parse.l:
1711 Make the parser reentrant and recursively callable. This requires flex
1712 >= 2.5.31, for older versions pregenerated sources are used as we
1713 can't bump the build dependency. Finally fixes #349180.
1715 * gst/gstparse.c: (gst_parse_launch):
1716 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1719 * docs/gst/Makefile.am:
1720 * docs/gst/Makefile.am:
1721 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1722 (__gst_parse_strfree), (__gst_parse_link_new),
1723 (__gst_parse_link_free), (__gst_parse_chain_new),
1724 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1725 (gst_parse_element_set), (gst_parse_free_link),
1726 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1727 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1728 (_gst_parse_launch):
1729 * gst/parse/grammar.tab.pre.h:
1730 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1731 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1732 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1733 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1734 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1735 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1736 (_gst_parse_yypop_buffer_state),
1737 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1738 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1739 (yy_fatal_error), (_gst_parse_yyget_extra),
1740 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1741 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1742 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1743 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1744 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1745 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1746 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1747 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1748 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1749 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1750 (_gst_parse_yyfree):
1751 If the installed flex version is too old use pre-generated parser
1752 sources. These pre-generated parser sources are always updated when
1753 the actual flex/bison sources change but require everybody who wants
1754 to change something in the parser to have flex >= 2.5.31 installed.
1756 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1758 * common/m4/gst-gettext.m4:
1759 * gst/gst-i18n-lib.h:
1760 Make --disable-nls to work
1762 2007-04-17 Wim Taymans <wim@fluendo.com>
1764 * gst/gstconfig.h.in:
1765 Revert previous change that broke the build.
1767 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1771 * gst/gstconfig.h.in:
1772 Drop libxml2 dependency when building with
1773 --enable-binary-registry --disable-loadsave
1775 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1777 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1778 (gst_registry_binary_read_cache):
1779 * gst/gstregistrybinary.h:
1780 Remove unnecessary <sys/mman.h> include which broke the win32 build
1781 with MingW; move includes from header file to .c file, even if the
1782 header file isn't installed; use g_strerror() where UTF-8 strings
1783 are expected, such as in GST_DEBUG messages.
1785 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1787 * docs/libs/gstreamer-libs-sections.txt:
1788 Remove bogus addition for API I didn't end up keeping.
1790 * libs/gst/base/gstbasesrc.h:
1791 Mention Since: 0.10.13 in the documentation.
1793 Add the API keyword to the previous ChangeLog entry.
1795 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1797 * docs/libs/gstreamer-libs-sections.txt:
1798 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1799 (gst_base_src_default_prepare_seek_segment),
1800 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1801 * libs/gst/base/gstbasesrc.h:
1802 Allow basesrc derived classes to execute seeks in other formats
1803 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1804 to prepare the GstSegment in any format that their perform_seek method
1805 will be able to understand. The default implementation provides the
1806 old behaviour of attempting to convert the seek offsets to the
1807 configured native format.
1809 API: basesrc::prepare_seek_segment vmethod.
1811 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1813 * gst/gstelement.c: (gst_element_get_state_func):
1814 Don't output the same debug statement twice.
1816 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1817 (gst_adapter_peek), (gst_adapter_take_buffer):
1818 Optimise the case where we have buffers at the head of the queue that
1819 can be joined quickly (because they're contiguous sub-buffers) by
1820 merging them together rather than copying data out into new memory.
1822 * gst/parse/grammar.y:
1823 * tests/check/pipelines/parse-launch.c:
1824 Fix a leak in an error path for parse_launch, and add a check
1825 for it to the testsuite.
1827 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1829 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1830 Don't deadlock when releasing a pad - gst_pad_set_active may try
1831 and take the multiqueue lock too.
1833 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1835 * gst/gsterror.c: (_gst_core_errors_init):
1837 API: add GST_CORE_ERROR_DISABLED (#392804).
1839 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1841 * docs/faq/gst-uninstalled:
1842 don't get empty paths on the PATH variables
1843 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1844 Don't format for the uncommon terminal width of 84 characters.
1846 2007-04-06 Wim Taymans <wim@fluendo.com>
1848 * gst/gstpipeline.c: (reset_stream_time),
1849 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1850 Only try to select a different pipeline clock when we went back to
1851 PAUSED and not when we merely got flushed.
1853 2007-04-05 Michael Smith <msmith@fluendo.com>
1855 * tools/gst-launch.1.in:
1856 fractions are better supported in gstreamer than ractions, so
1857 suggest using those.
1859 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1861 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1865 Added Danish translation.
1867 2007-04-05 Wim Taymans <wim@fluendo.com>
1869 * libs/gst/base/gstbasesink.c:
1870 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1871 Fix leak caused when refusing newsegment after EOS.
1873 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1874 (gst_fake_sink_init), (gst_fake_sink_set_property),
1875 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1876 (gst_fake_sink_render), (gst_fake_sink_change_state):
1877 * plugins/elements/gstfakesink.h:
1878 Add num-buffers property to make the element generate EOS after a
1879 configurable amount of buffers.
1880 API: fakesink::num-buffers property.
1882 * tests/check/elements/fakesink.c: (GST_START_TEST),
1884 Fix GstBus leak in test.
1885 Test for fakesink num-buffers.
1887 2007-04-05 Wim Taymans <wim@fluendo.com>
1889 * libs/gst/base/gstbasesink.c:
1890 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1891 (gst_base_sink_change_state):
1892 Don't accept anything after an EOS, return UNEXPECTED instead.
1894 * tests/check/elements/fakesink.c: (GST_START_TEST),
1896 Unit test for new EOS behaviour.
1898 2007-04-05 Wim Taymans <wim@fluendo.com>
1900 * gst/gstelement.c: (gst_element_get_request_pad):
1901 Make padtemplates also work when they don't contain %s or %d.
1903 2007-04-05 Wim Taymans <wim@fluendo.com>
1905 * docs/gst/gstreamer-sections.txt:
1906 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1907 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1909 Improve _adjust_unlocked() so that it overflows less.
1910 Add gst_clock_unadjust_unlocked to convert from external time to
1911 internal time based on calibration.
1912 Add some more debug.
1913 API: GstClock::gst_clock_unadjust_unlocked()
1915 2007-04-03 Wim Taymans <wim@fluendo.com>
1917 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1919 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1920 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1921 when releasing sink pad. Fixes #425400.
1923 2007-04-02 Stefan Kost <ensonic@users.sf.net>
1925 * docs/random/ensonic/dynlink.txt:
1926 More work on proposal for new core api.
1928 * docs/libs/gstreamer-libs-sections.txt:
1929 * libs/gst/base/gstbasetransform.h:
1930 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1932 * libs/gst/controller/gstcontroller.c:
1933 (on_object_controlled_property_changed),
1934 (gst_controller_sync_values),
1935 (gst_controller_set_interpolation_mode):
1936 * libs/gst/controller/gstcontroller.h:
1937 Less verbose logging add docs for unimplemented parts and correctly
1938 return when using unavailable parts.
1940 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1942 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1943 Move all the debug to the CLOCK category, and associate it with
1946 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1948 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1949 Make take_buffer a bit quicker by removing redundant checks
1950 caused by calling gst_adapter_take.
1952 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1954 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1957 * tests/check/Makefile.am:
1958 * tests/check/elements/.cvsignore:
1959 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1960 (GST_START_TEST), (multiqueue_suite):
1961 Add some dead simple unit tests for the 'multiqueue' element
1962 (some bits don't work yet and are disabled for now).
1964 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1966 * gst/gstelement.c: (gst_element_get_request_pad),
1967 (gst_element_class_get_request_pad_template):
1968 Make gst_element_get_request_pad() create request pads only for
1969 request pad templates and not for, say, sometimes pad templates.
1971 2007-03-28 Stefan Kost <ensonic@users.sf.net>
1973 * docs/design/draft-klass.txt:
1974 Add example that needs more thinking.
1976 * docs/design/draft-missing-plugins.txt:
1977 More thoughts about wrapper plugins.
1979 * docs/random/ensonic/embedded.txt:
1980 * docs/random/ensonic/profiling.txt:
1983 2007-03-25 Wim Taymans <wim@fluendo.com>
1985 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1986 (gst_base_src_loop):
1987 Only push the segment events in the PLAYING state for live sources.
1989 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
1991 * gst/gstpipeline.c: (gst_pipeline_change_state):
1992 Modify the clock distribution path in PAUSED->PLAYING so that we
1993 never attempt to choose a new clock unless we're actually leaving
1994 the PAUSED state for the first time. This prevents choosing a
1995 different clock when the state_change gets called for a 2nd time due
1996 to some element doing an async state change.
1998 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2000 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2001 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2002 (gst_pad_chain_unchecked), (gst_pad_push):
2003 Revert last commit. This needs some more thoughts.
2005 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2007 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2008 (gst_pad_chain_unchecked), (gst_pad_push):
2009 Check in set_caps if the caps are compatible with the pad and remove
2010 two functions that are redundant now. Fixes #421543.
2012 2007-03-22 Wim Taymans <wim@fluendo.com>
2014 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2015 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2016 Unref some more to make valgrind happy.
2018 2007-03-22 Wim Taymans <wim@fluendo.com>
2020 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2021 (gst_system_clock_id_wait_jitter),
2022 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2023 Fix anoying regression that survived a few releases. When adding an
2024 async entry while blocking on a sync entry, the sync entry will unblock
2025 but still be busy, so it should continue to wait instead of returning
2027 Add some comments here and there.
2029 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2030 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2031 Add testcase for this.
2033 2007-03-22 Wim Taymans <wim@fluendo.com>
2035 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2036 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2037 WRONG_STATE and can silently pause the task. All other cases should
2040 2007-03-22 Wim Taymans <wim@fluendo.com>
2042 Patch by: Ville Syrjala <syrjala at sci dot fi>
2044 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2045 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2048 2007-03-21 Michael Smith <msmith@fluendo.com>
2050 * docs/pwg/advanced-types.xml:
2051 Fix some errors in the typefinding docs pointed out on irc.
2053 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2055 * libs/gst/base/gstbasesrc.c:
2056 Clarify FIXME comment in the face of having added unlock_stop()
2058 2007-03-21 Wim Taymans <wim@fluendo.com>
2060 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2061 Prepare for release where we warn against possible app breakage in the
2062 case of live pipelines along with an env var to enable/disable live
2063 preroll mode (GST_COMPAT=[no-]live-preroll).
2065 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2067 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2068 So we should use correct constants for checking for None offset.
2070 2007-03-20 Wim Taymans <wim@fluendo.com>
2072 * docs/design/part-block.txt:
2073 Mention the fact that the newly switched element should be set to at
2076 2007-03-20 Wim Taymans <wim@fluendo.com>
2079 Fix compilation with registry disabled as spotted by Saur.
2081 2007-03-20 Wim Taymans <wim@fluendo.com>
2083 Patch by: Olivier Crete <tester at tester dot ca>
2085 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2086 Look at the pending state too when syncing the element state to the
2087 parent. Fixes #420133.
2089 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2091 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2092 (gst_base_sink_change_state):
2093 * libs/gst/base/gstbasesink.h:
2094 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2095 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2096 (gst_base_src_deactivate):
2097 * libs/gst/base/gstbasesrc.h:
2098 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2099 for sub-classes to correctly clear any state they set trying to
2100 unlock, such as clearing out unlock commands from a command fd.
2101 API: basesrc::unlock_stop
2102 API: basesink::unlock_stop
2104 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2105 (gst_fd_sink_render), (gst_fd_sink_unlock),
2106 (gst_fd_sink_unlock_stop):
2107 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2108 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2109 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2111 Implement unlock_stop in fdsrc and fdsink.
2112 Implement seeking in fdsrc when a seekable fd is passed, as in
2113 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2115 2007-03-19 Wim Taymans <wim@fluendo.com>
2117 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2119 * gst/gstelement.c: (gst_element_class_init):
2120 Fix pad-added and pad-removed signal signatures so that the pad type is
2121 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2123 2007-03-19 Wim Taymans <wim@fluendo.com>
2125 * docs/gst/gstreamer-sections.txt:
2126 Add new element field and method.
2128 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2129 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2130 (gst_bin_recalc_state), (gst_bin_get_state_func),
2131 (gst_bin_element_set_state), (gst_bin_change_state_func),
2132 (gst_bin_continue_func), (bin_bus_handler),
2133 (bin_push_state_continue), (bin_handle_async_start),
2134 (bin_handle_async_done), (gst_bin_handle_message_func):
2135 Make async state changes a bit smarter by using new ASYNC_START and
2136 ASYNC_DONE messages. This reduces the number of times we run the state
2137 recalculation thread.
2138 Don't change state of element with a pending ASYNC_START message.
2139 Deprecate STATE_DIRTY messages.
2141 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2142 (gst_element_get_state_func), (gst_element_continue_state),
2143 (gst_element_lost_state), (gst_element_set_state_func),
2144 (gst_element_change_state):
2146 Keep the state that was last set by the app in a new element field.
2147 Don't allow state changes when handling an element event.
2148 Post ASYNC_START and ASYNC_DONE messages.
2149 Change lost_state so that we go to PAUSED and wait for the parent to set
2150 us to PLAYING again (so latency calculation can be performed)
2151 Export gst_element_change_state() method so that subclasses can use it.
2152 API: gst_element_change_state()
2153 API: GST_STATE_TARGET
2155 * gst/gstpipeline.c: (gst_pipeline_class_init),
2156 (reset_stream_time), (gst_pipeline_change_state),
2157 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2158 Using the new ASYNC_START message we can reset the base_time when
2159 needed. This can then be used to implement base_time redistribution in
2160 flushing seeks so that we can remove the explicit seek handling.
2161 Perform latency query and configuration when going to PLAYING.
2163 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2164 (gst_base_sink_query), (gst_base_sink_change_state):
2165 Post new ASYNC_START/ASYNC_DONE messages.
2167 * tests/check/generic/sinks.c: (GST_START_TEST):
2168 Fix test because the bin will not set the async element to PLAYING right
2171 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2172 Make the message check a little stronger.
2173 Handle ASYNC messages.
2175 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2176 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2177 Expect ASYNC_DONE messages.
2179 2007-03-19 Wim Taymans <wim@fluendo.com>
2181 * docs/gst/gstreamer-sections.txt:
2182 * gst/gstmessage.c: (gst_message_new_async_start),
2183 (gst_message_new_async_done), (gst_message_parse_info),
2184 (gst_message_parse_async_start):
2186 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2189 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2191 * tools/gst-inspect.c:
2192 (print_plugin_automatic_install_info_codecs):
2193 Now that we don't check for the 'Codec' keyword any longer in the
2194 klass, we shouldn't spew a warning if the klass isn't a decoder or
2195 encoder (since it might be a Source/Network, for example).
2197 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2199 * tools/gst-inspect.c:
2200 (print_plugin_automatic_install_info_codecs):
2201 Don't require decoder/demuxer/depayloader elements or
2202 encoder/muxer/paylader elements to have 'Codec' as part of their
2203 factory class string when introspecting a plugin's capabilities.
2204 draft-klass.txt mentions that it might be removed in future, and
2205 flump3dec doesn't have it as part of its class string, so chances
2206 are others might also not have it.
2208 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2230 Update translations from translation project
2232 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2234 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2235 (gst_child_proxy_set_property):
2236 Invert precondition check to be alike the ones in the mimiced gobject
2239 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2241 * docs/design/draft-tagreading.txt:
2242 * docs/random/ensonic/audiobaseclasses.txt:
2243 Do some Architect work.
2245 * gst/gstobject.c: (gst_object_set_name):
2249 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2251 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2253 * gst/gstsystemclock.c: (gst_system_clock_init),
2254 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2255 Defer starting the async system clock thread until the first async
2256 wait is scheduled. Fixes #414986.
2258 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2260 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2261 (gst_single_queue_free):
2262 Fix small leak (free GstSingleQueue structure too, not only contents).
2264 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2266 * gst/gstbin.c:(gst_bin_add):
2267 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2268 * win32/common/libgstbase.def:
2269 * win32/common/libgstreamer.def:
2270 Add new exported functions.
2272 2007-03-09 Wim Taymans <wim@fluendo.com>
2274 * docs/plugins/gstreamer-plugins-sections.txt:
2277 2007-03-09 Wim Taymans <wim@fluendo.com>
2279 * docs/gst/gstreamer-sections.txt:
2280 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2282 Add metadata copy functions. Fixes #393099.
2283 API: gst_buffer_copy_metadata()
2285 * gst/gstutils.c: (gst_buffer_stamp):
2286 * libs/gst/base/gstbasetransform.c:
2287 (gst_base_transform_prepare_output_buffer):
2288 Use new metadata copy functions.
2290 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2292 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2293 (gst_identity_init), (gst_identity_check_perfect),
2294 (gst_identity_check_imperfect_timestamp),
2295 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2296 (gst_identity_set_property), (gst_identity_get_property):
2297 * plugins/elements/gstidentity.h:
2298 Separate out check-imperfect-timestamp and check-imperfect-offset.
2299 Put back check-perfect as it was to keep compatibility.
2301 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2303 * gst/gstelement.c: (gst_element_dispose):
2304 There's no need to warn if VOID_PENDING is not NONE here, as
2305 long as the state is NULL it's ok, and that's checked immediately
2308 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2310 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2311 Fix check for perfect stream to ignore buffers with -1
2312 offsets/offset ends when checking data contiguity.
2314 2007-03-08 Wim Taymans <wim@fluendo.com>
2316 * tools/gst-launch.c: (event_loop):
2317 Print INFO messages.
2319 2007-03-08 Wim Taymans <wim@fluendo.com>
2321 * libs/gst/base/gstbasetransform.c:
2322 (gst_base_transform_sink_eventfunc),
2323 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2324 (gst_base_transform_activate):
2325 * libs/gst/base/gstbasetransform.h:
2326 Add support for dropping buffers with custom GstFlowReturn.
2327 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2328 buffers or dropped buffers.
2330 * docs/libs/gstreamer-libs-sections.txt:
2331 docs for new custom return code.
2333 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2334 Use drop support in base class to implement drop-probability.
2336 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2338 * gst/gst.c: (load_plugin_func):
2339 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2340 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2341 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2342 Remove newlines at end of debug log strings.
2344 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2346 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2347 Only post bus message at max, once per buffer received.
2349 2007-03-07 Wim Taymans <wim@fluendo.com>
2351 * docs/design/Makefile.am:
2352 * docs/design/part-synchronisation.txt:
2353 Add doc about synchronisation
2355 * docs/design/draft-latency.txt:
2356 * docs/design/part-TODO.txt:
2357 * docs/design/part-clocks.txt:
2358 * docs/design/part-events.txt:
2359 * docs/design/part-gstbus.txt:
2360 * docs/design/part-gstpipeline.txt:
2361 * docs/design/part-live-source.txt:
2362 * docs/design/part-messages.txt:
2363 * docs/design/part-overview.txt:
2364 * docs/design/part-streams.txt:
2365 * docs/design/part-trickmodes.txt:
2366 Documentation updates.
2368 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2371 Update the doap file.
2373 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2375 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2376 Rename non-perfect to imperfect for Mike and for the sanctity of the
2378 Also make sure bus message gets emitted for data-incontiguities.
2380 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2382 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2383 (gst_identity_start):
2384 * plugins/elements/gstidentity.h:
2385 Emit bus message if check-perfect is true and we encounter a
2386 non-perfect stream between 2 consecutive buffers.
2389 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2394 === release 0.10.12 ===
2396 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2399 releasing 0.10.12, "Inevitable Demise"
2401 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
2404 Version 0.10.11.2 (0.10.12 pre-release)
2405 Bump libtool versioning.
2407 2007-03-01 Stefan Kost <ensonic@users.sf.net>
2409 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2410 Log flow-names and not numbers.
2412 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2415 Convert to new AG_GST style.
2417 2007-02-28 Wim Taymans <wim@fluendo.com>
2419 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2420 Don't unref query twice.
2422 2007-02-28 Wim Taymans <wim@fluendo.com>
2424 * gst/gstvalue.c: (gst_value_transform_object_string),
2425 (_gst_value_initialize):
2426 Implement GstObject -> string transform so we print object names
2427 when serializing GValues containing GstObjects.
2429 2007-02-28 Wim Taymans <wim@fluendo.com>
2431 * docs/gst/gstreamer-sections.txt:
2432 Add new stuff to docs.
2434 2007-02-28 Wim Taymans <wim@fluendo.com>
2436 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2437 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2438 (gst_base_sink_change_state):
2439 Improve latency query code.
2440 Don't leak latency events.
2442 * tests/check/gst/gstbin.c: (GST_START_TEST):
2445 2007-02-28 Wim Taymans <wim@fluendo.com>
2447 * gst/gstelement.c: (gst_element_message_full),
2448 (gst_element_get_state_func):
2450 Improve docs a little. Added Since: for new macro.
2452 * gst/gstobject.c: (gst_object_sink):
2453 * gst/gstpipeline.c: (gst_pipeline_change_state),
2454 (gst_pipeline_set_new_stream_time):
2455 * gst/gstpipeline.h:
2456 Improve debugging and docs.
2458 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2461 2007-02-28 Wim Taymans <wim@fluendo.com>
2463 * gst/gstelement.c: (gst_element_message_full),
2464 (gst_element_set_locked_state), (gst_element_get_state_func),
2465 (gst_element_change_state):
2466 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2467 Documentation updates.
2468 Small code cleanups.
2470 * gst/gstmessage.c: (gst_message_new_info),
2471 (gst_message_parse_info):
2473 API: gst_message_new_info()
2474 API: gst_message_parse_info()
2475 Add INFO message create and parse code.
2477 2007-02-28 Wim Taymans <wim@fluendo.com>
2479 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2480 (bin_query_latency_done):
2481 Also report the live parameter of a latency query.
2483 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2485 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2486 Copy the current generic/states example from -base and adapt so
2487 we can use the exact same code everywhere.
2488 Check a STATES_IGNORE_ELEMENTS env var which can be used
2489 to ignore certain element factories for this test, which is
2490 what is being done in -base
2491 * tests/check/Makefile.am:
2492 Mention this environment variable.
2494 2007-02-27 Wim Taymans <wim@fluendo.com>
2496 * docs/gst/gstreamer-sections.txt:
2497 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2498 (gst_bus_timed_pop), (gst_bus_pop):
2500 API: gst_bus_timed_pop()
2501 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2502 message to arrive on the bus.
2504 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2506 Two unit tests for new _timed_pop() function.
2508 2007-02-23 Wim Taymans <wim@fluendo.com>
2510 * gst/gstpipeline.c: (gst_pipeline_change_state),
2511 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2512 Don't ref a NULL clock in _provide_clock_func().
2513 Don't allow an INVALID delay.
2514 Don't try to calculate base_time with an invalid start_time.
2515 Also distribute and notify a NULL clock when it was selected.
2517 * tools/gst-launch.c: (event_loop):
2518 Don't crash when a NULL clock was selected in the pipeline.
2520 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2522 * docs/design/Makefile.am:
2523 * docs/design/draft-missing-plugins.txt:
2524 * docs/random/draft-missing-plugins.txt:
2525 Some small updates: update plugin system identifier prefix
2526 ('gstreamer.net' to 'gstreamer'), mention our new install
2527 API in libgstbaseutils rather than libgimme-codec, add
2528 reference to the online docs.
2530 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2532 * win32/common/config.h:
2533 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2534 use moap cl ci to only check in what is mentioned in the ChangeLog.
2536 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2538 * docs/gst/gstreamer-sections.txt:
2540 Fix up documentation to link to the correct GstGError section.
2541 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2543 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2545 * tools/gst-launch.c: (event_loop):
2546 Make sure that we actually show the important message part of a
2548 No need to check if the gerror is not NULL to free; first of all
2549 g_free accepts NULL; and second the default error handler would
2550 segfault if gerror was NULL.
2552 2007-02-21 Wim Taymans <wim@fluendo.com>
2554 * docs/gst/gstreamer-sections.txt:
2555 Removed docs as well.
2557 2007-02-21 Wim Taymans <wim@fluendo.com>
2559 * gst/gstmessage.c: (gst_message_parse_duration):
2561 Remove new messages for release.
2563 2007-02-20 Wim Taymans <wim@fluendo.com>
2565 * docs/design/part-gstghostpad.txt:
2566 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2567 (gst_ghost_pad_new_full):
2568 Make the ghostpad a parent of the internal pad again for better backward
2569 compatibility. Don't write code that relies on this however.
2571 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2572 (gst_pad_link_check_hierarchy):
2573 Require that parents should be GstElements in the hierarchy check.
2575 2007-02-20 Wim Taymans <wim@fluendo.com>
2577 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2578 (gst_bin_change_state_func), (bin_query_min_max_init),
2579 (bin_query_latency_fold), (bin_query_latency_done),
2582 Implement latency query.
2584 2007-02-20 Wim Taymans <wim@fluendo.com>
2586 * docs/design/part-gstghostpad.txt:
2587 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2588 (gst_ghost_pad_internal_do_activate_push),
2589 (gst_ghost_pad_internal_do_activate_pull),
2590 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2591 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2592 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2593 Do not set the internal pad as a parent anymore so we can avoid
2594 hierarchy linking errors when the ghostpad has no parent yet. This also
2595 fixes failed activation because of unlinked internal pads, which in
2596 turn fixes the impossible case where you have to activate a pad before
2597 you can add it to a running element.
2600 * gst/gstpad.c: (pre_activate), (post_activate),
2601 (gst_pad_set_active), (gst_pad_activate_pull),
2602 (gst_pad_activate_push), (gst_pad_check_pull_range):
2603 Add some more debug info.
2604 Mark activation mode in pre_activate so that we don't try to activate in
2605 endless loops. Fixes #385084.
2607 2007-02-19 Wim Taymans <wim@fluendo.com>
2609 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2610 (gst_base_transform_check_get_range):
2611 Implement a checkgetrange function instead of relying on the default
2612 core behaviour that assumes we can operate in pull mode if we have a
2613 getrange function. First step at fixing #385084.
2615 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2617 * gst/gstchildproxy.h:
2618 * libs/gst/base/gstbasesink.h:
2619 * libs/gst/base/gstbasesrc.h:
2620 * libs/gst/base/gstbasetransform.h:
2621 More docs coverage and some ChangeLog surgery (add missing names)
2623 2007-02-15 Wim Taymans <wim@fluendo.com>
2625 * docs/design/part-TODO.txt:
2626 * docs/design/part-activation.txt:
2627 * docs/design/part-block.txt:
2628 * docs/design/part-buffering.txt:
2629 * docs/design/part-clocks.txt:
2630 * docs/design/part-element-source.txt:
2631 * docs/design/part-events.txt:
2632 * docs/design/part-gstbin.txt:
2633 * docs/design/part-gstbus.txt:
2634 * docs/design/part-gstpipeline.txt:
2635 * docs/design/part-live-source.txt:
2636 * docs/design/part-messages.txt:
2637 * docs/design/part-overview.txt:
2638 * docs/design/part-qos.txt:
2639 * docs/design/part-query.txt:
2640 * docs/design/part-states.txt:
2641 * docs/design/part-trickmodes.txt:
2642 Some doc updates. Start renaming from stream_time to running_time where
2643 it was used wrongly.
2645 2007-02-15 Wim Taymans <wim@fluendo.com>
2647 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2648 Answer LATENCY query.
2650 2007-02-15 Wim Taymans <wim@fluendo.com>
2652 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2656 2007-02-15 Wim Taymans <wim@fluendo.com>
2658 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2659 (gst_pad_dispatcher):
2660 Improve debugging of default pad dispatcher and query functions.
2662 2007-02-15 Wim Taymans <wim@fluendo.com>
2664 * docs/gst/gstreamer-sections.txt:
2665 Remove old unused method.
2667 2007-02-13 Wim Taymans <wim@fluendo.com>
2669 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2672 2007-02-13 Wim Taymans <wim@fluendo.com>
2674 * docs/design/part-seeking.txt:
2677 * gst/gstsegment.c: (gst_segment_set_seek):
2678 Revert old bogus change that should make seeking work again.
2680 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2682 * docs/random/ensonic/dynlink.txt:
2683 * docs/random/ensonic/interfaces.txt:
2684 * docs/random/ensonic/receipies.txt:
2685 Possible dynamic reconnection api, plus some type fixes the other two
2688 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2690 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2691 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2692 Also check for an absolute path following file:// in the filesrc
2693 element. Remove redundant check and call g_path_is_absolute() on the
2696 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2698 * docs/design/draft-klass.txt:
2699 Add existing category analysis.
2702 Fix doc example, framerate is a fraction.
2704 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2707 * docs/gst/Makefile.am:
2708 * docs/gst/gstreamer-sections.txt:
2709 * docs/libs/Makefile.am:
2710 Erm, forgot a bunch of --extra-dir.
2712 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2715 * docs/gst/Makefile.am:
2716 * docs/libs/Makefile.am:
2717 * docs/plugins/Makefile.am:
2718 Add crossreferences to glib/gobject docs.
2720 2007-02-12 Wim Taymans <wim@fluendo.com>
2722 * docs/design/draft-latency.txt:
2725 * docs/libs/gstreamer-libs-sections.txt:
2726 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2727 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2728 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2729 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2730 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2731 (gst_base_sink_get_position), (gst_base_sink_query),
2732 (gst_base_sink_change_state):
2733 * libs/gst/base/gstbasesink.h:
2734 API: gst_base_sink_query_latency() to let subclasses query the upstream
2736 API: gst_base_sink_get_latency() to let subclasses query the configured
2737 latency in the sink.
2738 Implement query and set latency.
2740 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2741 don't continue preroll when we are flushing. Fixes #405284.
2743 * tests/check/pipelines/stress.c: (change_state_timeout),
2744 (quit_timeout), (GST_START_TEST), (stress_suite):
2747 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2749 Patch by: René Stadler <mail at renestadler de>
2751 * docs/gst/gstreamer-sections.txt:
2752 * gst/gsttaglist.c: (_gst_tag_initialize):
2754 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2756 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2758 * docs/libs/Makefile.am:
2759 Fix path to core docs.
2761 * gst/gstbin.c: (gst_bin_get_by_interface),
2762 (gst_bin_iterate_all_by_interface):
2763 Refix docs by also renaming 'interface' to 'iface' in implementation.
2765 * docs/gst/gstreamer-sections.txt:
2767 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2768 * gst/gstchildproxy.h:
2769 * gst/gstelementfactory.c:
2770 * gst/gstpadtemplate.h:
2771 * libs/gst/controller/gstcontroller.c:
2772 (gst_controlled_property_new):
2775 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2777 * gst/gstbin.h:(gst_bin_get_by_interface),
2778 (gst_bin_iterate_all_by_interface):
2779 Replace interface parameter name by iface as interface is
2780 a reserved keyword in Visual Studio for C++ projects so it removes
2781 a build error for application developpers using VS.
2782 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2783 Fix a bug on Windows in uri format check. Now the prefix checked
2784 is file:// and next we check if the path after file:// is absolute.
2785 * win32/common/libgstbase.def:
2786 * win32/common/libgstdataprotocol.def:
2787 * win32/common/libgstgstreamer.def:
2788 Add new exported functions.
2790 2007-02-09 Andy Wingo <wingo@pobox.com>
2792 * tests/check/pipelines/simple-launch-lines.c
2793 (simple_launch_lines_suite, test_tee): Disable tee test until I
2794 have time to fix it :-(
2796 * tests/check/Makefile.am (noinst_HEADERS):
2797 * tests/check/libs/libsabi.c:
2798 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2799 * tests/check/gst/gstabi.c:
2800 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2802 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2803 tests for push and pull tee behavior.
2805 * plugins/elements/gsttee.h:
2806 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2807 mark as deprecated as well as unimplemented. It was a crack idea.
2808 Add support for tee operating in pull mode, off by default.
2810 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2811 normal-case logs down to LOG, raise errors to WARNING.
2812 (gst_registry_xml_read_cache): Don't log before calling a function
2815 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2816 exit (registry finalize).
2817 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2818 DEBUG log when we emit signals that people don't even have the
2819 chance to connect to.
2820 (gst_registry_scan_path_level): Less logging in the normal case.
2822 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2824 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2826 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2827 Correctly generate EOS for non-seekable files. We don't have a total
2828 length for them and would get an unexpected end of file if we only
2829 special-cased for regular files. (Fixes: #404569)
2831 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2833 * tests/check/elements/filesrc.c: (GST_START_TEST),
2835 Add unit test for the GstURIHandler interface in filesrc. This also
2836 tests the newly added file://localhost/foo/bar support.
2838 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2840 * gst/gstelementfactory.h:
2841 The klass string is not a hierarchy. Add reference to the design doc
2842 for more information and common types.
2844 2007-02-02 Wim Taymans <wim@fluendo.com>
2846 * gst/gstquery.c: (gst_query_new_latency):
2847 Remove old structure field.
2849 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2851 * tools/gst-launch.1.in:
2852 Give example for network streaming (#351998)
2854 2007-02-02 Wim Taymans <wim@fluendo.com>
2856 * docs/gst/gstreamer-sections.txt:
2857 Add docs for new methods.
2859 * gst/gstevent.c: (gst_event_new_latency),
2860 (gst_event_parse_latency):
2862 Add new LATENCY event to configure latency in a pipeline.
2863 API: gst_event_new_latency
2864 API: gst_event_parse_latency
2866 * gst/gstmessage.c: (gst_message_new_buffering),
2867 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2868 (gst_message_new_latency), (gst_message_parse_buffering),
2869 (gst_message_parse_lost_preroll):
2871 Added messages used in draft-latency.
2872 API: gst_message_new_lost_preroll
2873 API: gst_message_parse_lost_preroll
2874 API: gst_message_new_prerolled
2875 API: gst_message_new_latency
2877 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2878 (gst_query_parse_latency):
2880 Implemented new latency query as in design doc.
2881 API: gst_query_new_latency
2882 API: gst_query_set_latency
2883 API: gst_query_parse_latency
2885 2007-02-02 Wim Taymans <wim@fluendo.com>
2887 * docs/design/draft-latency.txt:
2888 Slight redesign to allow for dynamic latency adjustments.
2890 * docs/design/part-negotiation.txt:
2893 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2895 reviewed by: Wim Taymans <wim@fluendo.com>
2897 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2898 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2899 Allow file://localhost/foo/bar URLs and correctly fail for every other
2900 hostname that one sets. This was gnomevfssrc is linked for those if
2901 installed as it can handle it (#403172)
2903 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2905 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2907 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2908 (unref_data), (gst_collect_pads_add_pad_full):
2909 * libs/gst/base/gstcollectpads.h:
2910 Don't put the previously added destroy notify in the GstCollectData
2911 struct as all it's padding is already used and we don't want to break
2912 ABI. Instead put in the pad's GObject data for now. This should be
2913 cleaned up for 0.11 (#402393).
2915 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2917 reviewed by: Wim Taymans <wim@fluendo.com>
2919 * docs/libs/gstreamer-libs-sections.txt:
2920 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2921 (unref_data), (gst_collect_pads_add_pad),
2922 (gst_collect_pads_add_pad_full):
2923 * libs/gst/base/gstcollectpads.h:
2924 API: Add function to specify a destroy notification for custom
2925 GstCollectData when adding new pads in GstCollectPads (#402393).
2927 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
2930 Update Swedish translation (#378255).
2932 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2934 * docs/design/draft-klass.txt:
2935 Fix the previous change, this is a list of categories and not a hierarchy.
2937 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2939 * docs/design/draft-klass.txt:
2940 Add info about how to get a list of used classes.
2942 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
2944 * plugins/elements/gsttypefindelement.c:
2945 (gst_type_find_element_chain_do_typefinding),
2946 (gst_type_find_element_change_state):
2947 Don't leak found caps in chain function (no idea why that never
2948 showed up as a leak anywhere).
2950 2007-01-30 Stefan Kost <ensonic@users.sf.net>
2953 Fix and expand GstPluginDesc API docs.
2955 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2958 * gst/gstelementfactory.c:
2959 * gst/gstpadtemplate.h:
2962 * libs/gst/controller/gstcontroller.c:
2963 (gst_controlled_property_new):
2964 * tests/examples/controller/audio-example.c:
2967 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2970 comment about refining the xml deps
2973 comments about moving away from jade for docs
2976 recommit the ifdefs to use the binary registry
2978 * gst/gstbin.c: (gst_bin_change_state_func):
2979 this break is obsolete
2981 * gst/gstelementfactory.h:
2982 better GST_ELEMENT_DETAILS docs, add comment about translation
2987 * gst/gstobject.c: (gst_signal_object_get_type):
2988 add G_UNLIKELY as usual
2990 * gst/gstpad.c: (gst_pad_event_default):
2991 add fall trhu comment
2993 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2994 (gst_registry_binary_initialize_magic),
2995 (gst_registry_binary_save_string),
2996 (gst_registry_binary_save_pad_template),
2997 (gst_registry_binary_save_feature),
2998 (gst_registry_binary_save_plugin),
2999 (gst_registry_binary_write_cache),
3000 (gst_registry_binary_check_magic),
3001 (gst_registry_binary_load_pad_template),
3002 (gst_registry_binary_load_feature),
3003 (gst_registry_binary_load_plugin),
3004 (gst_registry_binary_read_cache):
3005 comment typo and formatting
3007 * gst/gstutils.c: (gst_element_state_get_name),
3008 (gst_element_state_change_return_get_name):
3009 remove obsolete breaks
3011 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3012 add FIXME 0.11 and remove cpp comment
3014 2007-01-29 Edward Hervey <edward@fluendo.com>
3016 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3017 Fix print statement in an even more portable way.
3019 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3021 * docs/gst/gstreamer-sections.txt:
3023 API: add GST_ROUND_DOWN_* macros (#401781).
3025 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3027 * docs/gst/gstreamer.types.in:
3028 * gst/gstregistry.c: (gst_registry_class_init):
3029 Document registry signals and make gtk-doc pick them up (#401381).
3031 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3033 * docs/pwg/building-testapp.xml:
3034 Add some audioconverts and audioresample to the pipeline, and some
3035 more comments and error handling.
3037 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3039 * docs/manual/manual.xml:
3043 2007-01-26 Wim Taymans <wim@fluendo.com>
3045 * gst/gstcaps.c: (gst_static_caps_get):
3046 Init caps flags too.
3048 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3050 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3052 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3053 If not using mmap'ed files try to seek to the end instead of the
3054 start to determine whether we can seek at all. This fixes the case
3055 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3056 seeks for everything afterwards fail. Fixes #400656
3058 2007-01-25 Wim Taymans <wim@fluendo.com>
3060 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3061 Add some refcount debugging.
3062 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3063 in multiple streaming threads.
3065 2007-01-25 Wim Taymans <wim@fluendo.com>
3067 Patch by: David Schleef <ds at schleef dot org>
3069 * docs/libs/gstreamer-libs-sections.txt:
3070 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3071 * libs/gst/base/gstadapter.h:
3072 API: gst_adapter_copy() that can reduce the amount of memcpy when
3073 getting data from the adapter. Fixes #388201.
3075 2007-01-25 Edward Hervey <edward@fluendo.com>
3077 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3078 In print statements, "%x" is for guint. Fixes build on macosx.
3080 2007-01-24 Edward Hervey <edward@fluendo.com>
3082 * plugins/elements/gstmultiqueue.c:
3083 (gst_multi_queue_loop):
3085 (single_queue_overrun_cb), (single_queue_underrun_cb),
3086 (single_queue_check_full), (gst_single_queue_new):
3087 Implement single queue growth system.
3088 This uses the extra-size properties, and will grow single queues by
3089 that much if one goes full whereas there are others empty. This is
3090 called extra-mode in the code.
3091 When a single queue's levels go back below the initial max-size
3092 limits, it is no longer in extra-mode. This is to ensure we don't
3093 consume too much memory.
3096 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3098 * gst/gst.c: (gst_init_get_option_group):
3099 Make warning about late g_thread_init() calls a bit more explicit,
3100 so that it's more obvious to application developers what they need
3101 to do if a user files a bug against their application.
3103 2007-01-22 Edward Hervey <edward@fluendo.com>
3105 * plugins/elements/gstmultiqueue.c:
3106 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3107 Remove previous hack of unsetting the flushing flag for the source pad
3108 instead of activating it. Instead, fix the source pad activate function
3109 so that it no longer depends on having a parent set or not.
3111 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3113 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3115 * docs/manual/basics-bus.xml:
3116 Fix example code, gst_element_unref() doesn't exist any longer.
3118 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3120 Patch by: Mark Nauwelaerts <manauw at skynet be>
3123 Fix two docs typoes (#399094).
3125 2007-01-19 Edward Hervey <edward@fluendo.com>
3127 * docs/faq/gst-uninstalled:
3128 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3129 depending on libgstbaseutils can work in uninstalled environment.
3131 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3134 * gst/gsttagsetter.c:
3135 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3136 statement for new tag.
3138 2007-01-17 Edward Hervey <edward@fluendo.com>
3140 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3141 When dynamically creating single queues, activate sinkpad before adding
3143 We should be doing the same thing for the source pad, but we can't
3144 since it would call a method which needs the parent to be set in order
3145 to work propertly. Instead of activating the source pad, we just unset
3146 the flushing flag, which is the minimal requirement for adding a pad
3147 to an element in a state greater than READY.
3149 2007-01-17 Edward Hervey <edward@fluendo.com>
3151 * docs/faq/gst-uninstalled:
3152 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3155 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3157 * tests/check/gst/gstabi.c:
3158 * tests/check/gst/struct_hppa.h:
3159 * tests/check/libs/libsabi.c:
3160 * tests/check/libs/struct_hppa.h:
3161 Add ABI structs for HPPA (see #393796).
3163 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3165 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3166 Actually write ABI structs to the file specified in the GST_ABI
3167 environment variable, as the message we print claims we would.
3169 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3171 * tests/check/gst/gsttask.c:
3174 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3176 * gst/gsttaglist.c: (_gst_tag_initialize):
3177 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3178 previous two entries.
3180 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3182 * docs/gst/gstreamer-sections.txt:
3183 * gst/gsttaglist.c: (_gst_tag_initialize):
3185 Add tag support for beat-per-minute.
3187 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3189 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3190 (gst_registry_binary_initialize_magic),
3191 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3192 (gst_registry_binary_save_pad_template),
3193 (gst_registry_binary_save_feature),
3194 (gst_registry_binary_save_plugin),
3195 (gst_registry_binary_write_cache),
3196 (gst_registry_binary_check_magic),
3197 (gst_registry_binary_load_pad_template),
3198 (gst_registry_binary_load_feature),
3199 (gst_registry_binary_load_plugin),
3200 (gst_registry_binary_read_cache):
3201 * gst/gstregistrybinary.h:
3202 Use glib types, cleanup comments, impement interfaces and uri-types.
3204 2007-01-13 Andy Wingo <wingo@pobox.com>
3206 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3207 getrange() to return buffers with other caps, while we fix
3208 demuxers and typefind, or otherwise change part-negotiation.txt.
3210 2007-01-12 Andy Wingo <wingo@pobox.com>
3212 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3213 Factor start/stop into this private function instead of partially
3214 in activate functions and partially in the change_state function.
3215 Fixes setup before the element has changed from READY->PAUSED, as
3216 is the case in pull-mode pipelines.
3217 (gst_base_transform_sink_activate_push)
3218 (gst_base_transform_src_activate_pull): Refactor to use
3219 gst_base_transform_activate().
3220 (gst_base_transform_change_state): Removed, not needed any more.
3222 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3223 Truncate before fixating.
3225 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3226 Don't set_caps() if the result of fixating is ANY, as it's not
3227 supported, and not necessary in the case of a link with no
3228 template caps on either side. Fixes tests/check/libs/basesrc in
3229 some pull-mode tests.
3231 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3232 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3233 (gst_base_transform_src_activate_pull):
3234 Track the activation mode.
3235 (gst_base_transform_setcaps): In pull mode, when activating the
3236 src pad, after activating the sink pad, activate the sink pad's
3237 peer, as discussed in part-negotiation.txt.
3239 * libs/gst/base/gstbasesrc.h:
3240 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3241 vmethod, as in basesink.
3243 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3245 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3246 mode, first proxy the setcaps to the peer pad.
3247 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3249 (gst_base_sink_default_activate_pull): Rename from
3250 gst_base_sink_activate_pull.
3251 (gst_base_sink_negotiate_pull): New function, performs negotiation
3252 in pull mode before calling ::activate_pull().
3253 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3254 vmethod instead of the default implementation. I have no idea how
3255 this worked before. Negotiate before calling activate_pull.
3257 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3258 sink pads in pull mode. In addition to being correct, fixes
3259 filesrc ! decodebin ! identity ! fakesink.
3260 (gst_pad_get_range, gst_pad_pull_range): Don't call
3261 gst_pad_set_caps() if the caps changes; instead error out with
3262 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3264 2007-01-12 Andy Wingo <wingo@pobox.com>
3266 * docs/design/part-negotiation.txt: Update with more policy.
3268 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3270 * libs/gst/check/gstbufferstraw.h:
3271 * libs/gst/check/gstcheck.h:
3272 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3275 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3277 * tests/check/Makefile.am:
3278 * tests/check/gst/.cvsignore:
3279 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3280 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3281 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3282 (GST_START_TEST), (gst_tag_setter_suite):
3283 Add minimal unit test for beforementioned GstTagSetter bug.
3285 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3287 Patch by: René Stadler <mail at renestadler dot de>
3289 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3290 gst_tag_list_merge() returns a new list, so it's not the best idea
3291 to ingore its return value. Effectively meant that tags could only
3292 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3293 Also add function guard to require a non-NULL taglist as input (has
3294 always been so due to gst_tag_list_copy(), just making it explicit).
3296 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3298 * docs/random/draft-missing-plugins.txt:
3299 Some additions: mention new API that is supposed to be used at the
3300 various stages; short blob about new gst-inspect introspection
3301 option; mention potential future problem with plugins that have
3302 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3304 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3306 * tools/gst-inspect.c:
3307 (print_plugin_automatic_install_info_codecs),
3308 (print_plugin_automatic_install_info_protocols),
3309 (print_plugin_automatic_install_info), (main):
3310 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3311 introspect plugin files and get machine-parsable output that corresponds
3312 to the last bit of the missing-plugin installer string (small gotcha:
3313 doesn't take into account ranks).
3315 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3318 * docs/gst/gstreamer-sections.txt:
3320 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3321 (gst_registry_lookup_locked):
3322 * gst/gstregistry.h:
3323 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3324 (gst_registry_binary_initialize_magic),
3325 (gst_registry_binary_save_string),
3326 (gst_registry_binary_save_pad_template),
3327 (gst_registry_binary_save_feature),
3328 (gst_registry_binary_save_plugin),
3329 (gst_registry_binary_write_cache),
3330 (gst_registry_binary_check_magic),
3331 (gst_registry_binary_load_pad_template),
3332 (gst_registry_binary_load_feature),
3333 (gst_registry_binary_load_plugin),
3334 (gst_registry_binary_read_cache):
3335 * gst/gstregistrybinary.h:
3336 * gst/gstregistryxml.c: (load_feature),
3337 (gst_registry_xml_read_cache):
3338 commit binary registry (disabled by default, see #359653)
3340 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3342 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3343 Fix 'make check' too.
3345 2007-01-10 Andy Wingo <wingo@pobox.com>
3347 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3350 * docs/design/part-negotiation.txt: Update with, um, one way that
3351 pull-mode negotiation might work?
3354 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3355 that the pad must be a src pad; makes sense to call it the other
3356 way in pull mode, and the logic is symmetric anyway.
3358 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3360 * plugins/elements/gstfilesink.c:
3361 Include <stdio.h> for fseeko().
3363 2007-01-10 Wim Taymans <wim@fluendo.com>
3367 Reserve LATENCY event.
3369 2007-01-09 Wim Taymans <wim@fluendo.com>
3371 * docs/design/draft-latency.txt:
3374 2007-01-09 Wim Taymans <wim@fluendo.com>
3376 * docs/design/draft-latency.txt:
3380 * gst/gststructure.c:
3384 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
3386 * tests/check/.cvsignore:
3387 Ignore test-registry.xml as well.
3389 2007-01-09 Wim Taymans <wim@fluendo.com>
3391 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3392 unref data at the end when we are done with the pad.
3394 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3396 * docs/gst/gstreamer-sections.txt:
3397 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3398 (init_post), (gst_deinit), (gst_update_registry):
3400 API: add gst_update_registry() (#391296).
3402 * tests/check/Makefile.am:
3403 * tests/check/gst/gstregistry.c:
3404 * tests/check/gst/.cvsignore:
3405 Simple unit test for the above.
3407 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3409 * gst/gstregistry.c: (gst_registry_scan_path_level):
3410 Plugin extension on HP-UX is .sl, add that to the list of approved
3411 plugin extensions (see #393796).
3413 * tests/check/gst/gstpad.c: (GST_START_TEST):
3414 ulong => gulong. Fixes compilation with HP-UX compiler.
3416 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3417 Fix compilation if valgrind headers are not available.
3419 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
3421 * win32/common/libgstreamer.def:
3422 Add new exported function.
3423 * win32/vs6/libgstbase.dsp:
3424 Add gstdataqueue.c to the build.
3425 * win32/vs6/libgstcoreelements.dsp:
3426 Add gstmultiqueue.c to the build.
3428 2007-01-06 Andy Wingo <wingo@pobox.com>
3430 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3431 activate_pull(), providing for a way to specialize the process of
3432 spawning a thread to pull on the sink pad. There is a default
3435 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3436 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3437 (gst_base_sink_init): Renamed pad activation functions (inserting
3438 "_pad" in their names). Refactor to use the new activate_pull
3439 vmethod, as appropriate.
3440 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3441 default activate_pull function to start a task pulling from the
3442 sink pad, as before.
3444 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3445 on the pads if necessary, as in push()/chain(). Update docs.
3446 Shouldn't affect existing pull() usage as it is currently only
3447 being used on buffers without caps.
3449 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3451 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3453 Call g_thread_init() first thing in gst_init() / gst_check_init().
3454 When initialisation is done via gst_init_get_option_group() and
3455 GOption parsing, issue a warning if the GLib thread system has not
3456 been initialised yet by the time gst_init_get_option_group() is
3457 called, as it's quite likely other GLib functions such as
3458 g_option_context_new() have been called already then, and
3459 g_thread_init() must be called before any other GLib function. The
3460 application in question must be fixed in that case, since memory
3461 corruption might happen otherwise.
3462 We issue the warning because even if the GLib folks decide to work
3463 around the problem on their end in future, this is still an issue
3464 with all GLib versions >= 2.10.0, so we should warn until we depend
3465 on a GLib version we know to be safe.
3466 Update documentation as well.
3469 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3471 * tools/gst-inspect.c: (main):
3472 * tools/gst-launch.c: (main):
3473 * tools/gst-typefind.c: (main):
3474 * tools/gst-xmlinspect.c: (main):
3475 Call g_thread_init() really really early, before any other GLib
3476 function (see #342564 and recent discussion on gtk-devel-list).
3478 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3480 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
3482 * gst/gst_private.h:
3483 * gst/gstconfig.h.in:
3485 On win32, all the __declspec stuff for symbol exporting is
3486 apparently only needed with MSVC, but doesn't work with MingW.
3487 Fixes compilation with MingW and #391909.
3489 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3491 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3492 Change some GST_ERROR_OBJECT that aren't really errors to
3493 GST_WARNING_OBJECT in order to reduce terminal spam.
3495 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3497 * tests/check/Makefile.am:
3498 disable test again, as there seem to be still race problems
3500 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3502 * tests/check/Makefile.am:
3503 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3504 (GST_START_TEST), (queue_suite):
3505 enable queue test again, add tests for the leaky behaviour
3507 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3510 * tests/examples/Makefile.am:
3511 Compile adapter test/example only if the required headers are
3512 available (fixes #391915).
3514 2007-01-01 David Schleef <ds@schleef.org>
3517 Restore the previous signal handler for SIGSEGV instead of
3518 setting to default, since we may have stolen it away from
3519 someone. (i.e., Mono)
3521 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3523 * docs/random/draft-missing-plugins.txt:
3524 Some small additions and clarifications.
3526 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3528 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3529 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3530 since that can lead to random memory corruptions and crashes
3531 (may or may not be related to #383244, #386711, and #386711).
3533 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3535 * tests/check/.cvsignore:
3536 * tests/check/Makefile.am:
3537 sync .cvsignome and CLEANFILES
3539 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3541 * tests/check/Makefile.am:
3544 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3546 * docs/design/part-states.txt:
3547 two tiny additional comments
3549 * gst/gststructure.c:
3552 * tests/check/Makefile.am:
3553 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3555 disable test for now, unless it gets fixed
3557 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3559 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3561 fix race in underrun test
3563 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3565 * tests/check/elements/.cvsignore:
3568 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3570 try to narrow test failure
3572 2006-12-21 David Schleef <ds@schleef.org>
3574 * plugins/elements/gstfakesrc.c:
3575 Use g_random_int_range(), since it produces better random
3576 numbers in a range than almost-correct floating point code.
3578 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3580 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3581 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3582 (gst_check_teardown_sink_pad):
3583 do not automatically (de)activate pads
3585 * tests/check/Makefile.am:
3586 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3587 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3588 add new, yet simple tests for queue
3590 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3591 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3592 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3594 * tests/check/elements/identity.c: (cleanup_identity):
3595 consistent pad (de)activation
3597 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3599 Patch by: Sebastian Dröge <slomo ubuntu com>
3601 * libs/gst/base/gstcollectpads.c:
3602 Fix two doc typos (#387866).
3604 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3606 * docs/manual/advanced-dparams.xml:
3607 Fix typo (g_object_control_properties() doesn't exist).
3609 2006-12-19 Edward Hervey <edward@fluendo.com>
3611 * gst/gstsegment.c: (gst_segment_set_seek):
3612 Fine tune the cases where the segment start/stop values are really
3614 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3615 Add tests for the return values of gst_segment_set_seek().
3617 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3622 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3624 Fix incorrect documentation and flesh it out a bit more.
3625 Set default values for the max properties on the GParamSpec as well,
3626 so it shows up correctly in gst-inspect.
3628 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3630 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3631 Correct docs of queue, add more detail and crosslink it more.
3633 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3635 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3636 Print additional debug info when the stream isn't perfectly
3637 timestamped; don't try to use invalid durations.
3639 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3641 * docs/design/Makefile.am:
3642 Dist new design docs.
3644 2006-12-16 Wim Taymans <wim@fluendo.com>
3646 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3648 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3649 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3650 (gst_collect_pads_stop), (gst_collect_pads_event),
3651 (gst_collect_pads_chain):
3652 * libs/gst/base/gstcollectpads.h:
3653 Add refcounting to the collectpads data so we can track when it's safe
3654 to free the data. Fixes #383382.
3656 2006-12-15 Wim Taymans <wim@fluendo.com>
3658 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3659 (gst_collect_pads_remove_pad):
3660 Automatically activate/deactivate pads when they are added to a
3661 started/stoped collectpads.
3663 2006-12-15 Wim Taymans <wim@fluendo.com>
3665 * gst/gstelement.c: (gst_element_add_pad):
3666 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3667 * gst/gstpad.c: (gst_pad_init):
3668 Set pads to FLUSHING when they are created. Check, warn and fix when a
3669 demuxer adds an inactive pad to itself when running. Fixes #339326.
3671 2006-12-15 Wim Taymans <wim@fluendo.com>
3673 * gst/gstelement.c: (gst_element_class_init),
3674 (gst_element_default_send_event), (gst_element_send_event),
3675 (gst_element_default_query), (gst_element_query):
3676 Expose default element send_event and query handling as vmethods that
3677 subclasses can chain up to.
3679 2006-12-15 Wim Taymans <wim@fluendo.com>
3681 * gst/gstelement.c: (gst_element_set_state_func):
3682 Small documentation fixes.
3684 2006-12-15 Wim Taymans <wim@fluendo.com>
3686 * docs/design/draft-latency.txt:
3687 Checked in draft for handling latency in pipelines.
3689 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3693 * gstreamer.spec.in:
3696 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3698 * gst/gst.c: (init_pre), (init_post):
3699 init_pre() and init_post() might be called via our GOptionGroup or
3700 from gst_init(), and we should skip both of them if we've already
3701 been initialised, otherwise we will init some things twice or add
3702 two default log functions.
3704 2006-12-13 Edward Hervey <edward@fluendo.com>
3706 * docs/manual/basics-bus.xml:
3707 No, gst_main_loop does not exist. Its g_main_loop.
3708 Discovered by somebody who abused the copy-paste technique of coding :)
3710 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3712 * gst/gstghostpad.c:
3713 Log ghostpad debug stuff to the GST_PADS category as well rather
3714 than just to the default category.
3716 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3719 * gst/gst.c: (init_pre):
3720 Add some basic system details such as OS and architecture
3721 to the debug output if possible, courtesy of uname().
3723 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3725 * docs/gst/running.xml:
3726 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3727 environment variables.
3729 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3731 * tests/check/gst/gstbin.c: (GST_START_TEST):
3732 It is acceptable to have a refcount of 2 or 3 at this point in the
3733 test, because the pipeline might be just posting its state_change
3734 message. The next line then waits for that message to appear using
3735 bus_poll, so that should be fine too.
3737 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3739 * gst/gst.c: (ensure_current_registry_forking):
3740 Ignore EINTR when reading from the child registry pipe.
3741 Explicitly ignore the return value from close, since it makes no
3744 * gst/gstminiobject.c: (gst_mini_object_ref),
3745 (gst_mini_object_unref):
3746 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3748 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3749 When removing cached plugins, remove their features too, so they're
3750 not visible after they've disappeared.
3752 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3753 In the unlikely case that we are linking pads with no parents, don't
3754 crash trying to get the non-existent parent bin.
3756 * gst/parse/grammar.y:
3757 Output debug in the PIPELINE category
3759 2005-03-08 Wim Taymans <wim@fluendo.com>
3761 Patch by: René Stadler <mail at renestadler dot de>
3763 * gst/gstclock.c: (gst_clock_new_periodic_id):
3764 Reject invalid clock times for interval of periodic ids.
3767 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3769 * gst/gstelementfactory.c: (gst_element_factory_create):
3770 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3771 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3772 * tools/gst-inspect.c: (print_element_info):
3773 Fix refcounting of gst_plugin_feature_load to match the docs.
3776 2006-12-07 Wim Taymans <wim@fluendo.com>
3778 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3779 (gst_base_sink_get_position):
3780 Improve debugging of events.
3782 2006-12-07 Wim Taymans <wim@fluendo.com>
3784 Patch by: René Stadler <mail at renestadler dot de>
3786 * gst/gstclock.c: (gst_clock_id_wait):
3787 Make period ids add the interval to the origial requested time instead
3788 of the possibly updated time which can be wrong when there are multiple
3789 waiters for the same id. Fixes #382592.
3791 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3792 (gst_system_clock_id_wait_jitter_unlocked),
3793 (gst_system_clock_id_wait_jitter):
3794 Fix restart in the async notify thread when an async entry is added to
3795 the front of the list. Fixes #381492.
3797 * tests/check/gst/gstsystemclock.c: (store_callback),
3798 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3799 Added test for multiple async waits.
3800 Added test for async wait order.
3802 2006-12-07 Wim Taymans <wim@fluendo.com>
3804 * gst/gstbin.c: (gst_bin_query):
3805 Add some more docs about the POSITION query.
3807 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3810 Bump version nano - back to CVS.
3812 === release 0.10.11 ===
3814 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3817 releasing 0.10.11, "Love never runs on time"
3819 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3821 * win32/common/libgstbase.def:
3822 * win32/common/libgstreamer.def:
3823 * win32/vs8/libgstbase.vcproj:
3824 * win32/vs8/libgstcoreelements.vcproj:
3825 * win32/vs8/libgstreamer.vcproj:
3826 Fix compilation on win32 under VS8
3827 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3828 Partially fixes #381175
3830 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3832 * gst/gstvalue.c: (gst_value_compare_fraction):
3833 If someone is foolish enough to compare 2 fractions with denominator =
3834 0, return UNORDERED rather than aborting.
3836 2006-11-28 Edward Hervey <edward@fluendo.com>
3838 * libs/gst/base/Makefile.am:
3839 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3840 (gst_data_queue_base_init), (gst_data_queue_class_init),
3841 (gst_data_queue_init), (gst_data_queue_new),
3842 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3843 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3844 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3845 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3846 (gst_data_queue_set_flushing), (gst_data_queue_push),
3847 (gst_data_queue_pop), (gst_data_queue_drop_head),
3848 (gst_data_queue_set_property), (gst_data_queue_get_property):
3849 * libs/gst/base/gstdataqueue.h:
3850 New GstDataQueue object for threadsafe queueing. Most useful for
3851 elements that need some queueing functionnality.
3852 * docs/libs/gstreamer-libs-docs.sgml:
3853 * docs/libs/gstreamer-libs-sections.txt:
3854 Insert documentation for GstDataQueue
3855 * plugins/elements/Makefile.am:
3856 * plugins/elements/gstelements.c:
3857 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3858 (gst_multi_queue_class_init), (gst_multi_queue_init),
3859 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3860 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3861 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3862 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3863 (gst_multi_queue_loop), (gst_multi_queue_chain),
3864 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3865 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3866 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3867 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3868 (wake_up_next_non_linked), (compute_next_non_linked),
3869 (single_queue_overrun_cb), (single_queue_underrun_cb),
3870 (single_queue_check_full), (gst_single_queue_new):
3871 * plugins/elements/gstmultiqueue.h:
3872 New multiqueue element, using GstDataQueue. Used for queuing multiple
3874 Closes #344639 and #347785
3876 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3878 * docs/pwg/advanced-types.xml:
3879 add more missing type details
3881 * tools/gst-run.c: (main):
3882 remove unused variable
3884 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3886 * docs/libs/Makefile.am:
3887 * docs/libs/gstreamer-libs.types:
3888 add types of base classes to enable gobject specific stuff in the docs
3890 * docs/random/ensonic/embedded.txt:
3891 more ideas about isolating platform specific things
3893 2006-11-20 Wim Taymans <wim@fluendo.com>
3895 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3897 * libs/gst/check/gstcheck.h:
3898 Fix compilation and running against 0.9.4. Fixes #377332.
3900 2006-11-20 Wim Taymans <wim@fluendo.com>
3902 * gst/gstsegment.c: (gst_segment_set_seek),
3903 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3904 (gst_segment_to_running_time):
3905 Fix boundary checking in to_running_time() and to_stream_time().
3908 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3909 stream and running time can now be calculated for the complete
3912 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3914 * gst/gstpad.c: (gst_pad_push_event):
3915 Can't access event structure after giving away ownership of
3918 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3920 * docs/random/ensonic/embedded.txt:
3921 * docs/random/ensonic/profiling.txt:
3922 * docs/random/ensonic/receipies.txt:
3925 2006-11-13 Wim Taymans <wim@fluendo.com>
3927 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3930 Fix documentation for gst_pad_dispatcher. Fixes #374475.
3932 2006-11-13 Wim Taymans <wim@fluendo.com>
3934 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3936 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3937 Store new length in segment duration so we don't keep on calling the
3938 potentially expensize get_size() call. Fixes #370865.
3940 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
3942 Patch by: Sergey Scobich <sergey.scobich at gmail com>
3944 * win32/common/libgstreamer.def:
3945 Add two missing symbols (#366492).
3947 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
3949 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3950 (gst_adapter_take_buffer):
3951 Fix format string to use all its arguments.
3952 Remove useless >= check on a guint
3954 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3956 * tests/examples/adapter/.cvsignore:
3957 Ignore build file as commanded by the build-bot
3959 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3961 * tests/examples/adapter/Makefile.am:
3962 * tests/examples/adapter/adapter_test.c: (run_test_take),
3963 (run_test_take_buffer), (run_tests), (main):
3965 Add new files from the previous commit
3967 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3971 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3972 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3973 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3974 * libs/gst/base/gstadapter.h:
3975 * tests/check/libs/adapter.c: (create_and_fill_adapter),
3976 (GST_START_TEST), (gst_adapter_suite):
3977 * tests/examples/Makefile.am:
3978 Do some optimisation work in GstAdapter to avoid copies in more cases.
3979 It could still do slightly better by merging buffers when
3980 gst_buffer_is_span_fast is true, but is already faster.
3982 Also, avoid traversing a single-linked list to append each incoming
3983 buffer inside the adapter.
3985 Add simple test app that times the adapter behaviour in different
3986 situations, and extend the unit test to check that bytes enter and
3987 exit the adapter in their original order.
3989 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
3991 * docs/random/draft-missing-plugins.txt:
3992 Update: use element message instead of adding a new message
3993 type to the core; don't provide GStreamer API to initiate the
3994 plugin download, just provide API to compose the strings needed
3995 and let an external libgimmestuff handle the rest.
3997 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
3999 * tools/gst-inspect.c: (print_element_properties_info):
4000 Print a string instead of 'unknown type' for GValueArray properties
4002 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4004 * docs/random/draft-missing-plugins.txt:
4007 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4009 * tests/examples/typefind/typefind.c: (type_found), (main):
4010 Make typefind element example work again (#371894); add a
4013 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4015 * docs/random/draft-missing-plugins.txt:
4016 Commit initial draft about how to deal with missing plugins,
4017 needs work (API too).
4019 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4021 * docs/pwg/advanced-types.xml:
4022 documents the new caps elements (see #363118)
4024 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4026 * gst/gstplugin.c: (gst_plugin_load_file):
4027 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4028 (gst_file_src_map_region), (gst_file_src_start):
4029 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4030 (gst_file_index_commit):
4031 Use g_strerror() instead of strerror() - we want UTF-8.
4033 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4035 Patch by: Peter Kjellerstedt <pkj at axis com>
4037 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4038 Another printf fix (#371493).
4040 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4042 * tests/check/gst/gsttag.c:
4043 relicence (okay with author=company)
4045 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4047 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4048 (gst_pad_push_event):
4049 Enhance debug and improve docs
4054 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4056 * docs/random/ensonic/distributed.txt:
4057 * docs/random/ensonic/profiling.txt:
4060 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4062 * docs/gst/gstreamer-sections.txt:
4063 add new API and fix the build
4065 * gst/gstbin.c: (gst_bin_recalc_state):
4066 * gst/gstelement.c: (gst_element_message_full),
4067 (gst_element_get_state_func), (gst_element_set_state_func):
4068 use new API and improve logging
4070 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4072 API: add function to get StateChangereturn names to improve logs
4074 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4076 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4077 I'm considering shooting the next person to put strerror stuff
4078 in the translateable part of the message.
4080 2006-11-03 Wim Taymans <wim@fluendo.com>
4082 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4083 Get the type and printf conversion specifiers right.
4085 2006-11-03 Wim Taymans <wim@fluendo.com>
4087 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4089 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4090 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4091 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4092 Some small cleanups. Improve debugging.
4094 Signal all waiting threads with a broadcast instead of just one.
4097 2006-11-03 Wim Taymans <wim@fluendo.com>
4099 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4100 (gst_fd_src_create):
4102 Only update fd when it's different from the old.
4104 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4106 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4107 Printf fixes for PPC/OSX, take two (#369366).
4109 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4111 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4113 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4114 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4115 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4116 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4117 don't cast to long long for portability reasons, but use
4118 GLib's types instead.
4120 2006-10-30 Michael Smith <msmith@fluendo.com>
4122 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4123 Get the arguments to lseek() the right way around.
4126 2006-10-30 Wim Taymans <wim@fluendo.com>
4128 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4131 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4133 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4135 Patch by: Kjartan Maraas <kmaraas at gnome org>
4137 * docs/design/part-MT-refcounting.txt:
4138 * docs/random/wtay/capsnego2-docs:
4141 Typo fixes (#366212).
4143 2006-10-28 Wim Taymans <wim@fluendo.com>
4145 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4148 * win32/common/libgstbase.def:
4149 * win32/common/libgstreamer.def:
4150 * win32/vs8/libgstbase.vcproj:
4151 * win32/vs8/libgstcontroller.vcproj:
4152 Add needed entries in .def files.
4154 Rearrange def files in vs8 solutions. Fixes #366286.
4156 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4158 * win32/common/gstconfig.h:
4159 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4160 hand-made win32 gstconfig.h. Fixes #366321.
4162 2006-10-27 Wim Taymans <wim@fluendo.com>
4164 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4165 (gst_ghost_pad_new_full):
4166 Make acceptcaps return TRUE when we don't have a target, just like
4169 2006-10-27 Wim Taymans <wim@fluendo.com>
4171 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4172 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4174 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4176 * gst/gststructure.c: (gst_structure_id_set_value):
4177 If someone tries to set a non-UTF8 string field on a structure,
4178 don't just print a warning, but also ignore the request and do
4179 not change/add that field to the structure.
4181 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4184 2006-10-25 David Schleef <ds@schleef.org>
4187 g_hash_table_insert() needs a cast to a non-const pointer duh.
4189 2006-10-25 David Schleef <ds@schleef.org>
4193 Change name parameter of _gst_debug_register_funcptr to const
4194 to reflect the constness of its use in the function as well
4195 as to quiet a gcc warning.
4197 2006-10-25 Edward Hervey <edward@fluendo.com>
4199 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4200 Don't push the buffer if it's empty.
4203 2006-10-24 Wim Taymans <wim@fluendo.com>
4208 * libs/gst/base/gstbasetransform.c:
4209 (gst_base_transform_sink_eventfunc):
4210 Debug segment values *after* updating them as this is more
4213 2006-10-23 Wim Taymans <wim@fluendo.com>
4215 * docs/design/part-events.txt:
4218 * docs/design/part-block.txt:
4219 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4220 (gst_pad_push_event):
4221 Revert BLOCKING patch, it tries to be smart without really having a
4222 clear idea what or how. So, now we discard all FLUSHING events again on
4223 a blocking pad. Should fix gnonlin again.
4225 2006-10-23 Wim Taymans <wim@fluendo.com>
4227 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4229 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4230 (gst_base_src_start), (gst_base_src_activate_push):
4231 Make sure size is always initialized. Fixes #364388.
4233 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4235 * docs/random/ensonic/distributed.txt:
4236 add some ideas about doing distributed processing
4238 * docs/random/ensonic/profiling.txt:
4239 get_rusage look promising
4241 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4243 * docs/manual/basics-helloworld.xml:
4244 Add a cast in example to fix compile warning
4246 2006-10-18 Wim Taymans <wim@fluendo.com>
4248 * gst/gstsegment.c: (gst_segment_set_last_stop),
4249 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4250 Relax arg checking again, -1 is allowed.
4252 2006-10-18 Wim Taymans <wim@fluendo.com>
4254 * gst/gstsegment.c: (gst_segment_set_last_stop),
4255 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4256 _set_last_stop() must be with a value != -1
4257 A _TYPE_SET to -1 means seek to 0.
4258 Calc last_stop correctly for negative rates.
4259 Make sure we work with positive durations when updating a segment.
4261 2006-10-18 Wim Taymans <wim@fluendo.com>
4263 * docs/design/part-live-source.txt:
4267 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4270 Add an explicit cast to GstBuffer** to keep old code that added an
4271 explicit cast to GstMiniObject** for gst_mini_object_replace()
4272 compiling without warning.
4274 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4276 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4277 check for validity of dates
4279 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4281 * docs/gst/gstreamer-sections.txt:
4282 Forgot this one, makes gtk-doc shut up.
4284 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4286 Patch by: Peter Kjellerstedt <pkj at axis com>
4289 Don't define xmlNodePtr to gpointer if the core was built with
4290 --disable-loadsave and --disable-registry, this will break
4291 applications that want to use libxml2 but are buildling against a
4292 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4293 instead so we don't have to mess with the libxml2 namespace
4296 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4299 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4300 type-punned pointer warnings.
4302 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4305 Add casts to the correct return type to state <=> state transition
4308 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4310 * docs/design/part-live-source.txt:
4311 describe howto handle latency
4313 * docs/random/ensonic/profiling.txt:
4316 * tools/gst-plot-timeline.py:
4317 fix log parsing for solaris, remove unused function
4319 2006-10-16 Wim Taymans <wim@fluendo.com>
4321 * docs/design/part-trickmodes.txt:
4323 Update some docs regarding reverse playback.
4325 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4327 Patch by: Marcus Granado <mrc dot gran at gmail com>
4329 * win32/vs8/grammar.vcproj:
4330 Error out with a warning if glib-genmarshal.exe is not in path,
4331 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4333 2006-10-13 Wim Taymans <wim@fluendo.com>
4335 * gst/gstsegment.c: (gst_segment_set_seek):
4336 When seeking to stop -1, set last_stop (current position) to the
4337 duration of the segment.
4339 2006-10-13 Wim Taymans <wim@fluendo.com>
4342 Clarify _NO_PREROLL a bit more.
4347 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4348 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4349 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4350 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4351 due to wrong locking order. Fixes #361769.
4352 Remove some redundant/misplaced checks in pad_block.
4354 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4355 For negative rates, count backwards from the duration.
4357 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4359 * gst/gsterror.c: (_gst_library_errors_init):
4360 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4361 up with something better).
4363 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4365 * win32/vs6/libgstreamer.dsp:
4366 * win32/vs7/libgstreamer.vcproj:
4367 * win32/vs8/libgstreamer.vcproj:
4368 Don't reference glib-compat.c which is currently not used and not
4369 disted; add gstquark.c which was recently added. Fixes #361730.
4371 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4373 * win32/common/libgstbase.def:
4374 * win32/common/libgstcontroller.def:
4375 * win32/common/libgstreamer.def:
4376 Add gst_caps_merge() and a bunch of other recently-added functions.
4379 2006-10-11 Wim Taymans <wim@fluendo.com>
4381 * docs/plugins/gstreamer-plugins.args:
4382 * docs/plugins/inspect/plugin-coreelements.xml:
4383 * docs/plugins/inspect/plugin-coreindexers.xml:
4384 Update element args.
4386 * gst/gstsystemclock.c:
4387 Small comment update.
4389 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4390 (gst_tee_request_new_pad), (gst_tee_release_pad),
4391 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4392 (gst_tee_sink_activate_pull):
4393 * plugins/elements/gsttee.h:
4395 Add default property defines.
4396 Implement release pad function.
4397 Give properties better blubs etc.
4398 Activate pads before adding them to a running tee.
4399 Do simple buffer_alloc on the first requested pad.
4400 Post error when activation fails.
4402 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4404 * gst/gst.c: (ensure_current_registry_forking):
4405 Check return value of write() to make compiler happy.
4407 2006-10-11 Wim Taymans <wim@fluendo.com>
4409 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4411 * plugins/elements/gstqueue.c: (gst_queue_chain):
4412 Recheck queue filledness after signalling the overrun when we're about
4413 to leak downstream because we released the lock when emitting the signal
4414 and the queue could be empty again. Fixes #352345.
4416 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4418 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4419 Fix refcounting here too, just like we did for _new_valist() a few
4420 days ago (#357180) (thanks to René Stadler). Also remove all those
4421 'Since: 0.9' from the gtk-doc blobs.
4423 * tests/check/libs/controller.c: (controller_refcount_new_list),
4424 (gst_controller_suite):
4425 Unit test for the above.
4427 2006-10-10 Wim Taymans <wim@fluendo.com>
4429 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4431 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4432 (gst_pad_save_thyself):
4434 Write pad direction in XML output. Fixes #345496.
4436 2006-10-10 Wim Taymans <wim@fluendo.com>
4438 Patch by: René Stadler <mail at renestadler dot de>
4440 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4441 (gst_controller_new_list), (_gst_controller_dispose),
4442 (_gst_controller_finalize), (_gst_controller_class_init):
4443 Take ref to controlled object so that it cannot disappear.
4446 2006-10-10 Wim Taymans <wim@fluendo.com>
4448 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4449 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4450 (gst_check_teardown_sink_pad):
4451 Activate/deactivate pads in setup/teardown respectively.
4453 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4455 Patch by: Josep Torre Valles <josep@fluendo.com>
4458 Cast values when making gstenumtypes.h. This pacifies Forte
4459 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4462 2006-10-09 Wim Taymans <wim@fluendo.com>
4464 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4465 Rename some more @cur to @start to fix docs.
4467 * gst/gstsegment.c: (gst_segment_set_seek):
4469 time and start must always stay in sync as defined in design doc.
4471 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4472 Rename param to fix docs.
4474 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4475 Check that start and time are in sync.
4477 * tests/check/pipelines/parse-launch.c:
4478 (gst_parse_test_element_change_state):
4479 Activate pad before adding to the element.
4481 2006-10-09 Wim Taymans <wim@fluendo.com>
4483 * docs/design/part-qos.txt:
4488 Update seek event docs regarding negative rates.
4489 Rename @cur to @start.
4491 * gst/gstsegment.c: (gst_segment_set_seek):
4493 Update set_seek docs regarding negative rates.
4494 Correctly update last_stop to @stop when dealing with negative
4496 Rename @cur to @start.
4498 * tests/check/gst/gstpad.c: (GST_START_TEST):
4499 Activate pads before trying to use them.
4501 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4502 (gst_segment_suite):
4503 Add simple check for segments and negative rates.
4505 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4507 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4509 * docs/gst/gstreamer-sections.txt:
4510 API: add gst_tag_list_is_empty() (#360467).
4512 * tests/check/gst/gsttag.c: (GST_START_TEST):
4515 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4518 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4519 a value that doesn't fit on enumeration.
4521 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4523 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4524 Remove local debugging system and use Gstreamer's instead.
4526 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4528 Patch by: Josep Torre Valles <josep@fluendo.com>
4530 * common/m4/gst-error.m4:
4531 Disable warning of statement not reached on Forte.
4533 Fix warning on Forte (value doesn't fit on enumeration).
4534 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4535 Fix warning on Forte (value doesn't fit on enumeration).
4536 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4537 DEBUG macro says it takes minimum of 2 args and so Forte
4538 complains about the use with just 1 arg.
4539 * plugins/elements/gstfdsink.c:
4540 * plugins/elements/gstfdsrc.c:
4541 * plugins/elements/gstfilesink.c:
4542 * plugins/elements/gstfilesrc.c:
4543 Use correct return type for the uri handler implementations.
4545 All these fix warnings in Forte. Fixes bug #360860.
4547 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4550 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4551 format string, so don't use G_GNUC_PRINTF for those versions.
4553 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4555 * gst/gsttaglist.c: (gst_is_tag_list):
4557 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4559 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4560 Small test for the above.
4562 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4565 Less tabs, more spaces.
4567 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4570 Those two function declarations do actually belong there, revert
4571 commit from yesterday that turned them intro macros.
4573 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4575 Patch by: Josep Torre Valles <josep@fluendo.com>
4577 * gst/gst.c: (gst_init_get_option_group):
4578 Fix empty declaration and type mismatch.
4579 * gst/gstbin.c: (gst_bin_change_state_func):
4581 * gst/gstelement.c: (gst_element_continue_state),
4582 (gst_element_set_state_func), (gst_element_change_state),
4583 (gst_element_change_state_func):
4584 Fix type mismatches.
4585 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4586 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4587 Cast as appropriate.
4588 * gst/gstobject.c: (gst_class_signal_connect):
4589 Cast as appropriate. The function pointer parameter really
4590 has the wrong type but would break API if we change it.
4592 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4593 order of including string.h.
4594 * gst/gstutils.c: (gst_element_state_get_name):
4595 Remove unreachable line.
4596 * gst/gstxml.c: (gst_xml_parse_doc):
4598 All these caught by Forte.
4600 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4602 Patch by: Josep Torre Valles <josep@fluendo.com>
4604 * common/m4/gst-error.m4:
4606 We need to disable warnings on Forte for empty declarations
4607 due to gst-indent adding ;s to lines that just use macros
4608 where the macro actually doesn't need a ; at end to end
4611 2006-10-06 Wim Taymans <wim@fluendo.com>
4613 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4614 (gst_file_sink_close_file), (gst_file_sink_event),
4615 (gst_file_sink_render):
4616 Add some FIXME for the NEWSEGMENT handling.
4618 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4620 * gst/parse/grammar.y:
4621 Remove static function gst_parse_element_lock as all it does
4622 is return. Looks like cruft from 0.8.
4624 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4626 Patch by: Josep Torre Valles <josep@fluendo.com>
4628 * common/m4/gst-error.m4:
4630 * libs/gst/net/Makefile.am:
4631 Fix a compilation issue with Forte on Solaris. inet_aton is in
4634 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4636 * gst/gstpad.c: (pre_activate):
4637 * gst/gstregistry.c: (gst_registry_scan_path_level):
4638 * gst/gstregistryxml.c: (load_plugin):
4639 * libs/gst/controller/gstcontroller.c:
4640 (gst_controlled_property_set_interpolation_mode):
4641 * libs/gst/dataprotocol/dataprotocol.c:
4642 (gst_dp_packet_from_event_1_0):
4643 * libs/gst/net/gstnetclientclock.c:
4644 (gst_net_client_clock_observe_times):
4645 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4648 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4651 * docs/gst/gstreamer-sections.txt:
4652 * gst/gstconfig.h.in:
4655 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4656 whether we can use G_GNUC_PRINTF in other header files and at
4657 least check the printf format/arguments of debug messages and
4658 GST_ELEMENT_ERROR messages when the printf extension is not
4660 Replace more tabs with spaces in gstinfo.h and remove two spurious
4661 function declarations in GST_DISABLE_DEBUG part with macros.
4663 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4665 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4666 More docs for the sync-message signal (mention that it is not
4667 emitted by default); log message structures of messages posted on
4670 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4672 * gst/gst.c: (ensure_current_registry_forking):
4673 Use a pipe pair to receive status results from the forked child, and
4674 ignore the result from waitpid. Fixes #355499
4676 2006-10-02 Wim Taymans <wim@fluendo.com>
4678 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4679 (gst_ghost_pad_suite):
4682 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4685 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4687 2006-10-02 Edward Hervey <edward@fluendo.com>
4689 * docs/design/part-block.txt:
4690 Further explain the use of flushing on blocked pads.
4691 * docs/gst/gstreamer-sections.txt:
4692 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4693 (gst_pad_push_event):
4695 Added new GstPadFlag : GST_PAD_BLOCKING.
4696 Adds the notion of pads really blocking, which enables to properly
4697 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4699 API: gst_pad_is_blocking()
4700 API: GST_PAD_IS_BLOCKING() macro
4701 API: GST_PAD_BLOCKING GstPadFlag
4703 2006-10-02 Wim Taymans <wim@fluendo.com>
4705 Patch by: mrcgran <mrc.gran at gmail dot com>
4707 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4708 Filter the proxied caps against the padtemplate if we have one.
4710 * gst/gstquery.c: (gst_query_new_segment):
4711 Add include for gstinfo.h so that compilation with
4712 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4714 2006-10-02 Wim Taymans <wim@fluendo.com>
4716 Patch by: Alessandro Decina <alessandro at nnva org>
4718 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4719 (gst_file_sink_set_location), (gst_file_sink_open_file),
4720 (gst_file_sink_close_file), (gst_file_sink_event),
4721 (gst_file_sink_render):
4722 Set file to NULL when closing filesink so that we can set a new filename
4723 in READY. Fixes #358613.
4725 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4727 Patch by: Alessandro Decina <alessandro at nnva org>
4729 * gst/gstevent.c: (_gst_event_copy):
4730 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4731 with event structures by setting the parent refcount address of the
4732 copied structure to the address of the refcount member of the newly
4733 copied event rather than the address of the refcount member of the
4734 original event. Fixes #358737.
4736 * tests/check/gst/gstevent.c: (GST_START_TEST):
4737 Unit test for the above.
4739 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4741 * docs/design/Makefile.am:
4742 Dist some more files.
4744 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4746 * tests/check/libs/controller.c: (GST_START_TEST),
4747 (gst_controller_suite):
4748 Add test for the previous fix; add some more tests
4749 for correct refcounting behaviour; fix a few leaks
4750 in test cases; call gst_controller_init() at start
4753 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4755 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4756 (gst_controller_set_from_list):
4757 Don't g_return_val_if_fail() on timed values with invalid timestamps
4758 inside a critical section without unlocking the mutex. Spotted by
4759 René Stadler. (#357617)
4760 Also, fix up refcounting properly: when returning an existing
4761 controller, we should increase the reference only once and not
4762 once per property and when trying to control a property again
4763 we should also increase the refcount.
4765 2006-09-29 Wim Taymans <wim@fluendo.com>
4767 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4768 * libs/gst/net/gstnettimeprovider.c:
4769 (gst_net_time_provider_thread):
4770 Stop reading commands when EOF as well.
4772 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4773 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4774 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4775 Unify description of the dump property.
4777 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4779 * tests/examples/manual/.cvsignore:
4780 OK, so it's actually cvsignore that needs changing. Stop laughing.
4782 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4784 * tests/examples/manual/Makefile.am:
4785 Gah, declare vars *before* using them
4787 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4789 * gst/gst.c: (init_pre), (scan_and_update_registry),
4790 (ensure_current_registry_nonforking),
4791 (ensure_current_registry_forking), (ensure_current_registry),
4792 (init_post), (gst_debug_help), (gst_deinit):
4793 * gst/gst_private.h:
4794 * gst/gstregistry.c: (gst_registry_finalize),
4795 (gst_registry_remove_features_for_plugin_unlocked),
4796 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4797 (gst_registry_scan_path),
4798 (_priv_gst_registry_remove_cache_plugins),
4799 (_priv_gst_registry_cleanup):
4800 * gst/gstregistry.h:
4801 Re-commit the registry changes, along with an extra fix:
4802 When a cached plugin is encountered at a different file path,
4803 update the stored path in the registry cache so that the parent
4804 process knows where it actually is now when it re-reads the registry
4805 cache. Fixes the thing that broke distcheck with the previous commit.
4807 * tests/check/Makefile.am:
4808 Clean up files named 'core' too when running make clean.
4810 * tests/examples/manual/Makefile.am:
4811 Set up a registry path for running these tests, and clean it properly
4814 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4817 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4818 want gmodule-no-export-2.0.pc instead so that we don't drag in
4819 --export-dynamic on every project that links to GStreamer.
4821 Also, make our export regex only match the start of symbols, rather
4822 than any symbol that contains '_gst' somewhere.
4824 * libs/gst/check/Makefile.am:
4825 The libgstcheck we build does however need export-dynamic, as it
4826 produces some symbols that don't match our _gst... style regex.
4829 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4831 * gst/gst.c: (init_pre), (scan_and_update_registry),
4832 (ensure_current_registry_nonforking),
4833 (ensure_current_registry_forking), (ensure_current_registry),
4834 (init_post), (gst_debug_help), (gst_deinit):
4835 * gst/gst_private.h:
4836 * gst/gstregistry.c: (gst_registry_finalize),
4837 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4838 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4839 (_gst_registry_cleanup):
4840 * gst/gstregistry.h:
4841 Revert previous change until I figure out why it breaks distcheck.
4843 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4845 * gst/gst.c: (init_pre), (scan_and_update_registry),
4846 (ensure_current_registry_nonforking),
4847 (ensure_current_registry_forking), (ensure_current_registry),
4848 (init_post), (gst_debug_help), (gst_deinit):
4850 Make init_pre and init_post take the full complement of GOptionFunc
4851 args so they can return useful GErrors. Make the registry updating
4854 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4855 ensure that the registry we're about to write out doesn't contain
4856 stale information about old-deleted plugin files.
4858 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4859 that deletion of plugin files is considered a registry change.
4861 * gst/gst_private.h:
4862 * gst/gstregistry.c: (gst_registry_finalize),
4863 (gst_registry_remove_features_for_plugin_unlocked),
4864 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4865 (gst_registry_scan_path),
4866 (_priv_gst_registry_remove_cache_plugins),
4867 (_priv_gst_registry_cleanup):
4868 * gst/gstregistry.h:
4869 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4870 by adding _priv prefix, so that they won't appear in the global
4871 symbol table. They still do atm though because of #318031. Move the
4872 prototypes to gst_private.h
4874 When removing a plugin, remove all features for that plugin too.
4877 2006-09-27 Wim Taymans <wim@fluendo.com>
4879 * docs/random/moving-plugins:
4880 Make it clear that the "compiled-in descriptions" really mean
4881 the element details.
4883 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4884 (gst_base_sink_wait_preroll):
4887 * docs/libs/gstreamer-libs-sections.txt:
4888 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4889 (gst_base_src_get_range), (gst_base_src_activate_push):
4890 * libs/gst/base/gstbasesrc.h:
4891 Added function to block while waiting for PLAYING, this function
4892 is used by live sources that block on the clock.
4893 API: gst_base_src_wait_playing()
4895 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4897 Patch by: Peter Kjellerstedt <pkj at axis com>
4900 gst-element-check.m4 is generated and should therefore be
4901 copied from the build dir rather than the source dir (#357593).
4902 'make distcheck' hasn't noticed this because we were disting
4903 the file as well, so stop doing that.
4905 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4907 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4908 Add some tests for gst_caps_intersect().
4910 * tools/gst-launch.c: (event_loop):
4911 Print all buffering percentages we get, even the 100% one.
4913 2006-09-26 Wim Taymans <wim@fluendo.com>
4915 * tools/gst-inspect.c: (print_element_properties_info),
4916 (print_signal_info):
4917 Fix printing of flags to match the look of enums.
4919 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4921 * gst/gstelementfactory.c:
4922 Fix typo in docs blurb.
4924 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4926 * gst/gsturi.c: (search_by_entry):
4927 Don't assert/crash here if a uri handler doesn't return any
4928 supported protocols. The list of protocols could be generated
4929 dynamically at runtime or at plugin registration, and an error
4930 in the underlying library shouldn't be fatal (#353301).
4932 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4935 Fix warning if HAVE_PRINTF_EXTENSION is undefined
4936 (spotted by Peter Kjellerstedt).
4938 2006-09-23 Wim Taymans <wim@fluendo.com>
4940 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4942 * libs/gst/base/gstbasesrc.c:
4943 (gst_base_src_default_check_get_range), (gst_base_src_start),
4944 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4945 (gst_base_src_change_state):
4946 Match _start/_stop calls in the activate functions. Remove redundant
4947 _stop call from the state change function. Fixes #356910.
4948 Turn failure DEBUG into ERROR.
4950 2006-09-22 Wim Taymans <wim@fluendo.com>
4952 * docs/design/part-buffering.txt:
4953 * gst/gstmessage.c: (gst_message_new_buffering),
4954 (gst_message_parse_buffering):
4955 Update docs about buffering.
4957 * docs/design/part-trickmodes.txt:
4960 2006-09-22 Stefan Kost <ensonic@users.sf.net>
4962 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4963 (gst_controller_new_list):
4964 Ref instances when returning them again (fixes #357180)
4966 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
4968 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4969 Don't forget to release proxy lock when there's an error.
4971 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
4974 Add extra initialisers for Caps things, to fix some plugin warnings
4977 2006-09-18 Wim Taymans <wim@fluendo.com>
4979 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4980 Also set template on the internal pad so that a getcaps from the
4981 target pad returns the template caps.
4983 2006-09-18 Wim Taymans <wim@fluendo.com>
4985 * gst/gstelement.c: (gst_element_post_message),
4986 (gst_element_dispose):
4987 Use _DEBUG_OBJECT some more.
4989 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4992 * tools/gst-launch.c: (main):
4993 If the toplevel element is not a GstPipeline, it must be put in a
4994 pipeline so that a bus and clock is selected.
4996 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4998 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4999 JITTER, RATE, and LATENCY query should be handled by the
5000 default case and not by the CONVERT query code.
5002 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5004 * gst/gstformat.c: (gst_format_register):
5005 Fix locking order (must take lock before using n_values).
5007 * gst/gstvalue.c: (gst_value_serialize_enum),
5008 (gst_value_deserialize_enum_iter_cmp),
5009 (gst_value_deserialize_enum):
5010 Fix serialisation/deserialisation of custom registered GstFormats.
5012 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5013 Unit test for custom format serialisation/deserialisation.
5015 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5017 * docs/pwg/building-boiler.xml:
5018 * plugins/elements/gstcapsfilter.c:
5019 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5022 2006-09-16 Edward Hervey <edward@fluendo.com>
5024 * libs/gst/base/gstbasetransform.c:
5025 (gst_base_transform_buffer_alloc):
5026 Check if requested caps are the same as the sinks caps IF
5027 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5029 This fixes the renegotiation issues stated in #352827.
5031 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5034 * docs/manual/advanced-autoplugging.xml:
5035 * tests/examples/Makefile.am:
5036 * tests/examples/manual/.cvsignore:
5037 * tests/examples/manual/Makefile.am:
5038 * tests/examples/manual/extract.pl:
5039 Extract the manual examples again like we used to do.
5042 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5044 * win32/common/config.h:
5047 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5050 Documents how to receive errors.
5052 2006-09-15 Wim Taymans <wim@fluendo.com>
5054 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5055 (event_loop), (main):
5056 Added some comments here and there.
5057 Post an application message when an interrupt is caught instead of doing
5058 an uncontrolled state change.
5059 Clean up the event loop.
5060 Handle buffering messages, pause/resume the pipeline.
5061 Make shutdown because of an interrupt more reliable.
5063 2006-09-15 Wim Taymans <wim@fluendo.com>
5065 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5066 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5067 (gst_base_sink_preroll_object):
5068 Make sure that our internal state is correct when we commit our state
5069 asynchronously. This solves a race where a state change to PLAYING
5070 could cause the sink to remain blocked in preroll in some situations.
5072 2006-09-15 Wim Taymans <wim@fluendo.com>
5074 * tools/gst-inspect.c: (print_element_properties_info),
5075 (print_signal_info):
5076 List flags as hex so it's easier to deal with.
5078 2006-09-15 Wim Taymans <wim@fluendo.com>
5080 * docs/libs/gstreamer-libs-sections.txt:
5081 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5082 (gst_base_sink_do_sync):
5083 * libs/gst/base/gstbasesink.h:
5084 Expose logic to wait for preroll so that subclasses such as audiosink
5085 can also use this method.
5086 API: gst_base_sink_wait_preroll()
5088 2006-09-15 Wim Taymans <wim@fluendo.com>
5090 * gst/gstobject.c: (gst_object_set_parent):
5091 * gst/gstpipeline.c: (do_pipeline_seek):
5092 Small cleanups in docs and code.
5094 * gst/gstsegment.c: (gst_segment_clip):
5095 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5096 if stop == start and start is in the segment, no clipping should be
5097 done. Also add a test for this.
5099 2006-09-15 Wim Taymans <wim@fluendo.com>
5101 * docs/design/part-buffering.txt:
5102 * docs/gst/gstreamer-sections.txt:
5103 * gst/gstmessage.c: (gst_message_new_buffering),
5104 (gst_message_parse_buffering):
5106 Added methods to create and parse BUFFERING messages.
5107 Added preliminary docs about buffering.
5108 API: gst_message_new_buffering
5109 API: gst_message_parse_buffering
5111 2006-09-06 Wim Taymans <wim@fluendo.com>
5114 Update documentation.
5116 * gst/gstelement.c: (gst_element_class_init),
5117 (gst_element_release_request_pad), (gst_element_set_clock),
5118 (gst_element_get_index), (gst_element_add_pad),
5119 (gst_element_remove_pad), (gst_element_get_random_pad),
5120 (gst_element_send_event), (gst_element_get_query_types),
5121 (gst_element_query), (gst_element_post_message),
5122 (gst_element_message_full), (gst_element_continue_state),
5123 (gst_element_lost_state), (gst_element_save_thyself),
5124 (gst_element_restore_thyself):
5125 Documentation updates.
5126 Rename last bit of the new-pad -> pad-added signal rename.
5127 Fix the case where an element query would only work if the source
5129 Avoid some useless type checking in message handling.
5134 Documentation updates.
5136 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5138 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5139 add an INFO line for when we actually update the fd
5141 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5146 === release 0.10.10 ===
5148 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5151 releasing 0.10.10, "Pais"
5153 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5155 * docs/manual/advanced-position.xml:
5156 Fix typo in sample code.
5158 2006-09-05 Wim Taymans <wim@fluendo.com>
5160 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5161 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5162 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5163 * libs/gst/net/gstnetclientclock.h:
5164 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5165 * libs/gst/net/gstnettimepacket.h:
5166 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5167 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5168 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5169 * libs/gst/net/gstnettimeprovider.h:
5170 Make stuff compile on windows. Fixes #345295.
5172 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5174 * gst/gst.c: (ensure_current_registry_forking):
5175 Print better details when child was terminated by signal.
5177 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5179 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5180 Print a warning rather than g_assert() if a plugin feature
5181 is a URI handler but returns no protocols (#353976).
5183 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5185 * docs/random/moving-plugins:
5188 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5190 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5191 Fix locking order, handle NULL function values properly.
5196 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5197 Initialise variable before using it and fix debug statement to
5198 print the address of the function rather than the address of the
5199 variable on the stack holding the address of the function.
5201 2006-09-01 Wim Taymans <wim@fluendo.com>
5203 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5204 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5205 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5206 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5207 (gst_ghost_pad_parent_unset),
5208 (gst_ghost_pad_internal_do_activate_push),
5209 (gst_ghost_pad_internal_do_activate_pull),
5210 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5211 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5212 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5213 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5214 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5215 (gst_ghost_pad_new_no_target_from_template),
5216 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5218 Avoid needless typechecking in macros.
5219 Since the internal pad is always present and never changes, there is
5220 no need to locking or ref when retrieving it.
5221 Improve debugging a bit.
5222 Handle link errors when setting the target. Fixes #341029.
5224 2006-09-01 Wim Taymans <wim@fluendo.com>
5226 * docs/libs/gstreamer-libs-sections.txt:
5227 * docs/plugins/gstreamer-plugins-sections.txt:
5230 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5231 (gst_collect_pads_event):
5232 * libs/gst/base/gstcollectpads.h:
5233 Documentation updates.
5234 Free queued buffer when removing a pad.
5236 2006-08-31 Michael Smith <msmith@fluendo.com>
5238 * gst/gstutils.c: (gst_element_link_pads),
5239 (gst_element_link_pads_filtered):
5240 Ensure that we set a capsfilter to NULL if we failed to link it
5241 when doing filtered linking, to avoid criticals.
5243 No need to check for unreffing srcpad, which is explicly NULLed
5244 above (a trivial code cleanup).
5246 2006-08-31 Wim Taymans <wim@fluendo.com>
5248 * docs/design/part-gstghostpad.txt:
5249 Update ascii art in documentation.
5251 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5252 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5253 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5254 (gst_ghost_pad_internal_do_activate_push),
5255 (gst_ghost_pad_internal_do_activate_pull),
5256 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5257 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5258 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5259 (gst_ghost_pad_set_target):
5260 Small cleanups and leak fixes.
5261 Remove some checks now that the internal pad is never NULL.
5262 Fix the case where linking pads without a target would create nasty
5263 criticals. Fixes #341029.
5264 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5265 value of _set_target().
5267 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5268 (gst_ghost_pad_suite):
5269 Some more tests for creating and linking untargeted ghostpads.
5271 2006-08-31 Edward Hervey <edward@fluendo.com>
5273 * docs/gst/gstreamer-sections.txt:
5274 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5275 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5276 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5277 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5278 (gst_ghost_pad_new_from_template),
5279 (gst_ghost_pad_new_no_target_from_template):
5280 * gst/gstghostpad.h:
5281 Refactored *_new() functions.
5282 Templates are now used as a g_object_new() parameter.
5283 Use template in _do_getcaps() if we don't have a target.
5284 Small documentation cleanups.
5285 Added two new constructors:
5286 gst_ghost_pad_new_from_template()
5287 gst_ghost_pad_new_no_target_from_template()
5288 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5289 (gst_ghost_pad_suite):
5290 Added tests for new ghostpad instanciation functions.
5292 API additions: gst_ghost_pad_new_from_template,
5293 gst_ghost_pad_new_no_target_from_template
5295 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5297 * docs/random/ensonic/profiling.txt:
5298 Ideas about qos profiling.
5300 2006-08-29 Wim Taymans <wim@fluendo.com>
5302 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5306 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5309 Improve and detypofy docs.
5311 * tests/check/Makefile.am:
5312 * tests/check/gst/.cvsignore:
5313 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5314 Add a basic test suite for GstXML.
5316 2006-08-29 Wim Taymans <wim@fluendo.com>
5318 * gst/gstelement.c: (activate_pads), (clear_caps),
5319 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5320 Clear the pad caps when the element shut down all of the pads and
5321 is not streaming data that could modify the caps.
5324 2006-08-28 Michael Smith <msmith@fluendo.com>
5326 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5327 Revert previous change; I misunderstood single-segment mode.
5329 2006-08-28 Michael Smith <msmith@fluendo.com>
5331 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5332 Unset DISCONT on buffers when using single-segment mode.
5334 2006-08-28 Wim Taymans <wim@fluendo.com>
5336 * gst/gstcaps.c: (gst_caps_merge_structure):
5338 Fix docs and indentation again.
5340 * tests/check/gst/gstquery.c: (GST_START_TEST):
5341 Fix leak in tests and add some more tests.
5343 2006-08-28 Edward Hervey <edward@fluendo.com>
5345 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5346 Inform GstSegment of the last stop position in order for the current
5347 segment to have a proper duration if it doesn't have a specific stop
5348 position from which a duration could be calculated.
5349 This bug was noticeable when a non-flushing, non-update new segment was
5350 followed by another segment (all buffers from the new segment were being
5353 2006-08-28 Wim Taymans <wim@fluendo.com>
5355 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5356 Small comment update.
5358 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5359 (gst_identity_transform_ip):
5360 Drop-probability is broken, mention this in the code with a
5361 FIXME and also in the property description.
5362 Make silent also be silent about the drop messages.
5364 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5366 * docs/manual/appendix-win32.xml:
5367 Remove mention of popt, we don't depend on that any
5368 longer (#353136). Add some comments pointing out that
5369 this section is slightly outdated.
5371 2006-08-28 Wim Taymans <wim@fluendo.com>
5373 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5375 * gst/gstquery.c: (gst_query_new_segment):
5376 * tests/check/gst/gstquery.c: (GST_START_TEST):
5377 Initialize variables when creating a new segment query.
5380 2006-08-28 Wim Taymans <wim@fluendo.com>
5382 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5384 * gst/gstelement.c: (gst_element_get_bus):
5385 * tests/check/gst/gstelement.c: (GST_START_TEST):
5386 Check for NULL before _reffing the bus. Fixes #353122.
5388 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
5390 * docs/manual/basics-bus.xml:
5391 Docs update: fix wrong callback return value explanation; add
5392 some lines about the implicit relationship between main loop
5393 and main context; remove duplicate main loop variable declaration.
5395 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
5397 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5398 Don't leak caps in unit test; add a few more simple
5401 2006-08-24 Stefan Kost <ensonic@users.sf.net>
5403 * docs/gst/gstreamer-sections.txt:
5404 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5405 (gst_caps_structure_is_subset), (gst_caps_merge),
5406 (gst_caps_merge_structure):
5408 * libs/gst/base/gstbasetransform.c:
5409 (gst_base_transform_transform_caps):
5410 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5411 implement caps merging (fixes #352580)
5413 2006-08-23 Stefan Kost <ensonic@users.sf.net>
5415 * tools/Makefile.am:
5416 * tools/gst-plot-timeline.py:
5417 add debug-log plotting developer tool (#340674)
5419 2006-08-23 Wim Taymans <wim@fluendo.com>
5421 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5422 (gst_pad_stop_task):
5423 Improve debugging for task functions.
5425 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5426 (gst_task_start), (gst_task_pause), (gst_task_join):
5427 Make sure that the task function started and finished after a
5429 Don't try to push the task function on the threadpool multiple
5431 Improve the g_warning message with some useful suggestions
5432 about how to fix the problem.
5434 2006-08-23 Wim Taymans <wim@fluendo.com>
5436 * gst/gstutils.c: (gst_pad_proxy_getcaps):
5437 Handle RESYNC correctly in _proxy_getcaps.
5439 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
5441 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5442 (gst_xml_parse_memory), (gst_xml_get_element):
5443 Chain up to parent class in dispose function and also
5444 unref the elements in the toplevel_elements GList.
5445 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5446 Always return a reference in gst_xml_get_element() rather
5447 than only sometimes.
5449 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5450 Don't leak GstXml object.
5452 2006-08-21 Stefan Kost <ensonic@users.sf.net>
5454 * docs/gst/gstreamer-sections.txt:
5455 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5458 * libs/gst/base/gstbasetransform.c:
5459 (gst_base_transform_transform_caps):
5460 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5463 2006-08-21 Edward Hervey <edward@fluendo.com>
5465 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5466 Implement GObject::dispose virtual method in GstXML so we can free the
5469 2006-08-21 Wim Taymans <wim@fluendo.com>
5471 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5472 (gst_buffer_create_sub):
5473 Copy duration/offset_end/caps when creating a subbuffer of the
5475 Make the subbuffer read-only when we make the metadata writable for
5478 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5479 Added check for metadata copy when creating subbuffers.
5481 2006-08-21 Edward Hervey <edward@fluendo.com>
5483 * libs/gst/base/gstbasetransform.c:
5484 (gst_base_transform_buffer_alloc):
5485 Only call downstream buffer_alloc if transform element is passthrough
5486 or always_in_place. Closes #350449.
5488 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5491 ChangeLog surgery to add comments to previous changes
5493 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5498 * gst/gstpad.c: (gst_pad_set_active):
5499 Be more verbose in the log
5501 * libs/gst/base/gstbasetransform.c:
5502 (gst_base_transform_transform_caps):
5503 Simplify caps to get rid of duplicates, fixes #345444
5505 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5509 Use these optimizations only internally.
5511 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5513 * gst/gstvalue.c: (gst_value_compare_list),
5514 (gst_value_compare_fraction_range),
5515 (gst_value_intersect_fraction_fraction_range),
5516 (gst_value_intersect_fraction_range_fraction_range),
5517 (gst_value_subtract_fraction_fraction_range),
5518 (gst_value_subtract_fraction_range_fraction_range),
5519 (gst_value_get_compare_func), (gst_value_compare),
5520 (gst_value_compare_with_func):
5522 Saves the expensive lookup of the compare function in many cases
5525 2006-08-18 Edward Hervey <edward@fluendo.com>
5527 * tests/check/gst/gstinfo.c: (gst_info_suite):
5528 Disable test that require gstdebug if it wasn't built in core.
5530 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5532 * docs/random/ensonic/logging.txt:
5535 * gst/gstinfo.c: (gst_debug_log_default):
5536 reorder fields, save some columns, add optional color codes for log
5539 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5541 * docs/random/ensonic/logging.txt:
5542 add ideas about making the logs a bit more useful
5544 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5546 * docs/pwg/advanced-events.xml:
5547 * docs/pwg/titlepage.xml:
5548 Update for 0.10 API (#340627). Add myself
5551 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5553 * docs/libs/gstreamer-libs-docs.sgml:
5554 * docs/libs/gstreamer-libs-sections.txt:
5555 * libs/gst/check/gstbufferstraw.c:
5556 Make gstcheck stuff show up in docs (still needs to
5557 be documented properly though).
5559 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5561 * docs/gst/gstreamer-sections.txt:
5563 * gst/gst.c: (init_post):
5564 * gst/gst_private.h:
5565 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5567 * gst/gstquery.c: (gst_query_new_position),
5568 (gst_query_set_position), (gst_query_parse_position),
5569 (gst_query_new_duration), (gst_query_set_duration),
5570 (gst_query_parse_duration), (gst_query_new_convert),
5571 (gst_query_set_convert), (gst_query_parse_convert),
5572 (gst_query_new_segment), (gst_query_set_segment),
5573 (gst_query_parse_segment), (gst_query_new_seeking),
5574 (gst_query_set_seeking), (gst_query_parse_seeking):
5575 Add internal helpers for pre-registering quarks from static strings
5576 and using the quark values directly instead of looking them up when
5577 creating and parsing queries. Can be used for event construction too.
5580 2006-08-16 Wim Taymans <wim@fluendo.com>
5585 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5587 * gst/gstutils.c: (gst_util_set_value_from_string):
5588 Fix memleak (#351502).
5590 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5591 Add unit test for most of gst_util_set_value_from_string()
5592 (not that one would want to encourage use of this function).
5594 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5596 * libs/gst/check/gstcheck.h:
5597 Use const gchar * variables in fail_unless_equals_string
5598 macro to avoid compiler warnings (and don't use tabs for
5601 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5603 * tools/gst-launch.c: (print_tag):
5604 More space on the left for the tag names, to cater
5605 for the 'extended comment' tag (not touching the
5606 string for the first line since it's translated).
5608 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5610 * libs/gst/check/gstcheck.h:
5611 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5612 print something when they fail.
5614 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5616 * docs/gst/gstreamer-sections.txt:
5617 * gst/gsttaglist.c: (_gst_tag_initialize):
5619 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5620 Also change merge function for GST_TAG_COMMENT to
5623 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5625 * gst/gstinfo.c: (gst_debug_print_object):
5626 Make GST_PTR_FORMAT print messages as well.
5628 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5629 (GST_START_TEST), (gst_info_suite):
5632 2006-08-14 Edward Hervey <edward@fluendo.com>
5634 * gst/gstelementfactory.c: (gst_element_register):
5635 If the GstElementClass doesn't have a GstElementDetails with all fields
5636 filled up correctly (longname, description AND author), then error out
5637 nicely instead of crashing.
5639 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5641 * gst/gststructure.c:
5642 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5645 Expand on the difference between arrays and lists as we use them.
5647 2006-08-14 Wim Taymans <wim@fluendo.com>
5649 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5650 If the parent state change function failed, don't assume we can safely
5651 stop the source, this will be done when the pads are deactivated.
5653 2006-08-14 Wim Taymans <wim@fluendo.com>
5656 * gst/gsttask.c: (gst_task_join):
5659 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5660 (gst_pad_stop_task):
5661 When pad (de)activation failed for some reason, restore the old
5662 activation mode and set the pad to flushing instead of assuming the
5664 If the _task_join() failed, reinstall the task on the pad so that it can
5665 be stopped later and return an error.
5667 2006-08-11 Andy Wingo <wingo@pobox.com>
5670 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5671 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5672 is only for users of API that don't want to see deprecated
5673 functions in the headers; people that want to compile out
5674 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5675 CFLAGS. Fixes the build of multifdsink, or will soon..
5677 2006-08-11 Wim Taymans <wim@fluendo.com>
5679 * docs/gst/gstreamer-sections.txt:
5680 Add GstClockClass vmethod docs.
5683 Mark #endif with comment for associated #if
5685 * gst/gstclock.c: (gst_clock_id_wait):
5687 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5688 most clock implementations.
5690 Flesh out docs about resolution methods.
5691 API: GstClockClass::wait_jitter
5693 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5694 (gst_system_clock_async_thread),
5695 (gst_system_clock_id_wait_jitter_unlocked),
5696 (gst_system_clock_id_wait_jitter):
5697 Use base class wait_jitter variant for improved performance
5698 due to less clock polling.
5700 2006-08-11 Edward Hervey <edward@fluendo.com>
5702 * gst/gst.c: (gst_init_check), (init_post):
5703 Set gst as being initialized before scanning/updating the registry,
5704 since there might be my python plugin loader that calls gst_init() and
5705 we don't want to loop back in.
5708 2006-08-11 Wim Taymans <wim@fluendo.com>
5710 * docs/design/part-qos.txt:
5711 Bring docs in line with the code. Mostly the sign of the jitter was
5712 wrong in the docs. Fixes #349943.
5715 Fix the docs for the jitter.
5717 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5718 (gst_event_parse_tag), (gst_event_new_buffer_size),
5719 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5720 (gst_event_new_seek), (gst_event_parse_seek),
5721 (gst_event_new_navigation):
5722 Make sure the GstStructure has no parent when creating custom
5724 Add some more argument checking so that we avoid 0.0 rates.
5725 Flesh out the docs for the QoS event some more.
5727 2006-08-11 Wim Taymans <wim@fluendo.com>
5729 * docs/gst/gstreamer-sections.txt:
5730 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5731 (ensure_current_registry_forking), (ensure_current_registry),
5732 (parse_one_option), (parse_goption_arg), (gst_deinit),
5733 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5736 Added API and command line option to disable registry forking in
5737 addition to the environment variable.
5738 Constify some static arrays.
5739 Added some more debug.
5741 API: gst_registry_fork_is_enabled()
5742 API: gst_registry_fork_set_enabled()
5743 API: --gst-disable-registry-fork command line option
5746 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5748 * gst/gst.c: (gst_init):
5749 Fix typo in error message.
5751 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5753 * libs/gst/controller/gstcontroller.h:
5754 fix ABI size-correction
5756 * tests/check/libs/gdp.c: (gst_dp_suite):
5757 make tests that use deprecated API conditional
5759 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5761 * docs/libs/gstreamer-libs-sections.txt:
5762 * libs/gst/controller/gstcontroller.c:
5763 (_gst_controller_get_property), (_gst_controller_set_property),
5764 (_gst_controller_init), (_gst_controller_class_init):
5765 * libs/gst/controller/gstcontroller.h:
5766 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5767 (gst_object_set_control_rate):
5768 API: add gst_object_{s,g}et_control_rate(), add private data section,
5771 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5772 * libs/gst/dataprotocol/dataprotocol.h:
5773 add deprecation guards to make gtk-doc happy and allow disabling cruft
5775 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5777 * tests/check/Makefile.am:
5778 * tests/check/gst/.cvsignore:
5779 Let's enable the new unit test as well.
5781 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5784 * docs/gst/gstreamer-sections.txt:
5785 * gst/gstconfig.h.in:
5786 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5787 (_gst_info_printf_extension_ptr),
5788 (_gst_info_printf_extension_segment):
5789 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5790 register that lets us easily dump GstSegments into debug
5793 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5794 (info_segment_format_printf_extension), (gst_info_suite):
5795 Add simple unit test that logs a bunch of different segments (not
5796 valgrinded at the moment because of leaks in
5797 gst_debug_add_log_function).
5799 2006-08-09 Edward Hervey <edward@fluendo.com>
5801 * libs/gst/base/gstbasetransform.c:
5802 (gst_base_transform_buffer_alloc):
5803 Even if we can't figure out the proper format to request downstream,
5804 call buffer_alloc() downstream with the input parameters without setting
5805 the caps on the srcpad. This will force negotiation in the chain
5809 2006-08-08 Edward Hervey <edward@fluendo.com>
5811 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5812 Unlinking from a pad without a target is now a perfectly valid case
5813 which should NOT raise an assertion.
5814 This case would happen if a linked ghostpad its target set to NULL after
5815 it was previously linked.
5817 2006-08-08 Edward Hervey <edward@fluendo.com>
5819 * tests/check/libs/gdp.c:
5820 Also comment out the test (see below).
5822 2006-08-08 Edward Hervey <edward@fluendo.com>
5824 * tests/check/libs/gdp.c: (gst_dp_suite):
5825 Use the architecture information from config.h and not gcc macros
5826 in order to properly disable a test that fails on PPC64.
5828 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5830 * gst/gstelement.c: (gst_element_remove_pad):
5831 Don't crash printing the warning if the pad has no parent.
5833 2006-08-02 Wim Taymans <wim@fluendo.com>
5835 * libs/gst/dataprotocol/dataprotocol.c:
5836 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5837 (gst_dp_crc), (gst_dp_header_payload_length),
5838 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5839 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5840 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5841 (gst_dp_event_from_packet), (gst_dp_validate_header),
5842 (gst_dp_validate_payload):
5843 Make debug category static
5844 Constify the crc table.
5845 Do some more arg checking in public functions.
5846 Fix some docs and do some small cleanups.
5848 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5849 Add some more checks to see if GDP deals with bogus input.
5851 2006-07-31 Wim Taymans <wim@fluendo.com>
5853 * gst/gstvalue.c: (gst_value_compare_list):
5854 Fix GstValueList comparison code. Fixes #347293.
5856 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5857 Check to test GstValueList comparison.
5859 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5861 * gst/gstelementfactory.c: (gst_element_factory_create):
5862 Remove unnecessary ref/unref pair
5864 * gst/parse/grammar.y:
5865 Make sure to free the parse buffer on all code paths.
5866 Move a g_free up to the error handler where it's easier to see.
5868 * tests/check/gst/gstevent.c: (test_event):
5869 Extending timeout for downstream travelling events to 10 seconds to
5870 hopefully avoid intermittent failure on the buildbots.
5872 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5873 Don't manually set the state of the src element - it will happen as a
5874 natural consequence of the pipeline changing state, and that way it
5875 will do it in the right order too.
5877 2006-07-31 Wim Taymans <wim@fluendo.com>
5879 * libs/gst/base/gstbasetransform.c:
5880 (gst_base_transform_buffer_alloc):
5881 Use OBJECT_LOCK and refcounting to get the pad caps in the
5882 buffer_alloc function because the caps could change while we are
5883 busy with them. Fixes #349105
5885 2006-07-31 Wim Taymans <wim@fluendo.com>
5887 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5888 Protect _PAD_CAPS with OBJECT_LOCK.
5890 2006-07-31 Wim Taymans <wim@fluendo.com>
5892 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5893 (gst_pad_get_property), (gst_pad_activate_pull),
5894 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5895 (gst_pad_set_activate_function),
5896 (gst_pad_set_activatepull_function),
5897 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5898 (gst_pad_set_getrange_function),
5899 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5900 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5901 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5902 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5903 (gst_pad_set_acceptcaps_function),
5904 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5905 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5906 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5907 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5908 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5909 (gst_pad_configure_sink), (gst_pad_configure_src),
5910 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5911 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5912 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5913 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5914 (gst_pad_send_event):
5915 Use _DEBUG_OBJECT when it makes sense.
5916 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5917 Small cleanups and code reflows.
5918 Avoid caps refcounting in _accept_caps.
5919 Refactor alloc_buffer so that the code performed on the peer is in a
5920 separate function. Also if the pad does not implement a buffer alloc
5921 function, we should still check if the pad is flushing before falling
5922 back to the default allocator.
5924 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5926 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5927 Make all uses of identity and fakesink have silent=true to avoid
5928 serialising every passing data structure, which is breaking tests
5929 on FC4 for some unknown reason.
5931 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5933 * gst/parse/Makefile.am:
5934 * gst/parse/grammar.y:
5935 * gst/parse/parse.l:
5936 Reverted previous patch as it required to bump the flex dependency to
5937 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5939 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5941 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5943 * gst/parse/Makefile.am:
5944 * gst/parse/grammar.y:
5945 * gst/parse/parse.l:
5946 push & pop the state of the lexer for reentrant use case
5949 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
5951 * libs/gst/base/gstbasesrc.h:
5952 Note in the docs that the ::newsegment vfunc is not actually used by
5955 2006-07-28 Wim Taymans <wim@fluendo.com>
5957 * libs/gst/base/gstcollectpads.c:
5958 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5959 (gst_collect_pads_clear), (gst_collect_pads_flush),
5960 (gst_collect_pads_event), (gst_collect_pads_chain):
5961 When flushing a pad, also clear the queued buffer so that we don't
5962 accidentally use it when we shouldn't.
5963 Fix leaks by inreffing incomming buffer.
5964 Flush out queued buffers in case of errors.
5967 2006-07-28 Wim Taymans <wim@fluendo.com>
5969 * docs/random/phonon-gst:
5970 Random notes about a Phonon backend.
5972 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5974 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5976 * tests/check/libs/gdp.c: (gst_dp_suite):
5977 Take a whack at fixing the ppc compile using a different define to
5978 disable the broken test.
5980 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5981 Remove excess g_print()
5983 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5985 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5986 Oops, meant to uncomment this line too to dampen the noise a bit.
5988 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5990 * gst/parse/grammar.y:
5991 * gst/parse/parse.l:
5992 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5993 (GST_START_TEST), (parse_suite):
5994 Fix some of the leaks exposed by extending the parse-launch testsuite,
5995 and move the 3 I can't figure out into a separate test that won't run
5996 the pipelines unless the appropriate line is uncommented.
5998 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6000 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6001 Requesting 0 bytes before the end of the file should result in
6002 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6005 2006-07-27 Wim Taymans <wim@fluendo.com>
6007 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6008 Fix useless assert, a uint is always positive.
6010 * gst/gststructure.c: (gst_structure_nth_field_name),
6011 (gst_structure_foreach), (gst_structure_map_in_place):
6012 Check input arguments for public functions to avoid obvious crashes.
6014 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6015 * plugins/elements/gstfakesink.h:
6016 Do less useless typechecking.
6018 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6020 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6021 Do not use mmap() by default since there are a number of error
6022 conditions that we would like to handle in a non-fatal way that
6023 will result in a SIGBUS if we use mmap(). Examples: external
6024 devices (USB harddrive, portable music player) being unplugged
6025 while in use; file on mounted CD/DVD that can't be read because
6026 the medium is partly damaged. Fixes #348455 and #348475.
6028 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6031 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6034 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6036 * gst/gstregistry.c:
6037 Move big documentation comment into class section header, so that it
6038 appears in the API docs.
6040 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6042 * docs/gst/gstreamer-sections.txt:
6043 Oops. Commit the docs additions too for new API.
6044 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6046 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6048 * gst/gststructure.c: (gst_structure_id_set),
6049 (gst_structure_id_set_valist):
6050 * gst/gststructure.h:
6051 Add API for setting values into structures without performing
6052 a quark lookup, if the appropriate quark is already known.
6054 API: gst_structure_id_set
6055 API: gst_structure_id_set_valist
6057 * gst/parse/grammar.y:
6058 * gst/parse/parse.l:
6059 Remove some dead code shown by the coverage information.
6060 Don't throw a critical g_warning when encountering a syntax error,
6061 just warn and let the normal error path handle it.
6063 * plugins/elements/gstelements.c:
6064 Bump the rank of filesink up to PRIMARY so that it is preferred over
6065 gnomevfssink for file:// sink uri's
6067 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6068 (GST_START_TEST), (run_delayed_test),
6069 (gst_parse_test_element_base_init),
6070 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6071 (gst_parse_test_element_change_state),
6072 (gst_register_parse_element), (parse_suite):
6073 Beef up the tests for parse syntax to check that more error cases
6074 fail as they are supposed to. Increases the test coverage a bit.
6076 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6078 * docs/manual/basics-elements.xml:
6079 Fix gst_element_link() example.
6082 Mention in API docs that one should usually gst_bin_add()
6083 elements to a bin or pipeline before doing the linking.
6085 2006-07-26 Wim Taymans <wim@fluendo.com>
6087 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6088 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6089 Avoid function call for known types by keeping the buffer and
6090 subbuffer GType global.
6092 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6093 Random silly optimisations in read() path.
6095 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6097 * tools/gst-launch.c: (main):
6098 If the top-level of the parse is a normal bin, it doesn't do the
6099 right logic to run as a top-level element, so place it inside a
6102 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6104 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6105 Remove superfluous g_object_notify() calls, GObject does
6106 that for us automatically.
6108 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6111 on Win32, use dllspec to export the debug category symbols
6113 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6115 * gst/gsttaglist.c: (_gst_tag_initialize):
6116 Allow more than one GST_TAG_IMAGE per taglist.
6118 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6120 * gst/gstminiobject.c:
6122 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6123 (gst_fd_src_create):
6124 log recurring events at LOG level
6125 add more debug for when the fd gets set
6127 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6129 * gst/gstparse.c: (gst_parse_launch):
6130 Also remove reentrance checks if flex is MT safe (#348179)
6131 Fix my empty ChangeLog entry below
6133 2006-07-21 Andy Wingo <wingo@pobox.com>
6135 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6137 * libs/gst/check/Makefile.am
6138 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6139 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6140 * libs/gst/check/gstbufferstraw.h:
6141 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6142 functions, thus proving I am still a GStreamer haxor. OK I wrote
6143 them a long time ago, but anyways.
6145 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6148 * gst/gstparse.c: (gst_parse_launch):
6149 Check for flex version and omit mutex if we have a MT save flex
6152 2006-07-21 Wim Taymans <wim@fluendo.com>
6154 * gst/gstparse.c: (gst_parse_launch):
6155 Protect recursive calls to _parse with a recursive mutex
6158 2006-07-21 Wim Taymans <wim@fluendo.com>
6160 * tests/check/gst/gstpad.c: (GST_START_TEST):
6163 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6165 * gst/gstparse.c: (gst_parse_launch):
6166 Do not hang on recursive usage of gst_parse_launch()
6168 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6171 Add some more docs, comments and FIXME 0.11s here and there
6172 and also fix some typos.
6174 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6177 Convert tabs to spaces for better readability.
6179 2006-07-20 Edward Hervey <edward@fluendo.com>
6181 * tests/check/libs/gdp.c: (gst_dp_suite):
6182 the test_buffer test fails at line 140 on ppc64 at the following
6184 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6185 GST_BUFFER_FLAG_IN_CAPS),
6186 "GST_BUFFER_IN_CAPS flag should have been copied !");
6187 See bug #348114 for more details.
6189 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6191 * docs/pwg/advanced-scheduling.xml:
6193 Fix typos (#348000).
6195 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6197 * docs/pwg/intro-basics.xml:
6198 Fix wrong links (#347927).
6200 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6202 * gst/gstregistry.h:
6203 * gst/gstregistryxml.c: (load_feature),
6204 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6205 * win32/common/config.h:
6206 make --disable-index work (#342564)
6208 2006-07-18 Wim Taymans <wim@fluendo.com>
6210 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6214 The attached patch adds two missing defines to gsttrace.h when tracing
6215 is disabled. It also corrects one existing define.
6218 2006-07-17 Wim Taymans <wim@fluendo.com>
6220 * docs/gst/gstreamer-sections.txt:
6221 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6223 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6224 Add two functions to check and change the SIGSEGV behaviour
6225 when loading plugins.
6226 Don't mess with the SIGSEGV handler when we were told not to.
6228 API: gst_segtrap_is_enabled
6229 API: gst_segtrap_set_enabled
6231 2006-07-14 Wim Taymans <wim@fluendo.com>
6233 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6234 * tests/check/elements/filesrc.c: (GST_START_TEST):
6235 Revert fix for regression in #347408 after release.
6237 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6239 Patch by: Antoine Tremblay <hexa00 at gmail com>
6241 * gst/gstutils.c: (gst_element_unlink):
6242 Free iterator when done (#347311).
6244 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6245 And add a test case for this.
6247 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6250 Bump nano back to CVS
6252 === release 0.10.9 ===
6254 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6257 releasing 0.10.9, "On the road again"
6259 2006-07-13 Wim Taymans <wim@fluendo.com>
6261 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6262 * tests/check/elements/filesrc.c: (GST_START_TEST):
6263 Revert pull-0 fix for release. Disable check. Fixes #347408.
6265 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6267 * libs/gst/dataprotocol/dataprotocol.c:
6268 (gst_dp_event_from_packet_1_0):
6269 Fixes #347337: failure to deserialize event packets with
6270 empty payload (only event type)
6272 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6275 do not install a .c file in the header directory
6277 2006-07-13 Edward Hervey <edward@fluendo.com>
6279 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6280 GhostPad no longer implicitely use the padtemplates of the targets.
6283 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6285 * gst/gstvalue.c: (gst_value_compare_list),
6286 (gst_value_compare_array), (_gst_value_initialize):
6287 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6288 Make GstValueArray comparison be order dependent as designed.
6289 Add checks for value lists and value array comparisons.
6292 2006-07-11 Edward Hervey <edward@fluendo.com>
6294 * gst/gstbin.c: (activate_pads),
6295 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6296 (gst_bin_change_state_func):
6297 (de)activate src pads before calling state_change on the childs.
6298 This is to avoid the case where a src ghostpad is blocked (holding the
6299 stream lock), which would block the deactivation of the ghostpad's
6301 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6302 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6303 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6304 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6305 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6306 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6307 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6308 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6309 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6310 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6311 (gst_ghost_pad_class_init),
6312 (gst_ghost_pad_internal_do_activate_push),
6313 (gst_ghost_pad_internal_do_activate_pull),
6314 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6315 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6316 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6317 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6318 GhostPads now create their internal GstProxyPad at creation (and not
6319 when they're linked, as it was being done previously).
6320 The internal and target pads are linked straight away.
6321 The data will also travel through the other pad in order to make
6322 pad blocking and probes non-hackish (the probe/block now really happens
6323 on the GhostPad and not on the target).
6324 * gst/gstpad.c: (gst_pad_set_blocked_async),
6325 (gst_pad_link_prepare), (gst_pad_push_event):
6326 Remove previous ghostpad cruft.
6327 * gst/gstutils.c: (gst_pad_add_data_probe),
6328 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6329 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6330 (gst_pad_remove_buffer_probe):
6331 Remove previous ghost pad cruft.
6332 Added more detailed debug statements.
6333 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6334 Fix the testsuite for refcounting changes.
6335 The comments about who has references were correct, but the refcount
6336 being checked wasn't the same (!?!).
6340 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6342 * docs/gst/gstreamer-sections.txt:
6343 * gst/gstconfig.h.in:
6344 More docs for configuration options, add docs to gtk-doc.
6346 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6349 * gst/gstconfig.h.in:
6350 * win32/common/config.h:
6351 Fix build when disabling tracing (fixes #344016). Also start to document
6352 the defines that disable the sub-systems.
6354 2006-07-10 Edward Hervey <edward@fluendo.com>
6356 * gst/gst.c: (ensure_current_registry_forking):
6357 let's make valgrind happy...
6359 2006-07-09 Wim Taymans <wim@fluendo.com>
6361 * gst/gstelement.c: (activate_pads),
6362 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6363 Better pad activation code: Reset the collect value too on resync.
6366 2006-07-09 Wim Taymans <wim@fluendo.com>
6368 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6369 (gst_pad_activate_push):
6370 Use some more macros where it makes sense.
6371 Allow pad mode switching instead of asserting. When a pad
6372 is activated in one mode and we activate it in another,
6373 deactivate it first before activating it in a different mode.
6376 2006-07-08 Andy Wingo <wingo@pobox.com>
6378 * tools/gst-launch.c (main): Handle err == NULL.
6380 * gst/gst.c (init_post, ensure_current_registry)
6381 (ensure_current_registry_forking)
6382 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6383 factoring out the registry scanning into separate functions. Don't
6384 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6385 Better environment var name/interface suggestions accepted.
6387 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6389 * gst/gstobject.c: (gst_object_set_name_default),
6390 (gst_object_set_name):
6391 Random micro-optimisation: don't use a hash table
6392 with strings as keys and the usual strdup/strcmp
6393 involved, but rather just use the GQuark of the
6394 type name as key, since it needs to be looked up
6395 anyway to get the type name string.
6397 * tests/check/gst/gstobject.c: (GST_START_TEST):
6400 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6402 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6403 (gst_bin_iterate_all_by_interface):
6404 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6405 GTypes are gulongs and thus the top 4 bytes might be cut
6406 off on some platforms when doing GPOINTER_TO_INT, leading
6407 to invalid GTypes and bad things happening (see RH bug #179654).
6408 Also add a check to make sure the type passed in is really
6411 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6416 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6420 * gst-element-check.m4:
6421 * gst-element-check.m4.in:
6422 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6423 instead of the unversioned gst-inspect (#324176, #168659).
6425 2006-07-06 Wim Taymans <wim@fluendo.com>
6428 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6431 2006-07-06 Wim Taymans <wim@fluendo.com>
6433 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6434 (gst_base_src_wait), (gst_base_src_update_length),
6435 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6436 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6437 (gst_base_src_loop), (gst_base_src_start),
6438 (gst_base_src_activate_pull):
6440 blocksize == 0 now means the default blocksize when working in push
6442 Remove some pointless asserts in _wait function.
6443 Fix offset/length calculations and EOS handling. We can now pull 0
6444 bytes as well, which is allowed.
6445 use _check_get_range() to decide if we can operate in _pull based
6447 Fix refcounting leak when check_get_range function was not
6449 API GstBaseSrc::blocksize range can be 0 too now (default)
6451 * tests/check/elements/filesrc.c: (GST_START_TEST),
6453 Added check to test _get_range() behaviour.
6455 2006-07-06 Wim Taymans <wim@fluendo.com>
6457 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6458 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6459 (gst_pad_pull_range):
6461 Lots of comments and docs added to the pad functions.
6462 Flesh out the expected behaviour of the get_range() functions.
6464 2006-07-06 Wim Taymans <wim@fluendo.com>
6469 * gst/gstiterator.h:
6473 Remove comma at end of enumerator list.
6475 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
6477 * win32/common/libgstbase.def:
6478 * win32/common/libgstdataprotocol.def:
6479 * win32/common/libsgtreamer.def:
6480 Add new exported functions.
6482 2006-07-05 Wim Taymans <wim@fluendo.com>
6484 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6485 Add some more docs here and there.
6487 2006-07-05 Wim Taymans <wim@fluendo.com>
6489 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6490 (gst_base_sink_loop), (gst_base_sink_get_position):
6491 When operating in pull mode update the offset so that we
6494 2006-07-05 Wim Taymans <wim@fluendo.com>
6496 * gst/gstregistryxml.c: (read_string):
6497 Avoid strdup. (will happen in libxml, but hey!)
6502 2006-07-05 Wim Taymans <wim@fluendo.com>
6504 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6505 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6507 No point in checking if the size of the subbuffer > 0, the
6508 code handles it correclty as demonstrated by unit test.
6509 Also add a unit test for the zero sized _new_and_alloc and
6510 _copy. Fixes #346663.
6512 2006-07-05 Wim Taymans <wim@fluendo.com>
6514 * libs/gst/base/gstbasetransform.c:
6515 (gst_base_transform_prepare_output_buffer),
6516 (gst_base_transform_buffer_alloc),
6517 (gst_base_transform_handle_buffer):
6518 Make sure the buffer we pass to transform_ip has a refcount of
6519 1 and thus is writable. Fixes #343196
6521 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6523 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6524 (gst_file_src_init), (gst_file_src_set_property),
6525 (gst_file_src_get_property), (gst_file_src_map_region):
6526 * plugins/elements/gstfilesrc.h:
6527 Add "sequential" property, off by default, to use madvise and hint
6528 to the kernel that sequential access is desired.
6529 Touch all retrieved pages by default to ensure they are pulled
6530 into memory. (Closes #345720)
6532 2006-07-03 Wim Taymans <wim@fluendo.com>
6534 * docs/design/part-block.txt:
6535 * docs/design/part-dynamic.txt:
6538 2006-07-03 Wim Taymans <wim@fluendo.com>
6540 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6541 (gst_caps_unref), (gst_static_caps_get),
6542 (gst_caps_append_structure):
6543 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6544 Use GSlice when the glib we build against is >= 2.10
6546 2006-07-03 Wim Taymans <wim@fluendo.com>
6548 * gst/gstelement.c: (gst_element_pads_activate):
6549 Small cleanup in pad activation code.
6551 2006-07-03 Wim Taymans <wim@fluendo.com>
6553 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6555 * gst/gst-i18n-app.h:
6556 * gst/gst-i18n-lib.h:
6557 * tools/gst-inspect.c: (print_signal_info):
6558 The attached patch will make the inclusion of gettext.h unconditional in
6559 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6560 libintl.h in tools/gst-inspect.c.
6561 This allows use of --disable-nls again and fixes #344642.
6563 2006-07-03 Edward Hervey <edward@fluendo.com>
6565 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6566 Implement pad blocking on events according to part-block.txt.
6567 More comments on behaviour.
6568 * tests/check/gst/gstevent.c: (test_event):
6569 Send event to peer pad of blocked pad (else it will block).
6571 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6573 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6574 (gst_check_run_suite):
6575 if we get the wrong message, give us the types as string
6576 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6578 * tests/check/elements/filesrc.c: (GST_START_TEST):
6579 add a test for trying to open a non-existing file
6581 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6583 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6584 add a test for adding self
6586 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6588 * libs/gst/check/gstcheck.h:
6589 add some assert_ as alias for fail_unless_*
6590 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6591 increase test coverage
6593 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6596 include lcov.mak for lcov coverage generation
6597 * tools/Makefile.am:
6600 2006-07-02 Edward Hervey <edward@fluendo.com>
6602 * tests/check/elements/.cvsignore:
6605 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6608 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6609 * tests/check/Makefile.am:
6612 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6614 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6615 remove gst_caps_simplify; it was not declared and not used
6616 and deprecated in 0.8
6618 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6620 * docs/faq/gst-uninstalled:
6621 don't put empty paths on PYTHONPATH
6622 * docs/gst/gstreamer-sections.txt:
6623 remove some symbols that are not there
6625 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6627 * gst/gstcaps.c: (gst_caps_compare_structures):
6629 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6630 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6633 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6635 * libs/gst/dataprotocol/Makefile.am:
6636 build dataprotocol test by linking to the lib, instead of
6637 compiling the source, so we get coverage
6638 * tests/check/Makefile.am:
6639 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6640 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6641 add a test for filesrc
6643 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6645 * tests/check/gst/gststructure.c: (GST_START_TEST),
6646 (gst_structure_suite):
6647 Push coverage from 59.04% to 70.00%
6649 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6651 * tests/check/Makefile.am:
6652 gst-inspect every element; this makes sure that we also get
6653 coverage on element's get/set functions
6655 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6658 set CFLAGS and friends to -O0 if gcov is being used
6661 * libs/gst/base/Makefile.am:
6662 * libs/gst/check/Makefile.am:
6663 * libs/gst/controller/Makefile.am:
6664 * libs/gst/dataprotocol/Makefile.am:
6665 * libs/gst/net/Makefile.am:
6666 * plugins/elements/Makefile.am:
6667 * plugins/indexers/Makefile.am:
6668 add makefile rules to generate gcov data and clean up
6669 * tests/check/Makefile.am:
6670 add a coverage target that generates an html overview
6673 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6675 * tests/check/elements/fakesink.c:
6676 * tests/check/elements/fakesrc.c:
6677 * tests/check/elements/fdsrc.c:
6678 * tests/check/elements/identity.c:
6679 * tests/check/generic/sinks.c: (gst_sinks_suite):
6680 * tests/check/generic/states.c:
6681 * tests/check/gst/gst.c:
6682 * tests/check/gst/gstabi.c:
6683 * tests/check/gst/gstbin.c:
6684 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6685 * tests/check/gst/gstbus.c: (gst_bus_suite):
6686 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6687 * tests/check/gst/gstelement.c:
6688 * tests/check/gst/gstevent.c: (gst_event_suite):
6689 * tests/check/gst/gstghostpad.c:
6690 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6691 * tests/check/gst/gstmessage.c: (gst_message_suite):
6692 * tests/check/gst/gstminiobject.c:
6693 * tests/check/gst/gstobject.c:
6694 * tests/check/gst/gstpad.c:
6695 * tests/check/gst/gstpipeline.c:
6696 * tests/check/gst/gstplugin.c:
6697 * tests/check/gst/gstquery.c: (gst_query_suite):
6698 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6699 * tests/check/gst/gststructure.c:
6700 * tests/check/gst/gstsystemclock.c:
6701 * tests/check/gst/gsttag.c:
6702 * tests/check/gst/gsttask.c: (gst_task_suite):
6703 * tests/check/gst/gstutils.c:
6704 * tests/check/gst/gstvalue.c:
6705 * tests/check/libs/adapter.c:
6706 * tests/check/libs/basesrc.c:
6707 * tests/check/libs/collectpads.c:
6708 * tests/check/libs/controller.c:
6709 * tests/check/libs/gdp.c: (gst_dp_suite):
6710 * tests/check/libs/gstnetclientclock.c:
6711 * tests/check/libs/gstnettimeprovider.c:
6712 * tests/check/libs/libsabi.c: (libsabi_suite):
6713 * tests/check/libs/typefindhelper.c:
6714 * tests/check/pipelines/cleanup.c:
6715 * tests/check/pipelines/parse-launch.c:
6716 * tests/check/pipelines/simple-launch-lines.c:
6717 * tests/check/pipelines/stress.c: (stress_suite):
6720 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6722 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6723 * libs/gst/check/gstcheck.h:
6724 create a macro and function so that the simple unit test
6725 case can be just one macro to create main()
6727 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6729 * gst/gstbin.c: (gst_bin_restore_thyself):
6730 * gst/gstxml.c: (gst_xml_make_element):
6731 Fix deserialisation from XML. Set parent manually
6732 instead of using gst_bin_add(), since gst_bin_add()
6733 will unlink all pads of the element being added.
6736 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6738 Patch by: Peter Kjellerstedt <pkj at axis com>
6740 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6741 Fix missing g_strdup() and double free when using the
6742 --gst-plugin-load command line option (#346097).
6744 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6747 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6749 * libs/gst/net/gstnetclientclock.c:
6750 * libs/gst/net/gstnettimeprovider.c:
6751 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6753 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6755 * docs/manual/advanced-dataaccess.xml:
6756 Fix buffer probe example compilation in
6759 2006-06-22 Edward Hervey <edward@fluendo.com>
6761 * gst/gstelement.c: (gst_element_pads_activate):
6762 We need to deactivate src pads first and then sink pads.
6763 The reason is the src pads might be blocking while holding the streaming
6764 lock, so we need to deactivate them first so that deactivating the sink
6765 pads doesn't block (since it will require the streaming lock).
6767 2006-06-22 Wim Taymans <wim@fluendo.com>
6769 * libs/gst/base/gstbasetransform.c:
6770 (gst_base_transform_buffer_alloc):
6771 Forgot to remove two unneeded unrefs.
6772 Simplify a check _is_equal allready checks the obvious case.
6774 2006-06-22 Wim Taymans <wim@fluendo.com>
6776 * docs/design/part-block.txt:
6777 Some docs about what pad_block should do.
6779 2006-06-22 Wim Taymans <wim@fluendo.com>
6781 * gst/gstcaps.c: (gst_caps_replace):
6782 Fix crasher when passed NULL. Doc clarification.
6783 Optimize for the trivial case.
6785 * gst/gstpipeline.c: (gst_pipeline_change_state):
6788 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6789 Small documentation cleanup.
6791 * libs/gst/base/gstbasetransform.c:
6792 (gst_base_transform_buffer_alloc):
6793 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6794 is what we need and it avoids a whole lot of redundant
6795 refcount operations.
6797 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6799 Patch by: Philip Jägenstedt <philip at lysator liu se>
6801 * docs/manual/advanced-dataaccess.xml:
6802 Fix 'Embedding static elements' section to use
6803 GST_PLUGIN_DEFINE_STATIC (#345607).
6805 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6807 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6808 Attempt to 'fix' spuriously failing test case: it seems like the
6809 timeout of half a second is simply too small when the system is under
6810 load otherwise, and the timeout doesn't really seem to serve any
6811 particular purpose here. Give the pipeline a few seconds to preroll
6812 first, and then give it another half a second to go from PAUSED to
6813 PLAYING and marshal the message into the main thread.
6815 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6817 * tools/gst-feedback-m.m:
6818 Don't only use unversioned tools, try versioned tools as well
6821 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6823 * gst/gstbus.c: (gst_bus_class_init):
6824 Fix some typos, make docs more explicit.
6826 2006-06-20 Wim Taymans <wim@fluendo.com>
6828 * tests/check/gst/gstghostpad.c: (block_callback),
6829 (GST_START_TEST), (gst_ghost_pad_suite):
6830 Added some more ghostpad tests, mainly blocking
6833 2006-06-16 Wim Taymans <wim@fluendo.com>
6835 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6836 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6837 (gst_file_sink_event), (gst_file_sink_render):
6838 * plugins/elements/gstfilesink.h:
6839 Check if we can seek in the file instead of assuming
6840 we always can. Post an error when we are asked to seek in a
6841 non-seekable file (like a fifo). Fixes #343312.
6844 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6846 * tools/gst-launch.1.in:
6847 Un-garble (fourcc) bit in filtered caps section.
6849 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6851 * docs/manual/advanced-autoplugging.xml:
6852 * docs/manual/basics-helloworld.xml:
6853 * docs/manual/highlevel-components.xml:
6854 Don't leak bus reference in sample code.
6856 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6859 Add default for new --enable-plugin-docs switch.
6862 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6866 Use new ENABLE_PLUGIN_DOCS conditional.
6868 2006-06-14 Wim Taymans <wim@fluendo.com>
6870 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6871 Make it clear with a FIXME and a real define what the #if 0
6872 previously disabled.
6874 2006-06-14 Wim Taymans <wim@fluendo.com>
6876 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6877 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6878 * libs/gst/base/gstbasetransform.c:
6879 (gst_base_transform_sink_eventfunc):
6880 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6881 Don't randomly and silently reset a segment when the format
6882 changes as this is a bug somewhere upstream. Fixes #330379.
6884 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6886 Patch by: Wouter Paesen <wouter at kangaroot net>
6888 * libs/gst/controller/gstcontroller.c:
6889 (gst_controlled_property_new):
6890 Fix controlling of float properties (#344849).
6892 * tests/check/libs/controller.c:
6893 (gst_test_mono_source_get_property),
6894 (gst_test_mono_source_set_property),
6895 (gst_test_mono_source_class_init), (GST_START_TEST):
6896 While we're at it, add some float stuff to unit test.
6898 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6901 * docs/images/gdp-header.svg:
6903 * docs/libs/Makefile.am:
6904 * docs/libs/gdp-header.png:
6905 * libs/gst/dataprotocol/dataprotocol.c:
6906 add it to the API docs
6907 * docs/manual/intro-motivation.xml:
6910 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6912 * gst/gst.c: (scan_and_update_registry), (init_post):
6913 If the fork()'ed child process can't write the updated registry cache
6914 file to disk for some reason, make it exit with a failure exit code,
6915 so that the parent can then re-scan the plugins itself and update the
6916 registry structures in memory and work with that (rather than failing
6917 when creating elements because seemingly no plugins are available).
6918 Refactor registry scanning code into separate function for this and
6919 also separate fork() and non-fork() code paths. Fixes #344748.
6921 2006-06-13 Wim Taymans <wim@fluendo.com>
6923 * docs/manual/advanced-dataaccess.xml:
6924 Fix wrong PluginDesc. Fixes #344755.
6926 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6928 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6929 Fix silly bug that prevented us from creating
6930 ~/.gstreamer-0.10 and writing the registry in one
6931 go (the first call to g_mkstemp() would overwrite the
6932 placeholder in the template string, so the second call
6933 to g_mkstemp() after creating the missing directory
6934 would then error out with 'invalid argument').
6936 2006-06-13 Edward Hervey <edward@fluendo.com>
6938 * gst/gst.c: (init_post):
6941 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6943 * gst/glib-compat-private.h:
6944 * gst/glib-compat.c:
6945 * gst/glib-compat.h:
6946 * gst/gstvalue.c: (gst_value_serialize_flags):
6947 remove GLib 2.6 compatibility code
6949 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
6951 * gst/parse/Makefile.am:
6952 Fix build with 'make -j N' even more (#340016).
6954 2006-06-12 Wim Taymans <wim@fluendo.com>
6956 * docs/gst/gstreamer-sections.txt:
6959 2006-06-12 Wim Taymans <wim@fluendo.com>
6961 * gst/gstsegment.c: (gst_segment_set_duration),
6962 (gst_segment_set_last_stop), (gst_segment_set_seek),
6963 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6964 (gst_segment_to_running_time), (gst_segment_clip):
6965 Use G_UNLIKELY to help the compiler a bit.
6967 2006-06-12 Wim Taymans <wim@fluendo.com>
6969 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6971 * gst/gstevent.c: (gst_event_get_type):
6973 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6975 constify quark registration strings. Fixes #344115
6976 Avoid unneeded type checking is _pad_push() by internally
6977 calling gst_pad_chain_unchecked().
6979 2006-06-12 Wim Taymans <wim@fluendo.com>
6981 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6982 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6983 (gst_subbuffer_finalize), (gst_buffer_create_sub),
6984 (gst_buffer_is_span_fast), (gst_buffer_span):
6985 Init _type for consistency.
6986 Use _FLAGS macro to avoid type check.
6987 Avoid unneeded type checks in subbufer code.
6989 2006-06-12 Wim Taymans <wim@fluendo.com>
6991 * gst/gst.c: (gst_debug_help):
6992 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6993 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6994 (gst_plugin_feature_list_free):
6995 * gst/gstregistry.c: (gst_registry_add_plugin),
6996 (gst_registry_add_feature), (gst_registry_plugin_filter),
6997 (gst_registry_feature_filter), (gst_registry_find_plugin),
6998 (gst_registry_find_feature), (gst_registry_get_plugin_list),
6999 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7000 * gst/gstregistryxml.c: (load_feature),
7001 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7002 * gst/gstminiobject.c: (gst_mini_object_unref),
7003 (gst_mini_object_replace), (gst_value_mini_object_free),
7004 (gst_value_mini_object_copy):
7005 Use _CAST macros to avoid unneeded type checking.
7006 Added some more G_UNLIKELY.
7008 2006-06-12 Wim Taymans <wim@fluendo.com>
7011 Avoid unneeded type checking.
7012 API: GST_BUFFER_IS_DISCONT
7014 * gst/gstminiobject.h:
7015 Avoid type check in flag accessor.
7017 * gst/gstelementfactory.h:
7019 * gst/gstpluginfeature.h:
7021 API: GST_ELEMENT_FACTORY_CAST
7022 API: GST_PLUGIN_CAST
7023 API: GST_PLUGIN_FEATURE_CAST
7025 2006-06-12 Wim Taymans <wim@fluendo.com>
7027 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7029 Add G_UNLIKELY in type registration.
7030 Avoid type check in _ref/_unref since that is also
7033 2006-06-12 Wim Taymans <wim@fluendo.com>
7035 * gst/gsterror.c: (gst_g_error_get_type):
7036 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7037 (gst_static_pad_template_get_type):
7038 * gst/gsttaglist.c: (gst_tag_list_get_type):
7039 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7040 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7041 * gst/gsturi.c: (gst_uri_handler_get_type):
7042 * gst/gstvalue.c: (gst_date_get_type):
7043 * gst/gstxml.c: (gst_xml_get_type):
7044 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7045 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7046 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7047 Add G_UNLIKELY in type registration.
7049 2006-06-12 Wim Taymans <wim@fluendo.com>
7051 * tools/gst-inspect.c: (print_signal_info):
7052 Properly print enum values.
7054 2006-06-12 Wim Taymans <wim@fluendo.com>
7056 * gst/gstinfo.c: (gst_debug_set_active),
7057 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7059 Add some G_[UN]LIKELY.
7060 Maintain __gst_debug_min to avoid formatting the arguments of
7061 debug messages that will be dropped anyway to avoid a lot of
7062 overhead from the debugging system.
7064 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7068 add missing files containing translatable strings, tell intltool about
7071 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7073 * tests/check/libs/.cvsignore:
7074 add test-binary to ignore list
7076 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7078 * docs/libs/gstreamer-libs-docs.sgml:
7079 reorder (put dp into a chapter) and indent
7081 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7086 === release 0.10.8 ===
7088 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7091 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7093 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7095 * gst/gst.c: (init_post):
7096 move pid declaration to declaration block
7098 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7100 * gst/gst.c: (init_post):
7101 use _exit() instead of exit() in our forked child; this ensures
7102 that none of the registered exit handlers from whatever is using
7103 GStreamer get executed. This fixes gnome-mixer-applet failing
7104 to load, because ORBit would shut down.
7105 Spotted by: Edward Hervey <edward@fluendo.com>
7106 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7109 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7114 === release 0.10.7 ===
7116 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7119 releasing 0.10.7, "Soepeke, ik zie ou"
7121 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7144 * win32/common/config.h:
7147 2006-06-07 Wim Taymans <wim@fluendo.com>
7149 * gst/gstindex.c: (gst_index_gtype_resolver):
7150 * tools/gst-xmlinspect.c: (print_plugin_info):
7151 Fix leak spotted by coverity checker. Fixes #343827
7152 Fix another other leak found by paolo borelli.
7154 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7156 * libs/gst/dataprotocol/dataprotocol.c:
7157 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7158 (gst_dp_version_get_type), (gst_dp_init),
7159 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7160 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7161 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7162 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7163 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7164 (gst_dp_packetizer_free):
7165 * libs/gst/dataprotocol/dataprotocol.h:
7166 API: add a GstDPPacketizer object, and create/free functions
7167 API: add GstDPVersion enum
7168 Add 1.0 event function that uses the string serialization
7169 Serialize more useful buffer flags
7172 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7174 * tests/check/Makefile.am:
7175 * tests/check/gst/gstabi.c:
7176 * tests/check/gst/struct_ppc64.h:
7177 * tests/check/libs/libsabi.c:
7178 * tests/check/libs/struct_ppc64.h:
7179 add ppc64 structure sizes
7181 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7183 * tests/check/Makefile.am:
7184 * tests/check/gst/gstabi.c:
7185 * tests/check/gst/struct_x86_64.h:
7186 * tests/check/libs/libsabi.c:
7187 * tests/check/libs/struct_x86_64.h:
7188 generate and add structure size lists for x86_64
7190 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7192 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7193 * libs/gst/check/gstcheck.h:
7194 factor out the method from tests that checks size of structures,
7195 and add code to generate the header containing these sizes
7196 * tests/check/gst/gstabi.c: (GST_START_TEST):
7197 * tests/check/gst/struct_i386.h:
7198 * tests/check/libs/libsabi.c: (GST_START_TEST):
7199 * tests/check/libs/struct_i386.h:
7202 2006-06-06 Michael Smith <msmith@fluendo.com>
7205 Don't use c++-style comments, fixes #343929
7207 2006-06-05 Edward Hervey <edward@fluendo.com>
7210 plugin_paths is not used if we build without registry support.
7212 * gst/gstsegment.c: (gst_segment_copy):
7213 _copy() was always returning NULL...
7215 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7217 * libs/gst/dataprotocol/dataprotocol.c:
7218 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7219 (gst_dp_packet_from_event):
7222 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7224 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7225 make sure we unset caps
7227 2006-06-02 Michael Smith <msmith@fluendo.com>
7229 * libs/gst/check/gstcheck.c: (gst_check_init),
7230 (gst_check_chain_func):
7231 * libs/gst/check/gstcheck.h:
7232 Add a cond/mutex to the check support lib, signal this whenever we
7233 add to the buffers list. This will allow tests to not busy-wait on
7236 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7238 * libs/gst/dataprotocol/dataprotocol.c:
7239 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7240 (gst_dp_packet_from_event):
7241 factor out some common header init code
7243 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7245 * docs/libs/gstreamer-libs-sections.txt:
7246 * docs/libs/tmpl/gstdataprotocol.sgml:
7247 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7248 * libs/gst/dataprotocol/dataprotocol.h:
7249 API: make gst_dp_crc() public
7251 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7253 * plugins/indexers/gstindexers.c: (plugin_init):
7254 conditionally register fileindexer (fixes #343598)
7256 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7258 * gst/gsttagsetter.h:
7259 Can't cast ifaces to a class
7261 * libs/gst/net/gstnetclientclock.h:
7262 * libs/gst/net/gstnettimeprovider.h:
7263 * plugins/elements/gstfakesink.h:
7264 * plugins/elements/gstfakesrc.h:
7265 * plugins/elements/gstfdsink.h:
7266 * plugins/elements/gstfdsrc.h:
7267 * plugins/elements/gstfilesink.h:
7268 * plugins/elements/gstfilesrc.h:
7269 * plugins/elements/gstidentity.h:
7270 * plugins/elements/gstqueue.h:
7271 * plugins/elements/gsttee.h:
7272 * plugins/indexers/gstfileindex.c:
7273 * plugins/indexers/gstmemindex.c:
7274 * tests/old/examples/plugins/example.h:
7275 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7277 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7279 * libs/gst/dataprotocol/dataprotocol.c:
7280 (gst_dp_header_from_buffer):
7281 make sure we zero the whole ABI-compatible area
7283 2006-06-01 Wim Taymans <wim@fluendo.com>
7285 Patch by: Alessandro Decina <alessandro at nnva dot org>
7287 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7288 Make sure the EOS flag is cleared from pads after a flush
7289 or stop. Fixes #343538.
7291 * tests/check/libs/collectpads.c: (GST_START_TEST),
7292 (gst_collect_pads_suite):
7293 Added test for collectpads reusage after EOS.
7295 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7298 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7299 * win32/common/libgstbase.def:
7300 export gst_collect_pads_set_flushing
7301 * win32/common/libgstreamer.def:
7302 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7303 gst_value_fraction_multiply
7304 * win32/vs6/gst_inspect.dsp:
7305 add a link to intl.lib
7307 2006-05-30 Wim Taymans <wim@fluendo.com>
7309 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7310 (gst_collect_pads_chain):
7311 Handle the case where a pad is removed from the collection
7312 that could cause the other pads to become collectable.
7314 2006-05-30 Wim Taymans <wim@fluendo.com>
7317 Clarify the use of _release_request_pad() and
7318 _get_request_pad() a bit better.
7320 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7321 (gst_adapter_take_buffer):
7322 Fix some doc and comment typos.
7324 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7326 * docs/gst/gstreamer-sections.txt:
7327 * docs/libs/gstreamer-libs-sections.txt:
7328 add declared symbols
7330 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7332 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7333 Add debug that can be enabled using a #define at the top of the file,
7334 for dumping stats about how late/early we were when waking up from
7335 waiting on the clock.
7337 2006-05-30 Wim Taymans <wim@fluendo.com>
7339 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7340 When rebuilding the pad list, don't leak the previous list.
7342 2006-05-30 Wim Taymans <wim@fluendo.com>
7344 Patch by: Lutz Mueller <lutz at topfrose dot de>
7346 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7347 (gst_base_src_get_query_types), (gst_base_src_update_length):
7348 Publish supported query types.
7349 Update last_stop field in get_range mode so the position
7350 query works. Fixes #342321.
7352 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7354 * docs/gst/gstreamer-sections.txt:
7355 * gst/gsttaglist.c: (_gst_tag_initialize):
7357 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7359 2006-05-30 Wim Taymans <wim@fluendo.com>
7361 Patch by: Alessandro Decina <alessandro at nnva dot org>
7363 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7364 Unlock mutex when removing an unknown pad.
7367 * tests/check/Makefile.am:
7368 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7369 (push_event), (setup), (teardown), (GST_START_TEST),
7370 (gst_collect_pads_suite), (main):
7371 Added collecpads check, disabled for now as check crashes for
7374 2006-05-29 Wim Taymans <wim@fluendo.com>
7376 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7377 Don't leak pads lists.
7379 2006-05-29 Wim Taymans <wim@fluendo.com>
7381 * docs/libs/gstreamer-libs-sections.txt:
7382 * libs/gst/base/gstcollectpads.c:
7383 (gst_collect_pads_set_flushing_unlocked),
7384 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7385 (gst_collect_pads_stop):
7386 * libs/gst/base/gstcollectpads.h:
7387 API: gst_collect_pads_set_flushing()
7388 Added api to set the pads to flushing, useful for seeking
7389 code in elements using collectpads.
7390 Clear segment when receiving a flush.
7392 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
7394 * gst/gst.c: (add_path_func), (init_post):
7395 Don't scan registry paths passed via --gst-plugin-path immediately
7396 (will crash, because absolutely nothing is set up and no types are
7397 registered etc.); do this later in init_post(). Fixes #343057.
7399 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
7401 * gst/gst.c: (init_post):
7402 if we have fork, fork while reading/rebuilding the registry
7403 so the parent doesn't take the hit of having all plugins loaded
7404 in memory. Fixes #342777.
7406 Check if we have fork()
7407 * win32/common/config.h.in:
7410 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7412 * plugins/elements/gstelements.c:
7413 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7414 (gst_file_src_init), (gst_file_src_set_property),
7415 (gst_file_src_get_property), (gst_file_src_start):
7416 * plugins/elements/gstfilesrc.h:
7417 API: GstFileSrc::use-mmap
7419 Add a use-mmap property to enable easier testing of all code paths.
7420 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7421 in the absence of gnomevfssrc. (Closes #340501)
7423 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7425 * tools/gst-inspect.c:
7426 Add missing include, removes warning of ngettext not being defined on
7429 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7431 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7432 Handle NULL input and output pointers silently as a failed conversion,
7433 rather than g_warnings.
7435 2006-05-25 Wim Taymans <wim@fluendo.com>
7437 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7438 Initialize variable before using. Fixes #342820.
7440 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
7442 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7443 Fix off-by-one bug that would only allow peeks of N-1 bytes
7444 from the start even if the buffer to typefind on contains
7445 in fact N bytes of data (makes vorbis typefinding from a
7446 vorbis identification header buffer work).
7448 * tests/check/Makefile.am:
7449 * tests/check/libs/.cvsignore:
7450 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7451 (gst_typefindhelper_suite), (main), (foobar_typefind),
7453 Add very basic unit test for gst_type_find_helper_for_buffer()
7454 that checks for the problem fixed above.
7456 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
7458 * tools/gst-inspect.c: (print_interfaces),
7459 (print_element_properties_info), (print_element_list), (main):
7460 add more translatable strings
7462 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
7464 Patch by: Julien Moutte <julien at moutte net>
7466 * docs/gst/gstreamer-sections.txt:
7467 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7469 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7470 (gst_fake_sink_preroll):
7471 * plugins/elements/gstfakesink.h:
7472 API: Add new GstFakeSink::preroll-handoff signal (#337100).
7474 2006-05-23 Wim Taymans <wim@fluendo.com>
7476 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7478 Added _CUSTOM error and success GstFlowReturn that can be
7479 used be elements internally.
7480 Added macro to check for SUCCESS flowreturns.
7481 API: GST_FLOW_CUSTOM_SUCCESS
7482 API: GST_FLOW_CUSTOM_ERROR
7483 API: GST_FLOW_IS_SUCCESS
7485 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7486 Added check for GstFlowReturn sanity.
7488 2006-05-23 Wim Taymans <wim@fluendo.com>
7490 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7493 (gst_collect_pads_event):
7494 clear/reset segment info in FLUSH_STOP.
7497 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7500 (gst_collect_pads_check_collected):
7501 Flush queued buffer on _stop(), fixes playing again (#342454)
7503 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7505 * tests/check/gst/gststructure.c: (GST_START_TEST),
7506 (gst_structure_suite):
7507 add a test for a complete structure
7509 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7511 * docs/faq/developing.xml:
7513 * docs/faq/troubleshooting.xml:
7514 * docs/faq/using.xml:
7515 Some minor FAQ updates that won't change the fact that
7516 our FAQ is badly structured, full of information hardly
7517 anyone new to GStreamer needs to know and lacking lots
7518 of information people constantly ask for.
7520 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7522 * gst/gstpad.c: (gst_pad_set_caps):
7523 Short-circuit gst_pad_set_caps if setting the existing
7524 caps pointer again, and avoid printing debug and
7525 reffing/unreffing the caps.
7527 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7528 There's actually no need to set the caps before pushing -
7529 the acceptcaps method will handle it anyway.
7531 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7533 * docs/gst/gstreamer-sections.txt:
7534 * win32/common/libgstreamer.def:
7535 * gst/gstutils.c: (gst_element_seek_simple):
7537 API: add gst_element_seek_simple() (#342238).
7539 2006-05-18 Edward Hervey <edward@fluendo.com>
7541 * gst/gsttypefind.c: (gst_type_find_get_type):
7542 * gst/gsttypefind.h:
7543 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7544 registered for GstTypeFind pointers. This allows wrapping the structure
7545 in bindings (i.e. gst-python).
7547 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7549 * gst/gsttagsetter.c:
7550 Docs additions and fixes (see #339918).
7552 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7554 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7555 The caps intersection algorithm can produce multiple copies of the
7556 caps. Until that is fixed, we need to simplify the result to be
7557 sure whether the allowed caps are fixed or not.
7559 * plugins/elements/gstqueue.c: (gst_queue_init),
7560 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7561 (gst_queue_push_one):
7562 Proxied buffer alloc should not set the caps on the source pad.
7563 When pushing buffers, we always accept the caps change that triggers.
7564 This prevents negotiation errors caused by caps changing mid-stream
7565 and then being refused on our source pad (because upstream is now
7566 refusing those caps).
7568 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7570 * tests/examples/helloworld/helloworld.c: (main):
7571 Must plug audioconvert and audioresample between decoder
7574 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7576 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7577 (load_feature), (load_plugin):
7578 Allow empty strings for some of the plugin fields so we don't
7579 drop valid plugin entries that were written out correctly
7582 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7584 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7585 Use g_remove and g_rename instead of remove and rename that don't
7586 handle utf8 characters. rename was failing for users who had specific
7587 characters in their name then the registry was built at each
7589 * win32/vs6/gst_inspect.dsp:
7590 * win32/vs6/gst_launch.dsp:
7591 * win32/vs6/libgstbase.dsp:
7592 * win32/vs6/libgstcoreelements.dsp:
7593 * win32/vs6/libgstreamer.dsp:
7594 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7595 build of libgstreamer and clean unused libraries in projects link
7598 2006-05-17 Edward Hervey <edward@fluendo.com>
7600 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7601 The queue is not responsible for pushing an EOS when receiving a fatal
7602 flow error. It's up to the real element driving the pipeline to do that.
7604 2006-05-16 Edward Hervey <edward@fluendo.com>
7606 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7607 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7608 buffer returned a fatal error. It should just send an EOS and stop
7610 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7611 when pushing buffers on the queue and will be able to handle the event.
7613 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7615 * docs/manual/basics-bins.xml:
7616 * docs/manual/basics-init.xml:
7617 Fix typos and minor errors in sample code (#341856).
7619 2006-05-16 Wim Taymans <wim@fluendo.com>
7621 * docs/design/part-qos.txt:
7622 Fix indexes in formulas to make more sense.
7624 2006-05-15 Wim Taymans <wim@fluendo.com>
7626 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7627 Don't report POSITION based on clock time if sync is
7630 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7633 Add cast to make compiler happy - refcount variable was a gint
7634 in GstObject but is a guint in GObject and g_atomic_int_get()
7637 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7639 * gst/parse/Makefile.am:
7640 chain commands using &&, which also makes parallel make work
7642 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7644 * docs/gst/gstreamer-sections.txt:
7650 === release 0.10.6 ===
7652 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7655 releasing 0.10.6, "Take the cannoli"
7657 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7659 * tools/gst-launch.c: (print_tag):
7660 Fix use of uninitialized variable in the hypothetical
7661 case that some broken plugin creates a GST_TAG_IMAGE
7662 tag containing a NULL buffer (#341667).
7664 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7666 * tools/gst-launch.c: (print_tag):
7667 Print something more intelligible for image tags when
7668 using the -t switch (#341556).
7670 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7675 define GST_MAJORMINOR so we have it available in win32/common/config.h
7676 Possibly remove it from our Makefile.am files later
7677 * win32/common/config.h:
7678 * win32/common/config.h.in:
7679 added GST_MAJORMINOR
7680 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7681 * win32/common/gstversion.h:
7684 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7687 Update win32 files listing.
7688 * win32/common/gstversion.h:
7689 Add GST_MAJORMINOR definition.
7690 * win32/common/libgstreamer.def:
7691 Add new exported functions.
7693 2006-05-12 Michael Smith <msmith@fluendo.com>
7695 * gst/gstplugin.c: (gst_plugin_load_file):
7696 If an so file has no plugin entry point, unload the module.
7698 2006-05-11 Wim Taymans <wim@fluendo.com>
7700 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7701 (gst_queue_set_property):
7702 Don't forget to signal the _chain or _loop function
7703 when the queue size or thresholds change since that might
7704 cause them to make progres again.
7706 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7708 * gst/gstclock.c: (gst_clock_class_init):
7709 * gst/gstindex.c: (gst_index_class_init):
7710 * gst/gstobject.c: (gst_object_class_init):
7711 * gst/gstpad.c: (gst_pad_class_init):
7712 * gst/gstpipeline.c: (gst_pipeline_class_init):
7713 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7714 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7715 * libs/gst/base/gstbasetransform.c:
7716 (gst_base_transform_class_init):
7717 * libs/gst/net/gstnetclientclock.c:
7718 (gst_net_client_clock_class_init):
7719 * libs/gst/net/gstnettimeprovider.c:
7720 (gst_net_time_provider_class_init):
7721 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7722 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7723 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7724 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7725 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7726 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7727 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7728 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7729 * plugins/elements/gsttee.c: (gst_tee_class_init):
7730 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7731 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7732 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7734 2006-05-11 Wim Taymans <wim@fluendo.com>
7736 * gst/gstbuffer.c: (_gst_buffer_initialize):
7737 Register subbufer along with the buffer type so that
7738 it does not accidentally gets registered from N
7739 different streaming threads in a non threadsafe way.
7741 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7746 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7747 gst_event_ref() and gst_message_ref() functions again
7748 (ugly hack, please do fix if there's a better way besides
7749 overrides.txt, which doesn't seem to work).
7751 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7753 * libs/gst/check/gstcheck.h:
7754 add an assert for setting state to avoid lots of repetitive code
7757 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7759 * gst/gstvalue.c: (gst_value_serialize_flags):
7760 fix a leak if no flags are set
7761 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7764 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7766 * docs/manual/basics-pads.xml:
7767 Expand a bit on caps and filtered links and update
7768 examples that were still using the no longer existing
7769 gst_pad_link_filtered() (#338206).
7771 2006-05-10 Wim Taymans <wim@fluendo.com>
7773 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7774 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7775 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7776 (gst_collect_pads_stop):
7777 * libs/gst/base/gstcollectpads.h:
7778 No need to call _stop in _finalize.
7779 Iterate the main pad list in _finalize.
7780 Added some more debug.
7781 Free lists and data in the right order.
7782 Also free data whem doing _remove_pad when stopped for
7783 backward compatibility protect ::started with PAD_LOCK as
7786 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7788 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7789 (gst_structure_parse_value):
7791 rename a method so that it actually says what it does better
7793 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7795 * gst/gstevent.c: (_gst_event_initialize):
7796 * gst/gstformat.c: (_gst_format_initialize):
7797 make sure some essential types used by events are registered
7798 as part of gst_init()
7799 * gst/gstvalue.c: (gst_value_serialize_flags):
7800 if no flags are set, serialize them to a value that represents NONE
7801 so that deserializing them works
7802 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7803 add tests for serialization and deserialization of flags
7805 2006-05-10 Wim Taymans <wim@fluendo.com>
7807 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7808 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7809 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7810 (gst_collect_pads_event), (gst_collect_pads_chain):
7813 Catch and return errors from the collect function
7814 Refuse data on eos pads.
7816 2006-05-10 Edward Hervey <edward@fluendo.com>
7818 * gst/gstinterface.h:
7819 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7820 GInterface type checking.
7821 They were previously using non-defined macros.
7823 2006-05-09 Wim Taymans <wim@fluendo.com>
7825 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7826 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7827 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7828 (gst_collect_pads_start), (gst_collect_pads_stop),
7829 (gst_collect_pads_peek), (gst_collect_pads_pop),
7830 (gst_collect_pads_available), (gst_collect_pads_read),
7831 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7832 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7833 (gst_collect_pads_chain):
7834 * libs/gst/base/gstcollectpads.h:
7835 Clean up the mess that is collectpads, add comments and
7836 FIXMEs where needed.
7837 Maintain a separate pad list so we can add pads while
7838 collecting the other ones. For this we need a new separate
7840 Fix memory leak in finalize.
7841 Refactor some weird code to set/unset pad flushing flags, mark
7843 Don't crash in _available, _read, _flush when we're EOS.
7845 * tests/check/libs/.cvsignore:
7846 Ignore adapter check binary.
7848 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7850 * gst/gstindex.c: (gst_index_resolver_get_type):
7851 * plugins/elements/gstfakesink.c:
7852 (gst_fake_sink_state_error_get_type):
7853 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7854 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7855 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7856 Const-ify GEnumValue arrays.
7858 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7860 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7861 Add test case for flags + gst_buffer_make_metadata_writable().
7863 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7865 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7866 gst_buffer_make_metadata_writable() should maintain the
7867 buffer flags (those that make sense at least) (see #340859).
7869 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7871 * tools/gst-inspect.c:
7872 * tools/gst-launch.c:
7873 * tools/gst-typefind.c:
7874 * tools/gst-xmlinspect.c:
7876 Fix up includes: need to include stdlib.h in tools.h for exit().
7878 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7880 * gst/gsttaglist.c: (_gst_tag_initialize):
7882 API: add GST_TAG_IMAGE tag (#340721).
7884 2006-05-08 Wim Taymans <wim@fluendo.com>
7887 Added some docs for the segment query.
7889 2006-05-08 Wim Taymans <wim@fluendo.com>
7891 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7892 (gst_base_src_loop), (gst_base_src_change_state):
7893 Always push non-flushing serialized events in the streaming
7896 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7898 * gst/gsterror.c: (_gst_stream_errors_init):
7899 Add a missing error string.
7901 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7903 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7904 Add applied_rate to the debug
7906 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7907 Copy applied_rate into the outgoing NEWSEGMENT event
7909 2006-05-08 Wim Taymans <wim@fluendo.com>
7911 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7913 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7914 (gst_base_sink_change_state):
7915 call ::unlock before taking the PREROLL_LOCK so we can safely
7916 handle elements that lock in ::render.
7919 2006-05-08 Edward Hervey <edward@fluendo.com>
7921 * autogen.sh: (CONFIGURE_DEF_OPT):
7922 Darwin's libtoolize is in fact called glibtoolize.
7923 Adding glibtoolize to the list of accepted names for libtoolize.
7925 2006-05-08 Wim Taymans <wim@fluendo.com>
7927 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7928 Unify error handling, don't post an error message
7929 when a push() returns EOS but perform our normal EOS
7930 handling code. Fixes #340772.
7932 2006-05-08 Wim Taymans <wim@fluendo.com>
7934 * docs/design/part-overview.txt:
7935 Make upsteam/downstream concepts more clear.
7936 Give an example of serialized/non-serialized events.
7938 * docs/design/part-events.txt:
7939 * docs/design/part-streams.txt:
7940 Mention applied_rate.
7942 * docs/design/part-trickmodes.txt:
7943 Mention applied rate, flesh out some more use cases.
7945 * gst/gstevent.c: (gst_event_new_new_segment),
7946 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7947 (gst_event_parse_new_segment_full), (gst_event_new_tag),
7948 (gst_event_parse_tag), (gst_event_new_buffer_size),
7949 (gst_event_parse_buffer_size), (gst_event_new_qos),
7950 (gst_event_parse_qos), (gst_event_parse_seek),
7951 (gst_event_new_navigation):
7953 Add applied_rate field to NEWSEGMENT event.
7954 API: gst_event_new_new_segment_full()
7955 API: gst_event_parse_new_segment_full()
7957 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7958 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7959 (gst_segment_to_stream_time), (gst_segment_to_running_time):
7961 Add applied_rate to GstSegment structure.
7962 Make calculation of stream_time and running_time more correct
7963 wrt rate/applied_rate.
7965 API: GstSegment::applied_rate field
7966 API: gst_segment_set_newsegment_full();
7968 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7969 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7970 * libs/gst/base/gstbasetransform.c:
7971 (gst_base_transform_sink_eventfunc),
7972 (gst_base_transform_handle_buffer):
7973 Parse and use applied_rate in the GstSegment field.
7975 * tests/check/gst/gstevent.c: (GST_START_TEST):
7976 Add check for applied_rate field.
7978 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7979 (gstsegments_suite):
7980 Add more checks for various GstSegment operations.
7982 2006-05-08 Wim Taymans <wim@fluendo.com>
7984 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7985 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7986 (gst_base_sink_get_position), (gst_base_sink_change_state):
7987 Store the sync time of the buffer end position separatly in a
7988 new variable eos_rtime so we can properly sync the EOS event.
7990 Fix the docs for gst_base_sink_set_qos_enabled().
7991 Don't set segment start to invalid value when we receive a
7992 non TIME newsegment.
7993 get closer to handling position reporting for negative rates
7996 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7999 Docs about how to print caps for debug purposes.
8001 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8002 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8004 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8007 use full enum names and preprend a '%' in docs strings to make recent
8008 gtk-doc turn that into a link
8010 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8012 * docs/manual/basics-bins.xml:
8013 * docs/manual/basics-bus.xml:
8014 * docs/manual/basics-pads.xml:
8015 Some typo fixes, some additions, some clarifications.
8017 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8019 * tools/gst-inspect.c: (main):
8020 * tools/gst-launch.c: (main):
8021 * tools/gst-run.c: (main):
8022 * tools/gst-typefind.c: (main):
8023 * tools/gst-xmlinspect.c: (main):
8024 Use the string passed to g_option_context_new() for
8025 what it's intended for - the program name is already
8028 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8030 * tools/Makefile.am:
8031 * tools/gst-inspect.c: (main):
8032 * tools/gst-launch.c: (main):
8033 * tools/gst-xmlinspect.c: (main):
8035 Add back --version command line option (#340460).
8037 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8038 Add --version option and use GOption for argument parsing; refactor a
8039 bit; accept directories as arguments and recurse into them; lastly,
8040 print a decent error message when things go wrong.
8042 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8044 * docs/manual/basics-bins.xml:
8045 Don't mention GstThread (#340611)
8046 * docs/manual/basics-elements.xml:
8047 Update link to GObject tutorial (#340607)
8049 2006-05-05 Wim Taymans <wim@fluendo.com>
8052 * gst/gstminiobject.c:
8053 Add note about refcounting and miniobject/buffer writeability
8054 to docs. Fixes #340604
8056 * gst/gstelementfactory.h:
8057 Added some explanation about @klass.
8059 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8061 * docs/manual/intro-motivation.xml:
8062 * docs/manual/manual.xml:
8063 Avoid CORBA & Bonobo references (#340598)
8065 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8067 * docs/manual/basics-bus.xml:
8068 * docs/manual/basics-pads.xml:
8069 Fix up some inaccuracies and omissions (#340609)
8071 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8073 * gst/gstghostpad.c:
8074 Small typo in docs (#340625)
8076 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8078 * gst/parse/Makefile.am:
8079 Make 'make -j' proof (see #340698).
8081 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8084 Require GLib-2.8 here as well.
8086 2006-05-05 Wim Taymans <wim@fluendo.com>
8088 * gst/glib-compat.c:
8089 * gst/gst.c: (init_pre):
8090 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8091 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8092 (gst_object_dispatch_properties_changed):
8094 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8095 * gst/gststructure.c: (gst_structure_set_valist):
8096 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8097 Remove pre glib2.8 compatibility, fixes #340508
8099 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8102 Mention type of tags in doc blurbs.
8104 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8106 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8107 (gst_pad_configure_src), (gst_pad_push):
8108 Restore acceptcaps checking behaviour now that good plugins have
8111 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8113 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8124 * gst/parse/Makefile.am:
8125 * libs/gst/base/gstadapter.c:
8126 * libs/gst/base/gstbasesrc.c:
8127 * libs/gst/base/gstpushsrc.c:
8128 * libs/gst/base/gsttypefindhelper.c:
8129 * plugins/elements/gstfakesrc.c:
8130 * plugins/elements/gstidentity.c:
8131 Make sure gstprivate.h and/or config.h are
8132 always included first, otherwise some of our
8133 defines (like _FILE_OFFSET_BITS) might be
8134 redefined in the system headers. Fixes build
8135 on opensolaris (#340016).
8137 2006-05-04 Wim Taymans <wim@fluendo.com>
8139 * docs/libs/gstreamer-libs-sections.txt:
8140 API: addition: gst_adapter_take_buffer()
8142 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8143 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8144 (gst_adapter_available_fast):
8145 * libs/gst/base/gstadapter.h:
8146 Prepare for optimizing the hell out of this hugely inefficient
8148 Added gst_adapter_take_buffer() so we can at least start thinking
8149 about subbuffering and merging.
8150 Added some comments.
8152 * tests/check/Makefile.am:
8153 * tests/check/libs/adapter.c: (GST_START_TEST),
8154 (gst_adapter_suite), (main):
8155 Added GstAdapter check.
8157 2006-05-04 Wim Taymans <wim@fluendo.com>
8159 * docs/design/part-overview.txt:
8160 Fix some typos, add blurb about buffer flags.
8162 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8164 * docs/libs/gstreamer-libs-sections.txt:
8165 make sure GstBaseTransformClass shows up in the docs
8166 * libs/gst/base/gstbasetransform.c:
8167 * libs/gst/base/gstbasetransform.h:
8168 move docs so gtk-doc picks it up now
8170 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8172 * docs/libs/gstreamer-libs-sections.txt:
8173 add missing symbols to docs
8175 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8177 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8178 back out the newsegment handling change, see #340060 for ongoing
8181 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8183 * tools/gst-run.c: (get_candidates), (main):
8184 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8185 work); fix typo in error message. Fixes #340079.
8187 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8189 * common/Makefile.am:
8191 * docs/faq/Makefile.am:
8192 * docs/gst/Makefile.am:
8193 * docs/libs/Makefile.am:
8194 * docs/manual/Makefile.am:
8195 * docs/plugins/Makefile.am:
8196 * docs/pwg/Makefile.am:
8197 * docs/slides/Makefile.am:
8199 * common/upload.mak:
8200 move upload.mak to common
8202 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8204 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8205 add more asserts on refcounts
8206 do more cleanup at end of tests
8207 fix test leaks showing in FC5
8209 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8211 * plugins/elements/gsttypefindelement.c:
8212 (gst_type_find_element_handle_event):
8213 reverted wrong change and reflowed code to avoid others falling into
8216 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8218 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8219 fix changelog entry about last collectpads change,
8220 add notes about proper fix
8222 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8225 * gst/gstregistry.c: (gst_registry_scan_path_level),
8226 (gst_registry_scan_path):
8227 * gst/gstregistry.h:
8228 only write out registry if it has changed, fixes #338339
8230 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8233 * gst/gstpipeline.c:
8234 * plugins/elements/gstcapsfilter.c:
8235 * plugins/elements/gstfakesink.c:
8236 * plugins/elements/gstfakesrc.c:
8237 * plugins/elements/gstfdsink.c:
8238 * plugins/elements/gstfdsrc.c:
8239 * plugins/elements/gstfilesink.c:
8240 * plugins/elements/gstfilesrc.c:
8241 * plugins/elements/gstidentity.c:
8242 * plugins/elements/gstqueue.c:
8243 * plugins/elements/gsttee.c:
8244 * plugins/elements/gsttypefindelement.c:
8245 (gst_type_find_element_handle_event):
8246 make GstElementDetails const
8248 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8250 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8251 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8252 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8253 more detailed debug and formatting cleanup,
8254 forward newsegments to src-pad (so that e.g. adder not eats them)
8256 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8258 * gst/gstutils.c: (gst_element_link_pads):
8261 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8263 * libs/gst/controller/gstcontroller.c:
8264 (gst_controller_sync_values):
8266 * tests/check/libs/controller.c: (GST_START_TEST),
8267 (gst_controller_suite):
8268 a new test for live value handling
8270 2006-04-28 Wim Taymans <wim@fluendo.com>
8272 * gst/gstutils.c: (push_and_ref):
8273 Added some more docs.
8274 Fix refcount issue whith gst_element_found_tags() helper
8275 function. Fixes #338335
8277 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8278 Added testsuite for gst_element_found_tags().
8280 2006-04-28 Michael Smith <msmith@fluendo.com>
8282 * gst/gstvalue.c: (gst_value_serialize_flags):
8283 Avoid NULL dereference when trying to serialize flags containing
8286 2006-04-28 Michael Smith <msmith@fluendo.com>
8288 * plugins/elements/gsttypefindelement.c:
8289 (gst_type_find_element_handle_event):
8290 If we get EOS before any data is accumulated, don't use
8291 uninitialised local variables.
8293 2006-04-28 Michael Smith <msmith@fluendo.com>
8295 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8296 (gst_dp_event_from_packet):
8297 Fixes in reading/writing events over GDP (not currently used?) -
8298 dereferencing NULL events for unknown/invalid event types, memory
8299 leak, and change g_warning to GST_WARNING.
8301 2006-04-28 Wim Taymans <wim@fluendo.com>
8303 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8304 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8305 (gst_base_sink_get_position), (gst_base_sink_change_state):
8306 When frame dropping is enabled, we should not ignore frames
8308 Update some documentation.
8310 2006-04-28 Wim Taymans <wim@fluendo.com>
8312 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8313 (gst_base_src_send_event), (gst_base_src_change_state):
8314 Documentation updates.
8316 2006-04-28 Wim Taymans <wim@fluendo.com>
8318 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8319 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8320 handle EAGAIN, EINTR and short writes correctly. Also clean
8321 up some error cases, avoid a deadlock on bad file descriptors and
8322 use GST_DEBUG_OBJECT.
8325 2006-04-28 Wim Taymans <wim@fluendo.com>
8327 * gst/gstvalue.c: (gst_value_serialize_buffer),
8328 (gst_value_deserialize_buffer):
8329 Don't try to serialize a GValue with a NULL buffer.
8332 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8333 Added check for serialisation of NULL buffers.
8335 2006-04-28 Wim Taymans <wim@fluendo.com>
8337 * gst/gstminiobject.c: (gst_value_take_mini_object):
8338 Taking a NULL miniobject is valid, fix the case where
8339 we try to unref the NULL miniobject.
8341 2006-04-28 Wim Taymans <wim@fluendo.com>
8343 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8345 * gst/gstbin.c: (gst_bin_handle_message_func):
8347 Don't leak bin refcount when a state recalc is
8348 in progress and we delay another one #339808.
8350 2006-04-28 Wim Taymans <wim@fluendo.com>
8352 * docs/design/part-TODO.txt:
8353 Mention QoS as an ongoing work item.
8355 * docs/design/part-buffering.txt:
8356 New doc about buffering that needs to be fleshed out
8359 * docs/design/part-qos.txt:
8360 More QoS policy for decoders/demuxers/transforms
8362 * docs/design/part-trickmodes.txt:
8365 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8370 === release 0.10.5 ===
8372 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8375 releasing 0.10.5, "Fogo"
8377 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
8379 patch by: Wim Taymans
8381 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8382 (gst_pad_configure_src), (gst_pad_push):
8383 * gst/gstpipeline.c: (gst_pipeline_init):
8384 Fix internal data flow errors. Fixes #338711.
8386 2006-04-12 Wim Taymans <wim@fluendo.com>
8388 * tests/check/gst/gstelement.c: (GST_START_TEST):
8389 Don't leak the factory.
8391 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8394 * win32/common/config.h:
8397 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
8399 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8400 (gst_controller_unset_all):
8401 Free allocated GstTimedValues when freeing list nodes.
8402 Should fix leaks 'make check-valgrind' complains about.
8404 * win32/common/libgstcontroller.def:
8405 Add gst_controller_unset_all.
8407 2006-04-11 Stefan Kost <ensonic@users.sf.net>
8409 * docs/libs/gstreamer-libs-sections.txt:
8410 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8411 (gst_controller_unset_all):
8412 * libs/gst/controller/gstcontroller.h:
8413 API: Added new method gst_controller_unset_all()
8414 fixed gst_controller_unset()
8415 * tests/check/libs/controller.c: (GST_START_TEST),
8416 (gst_controller_suite):
8417 Added two testcases for new and fixed method
8419 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
8421 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8422 MSG_DONTWAIT is not defined on Cygwin, so work
8423 around that (fixes #317048).
8425 2006-04-11 Wim Taymans <wim@fluendo.com>
8427 * gst/gstelementfactory.c: (gst_element_register),
8428 (gst_element_factory_create), (gst_element_factory_make):
8431 Updated docs (Fixes #131079)
8433 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8436 * tests/check/gst/gstelement.c: (GST_START_TEST),
8437 (gst_element_suite):
8438 Added testcase for elementfactory class field.
8440 2006-04-10 Wim Taymans <wim@fluendo.com>
8443 Added some more docs.
8445 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8446 (gst_base_sink_reset_qos):
8447 Calculate more accurate rate values.
8449 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
8451 * gst/gst_private.h:
8452 add a new #ifdef to use __declspec(dllimport) only for
8453 other modules and not for gstreamer core
8454 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8455 use gst_guint64_to_gdouble for conversion
8456 * win32/common/libgstreamer.def:
8457 add new exported functions
8458 * win32/vs6/gst_inspect.dsp:
8459 * win32/vs6/gst_launch.dsp:
8460 * win32/vs6/libgstbase.dsp:
8461 * win32/vs6/libgstcontroller.dsp:
8462 * win32/vs6/libgstcoreelements.dsp:
8463 * win32/vs6/libgstdataprotocol.dsp:
8464 * win32/vs6/libgstnet.dsp:
8465 update project files
8467 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8469 * gst/gstbuffer.c: (gst_subbuffer_class_init):
8470 * gst/gstclock.c: (gst_clock_class_init):
8471 * gst/gstelement.c: (gst_element_class_init):
8472 * gst/gstindex.c: (gst_index_class_init):
8473 * gst/gstindexfactory.c: (gst_index_factory_class_init):
8474 * gst/gstobject.c: (gst_object_class_init),
8475 (gst_signal_object_class_init):
8476 * gst/gstpad.c: (gst_pad_class_init):
8477 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8478 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8479 * gst/gstregistry.c: (gst_registry_class_init):
8480 * gst/gstsystemclock.c: (gst_system_clock_class_init):
8481 * gst/gsttask.c: (gst_task_class_init):
8482 * gst/gstxml.c: (gst_xml_class_init):
8483 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8484 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8485 (gst_base_src_loop):
8486 * libs/gst/controller/gstcontroller.c:/
8487 (_gst_controller_class_init):
8488 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8489 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8490 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8491 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8492 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8493 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8495 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8497 * gst/gstpad.c: (gst_pad_link):
8498 Must set peer pads before calling the link function, otherwise
8499 a task started from a link function might get a flow-not-linked
8500 result when trying to push because the other thread where the
8501 linking happens hasn't had a chance to set the peers yet. This
8502 might happen for example when a queue gets linked to a downstream
8503 element, as queue starts a streaming task when its source pad
8504 gets linked. Happens in real life when playing back flac/musepack
8505 files in playbin (#332390).
8507 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8511 * libs/gst/base/gstadapter.h:
8512 * libs/gst/base/gstbasesink.h:
8513 * libs/gst/base/gstbasesrc.h:
8514 * libs/gst/base/gstbasetransform.h:
8515 * libs/gst/base/gstcollectpads.h:
8516 * libs/gst/base/gstpushsrc.h:
8517 Fix broken GObject macros
8519 2006-04-07 Wim Taymans <wim@fluendo.com>
8521 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8522 Initialize start and stop times, thanks valgrind.
8524 2006-04-07 Wim Taymans <wim@fluendo.com>
8526 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8527 Be a bit nicer to badly behaving upstream elements that expect
8528 us to deal with non TIME segments and timestamps (such as fakesrc
8531 2006-04-07 Wim Taymans <wim@fluendo.com>
8534 Small documentation clarification about the signal watch.
8536 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8537 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8538 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8539 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8540 (gst_base_sink_get_position_last),
8541 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8542 Convert and store timestamps in stream time and running time, the
8543 raw timestamps are not useful, also document this better.
8544 Use different window sizes for good and bad QoS observations so
8545 we react to badness a little quicker.
8546 Keep track of the amount of rendered and dropped buffers.
8547 Send QoS timestamps in running time.
8549 * libs/gst/base/gstbasetransform.c:
8550 (gst_base_transform_sink_eventfunc),
8551 (gst_base_transform_handle_buffer):
8552 Compare QoS timestamps against running time.
8554 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8559 2006-04-06 Michael Smith <msmith@fluendo.com>
8561 * gst/gstpad.c: (gst_pad_set_property):
8562 Use g_value_get_object() instead of g_value_dup_gst_object(),
8563 to avoid double-reffing the pad template (which we then sink,
8564 so this worked previously if (and only if) the pad template
8567 * gst/gstpadtemplate.c: (gst_pad_template_init),
8568 (gst_pad_template_pad_created):
8569 Never return floating references to pad templates, create
8570 them as initially-sunken.
8572 Document an extra function (and make this stop sinking our
8573 pad template, since that is now guaranteed to do nothing,
8574 since we created it sunken).
8576 * gst/gstghostpad.c:
8579 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8581 * gst/gstinfo.c: (__gst_in_valgrind):
8584 * plugins/elements/gsttypefindelement.c:
8585 (gst_type_find_element_chain):
8586 Don't leak buffer caps.
8588 2006-04-06 Michael Smith <msmith@fluendo.com>
8590 * gst/parse/grammar.y:
8591 Fix a leak in parse-launch for any source-or-sink named element
8594 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8595 Unref the pipeline if it exists after we've failed parsing.
8597 2006-04-05 Michael Smith <msmith@fluendo.com>
8599 * gst/gstpipeline.c: (gst_pipeline_init):
8600 When we create a pipeline bus, initially create it in flushing mode.
8601 Fixes leaks in at least one test, and makes a new pipeline work the
8602 same as one that has gone to READY and then back to NULL.
8607 2006-04-05 Michael Smith <msmith@fluendo.com>
8609 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8610 Unref a pad we reffed.
8611 * tests/check/gst/gstutils.c: (GST_START_TEST):
8614 2006-04-05 Michael Smith <msmith@fluendo.com>
8616 * gst/gstquery.c: (gst_query_set_formats),
8617 (gst_query_set_formatsv):
8618 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8620 2006-04-05 Michael Smith <msmith@fluendo.com>
8622 * tests/check/generic/sinks.c: (GST_START_TEST):
8623 Fix a variety of memleaks in sinks check, which are only sometimes
8624 shown by running the tests under valgrind (weird?).
8626 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8628 * docs/version.entities.in:
8629 Fix the substituted entity name after thomas' changes on the
8632 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8634 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8637 2006-04-05 Andy Wingo <wingo@pobox.com>
8639 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8641 * libs/gst/base/gstbasetransform.c
8642 (gst_base_transform_sink_eventfunc): When resetting our segment on
8643 FLUSH_STOP, also update the flag saying we haven't seen a
8646 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8648 Patch by: Paolo Borelli <pborelli at katamail dot com>
8650 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8651 (gst_plugin_check_license):
8652 minor clean-ups: G_DEFINE_TYPE already takes care of the
8653 parent_class stuff, no need to do it twice. Mark array of
8654 license strings as constant. (#337103)
8656 2006-04-04 Michael Smith <msmith@fluendo.com>
8658 * tools/gst-inspect.c: (print_element_list):
8659 Free the right plugin list; fixes a memory leak.
8661 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8663 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8665 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8666 Don't error out on empty buffers (#336945).
8668 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8670 * docs/libs/gstreamer-libs-sections.txt:
8672 * libs/gst/base/gstbasesink.c:
8673 * libs/gst/base/gstbasesink.h:
8674 * libs/gst/base/gstbasesrc.c:
8675 * libs/gst/base/gstbasesrc.h:
8676 Documentation updates. Make BaseSink and BaseSrc docs contain the
8677 class structure so that people can actually see the prototypes for
8678 virtual functions they're supposed to be overriding.
8680 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8682 * plugins/elements/gsttypefindelement.c:
8683 (gst_type_find_element_chain):
8684 More debug info; when skipping typefinding, send cached
8685 events in all cases.
8687 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8690 use new AS_VERSION and AS_NANO macros
8691 * gst/gst-i18n-lib.h:
8694 * gst/gstversion.h.in:
8695 * win32/common/config.h:
8696 * win32/common/config.h.in:
8699 2006-03-31 Michael Smith <msmith@fluendo.com>
8701 * plugins/elements/gsttypefindelement.c:
8702 (gst_type_find_element_chain):
8703 Do not typefind content if the buffers already have caps.
8704 Neccesary for icydemux (#333657), and the right thing to do anyway.
8706 2006-03-30 Wim Taymans <wim@fluendo.com>
8708 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8709 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8710 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8711 (gst_base_sink_record_qos_observation),
8712 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8713 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8714 (gst_base_sink_change_state):
8715 More QoS measurements as described in the design doc.
8716 Get rid of ringbuffer with observations, running average is
8717 more simple and equally good.
8718 Calculates valid proportion now.
8719 Added beginning of flood measurement.
8721 2006-03-29 Wim Taymans <wim@fluendo.com>
8723 * docs/design/part-qos.txt:
8725 Small documentation updates and additions.
8727 2006-03-29 Wim Taymans <wim@fluendo.com>
8729 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8730 (gst_base_src_send_event), (gst_base_src_loop),
8731 (gst_base_src_change_state):
8732 Perform the EOS logic when we reach the segment stop position.
8733 Fix compilation on gcc4.1
8735 2006-03-29 Wim Taymans <wim@fluendo.com>
8737 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8739 * plugins/elements/gstqueue.c: (gst_queue_init),
8740 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8741 (gst_queue_set_property):
8742 * plugins/elements/gstqueue.h:
8743 In queue, when EOS is received, if minimum threshold > max_size -
8744 current_level, there is chance that queue blocks forever in conditional
8745 item del wait. This is because the queue is not emptied completely due
8746 to minimum threshold. Here is another approach. Instead of setting
8747 cur_levels to max in EOS, just zero all minimum threshold levels. This
8748 should make sure that queue gives out all data. When going to READY
8749 (stop) state, just reset the original minimum threshold levels.
8752 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8754 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8755 (gst_type_find_element_handle_event),
8756 (gst_type_find_element_send_cached_events),
8757 (gst_type_find_element_change_state):
8758 * plugins/elements/gsttypefindelement.h:
8759 When typefinding is done in push mode, we should cache
8760 events we receive during typefinding instead of just
8761 dropping them (e.g. newsegment, custom events from
8762 dvdreadsrc etc.) and then send them out once we've
8763 determined the type of the stream (and decodebin
8764 has had a chance to plug in a decoder/demuxer).
8766 2006-03-27 Wim Taymans <wim@fluendo.com>
8768 * docs/design/part-qos.txt:
8771 2006-03-27 Wim Taymans <wim@fluendo.com>
8773 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8775 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8776 (gst_base_src_send_event), (gst_base_src_change_state):
8777 Handle element seek correctly when we are streaming.
8780 2006-03-24 Michael Smith <msmith@fluendo.com>
8782 * docs/faq/gst-uninstalled:
8783 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8784 allow you to correctly run intalled applications built against old
8785 core, using plugins that require updated core (e.g. running
8786 installed totem against a full uninstalled gstreamer stack)
8788 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8790 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8793 2006-03-24 Wim Taymans <wim@fluendo.com>
8795 * docs/gst/gstreamer-sections.txt:
8796 Rearrange the order of the methods so that related methods
8797 are grouped together in sections.
8799 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8802 Little clarification in the docs
8804 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8808 * plugins/elements/gstidentity.c:
8809 * plugins/elements/gstqueue.c:
8810 * plugins/elements/gsttee.c:
8811 * plugins/elements/gsttypefindelement.c:
8812 GST_ELEMENT_DETAILS formatting
8814 2006-03-24 Wim Taymans <wim@fluendo.com>
8816 * libs/gst/base/gstbasesink.h:
8817 Only add fields, not insert or we break ABI.
8819 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8821 * win32/common/libgstbase.def:
8822 * win32/common/libgstreamer.def:
8823 Update, add recently added functions.
8825 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8827 * docs/gst/gstreamer-sections.txt:
8828 * gst/gstutils.c: (gst_pad_query_peer_position),
8829 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8831 API: add some new utility functions:
8832 - gst_pad_query_peer_position()
8833 - gst_pad_query_peer_duration()
8834 - gst_pad_query_peer_convert()
8836 2006-03-23 Wim Taymans <wim@fluendo.com>
8838 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8839 (gst_base_sink_init), (gst_base_sink_finalize),
8840 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8841 (gst_base_sink_set_property), (gst_base_sink_get_property),
8842 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8843 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8844 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8845 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8846 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8847 (gst_base_sink_preroll_object), (gst_base_sink_event),
8848 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8849 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8850 (gst_base_sink_query), (gst_base_sink_change_state):
8851 Decouple max-lateness and the fact that QoS messages are generated
8852 with a new property (qos).
8853 added API: GstBaseSink::async_play()
8854 Add vmethod so subclasses can be notified of ASYNC playing
8856 Collect timestamp start and stop to report better current
8857 position in EOS/PLAYING/PAUSED/READY/NULL.
8858 Refactor QoS/frame dropping and other measurements.
8859 API: GstBaseSrc::qos
8862 * libs/gst/base/gstbasesink.h:
8863 Added Private struct.
8864 API: gst_base_sink_set_qos_enabled()
8865 API: gst_base_sink_is_qos_enabled()
8867 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8869 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8870 If compiling against GLib-2.8 or newer, try to read the
8871 registry file using GMappedFile first before falling back
8872 to fopen() + fread() (#332151).
8874 2006-03-22 Wim Taymans <wim@fluendo.com>
8876 * gst/gstinfo.c: (gst_debug_set_active),
8877 (gst_debug_category_set_threshold):
8878 Disable debugging unless explicitly activated.
8881 2006-03-22 Wim Taymans <wim@fluendo.com>
8883 * gst/gstelement.c: (gst_element_set_locked_state),
8884 (gst_element_dispose):
8885 Cleanup the error case.
8887 * gst/gstobject.c: (gst_object_dispose):
8888 print a critical when some object was disposed with
8889 a parent, also revive the object since it might
8892 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8894 * tools/gst-launch.1.in:
8897 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8900 * tests/check/Makefile.am:
8901 disable some tests when we don't have a registry
8902 * tests/check/gst/gstutils.c: (gst_utils_suite):
8903 don't build the part that needs parsing
8905 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8908 * tests/examples/Makefile.am:
8909 fix --disable-parse build
8911 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8913 * tools/gst-feedback.1.in:
8914 Fix typo: s/feeback/feedback/ (#133494).
8916 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8918 * tools/Makefile.am:
8919 * tools/gst-launch.1.in:
8920 Add FILES section and correct entry about GST_REGISTRY_PATH
8921 environment variable (#133495; #133494).
8923 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8925 * tools/Makefile.am:
8926 * tools/gst-md5sum.1.in:
8927 * tools/gst-md5sum.c:
8928 Remove gst-md5sum and man page (the md5sink element
8929 required was removed ages ago)
8931 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8933 * gst/gststructure.c: (gst_structure_id_set_value):
8934 Make sure that string fields in structures/taglists
8935 contain valid UTF-8 - we don't want to pass rubbish to
8936 applications because of a buggy plugin (cp. #334167).
8938 2006-03-21 Edward Hervey <edward@fluendo.com>
8940 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8941 (gst_bin_handle_message_func):
8942 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8943 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8944 (gst_element_set_bus_func):
8945 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8946 * gst/gstminiobject.c: (gst_value_set_mini_object),
8947 (gst_value_take_mini_object):
8948 * gst/gstpad.c: (gst_pad_set_pad_template):
8949 * gst/gstpipeline.c: (gst_pipeline_dispose),
8950 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8951 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8952 (gst_collect_pads_chain):
8953 * libs/gst/net/gstnettimeprovider.c:
8954 (gst_net_time_provider_set_property):
8955 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8956 It's in fact all issues with gst_*object_replace().
8958 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8960 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
8962 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8963 * pkgconfig/gstreamer-check.pc.in:
8964 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8966 2006-03-21 Edward Hervey <edward@fluendo.com>
8971 gst_[buffer|event|message]_ref() macros are replaced by a static
8972 inline functions because gcc-4.1 will about if the return value
8974 * tests/check/gst/gstevent.c: (event_probe):
8975 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8977 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
8980 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8981 the type' case. (Closes: #335195 for now). In the future, when we
8982 depend on GLib 2.10, we could also intern the type name using
8983 g_intern_static_string()
8985 2006-03-20 Wim Taymans <wim@fluendo.com>
8987 * gst/gstbin.c: (gst_bin_handle_message_func),
8988 (bin_query_max_init), (bin_query_position_fold),
8989 (bin_query_position_done), (gst_bin_query):
8990 Position query should also take max of all streams.
8992 2006-03-20 Wim Taymans <wim@fluendo.com>
8994 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8995 (gst_fake_src_finalize):
8996 Fix leaks in fakesrc.
8998 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8999 Fix leaks in the testcase.
9001 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9003 * gst/gst_private.h:
9004 add win32 specific import decoration(__declspec(dllimport))
9005 for all extern GstDebugCategory * variables
9006 * win32/common/libgstbase.def:
9007 * win32/common/libgstcontroller.def:
9008 * win32/common/libgstreamer.def:
9009 Add some exports, remove empty lines
9010 * win32/common/libgstdataprotocol.def:
9011 * win32/common/libgstdataprotocol.dsp:
9012 * win32/common/libgstnet.def:
9013 * win32/common/libgstnet.dsp:
9014 new project files and exportation files added
9016 2006-03-19 Wim Taymans <wim@fluendo.com>
9018 * tests/check/libs/basesrc.c: (eos_event_counter):
9019 Use proper return value for probe.
9021 2006-03-17 Wim Taymans <wim@fluendo.com>
9023 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9025 Don't leak buffers, caps and pads on negotiation errors.
9027 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9030 * docs/faq/dependencies.xml:
9031 * docs/faq/developing.xml:
9033 * docs/faq/general.xml:
9034 * docs/faq/getting.xml:
9035 * docs/faq/legal.xml:
9036 * docs/faq/troubleshooting.xml:
9037 * docs/faq/using.xml:
9038 Faq review and update.
9040 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9042 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9044 Don't pound the cpu to pieces by checking get_caps when accept_caps
9045 is called with the same caps as the pad already has.
9046 Use GST_DEBUG_OBJECT when outputting caps change information.
9048 2006-03-15 Wim Taymans <wim@fluendo.com>
9050 * gst/gstclock.c: (gst_clock_class_init):
9053 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9058 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9059 (gst_pad_accept_caps), (gst_pad_configure_sink),
9060 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9061 Make the default acceptcaps behaviour be to check the requested
9062 caps against the gst_pad_get_caps output.
9064 Ensure that gst_pad_accept_caps is used to check caps when a pad
9065 doesn't have a setcaps function, so that pads automatically refuse
9066 caps that they don't allow in their pad template. (Fixes #332986)
9068 When a buffer with attached caps is pushed, ensure that the source
9069 pad receives those caps even if the element didn't call
9070 gst_pad_set_caps first.
9072 2006-03-15 Wim Taymans <wim@fluendo.com>
9074 * libs/gst/base/gstadapter.c:
9077 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9079 * win32/common/libgstbase.def:
9080 * win32/common/libgstcontroller.def:
9081 * win32/common/libgstreamer.def:
9082 Add a whole bunch of missing functions (#334434).
9084 2006-03-14 Wim Taymans <wim@fluendo.com>
9086 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9087 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9088 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9089 Better debug info when we receive a segment event.
9090 Reorganize a bit so we can pass the get_times() results around.
9091 Use the segment format when calculating the running time.
9092 Don't do QoS is sync is disabled or we have no clock or the
9093 element does not want us to sync to the clock.
9094 Don't drop buffers if QoS is disabled for now.
9096 2006-03-14 Wim Taymans <wim@fluendo.com>
9098 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9099 Marked the stats property as unimplemented so people don't get
9101 Add debug message when regression goes wrong.
9102 Added some more docs.
9104 2006-03-14 Wim Taymans <wim@fluendo.com>
9106 * gst/gstsegment.c: (gst_segment_to_stream_time):
9107 Return correct return type in case of errors.
9109 2006-03-14 Wim Taymans <wim@fluendo.com>
9111 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9112 Don't segfault on invalid formats.
9114 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9116 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9117 Can't use gst_segment_to_running_time() when the segment
9118 is not in GST_TIME_FORMAT (like with filesink, for example).
9119 Stops flac encoding pipelines from spewing critical warnings
9122 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9124 * gst/gstpipeline.c: (gst_pipeline_class_init):
9125 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9127 * plugins/elements/gsttypefindelement.c:
9128 (gst_type_find_element_handle_event):
9129 Don't try to typefind empty streams.
9131 2006-03-14 Wim Taymans <wim@fluendo.com>
9133 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9134 (gst_base_sink_do_qos):
9135 Separate QoS calculation.
9136 Only drop buffers when lateness is bigger than the
9137 duration of the buffer.
9139 2006-03-13 Wim Taymans <wim@fluendo.com>
9141 * gst/gstpipeline.c: (gst_pipeline_set_property),
9142 (gst_pipeline_get_property), (do_pipeline_seek),
9143 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9144 (gst_pipeline_get_delay):
9145 Don't deadlock when reading properties.
9147 2006-03-13 Wim Taymans <wim@fluendo.com>
9149 * libs/gst/base/gstbasetransform.c:
9150 (gst_base_transform_class_init), (gst_base_transform_init),
9151 (gst_base_transform_sink_event),
9152 (gst_base_transform_sink_eventfunc),
9153 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9154 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9155 (gst_base_transform_set_property),
9156 (gst_base_transform_get_property),
9157 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9158 (gst_base_transform_set_qos_enabled),
9159 (gst_base_transform_is_qos_enabled):
9160 * libs/gst/base/gstbasetransform.h:
9161 Make basetransform virtual method for src events too.
9162 Handle QOS in basetransform.
9163 API: gst_base_transform_update_qos()
9164 API: gst_base_transform_set_qos_enabled()
9165 API: gst_base_transform_is_qos_enabled()
9167 2006-03-13 Wim Taymans <wim@fluendo.com>
9169 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9170 (gst_base_sink_do_sync):
9172 Use QOS debug category.
9174 2006-03-13 Wim Taymans <wim@fluendo.com>
9176 * plugins/elements/gstqueue.c:
9177 Very small doc update.
9179 2006-03-13 Wim Taymans <wim@fluendo.com>
9181 * gst/gst_private.h:
9182 * gst/gstinfo.c: (_gst_debug_init):
9183 Added QOS debug category
9185 2006-03-13 Wim Taymans <wim@fluendo.com>
9187 * docs/gst/gstreamer-sections.txt:
9188 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9190 * gst/gstbus.c: (gst_bus_class_init):
9193 * gst/gstelement.c: (gst_element_set_locked_state):
9195 Documentation updates.
9197 * gst/gstpipeline.c: (gst_pipeline_get_type),
9198 (gst_pipeline_class_init), (gst_pipeline_init),
9199 (gst_pipeline_dispose), (gst_pipeline_set_property),
9200 (gst_pipeline_get_property), (do_pipeline_seek),
9201 (gst_pipeline_send_event), (gst_pipeline_change_state),
9202 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9203 (gst_pipeline_get_delay):
9204 * gst/gstpipeline.h:
9205 Added methods for setting the delay.
9206 API: gst_pipeline_set_delay()
9207 API: gst_pipeline_get_delay()
9208 Add pipeline debug category
9211 Don't reset stream time when seek failed.
9213 2006-03-13 Wim Taymans <wim@fluendo.com>
9215 * docs/design/draft-klass.txt:
9216 * docs/design/part-clocks.txt:
9217 * docs/design/part-events.txt:
9218 * docs/design/part-gstbin.txt:
9219 * docs/design/part-gstpipeline.txt:
9220 * docs/design/part-messages.txt:
9221 * docs/design/part-negotiation.txt:
9222 * docs/design/part-overview.txt:
9223 * docs/design/part-preroll.txt:
9224 * docs/design/part-seeking.txt:
9225 * docs/design/part-states.txt:
9226 * docs/design/part-streams.txt:
9227 Documentation updates.
9229 2006-03-12 Julien MOUTTE <julien@moutte.net>
9231 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9232 us to leak strings...
9234 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9236 * libs/gst/net/gstnettimeprovider.c:
9238 * win32/common/config.h:
9241 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9243 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9246 Don't check for libgnomeui (leftover from old examples
9247 that aren't built or disted any longer) (#334303).
9249 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9251 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9252 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9253 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9254 there's no space left on the device.
9256 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9259 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9260 to cast the input to GstClockTime before comparing with
9261 another GstClockTime value.
9263 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9268 === release 0.10.4 ===
9270 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9273 releasing 0.10.4, "Light"
9275 2006-03-10 Michael Smith <msmith@fluendo.com>
9277 * libs/gst/dataprotocol/dataprotocol.c:
9278 Fix docs for dataprocotol to not get the return types completely
9279 wrong for a few functions.
9281 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9283 * docs/gst/gstreamer-sections.txt:
9284 * gst/gstpipeline.c: (gst_pipeline_class_init),
9285 (gst_pipeline_init), (gst_pipeline_set_property),
9286 (gst_pipeline_get_property), (gst_pipeline_change_state),
9287 (gst_pipeline_set_auto_flush_bus),
9288 (gst_pipeline_get_auto_flush_bus):
9289 * gst/gstpipeline.h:
9290 Add new API: gst_pipeline_set_auto_flush_bus() and
9291 gst_pipeline_get_auto_flush_bus() to disable automatic
9292 flushing of the pipeline's GstBus when going from READY
9293 to NULL state (#332045).
9295 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9297 * docs/gst/gstreamer-sections.txt:
9298 * gst/gsturi.c: (gst_uri_has_protocol):
9300 Add new API: gst_uri_has_protocol() (#333779).
9302 2006-03-09 Wim Taymans <wim@fluendo.com>
9304 * gst/gstclock.c: (gst_clock_entry_new),
9305 (gst_clock_id_compare_func), (gst_clock_id_wait),
9306 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9307 (gst_clock_init), (gst_clock_get_internal_time),
9308 (gst_clock_set_master), (do_linear_regression),
9309 (gst_clock_add_observation), (gst_clock_set_property):
9313 Fix a possible segfault when the window-size is made smaller.
9314 Calculate jitter before performing the clock wait. Ideally
9315 the clock implementation should calculate jitter but we need
9316 API breakage for that.
9318 * gst/gstsystemclock.c: (gst_system_clock_init):
9321 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9322 Remove leftover else
9324 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9325 (gst_systemclock_suite):
9326 Added check to test GST_CLOCK_DIFF.
9328 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9330 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9331 (gst_type_find_helper_get_range):
9332 If we are provided with the size, we should implement
9333 GstTypeFind::get_length, so that typefind functions who
9334 want to can actually peek at the middle of a file.
9336 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9338 * docs/manual/advanced-dataaccess.xml:
9339 Add some very very basic error checking.
9341 * docs/pwg/appendix-checklist.xml:
9342 Some updates to the list of things to check when writing an element.
9344 2006-03-08 Wim Taymans <wim@fluendo.com>
9346 * docs/design/part-element-transform.txt:
9347 Added some docs about the design of tranform elements.
9349 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9350 (gst_base_src_loop), (gst_base_src_change_state):
9351 Mark buffers with the DISCONT flag.
9353 2006-03-08 Michael Smith <msmith@fluendo.com>
9355 * gst/gstregistry.h:
9356 * gst/gstregistryxml.c: (gst_registry_save),
9357 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9358 (gst_registry_xml_save_pad_template),
9359 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9360 (gst_registry_xml_write_cache):
9361 Rewrite registry-saving to avoid race conditions and check for
9364 2006-03-08 Wim Taymans <wim@fluendo.com>
9366 * libs/gst/base/gstbasetransform.c:
9367 (gst_base_transform_transform_caps),
9368 (gst_base_transform_transform_size),
9369 (gst_base_transform_prepare_output_buffer),
9370 (gst_base_transform_get_unit_size),
9371 (gst_base_transform_buffer_alloc),
9372 (gst_base_transform_handle_buffer),
9373 (gst_base_transform_change_state):
9374 Cleanups, separate normal flow from errors, add sensible
9376 Don't try to renegotiate when allocating an output buffer.
9377 Also copy DISCONT buffer flag when copying a buffer.
9378 Reset the transform after we finish streaming, not during.
9380 2006-03-08 Wim Taymans <wim@fluendo.com>
9382 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9383 Use last buffer timestamp in qos message.
9385 2006-03-07 Wim Taymans <wim@fluendo.com>
9387 Patch by: Christophe Fergeau
9389 * docs/pwg/advanced-tagging.xml:
9390 * docs/pwg/building-pads.xml:
9393 2006-03-07 Wim Taymans <wim@fluendo.com>
9395 * docs/libs/gstreamer-libs-sections.txt:
9396 Added basesink new methods.
9400 Docs updates. Flesh out the QoS docs.
9402 * libs/gst/base/gstadapter.c:
9403 Small doc clarification about ownership and flushing.
9405 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9406 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9407 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9408 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9409 * libs/gst/base/gstbasesink.h:
9411 Added new methods to allow subclass to control max-lateness
9413 Generate very basic QoS events based on last sync observation.
9414 Updated docs, fix typo, added some QoS blurb.
9416 * libs/gst/base/gstbasesrc.c:
9417 Remove obsolete _get_state() calls from docs.
9419 2006-03-07 Wim Taymans <wim@fluendo.com>
9421 * docs/libs/gstreamer-libs-sections.txt:
9422 * libs/gst/base/gstbasetransform.h:
9423 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9424 Fix docs for GstBaseSrc.
9426 2006-03-07 Wim Taymans <wim@fluendo.com>
9428 * docs/gst/gstreamer-sections.txt:
9431 * libs/gst/base/gstbasetransform.h:
9432 Small documentation fixes.
9434 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9437 Document thread-unsafety of gst_value_register_foo_func()
9438 when used at the same time as gst_value_foo() (#322628).
9440 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9442 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9443 (gst_push_src_check_get_range):
9444 Push sources don't support pull mode by default.
9446 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9448 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9449 (gst_base_src_init), (gst_base_src_pad_check_get_range),
9450 (gst_base_src_default_check_get_range):
9451 * libs/gst/base/gstbasesrc.h:
9452 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9453 provide default implementation, and rename
9454 gst_base_src_check_get_range() to
9455 gst_base_src_pad_check_get_range() for clarity.
9457 2006-03-06 Wim Taymans <wim@fluendo.com>
9459 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9460 Make property overridable.
9462 2006-03-06 Wim Taymans <wim@fluendo.com>
9464 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9465 (gst_base_sink_init), (gst_base_sink_set_property),
9466 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9467 * libs/gst/base/gstbasesink.h:
9468 API addition: Make max-lateness a property.
9470 2006-03-06 Wim Taymans <wim@fluendo.com>
9472 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9473 (gst_base_sink_do_sync), (gst_base_sink_render_object):
9474 Don't ever draw a frame that is >10ms late.
9476 2006-03-06 Michael Smith <msmith@fluendo.com>
9478 * gst/gstmessage.c: (_gst_message_copy):
9479 When copying a message, set the parent_refcount of the enclosed
9480 structure to point at the copy, not the original message.
9482 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9484 Patch by: Christophe Fergeau
9487 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9488 usable in c++ code (#333417)
9490 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9493 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9495 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9497 * libs/gst/base/gstbasetransform.c:
9498 (gst_base_transform_transform_caps):
9499 Make sure caps are writable before passing them to
9502 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9505 Fix some minor docs errors.
9507 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9509 Patch by: Ross Burton <ross at burtonini dot com>
9511 * gst/gsterror.c: (_gst_resource_errors_init):
9513 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9515 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9518 Add a check and output a g_warning when GStreamer is built
9519 against GLib 2.6 but running against 2.8 or higher, and vice
9520 versa. (Closes: #323542)
9522 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9524 * gst/parse/parse.l:
9525 Commit patch for parse_launch syntax from #331255. Removes
9526 support for quoted strings and mimetypes when writing filtered
9527 caps. See the bug report for more details - I'm pretty sure this
9528 obscure feature is not in use by _anyone_ anywhere.
9530 With this simple change, the size of the gstreamer.so here
9531 drops from 2193KB to 1565KB.
9533 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9535 * plugins/elements/gsttypefindelement.h:
9536 * plugins/elements/gsttypefindelement.c:
9537 (gst_type_find_element_src_event), (start_typefinding),
9538 (stop_typefinding), (gst_type_find_element_handle_event),
9539 (gst_type_find_element_chain),
9540 (gst_type_find_element_chain_do_typefinding):
9541 Use gst_type_find_helper_for_buffer() for chain-based
9544 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9546 * plugins/elements/gsttypefindelement.c:
9547 (gst_type_find_element_class_init),
9548 (gst_type_find_element_set_property),
9549 (gst_type_find_element_get_property):
9550 Deprecate "maximum" property (not only was it only taken into
9551 account for typefinding in push-mode anyway, it also was never
9552 actually possible to set it in the first place because the
9553 property was registered with the numeric property ID for the
9554 "minimum" property). Register "maximum" property correctly,
9555 for the sake of future copy'n'pasters. Remove some cruft
9556 from property get/set functions.
9558 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9560 * plugins/elements/gsttypefindelement.c:
9561 (gst_type_find_element_activate):
9562 Use gst_type_find_helper_get_range() here, so we
9563 can honour the "minimum" property and also emit
9564 the signal with the correct probability of the found caps.
9566 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9568 * docs/libs/gstreamer-libs-sections.txt:
9569 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9570 (helper_find_suggest), (gst_type_find_helper_get_range),
9571 (gst_type_find_helper):
9572 * libs/gst/base/gsttypefindhelper.h:
9573 New API: gst_type_find_helper_get_range() (#333042).
9575 2006-03-02 Michael Smith <msmith@fluendo.com>
9577 * gst/gstregistryxml.c: (load_feature):
9578 Asserting on a failure to read part of the registry is Not Cool.
9579 Just log a warning and return NULL (which is already handled)
9581 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9583 * win32/common/libgstbase.def:
9584 added export of gst_type_find_helper_for_buffer
9585 * win32/common/libgstbase.def:
9586 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9587 gst_ghost_pad_get_target
9589 2006-02-28 Wim Taymans <wim@fluendo.com>
9591 * docs/design/draft-klass.txt:
9593 Added Connector to mark elements that are only used to
9594 allow pipeline connections.
9595 Moved Debug to extra feature since most of them are
9596 functionally something else.
9598 2006-02-28 Wim Taymans <wim@fluendo.com>
9600 * docs/design/draft-klass.txt:
9601 Some updates and clarifications.
9603 2006-02-28 Wim Taymans <wim@fluendo.com>
9605 * docs/design/draft-klass.txt:
9606 Proposal for klass field values.
9608 * docs/design/part-streams.txt:
9609 Start of a doc describing stream anatomy.
9611 2006-02-28 Wim Taymans <wim@fluendo.com>
9613 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9614 Help the compiler a bit with type registration.
9615 Use existing forward cod path instead of duplicating it when
9618 * gst/gstbus.c: (gst_bus_get_type):
9619 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9620 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9621 * gst/gstclock.c: (gst_clock_get_type):
9622 * gst/gstelement.c: (gst_element_get_type),
9623 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9624 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9625 * gst/gstminiobject.c: (gst_mini_object_get_type):
9626 * gst/gstpad.c: (gst_pad_get_type):
9627 * gst/gstsegment.c: (gst_segment_get_type):
9628 * gst/gststructure.c: (gst_structure_get_type):
9629 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9630 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9632 Help compiler with type registration.
9634 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9637 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9639 * plugins/elements/gsttypefindelement.c:
9640 (gst_type_find_element_handle_event):
9641 When we get an EOS event and have not found a type yet
9642 (most likely because we had not yet accumulated
9643 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9644 type given the data we have so far. Fixes typefinding
9645 for very short streams again, most notably quicktime
9646 redirections as used on Apple's trailer site (#331701).
9648 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9650 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9651 (gst_type_find_helper):
9652 Try typefinding factories with the highest rank first.
9654 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9656 * docs/libs/gstreamer-libs-docs.sgml:
9657 * docs/libs/gstreamer-libs-sections.txt:
9658 * libs/gst/base/gsttypefindhelper.c:
9659 Add section for typefind helper and add documentation
9660 for the old and the new function.
9662 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9664 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9665 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9666 (gst_type_find_helper_for_buffer):
9667 * libs/gst/base/gsttypefindhelper.h:
9668 New API: gst_type_find_helper_for_buffer() (#332723).
9670 2006-02-27 Michael Smith <msmith@fluendo.com>
9672 Patch by: Loïc Minier
9676 * docs/slides/Makefile.am:
9677 prevent CVS directories getting disted.
9679 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9681 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9682 Use the REFCOUNTING category for caps refcounting.
9684 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9686 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9687 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9689 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9691 * plugins/elements/gsttypefindelement.c:
9692 (gst_type_find_element_activate):
9693 Use gst_pad_check_pull_range() before _activate_pull()
9694 to avoid unnecessary open/close (see #331690).
9696 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9699 Docs enhancement: make it crystal clear what the
9700 gst_pad_add_*_probe() callbacks should look like.
9702 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9704 * libs/gst/base/gstbasesrc.c:
9705 Document how applications can stop recording from
9706 live sources (see #330996).
9708 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9710 * tests/check/Makefile.am:
9711 * tests/check/libs/basesrc.c: (eos_event_counter),
9712 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9713 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9714 (gst_basesrc_suite), (main):
9715 ... and add some tests for the base source EOS stuff.
9717 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9719 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9720 Test case originally showed the problem fixed below,
9721 but was then amended. Add checks back at the place
9722 where they used to be.
9724 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9726 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9727 (gst_base_src_init), (gst_base_src_loop),
9728 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9729 (gst_base_src_change_state):
9730 * libs/gst/base/gstbasesrc.h:
9731 Don't unconditionally send EOS when going from PAUSED to
9732 READY state, esp. make sure we don't send two EOS events
9733 in some cases (e.g. one when reaching EOS and one when
9734 going from PAUSED to READY). Also, we don't want to send
9735 EOS events when operating in pull mode. However, we do
9736 want to send an EOS event when shutting down a live
9737 source explicitly, for example (fixes #330996).
9739 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9741 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9742 Update src->read_position after a seek when not using mmap.
9743 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9745 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9751 Make things work with --disable-parse as they do with
9752 --disable-load-save - the symbols involved disappear, but the
9753 header is still installed and GST_DISABLE_PARSE is included via
9756 2006-02-20 Julien MOUTTE <julien@moutte.net>
9758 * libs/gst/base/gstbasetransform.c:
9759 (gst_base_transform_change_state): Fix a stupid bug. I was
9760 sure I compiled that.
9762 2006-02-20 Julien MOUTTE <julien@moutte.net>
9764 * gst/gstpad.c: (gst_pad_set_blocked_async):
9765 * gst/gstutils.c: (gst_pad_add_data_probe),
9766 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9767 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9768 (gst_pad_remove_buffer_probe): Make those function act on the
9769 ghostpad target when it's a ghostpad. (Closes #331727)
9771 2006-02-20 Julien MOUTTE <julien@moutte.net>
9773 * libs/gst/base/gstbasetransform.c:
9774 (gst_base_transform_change_state): Make basetransform reusable.
9777 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9779 * docs/random/release:
9780 Move the current documentation of how to do a release to the top
9783 * gst/gstbin.c: (gst_bin_class_init),
9784 (gst_bin_handle_message_func):
9785 Allow multiple state-recalculation threads. (Closes #328873)
9787 2006-02-19 Julien MOUTTE <julien@moutte.net>
9789 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
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): GST_DEBUG_PAD_NAME evaluates to
9793 2 strings. You can't use the STR_NULL macro on that.
9795 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9797 * gst/gstpad.c: (gst_pad_set_event_function),
9798 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9799 (gst_pad_set_getcaps_function)
9800 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9801 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9802 So now, we can use --gst-debug-level=5 on Windows
9803 * win32/common/libgstcontroller.def:
9804 Added export of gst_controller_init
9805 * win32/vs6/libgstcontroller.dsp:
9806 Fixed Release post build configuration
9808 2006-02-17 Wim Taymans <wim@fluendo.com>
9810 * tests/check/gst/gstquery.c: (GST_START_TEST):
9811 Added another check.
9813 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9815 * plugins/elements/gsttypefindelement.c: (find_peek):
9816 We can do peeks at non-zero offsets, as long as they
9817 fall within the buffer we have.
9819 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9821 * tests/check/Makefile.am:
9822 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9823 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9824 (parse_suite), (main):
9825 Add testsuite for parse launch syntax
9827 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9829 * plugins/elements/gsttypefindelement.c:
9830 (gst_type_find_element_chain):
9831 When typefinding is unsuccessful in the chain function, don't
9832 error out immediately. Only error out with NO_CAPS_FOUND if
9833 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9834 otherwise simply wait for more data so we can try typefinding
9835 again with more data later. Also, don't attempt to typefind
9836 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9837 this should improve typefinding from network sources where the
9838 size of the first buffer can be somewhat random.
9840 2006-02-14 Wim Taymans <wim@fluendo.com>
9842 * docs/gst/gstreamer-sections.txt:
9843 * gst/gstpadtemplate.c:
9844 * gst/gstpadtemplate.h:
9845 Fix padtemplate docs, fixes #328805.
9847 2006-02-14 Wim Taymans <wim@fluendo.com>
9849 * tools/gst-launch.c: (main):
9850 NO_PREROLL is not an ERROR so don't send confusing messages
9853 2006-02-14 Wim Taymans <wim@fluendo.com>
9855 Patch by: Torsten Schoenfeld
9857 * gst/gstregistry.c: (gst_registry_get_default),
9858 (_gst_registry_cleanup):
9859 Protect default registry with lock and ref/sink it.
9862 2006-02-14 Wim Taymans <wim@fluendo.com>
9865 * gst/gstquery.c: (gst_query_list_add_format),
9866 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9867 (gst_query_parse_formats_nth):
9868 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9871 2006-02-14 Wim Taymans <wim@fluendo.com>
9873 * docs/gst/gstreamer-sections.txt:
9874 Reworked query docs.
9876 * gst/gstquery.c: (gst_query_new_formats),
9877 (gst_query_list_add_format), (gst_query_set_formats),
9878 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9879 (gst_query_parse_formats_nth):
9881 Flesh out formats query, added some new methods.
9882 Fix part of #324398.
9884 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9885 Added query creation tests.
9887 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9889 * gst/gstpad.c: (fixate_value):
9890 Add a default fixation for fraction lists.
9892 2006-02-13 Wim Taymans <wim@fluendo.com>
9894 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9895 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9898 Detect and warn for obvious deadlocks. fixes #320340
9899 Fix error case where lock was not released.
9901 * tests/check/Makefile.am:
9902 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9903 (task_func), (gst_element_suite), (main):
9906 2006-02-13 Wim Taymans <wim@fluendo.com>
9908 * docs/gst/gstreamer-sections.txt:
9910 Add new functions to docs.
9912 2006-02-13 Wim Taymans <wim@fluendo.com>
9914 * docs/design/part-TODO.txt:
9915 Updated TODO list, basesrc supports seeking to non-bytes
9918 * docs/design/part-element-sink.txt:
9921 * gst/gstbin.c: (bin_replace_message),
9922 (gst_bin_handle_message_func):
9923 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9924 * gst/gstevent.c: (gst_event_finalize):
9925 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9926 (gst_pad_send_event):
9927 Use shiny new _TYPE_NAME macros.
9929 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9930 Move debug statement up.
9932 * gst/gstelement.c: (gst_element_set_locked_state):
9935 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
9937 * docs/gst/gstreamer-sections.txt:
9940 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9941 macros (#330906). Also, document the already existing
9942 GST_QUERY_TYPE macro.
9944 2006-02-13 Wim Taymans <wim@fluendo.com>
9946 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9947 (event_probe), (GST_START_TEST):
9948 Only events up to the pipeline EOS are counted, there are
9949 some more when going to NULL currently which we don't care
9952 2006-02-13 Wim Taymans <wim@fluendo.com>
9954 * gst/gstpad.c: (gst_pad_send_event):
9955 Correctly check flushing and emit probes. fixes #330125
9957 2006-02-10 Andy Wingo <wingo@pobox.com>
9959 * gst/gstbus.c (gst_bus_class_init): Declare our private data
9961 (gst_bus_init): Cache the location of the private data in the
9963 (gst_bus_enable_sync_message_emission)
9964 (gst_bus_disable_sync_message_emission): Implement new public
9966 (gst_bus_post): Emit the sync-message signal if the user asked for
9969 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9970 location of the bus-private structure.
9971 (gst_bus_enable_sync_message_emission)
9972 (gst_bus_disable_sync_message_emission): API addition
9974 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
9976 Patch by: Vincent Torri
9978 * docs/pwg/building-boiler.xml:
9979 PWG patch from #326800
9981 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
9985 * docs/design/Makefile.am:
9988 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9993 === release 0.10.3 ===
9995 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9998 releasing 0.10.3, "Like a virgin"
10000 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10003 2nd prerelease of 0.10.3
10004 Bump libtool versioning.
10006 2006-02-07 Andy Wingo <wingo@pobox.com>
10008 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10009 update last_stop if we're in TIME format and the timestamp is
10012 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10013 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10014 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10015 If we get a new newsegment with a different format, adapt
10018 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10019 of 0. Not a problem, really.
10021 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10024 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10029 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10032 project files updated to the default vs7 configuration
10033 * win32/common/libgstbase.def:
10034 * win32/common/libgstreamer.def:
10036 removed empty lines,
10037 sorted all exported symbols alphabetically
10038 * win32/common/dirent.c:
10039 * win32/common/dirent.h:
10040 * win32/common/gchar.h:
10041 use windows line end.
10043 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10045 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10046 Send EOS event when stopping.
10048 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10051 Tell folks what to do if the plugin-foobar.xml file
10052 hasn't been generated for a newly-added plugin.
10054 2006-02-05 Julien MOUTTE <julien@moutte.net>
10056 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10057 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10058 (gst_collect_pads_start), (gst_collect_pads_stop),
10059 (gst_collect_pads_event): Collectpads now holds a reference
10060 to the GstPad that was added. Indeed we don't want to look
10061 at pads that might just go away with no warning...
10063 2006-02-05 Julien MOUTTE <julien@moutte.net>
10065 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10066 (gst_collect_pads_start), (gst_collect_pads_stop),
10067 (gst_collect_pads_event), (gst_collect_pads_chain):
10068 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10069 Mark Nauwelaerts's patch on bug #328491.
10071 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10073 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10075 Add some simple tests for gst_parse_bin_from_description() and
10076 gst_bin_find_unconnected_pad() (#329069).
10078 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10080 * tools/gst-launch.c: (event_loop), (main):
10081 Catch errors during preroll (#320084).
10083 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10085 * plugins/elements/gsttypefindelement.c:
10086 (gst_type_find_element_activate):
10087 Post TYPE_NOT_FOUND error message when typefinding
10088 is unsuccessful in the activate function as well.
10090 2006-02-02 Wim Taymans <wim@fluendo.com>
10092 * docs/design/part-element-sink.txt:
10095 2006-02-02 Wim Taymans <wim@fluendo.com>
10097 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10098 (gst_base_sink_render_object),
10099 (gst_base_sink_queue_object_unlocked):
10100 Only keep track of prerollable items when we are
10102 Before rendering after preroll, always check if we
10104 Added some more debugging.
10106 2006-02-02 Wim Taymans <wim@fluendo.com>
10108 * gst/gstelement.c: (gst_element_continue_state),
10109 (gst_element_set_state_func), (gst_element_change_state):
10110 Fixed #326576, been running this for quite some time with
10111 no regressions at all.
10113 2006-02-02 Wim Taymans <wim@fluendo.com>
10116 Added more suppressions
10118 2006-02-02 Wim Taymans <wim@fluendo.com>
10120 * docs/design/part-element-sink.txt:
10123 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10124 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10125 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10126 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10127 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10128 (gst_base_sink_preroll_object),
10129 (gst_base_sink_queue_object_unlocked),
10130 (gst_base_sink_queue_object), (gst_base_sink_event),
10131 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10132 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10133 (gst_base_sink_get_position), (gst_base_sink_change_state):
10134 * libs/gst/base/gstbasesink.h:
10135 Totally refactored matching the design doc.
10136 Use two segments, one to clip incomming buffers and another to
10138 Handle queueing correctly, bypass the queue when playing.
10139 Make EOS cancelable.
10140 Handle errors correctly when operating in pull based mode.
10142 * tests/check/elements/fakesink.c: (GST_START_TEST),
10144 Added new check for sinks.
10146 2006-02-02 Wim Taymans <wim@fluendo.com>
10148 * gst/gstsegment.c: (gst_segment_clip):
10149 No reason to refuse to clip when start == -1
10151 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10154 * docs/manual/intro-basics.xml:
10155 * docs/manual/intro-preface.xml:
10156 * docs/manual/manual.xml:
10157 * docs/pwg/advanced-dparams.xml:
10158 * docs/pwg/intro-basics.xml:
10159 * docs/pwg/intro-preface.xml:
10160 * docs/pwg/pwg.xml:
10161 describe dparams (controller) for plugins
10162 unify docs a little more
10164 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10166 * docs/gst/gstreamer-sections.txt:
10167 * gst/gstutils.c: (element_find_unconnected_pad),
10168 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10170 Add new API: gst_parse_bin_from_description() and
10171 gst_bin_find_unconnected_pad() (#329069).
10173 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10175 * docs/manual/README:
10176 uncover a nasty detail of the docs build
10178 2006-01-31 Wim Taymans <wim@fluendo.com>
10180 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10181 Don't cache duration messages if we're not going to use or
10184 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10186 * docs/manual/advanced-dparams.xml:
10187 * docs/pwg/advanced-dparams.xml:
10191 * libs/gst/controller/lib.c: (gst_controller_init):
10194 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10196 * gst/gstelement.c: (gst_element_message_full):
10197 also show file/line/func if no additional debug was given
10199 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10201 * win32/vs7/grammar.vcproj:
10202 activate copy of autogenerated files for Release mode
10204 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10206 * win32/common/libgstreamer.def:
10207 export gst_value_compare
10209 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10211 * plugins/elements/Makefile.am:
10212 * plugins/elements/gstelements.c:
10213 * plugins/elements/gstfdsink.c: (_do_init),
10214 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10215 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10216 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10217 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10218 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10219 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10220 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10221 * plugins/elements/gstfdsink.h:
10222 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10224 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10226 * docs/manual/advanced-dparams.xml:
10227 describe controller
10228 * docs/manual/advanced-position.xml:
10229 * docs/manual/basics-init.xml:
10230 * docs/manual/manual.xml:
10231 * docs/manual/titlepage.xml:
10232 * docs/pwg/pwg.xml:
10233 * docs/pwg/titlepage.xml:
10234 cleanup xml (more to come)
10235 * libs/gst/controller/gstcontroller.c:
10238 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10240 * win32/vs6/grammar.dsp:
10241 add autogen of gstmarshal.c,h for Release mode
10243 2006-01-30 Wim Taymans <wim@fluendo.com>
10245 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10246 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10247 (gst_base_sink_handle_object), (gst_base_sink_event),
10248 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10249 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10250 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10251 (gst_base_sink_deactivate), (gst_base_sink_activate),
10252 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10253 (gst_base_sink_query), (gst_base_sink_change_state):
10254 Basesink cleanups, remove some old code.
10255 Handle the case where a subclass can preroll in the render
10256 method (mostly audiosinks).
10257 Handle more events.
10258 Remove some locks around variables that are now protected
10259 with the PREROLL_LOCK (clock_id, flushing, ..).
10260 Optimize position query some more, do correct locking.
10261 Remove old code to push queue in state change, this is not
10262 needed anymore since preroll blocks on all prerollable items
10264 Almost implemented as described in design doc.
10266 2006-01-30 Wim Taymans <wim@fluendo.com>
10268 * tests/check/gst/gstbin.c: (GST_START_TEST):
10269 Wait for refcount to settle down before checking.
10271 2006-01-30 Wim Taymans <wim@fluendo.com>
10273 * docs/design/part-element-sink.txt:
10274 Pseudo code overview of desired sink behaviour regarding
10277 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10278 * win32/vs6/grammar.dsp:
10279 fix some bugs in Release mode for autogenerated files
10281 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10282 * win32/common/libgstbase.def:
10283 * win32/common/libgstreamer.def:
10284 export some new symbols: gst_base_src_set_format,
10285 gst_iterator_next, gst_structure_set_valist
10287 2006-01-29 Julien MOUTTE <julien@moutte.net>
10289 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10290 Set pad functions unconditionally. Fixes #329105.
10292 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10294 add vs8 project files created by Sergey Scobich
10296 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10298 * gst/gstutils.c: (gst_element_unlink_pads):
10299 Don't leak pad references.
10301 * tests/check/elements/fakesink.c: (GST_START_TEST):
10302 * tests/check/generic/sinks.c: (GST_START_TEST):
10303 * tests/check/generic/states.c: (GST_START_TEST):
10304 * tests/check/gst/gstbin.c: (GST_START_TEST):
10305 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10306 * tests/check/gst/gstelement.c: (GST_START_TEST):
10307 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10308 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10309 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10310 Fix a bunch of leaks. Make generic/sinks.c
10311 use a bit less cpu by slowing the buffer rate
10312 between fakesrc and fakesink.
10314 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10316 * gst/gstelement.c: (gst_element_send_event):
10319 * gst/gstiterator.c:
10320 * gst/gstiterator.h:
10321 * gst/gstpad.c: (gst_pad_send_event):
10322 * gst/gststructure.c:
10326 * libs/gst/base/gstadapter.c:
10327 doc fixes, to link to function, just write gst_cool_function(), don't
10330 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10332 * plugins/elements/gsttee.c: (gst_tee_do_push),
10333 (gst_tee_handle_buffer):
10334 Always prefer an actual return value from a src
10335 pad in place of NOT_LINKED. This means we return
10336 WRONG_STATE when all src pads are WRONG_STATE
10337 instead of NOT_LINKED.
10339 Lock when replacing the last message to prevent
10340 racing with the get_property method.
10344 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10346 * tests/check/Makefile.am:
10347 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10349 Add a very simple check that should have caught the memleak I fixed
10350 last night (if not for the slice allocator hiding it)
10352 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10354 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10355 (gst_bin_remove_func), (gst_bin_handle_message_func),
10356 (bin_query_duration_fold), (bin_query_generic_fold):
10357 Clean up references to the clock provider when disposed or when
10358 handling a clock-lost message from it.
10360 Unref sinks when performing a query via gst_iterator_fold, as the
10361 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10363 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10364 (gst_clock_set_master):
10365 Drop our reference to the master clock, if any, when we are disposed.
10367 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10368 Chain up in dispose.
10370 2006-01-26 Wim Taymans <wim@fluendo.com>
10372 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10373 Add some debugging.
10375 2006-01-26 Julien MOUTTE <julien@moutte.net>
10377 * plugins/elements/gsttee.c: (gst_tee_do_push),
10378 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10379 handles pad being NOT_LINKED or in WRONG_STATE.
10381 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10386 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10389 remove obsolete entry
10391 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10393 * docs/gst/gstreamer-sections.txt:
10394 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10395 (gst_bin_iterate_sources), (gst_bin_send_event):
10397 * gst/gstelement.c: (gst_element_send_event):
10399 * gst/gstpad.c: (gst_pad_send_event):
10400 added code for downstream events, reviewed docs in gstevent.c
10402 2006-01-25 Julien MOUTTE <julien@moutte.net>
10404 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10405 We only query position using the clock in the playing state.
10406 Query peer in the other cases.
10407 * win32/common/config.h: Updates.
10409 2006-01-24 Wim Taymans <wim@fluendo.com>
10411 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10412 A clock entry that is scheduled for the exact time of the
10413 clock is still in time.
10415 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10416 (gst_base_sink_do_sync):
10417 Add some more debug info.
10419 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10422 Add new vs7 project files and solution.
10424 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10427 all files removed as they were out-dated.
10429 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10431 * docs/random/release:
10433 * gst/gstbin.c: (gst_bin_init):
10434 * gst/gstbus.c: (gst_bus_new):
10436 * gst/gstpipeline.c: (gst_pipeline_init):
10437 use gst_bus_new(), improve logging, fix docs
10438 * win32/common/config.h:
10439 update for cvs build
10441 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10444 up required version of automake to 1.7
10446 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
10448 * win32/common/libgstreamer.def:
10449 export gst_buffer_is_metadata_writable
10451 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
10453 * docs/gst/gstreamer-sections.txt:
10455 Add gst_event_replace() (#327001)
10457 2006-01-20 Wim Taymans <wim@fluendo.com>
10459 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10460 Make it actually compile too..
10462 2006-01-20 Wim Taymans <wim@fluendo.com>
10465 Clarify behaviour of _is_equal() when passing NULL parameters.
10467 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10468 (gst_pad_set_caps):
10469 Cleanups. Don't unref NULL caps.
10470 When setting the same caps, protect caps of the pad with
10472 Use full functionality of _is_equal() when comparing caps.
10474 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10476 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10477 Don't loop infinitely if there are no buffers to present. Partially
10478 fixes #327197, but collectpads is just broken for reusing elements
10479 to do multiple encodes atm.
10481 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10483 * tools/gst-inspect.c: (print_element_features):
10484 * tools/gst-xmlinspect.c: (main):
10485 URL_HANDLER is not a plugin feature we can search for in
10488 2006-01-19 Edward Hervey <edward@fluendo.com>
10490 * gst/gstelement.c: (gst_element_pads_activate):
10491 When activating, do src pads first, then sink pads.
10492 When de-activating, do sink pads first, then src pads.
10494 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10496 * docs/gst/gstreamer-sections.txt:
10497 Add gst_index_add_associationv to the docs
10499 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10504 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10505 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10506 Do some refactoring. Doesn't actually change functionality,
10507 but makes landing the DRAIN event easier later.
10509 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10511 * docs/pwg/advanced-scheduling.xml:
10512 Update from 0.9.x to 0.10 API and make example a bit
10515 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10517 * docs/gst/gstreamer-sections.txt:
10518 Add gst_buffer_(is|make)_metadata_writable methods.
10520 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10522 * docs/design/part-sparsestreams.txt:
10523 Update sparse streams doc, hopefully for greater clarity
10525 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10527 * docs/design/part-events.txt:
10528 Remove mention of FILLER events.
10531 * docs/design/part-sparsestreams.txt:
10532 Write some things about using NEWSEGMENT to keep sparse streams
10535 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10537 * gst/gstbin.c: (gst_bin_dispose):
10538 Guard gst_object_unref call against a NULL object (dispose
10539 can theoretically be called multiple times).
10541 2006-01-18 Wim Taymans <wim@fluendo.com>
10543 * gst/gstbin.c: (gst_bin_element_set_state):
10544 * gst/gstclock.c: (gst_clock_id_wait):
10545 Added some more debug info.
10547 * libs/gst/base/gstadapter.c:
10550 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10551 (gst_base_sink_do_sync), (gst_base_sink_chain):
10552 Added some comments.
10554 2006-01-18 Wim Taymans <wim@fluendo.com>
10556 * tests/check/Makefile.am:
10557 * tests/check/elements/fakesink.c: (chain_async_buffer),
10558 (chain_async), (chain_async_return), (GST_START_TEST),
10559 (fakesink_suite), (main):
10560 Added fakesink test that checks prerolling and clipping
10563 * tests/check/gst/gstutils.c: (GST_START_TEST):
10564 Make check run faster so that buildbots don't timeout.
10566 2006-01-18 Wim Taymans <wim@fluendo.com>
10568 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10569 (gst_base_sink_do_sync):
10571 When the sink finishes blocking on the preroll buffer, it can
10572 immediatly render it instead of rendering when the next buffer
10575 2006-01-18 Wim Taymans <wim@fluendo.com>
10577 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10578 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10579 (gst_base_sink_chain):
10581 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10582 Don't store _last_stop if the buffer is dropped.
10584 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10586 * plugins/elements/gsttypefindelement.c:
10587 (gst_type_find_element_class_init):
10588 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10589 object method handler that sets the caps on the pad and we want
10590 that to happen before we emit the signal (fixes e.g. feeding a
10591 plain text file to decodebin).
10593 2006-01-18 Christian Schaller <Christian@fluendo.com>
10595 * gst/gstplugin.c: Add MPL and Proprietary as license options
10597 2006-01-18 Andy Wingo <wingo@pobox.com>
10599 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10600 symbol was exported before, it appears this was just an oversight.
10602 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10604 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10605 prototype to gint. OK since this prototype was not in the header.
10607 2006-01-17 Andy Wingo <wingo@pobox.com>
10609 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10610 registry while we remove plugins.
10612 * tools/gst-inspect.c (print_element_info): Don't unref the
10613 factory arg, that should be the responsibility of whatever code
10614 received the ref. Fixes a double-free when called from
10615 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10616 (main): Unref the factory if we have one.
10617 (print_element_list): No change -- relies on the
10618 plugin_feature_list_free to free the list of features.
10620 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10622 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10623 (gst_buffer_make_metadata_writable):
10625 * libs/gst/base/gstbasetransform.c:
10626 (gst_base_transform_prepare_output_buf):
10627 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10628 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10629 Replace gst_buffer_(make|is)_metadata_writable patch now
10630 that the release is out.
10632 2006-01-17 Andy Wingo <wingo@pobox.com>
10634 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10635 in the present tense without reference to versions.
10637 * gst/gstregistry.c (gst_registry_add_plugin)
10638 (gst_registry_remove_plugin, gst_registry_remove_feature)
10639 (gst_registry_find_feature, gst_registry_get_feature_list)
10640 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10641 (gst_registry_lookup, gst_registry_scan_path)
10642 (_gst_registry_remove_cache_plugins)
10643 (gst_registry_get_feature_list_by_plugin): Add argument
10646 === release 0.10.2 ===
10648 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10651 releasing 0.10.2, "If man is five"
10653 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10657 * libs/gst/base/gstbasetransform.c:
10658 (gst_base_transform_prepare_output_buf):
10659 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10660 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10661 Back out patch until after the release.
10663 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10665 * gst/gstminiobject.c:
10666 Spelling fix in docs.
10667 * ChangeLog - remove conflict indicator
10669 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10671 Reviewed By: Andy Wingo
10673 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10674 (gst_buffer_make_metadata_writable):
10676 Add gst_buffer_(is|make)_metadata_writable as analogues of
10677 gst_buffer_(is|make)_writable.
10679 * libs/gst/base/gstbasetransform.c:
10680 (gst_base_transform_prepare_output_buf):
10681 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10682 Use name gst_buffer_(is|make)_metadata_writable functions.
10684 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10685 Test gst_buffer_(is|make)_metadata_writable
10689 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10691 * docs/manual/Makefile.am:
10692 don't do parallel make
10695 * win32/common/config.h.in:
10696 add generations for HOST_CPU and GST_MAJORMINOR
10697 * win32/common/config.h:
10698 commit generated result
10700 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10702 * docs/manual/appendix-integration.xml:
10703 Update GNOME integration section to use gst_init_get_option_group()
10704 instead of the old popt stuff (#322911). Also, GNOME applications
10705 should now use gconf*sink and gconf*src instead of the old gconf
10708 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10711 * docs/gst/gstreamer-docs.sgml:
10712 * docs/gst/gstreamer-sections.txt:
10713 * docs/libs/gstreamer-libs-sections.txt:
10714 add new API entries to the docs
10715 * libs/gst/controller/Makefile.am:
10716 * libs/gst/controller/gstcontroller.c:
10717 * libs/gst/controller/gstcontroller.h:
10718 * libs/gst/controller/gstcontrollerprivate.h:
10719 * libs/gst/controller/gsthelper.c:
10720 * libs/gst/controller/gstinterpolation.c:
10721 move private structs to private header
10723 gstreamer-0.7 -> gstreamer-0.10
10724 * tests/check/libs/struct_i386.h:
10725 remove private structs
10727 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10729 * plugins/indexers/Makefile.am:
10730 Fixes as part of #317048
10732 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10734 * plugins/indexers/Makefile.am:
10735 fix #316086 - compilation when mmap is missing
10737 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10739 * libs/gst/base/gstbasesink.c:
10740 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10741 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10742 * win32/common/config.h:
10743 added some defines GST_MAJORMINOR and HOST_CPU
10744 * win32/common/libgstbase.def:
10745 * win32/common/libgstreamer.def:
10746 added some exported functions.
10748 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10750 * libs/gst/controller/gstcontroller.c:
10751 (gst_controlled_property_set_interpolation_mode),
10752 (gst_controlled_property_new):
10753 * libs/gst/controller/gstcontroller.h:
10754 * libs/gst/controller/gstinterpolation.c:
10755 (interpolate_none_get_string_value_array):
10756 make G_TYPE_STRING controlable
10758 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10761 * tools/gst-feedback.1.in:
10762 * tools/gst-inspect.1.in:
10763 * tools/gst-launch.1.in:
10764 * tools/gst-md5sum.1.in:
10765 * tools/gst-typefind.1.in:
10766 * tools/gst-xmlinspect.1.in:
10767 * tools/gst-xmllaunch.1.in:
10768 cleanup man-pages, remove reference to gst-register, document env-vars
10770 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10772 * gst/gstbuffer.c: (gst_buffer_span):
10773 gst_buffer_span should copy the timestamp of the first buffer
10774 if they were both originally overlapping subbuffers of the
10775 same parent, using the same logic as the 'slow copy' case.
10777 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10779 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10780 Need to awaken ALL the pads when we pop a buffer, otherwise
10781 collectpads only works when there is 2 input streams.
10783 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10785 * docs/random/ensonic/media-device-daemon.txt:
10788 fix doc example, add clarification
10789 * tools/gst-launch.1.in:
10790 add initial info about GST_PLUGIN_PATH, needs more work
10792 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10794 * docs/manual/basics-bins.xml:
10795 * docs/manual/basics-elements.xml:
10796 * docs/manual/intro-basics.xml:
10797 Some more minor docs additions and updates.
10799 2006-01-11 Wim Taymans <wim@fluendo.com>
10801 * docs/manual/basics-bins.xml:
10802 * docs/manual/basics-elements.xml:
10803 Some small fixes as pointed out by Ser-ver on IRC.
10805 2006-01-10 Edward Hervey <edward@fluendo.com>
10807 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10808 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10809 the single-segment mode.
10811 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10813 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10815 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10816 (gst_base_src_perform_seek), (gst_base_src_send_event),
10817 (gst_base_src_set_property), (gst_base_src_get_property),
10818 (gst_base_src_loop), (gst_base_src_start),
10819 (gst_base_src_activate_push):
10820 * libs/gst/base/gstbasesrc.h:
10821 Name (private) union; makes Sun's Forte compiler happy (#324900).
10823 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10826 gst-register is gone.
10828 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10830 * gst/gstvalue.c: (_gst_value_initialize):
10831 make the G_TYPE_DATE instantiation work if debug is disabled
10833 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10835 * gst/gstmessage.c: (gst_message_parse_tag),
10836 (gst_message_parse_error), (gst_message_parse_warning):
10837 Don't crash when return location for error/warning debug
10838 string is NULL; add fact that return locations can be
10839 NULL to docs where appropriate.
10841 2006-01-05 Wim Taymans <wim@fluendo.com>
10843 * gst/gstplugin.c: (gst_plugin_load_file):
10844 Replace strdup by g_strdup.
10846 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10848 * docs/pwg/advanced-types.xml:
10851 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10853 submitted by: Abel Cheung
10857 Added Chinese (traditional) translation
10859 2006-01-04 Wim Taymans <wim@fluendo.com>
10861 * docs/manual/basics-pads.xml:
10862 * docs/plugins/Makefile.am:
10863 * docs/plugins/gstreamer-plugins-docs.sgml:
10864 * docs/plugins/gstreamer-plugins-sections.txt:
10865 * docs/pwg/advanced-clock.xml:
10866 * docs/pwg/advanced-scheduling.xml:
10867 * docs/pwg/advanced-types.xml:
10868 * plugins/elements/gstfdsink.c:
10869 * plugins/elements/gstfdsrc.c:
10870 * plugins/elements/gstfdsrc.h:
10871 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10872 * plugins/elements/gstidentity.h:
10873 * plugins/elements/gstqueue.h:
10874 * plugins/elements/gsttee.c:
10875 * plugins/elements/gsttee.h:
10876 * plugins/elements/gsttypefindelement.c:
10877 (gst_type_find_element_class_init):
10878 * plugins/elements/gsttypefindelement.h:
10879 Small updates to various docs.
10880 Added core plugins to docs.
10882 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10885 add a suppression for liboil's uninitialized variable
10887 2006-01-02 James Livingston <jrl at ids dot org dot au>
10889 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10892 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10893 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10894 compiler switch is being used (#325429).
10896 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10898 * gst/gstbin.c: (gst_bin_query):
10899 Disable duration query caching in bins until it gets
10900 fixed (see #324807).
10902 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10904 * tools/gst-inspect.c: (print_element_properties_info):
10905 Handle properties of POINTER and BOXED type.
10907 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10909 * gst/gst.c: (init_post):
10910 Init tags stuff and some other things before loading
10911 any static plugins (there may be other static plugins
10912 than just the GStreamer ones, and they may want to
10913 register their own tags or formats or whatever, and
10914 preferably without segfaulting).
10916 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10917 Print at least a warning in the debug logs if we drop a
10918 query just because we don't know how to adjust the value
10919 in the particular format.
10921 2005-12-24 David Schleef <ds@schleef.org>
10923 * tools/gstreamer-completion:
10924 Replacement for gst-complete written in sh and sed. Only
10925 completes names of features, but that's 90% of what I want
10926 it for. Properties are not available in registry.xml. (Maybe
10929 === release 0.10.1 ===
10931 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
10934 releasing 0.10.1, "Nollaig chridheil"
10936 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
10938 * docs/faq/cvs.xml:
10939 Add missing quote, should be make ERROR_CFLAGS="".
10941 2005-12-20 Wim Taymans <wim@fluendo.com>
10943 * docs/design/part-trickmodes.txt:
10944 More documentation on trickmodes.
10946 2005-12-20 Edward Hervey <edward@fluendo.com>
10948 * gst/gstcaps.c: (gst_static_caps_get_type):
10950 API addition: GST_TYPE_STATIC_CAPS
10951 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10952 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10953 * gst/gstpadtemplate.h:
10954 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10955 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10958 2005-12-18 Wim Taymans <wim@fluendo.com>
10960 * libs/gst/base/gstadapter.c:
10961 * libs/gst/base/gstadapter.h:
10962 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10963 (gst_base_sink_get_position):
10964 * libs/gst/base/gstbasesink.h:
10965 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10966 (gst_base_src_default_query), (gst_base_src_default_do_seek),
10967 (gst_base_src_do_seek), (gst_base_src_perform_seek),
10968 (gst_base_src_send_event), (gst_base_src_update_length),
10969 (gst_base_src_get_range), (gst_base_src_loop),
10970 (gst_base_src_start):
10971 * libs/gst/base/gstbasesrc.h:
10972 * libs/gst/base/gstbasetransform.h:
10973 * libs/gst/base/gstcollectpads.h:
10974 * libs/gst/base/gstpushsrc.c:
10975 * libs/gst/base/gstpushsrc.h:
10976 * libs/gst/dataprotocol/dataprotocol.c:
10977 * libs/gst/dataprotocol/dataprotocol.h:
10978 * libs/gst/net/gstnetclientclock.h:
10979 * libs/gst/net/gstnettimeprovider.h:
10980 Documentation updates.
10982 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
10984 * docs/manual/basics-helloworld.xml:
10985 Remove superfluous closing bracket in helloworld example.
10987 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
10989 * tools/gst-launch.1.in:
10990 Update gst-launch man page; add a section with useful
10991 environment variables. Fixes #323882.
10993 2005-12-16 Stefan Kost <ensonic@users.sf.net>
10996 * gst/gst_private.h:
10997 change some char* into char[]
10999 2005-12-16 Wim Taymans <wim@fluendo.com>
11001 * gst/gstregistryxml.c: (load_feature):
11003 Don't use g_object_unref on GstObjects so that we avoid
11004 leaks on unsafe glibs.
11006 2005-12-16 Wim Taymans <wim@fluendo.com>
11008 * gst/gstbin.c: (gst_bin_recalc_state):
11011 2005-12-16 Wim Taymans <wim@fluendo.com>
11013 * common/check.mak:
11014 Added make forever target for check.
11016 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11018 * gst/gst.c: (init_post):
11019 make the registry cache file HOST_CPU-dependent
11021 2005-12-16 Andy Wingo <wingo@pobox.com>
11023 * plugins/elements/gstbufferstore.c
11024 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11027 * tests/check/gst/gstobject.c
11028 (test_fake_object_name_threaded_unique): Pay attention to
11029 g_list_sort return value.
11031 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11033 * tools/gst-feedback-m.m:
11034 Update for 0.9/0.10 (fixes #323870).
11036 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11038 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11039 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11041 * tests/check/gst/gstminiobject.c: (my_foo_init),
11042 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11043 (test_value_collection), (gst_mini_object_suite):
11044 Add test to ensure refcounts end up as expected when passing
11045 GstMiniObjects through g_object_get() and g_object_set().
11047 2005-12-14 Julien MOUTTE <julien@moutte.net>
11049 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11050 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11051 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11052 of collectpads. This version removes a lot of races without
11053 touching API/ABI. Yay !
11055 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11057 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11058 Don't allow activation of a srcpad in pull_range if it has no
11060 Change some debug statements to be a little clearer
11062 * plugins/elements/gsttypefindelement.c:
11063 (gst_type_find_handle_src_query):
11064 Check that we have a peer before executing queries thereupon.
11066 * tests/examples/metadata/read-metadata.c: (message_loop):
11067 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11068 immediately return us any available message with 0 timeout.
11070 2005-12-12 Michael Smith <msmith@fluendo.com>
11072 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11073 Don't unref factories after calling them.
11074 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11075 * plugins/elements/gsttypefindelement.c:
11076 (gst_type_find_element_chain):
11077 Free lists of factories after using them. Fixing typefinding memory
11080 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11082 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11083 (gst_plugin_feature_load):
11084 more meaningful debug output
11086 * tests/Makefile.am:
11087 * tests/old/examples/Makefile.am:
11088 make make distcheck happy again
11090 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11092 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11093 Catch the special case where we are operating chain-based,
11094 but the downstream peer pad has no chain function. Emit a
11095 custom error message in this case instead of letting the
11096 core generate one implying that this is some sort of core
11097 bug. It's not, it just means that whatever got plugged
11098 into the pipeline downstream when we announced the type
11099 can only operate pull-based, while our source can only
11100 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11101 Error string has not been marked for translation yet, as
11102 it probably needs some more work first.
11104 (gst_type_find_element_get_best_possibility):
11105 Add helper function to find the best of all available
11106 found possibilities that qualify given the min. threshold.
11108 (gst_type_find_element_handle_event):
11109 Fix the case where we get an EOS while still in TYPEFIND
11110 mode (we want to chose the best of all possible types,
11111 not just the first type that happens to be in our unsorted
11112 list of possible types).
11114 (gst_type_find_element_chain):
11115 Make sure we return GST_FLOW_ERROR when we errored out
11116 in stop_typefinding(); also, don't just find the best of
11117 all found type entries and then use the last examined
11118 type entry, but actually use the best entry.
11120 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11122 * tests/examples/typefind/typefind.c: (type_found):
11123 * tests/examples/xml/runxml.c: (xml_loaded):
11124 More gcc4 fixes and a mem leak fix.
11126 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11128 * tests/examples/xml/createxml.c: (object_saved):
11131 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11133 * tests/Makefile.am:
11134 enable the examples even more
11136 2005-12-12 Andy Wingo <wingo@pobox.com>
11138 * libs/gst/net/gstnettimeprovider.c
11139 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11140 (gst_net_time_provider_set_property)
11141 (gst_net_time_provider_get_property):
11142 API addition: Export "active" as a GObject property.
11143 (gst_net_time_provider_thread): Only respond to time queries if
11144 the time provider is active.
11146 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11147 NetTimeProvider, preserving binary compat.
11149 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11151 * tests/examples/controller/audio-example.c: (main):
11152 * tests/examples/launch/Makefile.am:
11153 convert comments again
11155 2005-12-12 Wim Taymans <wim@fluendo.com>
11157 * libs/gst/base/gstpushsrc.c:
11160 2005-12-12 Wim Taymans <wim@fluendo.com>
11162 * docs/libs/gstreamer-libs-sections.txt:
11163 Added new symbol to docs.
11165 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11166 (gst_base_src_init), (gst_base_src_set_format),
11167 (gst_base_src_default_query), (gst_base_src_query),
11168 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11169 (gst_base_src_perform_seek), (gst_base_src_send_event),
11170 (gst_base_src_default_event), (gst_base_src_event_handler),
11171 (gst_base_src_set_property), (gst_base_src_get_property),
11172 (gst_base_src_wait), (gst_base_src_do_sync),
11173 (gst_base_src_update_length), (gst_base_src_get_range),
11174 (gst_base_src_check_get_range), (gst_base_src_loop),
11175 (gst_base_src_default_negotiate), (gst_base_src_start),
11176 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11177 (gst_base_src_change_state):
11178 * libs/gst/base/gstbasesrc.h:
11179 Implement seeking to other formats than _BYTES.
11180 Implement more seeking methods correctly.
11182 Added query vmethod.
11183 Added do_seek vmethod to make life easier for subclasses
11185 API addition: gst_base_src_set_format()
11187 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11189 * tests/examples/Makefile.am:
11192 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11195 * docs/random/ensonic/media-device-daemon.txt:
11196 * tests/examples/controller/.cvsignore:
11197 * tests/examples/controller/Makefile.am:
11198 * tests/examples/controller/audio-example.c: (main):
11199 * tests/examples/helloworld/.cvsignore:
11200 * tests/examples/helloworld/Makefile.am:
11201 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11202 * tests/examples/launch/.cvsignore:
11203 * tests/examples/launch/Makefile.am:
11204 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11205 * tests/examples/metadata/.cvsignore:
11206 * tests/examples/metadata/Makefile.am:
11207 * tests/examples/metadata/read-metadata.c: (message_loop),
11208 (make_pipeline), (print_tag), (main):
11209 * tests/examples/queue/.cvsignore:
11210 * tests/examples/queue/Makefile.am:
11211 * tests/examples/queue/queue.c: (event_loop), (main):
11212 * tests/examples/typefind/.cvsignore:
11213 * tests/examples/typefind/Makefile.am:
11214 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11216 * tests/examples/xml/.cvsignore:
11217 * tests/examples/xml/Makefile.am:
11218 * tests/examples/xml/createxml.c: (object_saved), (main):
11219 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11220 * tests/old/examples/Makefile.am:
11221 * tests/old/examples/TODO:
11222 * tests/old/examples/controller/.cvsignore:
11223 * tests/old/examples/controller/Makefile.am:
11224 * tests/old/examples/controller/audio-example.c:
11225 * tests/old/examples/helloworld/.cvsignore:
11226 * tests/old/examples/helloworld/Makefile.am:
11227 * tests/old/examples/helloworld/helloworld.c:
11228 * tests/old/examples/launch/.cvsignore:
11229 * tests/old/examples/launch/Makefile.am:
11230 * tests/old/examples/launch/mp3parselaunch.c:
11231 * tests/old/examples/launch/mp3play:
11232 * tests/old/examples/manual/Makefile.am:
11233 * tests/old/examples/metadata/Makefile.am:
11234 * tests/old/examples/metadata/read-metadata.c:
11235 * tests/old/examples/queue/.cvsignore:
11236 * tests/old/examples/queue/Makefile.am:
11237 * tests/old/examples/queue/queue.c:
11238 * tests/old/examples/typefind/.cvsignore:
11239 * tests/old/examples/typefind/Makefile.am:
11240 * tests/old/examples/typefind/typefind.c:
11241 * tests/old/examples/xml/.cvsignore:
11242 * tests/old/examples/xml/Makefile.am:
11243 * tests/old/examples/xml/createxml.c:
11244 * tests/old/examples/xml/runxml.c:
11245 applied some simple fixing to some examples
11246 re-enabled the working examples
11248 2005-12-12 Wim Taymans <wim@fluendo.com>
11250 * gst/gstsegment.c: (gst_segment_init),
11251 (gst_segment_set_last_stop), (gst_segment_set_seek),
11252 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11253 (gst_segment_to_running_time):
11254 Added more documentation.
11255 Make sure the last_pos value is updated properly.
11256 Make sure to_stream_time and to_running_time don't
11257 operate on wrong values.
11259 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11262 2005-12-12 Michael Smith <msmith@fluendo.com>
11264 * plugins/elements/gsttypefindelement.c: (free_entry),
11265 (gst_type_find_element_chain):
11266 Now that we're not leaking factories, make sure we keep references
11267 to them while we need them.
11269 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11271 * tests/check/gst/struct_i386.h:
11272 ifdef out the XML structs
11274 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11276 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11277 floor is not needed, F is always positive; this obviates the
11278 need for adding -lm when building without libxml
11280 2005-12-12 Wim Taymans <wim@fluendo.com>
11282 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11283 Take current playback rate into account when reporting
11286 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11288 * docs/manual/mime-world.fig:
11289 Let's try this again, this time with a file that is
11290 actually in XFig format.
11292 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11294 * docs/manual/mime-world.fig:
11295 Add audioconvert element to diagram so that it
11296 matches the text and the code (fixes #319526).
11298 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11300 * docs/pwg/building-chainfn.xml:
11301 * docs/pwg/building-pads.xml:
11302 * docs/pwg/building-state.xml:
11303 * docs/pwg/other-source.xml:
11304 Update state change stuff for 0.10 (fixes #322969).
11306 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11308 * docs/manual/advanced-dataaccess.xml:
11309 * docs/manual/appendix-checklist.xml:
11310 * docs/manual/appendix-programs.xml:
11311 * docs/manual/basics-pads.xml:
11312 * docs/manual/highlevel-components.xml:
11313 * docs/manual/manual.xml:
11314 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11315 add converters in front of pipelines; remove curly
11316 brackets for threads stuff, they no longer exist; use
11317 GST_TYPE_FRACTION for framerates; update some pieces of
11318 code to 0.10, but there's plenty more to do.
11320 * docs/manual/appendix-porting.xml:
11321 Expand on asynchroneous state changes; s/0.9/0.10/;
11322 mention disappearance of gst_init_get_popt_table()
11325 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11327 * docs/faq/using.xml:
11328 Spider no longer exists, and neither does gst-launch-ext.
11329 Update examples to use decodebin and playbin and put
11330 converters in front of sinks (fixes #323726).
11332 2005-12-09 Michael Smith <msmith@fluendo.com>
11334 * plugins/elements/gsttypefindelement.c: (find_peek),
11335 (gst_type_find_element_chain):
11336 Fix leaking element factories in typefinding.
11337 Fix problem where we forgot about a probable type on non-seekable
11338 files, and thus later mis-typefound it.
11340 2005-12-09 Michael Smith <msmith@fluendo.com>
11342 * common/m4/gst-makecontext.m4:
11343 * common/m4/gst-mcsc.m4:
11345 * win32/common/config.h:
11346 * win32/common/config.h.in:
11347 Remove makecontext stuff; not used in 0.10 and causes problems on
11348 HPUX according to bug #322441
11350 2005-12-07 Wim Taymans <wim@fluendo.com>
11352 * tests/check/Makefile.am:
11353 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11355 * tests/check/libs/struct_i386.h:
11356 Added ABI check for libs
11358 2005-12-07 Wim Taymans <wim@fluendo.com>
11360 * tests/check/Makefile.am:
11361 And add the struct_i386.h to dist.
11363 2005-12-07 Wim Taymans <wim@fluendo.com>
11365 * tests/check/Makefile.am:
11366 * tests/check/gst/.cvsignore:
11367 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11369 * tests/check/gst/struct_i386.h:
11370 Added check for ABI compatibility.
11372 2005-12-07 Wim Taymans <wim@fluendo.com>
11374 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11375 (gst_fake_src_get_times), (gst_fake_src_create):
11376 Fix broken sync option, fixes #323259
11378 2005-12-07 Wim Taymans <wim@fluendo.com>
11383 * gst/gstcaps.c: (gst_caps_is_equal):
11384 Don't assert on NULL <--> X. Fixes #323260
11386 * gst/gstminiobject.c: (gst_mini_object_replace):
11387 If we're doing atomic operations, we might just as well use
11388 the proper way to get an atomic pointer.
11390 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11391 Clean up debugging.
11393 2005-12-07 Michael Smith <msmith@fluendo.com>
11395 * gst/parse/grammar.y:
11396 Remove handling of { } for threads.
11398 2005-12-06 David Schleef <ds@schleef.org>
11400 * libs/gst/base/gstbasetransform.c: speling fix.
11402 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
11404 * docs/libs/tmpl/gstdataprotocol.sgml:
11405 * docs/random/omega/testing/gstobject.c:
11408 * gst/gstelement.c:
11409 * gst/gstelementfactory.c:
11412 * gst/gstghostpad.c:
11414 * gst/gstpadtemplate.c:
11415 * gst/gstregistryxml.c:
11416 * gst/gsttaglist.c:
11417 * gst/gsttagsetter.c:
11418 * gst/gsttypefind.c:
11420 * libs/gst/base/gstbasesrc.c:
11421 * libs/gst/net/gstnetclientclock.c:
11422 * libs/gst/net/gstnettimeprovider.c:
11423 * plugins/elements/gstfakesrc.c:
11424 * plugins/elements/gstfdsrc.c:
11425 * plugins/elements/gstfilesrc.c:
11426 * plugins/elements/gstidentity.c:
11427 * plugins/elements/gstqueue.c:
11428 * plugins/elements/gsttypefindelement.c:
11429 * plugins/indexers/gstfileindex.c:
11430 * plugins/indexers/gstmemindex.c:
11431 * tests/check/gst/gsttag.c:
11432 * tests/old/examples/cutter/cutter.c:
11433 * tests/old/examples/mixer/mixer.c:
11434 * tests/old/examples/xml/runxml.c: (main):
11435 * tests/old/testsuite/caps/normalisation.c:
11436 * tests/old/testsuite/debug/global.c:
11437 * tests/old/testsuite/parse/parse1.c:
11438 * tools/gst-xmlinspect.c:
11439 * win32/common/dirent.c:
11442 === release 0.10.0 ===
11444 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11447 releasing 0.10.0, "Maroilles"
11449 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11451 submitted by: Funda Wang <fundawang@linux.net.cn>
11455 added Chinese (Traditional) translation
11457 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11459 * docs/gst/gstreamer-sections.txt:
11460 * docs/libs/tmpl/gstdataprotocol.sgml:
11461 * docs/random/thomasvs/TODO:
11466 2005-12-05 Andy Wingo <wingo@pobox.com>
11468 patch by: Wim Taymans <wim@fluendo.com>
11470 * libs/gst/base/gstbasetransform.c
11471 (gst_base_transform_prepare_output_buf)
11472 (gst_base_transform_buffer_alloc):
11473 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11474 alloc_buffer_and_set_caps.
11476 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11477 set_caps on the source pad.
11478 (gst_pad_alloc_buffer_and_set_caps): New function, does what
11479 alloc_buffer used to do. Fixes #322874.
11481 * docs/gst/gstreamer-sections.txt:
11482 * docs/design/part-negotiation.txt:
11483 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11486 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11488 patch by: Sebastien Moutte
11491 * win32/common/config.h.in:
11492 * win32/vs6/libgstcontroller.dsp:
11495 2005-12-05 Wim Taymans <wim@fluendo.com>
11497 * gst/gstcaps.c: (gst_caps_is_equal):
11498 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11499 (gst_fake_src_create):
11500 Back out previous code changes, leave doc updates, file bugs
11503 2005-12-05 Wim Taymans <wim@fluendo.com>
11505 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11506 (gst_fake_src_get_times), (gst_fake_src_create):
11507 * plugins/elements/gstfakesrc.h:
11508 Fix broken sync code.
11510 2005-12-05 Wim Taymans <wim@fluendo.com>
11512 * gst/gstcaps.c: (gst_caps_is_equal):
11513 Comparing NULL against !NULL yields different caps, not a
11516 2005-12-05 Wim Taymans <wim@fluendo.com>
11518 * gst/gstpipeline.c:
11519 Fix small typo in docs.
11521 2005-12-05 Andy Wingo <wingo@pobox.com>
11523 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11525 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11526 registries/plugins with a MAJORMINOR one.
11527 (plugin_desc): Rename library from gstcoreleements to
11528 staticelements. Fixes #323222.
11530 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11532 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11533 Change debug category to 'collectpads' from 'collect_pads'
11536 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11538 patch by: Sebastien Moutte
11540 * libs/gst/controller/gstinterpolation.c:
11541 use convert function for uint64/double
11542 * win32/vs6/libgstcontroller.dsp:
11545 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11547 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11548 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11550 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11551 add tests that seem to show that the guint64/gdouble conversions
11554 2005-12-02 Wim Taymans <wim@fluendo.com>
11556 * gst/gstregistry.c: (gst_registry_add_path):
11557 * gst/gstregistry.h:
11558 * gst/gstregistryxml.c:
11561 2005-12-02 Wim Taymans <wim@fluendo.com>
11563 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11564 (gst_util_uint64_scale_int):
11567 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11568 Add debug log line.
11570 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11573 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11576 * win32/common/config.h:
11577 * win32/vs6/gstreamer.dsw:
11578 * win32/vs6/libgstcoreelements.dsp:
11579 * win32/vs6/libgstelements.dsp:
11580 renamed core elements plugin
11582 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11584 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11586 do piece-wise major/minor comparison so 0.9 < 0.10
11587 also allow .exe extensions for tools
11589 2005-12-02 Michael Smith <msmith@fluendo.com>
11592 Escape a % to make gtkdoc happier; bug 322958.
11594 === release 0.9.7 ===
11596 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11599 releasing 0.9.7, "My Dog Has No Nose"
11601 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11603 * common/gst-xmlinspect.py:
11605 * docs/libs/tmpl/gstdataprotocol.sgml:
11606 * docs/random/release:
11625 * win32/common/config.h:
11626 * win32/common/config.h.in:
11627 * win32/vs6/gst_inspect.dsp:
11628 * win32/vs6/gst_launch.dsp:
11629 * win32/vs6/libgstbase.dsp:
11630 * win32/vs6/libgstelements.dsp:
11631 * win32/vs6/libgstreamer.dsp:
11632 * win32/vs7/GStreamer.vcproj:
11633 * win32/vs7/gst-inspect.vcproj:
11634 * win32/vs7/gst-launch.vcproj:
11635 * win32/vs7/libgstbase.vcproj:
11636 bump GST_MAJORMINOR to 0.10
11637 reset libtool version
11639 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11643 Added Bulgarian translation by (Alexander Shopov)
11645 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11647 * tests/check/gst/gstplugin.c:
11650 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11652 * common/gst-xmlinspect.py:
11653 * common/gtk-doc-plugins.mak:
11655 * docs/Makefile.am:
11656 * docs/gst/Makefile.am:
11657 * docs/gst/gstreamer-docs.sgml:
11658 * docs/gst/gstreamer-sections.txt:
11659 * docs/gst/gstreamer.types:
11660 * docs/gst/gstreamer.types.in:
11661 * docs/plugins/Makefile.am:
11662 * docs/plugins/gstreamer-plugins-docs.sgml:
11663 * docs/plugins/gstreamer-plugins-sections.txt:
11664 * docs/plugins/gstreamer-plugins.types:
11665 * docs/plugins/inspect.stamp:
11666 * docs/plugins/inspect/plugin-coreelements.xml:
11667 * docs/plugins/inspect/plugin-coreindexers.xml:
11668 * docs/plugins/scanobj-build.stamp:
11669 * gstreamer.spec.in:
11670 * plugins/elements/Makefile.am:
11671 * plugins/elements/gstelements.c:
11672 * plugins/elements/gstfakesink.c:
11673 * plugins/elements/gstfakesrc.c:
11674 * plugins/elements/gstfilesink.c:
11675 * plugins/elements/gstfilesrc.c:
11676 * plugins/elements/gstqueue.c:
11677 * plugins/indexers/Makefile.am:
11678 * plugins/indexers/gstindexers.c:
11679 document core plugins in a separate document just like all the
11681 rename these plugins to something starting with core
11683 2005-12-01 Andy Wingo <wingo@pobox.com>
11685 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11686 padding here before, but it missed the commit.
11688 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11690 * libs/gst/controller/gstinterpolation.c:
11691 whitespace prices have crashed, we should feel free to use some now
11692 use gst_guint64_to_gdouble
11694 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11696 * libs/gst/controller/gstcontroller.c:
11697 * libs/gst/controller/gsthelper.c:
11698 * libs/gst/controller/gstinterpolation.c:
11699 * libs/gst/controller/lib.c:
11700 wrap config.h include
11702 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11704 * docs/gst/gstreamer-sections.txt:
11707 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11709 * plugins/elements/gstelements.c:
11710 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11711 (gst_fd_sink__class_init), (gst_fd_sink__init),
11712 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11713 (gst_fd_sink__get_property):
11714 * plugins/elements/gstfdsink.h:
11715 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11716 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11717 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11718 (gst_fd_src_unlock), (gst_fd_src_set_property),
11719 (gst_fd_src_get_property), (gst_fd_src_create),
11720 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11721 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11722 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11723 (gst_fd_src_uri_handler_init):
11724 * plugins/elements/gstfdsrc.h:
11725 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11728 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11730 * docs/gst/Makefile.am:
11731 * docs/gst/gstreamer.types.in:
11735 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11741 * gst/gstregistry.h:
11742 * tests/benchmarks/complexity.c:
11743 * tests/benchmarks/mass-elements.c:
11744 * tests/check/Makefile.am:
11745 * tools/Makefile.am:
11746 * tools/gst-inspect.c:
11747 * tools/gst-xmlinspect.c:
11748 various fixes to make
11749 --disable-nls --disable-registry --disable-loadsave
11750 --disable-parse --disable-gst-debug
11751 work and get the core .so down to 360444 bytes after stripping
11753 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11758 * docs/random/thomasvs/TODO:
11759 * tests/Makefile.am:
11763 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11765 * win32/GStreamer.vcproj:
11768 * win32/Makefile.inspect:
11769 * win32/Makefile.launch:
11770 * win32/Makefile.register:
11771 * win32/README.txt:
11772 * win32/gst-inspect.vcproj:
11773 * win32/gst-launch.vcproj:
11774 * win32/gst-register.vcproj:
11775 * win32/gstelements.vcproj:
11776 * win32/gstgetbits.def:
11777 * win32/gstgetbits.vcproj:
11778 * win32/gstreamer-dbg.def:
11779 * win32/gstreamer.def:
11780 * win32/libgstbase.def:
11781 * win32/libgstbase.vcproj:
11782 * win32/link_oldruntime.c:
11786 * win32/msvc71.sln:
11787 move even more stuff, win32/ is nice and clean now
11789 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11791 * libs/gst/control/.cvsignore:
11796 * win32/gstbytestream.def:
11797 * win32/gstbytestream.vcproj:
11798 * win32/gstconfig.h:
11799 * win32/gstenumtypes.c:
11800 * win32/gstenumtypes.h:
11801 * win32/gstoptimalscheduler.vcproj:
11802 * win32/gstversion.h:
11804 * win32/testsuite/bins.vcproj:
11805 * win32/testsuite/bytestream.vcproj:
11806 * win32/testsuite/caps.vcproj:
11807 * win32/testsuite/cleanup.vcproj:
11808 * win32/testsuite/clock.vcproj:
11809 * win32/testsuite/debug.vcproj:
11810 * win32/testsuite/dlopen.vcproj:
11811 * win32/testsuite/dynparams.vcproj:
11812 * win32/testsuite/elements.vcproj:
11813 * win32/testsuite/ghostpads.vcproj:
11814 * win32/testsuite/indexers.vcproj:
11815 * win32/testsuite/negotiation.vcproj:
11816 * win32/testsuite/parse.vcproj:
11817 * win32/testsuite/plugin.vcproj:
11818 * win32/testsuite/refcounting.vcproj:
11819 * win32/testsuite/schedulers.vcproj:
11820 * win32/testsuite/states.vcproj:
11821 * win32/testsuite/tags.vcproj:
11822 * win32/testsuite/threads.vcproj:
11823 remove old win32 stuff that isn't maintained and should be
11826 2005-11-30 Andy Wingo <wingo@pobox.com>
11828 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11829 loading the gst.interfaces python module bork.
11831 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11832 available since GLib 2.2. Fixes #318031.
11834 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11837 * check/.cvsignore:
11838 * check/Makefile.am:
11839 * check/elements/.cvsignore:
11840 * check/elements/fakesrc.c:
11841 * check/elements/fdsrc.c:
11842 * check/elements/identity.c:
11843 * check/generic/.cvsignore:
11844 * check/generic/states.c:
11845 * check/gst-libs/.cvsignore:
11846 * check/gst-libs/controller.c:
11847 * check/gst-libs/gdp.c:
11848 * check/gst/.cvsignore:
11849 * check/gst/capslist.h:
11851 * check/gst/gstbin.c:
11852 * check/gst/gstbuffer.c:
11853 * check/gst/gstbus.c:
11854 * check/gst/gstcaps.c:
11855 * check/gst/gstelement.c:
11856 * check/gst/gstevent.c:
11857 * check/gst/gstghostpad.c:
11858 * check/gst/gstiterator.c:
11859 * check/gst/gstmessage.c:
11860 * check/gst/gstminiobject.c:
11861 * check/gst/gstobject.c:
11862 * check/gst/gstpad.c:
11863 * check/gst/gstpipeline.c:
11864 * check/gst/gstplugin.c:
11865 * check/gst/gstsegment.c:
11866 * check/gst/gststructure.c:
11867 * check/gst/gstsystemclock.c:
11868 * check/gst/gsttag.c:
11869 * check/gst/gstutils.c:
11870 * check/gst/gstvalue.c:
11871 * check/net/.cvsignore:
11872 * check/net/gstnetclientclock.c:
11873 * check/net/gstnettimeprovider.c:
11874 * check/pipelines/.cvsignore:
11875 * check/pipelines/cleanup.c:
11876 * check/pipelines/simple_launch_lines.c:
11877 * check/pipelines/stress.c:
11878 * check/states/.cvsignore:
11879 * check/states/sinks.c:
11881 * examples/Makefile.am:
11882 * examples/appreader/.cvsignore:
11883 * examples/appreader/Makefile.am:
11884 * examples/appreader/appreader.c:
11885 * examples/controller/.cvsignore:
11886 * examples/controller/Makefile.am:
11887 * examples/controller/audio-example.c:
11888 * examples/cutter/.cvsignore:
11889 * examples/cutter/Makefile.am:
11890 * examples/cutter/cutter.c:
11891 * examples/cutter/cutter.h:
11892 * examples/events/Makefile.am:
11893 * examples/events/seek.c:
11894 * examples/helloworld/.cvsignore:
11895 * examples/helloworld/Makefile.am:
11896 * examples/helloworld/helloworld.c:
11897 * examples/helloworld2/.cvsignore:
11898 * examples/helloworld2/Makefile.am:
11899 * examples/helloworld2/helloworld2.c:
11900 * examples/launch/.cvsignore:
11901 * examples/launch/Makefile.am:
11902 * examples/launch/mp3parselaunch.c:
11903 * examples/launch/mp3play:
11904 * examples/manual/.cvsignore:
11905 * examples/manual/Makefile.am:
11906 * examples/manual/extract.pl:
11907 * examples/metadata/Makefile.am:
11908 * examples/metadata/read-metadata.c:
11909 * examples/mixer/.cvsignore:
11910 * examples/mixer/Makefile.am:
11911 * examples/mixer/mixer.c:
11912 * examples/mixer/mixer.h:
11913 * examples/pingpong/.cvsignore:
11914 * examples/pingpong/Makefile.am:
11915 * examples/pingpong/pingpong.c:
11916 * examples/plugins/.cvsignore:
11917 * examples/plugins/Makefile.am:
11918 * examples/plugins/example.c:
11919 * examples/plugins/example.h:
11920 * examples/pwg/.cvsignore:
11921 * examples/pwg/Makefile.am:
11922 * examples/pwg/extract.pl:
11923 * examples/queue/.cvsignore:
11924 * examples/queue/Makefile.am:
11925 * examples/queue/queue.c:
11926 * examples/queue2/.cvsignore:
11927 * examples/queue2/Makefile.am:
11928 * examples/queue2/queue2.c:
11929 * examples/queue3/.cvsignore:
11930 * examples/queue3/Makefile.am:
11931 * examples/queue3/queue3.c:
11932 * examples/queue4/.cvsignore:
11933 * examples/queue4/Makefile.am:
11934 * examples/queue4/queue4.c:
11935 * examples/retag/.cvsignore:
11936 * examples/retag/Makefile.am:
11937 * examples/retag/retag.c:
11938 * examples/retag/transcode.c:
11939 * examples/thread/.cvsignore:
11940 * examples/thread/Makefile.am:
11941 * examples/thread/thread.c:
11942 * examples/typefind/.cvsignore:
11943 * examples/typefind/Makefile.am:
11944 * examples/typefind/typefind.c:
11945 * examples/xml/.cvsignore:
11946 * examples/xml/Makefile.am:
11947 * examples/xml/createxml.c:
11948 * examples/xml/runxml.c:
11949 * tests/Makefile.am:
11950 * tests/check/Makefile.am:
11951 * testsuite/.cvsignore:
11952 * testsuite/Makefile.am:
11954 * testsuite/caps/.cvsignore:
11955 * testsuite/caps/Makefile.am:
11956 * testsuite/caps/app_fixate.c:
11957 * testsuite/caps/audioscale.c:
11958 * testsuite/caps/caps.c:
11959 * testsuite/caps/caps.h:
11960 * testsuite/caps/caps_strings:
11961 * testsuite/caps/compatibility.c:
11962 * testsuite/caps/deserialize.c:
11963 * testsuite/caps/enumcaps.c:
11964 * testsuite/caps/eratosthenes.c:
11965 * testsuite/caps/filtercaps.c:
11966 * testsuite/caps/fixed.c:
11967 * testsuite/caps/fraction-convert.c:
11968 * testsuite/caps/fraction-multiply-and-zero.c:
11969 * testsuite/caps/intersect2.c:
11970 * testsuite/caps/intersection.c:
11971 * testsuite/caps/normalisation.c:
11972 * testsuite/caps/random.c:
11973 * testsuite/caps/renegotiate.c:
11974 * testsuite/caps/sets.c:
11975 * testsuite/caps/simplify.c:
11976 * testsuite/caps/string-conversions.c:
11977 * testsuite/caps/structure.c:
11978 * testsuite/caps/subtract.c:
11979 * testsuite/caps/union.c:
11980 * testsuite/debug/.cvsignore:
11981 * testsuite/debug/Makefile.am:
11982 * testsuite/debug/category.c:
11983 * testsuite/debug/commandline.c:
11984 * testsuite/debug/global.c:
11985 * testsuite/debug/output.c:
11986 * testsuite/debug/printf_extension.c:
11987 * testsuite/dlopen/.cvsignore:
11988 * testsuite/dlopen/Makefile.am:
11989 * testsuite/dlopen/dlopen_gst.c:
11990 * testsuite/dlopen/loadgst.c:
11991 * testsuite/elements/.cvsignore:
11992 * testsuite/elements/Makefile.am:
11993 * testsuite/elements/gst-inspect-check.in:
11994 * testsuite/elements/struct_i386.h:
11995 * testsuite/elements/struct_size.c:
11996 * testsuite/indexers/.cvsignore:
11997 * testsuite/indexers/Makefile.am:
11998 * testsuite/indexers/cache1.c:
11999 * testsuite/indexers/indexdump.c:
12000 * testsuite/parse/.cvsignore:
12001 * testsuite/parse/Makefile.am:
12002 * testsuite/parse/parse1.c:
12003 * testsuite/parse/parse2.c:
12004 * testsuite/plugin/.cvsignore:
12005 * testsuite/plugin/Makefile.am:
12006 * testsuite/plugin/README:
12007 * testsuite/plugin/dynamic.c:
12008 * testsuite/plugin/linked.c:
12009 * testsuite/plugin/loading.c:
12010 * testsuite/plugin/registry.c:
12011 * testsuite/plugin/static.c:
12012 * testsuite/plugin/static2.c:
12013 * testsuite/plugin/testplugin.c:
12014 * testsuite/plugin/testplugin2.c:
12015 * testsuite/plugin/testplugin2_s.c:
12016 * testsuite/plugin/testplugin_s.c:
12017 * testsuite/refcounting/.cvsignore:
12018 * testsuite/refcounting/Makefile.am:
12019 * testsuite/refcounting/bin.c:
12020 * testsuite/refcounting/element.c:
12021 * testsuite/refcounting/element_pad.c:
12022 * testsuite/refcounting/mainloop.c:
12023 * testsuite/refcounting/mem.c:
12024 * testsuite/refcounting/mem.h:
12025 * testsuite/refcounting/object.c:
12026 * testsuite/refcounting/pad.c:
12027 * testsuite/refcounting/sched.c:
12028 * testsuite/refcounting/thread.c:
12029 * testsuite/states/.cvsignore:
12030 * testsuite/states/Makefile.am:
12031 * testsuite/states/bin.c:
12032 * testsuite/states/locked.c:
12033 * testsuite/states/parent.c:
12034 * testsuite/threads/.cvsignore:
12035 * testsuite/threads/159566.c:
12036 * testsuite/threads/159852.c:
12037 * testsuite/threads/Makefile.am:
12038 * testsuite/threads/queue.c:
12039 * testsuite/threads/signals.c:
12040 * testsuite/threads/staticrec.c:
12041 * testsuite/threads/thread.c:
12042 * testsuite/threads/threadb.c:
12043 * testsuite/threads/threadc.c:
12044 * testsuite/threads/threadd.c:
12045 * testsuite/threads/threade.c:
12046 * testsuite/threads/threadf.c:
12047 * testsuite/threads/threadg.c:
12048 * testsuite/threads/threadh.c:
12049 * testsuite/threads/threadi.c:
12050 move all of these under tests
12052 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12055 * tests/Makefile.am:
12058 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12060 * docs/gst/gstreamer-sections.txt:
12061 * tests/sched/.cvsignore:
12062 * tests/sched/Makefile.am:
12063 * tests/sched/cases/(fs-fs).xml:
12064 * tests/sched/cases/(fs-i-fs).xml:
12065 * tests/sched/cases/(fs-i-i-fs).xml:
12066 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12067 * tests/sched/dynamic-pipeline.c:
12068 * tests/sched/interrupt1.c:
12069 * tests/sched/interrupt2.c:
12070 * tests/sched/interrupt3.c:
12071 * tests/sched/runtestcases:
12072 * tests/sched/runxml.c:
12073 * tests/sched/sched-stress.c:
12074 * tests/sched/sort.c:
12075 * tests/sched/testcases:
12076 * tests/sched/testcases1.tc:
12077 * tests/seeking/.cvsignore:
12078 * tests/seeking/Makefile.am:
12079 * tests/seeking/seeking1.c:
12080 * tests/threadstate/.cvsignore:
12081 * tests/threadstate/Makefile.am:
12082 * tests/threadstate/test1.c:
12083 * tests/threadstate/test2.c:
12084 * tests/threadstate/threadstate1.c:
12085 * tests/threadstate/threadstate2.c:
12086 * tests/threadstate/threadstate3.c:
12087 * tests/threadstate/threadstate4.c:
12088 * tests/threadstate/threadstate5.c:
12089 remove obsolete tests
12091 * tests/bench-complexity.scm:
12092 * tests/bench-mass_elements.scm:
12093 * tests/complexity.c:
12094 * tests/complexity.gnuplot:
12095 * tests/instantiate/.cvsignore:
12096 * tests/instantiate/Makefile.am:
12097 * tests/instantiate/caps.c:
12098 * tests/mass_elements.c:
12099 * tests/network-clock-utils.scm:
12100 * tests/network-clock.scm:
12102 First pass at cleaning up tests/ dir before moving the rest
12103 Combined with CVS surgery
12105 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12108 queue has moved, update
12110 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12112 * docs/gst/gstreamer-sections.txt:
12113 remove double entries from the docs
12114 * gst/gst_private.h:
12115 * gst/gstinfo.c: (_gst_debug_init):
12116 remove the THREAD debug category
12120 * docs/gst/gstreamer.types:
12121 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12122 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12123 completely move queue and fix up debugging categories
12125 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12127 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12128 make initialization portable, using LL is not
12130 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12132 * win32/common/gstconfig.h:
12135 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12137 * win32/common/libgstreamer.def:
12138 rename symbols; sort base section
12140 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12142 * gst/gstclock.c: (do_linear_regression):
12143 remove crack non-portable handrolled DEBUG macro
12145 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12147 * docs/random/release:
12149 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12150 (gst_object_flags_get_type), (register_gst_bin_flags),
12151 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12152 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12153 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12154 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12155 (gst_caps_flags_get_type), (register_gst_clock_return),
12156 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12157 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12158 (gst_clock_flags_get_type), (register_gst_state),
12159 (gst_state_get_type), (register_gst_state_change_return),
12160 (gst_state_change_return_get_type), (register_gst_state_change),
12161 (gst_state_change_get_type), (register_gst_element_flags),
12162 (gst_element_flags_get_type), (register_gst_core_error),
12163 (gst_core_error_get_type), (register_gst_library_error),
12164 (gst_library_error_get_type), (register_gst_resource_error),
12165 (gst_resource_error_get_type), (register_gst_stream_error),
12166 (gst_stream_error_get_type), (register_gst_event_type_flags),
12167 (gst_event_type_flags_get_type), (register_gst_event_type),
12168 (gst_event_type_get_type), (register_gst_seek_type),
12169 (gst_seek_type_get_type), (register_gst_seek_flags),
12170 (gst_seek_flags_get_type), (register_gst_format),
12171 (gst_format_get_type), (register_gst_index_certainty),
12172 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12173 (gst_index_entry_type_get_type),
12174 (register_gst_index_lookup_method),
12175 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12176 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12177 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12178 (gst_index_flags_get_type), (register_gst_debug_level),
12179 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12180 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12181 (gst_iterator_result_get_type), (register_gst_iterator_item),
12182 (gst_iterator_item_get_type), (register_gst_message_type),
12183 (gst_message_type_get_type), (register_gst_mini_object_flags),
12184 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12185 (gst_pad_link_return_get_type), (register_gst_flow_return),
12186 (gst_flow_return_get_type), (register_gst_activate_mode),
12187 (gst_activate_mode_get_type), (register_gst_pad_direction),
12188 (gst_pad_direction_get_type), (register_gst_pad_flags),
12189 (gst_pad_flags_get_type), (register_gst_pad_presence),
12190 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12191 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12192 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12193 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12194 (gst_plugin_flags_get_type), (register_gst_rank),
12195 (gst_rank_get_type), (register_gst_query_type),
12196 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12197 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12198 (gst_tag_flag_get_type), (register_gst_task_state),
12199 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12200 (gst_alloc_trace_flags_get_type),
12201 (register_gst_type_find_probability),
12202 (gst_type_find_probability_get_type), (register_gst_uri_type),
12203 (gst_uri_type_get_type), (register_gst_parse_error),
12204 (gst_parse_error_get_type):
12205 * win32/common/gstenumtypes.h:
12206 * win32/common/gstversion.h:
12207 update visual studio generated files
12209 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12211 * win32/vs6/libgstbase.dsp:
12212 * win32/vs6/libgstelements.dsp:
12213 update project files for new locations
12215 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12220 reinstate and update
12225 * docs/random/LICENSE:
12228 2005-11-30 Edward Hervey <edward@fluendo.com>
12230 * gst/gsttypefind.c: (gst_type_find_register):
12231 * gst/gsttypefind.h:
12232 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12233 (gst_type_find_factory_dispose):
12234 * gst/gsttypefindfactory.h:
12235 Fix memory leak in GstTypeFindFactory.
12237 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12240 * plugins/elements/Makefile.am:
12241 * plugins/elements/gstelements.c:
12242 * plugins/elements/gstqueue.c:
12243 move queue from core to the elements plugin
12245 2005-11-29 Andy Wingo <wingo@pobox.com>
12247 * libs/gst/base/gstbasetransform.h:
12248 * libs/gst/base/gstbasesrc.h:
12249 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12251 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12252 of pointers by which to pad very extensible base classes (like the
12253 ones in libs/gst/base).
12255 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12257 * docs/gst/gstreamer-docs.sgml:
12258 * docs/gst/gstreamer-sections.txt:
12259 * docs/libs/gstreamer-libs-docs.sgml:
12260 * docs/libs/gstreamer-libs-sections.txt:
12261 moving documentation from core to lib
12263 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12265 * check/Makefile.am:
12267 * docs/gst/Makefile.am:
12269 * gst/base/.cvsignore:
12270 * gst/base/Makefile.am:
12272 * gst/base/gstadapter.c:
12273 * gst/base/gstadapter.h:
12274 * gst/base/gstbasesink.c:
12275 * gst/base/gstbasesink.h:
12276 * gst/base/gstbasesrc.c:
12277 * gst/base/gstbasesrc.h:
12278 * gst/base/gstbasetransform.c:
12279 * gst/base/gstbasetransform.h:
12280 * gst/base/gstcollectpads.c:
12281 * gst/base/gstcollectpads.h:
12282 * gst/base/gstpushsrc.c:
12283 * gst/base/gstpushsrc.h:
12284 * gst/base/gsttypefindhelper.c:
12285 * gst/base/gsttypefindhelper.h:
12286 * gst/check/Makefile.am:
12287 * gst/check/gstcheck.c:
12288 * gst/check/gstcheck.h:
12289 * gst/net/Makefile.am:
12290 * gst/net/gstnet.h:
12291 * gst/net/gstnetclientclock.c:
12292 * gst/net/gstnetclientclock.h:
12293 * gst/net/gstnettimepacket.c:
12294 * gst/net/gstnettimepacket.h:
12295 * gst/net/gstnettimeprovider.c:
12296 * gst/net/gstnettimeprovider.h:
12297 * libs/gst/Makefile.am:
12298 * libs/gst/base/Makefile.am:
12299 * libs/gst/base/gstbasetransform.c:
12300 * libs/gst/check/Makefile.am:
12301 * plugins/elements/Makefile.am:
12303 CVS surgery + support to move base, check, and net out of gst
12306 2005-11-29 Andy Wingo <wingo@pobox.com>
12308 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12310 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12313 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12315 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12317 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12319 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12320 padding; reduces object size by about 30%. We don't expect
12321 anything else to go into gstobject.
12323 * gst/gstminiobject.h (struct _GstMiniObject)
12324 (struct _GstMiniObjectClass): Only one pointer of padding; the
12325 payload is only a pointer and two ints anyway. For the class there
12326 are only two methods as well.
12328 * gst/gstelement.h (struct _GstElementClass): Removed
12329 the state_changed signal callback, it is not used.
12331 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12333 * docs/gst/gstreamer.types:
12334 fix includes, though they are a little dinky
12336 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12338 * check/Makefile.am:
12339 look in the right place for elements, a lot more chance of
12342 remove indexers and elements subdirs
12343 * plugins/Makefile.am:
12344 make indexers conditional
12346 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12350 * plugins/elements/Makefile.am:
12351 * plugins/elements/gstcapsfilter.c:
12352 * plugins/elements/gstfilesink.c:
12353 * plugins/elements/gstfilesrc.c:
12354 * plugins/elements/gstidentity.c:
12355 * plugins/indexers/Makefile.am:
12356 do CVS surgery and related build fixery to move elements
12357 and indexers in a new gstreamer/plugins directory, out of the
12360 2005-11-29 Andy Wingo <wingo@pobox.com>
12362 * check/Makefile.am:
12363 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12364 * pkgconfig/gstreamer-net.pc.in:
12365 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12368 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12370 * tools/Makefile.am:
12371 * tools/gst-complete.1.in:
12372 * tools/gst-complete.c:
12373 * tools/gst-compprep.1.in:
12374 * tools/gst-compprep.c:
12375 removing -compprep and -complete
12377 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12379 * gst/gstevent.c: (gst_event_new_new_segment),
12380 (gst_event_parse_new_segment):
12382 fix #320529 - clean up new_segment API and structure.
12383 Let's hope everyone was using the methods, and not the structure.
12385 2005-11-29 Edward Hervey <edward@fluendo.com>
12387 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12388 (gst_base_sink_event), (gst_base_sink_do_sync),
12389 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12390 Properly handle non GST_FORMAT_TIME segment
12391 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12392 Properly handle non GST_FORMAT_TIME segment
12393 * gst/gstsegment.c:
12394 This function is valid if the accumulator is 0 and the format
12395 is different from the requested format.
12397 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12399 * docs/gst/gstreamer-sections.txt:
12400 Add gst_query_new_seeking and gst_query_parse_seeking to the
12403 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12405 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12406 Treat a pad alloc with new caps the same as if we were not
12407 negotiated, in order to allow a changing upstream output
12408 to produce a new format of data.
12410 2005-11-29 Edward Hervey <edward@fluendo.com>
12412 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12413 (gst_base_transform_event), (gst_base_transform_eventfunc):
12414 The event virtual method is now properly implemented, with a default
12416 Sub classes should call the parent_class event method. They should
12417 return FALSE if they had a problem handling the given event, or don't
12418 want GstBaseTransform to send that even downstream
12419 * gst/elements/gstidentity.c: (gst_identity_class_init),
12420 (gst_identity_init), (gst_identity_event),
12421 (gst_identity_transform_ip), (gst_identity_set_property),
12422 (gst_identity_get_property):
12423 * gst/elements/gstidentity.h:
12424 Added the single-segment boolean property.
12425 If set to TRUE, it will output a single segment of data, starting from
12426 0, will eat up all incoming newsegment, and modify the timestamp of the
12427 buffers accordingly
12429 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
12431 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12432 Don't ref NULL target pad (#322751). Improve docs.
12434 2005-11-29 Michael Smith <msmith@fluendo.com>
12436 * gst/gstregistryxml.c: (load_plugin):
12437 Don't crash if we failed to load a feature from a plugin.
12439 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12441 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12443 use more check API and less GLib API
12445 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12448 don't run checks if we don't have check
12449 * common/check.mak:
12450 remove the registry when running make torture
12451 * docs/gst/gstreamer-sections.txt:
12452 remove second multiply
12453 * gst/gstqueue.c: (gst_queue_loop):
12454 fix a compile warning when disabling debug
12456 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12459 Hey! Let's print the pad name if the pointer != NULL instead
12460 of when it == NULL :-)
12462 2005-11-28 Wim Taymans <wim@fluendo.com>
12464 * check/gst/gstutils.c: (GST_START_TEST):
12465 Updated check, add some scaling accuracy checking code.
12467 * gst/gstutils.c: (gst_util_div128_64),
12468 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12469 (gst_util_uint64_scale_int):
12470 Fix 6 times faster division code. Optimize for common
12471 1/1 and less common X/1 cases.
12473 2005-11-28 Wim Taymans <wim@fluendo.com>
12475 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12478 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12479 (do_linear_regression), (gst_clock_add_observation):
12481 Release lock when the clock cannot be slaved.
12482 Catch the case where the regression returned an invalid denominator.
12484 * gst/gstutils.c: (gst_util_div128_64_iterate),
12485 (gst_util_div128_64), (gst_util_uint64_scale_int64),
12486 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12487 Add protentially more performant non-iterative 128/64 divide function
12488 that unfortunatly does not work yet.
12489 Shortcut the trivial 0/X = 0 case.
12490 Remove the warnings on overflow.
12492 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12494 * gst/gstplugin.c: (gst_plugin_register_func):
12495 everything causing a plugin not to load should be at least a WARNING
12497 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12499 * docs/random/ensonic/dparams.txt:
12500 some TODOs for the next dev cycle
12501 * libs/gst/controller/gstcontroller.c:
12502 (gst_controlled_property_set_interpolation_mode),
12503 (gst_controlled_property_new):
12504 * libs/gst/controller/gstcontroller.h:
12505 use base type to assign acccessor functions
12507 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12509 * check/Makefile.am:
12510 Oops, that should have been top_srcdir
12512 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12514 * check/Makefile.am:
12515 * check/elements/fdsrc.c: (GST_START_TEST):
12516 Use a cmdline define to specify the location of a file to use for
12517 testing, to avoid breaking distcheck.
12519 2005-11-28 Andy Wingo <wingo@pobox.com>
12521 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12523 2005-11-28 Edward Hervey <edward@fluendo.com>
12525 * tools/gst-launch.c: (main):
12526 Clarify the output strings, makes it easier to translate.
12529 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12532 don't try and build net if we don't even have <sys/socket.h>
12534 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12536 * check/Makefile.am:
12537 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12538 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12539 Add tests for fdsrc seekability
12541 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12542 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12543 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12544 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12545 * gst/elements/gstfdsrc.h:
12546 fdsrc should not be a 'live' source.
12547 Implement seeking on seekable fd's.
12549 * gst/gstquery.c: (gst_query_new_seeking),
12550 (gst_query_parse_seeking):
12552 Implement SEEKING query functions:
12553 *_new_seeking and *_parse_seeking
12555 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12557 * gst/gstelement.c: (gst_element_dispose):
12560 * gst/gstiterator.c:
12561 * gst/gststructure.c:
12564 * libs/gst/controller/gstcontroller.c:
12565 (gst_controlled_property_set_interpolation_mode):
12566 * libs/gst/controller/gstcontroller.h:
12567 * libs/gst/controller/gstinterpolation.c:
12568 (interpolate_none_get_enum_value_array):
12569 support controlling enums
12571 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12574 Improve documentation for gst_value_union().
12577 Change return value for union, intersect and subtract functions
12578 from gint to gboolean.
12580 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12582 * gst/gstvalue.c: (gst_value_serialize_any_list),
12583 (gst_value_transform_any_list_string),
12584 (gst_value_deserialize_list), (gst_value_deserialize_array),
12585 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12586 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12587 (gst_value_set_fraction_range_full),
12588 (gst_value_deserialize_fraction_range),
12589 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12590 (gst_value_deserialize_boolean),
12591 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12592 (gst_value_serialize_float), (gst_value_deserialize_float),
12593 (gst_string_wrap), (gst_value_deserialize_string),
12594 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12595 (gst_value_union_int_range_int_range),
12596 (gst_value_intersect_int_range_int_range),
12597 (gst_value_intersect_double_range_double_range),
12598 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12599 (gst_value_subtract_int_range_int_range),
12600 (gst_value_subtract_double_double_range),
12601 (gst_value_subtract_double_range_double_range),
12602 (gst_value_deserialize_fraction):
12604 Use gint, gdouble and gchar in our API instead of int, double and
12605 char (and make usage in gstvalue.c more consistent).
12607 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12609 * check/Makefile.am:
12610 * libs/gst/controller/Makefile.am:
12611 * libs/gst/dataprotocol/Makefile.am:
12612 fix up Makefile.am and remove GST_ENABLE_NEW
12614 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12618 * gst/base/Makefile.am:
12619 * gst/check/Makefile.am:
12620 * gst/elements/Makefile.am:
12621 * gst/net/Makefile.am:
12622 update LDFLAGS use some more
12624 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12626 * common/m4/gst-doc.m4:
12629 2005-11-26 Edward Hervey <edward@fluendo.com>
12631 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12632 This shouldn't issue a g_warning since it returns NULL if it
12633 couldn't find the plugin, and all functions using this behave
12634 properly on a NULL return. Switching to a GST_WARNING.
12636 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12638 * gst/gstbin.c: (gst_bin_handle_message_func):
12639 Don't leak clock messages.
12641 2005-11-25 Wim Taymans <wim@fluendo.com>
12643 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12644 (gst_util_uint64_scale_int):
12645 Optimisations, remove unneeded vars.
12647 2005-11-25 Wim Taymans <wim@fluendo.com>
12649 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12650 Added more checks for the high precision uint64 cases.
12652 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12653 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12654 Implement high precision (guint64 * guint64) / guint64.
12656 2005-11-24 Wim Taymans <wim@fluendo.com>
12658 * gst/base/gstbasesrc.c: (gst_base_src_query):
12659 Fix wrong percentage query.
12661 * gst/gstutils.c: (gst_util_uint64_scale),
12662 (gst_util_uint64_scale_int):
12663 Add some more common cases that can be handled
12664 efficiently to _scale.
12666 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12668 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12669 (gst_mini_object_suite):
12670 don't use check calls from threads; check probably isn't
12671 threadsafe and using a lock to make it threadsafe would
12672 defeat the purpose of this check
12673 * gst/check/gstcheck.c:
12674 * gst/check/gstcheck.h:
12675 use GST_DEBUG some more
12677 2005-11-24 Wim Taymans <wim@fluendo.com>
12679 * gst/gstutils.c: (gst_util_uint64_scale),
12680 (gst_util_uint64_scale_int):
12681 Chain trivial case to _scale_int.
12683 2005-11-24 Wim Taymans <wim@fluendo.com>
12685 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12686 Added test for scaling.
12691 * gst/gstutils.c: (gst_util_uint64_scale_int):
12692 Implemented high precision scaling code.
12694 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12697 do not crash on pad==NULL
12699 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12701 Patch by: Stefan Kost
12703 * common/gtk-doc.mak:
12704 * docs/gst/Makefile.am:
12705 * docs/libs/Makefile.am:
12706 Fix distcheck issues for the libraries docs build
12709 2005-11-24 Michael Smith <msmith@fluendo.com>
12711 * docs/manual/basics-helloworld.xml:
12712 Fix bug #315027: memory leak in example code in docs.
12714 2005-11-24 Michael Smith <msmith@fluendo.com>
12716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12717 Unlock the PREROLL_LOCK in a failure case.
12719 2005-11-24 Wim Taymans <wim@fluendo.com>
12721 * docs/gst/gstreamer-sections.txt:
12722 * gst/base/gstadapter.h:
12723 * gst/base/gstbasesink.h:
12724 * gst/base/gstbasesrc.h:
12725 * gst/base/gstbasetransform.h:
12726 * gst/base/gstpushsrc.h:
12727 * gst/elements/gstfakesink.h:
12728 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12729 * gst/elements/gstfakesrc.h:
12730 * gst/elements/gstfilesink.h:
12731 * gst/elements/gstfilesrc.h:
12734 * gst/gstbuffer.c: (_gst_buffer_copy):
12737 * gst/gstchildproxy.c:
12739 * gst/gstelement.c:
12740 * gst/gstelementfactory.c:
12741 * gst/gstelementfactory.h:
12743 * gst/gstghostpad.h:
12745 * gst/gstinterface.h:
12746 * gst/gstminiobject.c:
12747 * gst/gstminiobject.h:
12750 * gst/gstpadtemplate.h:
12751 * gst/gstpipeline.h:
12752 * gst/gstpluginfeature.h:
12755 * gst/gsttaglist.c:
12756 * gst/gsttaglist.h:
12757 * gst/gsttagsetter.c:
12758 * gst/gsttagsetter.h:
12761 * gst/gsttypefind.h:
12764 * gst/net/gstnetclientclock.c:
12765 * gst/net/gstnetclientclock.h:
12766 * gst/net/gstnettimepacket.c:
12767 * gst/net/gstnettimeprovider.c:
12768 * gst/net/gstnettimeprovider.h:
12771 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12773 * configure.ac: back to HEAD
12775 === release 0.9.6 ===
12777 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12780 releasing 0.9.6, "Always On Time"
12782 2005-11-23 Wim Taymans <wim@fluendo.com>
12784 * docs/gst/gstreamer-sections.txt:
12785 * gst/glib-compat.c:
12786 * gst/gsttagsetter.c:
12788 * gst/net/gstnetclientclock.c:
12789 * gst/net/gstnettimepacket.h:
12792 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12794 * docs/faq/using.xml:
12795 * docs/libs/tmpl/gstcontrol.sgml:
12796 * docs/manual/advanced-dparams.xml:
12797 * docs/manual/appendix-checklist.xml:
12798 * docs/manual/basics-elements.xml:
12799 * docs/pwg/other-source.xml:
12800 * docs/random/moving-plugins:
12802 * tools/gst-launch.1.in:
12803 remove mentions of sinesrc
12805 2005-11-23 Michael Smith <msmith@fluendo.com>
12807 * docs/gst/gstreamer-sections.txt:
12808 Update for new API and API changes.
12810 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12812 Documentation typo fix.
12813 * gst/net/gstnettimepacket.c:
12814 Documentation fixes for arguments.
12816 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12818 * gst/gststructure.c: (gst_structure_get_fraction),
12819 (gst_structure_parse_value),
12820 (gst_structure_fixate_field_nearest_fraction):
12821 * gst/gststructure.h:
12822 * gst/gstutils.c: (gst_util_uint64_scale_int):
12824 * scripts/update-funcnames:
12826 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12827 Make gst_structure_fixate_field_nearest_fraction take a numerator
12828 and denominator argument instead of a GValue
12829 add gst_structure_get_fraction helper function.
12831 2005-11-23 Wim Taymans <wim@fluendo.com>
12833 * docs/design/part-TODO.txt:
12836 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12837 * gst/net/gstnetclientclock.h:
12838 Use parent fields for timeout and window_size.
12840 2005-11-23 Andy Wingo <wingo@pobox.com>
12842 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12843 rate_num/rate_denom change.
12845 * gst/net/gstnetclientclock.c
12846 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12847 OBJECT_LOCK. Don't call add_observation with the lock.
12849 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12851 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12853 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12854 deal with rate as a fraction whose numerator and denominator are
12855 GstClockTime values.
12856 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12857 master; the other fields are protected by the SLAVE_LOCK.
12858 (do_linear_regression): Note that this must be called with the
12860 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12861 OBJECT_LOCK. Call set_calibration instead of touching the
12862 variables directly.
12863 (gst_clock_set_property, gst_clock_get_property): Protect
12864 master/slave parameters with the SLAVE_LOCK.
12866 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12867 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12868 note that all of the instance variables that add_observation and
12869 the set_master functions use are protected by that lock and not
12871 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12873 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12874 the caller to take the object lock.
12876 2005-11-23 Wim Taymans <wim@fluendo.com>
12878 * gst/gsterror.c: (_gst_core_errors_init):
12880 Add error for clock stuff.
12882 * gst/gstpipeline.c: (gst_pipeline_change_state),
12883 (gst_pipeline_set_clock):
12884 Post clock error when clock cannot be used in a pipeline.
12886 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12888 * docs/gst/gstreamer-sections.txt:
12889 make two symbols from gstinfo private for the docs
12890 * gst/base/gstcollectpads.h:
12892 fix doc typos, update docs
12894 2005-11-22 Wim Taymans <wim@fluendo.com>
12896 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12897 (gst_base_sink_wait), (gst_base_sink_do_sync),
12898 (gst_base_sink_handle_event):
12899 * gst/base/gstbasesink.h:
12900 No need to store the clock, the parent element class already
12903 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12904 Updates for clock_set returning a gboolean
12906 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12907 (gst_clock_id_wait_async), (gst_clock_class_init),
12908 (gst_clock_init), (gst_clock_finalize),
12909 (gst_clock_get_internal_time), (gst_clock_get_time),
12910 (gst_clock_slave_callback), (gst_clock_set_master),
12911 (gst_clock_get_master), (do_linear_regression),
12912 (gst_clock_add_observation), (gst_clock_set_property),
12913 (gst_clock_get_property):
12915 Implement master/slave. When setting a clock as a slave, a
12916 periodic timeout is scheduled to sample master and slave times.
12917 Then the slave clock is recalibrated to match offset and rate
12918 of the master clock.
12919 Update logging a bit.
12920 Add flag so that a clock can state that is cannot be slaved to
12923 * gst/gstelement.c: (gst_element_set_clock):
12924 * gst/gstelement.h:
12925 The set clock returns a gboolean for when an element cannot
12926 deal with the selected clock in the pipeline.
12928 * gst/gstpipeline.c: (gst_pipeline_change_state),
12929 (gst_pipeline_set_clock):
12930 * gst/gstpipeline.h:
12931 Handle the case where the selected clock cannot be set on
12934 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12935 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12936 (gst_net_client_clock_set_property),
12937 (gst_net_client_clock_get_property),
12938 (gst_net_client_clock_observe_times):
12939 * gst/net/gstnetclientclock.h:
12940 Use regression code in GstClock parent, remove duplicated
12943 2005-11-22 Michael Smith <msmith@fluendo.com>
12945 * gst/gstutils.c: (gst_util_clock_time_scale):
12947 * docs/gst/gstreamer-sections.txt:
12948 Rename method to have extra underscore.
12950 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
12952 * gst/elements/Makefile.am:
12953 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12954 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12955 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12956 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12957 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12958 * gst/elements/gstfakesrc.h:
12959 * gst/gstqueue.c: (queue_leaky_get_type):
12960 correctly fix GEnumValues so that nick is the short lowercase
12962 * tools/gst-inspect.c: (print_element_properties_info):
12963 also show the nick, since it's useful to use from parse_launch
12967 2005-11-22 Michael Smith <msmith@fluendo.com>
12969 * gst/gstutils.c: (gst_util_clocktime_scale):
12971 * docs/gst/gstreamer-sections.txt:
12972 Add util method for scaling a clocktime by a fraction. Useful
12973 implementation is left as an exercise for the reader.
12975 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12977 * gst/gstvalue.c: (gst_value_collect_fraction_range):
12978 If needed, allocate storage in the destination value during
12981 2005-11-22 Edward Hervey <edward@fluendo.com>
12983 * docs/gst/gstreamer-sections.txt:
12986 * gst/gsturitype.c:
12987 * gst/gsturitype.h:
12988 * gst/gstutils.c: (gst_util_set_object_arg):
12989 * tools/gst-compprep.c: (main):
12990 * tools/gst-inspect.c: (print_element_properties_info):
12991 Removed GstURI, closes bug #321061
12993 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12995 * check/gst/gststructure.c: (GST_START_TEST):
12996 * gst/gststructure.c: (gst_structure_parse_value):
12997 Oops, broke automatic string type parsing.
12998 Add a test to catch it in future.
13000 2005-11-22 Andy Wingo <wingo@pobox.com>
13002 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13003 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13004 Actually rename the function implementations. Grr.
13006 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13008 * check/gst/capslist.h:
13010 * check/gst/gststructure.c: (GST_START_TEST),
13011 (gst_structure_suite):
13012 Test automatic value type detection in gst_structure_from_string.
13013 * gst/gststructure.c: (gst_structure_parse_value):
13014 Add fraction as a type we try and guess automatically in
13015 caps/structure strings.
13017 2005-11-22 Andy Wingo <wingo@pobox.com>
13019 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13021 * gst/gsttagsetter.h:
13022 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13023 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13024 (gst_tag_setter_add_tag_valist)
13025 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13026 _add_values, _add_valist, and _add_valist_values. Since this is an
13027 interface the function suffixes should be more explicit so
13028 language binding don't end up with element.add_valist ->
13029 gst_tag_setter_add_valist, for example. Fixes #322069.
13031 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13033 * check/gst/gstcaps.c: (GST_START_TEST):
13034 Extend caps string tests to check that a caps to string
13035 conversion is reversible and produces the same caps.
13037 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13038 Output "fraction" as the generic type fraction range, so caps
13039 serialisation and deserialisation works.
13040 * check/gst/capslist.h:
13041 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13042 Support 'MIN' and 'MAX' for deserialising fractions.
13044 2005-11-22 Andy Wingo <wingo@pobox.com>
13046 * gst/gstevent.h (gst_event_new_new_segment)
13047 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13048 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13049 Renamed from *_newsegment, *_buffersize, *_notarget.
13051 * scripts/update-funcnames: New script, performs the changes
13054 2005-11-22 Wim Taymans <wim@fluendo.com>
13056 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13057 Make sure the GstFlowReturn is returned.
13059 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13060 (gst_bus_add_signal_watch):
13062 add gst_bus_add_signal_watch_full.
13064 * gst/gstplugin.c: (gst_plugin_load_file):
13065 Small style cleanup.
13067 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13069 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13070 Block the fakesrc srcpad when we send an event, to avoid
13071 contention on the stream_lock causing random test failures.
13073 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13075 * check/gst/gstvalue.c: (GST_START_TEST):
13076 * gst/gstvalue.c: (gst_value_fraction_subtract):
13079 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13082 include "gstchildproxy.h"
13083 * gst/gstchildproxy.h:
13084 * libs/gst/controller/gstcontroller.h:
13085 use G_GNUC_NULL_TERMINATED
13087 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13089 * check/gst/capslist.h:
13090 * check/gst/gstcaps.c: (GST_START_TEST):
13091 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13092 * gst/gststructure.c: (gst_structure_parse_range),
13093 (gst_structure_fixate_field_nearest_fraction):
13094 * gst/gststructure.h:
13095 * gst/gstvalue.c: (gst_value_init_fraction_range),
13096 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13097 (gst_value_collect_fraction_range),
13098 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13099 (gst_value_set_fraction_range_full),
13100 (gst_value_get_fraction_range_min),
13101 (gst_value_get_fraction_range_max),
13102 (gst_value_serialize_fraction_range),
13103 (gst_value_transform_fraction_range_string),
13104 (gst_value_compare_fraction_range),
13105 (gst_value_deserialize_fraction_range),
13106 (gst_value_intersect_fraction_fraction_range),
13107 (gst_value_intersect_fraction_range_fraction_range),
13108 (gst_value_subtract_fraction_fraction_range),
13109 (gst_value_subtract_fraction_range_fraction),
13110 (gst_value_subtract_fraction_range_fraction_range),
13111 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13112 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13113 (gst_value_transform_string_fraction), (_gst_value_initialize):
13115 Implement fraction ranges and extend GstFraction to support
13116 arithmetic subtraction, as well as deserialization from integer
13117 strings such as "100"
13118 Add a testsuite as for int and double range set operations
13120 2005-11-21 Andy Wingo <wingo@pobox.com>
13122 * gst/gsttaglist.h:
13124 * gst/gststructure.h: Add glib-compat.h.
13126 2005-11-21 Wim Taymans <wim@fluendo.com>
13128 * gst/gstbin.c: (gst_bin_change_state_func):
13131 2005-11-21 Wim Taymans <wim@fluendo.com>
13133 * gst/gstsegment.h:
13134 And add a nice define too.
13136 2005-11-21 Wim Taymans <wim@fluendo.com>
13138 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13139 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13140 (gst_segment_set_duration), (gst_segment_set_last_stop),
13141 (gst_segment_set_seek), (gst_segment_set_newsegment),
13142 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13143 (gst_segment_clip):
13144 * gst/gstsegment.h:
13145 Make binding friendly.
13147 2005-11-21 Andy Wingo <wingo@pobox.com>
13149 * gst/gsttagsetter.h:
13150 * gst/gsttaglist.h:
13151 * gst/gststructure.h:
13153 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13156 * gst/gsterror.c (_gst_core_errors_init):
13157 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13160 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13161 (noinst_HEADERS): noinst the -private.
13163 2005-11-21 Michael Smith <msmith@fluendo.com>
13166 * gst/gstregistry.h:
13167 Remove unimplemented declarations for which we can see no sensible
13170 2005-11-21 Andy Wingo <wingo@pobox.com>
13172 * gst/gst.h: Include glib-compat.h.
13174 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13176 * gst/glib-compat.c: Include the public and the private header.
13178 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13182 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13184 * check/gst/gstevent.c (create_custom_events): Check that
13185 FLUSH_STOP is serialized.
13187 * check/elements/identity.c (event_func):
13188 * check/elements/fakesrc.c (event_func): No stream lock, the core
13191 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13192 stream lock taking, yay.
13194 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13195 ensure that core takes the stream lock.
13197 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13200 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13201 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13202 it already. For the flush start we do take it though so we get the
13203 right preroll state change messages.
13205 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13206 the stream lock here, the core does it for us.
13208 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13209 GST_STREAM_GET_LOCK.
13210 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13211 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13212 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13213 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13214 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13215 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13217 * gst/gstpad.c: Update for stream lock name change.
13219 * gst/base/gstbasesink.c: Update for preroll lock name change.
13221 2005-11-21 Wim Taymans <wim@fluendo.com>
13223 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13224 (gst_clock_get_master):
13226 * gst/gstsystemclock.c: (gst_system_clock_init):
13227 Convert Clock flags to object flags.
13228 Added methods to manage master/slave clocks.
13230 2005-11-21 Wim Taymans <wim@fluendo.com>
13232 * check/gst/gstsegment.c: (GST_START_TEST):
13233 * docs/design/part-TODO.txt:
13234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13235 (gst_base_sink_event), (gst_base_sink_do_sync),
13236 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13237 (gst_base_sink_query), (gst_base_sink_change_state):
13238 * gst/base/gstbasesink.h:
13239 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13240 (gst_base_src_default_newsegment),
13241 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13242 (gst_base_src_get_range), (gst_base_src_loop),
13243 (gst_base_src_change_state):
13244 * gst/base/gstbasesrc.h:
13245 * gst/base/gstbasetransform.c:
13246 (gst_base_transform_prepare_output_buf),
13247 (gst_base_transform_event), (gst_base_transform_change_state):
13248 * gst/base/gstbasetransform.h:
13249 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13250 (gst_collect_pads_event):
13251 * gst/base/gstcollectpads.h:
13252 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13253 (gst_fake_src_create):
13254 * gst/elements/gstfakesrc.h:
13255 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13256 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13257 (gst_segment_set_last_stop), (gst_segment_set_seek),
13258 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13259 (gst_segment_to_running_time), (gst_segment_clip):
13260 * gst/gstsegment.h:
13261 More segment updates, replace code in plugins with segment
13264 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13266 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13267 Don't ignore sscanf results
13269 2005-11-21 Andy Wingo <wingo@pobox.com>
13271 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13274 * *.c: Ran scripts/update-macros. Oh yes.
13276 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13277 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13280 * scripts/update-macros: New script. Run it on your files to
13281 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13284 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13286 * docs/gst/Makefile.am:
13287 * docs/gst/gstreamer-docs.sgml:
13288 * docs/gst/gstreamer-sections.txt:
13289 * docs/gst/gstreamer.types:
13291 more docs fixes, add new api to the docs
13293 2005-11-21 Andy Wingo <wingo@pobox.com>
13295 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13296 state_broadcast call.
13298 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13300 2005-11-21 Julien MOUTTE <julien@moutte.net>
13302 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13303 function calls for arrays.
13305 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13307 * docs/random/ensonic/media-device-daemon.txt:
13308 wild idea, can this be done?
13309 * docs/gst/gstreamer-sections.txt:
13314 * gst/gstpluginfeature.c:
13318 doc fixes and additions
13320 2005-11-21 Andy Wingo <wingo@pobox.com>
13322 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13323 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13324 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13325 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13326 private to the basesrc implementation.
13328 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13329 behalf of event function if necessary. It should no longer be
13330 necessary to take the stream lock in pad's event functions. Fixes
13333 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13334 * docs/gst/gstreamer-sections.txt:
13335 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13336 (gst_structure_fixate_field_nearest_double),
13337 (gst_structure_fixate_field_boolean):
13338 * gst/gststructure.h:
13339 * win32/common/libgstreamer.def:
13340 * win32/gstreamer.def:
13342 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13345 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13347 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13348 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13349 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13350 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13351 (gst_fdsrc_uri_handler_init):
13352 * gst/elements/gstfdsrc.h:
13353 Port fd:// URI handler from 0.8 to fdsrc
13355 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13357 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13358 (gst_value_serialize_fourcc):
13360 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13361 consistent with our other format defines (#320324).
13363 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13365 * gst/gstvalue.c: (gst_value_is_fixed):
13366 Revert previous commit. Value lists are by definition
13367 not fixed, as they are a list of possible values.
13369 2005-11-21 Andy Wingo <wingo@pobox.com>
13371 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13372 during the stable series if we need it. Fixes #319178.
13374 * gst/gstevent.c (gst_event_new_filler): Removed.
13376 * check/gst/gstevent.c: Update comment about filler events.
13378 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13380 * gst/gstvalue.c: (gst_value_is_fixed):
13381 Should handle both value arrays and value lists.
13383 2005-11-21 Andy Wingo <wingo@pobox.com>
13385 patch by: Alessandro Dessina <alessandro nnva org>
13387 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13388 functions to access arrays. Fixes #321962.
13390 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13392 * docs/gst/gstreamer.types:
13393 gst_collectpads_get_type => gst_collect_pads_get_type.
13395 * gst/base/gstbasetransform.c:
13396 Remove unused SIGNAL_HANDOFF enum.
13398 2005-11-21 Andy Wingo <wingo@pobox.com>
13400 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13401 the event type (upstream, downstream, serialized). Renamed
13402 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13403 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13404 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13406 * gst/gstevent.c: Update for new CUSTOM event names.
13408 * check/gst/gstevent.c: Update check for new CUSTOM event names.
13411 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13414 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13416 * docs/gst/gstreamer-sections.txt:
13417 * win32/common/libgstbase.def:
13418 * win32/libgstbase.def:
13419 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13420 (gst_collect_pads_class_init), (gst_collect_pads_init),
13421 (gst_collect_pads_finalize), (gst_collect_pads_new),
13422 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13423 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13424 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13425 (gst_collect_pads_start), (gst_collect_pads_stop),
13426 (gst_collect_pads_peek), (gst_collect_pads_pop),
13427 (gst_collect_pads_available), (gst_collect_pads_read),
13428 (gst_collect_pads_flush), (gst_collect_pads_event),
13429 (gst_collect_pads_chain):
13430 * gst/base/gstcollectpads.h:
13431 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13432 unimplemented functions as unimplemented. Add padding to
13433 GstCollectData. (#320766, #320423)
13435 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13437 * gst/gstmessage.c:
13438 Improve docs for DURATION message (usage of duration parameter)
13441 2005-11-20 Wim Taymans <wim@fluendo.com>
13443 * check/Makefile.am:
13444 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13448 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13449 (gst_segment_set_seek), (gst_segment_set_newsegment),
13450 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13451 (gst_segment_clip):
13452 * gst/gstsegment.h:
13453 Added segment helper structure and methods. Not fully implemented
13455 Added segment check.
13457 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
13459 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13460 Add a deserialisation test for fractions
13461 * examples/metadata/read-metadata.c: (message_loop),
13462 (make_pipeline), (main):
13463 Fix up metadata reading sample.
13464 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13466 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13467 Don't try and fixate empty caps
13468 * gst/gst_private.h:
13469 Wrap in G_BEGIN_DECLS/G_END_DECLS
13470 * gst/gstvalue.c: (gst_value_collect_fraction),
13471 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13472 (gst_value_transform_string_fraction),
13473 (gst_value_compare_fraction):
13474 Add some extra guards to ensure that we don't end up
13475 with an invalid denominator of 0 in a gstfraction and
13476 that fractions always get reduced.
13478 2005-11-20 Wim Taymans <wim@fluendo.com>
13480 * docs/gst/gstreamer-sections.txt:
13482 * gst/gstelement.c:
13491 2005-11-20 Wim Taymans <wim@fluendo.com>
13493 * docs/design/part-TODO.txt:
13495 Make a proper enum of the flag.
13497 2005-11-19 Wim Taymans <wim@fluendo.com>
13499 * docs/design/part-TODO.txt:
13500 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13501 (gst_format_to_quark), (gst_format_register):
13503 * gst/gstquery.c: (_gst_query_initialize),
13504 (gst_query_type_get_name), (gst_query_type_to_quark),
13505 (gst_query_type_register):
13507 Add type to quark and type to string conversions.
13509 2005-11-19 Andy Wingo <wingo@pobox.com>
13511 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13514 2005-11-19 Wim Taymans <wim@fluendo.com>
13516 * docs/design/part-TODO.txt:
13517 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13518 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13519 (gst_bin_handle_message_func):
13521 Make message handling overridable.
13523 2005-11-19 Andy Wingo <wingo@pobox.com>
13525 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13528 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13530 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13531 is a GstClockTime. Fixes #321710.
13533 * gst/gstclock.h (GstClock): Remove offset property. Add
13534 internal_calibration and external_calibration. Fix padding. Pad
13535 also by GstClockTime so we don't run into problems.
13537 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13538 (gst_clock_get_rate_offset): Remove.
13539 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13542 * gst/gstutils.c (g_static_rec_cond_wait)
13543 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13545 * gst/gstbin.c: Remove terrible continue_state prototype.
13547 * gst/gstelement.h (gst_element_continue_state): Make public.
13549 * gst/gstelement.h:
13550 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13551 by continue_state. Fixes #319389.
13553 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13554 Really fixes #168438. However I don't see anywhere where the
13555 filter function is called... stupid GStreamer...
13557 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13558 don't have a dispose function, so it won't get called when the
13559 object is unreffed, but oh well!
13561 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13562 allows a destroy function to be set so user_data can be freed.
13564 (gst_index_set_filter): Call gst_index_set_filter_full.
13566 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13568 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13569 string should produce an error, given the lack of a way to
13570 represent NULL strings. Fixes #165650.
13573 * gst/gstvalue.c (gst_value_array_append_value)
13574 (gst_value_array_prepend_value, gst_value_array_get_size)
13575 (gst_value_array_get_value): New API, copied from
13576 gst_value_list_*, only operates on arrays.
13577 (gst_value_list_append_value, gst_value_list_prepend_value)
13578 (gst_value_list_concat, gst_value_list_get_size)
13579 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13581 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13582 init_list, because it works on both.
13583 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13584 (gst_value_copy_list_or_array): Renamed from copy_list.
13585 (gst_value_free_list_or_array): Renamed from free_list.
13586 (gst_value_collect_list_or_array): Renamed from collect_list.
13587 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13588 (gst_value_list_or_array_peek_pointer): Renamed from
13590 (_gst_value_array_value_table, _gst_value_list_value_table):
13591 Update value table functions.
13592 (gst_value_compare_list_or_array): Renamed from compare_list.
13594 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13597 * gst/gsttaglist.c:
13598 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13599 GstTagList*. Fixes #143472.
13601 * gst/gststructure.h: Clarify what the foreach/map functions can
13602 or can't do to their arguments.
13604 2005-11-18 Wim Taymans <wim@fluendo.com>
13606 * gst/gstclock.c: (gst_clock_set_calibration),
13607 (gst_clock_get_calibration):
13609 Calibration can be set with internal time equal to current
13612 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13618 2005-11-18 Andy Wingo <wingo@pobox.com>
13621 * pkgconfig/gstreamer-net.pc.in:
13622 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13623 * pkgconfig/Makefile.am: Add net pkgconfig files.
13625 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13628 * gst/gstghostpad.c:
13634 2005-11-18 Andy Wingo <wingo@pobox.com>
13636 * gst/net/gstnetclientclock.c: Turn off debugging.
13638 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13639 times connverge somewhat. Can't make a real test.
13641 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13642 integer arithmetic. Return the minimum of the domain, which can be
13643 set as "internal" for gst_clock_set_calibration.
13644 (gst_net_client_clock_observe_times): Call _set_calibration.
13645 (gst_net_client_clock_new): Call _set_calibration instead of
13648 * check/net/gstnetclientclock.c (test_functioning): Use the right
13652 * gst/gstclock.c (gst_clock_get_calibration)
13653 (gst_clock_set_calibration): New functions, obsolete the ones I
13654 added yesterday. Doh. Precision issues mean we have to extrapolate
13655 from a point in the more recent past than 1970.
13656 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13658 (gst_clock_adjust_unlocked): Use the right calibration data.
13660 2005-11-18 Edward Hervey <edward@fluendo.com>
13662 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13663 Also reset the ->current_* values in READY->PAUSED
13665 2005-11-18 Andy Wingo <wingo@pobox.com>
13667 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13668 Whoops, check the right fd. Also add some debugging.
13669 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13670 (do_linear_regression): Add a crapload of debugging. Subtract off
13671 the minimum values from the input series to discard unneeded bits.
13672 Use only int arithmetic. There is still double arithmetic when
13673 calculating the intercept that needs fixing. Return boolean to
13674 indicate success; FALSE would mean the domain or range is too
13675 great. Still needs fixes.
13677 2005-11-18 Wim Taymans <wim@fluendo.com>
13679 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13680 For the current position in stream time, we need to subtract
13683 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13684 Release lock before calling the callback function of async
13687 2005-11-18 Andy Wingo <wingo@pobox.com>
13689 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13690 Port goes all the way to MAXUINT16.
13692 * gst/net/gstnettimeprovider.c: Make the port range the same as
13693 for the kernel: 0 assigns, otherwise ports are less than
13696 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13699 * check/net/gstnetclientclock.c (test_functioning): Add the start
13702 2005-11-18 Wim Taymans <wim@fluendo.com>
13704 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13705 (gst_bin_remove_func), (bin_bus_handler):
13707 Removing a clock provider from a bin, triggers a clock lost message
13708 so that a new clock will be selected.
13709 Adding a clock to a bin triggers a clock provider message.
13710 Make sure we reselect a clock when we received a clock lost message.
13711 Keep a reference to the element that provided the clock.
13713 2005-11-18 Andy Wingo <wingo@pobox.com>
13715 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13716 the clock initially so it produces values around the base time.
13717 (gst_net_client_clock_class_init): Typo fix.
13718 (gst_net_client_clock_thread): Add note on when the socket gets
13721 2005-11-17 Wim Taymans <wim@fluendo.com>
13723 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13724 Free remote and local time arrays.
13726 2005-11-17 Wim Taymans <wim@fluendo.com>
13728 * gst/net/gstnetclientclock.c: (do_linear_regression),
13729 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13730 Fix compilation, uninitialized vars and a forgotten continue.
13732 2005-11-17 Andy Wingo <wingo@pobox.com>
13734 * check/Makefile.am (check_PROGRAMS):
13735 * check/net/gstnetclientclock.c: Add a most minimal test for the
13736 net client clock. More to come later.
13738 * gst/net/gstnet.h:
13739 * gst/net/Makefile.am: Add netclientclock.
13741 * gst/net/gstnetclientclock.h:
13742 * gst/net/gstnetclientclock.c: New files, implement an untested
13743 GstClock that takes its time from a network time provider.
13744 Implements the algorithm in network-clock.scm.
13746 * tests/network-clock.scm (*window-size*): Rename from
13748 * tests/network-clock.scm (network-time):
13749 * tests/network-clock-utils.scm (q-push): Update callers.
13751 2005-11-17 Wim Taymans <wim@fluendo.com>
13753 * gst/gstbin.c: (gst_bin_provide_clock_func),
13754 (gst_bin_sort_iterator_new):
13755 And unref the child too..
13757 2005-11-17 Wim Taymans <wim@fluendo.com>
13759 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13760 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13761 Refactor the sort iterator so it can be used while holding the
13763 Make clock selection select a clock closest to the source.
13765 2005-11-17 Michael Smith <msmith@fluendo.com>
13767 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13768 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13770 Anonymous structs are a gcc (and some other compilers) extension, so
13771 don't use them. Since this is only for ABI-compatibility, and our
13772 API/ABI freeze is over in a few days, this whole thing will only
13773 last a few days, so don't bother trying to think up a meaningful
13774 name for the struct.
13776 2005-11-17 Andy Wingo <wingo@pobox.com>
13778 * gst/gstclock.h (GstClock): Add rate and offset properties,
13779 preserving ABI stability. Add rate/offset accessors. Will file bug
13780 for the freeze break.
13782 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13783 and offset, trying to keep precision and avoiding
13784 underflow/overflow.
13785 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13786 functions. Make gst_clock_set_time_adjust obsolete.
13787 (gst_clock_set_time_adjust): Note that this function is obsolete.
13788 Will file bug soon.
13790 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13791 greppable by using GST_PADDING-1+1.
13793 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13795 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13797 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13798 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13800 * gst/gstpadtemplate.h:
13801 * gst/gstpluginfeature.h:
13802 Don't use c++ style comments in headers (#321638).
13804 2005-11-16 Andy Wingo <wingo@pobox.com>
13806 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13809 * check/net/gstnettimeprovider.c: Check to see that the time
13810 provider actually provides times. Works, yo!
13812 2005-11-16 Wim Taymans <wim@fluendo.com>
13814 * check/Makefile.am:
13817 * check/elements/fakesrc.c: (GST_START_TEST):
13818 Set element to NULL before disposing it.
13820 2005-11-16 Andy Wingo <wingo@pobox.com>
13822 * gst/net/Makefile.am:
13823 * gst/net/gstnet.h:
13824 * gst/net/gstnettimeprovider.c:
13825 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13826 provider, include it from gstnet.h, and add it to the build.
13828 * gst/net/gstnettimepacket.h:
13829 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13830 sending and receiving.
13832 2005-11-16 Wim Taymans <wim@fluendo.com>
13834 * check/Makefile.am:
13835 Enable valgrind check.
13837 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13838 (gst_fake_src_alloc_buffer):
13841 2005-11-16 Wim Taymans <wim@fluendo.com>
13843 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13844 Call parent finalize too.
13846 2005-11-16 Wim Taymans <wim@fluendo.com>
13848 * check/Makefile.am:
13849 Enable valgrind check that should work fine now.
13851 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13852 * gst/gstqueue.c: (gst_queue_init):
13853 Fix memleaks in pad allocation.
13855 2005-11-16 Andy Wingo <wingo@pobox.com>
13857 * gst/net/Makefile.am:
13858 * gst/net/gstnet.h: New part of core to hold network elements and
13859 objects. Put in core because it exposes API that applications want
13860 to use. The library is named libgstnet-tempname right now because
13861 of the existing libgstnet in gst-plugins-base. Solution is
13862 probably to rename the one in plugins-base; will file a bug for
13865 * gst/net/gstnettimeprovider.c:
13866 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13867 get_time call over the network.
13870 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13872 * check/Makefile.am:
13873 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13874 get additions shortly.
13876 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13878 * gst/gstpad.c: (gst_pad_new_from_static_template):
13880 add gst_pad_new_from_static_template functions
13881 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13882 (gst_check_setup_sink_pad):
13883 * gst/elements/gsttee.c: (gst_tee_init):
13886 2005-11-16 Wim Taymans <wim@fluendo.com>
13888 * gst/gstpad.c: (gst_pad_pause_task):
13889 Removed warning, it's not really an error either.
13891 2005-11-16 Wim Taymans <wim@fluendo.com>
13893 * gst/base/gstbasetransform.c:
13894 (gst_base_transform_prepare_output_buf),
13895 (gst_base_transform_event):
13896 Check if the caps are NULL, this can happen if the element
13897 is shutting down and the pad caps are set to NULL.
13899 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13901 * gst/elements/gsttee.c: (gst_tee_init):
13902 fix pad template leak in tee
13904 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13906 * gst/glib-compat.c: (g_value_dup_gst_object):
13907 * gst/glib-compat.h:
13908 * gst/gstpad.c: (gst_pad_set_property):
13909 use gst_object_ref when setting the pad template; this will
13910 trigger the pad template leaks on GLib 2.6 and the slaves
13912 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13914 * gst/glib-compat.c: (gst_flags_get_first_value):
13915 * gst/glib-compat.h:
13916 * gst/gstregistryxml.c:
13917 remove functions copied from GLib 2.6
13919 2005-11-16 Michael Smith <msmith@fluendo.com>
13922 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13923 do, but only breaks with newer valgrind versions. We're not a
13924 valgrind tool, we have no link-time dependencies on libcoregrind.
13926 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13928 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13930 * gst/gstmessage.h:
13933 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13935 * gst/base/gstbasesrc.c: (gst_base_src_init):
13936 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13937 * gst/gstqueue.c: (gst_queue_init):
13938 * gst/gstregistryxml.c: (load_feature):
13939 Revert all these unrefs, they don't even pass make check !
13941 2005-11-15 Johan Dahlin <johan@gnome.org>
13943 * gst/base/gstbasesrc.c: (gst_base_src_init):
13944 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13945 * gst/gstqueue.c: (gst_queue_init):
13946 Free pad templates, fixes a couple of leaks.
13948 2005-11-15 Daniel Fischer <dan at f3c dot com>
13950 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13952 * gst/gstpad.c: (gst_pad_get_property):
13953 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13954 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13957 2005-11-15 Wim Taymans <wim@fluendo.com>
13962 2005-11-15 Andy Wingo <wingo@pobox.com>
13964 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13966 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13967 using GST_CLOCK_TIME_NONE to disable base time management.
13968 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13969 time if it was NONE before.
13970 (gst_pipeline_change_state): Only munge the base time if
13971 stream_time != GST_CLOCK_TIME_NONE.
13973 * check/gst/gstpipeline.c (test_base_time): Punt around the
13974 problem of the probe not being called, because that's not the
13975 issue I'm looking at. Add a check that setting stream_time to NONE
13976 disables base time management.
13978 2005-11-15 Wim Taymans <wim@fluendo.com>
13980 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13981 segment_stop == -1 at startup.
13983 * gst/base/gstbasetransform.c: (gst_base_transform_event),
13984 (gst_base_transform_change_state):
13985 Init segment values at start.
13987 2005-11-15 Wim Taymans <wim@fluendo.com>
13989 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13990 0 segment values are 0 in any format.
13992 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13993 * gst/base/gstbasetransform.h:
13994 Parse newsegment correctly in basetransform
13996 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13997 Sync to clock using updated segment values.
13999 2005-11-15 Andy Wingo <wingo@pobox.com>
14001 * check/gst/gstpipeline.c (test_base_time): Add check that the
14002 base time and stream time are reset correctly.
14004 2005-11-15 Wim Taymans <wim@fluendo.com>
14006 * docs/design/part-TODO.txt:
14007 Some more TODO items.
14009 2005-11-15 Andy Wingo <wingo@pobox.com>
14011 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14012 error if the user selected "no clock" as the clocking method.
14014 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14015 timestamps with live capture.
14017 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14018 is 0 but we are a live source, timestamp the buffers using the
14021 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14023 * docs/gst/gstreamer-sections.txt:
14025 * gst/gstghostpad.c:
14030 2005-11-14 Wim Taymans <wim@fluendo.com>
14033 add suppressions from Wim's Debian machine
14035 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14038 add suppressions from Andy's AMD64 Ubuntu machine
14040 2005-11-14 Andy Wingo <wingo@pobox.com>
14042 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14043 STATE_LOCK not necessary. Fixes #311489.
14045 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14048 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14049 this function is not implemented.
14051 2005-11-14 Julien MOUTTE <julien@moutte.net>
14053 * gst/base/gstbasetransform.c:
14054 (gst_base_transform_prepare_output_buf):
14055 Ref the source pad caps while we need them.
14058 2005-11-11 Wim Taymans <wim@fluendo.com>
14060 * docs/gst/gstreamer-sections.txt:
14061 Added some docs for GstCollectData.
14063 * gst/base/gstadapter.c:
14064 Some small code example fix.
14066 * gst/base/gstcollectpads.c:
14067 * gst/base/gstcollectpads.h:
14068 Document some more.
14070 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14072 * configure.ac: back to HEAD
14074 === release 0.9.5 ===
14076 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14079 releasing 0.9.5, "Bike Lunch Day"
14081 2005-11-11 Wim Taymans <wim@fluendo.com>
14083 * gst/gstbuffer.c: (_gst_buffer_copy):
14086 * gst/gstcaps.c: (gst_caps_is_equal):
14088 Make _is_equal fast in the trivial cases.
14090 * gst/gstminiobject.c:
14091 * gst/gstminiobject.h:
14092 More docs. Spifify .h file.
14097 2005-11-11 Wim Taymans <wim@fluendo.com>
14099 * gst/base/gstbasetransform.c:
14100 (gst_base_transform_prepare_output_buf),
14101 (gst_base_transform_handle_buffer):
14103 If we're processing a buffer and need to allocate an output
14104 buffer, we cannot accept a format change. If we did get a
14105 format change, we have to alloc a buffer ourselves of the
14108 2005-11-11 Wim Taymans <wim@fluendo.com>
14110 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14111 While checking the flag for reentrancy in the gstcaps function
14112 is nice to detect recursive invocations, it also makes it
14113 impossible to call getcaps from multiple threads, which must be
14114 possible. So, checking for recursive calls has to go.
14116 2005-11-11 Michael Smith <msmith@fluendo.com>
14118 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14119 Don't sync on buffers that fall partially outside our current
14120 segment. Prevents an assertion failure/abort playing some files.
14122 2005-11-10 Andy Wingo <wingo@pobox.com>
14124 * check/gst/gstbin.c (test_message_state_changed_children): Style
14127 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14128 gst_bus_poll with the signal watch. Ensures that poll and a signal
14129 watch see the same messages.
14131 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14132 a poll and a watch at the same time get the same messages.
14134 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14136 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14137 * gst/gstcaps.c: (gst_caps_intersect):
14138 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14139 and it's not needed.
14141 2005-11-10 Wim Taymans <wim@fluendo.com>
14143 * docs/design/part-TODO.txt:
14146 2005-11-10 Wim Taymans <wim@fluendo.com>
14148 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14149 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14150 (gst_base_src_do_sync), (gst_base_src_get_range):
14151 Implement clock sync in base class.
14153 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14155 patch by: Tim-Philipp Müller <tim at centricular dot net>
14157 * gst/gststructure.c: (gst_structure_parse_field),
14158 (gst_structure_from_string):
14159 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14160 so that gst_parse_launch() can deal with spaces in filtered link
14161 caps (fixes #164479)
14162 * check/gst/capslist.h:
14163 * check/gst/gststructure.c: (GST_START_TEST):
14164 add unit tests for this change
14166 2005-11-10 Wim Taymans <wim@fluendo.com>
14168 * docs/gst/gstreamer-sections.txt:
14169 * gst/gstelement.c:
14170 * gst/gstelement.h:
14171 Fix docs, move some STATE macros to private.
14173 2005-11-10 Wim Taymans <wim@fluendo.com>
14175 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14176 Added check for bug #317341
14180 Some more spiffifying.
14182 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14183 Call peer linkfunction if we are a source pad. Totally fixes
14187 Update docs, source pads should call the peer linkfunction
14188 so they can atomically perform the pad link.
14190 2005-11-09 Wim Taymans <wim@fluendo.com>
14194 Uber-spiffy-spiffify some more.
14196 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14198 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14199 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14200 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14201 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14202 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14203 * gst/gstpad.c: (gst_pad_init):
14204 Use GST_DEBUG_FUNCPTR() more extensively.
14206 2005-11-09 Wim Taymans <wim@fluendo.com>
14208 * gst/gstobject.c: (gst_object_class_init):
14210 Documentation fixes.
14212 2005-11-09 Edward Hervey <edward@fluendo.com>
14214 * gst/gsttypefindfactory.c:
14217 2005-11-09 Edward Hervey <edward@fluendo.com>
14219 * gst/base/gsttypefindhelper.c:
14220 * gst/gsttypefind.c:
14221 * gst/gsttypefind.h:
14224 2005-11-09 Wim Taymans <wim@fluendo.com>
14226 * gst/gstiterator.c:
14233 2005-11-09 Wim Taymans <wim@fluendo.com>
14239 2005-11-09 Wim Taymans <wim@fluendo.com>
14241 * docs/gst/gstreamer-sections.txt:
14242 Moved the message async delivery private lock and cond
14243 to the private section.
14245 * gst/gstmessage.c:
14246 * gst/gstmessage.h:
14249 2005-11-09 Edward Hervey <edward@fluendo.com>
14251 * docs/gst/gstreamer-sections.txt:
14254 Document GstURIHandler
14256 2005-11-09 Wim Taymans <wim@fluendo.com>
14258 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14259 (gst_iterator_find_custom):
14260 * gst/gstiterator.h:
14263 2005-11-09 Wim Taymans <wim@fluendo.com>
14266 Document another field.
14268 * gst/gststructure.c:
14269 * gst/gststructure.h:
14272 2005-11-09 Wim Taymans <wim@fluendo.com>
14275 Documented structs.
14277 2005-11-09 Wim Taymans <wim@fluendo.com>
14279 * docs/gst/gstreamer-sections.txt:
14280 Added some new macros.
14287 2005-11-09 Wim Taymans <wim@fluendo.com>
14289 * docs/design/part-TODO.txt:
14290 Some more items for the TODO
14296 2005-11-09 Andy Wingo <wingo@pobox.com>
14298 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14299 to work on something else now tho...
14301 * gst/base/gstadapter.c: More adapter docs.
14303 * gst/elements/gstfilesink.c (gst_file_sink_start)
14304 (gst_file_sink_stop): New functions, replace the state change
14306 (gst_file_sink_class_init): Hook up the start and stop functions.
14307 (gst_file_sink_base_init): Don't set the state change handler any
14308 more. It was a bit ugly too, being set from here...
14309 (gst_file_sink_get_property, gst_file_sink_set_property):
14311 (gst_file_sink_set_location): More robust check that doesn't call
14312 GST_STATE. Ugggggg.
14314 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14316 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14317 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14319 2005-11-08 Wim Taymans <wim@fluendo.com>
14321 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14322 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14323 (gst_base_sink_chain), (gst_base_sink_change_state):
14324 * gst/base/gstbasesink.h:
14325 * gst/base/gstbasesrc.h:
14326 * gst/gstelement.h:
14328 Avoid excessive typechecking in macros.
14330 * gst/gstminiobject.c: (gst_mini_object_get_type),
14331 (gst_mini_object_init), (gst_mini_object_new),
14332 (gst_mini_object_free):
14333 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14334 (gst_object_finalize):
14335 Remove cruft code, optimize alloc_trace.
14337 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14339 * docs/faq/gst-uninstalled:
14340 fix up PS1 for systems that try to reset it
14342 2005-11-07 Wim Taymans <wim@fluendo.com>
14344 * gst/base/gstbasesrc.c: (gst_base_src_init),
14345 (gst_base_src_get_range):
14346 Set the segment_end to -1 initially. Fixed typefind.
14348 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14350 * gst/base/gstadapter.c:
14351 Debug category should be 'adapter', not 'GstAdapter'.
14353 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14354 (gst_collectpads_class_init), (gst_collectpads_init),
14355 (gst_collectpads_peek), (gst_collectpads_pop),
14356 (gst_collectpads_event), (gst_collectpads_chain):
14357 Add debug category and some debugging output. Use boilerplate
14358 macros. Remove some extraneous words from docs.
14360 2005-11-05 Andy Wingo <wingo@pobox.com>
14362 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14365 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14367 * docs/gst/gstreamer-sections.txt:
14370 * gst/gstminiobject.h:
14375 2005-11-04 Wim Taymans <wim@fluendo.com>
14377 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14378 Small update to stop at the configured segment_end
14381 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14383 * gst/gstregistry.c:
14384 * gst/gstregistry.h:
14387 2005-11-04 Edward Hervey <edward@fluendo.com>
14389 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14390 Check if we are doing a segment seek and have arrived at the
14391 end of that segment.
14393 2005-11-04 Wim Taymans <wim@fluendo.com>
14395 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14396 Don't leak a mutex unlock in case of an error.
14401 2005-11-04 Wim Taymans <wim@fluendo.com>
14403 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14405 Get the context to wake up only once.
14407 2005-11-03 Wim Taymans <wim@fluendo.com>
14409 * check/states/sinks.c: (GST_START_TEST):
14410 Uncomment fixed check.
14412 * docs/design/part-TODO.txt:
14415 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14416 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14417 (gst_base_sink_get_position):
14418 If we are going to PLAYING, post the right pending state
14419 when we post the intermediate paused message.
14421 * gst/gstelement.c: (gst_element_continue_state),
14422 (gst_element_set_state_func), (gst_element_change_state):
14423 Don't post state changes that were between the same state
14424 and were not ASYNC.
14426 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14428 * docs/gst/gstreamer-sections.txt:
14431 * gst/gstminiobject.h:
14434 more docs and doc style fixes
14436 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14438 * docs/gst/gstreamer-sections.txt:
14439 * gst/gstelement.c:
14440 * gst/gstminiobject.c:
14443 2005-11-03 Andy Wingo <wingo@pobox.com>
14445 * check/states/sinks.c (test_livesrc_sink): Add checks that the
14446 state-changed messages actually have the right order and the right
14449 2005-11-03 Wim Taymans <wim@fluendo.com>
14451 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14452 Added some more checks. Specifically the case where NO_PREROLL
14453 elements are in the pipeline.
14455 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14456 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14457 (gst_base_sink_get_position):
14458 Post READY->PAUSED state change messages too.
14459 Fix bug where VOID was posted as pending state...
14461 * gst/gstbin.c: (gst_bin_recalc_state):
14462 use _element_continue_state() to continue the state change.
14464 * gst/gstelement.c: (gst_element_continue_state),
14465 (gst_element_commit_state), (gst_element_set_state_func),
14466 (gst_element_change_state), (gst_element_change_state_func):
14467 Lots of state change cleanups, assign the STATE_RETURN in
14468 a new continue_state() function that also propagates the
14469 last return value from a state change to the app.
14470 Update some debug statements with proper category.
14472 2005-11-03 Wim Taymans <wim@fluendo.com>
14474 * docs/design/part-events.txt:
14475 * docs/design/part-gstpipeline.txt:
14476 * docs/design/part-messages.txt:
14477 * docs/design/part-overview.txt:
14478 * docs/design/part-seeking.txt:
14479 * docs/design/part-states.txt:
14480 * docs/design/part-trickmodes.txt:
14481 * docs/manual/advanced-position.xml:
14482 Small docs updates.
14485 People think !! is ugly, this looks better.
14487 * gst/gstpad.c: (gst_pad_set_blocked_async):
14488 Remove !! since it's fixed elsewhere now.
14490 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14492 * gst/gstminiobject.h:
14494 Add !! to _FLAG_IS_SET macros to make the result boolean.
14496 2005-11-03 Edward Hervey <edward@fluendo.com>
14498 * gst/gstpad.c: (gst_pad_set_blocked_async):
14499 comparing a flag and a gboolean rarely returns coherent results...
14500 Added two characters (!!) to make that work correctly.
14502 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14504 * gst/gstbus.c: (gst_bus_class_init):
14507 * gst/gstqueue.c: (gst_queue_loop):
14508 Don't assume a miniobject that isn't a buffer is an
14509 event (it could be that there is a refcounting
14510 problem somewhere and the pointer is stale and
14511 refers to an already destroyed miniobject).
14513 2005-11-03 Julien MOUTTE <julien@moutte.net>
14515 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14517 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14519 * docs/manual/advanced-position.xml:
14520 Update seek example and explanations to current 0.9 API.
14522 * gst/elements/gsttypefindelement.c:
14523 (gst_type_find_element_activate):
14524 Remove FIXME comment now that the found caps
14527 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14529 * gst/gstregistryxml.c: (load_feature):
14530 Add another GST_STR_NULL instance
14532 2005-11-02 Edward Hervey <edward@fluendo.com>
14534 * gst/gstpad.c: (handle_pad_block):
14535 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14537 2005-11-02 Wim Taymans <wim@fluendo.com>
14542 * gst/gstelement.c: (gst_element_commit_state):
14543 Remove unused value.
14545 * gst/gstiterator.c:
14546 Mention that the returned element is reffed in the docs.
14548 2005-11-02 Wim Taymans <wim@fluendo.com>
14550 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14551 (gst_pad_push), (gst_pad_push_event):
14552 Unlock blocked pads when they are flushed.
14554 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14557 * docs/gst/gstreamer-sections.txt:
14560 * gst/gstregistry.c: (gst_registry_scan_path_level):
14561 fix for a nasty little missed situation where an installed plug-in
14562 which was in the cache did not get overridden by an uninstalled one
14563 which was earlier in the plugin path because the newly created plugin
14564 for the uninstalled one (not in the registry) didn't get its
14565 ->registered set to TRUE
14567 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14569 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14570 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14571 (gst_collectpads_is_active), (gst_collectpads_collect),
14572 (gst_collectpads_collect_range), (gst_collectpads_start),
14573 (gst_collectpads_stop), (gst_collectpads_peek),
14574 (gst_collectpads_pop), (gst_collectpads_available),
14575 (gst_collectpads_read), (gst_collectpads_flush):
14576 Guard public API with assertions.
14579 Fix docs for gst_pad_set_link_function().
14581 2005-11-02 Johan Dahlin <johan@gnome.org>
14583 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14584 Unref found_caps after we used it.
14586 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14588 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14589 Don't try to ref NULL.
14591 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14593 * win32/common/config.h.in:
14594 provide a GST_FUNCTION that just gives a string for now
14596 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14598 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14599 (gst_object_flags_get_type), (register_gst_bin_flags),
14600 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14601 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14602 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14603 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14604 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14605 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14606 (gst_clock_flags_get_type), (register_gst_state),
14607 (gst_state_get_type), (register_gst_state_change_return),
14608 (gst_state_change_return_get_type), (register_gst_state_change),
14609 (gst_state_change_get_type), (register_gst_element_flags),
14610 (gst_element_flags_get_type), (register_gst_core_error),
14611 (gst_core_error_get_type), (register_gst_library_error),
14612 (gst_library_error_get_type), (register_gst_resource_error),
14613 (gst_resource_error_get_type), (register_gst_stream_error),
14614 (gst_stream_error_get_type), (register_gst_event_type),
14615 (gst_event_type_get_type), (register_gst_seek_type),
14616 (gst_seek_type_get_type), (register_gst_seek_flags),
14617 (gst_seek_flags_get_type), (register_gst_format),
14618 (gst_format_get_type), (register_gst_index_certainty),
14619 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14620 (gst_index_entry_type_get_type),
14621 (register_gst_index_lookup_method),
14622 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14623 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14624 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14625 (gst_index_flags_get_type), (register_gst_debug_level),
14626 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14627 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14628 (gst_iterator_result_get_type), (register_gst_iterator_item),
14629 (gst_iterator_item_get_type), (register_gst_message_type),
14630 (gst_message_type_get_type), (register_gst_mini_object_flags),
14631 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14632 (gst_pad_link_return_get_type), (register_gst_flow_return),
14633 (gst_flow_return_get_type), (register_gst_activate_mode),
14634 (gst_activate_mode_get_type), (register_gst_pad_direction),
14635 (gst_pad_direction_get_type), (register_gst_pad_flags),
14636 (gst_pad_flags_get_type), (register_gst_pad_presence),
14637 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14638 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14639 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14640 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14641 (gst_plugin_flags_get_type), (register_gst_rank),
14642 (gst_rank_get_type), (register_gst_query_type),
14643 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14644 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14645 (gst_tag_flag_get_type), (register_gst_task_state),
14646 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14647 (gst_alloc_trace_flags_get_type),
14648 (register_gst_type_find_probability),
14649 (gst_type_find_probability_get_type), (register_gst_uri_type),
14650 (gst_uri_type_get_type), (register_gst_parse_error),
14651 (gst_parse_error_get_type):
14652 * win32/common/gstversion.h:
14653 update win32 copies
14655 2005-11-01 Luca Ognibene <luogni@tin.it>
14658 fix docs. popt is dead, long live GOption.
14660 2005-10-31 Wim Taymans <wim@fluendo.com>
14665 2005-10-31 Andy Wingo <wingo@pobox.com>
14669 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14671 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14672 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14673 the possibility of deadlocks here if code calling notify() or
14674 set() has a lock that can be taken in another notify handler (ABBA
14675 with class lock and e.g. python GIL state lock).
14677 2005-10-28 Julien MOUTTE <julien@moutte.net>
14679 * gst/gstbus.c: Doc updates.
14681 2005-10-28 Wim Taymans <wim@fluendo.com>
14683 * docs/design/part-TODO.txt:
14684 * gst/gstiterator.c:
14685 * gst/gstsystemclock.c:
14686 * gst/gstsystemclock.h:
14689 2005-10-28 Edward Hervey <edward@fluendo.com>
14691 * docs/gst/gstreamer-docs.sgml:
14692 * docs/gst/gstreamer-sections.txt:
14693 the GstURIType documentation page is private, it only defines GstURIType
14694 which should be defined in the GstURIHandler page
14696 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14698 * gst/gstbin.c: (gst_bin_class_init):
14701 Documentation updates.
14703 2005-10-28 Wim Taymans <wim@fluendo.com>
14705 * docs/gst/gstreamer-sections.txt:
14708 Documented the clocks.
14710 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14712 * docs/gst/gstreamer-sections.txt:
14713 move some macros to private sections
14714 * gst/gstminiobject.c:
14715 * gst/gstminiobject.h:
14716 add descriptions provided by ds and some more
14718 mark macro as to be removed
14720 2005-10-28 Wim Taymans <wim@fluendo.com>
14722 * docs/design/part-TODO.txt:
14723 Add an item to TODO.
14725 * gst/gstiterator.c: (gst_iterator_fold),
14726 (gst_iterator_find_custom):
14727 * gst/gstiterator.h:
14730 2005-10-28 Wim Taymans <wim@fluendo.com>
14732 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14733 (gst_base_transform_init):
14736 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14737 An EOS event marks the queue as completely filled.
14739 2005-10-27 Wim Taymans <wim@fluendo.com>
14741 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14742 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14743 Some more debugging.
14745 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14746 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14747 (gst_base_transform_event), (gst_base_transform_getrange),
14748 (gst_base_transform_chain):
14749 * gst/base/gstbasetransform.h:
14751 Protect transform and concurrent buffer alloc with a new lock.
14752 Try not to break ABI/API.
14754 2005-10-27 Wim Taymans <wim@fluendo.com>
14756 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14757 (gst_base_src_init), (gst_base_src_query),
14758 (gst_base_src_default_newsegment),
14759 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14760 (gst_base_src_send_event), (gst_base_src_event_handler),
14761 (gst_base_src_pad_get_range), (gst_base_src_loop),
14762 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14763 (gst_base_src_start), (gst_base_src_deactivate),
14764 (gst_base_src_activate_push), (gst_base_src_change_state):
14765 Move some stuff around and cleanup things.
14767 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14769 * gst/base/gstbasesrc.c: (gst_base_src_query):
14770 Add missing break statements.
14772 2005-10-27 Wim Taymans <wim@fluendo.com>
14774 * check/gst/gstbin.c: (GST_START_TEST):
14775 An extra refcount is taken in basesrc.
14777 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14778 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14779 (gst_base_src_loop):
14780 Small cleanups, check for flushing after being unlocked from the
14781 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14782 Don't send out EOS when going to READY.
14784 2005-10-27 Wim Taymans <wim@fluendo.com>
14786 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14787 (gst_base_sink_get_position):
14790 * gst/gstbin.c: (message_check), (bin_replace_message),
14791 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14792 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14793 (bin_query_duration_init), (bin_query_duration_fold),
14794 (bin_query_duration_done), (bin_query_generic_fold),
14796 * tools/gst-launch.c: (main):
14799 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14801 * examples/controller/audio-example.c: (main):
14802 * examples/queue/queue.c: (event_loop):
14803 * gst/base/gstbasetransform.h:
14804 * gst/gstelement.c: (gst_element_send_event):
14806 * gst/gstpad.c: (gst_pad_send_event):
14809 changing log priority in error situations
14811 2005-10-25 Wim Taymans <wim@fluendo.com>
14813 * gst/gstbin.c: (message_check), (bin_replace_message),
14814 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14815 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14816 (bin_query_duration_init), (bin_query_duration_fold),
14817 (bin_query_duration_done), (bin_query_generic_fold),
14819 Some doc and debug updates.
14820 Cache previously requested query DURATION for speed. invalidate
14821 cached duration if element posts a DURATION message.
14823 2005-10-25 Wim Taymans <wim@fluendo.com>
14825 * docs/design/part-TODO.txt:
14828 * gst/gstbin.c: (message_check), (bin_replace_message),
14829 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14830 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14831 (bin_query_duration_init), (bin_query_duration_fold),
14832 (bin_query_duration_done), (bin_query_generic_fold),
14834 Handle SEGMENT_START/DONE messages correctly.
14835 More evolved query algorithm that handles duration queries
14838 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14839 (gst_element_get_state_func), (gst_element_abort_state),
14840 (gst_element_commit_state), (gst_element_lost_state):
14841 Some more debugging.
14843 * gst/gstmessage.h:
14846 2005-10-25 Wim Taymans <wim@fluendo.com>
14848 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14849 Don't use invalid stream_time.
14851 * gst/gstevent.c: (gst_event_new_newsegment):
14852 stream_time in newsegment cannot be undefined.
14854 2005-10-24 Wim Taymans <wim@fluendo.com>
14859 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14861 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14863 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14865 * docs/libs/tmpl/gstdparam.sgml:
14866 * docs/libs/tmpl/gstdplinint.sgml:
14867 * docs/libs/tmpl/gstdpman.sgml:
14868 * docs/libs/tmpl/gstdpsmooth.sgml:
14869 * docs/libs/tmpl/gstunitconvert.sgml:
14872 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14877 === release 0.9.4 ===
14879 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14882 releasing 0.9.4, "Tyrannosaurus Rex"
14884 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14886 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14887 (gst_file_sink_get_current_offset):
14888 Use fseeko() and ftello() if available. When falling back on
14889 lseek() to get the current offset, fflush() first to make sure
14890 everything is up-to-date and we get the right offset.
14892 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14895 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14896 * gst/gsterror.c: (_gst_stream_errors_init):
14898 * gst/gstqueue.c: (gst_queue_loop):
14900 remove prematurely added error category and clean up the instances
14902 2005-10-21 Wim Taymans <wim@fluendo.com>
14904 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14905 (gst_base_sink_get_position), (gst_base_sink_query),
14906 (gst_base_sink_change_state):
14907 Simply set the right flag when going to playing, that's all
14908 we need to do instead of calling a function inside the object
14909 lock (that could take the lock as well and deadlock)
14911 2005-10-21 Wim Taymans <wim@fluendo.com>
14913 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14914 (gst_base_src_loop):
14915 Don't warn, the peer element knows what to do best when
14916 the seek failed, it might try something else.
14918 2005-10-21 Wim Taymans <wim@fluendo.com>
14920 * gst/base/gstbasesrc.c: (gst_base_src_init),
14921 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14924 2005-10-21 Wim Taymans <wim@fluendo.com>
14926 * docs/design/part-segments.txt:
14929 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14930 Correctly set caps, even on the subbufer.
14932 2005-10-21 Wim Taymans <wim@fluendo.com>
14934 * docs/gst/gstreamer-docs.sgml:
14935 * docs/gst/gstreamer-sections.txt:
14936 * gst/gstelement.h:
14939 * gst/gstmessage.h:
14942 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14946 And 2% more doc coverage.
14948 2005-10-21 Andy Wingo <wingo@pobox.com>
14950 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14951 position reporting.
14953 2005-10-20 Wim Taymans <wim@fluendo.com>
14955 * gst/gsterror.c: (gst_error_get_message):
14958 * gst/gststructure.c:
14963 2005-10-20 Wim Taymans <wim@fluendo.com>
14968 Another 1% more coverage.
14970 2005-10-20 Wim Taymans <wim@fluendo.com>
14972 * docs/gst/gstreamer-sections.txt:
14973 * gst/gstelement.c: (gst_element_get_state_func),
14974 (gst_element_abort_state), (gst_element_commit_state),
14975 (gst_element_lost_state):
14977 * gst/gstquery.c: (gst_query_set_position),
14978 (gst_query_parse_position), (gst_query_set_duration),
14979 (gst_query_parse_duration), (gst_query_new_convert):
14981 Yay! 1% more docs coverage.
14983 2005-10-20 Wim Taymans <wim@fluendo.com>
14986 * gst/gstquery.c: (gst_query_set_position),
14987 (gst_query_parse_position), (gst_query_set_duration),
14988 (gst_query_parse_duration), (gst_query_new_convert):
14990 * gst/gstutils.c: (gst_element_query_convert):
14992 Docs and consistency fixes.
14994 2005-10-20 Wim Taymans <wim@fluendo.com>
15000 2005-10-20 Wim Taymans <wim@fluendo.com>
15002 * gst/gstbin.c: (message_check), (bin_replace_message),
15003 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15004 (update_degree), (gst_bin_sort_iterator_next),
15005 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15006 Reworked the message handling a bit, cache the messages instead of
15007 only the senders. alows us to do more in the future.
15009 2005-10-20 Wim Taymans <wim@fluendo.com>
15011 * docs/design/part-TODO.txt:
15014 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15015 (gst_base_sink_query):
15016 Don't use clock time to report position when in EOS.
15018 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15020 * tools/gst-inspect.c: (print_interfaces),
15021 (print_element_properties_info), (print_element_info):
15022 Fix interface output with gst-inspect -a; don't print
15023 newlines after double/float properties.
15025 2005-10-20 Wim Taymans <wim@fluendo.com>
15027 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15028 (gst_base_sink_query):
15029 Speed up current position calculation.
15031 * gst/base/gstbasesrc.c: (gst_base_src_query),
15032 (gst_base_src_default_newsegment):
15033 Correctly set stream position in newsegment.
15035 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15036 (update_degree), (gst_bin_sort_iterator_next),
15037 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15038 * gst/gstmessage.c: (gst_message_new_custom):
15039 Clean up debugging info
15041 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15042 (gst_queue_loop), (gst_queue_handle_src_query):
15045 2005-10-19 Wim Taymans <wim@fluendo.com>
15047 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15048 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15049 Fix query handling again.
15051 2005-10-19 Wim Taymans <wim@fluendo.com>
15053 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15054 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15055 * gst/base/gstbasesrc.c: (gst_base_src_query):
15056 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15057 * gst/elements/gsttypefindelement.c:
15058 (gst_type_find_handle_src_query), (find_element_get_length),
15059 (gst_type_find_element_activate):
15062 * gst/gstquery.c: (gst_query_new_position),
15063 (gst_query_set_position), (gst_query_parse_position),
15064 (gst_query_new_duration), (gst_query_set_duration),
15065 (gst_query_parse_duration), (gst_query_set_segment),
15066 (gst_query_parse_segment):
15068 Bundling query position/duration is not a good idea since duration
15069 does not change much and we don't want to recalculate it for every
15070 position query, so they are separated again..
15071 Base value in segment query is not needed.
15073 * gst/gstqueue.c: (gst_queue_handle_src_query):
15074 * gst/gstutils.c: (gst_element_query_position),
15075 (gst_element_query_duration), (gst_pad_query_position),
15076 (gst_pad_query_duration):
15078 Updates for query API change.
15079 Added some docs here and there.
15081 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15083 * check/gst/gstbin.c: (GST_START_TEST):
15084 * check/gst/gstghostpad.c: (GST_START_TEST):
15085 * check/pipelines/cleanup.c: (GST_START_TEST):
15086 wait on thread to die so we can check refcount correctly
15088 2005-10-18 Wim Taymans <wim@fluendo.com>
15090 * check/pipelines/stress.c: (GST_START_TEST):
15091 Make check a little more time consuming.
15093 2005-10-18 Wim Taymans <wim@fluendo.com>
15095 * check/Makefile.am:
15096 * check/pipelines/stress.c: (GST_START_TEST),
15097 (simple_launch_lines_suite), (main):
15098 Small state change torture test.
15100 * docs/design/part-states.txt:
15101 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15102 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15103 (gst_base_sink_change_state):
15104 Never take state lock from streaming thread, clean up ugly
15105 hacks. Unfortunatly core does not yet support nice ways to
15106 async commit state.
15108 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15110 Start state recalc if a STATE_DIRTY message is posted, but only
15111 on the toplevel bin.
15113 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15114 (gst_element_get_state_func), (gst_element_abort_state),
15115 (gst_element_commit_state), (gst_element_lost_state),
15116 (gst_element_set_state_func), (gst_element_change_state):
15117 * gst/gstelement.h:
15118 State variables are now protected with the LOCK, the state
15119 lock is only used to serialize _set_state().
15121 2005-10-18 Wim Taymans <wim@fluendo.com>
15123 * check/gst/gstbin.c: (GST_START_TEST):
15124 * check/gst/gstmessage.c: (GST_START_TEST):
15125 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15126 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15128 * gst/gstelement.c: (gst_element_abort_state),
15129 (gst_element_commit_state), (gst_element_lost_state):
15130 * gst/gstmessage.c: (gst_message_new_state_changed),
15131 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15132 (gst_message_new_segment_done), (gst_message_new_duration),
15133 (gst_message_parse_state_changed),
15134 (gst_message_parse_segment_start),
15135 (gst_message_parse_segment_done), (gst_message_parse_duration):
15136 * gst/gstmessage.h:
15137 * tools/gst-launch.c: (event_loop):
15138 Seriously, this is better than a previous commit as we only need
15139 to notify the fact that an element changed state in a streaming
15140 thread, marking the state of the parents dirty, hence the
15141 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15144 2005-10-18 Wim Taymans <wim@fluendo.com>
15146 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15147 (gst_bin_recalc_func):
15148 * gst/gstelement.c: (gst_element_set_clock),
15149 (gst_element_abort_state), (gst_element_lost_state):
15150 Cleanups, prepare for state change fixes.
15152 2005-10-18 Wim Taymans <wim@fluendo.com>
15155 * gst/gstelement.c: (gst_element_class_init),
15156 (gst_element_set_state), (gst_element_set_state_func):
15157 * gst/gstelement.h:
15158 Pending ABI changes.
15159 GThreadPool in GstBinClass to monitor async state changes.
15160 state_cookie in GstElement to detect concurrent gst/set state.
15161 set_state is now virtual too in case a very complicated element
15162 has to be constructed.
15164 2005-10-18 Wim Taymans <wim@fluendo.com>
15166 * check/gst/gstbin.c: (GST_START_TEST):
15167 * check/gst/gstmessage.c: (GST_START_TEST):
15168 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15169 * gst/gstbin.c: (bin_bus_handler):
15170 * gst/gstelement.c: (gst_element_commit_state),
15171 (gst_element_lost_state):
15172 * gst/gstmessage.c: (gst_message_new_state_changed),
15173 (gst_message_new_segment_start), (gst_message_new_segment_done),
15174 (gst_message_new_duration), (gst_message_parse_state_changed),
15175 (gst_message_parse_segment_start),
15176 (gst_message_parse_segment_done), (gst_message_parse_duration):
15177 * gst/gstmessage.h:
15178 * tools/gst-launch.c: (event_loop):
15179 Make messages future proof.
15180 state-change gets a flag if it was a message comming from the
15182 segment-start/stop can also be specified in other formats.
15183 A message to notify an app that a pipeline changed playback
15185 Also fix a GstMessage leak in -launch
15187 2005-10-18 Andy Wingo <wingo@pobox.com>
15189 * gst/gstelement.c (gst_element_dispose): More helpful message.
15191 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15193 reviewed by: <delete if not using a buddy>
15195 * common/gtk-doc.mak:
15197 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15199 * gst/gstregistry.c: (gst_registry_scan_path_level):
15200 unref a plug-in we get that was already initialized
15202 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15204 * docs/gst/gstreamer-sections.txt:
15205 * docs/libs/gstreamer-libs-sections.txt:
15206 * gst/gstelement.h:
15207 add new api entries
15208 hide internal macro
15210 2005-10-17 Andy Wingo <wingo@pobox.com>
15212 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15215 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15217 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15219 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15220 (gst_element_get_state_func): Better debug message.
15221 (gst_element_commit_state): s/INFO/DEBUG/.
15222 (gst_element_lost_state, gst_element_change_state):
15224 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15225 (gst_message_new_custom): s/INFO/LOG/.
15227 2005-10-17 Michael Smith <msmith@fluendo.com>
15229 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15230 Check if end time is valid using end time, not start time.
15232 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15234 * check/gst-libs/controller.c: (GST_START_TEST),
15235 (gst_controller_suite):
15236 * libs/gst/controller/gstcontroller.c:
15237 (gst_controlled_property_set_interpolation_mode):
15238 * libs/gst/controller/gstcontroller.h:
15239 * libs/gst/controller/gstinterpolation.c:
15240 * testsuite/controller/.cvsignore:
15241 * testsuite/controller/Makefile.am:
15242 * testsuite/controller/interpolator.c:
15243 merge controller testsuites
15245 remove mem-chunk from docs
15247 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15249 * gst/gstmemchunk.c:
15250 * gst/gstmemchunk.h:
15251 * gst/gsttrashstack.c:
15252 * gst/gsttrashstack.h:
15253 out. get out. you're fired. to the Attic !
15255 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15257 * gst/gstcaps.c: (gst_caps_intersect):
15258 fix signedness issues in a (hopefully) correct way
15259 * gst/gstelement.c: (gst_element_pads_activate):
15261 * gst/gstobject.c: (gst_object_set_parent):
15264 2005-10-17 Julien MOUTTE <julien@moutte.net>
15266 * gst/gstvalue.h: Fix prototypes.
15268 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15270 * docs/gst/gstreamer-sections.txt:
15271 * gst/gst.c: (gst_version_string):
15273 * gst/gstversion.h.in:
15274 * win32/common/libgstreamer.def:
15275 add gst_version_string ()
15277 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15281 * gst/gst.c: (init_post):
15282 * win32/common/config.h.in:
15284 * gst/gstcaps.c: (gst_caps_intersect):
15285 use gint64, the range could be bigger than a guint
15287 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15290 document potential problem in 2038
15292 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15294 * gst/gstcaps.c: (gst_caps_intersect):
15295 Fix guint j diving under 0
15297 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15300 * win32/common/config.h:
15301 * win32/common/config.h.in:
15302 check for process.h, declares getpid() on Windows
15304 include process.h if we have it
15305 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15306 * gst/gstmemchunk.h:
15307 fix signedness issues
15308 * win32/common/libgstreamer.def:
15311 2005-10-16 Julien MOUTTE <julien@moutte.net>
15313 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15314 fix. Because of unsigned ints, caps intersection was going nuts and
15315 trying to access structures with G_MAXUINT index. That fixes
15316 videotestsrc ! ffmpegcolorspace ! fakesink
15317 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15320 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15323 use the gettext macro
15324 * gst/elements/gstelements.c:
15326 * gst/indexers/gstindexers.c:
15327 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15328 * win32/common/config.h:
15330 * win32/common/config.h.in:
15331 add the template to generate config.h
15332 * win32/common/gstenumtypes.c:
15333 * win32/common/gstversion.h:
15336 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15338 * gst/gst.c: (gst_version):
15339 * gst/gstversion.h.in:
15342 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15345 Oops, add missing closing bracket.
15347 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15350 use common m4's for argument checking
15352 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15354 * docs/gst/gstreamer-sections.txt:
15356 Add GST_EVENT_TYPE_NAME() macro.
15358 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15361 * gst/gstpluginfeature.c:
15363 privatize more symbols
15365 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15368 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15369 everything that uses GStreamer API should have the includes
15371 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15373 * docs/gst/gstreamer-sections.txt:
15374 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15376 give each value a _get_type, removes the DATA exports
15378 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15382 remove _gst_registry_auto_load, not used anymore
15383 * gst/gstbin.c: (gst_bin_get_type):
15385 * gst/gstelement.c: (gst_element_get_type):
15386 * gst/gstelement.h:
15387 * gst/gstobject.c: (gst_object_get_type):
15389 * gst/gstpad.c: (gst_pad_get_type):
15391 make _get_type functions similar, fixes data export from library
15393 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15396 correctly make conditionals
15397 * gst/elements/Makefile.am:
15398 * gst/elements/gstelements.c:
15399 fix typo causing fdsrc not to build
15401 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15403 * testsuite/Makefile.am:
15404 * testsuite/bytestream/.cvsignore:
15405 * testsuite/bytestream/Makefile.am:
15406 * testsuite/bytestream/filepadsink.c:
15407 * testsuite/bytestream/gstbstest.c:
15408 * testsuite/bytestream/test1.c:
15409 * testsuite/bytestream/testfile1:
15410 * testsuite/caps/normalisation.c:
15411 * testsuite/caps/random.c: (main):
15412 * testsuite/cleanup/.cvsignore:
15413 * testsuite/cleanup/Makefile.am:
15414 * testsuite/cleanup/cleanup1.c:
15415 * testsuite/cleanup/cleanup2.c:
15416 * testsuite/cleanup/cleanup3.c:
15417 * testsuite/cleanup/cleanup4.c:
15418 * testsuite/cleanup/cleanup5.c:
15419 * testsuite/controller/interpolator.c:
15420 * testsuite/debug/printf_extension.c: (main):
15421 * testsuite/elements/tee.c:
15422 * testsuite/negotiation/.cvsignore:
15423 * testsuite/negotiation/Makefile.am:
15424 * testsuite/negotiation/pad_link.c:
15425 * testsuite/pad/Makefile.am:
15426 * testsuite/pad/chainnopull.c:
15427 * testsuite/pad/getnopush.c:
15428 * testsuite/pad/link.c:
15429 * testsuite/refcounting/sched.c: (create_pipeline):
15430 * testsuite/registry/Makefile.am:
15431 * testsuite/registry/gst-print-formats.c:
15432 * testsuite/schedulers/.cvsignore:
15433 * testsuite/schedulers/142183-2.c:
15434 * testsuite/schedulers/142183.c:
15435 * testsuite/schedulers/143777-2.c:
15436 * testsuite/schedulers/143777.c:
15437 * testsuite/schedulers/147713.c:
15438 * testsuite/schedulers/147819.c:
15439 * testsuite/schedulers/147894-2.c:
15440 * testsuite/schedulers/147894.c:
15441 * testsuite/schedulers/Makefile.am:
15442 * testsuite/schedulers/group_link.c:
15443 * testsuite/schedulers/queue_link.c:
15444 * testsuite/schedulers/relink.c:
15445 * testsuite/schedulers/unlink.c:
15446 * testsuite/schedulers/unref.c:
15447 * testsuite/schedulers/useless_iteration.c:
15448 * testsuite/states/bin.c:
15449 clean out/remove some stuff from the testsuite directories
15451 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15454 check for some headers
15455 * gst/elements/Makefile.am:
15456 * gst/elements/gstelements.c:
15457 don't compile fdsrc without sys/socket.h
15458 * gst/indexers/Makefile.am:
15459 * gst/indexers/gstindexers.c: (plugin_init):
15460 don't compile fileindex without mmap
15462 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15469 * check/Makefile.am:
15470 * docs/gst/Makefile.am:
15471 * examples/helloworld/Makefile.am:
15473 * gst/base/Makefile.am:
15474 * gst/check/Makefile.am:
15475 * gst/elements/Makefile.am:
15476 * gst/indexers/Makefile.am:
15477 * gst/parse/Makefile.am:
15478 * libs/gst/controller/Makefile.am:
15479 * libs/gst/dataprotocol/Makefile.am:
15480 * examples/helloworld/helloworld.c: (event_loop):
15481 compile fixes, though it's not being compiled currently
15483 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15485 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15486 Add some simple tests for the new taglist date API.
15488 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15490 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15491 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15492 Beautify 'last-message' output: print 'none' for buffer timestamps
15493 and durations if none is set; improve alignment with next messages.
15495 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15497 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15498 * gst/gstpluginfeature.h:
15499 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15500 * gst/gstregistry.h:
15501 * docs/gst/gstreamer-sections.txt:
15502 Add new API to check plugin feature version requirements.
15504 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15505 Some basic tests for the above.
15507 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15509 * gst/gststructure.c: (gst_structure_to_string):
15510 guard against NULL printf - happens when for example
15511 a message structure with GstClock gets serialized
15513 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15515 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15516 Fix presumable copy'n'pasto.
15518 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15520 * gst/elements/gstfakesrc.h:
15521 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15522 * gst/elements/gsttypefindelement.c:
15523 fix some signedness
15524 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15525 I wonder if this could actually write +2GB files before
15527 2005-10-13 Andy Wingo <wingo@pobox.com>
15529 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15530 Fix Timmeke Waymans bug.
15531 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15532 string of the proper length to gst_caps_from_string. There's a
15533 potential for, before this fix, that this could cause someone
15534 connecting over the network to cause a segfault if the payload is
15535 not NUL-terminated.
15537 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15539 * docs/design/draft-push-pull.txt:
15540 * docs/design/part-overview.txt:
15541 * docs/random/TODO-pre-0.9:
15542 * docs/random/old/ChangeLog.gstreamer:
15543 * gst/base/gstpushsrc.c:
15547 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15549 * gst/glib-compat.c: (gst_flags_get_first_value):
15550 * gst/glib-compat.h:
15551 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15552 (gst_value_compare_double), (gst_value_serialize_flags):
15553 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15556 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15559 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15561 * tools/gst-launch.c: (event_loop):
15562 print out clock nicely
15564 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15566 * docs/gst/gstreamer-sections.txt:
15567 * gst/gsttaglist.h:
15568 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15569 (gst_tag_list_get_date_index):
15570 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15571 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15573 2005-10-13 Julien MOUTTE <julien@moutte.net>
15575 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15576 (gst_collectpads_chain):
15577 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15580 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15582 * docs/gst/gstreamer-sections.txt:
15585 * tools/gst-inspect.c: (main):
15586 * tools/gst-launch.c: (main):
15587 * tools/gst-run.c: (main):
15588 * tools/gst-xmlinspect.c: (main):
15589 fix GOption context leaks
15592 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15596 * win32/common/config.h:
15598 * win32/vs6/grammar.dsp:
15599 * win32/vs6/libgstelements.dsp:
15600 * win32/vs6/libgstreamer.dsp:
15603 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15605 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15606 * gst/base/gstbasesrc.c: (gst_base_src_query):
15607 fix more guint64<->gdouble conversions
15609 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15612 add win32-update target
15613 * win32/common/gstconfig.h:
15614 * win32/common/gstenumtypes.c:
15615 * win32/common/gstenumtypes.h:
15616 * win32/common/gstversion.h:
15617 add files that visual studio can't generate
15619 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15622 add a win32-update target
15625 2005-10-12 Wim Taymans <wim@fluendo.com>
15627 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15628 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15629 * gst/gstelement.c: (gst_element_commit_state),
15630 (gst_element_set_state):
15631 Protect flags with proper lock.
15632 unref provided cached clock in dispose.
15634 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15637 * gst/gstminiobject.h:
15639 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15640 removed unused flags from miniobject
15643 2005-10-12 Wim Taymans <wim@fluendo.com>
15645 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15646 (gst_file_sink_event), (gst_file_sink_render):
15647 Flush before seeking.
15649 2005-10-12 Andy Wingo <wingo@pobox.com>
15651 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15652 always been the case.
15654 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15656 * check/gst/gstbin.c: (GST_START_TEST):
15657 * docs/gst/gstreamer-sections.txt:
15658 * gst/base/gstbasesink.c: (gst_base_sink_init):
15659 * gst/base/gstbasesrc.c: (gst_base_src_init),
15660 (gst_base_src_get_range), (gst_base_src_check_get_range),
15661 (gst_base_src_start), (gst_base_src_stop):
15662 * gst/base/gstbasesrc.h:
15663 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15664 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15665 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15669 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15671 * gst/gstelement.c: (gst_element_is_locked_state),
15672 (gst_element_set_locked_state), (gst_element_commit_state),
15673 (gst_element_set_state):
15674 * gst/gstelement.h:
15675 * gst/gstindex.c: (gst_index_init):
15677 * gst/gstminiobject.h:
15678 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15679 (gst_object_set_parent):
15681 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15682 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15684 * gst/gstpadtemplate.h:
15685 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15686 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15687 * gst/gstpipeline.h:
15688 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15689 (gst_file_index_commit):
15690 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15691 * testsuite/pad/link.c: (gst_test_src_init),
15692 (gst_test_filter_init), (gst_test_sink_init):
15693 * testsuite/states/locked.c: (main):
15694 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15695 moved bitshift from macro to enum definition
15697 2005-10-12 Wim Taymans <wim@fluendo.com>
15699 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15700 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15701 (gst_file_sink_render):
15702 Some more debugging info.
15704 2005-10-12 Wim Taymans <wim@fluendo.com>
15706 * docs/design/part-states.txt:
15707 * tools/gst-launch.c: (main):
15709 Revert non-intentional change.
15711 2005-10-12 Wim Taymans <wim@fluendo.com>
15713 * check/gst/gstbin.c: (GST_START_TEST):
15714 * check/gst/gstelement.c: (GST_START_TEST):
15715 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15716 * check/gst/gstghostpad.c: (GST_START_TEST):
15717 * check/gst/gstpipeline.c: (GST_START_TEST):
15718 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15719 * check/states/sinks.c: (GST_START_TEST):
15720 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15721 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15722 (gst_bin_remove_func), (gst_bin_get_state_func),
15723 (gst_bin_recalc_state), (gst_bin_change_state_func),
15725 * gst/gstelement.c: (gst_element_get_state_func),
15726 (gst_element_get_state), (gst_element_abort_state),
15727 (gst_element_commit_state), (gst_element_set_state),
15728 (gst_element_change_state), (gst_element_change_state_func):
15729 * gst/gstelement.h:
15730 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15731 (gst_pipeline_provide_clock_func):
15732 * gst/gstutils.c: (gst_element_link_pads_filtered):
15733 * tools/gst-launch.c: (main):
15734 * tools/gst-typefind.c: (main):
15735 Use GstClockTime in _get_state() instead of GTimeVal.
15736 Remove old code in gstutils.c
15738 2005-10-12 Andy Wingo <wingo@pobox.com>
15740 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15743 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15744 there is no task. Shouldn't affect any code, as nothing in our
15745 plugins checks this return value.
15746 (gst_pad_stop_task): Also take the stream lock if the pad has no
15747 task. Docs updated.
15749 2005-10-12 Wim Taymans <wim@fluendo.com>
15751 * gst/gstpad.c: (pre_activate), (post_activate),
15752 (gst_pad_activate_pull), (gst_pad_activate_push):
15753 Cleanup activation code. Reset old state if
15756 2005-10-12 Wim Taymans <wim@fluendo.com>
15758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15759 (gst_base_sink_change_state):
15760 No need to prerol after receiving EOS.
15762 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15763 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15764 * gst/elements/gstidentity.c: (gst_identity_event):
15765 Print events more verbosely.
15767 2005-10-12 Wim Taymans <wim@fluendo.com>
15769 * check/Makefile.am:
15770 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15771 * check/states/sinks2.c:
15772 Moved sinks2 testcode in sinks check.
15774 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15775 (gst_bin_remove_func), (gst_bin_recalc_state),
15776 (gst_bin_change_state_func), (bin_bus_handler):
15777 Fix potential race condition when _get_state() iterated over an
15778 ASYNC element right before it posted a state completion.
15781 Do proper cast here.
15783 * gst/gstevent.c: (gst_event_new_newsegment),
15784 (gst_event_parse_newsegment):
15785 A playback rate of 0.0 is not allowed.
15787 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15789 * win32/common/config.h:
15790 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15791 (_trewinddir), (_ttelldir), (_tseekdir):
15792 * win32/common/dirent.h:
15793 * win32/common/gtchar.h:
15794 * win32/common/libgstbase.def:
15795 * win32/common/libgstreamer.def:
15796 * win32/vs6/grammar.dsp:
15797 * win32/vs6/gst_inspect.dsp:
15798 * win32/vs6/gst_launch.dsp:
15799 * win32/vs6/gstreamer.dsw:
15800 * win32/vs6/libgstbase.dsp:
15801 * win32/vs6/libgstelements.dsp:
15802 * win32/vs6/libgstreamer.dsp:
15803 Visual Studio 6 project files, and a new common directory.
15806 2005-10-11 Wim Taymans <wim@fluendo.com>
15808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15809 (gst_base_sink_do_sync), (gst_base_sink_query),
15810 (gst_base_sink_change_state):
15811 * gst/base/gstbasesink.h:
15812 Correctly parse newsegment info.
15814 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15816 * gst/gst.c: (init_post):
15817 split plugin paths correctly
15819 2005-10-11 Wim Taymans <wim@fluendo.com>
15821 * check/gst/gstevent.c: (GST_START_TEST):
15822 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15823 (gst_base_sink_change_state):
15824 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15825 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15826 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15827 * gst/gstevent.c: (gst_event_new_newsegment),
15828 (gst_event_parse_newsegment):
15830 Added extra flag to newsegment for future API freeze.
15831 Updated check and base elements.
15833 2005-10-11 Julien MOUTTE <julien@moutte.net>
15835 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15836 (gst_collectpads_add_pad), (gst_collectpads_pop),
15837 (gst_collectpads_event), (gst_collectpads_chain):
15838 * gst/base/gstcollectpads.h: Handle EOS correctly.
15840 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15842 * tools/gst-launch.c: (main):
15843 more null protecting
15845 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15847 * gst/gst-i18n-lib.h:
15848 check for ENABLE_NLS, not GETTEXT_PACKAGE
15849 * gst/gstregistry.c: (gst_registry_add_plugin),
15850 (gst_registry_scan_path_level),
15851 (_gst_registry_remove_cache_plugins):
15852 protect possibly NULL strings
15853 * gst/parse/types.h:
15854 config.h already included before
15855 * tools/gst-inspect.c: (main):
15856 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15857 check for ENABLE_NLS, not GETTEXT_PACKAGE
15858 * tools/gst-launch.c: (main):
15859 check for ENABLE_NLS, not GETTEXT_PACKAGE
15861 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15864 if we don't have glib, fail before testing 2.8
15865 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15866 fix a leak, should fix plugins-base testsuite
15868 2005-10-11 Andy Wingo <wingo@pobox.com>
15870 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15871 take the mode we're going to as an arg. Go head and set the mode
15872 and flushing flags now, so that if the activate function starts a
15873 thread all the flags will be in the right state.
15874 (post_activate): Renamed also. Just handle making sure streaming
15875 finishes for the deactivation case, and setting the deactivated
15877 (gst_pad_set_active): Complain loudly if deactivation fails.
15878 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15879 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15880 remove the terrible hack.
15882 2005-10-11 Wim Taymans <wim@fluendo.com>
15884 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15885 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15886 (gst_bin_recalc_state), (gst_bin_change_state_func),
15887 (gst_bin_dispose), (bin_bus_handler):
15889 Prepare to make current EOS message queue more generic.
15892 * gst/gstevent.c: (gst_event_new_newsegment),
15893 (gst_event_parse_newsegment):
15895 Rename base to stream_time.
15897 * gst/gstmessage.h:
15900 2005-10-11 Wim Taymans <wim@fluendo.com>
15902 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15903 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15904 (gst_bin_change_state_func), (bin_bus_handler):
15906 Work on proper clock selection.
15908 2005-10-11 Edward Hervey <edward@fluendo.com>
15910 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15911 * libs/gst/controller/gstcontroller.h:
15912 Added GList* version of _remove_properties() in order to be able to wrap
15915 2005-10-11 Wim Taymans <wim@fluendo.com>
15917 * docs/design/part-states.txt:
15920 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15921 (gst_bin_change_state_func), (bin_bus_handler):
15922 Doc updates. Don't distribute the same clock over and over again.
15928 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15929 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15930 (gst_pad_send_event):
15932 Make probe emission threadsafe again.
15933 Register quarks and move _get_name() from utils.
15936 * gst/gstpipeline.c: (gst_pipeline_class_init),
15937 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15938 Only redistribute the clock of it changed.
15940 * gst/gstsystemclock.h:
15945 Moved the _flow_get_name() to GstPad.
15947 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15949 * check/gst-libs/gdp.c: (GST_START_TEST):
15950 * check/gst/gstcaps.c: (GST_START_TEST):
15951 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15952 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15953 (gst_dp_packet_from_caps):
15954 fix more valgrind warnings before turning up the heat
15956 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15958 * gst/parse/grammar.y:
15959 some cleanup before the hacking
15961 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15963 * gst/base/gstbasesrc.c: (gst_base_src_query):
15965 * gst/gstutils.c: (gst_guint64_to_gdouble),
15966 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15968 externalize, basesrc uses it
15969 obviously the implementation needs testing
15971 2005-10-10 Wim Taymans <wim@fluendo.com>
15973 * tests/sched/Makefile.am:
15974 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15975 (make_pipeline3), (make_pipeline4), (print_elem), (main):
15977 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15979 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15980 apparently converting from guint64 to double is not implemented
15983 2005-10-10 Wim Taymans <wim@fluendo.com>
15985 * check/Makefile.am:
15986 * check/generic/states.c: (GST_START_TEST):
15987 * check/gst/gstbin.c: (GST_START_TEST):
15988 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15989 * check/states/sinks.c: (GST_START_TEST):
15990 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15992 Check fixes, use API as stated in design docs, remove hacks.
15994 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15995 (gst_base_sink_change_state):
15996 Catch stopping our task while we're shutting down.
15998 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15999 (gst_bin_remove_func), (gst_bin_get_state_func),
16000 (gst_bin_recalc_state), (gst_bin_change_state_func),
16003 * gst/gstelement.c: (gst_element_init),
16004 (gst_element_get_state_func), (gst_element_abort_state),
16005 (gst_element_commit_state), (gst_element_lost_state),
16006 (gst_element_set_state), (gst_element_change_state),
16007 (gst_element_change_state_func):
16008 * gst/gstelement.h:
16009 New state change algorithm (see #318116)
16011 * gst/gstpipeline.c: (gst_pipeline_class_init),
16012 (gst_pipeline_init), (gst_pipeline_set_property),
16013 (gst_pipeline_get_property), (do_pipeline_seek),
16014 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16015 * gst/gstpipeline.h:
16016 Remove crude state change hacks.
16019 Remove crude hacks.
16021 * tools/gst-launch.c: (main):
16022 Fixes for state change. Needs some more work to fully use the
16025 2005-10-10 Andy Wingo <wingo@pobox.com>
16027 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16029 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16030 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16033 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16035 * gst/gstiterator.c: (gst_iterator_new):
16036 Fix my previous commit: GTypes passed to gst_iterator_new()
16037 can be fundamental types.
16039 2005-10-10 Wim Taymans <wim@fluendo.com>
16041 * gst/gstelement.c: (gst_element_iterate_pad_list),
16042 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16043 (gst_element_iterate_sink_pads):
16044 Use src/sink pads lists for the respective iterators instead
16047 2005-10-10 Andy Wingo <wingo@pobox.com>
16049 Merged in popt removal + GOption addition patch from Ronald, bug
16052 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16053 GstElement macros around, remove popt-related symbols, add goption
16056 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16058 * docs/gst/Makefile.am:
16059 * docs/libs/Makefile.am: No POPT_CFLAGS.
16061 * examples/manual/Makefile.am:
16062 * docs/manual/basics-init.xml: Doc updates with an example.
16064 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16065 (gst_init), (parse_one_option), (parse_goption_arg):
16066 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16067 bit of hand merging and debugging to get the GOption stuff working
16070 * tests/Makefile.am:
16071 * tools/Makefile.am:
16072 * tools/gst-inspect.c: (main):
16073 * tools/gst-launch.c: (main):
16074 * tools/gst-run.c: (main):
16075 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16077 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16079 * gst/gstiterator.c: (gst_iterator_new):
16080 Add assertions to make sure passed GType is likely to really
16081 be a GType (as the compiler won't catch it if the size and
16082 GType arguments get mixed up, see #318447).
16084 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16086 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16088 * gst/gstbin.c: (gst_bin_iterate_sorted):
16089 Pass GType and size arguments to gst_iterator_new() in the right
16090 order (maybe we should make _new() take the GType as first argument
16091 just like _new_list()?) (#318447).
16094 2005-10-10 Wim Taymans <wim@fluendo.com>
16096 * gst/gstelement.c: (gst_element_finalize):
16097 And free the GStaticRecMutex too
16099 2005-10-10 Andy Wingo <wingo@pobox.com>
16101 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16102 Allocate and free the mutex properly.
16104 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16106 (GstElement): The state_lock is now recursive. Rebuild your
16107 plugins, suckers. Old macros adapted.
16109 * docs/gst/gstreamer-sections.txt: Doc updates.
16112 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16113 (g_static_rec_cond_wait): Ported from state changes patch, while
16114 we wait on bug #317802 to be solved in a well-distributed GLib.
16116 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16117 gst_element_change_state, variable name changes.
16118 (gst_element_change_state): Split out of gst_element_set_state in
16119 preparation for the state change merge. Doesn't pay attention to
16120 the 'transition' argument.
16121 (gst_element_set_state): Updates, hopefully purely cosmetic.
16122 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16123 state change patch.
16124 (gst_element_get_state_func): Renamed from get_state, cosmetic
16127 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16129 * gst/elements/gstelements.c:
16130 * win32/GStreamer.vcproj:
16132 * win32/dirent.c: (_tseekdir):
16133 * win32/gst-inspect.vcproj:
16134 * win32/gst-launch.vcproj:
16135 * win32/gstconfig.h:
16136 * win32/gstelements.vcproj:
16137 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16138 * win32/gstreamer.def:
16139 * win32/msvc71.sln:
16140 updates for the win32 build (patch from Sebastien Moutte)
16142 2005-10-10 Andy Wingo <wingo@pobox.com>
16144 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16145 gst_bin_get_state, cleaned up (but no logic changes).
16146 (bin_element_is_sink): Comment updates.
16147 (sink_iterator_filter): Remove needless cast.
16148 (gst_bin_iterate_sinks): Doc update.
16149 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16150 cleaned up (but no logic changes).
16152 * check/states/sinks.c (test_src_sink): Cleanups from the state
16154 (test_livesrc_sink): Sync on the state.
16156 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16157 the state change patch.
16159 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16162 * check/gst/gstbin.c: Merge in some style fixes and additional
16163 checks from Wim's state change patch.
16165 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16167 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16168 (gst_type_find_helper):
16169 Check whether we have the requested data already in our list of
16170 cached buffers before pulling a new buffer; also make the buffer
16171 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16173 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16178 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16179 don't use long long, it's not portable. Replacing with
16180 gint64 seems to work; let's hope no skeletons fall out of the closet.
16182 2005-10-10 Andy Wingo <wingo@pobox.com>
16184 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16186 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16188 * docs/gst/gstreamer-sections.txt:
16193 * gst/gstmessage.c: (gst_message_parse_state_changed):
16196 more docs, fix compilation
16198 2005-10-09 Philippe Khalaf <burger@speedy.org>
16199 * gst/gstmessage.c:
16200 Fixed a few forgotten variables on previous commit
16202 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16204 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16205 Fix evil typefind crasher: getrange() might return a short
16206 buffer at the end of a file, but gst_type_find_peek() must
16207 either return the full data as requested or NULL, but
16208 never a short buffer.
16210 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16212 * gst/gstmessage.c: (gst_message_new_state_changed),
16213 (gst_message_parse_state_changed):
16214 * gst/gstmessage.h:
16215 don't use "new", it's a C++ keyword
16217 2005-10-08 Wim Taymans <wim@fluendo.com>
16219 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16220 * gst/gstelement.c: (gst_element_post_message):
16221 * gst/gstpipeline.c: (gst_pipeline_change_state):
16222 Small docs and debug updates.
16224 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16226 * docs/gst/gstreamer-sections.txt:
16227 * gst/gstelementfactory.c:
16229 * gst/gsttaglist.c:
16232 2005-10-08 Wim Taymans <wim@fluendo.com>
16234 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16235 (gst_bin_dispose), (bin_bus_handler):
16236 Fix typos, add comments.
16237 Clear EOS list when going to PAUSED from any direction and do it
16238 in a threadsafe way.
16239 Get base time in a threadsafe way too.
16240 Fix confusing debug in the change_state function.
16241 Various other small cleanups.
16243 * gst/gstelement.c: (gst_element_post_message):
16244 Fix very verbose bus posting code.
16246 * gst/gstpipeline.c: (gst_pipeline_class_init),
16247 (gst_pipeline_set_property), (gst_pipeline_get_property),
16248 (gst_pipeline_change_state):
16249 Small ARG_ -> PROP_ cleanup
16251 2005-10-08 Wim Taymans <wim@fluendo.com>
16253 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16254 Do a less CPU demanding EOS check because we can.
16256 2005-10-08 Wim Taymans <wim@fluendo.com>
16258 * libs/gst/dataprotocol/dataprotocol.c:
16259 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16260 (gst_dp_packet_from_event):
16261 * libs/gst/dataprotocol/dataprotocol.h:
16262 * libs/gst/dataprotocol/dp-private.h:
16263 It's about time we bump the version number.
16264 Since event types don't fit in the guint8 anymore describing
16265 the payload type, make payload type 16 bits wide.
16267 2005-10-08 Wim Taymans <wim@fluendo.com>
16269 * docs/design/part-TODO.txt:
16270 * docs/design/part-clocks.txt:
16271 * docs/design/part-events.txt:
16272 * docs/design/part-gstbin.txt:
16273 * docs/design/part-gstelement.txt:
16274 * docs/design/part-gstpipeline.txt:
16275 * docs/design/part-live-source.txt:
16276 * docs/design/part-messages.txt:
16277 * docs/design/part-overview.txt:
16278 * docs/design/part-states.txt:
16281 2005-10-08 Wim Taymans <wim@fluendo.com>
16285 Fix event quark registration.
16286 Add some space between events so we can insert them in the
16289 2005-10-08 Wim Taymans <wim@fluendo.com>
16291 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16292 (gst_base_sink_handle_buffer):
16293 Better log message.
16296 * gst/gstelement.h:
16299 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16300 (gst_queue_set_property), (gst_queue_get_property):
16302 Remove old unused properties.
16304 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16305 * docs/gst/gstreamer-sections.txt:
16306 * gst/gstmessage.c:
16307 * gst/gstmessage.h:
16308 * gst/gstminiobject.c:
16309 * gst/gstminiobject.h:
16313 lots of new docs and doc fixes
16315 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16317 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16319 * gst/gstregistry.c: (gst_registry_lookup_locked),
16320 (gst_registry_scan_path_level):
16321 * gst/gstregistryxml.c: (load_plugin):
16322 Only ever load one plugin for a given plugin basename.
16323 This ensures correct overriding of GST_PLUGIN_PATH over
16324 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16325 system installed plugins.
16327 2005-10-08 Wim Taymans <wim@fluendo.com>
16329 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16330 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16331 Prepare for doing QOS.
16333 2005-10-08 Wim Taymans <wim@fluendo.com>
16335 * check/gst/gstbin.c: (GST_START_TEST):
16336 * check/pipelines/cleanup.c: (GST_START_TEST):
16337 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16338 Allow new clock message too.
16340 2005-10-08 Wim Taymans <wim@fluendo.com>
16342 * gst/gstmessage.c: (gst_message_new_error),
16343 (gst_message_new_warning), (gst_message_new_tag),
16344 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16345 (gst_message_new_clock_lost), (gst_message_new_new_clock),
16346 (gst_message_new_segment_start), (gst_message_new_segment_done),
16347 (gst_message_parse_state_changed),
16348 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16349 (gst_message_parse_new_clock):
16350 * gst/gstmessage.h:
16351 Also carry the clock in question.
16353 2005-10-08 Wim Taymans <wim@fluendo.com>
16355 * gst/gstmessage.c: (gst_message_new_custom),
16356 (gst_message_new_eos), (gst_message_new_error),
16357 (gst_message_new_warning), (gst_message_new_tag),
16358 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16359 (gst_message_new_new_clock), (gst_message_new_segment_start),
16360 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16361 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16362 * gst/gstmessage.h:
16364 Added clock related messages.
16366 * gst/gstpipeline.c: (gst_pipeline_change_state):
16367 Post message when the clock changed.
16369 * tools/gst-launch.c: (event_loop):
16372 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
16374 * tools/gst-inspect.c: (print_element_properties_info):
16375 Can't pass NULL strings to g_print() on windows.
16377 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16379 * docs/Makefile.am:
16380 * docs/gst/Makefile.am:
16381 * docs/gst/gstreamer-docs.sgml:
16382 * docs/gst/running.xml:
16383 * docs/version.entities.in:
16384 add a chapter on running GStreamer.
16385 document GST_DEBUG and GST_PLUGIN* env vars
16387 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16392 remove PLUGINS_BUILDDIR stuff
16393 * gst/gst.c: (init_post):
16394 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16396 remove, it was condescending and not needed
16398 2005-10-08 Wim Taymans <wim@fluendo.com>
16400 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16401 (gst_base_sink_handle_object), (gst_base_sink_event),
16402 (gst_base_sink_wait), (gst_base_sink_handle_event),
16403 (gst_base_sink_change_state):
16404 * gst/base/gstbasesink.h:
16405 Repost EOS message while going to PLAYING if still EOS.
16406 Make sure that when receiving a FLUSH_START we don't attempt
16407 to sync on the clock anymore.
16409 2005-10-08 Wim Taymans <wim@fluendo.com>
16411 * tools/gst-launch.c: (event_loop):
16412 Better message printout.
16414 2005-10-08 Wim Taymans <wim@fluendo.com>
16416 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16417 (gst_bin_child_proxy_get_children_count):
16418 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16419 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16420 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16421 (gst_child_proxy_set_valist):
16422 * gst/parse/grammar.y:
16423 Make ChildProxy threadsafe and fix mem leaks.
16425 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16427 * gst/gst.c: (init_post):
16428 debug the GST_PLUGIN_ env vars
16430 2005-10-08 Wim Taymans <wim@fluendo.com>
16432 * check/gst/gstbin.c: (GST_START_TEST):
16433 * check/gst/gstmessage.c: (GST_START_TEST):
16434 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16435 * gst/gstelement.c: (gst_element_commit_state),
16436 (gst_element_lost_state):
16437 * gst/gstmessage.c: (gst_message_new_state_changed),
16438 (gst_message_parse_state_changed):
16439 * gst/gstmessage.h:
16440 * tools/gst-launch.c: (event_loop):
16441 Added extra field to STATE_CHANGE message with the pending
16442 state, which will be different from the new state soon.
16444 2005-10-08 Wim Taymans <wim@fluendo.com>
16446 * gst/gstbus.c: (gst_bus_pop):
16448 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16449 Small cleanups and doc updates.
16451 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16453 * gst/gst.c: (init_pre):
16454 * gst/gstbin.c: (gst_bin_add_func):
16455 log distributing clocks and base time
16456 * gst/gstregistry.c: (gst_registry_add_plugin),
16457 (gst_registry_scan_path_level), (gst_registry_scan_path):
16458 clean up the debugging output a little
16459 * gst/gstutils.c: (gst_element_state_get_name):
16460 warn about a memleak (I've actually seen this be used, though
16461 it was probably a bug)
16463 2005-10-07 Wim Taymans <wim@fluendo.com>
16465 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16466 (gst_base_src_init), (gst_base_src_default_newsegment),
16467 (gst_base_src_newsegment), (gst_base_src_do_seek),
16468 (gst_base_src_loop), (gst_base_src_start):
16469 * gst/base/gstbasesrc.h:
16470 Make the newsegment event customizable by subclasses.
16472 2005-10-07 Wim Taymans <wim@fluendo.com>
16474 * gst/gstevent.c: (gst_event_new_buffersize),
16475 (gst_event_parse_buffersize):
16477 New event for future idea.
16479 2005-10-07 Andy Wingo <wingo@pobox.com>
16481 * gst/gstelement.c (gst_element_post_message): Doc update.
16483 * docs/gst/gstreamer-sections.txt: Update.
16485 * gst/gstmessage.c (gst_message_new_application): Made into a
16486 function like honest API calls.
16487 (gst_message_new_element): New message type.
16489 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16491 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16492 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16495 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16496 NO_PREROLL from gst_element_change_state to fall through.
16498 2005-10-07 Wim Taymans <wim@fluendo.com>
16500 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16501 (gst_ghost_pad_do_activate_push):
16502 Activating a ghostpad with no internal pad in push mode
16505 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16508 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16509 Fixes compilation on Windows.
16511 2005-10-07 Michael Smith <msmith@fluendo.com>
16513 * tools/gst-inspect.c:
16514 Print out feature and plugin count at the end when printing out
16517 2005-10-04 Michael Smith <msmith@fluendo.com>
16519 * gst/gsterror.c: (_gst_stream_errors_init):
16520 Add another error string used in a few existing plugins.
16523 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16524 * tools/gst-inspect.c: (print_element_info):
16525 When a feature disappears from a plugin (and the feature exists in
16526 the cached registry file), things went horribly wrong. This isn't a
16527 complete fix, we should actually be removing the 'missing' features
16528 from the features list when we load the actual plugin. That's not
16531 2005-10-04 Johan Dahlin <johan@gnome.org>
16533 * check/gst/gstiterator.c: (GST_START_TEST):
16534 * gst/gstbin.c: (gst_bin_iterate_elements),
16535 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16536 * gst/gstelement.c: (gst_element_iterate_pads):
16537 * gst/gstformat.c: (gst_format_iterate_definitions):
16538 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16539 (gst_iterator_new_list), (gst_iterator_filter):
16540 * gst/gstiterator.h:
16541 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16542 Add a GType to GstIterator, update callsites and tests.
16544 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16546 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16547 give events a chance to be handled by event probes when the pad
16550 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16552 * gst/gstevent.c: (gst_event_type_get_name),
16553 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16555 add string representations for event types
16557 2005-10-06 Wim Taymans <wim@fluendo.com>
16559 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16560 Don't use NULL pointers.
16562 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16564 * gst/gst_private.h:
16566 * gst/gstelement.c:
16568 * gst/gstpluginfeature.c:
16569 widen the debug category in output to fit the biggest one we have
16570 add a bus category and use it
16571 play with the colors
16572 fix up some categories
16574 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16576 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16577 add push activation of sink ghost pads.
16578 Andye, please verify
16580 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16582 * gst/gstutils.c: (gst_element_link_pads):
16583 fix a bug in the case where neither element has a pad
16584 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16585 add a test for that case
16587 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16589 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16590 emit have-data before checking for peers. This allows
16591 for probe handlers to connect elements. This helps autopluggers.
16592 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16594 add six checks, linked/unlinked with no/true/false probe
16596 2005-10-04 Wim Taymans <wim@fluendo.com>
16598 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16599 (gst_fake_sink_event), (gst_fake_sink_preroll),
16600 (gst_fake_sink_render), (gst_fake_sink_change_state):
16601 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16602 (gst_fake_src_get_property), (gst_fake_src_create),
16603 (gst_fake_src_stop):
16604 * gst/elements/gstidentity.c: (gst_identity_stop):
16605 Protect last_message with lock.
16607 2005-10-04 Edward Hervey <edward@fluendo.com>
16610 Added precision in the comments for GST_FORMAT_DEFAULT
16612 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16614 * tools/gst-launch.c: (main):
16615 Don't try to run erroneous pipelines.
16617 2005-10-04 Julien MOUTTE <julien@moutte.net>
16619 * gst/gstbus.c: We don't need this header.
16621 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16624 back to development
16626 === release 0.9.3 ===
16628 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16632 Releasing 0.9.3, "Unregistered"
16634 2005-10-03 Andy Wingo <wingo@pobox.com>
16636 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16637 whereby calling a pad's activatepush() function can start a thread
16638 that starts to push or pull before the pad gets the FLUSHING flag
16639 unset. Hack around it by holding the stream lock until the flag is
16640 set. Need to replace this with a proper solution. Together with
16641 the ghost pad fixes, this fixes mp3 playing/tagreading.
16643 * docs/design/part-gstghostpad.txt: Add a note about activation of
16644 proxy pads outside of ghost pads.
16646 * gst/gstghostpad.c: Implement the ghost pad activation design.
16648 2005-10-02 Andy Wingo <wingo@pobox.com>
16650 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16651 It is volatile, after all.
16653 * docs/design/part-gstghostpad.txt: Flesh out activation with
16656 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16659 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16662 Fix (unused) AM_CONDITIONAL tests.
16664 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16666 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16668 * gst/gstutils.c: (gst_pad_query_convert):
16669 Add assertion that makes sure src_val is >=0, just like
16670 gst_query_new_convert() has. (#315895)
16672 2005-09-30 Edward Hervey <edward@fluendo.com>
16674 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16675 Let's not iterate pads we're not interested in, it avoids getting
16676 sky-high refcounts on sinkpad.
16678 2005-09-30 Wim Taymans <wim@fluendo.com>
16680 * gst/gstelement.c: (gst_element_set_state),
16681 (gst_element_change_state):
16682 Small tweak, element in ASYNC remains ASYNC.
16684 2005-09-30 Wim Taymans <wim@fluendo.com>
16686 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16687 Only error is an error.
16689 * gst/gstbin.c: (gst_bin_change_state):
16692 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16693 Also call pad_block in pad alloc.
16695 * gst/gstutils.c: (gst_flow_get_name):
16698 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16700 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16701 (gst_base_src_get_range):
16702 Fix documentation typos. Add some more debug info.
16704 2005-09-29 David Schleef <ds@schleef.org>
16706 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16707 more end-user friendly.
16708 * tools/gst-inspect.c: (main): Check if command-line argument is
16709 a file and attempt to load that file as a plugin.
16711 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16713 * check/gst/gstbin.c:
16714 * check/states/sinks.c:
16715 fix tests for the new warning
16716 * check/gst/gstpipeline.c:
16717 add a test for pipeline and bus interaction
16718 * gst/gstelement.c:
16719 elements should be NULL if they get disposed; add a warning if not
16721 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16724 for 2.6 refcounting, make debug log more correct by printing
16725 the actual refcounts at the time of swap (Wim)
16727 2005-09-29 Andy Wingo <wingo@pobox.com>
16729 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16730 removes signal watches previously added via
16731 gst_bus_add_signal_watch.
16732 (gst_bus_add_signal_watch): Don't return the source id, just store
16733 it on the bus if there wasn't an id already.
16735 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16736 add_signal_watch and remove_signal_watch.
16738 2005-09-29 Edward Hervey <edward@fluendo.com>
16740 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16741 Better if we actually iterate the list :)
16743 2005-09-29 Wim Taymans <wim@fluendo.com>
16745 * check/gst/gstbin.c: (GST_START_TEST):
16746 Change for new bus API.
16748 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16749 (send_messages), (GST_START_TEST), (gstbus_suite):
16750 Change for new bus signal API.
16752 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16753 (gst_bus_source_prepare), (gst_bus_source_check),
16754 (gst_bus_create_watch), (gst_bus_add_watch_full),
16755 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16756 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16758 Remove support for multiple GSources operating on different
16759 message types as it is too complex and unneeded when using
16761 Added support for receiving signals from the bus.
16763 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16765 * docs/libs/tmpl/gstdataprotocol.sgml:
16766 * docs/manual/advanced-dataaccess.xml:
16767 * gst/elements/gstcapsfilter.c:
16769 rename filter-caps to caps property
16771 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16773 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16774 More robust fraction string parsing.
16776 * docs/pwg/appendix-porting.xml:
16777 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16779 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16781 * gst/gstcaps.c: (gst_caps_do_simplify):
16782 Thou shalt not free a structure and then continue using it
16783 in the next loop iteration.
16785 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16787 Add test case for caps simplification.
16789 2005-09-29 Wim Taymans <wim@fluendo.com>
16791 * check/gst/gstbin.c: (GST_START_TEST):
16794 2005-09-29 Wim Taymans <wim@fluendo.com>
16796 * check/gst/gstbin.c: (GST_START_TEST):
16799 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16800 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16801 (find_element), (gst_bin_sort_iterator_next),
16802 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16803 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16804 (gst_bin_change_state), (gst_bin_dispose):
16805 A bin does not have a bus, it gets the bus from the parent.
16807 * gst/gstelement.c: (gst_element_requires_clock),
16808 (gst_element_provides_clock), (gst_element_is_indexable),
16809 (gst_element_is_locked_state), (gst_element_change_state),
16810 (gst_element_set_bus_func):
16813 * gst/gstpipeline.c: (gst_pipeline_class_init),
16814 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16815 The pipeline provides a bus.
16817 2005-09-28 Johan Dahlin <johan@gnome.org>
16819 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16820 gst_structure_get_enum instead of gst_structure_get_int
16822 * gst/gststructure.c (gst_structure_get_enum): Impl.
16824 * gst/gststructure.h (gst_structure_get_enum): Add
16826 * docs/gst/gstreamer-sections.txt: Ditto
16828 * gst/gstmessage.c (gst_message_new_state_changed): Use
16829 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16830 which does introspection.
16831 Reviewed by Christian Schaller
16833 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16835 * gst/gstinfo.c: (gst_debug_log_default):
16836 don't do dummy g_strdup()s
16837 * libs/gst/controller/gstcontroller.c:
16838 (on_object_controlled_property_changed),
16839 (gst_controlled_property_new), (gst_controller_new_valist),
16840 (gst_controller_new_list),
16841 (gst_controller_remove_properties_valist), (gst_controller_set),
16842 (gst_controller_get), (gst_controller_sync_values),
16843 (gst_controller_get_value_array), (_gst_controller_class_init),
16844 (gst_controller_get_type):
16845 * libs/gst/controller/gstcontroller.h:
16846 * libs/gst/controller/gstinterpolation.c:
16847 (gst_controlled_property_find_timed_value_node):
16848 convert // to /**/ comments
16850 2005-09-28 Wim Taymans <wim@fluendo.com>
16852 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16853 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16854 (gst_bus_sync_signal_handler):
16856 Added async-message and sync-message signals to the bus.
16857 Added helper BusFunc to emit signals for all posted messages.
16859 * gst/gstmessage.c: (gst_message_type_get_name),
16860 (gst_message_type_to_quark), (gst_message_get_type):
16861 * gst/gstmessage.h:
16862 Register quarks for message names.
16864 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16866 * docs/libs/gstreamer-libs-sections.txt:
16867 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16868 (gst_controller_new_list):
16869 * libs/gst/controller/gstcontroller.h:
16870 added another constructor for language bindings
16872 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16874 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16878 * gst/gstinfo.c: (_gst_debug_init):
16879 slightly more readable color for refcount debugging
16881 2005-09-28 Wim Taymans <wim@fluendo.com>
16883 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16884 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16885 (find_element), (gst_bin_sort_iterator_next),
16886 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16887 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16888 (gst_bin_change_state), (gst_bin_dispose):
16889 Small doc fixes. get_clock -> provide_clock.
16891 * gst/gstelement.c: (gst_element_class_init),
16892 (gst_element_provides_clock), (gst_element_provide_clock),
16893 (gst_element_get_clock), (gst_element_commit_state),
16894 (gst_element_lost_state):
16895 * gst/gstelement.h:
16896 Make get/set_clock() symetric. Add provide_clock vmethod since
16897 that is actually what this function does.
16899 * gst/gstpipeline.c: (gst_pipeline_class_init),
16900 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16901 (gst_pipeline_get_clock):
16902 get_clock -> provide_clock.
16904 2005-09-28 Andy Wingo <wingo@pobox.com>
16906 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16907 lieu of real docs...
16909 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16911 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16913 * gst/elements/gstcapsfilter.c:
16914 * gst/elements/gstfakesink.c:
16915 * gst/elements/gstfakesrc.c:
16916 * gst/elements/gstfdsink.c:
16917 * gst/elements/gstfdsrc.c:
16918 * gst/elements/gstfilesink.c:
16919 * gst/elements/gstfilesrc.c:
16920 * gst/elements/gstidentity.c:
16921 * gst/elements/gsttee.c:
16922 * gst/elements/gsttypefindelement.c:
16923 Make element details static.
16925 2005-09-28 Wim Taymans <wim@fluendo.com>
16927 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16928 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16929 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16930 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16931 (gst_bin_change_state), (gst_bin_dispose):
16932 Some documentation updates.
16933 Clean up dispose handlers.
16935 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16936 * gst/gstpad.c: (gst_pad_dispose):
16937 Clean up dispose handler.
16939 * gst/gstpipeline.c: (gst_pipeline_change_state):
16940 Removed spurious UNLOCK.
16942 2005-09-27 Stefan Kost <ensonic@users.sf.net>
16944 * docs/gst/gstreamer-sections.txt:
16945 * gst/base/gstbasesrc.h:
16946 * gst/gstelement.h:
16950 * gst/gstpipeline.c:
16951 * gst/gstpipeline.h:
16954 added two new functions to the docs
16955 documents all undocumented GstXXXFlags
16956 completed some incomplete docs
16958 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
16960 * gst/gstbin.c: (gst_bin_dispose):
16961 * gst/gstelement.c: (gst_element_dispose):
16962 remove now useless and leaky resurrection code in dispose
16963 * gst/base/gstbasesrc.c: (gst_base_src_init):
16964 * gst/gstelementfactory.c: (gst_element_factory_create):
16965 * gst/gstobject.c: (gst_object_set_parent):
16968 2005-09-27 Wim Taymans <wim@fluendo.com>
16970 * docs/design/part-TODO.txt:
16973 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16974 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16975 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16976 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16977 (gst_bin_change_state):
16978 * gst/gstelement.h:
16979 Remove element variable, we keep element info in the iterator now.
16981 2005-09-27 Andy Wingo <wingo@pobox.com>
16983 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16986 2005-09-27 Wim Taymans <wim@fluendo.com>
16988 * check/gst/gstbin.c: (GST_START_TEST):
16989 Enable check that works now.
16991 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16992 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16993 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16994 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16995 (gst_bin_change_state):
16997 Redid the state change algorithm using a topological sort algo.
16998 Handles all cases correctly.
16999 Exposed iterator for state change order.
17001 * gst/gstelement.h:
17002 Temp storage for state changes. Need to get rid of this soon.
17004 2005-09-27 Wim Taymans <wim@fluendo.com>
17006 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17007 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17008 (link_fold_func), (gst_pad_proxy_setcaps):
17009 Leak fixes, the fold functions need to unref the passed object and
17010 _get_parent_*() returns ref to parent.
17012 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17014 * check/gst/gstbuffer.c: (test_make_writable):
17015 Plug leak in test case and fix 'make check-valgrind'
17017 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17019 * gst/gstbuffer.c: (gst_subbuffer_init):
17020 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17021 works correctly in all circumstances (we could have just copied
17022 the parent buffer's readonly flag, but conceptually it seems
17023 cleaner to mark all subbuffers as read-only). (based on patch
17024 by Alessandro Decina, #314710).
17026 * check/gst/gstbuffer.c: (create_read_only_buffer),
17027 (test_make_writable), (test_subbuffer_make_writable),
17029 Add some tests for gst_buffer_make_writable().
17031 2005-09-27 Wim Taymans <wim@fluendo.com>
17033 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17034 use gst_object_has_ancestor().
17036 * gst/gstobject.c: (gst_object_has_ancestor):
17038 gst_object_has_ancestor() copied from gstbin.c as it is a
17041 * tests/instantiate/create.c: (create_all_elements):
17042 * tests/lat.c: (handoff_src), (handoff_sink):
17043 * tests/sched/runxml.c: (main):
17044 * tests/seeking/seeking1.c: (main):
17045 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17047 Fix compilation of some tests.
17049 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17052 Remove comment. GST_TYPE_G_ERROR is here to stay,
17053 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17054 (#316961, #300610).
17056 2005-09-26 Wim Taymans <wim@fluendo.com>
17058 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17059 Added check that shows error in state change order.
17061 2005-09-26 Wim Taymans <wim@fluendo.com>
17063 * gst/gstbin.c: (gst_bin_change_state):
17064 Make state change function use 3 queues again, we were
17065 adding elements in the wrong order.
17067 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17070 * gst/gstpad.c: (gst_pad_dispose):
17071 Added some debug info first.
17073 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17075 * docs/design/draft-push-pull.txt:
17076 * docs/design/part-events.txt:
17077 * docs/design/part-overview.txt:
17078 * docs/design/part-scheduling.txt:
17079 Replace all _pull_region() with _pull_range()
17081 2005-09-26 Andy Wingo <wingo@pobox.com>
17083 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17085 * check/gst-libs/controller.c: Update for controller api change.
17088 * tests/Makefile.am:
17089 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17090 over by GLib bug 118439.
17092 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17093 routines to a function.
17095 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17097 * libs/gst/controller/gsthelper.c:
17098 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17099 (gst_object_sync_values): Renamed from sink_values. Ugh.
17101 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17103 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17104 Renamed from controller_key, as it is exported.
17106 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17108 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17113 * gst/gstpadtemplate.h:
17116 * gst/gstqueryutils.c:
17117 * gst/gstqueryutils.h:
17118 remove queryutils headers after moving the two used functions
17119 to gstquery. also fixes build problem for gstsiddec
17121 2005-09-26 Michael Smith <msmith@fluendo.com>
17123 * tools/gst-launch.1.in:
17124 Correct documentation in manpage of debug syntax
17126 2005-09-26 Wim Taymans <wim@fluendo.com>
17128 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17129 (gst_base_src_is_seekable), (gst_base_src_change_state):
17130 Some more debugging info.
17132 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17134 * docs/gst/gstreamer-sections.txt:
17135 * gst/base/gstbasetransform.h:
17139 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17141 * docs/gst/.cvsignore:
17142 * docs/gst/tmpl/.cvsignore:
17143 * docs/gst/tmpl/gstpipeline.sgml:
17144 * docs/gst/tmpl/gstplugin.sgml:
17145 * gst/gstpipeline.c:
17148 inlined the last two docs files
17149 removed the tmpl directory from cvs (no more conflicts here!)
17151 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17153 * docs/gst/gstreamer-sections.txt:
17154 * docs/gst/tmpl/.cvsignore:
17155 * docs/gst/tmpl/gstpad.sgml:
17156 * docs/gst/tmpl/gstpadtemplate.sgml:
17158 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17159 (gst_pad_finalize), (gst_pad_set_pad_template):
17161 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17162 (gst_pad_template_class_init), (gst_pad_template_init),
17163 (gst_pad_template_dispose), (name_is_valid),
17164 (gst_static_pad_template_get), (gst_pad_template_new),
17165 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17166 (gst_pad_template_pad_created):
17167 * gst/gstpadtemplate.h:
17168 inlined two more docs
17169 factored gstpadtemplate out of gstpad
17171 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17173 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17174 (test_children_state_change_order_semi_sink):
17175 Fix test case: we can't rely on a fixed state change order when
17176 going from READY => PAUSED because the sink might commit its
17177 new state first when the first buffer created by the source
17178 reaches the sink before the source has finished its change state.
17179 (Test case still fails at times, see #316856, comment 5 onwards)
17181 2005-09-24 Wim Taymans <wim@fluendo.com>
17183 * docs/design/part-events.txt:
17184 * docs/design/part-gstbus.txt:
17185 * docs/design/part-gstpipeline.txt:
17186 * docs/design/part-messages.txt:
17187 * docs/design/part-overview.txt:
17188 * docs/design/part-segments.txt:
17192 * gst/gstelement.c:
17195 * gst/gstiterator.c:
17196 Various documentation updates.
17198 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17201 Well, that's embarassing. Luckily we weren't using
17202 GST_CLOCK_DIFF anywhere.
17204 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17206 * common/gtk-doc.mak:
17207 don't fail on building XML, FC4 slave shows a bunch of doc
17208 missing bits that I don't get
17210 * gst/gstpipeline.c:
17211 * gst/gststructure.c:
17214 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17216 * docs/design/part-gstbin.txt:
17217 * docs/design/part-gstbus.txt:
17219 Add blurb about how the bus goes into flushing mode and
17220 drops all messages when its bin goes from READY into NULL
17223 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17225 * docs/gst/gstreamer-sections.txt:
17226 * gst/gststructure.c: (gst_structure_get_clock_time):
17227 * gst/gststructure.h:
17228 add a method to get a GstClockTime out of a structure
17230 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17232 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17233 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17234 Added test to check state change order in bins (can still be made
17235 to fail here under heavy disk load; bails out with 'Push on pad
17236 fakesink:sink0, but it was not activated in push mode').
17238 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17239 Fix state change order when there is only a semi sink (#316856)
17241 * gst/gstbus.c: (gst_bus_class_init):
17242 Use _class_peek_parent(), not _class_ref(); fix docs to say
17243 'default main context' instead of 'mainloop' where that is
17246 * gst/gstelement.c: (gst_element_commit_state),
17247 (gst_element_set_state):
17248 Fix typos in debug messages
17250 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17253 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17254 * gst/gstpluginfeature.c:
17256 various doc updates
17257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17258 change an assert into an error until it gets fixed properly
17260 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17262 * docs/gst/gstreamer-sections.txt:
17263 * docs/gst/tmpl/.cvsignore:
17264 * docs/gst/tmpl/gstelement.sgml:
17265 * docs/gst/tmpl/gstinfo.sgml:
17266 * docs/gst/tmpl/gstobject.sgml:
17267 * gst/gstelement.c:
17268 * gst/gstelement.h:
17271 * gst/gstobject.c: (gst_object_class_init):
17273 inlined 3 more biiiig doc files and added some missing docs on the fly
17275 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17277 * check/gst/.cvsignore:
17278 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17279 * gst/gstregistryxml.c: (load_plugin),
17280 (gst_registry_xml_save_plugin):
17281 put back source in registry. add checks for find_plugin.
17282 * testsuite/states/bin.c: (assert_state), (empty_bin),
17283 (test_adding_one_element), (main):
17284 * testsuite/states/locked.c: (main):
17285 some compile/run fixes
17287 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17289 * check/gst/gstvalue.c: (GST_START_TEST):
17290 fix leaks in the test itself
17292 2005-09-22 Wim Taymans <wim@fluendo.com>
17294 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17295 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17296 (gst_base_sink_query):
17297 Prepare for more accurate position reporting and query
17300 * gst/gstelement.c: (gst_element_send_event),
17301 (gst_element_set_state):
17304 2005-09-22 Wim Taymans <wim@fluendo.com>
17306 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17307 (gst_query_parse_segment):
17309 More documentation.
17310 Add segment query for future use.
17312 2005-09-22 Wim Taymans <wim@fluendo.com>
17314 * gst/gstbin.c: (gst_bin_add_func):
17315 Some more debug info.
17317 * gst/gstelement.c: (gst_element_send_event):
17318 Simplify send_event
17320 * gst/gstelement.h:
17321 Don't know how flags got broken.
17326 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17328 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17329 Add simplistic test suite for GST_TYPE_DATE serialisation and
17332 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17334 * docs/gst/gstreamer-sections.txt:
17335 * gst/gststructure.c: (gst_structure_set_valist),
17336 (gst_structure_get_date):
17337 * gst/gststructure.h:
17338 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17339 (gst_date_copy), (gst_value_compare_date),
17340 (gst_value_serialize_date), (gst_value_deserialize_date),
17341 (gst_value_transform_date_string),
17342 (gst_value_transform_string_date), (_gst_value_initialize):
17344 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17345 bunch of utility functions along with a hack that checks that
17346 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17347 is required. Part of the grand scheme in #170777.
17349 2005-09-22 Andy Wingo <wingo@pobox.com>
17351 * gst/gstconfig.h.in: Psych out gtk-doc.
17353 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17355 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17357 * tools/gst-inspect.c (print_element_list): Plug some
17358 inconsequential leaks.
17360 * gst/gstregistry.c (gst_registry_get_default): Doc.
17362 * check/gst/gstplugin.c:
17363 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17364 * gst/gstelementfactory.c (gst_element_factory_create):
17365 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17368 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17369 (gst_plugin_feature_load): Doc, don't eat refs.
17371 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17372 (gst_plugin_list_free): Doc.
17373 (gst_plugin_load_file): Doc updates.
17375 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17376 accessors returning refcounted objects, return a ref.
17378 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17379 accessor for caps. IDEMPOTENCE. Oh yes.
17381 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
17383 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17385 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17386 (_gst_debug_register_funcptr):
17387 Add mutex to serialise access to the hash table with
17388 the function pointer => function name string mapping;
17389 make that hash table static scope (#316809).
17391 * gst/registries/.cvsignore:
17392 Remove left-over file.
17394 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17396 * docs/pwg/appendix-porting.xml:
17397 And something about newsegment events and caps-on-buffers to
17398 the porting guide (feel free to improve).
17400 2005-09-21 Andy Wingo <wingo@pobox.com>
17402 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17403 data and event probes on the same pad.
17404 (test_buffer_probe_once): Test that removing probes from within
17405 the probe functions works.
17407 2005-09-21 Andy Wingo <wingo@pobox.com>
17409 * check/gst/gstutils.c: New file.
17410 (test_buffer_probe_n_times): A simple buffer probe test. More to
17413 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17414 have-data::buffer, not have-data.
17415 (gst_pad_add_event_probe): Likewise for have-data::event.
17416 (gst_pad_add_data_probe): More docs. The part about 'resolving the
17417 peer' isn't quite right yet though.
17418 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
17419 (gst_pad_remove_data_probe): Change to take the guint handler_id
17420 as their arg, not the function+data, which is more glib-like.
17422 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17423 the signal emission to indicate if the data is a buffer or an
17425 (gst_pad_get_type): Initialize buffer and event quarks.
17426 (gst_pad_class_init): have-data is now a detailed signal, yes it
17429 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17431 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17432 * gst/gstutils.c: (gst_util_set_value_from_string),
17433 (gst_util_set_object_arg):
17434 Don't put functional code in g_return_if_fail() or
17435 g_return_val_if_fail() statements, otherwise things will
17436 break when G_DISABLE_CHECKS is defined during compilation.
17438 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17440 * docs/gst/tmpl/.cvsignore:
17441 * docs/gst/tmpl/gstvalue.sgml:
17444 inlied another one and added some obvious docs
17446 2005-09-21 Wim Taymans <wim@fluendo.com>
17448 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17449 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17450 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17451 (gst_fdsrc_get_property), (gst_fdsrc_create):
17452 * gst/elements/gstfdsrc.h:
17453 Properly implement fdsrc. Removed signal and timeout,
17454 better implemented somewhere else.
17456 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17458 * docs/gst/tmpl/.cvsignore:
17459 * docs/gst/tmpl/gstimplementsinterface.sgml:
17460 * gst/gstinterface.c:
17463 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17465 * docs/gst/gstreamer-sections.txt:
17466 * docs/gst/tmpl/.cvsignore:
17467 * docs/gst/tmpl/gstenumtypes.sgml:
17468 remove obsolete doc file
17470 2005-09-21 David Schleef <ds@schleef.org>
17472 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17473 little beer, fix a little leak.
17475 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17477 * docs/gst/gstreamer-docs.sgml:
17478 * docs/gst/gstreamer-sections.txt:
17479 * docs/gst/tmpl/.cvsignore:
17483 * gst/gstelement.h:
17484 * gst/gstindex.c: (gst_index_class_init):
17486 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17487 (gst_index_factory_class_init), (gst_index_factory_init),
17488 (gst_index_factory_finalize), (gst_index_factory_new),
17489 (gst_index_factory_destroy), (gst_index_factory_find),
17490 (gst_index_factory_create), (gst_index_factory_make):
17491 * gst/gstindexfactory.h:
17492 * gst/gstpluginfeature.c:
17493 * gst/gstpluginfeature.h:
17494 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17495 more docs inlined, splitted gstindex.{c,h}
17497 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17499 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17502 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17504 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17505 Set sync to FALSE by default.
17507 2005-09-20 Wim Taymans <wim@fluendo.com>
17509 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17510 (gst_base_sink_init):
17511 Make sync property settable from subclass.
17513 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17514 (gst_fake_sink_change_state):
17515 Set sync to FALSE by default.
17517 2005-09-20 Wim Taymans <wim@fluendo.com>
17519 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17520 * tools/gst-launch.c: (main):
17521 The timeout handler should have lower priority than the source
17522 so we don't timeout before popping a message with 0 timeout.
17523 Dump error messages after failed state change.
17525 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17527 * tools/gst-inspect.c: (print_element_properties_info):
17530 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17532 * check/gst/gstevent.c:
17533 * gst/elements/gstfakesink.c:
17534 * gst/elements/gstfakesink.h:
17535 remove the sync property from fakesink.
17536 has the side effect of setting sync TRUE
17537 for fakesink, which is a change. Anyone who knows how
17538 to fix this nicely in a GObject-y way, feel free.
17540 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17542 * docs/gst/gstreamer-docs.sgml:
17543 remove probe refsection
17545 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17547 * check/Makefile.am:
17548 disable valgrinding the controller test again
17549 * docs/gst/gstreamer-sections.txt:
17550 update for api-changes
17552 2005-09-20 Wim Taymans <wim@fluendo.com>
17554 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17555 (gst_base_sink_set_property), (gst_base_sink_get_property),
17556 (gst_base_sink_do_sync):
17557 * gst/base/gstbasesink.h:
17558 Added sync property to basesink to disable clock sync.
17560 2005-09-20 Andy Wingo <wingo@pobox.com>
17562 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17563 eating the caller's refcount.
17565 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17566 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17569 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17570 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17571 of GLib 2.8 public, so we can know which refcount to check in
17574 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17575 (gst_object_init): Only set the gst refcount if we're going ahead
17576 with the refcount hack.
17578 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17580 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17581 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17582 more leaks plumbed, added more debug-logging
17586 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17588 * gst/gstmessage.c:
17589 remove include of gstmemchunk.h
17591 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17593 * gst/gstclock.c: (_gst_clock_id_free):
17594 Commit from the Political Party For More Atomic CVS Commits,
17595 so that people don't waste too much of their day fishing
17596 out obvious leaks out of massive commits.
17597 Oh, and fix a pretty damn obvious leak in the memchunk
17600 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17602 * check/Makefile.am:
17603 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17604 plug mem-leak, re-add to valgrindable tests
17606 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17609 unbreak the build for those who have chronic arthritis
17610 and typing "make check" is just too taxing on the hands
17612 2005-09-20 Andy Wingo <wingo@pobox.com>
17614 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17615 really want it out, you should fix plugins at the same time.
17617 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17620 * docs/gst/gstreamer-sections.txt:
17622 added missing symbols to api docs
17623 disable ref-count hack if we have glib >= 2.8
17625 2005-09-19 David Schleef <ds@schleef.org>
17627 * docs/gst/Makefile.am: Ignore a few more internal headers
17628 * docs/gst/gstreamer-docs.sgml: Remove old sections
17629 * docs/gst/gstreamer-sections.txt: Remove old sections
17630 * docs/gst/tmpl/gstobject.sgml: update
17631 * docs/gst/tmpl/gstplugin.sgml: update
17632 * docs/gst/tmpl/gstpluginfeature.sgml: update
17633 * docs/random/ds/0.9-suggested-changes: update.
17634 * gst/Makefile.am: remove memchunk and trashstack, since they're
17636 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17637 * gst/gst.h: don't include some headers
17638 * gst/gstchildproxy.c: add gstmarshal.h
17639 * gst/gstclock.c: Don't use memchunks
17640 * gst/gstminiobject.c: Add some docs
17641 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17642 * gst/gstobject.h: same
17643 * gst/gstplugin.c: include gstmacros.h
17644 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17645 * gst/gstquery.c: don't use memchunks
17646 * gst/gstregistry.c: rename gst_registry_deinit()
17647 * gst/gstregistry.h: same
17649 2005-09-19 David Schleef <ds@schleef.org>
17651 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17652 * docs/libs/gstreamer-libs-sections.txt:
17653 * docs/libs/tmpl/gstgetbits.sgml:
17654 * docs/libs/tmpl/gstputbits.sgml:
17656 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17658 * win32/gstenumtypes.c:
17659 * win32/gstenumtypes.h:
17662 2005-09-19 Wim Taymans <wim@fluendo.com>
17664 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17665 Automatically PAUSE and RESUME a pipeline when a flushing seek
17668 2005-09-19 Andy Wingo <wingo@pobox.com>
17670 * gst/gstregistry.h: Spacing fixen.
17672 2005-09-19 Wim Taymans <wim@fluendo.com>
17674 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17675 Handle state change failure more correctly.
17677 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17679 * check/Makefile.am:
17680 * check/pipelines/cleanup.c: (run_pipeline):
17681 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17683 enable cleanup again after fixing the leak
17685 some more info on docs
17687 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17689 * check/Makefile.am:
17690 re-enable tests now that leaks are plugged
17692 * check/gst/gstbin.c:
17693 * check/gst/gstpipeline.c:
17694 add some more tests while fixing leaks
17695 * common/check.mak:
17696 make sure binaries are uptodate when valgrinding/gdbing
17698 * gst/gstelementfactory.c:
17699 remove a ref too many, and add a FIXME for when we get
17700 round to disposing of classes
17702 fix the refcounting when loading a plugin from a file and
17703 the code pretends that the pointer is the same even though
17704 of course it can change
17705 * gst/gstpluginfeature.c:
17706 unref plugins marked cached (a bit confusing as a name)
17707 as the docs state should be done
17708 various doc additions to explain refcounting
17709 * gst/gstregistry.c:
17710 * gst/gstregistryxml.c:
17713 2005-09-19 Wim Taymans <wim@fluendo.com>
17715 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17716 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17717 (send_messages), (GST_START_TEST), (gstbus_suite):
17718 * check/gst/gstpipeline.c: (GST_START_TEST):
17719 * check/pipelines/cleanup.c: (run_pipeline):
17720 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17722 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17723 (gst_bus_source_check), (gst_bus_source_dispatch),
17724 (gst_bus_create_watch), (gst_bus_add_watch_full),
17725 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17727 * tools/gst-launch.c: (event_loop):
17728 * tools/gst-md5sum.c: (event_loop):
17729 GstBusHandler -> GstBusFunc, return value has the same meaning as
17730 any other GSource (FALSE == remove source).
17731 _add_watch() and _add_watch_full() now take a MessageType mask to
17732 only handle specific types of messages.
17733 _poll() returns the GstMessage instead of the message type to avoid
17735 _have_pending() takes a MessageType mask now too.
17736 Added testsuite for multiple bus watches.
17737 Fix testsuites and applications for new bus API.
17739 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17741 * check/Makefile.am:
17742 mark a bunch of the tests as to fix until we fix them
17744 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17746 * common/check.mak:
17747 use GST_PLUGIN settings for valgrind tests as well, so we're
17748 valgrinding the correct thing
17749 * gst/gst.c: (init_post):
17752 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17754 * gst/gst.c: (init_post), (gst_deinit):
17755 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17756 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17757 * gst/gstindex.c: (gst_index_factory_class_init),
17758 (gst_index_factory_finalize):
17759 * gst/gstobject.c: (gst_object_dispose):
17760 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17761 (gst_plugin_load_file), (gst_plugin_desc_free):
17762 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17763 (gst_plugin_feature_finalize):
17764 * gst/gstregistry.c: (gst_registry_class_init),
17765 (gst_registry_init), (gst_registry_finalize),
17766 (gst_registry_get_default), (gst_registry_deinit):
17767 * gst/gstregistry.h:
17768 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17769 various cleanups and memleak plugging. make valgrind is happy now.
17771 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17773 * common/check.mak:
17774 add a check-valgrind target
17776 2005-09-18 David Schleef <ds@schleef.org>
17778 * tools/gst-inspect.c: Revert the GOption code.
17780 2005-09-17 David Schleef <ds@schleef.org>
17782 * check/Makefile.am: Fix environment variables.
17783 * check/gst/gstplugin.c: Fix for API changes.
17784 * tools/gst-inspect.c: Fix for API changes.
17785 * tools/gst-xmlinspect.c: Fix for API changes.
17786 * gst/gstelementfactory.c:
17789 * gst/gstpluginfeature.c:
17790 * gst/gstpluginfeature.h:
17791 * gst/gstregistry.c:
17792 * gst/gstregistry.h:
17793 * gst/gstregistryxml.c:
17794 * gst/gsttypefind.c:
17795 * gst/gsttypefindfactory.c:
17796 * gst/indexers/gstfileindex.c:
17797 * gst/indexers/gstmemindex.c:
17798 * gst/schedulers/Makefile.am:
17799 Change registry to keep track of both plugins and features,
17800 removing the feature tracking from plugins themselves.
17802 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17804 * check/Makefile.am:
17805 * tools/gst-register.1.in:
17806 remove gst-register
17808 2005-09-15 David Schleef <ds@schleef.org>
17810 * check/gst/gstplugin.c:
17811 * gst/gstelementfactory.c:
17813 * gst/gstpluginfeature.c:
17814 * gst/gstregistry.c:
17815 Getting tired of debugging. Disabled all the unreffing of
17816 plugins and features, which fixes the segfaults, but of
17817 course leaks like crazy. At least playbin works.
17819 2005-09-15 David Schleef <ds@schleef.org>
17821 * check/gst/gstplugin.c: (register_check_elements),
17822 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17824 * gst/elements/gsttypefindelement.c: Fix refcounting.
17825 * gst/gsttypefind.c:
17826 * gst/gsttypefindfactory.c:
17827 * gst/gsttypefindfactory.h:
17829 2005-09-15 David Schleef <ds@schleef.org>
17831 * gst/gstindex.c: get refcounting correct.
17832 * gst/gstregistry.c: Handle the case where a feature/plugin is
17835 2005-09-15 David Schleef <ds@schleef.org>
17837 * check/Makefile.am:
17838 * check/gst/gstplugin.c: Add test
17839 * gst/gstplugin.c: Fix problems noticed by testsuite
17841 * gst/gstregistry.c:
17842 * gst/gstregistry.h:
17844 2005-09-15 David Schleef <ds@schleef.org>
17846 * gst/gstplugin.c: Implement semi-decent recounting and locking
17847 in plugins and plugin features.
17849 * gst/gstpluginfeature.c:
17850 * gst/gstpluginfeature.h:
17851 * gst/gstregistry.c:
17853 2005-09-15 Michael Smith <msmith@fluendo.com>
17855 * gst/gstregistry.c: (gst_registry_get_feature_list):
17856 Implement this. Makes oggdemux work; decodebin still broken.
17858 2005-09-14 David Schleef <ds@schleef.org>
17860 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17862 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17863 * gst/check/Makefile.am:
17864 * libs/gst/controller/Makefile.am:
17865 * libs/gst/dataprotocol/Makefile.am:
17867 2005-09-14 David Schleef <ds@schleef.org>
17869 * configure.ac: Remove getbits library. Nothing uses it, and
17870 it should be in something like liboil if someone did want
17872 * libs/gst/Makefile.am:
17873 * libs/gst/getbits/Makefile.am:
17874 * libs/gst/getbits/gbtest.c:
17875 * libs/gst/getbits/getbits.c:
17876 * libs/gst/getbits/getbits.h:
17877 * libs/gst/getbits/gstgetbits_generic.c:
17878 * libs/gst/getbits/gstgetbits_i386.s:
17879 * libs/gst/getbits/gstgetbits_inl.h:
17881 2005-09-14 David Schleef <ds@schleef.org>
17883 * gst/Makefile.am: Dist glib-compat.h
17885 2005-09-14 David Schleef <ds@schleef.org>
17887 * configure.ac: Remove gst/registries, since it's no longer used.
17888 * gst/registries/Makefile.am:
17889 * gst/registries/gstlibxmlregistry.c:
17890 * gst/registries/gstlibxmlregistry.h:
17891 * gst/registries/gstxmlregistry.c:
17892 * gst/registries/gstxmlregistry.h:
17893 * gst/registries/registrytest.c:
17895 2005-09-14 David Schleef <ds@schleef.org>
17897 * gst/glib-compat.h:
17898 * gst/gstregistryxml.c:
17899 Convergence is near. Seriously.
17901 2005-09-14 David Schleef <ds@schleef.org>
17903 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17904 * gst/glib-compat.h:
17905 Attempt #4 to appease the buildbots.
17907 2005-09-14 David Schleef <ds@schleef.org>
17909 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17912 2005-09-14 David Schleef <ds@schleef.org>
17914 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17917 2005-09-14 David Schleef <ds@schleef.org>
17919 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17922 2005-09-14 David Schleef <ds@schleef.org>
17924 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17925 * gst/glib-compat.h: Add some functions that are in newer versions
17926 of glib than we care to require.
17927 * gst/gstregistryxml.c: Use them.
17929 2005-09-14 David Schleef <ds@schleef.org>
17931 * po/POTFILES.in: remove gst-register.c
17933 2005-09-14 David Schleef <ds@schleef.org>
17935 * docs/gst/gstreamer-docs.sgml:
17936 * docs/gst/gstreamer-sections.txt:
17937 * docs/gst/gstreamer.types:
17938 * docs/gst/tmpl/gstelement.sgml:
17939 * docs/gst/tmpl/gstplugin.sgml:
17940 * docs/gst/tmpl/gstpluginfeature.sgml:
17941 Documentation updates for registry changes.
17943 2005-09-14 David Schleef <ds@schleef.org>
17945 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17946 because we don't require glib-2.8.
17948 2005-09-14 David Schleef <ds@schleef.org>
17950 * gst/gstregistryxml.c: Added. Essentially moved out of the
17951 registries directory.
17953 2005-09-14 David Schleef <ds@schleef.org>
17955 * check/Makefile.am:
17956 * check/generic/states.c:
17960 * gst/gst_private.h:
17961 * gst/gstelementfactory.c:
17966 * gst/gstpluginfeature.c:
17967 * gst/gstpluginfeature.h:
17968 * gst/gstregistry.c:
17969 * gst/gstregistry.h:
17970 * gst/gstregistrypool.c: remove
17971 * gst/gstregistrypool.h: remove
17972 * gst/gsttypefind.c:
17973 * gst/gsttypefindfactory.c:
17975 * tools/Makefile.am:
17976 * tools/gst-compprep.c:
17977 * tools/gst-inspect.c:
17978 * tools/gst-register.c: remove
17979 * tools/gst-xmlinspect.c:
17980 Registry rewrite. Changes registry from being a file created
17981 by a tool into a simple cache file created automatically by
17982 libgstreamer. Removed gst-register (because it's no longer
17983 needed). Remove registry pools, because we only have one
17984 registry implementation (XML). Fix up other subsystems as
17987 2005-09-13 Michael Smith <msmith@fluendo.com>
17989 * gst/gstconfig.h.in:
17990 Don't Use windows linking attributes for MinGW. Fixes #316157
17992 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
17994 * gst/gstutils.c: (set_state_async_thread_func),
17995 (gst_element_set_state_async):
17996 Apparently people think it's better if this function doesn't
17997 try to set the state to whatever state was asked for on the first
17998 call to this function for any object. Seriously.
18000 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18002 * check/gst/gstpipeline.c: (GST_START_TEST):
18003 * docs/gst/gstreamer-sections.txt:
18004 * gst/gstutils.c: (set_state_async_thread_func),
18005 (gst_element_set_state_async):
18007 add a "gst_element_set_state_async" method that
18008 sets the state and starts a thread to make sure the state
18009 change completes as best as it can
18011 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18013 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18014 codify design+behaviour in testsuite after discussion
18016 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18018 * docs/gst/tmpl/gstelement.sgml:
18019 * docs/manual/appendix-quotes.xml:
18021 * gst/gstelement.c: (gst_element_set_state):
18024 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18026 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18027 (gst_base_transform_prepare_output_buf),
18028 (gst_base_transform_handle_buffer):
18029 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18030 (gst_capsfilter_prepare_buf):
18031 Remove the requirement for sub-classes to call the parent
18032 implementation of prepare_output_buffer with a wrapper function.
18034 * gst/gsttaglist.h:
18035 * gst/gsttagsetter.h:
18036 Fix #define wrapper
18038 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18040 * docs/gst/gstreamer-sections.txt:
18043 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18045 * docs/gst/gstreamer-sections.txt:
18046 * docs/gst/tmpl/gstelement.sgml:
18047 * docs/gst/tmpl/gstplugin.sgml:
18048 * gst/gstminiobject.c:
18050 docs now stop throwing warnings
18052 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18054 * docs/gst/gstreamer-sections.txt:
18055 * docs/gst/gstreamer.types:
18056 * docs/gst/tmpl/gstpad.sgml:
18057 * docs/gst/tmpl/gsttypes.sgml:
18058 * gst/base/gstadapter.h:
18059 * gst/base/gstbasesink.h:
18060 * gst/base/gstbasesrc.h:
18066 * gst/gstelement.h:
18068 * gst/gstmessage.h:
18070 * gst/gststructure.c:
18071 * gst/registries/gstlibxmlregistry.h:
18072 various documentation fixes
18074 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18076 * docs/gst/gstreamer-sections.txt:
18077 * docs/gst/tmpl/gstvalue.sgml:
18078 rearrange gstvalue section
18079 * gst/gstutils.c: (gst_element_state_get_name):
18081 * gst/gstvalue.c: (_gst_value_initialize):
18085 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18087 * check/gst-libs/controller.c:
18088 Header include fix.
18089 * gst/base/gstbasetransform.c:
18090 (gst_base_transform_default_prepare_buf),
18091 (gst_base_transform_handle_buffer):
18092 * gst/base/gstbasetransform.h:
18093 Some more basetransform changes and fixes to enable sub-classes
18094 that modify buffer metadata only.
18095 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18096 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18097 (gst_capsfilter_prepare_buf):
18098 If the output pad has fixed allowed caps and input buffers
18099 don't have any, set the fixed caps on outgoing buffers.
18101 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18102 * check/elements/identity.c: (GST_START_TEST):
18103 Make the error a little clearer when the test fails because
18104 identity made a copy of the buffer.
18105 * docs/gst/gstreamer-sections.txt:
18106 New symbols in gstbasetransform.h
18107 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18108 (gst_base_transform_init), (gst_base_transform_transform_size),
18109 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18110 (gst_base_transform_default_prepare_buf),
18111 (gst_base_transform_get_unit_size),
18112 (gst_base_transform_buffer_alloc),
18113 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18114 (gst_base_transform_change_state),
18115 (gst_base_transform_set_passthrough),
18116 (gst_base_transform_set_in_place),
18117 (gst_base_transform_is_in_place):
18118 * gst/base/gstbasetransform.h:
18119 Change BaseTransform to separate in_place operate from same_caps
18120 output. in_place implies that the element can perform the transform
18121 on incoming buffers in-place, even if the caps on the output are
18123 Sub-class elements can now implement special buffer allocation
18124 methods for outgoing buffers if they wish to.
18125 Big documentation addition.
18126 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18127 * gst/elements/gstelements.c:
18128 Changes for basetransform modifications.
18129 * gst/elements/Makefile.am:
18130 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18131 Compile fix. Extra debug output.
18133 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18135 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18137 add tests for valid pad naming
18138 * gst/check/gstcheck.c: (gst_check_log_message_func),
18139 (gst_check_log_critical_func):
18141 remove printing of code, it is fragile when the code contains
18142 % and the line number is enough info
18143 * gst/check/gstcheck.h:
18144 * gst/gstpad.c: (gst_pad_template_new):
18147 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18150 say what CHECK flags we use
18151 * docs/libs/gstreamer-libs.types:
18152 * libs/gst/controller/Makefile.am:
18153 * libs/gst/controller/gst-controller.c:
18154 * libs/gst/controller/gst-controller.h:
18155 * libs/gst/controller/gst-helper.c:
18156 * libs/gst/controller/gst-interpolation.c:
18157 * libs/gst/controller/gstcontroller.c:
18158 * libs/gst/controller/gsthelper.c:
18159 * libs/gst/controller/gstinterpolation.c:
18160 * tools/gst-inspect.c: (print_plugin_info):
18161 we don't use dashes in header names
18163 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18165 * check/Makefile.am:
18166 * check/gst/.cvsignore:
18167 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18168 (gst_pipeline_suite), (main):
18169 adding a test for pipelines and state changes
18170 * gst/gstutils.c: (get_state_func):
18172 * gstreamer.spec.in:
18175 2005-09-08 Michael Smith <msmith@fluendo.com>
18177 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18178 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18179 (gst_file_src_is_seekable), (gst_file_src_get_size),
18180 (gst_file_src_start):
18181 * gst/elements/gstfilesrc.h:
18182 Various fixes for unseekable, unmmapable, and non-normal files, so
18183 that fallback to read() rather than mmap() works.
18184 * gst/gstevent.c: (gst_event_new_newsegment):
18185 Allow newsegment events with segment_start == segment_end, as will
18186 correctly happen if you use filesrc on a zero-size file, for
18189 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18191 * gst/gstplugin.c: (gst_plugin_load_file):
18192 Call g_module_close when we don't load the module
18194 * gst/registries/gstlibxmlregistry.c:
18195 (gst_xml_registry_get_property):
18196 Port leak fix from 0.8
18198 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18200 * docs/gst/gstreamer-docs.sgml:
18201 * docs/gst/tmpl/.cvsignore:
18202 * docs/gst/tmpl/gsttrace.sgml:
18203 * docs/gst/tmpl/gsttrashstack.sgml:
18206 * gst/gstelement.h:
18208 * gst/gstmessage.c:
18209 * gst/gstmessage.h:
18212 * gst/gsttaginterface.c:
18213 * gst/gsttaginterface.h:
18214 * gst/gsttaglist.c:
18215 * gst/gsttaglist.h:
18216 * gst/gsttagsetter.c:
18217 * gst/gsttagsetter.h:
18220 * gst/gsttrashstack.c:
18221 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18222 inlined docs for gsttrace, gsttrashstack
18224 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18227 * gst/elements/gstbufferstore.h:
18228 * gst/elements/gsttypefindelement.c:
18229 * gst/elements/gsttypefindelement.h:
18231 * gst/gsttypefind.c:
18232 * gst/gsttypefind.h:
18233 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18234 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18235 (gst_type_find_factory_dispose),
18236 (gst_type_find_factory_unload_thyself),
18237 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18238 (gst_type_find_factory_get_caps),
18239 (gst_type_find_factory_get_extensions),
18240 (gst_type_find_factory_call_function):
18241 * gst/gsttypefindfactory.h:
18242 * gst/registries/gstlibxmlregistry.c:
18243 * gst/registries/gstxmlregistry.c:
18244 splitted gsttypefind into gsttypefind, gsttypefindfactory
18246 2005-09-07 Andy Wingo <wingo@pobox.com>
18248 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18249 condition whereby the pad's task function is entered before the
18250 pad_mode variable was set.
18252 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18254 * gst/gstpad.c: (gst_pad_alloc_buffer):
18255 Catch misbehaving pad_alloc functions that don't
18256 set up caps and do it for them.
18258 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18260 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18261 test for pipe!=NULL
18262 * docs/gst/tmpl/.cvsignore:
18263 * docs/gst/tmpl/gstmemchunk.sgml:
18264 * docs/gst/tmpl/gstparse.sgml:
18265 * docs/gst/tmpl/gsttaglist.sgml:
18266 * docs/gst/tmpl/gsttagsetter.sgml:
18267 * docs/gst/tmpl/gsttypefind.sgml:
18268 * docs/gst/tmpl/gsttypefindfactory.sgml:
18269 * gst/gstmemchunk.c:
18272 * gst/gsttaginterface.c:
18273 * gst/gsttypefind.c:
18274 * gst/gsttypefind.h:
18277 === release 0.9.2 ===
18279 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18284 releasing 0.9.2, "South"
18286 2005-09-05 Andy Wingo <wingo@pobox.com>
18288 * gst/registries/gstxmlregistry.h:
18289 * gst/registries/gstxmlregistry.c: Um... resurrect...
18291 * gst/registries/gstxmlregistry.h:
18292 * gst/registries/gstxmlregistry.c: and update to newer API.
18293 Incidentally they should be a bit faster now that they don't have
18296 2005-09-05 Andy Wingo <wingo@pobox.com>
18298 * gst/registries/gstxmlregistry.h:
18299 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18300 replaced by the libxml registry a while back
18302 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18304 * docs/gst/tmpl/gstplugin.sgml:
18305 * gst/elements/gstelements.c:
18307 * gst/gstplugin.c: (gst_plugin_register_func),
18308 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18309 (gst_plugin_get_source):
18311 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18312 (gst_xml_registry_save_plugin):
18313 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18314 (gst_xml_registry_save_plugin):
18315 * tools/gst-inspect.c: (print_plugin_info):
18316 add a "source" plugin description field, to represent the source
18317 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18318 will set it to PACKAGE, which is automake's idea of the name of
18319 the source project.
18321 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18326 * docs/Makefile.am:
18327 * docs/faq/Makefile.am:
18328 * docs/gst/tmpl/gstelement.sgml:
18329 * docs/gst/tmpl/gsttypes.sgml:
18330 * docs/htmlinstall.mak:
18331 * docs/manual/Makefile.am:
18332 * docs/pwg/Makefile.am:
18333 reorganize doc build a little
18334 split out docbook and gtk-doc stuff
18335 have two separate --enable's and enable them through autogen
18336 but disable by default in configure (to be similar to other
18338 * gstreamer.spec.in:
18339 clean up docs install
18357 translation updates
18359 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18361 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18364 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18365 (gst_fake_sink_change_state):
18366 Make state change function thread-safe.
18368 * gst/gstpad.c: (gst_pad_alloc_buffer):
18369 Set offset on generic buffer allocated by fallback.
18371 2005-09-03 Stefan Kost <ensonic@users.sf.net>
18373 * docs/gst/gstreamer-sections.txt:
18374 * docs/gst/tmpl/gstelement.sgml:
18376 * libs/gst/controller/gst-controller.c:
18377 (gst_controlled_property_set_interpolation_mode),
18378 (gst_controlled_property_new),
18379 (gst_controller_find_controlled_property):
18380 run the wingo-magic script against the docs
18382 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18384 * docs/gst/gstreamer-docs.sgml:
18385 * docs/gst/gstreamer-sections.txt:
18386 * docs/gst/tmpl/.cvsignore:
18387 * docs/gst/tmpl/gstelementdetails.sgml:
18388 * docs/gst/tmpl/gstelementfactory.sgml:
18391 * gst/gstelementfactory.c:
18392 * gst/gstelementfactory.h:
18393 merged elementdetails docs into elementfactory docs
18396 2005-09-02 Andy Wingo <wingo@pobox.com>
18398 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18399 consider this enum an enum and not a flags.
18401 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18403 * docs/gst/gstreamer-docs.sgml:
18404 * docs/gst/tmpl/.cvsignore:
18405 * docs/gst/tmpl/gstghostpad.sgml:
18406 * docs/gst/tmpl/gstiterator.sgml:
18407 * docs/gst/tmpl/gstmacros.sgml:
18408 * docs/gst/tmpl/gstrealpad.sgml:
18409 * docs/gst/tmpl/gstregistry.sgml:
18410 * docs/gst/tmpl/gstregistrypool.sgml:
18411 * docs/gst/tmpl/gststructure.sgml:
18412 * docs/gst/tmpl/gstsystemclock.sgml:
18413 * docs/gst/tmpl/gsttrace.sgml:
18414 * gst/gstghostpad.c:
18416 * gst/gstmemchunk.c:
18417 * gst/gstmemchunk.h:
18419 * gst/gstregistry.c:
18420 * gst/gstregistrypool.c:
18421 * gst/gststructure.c:
18422 * gst/gstsystemclock.c:
18425 2005-09-02 Andy Wingo <wingo@pobox.com>
18427 * gst/gstelement.h (GstState): Renamed from GstElementState,
18428 changed to be a normal enum instead of flags.
18429 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18430 munged to be GST_STATE_CHANGE_*.
18431 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18432 work with the new state representation.
18433 (GstStateChange): New enumeration of possible state transitions.
18434 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18435 (GstElementClass::change_state): Pass the GstStateChange along as
18436 an argument. Helps language bindings, so they don't have to use
18437 tricky lock-needing macros like GST_STATE_CHANGE ().
18439 * scripts/update-states (file): New script. Run it on a file to
18440 update it for state naming and API changes. Updates files in
18443 * All files updated for the new API.
18445 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
18447 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18448 * gst/gstutils.c: (gst_util_set_value_from_string),
18449 (gst_util_set_object_arg):
18450 fix a bunch of unchecked return values
18451 * tools/gst-complete.c: (main):
18452 * gstreamer.spec.in:
18455 2005-09-01 Wim Taymans <wim@fluendo.com>
18457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18458 (gst_base_sink_event), (gst_base_sink_do_sync),
18459 (gst_base_sink_handle_event):
18460 * gst/base/gstbasesink.h:
18461 Handle newsegments more correctly.
18466 * gst/gstevent.c: (gst_event_new_newsegment):
18467 A newsegment cannot have a start_time of -1
18469 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
18471 * win32/gstenumtypes.c:
18472 * win32/gstenumtypes.h:
18475 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18477 * libs/gst/controller/gst-controller.c:
18478 (gst_controlled_property_set_interpolation_mode),
18479 (gst_controlled_property_new):
18480 fixed boolean again
18482 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
18484 * docs/faq/gst-uninstalled:
18489 * gst/gstutils.c: (gst_element_link_filtered):
18491 add gst_element_link_filtered
18493 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18495 * docs/gst/gstreamer-docs.sgml:
18496 * docs/gst/gstreamer-sections.txt:
18497 * docs/gst/tmpl/.cvsignore:
18498 * docs/gst/tmpl/gsterror.sgml:
18499 * docs/gst/tmpl/gstfilter.sgml:
18500 * docs/gst/tmpl/gsturihandler.sgml:
18501 * docs/gst/tmpl/gsturitype.sgml:
18502 * docs/gst/tmpl/gstutils.sgml:
18503 * docs/gst/tmpl/gstxml.sgml:
18508 * gst/gsturitype.c:
18511 inlined more docs, fixed double id-ref
18513 2005-08-31 Wim Taymans <wim@fluendo.com>
18515 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18516 (gst_base_transform_handle_buffer):
18517 Passthrough elements don't need the caps as they don't care.
18519 2005-08-31 Wim Taymans <wim@fluendo.com>
18521 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18522 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18523 Don't leak refcounts on buffers.
18525 2005-08-31 Wim Taymans <wim@fluendo.com>
18527 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18528 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18529 (gst_base_transform_chain), (gst_base_transform_change_state):
18530 * gst/base/gstbasetransform.h:
18531 Handle the case where we are not negotiated more gracefully.
18533 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18535 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18536 (gst_file_src_map_region):
18537 Set READONLY flag on mmap'ed buffers, otherwise
18538 gst_buffer_make_writable() won't work properly (#314708).
18540 2005-08-31 Wim Taymans <wim@fluendo.com>
18542 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18543 passthrough elements can even do inplace on non writable
18544 buffers (as they don't touch them).
18546 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18548 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18549 (gst_test_mono_source_set_property),
18550 (gst_test_mono_source_class_init), (GST_START_TEST),
18551 (gst_controller_suite):
18552 more tests (hehe I have the most)
18554 describe popping messages whenusing mulltiple sources
18555 * libs/gst/controller/gst-controller.c:
18556 (gst_controlled_property_set_interpolation_mode),
18557 (gst_controlled_property_new):
18558 * libs/gst/controller/gst-controller.h:
18559 * libs/gst/controller/gst-interpolation.c:
18560 implement boolean properties
18562 2005-08-31 Wim Taymans <wim@fluendo.com>
18564 * gst/gstminiobject.c: (gst_mini_object_ref):
18565 Cannot assert that the refcount has to be positive
18566 since a disposed object can be resurrected.
18568 2005-08-31 Wim Taymans <wim@fluendo.com>
18570 * gst/gstpad.c: (gst_pad_init):
18571 Revert change, need to first fix badly behaving
18574 2005-08-30 Wim Taymans <wim@fluendo.com>
18576 * check/elements/fakesrc.c: (setup_fakesrc):
18577 * check/elements/identity.c: (setup_identity):
18578 Activate pads before using them.
18580 2005-08-30 Wim Taymans <wim@fluendo.com>
18582 * gst/base/gstadapter.c: (gst_adapter_flush):
18583 Flushing out 0 bytes is ok for this function.
18585 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18586 no newsegment gives a warning and sets the start/stop to
18589 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18590 (gst_base_transform_set_passthrough):
18593 * gst/gstminiobject.c: (gst_mini_object_ref):
18594 Check refcount here too.
18596 * gst/gstpad.c: (gst_pad_init):
18597 Pads are initially flushing and refusing data.
18599 * gst/gstutils.c: (gst_element_link_pads_filtered):
18600 When adding a capsfilter element make sure it has the
18601 same state as the parent bin.
18603 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18605 * docs/gst/tmpl/.cvsignore:
18606 * docs/gst/tmpl/gstformat.sgml:
18607 * docs/gst/tmpl/gstversion.sgml:
18611 * gst/gstversion.h.in:
18612 more docs and two more inlined
18614 2005-08-30 Wim Taymans <wim@fluendo.com>
18616 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18617 Don't sync to clock.
18619 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18621 * docs/gst/gstreamer-sections.txt:
18622 ultral33t func10ns deserve to appear in the docs actually
18623 * docs/gst/tmpl/.cvsignore:
18624 * docs/gst/tmpl/gstcompat.sgml:
18625 * docs/gst/tmpl/gstconfig.sgml:
18626 * gst/check/gstcheck.c:
18628 * gst/gstconfig.h.in:
18631 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18633 * docs/gst/tmpl/.cvsignore:
18634 * docs/gst/tmpl/gstquery.sgml:
18635 * docs/gst/tmpl/gstutils.sgml:
18638 inlined and extended docs
18640 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18642 * check/gst-libs/controller.c: (GST_START_TEST),
18643 (gst_controller_suite):
18645 * docs/gst/tmpl/gstutils.sgml:
18646 * docs/libs/gstreamer-libs-sections.txt:
18647 * docs/libs/tmpl/gstdataprotocol.sgml:
18649 * examples/controller/audio-example.c: (main):
18650 controller example works now
18653 * tools/gst-inspect.c: (print_element_properties_info):
18654 show param spec flags
18656 2005-08-29 Andy Wingo <wingo@pobox.com>
18658 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18660 2005-08-28 Andy Wingo <wingo@pobox.com>
18662 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18663 as having two arguments instead of just one. Allows superclasses
18664 to access information on subclasses -- see the terrible for() loop
18665 in gtype.c:g_type_create_instance for the reason why. All callers
18668 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18670 * docs/design/part-messages.txt:
18672 * docs/gst/tmpl/.cvsignore:
18673 * docs/gst/tmpl/gstcaps.sgml:
18674 * docs/gst/tmpl/gstclock.sgml:
18680 * gst/gstmessage.c:
18681 added descriptions for bus and message
18682 inline caps and clock docs
18684 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18686 * gst/gstmessage.c:
18687 * gst/gstmessage.h:
18690 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18692 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18695 2005-08-26 Andy Wingo <wingo@pobox.com>
18697 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18698 element_set_state's return val.
18699 (test_2_elements): Add test that's been disabled for months.
18701 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18702 can-activate-pull properties.
18704 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18705 can-activate-pull properties. Implement is_seekable so fakesrc can
18706 operate in pull mode.
18708 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18710 (gst_base_sink_activate, gst_base_sink_activate_pull)
18711 (gst_base_sink_activate_push): Make activation mode choosing work.
18713 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18714 is right. Make pull mode work. Post an eos before pausing in pull
18716 (gst_base_sink_change_state): Pay attention to the core's
18717 change_state() return val.
18719 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18720 has-getrange properties. Cleanups.
18722 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18723 has_getrange and replace with can_activate_pull and
18726 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18727 locking comments. Remove has_loop, has_chain and replace with
18728 can_activate_pull and can_activate_push.
18730 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18733 * examples/Makefile.am:
18734 * examples/metadata/Makefile.am:
18735 * examples/metadata/read-metadata.c: (message_loop),
18736 (have_pad_handler), (make_pipeline), (print_tag), (main):
18737 Add metadata reading example that loops over a list of filenames,
18738 dumping any tags found.
18740 * gst/gstbus.c: (gst_bus_dispose):
18741 * gst/gstelement.c: (gst_element_dispose):
18742 Release a few potentially-held references in dispose.
18744 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18746 * docs/gst/tmpl/gstminiobject.sgml:
18747 do *not* add tmpl/*.sgml files to CVS!
18749 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18751 * libs/gst/bytestream/.cvsignore:
18752 * libs/gst/bytestream/Makefile.am:
18753 * libs/gst/bytestream/adapter.c:
18754 * libs/gst/bytestream/adapter.h:
18755 * libs/gst/bytestream/bytestream.c:
18756 * libs/gst/bytestream/bytestream.h:
18757 * libs/gst/bytestream/filepad.c:
18758 * libs/gst/bytestream/filepad.h:
18759 removing obsolete files
18761 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18763 * docs/gst/gstreamer-docs.sgml:
18764 * docs/libs/gstreamer-libs-docs.sgml:
18765 disabed additional index entries again, as this makes docs-gen just
18766 slow and they aren't useful yet
18767 * docs/libs/gstreamer-libs-sections.txt:
18768 little -section.txt cleanup for libs
18770 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18772 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18773 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18774 fix up some debugging
18775 (gst_base_transform_get_unit_size),
18776 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18777 (gst_base_transform_handle_buffer):
18778 * gst/base/gstbasetransform.h:
18779 handle and store timed NEWSEGMENT events so that subclasses that
18780 calculate time by counting samples have a segment_start time they
18781 need to add to their timestamps - see audioresample
18783 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18786 removed ';' from the end of macro defs
18787 * docs/gst/gstreamer-docs.sgml:
18788 * docs/gst/gstreamer-sections.txt:
18789 * docs/gst/tmpl/.cvsignore:
18791 * gst/gstelement.c: (gst_element_class_init),
18792 (gst_element_set_state), (activate_pads),
18793 (gst_element_save_thyself):
18794 * gst/gstevent.c: (gst_event_new_newsegment):
18796 * gst/gstiterator.c:
18797 * gst/gstiterator.h:
18800 * gst/gstutils.c: (gst_pad_query_convert):
18802 fixed parameter name mismatches between source, header and docs
18803 added some more docs, resolved the last batch of unused elements in
18804 docs (now someone needs to doc them)
18806 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18808 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18809 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18810 don't walk through the plugins backwards. Where is all this
18811 reversed logic coming from ?
18813 2005-08-25 Wim Taymans <wim@fluendo.com>
18815 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18816 (gst_base_transform_transform_size),
18817 (gst_base_transform_configure_caps),
18818 (gst_base_transform_get_unit_size),
18819 (gst_base_transform_buffer_alloc),
18820 (gst_base_transform_change_state):
18821 * gst/base/gstbasetransform.h:
18822 Cache caps unit_size.
18823 Make sure we cannot negotiate up and downstream at the
18826 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18828 * gst/gst.c: (init_pre), (init_post):
18829 register the installed plugin path after the env var
18830 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18831 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18832 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18833 directories, so the tests can prefer uninstalled over installed
18835 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18837 * gst/base/gstbasetransform.h:
18842 2005-08-25 Wim Taymans <wim@fluendo.com>
18844 * gst/gstbin.c: (bin_bus_handler):
18845 Be a bit more conservative about the posted message.
18847 * gst/gstbus.c: (gst_bus_post):
18848 Some cleanups, warn wrong return values.
18850 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18852 * check/gst/gstbin.c: (GST_START_TEST):
18853 * gst/gstbin.c: (bin_bus_handler):
18854 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18855 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18856 (gst_message_new_warning), (gst_message_new_tag),
18857 (gst_message_new_state_changed), (gst_message_new_segment_start),
18858 (gst_message_new_segment_done), (gst_message_new_custom):
18859 * gst/gstmessage.h:
18860 * tools/gst-launch.c: (event_loop):
18861 * tools/gst-md5sum.c: (event_loop):
18862 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18864 2005-08-25 Wim Taymans <wim@fluendo.com>
18866 * check/generic/states.c: (GST_START_TEST):
18867 Cleanup can be done at the end.
18869 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18870 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18871 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18872 Oh boy.. Thanks for finding this, Thomas.
18874 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18876 * docs/gst/gstreamer.types:
18877 added missing types
18879 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18881 * docs/gst/gstreamer-docs.sgml:
18882 * docs/gst/gstreamer-sections.txt:
18883 * docs/gst/tmpl/.cvsignore:
18885 * gst/gstiterator.c:
18887 * gst/registries/gstxmlregistry.h:
18888 added missing classes and symbols (123 more to go)
18889 removed removed symbols from section file
18890 fixed many doc-comments
18892 2005-08-24 Wim Taymans <wim@fluendo.com>
18894 * check/generic/states.c: (GST_START_TEST):
18895 Make sure all tasks are stopped.
18897 * check/gst/gstbin.c: (GST_START_TEST):
18898 Unref after usage for proper valgrinding.
18900 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18901 Really wait for the task to stop before destroying the
18904 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18905 (gst_queue_src_activate_push):
18906 Small cleanups. Don't stop the task when we did not start
18909 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18910 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18911 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18914 Protect the stream lock with the object lock.
18915 Disallow setting the stream lock when running.
18916 Add cleanup_all to wait for the threadpool to finish.
18917 Remove code to autoallocate a mutex if none was provided.
18918 Add _join() to wait for a task to stop.
18919 Protect the thread pool with a global lock.
18921 2005-08-24 Wim Taymans <wim@fluendo.com>
18923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18924 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18925 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18926 * gst/base/gstbasesink.h:
18927 Handle newsegment events correctly.
18928 Drop buffers out of the segment range.
18930 2005-08-22 Andy Wingo <wingo@pobox.com>
18932 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18933 macro, implements an interface and gstimplementsinterface for a
18936 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18938 * check/Makefile.am:
18939 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18940 add a test that does a bunch of state changes on elements
18941 needs some fixing for valgrind
18942 * check/states/sinks.c: (gst_object_suite):
18945 add prototype for gst_caps_is_equal_fixed
18947 * gst/gstregistrypool.c:
18950 2005-08-24 Andy Wingo <wingo@pobox.com>
18952 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18953 convert a negative value. Doesn't make much sense. Mostly this is
18954 here to force callers to ensure -1 maps to -1.
18956 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18958 * docs/pwg/advanced-types.xml:
18959 Well done to Michael for catching my deliberate introduction
18960 of this spelling mistake.
18961 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18962 * gst/gstelement.h:
18963 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18964 unlink pads before removing the element from the bin.
18966 2005-08-24 Andy Wingo <wingo@pobox.com>
18968 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18969 the same thing as GST_DEBUG=*:4.
18970 (parse_debug_level, parse_debug_category): New helper parsers.
18972 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18974 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18975 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18976 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18977 (gst_base_transform_buffer_alloc),
18978 (gst_base_transform_handle_buffer):
18979 use gboolean return values and pointers to size so we can use the
18980 full GST_BUFFER_SIZE range (guint) for buffer sizes
18981 use GstPadDirection for transform_caps
18982 * gst/base/gstbasetransform.h:
18983 rename get_size to get_unit_size since that's what it is
18984 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18985 use GstPadDirection for transform_caps
18986 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18988 cleanup and debugging
18990 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18992 * gst/gstelement.c: (gst_element_class_init),
18993 (gst_element_set_state), (activate_pads),
18994 (gst_element_save_thyself):
18995 * tools/gst-compprep.c: (main):
18996 * tools/gst-inspect.c: (print_element_properties_info):
18997 * tools/gst-xmlinspect.c: (print_element_properties):
18998 Fixed long standing mem-leak
19000 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19002 * check/gst/gstbin.c: (GST_START_TEST):
19003 * gst/gstbin.c: (bin_bus_handler):
19004 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19005 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19006 (gst_message_new_warning), (gst_message_new_tag),
19007 (gst_message_new_state_changed), (gst_message_new_segment_start),
19008 (gst_message_new_segment_done), (gst_message_new_custom):
19009 * gst/gstmessage.h:
19010 * tools/gst-launch.c: (event_loop):
19011 * tools/gst-md5sum.c: (event_loop):
19012 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19013 that applications can sensibly post custom messages with references
19014 to their own objects.
19016 2005-08-24 Andy Wingo <wingo@pobox.com>
19018 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19021 2005-08-24 Wim Taymans <wim@fluendo.com>
19023 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19024 (gst_base_transform_transform_caps),
19025 (gst_base_transform_transform_size),
19026 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19027 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19028 (gst_base_transform_handle_buffer):
19029 * gst/base/gstbasetransform.h:
19030 Many fixes and new features added by Thomas. Can now also do
19031 transforms with variable sizes and a custom fixate_caps function.
19033 2005-08-24 Wim Taymans <wim@fluendo.com>
19035 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19039 Cast to ClockTime before formatting to time.
19044 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19046 * check/gst-libs/controller.c: (GST_START_TEST),
19047 (gst_controller_suite):
19048 * docs/gst/tmpl/gstcaps.sgml:
19049 * docs/gst/tmpl/gstghostpad.sgml:
19050 * docs/gst/tmpl/gstquery.sgml:
19051 * docs/gst/tmpl/gstutils.sgml:
19052 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19053 (gst_object_sink_values), (gst_object_get_value_arrays),
19054 (gst_object_get_value_array):
19055 gracefully handle helper method calls to objects that are not beeing
19056 controlled, added test case for that
19058 2005-08-23 Wim Taymans <wim@fluendo.com>
19060 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19061 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19062 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19063 (gst_event_parse_qos), (gst_event_new_seek),
19064 (gst_event_parse_seek):
19066 Some more debugging output and doc cleanups.
19068 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19069 Fix possible deadlock.
19071 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19073 * docs/gst/gstreamer-docs.sgml:
19074 * docs/gst/gstreamer-sections.txt:
19075 * docs/gst/gstreamer.types:
19076 * docs/gst/tmpl/.cvsignore:
19079 * gst/gstelement.c:
19081 added 100 symbols from gstreamer-unused.txt to the right sections
19082 fixed more broken comments
19083 added GstBus to docs
19085 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19087 * docs/gst/gstreamer-sections.txt:
19088 * docs/gst/tmpl/.cvsignore:
19089 * docs/gst/tmpl/gstbin.sgml:
19090 * docs/gst/tmpl/gstbuffer.sgml:
19091 * gst/base/gstbasesrc.c:
19092 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19095 * tools/gst-launch.1.in:
19096 inlined more doc comments, added missing comments and fixed comments
19099 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19101 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19105 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19107 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19108 * gst/gststructure.h:
19109 add a fixate function for booleans; add a FIXME that these func
19110 names should probably be gst_structure_fixate_*
19112 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19114 * docs/gst/gstreamer-docs.sgml:
19115 * docs/gst/gstreamer-sections.txt:
19117 * gst/gstbin.c: (gst_bin_get_type),
19118 (gst_bin_child_proxy_get_child_by_index),
19119 (gst_bin_child_proxy_get_children_count),
19120 (gst_bin_child_proxy_init):
19121 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19122 (gst_child_proxy_get_child_by_index),
19123 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19124 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19125 (gst_child_proxy_get), (gst_child_proxy_set_property),
19126 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19127 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19128 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19129 * gst/gstchildproxy.h:
19130 * gst/parse/grammar.y:
19131 * tools/gst-inspect.c: (print_interfaces),
19132 (print_element_properties_info), (print_element_info):
19133 ported gstchildproxy over from 0.8
19134 ported gst-inspect fixes and enhancements over from 0.8
19136 2005-08-22 Wim Taymans <wim@fluendo.com>
19138 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19139 (gst_base_transform_handle_buffer):
19140 Also call the transform function if we have ANY caps.
19142 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19145 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19147 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19148 Don't pretend to handle seek events if the source is not seekable
19150 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19153 Remove extra parameter to debug output
19155 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19156 (gst_base_src_do_seek), (gst_base_src_activate_push):
19157 Fix seek event handling.
19159 * gst/gstpipeline.c: (gst_pipeline_change_state):
19160 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19161 (gst_queue_src_activate_push):
19162 Don't start the src pad task on FLUSH_STOP if the pad
19166 2005-08-22 Wim Taymans <wim@fluendo.com>
19168 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19169 Added check for gst_static_caps_get() refcounting.
19171 2005-08-22 Wim Taymans <wim@fluendo.com>
19173 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19174 Make _static_caps_get() refcounting sane.
19176 * gst/gstelement.c: (gst_element_set_state):
19177 Add g_return_val_if_fail() to protect against segfaults.
19179 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19181 * docs/gst/tmpl/gstevent.sgml:
19184 inlined remaining docs, added missing doc comments
19186 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19188 * check/gst/gstbin.c: (GST_START_TEST):
19189 since we don't know when preroll is done, use refcount range
19191 * gst/check/gstcheck.h:
19192 add macro for checking refcount range
19194 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19196 * check/Makefile.am:
19197 clean up environment for when registry gets built versus
19198 when actual tests are run; valgrind seems to not report
19199 leaks if GST_PLUGIN_PATH is set to some specific values
19200 * check/gst/gstbin.c: (GST_START_TEST):
19201 add more refcounting checks; maybe this exposes a
19203 * common/check.mak:
19204 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19205 * gst/check/gstcheck.h:
19206 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19207 (gst_bin_change_state):
19208 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19209 add/fix debugging/whitespace
19211 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19213 * check/gst/gstevent.c: (event_probe), (test_event),
19215 Er, don't call gst_bin_watch_for_state_change you idiot.
19217 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19219 * check/Makefile.am:
19220 Use CHECK_CFLAGS and CHECK_LIBS
19221 * check/gst/gstevent.c: (event_probe), (test_event),
19224 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19225 (gst_base_src_start), (gst_base_src_stop),
19226 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19227 (gst_base_src_change_state):
19228 Sprinkle gst_base_src_stop liberally around error paths to fix
19229 problems reusing a source after failed state changes.
19230 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19231 (helper_find_suggest), (gst_type_find_helper):
19232 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19234 * docs/gst/tmpl/gstevent.sgml:
19235 Migrate part of the docs from the SGML file. Wait for ensonic to
19236 tell me how I did it wrong ;)
19237 * tools/gst-typefind.c: (main):
19238 Extra robustness to state changes between files.
19240 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19242 * check/Makefile.am:
19243 don't valgrind the controller test - it's leaking - Stefan, HELP
19244 * gst/check/gstcheck.c: (gst_check_message_error),
19245 (gst_check_chain_func), (gst_check_setup_element),
19246 (gst_check_teardown_element), (gst_check_setup_src_pad),
19247 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19248 (gst_check_teardown_sink_pad):
19249 * gst/check/gstcheck.h:
19250 add a bunch of methods to set up elements, and src and sink pads
19251 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19252 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19255 * gst/gstmessage.c:
19257 whitespace/doc fixes
19259 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19261 * gst/gstelement.h:
19262 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19263 be handled by the application and not always printed as well
19265 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19267 * check/Makefile.am:
19269 * gst/check/gstcheck.c: (gst_check_message_error):
19270 * gst/check/gstcheck.h:
19271 add a fail_unless_equals_int
19272 add fail_unless for error messages
19274 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19276 * check/Makefile.am:
19278 * common/Makefile.am:
19279 * common/check.mak:
19281 factor out some of the common stuff so we can use it
19283 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19285 * check/Makefile.am:
19286 * check/gst/gstiterator.c: (GST_START_TEST):
19287 * check/gst/gstsystemclock.c: (GST_START_TEST),
19288 (gst_systemclock_suite):
19289 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19291 valgrind more tests
19293 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19295 * check/elements/.cvsignore:
19296 * check/elements/gstfakesrc.c:
19297 rename to name of element
19298 * check/elements/identity.c: (chain_func), (event_func),
19299 (setup_identity), (cleanup_identity), (GST_START_TEST),
19300 (identity_suite), (main):
19301 add a test for identity
19302 * check/Makefile.am:
19303 * pkgconfig/Makefile.am:
19304 * pkgconfig/gstreamer-check.pc.in:
19305 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19309 move the check stuff to a library that gets installed
19310 * check/gst-libs/controller.c: (GST_START_TEST):
19311 * check/gst-libs/gdp.c:
19312 * check/gst/gst.c: (GST_START_TEST):
19313 * check/gst/gstbin.c:
19314 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19315 * check/gst/gstbus.c:
19316 * check/gst/gstcaps.c: (GST_START_TEST):
19317 * check/gst/gstelement.c:
19318 * check/gst/gstghostpad.c:
19319 * check/gst/gstiterator.c:
19320 * check/gst/gstmessage.c:
19321 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19322 * check/gst/gstobject.c:
19323 * check/gst/gstpad.c: (GST_START_TEST):
19324 * check/gst/gststructure.c: (GST_START_TEST):
19325 * check/gst/gstsystemclock.c: (GST_START_TEST),
19326 (gst_systemclock_suite):
19327 * check/gst/gsttag.c: (gst_tag_suite):
19328 * check/gst/gstvalue.c:
19329 * check/pipelines/cleanup.c:
19330 * check/pipelines/simple_launch_lines.c:
19331 * check/states/sinks.c:
19332 change include statement
19334 * docs/gst/gstreamer-sections.txt:
19335 * docs/gst/tmpl/gstpad.sgml:
19336 document more pad stuff
19337 * gst/gstminiobject.c: (gst_mini_object_ref),
19338 (gst_mini_object_unref):
19341 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19343 * docs/gst/tmpl/gst.sgml:
19345 eliminate another tmpl file, fix spelling in the long-description
19347 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19349 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19350 (test_event), (timediff), (gstevents_suite):
19351 Should fix build on 64-bit arch's
19353 2005-08-18 Andy Wingo <wingo@pobox.com>
19355 Make sure that when a pipeline goes to PLAYING, that data has
19356 actually hit the sink.
19358 * check/states/sinks.c (test_sink): A sink that doesn't get any
19359 data shouldn't return SUCCESS for going to either PLAYING or
19360 PAUSED. Test also the return values on the way back down.
19362 * gst/gstelement.c (gst_element_set_state): When changing the
19363 state of an element currently changing state asynchronously, go to
19364 lost-state after commiting the pending state. Makes future calls
19365 to get_state continue to return ASYNC.
19367 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19368 ASYNC when going to PLAYING if we still don't have preroll, as can
19369 happen with live sources.
19371 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19373 * docs/pwg/advanced-types.xml:
19374 Hack long paragraph into 2 chunks as a workaround for buggy
19375 jadetex version in sid and breezy that loops infinitely and
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 Provide more error margin in clock measurements to allow for
19383 g_get_current_time inaccuracies.
19385 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19387 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19388 (test_event), (timediff), (gstevents_suite):
19389 Fix error message output so I might be able to tell why the
19390 test works here but fails on the build farm.
19392 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19394 * check/Makefile.am:
19395 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19396 (test_event), (timediff), (gstevents_suite), (main):
19399 * docs/design/part-seeking.txt:
19400 Spelling correction
19402 * docs/gst/tmpl/gstevent.sgml:
19403 * docs/gst/tmpl/gstfakesrc.sgml:
19406 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19407 Treat a buffer-without-newsegment the same as a receiving
19408 a newsegment not in time format, and disable syncing to the clock
19411 * gst/gstbus.c: (gst_bus_set_sync_handler):
19412 Assert if anyone tries to replace the existing sync_handler for bus,
19413 as only the owner should be setting it.
19416 Have a fixed set of custom event enums with events identified by
19417 their structure name (as in 0.8), rather than a free-for-all
19418 allowing collisions between enum values from different plugins.
19420 * gst/gstpad.c: (gst_pad_class_init):
19423 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19424 Handle out-of-band downstream events from the sending thread.
19426 2005-08-17 Andy Wingo <wingo@pobox.com>
19428 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19429 play-timeout==0 to mean no timeout at all. In that case, don't
19430 bother with a get_state or a warning, just return directly, even
19433 * gst/base/gstbasetransform.c: Debug changes.
19436 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19437 ensure bins post state change messages. A bit of a hack but I can't
19438 think of a way to avoid it.
19440 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19442 2005-08-16 Andy Wingo <wingo@pobox.com>
19444 * gst/base/gstadapter.h:
19445 * gst/base/gstadapter.c (gst_adapter_take): New function, like
19446 peek() but you own the data. Not terribly efficient atm.
19448 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19450 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19451 (gst_element_found_tags):
19453 Add two utility functions for tag handling.
19455 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19457 * docs/manual/advanced-dataaccess.xml:
19458 * docs/manual/basics-helloworld.xml:
19459 Fix docs to use _bin_add() before _link(), which fixes the examples
19460 with recent core versions (reported by Madhan Raj M
19461 <raj_madan@rediffmail.com>, #313199).
19463 2005-08-16 Wim Taymans <wim@fluendo.com>
19465 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19466 Added subtract checks.
19468 * docs/design/part-events.txt:
19469 Some more docs about newsegment
19471 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19474 * gst/gstcaps.c: (gst_caps_to_string):
19475 Add comments, cleanups.
19477 * gst/gstelement.c: (gst_element_save_thyself):
19480 * gst/gstvalue.c: (gst_value_collect_int_range),
19481 (gst_string_unwrap), (gst_value_union_int_int_range),
19482 (gst_value_union_int_range_int_range),
19483 (gst_value_intersect_int_int_range),
19484 (gst_value_intersect_int_range_int_range),
19485 (gst_value_intersect_double_double_range),
19486 (gst_value_intersect_double_range_double_range),
19487 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19488 (gst_value_subtract_int_range_int),
19489 (gst_value_subtract_double_range_double),
19490 (gst_value_subtract_double_range_double_range),
19491 (gst_value_subtract_from_list), (gst_value_subtract_list),
19492 (gst_value_can_compare), (gst_value_compare_fraction):
19493 Cleanups, add comments, remove unneeded asserts.
19495 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19497 * tools/gst-launch.c: (event_loop):
19498 don't convert NULL structures to strings
19500 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19502 * docs/gst/gstreamer-sections.txt:
19503 made some defines private
19504 * docs/gst/tmpl/gstconfig.sgml:
19505 * docs/gst/tmpl/gstqueue.sgml:
19506 * docs/gst/tmpl/gsttaglist.sgml:
19507 * docs/gst/tmpl/gsttypes.sgml:
19508 * docs/gst/tmpl/gstutils.sgml:
19509 * docs/pwg/appendix-porting.xml:
19510 * gst/base/gstbasesink.h:
19511 * gst/base/gstbasesrc.c:
19512 * gst/base/gstbasesrc.h:
19513 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19514 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19515 * gst/gstelement.c: (gst_element_class_init):
19516 * gst/gstpad.c: (gst_pad_class_init):
19517 * gst/gstqueue.c: (gst_queue_class_init):
19518 * gst/gstxml.c: (gst_xml_class_init):
19519 documented all undocumented signal inline
19520 * libs/gst/controller/gst-controller.h:
19523 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19525 * docs/pwg/appendix-porting.xml:
19526 Document _set_link_function -> _set_setcaps_function.
19528 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19530 * check/Makefile.am:
19531 add a .check target for running the check
19532 * check/gst-libs/controller.c: (GST_START_TEST):
19534 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19535 complete checks for gstbuffer; would be nice if I could get the
19536 gcov stuff to work so I can see if I actually completed gstbuffer.c
19537 * check/gstcheck.h:
19538 add ASSERT_BUFFER_REFCOUNT
19540 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19542 * docs/gst/gstreamer-sections.txt:
19543 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19545 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19546 spew out a warning if a tag that is already registered
19547 is re-registered, unless it is re-registered with a
19548 different type (#308438).
19550 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19552 * docs/pwg/appendix-porting.xml:
19553 * docs/pwg/building-state.xml:
19554 Add some paragraphs about state changes in 0.9 to the PWG
19555 and the porting guide, in particular about the new meaning
19556 of GST_STATE_PAUSED and how to write state change functions
19557 with concurrent access by multiple threads in mind.
19559 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19561 * docs/gst/gstreamer-docs.sgml:
19562 * docs/libs/gstreamer-libs-docs.sgml:
19563 added deprecation and since indexes
19564 * libs/gst/controller/gst-controller.c:
19565 * libs/gst/controller/gst-helper.c:
19569 2005-08-11 Wim Taymans <wim@fluendo.com>
19571 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19572 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19573 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19574 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19575 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19576 (gst_ghost_pad_set_target):
19577 Actually implement (re)setting the target on a ghostpad
19578 as described in the docs.
19580 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19582 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19583 Check whether GST_DEBUG_NO_COLOR environment variable is
19584 set and disable coloured debug output if that is the case.
19586 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19588 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19589 (gst_type_find_helper):
19590 The memory returned by gst_type_find_peek() needs to
19591 stay valid until the end of a typefind function, and
19592 typefind functions may keep results from different
19593 offsets around, so we can't just unref the buffer from
19594 the previous _peek(), but have to save all buffers
19595 returned by _peek() until typefinding is done and only
19598 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19600 * docs/gst/gstreamer-sections.txt:
19602 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19604 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19606 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19607 Fix a pretty good memleak.
19609 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19611 * gst/gstiterator.h:
19612 Fix wrong include and 'make distcheck'.
19614 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19616 * gst/gstbin.c: (bin_bus_handler):
19617 Use gst_element_post_message() instead.
19619 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19621 * gst/base/gstadapter.h:
19622 * gst/base/gstbasesink.h:
19623 * gst/base/gstbasesrc.h:
19624 * gst/base/gstbasetransform.h:
19625 * gst/base/gstcollectpads.h:
19626 * gst/base/gstpushsrc.h:
19627 * gst/gstiterator.h:
19628 Add padding to our base elements' class and instance structs and
19629 to GstIterator (you will need to rebuild all plugins and apps!)
19631 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19633 * gst/gstbin.c: (bin_bus_handler):
19634 Make default message forwarding from child->bus to bin->bus
19635 threadsafe and make it not emit warnings if the parent has no bus.
19637 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19639 * gst/gstelement.c: (activate_pads):
19640 On paused->ready, set pad->caps to NULL, as is the documented
19641 behaviour in this state change. Fixes playback of series of
19642 media files when visualization is enabled in Totem.
19644 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19646 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19647 Allow NULL as filter-caps (which means "any").
19649 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19651 * docs/libs/gstreamer-libs-sections.txt:
19652 * libs/gst/controller/gst-controller.c:
19653 * libs/gst/controller/gst-controller.h:
19654 * libs/gst/controller/gst-helper.c:
19655 adding more entries to the docs and fix small doc-bugs
19657 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19659 * docs/gst/gstreamer-docs.sgml:
19660 * docs/gst/gstreamer-sections.txt:
19661 * docs/gst/gstreamer.types:
19662 * docs/gst/tmpl/gstbasesink.sgml:
19663 * docs/gst/tmpl/gstbasesrc.sgml:
19664 * docs/gst/tmpl/gstbasetransform.sgml:
19665 * docs/gst/tmpl/gstfakesrc.sgml:
19666 * gst/base/gstcollectpads.c:
19667 * gst/base/gstcollectpads.h:
19668 * libs/gst/controller/gst-controller.c:
19669 * libs/gst/controller/gst-controller.h:
19670 * libs/gst/controller/gst-helper.c:
19671 * libs/gst/controller/gst-interpolation.c:
19672 * libs/gst/controller/lib.c:
19673 added long/short desc for controller docs
19674 added collectpads base class docs
19675 added correct includes to base-class docs
19677 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19679 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19680 (gst_test_mono_source_set_property),
19681 (gst_test_mono_source_class_init), (GST_START_TEST),
19682 (gst_controller_suite):
19683 * docs/gst/gstreamer-docs.sgml:
19684 * docs/gst/gstreamer-sections.txt:
19685 * docs/gst/gstreamer.types:
19686 * docs/libs/gstreamer-libs-docs.sgml:
19687 * docs/libs/gstreamer-libs-sections.txt:
19688 * gst/base/gstadapter.c:
19689 * libs/gst/controller/gst-controller.c:
19690 (gst_controlled_property_new), (gst_controlled_property_free),
19691 (gst_controller_new_valist),
19692 (gst_controller_remove_properties_valist),
19693 (gst_controller_sink_values), (_gst_controller_finalize):
19694 * libs/gst/controller/gst-controller.h:
19695 * libs/gst/controller/gst-helper.c:
19696 (gst_object_control_properties), (gst_object_uncontrol_properties),
19697 (gst_object_get_controller), (gst_object_set_controller),
19698 (gst_object_sink_values), (gst_object_get_value_arrays),
19699 (gst_object_get_value_array):
19700 more tests (and fixes) for the controller
19701 more docs for the controller
19702 integrated companies docs for the adapter
19704 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19706 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19707 (GST_START_TEST), (fakesrc_suite):
19708 add tests for sizetype
19710 2005-08-04 Andy Wingo <wingo@pobox.com>
19712 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19713 fixes buffer_alloc proxying among other things.
19715 * gst/base/gstbasetransform.c:
19716 * gst/base/gstbasetransform.h:
19717 Revert patch to gstbasetransform from 7-28 removing
19720 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19721 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19722 Semantics changed, should return not the size of the output buffer
19723 but the byte size of a buffer with a given caps.
19725 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19727 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19728 out) are not the pad caps until setcaps finishes.
19729 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19730 not-in-place case as well. Deal with changing from in-place to
19731 not-in-place within calling pad_alloc_buffer. Still a bit
19732 concerned about the overhead here...
19734 2005-08-03 Andy Wingo <wingo@pobox.com>
19736 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19737 fixating is an error.
19739 2005-08-04 Edward Hervey <edward@fluendo.com>
19741 * gst/base/gstadapter.h:
19742 Added gst_adapter_get_type() to the header
19744 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19746 * check/Makefile.am:
19747 * check/gst-libs/controller.c:
19748 * libs/gst/controller/gst-controller.c:
19749 (gst_controller_new_valist):
19750 added check test suite for the controller
19751 * gst/base/gstpushsrc.c:
19754 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19756 * docs/gst/Makefile.am:
19757 * docs/gst/gstreamer-docs.sgml:
19758 * docs/gst/gstreamer-sections.txt:
19759 * docs/gst/gstreamer.types:
19760 * docs/gst/tmpl/gstfakesrc.sgml:
19762 * gst/base/gstbasesink.c:
19763 * gst/base/gstbasesink.h:
19764 * gst/base/gstbasesrc.c:
19765 * gst/base/gstbasesrc.h:
19766 * gst/base/gstbasetransform.c:
19767 * gst/base/gstpushsrc.c:
19768 * gst/base/gstpushsrc.h:
19769 add short/long description docs to base classes
19770 add pushsrc to the docs
19771 remove consolidated doc fragments
19773 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19776 * docs/libs/Makefile.am:
19777 * docs/libs/gstreamer-libs-docs.sgml:
19778 * docs/libs/gstreamer-libs-sections.txt:
19779 * docs/libs/gstreamer-libs.types:
19780 * examples/Makefile.am:
19781 * examples/controller/.cvsignore:
19782 * examples/controller/Makefile.am:
19783 * examples/controller/audio-example.c: (main):
19784 * libs/gst/Makefile.am:
19785 * libs/gst/controller/.cvsignore:
19786 * libs/gst/controller/Makefile.am:
19787 * libs/gst/controller/gst-controller.c:
19788 (on_object_controlled_property_changed), (gst_timed_value_compare),
19789 (gst_timed_value_find),
19790 (gst_controlled_property_set_interpolation_mode),
19791 (gst_controlled_property_new), (gst_controlled_property_free),
19792 (gst_controller_find_controlled_property),
19793 (gst_controller_new_valist), (gst_controller_new),
19794 (gst_controller_remove_properties_valist),
19795 (gst_controller_remove_properties), (gst_controller_set),
19796 (gst_controller_set_from_list), (gst_controller_unset),
19797 (gst_controller_get), (gst_controller_get_all),
19798 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19799 (gst_controller_get_value_array),
19800 (gst_controller_set_interpolation_mode),
19801 (_gst_controller_finalize), (_gst_controller_init),
19802 (_gst_controller_class_init), (gst_controller_get_type):
19803 * libs/gst/controller/gst-controller.h:
19804 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19805 (g_object_uncontrol_properties), (g_object_get_controller),
19806 (g_object_set_controller), (g_object_sink_values),
19807 (g_object_get_value_arrays), (g_object_get_value_array):
19808 * libs/gst/controller/gst-interpolation.c:
19809 (gst_controlled_property_find_timed_value_node),
19810 (interpolate_none_get), (interpolate_trigger_get),
19811 (interpolate_trigger_get_value_array):
19812 * libs/gst/controller/lib.c: (gst_controller_init):
19813 * pkgconfig/Makefile.am:
19814 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19815 * pkgconfig/gstreamer-control.pc.in:
19816 * testsuite/Makefile.am:
19817 * testsuite/controller/.cvsignore:
19818 * testsuite/controller/Makefile.am:
19819 * testsuite/controller/interpolator.c: (main):
19820 added controller code
19821 removed dparam pc files
19823 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19824 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19825 (gst_collectpads_stop):
19826 Broadcast the condition when shutting down, to make sure we wake all
19827 threads up. Shut down pads on finalize, for safety.
19829 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19830 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19831 (gst_base_transform_handle_buffer),
19832 (gst_base_transform_change_state):
19833 Handle PAUSED->READY->PAUSED transition after negotiation
19835 * gst/gstmessage.c: (gst_message_init):
19836 Extra piece of debug for new messages.
19838 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19841 * docs/gst/tmpl/gstbasesrc.sgml:
19842 * docs/gst/tmpl/gstelement.sgml:
19843 * docs/gst/tmpl/gstevent.sgml:
19844 * docs/gst/tmpl/gstfakesrc.sgml:
19845 * docs/gst/tmpl/gstformat.sgml:
19846 * docs/gst/tmpl/gstghostpad.sgml:
19847 * docs/gst/tmpl/gstpad.sgml:
19848 * docs/gst/tmpl/gstquery.sgml:
19849 * docs/gst/tmpl/gststructure.sgml:
19850 * docs/gst/tmpl/gsttaglist.sgml:
19851 * docs/gst/tmpl/gstvalue.sgml:
19852 * docs/libs/gstreamer-libs-docs.sgml:
19853 * docs/libs/gstreamer-libs-sections.txt:
19854 * docs/libs/gstreamer-libs.types:
19855 * libs/gst/Makefile.am:
19856 * libs/gst/control/.cvsignore:
19857 * libs/gst/control/Makefile.am:
19858 * libs/gst/control/control.c:
19859 * libs/gst/control/control.h:
19860 * libs/gst/control/dparam.c:
19861 * libs/gst/control/dparam.h:
19862 * libs/gst/control/dparam_smooth.c:
19863 * libs/gst/control/dparam_smooth.h:
19864 * libs/gst/control/dparamcommon.h:
19865 * libs/gst/control/dparammanager.c:
19866 * libs/gst/control/dparammanager.h:
19867 * libs/gst/control/dplinearinterp.c:
19868 * libs/gst/control/dplinearinterp.h:
19869 * libs/gst/control/unitconvert.c:
19870 * libs/gst/control/unitconvert.h:
19871 * testsuite/Makefile.am:
19872 * testsuite/dynparams/.cvsignore:
19873 * testsuite/dynparams/Makefile.am:
19874 * testsuite/dynparams/dparamstest.c:
19875 * tools/Makefile.am:
19876 * tools/gst-inspect.c: (print_element_info), (main):
19877 * tools/gst-xmlinspect.c: (print_element_info), (main):
19878 deactivate and remove dparams (libgstcontrol)
19880 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19882 * gst/elements/gsttypefindelement.c:
19883 (gst_type_find_element_have_type), (gst_type_find_element_init),
19884 (stop_typefinding), (gst_type_find_element_handle_event),
19885 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19886 * gst/elements/gsttypefindelement.h:
19887 Set caps on all outgoing buffers, not just the first one.
19889 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19891 * gst/elements/gsttypefindelement.c:
19892 (gst_type_find_element_have_type),
19893 (gst_type_find_element_check_set_buffer_caps),
19894 (gst_type_find_element_init), (stop_typefinding),
19895 (gst_type_find_element_handle_event),
19896 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19897 * gst/elements/gsttypefindelement.h:
19898 Set caps on first outgoing buffer when we've found the type.
19900 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19902 * docs/gst/gstreamer-docs.sgml:
19903 * docs/gst/gstreamer-sections.txt:
19904 * docs/gst/tmpl/gstscheduler.sgml:
19905 * docs/gst/tmpl/gstschedulerfactory.sgml:
19906 Remove some old cruft from docs.
19908 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19911 Fix inline docs for GstPadLinkReturn.
19913 * gst/gststructure.c: (gst_structure_has_name):
19914 * gst/gststructure.h:
19915 * docs/gst/gstreamer-sections.txt:
19916 New API: gst_structure_has_name().
19918 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19921 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19922 and _LARGEFILE_SOURCE in config.h as required. Do not
19923 export those flags in our .pc files any longer (#142209).
19925 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19927 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19928 (gst_file_sink_do_seek), (gst_file_sink_event),
19929 (gst_file_sink_get_current_offset), (gst_file_sink_render):
19930 Redo seek/tell calls with large file support in mind; add some
19931 debugging messages; add log message that tells us when large
19932 file support is unavailable or not enabled for some reason.
19934 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19935 Add log message that tells us when large file support
19936 is unavailable or not enabled for some reason.
19938 2005-07-29 Wim Taymans <wim@fluendo.com>
19940 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19941 Added test for removing an element with ghostpad from a bin.
19942 Fixed test as current implementation does the right thing.
19944 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19945 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19946 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19947 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19948 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19949 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19950 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19951 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19952 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19953 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19954 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19955 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19956 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19957 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19958 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19959 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19960 * gst/gstghostpad.h:
19961 Clean up ghostpads, remove properties for internal stuff.
19964 Prepare for switching targets, not all use cases work yet.
19966 2005-07-29 Wim Taymans <wim@fluendo.com>
19968 * docs/design/part-gstghostpad.txt:
19971 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19972 (gst_bin_remove_func):
19973 Unlinking pads while holding the bin LOCK is not a good
19976 * gst/gstpad.c: (gst_pad_class_init),
19977 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19978 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19979 No prob setting template after creating the pad.
19981 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
19983 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19984 (gst_bus_peek), (gst_bus_source_dispatch),
19985 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19986 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19987 gst_bus_poll may be called from other threads. Handle
19988 this nicely by not making poll_data disappear off the
19989 stack once gst_bus_poll returns.
19990 gst_bus_peek now increments the refcount on the returned
19993 2005-07-29 Wim Taymans <wim@fluendo.com>
19995 * docs/design/part-gstghostpad.txt:
19996 Overview of current GhostPad datastructures and use
19997 cases for changing the target.
19999 2005-07-28 Wim Taymans <wim@fluendo.com>
20001 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20002 Added checks for hierarchy consistency whan adding linked
20005 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20006 Added check to test element scheduling without bin/pipeline.
20008 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20009 First add elements to bin, then link.
20011 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20012 (gst_bin_remove_func):
20013 Unlink pads from elements added/removed from bin to maintain
20014 hierarchy consistency.
20016 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20018 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20019 (gst_base_transform_handle_buffer):
20020 * gst/base/gstbasetransform.h:
20021 Remove broken delay_configure (fixes renegotiation of software
20022 scaling pipelines); remove some leftover printf()s.
20024 2005-07-28 Wim Taymans <wim@fluendo.com>
20026 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20027 Added some more tests for wrong hierarchy
20029 * docs/design/part-overview.txt:
20032 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20035 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20036 (gst_element_dispose):
20037 Some more cleanups.
20039 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20040 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20041 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20042 (gst_pad_set_caps), (gst_pad_send_event):
20043 Check for correct hierarchy when linking pads. Moving to
20044 strict requirement for ghostpads when linking elements in
20048 Clean ups. Added WRONG_HIERARCHY return value.
20050 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20052 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20053 Better debug if no transform is possible.
20055 2005-07-27 Wim Taymans <wim@fluendo.com>
20057 * docs/random/wtay/network-transp:
20058 Some old doc I had.
20060 2005-07-27 Wim Taymans <wim@fluendo.com>
20062 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20063 (gst_dp_event_from_packet):
20064 Fix serialization of seek events.
20066 2005-07-27 Wim Taymans <wim@fluendo.com>
20068 * check/gst-libs/gdp.c: (GST_START_TEST):
20069 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20070 Fix compilation and fix event serialization.
20072 2005-07-27 Wim Taymans <wim@fluendo.com>
20075 * docs/design/part-TODO.txt:
20076 * docs/design/part-events.txt:
20079 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20080 (gst_base_sink_event), (gst_base_sink_do_sync),
20081 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20082 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20083 (gst_base_src_do_seek), (gst_base_src_event_handler),
20084 (gst_base_src_loop):
20085 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20086 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20087 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20088 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20089 (gst_base_transform_set_passthrough),
20090 (gst_base_transform_is_passthrough):
20091 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20092 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20098 * gst/gstelement.c: (gst_element_seek):
20099 * gst/gstelement.h:
20100 Update gst_element_seek.
20102 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20103 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20104 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20105 (gst_event_new_eos), (gst_event_new_newsegment),
20106 (gst_event_parse_newsegment), (gst_event_new_tag),
20107 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20108 (gst_event_parse_qos), (gst_event_new_seek),
20109 (gst_event_parse_seek), (gst_event_new_navigation):
20111 Make GstEvent use GstStructure. Add parsing code, make sure the
20112 API is sufficiently generic.
20113 Mark possible directions of events and serialization.
20115 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20116 (_gst_message_copy), (gst_message_new_segment_start),
20117 (gst_message_new_segment_done), (gst_message_new_custom),
20118 (gst_message_parse_segment_start),
20119 (gst_message_parse_segment_done):
20122 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20123 (gst_pad_set_caps), (gst_pad_send_event):
20124 Update for new events.
20125 Catch events sent in wrong directions.
20127 * gst/gstqueue.c: (gst_queue_link_src),
20128 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20129 (gst_queue_handle_src_query):
20134 Remove event code from this file.
20136 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20137 (gst_dp_event_from_packet):
20140 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20142 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20143 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20144 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20145 Make debugging actually useful.
20147 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20149 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20150 (gst_pad_fixate_caps):
20151 Implement default fixation once again, so that gst_pad_fixate()
20152 actually does anything at all. This probably needs to be some
20153 sort of a last resort, and use profile-based fixation first, but
20154 since that doesn't exist yet, this is the best we have. Fixes
20155 visualization in Totem.
20157 2005-07-22 Wim Taymans <wim@fluendo.com>
20159 * docs/design/part-events.txt:
20162 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20163 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20164 (gst_base_sink_activate_pull):
20165 Some more comments.
20167 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20168 (gst_fake_src_create):
20169 Fix handoff marshall.
20171 * gst/elements/gstidentity.c: (gst_identity_class_init),
20172 (gst_identity_transform_ip):
20173 We're a real inplace element.
20175 * gst/gstbus.c: (gst_bus_post):
20176 Added some comments.
20178 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20179 * tests/muxing/case1.c: (main):
20180 * tests/sched/dynamic-pipeline.c: (main):
20181 * tests/sched/interrupt1.c: (main):
20182 * tests/sched/interrupt2.c: (main):
20183 * tests/sched/interrupt3.c: (main):
20184 * tests/sched/runxml.c: (main):
20185 * tests/sched/sched-stress.c: (main):
20186 * tests/seeking/seeking1.c: (event_received), (main):
20187 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20189 * tests/threadstate/threadstate3.c: (main):
20190 * tests/threadstate/threadstate4.c: (main):
20191 * tests/threadstate/threadstate5.c: (main):
20194 2005-07-21 Wim Taymans <wim@fluendo.com>
20196 * docs/design/part-seeking.txt:
20197 Some small additions.
20199 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20200 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20201 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20202 * gst/base/gstbasesink.h:
20203 discont values are gint64, handle the math correctly.
20205 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20206 Make the basesrc report error if the source pad is not linked.
20208 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20209 (gst_queue_loop), (gst_queue_handle_src_query),
20210 (gst_queue_src_activate_push):
20211 Make queue collect data even if the srcpad is not linked.
20212 Start pushing out data as soon as it is linked.
20214 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20216 Added gst_flow_get_name() to ease error reporting.
20218 2005-07-20 Wim Taymans <wim@fluendo.com>
20220 * gst/gstmessage.c: (gst_message_new_segment_start),
20221 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20222 (gst_message_parse_segment_done):
20223 * gst/gstmessage.h:
20224 Added a bunch of messages for advanced seeking.
20226 * gst/parse/grammar.y:
20227 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20228 (gst_dpman_state_changed):
20229 Fix some new-pad -> pad-added signals
20231 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20233 * docs/manual/appendix-porting.xml:
20234 * docs/pwg/appendix-porting.xml:
20235 Document new-pad/state-change signal renames and the FixedList
20238 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20240 * docs/manual/advanced-autoplugging.xml:
20241 * docs/manual/basics-helloworld.xml:
20242 * docs/manual/basics-pads.xml:
20243 * docs/random/ds/0.9-suggested-changes:
20244 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20245 * gst/gstelement.h:
20249 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20250 (gst_structure_parse_array), (gst_structure_parse_value):
20251 * gst/gstvalue.c: (gst_type_is_fixed),
20252 (gst_value_list_prepend_value), (gst_value_list_append_value),
20253 (gst_value_list_get_size), (gst_value_list_get_value),
20254 (gst_value_transform_array_string), (gst_value_serialize_array),
20255 (gst_value_deserialize_array), (gst_value_intersect_array),
20256 (gst_value_is_fixed), (_gst_value_initialize):
20258 GstElement::new-pad -> pad-added, GstElement::state-change ->
20259 state-changed, GstValueFixedList -> GstValueArray, add format and
20260 flags as their own arguments in gst_element_seek() (should improve
20261 "bindeability"), remove function generators since they don't work
20262 under a whole bunch of compilers (they were deprecated already
20265 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20267 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20268 (_gst_debug_register_funcptr):
20270 Fix illegal cast on some platforms (#309253).
20272 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20274 * gst/gstmessage.c: (gst_message_new_custom):
20275 * gst/gstmessage.h:
20276 Add _new_custom, make _new_application a macro to _new_custom.
20278 2005-07-20 Wim Taymans <wim@fluendo.com>
20280 * gst/base/gstbasesrc.c: (gst_base_src_init),
20281 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20282 * gst/base/gstbasesrc.h:
20283 Add a gboolean to decide when to push out a discont.
20285 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20286 (gst_queue_loop), (gst_queue_handle_src_query),
20287 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20288 (gst_queue_set_property), (gst_queue_get_property):
20291 * tests/threadstate/threadstate1.c: (main):
20292 Make a thread test compile and run... very silly..
20295 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20297 * docs/manual/appendix-porting.xml:
20298 Mention removal of libgstgconf-0.9.la and existence of gconf
20301 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20303 * docs/pwg/advanced-clock.xml:
20304 * docs/pwg/appendix-porting.xml:
20305 * docs/pwg/intro-preface.xml:
20306 * docs/pwg/other-base.xml:
20307 * docs/pwg/other-manager.xml:
20308 * docs/pwg/other-nton.xml:
20309 * docs/pwg/other-ntoone.xml:
20310 * docs/pwg/other-oneton.xml:
20311 * docs/pwg/pwg.xml:
20312 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20313 demuxer), remove n-to-n (was never written), fix some code examples
20314 and links and update the porting section to include all this.
20316 2005-07-19 Wim Taymans <wim@fluendo.com>
20318 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20319 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20320 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20321 (gst_queue_src_activate_push), (gst_queue_change_state),
20322 (gst_queue_get_property):
20324 Propagate GstFlowReturn more intelligently upstream and output
20325 an ERROR/EOS when streaming stopped due to fatal error.
20327 2005-07-19 Wim Taymans <wim@fluendo.com>
20329 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20330 Don't block forever for the state change to complete, the
20331 pipeline already did with a sensible timeout.
20333 2005-07-19 Wim Taymans <wim@fluendo.com>
20335 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20336 Make sure we never call the create function is we
20339 2005-07-19 Andy Wingo <wingo@pobox.com>
20341 * gst/parse/parse.l: Attempt to solve bug #172815.
20343 2005-07-19 Wim Taymans <wim@fluendo.com>
20345 * docs/design/part-clocks.txt:
20346 * docs/design/part-events.txt:
20347 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20348 Small docs updates.
20349 Only update the seeking values when we are not
20352 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20354 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20355 Oops, ignore the result of gst_pad_push_event here.
20357 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20359 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20360 (gst_base_src_activate_push):
20361 Send discont event from the loop function, as pads
20362 aren't activated yet in the activate_push handler.
20364 * gst/gstbin.c: (bin_bus_handler):
20365 Don't leak element name.
20367 2005-07-18 Andy Wingo <wingo@pobox.com>
20369 * configure.ac: Use AS_LIBTOOL_TAGS.
20371 2005-07-18 Wim Taymans <wim@fluendo.com>
20373 * docs/gst/gstreamer.types:
20374 Remove deleted types.
20376 2005-07-18 Wim Taymans <wim@fluendo.com>
20378 * check/elements/gstfakesrc.c: (GST_START_TEST):
20381 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20382 (init_popt_callback):
20384 * gst/gst_private.h:
20385 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20386 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20389 * gst/gstconfig.h.in:
20390 * gst/gstelement.c: (gst_element_class_init),
20391 (gst_element_set_base_time), (gst_element_get_base_time),
20392 (iterator_fold_with_resync), (gst_element_change_state),
20393 (gst_element_dispose), (gst_element_get_bus):
20394 * gst/gstelement.h:
20395 * gst/gstelementfactory.h:
20396 * gst/gsterror.c: (_gst_core_errors_init):
20399 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20401 * gst/gstinfo.c: (_gst_debug_init):
20402 * gst/gstmessage.c: (_gst_message_copy):
20403 * gst/gstmessage.h:
20404 * gst/gstminiobject.h:
20407 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20408 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20411 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20412 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20413 (gst_pipeline_get_last_stream_time):
20414 * gst/gstpipeline.h:
20415 * gst/gstpluginfeature.h:
20417 * gst/gstscheduler.c:
20418 * gst/gstscheduler.h:
20419 * gst/gststructure.h:
20420 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20421 (gst_task_finalize), (gst_task_func), (gst_task_create),
20422 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20423 (gst_task_stop), (gst_task_pause):
20425 * gst/gsttypefind.h:
20427 * gst/registries/gstlibxmlregistry.c: (load_feature),
20428 (gst_xml_registry_load), (gst_xml_registry_save_feature):
20429 * gst/registries/gstxmlregistry.c:
20430 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20431 * gst/schedulers/threadscheduler.c:
20432 * libs/gst/control/dparammanager.h:
20433 * tools/gst-inspect.c: (print_element_list),
20434 (print_plugin_features), (print_element_features):
20435 * tools/gst-xmlinspect.c: (print_element_list),
20436 (print_plugin_info), (main):
20437 Removed plugable schedulers.
20438 Removed Scheduler/Manager from elements.
20439 Removed gsttypes.h, rearranged includes.
20440 Removed dependency pad<->element, element<>pipeline, and
20441 various others, fix includes.
20442 implement gst_pad_get_parent() with gst_object_get_parent()
20443 Make GstTask sefcontained.
20444 Fix _get_state() on GstBin, it did not return ASYNC with a 0
20446 Fix endless loop in iterator_fold_with_resync.
20449 2005-07-18 Wim Taymans <wim@fluendo.com>
20455 2005-07-18 Wim Taymans <wim@fluendo.com>
20458 No more cothreads.h
20460 2005-07-18 Wim Taymans <wim@fluendo.com>
20464 Let's remove these.
20466 2005-07-18 Wim Taymans <wim@fluendo.com>
20468 * docs/design/part-dynamic.txt:
20469 * docs/design/part-events.txt:
20470 * docs/design/part-seeking.txt:
20471 Some more docs in the works.
20473 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20474 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20475 (gst_base_transform_setcaps), (gst_base_transform_get_size),
20476 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20477 (gst_base_transform_handle_buffer),
20478 (gst_base_transform_sink_activate_push),
20479 (gst_base_transform_src_activate_pull),
20480 (gst_base_transform_set_passthrough),
20481 (gst_base_transform_is_passthrough):
20484 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20487 * gst/gstevent.c: (gst_event_finalize):
20490 * gst/gstutils.c: (gst_element_unlink),
20491 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20492 (gst_pad_proxy_setcaps):
20494 Add _get_parent_element() to get a pads parent as an element.
20496 2005-07-18 Wim Taymans <wim@fluendo.com>
20498 * check/gst/gstbin.c: (GST_START_TEST):
20501 2005-07-18 Wim Taymans <wim@fluendo.com>
20503 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20504 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20505 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20506 (gst_base_sink_event), (gst_base_sink_do_sync),
20507 (gst_base_sink_chain), (gst_base_sink_loop),
20508 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20509 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20511 Fix logic for returning ASYNC when not prerolled.
20513 2005-07-18 Wim Taymans <wim@fluendo.com>
20515 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20516 Fix nasty refcount bug.
20518 2005-07-16 Philippe Khalaf <burger@speedy.org>
20520 * gst/elements/gstfdsrc.c:
20521 * gst/elements/gstfdsrc.h:
20522 * gst/elements/gstelements.c:
20523 * gst/elements/Makefile.am:
20524 Ported fdsrc to 0.9.
20526 2005-07-16 Wim Taymans <wim@fluendo.com>
20528 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20529 (gst_base_sink_do_sync):
20532 2005-07-16 Wim Taymans <wim@fluendo.com>
20534 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20535 (gst_base_sink_event), (gst_base_sink_get_times),
20536 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20537 * gst/base/gstbasesink.h:
20538 Store and use discont values when syncing buffers as described
20541 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20542 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20543 (gst_base_src_activate_push):
20544 Push discont event when starting.
20546 * gst/elements/gstidentity.c: (gst_identity_transform):
20549 * gst/gstbin.c: (gst_bin_change_state):
20550 Small cleanups in base_time distribution.
20552 * gst/gstelement.c: (gst_element_set_base_time),
20553 (gst_element_get_base_time), (gst_element_change_state):
20554 * gst/gstelement.h:
20555 Added methods for the base_time of the element.
20558 * gst/gstpipeline.c: (gst_pipeline_send_event),
20559 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20560 (gst_pipeline_get_last_stream_time):
20561 * gst/gstpipeline.h:
20563 Handle seeking as described in design doc, remove stream_time
20565 Cleanups clock and stream_time selection code. Added accessors
20566 for the stream_time.
20569 2005-07-16 Andy Wingo <wingo@pobox.com>
20571 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20574 2005-07-16 Wim Taymans <wim@fluendo.com>
20576 * check/gst/gstbin.c: (GST_START_TEST):
20577 Make elements silent as the deep_notify refs the
20578 parent, which might make the test fail.
20580 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20581 Don't hold the lock for too long.
20583 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20585 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20586 Don't unref the caps we passed to gst_caps_make_writable() after
20587 passing them. gst_caps_make_writable() will do that for us.
20589 2005-07-15 Andy Wingo <wingo@pobox.com>
20591 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20594 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20595 own marshalling function for the handoff signal. Properly type the
20596 buffer as a buffer. Fixes some warnings. Should do a more general
20598 (gst_identity_class_init): Plug into the right marshaller.
20600 2005-07-15 Wim Taymans <wim@fluendo.com>
20602 * docs/design/part-TODO.txt:
20603 * docs/design/part-clocks.txt:
20604 * docs/design/part-element-sink.txt:
20605 * docs/design/part-events.txt:
20606 * docs/design/part-gstpipeline.txt:
20607 Updated docs, mostly DISCONT related.
20609 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20611 * docs/pwg/building-pads.xml:
20612 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20614 2005-07-15 Andy Wingo <wingo@pobox.com>
20616 * tools/gst-typefind.c: Update, add copyright block.
20618 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20619 Normalize and truncate caps before fixation.
20622 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20623 discards all but the first structure from its argument.
20625 2005-07-15 Wim Taymans <wim@fluendo.com>
20627 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20628 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20629 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20630 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20631 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20632 (gst_base_transform_chain), (gst_base_transform_change_state),
20633 (gst_base_transform_set_passthrough),
20634 (gst_base_transform_is_passthrough):
20635 * gst/base/gstbasetransform.h:
20636 Make passthrough work using the bufferpools.
20637 Changed API a bit, subclasses have to write into a buffer
20638 provided by the base class.
20639 More debug info in nego functions.
20641 * gst/elements/gstidentity.c: (gst_identity_init),
20642 (gst_identity_transform):
20643 Port to new base class.
20645 2005-07-15 Wim Taymans <wim@fluendo.com>
20647 * gst/gstmessage.c: (gst_message_new_state_changed):
20648 * tools/gst-launch.c: (event_loop), (main):
20649 Totally dump messages in -launch with the -m option.
20650 Fix message name for State messages,
20652 2005-07-14 Wim Taymans <wim@fluendo.com>
20654 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20655 Post error messages on errors.
20657 2005-07-14 Wim Taymans <wim@fluendo.com>
20659 * gst/gstcaps.c: (gst_caps_do_simplify):
20663 Define error for stream stopped.
20665 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20666 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20667 Do proper return values.
20669 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20670 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20671 (gst_pad_get_range):
20672 Better return values.
20675 Reorganise return values, add macro to check for fatal errors.
20677 * gst/gstqueue.c: (gst_queue_chain):
20678 Return proper GstFlowReturn values,
20680 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20682 * docs/gst/gstreamer-sections.txt:
20683 * docs/gst/gstreamer.types:
20684 * docs/gst/tmpl/gst.sgml:
20685 * docs/gst/tmpl/gstbasesink.sgml:
20686 * docs/gst/tmpl/gstbasesrc.sgml:
20687 * docs/gst/tmpl/gstbasetransform.sgml:
20688 * docs/gst/tmpl/gstbin.sgml:
20689 * docs/gst/tmpl/gstbuffer.sgml:
20690 * docs/gst/tmpl/gstcaps.sgml:
20691 * docs/gst/tmpl/gstclock.sgml:
20692 * docs/gst/tmpl/gstcompat.sgml:
20693 * docs/gst/tmpl/gstconfig.sgml:
20694 * docs/gst/tmpl/gstelement.sgml:
20695 * docs/gst/tmpl/gstelementdetails.sgml:
20696 * docs/gst/tmpl/gstelementfactory.sgml:
20697 * docs/gst/tmpl/gstenumtypes.sgml:
20698 * docs/gst/tmpl/gsterror.sgml:
20699 * docs/gst/tmpl/gstevent.sgml:
20700 * docs/gst/tmpl/gstfakesink.sgml:
20701 * docs/gst/tmpl/gstfakesrc.sgml:
20702 * docs/gst/tmpl/gstfilesink.sgml:
20703 * docs/gst/tmpl/gstfilesrc.sgml:
20704 * docs/gst/tmpl/gstfilter.sgml:
20705 * docs/gst/tmpl/gstformat.sgml:
20706 * docs/gst/tmpl/gstghostpad.sgml:
20707 * docs/gst/tmpl/gstimplementsinterface.sgml:
20708 * docs/gst/tmpl/gstindex.sgml:
20709 * docs/gst/tmpl/gstindexfactory.sgml:
20710 * docs/gst/tmpl/gstinfo.sgml:
20711 * docs/gst/tmpl/gstiterator.sgml:
20712 * docs/gst/tmpl/gstmacros.sgml:
20713 * docs/gst/tmpl/gstmemchunk.sgml:
20714 * docs/gst/tmpl/gstminiobject.sgml:
20715 * docs/gst/tmpl/gstobject.sgml:
20716 * docs/gst/tmpl/gstpad.sgml:
20717 * docs/gst/tmpl/gstpadtemplate.sgml:
20718 * docs/gst/tmpl/gstparse.sgml:
20719 * docs/gst/tmpl/gstpipeline.sgml:
20720 * docs/gst/tmpl/gstplugin.sgml:
20721 * docs/gst/tmpl/gstpluginfeature.sgml:
20722 * docs/gst/tmpl/gstquery.sgml:
20723 * docs/gst/tmpl/gstqueue.sgml:
20724 * docs/gst/tmpl/gstregistry.sgml:
20725 * docs/gst/tmpl/gstregistrypool.sgml:
20726 * docs/gst/tmpl/gstscheduler.sgml:
20727 * docs/gst/tmpl/gstschedulerfactory.sgml:
20728 * docs/gst/tmpl/gststructure.sgml:
20729 * docs/gst/tmpl/gstsystemclock.sgml:
20730 * docs/gst/tmpl/gsttaglist.sgml:
20731 * docs/gst/tmpl/gsttagsetter.sgml:
20732 * docs/gst/tmpl/gsttrace.sgml:
20733 * docs/gst/tmpl/gsttrashstack.sgml:
20734 * docs/gst/tmpl/gsttypefind.sgml:
20735 * docs/gst/tmpl/gsttypefindfactory.sgml:
20736 * docs/gst/tmpl/gsttypes.sgml:
20737 * docs/gst/tmpl/gsturihandler.sgml:
20738 * docs/gst/tmpl/gsturitype.sgml:
20739 * docs/gst/tmpl/gstutils.sgml:
20740 * docs/gst/tmpl/gstvalue.sgml:
20741 * docs/gst/tmpl/gstversion.sgml:
20742 * docs/gst/tmpl/gstxml.sgml:
20743 * docs/libs/tmpl/gstcontrol.sgml:
20744 * docs/libs/tmpl/gstdataprotocol.sgml:
20745 * docs/libs/tmpl/gstdparam.sgml:
20746 * docs/libs/tmpl/gstdplinint.sgml:
20747 * docs/libs/tmpl/gstdpman.sgml:
20748 * docs/libs/tmpl/gstdpsmooth.sgml:
20749 * docs/libs/tmpl/gstgetbits.sgml:
20750 * docs/libs/tmpl/gstunitconvert.sgml:
20751 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20752 (gst_push_src_base_init), (gst_push_src_class_init),
20753 (gst_push_src_init), (gst_push_src_create):
20754 * gst/base/gstpushsrc.h:
20755 * gst/elements/gstelements.c:
20756 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20757 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20758 (gst_fake_sink_init), (gst_fake_sink_set_property),
20759 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20760 (gst_fake_sink_event), (gst_fake_sink_preroll),
20761 (gst_fake_sink_render), (gst_fake_sink_change_state):
20762 * gst/elements/gstfakesink.h:
20763 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20764 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20765 (gst_fake_src_base_init), (gst_fake_src_class_init),
20766 (gst_fake_src_init), (gst_fake_src_event_handler),
20767 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20768 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20769 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20770 (gst_fake_src_create_buffer), (gst_fake_src_create),
20771 (gst_fake_src_start), (gst_fake_src_stop):
20772 * gst/elements/gstfakesrc.h:
20773 * gst/elements/gstfilesink.c: (_do_init),
20774 (gst_file_sink_base_init), (gst_file_sink_class_init),
20775 (gst_file_sink_init), (gst_file_sink_dispose),
20776 (gst_file_sink_set_location), (gst_file_sink_set_property),
20777 (gst_file_sink_get_property), (gst_file_sink_open_file),
20778 (gst_file_sink_close_file), (gst_file_sink_query),
20779 (gst_file_sink_event), (gst_file_sink_render),
20780 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20781 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20782 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20783 * gst/elements/gstfilesink.h:
20784 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20785 (gst_file_src_class_init), (gst_file_src_init),
20786 (gst_file_src_finalize), (gst_file_src_set_location),
20787 (gst_file_src_set_property), (gst_file_src_get_property),
20788 (gst_file_src_map_region), (gst_file_src_map_small_region),
20789 (gst_file_src_create_mmap), (gst_file_src_create_read),
20790 (gst_file_src_create), (gst_file_src_is_seekable),
20791 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20792 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20793 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20794 (gst_file_src_uri_handler_init):
20795 * gst/elements/gstfilesrc.h:
20796 more autistic cleanliness in functions/names/defines
20798 2005-07-13 Andy Wingo <wingo@pobox.com>
20800 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20801 source couldn't negotiate.
20803 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20807 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20808 function. I am channeling Hades. Put your boots on suckers!!!
20810 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20812 * testsuite/caps/Makefile.am:
20813 * testsuite/caps/value_compare.c:
20814 * testsuite/caps/value_intersect.c:
20815 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20816 move two testsuite apps over to the check dir
20818 2005-07-12 Wim Taymans <wim@fluendo.com>
20820 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20821 Added more debug info in the negotiate process.
20823 * gst/gstmessage.h:
20824 Prepare for segment playback.
20826 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20832 * tools/gst-launch.c: (main):
20833 NULL pipeline on errors.
20835 2005-07-12 Andy Wingo <wingo@pobox.com>
20837 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20838 not it comes from a malloc region. Make sure our copy gets freed.
20840 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20842 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20843 * check/gst/gstmessage.c: (GST_START_TEST):
20844 * check/gst/gststructure.c: (GST_START_TEST),
20845 (gst_structure_suite), (main):
20847 * gst/gstelement.c: (gst_element_message_full):
20848 clean up GError and debug string now that they get copied
20849 * gst/gstmessage.c: (gst_message_new_error),
20850 (gst_message_new_warning), (gst_message_parse_error),
20851 (gst_message_parse_warning):
20852 use GST_TYPE_G_ERROR for structure_new, and take copies of
20853 arguments, so that we don't mess up refcounting
20855 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20857 * check/Makefile.am:
20858 add per-test valgrind targets
20859 * check/gst-libs/gdp.c: (GST_START_TEST),
20860 (gst_data_protocol_suite), (main):
20863 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20865 * check/Makefile.am:
20866 instate more valgrindable tests
20867 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20868 (GST_START_TEST), (fakesrc_suite):
20869 * check/gst/gstpad.c: (GST_START_TEST):
20870 * check/gst/gststructure.c: (GST_START_TEST):
20872 * docs/gst/tmpl/gstminiobject.sgml:
20873 * gst/gstpad.c: (gst_pad_finalize):
20874 fix the static mutex leak
20876 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20878 * check/Makefile.am:
20879 add two more tests for valgrinding
20880 * check/gst/gstvalue.c: (GST_START_TEST):
20881 test refcount of deserialized buffer, found a leak
20882 * docs/gst/gstreamer-docs.sgml:
20883 * docs/gst/gstreamer-sections.txt:
20884 * docs/gst/gstreamer.types:
20885 * docs/gst/tmpl/gstminiobject.sgml:
20886 add miniobject to docs
20887 * gst/gstminiobject.c:
20889 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20890 (gst_string_unwrap):
20891 fix a hard-to-find invalid write for one of the tests
20892 fix a leak for deserialized buffers
20894 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20896 * docs/pwg/advanced-events.xml:
20897 * docs/pwg/advanced-request.xml:
20898 * docs/pwg/advanced-scheduling.xml:
20899 * docs/pwg/appendix-porting.xml:
20900 * docs/pwg/building-boiler.xml:
20901 * docs/pwg/intro-preface.xml:
20902 * docs/pwg/other-ntoone.xml:
20903 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20904 of example code and explanation for pad activation, loop() and
20905 getrange() functions and a bit more. Remove old comments pointing
20907 * examples/pwg/Makefile.am:
20908 Add loop/getrange examples.
20910 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20913 check for valgrind binary + some fixes
20915 valgrind suppressions for the tests
20916 * check/Makefile.am:
20917 add a valgrind: target that valgrinds the unit tests
20918 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20919 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20920 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20921 * check/gst/gstghostpad.c:
20923 * check/gst/gstdata.c:
20925 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20926 (thread_unref), (gst_mini_object_suite), (main):
20928 * gst/gst.c: (gst_deinit):
20930 add a method to clean up.
20931 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20932 (gst_system_clock_obtain):
20933 allow for disposing the system clock.
20934 * tools/gst-launch.c: (main):
20937 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20939 * docs/gst/tmpl/gstbasesrc.sgml:
20940 * docs/gst/tmpl/gstfakesrc.sgml:
20941 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20942 (gst_base_src_init), (gst_base_src_set_property),
20943 (gst_base_src_get_property), (gst_base_src_get_range),
20944 (gst_base_src_start):
20945 * gst/base/gstbasesrc.h:
20946 add num-buffers property
20947 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20948 (gst_fakesrc_init), (gst_fakesrc_set_property),
20949 (gst_fakesrc_get_property), (gst_fakesrc_create),
20950 (gst_fakesrc_start):
20951 remove num-buffers property
20953 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20955 * docs/gst/gstreamer-sections.txt:
20956 * docs/gst/tmpl/gstbasesink.sgml:
20957 * docs/gst/tmpl/gstbasesrc.sgml:
20958 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20959 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20960 (gst_base_sink_finalize), (gst_base_sink_set_clock),
20961 (gst_base_sink_set_property), (gst_base_sink_get_property),
20962 (gst_base_sink_handle_object), (gst_base_sink_event),
20963 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20964 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20965 (gst_base_sink_loop), (gst_base_sink_deactivate),
20966 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20967 (gst_base_sink_change_state):
20968 * gst/base/gstbasesink.h:
20969 * gst/base/gstbasesrc.h:
20970 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20971 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20972 (gst_filesink_init):
20973 more macro splitting
20975 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20977 * gst/gstelement.c: (gst_element_get_bus):
20979 * tools/gst-launch.c: (check_intr), (event_loop):
20982 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20984 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20987 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20989 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20990 (gst_base_src_finalize):
20991 add finalize method and clean up properly
20992 * gst/gstpipeline.c: (gst_pipeline_dispose):
20995 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20997 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20999 add more things to check
21000 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21001 * gst/gstelement.c:
21004 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21006 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21007 (GST_START_TEST), (fakesrc_suite):
21008 * check/gst-libs/gdp.c: (GST_START_TEST):
21009 * check/gst/gst.c: (GST_START_TEST):
21010 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21011 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21012 * check/gst/gstbus.c: (GST_START_TEST):
21013 * check/gst/gstcaps.c: (GST_START_TEST):
21014 * check/gst/gstdata.c: (GST_START_TEST):
21015 * check/gst/gstelement.c: (GST_START_TEST):
21016 * check/gst/gstghostpad.c: (GST_START_TEST):
21017 * check/gst/gstiterator.c: (GST_START_TEST):
21018 * check/gst/gstmessage.c: (GST_START_TEST):
21019 * check/gst/gstobject.c: (GST_START_TEST):
21020 * check/gst/gstpad.c: (GST_START_TEST):
21021 * check/gst/gststructure.c: (GST_START_TEST):
21022 * check/gst/gstsystemclock.c: (GST_START_TEST),
21023 (gst_systemclock_suite):
21024 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21025 * check/gst/gstvalue.c: (GST_START_TEST):
21026 * check/pipelines/cleanup.c: (GST_START_TEST):
21027 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21028 * check/states/sinks.c: (GST_START_TEST):
21029 * check/gstcheck.c: (gst_check_init):
21030 * check/gstcheck.h:
21031 add debugging category
21032 use GST_START_TEST now, so we add a debug line
21034 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21036 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21037 add test for state change message on a bin
21038 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21040 * gst/gstbin.c: (gst_bin_init):
21041 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21042 * gst/gstelement.c: (gst_element_post_message),
21043 (gst_element_set_state):
21044 * gst/gstelementfactory.c: (gst_element_factory_create):
21045 * gst/gstmessage.c: (gst_message_new):
21046 * gst/gstscheduler.c:
21047 various debugging additions and cleanups
21049 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21051 * check/Makefile.am:
21052 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21054 adding tests for elements
21055 * gst/gstelement.c: (gst_element_dispose):
21057 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21059 * gst/registries/gstlibxmlregistry.c: (load_feature):
21060 plug more leaks. A simple gst_init() now is leakfree, yay.
21062 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21064 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21065 (gst_xml_registry_load):
21066 plug another memleak
21068 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21071 use GST_SET_ERROR_CFLAGS
21072 * docs/faq/cvs.xml:
21073 change to ERROR_CFLAGS
21075 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21078 make GST_ERROR_CFLAGS overridable and re-enable Werror
21079 * docs/faq/cvs.xml:
21080 add a note about error CFLAGS
21081 * docs/gst/tmpl/gstfakesrc.sgml:
21082 * gst/elements/gstfakesrc.c:
21083 comment out some unused code
21084 * gst/gst.c: (split_and_iterate):
21085 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21089 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21091 * common/Makefile.am:
21092 * common/gtk-doc.mak:
21093 * docs/gst/Makefile.am:
21094 factor out gtk-doc.mak
21096 2005-07-07 Wim Taymans <wim@fluendo.com>
21098 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21099 (gst_thread_scheduler_dispose):
21100 Unlock the STREAM_LOCK completely.
21102 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21104 * check/Makefile.am:
21105 * check/elements/.cvsignore:
21106 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21107 (START_TEST), (fakesrc_suite), (main):
21108 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21109 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21110 (gst_fakesrc_create), (gst_fakesrc_start):
21111 * gst/elements/gstfakesrc.h:
21112 adding a first element test
21114 2005-07-07 Andy Wingo <wingo@pobox.com>
21116 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21119 2005-07-07 Wim Taymans <wim@fluendo.com>
21125 2005-07-07 Wim Taymans <wim@fluendo.com>
21127 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21128 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21129 Allow subclasses to implement their own negotiation.
21131 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21133 * docs/design/part-gstbin.txt:
21134 * docs/design/part-gstpipeline.txt:
21135 Update design notes to reflect the movement of
21136 responsibility for bus handling from GstPipeline to
21139 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21142 Remove unnecessary queue2/3/4 examples.
21144 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21146 * examples/Makefile.am:
21147 * examples/helloworld/helloworld.c: (event_loop), (main):
21148 * examples/queue/queue.c: (event_loop), (main):
21149 * examples/queue2/queue2.c: (main):
21150 Update a couple of the examples to work again.
21152 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21153 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21154 Spelling corrections and extra debug.
21156 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21157 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21158 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21160 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21161 (gst_pipeline_change_state):
21162 * gst/gstpipeline.h:
21163 Move the bus handler for children to the GstBin, and create a
21164 separate bus for receiving messages from children to the one the
21165 bus sends 'upwards' on.
21167 2005-07-06 Wim Taymans <wim@fluendo.com>
21170 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21171 (gst_base_sink_handle_object), (gst_base_sink_loop),
21172 (gst_base_sink_change_state):
21173 * gst/base/gstbasesink.h:
21174 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21175 (gst_base_src_init), (gst_base_src_setcaps),
21176 (gst_base_src_getcaps), (gst_base_src_loop),
21177 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21178 (gst_base_src_start), (gst_base_src_change_state):
21179 * gst/base/gstbasesrc.h:
21180 Make basesrc negotiate.
21181 Handle the case where preroll fails in basesink.
21184 2005-07-06 Wim Taymans <wim@fluendo.com>
21186 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21187 Implement the fixate function.
21188 Clean up acceptcaps.
21190 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21192 * docs/pwg/building-filterfactory.xml:
21193 * docs/pwg/pwg.xml:
21194 Remove never-written filter-factory chapter; I'll add the various
21195 base classes to part 4 ("other element types") later on.
21197 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21199 * docs/pwg/advanced-negotiation.xml:
21200 * docs/pwg/building-boiler.xml:
21201 * docs/pwg/building-pads.xml:
21202 * docs/pwg/pwg.xml:
21203 * examples/pwg/Makefile.am:
21204 Add a chapter on caps negotiation, simplify the original code
21205 samples a bit w.r.t. caps negotiation, add link to the advanced
21206 section. Add a bunch of examples showing different use cases of
21207 different types of caps negotiation. Upstream renegotiation isn't
21208 fully documented yet since nobody knows how that works.
21210 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21212 * check/gst/gstpad.c:
21213 * check/gstcheck.c:
21214 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21215 if pad has no parent, return NULL as list of internal links
21217 2005-07-05 Andy Wingo <wingo@pobox.com>
21219 * gst/elements/gstfilesrc.c:
21220 * gst/elements/gstfakesrc.c:
21221 * gst/base/gstpushsrc.c:
21222 * gst/base/gstbasesrc.h:
21223 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21225 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21228 better report generation target (lcov needs a patch)
21230 2005-07-05 Andy Wingo <wingo@pobox.com>
21232 * gst/elements, testsuite: Null if we got it...
21234 2005-07-05 Wim Taymans <wim@fluendo.com>
21237 * libs/gst/dataprotocol/Makefile.am:
21238 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21239 * libs/gst/dataprotocol/dataprotocol.h:
21240 * pkgconfig/Makefile.am:
21241 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21242 * pkgconfig/gstreamer-dataprotocol.pc.in:
21243 Ported dataprotol to 0.9.
21244 Added pkgconfig files.
21246 2005-07-05 Andy Wingo <wingo@pobox.com>
21248 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21249 Default to returning TRUE for the case when tranform_caps returns
21250 a fixed caps, like for identity or volume.
21252 * check/gst/gstbus.c (pound_bus_with_messages):
21253 * check/gst/gstmessage.c (START_TEST):
21254 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21255 message API change.
21257 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21258 logic weaks here: always run transform_caps, trying passthrough
21259 operation only if the original caps intersects with the transform.
21261 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21262 source and sink caps.
21264 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21265 Intersect the peer caps with the pad template before going into
21267 (gst_base_transform_transform_caps): More debugging.
21269 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21272 2005-07-04 Edward Hervey <edward@fluendo.com>
21276 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21279 2005-07-04 Andy Wingo <wingo@pobox.com>
21281 * check/gst/gstpad.c: Only set explicit caps on pads.
21283 2005-07-01 Andy Wingo <wingo@pobox.com>
21285 * tests/network-clock.scm: Commentary update.
21287 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21288 Didn't really make sense, not implementable with basetransform,
21290 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21291 attempt at implementing the sync property, needs an unlock method.
21293 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21294 New func, by default returns the same caps (the identity
21296 (gst_base_transform_getcaps): Uses transform_caps to return
21297 something sensible.
21298 (gst_base_transform_setcaps): Complicated logic to get caps on
21299 both pads, even if they are different, and to call set_caps once
21300 for every time both pads get their caps set.
21301 (gst_base_transform_handle_buffer): Give the ref to the transform
21302 function. Allows in-place modification of the buffer.
21304 * gst/base/gstbasetransform.h (transform_caps): New class method.
21305 Given caps on one side, what can I do on the other.
21306 (set_caps): Take two caps, one for each side of the element.
21309 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21310 caps in place. This is safe because we can check the mutability of
21311 the caps, and a good idea because fixate functions are just called
21312 as a matter of last resort. (Not actually implemented.)
21313 (gst_pad_set_caps): If the caps we're setting is actually the same
21314 as the existing pad caps, just update the pointer without calling
21315 setcaps. Assert that caps is either NULL or fixed, as per the
21318 * gst/gstghostpad.c: Update for fixate changes.
21320 2005-07-02 Andy Wingo <wingo@pobox.com>
21323 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21324 two refcounts makes it immutable, which is enough. Doc more.
21326 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21328 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21329 Put the mini_object into GValue as a mini_object,
21330 not a gpointer, since that's how we declared
21333 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21335 * examples/pwg/Makefile.am:
21336 Fix buildbot again.
21338 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21340 * docs/pwg/building-testapp.xml:
21342 * examples/pwg/Makefile.am:
21345 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21348 * examples/Makefile.am:
21349 * examples/pwg/Makefile.am:
21350 * examples/pwg/extract.pl:
21351 Enable building the PWG examples.
21352 * docs/pwg/advanced-interfaces.xml:
21353 Add URI interface stub.
21354 * docs/pwg/advanced-types.xml:
21355 * docs/pwg/other-autoplugger.xml:
21356 * docs/pwg/appendix-porting.xml:
21357 * docs/pwg/pwg.xml:
21358 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21359 * docs/pwg/building-boiler.xml:
21360 * docs/pwg/building-chainfn.xml:
21361 * docs/pwg/building-pads.xml:
21362 * docs/pwg/building-props.xml:
21363 * docs/pwg/building-state.xml:
21364 * docs/pwg/building-testapp.xml:
21365 Update the building-*.xml parts for 0.9 changes. All examples
21366 code blocks compile in examples/pwg/*.
21368 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21370 * docs/manual/advanced-autoplugging.xml:
21371 * docs/manual/appendix-checklist.xml:
21372 * docs/manual/appendix-integration.xml:
21373 * docs/manual/highlevel-components.xml:
21374 Fix playbin/decodebin examples, update docs a bit, mention bus
21375 instead of signals in various places, mention kmplayer and
21376 kaffeine since they have a working GStreamer backend in the KDE
21379 2005-06-30 Wim Taymans <wim@fluendo.com>
21382 * docs/design/draft-ghostpads.txt:
21383 * docs/design/draft-push-pull.txt:
21384 * docs/design/draft-query.txt:
21385 * docs/design/part-TODO.txt:
21386 * docs/design/part-query.txt:
21387 Added CHANGES-0.9 doc, updated status of other docs.
21392 2005-06-30 Wim Taymans <wim@fluendo.com>
21394 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21395 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21396 (gst_base_sink_change_state):
21397 * gst/base/gstbasesink.h:
21398 Some tweaks, only EOS and a buffer complete a preroll.
21400 2005-06-30 Andy Wingo <wingo@pobox.com>
21402 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21403 activate_push down to the internal pad as well.
21405 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
21407 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21409 * gst/gsttaginterface.c:
21410 Some documentation fixes (#307394 and #307397).
21412 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
21414 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21416 * gst/gstvalue.c: (gst_value_intersect_list):
21417 Fix memleak (#309125).
21419 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21421 * docs/manual/advanced-dataaccess.xml:
21422 Fix fakesrc example to compile; doesn't work, bug somewhere...?
21423 * docs/manual/basics-pads.xml:
21424 Add reference for filtered caps to above chapter.
21426 2005-06-30 Wim Taymans <wim@fluendo.com>
21428 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21429 (gst_bin_change_state):
21431 Lame attempt at making the state change function a bit
21434 2005-06-30 Wim Taymans <wim@fluendo.com>
21436 * docs/design/part-clocks.txt:
21437 * docs/design/part-element-sink.txt:
21438 * docs/design/part-events.txt:
21439 * docs/design/part-preroll.txt:
21440 * docs/design/part-states.txt:
21441 Some more tweeks and additions to the docs.
21443 2005-06-30 Wim Taymans <wim@fluendo.com>
21445 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21446 (default_have_data), (gst_pad_class_init), (gst_pad_init),
21447 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21448 (gst_pad_check_pull_range), (gst_pad_get_range),
21449 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21451 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21452 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21453 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21454 (gst_pad_remove_buffer_probe):
21455 Removed atomic operations, use existing LOCK.
21456 Move exception handling out of main code path.
21458 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21460 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21461 (silly_return_true_function), (gst_pad_class_init),
21462 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21463 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21464 (gst_pad_send_event):
21465 Fix accumulator, add default value by using _emitv() instead
21466 of _emit() for signal emission.
21468 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21470 * docs/manual/advanced-dataaccess.xml:
21471 * examples/manual/Makefile.am:
21473 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21476 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
21478 * gst/elements/gstfilesink.c: (gst_filesink_render):
21479 Simplify code so that we don't have to handle short
21480 writes and return GST_FLOW_ERROR if an error occured.
21482 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21484 * docs/gst/gstreamer-docs.sgml:
21485 Remove probes more.
21487 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21489 * docs/gst/gstreamer-sections.txt:
21490 * docs/gst/tmpl/gstpad.sgml:
21491 * docs/gst/tmpl/gstprobe.sgml:
21493 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21494 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21495 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21496 (gst_pad_push_event), (gst_pad_send_event):
21498 * gst/gstutils.c: (gst_pad_add_data_probe),
21499 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21500 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21501 (gst_pad_remove_buffer_probe):
21503 Remove old probes, add new g-signal-based probes and some utility
21506 2005-06-29 Edward Hervey <edward@fluendo.com>
21508 * gst/gstelementfactory.c:
21511 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21512 the definition to the header file.
21514 2005-06-29 Andy Wingo <wingo@pobox.com>
21516 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21517 plugins from the source directory.
21519 2005-06-29 Wim Taymans <wim@fluendo.com>
21521 * docs/gst/tmpl/gstbuffer.sgml:
21522 * docs/gst/tmpl/gstclock.sgml:
21523 Some fixings for blantently wrong text.
21525 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21527 * check/Makefile.am:
21528 * gst/gst.c: (add_path_func), (init_pre):
21529 * gst/gstregistry.c: (gst_registry_add_path):
21530 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21531 only scan the GST_PLUGIN_PATH locations, and not add
21534 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21536 * docs/gst/gstreamer-sections.txt:
21537 * docs/gst/tmpl/gstbasesrc.sgml:
21538 * gst/gstelement.c:
21539 * gst/gstelement.h:
21544 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21546 * docs/manual/advanced-autoplugging.xml:
21547 Fix autoplugging example.
21549 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21551 * docs/manual/advanced-autoplugging.xml:
21552 * docs/manual/mime-world.fig:
21553 Try to get autoplugging working, fix type detection. Fix text
21554 in hello-world image.
21556 2005-06-29 Wim Taymans <wim@fluendo.com>
21558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21559 (gst_base_sink_change_state):
21563 map SIGNAL and BROADCAST to the right function.
21566 Remove redundant braces.
21568 * gst/gstpad.c: (gst_pad_set_caps):
21569 Don't call setcaps function when reseting caps to NULL.
21571 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21572 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21573 (gst_system_clock_id_unschedule):
21574 Use BROADCAST as this is what we do.
21576 2005-06-29 Wim Taymans <wim@fluendo.com>
21578 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21579 We are actually prerolling before commiting the state
21582 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21584 * docs/manual/advanced-clocks.xml:
21585 * docs/manual/advanced-interfaces.xml:
21586 * docs/manual/advanced-metadata.xml:
21587 * docs/manual/advanced-position.xml:
21588 * docs/manual/advanced-schedulers.xml:
21589 * docs/manual/advanced-threads.xml:
21590 * docs/manual/appendix-porting.xml:
21591 * docs/manual/basics-bins.xml:
21592 * docs/manual/basics-bus.xml:
21593 * docs/manual/basics-elements.xml:
21594 * docs/manual/basics-helloworld.xml:
21595 * docs/manual/basics-pads.xml:
21596 * docs/manual/highlevel-components.xml:
21597 * docs/manual/manual.xml:
21598 * docs/manual/thread.fig:
21599 Update (until threads/scheduling) Application Development Manual;
21600 remove GstThread, add GstBus, add simple porting checklist, add
21601 documentation for tag writing, clocks, make all examples until this
21602 part compile and run.
21603 * examples/manual/Makefile.am:
21604 Update from changes to Application Development Manual; add bus
21605 example, remove thread example.
21607 2005-06-28 Wim Taymans <wim@fluendo.com>
21609 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21610 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21611 (gst_bus_source_dispatch):
21612 Add debugging messages.
21613 Make internal methods static.
21614 Handle the case where the bus is flushed in the handler.
21616 * gst/gstelement.c: (gst_element_get_bus):
21617 Fix refcount in _get_bus();
21619 * gst/gstpipeline.c: (gst_pipeline_change_state),
21620 (gst_pipeline_get_clock_func):
21621 Clock refcounting fixes.
21622 Handle the case where preroll timed out more gracefully.
21624 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21625 Clean up the internal thread in dispose. This is needed
21626 for subclasses that actually get disposed.
21628 * gst/schedulers/threadscheduler.c:
21629 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21630 (gst_thread_scheduler_dispose):
21631 Free thread pool in dispose.
21633 2005-06-28 Andy Wingo <wingo@pobox.com>
21635 * tests/network-clock-utils.scm (debug, print-event): New utils.
21637 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21638 (*packet-loss*): Unified loss probability.
21639 (network-time): Report out-of-band events.
21641 * tests/plot-data: Add support for out-of-band events. Hack it
21642 into this script instead of passing it down the pipe; should fix
21645 2005-06-28 Wim Taymans <wim@fluendo.com>
21647 * docs/gst/gstreamer.types:
21648 * docs/gst/tmpl/gstbasesrc.sgml:
21649 * docs/gst/tmpl/gstpad.sgml:
21652 2005-06-28 Wim Taymans <wim@fluendo.com>
21654 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21655 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21656 (gst_proxy_pad_do_fixatecaps):
21657 Correctly proxy the check_pull_range function.
21659 2005-06-28 Andy Wingo <wingo@pobox.com>
21661 * tests/network-clock.scm: Removed need for slib.
21663 2005-06-28 Wim Taymans <wim@fluendo.com>
21665 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21666 (gst_basesink_preroll_queue_flush):
21667 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21668 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21669 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21670 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21671 (gst_proxy_pad_set_property):
21674 * gst/gstqueue.c: (gst_queue_init):
21675 The deprecated pad loop function is removed now.
21677 2005-06-28 Andy Wingo <wingo@pobox.com>
21679 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21680 New parameters, simulate network packet loss.
21682 * tests/network-clock-utils.scm: Initialize the RNG.
21684 2005-06-28 Wim Taymans <wim@fluendo.com>
21686 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21687 (gst_basesink_event), (gst_basesink_deactivate):
21688 Flushing the preroll queue always needs to unlock the waiters.
21690 2005-06-28 Edward Hervey <edward@fluendo.com>
21692 * gst/gstpipeline.c: (gst_pipeline_send_event):
21693 Wheen a seek was successful on a pipeline, set the stream_time to the
21694 seek offset in order to have a synchronized stream_time.
21696 2005-06-28 Wim Taymans <wim@fluendo.com>
21698 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21699 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21700 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21701 (gst_proxy_pad_do_fixatecaps):
21702 Call wrapper function instead of just calling the function
21703 pointers. This takes care of any locking and whatmore.
21705 2005-06-28 Wim Taymans <wim@fluendo.com>
21707 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21708 (gst_pad_pull_range):
21710 CONNECTED -> LINKED.
21712 2005-06-28 Andy Wingo <wingo@pobox.com>
21714 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21715 source-munging commit!!!
21717 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21718 (gst_object_sink): Take gpointer arguments, not GstObject --
21719 avoids casts. Like GLib.
21721 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21724 2005-06-27 Andy Wingo <wingo@pobox.com>
21726 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21729 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21730 returns a sorted copy of the trace list.
21731 (gst_alloc_trace_print_live): New API, only prints traces with
21732 live objects. Sort the list.
21733 (gst_alloc_trace_print_all): Sort the list.
21734 (gst_alloc_trace_print): Align columns.
21736 * gst/elements/gstttypefindelement.c:
21737 * gst/elements/gsttee.c:
21738 * gst/base/gstbasesrc.c:
21739 * gst/base/gstbasesink.c:
21740 * gst/base/gstbasetransform.c:
21741 * gst/gstqueue.c: Adapt for pad activation changes.
21743 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21745 (gst_pipeline_dispose): Drop ref on sched.
21747 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21748 (gst_pad_activate_default): Push mode by default.
21749 (pre_activate_switch, post_activate_switch): New stubs, things to
21750 do before and after switching activation modes on pads.
21751 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21752 the pad's activate function to choose which mode to activate.
21753 Shortcut on deactivation and call the right function directly.
21754 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21756 (gst_pad_activate_push): New API, same for push mode.
21757 (gst_pad_set_activate_function)
21758 (gst_pad_set_activatepull_function)
21759 (gst_pad_set_activatepush_function): Setters for new API.
21761 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21762 Trace all miniobjects.
21763 (gst_mini_object_make_writable): Unref the arg if we copy, like
21764 gst_caps_make_writable.
21766 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21768 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21769 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21770 Adapt for new pad API.
21772 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21774 * gst/gstelement.h:
21775 * gst/gstelement.c (gst_element_iterate_src_pads)
21776 (gst_element_iterate_sink_pads): New API functions.
21778 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21779 should fold into gstiterator.c in some form.
21780 (gst_element_pads_activate): Simplified via use of fold and
21781 delegation of decisions to gstpad->activate.
21783 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21786 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21787 class once in init, like gstmessage. Didn't run into this issue
21788 but it seems correct. Don't initialize a trace, gstminiobject does
21791 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21792 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21794 (assert_live_count): New util function, uses alloc traces to check
21797 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21798 To be modified when unlink drops the internal pad.
21800 2005-06-27 Wim Taymans <wim@fluendo.com>
21802 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21803 (gst_bin_change_state):
21804 Cleanup the get_state() function a little, make sure it
21805 iterates the same set of elements.
21806 Added stub iterate_state_order().
21808 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21810 * docs/gst/gstreamer-docs.sgml:
21811 * docs/gst/gstreamer-sections.txt:
21812 * docs/gst/gstreamer.types:
21813 * docs/gst/tmpl/gstbasesink.sgml:
21814 * docs/gst/tmpl/gstbasesrc.sgml:
21815 * docs/gst/tmpl/gstbasetransform.sgml:
21816 * docs/gst/tmpl/gstelement.sgml:
21817 * docs/gst/tmpl/gstiterator.sgml:
21818 * gst/base/gstbasesrc.c:
21819 * gst/base/gstbasesrc.h:
21820 * gst/base/gstbasetransform.h:
21821 * gst/gstelement.c:
21822 * gst/gstiterator.h:
21823 adding basetransform and iterator docs
21825 2005-06-27 Andy Wingo <wingo@pobox.com>
21827 * docs/design/part-activation.txt: Notes on how activation should
21828 work -- not quite implemented yet.
21830 2005-06-25 Wim Taymans <wim@fluendo.com>
21832 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21833 At least get the chain function correct, needs more
21836 2005-06-25 Wim Taymans <wim@fluendo.com>
21838 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21839 (gst_basesink_handle_object), (gst_basesink_event),
21840 (gst_basesink_do_sync), (gst_basesink_handle_event),
21841 (gst_basesink_change_state):
21843 Right, two problems here: ghostpads don't take locks and
21844 glib _rec_mutex_lock_full() with depth==0 still locks.
21845 Catch illegal locking and g_warn them.
21847 2005-06-25 Wim Taymans <wim@fluendo.com>
21849 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21850 Have to check for completion now...
21852 2005-06-25 Wim Taymans <wim@fluendo.com>
21854 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21855 (gst_basesink_handle_object), (gst_basesink_event),
21856 (gst_basesink_do_sync), (gst_basesink_handle_event),
21857 (gst_basesink_change_state):
21859 Unlock STREAM_LOCK whatever the recursion was.
21861 2005-06-25 Wim Taymans <wim@fluendo.com>
21863 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21864 (gst_basesink_preroll_queue_empty),
21865 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21866 (gst_basesink_event), (gst_basesink_do_sync),
21867 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21868 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21869 (gst_basesink_change_state):
21870 Reworked the base sink, handle event and buffer serialisation
21871 correctly and removed possible deadlock.
21872 Handle EOS correctly.
21874 2005-06-25 Wim Taymans <wim@fluendo.com>
21876 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21877 (gst_pipeline_change_state):
21878 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21879 Allow elements to post EOS in the state change function.
21880 Fix up -launch, make it exit the poll loop when the
21881 pipeline actually changed state.
21882 Fix up warning parsing in -launch.
21884 2005-06-25 Wim Taymans <wim@fluendo.com>
21886 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21887 (gst_tee_sink_activate):
21888 Core takes STREAM_LOCK for us now.
21890 2005-06-25 Wim Taymans <wim@fluendo.com>
21892 * gst/gstelement.c: (gst_element_get_state_func),
21893 (gst_element_set_state):
21894 * gst/gstelement.h:
21895 * gst/gstmessage.c: (gst_message_parse_error),
21896 (gst_message_parse_warning):
21897 Keep track of current target state while performing a state
21898 change so that subclasses can do something interesting.
21899 Fix parsing of warning/error messages when GError is NULL.
21901 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21903 * docs/gst/Makefile.am:
21904 * docs/gst/gstreamer-docs.sgml:
21905 * docs/gst/gstreamer-sections.txt:
21906 * docs/gst/gstreamer.types:
21907 * docs/gst/tmpl/gstbasesink.sgml:
21908 * docs/gst/tmpl/gstbasesrc.sgml:
21909 * docs/gst/tmpl/gstbin.sgml:
21910 * docs/gst/tmpl/gstcompat.sgml:
21911 * docs/gst/tmpl/gstfakesink.sgml:
21912 * docs/gst/tmpl/gstfakesrc.sgml:
21913 * docs/gst/tmpl/gstfilesink.sgml:
21914 * docs/gst/tmpl/gstfilesrc.sgml:
21915 * docs/gst/tmpl/gstindex.sgml:
21916 * docs/manual/appendix-quotes.xml:
21917 * gst/base/gstbasesrc.h:
21918 * gst/elements/gstfakesrc.h:
21919 * gst/gstmessage.h:
21920 start pulling in base classes and elements in our docs
21922 2005-06-24 Stefan Kost <ensonic@users.sf.net>
21924 * docs/gst/Makefile.am:
21925 * docs/libs/Makefile.am:
21926 fixed make distcheck with gtk-doc 1.3
21928 2005-06-23 Wim Taymans <wim@fluendo.com>
21930 * gst/gstelement.c: (gst_element_get_state_func),
21931 (gst_element_set_state), (gst_element_change_state):
21932 When the state did not change, also report NO_PREROLL
21935 2005-06-23 Wim Taymans <wim@fluendo.com>
21937 * gst/gstpad.c: (gst_pad_event_default):
21938 * gst/gstqueue.c: (gst_queue_loop):
21939 No unsafe task pausing please.
21941 2005-06-23 Wim Taymans <wim@fluendo.com>
21943 * gst/schedulers/threadscheduler.c:
21944 (gst_thread_scheduler_task_start),
21945 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21946 Ref the task before pushing it on the threadpool. This
21947 makes sure that we have a ref when the threadfunction is
21950 2005-06-23 Andy Wingo <wingo@pobox.com>
21952 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21953 offset is greater than the file's size.
21955 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
21956 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21957 * gst/gstobject.c (gst_object_class_init): Make the class lock
21958 recursive. Wim won't let me drop deep_notify. Decodebin works
21959 again, whoopdy doo.
21961 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21962 internal pad, and hacks accordingly. Doesn't do it on the target
21963 pad because we change its caps. Probably catches all cases of
21965 (gst_ghost_pad_set_property): Connect to notify::caps as
21968 * tests/network-clock.scm (plot-simulation): Pipe data to the
21969 elite python skript.
21971 * tests/network-clock-utils.scm (define-parameter): New macro,
21972 defines a parameter that can be set via the command line.
21973 (set-parameter!, parse-parameter-arguments): Command line args
21976 * tests/plot-data: Simple matplotlib-based plotter, takes input on
21979 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
21981 * gst/elements/gsttypefindelement.c:
21982 (gst_type_find_element_handle_event):
21983 Don't restart typefinding on a discont.
21984 * gst/gstelement.c: (gst_element_set_state):
21985 Debug spelling fix.
21986 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21987 Allow changing mode of an active pad.
21988 Debug output fixes.
21989 * gst/registries/gstlibxmlregistry.c: (load_feature):
21990 Don't cast a static pad template to a normal pad template.
21992 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
21994 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21995 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21996 remove gst_strtoll completely, since it didn't actually do
21997 anything more than what g_ascii_strtoull already does.
21998 check for range errors when deserializing
21999 do a cast for the unsigned cases; but further fixing needs
22000 a decision on what the interpretation of "(int)" and
22001 deserialization should be for values that fall outside the
22002 type's boundaries (ie, refuse, or interpret as casting)
22004 2005-06-23 Wim Taymans <wim@fluendo.com>
22006 * check/Makefile.am:
22007 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22008 * docs/design/part-live-source.txt:
22009 * docs/design/part-states.txt:
22010 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22011 (gst_basesrc_set_live), (gst_basesrc_is_live),
22012 (gst_basesrc_get_range), (gst_basesrc_activate),
22013 (gst_basesrc_change_state):
22014 * gst/base/gstbasesrc.h:
22015 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22016 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22017 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22018 * gst/gstelement.c: (gst_element_get_state_func),
22019 (gst_element_set_state):
22020 * gst/gstelement.h:
22022 * tools/gst-launch.c: (event_loop), (main):
22023 Added support for live sources and other elements that
22025 Updated design docs, added live-source design doc.
22026 Implemented live source functionality in basesrc
22027 Fix error condition in _bin_get_state()
22028 Implement live source handling in -launch.
22029 Added check for live sources.
22030 Fixed case in GstBin where elements were changed state
22034 2005-06-23 Andy Wingo <wingo@pobox.com>
22036 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22037 borken refcounting.
22039 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22040 gst_caps_replace takes care of this for us.
22042 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22043 gst_pad_set_caps on the target, not just its setcaps() function.
22045 * tests/network-clock.scm:
22046 * tests/network-clock-utils.scm: A network clock simulator.
22047 Something of an algorithmic testbed before doing something in C.
22049 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22051 * check/Makefile.am:
22052 * check/gst/capslist.h:
22053 copy over from 0.8, and add two with bitmasks specified with
22055 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22056 add test to parse everything from capslist.h
22057 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22059 add test for structure deserialization
22060 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22061 add tests for deserialization of strings to int types
22062 * gst/gststructure.c: (gst_structure_nth_field_name):
22063 * gst/gststructure.h:
22064 add a way to get the name of a field referenced by index
22065 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22066 instead of checking if the resulting long long lies between
22067 min and max, we check if the long long would fit into
22068 a number of bytes for the final type.
22069 This fixes cases where a string represents 2^32 - 1, which
22070 when cast to int would be the (valid) -1, but is bigger than
22073 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22075 * gst/parse/grammar.y:
22076 add a log line for type deserialization
22078 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22080 * check/gst/gstvalue.c: (START_TEST):
22081 * gst/gstvalue.c: (gst_value_deserialize):
22082 return long long, not int, so gint64 deserialization actually
22083 works. Is there any flag that makes the compiler check this ?
22086 2005-06-22 Wim Taymans <wim@fluendo.com>
22089 Added convenience macros for setting buffers in GValue.
22091 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22093 * check/gst/.cvsignore:
22094 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22095 add a test deserializing int64, and comment part out because
22098 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22100 * check/Makefile.am:
22101 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22102 * testsuite/Makefile.am:
22103 * testsuite/caps/Makefile.am:
22104 * testsuite/caps/value_serialize.c:
22105 * testsuite/test_gst_init.c:
22106 move a value_serialize test over
22108 2005-06-20 Wim Taymans <wim@fluendo.com>
22113 * gst/gstvalue.c: (gst_value_compare_buffer),
22114 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22115 (gst_value_compare_flags), (gst_value_serialize_flags),
22116 (gst_value_deserialize_flags), (_gst_value_initialize):
22117 Fix serialisation of buffers, they are not boxed types anymore
22119 2005-06-20 Wim Taymans <wim@fluendo.com>
22121 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22122 Testcase to show error in buffer-on-caps serialisation.
22124 2005-06-20 Andy Wingo <wingo@pobox.com>
22126 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22127 will be adding to later.
22129 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22130 if its socks fill with rocks.
22131 (gst_system_clock_obtain): Set the name on object construction.
22132 Avoid double-checked locking.
22134 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22136 * gst/gsturi.c: (gst_element_make_from_uri):
22137 Fix potential endless loop.
22139 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22141 * check/Makefile.am:
22143 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22145 move over from testsuite dir and clean up
22148 * testsuite/Makefile.am:
22149 * testsuite/tags/.cvsignore:
22150 * testsuite/tags/Makefile.am:
22151 * testsuite/tags/merge.c:
22152 remove testsuite/tags
22154 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22156 * docs/gst/gstreamer-sections.txt:
22157 * docs/gst/tmpl/gstenumtypes.sgml:
22158 * win32/gstenumtypes.c:
22159 clean up documentation build a little
22161 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22163 * check/gstcheck.h:
22164 add macros for checking refcounts on objects and caps
22165 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22166 add some more unit tests
22167 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22168 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22169 fix leaked refcounts (I hope :)) so unittest works
22173 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22175 * configure.ac: back to HEAD
22177 === release 0.9.1 ===
22179 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22185 2005-06-17 Andy Wingo <wingo@pobox.com>
22187 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22188 assert; it's always possible that the pad gets deactivated in
22189 between the checks in gstpad.c and the implementation. Rely on
22190 finish_preroll() to return a FLUSHING or similar instead of on the
22193 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22194 clock and post an EOS message if we come out of finish_preroll in
22197 2005-06-16 David Schleef <ds@schleef.org>
22199 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22200 (gst_capsfilter_set_property): Allow NULL as possible value
22201 for filter_caps property, indicating GST_CAPS_ANY.
22203 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22205 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22207 * gst/schedulers/Makefile.am:
22209 * gstreamer.spec.in:
22212 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22214 * gstreamer.spec.in:
22217 2005-06-08 Andy Wingo <wingo@pobox.com>
22219 * gst/gstutils.c: RPAD fixes all around.
22220 (gst_element_link_pads): Refcounting fixes.
22222 * tools/gst-inspect.c:
22223 * tools/gst-xmlinspect.c:
22225 * gst/base/gsttypefindhelper.c:
22226 * gst/base/gstbasesink.c:
22227 * gst/gstqueue.c: RPAD fixes.
22229 * gst/gstghostpad.h:
22230 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22231 pads. The tricky thing is they provide both source and sink
22232 interfaces, since they proxy the internal pad for the external
22233 pad, and vice versa. Implement with lower-level ProxyPad objects,
22234 with the interior proxy pad as a child of the exterior ghost pad.
22235 Should write a doc on this.
22237 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22238 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22241 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22242 pads are real pads. No ghost pads in this file. Not documenting
22243 the myriad s/RPAD/PAD/ and REALIZE fixes.
22244 (gst_pad_class_init): Add properties for "direction" and
22245 "template". Both are construct-only, so they can't change during
22246 the life of the pad. Fixes properly deriving from GstPad.
22247 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22248 derived objects, just set properties when creating the objects via
22250 (gst_pad_get_parent): Implement as a function, return NULL if the
22251 parent is not an element.
22252 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22253 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22255 * gst/gstobject.c (gst_object_class_init): Make name a construct
22256 property. Don't set it in the object init.
22258 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22259 with UNKNOWN direction.
22260 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22261 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22262 (gst_element_remove_pad): Remove ghost-pad special cases.
22263 (gst_element_pads_activate): Remove rpad cruft.
22265 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22266 catch the pad's-parent-not-an-element case.
22268 * gst/gst.h: Include gstghostpad.h.
22270 * gst/gst.c (init_post): No more real, ghost pads.
22272 * gst/Makefile.am: Add gstghostpad.[ch].
22274 * check/Makefile.am:
22275 * check/gst/gstbin.c:
22276 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22277 into a bin creates ghost pads, and that the refcounts are right.
22278 Partly moved from gstbin.c.
22280 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22282 * check/gst-libs/.cvsignore:
22283 * check/gst/.cvsignore:
22284 * check/pipelines/.cvsignore:
22286 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22287 (START_TEST), (cleanup_suite), (main):
22288 add some tests related to cleanup after running pipelines
22290 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22292 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22293 add a testsuite for GstBuffer
22295 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22297 * gst/gstminiobject.h:
22298 add defines for accessing the refcount
22300 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22302 * Makefile.am: added support for html unit test coverage reports
22304 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22306 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22307 Free existing caps if the capsfilter changes. Add a FIXME about
22308 setting those caps on the pads.
22310 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22311 Before adding a ghost pad to a parent bin, check that there isn't
22312 already one for the element on the bin. Prevents infinite recursion
22313 when using decodebin in parse pipelines. Andy says he'll rewrite the
22314 way this works anyway, so ignore the hack.
22316 2005-06-02 Andy Wingo <wingo@pobox.com>
22318 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22319 file size, pass it on to the type find helper.
22321 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22322 segment_start and segment_end properly according to the seek
22323 method. Segment_end is still a bit flaky because offset can be
22324 negative for CUR and END cases, but it takes -1 as an "unset"
22327 2005-06-02 Wim Taymans <wim@fluendo.com>
22329 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22330 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22331 (gst_basesink_activate):
22332 * gst/base/gstbasesink.h:
22333 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22334 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22335 (gst_pad_query), (gst_pad_start_task):
22337 * gst/gstqueue.c: (gst_queue_bufferalloc),
22338 (gst_queue_handle_sink_event), (gst_queue_chain):
22339 Bufferalloc: return GstFlowReturn to more accuratly report
22340 why allocation failed.
22342 2005-06-02 Wim Taymans <wim@fluendo.com>
22344 * gst/gstpipeline.c: (gst_pipeline_send_event):
22345 Take snapshot of state without blocking.
22347 2005-06-02 Wim Taymans <wim@fluendo.com>
22349 * docs/design/part-TODO.txt:
22350 * docs/design/part-caps.txt:
22351 * docs/design/part-clocks.txt:
22352 * docs/design/part-negotiation.txt:
22353 * docs/design/part-preroll.txt:
22356 2005-05-30 Wim Taymans <wim@fluendo.com>
22358 * gst/elements/gstidentity.c: (gst_identity_event),
22359 (gst_identity_transform), (gst_identity_get_property):
22360 Protect last_message property as it is accessed from
22363 2005-05-30 Wim Taymans <wim@fluendo.com>
22365 * gst/gstelement.c: (gst_element_init),
22366 (gst_element_pads_activate), (gst_element_change_state):
22367 Slicker pad activation code.
22369 2005-05-30 Wim Taymans <wim@fluendo.com>
22372 * gst/gstelement.h:
22373 * gst/gstelementfactory.h:
22375 Move elementfactory methods to separate .h file.
22377 2005-05-30 Wim Taymans <wim@fluendo.com>
22379 * docs/design/part-overview.txt:
22380 * gst/gstsystemclock.h:
22381 Small typo fixes, doc updates.
22383 2005-05-30 Wim Taymans <wim@fluendo.com>
22385 * gst/gst.c: (gst_init_get_popt_table), (init_post),
22386 (init_popt_callback):
22387 Remove cpu-opt flag.
22389 2005-05-30 Wim Taymans <wim@fluendo.com>
22391 * gst/gstbuffer.c: (gst_subbuffer_finalize),
22392 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22394 Avoid typechecking in places where not needed.
22395 Added accessor for malloc_data.
22397 2005-05-30 Wim Taymans <wim@fluendo.com>
22399 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22400 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22401 (gst_pad_configure_sink), (gst_pad_configure_src),
22402 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22403 (gst_pad_start_task):
22404 Propagate errors from _set_caps() in configure_src/sink
22405 functions instead of returning TRUE.
22406 FLUSH events can travel up and downstream
22409 2005-05-30 Wim Taymans <wim@fluendo.com>
22411 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22412 (gst_basesink_activate):
22413 Handle EOS in preroll.
22415 2005-05-30 Wim Taymans <wim@fluendo.com>
22417 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22418 (gst_queue_loop), (gst_queue_handle_src_event):
22419 Remove old pieces of code
22420 Flushing the queue in an upstream event is a very bad idea.
22422 2005-05-26 Andy Wingo <wingo@pobox.com>
22424 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22425 gst_value_set_mini_object so as to add a ref on the object (which
22426 will be removed when the value is unset).
22428 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22429 arg type in ::handoff.
22431 * gst/gstelement.c (gst_element_change_state): Also deactivate
22432 pads in READY->NULL, just in case the element didn't make it to
22433 PAUSED. Wingo tested, Wim approved.
22435 2005-05-26 Wim Taymans <wim@fluendo.com>
22437 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22438 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22439 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22440 A flushing pad cannot be used to alloc_buffer from.
22442 2005-05-26 Wim Taymans <wim@fluendo.com>
22444 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22445 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22446 (gst_bus_source_dispatch), (gst_bus_source_finalize),
22447 (gst_bus_create_watch), (gst_bus_add_watch_full):
22449 Implement a real GSource and use g_main_context_wakeup() to
22450 signal new messages instead of the socketpair.
22452 2005-05-25 Wim Taymans <wim@fluendo.com>
22454 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22455 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22456 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22457 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22458 (gst_pad_send_event), (gst_pad_start_task):
22459 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22460 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22461 (gst_queue_sink_activate), (gst_queue_src_activate),
22462 (gst_queue_change_state):
22464 Fix state changes for non sinks. We now change sinks, then elements
22465 with unconnected srcpads, then the rest.
22466 More efficient queue unlocking in flush and state changes.
22467 Set the pad activate mode even if it does not have an activate
22470 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22472 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22473 Don't go in pull mode for non-seekable sources.
22474 * gst/elements/gsttypefindelement.h:
22475 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22476 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22477 (free_entry), (stop_typefinding),
22478 (gst_type_find_element_handle_event), (find_peek),
22479 (gst_type_find_element_chain), (do_pull_typefind),
22480 (gst_type_find_element_change_state):
22481 Allow typefinding (w/o seeking) in push-mode, simplified version
22482 of what was in 0.8.
22483 * gst/gstutils.c: (gst_buffer_join):
22485 gst_buffer_join() from 0.8.
22487 2005-05-25 Wim Taymans <wim@fluendo.com>
22489 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22490 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22491 (gst_pad_send_event), (gst_pad_start_task):
22492 Disable attempt at mode switching until it is figured out.
22494 2005-05-25 Wim Taymans <wim@fluendo.com>
22496 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22497 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22498 (gst_basesink_finish_preroll), (gst_basesink_chain),
22499 (gst_basesink_loop), (gst_basesink_activate),
22500 (gst_basesink_change_state):
22501 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22502 (gst_basesrc_get_range), (gst_basesrc_loop),
22503 (gst_basesrc_activate):
22504 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22505 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22506 (gst_real_pad_init), (gst_real_pad_set_property),
22507 (gst_real_pad_get_property), (gst_pad_set_active),
22508 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22509 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22510 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22511 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22512 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22513 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22514 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22515 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22516 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22517 (gst_pad_stop_task):
22519 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22520 (gst_queue_loop), (gst_queue_src_activate):
22521 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22522 (gst_task_get_state):
22524 * gst/schedulers/threadscheduler.c:
22525 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22526 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22528 Remove ACTIVE pad flag, use FLUSHING everywhere
22529 Added _pad_chain(), _pad_get_range() to call chain/getrange
22531 Add locks around IS_FLUSHING when reading.
22532 Take STREAM lock in chain(), get_range() functions so plugins
22533 don't need to take it anymore.
22537 2005-05-25 Wim Taymans <wim@fluendo.com>
22539 * tools/gst-launch.c: (event_loop):
22540 Unref message after using its contents instead of
22543 2005-05-24 Wim Taymans <wim@fluendo.com>
22545 * docs/design/draft-ghostpads.txt:
22546 * docs/design/draft-push-pull.txt:
22547 * docs/design/draft-query.txt:
22548 * docs/design/part-overview.txt:
22549 Docs updates, added general overview doc.
22551 2005-05-21 David Schleef <ds@schleef.org>
22553 * docs/gst/tmpl/old/GstBin.sgml:
22554 * docs/gst/tmpl/old/GstBuffer.sgml:
22555 * docs/gst/tmpl/old/GstCaps.sgml:
22556 * docs/gst/tmpl/old/GstClock.sgml:
22557 * docs/gst/tmpl/old/GstCompat.sgml:
22558 * docs/gst/tmpl/old/GstData.sgml:
22559 * docs/gst/tmpl/old/GstElement.sgml:
22560 * docs/gst/tmpl/old/GstEvent.sgml:
22561 * docs/gst/tmpl/old/GstIndex.sgml:
22562 * docs/gst/tmpl/old/GstStructure.sgml:
22563 * docs/gst/tmpl/old/GstTag.sgml:
22564 * docs/gst/tmpl/old/cothreads.sgml:
22565 * docs/gst/tmpl/old/cothreads_compat.sgml:
22566 * docs/gst/tmpl/old/gettext.sgml:
22567 * docs/gst/tmpl/old/gobject2gtk.sgml:
22568 * docs/gst/tmpl/old/grammar.tab.sgml:
22569 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22570 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22571 * docs/gst/tmpl/old/gst_private.sgml:
22572 * docs/gst/tmpl/old/gstaggregator.sgml:
22573 * docs/gst/tmpl/old/gstarch.sgml:
22574 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22575 * docs/gst/tmpl/old/gstbufferstore.sgml:
22576 * docs/gst/tmpl/old/gstdata_private.sgml:
22577 * docs/gst/tmpl/old/gstdisksink.sgml:
22578 * docs/gst/tmpl/old/gstdisksrc.sgml:
22579 * docs/gst/tmpl/old/gstelementfactory.sgml:
22580 * docs/gst/tmpl/old/gstextratypes.sgml:
22581 * docs/gst/tmpl/old/gstfakesink.sgml:
22582 * docs/gst/tmpl/old/gstfakesrc.sgml:
22583 * docs/gst/tmpl/old/gstfdsink.sgml:
22584 * docs/gst/tmpl/old/gstfdsrc.sgml:
22585 * docs/gst/tmpl/old/gstfilesink.sgml:
22586 * docs/gst/tmpl/old/gstfilesrc.sgml:
22587 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22588 * docs/gst/tmpl/old/gstidentity.sgml:
22589 * docs/gst/tmpl/old/gstindexfactory.sgml:
22590 * docs/gst/tmpl/old/gstmarshal.sgml:
22591 * docs/gst/tmpl/old/gstmd5sink.sgml:
22592 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22593 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22594 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22595 * docs/gst/tmpl/old/gstpipefilter.sgml:
22596 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22597 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22598 * docs/gst/tmpl/old/gstshaper.sgml:
22599 * docs/gst/tmpl/old/gstspider.sgml:
22600 * docs/gst/tmpl/old/gstspideridentity.sgml:
22601 * docs/gst/tmpl/old/gststatistics.sgml:
22602 * docs/gst/tmpl/old/gsttee.sgml:
22603 * docs/gst/tmpl/old/gsttimecache.sgml:
22604 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22605 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22606 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22607 * docs/gst/tmpl/old/types.sgml:
22608 I didn't intend to add these or check them in.
22610 2005-05-19 David Schleef <ds@schleef.org>
22612 * configure.ac: Use -no-common everywhere. In a sane world, it
22613 would be the default in libtool, because without it, you can't
22614 build DLLs on Windows.
22615 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22616 * docs/gst/gstreamer-sections.txt:
22617 * docs/gst/tmpl/gstcpu.sgml:
22618 * docs/gst/tmpl/gstdata.sgml:
22619 * docs/gst/tmpl/gstthread.sgml:
22621 2005-05-19 David Schleef <ds@schleef.org>
22623 * gst/gstminiobject.c: (gst_value_set_mini_object),
22624 (gst_value_take_mini_object), (gst_value_get_mini_object):
22625 * gst/gstminiobject.h: Add GValue set/get functions.
22627 2005-05-19 Wim Taymans <wim@fluendo.com>
22629 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22630 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22631 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22633 * gst/gstbus.c: (gst_bus_post):
22634 * gst/gstelement.c: (gst_element_get_random_pad):
22635 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22636 Make subbufer unref the parent in finalize.
22637 some more debugging info.
22640 2005-05-19 Wim Taymans <wim@fluendo.com>
22642 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22643 (gst_basesink_init), (gst_basesink_finalize),
22644 (gst_basesink_activate), (gst_basesink_change_state):
22645 Don't free preroll queue too early.
22647 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22651 Hi, I'm outdated. Please shoot me.
22653 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22655 * gst/gstpipeline.c: (gst_pipeline_send_event):
22656 Do not access variables after they have been deleted.
22658 2005-05-19 Wim Taymans <wim@fluendo.com>
22660 * tools/gst-inspect.c: (print_plugin_features):
22661 A plugin feature does unfortunatly not use the
22664 2005-05-18 Wim Taymans <wim@fluendo.com>
22666 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22667 Port _span() functions to new subbuffers.
22669 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22671 * gst/gstbin.c: (gst_bin_add_func):
22672 Fix clock settery in bins when adding kids after the clock has
22675 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22677 * gst/elements/gstidentity.c: (gst_identity_class_init):
22678 Workaround until signals support GstMiniObject.
22680 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22683 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22685 2005-05-18 Wim Taymans <wim@fluendo.com>
22687 * gst/base/Makefile.am:
22688 * gst/base/gstadapter.c: (gst_adapter_base_init),
22689 (gst_adapter_class_init), (gst_adapter_init),
22690 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22691 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22692 (gst_adapter_flush), (gst_adapter_available),
22693 (gst_adapter_available_fast):
22694 * gst/base/gstadapter.h:
22695 Ported and added adapter to the base classes.
22697 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22700 * gst/gstmessage.c:
22701 Make sure the class is reffed/unreffed once before threads can be
22702 used. Fixes #304551.
22704 2005-05-17 Wim Taymans <wim@fluendo.com>
22706 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22707 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22708 * gst/gstminiobject.c: (gst_mini_object_get_type),
22709 (gst_mini_object_free):
22710 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22711 (gst_pad_push), (gst_pad_push_event):
22712 * gst/gstqueue.c: (gst_queue_change_state):
22713 Don't queue buffers in basesink when we are flushing.
22714 Unref buffer when flushing in basesink.
22715 Flush queue when going to READY
22716 Unref buffer when _push() returns an error.
22717 Don't free MiniObject instance when refcount is incremented
22718 in _finalize() so that we can recover objects.
22720 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22722 * docs/manual/advanced-schedulers.xml:
22723 * docs/manual/appendix-checklist.xml:
22724 * docs/pwg/advanced-clock.xml:
22725 * docs/pwg/advanced-interfaces.xml:
22726 * docs/pwg/advanced-request.xml:
22727 * docs/pwg/advanced-types.xml:
22728 * docs/pwg/intro-preface.xml:
22729 * examples/plugins/example.c: (gst_example_get_type),
22730 (gst_example_class_init), (gst_example_chain),
22731 (gst_example_set_property), (gst_example_get_property),
22732 (gst_example_change_state), (plugin_init):
22733 * examples/plugins/example.h:
22736 2005-05-17 Wim Taymans <wim@fluendo.com>
22738 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22739 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22740 * gst/gstqueue.c: (gst_queue_change_state):
22741 Clear queue when going to READY.
22742 Remove IN_SETCAPS flag too.
22744 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22746 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22747 Remove implicit cast from gboolean to GstElementStateReturn;
22748 make sure we still return failure in paused => ready case if
22749 the parent class fails to change state and our own stop
22752 2005-05-17 Wim Taymans <wim@fluendo.com>
22754 * tools/gst-launch.c: (event_loop):
22755 Message was unreffed too soon.
22757 2005-05-16 Andy Wingo <wingo@pobox.com>
22759 * gst/gstbin.c (sink_iterator_filter): Err... um...
22761 * check/gst/gstbin.c (test_ghost_pads): New test for the
22762 ghosting-if-elements-not-in-same-bin behavior.
22764 2005-05-16 David Schleef <ds@schleef.org>
22766 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22767 accessing refcount directly.
22769 2005-05-15 David Schleef <ds@schleef.org>
22771 * check/Makefile.am: remove GstData checks
22772 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22773 * gst/Makefile.am: add miniobject, remove data
22774 * gst/gst.h: add miniobject, remove data
22775 * gst/gstdata.c: remove
22776 * gst/gstdata.h: remove
22777 * gst/gstdata_private.h: remove
22778 * gst/gsttypes.h: remove GstEvent and GstMessage
22779 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22780 * gst/gstmarshal.list: change BOXED -> OBJECT
22782 Implement GstMiniObject.
22783 * gst/gstminiobject.c:
22784 * gst/gstminiobject.h:
22786 Modify to be subclasses of GstMiniObject.
22787 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22788 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22789 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22790 (gst_subbuffer_get_type), (gst_subbuffer_init),
22791 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22794 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22795 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22796 (_gst_event_copy), (gst_event_new):
22798 * gst/gstmessage.c: (_gst_message_initialize),
22799 (gst_message_get_type), (gst_message_class_init),
22800 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22801 (gst_message_new), (gst_message_new_error),
22802 (gst_message_new_warning), (gst_message_new_tag),
22803 (gst_message_new_state_changed), (gst_message_new_application):
22804 * gst/gstmessage.h:
22805 * gst/gstprobe.c: (gst_probe_perform),
22806 (gst_probe_dispatcher_dispatch):
22808 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22809 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22810 (_gst_query_copy), (gst_query_new):
22812 Update elements for GstData -> GstMiniObject changes
22814 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22815 (gst_queue_chain), (gst_queue_loop):
22816 * gst/elements/gstbufferstore.c:
22817 (gst_buffer_store_add_buffer_func),
22818 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22819 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22820 (gst_fakesink_render):
22821 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22822 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22823 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22824 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22825 (gst_filesrc_create_read):
22826 * gst/elements/gstidentity.c: (gst_identity_class_init):
22827 * gst/elements/gsttypefindelement.c:
22828 (gst_type_find_element_src_event), (free_entry_buffers),
22829 (gst_type_find_element_handle_event):
22830 * libs/gst/dataprotocol/dataprotocol.c:
22831 (gst_dp_header_from_buffer):
22832 * libs/gst/dataprotocol/dataprotocol.h:
22833 * libs/gst/dataprotocol/dp-private.h:
22835 2005-05-15 David Schleef <ds@schleef.org>
22837 * gst/elements/gstelements.c: Don't include headers that were
22840 2005-05-15 David Schleef <ds@schleef.org>
22842 * gst/elements/Makefile.am: Remove some elements that don't
22843 need to be in the core (or even exist at all).
22844 * gst/elements/gstaggregator.c:
22845 * gst/elements/gstaggregator.h:
22846 * gst/elements/gstmd5sink.c:
22847 * gst/elements/gstmd5sink.h:
22848 * gst/elements/gstmultifilesrc.c:
22849 * gst/elements/gstmultifilesrc.h:
22850 * gst/elements/gstpipefilter.c:
22851 * gst/elements/gstpipefilter.h:
22852 * gst/elements/gstshaper.c:
22853 * gst/elements/gstshaper.h:
22854 * gst/elements/gststatistics.c:
22855 * gst/elements/gststatistics.h:
22856 * po/POTFILES.in: Remove above files.
22858 2005-05-14 Andy Wingo <wingo@pobox.com>
22860 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22861 so as to get the refs right.
22862 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22863 unreffing objects that don't pass the filter.
22865 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22866 gst_element_set_bus.
22867 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22868 normal cases, this will destroy the bus.
22870 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22873 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22876 2005-05-13 Andy Wingo <wingo@pobox.com>
22878 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22879 gst_pad_link, call pad_link_maybe_ghosting,
22880 (pad_link_maybe_ghosting): Links pads, making sure that the
22881 elements being linked are in the same bin.
22882 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22883 Helpers for pad_link_maybe_ghosting.
22885 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22888 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22890 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22892 * docs/design/part-element-source.txt:
22895 2005-05-12 Wim Taymans <wim@fluendo.com>
22897 * gst/base/gstbasesink.c: (gst_basesink_init),
22898 (gst_basesink_activate):
22899 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22900 (gst_basesrc_is_seekable):
22901 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22902 (bin_element_is_sink), (gst_bin_change_state):
22903 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22904 * gst/gstelement.h:
22905 Identify sinks by their flag to avoid overly complicated
22907 Do state changes even for elements not reachable from the
22909 BaseSink is a sink now :)
22910 Some more debugging info in the basesrc.
22913 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22915 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22916 Implement _query on a bin, similar to _send_event.
22918 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22920 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22921 Discont event offset format should be GST_FORMAT_BYTES,
22922 not GST_FORMAT_TIME.
22924 2005-05-12 Wim Taymans <wim@fluendo.com>
22926 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22927 Same fix as Ronald's but without the signal.
22929 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22931 * gst/gstutils.c: (gst_element_query_position):
22932 No, an element is not a pad.
22934 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22936 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22937 (gst_bin_get_state):
22938 If a child is removed from a bin while we remove the child from
22939 the bin and while we're retrieving its state, signal this to the
22940 get_state function so we abort the wait (instead of waiting for
22941 a timeout) and can immediately re-iterate over all other elements.
22943 2005-05-12 Wim Taymans <wim@fluendo.com>
22945 * gst/base/Makefile.am:
22946 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22947 (gst_basesrc_start):
22948 * gst/base/gstbasesrc.h:
22949 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22950 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22951 (gst_pushsrc_init), (gst_pushsrc_create):
22952 * gst/base/gstpushsrc.h:
22953 Added is_seekable to BaseSrc
22954 Added simple PushSrc.
22956 2005-05-11 Wim Taymans <wim@fluendo.com>
22958 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22959 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22960 (gst_element_link_pads), (gst_element_query_position),
22961 (gst_element_query_convert), (intersect_caps_func),
22962 (gst_pad_query_position), (gst_pad_query_convert):
22963 Fix refcounting in utils function.
22964 No point in trying to activate a pad when it's added, it could
22965 be added from the state change function and then we deadlock, the
22966 element has to decide what to do.
22968 2005-05-10 Andy Wingo <wingo@pobox.com>
22970 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22971 *all* the arguments.
22973 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22974 stream lock if it's a FLUSH_DONE; normal flushes don't get the
22975 lock (according to the docs -- if this is wrong change the docs).
22977 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22978 flush messages in the NULL state.
22980 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22981 message immediately and return.
22982 (gst_bus_set_flushing): New function. If a bus is flushing, it
22983 flushes out any queued messages and immediately unrefs new
22984 messages. This is so when an element goes to NULL, all of the
22985 unhandled messages coming from it can be freed, and their
22986 references to the element dropped. In other words: message source
22987 ref considered harmful :P
22989 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22990 we're finished with it.
22992 * gst/gstmessage.c (gst_message_new_state_changed):
22994 2005-05-10 Wim Taymans <wim@fluendo.com>
22996 * gst/gstvalue.c: (gst_value_compare_flags),
22997 (gst_value_serialize_flags), (gst_value_deserialize_flags),
22998 (_gst_value_initialize):
22999 Added flags serialize/deserialize/compare code.
23001 2005-05-09 Andy Wingo <wingo@pobox.com>
23003 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23004 Intersect the peer's caps with our caps.
23006 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23008 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23009 * gst/elements/gsttypefindelement.c: (find_peek):
23010 Handle negative offsets better. Fixes decodebin.
23012 2005-05-09 Wim Taymans <wim@fluendo.com>
23014 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23015 (gst_base_transform_event):
23016 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23017 Implement accept_caps.
23018 Fix silly lock/unlock mismatch in base class.
23020 2005-05-09 Wim Taymans <wim@fluendo.com>
23022 * docs/design/draft-push-pull.txt:
23023 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23024 * gst/elements/gstfilesink.c: (gst_filesink_init),
23025 (gst_filesink_query):
23026 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23027 (gst_type_find_handle_src_query), (find_element_get_length):
23028 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23029 * gst/gstelement.h:
23030 * gst/gstmessage.c:
23031 * gst/gstmessage.h:
23032 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23033 (gst_real_pad_get_caps_unlocked),
23034 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23035 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23036 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23037 (gst_real_pad_dispose), (gst_real_pad_finalize),
23038 (gst_pad_load_and_link), (gst_pad_save_thyself),
23039 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23040 (gst_pad_check_pull_range), (gst_pad_pull_range),
23041 (gst_pad_template_get_type), (gst_pad_template_class_init),
23042 (gst_pad_template_init), (gst_pad_template_dispose),
23043 (name_is_valid), (gst_static_pad_template_get),
23044 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23045 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23046 (gst_pad_get_element_private), (gst_pad_start_task),
23047 (gst_pad_pause_task), (gst_pad_stop_task),
23048 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23049 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23050 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23051 (gst_ghost_pad_new):
23053 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23054 (gst_query_new_position), (gst_query_set_position),
23055 (gst_query_parse_position), (gst_query_new_convert),
23056 (gst_query_set_convert), (gst_query_parse_convert):
23058 * gst/gstqueryutils.c:
23059 * gst/gstqueryutils.h:
23060 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23061 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23062 (gst_queue_handle_src_query):
23063 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23064 (gst_element_query_position), (gst_element_query_convert),
23065 (intersect_caps_func), (gst_pad_query_position),
23066 (gst_pad_query_convert):
23068 * tools/gst-inspect.c: (print_pad_info):
23069 * tools/gst-xmlinspect.c: (print_element_info):
23070 Remove old query functions. Ported old code.
23071 Added position/convert helper functions to gstutils.
23072 Reordered gstpad.c code, grouping relevant things.
23073 Remove gst_message_new(), always need to speficy a specific
23077 2005-05-09 Andy Wingo <wingo@pobox.com>
23079 * gst/gstiterator.h: Add some includes.
23081 * gst/gstqueryutils.h: Include more headers.
23084 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23085 some uses of gst_pad_query.
23087 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23088 NULL out parameters.
23089 (gst_query_new_position): New proc, allocates a new position
23092 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23093 gstqueryutils.c to the build.
23095 * gst/gststructure.c (gst_structure_set_valist): Implement with
23096 the generic G_VALUE_COLLECT.
23098 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23100 * gst/Makefile.am: (gst_headers):
23101 Added gstqueryutils.h to the list of headers to install, that was
23102 a 'nachty' move wingo :)
23104 2005-05-06 Andy Wingo <wingo@pobox.com>
23107 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23108 GstData, init a memchunk.
23109 (standard_definitions): Add a few query types, deprecate a few.
23110 (gst_query_get_type): New proc.
23111 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23113 (gst_query_new_application, gst_query_get_structure): New public
23116 * docs/design/draft-query.txt: Removed LINKS from the query types,
23117 because all the rest can be dispatched to other pads -- seemed
23118 ugly to have a query that couldn't be dispatched. internal_links
23119 is fine as a pad method.
23121 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23122 in gstpad.c, but maintain binary compatibility for the moment.
23123 Will fix before 0.9 is out.
23125 * gst/gstqueryutils.c:
23126 * gst/gstqueryutils.h: New files, implement 3 methods for each
23127 query type: parse_query, parse_response, and set. Probably need an
23130 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23132 * gst/elements/gstfilesink.c (gst_filesink_query2):
23133 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23134 query_types, and formats methods.
23136 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23137 (gst_pad_set_query2_function): New functions.
23138 (gst_real_pad_init): Set query2_default as the default query2
23139 function. Basically just dispatches to internally linked pads.
23143 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23144 without using the atomic operations. Only one thread can possibly
23145 be accessing the data at this point. Changed so as to avoid
23146 gst_atomic operations.
23148 2005-05-06 Wim Taymans <wim@fluendo.com>
23150 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23151 Also set caps if we use the fallback buffer alloc.
23153 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23155 * docs/gst/Makefile.am:
23156 * docs/gst/gstreamer-docs.sgml:
23157 * docs/gst/gstreamer-sections.txt:
23158 * docs/gst/tmpl/gstatomic.sgml:
23159 * docs/gst/tmpl/gstmemchunk.sgml:
23160 * testsuite/elements/struct_i386.h:
23161 * win32/GStreamer.vcproj:
23163 Purge GstAtomic stuff from docs and win32 makefiles as well
23165 2005-05-06 Wim Taymans <wim@fluendo.com>
23167 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23168 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23169 * gst/gstpad.c: (gst_pad_peer_get_caps):
23170 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23171 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23172 (gst_queue_src_activate), (gst_queue_change_state):
23174 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23175 (intersect_caps_func):
23176 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23177 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23178 Some fixes for the peer_get_caps() change.
23180 2005-05-06 Wim Taymans <wim@fluendo.com>
23182 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23183 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23184 (gst_basesink_activate):
23185 Actually do something with error codes returned from the push
23188 2005-05-06 Wim Taymans <wim@fluendo.com>
23190 * docs/design/part-element-sink.txt:
23191 * docs/design/part-element-source.txt:
23192 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23193 (gst_basesink_event), (gst_basesink_activate):
23194 * gst/base/gstbasesink.h:
23195 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23196 (gst_basesrc_activate):
23197 * gst/base/gstbasesrc.h:
23198 * gst/gstelement.c: (gst_element_pads_activate):
23199 Some more documentation.
23200 Fixed scheduling decision in _pads_activate().
23202 2005-05-05 Andy Wingo <wingo@pobox.com>
23204 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23207 2005-05-05 Wim Taymans <wim@fluendo.com>
23209 * gst/base/Makefile.am:
23210 * gst/base/gstbasesink.h:
23211 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23212 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23213 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23214 (gst_collectpads_class_init), (gst_collectpads_init),
23215 (gst_collectpads_finalize), (gst_collectpads_new),
23216 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23217 (find_pad), (gst_collectpads_remove_pad),
23218 (gst_collectpads_is_active), (gst_collectpads_collect),
23219 (gst_collectpads_collect_range), (gst_collectpads_start),
23220 (gst_collectpads_stop), (gst_collectpads_peek),
23221 (gst_collectpads_pop), (gst_collectpads_available),
23222 (gst_collectpads_read), (gst_collectpads_flush),
23223 (gst_collectpads_chain):
23224 * gst/base/gstcollectpads.h:
23225 * gst/elements/Makefile.am:
23226 * gst/elements/gstelements.c:
23227 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23228 (gst_fakesink_get_times), (gst_fakesink_event),
23229 (gst_fakesink_preroll), (gst_fakesink_render):
23230 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23231 (gst_filesink_init), (gst_filesink_set_location),
23232 (gst_filesink_open_file), (gst_filesink_close_file),
23233 (gst_filesink_pad_query), (gst_filesink_event),
23234 (gst_filesink_render), (gst_filesink_change_state):
23235 * gst/elements/gstfilesink.h:
23236 Added object to help in making collect pad based elements.
23238 Make event function in sink baseclass return gboolean.
23240 2005-05-05 Wim Taymans <wim@fluendo.com>
23242 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23243 (gst_bin_get_by_name):
23245 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23246 (gst_clock_finalize):
23247 * gst/gstdata.c: (gst_data_replace):
23249 * gst/gstelement.c: (gst_element_request_pad),
23250 (gst_element_pads_activate):
23251 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23252 (gst_object_unref):
23253 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23254 (gst_pad_set_checkgetrange_function),
23255 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23256 (gst_pad_check_pull_range), (gst_pad_pull_range),
23257 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23258 (gst_pad_pause_task), (gst_pad_stop_task):
23259 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23260 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23261 Fix name lookup in GstBin.
23262 Added _data_replace() function and _buffer_replace()
23263 Use finalize method to clean up clock.
23264 Fix refcounting on request pads.
23265 Fix pad schedule mode error.
23266 Some more object refcounting debug info,
23269 2005-05-04 Andy Wingo <wingo@pobox.com>
23271 * check/Makefile.am:
23272 * docs/gst/tmpl/gstatomic.sgml:
23273 * docs/gst/tmpl/gstplugin.sgml:
23274 * gst/base/gstbasesink.c: (gst_basesink_activate):
23275 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23276 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23277 (gst_basesrc_query), (gst_basesrc_set_property),
23278 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23279 (gst_basesrc_activate):
23280 * gst/base/gstbasesrc.h:
23281 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23282 (gst_base_transform_src_activate):
23283 * gst/elements/gstelements.c:
23284 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23285 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23286 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23287 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23288 (gst_type_find_element_checkgetrange),
23289 (gst_type_find_element_activate):
23290 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23291 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23292 (gst_caps_load_thyself):
23293 * gst/gstelement.c: (gst_element_pads_activate),
23294 (gst_element_save_thyself), (gst_element_restore_thyself):
23295 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23296 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23298 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23299 (gst_xml_parse_file), (gst_xml_parse_memory),
23300 (gst_xml_get_element), (gst_xml_make_element):
23301 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23302 (_file_index_id_save_xml), (gst_file_index_commit):
23303 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23304 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23306 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23307 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23308 * tools/gst-complete.c: (main):
23309 * tools/gst-compprep.c: (main):
23310 * tools/gst-inspect.c: (print_element_properties_info):
23311 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23312 * tools/gst-xmlinspect.c: (print_element_properties):
23315 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23317 * gst/gstplugin.c: (gst_plugin_check_module),
23318 (gst_plugin_check_file), (gst_plugin_load_file):
23319 apply patch from #172526 to make register work on MacOSX
23321 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23323 * docs/gst/tmpl/gstconfig.sgml:
23324 * gst/gstconfig.h.in:
23325 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23326 * testsuite/debug/printf_extension.c: (main):
23327 Do not use GST_PTR_FORMAT on pointers to types with
23328 sizeof < sizeof(gpointer). Fixes test on 64-bit
23329 * testsuite/elements/property.h:
23330 use correct printf format
23332 2005-05-02 Wim Taymans <wim@fluendo.com>
23334 * docs/design/draft-push-pull.txt:
23335 * docs/design/draft-query.txt:
23336 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23337 (gst_basesrc_start):
23338 Added draft for new query API.
23339 Added draft for better selecting scheduling methods.
23340 Make basesrc ignore length if the subclass does not support
23343 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23346 possible fixes for automake-1.5 - _LIBADD is reserved
23348 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23350 * docs/faq/Makefile.am:
23351 * docs/manual/Makefile.am:
23352 * docs/manuals.mak:
23353 * docs/pwg/Makefile.am:
23355 possible fixes for automake-1.5
23357 2005-04-28 Wim Taymans <wim@fluendo.com>
23359 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23360 (gst_basesink_pad_getcaps), (gst_basesink_init),
23361 (gst_basesink_do_sync):
23362 * gst/gstclock.c: (gst_clock_entry_new):
23363 * gst/gstevent.c: (gst_event_discont_get_value):
23364 * gst/gstpipeline.c: (pipeline_bus_handler),
23365 (gst_pipeline_change_state):
23366 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23367 Better debugging of clocking info.
23368 Allow NULL values when getting discont values.
23370 2005-04-27 Wim Taymans <wim@fluendo.com>
23372 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23373 * check/gst/gstpad.c: (gst_pad_suite):
23374 Increase timeout for checks.
23376 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23378 * check/Makefile.am:
23379 fix the broken rule for cleanup. Apparently this rule is
23380 only needed on FC2, so maybe this warrants further autotool
23383 2005-04-26 Wim Taymans <wim@fluendo.com>
23385 * gst/gsttrashstack.h:
23386 Ooohh. a nasty one! After having a failed pop() from the stack,
23387 it's possible that the stack is empty. In that case, don't
23388 follow the NULL pointer.
23390 2005-04-25 Wim Taymans <wim@fluendo.com>
23392 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23393 (gst_pad_set_checkgetrange_function),
23394 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23395 (gst_pad_check_pull_range), (gst_pad_pull_range),
23396 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23397 (gst_pad_pause_task), (gst_pad_stop_task):
23398 * gst/gstplugin.c: (gst_plugin_load):
23400 Remove gst_library_load as it does more harm than good with
23401 the new g_module flags.
23402 Revert bogus caps template check in pad linking, pad caps
23403 are important when linking not the template, which is more
23404 general than the current caps.
23406 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23408 * gst/autoplug/.cvsignore:
23409 * gst/autoplug/Makefile.am:
23410 * gst/autoplug/gstsearchfuncs.c:
23411 * gst/autoplug/gstsearchfuncs.h:
23412 * gst/autoplug/gstspider.c:
23413 * gst/autoplug/gstspider.h:
23414 * gst/autoplug/gstspideridentity.c:
23415 * gst/autoplug/gstspideridentity.h:
23416 * gst/autoplug/spidertest.c:
23419 2005-04-25 Wim Taymans <wim@fluendo.com>
23421 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23422 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23423 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23424 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23426 Added stubs for unimplemented functions.
23428 2005-04-24 David Schleef <ds@schleef.org>
23430 * gst/gstpad.h: Disable some unimplemented functions. Wim,
23433 2005-04-24 David Schleef <ds@schleef.org>
23435 Convert everything from GstAtomicInt to g_atomic_int_*, and
23440 * gst/gstatomic_impl.h:
23448 * gst/gstdata_private.h:
23452 * gst/gstmessage.c:
23455 * gst/gststructure.c:
23456 * gst/gststructure.h:
23457 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23460 2005-04-24 David Schleef <ds@schleef.org>
23462 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23463 make the regressions tests work. Remove some code that is no
23465 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23466 Disable warning for pads without templates.
23468 2005-04-24 David Schleef <ds@schleef.org>
23470 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
23471 functions that handle filtered links.
23472 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23474 * gst/gstutils.c: Fix/remove utility functions that handle
23477 * gst/gstvalue.c: Add serialization/deserialization of caps
23478 * gst/parse/grammar.y: Ignore filtered caps when linking. This
23479 requires fixing so that the filter caps notation creates
23480 a capsfilter element and sets the filter_caps property. I
23481 think everyone probably wants to keep the shorthand notation.
23482 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23483 * docs/gst/tmpl/gstpad.sgml:
23485 * gst/elements/gstelements.c: Register capsfilter element.
23486 * gst/Makefile.am: fix spacing
23487 * docs/random/ds/0.9-suggested-changes: random
23489 2005-04-23 David Schleef <ds@schleef.org>
23491 * gst/elements/Makefile.am:
23492 * gst/elements/gstcapsfilter.c: New element that acts like an
23493 identity, but filters caps. Will eventually replace filtered
23494 caps in pad linking.
23495 * gst/gstutils.c: (gst_element_create_all_pads): New function
23496 to create all the ALWAYS pads that are registered with an
23497 element class. This functionality should eventually be
23498 merged in with GstElement initialization.
23500 * testsuite/trigger/README: part of trigger test code that should
23501 have been checked in a long time ago.
23503 2005-04-23 David Schleef <ds@schleef.org>
23505 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23506 needed with new versions of libtool (nobody will confirm this),
23507 and hard to carry around.
23508 * gst/autoplug/Makefile.am:
23509 * gst/base/Makefile.am:
23510 * gst/elements/Makefile.am:
23511 * gst/indexers/Makefile.am:
23512 * gst/schedulers/Makefile.am:
23513 * libs/gst/bytestream/Makefile.am:
23514 * libs/gst/control/Makefile.am:
23515 * libs/gst/dataprotocol/Makefile.am:
23516 * libs/gst/getbits/Makefile.am:
23518 2005-04-21 Wim Taymans <wim@fluendo.com>
23520 * docs/design/draft-push-pull.txt:
23521 * docs/design/part-MT-refcounting.txt:
23522 * docs/design/part-TODO.txt:
23523 * docs/design/part-caps.txt:
23524 * docs/design/part-events.txt:
23525 * docs/design/part-gstbus.txt:
23526 * docs/design/part-gstpipeline.txt:
23527 * docs/design/part-messages.txt:
23528 * docs/design/part-push-pull.txt:
23529 * docs/design/part-query.txt:
23532 2005-04-21 Wim Taymans <wim@fluendo.com>
23534 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23535 (gst_message_new), (gst_message_new_error),
23536 (gst_message_new_warning), (gst_message_new_tag),
23537 (gst_message_new_state_changed), (gst_message_new_application),
23538 (gst_message_get_structure):
23539 * gst/gstmessage.h:
23540 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23541 (gst_structure_copy_conditional):
23542 Use parent refcount in GstMessage to ensure GstStructure
23544 Cleaned up headers a bit.
23547 2005-04-20 Wim Taymans <wim@fluendo.com>
23549 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23550 (gst_basesink_pad_getcaps), (gst_basesink_init),
23551 (gst_basesink_chain_unlocked):
23552 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23553 (gst_type_find_helper):
23554 * gst/elements/gsttypefindelement.c:
23555 (gst_type_find_element_have_type), (gst_type_find_element_init),
23556 (stop_typefinding), (gst_type_find_element_handle_event),
23557 (find_suggest), (gst_type_find_element_chain),
23558 (gst_type_find_element_checkgetrange),
23559 (gst_type_find_element_getrange), (do_typefind),
23560 (gst_type_find_element_activate):
23561 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23562 (gst_buffer_default_free), (gst_buffer_default_copy),
23563 (gst_buffer_set_caps):
23564 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23565 (gst_caps_replace):
23566 * gst/gstmessage.c: (gst_message_new),
23567 (gst_message_new_state_changed):
23568 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23569 (gst_pad_set_checkgetrange_function),
23570 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23571 (gst_pad_set_caps), (gst_pad_check_pull_range),
23572 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23574 * gst/gsttypefind.c: (gst_type_find_register):
23575 Make gst_caps_replace() work like other _replace() functions.
23576 Use _caps_replace() where possible.
23577 Make sure _message_new() initialises its field.
23578 Add gst_static_pad_template_get_caps()
23581 2005-04-18 Andy Wingo <wingo@pobox.com>
23583 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23584 on the peer, not the pad. I think that was a typo. Pass an extra
23585 arg to see if random access is possible. Activate the pads as
23586 PULL_RANGE if possible.
23588 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23590 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23591 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23594 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23596 * docs/faq/using.xml:
23597 Add note on gstreamer-properties (#154996).
23599 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23601 * docs/random/bbb/optional-properties:
23602 Some analysis on optional properties.
23604 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23606 * docs/gst/tmpl/gstelementfactory.sgml:
23607 * gst/gstelement.h:
23608 * gst/gstelementfactory.c: (gst_element_factory_init),
23609 (gst_element_factory_cleanup), (gst_element_register),
23610 (__gst_element_factory_add_static_pad_template),
23611 (gst_element_factory_get_static_pad_templates),
23612 (gst_element_factory_can_src_caps),
23613 (gst_element_factory_can_sink_caps):
23614 * gst/registries/Makefile.am:
23615 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23616 (gst_xml_registry_class_init), (gst_xml_registry_init),
23617 (gst_xml_registry_new), (gst_xml_registry_set_property),
23618 (gst_xml_registry_get_property), (get_time), (make_dir),
23619 (gst_xml_registry_get_perms_func),
23620 (plugin_times_older_than_recurse), (plugin_times_older_than),
23621 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23622 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23623 (add_to_char_array), (read_string), (read_uint), (read_enum),
23624 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23625 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23626 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23627 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23628 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23629 (gst_xml_registry_rebuild):
23630 * gst/registries/gstlibxmlregistry.h:
23631 * tools/gst-compprep.c: (main):
23632 * tools/gst-inspect.c: (print_pad_templates_info):
23633 * tools/gst-xmlinspect.c: (print_element_info):
23634 Use libxml2 for registry parsing, use staticpadtemplates in
23635 elementfactories. Makes gst_init() +/- 10x faster.
23637 2005-04-12 Wim Taymans <wim@fluendo.com>
23639 * gst/base/Makefile.am:
23640 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23641 (gst_basesink_pad_getcaps), (gst_basesink_init),
23642 (gst_basesink_event), (gst_basesink_change_state):
23643 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23644 (gst_basesrc_init), (gst_basesrc_query),
23645 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23646 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23647 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23648 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23649 (gst_basesrc_stop), (gst_basesrc_activate),
23650 (gst_basesrc_change_state):
23651 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23652 (helper_find_suggest), (gst_type_find_helper):
23653 * gst/base/gsttypefindhelper.h:
23654 * gst/elements/Makefile.am:
23655 * gst/elements/gstelements.c:
23656 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23657 (gst_fakesink_get_times), (gst_fakesink_event),
23658 (gst_fakesink_preroll), (gst_fakesink_render):
23659 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23660 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23661 (gst_fakesrc_get_property), (gst_fakesrc_create),
23662 (gst_fakesrc_start), (gst_fakesrc_stop):
23663 * gst/elements/gstfakesrc.h:
23664 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23665 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23666 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23667 (gst_filesrc_create_read), (gst_filesrc_create),
23668 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23669 (gst_filesrc_start):
23670 * gst/elements/gsttypefindelement.c:
23671 (gst_type_find_element_have_type), (gst_type_find_element_init),
23672 (start_typefinding), (stop_typefinding), (push_buffer_store),
23673 (gst_type_find_element_handle_event),
23674 (gst_type_find_element_chain),
23675 (gst_type_find_element_checkgetrange),
23676 (gst_type_find_element_getrange), (do_typefind),
23677 (gst_type_find_element_activate),
23678 (gst_type_find_element_change_state):
23679 * gst/elements/gsttypefindelement.h:
23680 * gst/gstpipeline.c: (pipeline_bus_handler):
23681 Added typefind helper.
23682 Small preroll fix in the base sink.
23683 Disable typefind code in basesrc.
23684 Crude port of typefindelement.
23688 2005-04-11 Wim Taymans <wim@fluendo.com>
23690 * check/gst/gstbus.c: (gstbus_suite):
23691 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23692 * check/gstcheck.h:
23693 Fix up the timeout so that the test does not fail.
23695 2005-04-06 Wim Taymans <wim@fluendo.com>
23698 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23699 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23700 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23701 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23702 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23703 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23704 (gst_basesrc_stop), (gst_basesrc_activate),
23705 (gst_basesrc_change_state), (basesrc_find_peek),
23706 (basesrc_find_suggest), (gst_basesrc_type_find):
23707 * gst/base/gstbasesrc.h:
23708 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23709 (gst_filesrc_class_init), (gst_filesrc_init),
23710 (gst_filesrc_finalize), (gst_filesrc_set_location),
23711 (gst_filesrc_set_property), (gst_filesrc_get_property),
23712 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23713 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23714 (gst_filesrc_create_read), (gst_filesrc_create),
23715 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23716 * gst/elements/gstfilesrc.h:
23717 * gst/gstelement.c: (gst_element_get_state_func),
23718 (gst_element_lost_state), (gst_element_pads_activate):
23719 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23720 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23721 (gst_pad_pull_range):
23723 More work on the generic source base class, implement seeking,
23725 Make filesrc extend the base source class.
23726 Added gst_pad_set_checkgetrange_function to GstPad.
23728 2005-04-06 Andy Wingo <wingo@pobox.com>
23730 * pkgconfig/gstreamer-base.pc.in:
23731 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23733 * pkgconfig/Makefile.am:
23734 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23736 2005-04-04 Wim Taymans <wim@fluendo.com>
23738 * gst/base/Makefile.am:
23740 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23741 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23742 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23743 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23744 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23745 (gst_basesrc_base_init), (gst_basesrc_class_init),
23746 (gst_basesrc_init), (gst_basesrc_get_formats),
23747 (gst_basesrc_get_query_types), (gst_basesrc_query),
23748 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23749 (gst_basesrc_set_property), (gst_basesrc_get_property),
23750 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23751 (gst_basesrc_loop), (gst_basesrc_activate),
23752 (gst_basesrc_change_state):
23753 * gst/base/gstbasesrc.h:
23754 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23755 (gst_fakesrc_class_init), (gst_fakesrc_init),
23756 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23757 (gst_fakesrc_get_property), (gst_fakesrc_create):
23758 * gst/elements/gstfakesrc.h:
23759 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23760 (gst_filesrc_open_file), (gst_filesrc_loop),
23761 (gst_filesrc_activate), (filesrc_find_peek),
23762 (gst_filesrc_type_find):
23763 Made base source class, make fakesrc extend it.
23764 Add comments to basesink class.
23765 Some filesrc cleanup.
23767 2005-03-31 David Schleef <ds@schleef.org>
23769 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23770 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23771 expected to link against libgstreamer.
23772 * gst/base/Makefile.am: link against libgstreamer
23773 * gst/elements/Makefile.am: same
23775 2005-03-31 Andy Wingo <wingo@pobox.com>
23777 * tests/instantiate/Makefile.am:
23778 * tests/instantiate/caps.c: Add test to test speed of caps copy
23781 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23782 GMemChunk to be fair.
23784 * gst/gsttrashstack.h: Remove warning about using the fallback
23785 trash stack implementation, it's still faster than malloc.
23787 2005-03-30 Andy Wingo <wingo@pobox.com>
23789 * tests/complexity.c: Add a copyright.
23791 2005-03-31 Wim Taymans <wim@fluendo.com>
23793 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23794 (gst_base_transform_class_init), (gst_base_transform_init),
23795 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23796 (gst_base_transform_get_property),
23797 (gst_base_transform_sink_activate),
23798 (gst_base_transform_src_activate),
23799 (gst_base_transform_change_state):
23800 * gst/base/gstbasetransform.h:
23801 * gst/elements/gstidentity.c: (gst_identity_class_init),
23802 (gst_identity_event), (gst_identity_check_perfect),
23803 (gst_identity_transform), (gst_identity_start),
23804 (gst_identity_stop):
23805 Added start/stop methods to transform base class so subclasses
23806 don't need to deal with state changes even.
23808 2005-03-31 Wim Taymans <wim@fluendo.com>
23810 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23811 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23813 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23814 (gst_pad_pull_range):
23815 Added rate to the discont event to prepare for variable speed
23816 and reverse playback.
23818 2005-03-29 David Schleef <ds@schleef.org>
23821 * testsuite/trigger/Makefile.am:
23822 * testsuite/trigger/trigger.c: A little example program to show
23823 how trigger-based elements can work.
23825 2005-03-29 Wim Taymans <wim@fluendo.com>
23827 * gst/base/Makefile.am:
23829 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23830 (gst_basesink_base_init), (gst_basesink_class_init),
23831 (gst_basesink_pad_getcaps), (gst_basesink_init),
23832 (gst_basesink_activate), (gst_basesink_change_state):
23833 * gst/base/gstbasesink.h:
23834 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23835 (gst_base_transform_base_init), (gst_base_transform_finalize),
23836 (gst_base_transform_class_init), (gst_base_transform_init),
23837 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23838 (gst_base_transform_event), (gst_base_transform_getrange),
23839 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23840 (gst_base_transform_set_property),
23841 (gst_base_transform_get_property),
23842 (gst_base_transform_sink_activate),
23843 (gst_base_transform_src_activate),
23844 (gst_base_transform_change_state):
23845 * gst/base/gstbasetransform.h:
23846 * gst/elements/gstidentity.c: (gst_identity_finalize),
23847 (gst_identity_class_init), (gst_identity_init),
23848 (gst_identity_event), (gst_identity_check_perfect),
23849 (gst_identity_transform), (gst_identity_set_property),
23850 (gst_identity_get_property), (gst_identity_change_state):
23851 * gst/elements/gstidentity.h:
23852 * gst/gstelement.c: (gst_element_get_state_func),
23853 (gst_element_lost_state), (gst_element_pads_activate):
23854 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23855 (gst_pad_check_pull_range), (gst_pad_pull_range):
23857 Simplify pad activation.
23858 Added function to check if pull_range can be performed.
23859 Error out when pulling inactive or flushing pads.
23860 Removed const from refcounted types as it does not make sense.
23861 Simplify pad templates in basesink
23862 Added base class for simple 1-to-1 transforms.
23863 Make identity subclass the base transform.
23865 2005-03-29 Andy Wingo <wingo@pobox.com>
23867 * docs/libs/gstreamer-libs-overrides.txt:
23868 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23869 really don't understand what's going on, but like whatever. I want
23872 * docs/gst/Makefile.am:
23873 * docs/libs/Makefile.am: Dist the overrides files.
23875 * check/Makefile.am (clean-local): Remove .libs directories.
23877 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23878 elements to EXTRA_DIST, so po/ files are happy.
23880 * po/POTFILES.in: Er, remove it here.
23882 * po/POTFILES: Remove gstspider.c.
23884 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23886 * docs/libs/gstreamer-libs-docs.sgml:
23887 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23890 * tests/complexity.c (main): Set the length of the preroll queue
23891 on the sinks to prevent a lockup.
23893 * libs/gst/dataprotocol/Makefile.am:
23894 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23895 the same as the one in check/gst-libs/gdp.c.
23897 * po/, docs/gst/: Commit automatic changes to docs and po files.
23899 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23900 the versioned libgstbase.
23902 * check/Makefile.am: Depend on an unversioned gst-register, seems
23903 to make autoconf happier.
23905 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23907 2005-03-28 Wim Taymans <wim@fluendo.com>
23910 * docs/design/part-gstelement.txt:
23911 * docs/design/part-negotiation.txt:
23912 * docs/design/part-preroll.txt:
23913 * docs/design/part-scheduling.txt:
23914 * docs/design/part-states.txt:
23916 * gst/base/Makefile.am:
23918 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23919 (gst_basesink_base_init), (gst_basesink_class_init),
23920 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23921 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23922 (gst_basesink_set_pad_functions),
23923 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23924 (gst_basesink_set_property), (gst_basesink_get_property),
23925 (gst_base_sink_get_template), (gst_base_sink_get_caps),
23926 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23927 (gst_basesink_preroll_queue_push),
23928 (gst_basesink_preroll_queue_empty),
23929 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23930 (gst_basesink_event), (gst_basesink_get_times),
23931 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23932 (gst_basesink_chain_unlocked), (gst_basesink_chain),
23933 (gst_basesink_loop), (gst_basesink_activate),
23934 (gst_basesink_change_state):
23935 * gst/base/gstbasesink.h:
23936 * gst/elements/Makefile.am:
23937 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23938 (gst_fakesink_class_init), (gst_fakesink_init),
23939 (gst_fakesink_set_property), (gst_fakesink_get_property),
23940 (gst_fakesink_get_times), (gst_fakesink_event),
23941 (gst_fakesink_preroll), (gst_fakesink_render),
23942 (gst_fakesink_change_state):
23943 * gst/elements/gstfakesink.h:
23944 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23945 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23946 * gst/gstelement.c: (gst_element_add_pad),
23947 (gst_element_get_state_func), (gst_element_abort_state),
23948 (gst_element_commit_state), (gst_element_lost_state),
23949 (gst_element_set_state), (gst_element_pads_activate):
23950 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23951 * gst/gstpipeline.c: (gst_pipeline_send_event),
23952 (gst_pipeline_change_state):
23953 Added state change code.
23954 Added/updated docs.
23955 Added sink base class, make fakesink extend the base class.
23956 Small cleanups in GstPipeline.
23958 2005-03-26 David Schleef <ds@schleef.org>
23960 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
23961 is broken and should be implemented in a different library.
23962 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23963 * gst/gst.h: remove gstcpu.h
23964 * gst/gstcpu.c: remove
23965 * gst/gstcpu.h: remove
23966 * gst/Makefile.am.future: Remove this file. It's ancient.
23968 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23970 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23971 (gst_bin_send_event):
23972 Add default event/set_manager handlers. The set_manager handler
23973 takes care that the manager is distributed over kids that were
23974 already in the bin before the manager was set. The event handler
23975 is a utility virtual function that sends the event over all sinks,
23976 so that gst_element_send_event (bin, event); has the expected
23978 * gst/gstpad.c: (gst_pad_event_default):
23979 Re-install default event handling for discontinuities, so that
23980 seeking works without requiring hacks in applications or extra
23982 * gst/gstpipeline.c: (gst_pipeline_class_init),
23983 (gst_pipeline_send_event):
23984 Half hack, half utility: set a pipeline to PAUSED for seek events,
23985 since that is the only way we can guarantee a/v sync. Means that
23986 you can do gst_element_seek (pipeline, method, pos); on a pipeline
23987 and it "just works".
23989 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23991 * gst/gstpipeline.c: (gst_pipeline_use_clock):
23992 Lock/unlock mismatch.
23994 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
23996 * docs/faq/gst-uninstalled:
23997 add gst-plugins-base
23998 * docs/gst/Makefile.am:
23999 don't error out until docs are fixed
24000 * docs/gst/gstreamer.types:
24003 2005-03-22 Wim Taymans <wim@fluendo.com>
24005 * check/Makefile.am:
24006 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24007 * gst/gststructure.c: (gst_structure_set_valist),
24008 (gst_structure_copy_conditional):
24009 Activated more tests.
24010 Added message test.
24011 Added G_TYPE_POINTER to GstStructure.
24014 2005-03-22 Wim Taymans <wim@fluendo.com>
24016 * docs/design/part-TODO.txt:
24017 * docs/design/part-events.txt:
24018 * docs/design/part-gstbin.txt:
24019 * docs/design/part-gstbus.txt:
24020 * docs/design/part-gstpipeline.txt:
24021 * docs/design/part-messages.txt:
24023 * gst/gstmessage.c:
24026 2005-03-21 Wim Taymans <wim@fluendo.com>
24028 * gst/gstbus.c: (gst_bus_post):
24029 Fix copy-and-paste error.
24031 2005-03-21 Wim Taymans <wim@fluendo.com>
24033 * check/Makefile.am:
24035 * gst/elements/Makefile.am:
24036 * gst/elements/gstelements.c:
24037 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24038 (gst_fakesink_event), (gst_fakesink_chain):
24039 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24040 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24041 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24042 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24043 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24044 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24045 (gst_fakesrc_loop), (gst_fakesrc_activate),
24046 (gst_fakesrc_change_state):
24047 * gst/elements/gstfakesrc.h:
24048 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24049 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24050 (gst_filesrc_open_file), (gst_filesrc_loop),
24051 (gst_filesrc_activate), (gst_filesrc_change_state),
24052 (filesrc_find_peek), (filesrc_find_suggest),
24053 (gst_filesrc_type_find):
24054 * gst/elements/gstidentity.c: (gst_identity_finalize),
24055 (gst_identity_class_init), (gst_identity_init),
24056 (gst_identity_proxy_getcaps), (identity_queue_push),
24057 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24058 (gst_identity_getrange), (gst_identity_chain),
24059 (gst_identity_sink_loop), (gst_identity_src_loop),
24060 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24061 (gst_identity_set_property), (gst_identity_get_property),
24062 (gst_identity_change_state):
24063 * gst/elements/gstidentity.h:
24064 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24065 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24066 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24067 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24068 (gst_tee_sink_activate):
24069 * gst/elements/gsttee.h:
24070 * gst/gst.c: (gst_register_core_elements), (init_post):
24072 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24073 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24074 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24075 (gst_bin_change_state):
24077 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24078 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24079 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24080 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24081 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24082 (bus_watch_callback), (bus_watch_destroy),
24083 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24084 (poll_timeout), (gst_bus_poll):
24088 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24089 (gst_element_post_message), (gst_element_message_full),
24090 (gst_element_get_state_func), (gst_element_get_state),
24091 (gst_element_abort_state), (gst_element_commit_state),
24092 (gst_element_lost_state), (gst_element_set_state),
24093 (gst_element_pads_activate), (gst_element_change_state),
24094 (gst_element_dispose), (gst_element_set_manager_func),
24095 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24096 (gst_element_set_manager), (gst_element_get_manager),
24097 (gst_element_set_bus), (gst_element_get_bus),
24098 (gst_element_set_scheduler), (gst_element_get_scheduler):
24099 * gst/gstelement.h:
24100 * gst/gstevent.c: (gst_event_new_segment_seek),
24101 (gst_event_new_flush):
24103 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24104 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24105 (gst_message_new_eos), (gst_message_new_error),
24106 (gst_message_new_warning), (gst_message_new_tag),
24107 (gst_message_new_state_changed), (gst_message_new_application),
24108 (gst_message_get_structure), (gst_message_parse_tag),
24109 (gst_message_parse_state_changed), (gst_message_parse_error),
24110 (gst_message_parse_warning):
24111 * gst/gstmessage.h:
24112 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24113 (gst_real_pad_set_property), (gst_pad_set_active),
24114 (gst_pad_is_active), (gst_pad_set_blocked_async),
24115 (gst_pad_set_blocked), (gst_pad_is_blocked),
24116 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24117 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24118 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24119 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24120 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24121 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24122 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24123 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24124 (gst_pad_set_caps), (gst_pad_configure_sink),
24125 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24126 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24127 (gst_real_pad_dispose), (gst_real_pad_finalize),
24128 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24129 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24130 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24132 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24133 (pipeline_bus_handler), (gst_pipeline_change_state),
24134 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24135 * gst/gstpipeline.h:
24137 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24138 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24139 (gst_queue_link_src), (gst_queue_bufferalloc),
24140 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24141 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24142 (gst_queue_loop), (gst_queue_handle_src_event),
24143 (gst_queue_handle_src_query), (gst_queue_src_activate),
24144 (gst_queue_change_state):
24146 * gst/gstscheduler.c: (gst_scheduler_init),
24147 (gst_scheduler_dispose), (gst_scheduler_create_task),
24148 (gst_scheduler_factory_create):
24149 * gst/gstscheduler.h:
24150 * gst/gststructure.c: (gst_structure_get_type),
24151 (gst_structure_copy_conditional):
24152 * gst/gststructure.h:
24153 * gst/gsttaginterface.h:
24154 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24155 (gst_task_init), (gst_task_dispose), (gst_task_create),
24156 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24162 * gst/schedulers/Makefile.am:
24163 * gst/schedulers/cothreads_compat.h:
24164 * gst/schedulers/entryscheduler.c:
24165 * gst/schedulers/faircothreads.c:
24166 * gst/schedulers/faircothreads.h:
24167 * gst/schedulers/fairscheduler.c:
24168 * gst/schedulers/gstbasicscheduler.c:
24169 * gst/schedulers/gstoptimalscheduler.c:
24170 * gst/schedulers/gthread-cothreads.h:
24171 * gst/schedulers/threadscheduler.c:
24172 (gst_thread_scheduler_task_get_type),
24173 (gst_thread_scheduler_task_class_init),
24174 (gst_thread_scheduler_task_init),
24175 (gst_thread_scheduler_task_start),
24176 (gst_thread_scheduler_task_stop),
24177 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24178 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24179 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24180 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24182 * libs/gst/Makefile.am:
24183 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24184 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24185 (gst_file_pad_parent_set):
24186 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24187 (gst_dp_event_from_packet):
24188 * tests/complexity.c: (main):
24189 * tests/mass_elements.c: (main):
24190 * testsuite/states/locked.c: (message_received), (main):
24191 * testsuite/states/parent.c: (main):
24192 * tools/gst-inspect.c: (print_element_flag_info),
24193 (print_implementation_info), (print_pad_info):
24194 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24196 * tools/gst-md5sum.c: (event_loop), (main):
24197 * tools/gst-typefind.c: (main):
24198 * tools/gst-xmlinspect.c: (print_element_info):
24200 Added GstBus for mainloop integration.
24201 Added GstMessage for sending notifications on the bus.
24202 Added GstTask as an abstraction for pipeline entry points.
24204 Removed Schedulers.
24205 Simplified GstQueue for multithreaded core.
24206 Made _link threadsafe, removed old capsnego.
24207 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24208 Added pad blocking functions.
24209 Reworked scheduling functions in GstPad to prepare for
24210 scheduling updates soon.
24211 Moved events out of data stream.
24212 Simplified GstEvent types.
24213 Added return values to push/pull.
24214 Removed clocking from GstElement.
24215 Added prototypes for state change function for next merge.
24216 Removed iterate from bins and state change management.
24217 Fixed some elements, disabled others for now.
24218 Fixed -inspect and -launch.
24219 Added check for GstBus.
24221 2005-03-10 Wim Taymans <wim@fluendo.com>
24223 * docs/design/part-MT-refcounting.txt:
24224 * docs/design/part-clocks.txt:
24225 * docs/design/part-gstelement.txt:
24226 * docs/design/part-gstobject.txt:
24227 * docs/design/part-standards.txt:
24228 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24229 (gst_bin_remove_func), (gst_bin_remove):
24233 * testsuite/clock/clock1.c: (main):
24234 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24236 * testsuite/dlopen/loadgst.c: (do_test):
24237 * testsuite/refcounting/bin.c: (add_remove_test1),
24238 (add_remove_test2), (main):
24239 * testsuite/refcounting/element.c: (main):
24240 * testsuite/refcounting/element_pad.c: (main):
24241 * testsuite/refcounting/pad.c: (main):
24242 * tools/gst-launch.c: (sigint_handler_sighandler):
24243 * tools/gst-typefind.c: (main):
24245 Added doc about clock.
24246 removed gst_bin_iterate_recurse_up(), marked methods
24248 Fix more testsuites.
24250 2005-03-09 Wim Taymans <wim@fluendo.com>
24252 * gst/gstpad.c: (gst_pad_get_direction),
24253 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24254 (gst_pad_collect_valist):
24255 * testsuite/bins/interface.c: (main):
24256 * testsuite/caps/audioscale.c: (test_caps):
24257 * testsuite/caps/caps.c: (test1), (test2), (test3):
24258 * testsuite/caps/deserialize.c: (main):
24259 * testsuite/caps/enumcaps.c: (main):
24260 * testsuite/caps/filtercaps.c: (main):
24261 * testsuite/caps/intersect2.c: (main):
24262 * testsuite/caps/random.c: (main):
24263 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24264 * testsuite/caps/sets.c: (check_caps):
24265 * testsuite/caps/simplify.c: (check_caps), (main):
24266 * testsuite/caps/subtract.c: (check_caps):
24267 Fix _pad_get_direction wrt ghostpads.
24268 Fix caps testsuite.
24270 2005-03-09 Wim Taymans <wim@fluendo.com>
24272 * check/Makefile.am:
24273 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24274 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24275 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24276 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24277 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24278 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24279 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24280 (bin_element_is_sink), (gst_bin_iterate_sinks),
24281 (gst_bin_iterate_all_by_interface):
24283 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24284 (gst_element_change_state), (gst_element_dispose),
24285 (gst_element_finalize), (gst_element_set_loop_function):
24286 * gst/gstelement.h:
24287 * gst/gstiterator.c: (find_custom_fold_func):
24288 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24289 (gst_pad_collectv), (gst_pad_collect_valist),
24290 (gst_pad_template_new):
24291 * gst/gstpipeline.c: (gst_pipeline_class_init),
24292 (gst_pipeline_dispose), (gst_pipeline_set_property),
24293 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24294 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24295 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24297 * gst/schedulers/entryscheduler.c:
24298 * gst/schedulers/gstbasicscheduler.c:
24299 (gst_basic_scheduler_cothreaded_chain),
24300 (gst_basic_scheduler_chain_add_element):
24301 * testsuite/bins/interface.c: (main):
24303 Added GstSystemClock test.
24304 Implemented clock distribution code in GstBin.
24305 Implemented iterate sinks method for future use.
24306 Rearranged gstelement.h
24307 Fix GstIterator comparison bug.
24308 Moved some code to GstPipeline, mostly clocking related.
24310 2005-03-09 Wim Taymans <wim@fluendo.com>
24313 * gst/gst_private.h:
24314 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24315 (gst_bin_remove_func), (gst_bin_remove),
24316 (gst_bin_get_by_name_recurse_up):
24317 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24318 (gst_clock_id_compare_func), (gst_clock_id_wait),
24319 (gst_clock_id_wait_async), (gst_clock_init),
24320 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24321 * gst/gstelement.h:
24322 * gst/gstinfo.c: (_gst_debug_init):
24324 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24325 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24327 Bump version number, we're now 0.9.0
24328 Add future debugging category.
24329 Fix NULL _unref() in _get_by_name_recurse_up
24330 Rearrange gstpad.h.
24333 2005-03-08 Wim Taymans <wim@fluendo.com>
24335 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24336 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24337 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24338 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24339 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24340 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24341 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24342 * gst/elements/gstidentity.c: (gst_identity_class_init):
24343 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24344 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24345 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24346 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24347 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24349 * gst/gstelement.c: (gst_element_class_init),
24350 (gst_element_base_class_init), (gst_element_init),
24351 (gst_element_get_random_pad), (gst_element_wait_state_change),
24352 (gst_element_change_state), (gst_element_dispose),
24353 (gst_element_finalize), (gst_element_set_loop_function):
24354 * gst/gstelement.h:
24355 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24356 * gst/gstthread.c: (gst_thread_class_init),
24357 (gst_thread_release_children_locks), (gst_thread_change_state):
24358 * gst/schedulers/gstbasicscheduler.c:
24359 (gst_basic_scheduler_loopfunc_wrapper),
24360 (gst_basic_scheduler_chain_wrapper),
24361 (gst_basic_scheduler_src_wrapper),
24362 (gst_basic_scheduler_remove_element):
24363 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24364 Remove threadsafe properties. Fix elements because GObject
24365 complains when installing a property before declaring a
24366 set/get_property handler.
24367 Rearrange gstelement.h file, use STATE macros for state locks.
24368 Free mutexes in the finalize method instead of dispose.
24370 2005-03-08 Wim Taymans <wim@fluendo.com>
24372 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24373 * gst/gstthread.c: (gst_thread_release_children_locks):
24374 Added parentage check.
24375 Fix build og GstThread again.
24377 2005-03-08 Wim Taymans <wim@fluendo.com>
24379 * docs/design/part-MT-refcounting.txt:
24380 * docs/design/part-conventions.txt:
24381 * docs/design/part-gstobject.txt:
24382 * docs/design/part-relations.txt:
24383 * docs/design/part-standards.txt:
24384 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24385 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24386 (gst_bin_get_by_name), (gst_bin_get_by_interface),
24387 (gst_bin_iterate_all_by_interface):
24390 * gst/gstelement.c: (gst_element_class_init),
24391 (gst_element_change_state), (gst_element_set_loop_function):
24392 * gst/gstelement.h:
24393 * gst/gstiterator.c:
24394 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24395 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24396 (gst_object_dispatch_properties_changed), (gst_object_set_name),
24397 (gst_object_set_parent), (gst_object_unparent),
24398 (gst_object_check_uniqueness):
24400 Docs updates, clean up some headers.
24402 2005-03-07 Wim Taymans <wim@fluendo.com>
24404 * check/.cvsignore:
24405 * check/Makefile.am:
24406 * check/gst-libs/.cvsignore:
24407 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24408 * check/gst/.cvsignore:
24409 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24410 (START_TEST), (gstbus_suite), (main):
24411 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24412 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24413 (gst_data_suite), (main):
24414 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24415 (add_fold_func), (gstiterator_suite), (main):
24416 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24417 (thread_name_object), (thread_name_object_default),
24418 (gst_object_name_compare), (gst_object_suite), (main):
24419 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24420 (gst_pad_suite), (main):
24421 * check/gstcheck.c: (gst_check_log_message_func),
24422 (gst_check_log_critical_func), (gst_check_init):
24423 * check/gstcheck.h:
24424 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24425 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24428 2005-03-07 Wim Taymans <wim@fluendo.com>
24430 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24431 (gst_list_iterator_next), (gst_list_iterator_resync),
24432 (gst_list_iterator_free), (gst_iterator_new_list),
24433 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24434 (gst_iterator_free), (gst_iterator_push), (filter_next),
24435 (filter_resync), (filter_uninit), (filter_free),
24436 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24437 (gst_iterator_foreach), (find_custom_fold_func),
24438 (gst_iterator_find_custom):
24439 * gst/gstiterator.h:
24440 Added missing files.
24442 2005-03-07 Wim Taymans <wim@fluendo.com>
24446 * docs/design/part-MT-refcounting.txt:
24447 * docs/design/part-conventions.txt:
24448 * docs/design/part-gstobject.txt:
24449 * docs/design/part-relations.txt:
24450 * examples/mixer/mixer.c: (main):
24451 * examples/thread/thread.c: (eos), (main):
24453 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24454 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24455 (gst_spider_plug_from_srcpad):
24456 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24457 (gst_spider_identity_change_state),
24458 (gst_spider_identity_sink_loop_type_finding):
24459 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24460 * gst/elements/gstidentity.c: (gst_identity_init):
24461 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24462 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24463 * gst/elements/gsttypefindelement.c: (free_entry):
24466 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24467 (gst_bin_set_clock_func), (gst_bin_auto_clock),
24468 (gst_bin_set_index), (gst_bin_set_element_sched),
24469 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24470 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24471 (gst_bin_iterate_elements), (iterate_child_recurse),
24472 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24473 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24474 (compare_interface), (gst_bin_get_by_interface),
24475 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24477 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24478 (gst_buffer_default_free), (gst_buffer_default_copy),
24479 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24480 (gst_buffer_create_sub):
24482 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24483 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24484 (gst_caps_unref), (gst_static_caps_get),
24485 (gst_caps_remove_and_get_structure), (gst_caps_append),
24486 (gst_caps_append_structure), (gst_caps_remove_structure),
24487 (gst_caps_copy_nth), (gst_caps_set_simple),
24488 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24489 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24490 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24491 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24492 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24493 (gst_caps_structure_figure_out_union),
24494 (gst_caps_switch_structures), (gst_caps_do_simplify),
24495 (gst_caps_replace), (gst_caps_from_string),
24496 (gst_caps_copy_conditional):
24498 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24499 (_gst_clock_id_free), (gst_clock_id_unref),
24500 (gst_clock_id_compare_func), (gst_clock_id_wait),
24501 (gst_clock_id_wait_async), (gst_clock_class_init),
24502 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24503 (gst_clock_get_time), (gst_clock_set_time_adjust),
24504 (gst_clock_set_property), (gst_clock_get_property):
24507 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24508 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24510 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24511 (gst_element_requires_clock), (gst_element_provides_clock),
24512 (gst_element_set_clock), (gst_element_clock_wait),
24513 (gst_element_wait), (gst_element_set_time_delay),
24514 (gst_element_is_indexable), (gst_element_add_pad),
24515 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24516 (pad_compare_name), (gst_element_get_static_pad),
24517 (gst_element_request_pad), (gst_element_get_request_pad),
24518 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24519 (gst_element_class_get_pad_template_list),
24520 (gst_element_class_get_pad_template), (gst_element_error_func),
24521 (gst_element_get_random_pad), (gst_element_get_event_masks),
24522 (gst_element_send_event), (gst_element_seek),
24523 (gst_element_get_query_types), (gst_element_query),
24524 (gst_element_get_formats), (gst_element_convert),
24525 (gst_element_is_locked_state), (gst_element_set_locked_state),
24526 (gst_element_sync_state_with_parent), (gst_element_change_state),
24527 (gst_element_finalize), (gst_element_yield),
24528 (gst_element_interrupt), (gst_element_set_scheduler),
24529 (gst_element_get_scheduler), (gst_element_set_loop_function):
24530 * gst/gstelement.h:
24532 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24533 (gst_format_get_by_nick), (gst_format_get_details),
24534 (gst_format_iterate_definitions):
24536 * gst/gstindex.c: (gst_index_gtype_resolver):
24539 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24540 (gst_mem_chunk_free):
24541 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24542 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24543 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24544 (gst_object_dispatch_properties_changed),
24545 (gst_object_set_name_default), (gst_object_set_name),
24546 (gst_object_get_name), (gst_object_set_name_prefix),
24547 (gst_object_get_name_prefix), (gst_object_set_parent),
24548 (gst_object_get_parent), (gst_object_unparent),
24549 (gst_object_check_uniqueness), (gst_object_save_thyself),
24550 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24551 (gst_object_set_property), (gst_object_get_property),
24552 (gst_object_get_path_string):
24554 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24555 (gst_real_pad_init), (gst_real_pad_get_property),
24556 (gst_pad_custom_new), (gst_pad_get_direction),
24557 (gst_pad_set_active), (gst_pad_is_active),
24558 (gst_pad_set_event_function), (gst_pad_is_linked),
24559 (gst_pad_link_free), (gst_pad_link_intersect),
24560 (gst_pad_link_fixate), (gst_pad_set_caps),
24561 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24562 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24563 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24564 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24565 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24566 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24567 (gst_pad_realize), (gst_pad_get_allowed_caps),
24568 (gst_real_pad_dispose), (gst_real_pad_finalize),
24569 (gst_pad_collectv), (gst_pad_collect_valist),
24570 (gst_pad_template_dispose), (gst_pad_template_new),
24571 (gst_pad_get_internal_links):
24573 * gst/gstpipeline.c: (gst_pipeline_dispose),
24574 (gst_pipeline_change_state):
24575 * gst/gstpipeline.h:
24577 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24578 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24579 * gst/gstpluginfeature.h:
24580 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24581 * gst/gstquery.c: (_gst_query_type_initialize),
24582 (gst_query_type_register), (gst_query_type_get_by_nick),
24583 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24585 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24586 * gst/gstscheduler.c: (gst_scheduler_add_element),
24587 (gst_scheduler_factory_create):
24588 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24589 (gst_structure_free), (gst_structure_set_name),
24590 (gst_structure_id_set_value), (gst_structure_set_value),
24591 (gst_structure_set_valist), (gst_structure_remove_field),
24592 (gst_structure_remove_fields),
24593 (gst_structure_remove_fields_valist),
24594 (gst_structure_remove_all_fields), (gst_structure_foreach),
24595 (gst_structure_map_in_place),
24596 (gst_caps_structure_fixate_field_nearest_int),
24597 (gst_caps_structure_fixate_field_nearest_double):
24598 * gst/gststructure.h:
24599 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24600 (gst_system_clock_init), (gst_system_clock_dispose),
24601 (gst_system_clock_async_thread),
24602 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24603 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24604 * gst/gstsystemclock.h:
24605 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24606 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24607 * gst/gsttaginterface.c:
24608 * gst/gstthread.c: (gst_thread_dispose),
24609 (gst_thread_release_children_locks), (gst_thread_change_state),
24610 (gst_thread_main_loop):
24611 * gst/gsttrashstack.h:
24612 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24614 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24615 (gst_element_request_pad), (gst_element_get_pad_from_template),
24616 (gst_element_request_compatible_pad),
24617 (gst_element_get_compatible_pad_filtered),
24618 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24619 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24620 (gst_element_link_many), (gst_element_link),
24621 (gst_element_link_pads), (gst_element_unlink_pads),
24622 (gst_element_unlink_many), (gst_element_unlink),
24623 (gst_pad_can_link_filtered), (gst_pad_can_link),
24624 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24625 (gst_object_default_error), (gst_bin_add_many),
24626 (gst_bin_remove_many), (gst_element_populate_std_props),
24627 (gst_element_class_install_std_props), (gst_buffer_merge),
24628 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24629 (link_fold_func), (gst_pad_proxy_setcaps):
24631 * gst/gstvalue.c: (gst_value_deserialize_string):
24632 * gst/parse/grammar.y:
24633 * gst/schedulers/gstbasicscheduler.c:
24634 (gst_basic_scheduler_cothreaded_chain),
24635 (gst_basic_scheduler_chain_recursive_add),
24636 (gst_basic_scheduler_pad_link):
24637 * gst/schedulers/gstoptimalscheduler.c:
24638 (get_group_schedule_function),
24639 (gst_opt_scheduler_state_transition),
24640 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24641 * libs/gst/bytestream/bytestream.c:
24642 * libs/gst/dataprotocol/dataprotocol.c:
24643 (gst_dp_header_from_buffer):
24646 * tests/threadstate/threadstate2.c: (eos):
24647 * tools/gst-compprep.c: (main):
24648 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24649 (print_pad_info), (print_children_info):
24650 * tools/gst-launch.c: (idle_func), (main):
24651 * tools/gst-md5sum.c: (idle_func), (main):
24652 * tools/gst-xmlinspect.c: (print_element_info):
24653 First THREADED backport attempt, focusing on adding locks and
24654 making sure the API is threadsafe. Needs more work. More docs
24657 2005-02-24 Andy Wingo <wingo@pobox.com>
24659 * tests/bench-complexity.scm:
24660 * tests/complexity.gnuplot: New files, good for running complexity
24663 * tests/Makefile.am:
24664 * tests/complexity.c: New test, sets up N elements, at each level
24665 teeing into M streams per element. Eeeenteresting.
24667 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24668 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24669 running bench-mass_elements.scm.
24671 * tests/bench-mass_elements.scm: New script, runs mass_elements
24672 for various numbers of identities, outputting the results to a
24673 file. Requires guile 1.6. Just for testing.
24675 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24677 * gst/schedulers/fairscheduler.c:
24678 compile with debug disabled
24680 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24683 hunting season on 0.9 is now OPEN