1 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5 Update Vietnamese translations.
7 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
9 * libs/gst/base/gstbasesink.c:
10 Remove unused signal enum.
12 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
14 * docs/gst/gstreamer-sections.txt:
16 * gst/gstutils.c: (gst_type_register_static_full):
17 Beef up and include the docs for gst_type_register_static_full and
18 gst_element_class_set_details_simple and add the API keyword
21 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
23 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
24 (update_time_level), (gst_single_queue_push_one),
25 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
26 (single_queue_overrun_cb), (single_queue_underrun_cb),
27 (single_queue_check_full):
28 Fix setting max-* properties after adding queues.
29 Use IS_FILLED for checking visible items.
30 Signal overrun if multiple queues overrun.
31 Add extra debug output.
32 Patch by: Wim Taymans <wim@fluendo.com>
34 2007-06-21 Stefan Kost <ensonic@users.sf.net>
36 * gst/gstelement.c: (gst_element_class_set_details_simple):
38 * gst/gstutils.c: (gst_type_register_static_full):
40 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
41 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
42 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
43 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
44 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
45 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
46 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
47 * plugins/elements/gstidentity.c: (gst_identity_base_init):
48 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
49 * plugins/elements/gstqueue.c: (gst_queue_base_init),
50 (apply_buffer), (gst_queue_chain):
51 * plugins/elements/gsttee.c: (gst_tee_base_init):
52 * plugins/elements/gsttypefindelement.c:
53 (gst_type_find_element_base_init),
54 (gst_type_find_element_class_init):
55 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
56 API: add gst_type_register_static_full
57 API: add gst_element_class_set_details_simple
59 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
61 * docs/pwg/advanced-types.xml:
62 Fix typo in iana.org URI.
64 2007-06-19 Andy Wingo <wingo@pobox.com>
66 * tests/check/pipelines/simple-launch-lines.c
67 (test_state_change_returns): Enable pull-mode tests now that
68 basesink has been fixed.
70 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
71 Changed from gst_base_sink_is_prerolled, reversing the sense of
72 the return value. Returns FALSE also if the sink is in pull mode,
73 in which case it needs no preroll.
74 (gst_base_sink_query, gst_base_sink_change_state): Update for
76 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
77 chaining up, in which we return SUCCESS directly if we activated
78 in pull mode instead of ASYNC. Involves countering an async_start
79 message sent before chaining up; not sure if this is correct, in
80 an ideal world we only send async-start when activating in push
83 * tests/check/pipelines/simple-launch-lines.c
84 (test_state_change_returns): New test, partially disabled until
87 2007-06-19 Wim Taymans <wim@fluendo.com>
89 * plugins/elements/gstmultiqueue.c: (apply_buffer),
90 (gst_multi_queue_sink_event):
93 2007-06-19 Wim Taymans <wim@fluendo.com>
95 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
96 (gst_bin_change_state_func), (bin_push_state_continue),
97 (bin_handle_async_start), (bin_handle_async_done),
98 (gst_bin_handle_message_func):
99 Move the common code for posting state-change messages into
101 Broadcast the state signal after we posted the messages.
102 Mark the bin as busy when it's doing a state-change.
103 Make sure async-start/done messages don't interfere with the bin's
104 state when it's busy.
105 After the state change, let the bin check which elements completed the
106 state change while it was busy so that it can update its state.
108 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
110 * docs/random/release:
111 Add a note about updating the doap file to the release checklist
113 2007-06-18 Wim Taymans <wim@fluendo.com>
115 * plugins/elements/gstmultiqueue.c: (apply_buffer),
116 (gst_single_queue_push_one), (gst_multi_queue_chain),
117 (gst_multi_queue_sink_event):
118 Make sure we don't reference the buffer/event after we have given away
119 ownership in the queue.
121 2007-06-18 Wim Taymans <wim@fluendo.com>
123 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
124 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
125 Update queue state _after_ adding the item in the queue because else we
126 could end up being full without the element added yet.
128 2007-06-18 Wim Taymans <wim@fluendo.com>
130 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
131 (gst_bin_remove_func), (gst_bin_get_state_func),
132 (gst_bin_element_set_state), (gst_bin_continue_func),
133 (bin_push_state_continue), (bin_handle_async_start),
134 (bin_handle_async_done), (gst_bin_handle_message_func):
136 Immediatly commit the toplevel bin state when receiving an async-done
137 message. This enables us to avoid spawning a thread to commit the state
138 in some common cases and it also avoids some races.
139 Avoid spawning a state thread when adding/removing async elements to a
140 toplevel bin. Instead we immediatly update the bin state.
141 Get rid of iterating all the children when getting the state in the bin
142 because it is now always up-to-date.
143 Fix bug where locked elements would always return _SUCCESS even it they
144 returned NO_PREROLL before being locked.
145 Fix the order of the state_change, async-start/done messages that was
147 Mark the state_dirty field as deprecated, we don't need it anymore as we
148 are always up-to-date.
150 * gst/gstelement.c: (gst_element_get_state_func),
151 (gst_element_continue_state):
152 Small debug inprovements.
153 Return the previous element state return when nothing is pending instead
154 of blindly returning SUCCESS.
156 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
158 Add a whole bunch of new testcases.
160 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
166 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
169 Fix typo in the docs.
171 2007-06-15 Wim Taymans <wim@fluendo.com>
173 * docs/libs/gstreamer-libs-sections.txt:
174 Add docs for new methods.
176 2007-06-15 Wim Taymans <wim@fluendo.com>
178 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
179 (gst_multi_queue_item_new):
180 Don't use GSlice because we don't depend on >= 2.10 yet.
182 2007-06-15 Wim Taymans <wim@fluendo.com>
184 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
185 (update_time_level), (apply_segment), (apply_buffer),
186 (gst_single_queue_push_one), (gst_multi_queue_item_new),
187 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
188 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
189 (single_queue_underrun_cb), (single_queue_check_full):
192 2007-06-15 Wim Taymans <wim@fluendo.com>
194 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
195 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
196 (gst_data_queue_set_flushing), (gst_data_queue_push),
197 (gst_data_queue_pop), (gst_data_queue_drop_head),
198 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
199 * libs/gst/base/gstdataqueue.h:
201 Added methods to get the current levels and to inform the queue that the
202 'full' limits changed.
204 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
205 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
206 (gst_single_queue_flush), (update_time_level), (apply_segment),
207 (apply_buffer), (gst_single_queue_push_one),
208 (gst_multi_queue_item_steal_object),
209 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
210 (gst_multi_queue_loop), (gst_multi_queue_chain),
211 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
212 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
213 (gst_multi_queue_src_query), (single_queue_overrun_cb),
214 (single_queue_underrun_cb), (single_queue_check_full),
215 (gst_single_queue_new):
216 Keep track of time in the queue by measuring the difference between
217 running_time on input and output. This gives more accurate results and
218 can compensate for segments correctly.
219 Make a queue by default only 5 buffers deep. We will now increase the
220 buffer size depending on the filledness of the other queues.
221 Factor out commong flush code.
222 Make sure we don't add additional refcounts to buffers when we can avoid
224 Propagate GstFlowReturn differently.
225 Use GSlice for intermediate GstMultiQueueItems.
227 Resize queues on over and underruns based on filled level of other
229 When checking if the queue is filled, prefer to measure in time if we
230 can and fall back to bytes when no time is known.
232 * plugins/elements/gstqueue.c:
235 2007-06-15 Wim Taymans <wim@fluendo.com>
237 * libs/gst/base/gstbasetransform.c:
238 (gst_base_transform_sink_event):
239 Work around the brokenness of the event vmethod in basetransform. Prefer
240 to return TRUE when the subclass returned FALSE (meaning don't forward
243 * libs/gst/base/gstbasetransform.h:
246 2007-06-15 Wim Taymans <wim@fluendo.com>
248 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
249 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
250 (gst_base_src_default_query), (gst_base_src_get_range),
251 (gst_base_src_start):
252 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
255 2007-06-15 Stefan Kost <ensonic@users.sf.net>
257 * docs/pwg/advanced-types.xml:
258 Added more formats to caps table.
260 2007-06-15 Stefan Kost <ensonic@users.sf.net>
262 * tools/gst-launch.c: (main):
263 Remove crufy code. GOption does not need this workaround.
265 2007-06-14 Stefan Kost <ensonic@users.sf.net>
267 * libs/gst/controller/gstcontroller.c:
268 (gst_controlled_property_set_interpolation_mode):
269 Fix wrong getter for enums in controller.
271 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
273 * libs/gst/check/gstcheck.c: (gst_check_init):
274 Intercept criticals and warnings in the Gst-Phonon log domain, so
275 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
278 2007-06-14 Edward Hervey <edward@fluendo.com>
280 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
281 Since this file doesn't include "gst.h" it will not go through the
282 macros that disable GST_LOG if debugging was disabled.
284 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
286 * libs/gst/check/Makefile.am:
287 * libs/gst/check/gstcheck.h:
288 * pkgconfig/gstreamer-check-uninstalled.pc.in:
289 * pkgconfig/gstreamer-check.pc.in:
290 Ugly 'fix' for the controller unit test on the p5 bot: in
291 fail_unless_equals_float() check whether the values are 'almost
292 equal' by allowing a small absolute error, which should be good
293 enough for our use cases (normal numbers and values close to 0).
294 Proper fixage left to floating point arithmetic aficionados.
296 2007-06-14 Stefan Kost <ensonic@users.sf.net>
298 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
299 (gst_base_sink_render_object), (gst_base_sink_get_position):
300 Add two breaks thats where missing.
302 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
304 * docs/libs/gstreamer-libs-sections.txt:
305 * libs/gst/check/gstcheck.h:
306 API: add fail_unless_equals_float() and assert_equals_float().
307 Add documentation for some of the macros.
309 * tests/check/libs/controller.c: (GST_START_TEST):
310 Use newly-added asserts.
312 2007-06-14 Stefan Kost <ensonic@users.sf.net>
314 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
315 Show the caps change in the log to help spotting the case of not
316 exactly matching caps.
318 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
320 * docs/pwg/building-boiler.xml:
321 Fix typos, spotted by Thijs Vermeir (#447190).
323 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
325 * docs/plugins/tmpl/.cvsignore:
326 Ignore file to keep the buildbots happy
328 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
330 * docs/plugins/Makefile.am:
331 * docs/plugins/gstreamer-plugins-docs.sgml:
332 * docs/plugins/gstreamer-plugins-sections.txt:
333 Pull fdsink into the docs too.
335 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
337 * libs/gst/controller/gstinterpolation.c:
338 Actually use the new functions with min/max checks for the trigger and
339 none interpolation modes for get() and get_value_array() instead of
342 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
344 * libs/gst/controller/gstcontroller.c:
345 (gst_controlled_property_free):
346 Unset the minimum and maximum GValues when freeing the corresponding
347 GstControllerProperty struct.
349 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
351 * libs/gst/controller/gstcontroller.c:
352 (gst_controlled_property_new):
353 * libs/gst/controller/gstcontrollerprivate.h:
354 * libs/gst/controller/gstinterpolation.c:
355 (gst_controlled_property_find_control_point_node),
356 (interpolate_none_get), (interpolate_none_get_enum_value_array),
357 (interpolate_none_get_string_value_array),
358 (interpolate_trigger_get),
359 (interpolate_trigger_get_enum_value_array),
360 (interpolate_trigger_get_string_value_array):
361 Protect against values larger or smaller than the minimum or maximum
362 allowed value for the property when using values that can be compared.
364 Optimize trigger interpolator a bit by taking the last requested value
365 into account instead of always looping through the complete list.
367 Fix coding style a bit, everywhere else we use "return foo" instead
370 * tests/check/libs/controller.c: (GST_START_TEST),
371 (gst_controller_suite):
372 Add unit test for the protection against too large or too small
375 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
377 * docs/random/slomo/controller.txt:
378 Add some thoughts about the future of the controller.
380 2007-06-08 Wim Taymans <wim@fluendo.com>
382 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
383 Don't overflow in retimestamping code.
385 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
387 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
388 Use gst_util_guint64_to_gdouble for conversions.
389 * win32/common/libgstreamer.def:
390 Add new exported functions.
392 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
397 2007-06-07 Stefan Kost <ensonic@users.sf.net>
400 Remove that test line again.
402 2007-06-07 Stefan Kost <ensonic@users.sf.net>
405 Test commit mail sending.
407 2007-06-07 Stefan Kost <ensonic@users.sf.net>
410 Fix typo and test commit mail sending.
412 2007-06-07 Stefan Kost <ensonic@users.sf.net>
414 * tests/examples/controller/audio-example.c:
415 Improve comment and test commit mail sending.
417 2007-06-07 Wim Taymans <wim@fluendo.com>
419 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
420 (gst_bin_remove_func), (gst_bin_element_set_state),
421 (bin_handle_async_start), (bin_handle_async_done),
422 (gst_bin_handle_message_func):
423 Add helper function to find messages.
424 Generate the async-done messages together with the state change
426 Small cleanups in handling toplevel bins.
428 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
430 * libs/gst/base/gstdataqueue.c:
431 * libs/gst/base/gstdataqueue.h:
432 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
433 (gst_multi_queue_item_new), (gst_multi_queue_chain),
434 (gst_multi_queue_sink_event):
435 * tests/check/elements/multiqueue.c: (multiqueue_suite):
436 Fix multiqueue leaking buffers and events when downstream or the
437 queue are flushing. Make refcounting assumptions explicit and
438 document them (shouldn't break existing code that uses it other than
439 maybe leak miniobjects, but that already happens anyway). Add unit
440 test for the most common flushing case. Fixes #423700.
442 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
444 * libs/gst/controller/gstcontroller.c:
445 Clarify docs: The get_all, get_value_array(s) functions
446 don't modify the GObject properties.
448 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
450 * libs/gst/controller/gstcontroller.c:
451 (gst_controlled_property_set_interpolation_mode),
452 (gst_controlled_property_prepend_default),
453 (gst_controlled_property_new), (gst_controller_set_unlocked),
454 (gst_controller_set), (gst_controller_set_from_list),
455 (gst_controller_unset), (gst_controller_unset_all):
456 * libs/gst/controller/gstcontrollerprivate.h:
457 * libs/gst/controller/gstinterpolation.c:
458 Factor out the 'set' logic into gst_controller_set_unlocked for the
459 gst_controller_set and gst_controller_set_from_list functions.
461 To make life of the interpolators easier always add a control point
462 at timestamp zero with the default value.
464 In the linear interpolator make things more obvious by better variable
467 Implement cubic interpolation mode (by using a natural cubic spline)
468 and map the quadratic interpolation mode to this too (as quadratic
469 doesn't make much sense, see discussion on the list).
471 * tests/check/libs/controller.c: (GST_START_TEST),
472 (gst_controller_suite):
473 Add unit test for the cubic interpolation mode and check everywhere
474 if the interpolation mode could be set as expected.
476 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
478 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
479 Don't use GLib-2.10 functions, we still depend on
480 GLib-how-old-is-it-again-2.8.
482 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
484 * docs/gst/gstreamer-sections.txt:
488 * gst/gstparamspecs.c: (_gst_param_fraction_init),
489 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
490 (_gst_param_fraction_values_cmp),
491 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
492 * gst/gstparamspecs.h:
494 * tests/check/Makefile.am:
495 * tests/check/gst/.cvsignore:
496 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
497 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
498 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
499 (GST_START_TEST), (gst_param_spec_suite):
500 API: add GstParamSpecFraction, so elements can have fraction
501 properties without lots of painful string parsing (#444648).
503 2007-06-05 Wim Taymans <wim@fluendo.com>
505 * gst/gstobject.c: (gst_object_class_init):
506 Fix signal signature.
509 Add small clarification in the api docs.
511 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
512 States are protected with object lock.
514 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
517 I should probably be listed as an author by now.
519 * docs/random/release:
520 Update the release doc
522 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
525 Make docs for gst_value_compare() mention return enums that
528 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
533 === release 0.10.13 ===
535 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
538 releasing 0.10.13, "With or without you"
540 2007-05-25 Wim Taymans <wim@fluendo.com>
542 * gst/gstbin.c: (bin_handle_async_done):
543 Make sure that the child bin stops after completing the async state
544 change so that the parent can continue the state change to PLAYING.
547 2007-05-25 Wim Taymans <wim@fluendo.com>
549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
550 (unref_data), (gst_collect_pads_remove_pad),
551 (gst_collect_pads_check_pads):
552 Use additional refcounting to avoid crashes when dynamically adding and
553 removing pads. Fixes #420206.
555 2007-05-24 Wim Taymans <wim@fluendo.com>
557 * tools/gst-launch.c: (event_loop):
558 When buffering goes from a two digit to a single digit number, make sure
559 to remove the old second digit by writing a blank over it.
561 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
563 * libs/gst/base/gstdataqueue.c:
564 Eliminate tabs and trailing comma in enum list; fix some typos.
566 2007-05-24 Wim Taymans <wim@fluendo.com>
568 * tests/check/gst/gstbin.c: (GST_START_TEST):
569 Allow refcount of 3 and 4 because some state thread might still be busy
572 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
574 * plugins/elements/Makefile.am:
575 * plugins/elements/gstmultiqueue.h:
576 * plugins/elements/gstqueue.h:
577 These are not installed headers, no need for padding.
579 2007-05-24 Wim Taymans <wim@fluendo.com>
581 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
582 (gst_bin_continue_func):
583 Enable latency for next release.
584 Restore STATE_LOCK around recalc_state that was left out during the
585 rewrite and could result in racy behaviour when _get_state and
586 recalc_state are run concurrently. See #440463.
588 2007-05-23 Wim Taymans <wim@fluendo.com>
590 * tests/check/gst/gstsystemclock.c: (store_callback),
592 Improve test_async_order to also work when both timers are already
593 expired when we get scheduled to check it.
595 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
597 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
598 (gst_bin_set_property), (gst_bin_get_property),
599 (gst_bin_remove_func), (gst_bin_handle_message_func):
601 'private' is a c++ keyword, let's not use that in header files,
602 otherwise c++ compilers will throw a tantrum.
604 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
606 * plugins/elements/gstelements.c:
607 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
608 (gst_file_sink_get_current_offset):
609 * plugins/indexers/gstindexers.c: (plugin_init):
610 Use #ifdef for HAVE_XYZ for consistency.
612 * tests/check/Makefile.am:
613 * tests/check/elements/.cvsignore:
614 * tests/check/elements/filesink.c: (setup_filesink),
615 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
616 Add some unit tests for filesink.
618 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
620 Patch by: Mark Nauwelaerts <manauw at skynet be>
622 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
623 (gst_file_sink_query), (gst_file_sink_do_seek),
624 (gst_file_sink_get_current_offset), (gst_file_sink_render):
625 * plugins/elements/gstfilesink.h:
626 Fix position reporting; rename data_written member to current_pos to
627 reflect its real meaning (fixes #412648).
629 2007-05-22 Edward Hervey <edward@fluendo.com>
631 * docs/gst/gstreamer-sections.txt:
632 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
633 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
634 (gst_bin_remove_func), (gst_bin_handle_message_func):
636 Add a property for bins that handle the state change of their childs.
639 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
641 * libs/gst/controller/gstinterpolation.c:
642 Use an array of the correct type when using _get_value_array with
643 linear interpolation.
645 2007-05-22 Stefan Kost <ensonic@users.sf.net>
647 * gst/gstelement.c (gst_element_requires_clock,
648 gst_element_provides_clock, gst_element_request_pad,
649 gst_element_class_set_details, gst_element_class_set_details_simple,
650 gst_element_default_send_event, gst_element_abort_state,
651 gst_element_continue_state, gst_element_set_state,
652 gst_element_set_state_func, iterator_activate_fold_with_resync):
653 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
654 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
655 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
656 gst_pad_get_range, gst_pad_pull_range):
657 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
658 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
659 GstPadActivateModeFunction, GstPadChainFunction,
660 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
661 GstPadFixateCapsFunction, GstPadTemplate):
662 * gst/gstpipeline.c (gst_pipeline_change_state,
663 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
664 gst_pipeline_set_clock, gst_pipeline_auto_clock,
665 gst_pipeline_get_delay):
666 Whitespace and docs fixes.
668 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
670 * libs/gst/controller/gstinterpolation.c:
671 (interpolate_trigger_get_enum_value_array),
672 (interpolate_trigger_get_string_value_array):
673 Add support for retrieving value arrays when using the trigger
676 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
678 * libs/gst/controller/gstcontroller.c:
679 (gst_controller_get_value_array):
680 * libs/gst/controller/gstcontroller.h:
681 Clarify the docs of gst_controller_get_value_array(): The array where
682 the values should be written to must be allocated as there seems to be
683 no way to get the size of a random GType. This doesn't change any
684 behaviour. Also fix some typos all over the place and remove an unused,
685 commented function that is not necessary as g_object_set() could be
687 * tests/check/libs/controller.c: (GST_START_TEST),
688 (gst_controller_suite):
689 Add unit test for gst_controller_get_value_array().
691 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
693 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
695 Disable part of the gst_buffer_try_new_and_alloc test, because
696 it can happily succeed on 64-bit systems where there's more address
699 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
701 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
702 Add unit test for the improved caps checking from bug #421543.
704 2007-05-21 Wim Taymans <wim@fluendo.com>
706 * docs/design/part-synchronisation.txt:
709 * gst/gstbin.c: (gst_bin_query):
710 * plugins/elements/gstqueue.c: (apply_segment):
716 2007-05-21 Wim Taymans <wim@fluendo.com>
718 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
719 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
720 (gst_pad_configure_src):
721 Added simple version of improved caps checking. It was previously
722 assumed that a setcaps function would check the validity of the caps but
723 people prefer us to check caps against the template automatically.
726 2007-05-21 Wim Taymans <wim@fluendo.com>
728 * libs/gst/base/gstbasetransform.h:
729 Fix macro for locking/unlocking the transform lock.
731 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
733 * docs/plugins/tmpl/.cvsignore:
736 2007-05-18 Edward Hervey <edward@fluendo.com>
738 * plugins/elements/gstqueue.c: (gst_queue_loop):
739 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
740 for the subtle art of warning a potentially blocking thread that it
741 should check the source pad return value, and relay the information
744 2007-05-18 Edward Hervey <edward@fluendo.com>
746 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
747 Release the queue lock !
749 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
751 * docs/libs/gstreamer-libs-sections.txt:
752 Add the two new controller functions to the appropiate places.
754 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
756 reviewed by: Stefan Kost <ensonic@users.sf.net>
758 * libs/gst/controller/gstcontroller.c:
759 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
760 (_gst_controller_get_property), (_gst_controller_set_property),
761 (_gst_controller_init), (_gst_controller_class_init):
762 * libs/gst/controller/gstcontroller.h:
763 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
764 (gst_object_get_control_rate), (gst_object_set_control_rate):
765 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
766 Add API that provides sync suggestion timestamps for elements that
767 call gst_object_sync_values() from which those elements can subdivide
768 their processing loop to get the best results for the controlled
769 properties. For now it just suggests last_sync + control_rate as
770 new timestamp but this will be improved in the future.
772 While doing that change the control-rate property to a GstClockTime
773 from guint and change it's meaning from samples to nanoseconds as
774 the GstController doesn't know anything about sampling rate. Strictly
775 speaking this breaks ABI but as the control-rate property didn't do
776 anything in the past and as such couldn't be used this should be no
779 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
781 reviewed by: Stefan Kost <ensonic@users.sf.net>
783 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
784 (gst_controller_unset_all):
785 * libs/gst/controller/gstcontrollerprivate.h:
786 * libs/gst/controller/gstinterpolation.c:
787 (gst_controlled_property_find_control_point_node):
788 Save last synced value from the list to continue searching from there
789 in future syncs. This speeds everything up a bit.
791 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
793 reviewed by: Stefan Kost <ensonic@users.sf.net>
795 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
796 (gst_control_point_find), (gst_controlled_property_new),
797 (gst_control_point_free), (gst_controlled_property_free),
798 (gst_controller_set), (gst_controller_set_from_list),
799 (gst_controller_unset), (gst_controller_unset_all),
800 (gst_controller_sync_values):
801 * libs/gst/controller/gstcontroller.h:
802 * libs/gst/controller/gstcontrollerprivate.h:
803 * libs/gst/controller/gstinterpolation.c:
804 (gst_controlled_property_find_control_point_node),
805 (interpolate_none_get), (interpolate_trigger_get):
806 Add a new private GstControlPoint struct which "inherits" from
807 GstTimedValue to allow different interpolators to store internal
808 values next to each control point. From the outside everything is
809 still a GstControlPoint so we don't loose binary compatibility.
810 Also fixup all the GValue handling to not leak GValues or list nodes.
811 * tests/check/libs/controller.c: (GST_START_TEST):
812 Free the list nodes and GValues in the controller_misc test.
814 2007-05-17 Edward Hervey <edward@fluendo.com>
819 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
821 * gst/gstplugin.c: (gst_plugin_load_file):
822 If we fail to load a plugin because of unresolved symbols or missing
823 libraries and spew a warning to stderr, we may just as well mention
824 which plugin it was that failed to load.
826 2007-05-13 David Schleef <ds@schleef.org>
828 * docs/Makefile.am: the gtk-doc makefile snippet correctly
829 handles the case when ENABLE_GTK_DOC is false, and installs
830 the prebuilt documentation. So gtk-doc subdirs are
831 unconditionally enabled. Fixes: #349099.
833 2007-05-13 David Schleef <ds@schleef.org>
835 * gst/gstutils.h: Reword some documentation.
837 2007-05-12 David Schleef <ds@schleef.org>
839 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
840 do anything with the passed "module" parameter, so remove it.
841 Allows removal of additional vestigal code.
843 2007-05-12 David Schleef <ds@schleef.org>
846 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
847 Switch to using g_stat() because it's more portable.
849 2007-05-12 David Schleef <ds@schleef.org>
852 Add GST_DISABLE_OPTION_PARSING, in order to disable option
853 parsing for embedded systems.
854 * gst/gstelementfactory.c:
855 Allow gst_element_register() to be called with plugin==NULL.
856 Did nobody notice that static elements were broken?
858 2007-05-12 Wim Taymans <wim@fluendo.com>
860 * tools/gst-launch.c: (event_loop):
861 Give more interesting info when buffering starts and stops.
862 Fix case where buffering starts but we fail to update the buffering flag
863 because the target state is not PLAYING.
865 2007-05-12 Wim Taymans <wim@fluendo.com>
867 * plugins/elements/gstqueue.c: (gst_queue_init),
868 (gst_queue_finalize), (update_time_level), (apply_segment),
869 (apply_buffer), (gst_queue_locked_flush),
870 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
871 (gst_queue_handle_sink_event), (gst_queue_chain),
872 (gst_queue_push_one), (gst_queue_loop):
873 * plugins/elements/gstqueue.h:
874 Refactor an cleanup queue a bit.
875 Do better time level calculations that also work when the srcpad is not
877 Remove some unneeded debug lines.
879 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
880 Added testcase for time level measurement.
881 Try to make some stuff more racefree.
883 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
885 * gst/gsturi.c: (gst_element_make_from_uri):
886 Don't leak plugin feature.
888 * tests/check/Makefile.am:
889 * tests/check/gst/.cvsignore:
890 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
891 Add brain-dead unit test.
893 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
895 Patch by: Jeroen Wouters <woutersj at gmail com>
897 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
898 Treat protocol strings in a case-insensitive way (#437563).
900 2007-05-11 Michael Smith <msmith@fluendo.com>
902 * gst/gstplugin.c: (gst_plugin_load_file):
903 * gst/gstregistry.c: (gst_registry_scan_path_level):
904 Don't print a g_warning for any failure to load a shared object.
905 Instead, push this down into gstplugin.c, and warn _only_ if we
906 failed to open the module (i.e. failure to link).
907 Avoids warnings on normal, working, non-plugin .so files.
909 2007-05-11 Stefan Kost <ensonic@users.sf.net>
911 * gst/gstplugin.c (gst_plugin_load_file):
912 * gst/gstregistry.c (GST_CAT_DEFAULT,
913 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
914 Print a g_warning if there was an error when loading a plugins during
915 registry scan. The shuld help beginners starting with gst-plugin
918 2007-05-10 Wim Taymans <wim@fluendo.com>
920 * plugins/elements/gstqueue.c: (gst_queue_class_init),
921 (update_time_level), (gst_queue_locked_flush),
922 (gst_queue_handle_sink_event), (gst_queue_chain),
923 (gst_queue_push_one), (gst_queue_loop):
924 * plugins/elements/gstqueue.h:
925 Be smarter when calculating the current amount of data in the queue by
926 measuring the difference between start and end timestamps (in running
927 time) inside the queue. Fixes #432876.
928 API: GstQueue::pushing to notify elements that we are pushing data again
929 since the running signal is rather broken for this purpose.
931 2007-05-10 Stefan Kost <ensonic@users.sf.net>
933 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
934 gst_queue_base_init, gst_queue_init):
937 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
939 * win32/common/libgstreamer.def:
940 Add new exported functions.
941 * win32/vs6/grammar.dsp:
942 Use grammar pre-generated files.
944 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
946 Based on patch by: Peter Kjellerstedt <pkj at axis com>
949 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
951 * gst/gstutils.c: (gst_parse_bin_from_description):
953 Maintain API and ABI when --disable-parse is used. Now that
954 we have an appropriate error code, we can just return NULL and the
955 appropriate error when gst_parse_launch() is used despite it having
956 been disabled (#342564).
958 * tests/check/Makefile.am:
959 * tests/check/pipelines/.cvsignore:
960 * tests/check/pipelines/parse-disabled.c:
961 Make sure these functions exist and return NULL plus a GError when
962 --disable-parse is used.
964 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
966 * tests/benchmarks/complexity.c: (main):
967 * tests/benchmarks/mass-elements.c: (main):
968 Set a good example and don't leak messages.
970 2007-05-06 Stefan Kost <ensonic@users.sf.net>
972 * docs/gst/Makefile.am:
973 * docs/libs/Makefile.am:
974 Correct fixxrefs options.
976 * docs/plugins/Makefile.am:
977 * docs/plugins/gstreamer-plugins-docs.sgml:
978 * docs/plugins/gstreamer-plugins-sections.txt:
979 * plugins/elements/Makefile.am:
980 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
981 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
982 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
983 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
984 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
985 _GstCapsFilterClass, trans_class):
986 * plugins/elements/gstelements.c (name, rank, type, _elements):
987 * plugins/elements/gstidentity.c
988 (gst_identity_check_imperfect_timestamp,
989 gst_identity_check_imperfect_offset):
990 Document capsfilter and add doc-blurb to identity.
992 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
994 * libs/gst/controller/gstcontroller.c:
995 (gst_controlled_property_set_interpolation_mode):
996 * libs/gst/controller/gstinterpolation.c:
997 Don't crash if someone tries to set an interpolation mode that
998 is invalid or that isn't supported yet. Fixes #422295.
1000 * tests/check/libs/controller.c: (GST_START_TEST),
1001 (gst_controller_suite):
1002 Add a test case for the above.
1004 2007-05-03 Edward Hervey <edward@fluendo.com>
1006 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1007 Properly set the last_stop position on GstSegment. This will only happen
1008 if there is a buffer to push out.
1010 2007-05-03 Wim Taymans <wim@fluendo.com>
1012 * libs/gst/base/gstbasetransform.c:
1013 (gst_base_transform_buffer_alloc):
1014 always_in_place does not mean that the sink and source caps are the
1015 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1017 2007-05-03 Wim Taymans <wim@fluendo.com>
1019 * docs/libs/gstreamer-libs-sections.txt:
1020 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1021 (gst_base_src_default_query), (gst_base_src_get_range):
1022 * libs/gst/base/gstbasesrc.h:
1023 API: gst_base_src_query_latency(). Added method so that subclasses can
1024 easily get the latency values of the base source class.
1026 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1028 * tools/gst-inspect.c (print_implementation_info):
1031 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1033 * tools/Makefile.am:
1034 * tools/gst-launch.1.in:
1035 Don't create a customised man page based on the host architecture,
1036 describe the default registry path generically. That way the man
1037 page is the same for all architectures and packagers have one
1038 multilib issue less to deal with. Fixes #434926.
1040 2007-05-02 Wim Taymans <wim@fluendo.com>
1043 Fix documentation as spotted by rg on IRC.
1045 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1048 Improve docs for gst_element_{link,unlink}.
1050 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1052 * docs/design/part-events.txt:
1053 * docs/design/part-overview.txt:
1057 * libs/gst/base/gstbasesink.c:
1058 Typo fixes; minor docs addition.
1060 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1062 * docs/gst/gstreamer-sections.txt:
1063 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1064 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1066 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1067 or src that supports a given URI protocol exists.
1069 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1071 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1072 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1073 Set the location to NULL if "file://" is set as URI. Otherwise
1074 some random previous URI would still be set if "file://" is
1075 set on an already used filesink/filesrc.
1077 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1079 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1080 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1081 Special case the "file://" URI as as this is used by some
1082 applications to test with gst_element_make_from_uri if there's
1083 an element that supports the URI protocol.
1084 Also move the g_path_is_absolute() check for the location part
1085 of the URI to also check this for "file://localhost/bla" URIs.
1087 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1089 * docs/gst/gstreamer-sections.txt:
1090 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1092 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1094 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1096 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1098 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1099 (gst_registry_binary_load_pad_template),
1100 (gst_registry_binary_load_plugin),
1101 (gst_registry_binary_read_cache):
1102 * gst/gstregistrybinary.h:
1103 Implement no-mmap alternative for registry reading. Do code cleanups.
1104 Add more comments about avoiding strdups for all text data. Comments
1107 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1109 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1110 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1111 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1112 Comment structs and reformat to fix the build (that stuff should go
1113 into a priv. header).
1115 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1117 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1118 (gst_registry_binary_load_feature):
1119 * gst/gstregistrybinary.h:
1120 Refactor so that we can implement multiple features. Add support for
1121 TypeFindFactory features.
1123 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1125 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1128 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1130 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1132 * gst/gstbin.c: (gst_bin_element_set_state),
1133 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1134 (bin_handle_async_done), (gst_bin_handle_message_func):
1135 Fix build with --gst-disable-gst-debug
1137 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1139 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1140 Make sure streaming has finished before calling the ::stop() vfunc,
1141 since that vfunc might clear state which is being used in the
1142 streaming thread. This fixes a race that caused crashes in
1143 audioresample when shutting down a pipeline (#420106).
1145 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1147 * docs/gst/gstreamer-sections.txt:
1148 That was one byte missing.
1150 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1153 * docs/gst/gstreamer-sections.txt:
1155 * gst/gstconfig.h.in:
1156 * gst/gstobject.c: (gst_object_class_init),
1157 (gst_signal_object_class_init):
1159 2nd attempt to have a xml-less build as a joined effort of #413123
1162 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1164 * docs/design/draft-tagreading.txt:
1165 Added open issues/thoughts to draft.
1167 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1169 * gst/parse/grammar.tab.pre.c:
1170 * gst/parse/grammar.tab.pre.h:
1171 * gst/parse/lex._gst_parse_yy.pre.c:
1172 Update the prebuild parser sources.
1174 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1176 * gst/parse/Makefile.am:
1177 And now fix the building of the flex sources. Now everything should
1180 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1182 * gst/parse/Makefile.am:
1183 Now hopefully fix the build failures by setting proper rule
1184 dependencies and moving instead of copying.
1186 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1188 * tests/benchmarks/complexity.gnuplot:
1189 * tests/benchmarks/complexity.scm:
1190 * tests/benchmarks/mass-elements.gnuplot:
1191 * tests/benchmarks/mass-elements.scm:
1192 Total licensification.
1194 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1196 * gst/parse/Makefile.am:
1197 Fix the build by correcting the rule that gave wrong files to flex.
1199 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1201 * tests/benchmarks/complexity.c:
1202 * tests/benchmarks/mass-elements.c:
1203 Change licence to LGPL as granted by Benjamin and Andy.
1205 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1207 * gst/parse/Makefile.am:
1208 Add correct grammar.tab.h dependency if compiling without new enough
1209 flex. Fixes #431150.
1211 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1213 * gst/parse/Makefile.am:
1214 Fix typo and use outdated sources if the flex/bison sources are newer
1215 than the pregenerated ones but flex is too old. Print a warning in
1216 that case. This should fix the build on the build bot.
1218 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1220 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1221 * gst/parse/Makefile.am:
1222 * gst/parse/grammar.y:
1223 * gst/parse/parse.l:
1224 Make the parser reentrant and recursively callable. This requires flex
1225 >= 2.5.31, for older versions pregenerated sources are used as we
1226 can't bump the build dependency. Finally fixes #349180.
1228 * gst/gstparse.c: (gst_parse_launch):
1229 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1232 * docs/gst/Makefile.am:
1233 * docs/gst/Makefile.am:
1234 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1235 (__gst_parse_strfree), (__gst_parse_link_new),
1236 (__gst_parse_link_free), (__gst_parse_chain_new),
1237 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1238 (gst_parse_element_set), (gst_parse_free_link),
1239 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1240 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1241 (_gst_parse_launch):
1242 * gst/parse/grammar.tab.pre.h:
1243 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1244 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1245 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1246 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1247 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1248 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1249 (_gst_parse_yypop_buffer_state),
1250 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1251 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1252 (yy_fatal_error), (_gst_parse_yyget_extra),
1253 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1254 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1255 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1256 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1257 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1258 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1259 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1260 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1261 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1262 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1263 (_gst_parse_yyfree):
1264 If the installed flex version is too old use pre-generated parser
1265 sources. These pre-generated parser sources are always updated when
1266 the actual flex/bison sources change but require everybody who wants
1267 to change something in the parser to have flex >= 2.5.31 installed.
1269 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1271 * common/m4/gst-gettext.m4:
1272 * gst/gst-i18n-lib.h:
1273 Make --disable-nls to work
1275 2007-04-17 Wim Taymans <wim@fluendo.com>
1277 * gst/gstconfig.h.in:
1278 Revert previous change that broke the build.
1280 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1284 * gst/gstconfig.h.in:
1285 Drop libxml2 dependency when building with
1286 --enable-binary-registry --disable-loadsave
1288 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1290 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1291 (gst_registry_binary_read_cache):
1292 * gst/gstregistrybinary.h:
1293 Remove unnecessary <sys/mman.h> include which broke the win32 build
1294 with MingW; move includes from header file to .c file, even if the
1295 header file isn't installed; use g_strerror() where UTF-8 strings
1296 are expected, such as in GST_DEBUG messages.
1298 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1300 * docs/libs/gstreamer-libs-sections.txt:
1301 Remove bogus addition for API I didn't end up keeping.
1303 * libs/gst/base/gstbasesrc.h:
1304 Mention Since: 0.10.13 in the documentation.
1306 Add the API keyword to the previous ChangeLog entry.
1308 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1310 * docs/libs/gstreamer-libs-sections.txt:
1311 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1312 (gst_base_src_default_prepare_seek_segment),
1313 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1314 * libs/gst/base/gstbasesrc.h:
1315 Allow basesrc derived classes to execute seeks in other formats
1316 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1317 to prepare the GstSegment in any format that their perform_seek method
1318 will be able to understand. The default implementation provides the
1319 old behaviour of attempting to convert the seek offsets to the
1320 configured native format.
1322 API: basesrc::prepare_seek_segment vmethod.
1324 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1326 * gst/gstelement.c: (gst_element_get_state_func):
1327 Don't output the same debug statement twice.
1329 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1330 (gst_adapter_peek), (gst_adapter_take_buffer):
1331 Optimise the case where we have buffers at the head of the queue that
1332 can be joined quickly (because they're contiguous sub-buffers) by
1333 merging them together rather than copying data out into new memory.
1335 * gst/parse/grammar.y:
1336 * tests/check/pipelines/parse-launch.c:
1337 Fix a leak in an error path for parse_launch, and add a check
1338 for it to the testsuite.
1340 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1342 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1343 Don't deadlock when releasing a pad - gst_pad_set_active may try
1344 and take the multiqueue lock too.
1346 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1348 * gst/gsterror.c: (_gst_core_errors_init):
1350 API: add GST_CORE_ERROR_DISABLED (#392804).
1352 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1354 * docs/faq/gst-uninstalled:
1355 don't get empty paths on the PATH variables
1356 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1357 Don't format for the uncommon terminal width of 84 characters.
1359 2007-04-06 Wim Taymans <wim@fluendo.com>
1361 * gst/gstpipeline.c: (reset_stream_time),
1362 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1363 Only try to select a different pipeline clock when we went back to
1364 PAUSED and not when we merely got flushed.
1366 2007-04-05 Michael Smith <msmith@fluendo.com>
1368 * tools/gst-launch.1.in:
1369 fractions are better supported in gstreamer than ractions, so
1370 suggest using those.
1372 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1374 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1378 Added Danish translation.
1380 2007-04-05 Wim Taymans <wim@fluendo.com>
1382 * libs/gst/base/gstbasesink.c:
1383 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1384 Fix leak caused when refusing newsegment after EOS.
1386 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1387 (gst_fake_sink_init), (gst_fake_sink_set_property),
1388 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1389 (gst_fake_sink_render), (gst_fake_sink_change_state):
1390 * plugins/elements/gstfakesink.h:
1391 Add num-buffers property to make the element generate EOS after a
1392 configurable amount of buffers.
1393 API: fakesink::num-buffers property.
1395 * tests/check/elements/fakesink.c: (GST_START_TEST),
1397 Fix GstBus leak in test.
1398 Test for fakesink num-buffers.
1400 2007-04-05 Wim Taymans <wim@fluendo.com>
1402 * libs/gst/base/gstbasesink.c:
1403 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1404 (gst_base_sink_change_state):
1405 Don't accept anything after an EOS, return UNEXPECTED instead.
1407 * tests/check/elements/fakesink.c: (GST_START_TEST),
1409 Unit test for new EOS behaviour.
1411 2007-04-05 Wim Taymans <wim@fluendo.com>
1413 * gst/gstelement.c: (gst_element_get_request_pad):
1414 Make padtemplates also work when they don't contain %s or %d.
1416 2007-04-05 Wim Taymans <wim@fluendo.com>
1418 * docs/gst/gstreamer-sections.txt:
1419 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1420 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1422 Improve _adjust_unlocked() so that it overflows less.
1423 Add gst_clock_unadjust_unlocked to convert from external time to
1424 internal time based on calibration.
1425 Add some more debug.
1426 API: GstClock::gst_clock_unadjust_unlocked()
1428 2007-04-03 Wim Taymans <wim@fluendo.com>
1430 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1432 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1433 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1434 when releasing sink pad. Fixes #425400.
1436 2007-04-02 Stefan Kost <ensonic@users.sf.net>
1438 * docs/random/ensonic/dynlink.txt:
1439 More work on proposal for new core api.
1441 * docs/libs/gstreamer-libs-sections.txt:
1442 * libs/gst/base/gstbasetransform.h:
1443 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1445 * libs/gst/controller/gstcontroller.c:
1446 (on_object_controlled_property_changed),
1447 (gst_controller_sync_values),
1448 (gst_controller_set_interpolation_mode):
1449 * libs/gst/controller/gstcontroller.h:
1450 Less verbose logging add docs for unimplemented parts and correctly
1451 return when using unavailable parts.
1453 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1455 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1456 Move all the debug to the CLOCK category, and associate it with
1459 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
1461 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1462 Make take_buffer a bit quicker by removing redundant checks
1463 caused by calling gst_adapter_take.
1465 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1467 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1470 * tests/check/Makefile.am:
1471 * tests/check/elements/.cvsignore:
1472 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1473 (GST_START_TEST), (multiqueue_suite):
1474 Add some dead simple unit tests for the 'multiqueue' element
1475 (some bits don't work yet and are disabled for now).
1477 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
1479 * gst/gstelement.c: (gst_element_get_request_pad),
1480 (gst_element_class_get_request_pad_template):
1481 Make gst_element_get_request_pad() create request pads only for
1482 request pad templates and not for, say, sometimes pad templates.
1484 2007-03-28 Stefan Kost <ensonic@users.sf.net>
1486 * docs/design/draft-klass.txt:
1487 Add example that needs more thinking.
1489 * docs/design/draft-missing-plugins.txt:
1490 More thoughts about wrapper plugins.
1492 * docs/random/ensonic/embedded.txt:
1493 * docs/random/ensonic/profiling.txt:
1496 2007-03-25 Wim Taymans <wim@fluendo.com>
1498 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1499 (gst_base_src_loop):
1500 Only push the segment events in the PLAYING state for live sources.
1502 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
1504 * gst/gstpipeline.c: (gst_pipeline_change_state):
1505 Modify the clock distribution path in PAUSED->PLAYING so that we
1506 never attempt to choose a new clock unless we're actually leaving
1507 the PAUSED state for the first time. This prevents choosing a
1508 different clock when the state_change gets called for a 2nd time due
1509 to some element doing an async state change.
1511 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1513 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
1514 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
1515 (gst_pad_chain_unchecked), (gst_pad_push):
1516 Revert last commit. This needs some more thoughts.
1518 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1520 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
1521 (gst_pad_chain_unchecked), (gst_pad_push):
1522 Check in set_caps if the caps are compatible with the pad and remove
1523 two functions that are redundant now. Fixes #421543.
1525 2007-03-22 Wim Taymans <wim@fluendo.com>
1527 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1528 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
1529 Unref some more to make valgrind happy.
1531 2007-03-22 Wim Taymans <wim@fluendo.com>
1533 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
1534 (gst_system_clock_id_wait_jitter),
1535 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
1536 Fix anoying regression that survived a few releases. When adding an
1537 async entry while blocking on a sync entry, the sync entry will unblock
1538 but still be busy, so it should continue to wait instead of returning
1540 Add some comments here and there.
1542 * tests/check/gst/gstsystemclock.c: (mixed_thread),
1543 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
1544 Add testcase for this.
1546 2007-03-22 Wim Taymans <wim@fluendo.com>
1548 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
1549 Handle errors from the clock sync better, only UNSCHEDULED indicates a
1550 WRONG_STATE and can silently pause the task. All other cases should
1553 2007-03-22 Wim Taymans <wim@fluendo.com>
1555 Patch by: Ville Syrjala <syrjala at sci dot fi>
1557 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
1558 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
1561 2007-03-21 Michael Smith <msmith@fluendo.com>
1563 * docs/pwg/advanced-types.xml:
1564 Fix some errors in the typefinding docs pointed out on irc.
1566 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
1568 * libs/gst/base/gstbasesrc.c:
1569 Clarify FIXME comment in the face of having added unlock_stop()
1571 2007-03-21 Wim Taymans <wim@fluendo.com>
1573 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
1574 Prepare for release where we warn against possible app breakage in the
1575 case of live pipelines along with an env var to enable/disable live
1576 preroll mode (GST_COMPAT=[no-]live-preroll).
1578 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1580 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
1581 So we should use correct constants for checking for None offset.
1583 2007-03-20 Wim Taymans <wim@fluendo.com>
1585 * docs/design/part-block.txt:
1586 Mention the fact that the newly switched element should be set to at
1589 2007-03-20 Wim Taymans <wim@fluendo.com>
1592 Fix compilation with registry disabled as spotted by Saur.
1594 2007-03-20 Wim Taymans <wim@fluendo.com>
1596 Patch by: Olivier Crete <tester at tester dot ca>
1598 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1599 Look at the pending state too when syncing the element state to the
1600 parent. Fixes #420133.
1602 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
1604 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1605 (gst_base_sink_change_state):
1606 * libs/gst/base/gstbasesink.h:
1607 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1608 (gst_base_src_default_event), (gst_base_src_unlock_stop),
1609 (gst_base_src_deactivate):
1610 * libs/gst/base/gstbasesrc.h:
1611 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
1612 for sub-classes to correctly clear any state they set trying to
1613 unlock, such as clearing out unlock commands from a command fd.
1614 API: basesrc::unlock_stop
1615 API: basesink::unlock_stop
1617 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
1618 (gst_fd_sink_render), (gst_fd_sink_unlock),
1619 (gst_fd_sink_unlock_stop):
1620 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1621 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
1622 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
1624 Implement unlock_stop in fdsrc and fdsink.
1625 Implement seeking in fdsrc when a seekable fd is passed, as in
1626 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
1628 2007-03-19 Wim Taymans <wim@fluendo.com>
1630 Patch by: Evan Nemerson <evan at coeus dash group dot com>
1632 * gst/gstelement.c: (gst_element_class_init):
1633 Fix pad-added and pad-removed signal signatures so that the pad type is
1634 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
1636 2007-03-19 Wim Taymans <wim@fluendo.com>
1638 * docs/gst/gstreamer-sections.txt:
1639 Add new element field and method.
1641 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1642 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
1643 (gst_bin_recalc_state), (gst_bin_get_state_func),
1644 (gst_bin_element_set_state), (gst_bin_change_state_func),
1645 (gst_bin_continue_func), (bin_bus_handler),
1646 (bin_push_state_continue), (bin_handle_async_start),
1647 (bin_handle_async_done), (gst_bin_handle_message_func):
1648 Make async state changes a bit smarter by using new ASYNC_START and
1649 ASYNC_DONE messages. This reduces the number of times we run the state
1650 recalculation thread.
1651 Don't change state of element with a pending ASYNC_START message.
1652 Deprecate STATE_DIRTY messages.
1654 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
1655 (gst_element_get_state_func), (gst_element_continue_state),
1656 (gst_element_lost_state), (gst_element_set_state_func),
1657 (gst_element_change_state):
1659 Keep the state that was last set by the app in a new element field.
1660 Don't allow state changes when handling an element event.
1661 Post ASYNC_START and ASYNC_DONE messages.
1662 Change lost_state so that we go to PAUSED and wait for the parent to set
1663 us to PLAYING again (so latency calculation can be performed)
1664 Export gst_element_change_state() method so that subclasses can use it.
1665 API: gst_element_change_state()
1666 API: GST_STATE_TARGET
1668 * gst/gstpipeline.c: (gst_pipeline_class_init),
1669 (reset_stream_time), (gst_pipeline_change_state),
1670 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
1671 Using the new ASYNC_START message we can reset the base_time when
1672 needed. This can then be used to implement base_time redistribution in
1673 flushing seeks so that we can remove the explicit seek handling.
1674 Perform latency query and configuration when going to PLAYING.
1676 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1677 (gst_base_sink_query), (gst_base_sink_change_state):
1678 Post new ASYNC_START/ASYNC_DONE messages.
1680 * tests/check/generic/sinks.c: (GST_START_TEST):
1681 Fix test because the bin will not set the async element to PLAYING right
1684 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
1685 Make the message check a little stronger.
1686 Handle ASYNC messages.
1688 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
1689 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
1690 Expect ASYNC_DONE messages.
1692 2007-03-19 Wim Taymans <wim@fluendo.com>
1694 * docs/gst/gstreamer-sections.txt:
1695 * gst/gstmessage.c: (gst_message_new_async_start),
1696 (gst_message_new_async_done), (gst_message_parse_info),
1697 (gst_message_parse_async_start):
1699 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
1702 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
1704 * tools/gst-inspect.c:
1705 (print_plugin_automatic_install_info_codecs):
1706 Now that we don't check for the 'Codec' keyword any longer in the
1707 klass, we shouldn't spew a warning if the klass isn't a decoder or
1708 encoder (since it might be a Source/Network, for example).
1710 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
1712 * tools/gst-inspect.c:
1713 (print_plugin_automatic_install_info_codecs):
1714 Don't require decoder/demuxer/depayloader elements or
1715 encoder/muxer/paylader elements to have 'Codec' as part of their
1716 factory class string when introspecting a plugin's capabilities.
1717 draft-klass.txt mentions that it might be removed in future, and
1718 flump3dec doesn't have it as part of its class string, so chances
1719 are others might also not have it.
1721 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
1743 Update translations from translation project
1745 2007-03-14 Stefan Kost <ensonic@users.sf.net>
1747 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
1748 (gst_child_proxy_set_property):
1749 Invert precondition check to be alike the ones in the mimiced gobject
1752 2007-03-13 Stefan Kost <ensonic@users.sf.net>
1754 * docs/design/draft-tagreading.txt:
1755 * docs/random/ensonic/audiobaseclasses.txt:
1756 Do some Architect work.
1758 * gst/gstobject.c: (gst_object_set_name):
1762 Add docs that point from gst_pad_get_range to gst_pad_pull_range
1764 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
1766 * gst/gstsystemclock.c: (gst_system_clock_init),
1767 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
1768 Defer starting the async system clock thread until the first async
1769 wait is scheduled. Fixes #414986.
1771 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
1773 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
1774 (gst_single_queue_free):
1775 Fix small leak (free GstSingleQueue structure too, not only contents).
1777 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
1779 * gst/gstbin.c:(gst_bin_add):
1780 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
1781 * win32/common/libgstbase.def:
1782 * win32/common/libgstreamer.def:
1783 Add new exported functions.
1785 2007-03-09 Wim Taymans <wim@fluendo.com>
1787 * docs/plugins/gstreamer-plugins-sections.txt:
1790 2007-03-09 Wim Taymans <wim@fluendo.com>
1792 * docs/gst/gstreamer-sections.txt:
1793 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
1795 Add metadata copy functions. Fixes #393099.
1796 API: gst_buffer_copy_metadata()
1798 * gst/gstutils.c: (gst_buffer_stamp):
1799 * libs/gst/base/gstbasetransform.c:
1800 (gst_base_transform_prepare_output_buffer):
1801 Use new metadata copy functions.
1803 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
1805 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1806 (gst_identity_init), (gst_identity_check_perfect),
1807 (gst_identity_check_imperfect_timestamp),
1808 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
1809 (gst_identity_set_property), (gst_identity_get_property):
1810 * plugins/elements/gstidentity.h:
1811 Separate out check-imperfect-timestamp and check-imperfect-offset.
1812 Put back check-perfect as it was to keep compatibility.
1814 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
1816 * gst/gstelement.c: (gst_element_dispose):
1817 There's no need to warn if VOID_PENDING is not NONE here, as
1818 long as the state is NULL it's ok, and that's checked immediately
1821 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1823 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1824 Fix check for perfect stream to ignore buffers with -1
1825 offsets/offset ends when checking data contiguity.
1827 2007-03-08 Wim Taymans <wim@fluendo.com>
1829 * tools/gst-launch.c: (event_loop):
1830 Print INFO messages.
1832 2007-03-08 Wim Taymans <wim@fluendo.com>
1834 * libs/gst/base/gstbasetransform.c:
1835 (gst_base_transform_sink_eventfunc),
1836 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1837 (gst_base_transform_activate):
1838 * libs/gst/base/gstbasetransform.h:
1839 Add support for dropping buffers with custom GstFlowReturn.
1840 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
1841 buffers or dropped buffers.
1843 * docs/libs/gstreamer-libs-sections.txt:
1844 docs for new custom return code.
1846 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1847 Use drop support in base class to implement drop-probability.
1849 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
1851 * gst/gst.c: (load_plugin_func):
1852 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1853 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1854 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1855 Remove newlines at end of debug log strings.
1857 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1859 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1860 Only post bus message at max, once per buffer received.
1862 2007-03-07 Wim Taymans <wim@fluendo.com>
1864 * docs/design/Makefile.am:
1865 * docs/design/part-synchronisation.txt:
1866 Add doc about synchronisation
1868 * docs/design/draft-latency.txt:
1869 * docs/design/part-TODO.txt:
1870 * docs/design/part-clocks.txt:
1871 * docs/design/part-events.txt:
1872 * docs/design/part-gstbus.txt:
1873 * docs/design/part-gstpipeline.txt:
1874 * docs/design/part-live-source.txt:
1875 * docs/design/part-messages.txt:
1876 * docs/design/part-overview.txt:
1877 * docs/design/part-streams.txt:
1878 * docs/design/part-trickmodes.txt:
1879 Documentation updates.
1881 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1884 Update the doap file.
1886 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1888 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1889 Rename non-perfect to imperfect for Mike and for the sanctity of the
1891 Also make sure bus message gets emitted for data-incontiguities.
1893 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1895 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1896 (gst_identity_start):
1897 * plugins/elements/gstidentity.h:
1898 Emit bus message if check-perfect is true and we encounter a
1899 non-perfect stream between 2 consecutive buffers.
1902 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1907 === release 0.10.12 ===
1909 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1912 releasing 0.10.12, "Inevitable Demise"
1914 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
1917 Version 0.10.11.2 (0.10.12 pre-release)
1918 Bump libtool versioning.
1920 2007-03-01 Stefan Kost <ensonic@users.sf.net>
1922 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1923 Log flow-names and not numbers.
1925 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1928 Convert to new AG_GST style.
1930 2007-02-28 Wim Taymans <wim@fluendo.com>
1932 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1933 Don't unref query twice.
1935 2007-02-28 Wim Taymans <wim@fluendo.com>
1937 * gst/gstvalue.c: (gst_value_transform_object_string),
1938 (_gst_value_initialize):
1939 Implement GstObject -> string transform so we print object names
1940 when serializing GValues containing GstObjects.
1942 2007-02-28 Wim Taymans <wim@fluendo.com>
1944 * docs/gst/gstreamer-sections.txt:
1945 Add new stuff to docs.
1947 2007-02-28 Wim Taymans <wim@fluendo.com>
1949 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1950 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1951 (gst_base_sink_change_state):
1952 Improve latency query code.
1953 Don't leak latency events.
1955 * tests/check/gst/gstbin.c: (GST_START_TEST):
1958 2007-02-28 Wim Taymans <wim@fluendo.com>
1960 * gst/gstelement.c: (gst_element_message_full),
1961 (gst_element_get_state_func):
1963 Improve docs a little. Added Since: for new macro.
1965 * gst/gstobject.c: (gst_object_sink):
1966 * gst/gstpipeline.c: (gst_pipeline_change_state),
1967 (gst_pipeline_set_new_stream_time):
1968 * gst/gstpipeline.h:
1969 Improve debugging and docs.
1971 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1974 2007-02-28 Wim Taymans <wim@fluendo.com>
1976 * gst/gstelement.c: (gst_element_message_full),
1977 (gst_element_set_locked_state), (gst_element_get_state_func),
1978 (gst_element_change_state):
1979 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1980 Documentation updates.
1981 Small code cleanups.
1983 * gst/gstmessage.c: (gst_message_new_info),
1984 (gst_message_parse_info):
1986 API: gst_message_new_info()
1987 API: gst_message_parse_info()
1988 Add INFO message create and parse code.
1990 2007-02-28 Wim Taymans <wim@fluendo.com>
1992 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1993 (bin_query_latency_done):
1994 Also report the live parameter of a latency query.
1996 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1998 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1999 Copy the current generic/states example from -base and adapt so
2000 we can use the exact same code everywhere.
2001 Check a STATES_IGNORE_ELEMENTS env var which can be used
2002 to ignore certain element factories for this test, which is
2003 what is being done in -base
2004 * tests/check/Makefile.am:
2005 Mention this environment variable.
2007 2007-02-27 Wim Taymans <wim@fluendo.com>
2009 * docs/gst/gstreamer-sections.txt:
2010 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2011 (gst_bus_timed_pop), (gst_bus_pop):
2013 API: gst_bus_timed_pop()
2014 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2015 message to arrive on the bus.
2017 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2019 Two unit tests for new _timed_pop() function.
2021 2007-02-23 Wim Taymans <wim@fluendo.com>
2023 * gst/gstpipeline.c: (gst_pipeline_change_state),
2024 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2025 Don't ref a NULL clock in _provide_clock_func().
2026 Don't allow an INVALID delay.
2027 Don't try to calculate base_time with an invalid start_time.
2028 Also distribute and notify a NULL clock when it was selected.
2030 * tools/gst-launch.c: (event_loop):
2031 Don't crash when a NULL clock was selected in the pipeline.
2033 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2035 * docs/design/Makefile.am:
2036 * docs/design/draft-missing-plugins.txt:
2037 * docs/random/draft-missing-plugins.txt:
2038 Some small updates: update plugin system identifier prefix
2039 ('gstreamer.net' to 'gstreamer'), mention our new install
2040 API in libgstbaseutils rather than libgimme-codec, add
2041 reference to the online docs.
2043 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2045 * win32/common/config.h:
2046 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2047 use moap cl ci to only check in what is mentioned in the ChangeLog.
2049 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2051 * docs/gst/gstreamer-sections.txt:
2053 Fix up documentation to link to the correct GstGError section.
2054 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2056 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2058 * tools/gst-launch.c: (event_loop):
2059 Make sure that we actually show the important message part of a
2061 No need to check if the gerror is not NULL to free; first of all
2062 g_free accepts NULL; and second the default error handler would
2063 segfault if gerror was NULL.
2065 2007-02-21 Wim Taymans <wim@fluendo.com>
2067 * docs/gst/gstreamer-sections.txt:
2068 Removed docs as well.
2070 2007-02-21 Wim Taymans <wim@fluendo.com>
2072 * gst/gstmessage.c: (gst_message_parse_duration):
2074 Remove new messages for release.
2076 2007-02-20 Wim Taymans <wim@fluendo.com>
2078 * docs/design/part-gstghostpad.txt:
2079 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2080 (gst_ghost_pad_new_full):
2081 Make the ghostpad a parent of the internal pad again for better backward
2082 compatibility. Don't write code that relies on this however.
2084 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2085 (gst_pad_link_check_hierarchy):
2086 Require that parents should be GstElements in the hierarchy check.
2088 2007-02-20 Wim Taymans <wim@fluendo.com>
2090 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2091 (gst_bin_change_state_func), (bin_query_min_max_init),
2092 (bin_query_latency_fold), (bin_query_latency_done),
2095 Implement latency query.
2097 2007-02-20 Wim Taymans <wim@fluendo.com>
2099 * docs/design/part-gstghostpad.txt:
2100 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2101 (gst_ghost_pad_internal_do_activate_push),
2102 (gst_ghost_pad_internal_do_activate_pull),
2103 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2104 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2105 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2106 Do not set the internal pad as a parent anymore so we can avoid
2107 hierarchy linking errors when the ghostpad has no parent yet. This also
2108 fixes failed activation because of unlinked internal pads, which in
2109 turn fixes the impossible case where you have to activate a pad before
2110 you can add it to a running element.
2113 * gst/gstpad.c: (pre_activate), (post_activate),
2114 (gst_pad_set_active), (gst_pad_activate_pull),
2115 (gst_pad_activate_push), (gst_pad_check_pull_range):
2116 Add some more debug info.
2117 Mark activation mode in pre_activate so that we don't try to activate in
2118 endless loops. Fixes #385084.
2120 2007-02-19 Wim Taymans <wim@fluendo.com>
2122 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2123 (gst_base_transform_check_get_range):
2124 Implement a checkgetrange function instead of relying on the default
2125 core behaviour that assumes we can operate in pull mode if we have a
2126 getrange function. First step at fixing #385084.
2128 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2130 * gst/gstchildproxy.h:
2131 * libs/gst/base/gstbasesink.h:
2132 * libs/gst/base/gstbasesrc.h:
2133 * libs/gst/base/gstbasetransform.h:
2134 More docs coverage and some ChangeLog surgery (add missing names)
2136 2007-02-15 Wim Taymans <wim@fluendo.com>
2138 * docs/design/part-TODO.txt:
2139 * docs/design/part-activation.txt:
2140 * docs/design/part-block.txt:
2141 * docs/design/part-buffering.txt:
2142 * docs/design/part-clocks.txt:
2143 * docs/design/part-element-source.txt:
2144 * docs/design/part-events.txt:
2145 * docs/design/part-gstbin.txt:
2146 * docs/design/part-gstbus.txt:
2147 * docs/design/part-gstpipeline.txt:
2148 * docs/design/part-live-source.txt:
2149 * docs/design/part-messages.txt:
2150 * docs/design/part-overview.txt:
2151 * docs/design/part-qos.txt:
2152 * docs/design/part-query.txt:
2153 * docs/design/part-states.txt:
2154 * docs/design/part-trickmodes.txt:
2155 Some doc updates. Start renaming from stream_time to running_time where
2156 it was used wrongly.
2158 2007-02-15 Wim Taymans <wim@fluendo.com>
2160 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2161 Answer LATENCY query.
2163 2007-02-15 Wim Taymans <wim@fluendo.com>
2165 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2169 2007-02-15 Wim Taymans <wim@fluendo.com>
2171 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2172 (gst_pad_dispatcher):
2173 Improve debugging of default pad dispatcher and query functions.
2175 2007-02-15 Wim Taymans <wim@fluendo.com>
2177 * docs/gst/gstreamer-sections.txt:
2178 Remove old unused method.
2180 2007-02-13 Wim Taymans <wim@fluendo.com>
2182 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2185 2007-02-13 Wim Taymans <wim@fluendo.com>
2187 * docs/design/part-seeking.txt:
2190 * gst/gstsegment.c: (gst_segment_set_seek):
2191 Revert old bogus change that should make seeking work again.
2193 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2195 * docs/random/ensonic/dynlink.txt:
2196 * docs/random/ensonic/interfaces.txt:
2197 * docs/random/ensonic/receipies.txt:
2198 Possible dynamic reconnection api, plus some type fixes the other two
2201 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2203 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2204 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2205 Also check for an absolute path following file:// in the filesrc
2206 element. Remove redundant check and call g_path_is_absolute() on the
2209 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2211 * docs/design/draft-klass.txt:
2212 Add existing category analysis.
2215 Fix doc example, framerate is a fraction.
2217 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2220 * docs/gst/Makefile.am:
2221 * docs/gst/gstreamer-sections.txt:
2222 * docs/libs/Makefile.am:
2223 Erm, forgot a bunch of --extra-dir.
2225 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2228 * docs/gst/Makefile.am:
2229 * docs/libs/Makefile.am:
2230 * docs/plugins/Makefile.am:
2231 Add crossreferences to glib/gobject docs.
2233 2007-02-12 Wim Taymans <wim@fluendo.com>
2235 * docs/design/draft-latency.txt:
2238 * docs/libs/gstreamer-libs-sections.txt:
2239 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2240 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2241 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2242 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2243 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2244 (gst_base_sink_get_position), (gst_base_sink_query),
2245 (gst_base_sink_change_state):
2246 * libs/gst/base/gstbasesink.h:
2247 API: gst_base_sink_query_latency() to let subclasses query the upstream
2249 API: gst_base_sink_get_latency() to let subclasses query the configured
2250 latency in the sink.
2251 Implement query and set latency.
2253 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2254 don't continue preroll when we are flushing. Fixes #405284.
2256 * tests/check/pipelines/stress.c: (change_state_timeout),
2257 (quit_timeout), (GST_START_TEST), (stress_suite):
2260 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2262 Patch by: René Stadler <mail at renestadler de>
2264 * docs/gst/gstreamer-sections.txt:
2265 * gst/gsttaglist.c: (_gst_tag_initialize):
2267 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2269 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2271 * docs/libs/Makefile.am:
2272 Fix path to core docs.
2274 * gst/gstbin.c: (gst_bin_get_by_interface),
2275 (gst_bin_iterate_all_by_interface):
2276 Refix docs by also renaming 'interface' to 'iface' in implementation.
2278 * docs/gst/gstreamer-sections.txt:
2280 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2281 * gst/gstchildproxy.h:
2282 * gst/gstelementfactory.c:
2283 * gst/gstpadtemplate.h:
2284 * libs/gst/controller/gstcontroller.c:
2285 (gst_controlled_property_new):
2288 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2290 * gst/gstbin.h:(gst_bin_get_by_interface),
2291 (gst_bin_iterate_all_by_interface):
2292 Replace interface parameter name by iface as interface is
2293 a reserved keyword in Visual Studio for C++ projects so it removes
2294 a build error for application developpers using VS.
2295 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2296 Fix a bug on Windows in uri format check. Now the prefix checked
2297 is file:// and next we check if the path after file:// is absolute.
2298 * win32/common/libgstbase.def:
2299 * win32/common/libgstdataprotocol.def:
2300 * win32/common/libgstgstreamer.def:
2301 Add new exported functions.
2303 2007-02-09 Andy Wingo <wingo@pobox.com>
2305 * tests/check/pipelines/simple-launch-lines.c
2306 (simple_launch_lines_suite, test_tee): Disable tee test until I
2307 have time to fix it :-(
2309 * tests/check/Makefile.am (noinst_HEADERS):
2310 * tests/check/libs/libsabi.c:
2311 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2312 * tests/check/gst/gstabi.c:
2313 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2315 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2316 tests for push and pull tee behavior.
2318 * plugins/elements/gsttee.h:
2319 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2320 mark as deprecated as well as unimplemented. It was a crack idea.
2321 Add support for tee operating in pull mode, off by default.
2323 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2324 normal-case logs down to LOG, raise errors to WARNING.
2325 (gst_registry_xml_read_cache): Don't log before calling a function
2328 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2329 exit (registry finalize).
2330 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2331 DEBUG log when we emit signals that people don't even have the
2332 chance to connect to.
2333 (gst_registry_scan_path_level): Less logging in the normal case.
2335 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2337 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2339 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2340 Correctly generate EOS for non-seekable files. We don't have a total
2341 length for them and would get an unexpected end of file if we only
2342 special-cased for regular files. (Fixes: #404569)
2344 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2346 * tests/check/elements/filesrc.c: (GST_START_TEST),
2348 Add unit test for the GstURIHandler interface in filesrc. This also
2349 tests the newly added file://localhost/foo/bar support.
2351 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2353 * gst/gstelementfactory.h:
2354 The klass string is not a hierarchy. Add reference to the design doc
2355 for more information and common types.
2357 2007-02-02 Wim Taymans <wim@fluendo.com>
2359 * gst/gstquery.c: (gst_query_new_latency):
2360 Remove old structure field.
2362 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2364 * tools/gst-launch.1.in:
2365 Give example for network streaming (#351998)
2367 2007-02-02 Wim Taymans <wim@fluendo.com>
2369 * docs/gst/gstreamer-sections.txt:
2370 Add docs for new methods.
2372 * gst/gstevent.c: (gst_event_new_latency),
2373 (gst_event_parse_latency):
2375 Add new LATENCY event to configure latency in a pipeline.
2376 API: gst_event_new_latency
2377 API: gst_event_parse_latency
2379 * gst/gstmessage.c: (gst_message_new_buffering),
2380 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2381 (gst_message_new_latency), (gst_message_parse_buffering),
2382 (gst_message_parse_lost_preroll):
2384 Added messages used in draft-latency.
2385 API: gst_message_new_lost_preroll
2386 API: gst_message_parse_lost_preroll
2387 API: gst_message_new_prerolled
2388 API: gst_message_new_latency
2390 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2391 (gst_query_parse_latency):
2393 Implemented new latency query as in design doc.
2394 API: gst_query_new_latency
2395 API: gst_query_set_latency
2396 API: gst_query_parse_latency
2398 2007-02-02 Wim Taymans <wim@fluendo.com>
2400 * docs/design/draft-latency.txt:
2401 Slight redesign to allow for dynamic latency adjustments.
2403 * docs/design/part-negotiation.txt:
2406 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2408 reviewed by: Wim Taymans <wim@fluendo.com>
2410 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2411 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2412 Allow file://localhost/foo/bar URLs and correctly fail for every other
2413 hostname that one sets. This was gnomevfssrc is linked for those if
2414 installed as it can handle it (#403172)
2416 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2418 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2420 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2421 (unref_data), (gst_collect_pads_add_pad_full):
2422 * libs/gst/base/gstcollectpads.h:
2423 Don't put the previously added destroy notify in the GstCollectData
2424 struct as all it's padding is already used and we don't want to break
2425 ABI. Instead put in the pad's GObject data for now. This should be
2426 cleaned up for 0.11 (#402393).
2428 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2430 reviewed by: Wim Taymans <wim@fluendo.com>
2432 * docs/libs/gstreamer-libs-sections.txt:
2433 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2434 (unref_data), (gst_collect_pads_add_pad),
2435 (gst_collect_pads_add_pad_full):
2436 * libs/gst/base/gstcollectpads.h:
2437 API: Add function to specify a destroy notification for custom
2438 GstCollectData when adding new pads in GstCollectPads (#402393).
2440 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
2443 Update Swedish translation (#378255).
2445 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2447 * docs/design/draft-klass.txt:
2448 Fix the previous change, this is a list of categories and not a hierarchy.
2450 2007-01-31 Stefan Kost <ensonic@users.sf.net>
2452 * docs/design/draft-klass.txt:
2453 Add info about how to get a list of used classes.
2455 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
2457 * plugins/elements/gsttypefindelement.c:
2458 (gst_type_find_element_chain_do_typefinding),
2459 (gst_type_find_element_change_state):
2460 Don't leak found caps in chain function (no idea why that never
2461 showed up as a leak anywhere).
2463 2007-01-30 Stefan Kost <ensonic@users.sf.net>
2466 Fix and expand GstPluginDesc API docs.
2468 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2471 * gst/gstelementfactory.c:
2472 * gst/gstpadtemplate.h:
2475 * libs/gst/controller/gstcontroller.c:
2476 (gst_controlled_property_new):
2477 * tests/examples/controller/audio-example.c:
2480 2007-01-29 Stefan Kost <ensonic@users.sf.net>
2483 comment about refining the xml deps
2486 comments about moving away from jade for docs
2489 recommit the ifdefs to use the binary registry
2491 * gst/gstbin.c: (gst_bin_change_state_func):
2492 this break is obsolete
2494 * gst/gstelementfactory.h:
2495 better GST_ELEMENT_DETAILS docs, add comment about translation
2500 * gst/gstobject.c: (gst_signal_object_get_type):
2501 add G_UNLIKELY as usual
2503 * gst/gstpad.c: (gst_pad_event_default):
2504 add fall trhu comment
2506 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2507 (gst_registry_binary_initialize_magic),
2508 (gst_registry_binary_save_string),
2509 (gst_registry_binary_save_pad_template),
2510 (gst_registry_binary_save_feature),
2511 (gst_registry_binary_save_plugin),
2512 (gst_registry_binary_write_cache),
2513 (gst_registry_binary_check_magic),
2514 (gst_registry_binary_load_pad_template),
2515 (gst_registry_binary_load_feature),
2516 (gst_registry_binary_load_plugin),
2517 (gst_registry_binary_read_cache):
2518 comment typo and formatting
2520 * gst/gstutils.c: (gst_element_state_get_name),
2521 (gst_element_state_change_return_get_name):
2522 remove obsolete breaks
2524 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2525 add FIXME 0.11 and remove cpp comment
2527 2007-01-29 Edward Hervey <edward@fluendo.com>
2529 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2530 Fix print statement in an even more portable way.
2532 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
2534 * docs/gst/gstreamer-sections.txt:
2536 API: add GST_ROUND_DOWN_* macros (#401781).
2538 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
2540 * docs/gst/gstreamer.types.in:
2541 * gst/gstregistry.c: (gst_registry_class_init):
2542 Document registry signals and make gtk-doc pick them up (#401381).
2544 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
2546 * docs/pwg/building-testapp.xml:
2547 Add some audioconverts and audioresample to the pipeline, and some
2548 more comments and error handling.
2550 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
2552 * docs/manual/manual.xml:
2556 2007-01-26 Wim Taymans <wim@fluendo.com>
2558 * gst/gstcaps.c: (gst_static_caps_get):
2559 Init caps flags too.
2561 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
2563 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
2565 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2566 If not using mmap'ed files try to seek to the end instead of the
2567 start to determine whether we can seek at all. This fixes the case
2568 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
2569 seeks for everything afterwards fail. Fixes #400656
2571 2007-01-25 Wim Taymans <wim@fluendo.com>
2573 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
2574 Add some refcount debugging.
2575 Make gst_static_caps_get threadsafe, which is needed when autoplugging
2576 in multiple streaming threads.
2578 2007-01-25 Wim Taymans <wim@fluendo.com>
2580 Patch by: David Schleef <ds at schleef dot org>
2582 * docs/libs/gstreamer-libs-sections.txt:
2583 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
2584 * libs/gst/base/gstadapter.h:
2585 API: gst_adapter_copy() that can reduce the amount of memcpy when
2586 getting data from the adapter. Fixes #388201.
2588 2007-01-25 Edward Hervey <edward@fluendo.com>
2590 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2591 In print statements, "%x" is for guint. Fixes build on macosx.
2593 2007-01-24 Edward Hervey <edward@fluendo.com>
2595 * plugins/elements/gstmultiqueue.c:
2596 (gst_multi_queue_loop):
2598 (single_queue_overrun_cb), (single_queue_underrun_cb),
2599 (single_queue_check_full), (gst_single_queue_new):
2600 Implement single queue growth system.
2601 This uses the extra-size properties, and will grow single queues by
2602 that much if one goes full whereas there are others empty. This is
2603 called extra-mode in the code.
2604 When a single queue's levels go back below the initial max-size
2605 limits, it is no longer in extra-mode. This is to ensure we don't
2606 consume too much memory.
2609 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
2611 * gst/gst.c: (gst_init_get_option_group):
2612 Make warning about late g_thread_init() calls a bit more explicit,
2613 so that it's more obvious to application developers what they need
2614 to do if a user files a bug against their application.
2616 2007-01-22 Edward Hervey <edward@fluendo.com>
2618 * plugins/elements/gstmultiqueue.c:
2619 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
2620 Remove previous hack of unsetting the flushing flag for the source pad
2621 instead of activating it. Instead, fix the source pad activate function
2622 so that it no longer depends on having a parent set or not.
2624 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
2626 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
2628 * docs/manual/basics-bus.xml:
2629 Fix example code, gst_element_unref() doesn't exist any longer.
2631 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
2633 Patch by: Mark Nauwelaerts <manauw at skynet be>
2636 Fix two docs typoes (#399094).
2638 2007-01-19 Edward Hervey <edward@fluendo.com>
2640 * docs/faq/gst-uninstalled:
2641 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
2642 depending on libgstbaseutils can work in uninstalled environment.
2644 2007-01-18 Stefan Kost <ensonic@users.sf.net>
2647 * gst/gsttagsetter.c:
2648 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
2649 statement for new tag.
2651 2007-01-17 Edward Hervey <edward@fluendo.com>
2653 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
2654 When dynamically creating single queues, activate sinkpad before adding
2656 We should be doing the same thing for the source pad, but we can't
2657 since it would call a method which needs the parent to be set in order
2658 to work propertly. Instead of activating the source pad, we just unset
2659 the flushing flag, which is the minimal requirement for adding a pad
2660 to an element in a state greater than READY.
2662 2007-01-17 Edward Hervey <edward@fluendo.com>
2664 * docs/faq/gst-uninstalled:
2665 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
2668 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
2670 * tests/check/gst/gstabi.c:
2671 * tests/check/gst/struct_hppa.h:
2672 * tests/check/libs/libsabi.c:
2673 * tests/check/libs/struct_hppa.h:
2674 Add ABI structs for HPPA (see #393796).
2676 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
2678 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2679 Actually write ABI structs to the file specified in the GST_ABI
2680 environment variable, as the message we print claims we would.
2682 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2684 * tests/check/gst/gsttask.c:
2687 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2689 * gst/gsttaglist.c: (_gst_tag_initialize):
2690 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
2691 previous two entries.
2693 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2695 * docs/gst/gstreamer-sections.txt:
2696 * gst/gsttaglist.c: (_gst_tag_initialize):
2698 Add tag support for beat-per-minute.
2700 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2702 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2703 (gst_registry_binary_initialize_magic),
2704 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
2705 (gst_registry_binary_save_pad_template),
2706 (gst_registry_binary_save_feature),
2707 (gst_registry_binary_save_plugin),
2708 (gst_registry_binary_write_cache),
2709 (gst_registry_binary_check_magic),
2710 (gst_registry_binary_load_pad_template),
2711 (gst_registry_binary_load_feature),
2712 (gst_registry_binary_load_plugin),
2713 (gst_registry_binary_read_cache):
2714 * gst/gstregistrybinary.h:
2715 Use glib types, cleanup comments, impement interfaces and uri-types.
2717 2007-01-13 Andy Wingo <wingo@pobox.com>
2719 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
2720 getrange() to return buffers with other caps, while we fix
2721 demuxers and typefind, or otherwise change part-negotiation.txt.
2723 2007-01-12 Andy Wingo <wingo@pobox.com>
2725 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
2726 Factor start/stop into this private function instead of partially
2727 in activate functions and partially in the change_state function.
2728 Fixes setup before the element has changed from READY->PAUSED, as
2729 is the case in pull-mode pipelines.
2730 (gst_base_transform_sink_activate_push)
2731 (gst_base_transform_src_activate_pull): Refactor to use
2732 gst_base_transform_activate().
2733 (gst_base_transform_change_state): Removed, not needed any more.
2735 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2736 Truncate before fixating.
2738 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2739 Don't set_caps() if the result of fixating is ANY, as it's not
2740 supported, and not necessary in the case of a link with no
2741 template caps on either side. Fixes tests/check/libs/basesrc in
2742 some pull-mode tests.
2744 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
2745 (gst_base_transform_init, gst_base_transform_sink_activate_push)
2746 (gst_base_transform_src_activate_pull):
2747 Track the activation mode.
2748 (gst_base_transform_setcaps): In pull mode, when activating the
2749 src pad, after activating the sink pad, activate the sink pad's
2750 peer, as discussed in part-negotiation.txt.
2752 * libs/gst/base/gstbasesrc.h:
2753 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
2754 vmethod, as in basesink.
2756 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
2758 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
2759 mode, first proxy the setcaps to the peer pad.
2760 (gst_base_sink_pad_fixate): Add a fixate function that calls the
2762 (gst_base_sink_default_activate_pull): Rename from
2763 gst_base_sink_activate_pull.
2764 (gst_base_sink_negotiate_pull): New function, performs negotiation
2765 in pull mode before calling ::activate_pull().
2766 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
2767 vmethod instead of the default implementation. I have no idea how
2768 this worked before. Negotiate before calling activate_pull.
2770 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
2771 sink pads in pull mode. In addition to being correct, fixes
2772 filesrc ! decodebin ! identity ! fakesink.
2773 (gst_pad_get_range, gst_pad_pull_range): Don't call
2774 gst_pad_set_caps() if the caps changes; instead error out with
2775 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
2777 2007-01-12 Andy Wingo <wingo@pobox.com>
2779 * docs/design/part-negotiation.txt: Update with more policy.
2781 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2783 * libs/gst/check/gstbufferstraw.h:
2784 * libs/gst/check/gstcheck.h:
2785 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
2788 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2790 * tests/check/Makefile.am:
2791 * tests/check/gst/.cvsignore:
2792 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
2793 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
2794 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
2795 (GST_START_TEST), (gst_tag_setter_suite):
2796 Add minimal unit test for beforementioned GstTagSetter bug.
2798 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2800 Patch by: René Stadler <mail at renestadler dot de>
2802 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2803 gst_tag_list_merge() returns a new list, so it's not the best idea
2804 to ingore its return value. Effectively meant that tags could only
2805 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
2806 Also add function guard to require a non-NULL taglist as input (has
2807 always been so due to gst_tag_list_copy(), just making it explicit).
2809 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2811 * docs/random/draft-missing-plugins.txt:
2812 Some additions: mention new API that is supposed to be used at the
2813 various stages; short blob about new gst-inspect introspection
2814 option; mention potential future problem with plugins that have
2815 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
2817 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2819 * tools/gst-inspect.c:
2820 (print_plugin_automatic_install_info_codecs),
2821 (print_plugin_automatic_install_info_protocols),
2822 (print_plugin_automatic_install_info), (main):
2823 Add --print-plugin-auto-install-info option to gst-inspect, so we can
2824 introspect plugin files and get machine-parsable output that corresponds
2825 to the last bit of the missing-plugin installer string (small gotcha:
2826 doesn't take into account ranks).
2828 2007-01-11 Stefan Kost <ensonic@users.sf.net>
2831 * docs/gst/gstreamer-sections.txt:
2833 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
2834 (gst_registry_lookup_locked):
2835 * gst/gstregistry.h:
2836 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2837 (gst_registry_binary_initialize_magic),
2838 (gst_registry_binary_save_string),
2839 (gst_registry_binary_save_pad_template),
2840 (gst_registry_binary_save_feature),
2841 (gst_registry_binary_save_plugin),
2842 (gst_registry_binary_write_cache),
2843 (gst_registry_binary_check_magic),
2844 (gst_registry_binary_load_pad_template),
2845 (gst_registry_binary_load_feature),
2846 (gst_registry_binary_load_plugin),
2847 (gst_registry_binary_read_cache):
2848 * gst/gstregistrybinary.h:
2849 * gst/gstregistryxml.c: (load_feature),
2850 (gst_registry_xml_read_cache):
2851 commit binary registry (disabled by default, see #359653)
2853 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2855 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2856 Fix 'make check' too.
2858 2007-01-10 Andy Wingo <wingo@pobox.com>
2860 * docs/design/part-negotiation.txt: Fix a typo, add a couple
2863 * docs/design/part-negotiation.txt: Update with, um, one way that
2864 pull-mode negotiation might work?
2867 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2868 that the pad must be a src pad; makes sense to call it the other
2869 way in pull mode, and the logic is symmetric anyway.
2871 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
2873 * plugins/elements/gstfilesink.c:
2874 Include <stdio.h> for fseeko().
2876 2007-01-10 Wim Taymans <wim@fluendo.com>
2880 Reserve LATENCY event.
2882 2007-01-09 Wim Taymans <wim@fluendo.com>
2884 * docs/design/draft-latency.txt:
2887 2007-01-09 Wim Taymans <wim@fluendo.com>
2889 * docs/design/draft-latency.txt:
2893 * gst/gststructure.c:
2897 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
2899 * tests/check/.cvsignore:
2900 Ignore test-registry.xml as well.
2902 2007-01-09 Wim Taymans <wim@fluendo.com>
2904 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2905 unref data at the end when we are done with the pad.
2907 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2909 * docs/gst/gstreamer-sections.txt:
2910 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2911 (init_post), (gst_deinit), (gst_update_registry):
2913 API: add gst_update_registry() (#391296).
2915 * tests/check/Makefile.am:
2916 * tests/check/gst/gstregistry.c:
2917 * tests/check/gst/.cvsignore:
2918 Simple unit test for the above.
2920 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2922 * gst/gstregistry.c: (gst_registry_scan_path_level):
2923 Plugin extension on HP-UX is .sl, add that to the list of approved
2924 plugin extensions (see #393796).
2926 * tests/check/gst/gstpad.c: (GST_START_TEST):
2927 ulong => gulong. Fixes compilation with HP-UX compiler.
2929 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2930 Fix compilation if valgrind headers are not available.
2932 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
2934 * win32/common/libgstreamer.def:
2935 Add new exported function.
2936 * win32/vs6/libgstbase.dsp:
2937 Add gstdataqueue.c to the build.
2938 * win32/vs6/libgstcoreelements.dsp:
2939 Add gstmultiqueue.c to the build.
2941 2007-01-06 Andy Wingo <wingo@pobox.com>
2943 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2944 activate_pull(), providing for a way to specialize the process of
2945 spawning a thread to pull on the sink pad. There is a default
2948 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2949 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2950 (gst_base_sink_init): Renamed pad activation functions (inserting
2951 "_pad" in their names). Refactor to use the new activate_pull
2952 vmethod, as appropriate.
2953 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2954 default activate_pull function to start a task pulling from the
2955 sink pad, as before.
2957 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2958 on the pads if necessary, as in push()/chain(). Update docs.
2959 Shouldn't affect existing pull() usage as it is currently only
2960 being used on buffers without caps.
2962 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2964 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2966 Call g_thread_init() first thing in gst_init() / gst_check_init().
2967 When initialisation is done via gst_init_get_option_group() and
2968 GOption parsing, issue a warning if the GLib thread system has not
2969 been initialised yet by the time gst_init_get_option_group() is
2970 called, as it's quite likely other GLib functions such as
2971 g_option_context_new() have been called already then, and
2972 g_thread_init() must be called before any other GLib function. The
2973 application in question must be fixed in that case, since memory
2974 corruption might happen otherwise.
2975 We issue the warning because even if the GLib folks decide to work
2976 around the problem on their end in future, this is still an issue
2977 with all GLib versions >= 2.10.0, so we should warn until we depend
2978 on a GLib version we know to be safe.
2979 Update documentation as well.
2982 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2984 * tools/gst-inspect.c: (main):
2985 * tools/gst-launch.c: (main):
2986 * tools/gst-typefind.c: (main):
2987 * tools/gst-xmlinspect.c: (main):
2988 Call g_thread_init() really really early, before any other GLib
2989 function (see #342564 and recent discussion on gtk-devel-list).
2991 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2993 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
2995 * gst/gst_private.h:
2996 * gst/gstconfig.h.in:
2998 On win32, all the __declspec stuff for symbol exporting is
2999 apparently only needed with MSVC, but doesn't work with MingW.
3000 Fixes compilation with MingW and #391909.
3002 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3004 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3005 Change some GST_ERROR_OBJECT that aren't really errors to
3006 GST_WARNING_OBJECT in order to reduce terminal spam.
3008 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3010 * tests/check/Makefile.am:
3011 disable test again, as there seem to be still race problems
3013 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3015 * tests/check/Makefile.am:
3016 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3017 (GST_START_TEST), (queue_suite):
3018 enable queue test again, add tests for the leaky behaviour
3020 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3023 * tests/examples/Makefile.am:
3024 Compile adapter test/example only if the required headers are
3025 available (fixes #391915).
3027 2007-01-01 David Schleef <ds@schleef.org>
3030 Restore the previous signal handler for SIGSEGV instead of
3031 setting to default, since we may have stolen it away from
3032 someone. (i.e., Mono)
3034 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3036 * docs/random/draft-missing-plugins.txt:
3037 Some small additions and clarifications.
3039 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3041 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3042 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3043 since that can lead to random memory corruptions and crashes
3044 (may or may not be related to #383244, #386711, and #386711).
3046 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3048 * tests/check/.cvsignore:
3049 * tests/check/Makefile.am:
3050 sync .cvsignome and CLEANFILES
3052 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3054 * tests/check/Makefile.am:
3057 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3059 * docs/design/part-states.txt:
3060 two tiny additional comments
3062 * gst/gststructure.c:
3065 * tests/check/Makefile.am:
3066 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3068 disable test for now, unless it gets fixed
3070 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3072 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3074 fix race in underrun test
3076 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3078 * tests/check/elements/.cvsignore:
3081 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3083 try to narrow test failure
3085 2006-12-21 David Schleef <ds@schleef.org>
3087 * plugins/elements/gstfakesrc.c:
3088 Use g_random_int_range(), since it produces better random
3089 numbers in a range than almost-correct floating point code.
3091 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3093 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3094 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3095 (gst_check_teardown_sink_pad):
3096 do not automatically (de)activate pads
3098 * tests/check/Makefile.am:
3099 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3100 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3101 add new, yet simple tests for queue
3103 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3104 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3105 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3107 * tests/check/elements/identity.c: (cleanup_identity):
3108 consistent pad (de)activation
3110 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3112 Patch by: Sebastian Dröge <slomo ubuntu com>
3114 * libs/gst/base/gstcollectpads.c:
3115 Fix two doc typos (#387866).
3117 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3119 * docs/manual/advanced-dparams.xml:
3120 Fix typo (g_object_control_properties() doesn't exist).
3122 2006-12-19 Edward Hervey <edward@fluendo.com>
3124 * gst/gstsegment.c: (gst_segment_set_seek):
3125 Fine tune the cases where the segment start/stop values are really
3127 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3128 Add tests for the return values of gst_segment_set_seek().
3130 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3135 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3137 Fix incorrect documentation and flesh it out a bit more.
3138 Set default values for the max properties on the GParamSpec as well,
3139 so it shows up correctly in gst-inspect.
3141 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3143 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3144 Correct docs of queue, add more detail and crosslink it more.
3146 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3148 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3149 Print additional debug info when the stream isn't perfectly
3150 timestamped; don't try to use invalid durations.
3152 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3154 * docs/design/Makefile.am:
3155 Dist new design docs.
3157 2006-12-16 Wim Taymans <wim@fluendo.com>
3159 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3161 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3162 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3163 (gst_collect_pads_stop), (gst_collect_pads_event),
3164 (gst_collect_pads_chain):
3165 * libs/gst/base/gstcollectpads.h:
3166 Add refcounting to the collectpads data so we can track when it's safe
3167 to free the data. Fixes #383382.
3169 2006-12-15 Wim Taymans <wim@fluendo.com>
3171 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3172 (gst_collect_pads_remove_pad):
3173 Automatically activate/deactivate pads when they are added to a
3174 started/stoped collectpads.
3176 2006-12-15 Wim Taymans <wim@fluendo.com>
3178 * gst/gstelement.c: (gst_element_add_pad):
3179 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3180 * gst/gstpad.c: (gst_pad_init):
3181 Set pads to FLUSHING when they are created. Check, warn and fix when a
3182 demuxer adds an inactive pad to itself when running. Fixes #339326.
3184 2006-12-15 Wim Taymans <wim@fluendo.com>
3186 * gst/gstelement.c: (gst_element_class_init),
3187 (gst_element_default_send_event), (gst_element_send_event),
3188 (gst_element_default_query), (gst_element_query):
3189 Expose default element send_event and query handling as vmethods that
3190 subclasses can chain up to.
3192 2006-12-15 Wim Taymans <wim@fluendo.com>
3194 * gst/gstelement.c: (gst_element_set_state_func):
3195 Small documentation fixes.
3197 2006-12-15 Wim Taymans <wim@fluendo.com>
3199 * docs/design/draft-latency.txt:
3200 Checked in draft for handling latency in pipelines.
3202 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3206 * gstreamer.spec.in:
3209 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3211 * gst/gst.c: (init_pre), (init_post):
3212 init_pre() and init_post() might be called via our GOptionGroup or
3213 from gst_init(), and we should skip both of them if we've already
3214 been initialised, otherwise we will init some things twice or add
3215 two default log functions.
3217 2006-12-13 Edward Hervey <edward@fluendo.com>
3219 * docs/manual/basics-bus.xml:
3220 No, gst_main_loop does not exist. Its g_main_loop.
3221 Discovered by somebody who abused the copy-paste technique of coding :)
3223 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3225 * gst/gstghostpad.c:
3226 Log ghostpad debug stuff to the GST_PADS category as well rather
3227 than just to the default category.
3229 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3232 * gst/gst.c: (init_pre):
3233 Add some basic system details such as OS and architecture
3234 to the debug output if possible, courtesy of uname().
3236 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3238 * docs/gst/running.xml:
3239 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3240 environment variables.
3242 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3244 * tests/check/gst/gstbin.c: (GST_START_TEST):
3245 It is acceptable to have a refcount of 2 or 3 at this point in the
3246 test, because the pipeline might be just posting its state_change
3247 message. The next line then waits for that message to appear using
3248 bus_poll, so that should be fine too.
3250 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3252 * gst/gst.c: (ensure_current_registry_forking):
3253 Ignore EINTR when reading from the child registry pipe.
3254 Explicitly ignore the return value from close, since it makes no
3257 * gst/gstminiobject.c: (gst_mini_object_ref),
3258 (gst_mini_object_unref):
3259 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3261 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3262 When removing cached plugins, remove their features too, so they're
3263 not visible after they've disappeared.
3265 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3266 In the unlikely case that we are linking pads with no parents, don't
3267 crash trying to get the non-existent parent bin.
3269 * gst/parse/grammar.y:
3270 Output debug in the PIPELINE category
3272 2005-03-08 Wim Taymans <wim@fluendo.com>
3274 Patch by: René Stadler <mail at renestadler dot de>
3276 * gst/gstclock.c: (gst_clock_new_periodic_id):
3277 Reject invalid clock times for interval of periodic ids.
3280 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3282 * gst/gstelementfactory.c: (gst_element_factory_create):
3283 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3284 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3285 * tools/gst-inspect.c: (print_element_info):
3286 Fix refcounting of gst_plugin_feature_load to match the docs.
3289 2006-12-07 Wim Taymans <wim@fluendo.com>
3291 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3292 (gst_base_sink_get_position):
3293 Improve debugging of events.
3295 2006-12-07 Wim Taymans <wim@fluendo.com>
3297 Patch by: René Stadler <mail at renestadler dot de>
3299 * gst/gstclock.c: (gst_clock_id_wait):
3300 Make period ids add the interval to the origial requested time instead
3301 of the possibly updated time which can be wrong when there are multiple
3302 waiters for the same id. Fixes #382592.
3304 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3305 (gst_system_clock_id_wait_jitter_unlocked),
3306 (gst_system_clock_id_wait_jitter):
3307 Fix restart in the async notify thread when an async entry is added to
3308 the front of the list. Fixes #381492.
3310 * tests/check/gst/gstsystemclock.c: (store_callback),
3311 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3312 Added test for multiple async waits.
3313 Added test for async wait order.
3315 2006-12-07 Wim Taymans <wim@fluendo.com>
3317 * gst/gstbin.c: (gst_bin_query):
3318 Add some more docs about the POSITION query.
3320 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3323 Bump version nano - back to CVS.
3325 === release 0.10.11 ===
3327 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3330 releasing 0.10.11, "Love never runs on time"
3332 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3334 * win32/common/libgstbase.def:
3335 * win32/common/libgstreamer.def:
3336 * win32/vs8/libgstbase.vcproj:
3337 * win32/vs8/libgstcoreelements.vcproj:
3338 * win32/vs8/libgstreamer.vcproj:
3339 Fix compilation on win32 under VS8
3340 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3341 Partially fixes #381175
3343 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3345 * gst/gstvalue.c: (gst_value_compare_fraction):
3346 If someone is foolish enough to compare 2 fractions with denominator =
3347 0, return UNORDERED rather than aborting.
3349 2006-11-28 Edward Hervey <edward@fluendo.com>
3351 * libs/gst/base/Makefile.am:
3352 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3353 (gst_data_queue_base_init), (gst_data_queue_class_init),
3354 (gst_data_queue_init), (gst_data_queue_new),
3355 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3356 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3357 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3358 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3359 (gst_data_queue_set_flushing), (gst_data_queue_push),
3360 (gst_data_queue_pop), (gst_data_queue_drop_head),
3361 (gst_data_queue_set_property), (gst_data_queue_get_property):
3362 * libs/gst/base/gstdataqueue.h:
3363 New GstDataQueue object for threadsafe queueing. Most useful for
3364 elements that need some queueing functionnality.
3365 * docs/libs/gstreamer-libs-docs.sgml:
3366 * docs/libs/gstreamer-libs-sections.txt:
3367 Insert documentation for GstDataQueue
3368 * plugins/elements/Makefile.am:
3369 * plugins/elements/gstelements.c:
3370 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3371 (gst_multi_queue_class_init), (gst_multi_queue_init),
3372 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3373 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3374 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3375 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3376 (gst_multi_queue_loop), (gst_multi_queue_chain),
3377 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3378 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3379 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3380 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3381 (wake_up_next_non_linked), (compute_next_non_linked),
3382 (single_queue_overrun_cb), (single_queue_underrun_cb),
3383 (single_queue_check_full), (gst_single_queue_new):
3384 * plugins/elements/gstmultiqueue.h:
3385 New multiqueue element, using GstDataQueue. Used for queuing multiple
3387 Closes #344639 and #347785
3389 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3391 * docs/pwg/advanced-types.xml:
3392 add more missing type details
3394 * tools/gst-run.c: (main):
3395 remove unused variable
3397 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3399 * docs/libs/Makefile.am:
3400 * docs/libs/gstreamer-libs.types:
3401 add types of base classes to enable gobject specific stuff in the docs
3403 * docs/random/ensonic/embedded.txt:
3404 more ideas about isolating platform specific things
3406 2006-11-20 Wim Taymans <wim@fluendo.com>
3408 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3410 * libs/gst/check/gstcheck.h:
3411 Fix compilation and running against 0.9.4. Fixes #377332.
3413 2006-11-20 Wim Taymans <wim@fluendo.com>
3415 * gst/gstsegment.c: (gst_segment_set_seek),
3416 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3417 (gst_segment_to_running_time):
3418 Fix boundary checking in to_running_time() and to_stream_time().
3421 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3422 stream and running time can now be calculated for the complete
3425 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3427 * gst/gstpad.c: (gst_pad_push_event):
3428 Can't access event structure after giving away ownership of
3431 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3433 * docs/random/ensonic/embedded.txt:
3434 * docs/random/ensonic/profiling.txt:
3435 * docs/random/ensonic/receipies.txt:
3438 2006-11-13 Wim Taymans <wim@fluendo.com>
3440 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3443 Fix documentation for gst_pad_dispatcher. Fixes #374475.
3445 2006-11-13 Wim Taymans <wim@fluendo.com>
3447 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3449 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3450 Store new length in segment duration so we don't keep on calling the
3451 potentially expensize get_size() call. Fixes #370865.
3453 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
3455 Patch by: Sergey Scobich <sergey.scobich at gmail com>
3457 * win32/common/libgstreamer.def:
3458 Add two missing symbols (#366492).
3460 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
3462 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3463 (gst_adapter_take_buffer):
3464 Fix format string to use all its arguments.
3465 Remove useless >= check on a guint
3467 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3469 * tests/examples/adapter/.cvsignore:
3470 Ignore build file as commanded by the build-bot
3472 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3474 * tests/examples/adapter/Makefile.am:
3475 * tests/examples/adapter/adapter_test.c: (run_test_take),
3476 (run_test_take_buffer), (run_tests), (main):
3478 Add new files from the previous commit
3480 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
3484 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3485 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3486 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3487 * libs/gst/base/gstadapter.h:
3488 * tests/check/libs/adapter.c: (create_and_fill_adapter),
3489 (GST_START_TEST), (gst_adapter_suite):
3490 * tests/examples/Makefile.am:
3491 Do some optimisation work in GstAdapter to avoid copies in more cases.
3492 It could still do slightly better by merging buffers when
3493 gst_buffer_is_span_fast is true, but is already faster.
3495 Also, avoid traversing a single-linked list to append each incoming
3496 buffer inside the adapter.
3498 Add simple test app that times the adapter behaviour in different
3499 situations, and extend the unit test to check that bytes enter and
3500 exit the adapter in their original order.
3502 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
3504 * docs/random/draft-missing-plugins.txt:
3505 Update: use element message instead of adding a new message
3506 type to the core; don't provide GStreamer API to initiate the
3507 plugin download, just provide API to compose the strings needed
3508 and let an external libgimmestuff handle the rest.
3510 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
3512 * tools/gst-inspect.c: (print_element_properties_info):
3513 Print a string instead of 'unknown type' for GValueArray properties
3515 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
3517 * docs/random/draft-missing-plugins.txt:
3520 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3522 * tests/examples/typefind/typefind.c: (type_found), (main):
3523 Make typefind element example work again (#371894); add a
3526 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
3528 * docs/random/draft-missing-plugins.txt:
3529 Commit initial draft about how to deal with missing plugins,
3530 needs work (API too).
3532 2006-11-07 Stefan Kost <ensonic@users.sf.net>
3534 * docs/pwg/advanced-types.xml:
3535 documents the new caps elements (see #363118)
3537 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
3539 * gst/gstplugin.c: (gst_plugin_load_file):
3540 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
3541 (gst_file_src_map_region), (gst_file_src_start):
3542 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
3543 (gst_file_index_commit):
3544 Use g_strerror() instead of strerror() - we want UTF-8.
3546 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
3548 Patch by: Peter Kjellerstedt <pkj at axis com>
3550 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3551 Another printf fix (#371493).
3553 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3555 * tests/check/gst/gsttag.c:
3556 relicence (okay with author=company)
3558 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3560 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3561 (gst_pad_push_event):
3562 Enhance debug and improve docs
3567 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3569 * docs/random/ensonic/distributed.txt:
3570 * docs/random/ensonic/profiling.txt:
3573 2006-11-06 Stefan Kost <ensonic@users.sf.net>
3575 * docs/gst/gstreamer-sections.txt:
3576 add new API and fix the build
3578 * gst/gstbin.c: (gst_bin_recalc_state):
3579 * gst/gstelement.c: (gst_element_message_full),
3580 (gst_element_get_state_func), (gst_element_set_state_func):
3581 use new API and improve logging
3583 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3585 API: add function to get StateChangereturn names to improve logs
3587 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
3589 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3590 I'm considering shooting the next person to put strerror stuff
3591 in the translateable part of the message.
3593 2006-11-03 Wim Taymans <wim@fluendo.com>
3595 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3596 Get the type and printf conversion specifiers right.
3598 2006-11-03 Wim Taymans <wim@fluendo.com>
3600 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3602 * gst/gstpad.c: (gst_pad_init), (pre_activate),
3603 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
3604 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
3605 Some small cleanups. Improve debugging.
3607 Signal all waiting threads with a broadcast instead of just one.
3610 2006-11-03 Wim Taymans <wim@fluendo.com>
3612 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
3613 (gst_fd_src_create):
3615 Only update fd when it's different from the old.
3617 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
3619 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
3620 Printf fixes for PPC/OSX, take two (#369366).
3622 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
3624 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
3626 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3627 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3628 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3629 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
3630 don't cast to long long for portability reasons, but use
3631 GLib's types instead.
3633 2006-10-30 Michael Smith <msmith@fluendo.com>
3635 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3636 Get the arguments to lseek() the right way around.
3639 2006-10-30 Wim Taymans <wim@fluendo.com>
3641 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
3644 _declspec should be __declspec (two underscores, not one). Fixes 366572.
3646 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
3648 Patch by: Kjartan Maraas <kmaraas at gnome org>
3650 * docs/design/part-MT-refcounting.txt:
3651 * docs/random/wtay/capsnego2-docs:
3654 Typo fixes (#366212).
3656 2006-10-28 Wim Taymans <wim@fluendo.com>
3658 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3661 * win32/common/libgstbase.def:
3662 * win32/common/libgstreamer.def:
3663 * win32/vs8/libgstbase.vcproj:
3664 * win32/vs8/libgstcontroller.vcproj:
3665 Add needed entries in .def files.
3667 Rearrange def files in vs8 solutions. Fixes #366286.
3669 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
3671 * win32/common/gstconfig.h:
3672 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
3673 hand-made win32 gstconfig.h. Fixes #366321.
3675 2006-10-27 Wim Taymans <wim@fluendo.com>
3677 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
3678 (gst_ghost_pad_new_full):
3679 Make acceptcaps return TRUE when we don't have a target, just like
3682 2006-10-27 Wim Taymans <wim@fluendo.com>
3684 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3685 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
3687 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
3689 * gst/gststructure.c: (gst_structure_id_set_value):
3690 If someone tries to set a non-UTF8 string field on a structure,
3691 don't just print a warning, but also ignore the request and do
3692 not change/add that field to the structure.
3694 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3697 2006-10-25 David Schleef <ds@schleef.org>
3700 g_hash_table_insert() needs a cast to a non-const pointer duh.
3702 2006-10-25 David Schleef <ds@schleef.org>
3706 Change name parameter of _gst_debug_register_funcptr to const
3707 to reflect the constness of its use in the function as well
3708 as to quiet a gcc warning.
3710 2006-10-25 Edward Hervey <edward@fluendo.com>
3712 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3713 Don't push the buffer if it's empty.
3716 2006-10-24 Wim Taymans <wim@fluendo.com>
3721 * libs/gst/base/gstbasetransform.c:
3722 (gst_base_transform_sink_eventfunc):
3723 Debug segment values *after* updating them as this is more
3726 2006-10-23 Wim Taymans <wim@fluendo.com>
3728 * docs/design/part-events.txt:
3731 * docs/design/part-block.txt:
3732 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3733 (gst_pad_push_event):
3734 Revert BLOCKING patch, it tries to be smart without really having a
3735 clear idea what or how. So, now we discard all FLUSHING events again on
3736 a blocking pad. Should fix gnonlin again.
3738 2006-10-23 Wim Taymans <wim@fluendo.com>
3740 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3742 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3743 (gst_base_src_start), (gst_base_src_activate_push):
3744 Make sure size is always initialized. Fixes #364388.
3746 2006-10-20 Stefan Kost <ensonic@users.sf.net>
3748 * docs/random/ensonic/distributed.txt:
3749 add some ideas about doing distributed processing
3751 * docs/random/ensonic/profiling.txt:
3752 get_rusage look promising
3754 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3756 * docs/manual/basics-helloworld.xml:
3757 Add a cast in example to fix compile warning
3759 2006-10-18 Wim Taymans <wim@fluendo.com>
3761 * gst/gstsegment.c: (gst_segment_set_last_stop),
3762 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3763 Relax arg checking again, -1 is allowed.
3765 2006-10-18 Wim Taymans <wim@fluendo.com>
3767 * gst/gstsegment.c: (gst_segment_set_last_stop),
3768 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3769 _set_last_stop() must be with a value != -1
3770 A _TYPE_SET to -1 means seek to 0.
3771 Calc last_stop correctly for negative rates.
3772 Make sure we work with positive durations when updating a segment.
3774 2006-10-18 Wim Taymans <wim@fluendo.com>
3776 * docs/design/part-live-source.txt:
3780 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
3783 Add an explicit cast to GstBuffer** to keep old code that added an
3784 explicit cast to GstMiniObject** for gst_mini_object_replace()
3785 compiling without warning.
3787 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3789 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
3790 check for validity of dates
3792 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3794 * docs/gst/gstreamer-sections.txt:
3795 Forgot this one, makes gtk-doc shut up.
3797 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3799 Patch by: Peter Kjellerstedt <pkj at axis com>
3802 Don't define xmlNodePtr to gpointer if the core was built with
3803 --disable-loadsave and --disable-registry, this will break
3804 applications that want to use libxml2 but are buildling against a
3805 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
3806 instead so we don't have to mess with the libxml2 namespace
3809 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3812 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
3813 type-punned pointer warnings.
3815 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
3818 Add casts to the correct return type to state <=> state transition
3821 2006-10-16 Stefan Kost <ensonic@users.sf.net>
3823 * docs/design/part-live-source.txt:
3824 describe howto handle latency
3826 * docs/random/ensonic/profiling.txt:
3829 * tools/gst-plot-timeline.py:
3830 fix log parsing for solaris, remove unused function
3832 2006-10-16 Wim Taymans <wim@fluendo.com>
3834 * docs/design/part-trickmodes.txt:
3836 Update some docs regarding reverse playback.
3838 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
3840 Patch by: Marcus Granado <mrc dot gran at gmail com>
3842 * win32/vs8/grammar.vcproj:
3843 Error out with a warning if glib-genmarshal.exe is not in path,
3844 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
3846 2006-10-13 Wim Taymans <wim@fluendo.com>
3848 * gst/gstsegment.c: (gst_segment_set_seek):
3849 When seeking to stop -1, set last_stop (current position) to the
3850 duration of the segment.
3852 2006-10-13 Wim Taymans <wim@fluendo.com>
3855 Clarify _NO_PREROLL a bit more.
3860 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3861 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3862 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3863 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3864 due to wrong locking order. Fixes #361769.
3865 Remove some redundant/misplaced checks in pad_block.
3867 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3868 For negative rates, count backwards from the duration.
3870 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
3872 * gst/gsterror.c: (_gst_library_errors_init):
3873 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3874 up with something better).
3876 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3878 * win32/vs6/libgstreamer.dsp:
3879 * win32/vs7/libgstreamer.vcproj:
3880 * win32/vs8/libgstreamer.vcproj:
3881 Don't reference glib-compat.c which is currently not used and not
3882 disted; add gstquark.c which was recently added. Fixes #361730.
3884 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3886 * win32/common/libgstbase.def:
3887 * win32/common/libgstcontroller.def:
3888 * win32/common/libgstreamer.def:
3889 Add gst_caps_merge() and a bunch of other recently-added functions.
3892 2006-10-11 Wim Taymans <wim@fluendo.com>
3894 * docs/plugins/gstreamer-plugins.args:
3895 * docs/plugins/inspect/plugin-coreelements.xml:
3896 * docs/plugins/inspect/plugin-coreindexers.xml:
3897 Update element args.
3899 * gst/gstsystemclock.c:
3900 Small comment update.
3902 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3903 (gst_tee_request_new_pad), (gst_tee_release_pad),
3904 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3905 (gst_tee_sink_activate_pull):
3906 * plugins/elements/gsttee.h:
3908 Add default property defines.
3909 Implement release pad function.
3910 Give properties better blubs etc.
3911 Activate pads before adding them to a running tee.
3912 Do simple buffer_alloc on the first requested pad.
3913 Post error when activation fails.
3915 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3917 * gst/gst.c: (ensure_current_registry_forking):
3918 Check return value of write() to make compiler happy.
3920 2006-10-11 Wim Taymans <wim@fluendo.com>
3922 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3924 * plugins/elements/gstqueue.c: (gst_queue_chain):
3925 Recheck queue filledness after signalling the overrun when we're about
3926 to leak downstream because we released the lock when emitting the signal
3927 and the queue could be empty again. Fixes #352345.
3929 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3931 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3932 Fix refcounting here too, just like we did for _new_valist() a few
3933 days ago (#357180) (thanks to René Stadler). Also remove all those
3934 'Since: 0.9' from the gtk-doc blobs.
3936 * tests/check/libs/controller.c: (controller_refcount_new_list),
3937 (gst_controller_suite):
3938 Unit test for the above.
3940 2006-10-10 Wim Taymans <wim@fluendo.com>
3942 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3944 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3945 (gst_pad_save_thyself):
3947 Write pad direction in XML output. Fixes #345496.
3949 2006-10-10 Wim Taymans <wim@fluendo.com>
3951 Patch by: René Stadler <mail at renestadler dot de>
3953 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3954 (gst_controller_new_list), (_gst_controller_dispose),
3955 (_gst_controller_finalize), (_gst_controller_class_init):
3956 Take ref to controlled object so that it cannot disappear.
3959 2006-10-10 Wim Taymans <wim@fluendo.com>
3961 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3962 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3963 (gst_check_teardown_sink_pad):
3964 Activate/deactivate pads in setup/teardown respectively.
3966 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3968 Patch by: Josep Torre Valles <josep@fluendo.com>
3971 Cast values when making gstenumtypes.h. This pacifies Forte
3972 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3975 2006-10-09 Wim Taymans <wim@fluendo.com>
3977 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3978 Rename some more @cur to @start to fix docs.
3980 * gst/gstsegment.c: (gst_segment_set_seek):
3982 time and start must always stay in sync as defined in design doc.
3984 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3985 Rename param to fix docs.
3987 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3988 Check that start and time are in sync.
3990 * tests/check/pipelines/parse-launch.c:
3991 (gst_parse_test_element_change_state):
3992 Activate pad before adding to the element.
3994 2006-10-09 Wim Taymans <wim@fluendo.com>
3996 * docs/design/part-qos.txt:
4001 Update seek event docs regarding negative rates.
4002 Rename @cur to @start.
4004 * gst/gstsegment.c: (gst_segment_set_seek):
4006 Update set_seek docs regarding negative rates.
4007 Correctly update last_stop to @stop when dealing with negative
4009 Rename @cur to @start.
4011 * tests/check/gst/gstpad.c: (GST_START_TEST):
4012 Activate pads before trying to use them.
4014 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4015 (gst_segment_suite):
4016 Add simple check for segments and negative rates.
4018 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4020 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4022 * docs/gst/gstreamer-sections.txt:
4023 API: add gst_tag_list_is_empty() (#360467).
4025 * tests/check/gst/gsttag.c: (GST_START_TEST):
4028 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4031 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4032 a value that doesn't fit on enumeration.
4034 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4036 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4037 Remove local debugging system and use Gstreamer's instead.
4039 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4041 Patch by: Josep Torre Valles <josep@fluendo.com>
4043 * common/m4/gst-error.m4:
4044 Disable warning of statement not reached on Forte.
4046 Fix warning on Forte (value doesn't fit on enumeration).
4047 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4048 Fix warning on Forte (value doesn't fit on enumeration).
4049 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4050 DEBUG macro says it takes minimum of 2 args and so Forte
4051 complains about the use with just 1 arg.
4052 * plugins/elements/gstfdsink.c:
4053 * plugins/elements/gstfdsrc.c:
4054 * plugins/elements/gstfilesink.c:
4055 * plugins/elements/gstfilesrc.c:
4056 Use correct return type for the uri handler implementations.
4058 All these fix warnings in Forte. Fixes bug #360860.
4060 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4063 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4064 format string, so don't use G_GNUC_PRINTF for those versions.
4066 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4068 * gst/gsttaglist.c: (gst_is_tag_list):
4070 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4072 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4073 Small test for the above.
4075 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4078 Less tabs, more spaces.
4080 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4083 Those two function declarations do actually belong there, revert
4084 commit from yesterday that turned them intro macros.
4086 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4088 Patch by: Josep Torre Valles <josep@fluendo.com>
4090 * gst/gst.c: (gst_init_get_option_group):
4091 Fix empty declaration and type mismatch.
4092 * gst/gstbin.c: (gst_bin_change_state_func):
4094 * gst/gstelement.c: (gst_element_continue_state),
4095 (gst_element_set_state_func), (gst_element_change_state),
4096 (gst_element_change_state_func):
4097 Fix type mismatches.
4098 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4099 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4100 Cast as appropriate.
4101 * gst/gstobject.c: (gst_class_signal_connect):
4102 Cast as appropriate. The function pointer parameter really
4103 has the wrong type but would break API if we change it.
4105 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4106 order of including string.h.
4107 * gst/gstutils.c: (gst_element_state_get_name):
4108 Remove unreachable line.
4109 * gst/gstxml.c: (gst_xml_parse_doc):
4111 All these caught by Forte.
4113 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4115 Patch by: Josep Torre Valles <josep@fluendo.com>
4117 * common/m4/gst-error.m4:
4119 We need to disable warnings on Forte for empty declarations
4120 due to gst-indent adding ;s to lines that just use macros
4121 where the macro actually doesn't need a ; at end to end
4124 2006-10-06 Wim Taymans <wim@fluendo.com>
4126 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4127 (gst_file_sink_close_file), (gst_file_sink_event),
4128 (gst_file_sink_render):
4129 Add some FIXME for the NEWSEGMENT handling.
4131 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4133 * gst/parse/grammar.y:
4134 Remove static function gst_parse_element_lock as all it does
4135 is return. Looks like cruft from 0.8.
4137 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4139 Patch by: Josep Torre Valles <josep@fluendo.com>
4141 * common/m4/gst-error.m4:
4143 * libs/gst/net/Makefile.am:
4144 Fix a compilation issue with Forte on Solaris. inet_aton is in
4147 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4149 * gst/gstpad.c: (pre_activate):
4150 * gst/gstregistry.c: (gst_registry_scan_path_level):
4151 * gst/gstregistryxml.c: (load_plugin):
4152 * libs/gst/controller/gstcontroller.c:
4153 (gst_controlled_property_set_interpolation_mode):
4154 * libs/gst/dataprotocol/dataprotocol.c:
4155 (gst_dp_packet_from_event_1_0):
4156 * libs/gst/net/gstnetclientclock.c:
4157 (gst_net_client_clock_observe_times):
4158 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4161 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4164 * docs/gst/gstreamer-sections.txt:
4165 * gst/gstconfig.h.in:
4168 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4169 whether we can use G_GNUC_PRINTF in other header files and at
4170 least check the printf format/arguments of debug messages and
4171 GST_ELEMENT_ERROR messages when the printf extension is not
4173 Replace more tabs with spaces in gstinfo.h and remove two spurious
4174 function declarations in GST_DISABLE_DEBUG part with macros.
4176 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4178 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4179 More docs for the sync-message signal (mention that it is not
4180 emitted by default); log message structures of messages posted on
4183 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4185 * gst/gst.c: (ensure_current_registry_forking):
4186 Use a pipe pair to receive status results from the forked child, and
4187 ignore the result from waitpid. Fixes #355499
4189 2006-10-02 Wim Taymans <wim@fluendo.com>
4191 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4192 (gst_ghost_pad_suite):
4195 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4198 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4200 2006-10-02 Edward Hervey <edward@fluendo.com>
4202 * docs/design/part-block.txt:
4203 Further explain the use of flushing on blocked pads.
4204 * docs/gst/gstreamer-sections.txt:
4205 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4206 (gst_pad_push_event):
4208 Added new GstPadFlag : GST_PAD_BLOCKING.
4209 Adds the notion of pads really blocking, which enables to properly
4210 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4212 API: gst_pad_is_blocking()
4213 API: GST_PAD_IS_BLOCKING() macro
4214 API: GST_PAD_BLOCKING GstPadFlag
4216 2006-10-02 Wim Taymans <wim@fluendo.com>
4218 Patch by: mrcgran <mrc.gran at gmail dot com>
4220 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4221 Filter the proxied caps against the padtemplate if we have one.
4223 * gst/gstquery.c: (gst_query_new_segment):
4224 Add include for gstinfo.h so that compilation with
4225 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4227 2006-10-02 Wim Taymans <wim@fluendo.com>
4229 Patch by: Alessandro Decina <alessandro at nnva org>
4231 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4232 (gst_file_sink_set_location), (gst_file_sink_open_file),
4233 (gst_file_sink_close_file), (gst_file_sink_event),
4234 (gst_file_sink_render):
4235 Set file to NULL when closing filesink so that we can set a new filename
4236 in READY. Fixes #358613.
4238 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4240 Patch by: Alessandro Decina <alessandro at nnva org>
4242 * gst/gstevent.c: (_gst_event_copy):
4243 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4244 with event structures by setting the parent refcount address of the
4245 copied structure to the address of the refcount member of the newly
4246 copied event rather than the address of the refcount member of the
4247 original event. Fixes #358737.
4249 * tests/check/gst/gstevent.c: (GST_START_TEST):
4250 Unit test for the above.
4252 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4254 * docs/design/Makefile.am:
4255 Dist some more files.
4257 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4259 * tests/check/libs/controller.c: (GST_START_TEST),
4260 (gst_controller_suite):
4261 Add test for the previous fix; add some more tests
4262 for correct refcounting behaviour; fix a few leaks
4263 in test cases; call gst_controller_init() at start
4266 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4268 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4269 (gst_controller_set_from_list):
4270 Don't g_return_val_if_fail() on timed values with invalid timestamps
4271 inside a critical section without unlocking the mutex. Spotted by
4272 René Stadler. (#357617)
4273 Also, fix up refcounting properly: when returning an existing
4274 controller, we should increase the reference only once and not
4275 once per property and when trying to control a property again
4276 we should also increase the refcount.
4278 2006-09-29 Wim Taymans <wim@fluendo.com>
4280 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4281 * libs/gst/net/gstnettimeprovider.c:
4282 (gst_net_time_provider_thread):
4283 Stop reading commands when EOF as well.
4285 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4286 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4287 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4288 Unify description of the dump property.
4290 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4292 * tests/examples/manual/.cvsignore:
4293 OK, so it's actually cvsignore that needs changing. Stop laughing.
4295 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4297 * tests/examples/manual/Makefile.am:
4298 Gah, declare vars *before* using them
4300 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4302 * gst/gst.c: (init_pre), (scan_and_update_registry),
4303 (ensure_current_registry_nonforking),
4304 (ensure_current_registry_forking), (ensure_current_registry),
4305 (init_post), (gst_debug_help), (gst_deinit):
4306 * gst/gst_private.h:
4307 * gst/gstregistry.c: (gst_registry_finalize),
4308 (gst_registry_remove_features_for_plugin_unlocked),
4309 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4310 (gst_registry_scan_path),
4311 (_priv_gst_registry_remove_cache_plugins),
4312 (_priv_gst_registry_cleanup):
4313 * gst/gstregistry.h:
4314 Re-commit the registry changes, along with an extra fix:
4315 When a cached plugin is encountered at a different file path,
4316 update the stored path in the registry cache so that the parent
4317 process knows where it actually is now when it re-reads the registry
4318 cache. Fixes the thing that broke distcheck with the previous commit.
4320 * tests/check/Makefile.am:
4321 Clean up files named 'core' too when running make clean.
4323 * tests/examples/manual/Makefile.am:
4324 Set up a registry path for running these tests, and clean it properly
4327 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4330 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4331 want gmodule-no-export-2.0.pc instead so that we don't drag in
4332 --export-dynamic on every project that links to GStreamer.
4334 Also, make our export regex only match the start of symbols, rather
4335 than any symbol that contains '_gst' somewhere.
4337 * libs/gst/check/Makefile.am:
4338 The libgstcheck we build does however need export-dynamic, as it
4339 produces some symbols that don't match our _gst... style regex.
4342 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4344 * gst/gst.c: (init_pre), (scan_and_update_registry),
4345 (ensure_current_registry_nonforking),
4346 (ensure_current_registry_forking), (ensure_current_registry),
4347 (init_post), (gst_debug_help), (gst_deinit):
4348 * gst/gst_private.h:
4349 * gst/gstregistry.c: (gst_registry_finalize),
4350 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4351 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4352 (_gst_registry_cleanup):
4353 * gst/gstregistry.h:
4354 Revert previous change until I figure out why it breaks distcheck.
4356 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4358 * gst/gst.c: (init_pre), (scan_and_update_registry),
4359 (ensure_current_registry_nonforking),
4360 (ensure_current_registry_forking), (ensure_current_registry),
4361 (init_post), (gst_debug_help), (gst_deinit):
4363 Make init_pre and init_post take the full complement of GOptionFunc
4364 args so they can return useful GErrors. Make the registry updating
4367 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4368 ensure that the registry we're about to write out doesn't contain
4369 stale information about old-deleted plugin files.
4371 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4372 that deletion of plugin files is considered a registry change.
4374 * gst/gst_private.h:
4375 * gst/gstregistry.c: (gst_registry_finalize),
4376 (gst_registry_remove_features_for_plugin_unlocked),
4377 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4378 (gst_registry_scan_path),
4379 (_priv_gst_registry_remove_cache_plugins),
4380 (_priv_gst_registry_cleanup):
4381 * gst/gstregistry.h:
4382 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4383 by adding _priv prefix, so that they won't appear in the global
4384 symbol table. They still do atm though because of #318031. Move the
4385 prototypes to gst_private.h
4387 When removing a plugin, remove all features for that plugin too.
4390 2006-09-27 Wim Taymans <wim@fluendo.com>
4392 * docs/random/moving-plugins:
4393 Make it clear that the "compiled-in descriptions" really mean
4394 the element details.
4396 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4397 (gst_base_sink_wait_preroll):
4400 * docs/libs/gstreamer-libs-sections.txt:
4401 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4402 (gst_base_src_get_range), (gst_base_src_activate_push):
4403 * libs/gst/base/gstbasesrc.h:
4404 Added function to block while waiting for PLAYING, this function
4405 is used by live sources that block on the clock.
4406 API: gst_base_src_wait_playing()
4408 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4410 Patch by: Peter Kjellerstedt <pkj at axis com>
4413 gst-element-check.m4 is generated and should therefore be
4414 copied from the build dir rather than the source dir (#357593).
4415 'make distcheck' hasn't noticed this because we were disting
4416 the file as well, so stop doing that.
4418 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4420 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4421 Add some tests for gst_caps_intersect().
4423 * tools/gst-launch.c: (event_loop):
4424 Print all buffering percentages we get, even the 100% one.
4426 2006-09-26 Wim Taymans <wim@fluendo.com>
4428 * tools/gst-inspect.c: (print_element_properties_info),
4429 (print_signal_info):
4430 Fix printing of flags to match the look of enums.
4432 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4434 * gst/gstelementfactory.c:
4435 Fix typo in docs blurb.
4437 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4439 * gst/gsturi.c: (search_by_entry):
4440 Don't assert/crash here if a uri handler doesn't return any
4441 supported protocols. The list of protocols could be generated
4442 dynamically at runtime or at plugin registration, and an error
4443 in the underlying library shouldn't be fatal (#353301).
4445 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4448 Fix warning if HAVE_PRINTF_EXTENSION is undefined
4449 (spotted by Peter Kjellerstedt).
4451 2006-09-23 Wim Taymans <wim@fluendo.com>
4453 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4455 * libs/gst/base/gstbasesrc.c:
4456 (gst_base_src_default_check_get_range), (gst_base_src_start),
4457 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4458 (gst_base_src_change_state):
4459 Match _start/_stop calls in the activate functions. Remove redundant
4460 _stop call from the state change function. Fixes #356910.
4461 Turn failure DEBUG into ERROR.
4463 2006-09-22 Wim Taymans <wim@fluendo.com>
4465 * docs/design/part-buffering.txt:
4466 * gst/gstmessage.c: (gst_message_new_buffering),
4467 (gst_message_parse_buffering):
4468 Update docs about buffering.
4470 * docs/design/part-trickmodes.txt:
4473 2006-09-22 Stefan Kost <ensonic@users.sf.net>
4475 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4476 (gst_controller_new_list):
4477 Ref instances when returning them again (fixes #357180)
4479 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
4481 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4482 Don't forget to release proxy lock when there's an error.
4484 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
4487 Add extra initialisers for Caps things, to fix some plugin warnings
4490 2006-09-18 Wim Taymans <wim@fluendo.com>
4492 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4493 Also set template on the internal pad so that a getcaps from the
4494 target pad returns the template caps.
4496 2006-09-18 Wim Taymans <wim@fluendo.com>
4498 * gst/gstelement.c: (gst_element_post_message),
4499 (gst_element_dispose):
4500 Use _DEBUG_OBJECT some more.
4502 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4505 * tools/gst-launch.c: (main):
4506 If the toplevel element is not a GstPipeline, it must be put in a
4507 pipeline so that a bus and clock is selected.
4509 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4511 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4512 JITTER, RATE, and LATENCY query should be handled by the
4513 default case and not by the CONVERT query code.
4515 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
4517 * gst/gstformat.c: (gst_format_register):
4518 Fix locking order (must take lock before using n_values).
4520 * gst/gstvalue.c: (gst_value_serialize_enum),
4521 (gst_value_deserialize_enum_iter_cmp),
4522 (gst_value_deserialize_enum):
4523 Fix serialisation/deserialisation of custom registered GstFormats.
4525 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4526 Unit test for custom format serialisation/deserialisation.
4528 2006-09-17 Stefan Kost <ensonic@users.sf.net>
4530 * docs/pwg/building-boiler.xml:
4531 * plugins/elements/gstcapsfilter.c:
4532 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
4535 2006-09-16 Edward Hervey <edward@fluendo.com>
4537 * libs/gst/base/gstbasetransform.c:
4538 (gst_base_transform_buffer_alloc):
4539 Check if requested caps are the same as the sinks caps IF
4540 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
4542 This fixes the renegotiation issues stated in #352827.
4544 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4547 * docs/manual/advanced-autoplugging.xml:
4548 * tests/examples/Makefile.am:
4549 * tests/examples/manual/.cvsignore:
4550 * tests/examples/manual/Makefile.am:
4551 * tests/examples/manual/extract.pl:
4552 Extract the manual examples again like we used to do.
4555 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4557 * win32/common/config.h:
4560 2006-09-16 Stefan Kost <ensonic@users.sf.net>
4563 Documents how to receive errors.
4565 2006-09-15 Wim Taymans <wim@fluendo.com>
4567 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
4568 (event_loop), (main):
4569 Added some comments here and there.
4570 Post an application message when an interrupt is caught instead of doing
4571 an uncontrolled state change.
4572 Clean up the event loop.
4573 Handle buffering messages, pause/resume the pipeline.
4574 Make shutdown because of an interrupt more reliable.
4576 2006-09-15 Wim Taymans <wim@fluendo.com>
4578 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4579 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
4580 (gst_base_sink_preroll_object):
4581 Make sure that our internal state is correct when we commit our state
4582 asynchronously. This solves a race where a state change to PLAYING
4583 could cause the sink to remain blocked in preroll in some situations.
4585 2006-09-15 Wim Taymans <wim@fluendo.com>
4587 * tools/gst-inspect.c: (print_element_properties_info),
4588 (print_signal_info):
4589 List flags as hex so it's easier to deal with.
4591 2006-09-15 Wim Taymans <wim@fluendo.com>
4593 * docs/libs/gstreamer-libs-sections.txt:
4594 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
4595 (gst_base_sink_do_sync):
4596 * libs/gst/base/gstbasesink.h:
4597 Expose logic to wait for preroll so that subclasses such as audiosink
4598 can also use this method.
4599 API: gst_base_sink_wait_preroll()
4601 2006-09-15 Wim Taymans <wim@fluendo.com>
4603 * gst/gstobject.c: (gst_object_set_parent):
4604 * gst/gstpipeline.c: (do_pipeline_seek):
4605 Small cleanups in docs and code.
4607 * gst/gstsegment.c: (gst_segment_clip):
4608 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4609 if stop == start and start is in the segment, no clipping should be
4610 done. Also add a test for this.
4612 2006-09-15 Wim Taymans <wim@fluendo.com>
4614 * docs/design/part-buffering.txt:
4615 * docs/gst/gstreamer-sections.txt:
4616 * gst/gstmessage.c: (gst_message_new_buffering),
4617 (gst_message_parse_buffering):
4619 Added methods to create and parse BUFFERING messages.
4620 Added preliminary docs about buffering.
4621 API: gst_message_new_buffering
4622 API: gst_message_parse_buffering
4624 2006-09-06 Wim Taymans <wim@fluendo.com>
4627 Update documentation.
4629 * gst/gstelement.c: (gst_element_class_init),
4630 (gst_element_release_request_pad), (gst_element_set_clock),
4631 (gst_element_get_index), (gst_element_add_pad),
4632 (gst_element_remove_pad), (gst_element_get_random_pad),
4633 (gst_element_send_event), (gst_element_get_query_types),
4634 (gst_element_query), (gst_element_post_message),
4635 (gst_element_message_full), (gst_element_continue_state),
4636 (gst_element_lost_state), (gst_element_save_thyself),
4637 (gst_element_restore_thyself):
4638 Documentation updates.
4639 Rename last bit of the new-pad -> pad-added signal rename.
4640 Fix the case where an element query would only work if the source
4642 Avoid some useless type checking in message handling.
4647 Documentation updates.
4649 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4651 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4652 add an INFO line for when we actually update the fd
4654 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4659 === release 0.10.10 ===
4661 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
4664 releasing 0.10.10, "Pais"
4666 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
4668 * docs/manual/advanced-position.xml:
4669 Fix typo in sample code.
4671 2006-09-05 Wim Taymans <wim@fluendo.com>
4673 * libs/gst/net/gstnetclientclock.c: (inet_aton),
4674 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
4675 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
4676 * libs/gst/net/gstnetclientclock.h:
4677 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4678 * libs/gst/net/gstnettimepacket.h:
4679 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
4680 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
4681 (gst_net_time_provider_thread), (gst_net_time_provider_new):
4682 * libs/gst/net/gstnettimeprovider.h:
4683 Make stuff compile on windows. Fixes #345295.
4685 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4687 * gst/gst.c: (ensure_current_registry_forking):
4688 Print better details when child was terminated by signal.
4690 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4692 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
4693 Print a warning rather than g_assert() if a plugin feature
4694 is a URI handler but returns no protocols (#353976).
4696 2006-09-02 Stefan Kost <ensonic@users.sf.net>
4698 * docs/random/moving-plugins:
4701 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
4703 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
4704 Fix locking order, handle NULL function values properly.
4709 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
4710 Initialise variable before using it and fix debug statement to
4711 print the address of the function rather than the address of the
4712 variable on the stack holding the address of the function.
4714 2006-09-01 Wim Taymans <wim@fluendo.com>
4716 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
4717 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
4718 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4719 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
4720 (gst_ghost_pad_parent_unset),
4721 (gst_ghost_pad_internal_do_activate_push),
4722 (gst_ghost_pad_internal_do_activate_pull),
4723 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4724 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4725 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
4726 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
4727 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
4728 (gst_ghost_pad_new_no_target_from_template),
4729 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4731 Avoid needless typechecking in macros.
4732 Since the internal pad is always present and never changes, there is
4733 no need to locking or ref when retrieving it.
4734 Improve debugging a bit.
4735 Handle link errors when setting the target. Fixes #341029.
4737 2006-09-01 Wim Taymans <wim@fluendo.com>
4739 * docs/libs/gstreamer-libs-sections.txt:
4740 * docs/plugins/gstreamer-plugins-sections.txt:
4743 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4744 (gst_collect_pads_event):
4745 * libs/gst/base/gstcollectpads.h:
4746 Documentation updates.
4747 Free queued buffer when removing a pad.
4749 2006-08-31 Michael Smith <msmith@fluendo.com>
4751 * gst/gstutils.c: (gst_element_link_pads),
4752 (gst_element_link_pads_filtered):
4753 Ensure that we set a capsfilter to NULL if we failed to link it
4754 when doing filtered linking, to avoid criticals.
4756 No need to check for unreffing srcpad, which is explicly NULLed
4757 above (a trivial code cleanup).
4759 2006-08-31 Wim Taymans <wim@fluendo.com>
4761 * docs/design/part-gstghostpad.txt:
4762 Update ascii art in documentation.
4764 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
4765 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
4766 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4767 (gst_ghost_pad_internal_do_activate_push),
4768 (gst_ghost_pad_internal_do_activate_pull),
4769 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4770 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4771 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
4772 (gst_ghost_pad_set_target):
4773 Small cleanups and leak fixes.
4774 Remove some checks now that the internal pad is never NULL.
4775 Fix the case where linking pads without a target would create nasty
4776 criticals. Fixes #341029.
4777 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
4778 value of _set_target().
4780 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4781 (gst_ghost_pad_suite):
4782 Some more tests for creating and linking untargeted ghostpads.
4784 2006-08-31 Edward Hervey <edward@fluendo.com>
4786 * docs/gst/gstreamer-sections.txt:
4787 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
4788 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4789 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
4790 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
4791 (gst_ghost_pad_new_from_template),
4792 (gst_ghost_pad_new_no_target_from_template):
4793 * gst/gstghostpad.h:
4794 Refactored *_new() functions.
4795 Templates are now used as a g_object_new() parameter.
4796 Use template in _do_getcaps() if we don't have a target.
4797 Small documentation cleanups.
4798 Added two new constructors:
4799 gst_ghost_pad_new_from_template()
4800 gst_ghost_pad_new_no_target_from_template()
4801 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4802 (gst_ghost_pad_suite):
4803 Added tests for new ghostpad instanciation functions.
4805 API additions: gst_ghost_pad_new_from_template,
4806 gst_ghost_pad_new_no_target_from_template
4808 2006-08-30 Stefan Kost <ensonic@users.sf.net>
4810 * docs/random/ensonic/profiling.txt:
4811 Ideas about qos profiling.
4813 2006-08-29 Wim Taymans <wim@fluendo.com>
4815 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
4819 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
4822 Improve and detypofy docs.
4824 * tests/check/Makefile.am:
4825 * tests/check/gst/.cvsignore:
4826 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
4827 Add a basic test suite for GstXML.
4829 2006-08-29 Wim Taymans <wim@fluendo.com>
4831 * gst/gstelement.c: (activate_pads), (clear_caps),
4832 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4833 Clear the pad caps when the element shut down all of the pads and
4834 is not streaming data that could modify the caps.
4837 2006-08-28 Michael Smith <msmith@fluendo.com>
4839 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4840 Revert previous change; I misunderstood single-segment mode.
4842 2006-08-28 Michael Smith <msmith@fluendo.com>
4844 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4845 Unset DISCONT on buffers when using single-segment mode.
4847 2006-08-28 Wim Taymans <wim@fluendo.com>
4849 * gst/gstcaps.c: (gst_caps_merge_structure):
4851 Fix docs and indentation again.
4853 * tests/check/gst/gstquery.c: (GST_START_TEST):
4854 Fix leak in tests and add some more tests.
4856 2006-08-28 Edward Hervey <edward@fluendo.com>
4858 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4859 Inform GstSegment of the last stop position in order for the current
4860 segment to have a proper duration if it doesn't have a specific stop
4861 position from which a duration could be calculated.
4862 This bug was noticeable when a non-flushing, non-update new segment was
4863 followed by another segment (all buffers from the new segment were being
4866 2006-08-28 Wim Taymans <wim@fluendo.com>
4868 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4869 Small comment update.
4871 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4872 (gst_identity_transform_ip):
4873 Drop-probability is broken, mention this in the code with a
4874 FIXME and also in the property description.
4875 Make silent also be silent about the drop messages.
4877 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
4879 * docs/manual/appendix-win32.xml:
4880 Remove mention of popt, we don't depend on that any
4881 longer (#353136). Add some comments pointing out that
4882 this section is slightly outdated.
4884 2006-08-28 Wim Taymans <wim@fluendo.com>
4886 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4888 * gst/gstquery.c: (gst_query_new_segment):
4889 * tests/check/gst/gstquery.c: (GST_START_TEST):
4890 Initialize variables when creating a new segment query.
4893 2006-08-28 Wim Taymans <wim@fluendo.com>
4895 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4897 * gst/gstelement.c: (gst_element_get_bus):
4898 * tests/check/gst/gstelement.c: (GST_START_TEST):
4899 Check for NULL before _reffing the bus. Fixes #353122.
4901 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
4903 * docs/manual/basics-bus.xml:
4904 Docs update: fix wrong callback return value explanation; add
4905 some lines about the implicit relationship between main loop
4906 and main context; remove duplicate main loop variable declaration.
4908 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
4910 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4911 Don't leak caps in unit test; add a few more simple
4914 2006-08-24 Stefan Kost <ensonic@users.sf.net>
4916 * docs/gst/gstreamer-sections.txt:
4917 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4918 (gst_caps_structure_is_subset), (gst_caps_merge),
4919 (gst_caps_merge_structure):
4921 * libs/gst/base/gstbasetransform.c:
4922 (gst_base_transform_transform_caps):
4923 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4924 implement caps merging (fixes #352580)
4926 2006-08-23 Stefan Kost <ensonic@users.sf.net>
4928 * tools/Makefile.am:
4929 * tools/gst-plot-timeline.py:
4930 add debug-log plotting developer tool (#340674)
4932 2006-08-23 Wim Taymans <wim@fluendo.com>
4934 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4935 (gst_pad_stop_task):
4936 Improve debugging for task functions.
4938 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4939 (gst_task_start), (gst_task_pause), (gst_task_join):
4940 Make sure that the task function started and finished after a
4942 Don't try to push the task function on the threadpool multiple
4944 Improve the g_warning message with some useful suggestions
4945 about how to fix the problem.
4947 2006-08-23 Wim Taymans <wim@fluendo.com>
4949 * gst/gstutils.c: (gst_pad_proxy_getcaps):
4950 Handle RESYNC correctly in _proxy_getcaps.
4952 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
4954 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4955 (gst_xml_parse_memory), (gst_xml_get_element):
4956 Chain up to parent class in dispose function and also
4957 unref the elements in the toplevel_elements GList.
4958 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4959 Always return a reference in gst_xml_get_element() rather
4960 than only sometimes.
4962 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4963 Don't leak GstXml object.
4965 2006-08-21 Stefan Kost <ensonic@users.sf.net>
4967 * docs/gst/gstreamer-sections.txt:
4968 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4971 * libs/gst/base/gstbasetransform.c:
4972 (gst_base_transform_transform_caps):
4973 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4976 2006-08-21 Edward Hervey <edward@fluendo.com>
4978 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4979 Implement GObject::dispose virtual method in GstXML so we can free the
4982 2006-08-21 Wim Taymans <wim@fluendo.com>
4984 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4985 (gst_buffer_create_sub):
4986 Copy duration/offset_end/caps when creating a subbuffer of the
4988 Make the subbuffer read-only when we make the metadata writable for
4991 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4992 Added check for metadata copy when creating subbuffers.
4994 2006-08-21 Edward Hervey <edward@fluendo.com>
4996 * libs/gst/base/gstbasetransform.c:
4997 (gst_base_transform_buffer_alloc):
4998 Only call downstream buffer_alloc if transform element is passthrough
4999 or always_in_place. Closes #350449.
5001 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5004 ChangeLog surgery to add comments to previous changes
5006 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5011 * gst/gstpad.c: (gst_pad_set_active):
5012 Be more verbose in the log
5014 * libs/gst/base/gstbasetransform.c:
5015 (gst_base_transform_transform_caps):
5016 Simplify caps to get rid of duplicates, fixes #345444
5018 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5022 Use these optimizations only internally.
5024 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5026 * gst/gstvalue.c: (gst_value_compare_list),
5027 (gst_value_compare_fraction_range),
5028 (gst_value_intersect_fraction_fraction_range),
5029 (gst_value_intersect_fraction_range_fraction_range),
5030 (gst_value_subtract_fraction_fraction_range),
5031 (gst_value_subtract_fraction_range_fraction_range),
5032 (gst_value_get_compare_func), (gst_value_compare),
5033 (gst_value_compare_with_func):
5035 Saves the expensive lookup of the compare function in many cases
5038 2006-08-18 Edward Hervey <edward@fluendo.com>
5040 * tests/check/gst/gstinfo.c: (gst_info_suite):
5041 Disable test that require gstdebug if it wasn't built in core.
5043 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5045 * docs/random/ensonic/logging.txt:
5048 * gst/gstinfo.c: (gst_debug_log_default):
5049 reorder fields, save some columns, add optional color codes for log
5052 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5054 * docs/random/ensonic/logging.txt:
5055 add ideas about making the logs a bit more useful
5057 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5059 * docs/pwg/advanced-events.xml:
5060 * docs/pwg/titlepage.xml:
5061 Update for 0.10 API (#340627). Add myself
5064 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5066 * docs/libs/gstreamer-libs-docs.sgml:
5067 * docs/libs/gstreamer-libs-sections.txt:
5068 * libs/gst/check/gstbufferstraw.c:
5069 Make gstcheck stuff show up in docs (still needs to
5070 be documented properly though).
5072 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5074 * docs/gst/gstreamer-sections.txt:
5076 * gst/gst.c: (init_post):
5077 * gst/gst_private.h:
5078 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5080 * gst/gstquery.c: (gst_query_new_position),
5081 (gst_query_set_position), (gst_query_parse_position),
5082 (gst_query_new_duration), (gst_query_set_duration),
5083 (gst_query_parse_duration), (gst_query_new_convert),
5084 (gst_query_set_convert), (gst_query_parse_convert),
5085 (gst_query_new_segment), (gst_query_set_segment),
5086 (gst_query_parse_segment), (gst_query_new_seeking),
5087 (gst_query_set_seeking), (gst_query_parse_seeking):
5088 Add internal helpers for pre-registering quarks from static strings
5089 and using the quark values directly instead of looking them up when
5090 creating and parsing queries. Can be used for event construction too.
5093 2006-08-16 Wim Taymans <wim@fluendo.com>
5098 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5100 * gst/gstutils.c: (gst_util_set_value_from_string):
5101 Fix memleak (#351502).
5103 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5104 Add unit test for most of gst_util_set_value_from_string()
5105 (not that one would want to encourage use of this function).
5107 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5109 * libs/gst/check/gstcheck.h:
5110 Use const gchar * variables in fail_unless_equals_string
5111 macro to avoid compiler warnings (and don't use tabs for
5114 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5116 * tools/gst-launch.c: (print_tag):
5117 More space on the left for the tag names, to cater
5118 for the 'extended comment' tag (not touching the
5119 string for the first line since it's translated).
5121 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5123 * libs/gst/check/gstcheck.h:
5124 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5125 print something when they fail.
5127 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5129 * docs/gst/gstreamer-sections.txt:
5130 * gst/gsttaglist.c: (_gst_tag_initialize):
5132 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5133 Also change merge function for GST_TAG_COMMENT to
5136 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5138 * gst/gstinfo.c: (gst_debug_print_object):
5139 Make GST_PTR_FORMAT print messages as well.
5141 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5142 (GST_START_TEST), (gst_info_suite):
5145 2006-08-14 Edward Hervey <edward@fluendo.com>
5147 * gst/gstelementfactory.c: (gst_element_register):
5148 If the GstElementClass doesn't have a GstElementDetails with all fields
5149 filled up correctly (longname, description AND author), then error out
5150 nicely instead of crashing.
5152 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5154 * gst/gststructure.c:
5155 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5158 Expand on the difference between arrays and lists as we use them.
5160 2006-08-14 Wim Taymans <wim@fluendo.com>
5162 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5163 If the parent state change function failed, don't assume we can safely
5164 stop the source, this will be done when the pads are deactivated.
5166 2006-08-14 Wim Taymans <wim@fluendo.com>
5169 * gst/gsttask.c: (gst_task_join):
5172 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5173 (gst_pad_stop_task):
5174 When pad (de)activation failed for some reason, restore the old
5175 activation mode and set the pad to flushing instead of assuming the
5177 If the _task_join() failed, reinstall the task on the pad so that it can
5178 be stopped later and return an error.
5180 2006-08-11 Andy Wingo <wingo@pobox.com>
5183 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5184 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5185 is only for users of API that don't want to see deprecated
5186 functions in the headers; people that want to compile out
5187 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5188 CFLAGS. Fixes the build of multifdsink, or will soon..
5190 2006-08-11 Wim Taymans <wim@fluendo.com>
5192 * docs/gst/gstreamer-sections.txt:
5193 Add GstClockClass vmethod docs.
5196 Mark #endif with comment for associated #if
5198 * gst/gstclock.c: (gst_clock_id_wait):
5200 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5201 most clock implementations.
5203 Flesh out docs about resolution methods.
5204 API: GstClockClass::wait_jitter
5206 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5207 (gst_system_clock_async_thread),
5208 (gst_system_clock_id_wait_jitter_unlocked),
5209 (gst_system_clock_id_wait_jitter):
5210 Use base class wait_jitter variant for improved performance
5211 due to less clock polling.
5213 2006-08-11 Edward Hervey <edward@fluendo.com>
5215 * gst/gst.c: (gst_init_check), (init_post):
5216 Set gst as being initialized before scanning/updating the registry,
5217 since there might be my python plugin loader that calls gst_init() and
5218 we don't want to loop back in.
5221 2006-08-11 Wim Taymans <wim@fluendo.com>
5223 * docs/design/part-qos.txt:
5224 Bring docs in line with the code. Mostly the sign of the jitter was
5225 wrong in the docs. Fixes #349943.
5228 Fix the docs for the jitter.
5230 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5231 (gst_event_parse_tag), (gst_event_new_buffer_size),
5232 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5233 (gst_event_new_seek), (gst_event_parse_seek),
5234 (gst_event_new_navigation):
5235 Make sure the GstStructure has no parent when creating custom
5237 Add some more argument checking so that we avoid 0.0 rates.
5238 Flesh out the docs for the QoS event some more.
5240 2006-08-11 Wim Taymans <wim@fluendo.com>
5242 * docs/gst/gstreamer-sections.txt:
5243 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5244 (ensure_current_registry_forking), (ensure_current_registry),
5245 (parse_one_option), (parse_goption_arg), (gst_deinit),
5246 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5249 Added API and command line option to disable registry forking in
5250 addition to the environment variable.
5251 Constify some static arrays.
5252 Added some more debug.
5254 API: gst_registry_fork_is_enabled()
5255 API: gst_registry_fork_set_enabled()
5256 API: --gst-disable-registry-fork command line option
5259 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5261 * gst/gst.c: (gst_init):
5262 Fix typo in error message.
5264 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5266 * libs/gst/controller/gstcontroller.h:
5267 fix ABI size-correction
5269 * tests/check/libs/gdp.c: (gst_dp_suite):
5270 make tests that use deprecated API conditional
5272 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5274 * docs/libs/gstreamer-libs-sections.txt:
5275 * libs/gst/controller/gstcontroller.c:
5276 (_gst_controller_get_property), (_gst_controller_set_property),
5277 (_gst_controller_init), (_gst_controller_class_init):
5278 * libs/gst/controller/gstcontroller.h:
5279 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5280 (gst_object_set_control_rate):
5281 API: add gst_object_{s,g}et_control_rate(), add private data section,
5284 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5285 * libs/gst/dataprotocol/dataprotocol.h:
5286 add deprecation guards to make gtk-doc happy and allow disabling cruft
5288 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5290 * tests/check/Makefile.am:
5291 * tests/check/gst/.cvsignore:
5292 Let's enable the new unit test as well.
5294 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5297 * docs/gst/gstreamer-sections.txt:
5298 * gst/gstconfig.h.in:
5299 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5300 (_gst_info_printf_extension_ptr),
5301 (_gst_info_printf_extension_segment):
5302 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5303 register that lets us easily dump GstSegments into debug
5306 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5307 (info_segment_format_printf_extension), (gst_info_suite):
5308 Add simple unit test that logs a bunch of different segments (not
5309 valgrinded at the moment because of leaks in
5310 gst_debug_add_log_function).
5312 2006-08-09 Edward Hervey <edward@fluendo.com>
5314 * libs/gst/base/gstbasetransform.c:
5315 (gst_base_transform_buffer_alloc):
5316 Even if we can't figure out the proper format to request downstream,
5317 call buffer_alloc() downstream with the input parameters without setting
5318 the caps on the srcpad. This will force negotiation in the chain
5322 2006-08-08 Edward Hervey <edward@fluendo.com>
5324 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5325 Unlinking from a pad without a target is now a perfectly valid case
5326 which should NOT raise an assertion.
5327 This case would happen if a linked ghostpad its target set to NULL after
5328 it was previously linked.
5330 2006-08-08 Edward Hervey <edward@fluendo.com>
5332 * tests/check/libs/gdp.c:
5333 Also comment out the test (see below).
5335 2006-08-08 Edward Hervey <edward@fluendo.com>
5337 * tests/check/libs/gdp.c: (gst_dp_suite):
5338 Use the architecture information from config.h and not gcc macros
5339 in order to properly disable a test that fails on PPC64.
5341 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5343 * gst/gstelement.c: (gst_element_remove_pad):
5344 Don't crash printing the warning if the pad has no parent.
5346 2006-08-02 Wim Taymans <wim@fluendo.com>
5348 * libs/gst/dataprotocol/dataprotocol.c:
5349 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5350 (gst_dp_crc), (gst_dp_header_payload_length),
5351 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5352 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5353 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5354 (gst_dp_event_from_packet), (gst_dp_validate_header),
5355 (gst_dp_validate_payload):
5356 Make debug category static
5357 Constify the crc table.
5358 Do some more arg checking in public functions.
5359 Fix some docs and do some small cleanups.
5361 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5362 Add some more checks to see if GDP deals with bogus input.
5364 2006-07-31 Wim Taymans <wim@fluendo.com>
5366 * gst/gstvalue.c: (gst_value_compare_list):
5367 Fix GstValueList comparison code. Fixes #347293.
5369 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5370 Check to test GstValueList comparison.
5372 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5374 * gst/gstelementfactory.c: (gst_element_factory_create):
5375 Remove unnecessary ref/unref pair
5377 * gst/parse/grammar.y:
5378 Make sure to free the parse buffer on all code paths.
5379 Move a g_free up to the error handler where it's easier to see.
5381 * tests/check/gst/gstevent.c: (test_event):
5382 Extending timeout for downstream travelling events to 10 seconds to
5383 hopefully avoid intermittent failure on the buildbots.
5385 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5386 Don't manually set the state of the src element - it will happen as a
5387 natural consequence of the pipeline changing state, and that way it
5388 will do it in the right order too.
5390 2006-07-31 Wim Taymans <wim@fluendo.com>
5392 * libs/gst/base/gstbasetransform.c:
5393 (gst_base_transform_buffer_alloc):
5394 Use OBJECT_LOCK and refcounting to get the pad caps in the
5395 buffer_alloc function because the caps could change while we are
5396 busy with them. Fixes #349105
5398 2006-07-31 Wim Taymans <wim@fluendo.com>
5400 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5401 Protect _PAD_CAPS with OBJECT_LOCK.
5403 2006-07-31 Wim Taymans <wim@fluendo.com>
5405 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5406 (gst_pad_get_property), (gst_pad_activate_pull),
5407 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5408 (gst_pad_set_activate_function),
5409 (gst_pad_set_activatepull_function),
5410 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5411 (gst_pad_set_getrange_function),
5412 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5413 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5414 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5415 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5416 (gst_pad_set_acceptcaps_function),
5417 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5418 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5419 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5420 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5421 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5422 (gst_pad_configure_sink), (gst_pad_configure_src),
5423 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5424 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5425 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5426 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5427 (gst_pad_send_event):
5428 Use _DEBUG_OBJECT when it makes sense.
5429 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5430 Small cleanups and code reflows.
5431 Avoid caps refcounting in _accept_caps.
5432 Refactor alloc_buffer so that the code performed on the peer is in a
5433 separate function. Also if the pad does not implement a buffer alloc
5434 function, we should still check if the pad is flushing before falling
5435 back to the default allocator.
5437 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5439 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5440 Make all uses of identity and fakesink have silent=true to avoid
5441 serialising every passing data structure, which is breaking tests
5442 on FC4 for some unknown reason.
5444 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5446 * gst/parse/Makefile.am:
5447 * gst/parse/grammar.y:
5448 * gst/parse/parse.l:
5449 Reverted previous patch as it required to bump the flex dependency to
5450 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5452 2006-07-30 Stefan Kost <ensonic@users.sf.net>
5454 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5456 * gst/parse/Makefile.am:
5457 * gst/parse/grammar.y:
5458 * gst/parse/parse.l:
5459 push & pop the state of the lexer for reentrant use case
5462 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
5464 * libs/gst/base/gstbasesrc.h:
5465 Note in the docs that the ::newsegment vfunc is not actually used by
5468 2006-07-28 Wim Taymans <wim@fluendo.com>
5470 * libs/gst/base/gstcollectpads.c:
5471 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5472 (gst_collect_pads_clear), (gst_collect_pads_flush),
5473 (gst_collect_pads_event), (gst_collect_pads_chain):
5474 When flushing a pad, also clear the queued buffer so that we don't
5475 accidentally use it when we shouldn't.
5476 Fix leaks by inreffing incomming buffer.
5477 Flush out queued buffers in case of errors.
5480 2006-07-28 Wim Taymans <wim@fluendo.com>
5482 * docs/random/phonon-gst:
5483 Random notes about a Phonon backend.
5485 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5487 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5489 * tests/check/libs/gdp.c: (gst_dp_suite):
5490 Take a whack at fixing the ppc compile using a different define to
5491 disable the broken test.
5493 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5494 Remove excess g_print()
5496 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5498 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5499 Oops, meant to uncomment this line too to dampen the noise a bit.
5501 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5503 * gst/parse/grammar.y:
5504 * gst/parse/parse.l:
5505 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5506 (GST_START_TEST), (parse_suite):
5507 Fix some of the leaks exposed by extending the parse-launch testsuite,
5508 and move the 3 I can't figure out into a separate test that won't run
5509 the pipelines unless the appropriate line is uncommented.
5511 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5513 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5514 Requesting 0 bytes before the end of the file should result in
5515 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
5518 2006-07-27 Wim Taymans <wim@fluendo.com>
5520 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
5521 Fix useless assert, a uint is always positive.
5523 * gst/gststructure.c: (gst_structure_nth_field_name),
5524 (gst_structure_foreach), (gst_structure_map_in_place):
5525 Check input arguments for public functions to avoid obvious crashes.
5527 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
5528 * plugins/elements/gstfakesink.h:
5529 Do less useless typechecking.
5531 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
5533 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5534 Do not use mmap() by default since there are a number of error
5535 conditions that we would like to handle in a non-fatal way that
5536 will result in a SIGBUS if we use mmap(). Examples: external
5537 devices (USB harddrive, portable music player) being unplugged
5538 while in use; file on mounted CD/DVD that can't be read because
5539 the medium is partly damaged. Fixes #348455 and #348475.
5541 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
5544 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
5547 2006-07-26 Stefan Kost <ensonic@users.sf.net>
5549 * gst/gstregistry.c:
5550 Move big documentation comment into class section header, so that it
5551 appears in the API docs.
5553 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5555 * docs/gst/gstreamer-sections.txt:
5556 Oops. Commit the docs additions too for new API.
5557 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
5559 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5561 * gst/gststructure.c: (gst_structure_id_set),
5562 (gst_structure_id_set_valist):
5563 * gst/gststructure.h:
5564 Add API for setting values into structures without performing
5565 a quark lookup, if the appropriate quark is already known.
5567 API: gst_structure_id_set
5568 API: gst_structure_id_set_valist
5570 * gst/parse/grammar.y:
5571 * gst/parse/parse.l:
5572 Remove some dead code shown by the coverage information.
5573 Don't throw a critical g_warning when encountering a syntax error,
5574 just warn and let the normal error path handle it.
5576 * plugins/elements/gstelements.c:
5577 Bump the rank of filesink up to PRIMARY so that it is preferred over
5578 gnomevfssink for file:// sink uri's
5580 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5581 (GST_START_TEST), (run_delayed_test),
5582 (gst_parse_test_element_base_init),
5583 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
5584 (gst_parse_test_element_change_state),
5585 (gst_register_parse_element), (parse_suite):
5586 Beef up the tests for parse syntax to check that more error cases
5587 fail as they are supposed to. Increases the test coverage a bit.
5589 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
5591 * docs/manual/basics-elements.xml:
5592 Fix gst_element_link() example.
5595 Mention in API docs that one should usually gst_bin_add()
5596 elements to a bin or pipeline before doing the linking.
5598 2006-07-26 Wim Taymans <wim@fluendo.com>
5600 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
5601 (gst_subbuffer_get_type), (gst_buffer_create_sub):
5602 Avoid function call for known types by keeping the buffer and
5603 subbuffer GType global.
5605 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5606 Random silly optimisations in read() path.
5608 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5610 * tools/gst-launch.c: (main):
5611 If the top-level of the parse is a normal bin, it doesn't do the
5612 right logic to run as a top-level element, so place it inside a
5615 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
5617 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
5618 Remove superfluous g_object_notify() calls, GObject does
5619 that for us automatically.
5621 2006-07-25 Stefan Kost <ensonic@users.sf.net>
5624 on Win32, use dllspec to export the debug category symbols
5626 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
5628 * gst/gsttaglist.c: (_gst_tag_initialize):
5629 Allow more than one GST_TAG_IMAGE per taglist.
5631 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
5633 * gst/gstminiobject.c:
5635 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
5636 (gst_fd_src_create):
5637 log recurring events at LOG level
5638 add more debug for when the fd gets set
5640 2006-07-21 Stefan Kost <ensonic@users.sf.net>
5642 * gst/gstparse.c: (gst_parse_launch):
5643 Also remove reentrance checks if flex is MT safe (#348179)
5644 Fix my empty ChangeLog entry below
5646 2006-07-21 Andy Wingo <wingo@pobox.com>
5648 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
5650 * libs/gst/check/Makefile.am
5651 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
5652 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
5653 * libs/gst/check/gstbufferstraw.h:
5654 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
5655 functions, thus proving I am still a GStreamer haxor. OK I wrote
5656 them a long time ago, but anyways.
5658 2006-07-21 Stefan Kost <ensonic@users.sf.net>
5661 * gst/gstparse.c: (gst_parse_launch):
5662 Check for flex version and omit mutex if we have a MT save flex
5665 2006-07-21 Wim Taymans <wim@fluendo.com>
5667 * gst/gstparse.c: (gst_parse_launch):
5668 Protect recursive calls to _parse with a recursive mutex
5671 2006-07-21 Wim Taymans <wim@fluendo.com>
5673 * tests/check/gst/gstpad.c: (GST_START_TEST):
5676 2006-07-20 Stefan Kost <ensonic@users.sf.net>
5678 * gst/gstparse.c: (gst_parse_launch):
5679 Do not hang on recursive usage of gst_parse_launch()
5681 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5684 Add some more docs, comments and FIXME 0.11s here and there
5685 and also fix some typos.
5687 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5690 Convert tabs to spaces for better readability.
5692 2006-07-20 Edward Hervey <edward@fluendo.com>
5694 * tests/check/libs/gdp.c: (gst_dp_suite):
5695 the test_buffer test fails at line 140 on ppc64 at the following
5697 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
5698 GST_BUFFER_FLAG_IN_CAPS),
5699 "GST_BUFFER_IN_CAPS flag should have been copied !");
5700 See bug #348114 for more details.
5702 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
5704 * docs/pwg/advanced-scheduling.xml:
5706 Fix typos (#348000).
5708 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
5710 * docs/pwg/intro-basics.xml:
5711 Fix wrong links (#347927).
5713 2006-07-18 Stefan Kost <ensonic@users.sf.net>
5715 * gst/gstregistry.h:
5716 * gst/gstregistryxml.c: (load_feature),
5717 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
5718 * win32/common/config.h:
5719 make --disable-index work (#342564)
5721 2006-07-18 Wim Taymans <wim@fluendo.com>
5723 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5727 The attached patch adds two missing defines to gsttrace.h when tracing
5728 is disabled. It also corrects one existing define.
5731 2006-07-17 Wim Taymans <wim@fluendo.com>
5733 * docs/gst/gstreamer-sections.txt:
5734 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
5736 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
5737 Add two functions to check and change the SIGSEGV behaviour
5738 when loading plugins.
5739 Don't mess with the SIGSEGV handler when we were told not to.
5741 API: gst_segtrap_is_enabled
5742 API: gst_segtrap_set_enabled
5744 2006-07-14 Wim Taymans <wim@fluendo.com>
5746 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5747 * tests/check/elements/filesrc.c: (GST_START_TEST):
5748 Revert fix for regression in #347408 after release.
5750 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
5752 Patch by: Antoine Tremblay <hexa00 at gmail com>
5754 * gst/gstutils.c: (gst_element_unlink):
5755 Free iterator when done (#347311).
5757 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5758 And add a test case for this.
5760 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
5763 Bump nano back to CVS
5765 === release 0.10.9 ===
5767 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5770 releasing 0.10.9, "On the road again"
5772 2006-07-13 Wim Taymans <wim@fluendo.com>
5774 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5775 * tests/check/elements/filesrc.c: (GST_START_TEST):
5776 Revert pull-0 fix for release. Disable check. Fixes #347408.
5778 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5780 * libs/gst/dataprotocol/dataprotocol.c:
5781 (gst_dp_event_from_packet_1_0):
5782 Fixes #347337: failure to deserialize event packets with
5783 empty payload (only event type)
5785 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5788 do not install a .c file in the header directory
5790 2006-07-13 Edward Hervey <edward@fluendo.com>
5792 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5793 GhostPad no longer implicitely use the padtemplates of the targets.
5796 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
5798 * gst/gstvalue.c: (gst_value_compare_list),
5799 (gst_value_compare_array), (_gst_value_initialize):
5800 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5801 Make GstValueArray comparison be order dependent as designed.
5802 Add checks for value lists and value array comparisons.
5805 2006-07-11 Edward Hervey <edward@fluendo.com>
5807 * gst/gstbin.c: (activate_pads),
5808 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
5809 (gst_bin_change_state_func):
5810 (de)activate src pads before calling state_change on the childs.
5811 This is to avoid the case where a src ghostpad is blocked (holding the
5812 stream lock), which would block the deactivation of the ghostpad's
5814 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
5815 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
5816 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
5817 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5818 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5819 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5820 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5821 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
5822 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
5823 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5824 (gst_ghost_pad_class_init),
5825 (gst_ghost_pad_internal_do_activate_push),
5826 (gst_ghost_pad_internal_do_activate_pull),
5827 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5828 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5829 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
5830 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
5831 GhostPads now create their internal GstProxyPad at creation (and not
5832 when they're linked, as it was being done previously).
5833 The internal and target pads are linked straight away.
5834 The data will also travel through the other pad in order to make
5835 pad blocking and probes non-hackish (the probe/block now really happens
5836 on the GhostPad and not on the target).
5837 * gst/gstpad.c: (gst_pad_set_blocked_async),
5838 (gst_pad_link_prepare), (gst_pad_push_event):
5839 Remove previous ghostpad cruft.
5840 * gst/gstutils.c: (gst_pad_add_data_probe),
5841 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5842 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5843 (gst_pad_remove_buffer_probe):
5844 Remove previous ghost pad cruft.
5845 Added more detailed debug statements.
5846 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5847 Fix the testsuite for refcounting changes.
5848 The comments about who has references were correct, but the refcount
5849 being checked wasn't the same (!?!).
5853 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5855 * docs/gst/gstreamer-sections.txt:
5856 * gst/gstconfig.h.in:
5857 More docs for configuration options, add docs to gtk-doc.
5859 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5862 * gst/gstconfig.h.in:
5863 * win32/common/config.h:
5864 Fix build when disabling tracing (fixes #344016). Also start to document
5865 the defines that disable the sub-systems.
5867 2006-07-10 Edward Hervey <edward@fluendo.com>
5869 * gst/gst.c: (ensure_current_registry_forking):
5870 let's make valgrind happy...
5872 2006-07-09 Wim Taymans <wim@fluendo.com>
5874 * gst/gstelement.c: (activate_pads),
5875 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5876 Better pad activation code: Reset the collect value too on resync.
5879 2006-07-09 Wim Taymans <wim@fluendo.com>
5881 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5882 (gst_pad_activate_push):
5883 Use some more macros where it makes sense.
5884 Allow pad mode switching instead of asserting. When a pad
5885 is activated in one mode and we activate it in another,
5886 deactivate it first before activating it in a different mode.
5889 2006-07-08 Andy Wingo <wingo@pobox.com>
5891 * tools/gst-launch.c (main): Handle err == NULL.
5893 * gst/gst.c (init_post, ensure_current_registry)
5894 (ensure_current_registry_forking)
5895 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5896 factoring out the registry scanning into separate functions. Don't
5897 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5898 Better environment var name/interface suggestions accepted.
5900 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5902 * gst/gstobject.c: (gst_object_set_name_default),
5903 (gst_object_set_name):
5904 Random micro-optimisation: don't use a hash table
5905 with strings as keys and the usual strdup/strcmp
5906 involved, but rather just use the GQuark of the
5907 type name as key, since it needs to be looked up
5908 anyway to get the type name string.
5910 * tests/check/gst/gstobject.c: (GST_START_TEST):
5913 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5915 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5916 (gst_bin_iterate_all_by_interface):
5917 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5918 GTypes are gulongs and thus the top 4 bytes might be cut
5919 off on some platforms when doing GPOINTER_TO_INT, leading
5920 to invalid GTypes and bad things happening (see RH bug #179654).
5921 Also add a check to make sure the type passed in is really
5924 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5929 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5933 * gst-element-check.m4:
5934 * gst-element-check.m4.in:
5935 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5936 instead of the unversioned gst-inspect (#324176, #168659).
5938 2006-07-06 Wim Taymans <wim@fluendo.com>
5941 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5944 2006-07-06 Wim Taymans <wim@fluendo.com>
5946 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5947 (gst_base_src_wait), (gst_base_src_update_length),
5948 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5949 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5950 (gst_base_src_loop), (gst_base_src_start),
5951 (gst_base_src_activate_pull):
5953 blocksize == 0 now means the default blocksize when working in push
5955 Remove some pointless asserts in _wait function.
5956 Fix offset/length calculations and EOS handling. We can now pull 0
5957 bytes as well, which is allowed.
5958 use _check_get_range() to decide if we can operate in _pull based
5960 Fix refcounting leak when check_get_range function was not
5962 API GstBaseSrc::blocksize range can be 0 too now (default)
5964 * tests/check/elements/filesrc.c: (GST_START_TEST),
5966 Added check to test _get_range() behaviour.
5968 2006-07-06 Wim Taymans <wim@fluendo.com>
5970 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5971 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5972 (gst_pad_pull_range):
5974 Lots of comments and docs added to the pad functions.
5975 Flesh out the expected behaviour of the get_range() functions.
5977 2006-07-06 Wim Taymans <wim@fluendo.com>
5982 * gst/gstiterator.h:
5986 Remove comma at end of enumerator list.
5988 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
5990 * win32/common/libgstbase.def:
5991 * win32/common/libgstdataprotocol.def:
5992 * win32/common/libsgtreamer.def:
5993 Add new exported functions.
5995 2006-07-05 Wim Taymans <wim@fluendo.com>
5997 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5998 Add some more docs here and there.
6000 2006-07-05 Wim Taymans <wim@fluendo.com>
6002 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6003 (gst_base_sink_loop), (gst_base_sink_get_position):
6004 When operating in pull mode update the offset so that we
6007 2006-07-05 Wim Taymans <wim@fluendo.com>
6009 * gst/gstregistryxml.c: (read_string):
6010 Avoid strdup. (will happen in libxml, but hey!)
6015 2006-07-05 Wim Taymans <wim@fluendo.com>
6017 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6018 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6020 No point in checking if the size of the subbuffer > 0, the
6021 code handles it correclty as demonstrated by unit test.
6022 Also add a unit test for the zero sized _new_and_alloc and
6023 _copy. Fixes #346663.
6025 2006-07-05 Wim Taymans <wim@fluendo.com>
6027 * libs/gst/base/gstbasetransform.c:
6028 (gst_base_transform_prepare_output_buffer),
6029 (gst_base_transform_buffer_alloc),
6030 (gst_base_transform_handle_buffer):
6031 Make sure the buffer we pass to transform_ip has a refcount of
6032 1 and thus is writable. Fixes #343196
6034 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6036 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6037 (gst_file_src_init), (gst_file_src_set_property),
6038 (gst_file_src_get_property), (gst_file_src_map_region):
6039 * plugins/elements/gstfilesrc.h:
6040 Add "sequential" property, off by default, to use madvise and hint
6041 to the kernel that sequential access is desired.
6042 Touch all retrieved pages by default to ensure they are pulled
6043 into memory. (Closes #345720)
6045 2006-07-03 Wim Taymans <wim@fluendo.com>
6047 * docs/design/part-block.txt:
6048 * docs/design/part-dynamic.txt:
6051 2006-07-03 Wim Taymans <wim@fluendo.com>
6053 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6054 (gst_caps_unref), (gst_static_caps_get),
6055 (gst_caps_append_structure):
6056 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6057 Use GSlice when the glib we build against is >= 2.10
6059 2006-07-03 Wim Taymans <wim@fluendo.com>
6061 * gst/gstelement.c: (gst_element_pads_activate):
6062 Small cleanup in pad activation code.
6064 2006-07-03 Wim Taymans <wim@fluendo.com>
6066 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6068 * gst/gst-i18n-app.h:
6069 * gst/gst-i18n-lib.h:
6070 * tools/gst-inspect.c: (print_signal_info):
6071 The attached patch will make the inclusion of gettext.h unconditional in
6072 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6073 libintl.h in tools/gst-inspect.c.
6074 This allows use of --disable-nls again and fixes #344642.
6076 2006-07-03 Edward Hervey <edward@fluendo.com>
6078 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6079 Implement pad blocking on events according to part-block.txt.
6080 More comments on behaviour.
6081 * tests/check/gst/gstevent.c: (test_event):
6082 Send event to peer pad of blocked pad (else it will block).
6084 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6086 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6087 (gst_check_run_suite):
6088 if we get the wrong message, give us the types as string
6089 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6091 * tests/check/elements/filesrc.c: (GST_START_TEST):
6092 add a test for trying to open a non-existing file
6094 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6096 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6097 add a test for adding self
6099 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6101 * libs/gst/check/gstcheck.h:
6102 add some assert_ as alias for fail_unless_*
6103 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6104 increase test coverage
6106 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6109 include lcov.mak for lcov coverage generation
6110 * tools/Makefile.am:
6113 2006-07-02 Edward Hervey <edward@fluendo.com>
6115 * tests/check/elements/.cvsignore:
6118 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6121 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6122 * tests/check/Makefile.am:
6125 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6127 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6128 remove gst_caps_simplify; it was not declared and not used
6129 and deprecated in 0.8
6131 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6133 * docs/faq/gst-uninstalled:
6134 don't put empty paths on PYTHONPATH
6135 * docs/gst/gstreamer-sections.txt:
6136 remove some symbols that are not there
6138 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6140 * gst/gstcaps.c: (gst_caps_compare_structures):
6142 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6143 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6146 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6148 * libs/gst/dataprotocol/Makefile.am:
6149 build dataprotocol test by linking to the lib, instead of
6150 compiling the source, so we get coverage
6151 * tests/check/Makefile.am:
6152 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6153 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6154 add a test for filesrc
6156 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6158 * tests/check/gst/gststructure.c: (GST_START_TEST),
6159 (gst_structure_suite):
6160 Push coverage from 59.04% to 70.00%
6162 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6164 * tests/check/Makefile.am:
6165 gst-inspect every element; this makes sure that we also get
6166 coverage on element's get/set functions
6168 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6171 set CFLAGS and friends to -O0 if gcov is being used
6174 * libs/gst/base/Makefile.am:
6175 * libs/gst/check/Makefile.am:
6176 * libs/gst/controller/Makefile.am:
6177 * libs/gst/dataprotocol/Makefile.am:
6178 * libs/gst/net/Makefile.am:
6179 * plugins/elements/Makefile.am:
6180 * plugins/indexers/Makefile.am:
6181 add makefile rules to generate gcov data and clean up
6182 * tests/check/Makefile.am:
6183 add a coverage target that generates an html overview
6186 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6188 * tests/check/elements/fakesink.c:
6189 * tests/check/elements/fakesrc.c:
6190 * tests/check/elements/fdsrc.c:
6191 * tests/check/elements/identity.c:
6192 * tests/check/generic/sinks.c: (gst_sinks_suite):
6193 * tests/check/generic/states.c:
6194 * tests/check/gst/gst.c:
6195 * tests/check/gst/gstabi.c:
6196 * tests/check/gst/gstbin.c:
6197 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6198 * tests/check/gst/gstbus.c: (gst_bus_suite):
6199 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6200 * tests/check/gst/gstelement.c:
6201 * tests/check/gst/gstevent.c: (gst_event_suite):
6202 * tests/check/gst/gstghostpad.c:
6203 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6204 * tests/check/gst/gstmessage.c: (gst_message_suite):
6205 * tests/check/gst/gstminiobject.c:
6206 * tests/check/gst/gstobject.c:
6207 * tests/check/gst/gstpad.c:
6208 * tests/check/gst/gstpipeline.c:
6209 * tests/check/gst/gstplugin.c:
6210 * tests/check/gst/gstquery.c: (gst_query_suite):
6211 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6212 * tests/check/gst/gststructure.c:
6213 * tests/check/gst/gstsystemclock.c:
6214 * tests/check/gst/gsttag.c:
6215 * tests/check/gst/gsttask.c: (gst_task_suite):
6216 * tests/check/gst/gstutils.c:
6217 * tests/check/gst/gstvalue.c:
6218 * tests/check/libs/adapter.c:
6219 * tests/check/libs/basesrc.c:
6220 * tests/check/libs/collectpads.c:
6221 * tests/check/libs/controller.c:
6222 * tests/check/libs/gdp.c: (gst_dp_suite):
6223 * tests/check/libs/gstnetclientclock.c:
6224 * tests/check/libs/gstnettimeprovider.c:
6225 * tests/check/libs/libsabi.c: (libsabi_suite):
6226 * tests/check/libs/typefindhelper.c:
6227 * tests/check/pipelines/cleanup.c:
6228 * tests/check/pipelines/parse-launch.c:
6229 * tests/check/pipelines/simple-launch-lines.c:
6230 * tests/check/pipelines/stress.c: (stress_suite):
6233 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6235 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6236 * libs/gst/check/gstcheck.h:
6237 create a macro and function so that the simple unit test
6238 case can be just one macro to create main()
6240 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6242 * gst/gstbin.c: (gst_bin_restore_thyself):
6243 * gst/gstxml.c: (gst_xml_make_element):
6244 Fix deserialisation from XML. Set parent manually
6245 instead of using gst_bin_add(), since gst_bin_add()
6246 will unlink all pads of the element being added.
6249 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6251 Patch by: Peter Kjellerstedt <pkj at axis com>
6253 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6254 Fix missing g_strdup() and double free when using the
6255 --gst-plugin-load command line option (#346097).
6257 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6260 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6262 * libs/gst/net/gstnetclientclock.c:
6263 * libs/gst/net/gstnettimeprovider.c:
6264 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6266 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6268 * docs/manual/advanced-dataaccess.xml:
6269 Fix buffer probe example compilation in
6272 2006-06-22 Edward Hervey <edward@fluendo.com>
6274 * gst/gstelement.c: (gst_element_pads_activate):
6275 We need to deactivate src pads first and then sink pads.
6276 The reason is the src pads might be blocking while holding the streaming
6277 lock, so we need to deactivate them first so that deactivating the sink
6278 pads doesn't block (since it will require the streaming lock).
6280 2006-06-22 Wim Taymans <wim@fluendo.com>
6282 * libs/gst/base/gstbasetransform.c:
6283 (gst_base_transform_buffer_alloc):
6284 Forgot to remove two unneeded unrefs.
6285 Simplify a check _is_equal allready checks the obvious case.
6287 2006-06-22 Wim Taymans <wim@fluendo.com>
6289 * docs/design/part-block.txt:
6290 Some docs about what pad_block should do.
6292 2006-06-22 Wim Taymans <wim@fluendo.com>
6294 * gst/gstcaps.c: (gst_caps_replace):
6295 Fix crasher when passed NULL. Doc clarification.
6296 Optimize for the trivial case.
6298 * gst/gstpipeline.c: (gst_pipeline_change_state):
6301 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6302 Small documentation cleanup.
6304 * libs/gst/base/gstbasetransform.c:
6305 (gst_base_transform_buffer_alloc):
6306 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6307 is what we need and it avoids a whole lot of redundant
6308 refcount operations.
6310 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6312 Patch by: Philip Jägenstedt <philip at lysator liu se>
6314 * docs/manual/advanced-dataaccess.xml:
6315 Fix 'Embedding static elements' section to use
6316 GST_PLUGIN_DEFINE_STATIC (#345607).
6318 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6320 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6321 Attempt to 'fix' spuriously failing test case: it seems like the
6322 timeout of half a second is simply too small when the system is under
6323 load otherwise, and the timeout doesn't really seem to serve any
6324 particular purpose here. Give the pipeline a few seconds to preroll
6325 first, and then give it another half a second to go from PAUSED to
6326 PLAYING and marshal the message into the main thread.
6328 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6330 * tools/gst-feedback-m.m:
6331 Don't only use unversioned tools, try versioned tools as well
6334 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6336 * gst/gstbus.c: (gst_bus_class_init):
6337 Fix some typos, make docs more explicit.
6339 2006-06-20 Wim Taymans <wim@fluendo.com>
6341 * tests/check/gst/gstghostpad.c: (block_callback),
6342 (GST_START_TEST), (gst_ghost_pad_suite):
6343 Added some more ghostpad tests, mainly blocking
6346 2006-06-16 Wim Taymans <wim@fluendo.com>
6348 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6349 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6350 (gst_file_sink_event), (gst_file_sink_render):
6351 * plugins/elements/gstfilesink.h:
6352 Check if we can seek in the file instead of assuming
6353 we always can. Post an error when we are asked to seek in a
6354 non-seekable file (like a fifo). Fixes #343312.
6357 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6359 * tools/gst-launch.1.in:
6360 Un-garble (fourcc) bit in filtered caps section.
6362 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6364 * docs/manual/advanced-autoplugging.xml:
6365 * docs/manual/basics-helloworld.xml:
6366 * docs/manual/highlevel-components.xml:
6367 Don't leak bus reference in sample code.
6369 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6372 Add default for new --enable-plugin-docs switch.
6375 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6379 Use new ENABLE_PLUGIN_DOCS conditional.
6381 2006-06-14 Wim Taymans <wim@fluendo.com>
6383 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6384 Make it clear with a FIXME and a real define what the #if 0
6385 previously disabled.
6387 2006-06-14 Wim Taymans <wim@fluendo.com>
6389 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6390 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6391 * libs/gst/base/gstbasetransform.c:
6392 (gst_base_transform_sink_eventfunc):
6393 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6394 Don't randomly and silently reset a segment when the format
6395 changes as this is a bug somewhere upstream. Fixes #330379.
6397 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6399 Patch by: Wouter Paesen <wouter at kangaroot net>
6401 * libs/gst/controller/gstcontroller.c:
6402 (gst_controlled_property_new):
6403 Fix controlling of float properties (#344849).
6405 * tests/check/libs/controller.c:
6406 (gst_test_mono_source_get_property),
6407 (gst_test_mono_source_set_property),
6408 (gst_test_mono_source_class_init), (GST_START_TEST):
6409 While we're at it, add some float stuff to unit test.
6411 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6414 * docs/images/gdp-header.svg:
6416 * docs/libs/Makefile.am:
6417 * docs/libs/gdp-header.png:
6418 * libs/gst/dataprotocol/dataprotocol.c:
6419 add it to the API docs
6420 * docs/manual/intro-motivation.xml:
6423 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6425 * gst/gst.c: (scan_and_update_registry), (init_post):
6426 If the fork()'ed child process can't write the updated registry cache
6427 file to disk for some reason, make it exit with a failure exit code,
6428 so that the parent can then re-scan the plugins itself and update the
6429 registry structures in memory and work with that (rather than failing
6430 when creating elements because seemingly no plugins are available).
6431 Refactor registry scanning code into separate function for this and
6432 also separate fork() and non-fork() code paths. Fixes #344748.
6434 2006-06-13 Wim Taymans <wim@fluendo.com>
6436 * docs/manual/advanced-dataaccess.xml:
6437 Fix wrong PluginDesc. Fixes #344755.
6439 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6441 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6442 Fix silly bug that prevented us from creating
6443 ~/.gstreamer-0.10 and writing the registry in one
6444 go (the first call to g_mkstemp() would overwrite the
6445 placeholder in the template string, so the second call
6446 to g_mkstemp() after creating the missing directory
6447 would then error out with 'invalid argument').
6449 2006-06-13 Edward Hervey <edward@fluendo.com>
6451 * gst/gst.c: (init_post):
6454 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6456 * gst/glib-compat-private.h:
6457 * gst/glib-compat.c:
6458 * gst/glib-compat.h:
6459 * gst/gstvalue.c: (gst_value_serialize_flags):
6460 remove GLib 2.6 compatibility code
6462 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
6464 * gst/parse/Makefile.am:
6465 Fix build with 'make -j N' even more (#340016).
6467 2006-06-12 Wim Taymans <wim@fluendo.com>
6469 * docs/gst/gstreamer-sections.txt:
6472 2006-06-12 Wim Taymans <wim@fluendo.com>
6474 * gst/gstsegment.c: (gst_segment_set_duration),
6475 (gst_segment_set_last_stop), (gst_segment_set_seek),
6476 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6477 (gst_segment_to_running_time), (gst_segment_clip):
6478 Use G_UNLIKELY to help the compiler a bit.
6480 2006-06-12 Wim Taymans <wim@fluendo.com>
6482 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6484 * gst/gstevent.c: (gst_event_get_type):
6486 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6488 constify quark registration strings. Fixes #344115
6489 Avoid unneeded type checking is _pad_push() by internally
6490 calling gst_pad_chain_unchecked().
6492 2006-06-12 Wim Taymans <wim@fluendo.com>
6494 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6495 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6496 (gst_subbuffer_finalize), (gst_buffer_create_sub),
6497 (gst_buffer_is_span_fast), (gst_buffer_span):
6498 Init _type for consistency.
6499 Use _FLAGS macro to avoid type check.
6500 Avoid unneeded type checks in subbufer code.
6502 2006-06-12 Wim Taymans <wim@fluendo.com>
6504 * gst/gst.c: (gst_debug_help):
6505 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6506 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6507 (gst_plugin_feature_list_free):
6508 * gst/gstregistry.c: (gst_registry_add_plugin),
6509 (gst_registry_add_feature), (gst_registry_plugin_filter),
6510 (gst_registry_feature_filter), (gst_registry_find_plugin),
6511 (gst_registry_find_feature), (gst_registry_get_plugin_list),
6512 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
6513 * gst/gstregistryxml.c: (load_feature),
6514 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
6515 * gst/gstminiobject.c: (gst_mini_object_unref),
6516 (gst_mini_object_replace), (gst_value_mini_object_free),
6517 (gst_value_mini_object_copy):
6518 Use _CAST macros to avoid unneeded type checking.
6519 Added some more G_UNLIKELY.
6521 2006-06-12 Wim Taymans <wim@fluendo.com>
6524 Avoid unneeded type checking.
6525 API: GST_BUFFER_IS_DISCONT
6527 * gst/gstminiobject.h:
6528 Avoid type check in flag accessor.
6530 * gst/gstelementfactory.h:
6532 * gst/gstpluginfeature.h:
6534 API: GST_ELEMENT_FACTORY_CAST
6535 API: GST_PLUGIN_CAST
6536 API: GST_PLUGIN_FEATURE_CAST
6538 2006-06-12 Wim Taymans <wim@fluendo.com>
6540 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
6542 Add G_UNLIKELY in type registration.
6543 Avoid type check in _ref/_unref since that is also
6546 2006-06-12 Wim Taymans <wim@fluendo.com>
6548 * gst/gsterror.c: (gst_g_error_get_type):
6549 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6550 (gst_static_pad_template_get_type):
6551 * gst/gsttaglist.c: (gst_tag_list_get_type):
6552 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
6553 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
6554 * gst/gsturi.c: (gst_uri_handler_get_type):
6555 * gst/gstvalue.c: (gst_date_get_type):
6556 * gst/gstxml.c: (gst_xml_get_type):
6557 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
6558 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6559 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
6560 Add G_UNLIKELY in type registration.
6562 2006-06-12 Wim Taymans <wim@fluendo.com>
6564 * tools/gst-inspect.c: (print_signal_info):
6565 Properly print enum values.
6567 2006-06-12 Wim Taymans <wim@fluendo.com>
6569 * gst/gstinfo.c: (gst_debug_set_active),
6570 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
6572 Add some G_[UN]LIKELY.
6573 Maintain __gst_debug_min to avoid formatting the arguments of
6574 debug messages that will be dropped anyway to avoid a lot of
6575 overhead from the debugging system.
6577 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6581 add missing files containing translatable strings, tell intltool about
6584 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6586 * tests/check/libs/.cvsignore:
6587 add test-binary to ignore list
6589 2006-06-11 Stefan Kost <ensonic@users.sf.net>
6591 * docs/libs/gstreamer-libs-docs.sgml:
6592 reorder (put dp into a chapter) and indent
6594 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6599 === release 0.10.8 ===
6601 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6604 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
6606 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6608 * gst/gst.c: (init_post):
6609 move pid declaration to declaration block
6611 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
6613 * gst/gst.c: (init_post):
6614 use _exit() instead of exit() in our forked child; this ensures
6615 that none of the registered exit handlers from whatever is using
6616 GStreamer get executed. This fixes gnome-mixer-applet failing
6617 to load, because ORBit would shut down.
6618 Spotted by: Edward Hervey <edward@fluendo.com>
6619 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
6622 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6627 === release 0.10.7 ===
6629 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6632 releasing 0.10.7, "Soepeke, ik zie ou"
6634 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
6657 * win32/common/config.h:
6660 2006-06-07 Wim Taymans <wim@fluendo.com>
6662 * gst/gstindex.c: (gst_index_gtype_resolver):
6663 * tools/gst-xmlinspect.c: (print_plugin_info):
6664 Fix leak spotted by coverity checker. Fixes #343827
6665 Fix another other leak found by paolo borelli.
6667 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6669 * libs/gst/dataprotocol/dataprotocol.c:
6670 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6671 (gst_dp_version_get_type), (gst_dp_init),
6672 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
6673 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
6674 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
6675 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
6676 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
6677 (gst_dp_packetizer_free):
6678 * libs/gst/dataprotocol/dataprotocol.h:
6679 API: add a GstDPPacketizer object, and create/free functions
6680 API: add GstDPVersion enum
6681 Add 1.0 event function that uses the string serialization
6682 Serialize more useful buffer flags
6685 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6687 * tests/check/Makefile.am:
6688 * tests/check/gst/gstabi.c:
6689 * tests/check/gst/struct_ppc64.h:
6690 * tests/check/libs/libsabi.c:
6691 * tests/check/libs/struct_ppc64.h:
6692 add ppc64 structure sizes
6694 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6696 * tests/check/Makefile.am:
6697 * tests/check/gst/gstabi.c:
6698 * tests/check/gst/struct_x86_64.h:
6699 * tests/check/libs/libsabi.c:
6700 * tests/check/libs/struct_x86_64.h:
6701 generate and add structure size lists for x86_64
6703 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6705 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6706 * libs/gst/check/gstcheck.h:
6707 factor out the method from tests that checks size of structures,
6708 and add code to generate the header containing these sizes
6709 * tests/check/gst/gstabi.c: (GST_START_TEST):
6710 * tests/check/gst/struct_i386.h:
6711 * tests/check/libs/libsabi.c: (GST_START_TEST):
6712 * tests/check/libs/struct_i386.h:
6715 2006-06-06 Michael Smith <msmith@fluendo.com>
6718 Don't use c++-style comments, fixes #343929
6720 2006-06-05 Edward Hervey <edward@fluendo.com>
6723 plugin_paths is not used if we build without registry support.
6725 * gst/gstsegment.c: (gst_segment_copy):
6726 _copy() was always returning NULL...
6728 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6730 * libs/gst/dataprotocol/dataprotocol.c:
6731 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6732 (gst_dp_packet_from_event):
6735 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6737 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
6738 make sure we unset caps
6740 2006-06-02 Michael Smith <msmith@fluendo.com>
6742 * libs/gst/check/gstcheck.c: (gst_check_init),
6743 (gst_check_chain_func):
6744 * libs/gst/check/gstcheck.h:
6745 Add a cond/mutex to the check support lib, signal this whenever we
6746 add to the buffers list. This will allow tests to not busy-wait on
6749 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6751 * libs/gst/dataprotocol/dataprotocol.c:
6752 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6753 (gst_dp_packet_from_event):
6754 factor out some common header init code
6756 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6758 * docs/libs/gstreamer-libs-sections.txt:
6759 * docs/libs/tmpl/gstdataprotocol.sgml:
6760 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6761 * libs/gst/dataprotocol/dataprotocol.h:
6762 API: make gst_dp_crc() public
6764 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6766 * plugins/indexers/gstindexers.c: (plugin_init):
6767 conditionally register fileindexer (fixes #343598)
6769 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6771 * gst/gsttagsetter.h:
6772 Can't cast ifaces to a class
6774 * libs/gst/net/gstnetclientclock.h:
6775 * libs/gst/net/gstnettimeprovider.h:
6776 * plugins/elements/gstfakesink.h:
6777 * plugins/elements/gstfakesrc.h:
6778 * plugins/elements/gstfdsink.h:
6779 * plugins/elements/gstfdsrc.h:
6780 * plugins/elements/gstfilesink.h:
6781 * plugins/elements/gstfilesrc.h:
6782 * plugins/elements/gstidentity.h:
6783 * plugins/elements/gstqueue.h:
6784 * plugins/elements/gsttee.h:
6785 * plugins/indexers/gstfileindex.c:
6786 * plugins/indexers/gstmemindex.c:
6787 * tests/old/examples/plugins/example.h:
6788 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
6790 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
6792 * libs/gst/dataprotocol/dataprotocol.c:
6793 (gst_dp_header_from_buffer):
6794 make sure we zero the whole ABI-compatible area
6796 2006-06-01 Wim Taymans <wim@fluendo.com>
6798 Patch by: Alessandro Decina <alessandro at nnva dot org>
6800 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
6801 Make sure the EOS flag is cleared from pads after a flush
6802 or stop. Fixes #343538.
6804 * tests/check/libs/collectpads.c: (GST_START_TEST),
6805 (gst_collect_pads_suite):
6806 Added test for collectpads reusage after EOS.
6808 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
6811 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
6812 * win32/common/libgstbase.def:
6813 export gst_collect_pads_set_flushing
6814 * win32/common/libgstreamer.def:
6815 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
6816 gst_value_fraction_multiply
6817 * win32/vs6/gst_inspect.dsp:
6818 add a link to intl.lib
6820 2006-05-30 Wim Taymans <wim@fluendo.com>
6822 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6823 (gst_collect_pads_chain):
6824 Handle the case where a pad is removed from the collection
6825 that could cause the other pads to become collectable.
6827 2006-05-30 Wim Taymans <wim@fluendo.com>
6830 Clarify the use of _release_request_pad() and
6831 _get_request_pad() a bit better.
6833 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
6834 (gst_adapter_take_buffer):
6835 Fix some doc and comment typos.
6837 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6839 * docs/gst/gstreamer-sections.txt:
6840 * docs/libs/gstreamer-libs-sections.txt:
6841 add declared symbols
6843 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
6845 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6846 Add debug that can be enabled using a #define at the top of the file,
6847 for dumping stats about how late/early we were when waking up from
6848 waiting on the clock.
6850 2006-05-30 Wim Taymans <wim@fluendo.com>
6852 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6853 When rebuilding the pad list, don't leak the previous list.
6855 2006-05-30 Wim Taymans <wim@fluendo.com>
6857 Patch by: Lutz Mueller <lutz at topfrose dot de>
6859 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6860 (gst_base_src_get_query_types), (gst_base_src_update_length):
6861 Publish supported query types.
6862 Update last_stop field in get_range mode so the position
6863 query works. Fixes #342321.
6865 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
6867 * docs/gst/gstreamer-sections.txt:
6868 * gst/gsttaglist.c: (_gst_tag_initialize):
6870 API: add GST_TAG_PREVIEW_IMAGE (#343341).
6872 2006-05-30 Wim Taymans <wim@fluendo.com>
6874 Patch by: Alessandro Decina <alessandro at nnva dot org>
6876 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6877 Unlock mutex when removing an unknown pad.
6880 * tests/check/Makefile.am:
6881 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6882 (push_event), (setup), (teardown), (GST_START_TEST),
6883 (gst_collect_pads_suite), (main):
6884 Added collecpads check, disabled for now as check crashes for
6887 2006-05-29 Wim Taymans <wim@fluendo.com>
6889 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6890 Don't leak pads lists.
6892 2006-05-29 Wim Taymans <wim@fluendo.com>
6894 * docs/libs/gstreamer-libs-sections.txt:
6895 * libs/gst/base/gstcollectpads.c:
6896 (gst_collect_pads_set_flushing_unlocked),
6897 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6898 (gst_collect_pads_stop):
6899 * libs/gst/base/gstcollectpads.h:
6900 API: gst_collect_pads_set_flushing()
6901 Added api to set the pads to flushing, useful for seeking
6902 code in elements using collectpads.
6903 Clear segment when receiving a flush.
6905 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
6907 * gst/gst.c: (add_path_func), (init_post):
6908 Don't scan registry paths passed via --gst-plugin-path immediately
6909 (will crash, because absolutely nothing is set up and no types are
6910 registered etc.); do this later in init_post(). Fixes #343057.
6912 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
6914 * gst/gst.c: (init_post):
6915 if we have fork, fork while reading/rebuilding the registry
6916 so the parent doesn't take the hit of having all plugins loaded
6917 in memory. Fixes #342777.
6919 Check if we have fork()
6920 * win32/common/config.h.in:
6923 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6925 * plugins/elements/gstelements.c:
6926 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6927 (gst_file_src_init), (gst_file_src_set_property),
6928 (gst_file_src_get_property), (gst_file_src_start):
6929 * plugins/elements/gstfilesrc.h:
6930 API: GstFileSrc::use-mmap
6932 Add a use-mmap property to enable easier testing of all code paths.
6933 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6934 in the absence of gnomevfssrc. (Closes #340501)
6936 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6938 * tools/gst-inspect.c:
6939 Add missing include, removes warning of ngettext not being defined on
6942 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6944 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6945 Handle NULL input and output pointers silently as a failed conversion,
6946 rather than g_warnings.
6948 2006-05-25 Wim Taymans <wim@fluendo.com>
6950 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6951 Initialize variable before using. Fixes #342820.
6953 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
6955 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6956 Fix off-by-one bug that would only allow peeks of N-1 bytes
6957 from the start even if the buffer to typefind on contains
6958 in fact N bytes of data (makes vorbis typefinding from a
6959 vorbis identification header buffer work).
6961 * tests/check/Makefile.am:
6962 * tests/check/libs/.cvsignore:
6963 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6964 (gst_typefindhelper_suite), (main), (foobar_typefind),
6966 Add very basic unit test for gst_type_find_helper_for_buffer()
6967 that checks for the problem fixed above.
6969 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
6971 * tools/gst-inspect.c: (print_interfaces),
6972 (print_element_properties_info), (print_element_list), (main):
6973 add more translatable strings
6975 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
6977 Patch by: Julien Moutte <julien at moutte net>
6979 * docs/gst/gstreamer-sections.txt:
6980 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6982 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6983 (gst_fake_sink_preroll):
6984 * plugins/elements/gstfakesink.h:
6985 API: Add new GstFakeSink::preroll-handoff signal (#337100).
6987 2006-05-23 Wim Taymans <wim@fluendo.com>
6989 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6991 Added _CUSTOM error and success GstFlowReturn that can be
6992 used be elements internally.
6993 Added macro to check for SUCCESS flowreturns.
6994 API: GST_FLOW_CUSTOM_SUCCESS
6995 API: GST_FLOW_CUSTOM_ERROR
6996 API: GST_FLOW_IS_SUCCESS
6998 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6999 Added check for GstFlowReturn sanity.
7001 2006-05-23 Wim Taymans <wim@fluendo.com>
7003 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7005 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7006 (gst_collect_pads_event):
7007 clear/reset segment info in FLUSH_STOP.
7010 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7012 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7013 (gst_collect_pads_check_collected):
7014 Flush queued buffer on _stop(), fixes playing again (#342454)
7016 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7018 * tests/check/gst/gststructure.c: (GST_START_TEST),
7019 (gst_structure_suite):
7020 add a test for a complete structure
7022 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7024 * docs/faq/developing.xml:
7026 * docs/faq/troubleshooting.xml:
7027 * docs/faq/using.xml:
7028 Some minor FAQ updates that won't change the fact that
7029 our FAQ is badly structured, full of information hardly
7030 anyone new to GStreamer needs to know and lacking lots
7031 of information people constantly ask for.
7033 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7035 * gst/gstpad.c: (gst_pad_set_caps):
7036 Short-circuit gst_pad_set_caps if setting the existing
7037 caps pointer again, and avoid printing debug and
7038 reffing/unreffing the caps.
7040 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7041 There's actually no need to set the caps before pushing -
7042 the acceptcaps method will handle it anyway.
7044 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7046 * docs/gst/gstreamer-sections.txt:
7047 * win32/common/libgstreamer.def:
7048 * gst/gstutils.c: (gst_element_seek_simple):
7050 API: add gst_element_seek_simple() (#342238).
7052 2006-05-18 Edward Hervey <edward@fluendo.com>
7054 * gst/gsttypefind.c: (gst_type_find_get_type):
7055 * gst/gsttypefind.h:
7056 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7057 registered for GstTypeFind pointers. This allows wrapping the structure
7058 in bindings (i.e. gst-python).
7060 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7062 * gst/gsttagsetter.c:
7063 Docs additions and fixes (see #339918).
7065 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7067 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7068 The caps intersection algorithm can produce multiple copies of the
7069 caps. Until that is fixed, we need to simplify the result to be
7070 sure whether the allowed caps are fixed or not.
7072 * plugins/elements/gstqueue.c: (gst_queue_init),
7073 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7074 (gst_queue_push_one):
7075 Proxied buffer alloc should not set the caps on the source pad.
7076 When pushing buffers, we always accept the caps change that triggers.
7077 This prevents negotiation errors caused by caps changing mid-stream
7078 and then being refused on our source pad (because upstream is now
7079 refusing those caps).
7081 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7083 * tests/examples/helloworld/helloworld.c: (main):
7084 Must plug audioconvert and audioresample between decoder
7087 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7089 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7090 (load_feature), (load_plugin):
7091 Allow empty strings for some of the plugin fields so we don't
7092 drop valid plugin entries that were written out correctly
7095 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7097 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7098 Use g_remove and g_rename instead of remove and rename that don't
7099 handle utf8 characters. rename was failing for users who had specific
7100 characters in their name then the registry was built at each
7102 * win32/vs6/gst_inspect.dsp:
7103 * win32/vs6/gst_launch.dsp:
7104 * win32/vs6/libgstbase.dsp:
7105 * win32/vs6/libgstcoreelements.dsp:
7106 * win32/vs6/libgstreamer.dsp:
7107 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7108 build of libgstreamer and clean unused libraries in projects link
7111 2006-05-17 Edward Hervey <edward@fluendo.com>
7113 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7114 The queue is not responsible for pushing an EOS when receiving a fatal
7115 flow error. It's up to the real element driving the pipeline to do that.
7117 2006-05-16 Edward Hervey <edward@fluendo.com>
7119 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7120 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7121 buffer returned a fatal error. It should just send an EOS and stop
7123 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7124 when pushing buffers on the queue and will be able to handle the event.
7126 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7128 * docs/manual/basics-bins.xml:
7129 * docs/manual/basics-init.xml:
7130 Fix typos and minor errors in sample code (#341856).
7132 2006-05-16 Wim Taymans <wim@fluendo.com>
7134 * docs/design/part-qos.txt:
7135 Fix indexes in formulas to make more sense.
7137 2006-05-15 Wim Taymans <wim@fluendo.com>
7139 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7140 Don't report POSITION based on clock time if sync is
7143 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7146 Add cast to make compiler happy - refcount variable was a gint
7147 in GstObject but is a guint in GObject and g_atomic_int_get()
7150 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7152 * gst/parse/Makefile.am:
7153 chain commands using &&, which also makes parallel make work
7155 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7157 * docs/gst/gstreamer-sections.txt:
7163 === release 0.10.6 ===
7165 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7168 releasing 0.10.6, "Take the cannoli"
7170 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7172 * tools/gst-launch.c: (print_tag):
7173 Fix use of uninitialized variable in the hypothetical
7174 case that some broken plugin creates a GST_TAG_IMAGE
7175 tag containing a NULL buffer (#341667).
7177 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7179 * tools/gst-launch.c: (print_tag):
7180 Print something more intelligible for image tags when
7181 using the -t switch (#341556).
7183 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7188 define GST_MAJORMINOR so we have it available in win32/common/config.h
7189 Possibly remove it from our Makefile.am files later
7190 * win32/common/config.h:
7191 * win32/common/config.h.in:
7192 added GST_MAJORMINOR
7193 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7194 * win32/common/gstversion.h:
7197 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7200 Update win32 files listing.
7201 * win32/common/gstversion.h:
7202 Add GST_MAJORMINOR definition.
7203 * win32/common/libgstreamer.def:
7204 Add new exported functions.
7206 2006-05-12 Michael Smith <msmith@fluendo.com>
7208 * gst/gstplugin.c: (gst_plugin_load_file):
7209 If an so file has no plugin entry point, unload the module.
7211 2006-05-11 Wim Taymans <wim@fluendo.com>
7213 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7214 (gst_queue_set_property):
7215 Don't forget to signal the _chain or _loop function
7216 when the queue size or thresholds change since that might
7217 cause them to make progres again.
7219 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7221 * gst/gstclock.c: (gst_clock_class_init):
7222 * gst/gstindex.c: (gst_index_class_init):
7223 * gst/gstobject.c: (gst_object_class_init):
7224 * gst/gstpad.c: (gst_pad_class_init):
7225 * gst/gstpipeline.c: (gst_pipeline_class_init):
7226 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7227 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7228 * libs/gst/base/gstbasetransform.c:
7229 (gst_base_transform_class_init):
7230 * libs/gst/net/gstnetclientclock.c:
7231 (gst_net_client_clock_class_init):
7232 * libs/gst/net/gstnettimeprovider.c:
7233 (gst_net_time_provider_class_init):
7234 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7235 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7236 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7237 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7238 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7239 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7240 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7241 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7242 * plugins/elements/gsttee.c: (gst_tee_class_init):
7243 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7244 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7245 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7247 2006-05-11 Wim Taymans <wim@fluendo.com>
7249 * gst/gstbuffer.c: (_gst_buffer_initialize):
7250 Register subbufer along with the buffer type so that
7251 it does not accidentally gets registered from N
7252 different streaming threads in a non threadsafe way.
7254 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7259 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7260 gst_event_ref() and gst_message_ref() functions again
7261 (ugly hack, please do fix if there's a better way besides
7262 overrides.txt, which doesn't seem to work).
7264 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7266 * libs/gst/check/gstcheck.h:
7267 add an assert for setting state to avoid lots of repetitive code
7270 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7272 * gst/gstvalue.c: (gst_value_serialize_flags):
7273 fix a leak if no flags are set
7274 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7277 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7279 * docs/manual/basics-pads.xml:
7280 Expand a bit on caps and filtered links and update
7281 examples that were still using the no longer existing
7282 gst_pad_link_filtered() (#338206).
7284 2006-05-10 Wim Taymans <wim@fluendo.com>
7286 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7287 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7288 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7289 (gst_collect_pads_stop):
7290 * libs/gst/base/gstcollectpads.h:
7291 No need to call _stop in _finalize.
7292 Iterate the main pad list in _finalize.
7293 Added some more debug.
7294 Free lists and data in the right order.
7295 Also free data whem doing _remove_pad when stopped for
7296 backward compatibility protect ::started with PAD_LOCK as
7299 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7301 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7302 (gst_structure_parse_value):
7304 rename a method so that it actually says what it does better
7306 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7308 * gst/gstevent.c: (_gst_event_initialize):
7309 * gst/gstformat.c: (_gst_format_initialize):
7310 make sure some essential types used by events are registered
7311 as part of gst_init()
7312 * gst/gstvalue.c: (gst_value_serialize_flags):
7313 if no flags are set, serialize them to a value that represents NONE
7314 so that deserializing them works
7315 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7316 add tests for serialization and deserialization of flags
7318 2006-05-10 Wim Taymans <wim@fluendo.com>
7320 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7321 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7322 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7323 (gst_collect_pads_event), (gst_collect_pads_chain):
7326 Catch and return errors from the collect function
7327 Refuse data on eos pads.
7329 2006-05-10 Edward Hervey <edward@fluendo.com>
7331 * gst/gstinterface.h:
7332 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7333 GInterface type checking.
7334 They were previously using non-defined macros.
7336 2006-05-09 Wim Taymans <wim@fluendo.com>
7338 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7339 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7340 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7341 (gst_collect_pads_start), (gst_collect_pads_stop),
7342 (gst_collect_pads_peek), (gst_collect_pads_pop),
7343 (gst_collect_pads_available), (gst_collect_pads_read),
7344 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7345 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7346 (gst_collect_pads_chain):
7347 * libs/gst/base/gstcollectpads.h:
7348 Clean up the mess that is collectpads, add comments and
7349 FIXMEs where needed.
7350 Maintain a separate pad list so we can add pads while
7351 collecting the other ones. For this we need a new separate
7353 Fix memory leak in finalize.
7354 Refactor some weird code to set/unset pad flushing flags, mark
7356 Don't crash in _available, _read, _flush when we're EOS.
7358 * tests/check/libs/.cvsignore:
7359 Ignore adapter check binary.
7361 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7363 * gst/gstindex.c: (gst_index_resolver_get_type):
7364 * plugins/elements/gstfakesink.c:
7365 (gst_fake_sink_state_error_get_type):
7366 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7367 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7368 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7369 Const-ify GEnumValue arrays.
7371 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7373 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7374 Add test case for flags + gst_buffer_make_metadata_writable().
7376 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7378 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7379 gst_buffer_make_metadata_writable() should maintain the
7380 buffer flags (those that make sense at least) (see #340859).
7382 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7384 * tools/gst-inspect.c:
7385 * tools/gst-launch.c:
7386 * tools/gst-typefind.c:
7387 * tools/gst-xmlinspect.c:
7389 Fix up includes: need to include stdlib.h in tools.h for exit().
7391 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7393 * gst/gsttaglist.c: (_gst_tag_initialize):
7395 API: add GST_TAG_IMAGE tag (#340721).
7397 2006-05-08 Wim Taymans <wim@fluendo.com>
7400 Added some docs for the segment query.
7402 2006-05-08 Wim Taymans <wim@fluendo.com>
7404 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7405 (gst_base_src_loop), (gst_base_src_change_state):
7406 Always push non-flushing serialized events in the streaming
7409 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7411 * gst/gsterror.c: (_gst_stream_errors_init):
7412 Add a missing error string.
7414 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7416 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7417 Add applied_rate to the debug
7419 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7420 Copy applied_rate into the outgoing NEWSEGMENT event
7422 2006-05-08 Wim Taymans <wim@fluendo.com>
7424 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7426 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7427 (gst_base_sink_change_state):
7428 call ::unlock before taking the PREROLL_LOCK so we can safely
7429 handle elements that lock in ::render.
7432 2006-05-08 Edward Hervey <edward@fluendo.com>
7434 * autogen.sh: (CONFIGURE_DEF_OPT):
7435 Darwin's libtoolize is in fact called glibtoolize.
7436 Adding glibtoolize to the list of accepted names for libtoolize.
7438 2006-05-08 Wim Taymans <wim@fluendo.com>
7440 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7441 Unify error handling, don't post an error message
7442 when a push() returns EOS but perform our normal EOS
7443 handling code. Fixes #340772.
7445 2006-05-08 Wim Taymans <wim@fluendo.com>
7447 * docs/design/part-overview.txt:
7448 Make upsteam/downstream concepts more clear.
7449 Give an example of serialized/non-serialized events.
7451 * docs/design/part-events.txt:
7452 * docs/design/part-streams.txt:
7453 Mention applied_rate.
7455 * docs/design/part-trickmodes.txt:
7456 Mention applied rate, flesh out some more use cases.
7458 * gst/gstevent.c: (gst_event_new_new_segment),
7459 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7460 (gst_event_parse_new_segment_full), (gst_event_new_tag),
7461 (gst_event_parse_tag), (gst_event_new_buffer_size),
7462 (gst_event_parse_buffer_size), (gst_event_new_qos),
7463 (gst_event_parse_qos), (gst_event_parse_seek),
7464 (gst_event_new_navigation):
7466 Add applied_rate field to NEWSEGMENT event.
7467 API: gst_event_new_new_segment_full()
7468 API: gst_event_parse_new_segment_full()
7470 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7471 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7472 (gst_segment_to_stream_time), (gst_segment_to_running_time):
7474 Add applied_rate to GstSegment structure.
7475 Make calculation of stream_time and running_time more correct
7476 wrt rate/applied_rate.
7478 API: GstSegment::applied_rate field
7479 API: gst_segment_set_newsegment_full();
7481 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7482 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7483 * libs/gst/base/gstbasetransform.c:
7484 (gst_base_transform_sink_eventfunc),
7485 (gst_base_transform_handle_buffer):
7486 Parse and use applied_rate in the GstSegment field.
7488 * tests/check/gst/gstevent.c: (GST_START_TEST):
7489 Add check for applied_rate field.
7491 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7492 (gstsegments_suite):
7493 Add more checks for various GstSegment operations.
7495 2006-05-08 Wim Taymans <wim@fluendo.com>
7497 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7498 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7499 (gst_base_sink_get_position), (gst_base_sink_change_state):
7500 Store the sync time of the buffer end position separatly in a
7501 new variable eos_rtime so we can properly sync the EOS event.
7503 Fix the docs for gst_base_sink_set_qos_enabled().
7504 Don't set segment start to invalid value when we receive a
7505 non TIME newsegment.
7506 get closer to handling position reporting for negative rates
7509 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7512 Docs about how to print caps for debug purposes.
7514 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
7515 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
7517 2006-05-07 Stefan Kost <ensonic@users.sf.net>
7520 use full enum names and preprend a '%' in docs strings to make recent
7521 gtk-doc turn that into a link
7523 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7525 * docs/manual/basics-bins.xml:
7526 * docs/manual/basics-bus.xml:
7527 * docs/manual/basics-pads.xml:
7528 Some typo fixes, some additions, some clarifications.
7530 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7532 * tools/gst-inspect.c: (main):
7533 * tools/gst-launch.c: (main):
7534 * tools/gst-run.c: (main):
7535 * tools/gst-typefind.c: (main):
7536 * tools/gst-xmlinspect.c: (main):
7537 Use the string passed to g_option_context_new() for
7538 what it's intended for - the program name is already
7541 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7543 * tools/Makefile.am:
7544 * tools/gst-inspect.c: (main):
7545 * tools/gst-launch.c: (main):
7546 * tools/gst-xmlinspect.c: (main):
7548 Add back --version command line option (#340460).
7550 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
7551 Add --version option and use GOption for argument parsing; refactor a
7552 bit; accept directories as arguments and recurse into them; lastly,
7553 print a decent error message when things go wrong.
7555 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7557 * docs/manual/basics-bins.xml:
7558 Don't mention GstThread (#340611)
7559 * docs/manual/basics-elements.xml:
7560 Update link to GObject tutorial (#340607)
7562 2006-05-05 Wim Taymans <wim@fluendo.com>
7565 * gst/gstminiobject.c:
7566 Add note about refcounting and miniobject/buffer writeability
7567 to docs. Fixes #340604
7569 * gst/gstelementfactory.h:
7570 Added some explanation about @klass.
7572 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7574 * docs/manual/intro-motivation.xml:
7575 * docs/manual/manual.xml:
7576 Avoid CORBA & Bonobo references (#340598)
7578 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7580 * docs/manual/basics-bus.xml:
7581 * docs/manual/basics-pads.xml:
7582 Fix up some inaccuracies and omissions (#340609)
7584 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
7586 * gst/gstghostpad.c:
7587 Small typo in docs (#340625)
7589 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7591 * gst/parse/Makefile.am:
7592 Make 'make -j' proof (see #340698).
7594 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
7597 Require GLib-2.8 here as well.
7599 2006-05-05 Wim Taymans <wim@fluendo.com>
7601 * gst/glib-compat.c:
7602 * gst/gst.c: (init_pre):
7603 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7604 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
7605 (gst_object_dispatch_properties_changed):
7607 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7608 * gst/gststructure.c: (gst_structure_set_valist):
7609 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7610 Remove pre glib2.8 compatibility, fixes #340508
7612 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
7615 Mention type of tags in doc blurbs.
7617 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
7619 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7620 (gst_pad_configure_src), (gst_pad_push):
7621 Restore acceptcaps checking behaviour now that good plugins have
7624 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
7626 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
7637 * gst/parse/Makefile.am:
7638 * libs/gst/base/gstadapter.c:
7639 * libs/gst/base/gstbasesrc.c:
7640 * libs/gst/base/gstpushsrc.c:
7641 * libs/gst/base/gsttypefindhelper.c:
7642 * plugins/elements/gstfakesrc.c:
7643 * plugins/elements/gstidentity.c:
7644 Make sure gstprivate.h and/or config.h are
7645 always included first, otherwise some of our
7646 defines (like _FILE_OFFSET_BITS) might be
7647 redefined in the system headers. Fixes build
7648 on opensolaris (#340016).
7650 2006-05-04 Wim Taymans <wim@fluendo.com>
7652 * docs/libs/gstreamer-libs-sections.txt:
7653 API: addition: gst_adapter_take_buffer()
7655 * libs/gst/base/gstadapter.c: (gst_adapter_push),
7656 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
7657 (gst_adapter_available_fast):
7658 * libs/gst/base/gstadapter.h:
7659 Prepare for optimizing the hell out of this hugely inefficient
7661 Added gst_adapter_take_buffer() so we can at least start thinking
7662 about subbuffering and merging.
7663 Added some comments.
7665 * tests/check/Makefile.am:
7666 * tests/check/libs/adapter.c: (GST_START_TEST),
7667 (gst_adapter_suite), (main):
7668 Added GstAdapter check.
7670 2006-05-04 Wim Taymans <wim@fluendo.com>
7672 * docs/design/part-overview.txt:
7673 Fix some typos, add blurb about buffer flags.
7675 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7677 * docs/libs/gstreamer-libs-sections.txt:
7678 make sure GstBaseTransformClass shows up in the docs
7679 * libs/gst/base/gstbasetransform.c:
7680 * libs/gst/base/gstbasetransform.h:
7681 move docs so gtk-doc picks it up now
7683 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7685 * docs/libs/gstreamer-libs-sections.txt:
7686 add missing symbols to docs
7688 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7690 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7691 back out the newsegment handling change, see #340060 for ongoing
7694 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
7696 * tools/gst-run.c: (get_candidates), (main):
7697 Fix wrong g_file_test() usage (see glib docs for why it doesn't
7698 work); fix typo in error message. Fixes #340079.
7700 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7702 * common/Makefile.am:
7704 * docs/faq/Makefile.am:
7705 * docs/gst/Makefile.am:
7706 * docs/libs/Makefile.am:
7707 * docs/manual/Makefile.am:
7708 * docs/plugins/Makefile.am:
7709 * docs/pwg/Makefile.am:
7710 * docs/slides/Makefile.am:
7712 * common/upload.mak:
7713 move upload.mak to common
7715 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7717 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7718 add more asserts on refcounts
7719 do more cleanup at end of tests
7720 fix test leaks showing in FC5
7722 2006-04-29 Stefan Kost <ensonic@users.sf.net>
7724 * plugins/elements/gsttypefindelement.c:
7725 (gst_type_find_element_handle_event):
7726 reverted wrong change and reflowed code to avoid others falling into
7729 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7731 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7732 fix changelog entry about last collectpads change,
7733 add notes about proper fix
7735 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7738 * gst/gstregistry.c: (gst_registry_scan_path_level),
7739 (gst_registry_scan_path):
7740 * gst/gstregistry.h:
7741 only write out registry if it has changed, fixes #338339
7743 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7746 * gst/gstpipeline.c:
7747 * plugins/elements/gstcapsfilter.c:
7748 * plugins/elements/gstfakesink.c:
7749 * plugins/elements/gstfakesrc.c:
7750 * plugins/elements/gstfdsink.c:
7751 * plugins/elements/gstfdsrc.c:
7752 * plugins/elements/gstfilesink.c:
7753 * plugins/elements/gstfilesrc.c:
7754 * plugins/elements/gstidentity.c:
7755 * plugins/elements/gstqueue.c:
7756 * plugins/elements/gsttee.c:
7757 * plugins/elements/gsttypefindelement.c:
7758 (gst_type_find_element_handle_event):
7759 make GstElementDetails const
7761 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7763 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
7764 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7765 (gst_collect_pads_is_collected), (gst_collect_pads_event):
7766 more detailed debug and formatting cleanup,
7767 forward newsegments to src-pad (so that e.g. adder not eats them)
7769 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7771 * gst/gstutils.c: (gst_element_link_pads):
7774 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7776 * libs/gst/controller/gstcontroller.c:
7777 (gst_controller_sync_values):
7779 * tests/check/libs/controller.c: (GST_START_TEST),
7780 (gst_controller_suite):
7781 a new test for live value handling
7783 2006-04-28 Wim Taymans <wim@fluendo.com>
7785 * gst/gstutils.c: (push_and_ref):
7786 Added some more docs.
7787 Fix refcount issue whith gst_element_found_tags() helper
7788 function. Fixes #338335
7790 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7791 Added testsuite for gst_element_found_tags().
7793 2006-04-28 Michael Smith <msmith@fluendo.com>
7795 * gst/gstvalue.c: (gst_value_serialize_flags):
7796 Avoid NULL dereference when trying to serialize flags containing
7799 2006-04-28 Michael Smith <msmith@fluendo.com>
7801 * plugins/elements/gsttypefindelement.c:
7802 (gst_type_find_element_handle_event):
7803 If we get EOS before any data is accumulated, don't use
7804 uninitialised local variables.
7806 2006-04-28 Michael Smith <msmith@fluendo.com>
7808 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7809 (gst_dp_event_from_packet):
7810 Fixes in reading/writing events over GDP (not currently used?) -
7811 dereferencing NULL events for unknown/invalid event types, memory
7812 leak, and change g_warning to GST_WARNING.
7814 2006-04-28 Wim Taymans <wim@fluendo.com>
7816 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
7817 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7818 (gst_base_sink_get_position), (gst_base_sink_change_state):
7819 When frame dropping is enabled, we should not ignore frames
7821 Update some documentation.
7823 2006-04-28 Wim Taymans <wim@fluendo.com>
7825 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7826 (gst_base_src_send_event), (gst_base_src_change_state):
7827 Documentation updates.
7829 2006-04-28 Wim Taymans <wim@fluendo.com>
7831 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
7832 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
7833 handle EAGAIN, EINTR and short writes correctly. Also clean
7834 up some error cases, avoid a deadlock on bad file descriptors and
7835 use GST_DEBUG_OBJECT.
7838 2006-04-28 Wim Taymans <wim@fluendo.com>
7840 * gst/gstvalue.c: (gst_value_serialize_buffer),
7841 (gst_value_deserialize_buffer):
7842 Don't try to serialize a GValue with a NULL buffer.
7845 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7846 Added check for serialisation of NULL buffers.
7848 2006-04-28 Wim Taymans <wim@fluendo.com>
7850 * gst/gstminiobject.c: (gst_value_take_mini_object):
7851 Taking a NULL miniobject is valid, fix the case where
7852 we try to unref the NULL miniobject.
7854 2006-04-28 Wim Taymans <wim@fluendo.com>
7856 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7858 * gst/gstbin.c: (gst_bin_handle_message_func):
7860 Don't leak bin refcount when a state recalc is
7861 in progress and we delay another one #339808.
7863 2006-04-28 Wim Taymans <wim@fluendo.com>
7865 * docs/design/part-TODO.txt:
7866 Mention QoS as an ongoing work item.
7868 * docs/design/part-buffering.txt:
7869 New doc about buffering that needs to be fleshed out
7872 * docs/design/part-qos.txt:
7873 More QoS policy for decoders/demuxers/transforms
7875 * docs/design/part-trickmodes.txt:
7878 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7883 === release 0.10.5 ===
7885 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7888 releasing 0.10.5, "Fogo"
7890 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
7892 patch by: Wim Taymans
7894 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7895 (gst_pad_configure_src), (gst_pad_push):
7896 * gst/gstpipeline.c: (gst_pipeline_init):
7897 Fix internal data flow errors. Fixes #338711.
7899 2006-04-12 Wim Taymans <wim@fluendo.com>
7901 * tests/check/gst/gstelement.c: (GST_START_TEST):
7902 Don't leak the factory.
7904 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7907 * win32/common/config.h:
7910 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
7912 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7913 (gst_controller_unset_all):
7914 Free allocated GstTimedValues when freeing list nodes.
7915 Should fix leaks 'make check-valgrind' complains about.
7917 * win32/common/libgstcontroller.def:
7918 Add gst_controller_unset_all.
7920 2006-04-11 Stefan Kost <ensonic@users.sf.net>
7922 * docs/libs/gstreamer-libs-sections.txt:
7923 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7924 (gst_controller_unset_all):
7925 * libs/gst/controller/gstcontroller.h:
7926 API: Added new method gst_controller_unset_all()
7927 fixed gst_controller_unset()
7928 * tests/check/libs/controller.c: (GST_START_TEST),
7929 (gst_controller_suite):
7930 Added two testcases for new and fixed method
7932 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
7934 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7935 MSG_DONTWAIT is not defined on Cygwin, so work
7936 around that (fixes #317048).
7938 2006-04-11 Wim Taymans <wim@fluendo.com>
7940 * gst/gstelementfactory.c: (gst_element_register),
7941 (gst_element_factory_create), (gst_element_factory_make):
7944 Updated docs (Fixes #131079)
7946 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7949 * tests/check/gst/gstelement.c: (GST_START_TEST),
7950 (gst_element_suite):
7951 Added testcase for elementfactory class field.
7953 2006-04-10 Wim Taymans <wim@fluendo.com>
7956 Added some more docs.
7958 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7959 (gst_base_sink_reset_qos):
7960 Calculate more accurate rate values.
7962 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
7964 * gst/gst_private.h:
7965 add a new #ifdef to use __declspec(dllimport) only for
7966 other modules and not for gstreamer core
7967 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7968 use gst_guint64_to_gdouble for conversion
7969 * win32/common/libgstreamer.def:
7970 add new exported functions
7971 * win32/vs6/gst_inspect.dsp:
7972 * win32/vs6/gst_launch.dsp:
7973 * win32/vs6/libgstbase.dsp:
7974 * win32/vs6/libgstcontroller.dsp:
7975 * win32/vs6/libgstcoreelements.dsp:
7976 * win32/vs6/libgstdataprotocol.dsp:
7977 * win32/vs6/libgstnet.dsp:
7978 update project files
7980 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7982 * gst/gstbuffer.c: (gst_subbuffer_class_init):
7983 * gst/gstclock.c: (gst_clock_class_init):
7984 * gst/gstelement.c: (gst_element_class_init):
7985 * gst/gstindex.c: (gst_index_class_init):
7986 * gst/gstindexfactory.c: (gst_index_factory_class_init):
7987 * gst/gstobject.c: (gst_object_class_init),
7988 (gst_signal_object_class_init):
7989 * gst/gstpad.c: (gst_pad_class_init):
7990 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7991 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7992 * gst/gstregistry.c: (gst_registry_class_init):
7993 * gst/gstsystemclock.c: (gst_system_clock_class_init):
7994 * gst/gsttask.c: (gst_task_class_init):
7995 * gst/gstxml.c: (gst_xml_class_init):
7996 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7997 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7998 (gst_base_src_loop):
7999 * libs/gst/controller/gstcontroller.c:/
8000 (_gst_controller_class_init):
8001 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8002 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8003 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8004 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8005 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8006 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8008 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8010 * gst/gstpad.c: (gst_pad_link):
8011 Must set peer pads before calling the link function, otherwise
8012 a task started from a link function might get a flow-not-linked
8013 result when trying to push because the other thread where the
8014 linking happens hasn't had a chance to set the peers yet. This
8015 might happen for example when a queue gets linked to a downstream
8016 element, as queue starts a streaming task when its source pad
8017 gets linked. Happens in real life when playing back flac/musepack
8018 files in playbin (#332390).
8020 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8024 * libs/gst/base/gstadapter.h:
8025 * libs/gst/base/gstbasesink.h:
8026 * libs/gst/base/gstbasesrc.h:
8027 * libs/gst/base/gstbasetransform.h:
8028 * libs/gst/base/gstcollectpads.h:
8029 * libs/gst/base/gstpushsrc.h:
8030 Fix broken GObject macros
8032 2006-04-07 Wim Taymans <wim@fluendo.com>
8034 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8035 Initialize start and stop times, thanks valgrind.
8037 2006-04-07 Wim Taymans <wim@fluendo.com>
8039 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8040 Be a bit nicer to badly behaving upstream elements that expect
8041 us to deal with non TIME segments and timestamps (such as fakesrc
8044 2006-04-07 Wim Taymans <wim@fluendo.com>
8047 Small documentation clarification about the signal watch.
8049 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8050 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8051 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8052 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8053 (gst_base_sink_get_position_last),
8054 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8055 Convert and store timestamps in stream time and running time, the
8056 raw timestamps are not useful, also document this better.
8057 Use different window sizes for good and bad QoS observations so
8058 we react to badness a little quicker.
8059 Keep track of the amount of rendered and dropped buffers.
8060 Send QoS timestamps in running time.
8062 * libs/gst/base/gstbasetransform.c:
8063 (gst_base_transform_sink_eventfunc),
8064 (gst_base_transform_handle_buffer):
8065 Compare QoS timestamps against running time.
8067 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8072 2006-04-06 Michael Smith <msmith@fluendo.com>
8074 * gst/gstpad.c: (gst_pad_set_property):
8075 Use g_value_get_object() instead of g_value_dup_gst_object(),
8076 to avoid double-reffing the pad template (which we then sink,
8077 so this worked previously if (and only if) the pad template
8080 * gst/gstpadtemplate.c: (gst_pad_template_init),
8081 (gst_pad_template_pad_created):
8082 Never return floating references to pad templates, create
8083 them as initially-sunken.
8085 Document an extra function (and make this stop sinking our
8086 pad template, since that is now guaranteed to do nothing,
8087 since we created it sunken).
8089 * gst/gstghostpad.c:
8092 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8094 * gst/gstinfo.c: (__gst_in_valgrind):
8097 * plugins/elements/gsttypefindelement.c:
8098 (gst_type_find_element_chain):
8099 Don't leak buffer caps.
8101 2006-04-06 Michael Smith <msmith@fluendo.com>
8103 * gst/parse/grammar.y:
8104 Fix a leak in parse-launch for any source-or-sink named element
8107 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8108 Unref the pipeline if it exists after we've failed parsing.
8110 2006-04-05 Michael Smith <msmith@fluendo.com>
8112 * gst/gstpipeline.c: (gst_pipeline_init):
8113 When we create a pipeline bus, initially create it in flushing mode.
8114 Fixes leaks in at least one test, and makes a new pipeline work the
8115 same as one that has gone to READY and then back to NULL.
8120 2006-04-05 Michael Smith <msmith@fluendo.com>
8122 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8123 Unref a pad we reffed.
8124 * tests/check/gst/gstutils.c: (GST_START_TEST):
8127 2006-04-05 Michael Smith <msmith@fluendo.com>
8129 * gst/gstquery.c: (gst_query_set_formats),
8130 (gst_query_set_formatsv):
8131 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8133 2006-04-05 Michael Smith <msmith@fluendo.com>
8135 * tests/check/generic/sinks.c: (GST_START_TEST):
8136 Fix a variety of memleaks in sinks check, which are only sometimes
8137 shown by running the tests under valgrind (weird?).
8139 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8141 * docs/version.entities.in:
8142 Fix the substituted entity name after thomas' changes on the
8145 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8147 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8150 2006-04-05 Andy Wingo <wingo@pobox.com>
8152 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8154 * libs/gst/base/gstbasetransform.c
8155 (gst_base_transform_sink_eventfunc): When resetting our segment on
8156 FLUSH_STOP, also update the flag saying we haven't seen a
8159 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8161 Patch by: Paolo Borelli <pborelli at katamail dot com>
8163 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8164 (gst_plugin_check_license):
8165 minor clean-ups: G_DEFINE_TYPE already takes care of the
8166 parent_class stuff, no need to do it twice. Mark array of
8167 license strings as constant. (#337103)
8169 2006-04-04 Michael Smith <msmith@fluendo.com>
8171 * tools/gst-inspect.c: (print_element_list):
8172 Free the right plugin list; fixes a memory leak.
8174 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8176 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8178 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8179 Don't error out on empty buffers (#336945).
8181 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8183 * docs/libs/gstreamer-libs-sections.txt:
8185 * libs/gst/base/gstbasesink.c:
8186 * libs/gst/base/gstbasesink.h:
8187 * libs/gst/base/gstbasesrc.c:
8188 * libs/gst/base/gstbasesrc.h:
8189 Documentation updates. Make BaseSink and BaseSrc docs contain the
8190 class structure so that people can actually see the prototypes for
8191 virtual functions they're supposed to be overriding.
8193 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8195 * plugins/elements/gsttypefindelement.c:
8196 (gst_type_find_element_chain):
8197 More debug info; when skipping typefinding, send cached
8198 events in all cases.
8200 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8203 use new AS_VERSION and AS_NANO macros
8204 * gst/gst-i18n-lib.h:
8207 * gst/gstversion.h.in:
8208 * win32/common/config.h:
8209 * win32/common/config.h.in:
8212 2006-03-31 Michael Smith <msmith@fluendo.com>
8214 * plugins/elements/gsttypefindelement.c:
8215 (gst_type_find_element_chain):
8216 Do not typefind content if the buffers already have caps.
8217 Neccesary for icydemux (#333657), and the right thing to do anyway.
8219 2006-03-30 Wim Taymans <wim@fluendo.com>
8221 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8222 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8223 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8224 (gst_base_sink_record_qos_observation),
8225 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8226 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8227 (gst_base_sink_change_state):
8228 More QoS measurements as described in the design doc.
8229 Get rid of ringbuffer with observations, running average is
8230 more simple and equally good.
8231 Calculates valid proportion now.
8232 Added beginning of flood measurement.
8234 2006-03-29 Wim Taymans <wim@fluendo.com>
8236 * docs/design/part-qos.txt:
8238 Small documentation updates and additions.
8240 2006-03-29 Wim Taymans <wim@fluendo.com>
8242 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8243 (gst_base_src_send_event), (gst_base_src_loop),
8244 (gst_base_src_change_state):
8245 Perform the EOS logic when we reach the segment stop position.
8246 Fix compilation on gcc4.1
8248 2006-03-29 Wim Taymans <wim@fluendo.com>
8250 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8252 * plugins/elements/gstqueue.c: (gst_queue_init),
8253 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8254 (gst_queue_set_property):
8255 * plugins/elements/gstqueue.h:
8256 In queue, when EOS is received, if minimum threshold > max_size -
8257 current_level, there is chance that queue blocks forever in conditional
8258 item del wait. This is because the queue is not emptied completely due
8259 to minimum threshold. Here is another approach. Instead of setting
8260 cur_levels to max in EOS, just zero all minimum threshold levels. This
8261 should make sure that queue gives out all data. When going to READY
8262 (stop) state, just reset the original minimum threshold levels.
8265 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8267 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8268 (gst_type_find_element_handle_event),
8269 (gst_type_find_element_send_cached_events),
8270 (gst_type_find_element_change_state):
8271 * plugins/elements/gsttypefindelement.h:
8272 When typefinding is done in push mode, we should cache
8273 events we receive during typefinding instead of just
8274 dropping them (e.g. newsegment, custom events from
8275 dvdreadsrc etc.) and then send them out once we've
8276 determined the type of the stream (and decodebin
8277 has had a chance to plug in a decoder/demuxer).
8279 2006-03-27 Wim Taymans <wim@fluendo.com>
8281 * docs/design/part-qos.txt:
8284 2006-03-27 Wim Taymans <wim@fluendo.com>
8286 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8288 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8289 (gst_base_src_send_event), (gst_base_src_change_state):
8290 Handle element seek correctly when we are streaming.
8293 2006-03-24 Michael Smith <msmith@fluendo.com>
8295 * docs/faq/gst-uninstalled:
8296 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8297 allow you to correctly run intalled applications built against old
8298 core, using plugins that require updated core (e.g. running
8299 installed totem against a full uninstalled gstreamer stack)
8301 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8303 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8306 2006-03-24 Wim Taymans <wim@fluendo.com>
8308 * docs/gst/gstreamer-sections.txt:
8309 Rearrange the order of the methods so that related methods
8310 are grouped together in sections.
8312 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8315 Little clarification in the docs
8317 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8321 * plugins/elements/gstidentity.c:
8322 * plugins/elements/gstqueue.c:
8323 * plugins/elements/gsttee.c:
8324 * plugins/elements/gsttypefindelement.c:
8325 GST_ELEMENT_DETAILS formatting
8327 2006-03-24 Wim Taymans <wim@fluendo.com>
8329 * libs/gst/base/gstbasesink.h:
8330 Only add fields, not insert or we break ABI.
8332 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8334 * win32/common/libgstbase.def:
8335 * win32/common/libgstreamer.def:
8336 Update, add recently added functions.
8338 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8340 * docs/gst/gstreamer-sections.txt:
8341 * gst/gstutils.c: (gst_pad_query_peer_position),
8342 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8344 API: add some new utility functions:
8345 - gst_pad_query_peer_position()
8346 - gst_pad_query_peer_duration()
8347 - gst_pad_query_peer_convert()
8349 2006-03-23 Wim Taymans <wim@fluendo.com>
8351 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8352 (gst_base_sink_init), (gst_base_sink_finalize),
8353 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8354 (gst_base_sink_set_property), (gst_base_sink_get_property),
8355 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8356 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8357 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8358 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8359 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8360 (gst_base_sink_preroll_object), (gst_base_sink_event),
8361 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8362 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8363 (gst_base_sink_query), (gst_base_sink_change_state):
8364 Decouple max-lateness and the fact that QoS messages are generated
8365 with a new property (qos).
8366 added API: GstBaseSink::async_play()
8367 Add vmethod so subclasses can be notified of ASYNC playing
8369 Collect timestamp start and stop to report better current
8370 position in EOS/PLAYING/PAUSED/READY/NULL.
8371 Refactor QoS/frame dropping and other measurements.
8372 API: GstBaseSrc::qos
8375 * libs/gst/base/gstbasesink.h:
8376 Added Private struct.
8377 API: gst_base_sink_set_qos_enabled()
8378 API: gst_base_sink_is_qos_enabled()
8380 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8382 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8383 If compiling against GLib-2.8 or newer, try to read the
8384 registry file using GMappedFile first before falling back
8385 to fopen() + fread() (#332151).
8387 2006-03-22 Wim Taymans <wim@fluendo.com>
8389 * gst/gstinfo.c: (gst_debug_set_active),
8390 (gst_debug_category_set_threshold):
8391 Disable debugging unless explicitly activated.
8394 2006-03-22 Wim Taymans <wim@fluendo.com>
8396 * gst/gstelement.c: (gst_element_set_locked_state),
8397 (gst_element_dispose):
8398 Cleanup the error case.
8400 * gst/gstobject.c: (gst_object_dispose):
8401 print a critical when some object was disposed with
8402 a parent, also revive the object since it might
8405 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8407 * tools/gst-launch.1.in:
8410 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8413 * tests/check/Makefile.am:
8414 disable some tests when we don't have a registry
8415 * tests/check/gst/gstutils.c: (gst_utils_suite):
8416 don't build the part that needs parsing
8418 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8421 * tests/examples/Makefile.am:
8422 fix --disable-parse build
8424 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8426 * tools/gst-feedback.1.in:
8427 Fix typo: s/feeback/feedback/ (#133494).
8429 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8431 * tools/Makefile.am:
8432 * tools/gst-launch.1.in:
8433 Add FILES section and correct entry about GST_REGISTRY_PATH
8434 environment variable (#133495; #133494).
8436 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8438 * tools/Makefile.am:
8439 * tools/gst-md5sum.1.in:
8440 * tools/gst-md5sum.c:
8441 Remove gst-md5sum and man page (the md5sink element
8442 required was removed ages ago)
8444 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8446 * gst/gststructure.c: (gst_structure_id_set_value):
8447 Make sure that string fields in structures/taglists
8448 contain valid UTF-8 - we don't want to pass rubbish to
8449 applications because of a buggy plugin (cp. #334167).
8451 2006-03-21 Edward Hervey <edward@fluendo.com>
8453 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8454 (gst_bin_handle_message_func):
8455 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8456 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8457 (gst_element_set_bus_func):
8458 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8459 * gst/gstminiobject.c: (gst_value_set_mini_object),
8460 (gst_value_take_mini_object):
8461 * gst/gstpad.c: (gst_pad_set_pad_template):
8462 * gst/gstpipeline.c: (gst_pipeline_dispose),
8463 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8464 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8465 (gst_collect_pads_chain):
8466 * libs/gst/net/gstnettimeprovider.c:
8467 (gst_net_time_provider_set_property):
8468 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8469 It's in fact all issues with gst_*object_replace().
8471 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8473 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
8475 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8476 * pkgconfig/gstreamer-check.pc.in:
8477 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8479 2006-03-21 Edward Hervey <edward@fluendo.com>
8484 gst_[buffer|event|message]_ref() macros are replaced by a static
8485 inline functions because gcc-4.1 will about if the return value
8487 * tests/check/gst/gstevent.c: (event_probe):
8488 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8490 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
8493 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8494 the type' case. (Closes: #335195 for now). In the future, when we
8495 depend on GLib 2.10, we could also intern the type name using
8496 g_intern_static_string()
8498 2006-03-20 Wim Taymans <wim@fluendo.com>
8500 * gst/gstbin.c: (gst_bin_handle_message_func),
8501 (bin_query_max_init), (bin_query_position_fold),
8502 (bin_query_position_done), (gst_bin_query):
8503 Position query should also take max of all streams.
8505 2006-03-20 Wim Taymans <wim@fluendo.com>
8507 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8508 (gst_fake_src_finalize):
8509 Fix leaks in fakesrc.
8511 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8512 Fix leaks in the testcase.
8514 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
8516 * gst/gst_private.h:
8517 add win32 specific import decoration(__declspec(dllimport))
8518 for all extern GstDebugCategory * variables
8519 * win32/common/libgstbase.def:
8520 * win32/common/libgstcontroller.def:
8521 * win32/common/libgstreamer.def:
8522 Add some exports, remove empty lines
8523 * win32/common/libgstdataprotocol.def:
8524 * win32/common/libgstdataprotocol.dsp:
8525 * win32/common/libgstnet.def:
8526 * win32/common/libgstnet.dsp:
8527 new project files and exportation files added
8529 2006-03-19 Wim Taymans <wim@fluendo.com>
8531 * tests/check/libs/basesrc.c: (eos_event_counter):
8532 Use proper return value for probe.
8534 2006-03-17 Wim Taymans <wim@fluendo.com>
8536 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8538 Don't leak buffers, caps and pads on negotiation errors.
8540 2006-03-16 Stefan Kost <ensonic@users.sf.net>
8543 * docs/faq/dependencies.xml:
8544 * docs/faq/developing.xml:
8546 * docs/faq/general.xml:
8547 * docs/faq/getting.xml:
8548 * docs/faq/legal.xml:
8549 * docs/faq/troubleshooting.xml:
8550 * docs/faq/using.xml:
8551 Faq review and update.
8553 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
8555 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8557 Don't pound the cpu to pieces by checking get_caps when accept_caps
8558 is called with the same caps as the pad already has.
8559 Use GST_DEBUG_OBJECT when outputting caps change information.
8561 2006-03-15 Wim Taymans <wim@fluendo.com>
8563 * gst/gstclock.c: (gst_clock_class_init):
8566 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
8571 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
8572 (gst_pad_accept_caps), (gst_pad_configure_sink),
8573 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
8574 Make the default acceptcaps behaviour be to check the requested
8575 caps against the gst_pad_get_caps output.
8577 Ensure that gst_pad_accept_caps is used to check caps when a pad
8578 doesn't have a setcaps function, so that pads automatically refuse
8579 caps that they don't allow in their pad template. (Fixes #332986)
8581 When a buffer with attached caps is pushed, ensure that the source
8582 pad receives those caps even if the element didn't call
8583 gst_pad_set_caps first.
8585 2006-03-15 Wim Taymans <wim@fluendo.com>
8587 * libs/gst/base/gstadapter.c:
8590 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
8592 * win32/common/libgstbase.def:
8593 * win32/common/libgstcontroller.def:
8594 * win32/common/libgstreamer.def:
8595 Add a whole bunch of missing functions (#334434).
8597 2006-03-14 Wim Taymans <wim@fluendo.com>
8599 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8600 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8601 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
8602 Better debug info when we receive a segment event.
8603 Reorganize a bit so we can pass the get_times() results around.
8604 Use the segment format when calculating the running time.
8605 Don't do QoS is sync is disabled or we have no clock or the
8606 element does not want us to sync to the clock.
8607 Don't drop buffers if QoS is disabled for now.
8609 2006-03-14 Wim Taymans <wim@fluendo.com>
8611 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
8612 Marked the stats property as unimplemented so people don't get
8614 Add debug message when regression goes wrong.
8615 Added some more docs.
8617 2006-03-14 Wim Taymans <wim@fluendo.com>
8619 * gst/gstsegment.c: (gst_segment_to_stream_time):
8620 Return correct return type in case of errors.
8622 2006-03-14 Wim Taymans <wim@fluendo.com>
8624 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
8625 Don't segfault on invalid formats.
8627 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
8629 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8630 Can't use gst_segment_to_running_time() when the segment
8631 is not in GST_TIME_FORMAT (like with filesink, for example).
8632 Stops flac encoding pipelines from spewing critical warnings
8635 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
8637 * gst/gstpipeline.c: (gst_pipeline_class_init):
8638 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
8640 * plugins/elements/gsttypefindelement.c:
8641 (gst_type_find_element_handle_event):
8642 Don't try to typefind empty streams.
8644 2006-03-14 Wim Taymans <wim@fluendo.com>
8646 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8647 (gst_base_sink_do_qos):
8648 Separate QoS calculation.
8649 Only drop buffers when lateness is bigger than the
8650 duration of the buffer.
8652 2006-03-13 Wim Taymans <wim@fluendo.com>
8654 * gst/gstpipeline.c: (gst_pipeline_set_property),
8655 (gst_pipeline_get_property), (do_pipeline_seek),
8656 (gst_pipeline_change_state), (gst_pipeline_set_delay),
8657 (gst_pipeline_get_delay):
8658 Don't deadlock when reading properties.
8660 2006-03-13 Wim Taymans <wim@fluendo.com>
8662 * libs/gst/base/gstbasetransform.c:
8663 (gst_base_transform_class_init), (gst_base_transform_init),
8664 (gst_base_transform_sink_event),
8665 (gst_base_transform_sink_eventfunc),
8666 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
8667 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8668 (gst_base_transform_set_property),
8669 (gst_base_transform_get_property),
8670 (gst_base_transform_change_state), (gst_base_transform_update_qos),
8671 (gst_base_transform_set_qos_enabled),
8672 (gst_base_transform_is_qos_enabled):
8673 * libs/gst/base/gstbasetransform.h:
8674 Make basetransform virtual method for src events too.
8675 Handle QOS in basetransform.
8676 API: gst_base_transform_update_qos()
8677 API: gst_base_transform_set_qos_enabled()
8678 API: gst_base_transform_is_qos_enabled()
8680 2006-03-13 Wim Taymans <wim@fluendo.com>
8682 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8683 (gst_base_sink_do_sync):
8685 Use QOS debug category.
8687 2006-03-13 Wim Taymans <wim@fluendo.com>
8689 * plugins/elements/gstqueue.c:
8690 Very small doc update.
8692 2006-03-13 Wim Taymans <wim@fluendo.com>
8694 * gst/gst_private.h:
8695 * gst/gstinfo.c: (_gst_debug_init):
8696 Added QOS debug category
8698 2006-03-13 Wim Taymans <wim@fluendo.com>
8700 * docs/gst/gstreamer-sections.txt:
8701 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
8703 * gst/gstbus.c: (gst_bus_class_init):
8706 * gst/gstelement.c: (gst_element_set_locked_state):
8708 Documentation updates.
8710 * gst/gstpipeline.c: (gst_pipeline_get_type),
8711 (gst_pipeline_class_init), (gst_pipeline_init),
8712 (gst_pipeline_dispose), (gst_pipeline_set_property),
8713 (gst_pipeline_get_property), (do_pipeline_seek),
8714 (gst_pipeline_send_event), (gst_pipeline_change_state),
8715 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
8716 (gst_pipeline_get_delay):
8717 * gst/gstpipeline.h:
8718 Added methods for setting the delay.
8719 API: gst_pipeline_set_delay()
8720 API: gst_pipeline_get_delay()
8721 Add pipeline debug category
8724 Don't reset stream time when seek failed.
8726 2006-03-13 Wim Taymans <wim@fluendo.com>
8728 * docs/design/draft-klass.txt:
8729 * docs/design/part-clocks.txt:
8730 * docs/design/part-events.txt:
8731 * docs/design/part-gstbin.txt:
8732 * docs/design/part-gstpipeline.txt:
8733 * docs/design/part-messages.txt:
8734 * docs/design/part-negotiation.txt:
8735 * docs/design/part-overview.txt:
8736 * docs/design/part-preroll.txt:
8737 * docs/design/part-seeking.txt:
8738 * docs/design/part-states.txt:
8739 * docs/design/part-streams.txt:
8740 Documentation updates.
8742 2006-03-12 Julien MOUTTE <julien@moutte.net>
8744 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
8745 us to leak strings...
8747 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
8749 * libs/gst/net/gstnettimeprovider.c:
8751 * win32/common/config.h:
8754 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
8756 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
8759 Don't check for libgnomeui (leftover from old examples
8760 that aren't built or disted any longer) (#334303).
8762 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
8764 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
8765 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8766 Emit RESOURCE_NO_SPACE_LEFT error here as well when
8767 there's no space left on the device.
8769 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
8772 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
8773 to cast the input to GstClockTime before comparing with
8774 another GstClockTime value.
8776 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8781 === release 0.10.4 ===
8783 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8786 releasing 0.10.4, "Light"
8788 2006-03-10 Michael Smith <msmith@fluendo.com>
8790 * libs/gst/dataprotocol/dataprotocol.c:
8791 Fix docs for dataprocotol to not get the return types completely
8792 wrong for a few functions.
8794 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8796 * docs/gst/gstreamer-sections.txt:
8797 * gst/gstpipeline.c: (gst_pipeline_class_init),
8798 (gst_pipeline_init), (gst_pipeline_set_property),
8799 (gst_pipeline_get_property), (gst_pipeline_change_state),
8800 (gst_pipeline_set_auto_flush_bus),
8801 (gst_pipeline_get_auto_flush_bus):
8802 * gst/gstpipeline.h:
8803 Add new API: gst_pipeline_set_auto_flush_bus() and
8804 gst_pipeline_get_auto_flush_bus() to disable automatic
8805 flushing of the pipeline's GstBus when going from READY
8806 to NULL state (#332045).
8808 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8810 * docs/gst/gstreamer-sections.txt:
8811 * gst/gsturi.c: (gst_uri_has_protocol):
8813 Add new API: gst_uri_has_protocol() (#333779).
8815 2006-03-09 Wim Taymans <wim@fluendo.com>
8817 * gst/gstclock.c: (gst_clock_entry_new),
8818 (gst_clock_id_compare_func), (gst_clock_id_wait),
8819 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
8820 (gst_clock_init), (gst_clock_get_internal_time),
8821 (gst_clock_set_master), (do_linear_regression),
8822 (gst_clock_add_observation), (gst_clock_set_property):
8826 Fix a possible segfault when the window-size is made smaller.
8827 Calculate jitter before performing the clock wait. Ideally
8828 the clock implementation should calculate jitter but we need
8829 API breakage for that.
8831 * gst/gstsystemclock.c: (gst_system_clock_init):
8834 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8835 Remove leftover else
8837 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8838 (gst_systemclock_suite):
8839 Added check to test GST_CLOCK_DIFF.
8841 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8843 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
8844 (gst_type_find_helper_get_range):
8845 If we are provided with the size, we should implement
8846 GstTypeFind::get_length, so that typefind functions who
8847 want to can actually peek at the middle of a file.
8849 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
8851 * docs/manual/advanced-dataaccess.xml:
8852 Add some very very basic error checking.
8854 * docs/pwg/appendix-checklist.xml:
8855 Some updates to the list of things to check when writing an element.
8857 2006-03-08 Wim Taymans <wim@fluendo.com>
8859 * docs/design/part-element-transform.txt:
8860 Added some docs about the design of tranform elements.
8862 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8863 (gst_base_src_loop), (gst_base_src_change_state):
8864 Mark buffers with the DISCONT flag.
8866 2006-03-08 Michael Smith <msmith@fluendo.com>
8868 * gst/gstregistry.h:
8869 * gst/gstregistryxml.c: (gst_registry_save),
8870 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8871 (gst_registry_xml_save_pad_template),
8872 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8873 (gst_registry_xml_write_cache):
8874 Rewrite registry-saving to avoid race conditions and check for
8877 2006-03-08 Wim Taymans <wim@fluendo.com>
8879 * libs/gst/base/gstbasetransform.c:
8880 (gst_base_transform_transform_caps),
8881 (gst_base_transform_transform_size),
8882 (gst_base_transform_prepare_output_buffer),
8883 (gst_base_transform_get_unit_size),
8884 (gst_base_transform_buffer_alloc),
8885 (gst_base_transform_handle_buffer),
8886 (gst_base_transform_change_state):
8887 Cleanups, separate normal flow from errors, add sensible
8889 Don't try to renegotiate when allocating an output buffer.
8890 Also copy DISCONT buffer flag when copying a buffer.
8891 Reset the transform after we finish streaming, not during.
8893 2006-03-08 Wim Taymans <wim@fluendo.com>
8895 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8896 Use last buffer timestamp in qos message.
8898 2006-03-07 Wim Taymans <wim@fluendo.com>
8900 Patch by: Christophe Fergeau
8902 * docs/pwg/advanced-tagging.xml:
8903 * docs/pwg/building-pads.xml:
8906 2006-03-07 Wim Taymans <wim@fluendo.com>
8908 * docs/libs/gstreamer-libs-sections.txt:
8909 Added basesink new methods.
8913 Docs updates. Flesh out the QoS docs.
8915 * libs/gst/base/gstadapter.c:
8916 Small doc clarification about ownership and flushing.
8918 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8919 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8920 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8921 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8922 * libs/gst/base/gstbasesink.h:
8924 Added new methods to allow subclass to control max-lateness
8926 Generate very basic QoS events based on last sync observation.
8927 Updated docs, fix typo, added some QoS blurb.
8929 * libs/gst/base/gstbasesrc.c:
8930 Remove obsolete _get_state() calls from docs.
8932 2006-03-07 Wim Taymans <wim@fluendo.com>
8934 * docs/libs/gstreamer-libs-sections.txt:
8935 * libs/gst/base/gstbasetransform.h:
8936 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8937 Fix docs for GstBaseSrc.
8939 2006-03-07 Wim Taymans <wim@fluendo.com>
8941 * docs/gst/gstreamer-sections.txt:
8944 * libs/gst/base/gstbasetransform.h:
8945 Small documentation fixes.
8947 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8950 Document thread-unsafety of gst_value_register_foo_func()
8951 when used at the same time as gst_value_foo() (#322628).
8953 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8955 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8956 (gst_push_src_check_get_range):
8957 Push sources don't support pull mode by default.
8959 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8961 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8962 (gst_base_src_init), (gst_base_src_pad_check_get_range),
8963 (gst_base_src_default_check_get_range):
8964 * libs/gst/base/gstbasesrc.h:
8965 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8966 provide default implementation, and rename
8967 gst_base_src_check_get_range() to
8968 gst_base_src_pad_check_get_range() for clarity.
8970 2006-03-06 Wim Taymans <wim@fluendo.com>
8972 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8973 Make property overridable.
8975 2006-03-06 Wim Taymans <wim@fluendo.com>
8977 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8978 (gst_base_sink_init), (gst_base_sink_set_property),
8979 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8980 * libs/gst/base/gstbasesink.h:
8981 API addition: Make max-lateness a property.
8983 2006-03-06 Wim Taymans <wim@fluendo.com>
8985 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8986 (gst_base_sink_do_sync), (gst_base_sink_render_object):
8987 Don't ever draw a frame that is >10ms late.
8989 2006-03-06 Michael Smith <msmith@fluendo.com>
8991 * gst/gstmessage.c: (_gst_message_copy):
8992 When copying a message, set the parent_refcount of the enclosed
8993 structure to point at the copy, not the original message.
8995 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8997 Patch by: Christophe Fergeau
9000 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9001 usable in c++ code (#333417)
9003 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9006 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9008 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9010 * libs/gst/base/gstbasetransform.c:
9011 (gst_base_transform_transform_caps):
9012 Make sure caps are writable before passing them to
9015 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9018 Fix some minor docs errors.
9020 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9022 Patch by: Ross Burton <ross at burtonini dot com>
9024 * gst/gsterror.c: (_gst_resource_errors_init):
9026 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9028 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9031 Add a check and output a g_warning when GStreamer is built
9032 against GLib 2.6 but running against 2.8 or higher, and vice
9033 versa. (Closes: #323542)
9035 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9037 * gst/parse/parse.l:
9038 Commit patch for parse_launch syntax from #331255. Removes
9039 support for quoted strings and mimetypes when writing filtered
9040 caps. See the bug report for more details - I'm pretty sure this
9041 obscure feature is not in use by _anyone_ anywhere.
9043 With this simple change, the size of the gstreamer.so here
9044 drops from 2193KB to 1565KB.
9046 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9048 * plugins/elements/gsttypefindelement.h:
9049 * plugins/elements/gsttypefindelement.c:
9050 (gst_type_find_element_src_event), (start_typefinding),
9051 (stop_typefinding), (gst_type_find_element_handle_event),
9052 (gst_type_find_element_chain),
9053 (gst_type_find_element_chain_do_typefinding):
9054 Use gst_type_find_helper_for_buffer() for chain-based
9057 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9059 * plugins/elements/gsttypefindelement.c:
9060 (gst_type_find_element_class_init),
9061 (gst_type_find_element_set_property),
9062 (gst_type_find_element_get_property):
9063 Deprecate "maximum" property (not only was it only taken into
9064 account for typefinding in push-mode anyway, it also was never
9065 actually possible to set it in the first place because the
9066 property was registered with the numeric property ID for the
9067 "minimum" property). Register "maximum" property correctly,
9068 for the sake of future copy'n'pasters. Remove some cruft
9069 from property get/set functions.
9071 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9073 * plugins/elements/gsttypefindelement.c:
9074 (gst_type_find_element_activate):
9075 Use gst_type_find_helper_get_range() here, so we
9076 can honour the "minimum" property and also emit
9077 the signal with the correct probability of the found caps.
9079 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9081 * docs/libs/gstreamer-libs-sections.txt:
9082 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9083 (helper_find_suggest), (gst_type_find_helper_get_range),
9084 (gst_type_find_helper):
9085 * libs/gst/base/gsttypefindhelper.h:
9086 New API: gst_type_find_helper_get_range() (#333042).
9088 2006-03-02 Michael Smith <msmith@fluendo.com>
9090 * gst/gstregistryxml.c: (load_feature):
9091 Asserting on a failure to read part of the registry is Not Cool.
9092 Just log a warning and return NULL (which is already handled)
9094 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9096 * win32/common/libgstbase.def:
9097 added export of gst_type_find_helper_for_buffer
9098 * win32/common/libgstbase.def:
9099 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9100 gst_ghost_pad_get_target
9102 2006-02-28 Wim Taymans <wim@fluendo.com>
9104 * docs/design/draft-klass.txt:
9106 Added Connector to mark elements that are only used to
9107 allow pipeline connections.
9108 Moved Debug to extra feature since most of them are
9109 functionally something else.
9111 2006-02-28 Wim Taymans <wim@fluendo.com>
9113 * docs/design/draft-klass.txt:
9114 Some updates and clarifications.
9116 2006-02-28 Wim Taymans <wim@fluendo.com>
9118 * docs/design/draft-klass.txt:
9119 Proposal for klass field values.
9121 * docs/design/part-streams.txt:
9122 Start of a doc describing stream anatomy.
9124 2006-02-28 Wim Taymans <wim@fluendo.com>
9126 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9127 Help the compiler a bit with type registration.
9128 Use existing forward cod path instead of duplicating it when
9131 * gst/gstbus.c: (gst_bus_get_type):
9132 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9133 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9134 * gst/gstclock.c: (gst_clock_get_type):
9135 * gst/gstelement.c: (gst_element_get_type),
9136 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9137 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9138 * gst/gstminiobject.c: (gst_mini_object_get_type):
9139 * gst/gstpad.c: (gst_pad_get_type):
9140 * gst/gstsegment.c: (gst_segment_get_type):
9141 * gst/gststructure.c: (gst_structure_get_type):
9142 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9143 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9145 Help compiler with type registration.
9147 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9150 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9152 * plugins/elements/gsttypefindelement.c:
9153 (gst_type_find_element_handle_event):
9154 When we get an EOS event and have not found a type yet
9155 (most likely because we had not yet accumulated
9156 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9157 type given the data we have so far. Fixes typefinding
9158 for very short streams again, most notably quicktime
9159 redirections as used on Apple's trailer site (#331701).
9161 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9163 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9164 (gst_type_find_helper):
9165 Try typefinding factories with the highest rank first.
9167 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9169 * docs/libs/gstreamer-libs-docs.sgml:
9170 * docs/libs/gstreamer-libs-sections.txt:
9171 * libs/gst/base/gsttypefindhelper.c:
9172 Add section for typefind helper and add documentation
9173 for the old and the new function.
9175 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9177 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9178 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9179 (gst_type_find_helper_for_buffer):
9180 * libs/gst/base/gsttypefindhelper.h:
9181 New API: gst_type_find_helper_for_buffer() (#332723).
9183 2006-02-27 Michael Smith <msmith@fluendo.com>
9185 Patch by: Loïc Minier
9189 * docs/slides/Makefile.am:
9190 prevent CVS directories getting disted.
9192 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9194 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9195 Use the REFCOUNTING category for caps refcounting.
9197 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9199 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9200 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9202 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9204 * plugins/elements/gsttypefindelement.c:
9205 (gst_type_find_element_activate):
9206 Use gst_pad_check_pull_range() before _activate_pull()
9207 to avoid unnecessary open/close (see #331690).
9209 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9212 Docs enhancement: make it crystal clear what the
9213 gst_pad_add_*_probe() callbacks should look like.
9215 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9217 * libs/gst/base/gstbasesrc.c:
9218 Document how applications can stop recording from
9219 live sources (see #330996).
9221 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9223 * tests/check/Makefile.am:
9224 * tests/check/libs/basesrc.c: (eos_event_counter),
9225 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9226 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9227 (gst_basesrc_suite), (main):
9228 ... and add some tests for the base source EOS stuff.
9230 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9232 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9233 Test case originally showed the problem fixed below,
9234 but was then amended. Add checks back at the place
9235 where they used to be.
9237 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9239 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9240 (gst_base_src_init), (gst_base_src_loop),
9241 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9242 (gst_base_src_change_state):
9243 * libs/gst/base/gstbasesrc.h:
9244 Don't unconditionally send EOS when going from PAUSED to
9245 READY state, esp. make sure we don't send two EOS events
9246 in some cases (e.g. one when reaching EOS and one when
9247 going from PAUSED to READY). Also, we don't want to send
9248 EOS events when operating in pull mode. However, we do
9249 want to send an EOS event when shutting down a live
9250 source explicitly, for example (fixes #330996).
9252 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9254 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9255 Update src->read_position after a seek when not using mmap.
9256 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9258 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9264 Make things work with --disable-parse as they do with
9265 --disable-load-save - the symbols involved disappear, but the
9266 header is still installed and GST_DISABLE_PARSE is included via
9269 2006-02-20 Julien MOUTTE <julien@moutte.net>
9271 * libs/gst/base/gstbasetransform.c:
9272 (gst_base_transform_change_state): Fix a stupid bug. I was
9273 sure I compiled that.
9275 2006-02-20 Julien MOUTTE <julien@moutte.net>
9277 * gst/gstpad.c: (gst_pad_set_blocked_async):
9278 * gst/gstutils.c: (gst_pad_add_data_probe),
9279 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9280 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9281 (gst_pad_remove_buffer_probe): Make those function act on the
9282 ghostpad target when it's a ghostpad. (Closes #331727)
9284 2006-02-20 Julien MOUTTE <julien@moutte.net>
9286 * libs/gst/base/gstbasetransform.c:
9287 (gst_base_transform_change_state): Make basetransform reusable.
9290 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9292 * docs/random/release:
9293 Move the current documentation of how to do a release to the top
9296 * gst/gstbin.c: (gst_bin_class_init),
9297 (gst_bin_handle_message_func):
9298 Allow multiple state-recalculation threads. (Closes #328873)
9300 2006-02-19 Julien MOUTTE <julien@moutte.net>
9302 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9303 * gst/gstpad.c: (gst_pad_set_event_function),
9304 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9305 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9306 2 strings. You can't use the STR_NULL macro on that.
9308 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9310 * gst/gstpad.c: (gst_pad_set_event_function),
9311 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9312 (gst_pad_set_getcaps_function)
9313 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9314 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9315 So now, we can use --gst-debug-level=5 on Windows
9316 * win32/common/libgstcontroller.def:
9317 Added export of gst_controller_init
9318 * win32/vs6/libgstcontroller.dsp:
9319 Fixed Release post build configuration
9321 2006-02-17 Wim Taymans <wim@fluendo.com>
9323 * tests/check/gst/gstquery.c: (GST_START_TEST):
9324 Added another check.
9326 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9328 * plugins/elements/gsttypefindelement.c: (find_peek):
9329 We can do peeks at non-zero offsets, as long as they
9330 fall within the buffer we have.
9332 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9334 * tests/check/Makefile.am:
9335 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9336 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9337 (parse_suite), (main):
9338 Add testsuite for parse launch syntax
9340 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9342 * plugins/elements/gsttypefindelement.c:
9343 (gst_type_find_element_chain):
9344 When typefinding is unsuccessful in the chain function, don't
9345 error out immediately. Only error out with NO_CAPS_FOUND if
9346 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9347 otherwise simply wait for more data so we can try typefinding
9348 again with more data later. Also, don't attempt to typefind
9349 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9350 this should improve typefinding from network sources where the
9351 size of the first buffer can be somewhat random.
9353 2006-02-14 Wim Taymans <wim@fluendo.com>
9355 * docs/gst/gstreamer-sections.txt:
9356 * gst/gstpadtemplate.c:
9357 * gst/gstpadtemplate.h:
9358 Fix padtemplate docs, fixes #328805.
9360 2006-02-14 Wim Taymans <wim@fluendo.com>
9362 * tools/gst-launch.c: (main):
9363 NO_PREROLL is not an ERROR so don't send confusing messages
9366 2006-02-14 Wim Taymans <wim@fluendo.com>
9368 Patch by: Torsten Schoenfeld
9370 * gst/gstregistry.c: (gst_registry_get_default),
9371 (_gst_registry_cleanup):
9372 Protect default registry with lock and ref/sink it.
9375 2006-02-14 Wim Taymans <wim@fluendo.com>
9378 * gst/gstquery.c: (gst_query_list_add_format),
9379 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9380 (gst_query_parse_formats_nth):
9381 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9384 2006-02-14 Wim Taymans <wim@fluendo.com>
9386 * docs/gst/gstreamer-sections.txt:
9387 Reworked query docs.
9389 * gst/gstquery.c: (gst_query_new_formats),
9390 (gst_query_list_add_format), (gst_query_set_formats),
9391 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9392 (gst_query_parse_formats_nth):
9394 Flesh out formats query, added some new methods.
9395 Fix part of #324398.
9397 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9398 Added query creation tests.
9400 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9402 * gst/gstpad.c: (fixate_value):
9403 Add a default fixation for fraction lists.
9405 2006-02-13 Wim Taymans <wim@fluendo.com>
9407 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9408 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9411 Detect and warn for obvious deadlocks. fixes #320340
9412 Fix error case where lock was not released.
9414 * tests/check/Makefile.am:
9415 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9416 (task_func), (gst_element_suite), (main):
9419 2006-02-13 Wim Taymans <wim@fluendo.com>
9421 * docs/gst/gstreamer-sections.txt:
9423 Add new functions to docs.
9425 2006-02-13 Wim Taymans <wim@fluendo.com>
9427 * docs/design/part-TODO.txt:
9428 Updated TODO list, basesrc supports seeking to non-bytes
9431 * docs/design/part-element-sink.txt:
9434 * gst/gstbin.c: (bin_replace_message),
9435 (gst_bin_handle_message_func):
9436 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9437 * gst/gstevent.c: (gst_event_finalize):
9438 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9439 (gst_pad_send_event):
9440 Use shiny new _TYPE_NAME macros.
9442 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9443 Move debug statement up.
9445 * gst/gstelement.c: (gst_element_set_locked_state):
9448 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
9450 * docs/gst/gstreamer-sections.txt:
9453 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9454 macros (#330906). Also, document the already existing
9455 GST_QUERY_TYPE macro.
9457 2006-02-13 Wim Taymans <wim@fluendo.com>
9459 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9460 (event_probe), (GST_START_TEST):
9461 Only events up to the pipeline EOS are counted, there are
9462 some more when going to NULL currently which we don't care
9465 2006-02-13 Wim Taymans <wim@fluendo.com>
9467 * gst/gstpad.c: (gst_pad_send_event):
9468 Correctly check flushing and emit probes. fixes #330125
9470 2006-02-10 Andy Wingo <wingo@pobox.com>
9472 * gst/gstbus.c (gst_bus_class_init): Declare our private data
9474 (gst_bus_init): Cache the location of the private data in the
9476 (gst_bus_enable_sync_message_emission)
9477 (gst_bus_disable_sync_message_emission): Implement new public
9479 (gst_bus_post): Emit the sync-message signal if the user asked for
9482 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9483 location of the bus-private structure.
9484 (gst_bus_enable_sync_message_emission)
9485 (gst_bus_disable_sync_message_emission): API addition
9487 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
9489 Patch by: Vincent Torri
9491 * docs/pwg/building-boiler.xml:
9492 PWG patch from #326800
9494 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
9498 * docs/design/Makefile.am:
9501 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9506 === release 0.10.3 ===
9508 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9511 releasing 0.10.3, "Like a virgin"
9513 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
9516 2nd prerelease of 0.10.3
9517 Bump libtool versioning.
9519 2006-02-07 Andy Wingo <wingo@pobox.com>
9521 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
9522 update last_stop if we're in TIME format and the timestamp is
9525 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
9526 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
9527 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
9528 If we get a new newsegment with a different format, adapt
9531 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
9532 of 0. Not a problem, really.
9534 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
9537 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
9542 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
9545 project files updated to the default vs7 configuration
9546 * win32/common/libgstbase.def:
9547 * win32/common/libgstreamer.def:
9549 removed empty lines,
9550 sorted all exported symbols alphabetically
9551 * win32/common/dirent.c:
9552 * win32/common/dirent.h:
9553 * win32/common/gchar.h:
9554 use windows line end.
9556 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
9558 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9559 Send EOS event when stopping.
9561 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
9564 Tell folks what to do if the plugin-foobar.xml file
9565 hasn't been generated for a newly-added plugin.
9567 2006-02-05 Julien MOUTTE <julien@moutte.net>
9569 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9570 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9571 (gst_collect_pads_start), (gst_collect_pads_stop),
9572 (gst_collect_pads_event): Collectpads now holds a reference
9573 to the GstPad that was added. Indeed we don't want to look
9574 at pads that might just go away with no warning...
9576 2006-02-05 Julien MOUTTE <julien@moutte.net>
9578 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9579 (gst_collect_pads_start), (gst_collect_pads_stop),
9580 (gst_collect_pads_event), (gst_collect_pads_chain):
9581 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
9582 Mark Nauwelaerts's patch on bug #328491.
9584 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
9586 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
9588 Add some simple tests for gst_parse_bin_from_description() and
9589 gst_bin_find_unconnected_pad() (#329069).
9591 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
9593 * tools/gst-launch.c: (event_loop), (main):
9594 Catch errors during preroll (#320084).
9596 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
9598 * plugins/elements/gsttypefindelement.c:
9599 (gst_type_find_element_activate):
9600 Post TYPE_NOT_FOUND error message when typefinding
9601 is unsuccessful in the activate function as well.
9603 2006-02-02 Wim Taymans <wim@fluendo.com>
9605 * docs/design/part-element-sink.txt:
9608 2006-02-02 Wim Taymans <wim@fluendo.com>
9610 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9611 (gst_base_sink_render_object),
9612 (gst_base_sink_queue_object_unlocked):
9613 Only keep track of prerollable items when we are
9615 Before rendering after preroll, always check if we
9617 Added some more debugging.
9619 2006-02-02 Wim Taymans <wim@fluendo.com>
9621 * gst/gstelement.c: (gst_element_continue_state),
9622 (gst_element_set_state_func), (gst_element_change_state):
9623 Fixed #326576, been running this for quite some time with
9624 no regressions at all.
9626 2006-02-02 Wim Taymans <wim@fluendo.com>
9629 Added more suppressions
9631 2006-02-02 Wim Taymans <wim@fluendo.com>
9633 * docs/design/part-element-sink.txt:
9636 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9637 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
9638 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
9639 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9640 (gst_base_sink_do_sync), (gst_base_sink_render_object),
9641 (gst_base_sink_preroll_object),
9642 (gst_base_sink_queue_object_unlocked),
9643 (gst_base_sink_queue_object), (gst_base_sink_event),
9644 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
9645 (gst_base_sink_loop), (gst_base_sink_activate_pull),
9646 (gst_base_sink_get_position), (gst_base_sink_change_state):
9647 * libs/gst/base/gstbasesink.h:
9648 Totally refactored matching the design doc.
9649 Use two segments, one to clip incomming buffers and another to
9651 Handle queueing correctly, bypass the queue when playing.
9652 Make EOS cancelable.
9653 Handle errors correctly when operating in pull based mode.
9655 * tests/check/elements/fakesink.c: (GST_START_TEST),
9657 Added new check for sinks.
9659 2006-02-02 Wim Taymans <wim@fluendo.com>
9661 * gst/gstsegment.c: (gst_segment_clip):
9662 No reason to refuse to clip when start == -1
9664 2006-02-02 Stefan Kost <ensonic@users.sf.net>
9667 * docs/manual/intro-basics.xml:
9668 * docs/manual/intro-preface.xml:
9669 * docs/manual/manual.xml:
9670 * docs/pwg/advanced-dparams.xml:
9671 * docs/pwg/intro-basics.xml:
9672 * docs/pwg/intro-preface.xml:
9674 describe dparams (controller) for plugins
9675 unify docs a little more
9677 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
9679 * docs/gst/gstreamer-sections.txt:
9680 * gst/gstutils.c: (element_find_unconnected_pad),
9681 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
9683 Add new API: gst_parse_bin_from_description() and
9684 gst_bin_find_unconnected_pad() (#329069).
9686 2006-02-01 Stefan Kost <ensonic@users.sf.net>
9688 * docs/manual/README:
9689 uncover a nasty detail of the docs build
9691 2006-01-31 Wim Taymans <wim@fluendo.com>
9693 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
9694 Don't cache duration messages if we're not going to use or
9697 2006-01-31 Stefan Kost <ensonic@users.sf.net>
9699 * docs/manual/advanced-dparams.xml:
9700 * docs/pwg/advanced-dparams.xml:
9704 * libs/gst/controller/lib.c: (gst_controller_init):
9707 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
9709 * gst/gstelement.c: (gst_element_message_full):
9710 also show file/line/func if no additional debug was given
9712 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
9714 * win32/vs7/grammar.vcproj:
9715 activate copy of autogenerated files for Release mode
9717 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9719 * win32/common/libgstreamer.def:
9720 export gst_value_compare
9722 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
9724 * plugins/elements/Makefile.am:
9725 * plugins/elements/gstelements.c:
9726 * plugins/elements/gstfdsink.c: (_do_init),
9727 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
9728 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
9729 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
9730 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
9731 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
9732 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
9733 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
9734 * plugins/elements/gstfdsink.h:
9735 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
9737 2006-01-30 Stefan Kost <ensonic@users.sf.net>
9739 * docs/manual/advanced-dparams.xml:
9741 * docs/manual/advanced-position.xml:
9742 * docs/manual/basics-init.xml:
9743 * docs/manual/manual.xml:
9744 * docs/manual/titlepage.xml:
9746 * docs/pwg/titlepage.xml:
9747 cleanup xml (more to come)
9748 * libs/gst/controller/gstcontroller.c:
9751 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9753 * win32/vs6/grammar.dsp:
9754 add autogen of gstmarshal.c,h for Release mode
9756 2006-01-30 Wim Taymans <wim@fluendo.com>
9758 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9759 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
9760 (gst_base_sink_handle_object), (gst_base_sink_event),
9761 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
9762 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9763 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
9764 (gst_base_sink_deactivate), (gst_base_sink_activate),
9765 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9766 (gst_base_sink_query), (gst_base_sink_change_state):
9767 Basesink cleanups, remove some old code.
9768 Handle the case where a subclass can preroll in the render
9769 method (mostly audiosinks).
9771 Remove some locks around variables that are now protected
9772 with the PREROLL_LOCK (clock_id, flushing, ..).
9773 Optimize position query some more, do correct locking.
9774 Remove old code to push queue in state change, this is not
9775 needed anymore since preroll blocks on all prerollable items
9777 Almost implemented as described in design doc.
9779 2006-01-30 Wim Taymans <wim@fluendo.com>
9781 * tests/check/gst/gstbin.c: (GST_START_TEST):
9782 Wait for refcount to settle down before checking.
9784 2006-01-30 Wim Taymans <wim@fluendo.com>
9786 * docs/design/part-element-sink.txt:
9787 Pseudo code overview of desired sink behaviour regarding
9790 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9791 * win32/vs6/grammar.dsp:
9792 fix some bugs in Release mode for autogenerated files
9794 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9795 * win32/common/libgstbase.def:
9796 * win32/common/libgstreamer.def:
9797 export some new symbols: gst_base_src_set_format,
9798 gst_iterator_next, gst_structure_set_valist
9800 2006-01-29 Julien MOUTTE <julien@moutte.net>
9802 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9803 Set pad functions unconditionally. Fixes #329105.
9805 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9807 add vs8 project files created by Sergey Scobich
9809 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
9811 * gst/gstutils.c: (gst_element_unlink_pads):
9812 Don't leak pad references.
9814 * tests/check/elements/fakesink.c: (GST_START_TEST):
9815 * tests/check/generic/sinks.c: (GST_START_TEST):
9816 * tests/check/generic/states.c: (GST_START_TEST):
9817 * tests/check/gst/gstbin.c: (GST_START_TEST):
9818 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9819 * tests/check/gst/gstelement.c: (GST_START_TEST):
9820 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9821 * tests/check/gst/gstiterator.c: (GST_START_TEST):
9822 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9823 Fix a bunch of leaks. Make generic/sinks.c
9824 use a bit less cpu by slowing the buffer rate
9825 between fakesrc and fakesink.
9827 2006-01-27 Stefan Kost <ensonic@users.sf.net>
9829 * gst/gstelement.c: (gst_element_send_event):
9832 * gst/gstiterator.c:
9833 * gst/gstiterator.h:
9834 * gst/gstpad.c: (gst_pad_send_event):
9835 * gst/gststructure.c:
9839 * libs/gst/base/gstadapter.c:
9840 doc fixes, to link to function, just write gst_cool_function(), don't
9843 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9845 * plugins/elements/gsttee.c: (gst_tee_do_push),
9846 (gst_tee_handle_buffer):
9847 Always prefer an actual return value from a src
9848 pad in place of NOT_LINKED. This means we return
9849 WRONG_STATE when all src pads are WRONG_STATE
9850 instead of NOT_LINKED.
9852 Lock when replacing the last message to prevent
9853 racing with the get_property method.
9857 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9859 * tests/check/Makefile.am:
9860 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9862 Add a very simple check that should have caught the memleak I fixed
9863 last night (if not for the slice allocator hiding it)
9865 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9867 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9868 (gst_bin_remove_func), (gst_bin_handle_message_func),
9869 (bin_query_duration_fold), (bin_query_generic_fold):
9870 Clean up references to the clock provider when disposed or when
9871 handling a clock-lost message from it.
9873 Unref sinks when performing a query via gst_iterator_fold, as the
9874 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9876 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9877 (gst_clock_set_master):
9878 Drop our reference to the master clock, if any, when we are disposed.
9880 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9881 Chain up in dispose.
9883 2006-01-26 Wim Taymans <wim@fluendo.com>
9885 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9888 2006-01-26 Julien MOUTTE <julien@moutte.net>
9890 * plugins/elements/gsttee.c: (gst_tee_do_push),
9891 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9892 handles pad being NOT_LINKED or in WRONG_STATE.
9894 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9899 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9902 remove obsolete entry
9904 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9906 * docs/gst/gstreamer-sections.txt:
9907 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9908 (gst_bin_iterate_sources), (gst_bin_send_event):
9910 * gst/gstelement.c: (gst_element_send_event):
9912 * gst/gstpad.c: (gst_pad_send_event):
9913 added code for downstream events, reviewed docs in gstevent.c
9915 2006-01-25 Julien MOUTTE <julien@moutte.net>
9917 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9918 We only query position using the clock in the playing state.
9919 Query peer in the other cases.
9920 * win32/common/config.h: Updates.
9922 2006-01-24 Wim Taymans <wim@fluendo.com>
9924 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9925 A clock entry that is scheduled for the exact time of the
9926 clock is still in time.
9928 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9929 (gst_base_sink_do_sync):
9930 Add some more debug info.
9932 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9935 Add new vs7 project files and solution.
9937 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9940 all files removed as they were out-dated.
9942 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9944 * docs/random/release:
9946 * gst/gstbin.c: (gst_bin_init):
9947 * gst/gstbus.c: (gst_bus_new):
9949 * gst/gstpipeline.c: (gst_pipeline_init):
9950 use gst_bus_new(), improve logging, fix docs
9951 * win32/common/config.h:
9952 update for cvs build
9954 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9957 up required version of automake to 1.7
9959 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
9961 * win32/common/libgstreamer.def:
9962 export gst_buffer_is_metadata_writable
9964 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
9966 * docs/gst/gstreamer-sections.txt:
9968 Add gst_event_replace() (#327001)
9970 2006-01-20 Wim Taymans <wim@fluendo.com>
9972 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9973 Make it actually compile too..
9975 2006-01-20 Wim Taymans <wim@fluendo.com>
9978 Clarify behaviour of _is_equal() when passing NULL parameters.
9980 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9982 Cleanups. Don't unref NULL caps.
9983 When setting the same caps, protect caps of the pad with
9985 Use full functionality of _is_equal() when comparing caps.
9987 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9989 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9990 Don't loop infinitely if there are no buffers to present. Partially
9991 fixes #327197, but collectpads is just broken for reusing elements
9992 to do multiple encodes atm.
9994 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9996 * tools/gst-inspect.c: (print_element_features):
9997 * tools/gst-xmlinspect.c: (main):
9998 URL_HANDLER is not a plugin feature we can search for in
10001 2006-01-19 Edward Hervey <edward@fluendo.com>
10003 * gst/gstelement.c: (gst_element_pads_activate):
10004 When activating, do src pads first, then sink pads.
10005 When de-activating, do sink pads first, then src pads.
10007 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10009 * docs/gst/gstreamer-sections.txt:
10010 Add gst_index_add_associationv to the docs
10012 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10017 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10018 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10019 Do some refactoring. Doesn't actually change functionality,
10020 but makes landing the DRAIN event easier later.
10022 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10024 * docs/pwg/advanced-scheduling.xml:
10025 Update from 0.9.x to 0.10 API and make example a bit
10028 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10030 * docs/gst/gstreamer-sections.txt:
10031 Add gst_buffer_(is|make)_metadata_writable methods.
10033 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10035 * docs/design/part-sparsestreams.txt:
10036 Update sparse streams doc, hopefully for greater clarity
10038 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10040 * docs/design/part-events.txt:
10041 Remove mention of FILLER events.
10044 * docs/design/part-sparsestreams.txt:
10045 Write some things about using NEWSEGMENT to keep sparse streams
10048 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10050 * gst/gstbin.c: (gst_bin_dispose):
10051 Guard gst_object_unref call against a NULL object (dispose
10052 can theoretically be called multiple times).
10054 2006-01-18 Wim Taymans <wim@fluendo.com>
10056 * gst/gstbin.c: (gst_bin_element_set_state):
10057 * gst/gstclock.c: (gst_clock_id_wait):
10058 Added some more debug info.
10060 * libs/gst/base/gstadapter.c:
10063 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10064 (gst_base_sink_do_sync), (gst_base_sink_chain):
10065 Added some comments.
10067 2006-01-18 Wim Taymans <wim@fluendo.com>
10069 * tests/check/Makefile.am:
10070 * tests/check/elements/fakesink.c: (chain_async_buffer),
10071 (chain_async), (chain_async_return), (GST_START_TEST),
10072 (fakesink_suite), (main):
10073 Added fakesink test that checks prerolling and clipping
10076 * tests/check/gst/gstutils.c: (GST_START_TEST):
10077 Make check run faster so that buildbots don't timeout.
10079 2006-01-18 Wim Taymans <wim@fluendo.com>
10081 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10082 (gst_base_sink_do_sync):
10084 When the sink finishes blocking on the preroll buffer, it can
10085 immediatly render it instead of rendering when the next buffer
10088 2006-01-18 Wim Taymans <wim@fluendo.com>
10090 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10091 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10092 (gst_base_sink_chain):
10094 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10095 Don't store _last_stop if the buffer is dropped.
10097 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10099 * plugins/elements/gsttypefindelement.c:
10100 (gst_type_find_element_class_init):
10101 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10102 object method handler that sets the caps on the pad and we want
10103 that to happen before we emit the signal (fixes e.g. feeding a
10104 plain text file to decodebin).
10106 2006-01-18 Christian Schaller <Christian@fluendo.com>
10108 * gst/gstplugin.c: Add MPL and Proprietary as license options
10110 2006-01-18 Andy Wingo <wingo@pobox.com>
10112 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10113 symbol was exported before, it appears this was just an oversight.
10115 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10117 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10118 prototype to gint. OK since this prototype was not in the header.
10120 2006-01-17 Andy Wingo <wingo@pobox.com>
10122 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10123 registry while we remove plugins.
10125 * tools/gst-inspect.c (print_element_info): Don't unref the
10126 factory arg, that should be the responsibility of whatever code
10127 received the ref. Fixes a double-free when called from
10128 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10129 (main): Unref the factory if we have one.
10130 (print_element_list): No change -- relies on the
10131 plugin_feature_list_free to free the list of features.
10133 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10135 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10136 (gst_buffer_make_metadata_writable):
10138 * libs/gst/base/gstbasetransform.c:
10139 (gst_base_transform_prepare_output_buf):
10140 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10141 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10142 Replace gst_buffer_(make|is)_metadata_writable patch now
10143 that the release is out.
10145 2006-01-17 Andy Wingo <wingo@pobox.com>
10147 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10148 in the present tense without reference to versions.
10150 * gst/gstregistry.c (gst_registry_add_plugin)
10151 (gst_registry_remove_plugin, gst_registry_remove_feature)
10152 (gst_registry_find_feature, gst_registry_get_feature_list)
10153 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10154 (gst_registry_lookup, gst_registry_scan_path)
10155 (_gst_registry_remove_cache_plugins)
10156 (gst_registry_get_feature_list_by_plugin): Add argument
10159 === release 0.10.2 ===
10161 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10164 releasing 0.10.2, "If man is five"
10166 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10170 * libs/gst/base/gstbasetransform.c:
10171 (gst_base_transform_prepare_output_buf):
10172 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10173 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10174 Back out patch until after the release.
10176 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10178 * gst/gstminiobject.c:
10179 Spelling fix in docs.
10180 * ChangeLog - remove conflict indicator
10182 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10184 Reviewed By: Andy Wingo
10186 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10187 (gst_buffer_make_metadata_writable):
10189 Add gst_buffer_(is|make)_metadata_writable as analogues of
10190 gst_buffer_(is|make)_writable.
10192 * libs/gst/base/gstbasetransform.c:
10193 (gst_base_transform_prepare_output_buf):
10194 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10195 Use name gst_buffer_(is|make)_metadata_writable functions.
10197 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10198 Test gst_buffer_(is|make)_metadata_writable
10202 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10204 * docs/manual/Makefile.am:
10205 don't do parallel make
10208 * win32/common/config.h.in:
10209 add generations for HOST_CPU and GST_MAJORMINOR
10210 * win32/common/config.h:
10211 commit generated result
10213 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10215 * docs/manual/appendix-integration.xml:
10216 Update GNOME integration section to use gst_init_get_option_group()
10217 instead of the old popt stuff (#322911). Also, GNOME applications
10218 should now use gconf*sink and gconf*src instead of the old gconf
10221 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10224 * docs/gst/gstreamer-docs.sgml:
10225 * docs/gst/gstreamer-sections.txt:
10226 * docs/libs/gstreamer-libs-sections.txt:
10227 add new API entries to the docs
10228 * libs/gst/controller/Makefile.am:
10229 * libs/gst/controller/gstcontroller.c:
10230 * libs/gst/controller/gstcontroller.h:
10231 * libs/gst/controller/gstcontrollerprivate.h:
10232 * libs/gst/controller/gsthelper.c:
10233 * libs/gst/controller/gstinterpolation.c:
10234 move private structs to private header
10236 gstreamer-0.7 -> gstreamer-0.10
10237 * tests/check/libs/struct_i386.h:
10238 remove private structs
10240 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10242 * plugins/indexers/Makefile.am:
10243 Fixes as part of #317048
10245 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10247 * plugins/indexers/Makefile.am:
10248 fix #316086 - compilation when mmap is missing
10250 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10252 * libs/gst/base/gstbasesink.c:
10253 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10254 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10255 * win32/common/config.h:
10256 added some defines GST_MAJORMINOR and HOST_CPU
10257 * win32/common/libgstbase.def:
10258 * win32/common/libgstreamer.def:
10259 added some exported functions.
10261 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10263 * libs/gst/controller/gstcontroller.c:
10264 (gst_controlled_property_set_interpolation_mode),
10265 (gst_controlled_property_new):
10266 * libs/gst/controller/gstcontroller.h:
10267 * libs/gst/controller/gstinterpolation.c:
10268 (interpolate_none_get_string_value_array):
10269 make G_TYPE_STRING controlable
10271 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10274 * tools/gst-feedback.1.in:
10275 * tools/gst-inspect.1.in:
10276 * tools/gst-launch.1.in:
10277 * tools/gst-md5sum.1.in:
10278 * tools/gst-typefind.1.in:
10279 * tools/gst-xmlinspect.1.in:
10280 * tools/gst-xmllaunch.1.in:
10281 cleanup man-pages, remove reference to gst-register, document env-vars
10283 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10285 * gst/gstbuffer.c: (gst_buffer_span):
10286 gst_buffer_span should copy the timestamp of the first buffer
10287 if they were both originally overlapping subbuffers of the
10288 same parent, using the same logic as the 'slow copy' case.
10290 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10292 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10293 Need to awaken ALL the pads when we pop a buffer, otherwise
10294 collectpads only works when there is 2 input streams.
10296 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10298 * docs/random/ensonic/media-device-daemon.txt:
10301 fix doc example, add clarification
10302 * tools/gst-launch.1.in:
10303 add initial info about GST_PLUGIN_PATH, needs more work
10305 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10307 * docs/manual/basics-bins.xml:
10308 * docs/manual/basics-elements.xml:
10309 * docs/manual/intro-basics.xml:
10310 Some more minor docs additions and updates.
10312 2006-01-11 Wim Taymans <wim@fluendo.com>
10314 * docs/manual/basics-bins.xml:
10315 * docs/manual/basics-elements.xml:
10316 Some small fixes as pointed out by Ser-ver on IRC.
10318 2006-01-10 Edward Hervey <edward@fluendo.com>
10320 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10321 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10322 the single-segment mode.
10324 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10326 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10328 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10329 (gst_base_src_perform_seek), (gst_base_src_send_event),
10330 (gst_base_src_set_property), (gst_base_src_get_property),
10331 (gst_base_src_loop), (gst_base_src_start),
10332 (gst_base_src_activate_push):
10333 * libs/gst/base/gstbasesrc.h:
10334 Name (private) union; makes Sun's Forte compiler happy (#324900).
10336 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10339 gst-register is gone.
10341 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10343 * gst/gstvalue.c: (_gst_value_initialize):
10344 make the G_TYPE_DATE instantiation work if debug is disabled
10346 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10348 * gst/gstmessage.c: (gst_message_parse_tag),
10349 (gst_message_parse_error), (gst_message_parse_warning):
10350 Don't crash when return location for error/warning debug
10351 string is NULL; add fact that return locations can be
10352 NULL to docs where appropriate.
10354 2006-01-05 Wim Taymans <wim@fluendo.com>
10356 * gst/gstplugin.c: (gst_plugin_load_file):
10357 Replace strdup by g_strdup.
10359 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10361 * docs/pwg/advanced-types.xml:
10364 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10366 submitted by: Abel Cheung
10370 Added Chinese (traditional) translation
10372 2006-01-04 Wim Taymans <wim@fluendo.com>
10374 * docs/manual/basics-pads.xml:
10375 * docs/plugins/Makefile.am:
10376 * docs/plugins/gstreamer-plugins-docs.sgml:
10377 * docs/plugins/gstreamer-plugins-sections.txt:
10378 * docs/pwg/advanced-clock.xml:
10379 * docs/pwg/advanced-scheduling.xml:
10380 * docs/pwg/advanced-types.xml:
10381 * plugins/elements/gstfdsink.c:
10382 * plugins/elements/gstfdsrc.c:
10383 * plugins/elements/gstfdsrc.h:
10384 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10385 * plugins/elements/gstidentity.h:
10386 * plugins/elements/gstqueue.h:
10387 * plugins/elements/gsttee.c:
10388 * plugins/elements/gsttee.h:
10389 * plugins/elements/gsttypefindelement.c:
10390 (gst_type_find_element_class_init):
10391 * plugins/elements/gsttypefindelement.h:
10392 Small updates to various docs.
10393 Added core plugins to docs.
10395 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10398 add a suppression for liboil's uninitialized variable
10400 2006-01-02 James Livingston <jrl at ids dot org dot au>
10402 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10405 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10406 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10407 compiler switch is being used (#325429).
10409 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10411 * gst/gstbin.c: (gst_bin_query):
10412 Disable duration query caching in bins until it gets
10413 fixed (see #324807).
10415 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10417 * tools/gst-inspect.c: (print_element_properties_info):
10418 Handle properties of POINTER and BOXED type.
10420 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10422 * gst/gst.c: (init_post):
10423 Init tags stuff and some other things before loading
10424 any static plugins (there may be other static plugins
10425 than just the GStreamer ones, and they may want to
10426 register their own tags or formats or whatever, and
10427 preferably without segfaulting).
10429 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10430 Print at least a warning in the debug logs if we drop a
10431 query just because we don't know how to adjust the value
10432 in the particular format.
10434 2005-12-24 David Schleef <ds@schleef.org>
10436 * tools/gstreamer-completion:
10437 Replacement for gst-complete written in sh and sed. Only
10438 completes names of features, but that's 90% of what I want
10439 it for. Properties are not available in registry.xml. (Maybe
10442 === release 0.10.1 ===
10444 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
10447 releasing 0.10.1, "Nollaig chridheil"
10449 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
10451 * docs/faq/cvs.xml:
10452 Add missing quote, should be make ERROR_CFLAGS="".
10454 2005-12-20 Wim Taymans <wim@fluendo.com>
10456 * docs/design/part-trickmodes.txt:
10457 More documentation on trickmodes.
10459 2005-12-20 Edward Hervey <edward@fluendo.com>
10461 * gst/gstcaps.c: (gst_static_caps_get_type):
10463 API addition: GST_TYPE_STATIC_CAPS
10464 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10465 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10466 * gst/gstpadtemplate.h:
10467 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10468 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10471 2005-12-18 Wim Taymans <wim@fluendo.com>
10473 * libs/gst/base/gstadapter.c:
10474 * libs/gst/base/gstadapter.h:
10475 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10476 (gst_base_sink_get_position):
10477 * libs/gst/base/gstbasesink.h:
10478 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10479 (gst_base_src_default_query), (gst_base_src_default_do_seek),
10480 (gst_base_src_do_seek), (gst_base_src_perform_seek),
10481 (gst_base_src_send_event), (gst_base_src_update_length),
10482 (gst_base_src_get_range), (gst_base_src_loop),
10483 (gst_base_src_start):
10484 * libs/gst/base/gstbasesrc.h:
10485 * libs/gst/base/gstbasetransform.h:
10486 * libs/gst/base/gstcollectpads.h:
10487 * libs/gst/base/gstpushsrc.c:
10488 * libs/gst/base/gstpushsrc.h:
10489 * libs/gst/dataprotocol/dataprotocol.c:
10490 * libs/gst/dataprotocol/dataprotocol.h:
10491 * libs/gst/net/gstnetclientclock.h:
10492 * libs/gst/net/gstnettimeprovider.h:
10493 Documentation updates.
10495 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
10497 * docs/manual/basics-helloworld.xml:
10498 Remove superfluous closing bracket in helloworld example.
10500 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
10502 * tools/gst-launch.1.in:
10503 Update gst-launch man page; add a section with useful
10504 environment variables. Fixes #323882.
10506 2005-12-16 Stefan Kost <ensonic@users.sf.net>
10509 * gst/gst_private.h:
10510 change some char* into char[]
10512 2005-12-16 Wim Taymans <wim@fluendo.com>
10514 * gst/gstregistryxml.c: (load_feature):
10516 Don't use g_object_unref on GstObjects so that we avoid
10517 leaks on unsafe glibs.
10519 2005-12-16 Wim Taymans <wim@fluendo.com>
10521 * gst/gstbin.c: (gst_bin_recalc_state):
10524 2005-12-16 Wim Taymans <wim@fluendo.com>
10526 * common/check.mak:
10527 Added make forever target for check.
10529 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
10531 * gst/gst.c: (init_post):
10532 make the registry cache file HOST_CPU-dependent
10534 2005-12-16 Andy Wingo <wingo@pobox.com>
10536 * plugins/elements/gstbufferstore.c
10537 (gst_buffer_store_cleared_func): Pay attention to g_list_append
10540 * tests/check/gst/gstobject.c
10541 (test_fake_object_name_threaded_unique): Pay attention to
10542 g_list_sort return value.
10544 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
10546 * tools/gst-feedback-m.m:
10547 Update for 0.9/0.10 (fixes #323870).
10549 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
10551 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
10552 Fix lcopy for mini objects, the mini object needs to be ref'ed.
10554 * tests/check/gst/gstminiobject.c: (my_foo_init),
10555 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
10556 (test_value_collection), (gst_mini_object_suite):
10557 Add test to ensure refcounts end up as expected when passing
10558 GstMiniObjects through g_object_get() and g_object_set().
10560 2005-12-14 Julien MOUTTE <julien@moutte.net>
10562 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10563 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
10564 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
10565 of collectpads. This version removes a lot of races without
10566 touching API/ABI. Yay !
10568 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
10570 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
10571 Don't allow activation of a srcpad in pull_range if it has no
10573 Change some debug statements to be a little clearer
10575 * plugins/elements/gsttypefindelement.c:
10576 (gst_type_find_handle_src_query):
10577 Check that we have a peer before executing queries thereupon.
10579 * tests/examples/metadata/read-metadata.c: (message_loop):
10580 Use gst_bus_pop instead of gst_bus_poll when we just want it to
10581 immediately return us any available message with 0 timeout.
10583 2005-12-12 Michael Smith <msmith@fluendo.com>
10585 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10586 Don't unref factories after calling them.
10587 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
10588 * plugins/elements/gsttypefindelement.c:
10589 (gst_type_find_element_chain):
10590 Free lists of factories after using them. Fixing typefinding memory
10593 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10595 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10596 (gst_plugin_feature_load):
10597 more meaningful debug output
10599 * tests/Makefile.am:
10600 * tests/old/examples/Makefile.am:
10601 make make distcheck happy again
10603 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
10605 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10606 Catch the special case where we are operating chain-based,
10607 but the downstream peer pad has no chain function. Emit a
10608 custom error message in this case instead of letting the
10609 core generate one implying that this is some sort of core
10610 bug. It's not, it just means that whatever got plugged
10611 into the pipeline downstream when we announced the type
10612 can only operate pull-based, while our source can only
10613 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
10614 Error string has not been marked for translation yet, as
10615 it probably needs some more work first.
10617 (gst_type_find_element_get_best_possibility):
10618 Add helper function to find the best of all available
10619 found possibilities that qualify given the min. threshold.
10621 (gst_type_find_element_handle_event):
10622 Fix the case where we get an EOS while still in TYPEFIND
10623 mode (we want to chose the best of all possible types,
10624 not just the first type that happens to be in our unsorted
10625 list of possible types).
10627 (gst_type_find_element_chain):
10628 Make sure we return GST_FLOW_ERROR when we errored out
10629 in stop_typefinding(); also, don't just find the best of
10630 all found type entries and then use the last examined
10631 type entry, but actually use the best entry.
10633 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
10635 * tests/examples/typefind/typefind.c: (type_found):
10636 * tests/examples/xml/runxml.c: (xml_loaded):
10637 More gcc4 fixes and a mem leak fix.
10639 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10641 * tests/examples/xml/createxml.c: (object_saved):
10644 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10646 * tests/Makefile.am:
10647 enable the examples even more
10649 2005-12-12 Andy Wingo <wingo@pobox.com>
10651 * libs/gst/net/gstnettimeprovider.c
10652 (gst_net_time_provider_class_init, gst_net_time_provider_init)
10653 (gst_net_time_provider_set_property)
10654 (gst_net_time_provider_get_property):
10655 API addition: Export "active" as a GObject property.
10656 (gst_net_time_provider_thread): Only respond to time queries if
10657 the time provider is active.
10659 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
10660 NetTimeProvider, preserving binary compat.
10662 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10664 * tests/examples/controller/audio-example.c: (main):
10665 * tests/examples/launch/Makefile.am:
10666 convert comments again
10668 2005-12-12 Wim Taymans <wim@fluendo.com>
10670 * libs/gst/base/gstpushsrc.c:
10673 2005-12-12 Wim Taymans <wim@fluendo.com>
10675 * docs/libs/gstreamer-libs-sections.txt:
10676 Added new symbol to docs.
10678 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10679 (gst_base_src_init), (gst_base_src_set_format),
10680 (gst_base_src_default_query), (gst_base_src_query),
10681 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
10682 (gst_base_src_perform_seek), (gst_base_src_send_event),
10683 (gst_base_src_default_event), (gst_base_src_event_handler),
10684 (gst_base_src_set_property), (gst_base_src_get_property),
10685 (gst_base_src_wait), (gst_base_src_do_sync),
10686 (gst_base_src_update_length), (gst_base_src_get_range),
10687 (gst_base_src_check_get_range), (gst_base_src_loop),
10688 (gst_base_src_default_negotiate), (gst_base_src_start),
10689 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10690 (gst_base_src_change_state):
10691 * libs/gst/base/gstbasesrc.h:
10692 Implement seeking to other formats than _BYTES.
10693 Implement more seeking methods correctly.
10695 Added query vmethod.
10696 Added do_seek vmethod to make life easier for subclasses
10698 API addition: gst_base_src_set_format()
10700 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10702 * tests/examples/Makefile.am:
10705 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10708 * docs/random/ensonic/media-device-daemon.txt:
10709 * tests/examples/controller/.cvsignore:
10710 * tests/examples/controller/Makefile.am:
10711 * tests/examples/controller/audio-example.c: (main):
10712 * tests/examples/helloworld/.cvsignore:
10713 * tests/examples/helloworld/Makefile.am:
10714 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
10715 * tests/examples/launch/.cvsignore:
10716 * tests/examples/launch/Makefile.am:
10717 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
10718 * tests/examples/metadata/.cvsignore:
10719 * tests/examples/metadata/Makefile.am:
10720 * tests/examples/metadata/read-metadata.c: (message_loop),
10721 (make_pipeline), (print_tag), (main):
10722 * tests/examples/queue/.cvsignore:
10723 * tests/examples/queue/Makefile.am:
10724 * tests/examples/queue/queue.c: (event_loop), (main):
10725 * tests/examples/typefind/.cvsignore:
10726 * tests/examples/typefind/Makefile.am:
10727 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
10729 * tests/examples/xml/.cvsignore:
10730 * tests/examples/xml/Makefile.am:
10731 * tests/examples/xml/createxml.c: (object_saved), (main):
10732 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
10733 * tests/old/examples/Makefile.am:
10734 * tests/old/examples/TODO:
10735 * tests/old/examples/controller/.cvsignore:
10736 * tests/old/examples/controller/Makefile.am:
10737 * tests/old/examples/controller/audio-example.c:
10738 * tests/old/examples/helloworld/.cvsignore:
10739 * tests/old/examples/helloworld/Makefile.am:
10740 * tests/old/examples/helloworld/helloworld.c:
10741 * tests/old/examples/launch/.cvsignore:
10742 * tests/old/examples/launch/Makefile.am:
10743 * tests/old/examples/launch/mp3parselaunch.c:
10744 * tests/old/examples/launch/mp3play:
10745 * tests/old/examples/manual/Makefile.am:
10746 * tests/old/examples/metadata/Makefile.am:
10747 * tests/old/examples/metadata/read-metadata.c:
10748 * tests/old/examples/queue/.cvsignore:
10749 * tests/old/examples/queue/Makefile.am:
10750 * tests/old/examples/queue/queue.c:
10751 * tests/old/examples/typefind/.cvsignore:
10752 * tests/old/examples/typefind/Makefile.am:
10753 * tests/old/examples/typefind/typefind.c:
10754 * tests/old/examples/xml/.cvsignore:
10755 * tests/old/examples/xml/Makefile.am:
10756 * tests/old/examples/xml/createxml.c:
10757 * tests/old/examples/xml/runxml.c:
10758 applied some simple fixing to some examples
10759 re-enabled the working examples
10761 2005-12-12 Wim Taymans <wim@fluendo.com>
10763 * gst/gstsegment.c: (gst_segment_init),
10764 (gst_segment_set_last_stop), (gst_segment_set_seek),
10765 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10766 (gst_segment_to_running_time):
10767 Added more documentation.
10768 Make sure the last_pos value is updated properly.
10769 Make sure to_stream_time and to_running_time don't
10770 operate on wrong values.
10772 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10775 2005-12-12 Michael Smith <msmith@fluendo.com>
10777 * plugins/elements/gsttypefindelement.c: (free_entry),
10778 (gst_type_find_element_chain):
10779 Now that we're not leaking factories, make sure we keep references
10780 to them while we need them.
10782 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10784 * tests/check/gst/struct_i386.h:
10785 ifdef out the XML structs
10787 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10789 * gst/gstvalue.c: (gst_value_transform_double_fraction):
10790 floor is not needed, F is always positive; this obviates the
10791 need for adding -lm when building without libxml
10793 2005-12-12 Wim Taymans <wim@fluendo.com>
10795 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10796 Take current playback rate into account when reporting
10799 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10801 * docs/manual/mime-world.fig:
10802 Let's try this again, this time with a file that is
10803 actually in XFig format.
10805 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10807 * docs/manual/mime-world.fig:
10808 Add audioconvert element to diagram so that it
10809 matches the text and the code (fixes #319526).
10811 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10813 * docs/pwg/building-chainfn.xml:
10814 * docs/pwg/building-pads.xml:
10815 * docs/pwg/building-state.xml:
10816 * docs/pwg/other-source.xml:
10817 Update state change stuff for 0.10 (fixes #322969).
10819 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10821 * docs/manual/advanced-dataaccess.xml:
10822 * docs/manual/appendix-checklist.xml:
10823 * docs/manual/appendix-programs.xml:
10824 * docs/manual/basics-pads.xml:
10825 * docs/manual/highlevel-components.xml:
10826 * docs/manual/manual.xml:
10827 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10828 add converters in front of pipelines; remove curly
10829 brackets for threads stuff, they no longer exist; use
10830 GST_TYPE_FRACTION for framerates; update some pieces of
10831 code to 0.10, but there's plenty more to do.
10833 * docs/manual/appendix-porting.xml:
10834 Expand on asynchroneous state changes; s/0.9/0.10/;
10835 mention disappearance of gst_init_get_popt_table()
10838 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10840 * docs/faq/using.xml:
10841 Spider no longer exists, and neither does gst-launch-ext.
10842 Update examples to use decodebin and playbin and put
10843 converters in front of sinks (fixes #323726).
10845 2005-12-09 Michael Smith <msmith@fluendo.com>
10847 * plugins/elements/gsttypefindelement.c: (find_peek),
10848 (gst_type_find_element_chain):
10849 Fix leaking element factories in typefinding.
10850 Fix problem where we forgot about a probable type on non-seekable
10851 files, and thus later mis-typefound it.
10853 2005-12-09 Michael Smith <msmith@fluendo.com>
10855 * common/m4/gst-makecontext.m4:
10856 * common/m4/gst-mcsc.m4:
10858 * win32/common/config.h:
10859 * win32/common/config.h.in:
10860 Remove makecontext stuff; not used in 0.10 and causes problems on
10861 HPUX according to bug #322441
10863 2005-12-07 Wim Taymans <wim@fluendo.com>
10865 * tests/check/Makefile.am:
10866 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10868 * tests/check/libs/struct_i386.h:
10869 Added ABI check for libs
10871 2005-12-07 Wim Taymans <wim@fluendo.com>
10873 * tests/check/Makefile.am:
10874 And add the struct_i386.h to dist.
10876 2005-12-07 Wim Taymans <wim@fluendo.com>
10878 * tests/check/Makefile.am:
10879 * tests/check/gst/.cvsignore:
10880 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10882 * tests/check/gst/struct_i386.h:
10883 Added check for ABI compatibility.
10885 2005-12-07 Wim Taymans <wim@fluendo.com>
10887 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10888 (gst_fake_src_get_times), (gst_fake_src_create):
10889 Fix broken sync option, fixes #323259
10891 2005-12-07 Wim Taymans <wim@fluendo.com>
10896 * gst/gstcaps.c: (gst_caps_is_equal):
10897 Don't assert on NULL <--> X. Fixes #323260
10899 * gst/gstminiobject.c: (gst_mini_object_replace):
10900 If we're doing atomic operations, we might just as well use
10901 the proper way to get an atomic pointer.
10903 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10904 Clean up debugging.
10906 2005-12-07 Michael Smith <msmith@fluendo.com>
10908 * gst/parse/grammar.y:
10909 Remove handling of { } for threads.
10911 2005-12-06 David Schleef <ds@schleef.org>
10913 * libs/gst/base/gstbasetransform.c: speling fix.
10915 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
10917 * docs/libs/tmpl/gstdataprotocol.sgml:
10918 * docs/random/omega/testing/gstobject.c:
10921 * gst/gstelement.c:
10922 * gst/gstelementfactory.c:
10925 * gst/gstghostpad.c:
10927 * gst/gstpadtemplate.c:
10928 * gst/gstregistryxml.c:
10929 * gst/gsttaglist.c:
10930 * gst/gsttagsetter.c:
10931 * gst/gsttypefind.c:
10933 * libs/gst/base/gstbasesrc.c:
10934 * libs/gst/net/gstnetclientclock.c:
10935 * libs/gst/net/gstnettimeprovider.c:
10936 * plugins/elements/gstfakesrc.c:
10937 * plugins/elements/gstfdsrc.c:
10938 * plugins/elements/gstfilesrc.c:
10939 * plugins/elements/gstidentity.c:
10940 * plugins/elements/gstqueue.c:
10941 * plugins/elements/gsttypefindelement.c:
10942 * plugins/indexers/gstfileindex.c:
10943 * plugins/indexers/gstmemindex.c:
10944 * tests/check/gst/gsttag.c:
10945 * tests/old/examples/cutter/cutter.c:
10946 * tests/old/examples/mixer/mixer.c:
10947 * tests/old/examples/xml/runxml.c: (main):
10948 * tests/old/testsuite/caps/normalisation.c:
10949 * tests/old/testsuite/debug/global.c:
10950 * tests/old/testsuite/parse/parse1.c:
10951 * tools/gst-xmlinspect.c:
10952 * win32/common/dirent.c:
10955 === release 0.10.0 ===
10957 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10960 releasing 0.10.0, "Maroilles"
10962 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10964 submitted by: Funda Wang <fundawang@linux.net.cn>
10968 added Chinese (Traditional) translation
10970 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10972 * docs/gst/gstreamer-sections.txt:
10973 * docs/libs/tmpl/gstdataprotocol.sgml:
10974 * docs/random/thomasvs/TODO:
10979 2005-12-05 Andy Wingo <wingo@pobox.com>
10981 patch by: Wim Taymans <wim@fluendo.com>
10983 * libs/gst/base/gstbasetransform.c
10984 (gst_base_transform_prepare_output_buf)
10985 (gst_base_transform_buffer_alloc):
10986 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10987 alloc_buffer_and_set_caps.
10989 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10990 set_caps on the source pad.
10991 (gst_pad_alloc_buffer_and_set_caps): New function, does what
10992 alloc_buffer used to do. Fixes #322874.
10994 * docs/gst/gstreamer-sections.txt:
10995 * docs/design/part-negotiation.txt:
10996 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10999 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11001 patch by: Sebastien Moutte
11004 * win32/common/config.h.in:
11005 * win32/vs6/libgstcontroller.dsp:
11008 2005-12-05 Wim Taymans <wim@fluendo.com>
11010 * gst/gstcaps.c: (gst_caps_is_equal):
11011 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11012 (gst_fake_src_create):
11013 Back out previous code changes, leave doc updates, file bugs
11016 2005-12-05 Wim Taymans <wim@fluendo.com>
11018 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11019 (gst_fake_src_get_times), (gst_fake_src_create):
11020 * plugins/elements/gstfakesrc.h:
11021 Fix broken sync code.
11023 2005-12-05 Wim Taymans <wim@fluendo.com>
11025 * gst/gstcaps.c: (gst_caps_is_equal):
11026 Comparing NULL against !NULL yields different caps, not a
11029 2005-12-05 Wim Taymans <wim@fluendo.com>
11031 * gst/gstpipeline.c:
11032 Fix small typo in docs.
11034 2005-12-05 Andy Wingo <wingo@pobox.com>
11036 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11038 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11039 registries/plugins with a MAJORMINOR one.
11040 (plugin_desc): Rename library from gstcoreleements to
11041 staticelements. Fixes #323222.
11043 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11045 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11046 Change debug category to 'collectpads' from 'collect_pads'
11049 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11051 patch by: Sebastien Moutte
11053 * libs/gst/controller/gstinterpolation.c:
11054 use convert function for uint64/double
11055 * win32/vs6/libgstcontroller.dsp:
11058 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11060 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11061 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11063 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11064 add tests that seem to show that the guint64/gdouble conversions
11067 2005-12-02 Wim Taymans <wim@fluendo.com>
11069 * gst/gstregistry.c: (gst_registry_add_path):
11070 * gst/gstregistry.h:
11071 * gst/gstregistryxml.c:
11074 2005-12-02 Wim Taymans <wim@fluendo.com>
11076 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11077 (gst_util_uint64_scale_int):
11080 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11081 Add debug log line.
11083 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11086 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11089 * win32/common/config.h:
11090 * win32/vs6/gstreamer.dsw:
11091 * win32/vs6/libgstcoreelements.dsp:
11092 * win32/vs6/libgstelements.dsp:
11093 renamed core elements plugin
11095 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11097 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11099 do piece-wise major/minor comparison so 0.9 < 0.10
11100 also allow .exe extensions for tools
11102 2005-12-02 Michael Smith <msmith@fluendo.com>
11105 Escape a % to make gtkdoc happier; bug 322958.
11107 === release 0.9.7 ===
11109 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11112 releasing 0.9.7, "My Dog Has No Nose"
11114 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11116 * common/gst-xmlinspect.py:
11118 * docs/libs/tmpl/gstdataprotocol.sgml:
11119 * docs/random/release:
11138 * win32/common/config.h:
11139 * win32/common/config.h.in:
11140 * win32/vs6/gst_inspect.dsp:
11141 * win32/vs6/gst_launch.dsp:
11142 * win32/vs6/libgstbase.dsp:
11143 * win32/vs6/libgstelements.dsp:
11144 * win32/vs6/libgstreamer.dsp:
11145 * win32/vs7/GStreamer.vcproj:
11146 * win32/vs7/gst-inspect.vcproj:
11147 * win32/vs7/gst-launch.vcproj:
11148 * win32/vs7/libgstbase.vcproj:
11149 bump GST_MAJORMINOR to 0.10
11150 reset libtool version
11152 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11156 Added Bulgarian translation by (Alexander Shopov)
11158 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11160 * tests/check/gst/gstplugin.c:
11163 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11165 * common/gst-xmlinspect.py:
11166 * common/gtk-doc-plugins.mak:
11168 * docs/Makefile.am:
11169 * docs/gst/Makefile.am:
11170 * docs/gst/gstreamer-docs.sgml:
11171 * docs/gst/gstreamer-sections.txt:
11172 * docs/gst/gstreamer.types:
11173 * docs/gst/gstreamer.types.in:
11174 * docs/plugins/Makefile.am:
11175 * docs/plugins/gstreamer-plugins-docs.sgml:
11176 * docs/plugins/gstreamer-plugins-sections.txt:
11177 * docs/plugins/gstreamer-plugins.types:
11178 * docs/plugins/inspect.stamp:
11179 * docs/plugins/inspect/plugin-coreelements.xml:
11180 * docs/plugins/inspect/plugin-coreindexers.xml:
11181 * docs/plugins/scanobj-build.stamp:
11182 * gstreamer.spec.in:
11183 * plugins/elements/Makefile.am:
11184 * plugins/elements/gstelements.c:
11185 * plugins/elements/gstfakesink.c:
11186 * plugins/elements/gstfakesrc.c:
11187 * plugins/elements/gstfilesink.c:
11188 * plugins/elements/gstfilesrc.c:
11189 * plugins/elements/gstqueue.c:
11190 * plugins/indexers/Makefile.am:
11191 * plugins/indexers/gstindexers.c:
11192 document core plugins in a separate document just like all the
11194 rename these plugins to something starting with core
11196 2005-12-01 Andy Wingo <wingo@pobox.com>
11198 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11199 padding here before, but it missed the commit.
11201 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11203 * libs/gst/controller/gstinterpolation.c:
11204 whitespace prices have crashed, we should feel free to use some now
11205 use gst_guint64_to_gdouble
11207 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11209 * libs/gst/controller/gstcontroller.c:
11210 * libs/gst/controller/gsthelper.c:
11211 * libs/gst/controller/gstinterpolation.c:
11212 * libs/gst/controller/lib.c:
11213 wrap config.h include
11215 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11217 * docs/gst/gstreamer-sections.txt:
11220 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11222 * plugins/elements/gstelements.c:
11223 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11224 (gst_fd_sink__class_init), (gst_fd_sink__init),
11225 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11226 (gst_fd_sink__get_property):
11227 * plugins/elements/gstfdsink.h:
11228 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11229 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11230 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11231 (gst_fd_src_unlock), (gst_fd_src_set_property),
11232 (gst_fd_src_get_property), (gst_fd_src_create),
11233 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11234 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11235 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11236 (gst_fd_src_uri_handler_init):
11237 * plugins/elements/gstfdsrc.h:
11238 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11241 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11243 * docs/gst/Makefile.am:
11244 * docs/gst/gstreamer.types.in:
11248 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11254 * gst/gstregistry.h:
11255 * tests/benchmarks/complexity.c:
11256 * tests/benchmarks/mass-elements.c:
11257 * tests/check/Makefile.am:
11258 * tools/Makefile.am:
11259 * tools/gst-inspect.c:
11260 * tools/gst-xmlinspect.c:
11261 various fixes to make
11262 --disable-nls --disable-registry --disable-loadsave
11263 --disable-parse --disable-gst-debug
11264 work and get the core .so down to 360444 bytes after stripping
11266 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11271 * docs/random/thomasvs/TODO:
11272 * tests/Makefile.am:
11276 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11278 * win32/GStreamer.vcproj:
11281 * win32/Makefile.inspect:
11282 * win32/Makefile.launch:
11283 * win32/Makefile.register:
11284 * win32/README.txt:
11285 * win32/gst-inspect.vcproj:
11286 * win32/gst-launch.vcproj:
11287 * win32/gst-register.vcproj:
11288 * win32/gstelements.vcproj:
11289 * win32/gstgetbits.def:
11290 * win32/gstgetbits.vcproj:
11291 * win32/gstreamer-dbg.def:
11292 * win32/gstreamer.def:
11293 * win32/libgstbase.def:
11294 * win32/libgstbase.vcproj:
11295 * win32/link_oldruntime.c:
11299 * win32/msvc71.sln:
11300 move even more stuff, win32/ is nice and clean now
11302 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11304 * libs/gst/control/.cvsignore:
11309 * win32/gstbytestream.def:
11310 * win32/gstbytestream.vcproj:
11311 * win32/gstconfig.h:
11312 * win32/gstenumtypes.c:
11313 * win32/gstenumtypes.h:
11314 * win32/gstoptimalscheduler.vcproj:
11315 * win32/gstversion.h:
11317 * win32/testsuite/bins.vcproj:
11318 * win32/testsuite/bytestream.vcproj:
11319 * win32/testsuite/caps.vcproj:
11320 * win32/testsuite/cleanup.vcproj:
11321 * win32/testsuite/clock.vcproj:
11322 * win32/testsuite/debug.vcproj:
11323 * win32/testsuite/dlopen.vcproj:
11324 * win32/testsuite/dynparams.vcproj:
11325 * win32/testsuite/elements.vcproj:
11326 * win32/testsuite/ghostpads.vcproj:
11327 * win32/testsuite/indexers.vcproj:
11328 * win32/testsuite/negotiation.vcproj:
11329 * win32/testsuite/parse.vcproj:
11330 * win32/testsuite/plugin.vcproj:
11331 * win32/testsuite/refcounting.vcproj:
11332 * win32/testsuite/schedulers.vcproj:
11333 * win32/testsuite/states.vcproj:
11334 * win32/testsuite/tags.vcproj:
11335 * win32/testsuite/threads.vcproj:
11336 remove old win32 stuff that isn't maintained and should be
11339 2005-11-30 Andy Wingo <wingo@pobox.com>
11341 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11342 loading the gst.interfaces python module bork.
11344 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11345 available since GLib 2.2. Fixes #318031.
11347 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11350 * check/.cvsignore:
11351 * check/Makefile.am:
11352 * check/elements/.cvsignore:
11353 * check/elements/fakesrc.c:
11354 * check/elements/fdsrc.c:
11355 * check/elements/identity.c:
11356 * check/generic/.cvsignore:
11357 * check/generic/states.c:
11358 * check/gst-libs/.cvsignore:
11359 * check/gst-libs/controller.c:
11360 * check/gst-libs/gdp.c:
11361 * check/gst/.cvsignore:
11362 * check/gst/capslist.h:
11364 * check/gst/gstbin.c:
11365 * check/gst/gstbuffer.c:
11366 * check/gst/gstbus.c:
11367 * check/gst/gstcaps.c:
11368 * check/gst/gstelement.c:
11369 * check/gst/gstevent.c:
11370 * check/gst/gstghostpad.c:
11371 * check/gst/gstiterator.c:
11372 * check/gst/gstmessage.c:
11373 * check/gst/gstminiobject.c:
11374 * check/gst/gstobject.c:
11375 * check/gst/gstpad.c:
11376 * check/gst/gstpipeline.c:
11377 * check/gst/gstplugin.c:
11378 * check/gst/gstsegment.c:
11379 * check/gst/gststructure.c:
11380 * check/gst/gstsystemclock.c:
11381 * check/gst/gsttag.c:
11382 * check/gst/gstutils.c:
11383 * check/gst/gstvalue.c:
11384 * check/net/.cvsignore:
11385 * check/net/gstnetclientclock.c:
11386 * check/net/gstnettimeprovider.c:
11387 * check/pipelines/.cvsignore:
11388 * check/pipelines/cleanup.c:
11389 * check/pipelines/simple_launch_lines.c:
11390 * check/pipelines/stress.c:
11391 * check/states/.cvsignore:
11392 * check/states/sinks.c:
11394 * examples/Makefile.am:
11395 * examples/appreader/.cvsignore:
11396 * examples/appreader/Makefile.am:
11397 * examples/appreader/appreader.c:
11398 * examples/controller/.cvsignore:
11399 * examples/controller/Makefile.am:
11400 * examples/controller/audio-example.c:
11401 * examples/cutter/.cvsignore:
11402 * examples/cutter/Makefile.am:
11403 * examples/cutter/cutter.c:
11404 * examples/cutter/cutter.h:
11405 * examples/events/Makefile.am:
11406 * examples/events/seek.c:
11407 * examples/helloworld/.cvsignore:
11408 * examples/helloworld/Makefile.am:
11409 * examples/helloworld/helloworld.c:
11410 * examples/helloworld2/.cvsignore:
11411 * examples/helloworld2/Makefile.am:
11412 * examples/helloworld2/helloworld2.c:
11413 * examples/launch/.cvsignore:
11414 * examples/launch/Makefile.am:
11415 * examples/launch/mp3parselaunch.c:
11416 * examples/launch/mp3play:
11417 * examples/manual/.cvsignore:
11418 * examples/manual/Makefile.am:
11419 * examples/manual/extract.pl:
11420 * examples/metadata/Makefile.am:
11421 * examples/metadata/read-metadata.c:
11422 * examples/mixer/.cvsignore:
11423 * examples/mixer/Makefile.am:
11424 * examples/mixer/mixer.c:
11425 * examples/mixer/mixer.h:
11426 * examples/pingpong/.cvsignore:
11427 * examples/pingpong/Makefile.am:
11428 * examples/pingpong/pingpong.c:
11429 * examples/plugins/.cvsignore:
11430 * examples/plugins/Makefile.am:
11431 * examples/plugins/example.c:
11432 * examples/plugins/example.h:
11433 * examples/pwg/.cvsignore:
11434 * examples/pwg/Makefile.am:
11435 * examples/pwg/extract.pl:
11436 * examples/queue/.cvsignore:
11437 * examples/queue/Makefile.am:
11438 * examples/queue/queue.c:
11439 * examples/queue2/.cvsignore:
11440 * examples/queue2/Makefile.am:
11441 * examples/queue2/queue2.c:
11442 * examples/queue3/.cvsignore:
11443 * examples/queue3/Makefile.am:
11444 * examples/queue3/queue3.c:
11445 * examples/queue4/.cvsignore:
11446 * examples/queue4/Makefile.am:
11447 * examples/queue4/queue4.c:
11448 * examples/retag/.cvsignore:
11449 * examples/retag/Makefile.am:
11450 * examples/retag/retag.c:
11451 * examples/retag/transcode.c:
11452 * examples/thread/.cvsignore:
11453 * examples/thread/Makefile.am:
11454 * examples/thread/thread.c:
11455 * examples/typefind/.cvsignore:
11456 * examples/typefind/Makefile.am:
11457 * examples/typefind/typefind.c:
11458 * examples/xml/.cvsignore:
11459 * examples/xml/Makefile.am:
11460 * examples/xml/createxml.c:
11461 * examples/xml/runxml.c:
11462 * tests/Makefile.am:
11463 * tests/check/Makefile.am:
11464 * testsuite/.cvsignore:
11465 * testsuite/Makefile.am:
11467 * testsuite/caps/.cvsignore:
11468 * testsuite/caps/Makefile.am:
11469 * testsuite/caps/app_fixate.c:
11470 * testsuite/caps/audioscale.c:
11471 * testsuite/caps/caps.c:
11472 * testsuite/caps/caps.h:
11473 * testsuite/caps/caps_strings:
11474 * testsuite/caps/compatibility.c:
11475 * testsuite/caps/deserialize.c:
11476 * testsuite/caps/enumcaps.c:
11477 * testsuite/caps/eratosthenes.c:
11478 * testsuite/caps/filtercaps.c:
11479 * testsuite/caps/fixed.c:
11480 * testsuite/caps/fraction-convert.c:
11481 * testsuite/caps/fraction-multiply-and-zero.c:
11482 * testsuite/caps/intersect2.c:
11483 * testsuite/caps/intersection.c:
11484 * testsuite/caps/normalisation.c:
11485 * testsuite/caps/random.c:
11486 * testsuite/caps/renegotiate.c:
11487 * testsuite/caps/sets.c:
11488 * testsuite/caps/simplify.c:
11489 * testsuite/caps/string-conversions.c:
11490 * testsuite/caps/structure.c:
11491 * testsuite/caps/subtract.c:
11492 * testsuite/caps/union.c:
11493 * testsuite/debug/.cvsignore:
11494 * testsuite/debug/Makefile.am:
11495 * testsuite/debug/category.c:
11496 * testsuite/debug/commandline.c:
11497 * testsuite/debug/global.c:
11498 * testsuite/debug/output.c:
11499 * testsuite/debug/printf_extension.c:
11500 * testsuite/dlopen/.cvsignore:
11501 * testsuite/dlopen/Makefile.am:
11502 * testsuite/dlopen/dlopen_gst.c:
11503 * testsuite/dlopen/loadgst.c:
11504 * testsuite/elements/.cvsignore:
11505 * testsuite/elements/Makefile.am:
11506 * testsuite/elements/gst-inspect-check.in:
11507 * testsuite/elements/struct_i386.h:
11508 * testsuite/elements/struct_size.c:
11509 * testsuite/indexers/.cvsignore:
11510 * testsuite/indexers/Makefile.am:
11511 * testsuite/indexers/cache1.c:
11512 * testsuite/indexers/indexdump.c:
11513 * testsuite/parse/.cvsignore:
11514 * testsuite/parse/Makefile.am:
11515 * testsuite/parse/parse1.c:
11516 * testsuite/parse/parse2.c:
11517 * testsuite/plugin/.cvsignore:
11518 * testsuite/plugin/Makefile.am:
11519 * testsuite/plugin/README:
11520 * testsuite/plugin/dynamic.c:
11521 * testsuite/plugin/linked.c:
11522 * testsuite/plugin/loading.c:
11523 * testsuite/plugin/registry.c:
11524 * testsuite/plugin/static.c:
11525 * testsuite/plugin/static2.c:
11526 * testsuite/plugin/testplugin.c:
11527 * testsuite/plugin/testplugin2.c:
11528 * testsuite/plugin/testplugin2_s.c:
11529 * testsuite/plugin/testplugin_s.c:
11530 * testsuite/refcounting/.cvsignore:
11531 * testsuite/refcounting/Makefile.am:
11532 * testsuite/refcounting/bin.c:
11533 * testsuite/refcounting/element.c:
11534 * testsuite/refcounting/element_pad.c:
11535 * testsuite/refcounting/mainloop.c:
11536 * testsuite/refcounting/mem.c:
11537 * testsuite/refcounting/mem.h:
11538 * testsuite/refcounting/object.c:
11539 * testsuite/refcounting/pad.c:
11540 * testsuite/refcounting/sched.c:
11541 * testsuite/refcounting/thread.c:
11542 * testsuite/states/.cvsignore:
11543 * testsuite/states/Makefile.am:
11544 * testsuite/states/bin.c:
11545 * testsuite/states/locked.c:
11546 * testsuite/states/parent.c:
11547 * testsuite/threads/.cvsignore:
11548 * testsuite/threads/159566.c:
11549 * testsuite/threads/159852.c:
11550 * testsuite/threads/Makefile.am:
11551 * testsuite/threads/queue.c:
11552 * testsuite/threads/signals.c:
11553 * testsuite/threads/staticrec.c:
11554 * testsuite/threads/thread.c:
11555 * testsuite/threads/threadb.c:
11556 * testsuite/threads/threadc.c:
11557 * testsuite/threads/threadd.c:
11558 * testsuite/threads/threade.c:
11559 * testsuite/threads/threadf.c:
11560 * testsuite/threads/threadg.c:
11561 * testsuite/threads/threadh.c:
11562 * testsuite/threads/threadi.c:
11563 move all of these under tests
11565 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11568 * tests/Makefile.am:
11571 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11573 * docs/gst/gstreamer-sections.txt:
11574 * tests/sched/.cvsignore:
11575 * tests/sched/Makefile.am:
11576 * tests/sched/cases/(fs-fs).xml:
11577 * tests/sched/cases/(fs-i-fs).xml:
11578 * tests/sched/cases/(fs-i-i-fs).xml:
11579 * tests/sched/cases/(fs-i-q[i-fs]).xml:
11580 * tests/sched/dynamic-pipeline.c:
11581 * tests/sched/interrupt1.c:
11582 * tests/sched/interrupt2.c:
11583 * tests/sched/interrupt3.c:
11584 * tests/sched/runtestcases:
11585 * tests/sched/runxml.c:
11586 * tests/sched/sched-stress.c:
11587 * tests/sched/sort.c:
11588 * tests/sched/testcases:
11589 * tests/sched/testcases1.tc:
11590 * tests/seeking/.cvsignore:
11591 * tests/seeking/Makefile.am:
11592 * tests/seeking/seeking1.c:
11593 * tests/threadstate/.cvsignore:
11594 * tests/threadstate/Makefile.am:
11595 * tests/threadstate/test1.c:
11596 * tests/threadstate/test2.c:
11597 * tests/threadstate/threadstate1.c:
11598 * tests/threadstate/threadstate2.c:
11599 * tests/threadstate/threadstate3.c:
11600 * tests/threadstate/threadstate4.c:
11601 * tests/threadstate/threadstate5.c:
11602 remove obsolete tests
11604 * tests/bench-complexity.scm:
11605 * tests/bench-mass_elements.scm:
11606 * tests/complexity.c:
11607 * tests/complexity.gnuplot:
11608 * tests/instantiate/.cvsignore:
11609 * tests/instantiate/Makefile.am:
11610 * tests/instantiate/caps.c:
11611 * tests/mass_elements.c:
11612 * tests/network-clock-utils.scm:
11613 * tests/network-clock.scm:
11615 First pass at cleaning up tests/ dir before moving the rest
11616 Combined with CVS surgery
11618 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11621 queue has moved, update
11623 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11625 * docs/gst/gstreamer-sections.txt:
11626 remove double entries from the docs
11627 * gst/gst_private.h:
11628 * gst/gstinfo.c: (_gst_debug_init):
11629 remove the THREAD debug category
11633 * docs/gst/gstreamer.types:
11634 * plugins/elements/gstqueue.c: (gst_queue_get_type),
11635 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
11636 completely move queue and fix up debugging categories
11638 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11640 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11641 make initialization portable, using LL is not
11643 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11645 * win32/common/gstconfig.h:
11648 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11650 * win32/common/libgstreamer.def:
11651 rename symbols; sort base section
11653 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11655 * gst/gstclock.c: (do_linear_regression):
11656 remove crack non-portable handrolled DEBUG macro
11658 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11660 * docs/random/release:
11662 * win32/common/gstenumtypes.c: (register_gst_object_flags),
11663 (gst_object_flags_get_type), (register_gst_bin_flags),
11664 (gst_bin_flags_get_type), (register_gst_buffer_flag),
11665 (gst_buffer_flag_get_type), (register_gst_bus_flags),
11666 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
11667 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
11668 (gst_caps_flags_get_type), (register_gst_clock_return),
11669 (gst_clock_return_get_type), (register_gst_clock_entry_type),
11670 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
11671 (gst_clock_flags_get_type), (register_gst_state),
11672 (gst_state_get_type), (register_gst_state_change_return),
11673 (gst_state_change_return_get_type), (register_gst_state_change),
11674 (gst_state_change_get_type), (register_gst_element_flags),
11675 (gst_element_flags_get_type), (register_gst_core_error),
11676 (gst_core_error_get_type), (register_gst_library_error),
11677 (gst_library_error_get_type), (register_gst_resource_error),
11678 (gst_resource_error_get_type), (register_gst_stream_error),
11679 (gst_stream_error_get_type), (register_gst_event_type_flags),
11680 (gst_event_type_flags_get_type), (register_gst_event_type),
11681 (gst_event_type_get_type), (register_gst_seek_type),
11682 (gst_seek_type_get_type), (register_gst_seek_flags),
11683 (gst_seek_flags_get_type), (register_gst_format),
11684 (gst_format_get_type), (register_gst_index_certainty),
11685 (gst_index_certainty_get_type), (register_gst_index_entry_type),
11686 (gst_index_entry_type_get_type),
11687 (register_gst_index_lookup_method),
11688 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
11689 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
11690 (gst_index_resolver_method_get_type), (register_gst_index_flags),
11691 (gst_index_flags_get_type), (register_gst_debug_level),
11692 (gst_debug_level_get_type), (register_gst_debug_color_flags),
11693 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11694 (gst_iterator_result_get_type), (register_gst_iterator_item),
11695 (gst_iterator_item_get_type), (register_gst_message_type),
11696 (gst_message_type_get_type), (register_gst_mini_object_flags),
11697 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11698 (gst_pad_link_return_get_type), (register_gst_flow_return),
11699 (gst_flow_return_get_type), (register_gst_activate_mode),
11700 (gst_activate_mode_get_type), (register_gst_pad_direction),
11701 (gst_pad_direction_get_type), (register_gst_pad_flags),
11702 (gst_pad_flags_get_type), (register_gst_pad_presence),
11703 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11704 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11705 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11706 (gst_plugin_error_get_type), (register_gst_plugin_flags),
11707 (gst_plugin_flags_get_type), (register_gst_rank),
11708 (gst_rank_get_type), (register_gst_query_type),
11709 (gst_query_type_get_type), (register_gst_tag_merge_mode),
11710 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11711 (gst_tag_flag_get_type), (register_gst_task_state),
11712 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11713 (gst_alloc_trace_flags_get_type),
11714 (register_gst_type_find_probability),
11715 (gst_type_find_probability_get_type), (register_gst_uri_type),
11716 (gst_uri_type_get_type), (register_gst_parse_error),
11717 (gst_parse_error_get_type):
11718 * win32/common/gstenumtypes.h:
11719 * win32/common/gstversion.h:
11720 update visual studio generated files
11722 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11724 * win32/vs6/libgstbase.dsp:
11725 * win32/vs6/libgstelements.dsp:
11726 update project files for new locations
11728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11733 reinstate and update
11738 * docs/random/LICENSE:
11741 2005-11-30 Edward Hervey <edward@fluendo.com>
11743 * gst/gsttypefind.c: (gst_type_find_register):
11744 * gst/gsttypefind.h:
11745 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
11746 (gst_type_find_factory_dispose):
11747 * gst/gsttypefindfactory.h:
11748 Fix memory leak in GstTypeFindFactory.
11750 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11753 * plugins/elements/Makefile.am:
11754 * plugins/elements/gstelements.c:
11755 * plugins/elements/gstqueue.c:
11756 move queue from core to the elements plugin
11758 2005-11-29 Andy Wingo <wingo@pobox.com>
11760 * libs/gst/base/gstbasetransform.h:
11761 * libs/gst/base/gstbasesrc.h:
11762 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
11764 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
11765 of pointers by which to pad very extensible base classes (like the
11766 ones in libs/gst/base).
11768 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11770 * docs/gst/gstreamer-docs.sgml:
11771 * docs/gst/gstreamer-sections.txt:
11772 * docs/libs/gstreamer-libs-docs.sgml:
11773 * docs/libs/gstreamer-libs-sections.txt:
11774 moving documentation from core to lib
11776 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11778 * check/Makefile.am:
11780 * docs/gst/Makefile.am:
11782 * gst/base/.cvsignore:
11783 * gst/base/Makefile.am:
11785 * gst/base/gstadapter.c:
11786 * gst/base/gstadapter.h:
11787 * gst/base/gstbasesink.c:
11788 * gst/base/gstbasesink.h:
11789 * gst/base/gstbasesrc.c:
11790 * gst/base/gstbasesrc.h:
11791 * gst/base/gstbasetransform.c:
11792 * gst/base/gstbasetransform.h:
11793 * gst/base/gstcollectpads.c:
11794 * gst/base/gstcollectpads.h:
11795 * gst/base/gstpushsrc.c:
11796 * gst/base/gstpushsrc.h:
11797 * gst/base/gsttypefindhelper.c:
11798 * gst/base/gsttypefindhelper.h:
11799 * gst/check/Makefile.am:
11800 * gst/check/gstcheck.c:
11801 * gst/check/gstcheck.h:
11802 * gst/net/Makefile.am:
11803 * gst/net/gstnet.h:
11804 * gst/net/gstnetclientclock.c:
11805 * gst/net/gstnetclientclock.h:
11806 * gst/net/gstnettimepacket.c:
11807 * gst/net/gstnettimepacket.h:
11808 * gst/net/gstnettimeprovider.c:
11809 * gst/net/gstnettimeprovider.h:
11810 * libs/gst/Makefile.am:
11811 * libs/gst/base/Makefile.am:
11812 * libs/gst/base/gstbasetransform.c:
11813 * libs/gst/check/Makefile.am:
11814 * plugins/elements/Makefile.am:
11816 CVS surgery + support to move base, check, and net out of gst
11819 2005-11-29 Andy Wingo <wingo@pobox.com>
11821 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
11823 * gst/gststructure.h (struct _GstStructure): Only one pointer of
11826 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
11828 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
11830 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
11832 * gst/gstobject.h: (struct _GstObject): Only one pointer of
11833 padding; reduces object size by about 30%. We don't expect
11834 anything else to go into gstobject.
11836 * gst/gstminiobject.h (struct _GstMiniObject)
11837 (struct _GstMiniObjectClass): Only one pointer of padding; the
11838 payload is only a pointer and two ints anyway. For the class there
11839 are only two methods as well.
11841 * gst/gstelement.h (struct _GstElementClass): Removed
11842 the state_changed signal callback, it is not used.
11844 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11846 * docs/gst/gstreamer.types:
11847 fix includes, though they are a little dinky
11849 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11851 * check/Makefile.am:
11852 look in the right place for elements, a lot more chance of
11855 remove indexers and elements subdirs
11856 * plugins/Makefile.am:
11857 make indexers conditional
11859 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11863 * plugins/elements/Makefile.am:
11864 * plugins/elements/gstcapsfilter.c:
11865 * plugins/elements/gstfilesink.c:
11866 * plugins/elements/gstfilesrc.c:
11867 * plugins/elements/gstidentity.c:
11868 * plugins/indexers/Makefile.am:
11869 do CVS surgery and related build fixery to move elements
11870 and indexers in a new gstreamer/plugins directory, out of the
11873 2005-11-29 Andy Wingo <wingo@pobox.com>
11875 * check/Makefile.am:
11876 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11877 * pkgconfig/gstreamer-net.pc.in:
11878 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11881 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11883 * tools/Makefile.am:
11884 * tools/gst-complete.1.in:
11885 * tools/gst-complete.c:
11886 * tools/gst-compprep.1.in:
11887 * tools/gst-compprep.c:
11888 removing -compprep and -complete
11890 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11892 * gst/gstevent.c: (gst_event_new_new_segment),
11893 (gst_event_parse_new_segment):
11895 fix #320529 - clean up new_segment API and structure.
11896 Let's hope everyone was using the methods, and not the structure.
11898 2005-11-29 Edward Hervey <edward@fluendo.com>
11900 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11901 (gst_base_sink_event), (gst_base_sink_do_sync),
11902 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11903 Properly handle non GST_FORMAT_TIME segment
11904 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11905 Properly handle non GST_FORMAT_TIME segment
11906 * gst/gstsegment.c:
11907 This function is valid if the accumulator is 0 and the format
11908 is different from the requested format.
11910 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11912 * docs/gst/gstreamer-sections.txt:
11913 Add gst_query_new_seeking and gst_query_parse_seeking to the
11916 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11918 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11919 Treat a pad alloc with new caps the same as if we were not
11920 negotiated, in order to allow a changing upstream output
11921 to produce a new format of data.
11923 2005-11-29 Edward Hervey <edward@fluendo.com>
11925 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11926 (gst_base_transform_event), (gst_base_transform_eventfunc):
11927 The event virtual method is now properly implemented, with a default
11929 Sub classes should call the parent_class event method. They should
11930 return FALSE if they had a problem handling the given event, or don't
11931 want GstBaseTransform to send that even downstream
11932 * gst/elements/gstidentity.c: (gst_identity_class_init),
11933 (gst_identity_init), (gst_identity_event),
11934 (gst_identity_transform_ip), (gst_identity_set_property),
11935 (gst_identity_get_property):
11936 * gst/elements/gstidentity.h:
11937 Added the single-segment boolean property.
11938 If set to TRUE, it will output a single segment of data, starting from
11939 0, will eat up all incoming newsegment, and modify the timestamp of the
11940 buffers accordingly
11942 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
11944 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11945 Don't ref NULL target pad (#322751). Improve docs.
11947 2005-11-29 Michael Smith <msmith@fluendo.com>
11949 * gst/gstregistryxml.c: (load_plugin):
11950 Don't crash if we failed to load a feature from a plugin.
11952 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11954 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11956 use more check API and less GLib API
11958 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11961 don't run checks if we don't have check
11962 * common/check.mak:
11963 remove the registry when running make torture
11964 * docs/gst/gstreamer-sections.txt:
11965 remove second multiply
11966 * gst/gstqueue.c: (gst_queue_loop):
11967 fix a compile warning when disabling debug
11969 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11972 Hey! Let's print the pad name if the pointer != NULL instead
11973 of when it == NULL :-)
11975 2005-11-28 Wim Taymans <wim@fluendo.com>
11977 * check/gst/gstutils.c: (GST_START_TEST):
11978 Updated check, add some scaling accuracy checking code.
11980 * gst/gstutils.c: (gst_util_div128_64),
11981 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11982 (gst_util_uint64_scale_int):
11983 Fix 6 times faster division code. Optimize for common
11984 1/1 and less common X/1 cases.
11986 2005-11-28 Wim Taymans <wim@fluendo.com>
11988 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11991 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11992 (do_linear_regression), (gst_clock_add_observation):
11994 Release lock when the clock cannot be slaved.
11995 Catch the case where the regression returned an invalid denominator.
11997 * gst/gstutils.c: (gst_util_div128_64_iterate),
11998 (gst_util_div128_64), (gst_util_uint64_scale_int64),
11999 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12000 Add protentially more performant non-iterative 128/64 divide function
12001 that unfortunatly does not work yet.
12002 Shortcut the trivial 0/X = 0 case.
12003 Remove the warnings on overflow.
12005 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12007 * gst/gstplugin.c: (gst_plugin_register_func):
12008 everything causing a plugin not to load should be at least a WARNING
12010 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12012 * docs/random/ensonic/dparams.txt:
12013 some TODOs for the next dev cycle
12014 * libs/gst/controller/gstcontroller.c:
12015 (gst_controlled_property_set_interpolation_mode),
12016 (gst_controlled_property_new):
12017 * libs/gst/controller/gstcontroller.h:
12018 use base type to assign acccessor functions
12020 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12022 * check/Makefile.am:
12023 Oops, that should have been top_srcdir
12025 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12027 * check/Makefile.am:
12028 * check/elements/fdsrc.c: (GST_START_TEST):
12029 Use a cmdline define to specify the location of a file to use for
12030 testing, to avoid breaking distcheck.
12032 2005-11-28 Andy Wingo <wingo@pobox.com>
12034 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12036 2005-11-28 Edward Hervey <edward@fluendo.com>
12038 * tools/gst-launch.c: (main):
12039 Clarify the output strings, makes it easier to translate.
12042 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12045 don't try and build net if we don't even have <sys/socket.h>
12047 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12049 * check/Makefile.am:
12050 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12051 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12052 Add tests for fdsrc seekability
12054 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12055 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12056 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12057 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12058 * gst/elements/gstfdsrc.h:
12059 fdsrc should not be a 'live' source.
12060 Implement seeking on seekable fd's.
12062 * gst/gstquery.c: (gst_query_new_seeking),
12063 (gst_query_parse_seeking):
12065 Implement SEEKING query functions:
12066 *_new_seeking and *_parse_seeking
12068 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12070 * gst/gstelement.c: (gst_element_dispose):
12073 * gst/gstiterator.c:
12074 * gst/gststructure.c:
12077 * libs/gst/controller/gstcontroller.c:
12078 (gst_controlled_property_set_interpolation_mode):
12079 * libs/gst/controller/gstcontroller.h:
12080 * libs/gst/controller/gstinterpolation.c:
12081 (interpolate_none_get_enum_value_array):
12082 support controlling enums
12084 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12087 Improve documentation for gst_value_union().
12090 Change return value for union, intersect and subtract functions
12091 from gint to gboolean.
12093 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12095 * gst/gstvalue.c: (gst_value_serialize_any_list),
12096 (gst_value_transform_any_list_string),
12097 (gst_value_deserialize_list), (gst_value_deserialize_array),
12098 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12099 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12100 (gst_value_set_fraction_range_full),
12101 (gst_value_deserialize_fraction_range),
12102 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12103 (gst_value_deserialize_boolean),
12104 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12105 (gst_value_serialize_float), (gst_value_deserialize_float),
12106 (gst_string_wrap), (gst_value_deserialize_string),
12107 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12108 (gst_value_union_int_range_int_range),
12109 (gst_value_intersect_int_range_int_range),
12110 (gst_value_intersect_double_range_double_range),
12111 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12112 (gst_value_subtract_int_range_int_range),
12113 (gst_value_subtract_double_double_range),
12114 (gst_value_subtract_double_range_double_range),
12115 (gst_value_deserialize_fraction):
12117 Use gint, gdouble and gchar in our API instead of int, double and
12118 char (and make usage in gstvalue.c more consistent).
12120 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12122 * check/Makefile.am:
12123 * libs/gst/controller/Makefile.am:
12124 * libs/gst/dataprotocol/Makefile.am:
12125 fix up Makefile.am and remove GST_ENABLE_NEW
12127 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12131 * gst/base/Makefile.am:
12132 * gst/check/Makefile.am:
12133 * gst/elements/Makefile.am:
12134 * gst/net/Makefile.am:
12135 update LDFLAGS use some more
12137 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12139 * common/m4/gst-doc.m4:
12142 2005-11-26 Edward Hervey <edward@fluendo.com>
12144 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12145 This shouldn't issue a g_warning since it returns NULL if it
12146 couldn't find the plugin, and all functions using this behave
12147 properly on a NULL return. Switching to a GST_WARNING.
12149 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12151 * gst/gstbin.c: (gst_bin_handle_message_func):
12152 Don't leak clock messages.
12154 2005-11-25 Wim Taymans <wim@fluendo.com>
12156 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12157 (gst_util_uint64_scale_int):
12158 Optimisations, remove unneeded vars.
12160 2005-11-25 Wim Taymans <wim@fluendo.com>
12162 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12163 Added more checks for the high precision uint64 cases.
12165 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12166 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12167 Implement high precision (guint64 * guint64) / guint64.
12169 2005-11-24 Wim Taymans <wim@fluendo.com>
12171 * gst/base/gstbasesrc.c: (gst_base_src_query):
12172 Fix wrong percentage query.
12174 * gst/gstutils.c: (gst_util_uint64_scale),
12175 (gst_util_uint64_scale_int):
12176 Add some more common cases that can be handled
12177 efficiently to _scale.
12179 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12181 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12182 (gst_mini_object_suite):
12183 don't use check calls from threads; check probably isn't
12184 threadsafe and using a lock to make it threadsafe would
12185 defeat the purpose of this check
12186 * gst/check/gstcheck.c:
12187 * gst/check/gstcheck.h:
12188 use GST_DEBUG some more
12190 2005-11-24 Wim Taymans <wim@fluendo.com>
12192 * gst/gstutils.c: (gst_util_uint64_scale),
12193 (gst_util_uint64_scale_int):
12194 Chain trivial case to _scale_int.
12196 2005-11-24 Wim Taymans <wim@fluendo.com>
12198 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12199 Added test for scaling.
12204 * gst/gstutils.c: (gst_util_uint64_scale_int):
12205 Implemented high precision scaling code.
12207 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12210 do not crash on pad==NULL
12212 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12214 Patch by: Stefan Kost
12216 * common/gtk-doc.mak:
12217 * docs/gst/Makefile.am:
12218 * docs/libs/Makefile.am:
12219 Fix distcheck issues for the libraries docs build
12222 2005-11-24 Michael Smith <msmith@fluendo.com>
12224 * docs/manual/basics-helloworld.xml:
12225 Fix bug #315027: memory leak in example code in docs.
12227 2005-11-24 Michael Smith <msmith@fluendo.com>
12229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12230 Unlock the PREROLL_LOCK in a failure case.
12232 2005-11-24 Wim Taymans <wim@fluendo.com>
12234 * docs/gst/gstreamer-sections.txt:
12235 * gst/base/gstadapter.h:
12236 * gst/base/gstbasesink.h:
12237 * gst/base/gstbasesrc.h:
12238 * gst/base/gstbasetransform.h:
12239 * gst/base/gstpushsrc.h:
12240 * gst/elements/gstfakesink.h:
12241 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12242 * gst/elements/gstfakesrc.h:
12243 * gst/elements/gstfilesink.h:
12244 * gst/elements/gstfilesrc.h:
12247 * gst/gstbuffer.c: (_gst_buffer_copy):
12250 * gst/gstchildproxy.c:
12252 * gst/gstelement.c:
12253 * gst/gstelementfactory.c:
12254 * gst/gstelementfactory.h:
12256 * gst/gstghostpad.h:
12258 * gst/gstinterface.h:
12259 * gst/gstminiobject.c:
12260 * gst/gstminiobject.h:
12263 * gst/gstpadtemplate.h:
12264 * gst/gstpipeline.h:
12265 * gst/gstpluginfeature.h:
12268 * gst/gsttaglist.c:
12269 * gst/gsttaglist.h:
12270 * gst/gsttagsetter.c:
12271 * gst/gsttagsetter.h:
12274 * gst/gsttypefind.h:
12277 * gst/net/gstnetclientclock.c:
12278 * gst/net/gstnetclientclock.h:
12279 * gst/net/gstnettimepacket.c:
12280 * gst/net/gstnettimeprovider.c:
12281 * gst/net/gstnettimeprovider.h:
12284 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12286 * configure.ac: back to HEAD
12288 === release 0.9.6 ===
12290 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12293 releasing 0.9.6, "Always On Time"
12295 2005-11-23 Wim Taymans <wim@fluendo.com>
12297 * docs/gst/gstreamer-sections.txt:
12298 * gst/glib-compat.c:
12299 * gst/gsttagsetter.c:
12301 * gst/net/gstnetclientclock.c:
12302 * gst/net/gstnettimepacket.h:
12305 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12307 * docs/faq/using.xml:
12308 * docs/libs/tmpl/gstcontrol.sgml:
12309 * docs/manual/advanced-dparams.xml:
12310 * docs/manual/appendix-checklist.xml:
12311 * docs/manual/basics-elements.xml:
12312 * docs/pwg/other-source.xml:
12313 * docs/random/moving-plugins:
12315 * tools/gst-launch.1.in:
12316 remove mentions of sinesrc
12318 2005-11-23 Michael Smith <msmith@fluendo.com>
12320 * docs/gst/gstreamer-sections.txt:
12321 Update for new API and API changes.
12323 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12325 Documentation typo fix.
12326 * gst/net/gstnettimepacket.c:
12327 Documentation fixes for arguments.
12329 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12331 * gst/gststructure.c: (gst_structure_get_fraction),
12332 (gst_structure_parse_value),
12333 (gst_structure_fixate_field_nearest_fraction):
12334 * gst/gststructure.h:
12335 * gst/gstutils.c: (gst_util_uint64_scale_int):
12337 * scripts/update-funcnames:
12339 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12340 Make gst_structure_fixate_field_nearest_fraction take a numerator
12341 and denominator argument instead of a GValue
12342 add gst_structure_get_fraction helper function.
12344 2005-11-23 Wim Taymans <wim@fluendo.com>
12346 * docs/design/part-TODO.txt:
12349 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12350 * gst/net/gstnetclientclock.h:
12351 Use parent fields for timeout and window_size.
12353 2005-11-23 Andy Wingo <wingo@pobox.com>
12355 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12356 rate_num/rate_denom change.
12358 * gst/net/gstnetclientclock.c
12359 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12360 OBJECT_LOCK. Don't call add_observation with the lock.
12362 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12364 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12366 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12367 deal with rate as a fraction whose numerator and denominator are
12368 GstClockTime values.
12369 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12370 master; the other fields are protected by the SLAVE_LOCK.
12371 (do_linear_regression): Note that this must be called with the
12373 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12374 OBJECT_LOCK. Call set_calibration instead of touching the
12375 variables directly.
12376 (gst_clock_set_property, gst_clock_get_property): Protect
12377 master/slave parameters with the SLAVE_LOCK.
12379 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12380 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12381 note that all of the instance variables that add_observation and
12382 the set_master functions use are protected by that lock and not
12384 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12386 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12387 the caller to take the object lock.
12389 2005-11-23 Wim Taymans <wim@fluendo.com>
12391 * gst/gsterror.c: (_gst_core_errors_init):
12393 Add error for clock stuff.
12395 * gst/gstpipeline.c: (gst_pipeline_change_state),
12396 (gst_pipeline_set_clock):
12397 Post clock error when clock cannot be used in a pipeline.
12399 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12401 * docs/gst/gstreamer-sections.txt:
12402 make two symbols from gstinfo private for the docs
12403 * gst/base/gstcollectpads.h:
12405 fix doc typos, update docs
12407 2005-11-22 Wim Taymans <wim@fluendo.com>
12409 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12410 (gst_base_sink_wait), (gst_base_sink_do_sync),
12411 (gst_base_sink_handle_event):
12412 * gst/base/gstbasesink.h:
12413 No need to store the clock, the parent element class already
12416 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12417 Updates for clock_set returning a gboolean
12419 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12420 (gst_clock_id_wait_async), (gst_clock_class_init),
12421 (gst_clock_init), (gst_clock_finalize),
12422 (gst_clock_get_internal_time), (gst_clock_get_time),
12423 (gst_clock_slave_callback), (gst_clock_set_master),
12424 (gst_clock_get_master), (do_linear_regression),
12425 (gst_clock_add_observation), (gst_clock_set_property),
12426 (gst_clock_get_property):
12428 Implement master/slave. When setting a clock as a slave, a
12429 periodic timeout is scheduled to sample master and slave times.
12430 Then the slave clock is recalibrated to match offset and rate
12431 of the master clock.
12432 Update logging a bit.
12433 Add flag so that a clock can state that is cannot be slaved to
12436 * gst/gstelement.c: (gst_element_set_clock):
12437 * gst/gstelement.h:
12438 The set clock returns a gboolean for when an element cannot
12439 deal with the selected clock in the pipeline.
12441 * gst/gstpipeline.c: (gst_pipeline_change_state),
12442 (gst_pipeline_set_clock):
12443 * gst/gstpipeline.h:
12444 Handle the case where the selected clock cannot be set on
12447 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12448 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12449 (gst_net_client_clock_set_property),
12450 (gst_net_client_clock_get_property),
12451 (gst_net_client_clock_observe_times):
12452 * gst/net/gstnetclientclock.h:
12453 Use regression code in GstClock parent, remove duplicated
12456 2005-11-22 Michael Smith <msmith@fluendo.com>
12458 * gst/gstutils.c: (gst_util_clock_time_scale):
12460 * docs/gst/gstreamer-sections.txt:
12461 Rename method to have extra underscore.
12463 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
12465 * gst/elements/Makefile.am:
12466 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12467 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12468 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12469 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12470 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12471 * gst/elements/gstfakesrc.h:
12472 * gst/gstqueue.c: (queue_leaky_get_type):
12473 correctly fix GEnumValues so that nick is the short lowercase
12475 * tools/gst-inspect.c: (print_element_properties_info):
12476 also show the nick, since it's useful to use from parse_launch
12480 2005-11-22 Michael Smith <msmith@fluendo.com>
12482 * gst/gstutils.c: (gst_util_clocktime_scale):
12484 * docs/gst/gstreamer-sections.txt:
12485 Add util method for scaling a clocktime by a fraction. Useful
12486 implementation is left as an exercise for the reader.
12488 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12490 * gst/gstvalue.c: (gst_value_collect_fraction_range):
12491 If needed, allocate storage in the destination value during
12494 2005-11-22 Edward Hervey <edward@fluendo.com>
12496 * docs/gst/gstreamer-sections.txt:
12499 * gst/gsturitype.c:
12500 * gst/gsturitype.h:
12501 * gst/gstutils.c: (gst_util_set_object_arg):
12502 * tools/gst-compprep.c: (main):
12503 * tools/gst-inspect.c: (print_element_properties_info):
12504 Removed GstURI, closes bug #321061
12506 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12508 * check/gst/gststructure.c: (GST_START_TEST):
12509 * gst/gststructure.c: (gst_structure_parse_value):
12510 Oops, broke automatic string type parsing.
12511 Add a test to catch it in future.
12513 2005-11-22 Andy Wingo <wingo@pobox.com>
12515 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
12516 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
12517 Actually rename the function implementations. Grr.
12519 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12521 * check/gst/capslist.h:
12523 * check/gst/gststructure.c: (GST_START_TEST),
12524 (gst_structure_suite):
12525 Test automatic value type detection in gst_structure_from_string.
12526 * gst/gststructure.c: (gst_structure_parse_value):
12527 Add fraction as a type we try and guess automatically in
12528 caps/structure strings.
12530 2005-11-22 Andy Wingo <wingo@pobox.com>
12532 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
12534 * gst/gsttagsetter.h:
12535 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
12536 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
12537 (gst_tag_setter_add_tag_valist)
12538 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
12539 _add_values, _add_valist, and _add_valist_values. Since this is an
12540 interface the function suffixes should be more explicit so
12541 language binding don't end up with element.add_valist ->
12542 gst_tag_setter_add_valist, for example. Fixes #322069.
12544 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12546 * check/gst/gstcaps.c: (GST_START_TEST):
12547 Extend caps string tests to check that a caps to string
12548 conversion is reversible and produces the same caps.
12550 * gst/gststructure.c: (gst_structure_value_get_generic_type):
12551 Output "fraction" as the generic type fraction range, so caps
12552 serialisation and deserialisation works.
12553 * check/gst/capslist.h:
12554 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12555 Support 'MIN' and 'MAX' for deserialising fractions.
12557 2005-11-22 Andy Wingo <wingo@pobox.com>
12559 * gst/gstevent.h (gst_event_new_new_segment)
12560 (gst_event_parse_new_segment, gst_event_new_buffer_size)
12561 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
12562 Renamed from *_newsegment, *_buffersize, *_notarget.
12564 * scripts/update-funcnames: New script, performs the changes
12567 2005-11-22 Wim Taymans <wim@fluendo.com>
12569 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12570 Make sure the GstFlowReturn is returned.
12572 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
12573 (gst_bus_add_signal_watch):
12575 add gst_bus_add_signal_watch_full.
12577 * gst/gstplugin.c: (gst_plugin_load_file):
12578 Small style cleanup.
12580 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12582 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
12583 Block the fakesrc srcpad when we send an event, to avoid
12584 contention on the stream_lock causing random test failures.
12586 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12588 * check/gst/gstvalue.c: (GST_START_TEST):
12589 * gst/gstvalue.c: (gst_value_fraction_subtract):
12592 2005-11-22 Stefan Kost <ensonic@users.sf.net>
12595 include "gstchildproxy.h"
12596 * gst/gstchildproxy.h:
12597 * libs/gst/controller/gstcontroller.h:
12598 use G_GNUC_NULL_TERMINATED
12600 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
12602 * check/gst/capslist.h:
12603 * check/gst/gstcaps.c: (GST_START_TEST):
12604 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12605 * gst/gststructure.c: (gst_structure_parse_range),
12606 (gst_structure_fixate_field_nearest_fraction):
12607 * gst/gststructure.h:
12608 * gst/gstvalue.c: (gst_value_init_fraction_range),
12609 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
12610 (gst_value_collect_fraction_range),
12611 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
12612 (gst_value_set_fraction_range_full),
12613 (gst_value_get_fraction_range_min),
12614 (gst_value_get_fraction_range_max),
12615 (gst_value_serialize_fraction_range),
12616 (gst_value_transform_fraction_range_string),
12617 (gst_value_compare_fraction_range),
12618 (gst_value_deserialize_fraction_range),
12619 (gst_value_intersect_fraction_fraction_range),
12620 (gst_value_intersect_fraction_range_fraction_range),
12621 (gst_value_subtract_fraction_fraction_range),
12622 (gst_value_subtract_fraction_range_fraction),
12623 (gst_value_subtract_fraction_range_fraction_range),
12624 (gst_value_collect_fraction), (gst_value_fraction_multiply),
12625 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
12626 (gst_value_transform_string_fraction), (_gst_value_initialize):
12628 Implement fraction ranges and extend GstFraction to support
12629 arithmetic subtraction, as well as deserialization from integer
12630 strings such as "100"
12631 Add a testsuite as for int and double range set operations
12633 2005-11-21 Andy Wingo <wingo@pobox.com>
12635 * gst/gsttaglist.h:
12637 * gst/gststructure.h: Add glib-compat.h.
12639 2005-11-21 Wim Taymans <wim@fluendo.com>
12641 * gst/gstbin.c: (gst_bin_change_state_func):
12644 2005-11-21 Wim Taymans <wim@fluendo.com>
12646 * gst/gstsegment.h:
12647 And add a nice define too.
12649 2005-11-21 Wim Taymans <wim@fluendo.com>
12651 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
12652 (gst_segment_new), (gst_segment_free), (gst_segment_init),
12653 (gst_segment_set_duration), (gst_segment_set_last_stop),
12654 (gst_segment_set_seek), (gst_segment_set_newsegment),
12655 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12656 (gst_segment_clip):
12657 * gst/gstsegment.h:
12658 Make binding friendly.
12660 2005-11-21 Andy Wingo <wingo@pobox.com>
12662 * gst/gsttagsetter.h:
12663 * gst/gsttaglist.h:
12664 * gst/gststructure.h:
12666 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
12669 * gst/gsterror.c (_gst_core_errors_init):
12670 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
12673 * gst/Makefile.am (gst_headers): Add glib-compat.h.
12674 (noinst_HEADERS): noinst the -private.
12676 2005-11-21 Michael Smith <msmith@fluendo.com>
12679 * gst/gstregistry.h:
12680 Remove unimplemented declarations for which we can see no sensible
12683 2005-11-21 Andy Wingo <wingo@pobox.com>
12685 * gst/gst.h: Include glib-compat.h.
12687 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
12689 * gst/glib-compat.c: Include the public and the private header.
12691 * gst/glib-compat-private.h: Copied here from glib-compat.h.
12695 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
12697 * check/gst/gstevent.c (create_custom_events): Check that
12698 FLUSH_STOP is serialized.
12700 * check/elements/identity.c (event_func):
12701 * check/elements/fakesrc.c (event_func): No stream lock, the core
12704 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
12705 stream lock taking, yay.
12707 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
12708 ensure that core takes the stream lock.
12710 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
12713 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
12714 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
12715 it already. For the flush start we do take it though so we get the
12716 right preroll state change messages.
12718 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
12719 the stream lock here, the core does it for us.
12721 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
12722 GST_STREAM_GET_LOCK.
12723 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
12724 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
12725 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
12726 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
12727 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
12728 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
12730 * gst/gstpad.c: Update for stream lock name change.
12732 * gst/base/gstbasesink.c: Update for preroll lock name change.
12734 2005-11-21 Wim Taymans <wim@fluendo.com>
12736 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
12737 (gst_clock_get_master):
12739 * gst/gstsystemclock.c: (gst_system_clock_init):
12740 Convert Clock flags to object flags.
12741 Added methods to manage master/slave clocks.
12743 2005-11-21 Wim Taymans <wim@fluendo.com>
12745 * check/gst/gstsegment.c: (GST_START_TEST):
12746 * docs/design/part-TODO.txt:
12747 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12748 (gst_base_sink_event), (gst_base_sink_do_sync),
12749 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12750 (gst_base_sink_query), (gst_base_sink_change_state):
12751 * gst/base/gstbasesink.h:
12752 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12753 (gst_base_src_default_newsegment),
12754 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12755 (gst_base_src_get_range), (gst_base_src_loop),
12756 (gst_base_src_change_state):
12757 * gst/base/gstbasesrc.h:
12758 * gst/base/gstbasetransform.c:
12759 (gst_base_transform_prepare_output_buf),
12760 (gst_base_transform_event), (gst_base_transform_change_state):
12761 * gst/base/gstbasetransform.h:
12762 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12763 (gst_collect_pads_event):
12764 * gst/base/gstcollectpads.h:
12765 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
12766 (gst_fake_src_create):
12767 * gst/elements/gstfakesrc.h:
12768 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12769 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12770 (gst_segment_set_last_stop), (gst_segment_set_seek),
12771 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12772 (gst_segment_to_running_time), (gst_segment_clip):
12773 * gst/gstsegment.h:
12774 More segment updates, replace code in plugins with segment
12777 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12779 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
12780 Don't ignore sscanf results
12782 2005-11-21 Andy Wingo <wingo@pobox.com>
12784 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
12787 * *.c: Ran scripts/update-macros. Oh yes.
12789 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
12790 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
12793 * scripts/update-macros: New script. Run it on your files to
12794 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
12797 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12799 * docs/gst/Makefile.am:
12800 * docs/gst/gstreamer-docs.sgml:
12801 * docs/gst/gstreamer-sections.txt:
12802 * docs/gst/gstreamer.types:
12804 more docs fixes, add new api to the docs
12806 2005-11-21 Andy Wingo <wingo@pobox.com>
12808 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
12809 state_broadcast call.
12811 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
12813 2005-11-21 Julien MOUTTE <julien@moutte.net>
12815 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
12816 function calls for arrays.
12818 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12820 * docs/random/ensonic/media-device-daemon.txt:
12821 wild idea, can this be done?
12822 * docs/gst/gstreamer-sections.txt:
12827 * gst/gstpluginfeature.c:
12831 doc fixes and additions
12833 2005-11-21 Andy Wingo <wingo@pobox.com>
12835 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
12836 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
12837 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
12838 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
12839 private to the basesrc implementation.
12841 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
12842 behalf of event function if necessary. It should no longer be
12843 necessary to take the stream lock in pad's event functions. Fixes
12846 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12847 * docs/gst/gstreamer-sections.txt:
12848 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
12849 (gst_structure_fixate_field_nearest_double),
12850 (gst_structure_fixate_field_boolean):
12851 * gst/gststructure.h:
12852 * win32/common/libgstreamer.def:
12853 * win32/gstreamer.def:
12855 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12858 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12860 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12861 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12862 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12863 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12864 (gst_fdsrc_uri_handler_init):
12865 * gst/elements/gstfdsrc.h:
12866 Port fd:// URI handler from 0.8 to fdsrc
12868 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12870 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12871 (gst_value_serialize_fourcc):
12873 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12874 consistent with our other format defines (#320324).
12876 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12878 * gst/gstvalue.c: (gst_value_is_fixed):
12879 Revert previous commit. Value lists are by definition
12880 not fixed, as they are a list of possible values.
12882 2005-11-21 Andy Wingo <wingo@pobox.com>
12884 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12885 during the stable series if we need it. Fixes #319178.
12887 * gst/gstevent.c (gst_event_new_filler): Removed.
12889 * check/gst/gstevent.c: Update comment about filler events.
12891 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12893 * gst/gstvalue.c: (gst_value_is_fixed):
12894 Should handle both value arrays and value lists.
12896 2005-11-21 Andy Wingo <wingo@pobox.com>
12898 patch by: Alessandro Dessina <alessandro nnva org>
12900 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12901 functions to access arrays. Fixes #321962.
12903 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12905 * docs/gst/gstreamer.types:
12906 gst_collectpads_get_type => gst_collect_pads_get_type.
12908 * gst/base/gstbasetransform.c:
12909 Remove unused SIGNAL_HANDOFF enum.
12911 2005-11-21 Andy Wingo <wingo@pobox.com>
12913 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12914 the event type (upstream, downstream, serialized). Renamed
12915 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12916 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12917 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12919 * gst/gstevent.c: Update for new CUSTOM event names.
12921 * check/gst/gstevent.c: Update check for new CUSTOM event names.
12924 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12927 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12929 * docs/gst/gstreamer-sections.txt:
12930 * win32/common/libgstbase.def:
12931 * win32/libgstbase.def:
12932 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12933 (gst_collect_pads_class_init), (gst_collect_pads_init),
12934 (gst_collect_pads_finalize), (gst_collect_pads_new),
12935 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12936 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12937 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12938 (gst_collect_pads_start), (gst_collect_pads_stop),
12939 (gst_collect_pads_peek), (gst_collect_pads_pop),
12940 (gst_collect_pads_available), (gst_collect_pads_read),
12941 (gst_collect_pads_flush), (gst_collect_pads_event),
12942 (gst_collect_pads_chain):
12943 * gst/base/gstcollectpads.h:
12944 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12945 unimplemented functions as unimplemented. Add padding to
12946 GstCollectData. (#320766, #320423)
12948 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12950 * gst/gstmessage.c:
12951 Improve docs for DURATION message (usage of duration parameter)
12954 2005-11-20 Wim Taymans <wim@fluendo.com>
12956 * check/Makefile.am:
12957 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12961 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12962 (gst_segment_set_seek), (gst_segment_set_newsegment),
12963 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12964 (gst_segment_clip):
12965 * gst/gstsegment.h:
12966 Added segment helper structure and methods. Not fully implemented
12968 Added segment check.
12970 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
12972 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12973 Add a deserialisation test for fractions
12974 * examples/metadata/read-metadata.c: (message_loop),
12975 (make_pipeline), (main):
12976 Fix up metadata reading sample.
12977 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12979 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12980 Don't try and fixate empty caps
12981 * gst/gst_private.h:
12982 Wrap in G_BEGIN_DECLS/G_END_DECLS
12983 * gst/gstvalue.c: (gst_value_collect_fraction),
12984 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12985 (gst_value_transform_string_fraction),
12986 (gst_value_compare_fraction):
12987 Add some extra guards to ensure that we don't end up
12988 with an invalid denominator of 0 in a gstfraction and
12989 that fractions always get reduced.
12991 2005-11-20 Wim Taymans <wim@fluendo.com>
12993 * docs/gst/gstreamer-sections.txt:
12995 * gst/gstelement.c:
13004 2005-11-20 Wim Taymans <wim@fluendo.com>
13006 * docs/design/part-TODO.txt:
13008 Make a proper enum of the flag.
13010 2005-11-19 Wim Taymans <wim@fluendo.com>
13012 * docs/design/part-TODO.txt:
13013 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13014 (gst_format_to_quark), (gst_format_register):
13016 * gst/gstquery.c: (_gst_query_initialize),
13017 (gst_query_type_get_name), (gst_query_type_to_quark),
13018 (gst_query_type_register):
13020 Add type to quark and type to string conversions.
13022 2005-11-19 Andy Wingo <wingo@pobox.com>
13024 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13027 2005-11-19 Wim Taymans <wim@fluendo.com>
13029 * docs/design/part-TODO.txt:
13030 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13031 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13032 (gst_bin_handle_message_func):
13034 Make message handling overridable.
13036 2005-11-19 Andy Wingo <wingo@pobox.com>
13038 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13041 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13043 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13044 is a GstClockTime. Fixes #321710.
13046 * gst/gstclock.h (GstClock): Remove offset property. Add
13047 internal_calibration and external_calibration. Fix padding. Pad
13048 also by GstClockTime so we don't run into problems.
13050 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13051 (gst_clock_get_rate_offset): Remove.
13052 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13055 * gst/gstutils.c (g_static_rec_cond_wait)
13056 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13058 * gst/gstbin.c: Remove terrible continue_state prototype.
13060 * gst/gstelement.h (gst_element_continue_state): Make public.
13062 * gst/gstelement.h:
13063 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13064 by continue_state. Fixes #319389.
13066 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13067 Really fixes #168438. However I don't see anywhere where the
13068 filter function is called... stupid GStreamer...
13070 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13071 don't have a dispose function, so it won't get called when the
13072 object is unreffed, but oh well!
13074 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13075 allows a destroy function to be set so user_data can be freed.
13077 (gst_index_set_filter): Call gst_index_set_filter_full.
13079 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13081 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13082 string should produce an error, given the lack of a way to
13083 represent NULL strings. Fixes #165650.
13086 * gst/gstvalue.c (gst_value_array_append_value)
13087 (gst_value_array_prepend_value, gst_value_array_get_size)
13088 (gst_value_array_get_value): New API, copied from
13089 gst_value_list_*, only operates on arrays.
13090 (gst_value_list_append_value, gst_value_list_prepend_value)
13091 (gst_value_list_concat, gst_value_list_get_size)
13092 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13094 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13095 init_list, because it works on both.
13096 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13097 (gst_value_copy_list_or_array): Renamed from copy_list.
13098 (gst_value_free_list_or_array): Renamed from free_list.
13099 (gst_value_collect_list_or_array): Renamed from collect_list.
13100 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13101 (gst_value_list_or_array_peek_pointer): Renamed from
13103 (_gst_value_array_value_table, _gst_value_list_value_table):
13104 Update value table functions.
13105 (gst_value_compare_list_or_array): Renamed from compare_list.
13107 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13110 * gst/gsttaglist.c:
13111 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13112 GstTagList*. Fixes #143472.
13114 * gst/gststructure.h: Clarify what the foreach/map functions can
13115 or can't do to their arguments.
13117 2005-11-18 Wim Taymans <wim@fluendo.com>
13119 * gst/gstclock.c: (gst_clock_set_calibration),
13120 (gst_clock_get_calibration):
13122 Calibration can be set with internal time equal to current
13125 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13131 2005-11-18 Andy Wingo <wingo@pobox.com>
13134 * pkgconfig/gstreamer-net.pc.in:
13135 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13136 * pkgconfig/Makefile.am: Add net pkgconfig files.
13138 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13141 * gst/gstghostpad.c:
13147 2005-11-18 Andy Wingo <wingo@pobox.com>
13149 * gst/net/gstnetclientclock.c: Turn off debugging.
13151 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13152 times connverge somewhat. Can't make a real test.
13154 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13155 integer arithmetic. Return the minimum of the domain, which can be
13156 set as "internal" for gst_clock_set_calibration.
13157 (gst_net_client_clock_observe_times): Call _set_calibration.
13158 (gst_net_client_clock_new): Call _set_calibration instead of
13161 * check/net/gstnetclientclock.c (test_functioning): Use the right
13165 * gst/gstclock.c (gst_clock_get_calibration)
13166 (gst_clock_set_calibration): New functions, obsolete the ones I
13167 added yesterday. Doh. Precision issues mean we have to extrapolate
13168 from a point in the more recent past than 1970.
13169 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13171 (gst_clock_adjust_unlocked): Use the right calibration data.
13173 2005-11-18 Edward Hervey <edward@fluendo.com>
13175 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13176 Also reset the ->current_* values in READY->PAUSED
13178 2005-11-18 Andy Wingo <wingo@pobox.com>
13180 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13181 Whoops, check the right fd. Also add some debugging.
13182 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13183 (do_linear_regression): Add a crapload of debugging. Subtract off
13184 the minimum values from the input series to discard unneeded bits.
13185 Use only int arithmetic. There is still double arithmetic when
13186 calculating the intercept that needs fixing. Return boolean to
13187 indicate success; FALSE would mean the domain or range is too
13188 great. Still needs fixes.
13190 2005-11-18 Wim Taymans <wim@fluendo.com>
13192 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13193 For the current position in stream time, we need to subtract
13196 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13197 Release lock before calling the callback function of async
13200 2005-11-18 Andy Wingo <wingo@pobox.com>
13202 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13203 Port goes all the way to MAXUINT16.
13205 * gst/net/gstnettimeprovider.c: Make the port range the same as
13206 for the kernel: 0 assigns, otherwise ports are less than
13209 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13212 * check/net/gstnetclientclock.c (test_functioning): Add the start
13215 2005-11-18 Wim Taymans <wim@fluendo.com>
13217 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13218 (gst_bin_remove_func), (bin_bus_handler):
13220 Removing a clock provider from a bin, triggers a clock lost message
13221 so that a new clock will be selected.
13222 Adding a clock to a bin triggers a clock provider message.
13223 Make sure we reselect a clock when we received a clock lost message.
13224 Keep a reference to the element that provided the clock.
13226 2005-11-18 Andy Wingo <wingo@pobox.com>
13228 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13229 the clock initially so it produces values around the base time.
13230 (gst_net_client_clock_class_init): Typo fix.
13231 (gst_net_client_clock_thread): Add note on when the socket gets
13234 2005-11-17 Wim Taymans <wim@fluendo.com>
13236 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13237 Free remote and local time arrays.
13239 2005-11-17 Wim Taymans <wim@fluendo.com>
13241 * gst/net/gstnetclientclock.c: (do_linear_regression),
13242 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13243 Fix compilation, uninitialized vars and a forgotten continue.
13245 2005-11-17 Andy Wingo <wingo@pobox.com>
13247 * check/Makefile.am (check_PROGRAMS):
13248 * check/net/gstnetclientclock.c: Add a most minimal test for the
13249 net client clock. More to come later.
13251 * gst/net/gstnet.h:
13252 * gst/net/Makefile.am: Add netclientclock.
13254 * gst/net/gstnetclientclock.h:
13255 * gst/net/gstnetclientclock.c: New files, implement an untested
13256 GstClock that takes its time from a network time provider.
13257 Implements the algorithm in network-clock.scm.
13259 * tests/network-clock.scm (*window-size*): Rename from
13261 * tests/network-clock.scm (network-time):
13262 * tests/network-clock-utils.scm (q-push): Update callers.
13264 2005-11-17 Wim Taymans <wim@fluendo.com>
13266 * gst/gstbin.c: (gst_bin_provide_clock_func),
13267 (gst_bin_sort_iterator_new):
13268 And unref the child too..
13270 2005-11-17 Wim Taymans <wim@fluendo.com>
13272 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13273 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13274 Refactor the sort iterator so it can be used while holding the
13276 Make clock selection select a clock closest to the source.
13278 2005-11-17 Michael Smith <msmith@fluendo.com>
13280 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13281 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13283 Anonymous structs are a gcc (and some other compilers) extension, so
13284 don't use them. Since this is only for ABI-compatibility, and our
13285 API/ABI freeze is over in a few days, this whole thing will only
13286 last a few days, so don't bother trying to think up a meaningful
13287 name for the struct.
13289 2005-11-17 Andy Wingo <wingo@pobox.com>
13291 * gst/gstclock.h (GstClock): Add rate and offset properties,
13292 preserving ABI stability. Add rate/offset accessors. Will file bug
13293 for the freeze break.
13295 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13296 and offset, trying to keep precision and avoiding
13297 underflow/overflow.
13298 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13299 functions. Make gst_clock_set_time_adjust obsolete.
13300 (gst_clock_set_time_adjust): Note that this function is obsolete.
13301 Will file bug soon.
13303 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13304 greppable by using GST_PADDING-1+1.
13306 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13308 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13310 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13311 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13313 * gst/gstpadtemplate.h:
13314 * gst/gstpluginfeature.h:
13315 Don't use c++ style comments in headers (#321638).
13317 2005-11-16 Andy Wingo <wingo@pobox.com>
13319 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13322 * check/net/gstnettimeprovider.c: Check to see that the time
13323 provider actually provides times. Works, yo!
13325 2005-11-16 Wim Taymans <wim@fluendo.com>
13327 * check/Makefile.am:
13330 * check/elements/fakesrc.c: (GST_START_TEST):
13331 Set element to NULL before disposing it.
13333 2005-11-16 Andy Wingo <wingo@pobox.com>
13335 * gst/net/Makefile.am:
13336 * gst/net/gstnet.h:
13337 * gst/net/gstnettimeprovider.c:
13338 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13339 provider, include it from gstnet.h, and add it to the build.
13341 * gst/net/gstnettimepacket.h:
13342 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13343 sending and receiving.
13345 2005-11-16 Wim Taymans <wim@fluendo.com>
13347 * check/Makefile.am:
13348 Enable valgrind check.
13350 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13351 (gst_fake_src_alloc_buffer):
13354 2005-11-16 Wim Taymans <wim@fluendo.com>
13356 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13357 Call parent finalize too.
13359 2005-11-16 Wim Taymans <wim@fluendo.com>
13361 * check/Makefile.am:
13362 Enable valgrind check that should work fine now.
13364 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13365 * gst/gstqueue.c: (gst_queue_init):
13366 Fix memleaks in pad allocation.
13368 2005-11-16 Andy Wingo <wingo@pobox.com>
13370 * gst/net/Makefile.am:
13371 * gst/net/gstnet.h: New part of core to hold network elements and
13372 objects. Put in core because it exposes API that applications want
13373 to use. The library is named libgstnet-tempname right now because
13374 of the existing libgstnet in gst-plugins-base. Solution is
13375 probably to rename the one in plugins-base; will file a bug for
13378 * gst/net/gstnettimeprovider.c:
13379 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13380 get_time call over the network.
13383 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13385 * check/Makefile.am:
13386 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13387 get additions shortly.
13389 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13391 * gst/gstpad.c: (gst_pad_new_from_static_template):
13393 add gst_pad_new_from_static_template functions
13394 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13395 (gst_check_setup_sink_pad):
13396 * gst/elements/gsttee.c: (gst_tee_init):
13399 2005-11-16 Wim Taymans <wim@fluendo.com>
13401 * gst/gstpad.c: (gst_pad_pause_task):
13402 Removed warning, it's not really an error either.
13404 2005-11-16 Wim Taymans <wim@fluendo.com>
13406 * gst/base/gstbasetransform.c:
13407 (gst_base_transform_prepare_output_buf),
13408 (gst_base_transform_event):
13409 Check if the caps are NULL, this can happen if the element
13410 is shutting down and the pad caps are set to NULL.
13412 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13414 * gst/elements/gsttee.c: (gst_tee_init):
13415 fix pad template leak in tee
13417 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13419 * gst/glib-compat.c: (g_value_dup_gst_object):
13420 * gst/glib-compat.h:
13421 * gst/gstpad.c: (gst_pad_set_property):
13422 use gst_object_ref when setting the pad template; this will
13423 trigger the pad template leaks on GLib 2.6 and the slaves
13425 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13427 * gst/glib-compat.c: (gst_flags_get_first_value):
13428 * gst/glib-compat.h:
13429 * gst/gstregistryxml.c:
13430 remove functions copied from GLib 2.6
13432 2005-11-16 Michael Smith <msmith@fluendo.com>
13435 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13436 do, but only breaks with newer valgrind versions. We're not a
13437 valgrind tool, we have no link-time dependencies on libcoregrind.
13439 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13441 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13443 * gst/gstmessage.h:
13446 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13448 * gst/base/gstbasesrc.c: (gst_base_src_init):
13449 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13450 * gst/gstqueue.c: (gst_queue_init):
13451 * gst/gstregistryxml.c: (load_feature):
13452 Revert all these unrefs, they don't even pass make check !
13454 2005-11-15 Johan Dahlin <johan@gnome.org>
13456 * gst/base/gstbasesrc.c: (gst_base_src_init):
13457 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13458 * gst/gstqueue.c: (gst_queue_init):
13459 Free pad templates, fixes a couple of leaks.
13461 2005-11-15 Daniel Fischer <dan at f3c dot com>
13463 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13465 * gst/gstpad.c: (gst_pad_get_property):
13466 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13467 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13470 2005-11-15 Wim Taymans <wim@fluendo.com>
13475 2005-11-15 Andy Wingo <wingo@pobox.com>
13477 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13479 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13480 using GST_CLOCK_TIME_NONE to disable base time management.
13481 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13482 time if it was NONE before.
13483 (gst_pipeline_change_state): Only munge the base time if
13484 stream_time != GST_CLOCK_TIME_NONE.
13486 * check/gst/gstpipeline.c (test_base_time): Punt around the
13487 problem of the probe not being called, because that's not the
13488 issue I'm looking at. Add a check that setting stream_time to NONE
13489 disables base time management.
13491 2005-11-15 Wim Taymans <wim@fluendo.com>
13493 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13494 segment_stop == -1 at startup.
13496 * gst/base/gstbasetransform.c: (gst_base_transform_event),
13497 (gst_base_transform_change_state):
13498 Init segment values at start.
13500 2005-11-15 Wim Taymans <wim@fluendo.com>
13502 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13503 0 segment values are 0 in any format.
13505 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13506 * gst/base/gstbasetransform.h:
13507 Parse newsegment correctly in basetransform
13509 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13510 Sync to clock using updated segment values.
13512 2005-11-15 Andy Wingo <wingo@pobox.com>
13514 * check/gst/gstpipeline.c (test_base_time): Add check that the
13515 base time and stream time are reset correctly.
13517 2005-11-15 Wim Taymans <wim@fluendo.com>
13519 * docs/design/part-TODO.txt:
13520 Some more TODO items.
13522 2005-11-15 Andy Wingo <wingo@pobox.com>
13524 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
13525 error if the user selected "no clock" as the clocking method.
13527 * check/gst/gstpipeline.c (test_base_time): New test for buffer
13528 timestamps with live capture.
13530 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
13531 is 0 but we are a live source, timestamp the buffers using the
13534 2005-11-14 Stefan Kost <ensonic@users.sf.net>
13536 * docs/gst/gstreamer-sections.txt:
13538 * gst/gstghostpad.c:
13543 2005-11-14 Wim Taymans <wim@fluendo.com>
13546 add suppressions from Wim's Debian machine
13548 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
13551 add suppressions from Andy's AMD64 Ubuntu machine
13553 2005-11-14 Andy Wingo <wingo@pobox.com>
13555 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
13556 STATE_LOCK not necessary. Fixes #311489.
13558 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
13561 * gst/gstindex.c (gst_index_add_object): Note in the docs that
13562 this function is not implemented.
13564 2005-11-14 Julien MOUTTE <julien@moutte.net>
13566 * gst/base/gstbasetransform.c:
13567 (gst_base_transform_prepare_output_buf):
13568 Ref the source pad caps while we need them.
13571 2005-11-11 Wim Taymans <wim@fluendo.com>
13573 * docs/gst/gstreamer-sections.txt:
13574 Added some docs for GstCollectData.
13576 * gst/base/gstadapter.c:
13577 Some small code example fix.
13579 * gst/base/gstcollectpads.c:
13580 * gst/base/gstcollectpads.h:
13581 Document some more.
13583 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
13585 * configure.ac: back to HEAD
13587 === release 0.9.5 ===
13589 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
13592 releasing 0.9.5, "Bike Lunch Day"
13594 2005-11-11 Wim Taymans <wim@fluendo.com>
13596 * gst/gstbuffer.c: (_gst_buffer_copy):
13599 * gst/gstcaps.c: (gst_caps_is_equal):
13601 Make _is_equal fast in the trivial cases.
13603 * gst/gstminiobject.c:
13604 * gst/gstminiobject.h:
13605 More docs. Spifify .h file.
13610 2005-11-11 Wim Taymans <wim@fluendo.com>
13612 * gst/base/gstbasetransform.c:
13613 (gst_base_transform_prepare_output_buf),
13614 (gst_base_transform_handle_buffer):
13616 If we're processing a buffer and need to allocate an output
13617 buffer, we cannot accept a format change. If we did get a
13618 format change, we have to alloc a buffer ourselves of the
13621 2005-11-11 Wim Taymans <wim@fluendo.com>
13623 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
13624 While checking the flag for reentrancy in the gstcaps function
13625 is nice to detect recursive invocations, it also makes it
13626 impossible to call getcaps from multiple threads, which must be
13627 possible. So, checking for recursive calls has to go.
13629 2005-11-11 Michael Smith <msmith@fluendo.com>
13631 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13632 Don't sync on buffers that fall partially outside our current
13633 segment. Prevents an assertion failure/abort playing some files.
13635 2005-11-10 Andy Wingo <wingo@pobox.com>
13637 * check/gst/gstbin.c (test_message_state_changed_children): Style
13640 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
13641 gst_bus_poll with the signal watch. Ensures that poll and a signal
13642 watch see the same messages.
13644 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
13645 a poll and a watch at the same time get the same messages.
13647 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
13649 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
13650 * gst/gstcaps.c: (gst_caps_intersect):
13651 Don't call gst_caps_do_simplify - it doesn't respect order of caps
13652 and it's not needed.
13654 2005-11-10 Wim Taymans <wim@fluendo.com>
13656 * docs/design/part-TODO.txt:
13659 2005-11-10 Wim Taymans <wim@fluendo.com>
13661 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13662 * gst/base/gstbasesrc.c: (gst_base_src_wait),
13663 (gst_base_src_do_sync), (gst_base_src_get_range):
13664 Implement clock sync in base class.
13666 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
13668 patch by: Tim-Philipp Müller <tim at centricular dot net>
13670 * gst/gststructure.c: (gst_structure_parse_field),
13671 (gst_structure_from_string):
13672 Forward-port a 0.8 patch to handle escaped spaces in structure string,
13673 so that gst_parse_launch() can deal with spaces in filtered link
13674 caps (fixes #164479)
13675 * check/gst/capslist.h:
13676 * check/gst/gststructure.c: (GST_START_TEST):
13677 add unit tests for this change
13679 2005-11-10 Wim Taymans <wim@fluendo.com>
13681 * docs/gst/gstreamer-sections.txt:
13682 * gst/gstelement.c:
13683 * gst/gstelement.h:
13684 Fix docs, move some STATE macros to private.
13686 2005-11-10 Wim Taymans <wim@fluendo.com>
13688 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13689 Added check for bug #317341
13693 Some more spiffifying.
13695 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
13696 Call peer linkfunction if we are a source pad. Totally fixes
13700 Update docs, source pads should call the peer linkfunction
13701 so they can atomically perform the pad link.
13703 2005-11-09 Wim Taymans <wim@fluendo.com>
13707 Uber-spiffy-spiffify some more.
13709 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
13711 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
13712 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13713 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13714 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
13715 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
13716 * gst/gstpad.c: (gst_pad_init):
13717 Use GST_DEBUG_FUNCPTR() more extensively.
13719 2005-11-09 Wim Taymans <wim@fluendo.com>
13721 * gst/gstobject.c: (gst_object_class_init):
13723 Documentation fixes.
13725 2005-11-09 Edward Hervey <edward@fluendo.com>
13727 * gst/gsttypefindfactory.c:
13730 2005-11-09 Edward Hervey <edward@fluendo.com>
13732 * gst/base/gsttypefindhelper.c:
13733 * gst/gsttypefind.c:
13734 * gst/gsttypefind.h:
13737 2005-11-09 Wim Taymans <wim@fluendo.com>
13739 * gst/gstiterator.c:
13746 2005-11-09 Wim Taymans <wim@fluendo.com>
13752 2005-11-09 Wim Taymans <wim@fluendo.com>
13754 * docs/gst/gstreamer-sections.txt:
13755 Moved the message async delivery private lock and cond
13756 to the private section.
13758 * gst/gstmessage.c:
13759 * gst/gstmessage.h:
13762 2005-11-09 Edward Hervey <edward@fluendo.com>
13764 * docs/gst/gstreamer-sections.txt:
13767 Document GstURIHandler
13769 2005-11-09 Wim Taymans <wim@fluendo.com>
13771 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
13772 (gst_iterator_find_custom):
13773 * gst/gstiterator.h:
13776 2005-11-09 Wim Taymans <wim@fluendo.com>
13779 Document another field.
13781 * gst/gststructure.c:
13782 * gst/gststructure.h:
13785 2005-11-09 Wim Taymans <wim@fluendo.com>
13788 Documented structs.
13790 2005-11-09 Wim Taymans <wim@fluendo.com>
13792 * docs/gst/gstreamer-sections.txt:
13793 Added some new macros.
13800 2005-11-09 Wim Taymans <wim@fluendo.com>
13802 * docs/design/part-TODO.txt:
13803 Some more items for the TODO
13809 2005-11-09 Andy Wingo <wingo@pobox.com>
13811 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
13812 to work on something else now tho...
13814 * gst/base/gstadapter.c: More adapter docs.
13816 * gst/elements/gstfilesink.c (gst_file_sink_start)
13817 (gst_file_sink_stop): New functions, replace the state change
13819 (gst_file_sink_class_init): Hook up the start and stop functions.
13820 (gst_file_sink_base_init): Don't set the state change handler any
13821 more. It was a bit ugly too, being set from here...
13822 (gst_file_sink_get_property, gst_file_sink_set_property):
13824 (gst_file_sink_set_location): More robust check that doesn't call
13825 GST_STATE. Ugggggg.
13827 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
13829 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13830 Hold STREAM_LOCK while pushing newsegment or tag events as well.
13832 2005-11-08 Wim Taymans <wim@fluendo.com>
13834 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13835 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13836 (gst_base_sink_chain), (gst_base_sink_change_state):
13837 * gst/base/gstbasesink.h:
13838 * gst/base/gstbasesrc.h:
13839 * gst/gstelement.h:
13841 Avoid excessive typechecking in macros.
13843 * gst/gstminiobject.c: (gst_mini_object_get_type),
13844 (gst_mini_object_init), (gst_mini_object_new),
13845 (gst_mini_object_free):
13846 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13847 (gst_object_finalize):
13848 Remove cruft code, optimize alloc_trace.
13850 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
13852 * docs/faq/gst-uninstalled:
13853 fix up PS1 for systems that try to reset it
13855 2005-11-07 Wim Taymans <wim@fluendo.com>
13857 * gst/base/gstbasesrc.c: (gst_base_src_init),
13858 (gst_base_src_get_range):
13859 Set the segment_end to -1 initially. Fixed typefind.
13861 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
13863 * gst/base/gstadapter.c:
13864 Debug category should be 'adapter', not 'GstAdapter'.
13866 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13867 (gst_collectpads_class_init), (gst_collectpads_init),
13868 (gst_collectpads_peek), (gst_collectpads_pop),
13869 (gst_collectpads_event), (gst_collectpads_chain):
13870 Add debug category and some debugging output. Use boilerplate
13871 macros. Remove some extraneous words from docs.
13873 2005-11-05 Andy Wingo <wingo@pobox.com>
13875 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13878 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13880 * docs/gst/gstreamer-sections.txt:
13883 * gst/gstminiobject.h:
13888 2005-11-04 Wim Taymans <wim@fluendo.com>
13890 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13891 Small update to stop at the configured segment_end
13894 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13896 * gst/gstregistry.c:
13897 * gst/gstregistry.h:
13900 2005-11-04 Edward Hervey <edward@fluendo.com>
13902 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13903 Check if we are doing a segment seek and have arrived at the
13904 end of that segment.
13906 2005-11-04 Wim Taymans <wim@fluendo.com>
13908 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13909 Don't leak a mutex unlock in case of an error.
13914 2005-11-04 Wim Taymans <wim@fluendo.com>
13916 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13918 Get the context to wake up only once.
13920 2005-11-03 Wim Taymans <wim@fluendo.com>
13922 * check/states/sinks.c: (GST_START_TEST):
13923 Uncomment fixed check.
13925 * docs/design/part-TODO.txt:
13928 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13929 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13930 (gst_base_sink_get_position):
13931 If we are going to PLAYING, post the right pending state
13932 when we post the intermediate paused message.
13934 * gst/gstelement.c: (gst_element_continue_state),
13935 (gst_element_set_state_func), (gst_element_change_state):
13936 Don't post state changes that were between the same state
13937 and were not ASYNC.
13939 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13941 * docs/gst/gstreamer-sections.txt:
13944 * gst/gstminiobject.h:
13947 more docs and doc style fixes
13949 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13951 * docs/gst/gstreamer-sections.txt:
13952 * gst/gstelement.c:
13953 * gst/gstminiobject.c:
13956 2005-11-03 Andy Wingo <wingo@pobox.com>
13958 * check/states/sinks.c (test_livesrc_sink): Add checks that the
13959 state-changed messages actually have the right order and the right
13962 2005-11-03 Wim Taymans <wim@fluendo.com>
13964 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13965 Added some more checks. Specifically the case where NO_PREROLL
13966 elements are in the pipeline.
13968 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13969 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13970 (gst_base_sink_get_position):
13971 Post READY->PAUSED state change messages too.
13972 Fix bug where VOID was posted as pending state...
13974 * gst/gstbin.c: (gst_bin_recalc_state):
13975 use _element_continue_state() to continue the state change.
13977 * gst/gstelement.c: (gst_element_continue_state),
13978 (gst_element_commit_state), (gst_element_set_state_func),
13979 (gst_element_change_state), (gst_element_change_state_func):
13980 Lots of state change cleanups, assign the STATE_RETURN in
13981 a new continue_state() function that also propagates the
13982 last return value from a state change to the app.
13983 Update some debug statements with proper category.
13985 2005-11-03 Wim Taymans <wim@fluendo.com>
13987 * docs/design/part-events.txt:
13988 * docs/design/part-gstpipeline.txt:
13989 * docs/design/part-messages.txt:
13990 * docs/design/part-overview.txt:
13991 * docs/design/part-seeking.txt:
13992 * docs/design/part-states.txt:
13993 * docs/design/part-trickmodes.txt:
13994 * docs/manual/advanced-position.xml:
13995 Small docs updates.
13998 People think !! is ugly, this looks better.
14000 * gst/gstpad.c: (gst_pad_set_blocked_async):
14001 Remove !! since it's fixed elsewhere now.
14003 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14005 * gst/gstminiobject.h:
14007 Add !! to _FLAG_IS_SET macros to make the result boolean.
14009 2005-11-03 Edward Hervey <edward@fluendo.com>
14011 * gst/gstpad.c: (gst_pad_set_blocked_async):
14012 comparing a flag and a gboolean rarely returns coherent results...
14013 Added two characters (!!) to make that work correctly.
14015 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14017 * gst/gstbus.c: (gst_bus_class_init):
14020 * gst/gstqueue.c: (gst_queue_loop):
14021 Don't assume a miniobject that isn't a buffer is an
14022 event (it could be that there is a refcounting
14023 problem somewhere and the pointer is stale and
14024 refers to an already destroyed miniobject).
14026 2005-11-03 Julien MOUTTE <julien@moutte.net>
14028 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14030 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14032 * docs/manual/advanced-position.xml:
14033 Update seek example and explanations to current 0.9 API.
14035 * gst/elements/gsttypefindelement.c:
14036 (gst_type_find_element_activate):
14037 Remove FIXME comment now that the found caps
14040 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14042 * gst/gstregistryxml.c: (load_feature):
14043 Add another GST_STR_NULL instance
14045 2005-11-02 Edward Hervey <edward@fluendo.com>
14047 * gst/gstpad.c: (handle_pad_block):
14048 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14050 2005-11-02 Wim Taymans <wim@fluendo.com>
14055 * gst/gstelement.c: (gst_element_commit_state):
14056 Remove unused value.
14058 * gst/gstiterator.c:
14059 Mention that the returned element is reffed in the docs.
14061 2005-11-02 Wim Taymans <wim@fluendo.com>
14063 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14064 (gst_pad_push), (gst_pad_push_event):
14065 Unlock blocked pads when they are flushed.
14067 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14070 * docs/gst/gstreamer-sections.txt:
14073 * gst/gstregistry.c: (gst_registry_scan_path_level):
14074 fix for a nasty little missed situation where an installed plug-in
14075 which was in the cache did not get overridden by an uninstalled one
14076 which was earlier in the plugin path because the newly created plugin
14077 for the uninstalled one (not in the registry) didn't get its
14078 ->registered set to TRUE
14080 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14082 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14083 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14084 (gst_collectpads_is_active), (gst_collectpads_collect),
14085 (gst_collectpads_collect_range), (gst_collectpads_start),
14086 (gst_collectpads_stop), (gst_collectpads_peek),
14087 (gst_collectpads_pop), (gst_collectpads_available),
14088 (gst_collectpads_read), (gst_collectpads_flush):
14089 Guard public API with assertions.
14092 Fix docs for gst_pad_set_link_function().
14094 2005-11-02 Johan Dahlin <johan@gnome.org>
14096 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14097 Unref found_caps after we used it.
14099 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14101 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14102 Don't try to ref NULL.
14104 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14106 * win32/common/config.h.in:
14107 provide a GST_FUNCTION that just gives a string for now
14109 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14111 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14112 (gst_object_flags_get_type), (register_gst_bin_flags),
14113 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14114 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14115 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14116 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14117 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14118 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14119 (gst_clock_flags_get_type), (register_gst_state),
14120 (gst_state_get_type), (register_gst_state_change_return),
14121 (gst_state_change_return_get_type), (register_gst_state_change),
14122 (gst_state_change_get_type), (register_gst_element_flags),
14123 (gst_element_flags_get_type), (register_gst_core_error),
14124 (gst_core_error_get_type), (register_gst_library_error),
14125 (gst_library_error_get_type), (register_gst_resource_error),
14126 (gst_resource_error_get_type), (register_gst_stream_error),
14127 (gst_stream_error_get_type), (register_gst_event_type),
14128 (gst_event_type_get_type), (register_gst_seek_type),
14129 (gst_seek_type_get_type), (register_gst_seek_flags),
14130 (gst_seek_flags_get_type), (register_gst_format),
14131 (gst_format_get_type), (register_gst_index_certainty),
14132 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14133 (gst_index_entry_type_get_type),
14134 (register_gst_index_lookup_method),
14135 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14136 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14137 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14138 (gst_index_flags_get_type), (register_gst_debug_level),
14139 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14140 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14141 (gst_iterator_result_get_type), (register_gst_iterator_item),
14142 (gst_iterator_item_get_type), (register_gst_message_type),
14143 (gst_message_type_get_type), (register_gst_mini_object_flags),
14144 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14145 (gst_pad_link_return_get_type), (register_gst_flow_return),
14146 (gst_flow_return_get_type), (register_gst_activate_mode),
14147 (gst_activate_mode_get_type), (register_gst_pad_direction),
14148 (gst_pad_direction_get_type), (register_gst_pad_flags),
14149 (gst_pad_flags_get_type), (register_gst_pad_presence),
14150 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14151 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14152 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14153 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14154 (gst_plugin_flags_get_type), (register_gst_rank),
14155 (gst_rank_get_type), (register_gst_query_type),
14156 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14157 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14158 (gst_tag_flag_get_type), (register_gst_task_state),
14159 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14160 (gst_alloc_trace_flags_get_type),
14161 (register_gst_type_find_probability),
14162 (gst_type_find_probability_get_type), (register_gst_uri_type),
14163 (gst_uri_type_get_type), (register_gst_parse_error),
14164 (gst_parse_error_get_type):
14165 * win32/common/gstversion.h:
14166 update win32 copies
14168 2005-11-01 Luca Ognibene <luogni@tin.it>
14171 fix docs. popt is dead, long live GOption.
14173 2005-10-31 Wim Taymans <wim@fluendo.com>
14178 2005-10-31 Andy Wingo <wingo@pobox.com>
14182 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14184 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14185 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14186 the possibility of deadlocks here if code calling notify() or
14187 set() has a lock that can be taken in another notify handler (ABBA
14188 with class lock and e.g. python GIL state lock).
14190 2005-10-28 Julien MOUTTE <julien@moutte.net>
14192 * gst/gstbus.c: Doc updates.
14194 2005-10-28 Wim Taymans <wim@fluendo.com>
14196 * docs/design/part-TODO.txt:
14197 * gst/gstiterator.c:
14198 * gst/gstsystemclock.c:
14199 * gst/gstsystemclock.h:
14202 2005-10-28 Edward Hervey <edward@fluendo.com>
14204 * docs/gst/gstreamer-docs.sgml:
14205 * docs/gst/gstreamer-sections.txt:
14206 the GstURIType documentation page is private, it only defines GstURIType
14207 which should be defined in the GstURIHandler page
14209 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14211 * gst/gstbin.c: (gst_bin_class_init):
14214 Documentation updates.
14216 2005-10-28 Wim Taymans <wim@fluendo.com>
14218 * docs/gst/gstreamer-sections.txt:
14221 Documented the clocks.
14223 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14225 * docs/gst/gstreamer-sections.txt:
14226 move some macros to private sections
14227 * gst/gstminiobject.c:
14228 * gst/gstminiobject.h:
14229 add descriptions provided by ds and some more
14231 mark macro as to be removed
14233 2005-10-28 Wim Taymans <wim@fluendo.com>
14235 * docs/design/part-TODO.txt:
14236 Add an item to TODO.
14238 * gst/gstiterator.c: (gst_iterator_fold),
14239 (gst_iterator_find_custom):
14240 * gst/gstiterator.h:
14243 2005-10-28 Wim Taymans <wim@fluendo.com>
14245 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14246 (gst_base_transform_init):
14249 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14250 An EOS event marks the queue as completely filled.
14252 2005-10-27 Wim Taymans <wim@fluendo.com>
14254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14255 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14256 Some more debugging.
14258 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14259 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14260 (gst_base_transform_event), (gst_base_transform_getrange),
14261 (gst_base_transform_chain):
14262 * gst/base/gstbasetransform.h:
14264 Protect transform and concurrent buffer alloc with a new lock.
14265 Try not to break ABI/API.
14267 2005-10-27 Wim Taymans <wim@fluendo.com>
14269 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14270 (gst_base_src_init), (gst_base_src_query),
14271 (gst_base_src_default_newsegment),
14272 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14273 (gst_base_src_send_event), (gst_base_src_event_handler),
14274 (gst_base_src_pad_get_range), (gst_base_src_loop),
14275 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14276 (gst_base_src_start), (gst_base_src_deactivate),
14277 (gst_base_src_activate_push), (gst_base_src_change_state):
14278 Move some stuff around and cleanup things.
14280 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14282 * gst/base/gstbasesrc.c: (gst_base_src_query):
14283 Add missing break statements.
14285 2005-10-27 Wim Taymans <wim@fluendo.com>
14287 * check/gst/gstbin.c: (GST_START_TEST):
14288 An extra refcount is taken in basesrc.
14290 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14291 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14292 (gst_base_src_loop):
14293 Small cleanups, check for flushing after being unlocked from the
14294 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14295 Don't send out EOS when going to READY.
14297 2005-10-27 Wim Taymans <wim@fluendo.com>
14299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14300 (gst_base_sink_get_position):
14303 * gst/gstbin.c: (message_check), (bin_replace_message),
14304 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14305 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14306 (bin_query_duration_init), (bin_query_duration_fold),
14307 (bin_query_duration_done), (bin_query_generic_fold),
14309 * tools/gst-launch.c: (main):
14312 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14314 * examples/controller/audio-example.c: (main):
14315 * examples/queue/queue.c: (event_loop):
14316 * gst/base/gstbasetransform.h:
14317 * gst/gstelement.c: (gst_element_send_event):
14319 * gst/gstpad.c: (gst_pad_send_event):
14322 changing log priority in error situations
14324 2005-10-25 Wim Taymans <wim@fluendo.com>
14326 * gst/gstbin.c: (message_check), (bin_replace_message),
14327 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14328 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14329 (bin_query_duration_init), (bin_query_duration_fold),
14330 (bin_query_duration_done), (bin_query_generic_fold),
14332 Some doc and debug updates.
14333 Cache previously requested query DURATION for speed. invalidate
14334 cached duration if element posts a DURATION message.
14336 2005-10-25 Wim Taymans <wim@fluendo.com>
14338 * docs/design/part-TODO.txt:
14341 * gst/gstbin.c: (message_check), (bin_replace_message),
14342 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14343 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14344 (bin_query_duration_init), (bin_query_duration_fold),
14345 (bin_query_duration_done), (bin_query_generic_fold),
14347 Handle SEGMENT_START/DONE messages correctly.
14348 More evolved query algorithm that handles duration queries
14351 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14352 (gst_element_get_state_func), (gst_element_abort_state),
14353 (gst_element_commit_state), (gst_element_lost_state):
14354 Some more debugging.
14356 * gst/gstmessage.h:
14359 2005-10-25 Wim Taymans <wim@fluendo.com>
14361 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14362 Don't use invalid stream_time.
14364 * gst/gstevent.c: (gst_event_new_newsegment):
14365 stream_time in newsegment cannot be undefined.
14367 2005-10-24 Wim Taymans <wim@fluendo.com>
14372 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14374 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14376 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14378 * docs/libs/tmpl/gstdparam.sgml:
14379 * docs/libs/tmpl/gstdplinint.sgml:
14380 * docs/libs/tmpl/gstdpman.sgml:
14381 * docs/libs/tmpl/gstdpsmooth.sgml:
14382 * docs/libs/tmpl/gstunitconvert.sgml:
14385 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14390 === release 0.9.4 ===
14392 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14395 releasing 0.9.4, "Tyrannosaurus Rex"
14397 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14399 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14400 (gst_file_sink_get_current_offset):
14401 Use fseeko() and ftello() if available. When falling back on
14402 lseek() to get the current offset, fflush() first to make sure
14403 everything is up-to-date and we get the right offset.
14405 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14408 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14409 * gst/gsterror.c: (_gst_stream_errors_init):
14411 * gst/gstqueue.c: (gst_queue_loop):
14413 remove prematurely added error category and clean up the instances
14415 2005-10-21 Wim Taymans <wim@fluendo.com>
14417 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14418 (gst_base_sink_get_position), (gst_base_sink_query),
14419 (gst_base_sink_change_state):
14420 Simply set the right flag when going to playing, that's all
14421 we need to do instead of calling a function inside the object
14422 lock (that could take the lock as well and deadlock)
14424 2005-10-21 Wim Taymans <wim@fluendo.com>
14426 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14427 (gst_base_src_loop):
14428 Don't warn, the peer element knows what to do best when
14429 the seek failed, it might try something else.
14431 2005-10-21 Wim Taymans <wim@fluendo.com>
14433 * gst/base/gstbasesrc.c: (gst_base_src_init),
14434 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14437 2005-10-21 Wim Taymans <wim@fluendo.com>
14439 * docs/design/part-segments.txt:
14442 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14443 Correctly set caps, even on the subbufer.
14445 2005-10-21 Wim Taymans <wim@fluendo.com>
14447 * docs/gst/gstreamer-docs.sgml:
14448 * docs/gst/gstreamer-sections.txt:
14449 * gst/gstelement.h:
14452 * gst/gstmessage.h:
14455 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14459 And 2% more doc coverage.
14461 2005-10-21 Andy Wingo <wingo@pobox.com>
14463 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14464 position reporting.
14466 2005-10-20 Wim Taymans <wim@fluendo.com>
14468 * gst/gsterror.c: (gst_error_get_message):
14471 * gst/gststructure.c:
14476 2005-10-20 Wim Taymans <wim@fluendo.com>
14481 Another 1% more coverage.
14483 2005-10-20 Wim Taymans <wim@fluendo.com>
14485 * docs/gst/gstreamer-sections.txt:
14486 * gst/gstelement.c: (gst_element_get_state_func),
14487 (gst_element_abort_state), (gst_element_commit_state),
14488 (gst_element_lost_state):
14490 * gst/gstquery.c: (gst_query_set_position),
14491 (gst_query_parse_position), (gst_query_set_duration),
14492 (gst_query_parse_duration), (gst_query_new_convert):
14494 Yay! 1% more docs coverage.
14496 2005-10-20 Wim Taymans <wim@fluendo.com>
14499 * gst/gstquery.c: (gst_query_set_position),
14500 (gst_query_parse_position), (gst_query_set_duration),
14501 (gst_query_parse_duration), (gst_query_new_convert):
14503 * gst/gstutils.c: (gst_element_query_convert):
14505 Docs and consistency fixes.
14507 2005-10-20 Wim Taymans <wim@fluendo.com>
14513 2005-10-20 Wim Taymans <wim@fluendo.com>
14515 * gst/gstbin.c: (message_check), (bin_replace_message),
14516 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14517 (update_degree), (gst_bin_sort_iterator_next),
14518 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
14519 Reworked the message handling a bit, cache the messages instead of
14520 only the senders. alows us to do more in the future.
14522 2005-10-20 Wim Taymans <wim@fluendo.com>
14524 * docs/design/part-TODO.txt:
14527 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14528 (gst_base_sink_query):
14529 Don't use clock time to report position when in EOS.
14531 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
14533 * tools/gst-inspect.c: (print_interfaces),
14534 (print_element_properties_info), (print_element_info):
14535 Fix interface output with gst-inspect -a; don't print
14536 newlines after double/float properties.
14538 2005-10-20 Wim Taymans <wim@fluendo.com>
14540 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14541 (gst_base_sink_query):
14542 Speed up current position calculation.
14544 * gst/base/gstbasesrc.c: (gst_base_src_query),
14545 (gst_base_src_default_newsegment):
14546 Correctly set stream position in newsegment.
14548 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
14549 (update_degree), (gst_bin_sort_iterator_next),
14550 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
14551 * gst/gstmessage.c: (gst_message_new_custom):
14552 Clean up debugging info
14554 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14555 (gst_queue_loop), (gst_queue_handle_src_query):
14558 2005-10-19 Wim Taymans <wim@fluendo.com>
14560 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14561 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14562 Fix query handling again.
14564 2005-10-19 Wim Taymans <wim@fluendo.com>
14566 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14567 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14568 * gst/base/gstbasesrc.c: (gst_base_src_query):
14569 * gst/elements/gstfilesink.c: (gst_file_sink_query):
14570 * gst/elements/gsttypefindelement.c:
14571 (gst_type_find_handle_src_query), (find_element_get_length),
14572 (gst_type_find_element_activate):
14575 * gst/gstquery.c: (gst_query_new_position),
14576 (gst_query_set_position), (gst_query_parse_position),
14577 (gst_query_new_duration), (gst_query_set_duration),
14578 (gst_query_parse_duration), (gst_query_set_segment),
14579 (gst_query_parse_segment):
14581 Bundling query position/duration is not a good idea since duration
14582 does not change much and we don't want to recalculate it for every
14583 position query, so they are separated again..
14584 Base value in segment query is not needed.
14586 * gst/gstqueue.c: (gst_queue_handle_src_query):
14587 * gst/gstutils.c: (gst_element_query_position),
14588 (gst_element_query_duration), (gst_pad_query_position),
14589 (gst_pad_query_duration):
14591 Updates for query API change.
14592 Added some docs here and there.
14594 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
14596 * check/gst/gstbin.c: (GST_START_TEST):
14597 * check/gst/gstghostpad.c: (GST_START_TEST):
14598 * check/pipelines/cleanup.c: (GST_START_TEST):
14599 wait on thread to die so we can check refcount correctly
14601 2005-10-18 Wim Taymans <wim@fluendo.com>
14603 * check/pipelines/stress.c: (GST_START_TEST):
14604 Make check a little more time consuming.
14606 2005-10-18 Wim Taymans <wim@fluendo.com>
14608 * check/Makefile.am:
14609 * check/pipelines/stress.c: (GST_START_TEST),
14610 (simple_launch_lines_suite), (main):
14611 Small state change torture test.
14613 * docs/design/part-states.txt:
14614 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14615 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
14616 (gst_base_sink_change_state):
14617 Never take state lock from streaming thread, clean up ugly
14618 hacks. Unfortunatly core does not yet support nice ways to
14619 async commit state.
14621 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
14623 Start state recalc if a STATE_DIRTY message is posted, but only
14624 on the toplevel bin.
14626 * gst/gstelement.c: (gst_element_sync_state_with_parent),
14627 (gst_element_get_state_func), (gst_element_abort_state),
14628 (gst_element_commit_state), (gst_element_lost_state),
14629 (gst_element_set_state_func), (gst_element_change_state):
14630 * gst/gstelement.h:
14631 State variables are now protected with the LOCK, the state
14632 lock is only used to serialize _set_state().
14634 2005-10-18 Wim Taymans <wim@fluendo.com>
14636 * check/gst/gstbin.c: (GST_START_TEST):
14637 * check/gst/gstmessage.c: (GST_START_TEST):
14638 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14639 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
14641 * gst/gstelement.c: (gst_element_abort_state),
14642 (gst_element_commit_state), (gst_element_lost_state):
14643 * gst/gstmessage.c: (gst_message_new_state_changed),
14644 (gst_message_new_state_dirty), (gst_message_new_segment_start),
14645 (gst_message_new_segment_done), (gst_message_new_duration),
14646 (gst_message_parse_state_changed),
14647 (gst_message_parse_segment_start),
14648 (gst_message_parse_segment_done), (gst_message_parse_duration):
14649 * gst/gstmessage.h:
14650 * tools/gst-launch.c: (event_loop):
14651 Seriously, this is better than a previous commit as we only need
14652 to notify the fact that an element changed state in a streaming
14653 thread, marking the state of the parents dirty, hence the
14654 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
14657 2005-10-18 Wim Taymans <wim@fluendo.com>
14659 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
14660 (gst_bin_recalc_func):
14661 * gst/gstelement.c: (gst_element_set_clock),
14662 (gst_element_abort_state), (gst_element_lost_state):
14663 Cleanups, prepare for state change fixes.
14665 2005-10-18 Wim Taymans <wim@fluendo.com>
14668 * gst/gstelement.c: (gst_element_class_init),
14669 (gst_element_set_state), (gst_element_set_state_func):
14670 * gst/gstelement.h:
14671 Pending ABI changes.
14672 GThreadPool in GstBinClass to monitor async state changes.
14673 state_cookie in GstElement to detect concurrent gst/set state.
14674 set_state is now virtual too in case a very complicated element
14675 has to be constructed.
14677 2005-10-18 Wim Taymans <wim@fluendo.com>
14679 * check/gst/gstbin.c: (GST_START_TEST):
14680 * check/gst/gstmessage.c: (GST_START_TEST):
14681 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14682 * gst/gstbin.c: (bin_bus_handler):
14683 * gst/gstelement.c: (gst_element_commit_state),
14684 (gst_element_lost_state):
14685 * gst/gstmessage.c: (gst_message_new_state_changed),
14686 (gst_message_new_segment_start), (gst_message_new_segment_done),
14687 (gst_message_new_duration), (gst_message_parse_state_changed),
14688 (gst_message_parse_segment_start),
14689 (gst_message_parse_segment_done), (gst_message_parse_duration):
14690 * gst/gstmessage.h:
14691 * tools/gst-launch.c: (event_loop):
14692 Make messages future proof.
14693 state-change gets a flag if it was a message comming from the
14695 segment-start/stop can also be specified in other formats.
14696 A message to notify an app that a pipeline changed playback
14698 Also fix a GstMessage leak in -launch
14700 2005-10-18 Andy Wingo <wingo@pobox.com>
14702 * gst/gstelement.c (gst_element_dispose): More helpful message.
14704 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14706 reviewed by: <delete if not using a buddy>
14708 * common/gtk-doc.mak:
14710 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14712 * gst/gstregistry.c: (gst_registry_scan_path_level):
14713 unref a plug-in we get that was already initialized
14715 2005-10-18 Stefan Kost <ensonic@users.sf.net>
14717 * docs/gst/gstreamer-sections.txt:
14718 * docs/libs/gstreamer-libs-sections.txt:
14719 * gst/gstelement.h:
14720 add new api entries
14721 hide internal macro
14723 2005-10-17 Andy Wingo <wingo@pobox.com>
14725 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
14728 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
14730 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
14732 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
14733 (gst_element_get_state_func): Better debug message.
14734 (gst_element_commit_state): s/INFO/DEBUG/.
14735 (gst_element_lost_state, gst_element_change_state):
14737 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
14738 (gst_message_new_custom): s/INFO/LOG/.
14740 2005-10-17 Michael Smith <msmith@fluendo.com>
14742 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14743 Check if end time is valid using end time, not start time.
14745 2005-10-17 Stefan Kost <ensonic@users.sf.net>
14747 * check/gst-libs/controller.c: (GST_START_TEST),
14748 (gst_controller_suite):
14749 * libs/gst/controller/gstcontroller.c:
14750 (gst_controlled_property_set_interpolation_mode):
14751 * libs/gst/controller/gstcontroller.h:
14752 * libs/gst/controller/gstinterpolation.c:
14753 * testsuite/controller/.cvsignore:
14754 * testsuite/controller/Makefile.am:
14755 * testsuite/controller/interpolator.c:
14756 merge controller testsuites
14758 remove mem-chunk from docs
14760 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14762 * gst/gstmemchunk.c:
14763 * gst/gstmemchunk.h:
14764 * gst/gsttrashstack.c:
14765 * gst/gsttrashstack.h:
14766 out. get out. you're fired. to the Attic !
14768 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14770 * gst/gstcaps.c: (gst_caps_intersect):
14771 fix signedness issues in a (hopefully) correct way
14772 * gst/gstelement.c: (gst_element_pads_activate):
14774 * gst/gstobject.c: (gst_object_set_parent):
14777 2005-10-17 Julien MOUTTE <julien@moutte.net>
14779 * gst/gstvalue.h: Fix prototypes.
14781 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14783 * docs/gst/gstreamer-sections.txt:
14784 * gst/gst.c: (gst_version_string):
14786 * gst/gstversion.h.in:
14787 * win32/common/libgstreamer.def:
14788 add gst_version_string ()
14790 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14794 * gst/gst.c: (init_post):
14795 * win32/common/config.h.in:
14797 * gst/gstcaps.c: (gst_caps_intersect):
14798 use gint64, the range could be bigger than a guint
14800 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14803 document potential problem in 2038
14805 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14807 * gst/gstcaps.c: (gst_caps_intersect):
14808 Fix guint j diving under 0
14810 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14813 * win32/common/config.h:
14814 * win32/common/config.h.in:
14815 check for process.h, declares getpid() on Windows
14817 include process.h if we have it
14818 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
14819 * gst/gstmemchunk.h:
14820 fix signedness issues
14821 * win32/common/libgstreamer.def:
14824 2005-10-16 Julien MOUTTE <julien@moutte.net>
14826 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
14827 fix. Because of unsigned ints, caps intersection was going nuts and
14828 trying to access structures with G_MAXUINT index. That fixes
14829 videotestsrc ! ffmpegcolorspace ! fakesink
14830 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
14833 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14836 use the gettext macro
14837 * gst/elements/gstelements.c:
14839 * gst/indexers/gstindexers.c:
14840 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
14841 * win32/common/config.h:
14843 * win32/common/config.h.in:
14844 add the template to generate config.h
14845 * win32/common/gstenumtypes.c:
14846 * win32/common/gstversion.h:
14849 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14851 * gst/gst.c: (gst_version):
14852 * gst/gstversion.h.in:
14855 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14858 Oops, add missing closing bracket.
14860 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14863 use common m4's for argument checking
14865 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14867 * docs/gst/gstreamer-sections.txt:
14869 Add GST_EVENT_TYPE_NAME() macro.
14871 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14874 * gst/gstpluginfeature.c:
14876 privatize more symbols
14878 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14881 add srcdir, builddir includes to GST_ALL_CFLAGS, since
14882 everything that uses GStreamer API should have the includes
14884 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14886 * docs/gst/gstreamer-sections.txt:
14887 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14889 give each value a _get_type, removes the DATA exports
14891 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14895 remove _gst_registry_auto_load, not used anymore
14896 * gst/gstbin.c: (gst_bin_get_type):
14898 * gst/gstelement.c: (gst_element_get_type):
14899 * gst/gstelement.h:
14900 * gst/gstobject.c: (gst_object_get_type):
14902 * gst/gstpad.c: (gst_pad_get_type):
14904 make _get_type functions similar, fixes data export from library
14906 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14909 correctly make conditionals
14910 * gst/elements/Makefile.am:
14911 * gst/elements/gstelements.c:
14912 fix typo causing fdsrc not to build
14914 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14916 * testsuite/Makefile.am:
14917 * testsuite/bytestream/.cvsignore:
14918 * testsuite/bytestream/Makefile.am:
14919 * testsuite/bytestream/filepadsink.c:
14920 * testsuite/bytestream/gstbstest.c:
14921 * testsuite/bytestream/test1.c:
14922 * testsuite/bytestream/testfile1:
14923 * testsuite/caps/normalisation.c:
14924 * testsuite/caps/random.c: (main):
14925 * testsuite/cleanup/.cvsignore:
14926 * testsuite/cleanup/Makefile.am:
14927 * testsuite/cleanup/cleanup1.c:
14928 * testsuite/cleanup/cleanup2.c:
14929 * testsuite/cleanup/cleanup3.c:
14930 * testsuite/cleanup/cleanup4.c:
14931 * testsuite/cleanup/cleanup5.c:
14932 * testsuite/controller/interpolator.c:
14933 * testsuite/debug/printf_extension.c: (main):
14934 * testsuite/elements/tee.c:
14935 * testsuite/negotiation/.cvsignore:
14936 * testsuite/negotiation/Makefile.am:
14937 * testsuite/negotiation/pad_link.c:
14938 * testsuite/pad/Makefile.am:
14939 * testsuite/pad/chainnopull.c:
14940 * testsuite/pad/getnopush.c:
14941 * testsuite/pad/link.c:
14942 * testsuite/refcounting/sched.c: (create_pipeline):
14943 * testsuite/registry/Makefile.am:
14944 * testsuite/registry/gst-print-formats.c:
14945 * testsuite/schedulers/.cvsignore:
14946 * testsuite/schedulers/142183-2.c:
14947 * testsuite/schedulers/142183.c:
14948 * testsuite/schedulers/143777-2.c:
14949 * testsuite/schedulers/143777.c:
14950 * testsuite/schedulers/147713.c:
14951 * testsuite/schedulers/147819.c:
14952 * testsuite/schedulers/147894-2.c:
14953 * testsuite/schedulers/147894.c:
14954 * testsuite/schedulers/Makefile.am:
14955 * testsuite/schedulers/group_link.c:
14956 * testsuite/schedulers/queue_link.c:
14957 * testsuite/schedulers/relink.c:
14958 * testsuite/schedulers/unlink.c:
14959 * testsuite/schedulers/unref.c:
14960 * testsuite/schedulers/useless_iteration.c:
14961 * testsuite/states/bin.c:
14962 clean out/remove some stuff from the testsuite directories
14964 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14967 check for some headers
14968 * gst/elements/Makefile.am:
14969 * gst/elements/gstelements.c:
14970 don't compile fdsrc without sys/socket.h
14971 * gst/indexers/Makefile.am:
14972 * gst/indexers/gstindexers.c: (plugin_init):
14973 don't compile fileindex without mmap
14975 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14982 * check/Makefile.am:
14983 * docs/gst/Makefile.am:
14984 * examples/helloworld/Makefile.am:
14986 * gst/base/Makefile.am:
14987 * gst/check/Makefile.am:
14988 * gst/elements/Makefile.am:
14989 * gst/indexers/Makefile.am:
14990 * gst/parse/Makefile.am:
14991 * libs/gst/controller/Makefile.am:
14992 * libs/gst/dataprotocol/Makefile.am:
14993 * examples/helloworld/helloworld.c: (event_loop):
14994 compile fixes, though it's not being compiled currently
14996 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14998 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14999 Add some simple tests for the new taglist date API.
15001 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15003 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15004 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15005 Beautify 'last-message' output: print 'none' for buffer timestamps
15006 and durations if none is set; improve alignment with next messages.
15008 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15010 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15011 * gst/gstpluginfeature.h:
15012 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15013 * gst/gstregistry.h:
15014 * docs/gst/gstreamer-sections.txt:
15015 Add new API to check plugin feature version requirements.
15017 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15018 Some basic tests for the above.
15020 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15022 * gst/gststructure.c: (gst_structure_to_string):
15023 guard against NULL printf - happens when for example
15024 a message structure with GstClock gets serialized
15026 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15028 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15029 Fix presumable copy'n'pasto.
15031 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15033 * gst/elements/gstfakesrc.h:
15034 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15035 * gst/elements/gsttypefindelement.c:
15036 fix some signedness
15037 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15038 I wonder if this could actually write +2GB files before
15040 2005-10-13 Andy Wingo <wingo@pobox.com>
15042 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15043 Fix Timmeke Waymans bug.
15044 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15045 string of the proper length to gst_caps_from_string. There's a
15046 potential for, before this fix, that this could cause someone
15047 connecting over the network to cause a segfault if the payload is
15048 not NUL-terminated.
15050 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15052 * docs/design/draft-push-pull.txt:
15053 * docs/design/part-overview.txt:
15054 * docs/random/TODO-pre-0.9:
15055 * docs/random/old/ChangeLog.gstreamer:
15056 * gst/base/gstpushsrc.c:
15060 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15062 * gst/glib-compat.c: (gst_flags_get_first_value):
15063 * gst/glib-compat.h:
15064 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15065 (gst_value_compare_double), (gst_value_serialize_flags):
15066 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15069 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15071 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15072 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15074 * tools/gst-launch.c: (event_loop):
15075 print out clock nicely
15077 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15079 * docs/gst/gstreamer-sections.txt:
15080 * gst/gsttaglist.h:
15081 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15082 (gst_tag_list_get_date_index):
15083 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15084 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15086 2005-10-13 Julien MOUTTE <julien@moutte.net>
15088 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15089 (gst_collectpads_chain):
15090 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15093 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15095 * docs/gst/gstreamer-sections.txt:
15098 * tools/gst-inspect.c: (main):
15099 * tools/gst-launch.c: (main):
15100 * tools/gst-run.c: (main):
15101 * tools/gst-xmlinspect.c: (main):
15102 fix GOption context leaks
15105 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15109 * win32/common/config.h:
15111 * win32/vs6/grammar.dsp:
15112 * win32/vs6/libgstelements.dsp:
15113 * win32/vs6/libgstreamer.dsp:
15116 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15118 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15119 * gst/base/gstbasesrc.c: (gst_base_src_query):
15120 fix more guint64<->gdouble conversions
15122 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15125 add win32-update target
15126 * win32/common/gstconfig.h:
15127 * win32/common/gstenumtypes.c:
15128 * win32/common/gstenumtypes.h:
15129 * win32/common/gstversion.h:
15130 add files that visual studio can't generate
15132 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15135 add a win32-update target
15138 2005-10-12 Wim Taymans <wim@fluendo.com>
15140 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15141 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15142 * gst/gstelement.c: (gst_element_commit_state),
15143 (gst_element_set_state):
15144 Protect flags with proper lock.
15145 unref provided cached clock in dispose.
15147 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15150 * gst/gstminiobject.h:
15152 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15153 removed unused flags from miniobject
15156 2005-10-12 Wim Taymans <wim@fluendo.com>
15158 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15159 (gst_file_sink_event), (gst_file_sink_render):
15160 Flush before seeking.
15162 2005-10-12 Andy Wingo <wingo@pobox.com>
15164 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15165 always been the case.
15167 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15169 * check/gst/gstbin.c: (GST_START_TEST):
15170 * docs/gst/gstreamer-sections.txt:
15171 * gst/base/gstbasesink.c: (gst_base_sink_init):
15172 * gst/base/gstbasesrc.c: (gst_base_src_init),
15173 (gst_base_src_get_range), (gst_base_src_check_get_range),
15174 (gst_base_src_start), (gst_base_src_stop):
15175 * gst/base/gstbasesrc.h:
15176 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15177 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15178 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15182 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15184 * gst/gstelement.c: (gst_element_is_locked_state),
15185 (gst_element_set_locked_state), (gst_element_commit_state),
15186 (gst_element_set_state):
15187 * gst/gstelement.h:
15188 * gst/gstindex.c: (gst_index_init):
15190 * gst/gstminiobject.h:
15191 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15192 (gst_object_set_parent):
15194 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15195 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15197 * gst/gstpadtemplate.h:
15198 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15199 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15200 * gst/gstpipeline.h:
15201 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15202 (gst_file_index_commit):
15203 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15204 * testsuite/pad/link.c: (gst_test_src_init),
15205 (gst_test_filter_init), (gst_test_sink_init):
15206 * testsuite/states/locked.c: (main):
15207 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15208 moved bitshift from macro to enum definition
15210 2005-10-12 Wim Taymans <wim@fluendo.com>
15212 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15213 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15214 (gst_file_sink_render):
15215 Some more debugging info.
15217 2005-10-12 Wim Taymans <wim@fluendo.com>
15219 * docs/design/part-states.txt:
15220 * tools/gst-launch.c: (main):
15222 Revert non-intentional change.
15224 2005-10-12 Wim Taymans <wim@fluendo.com>
15226 * check/gst/gstbin.c: (GST_START_TEST):
15227 * check/gst/gstelement.c: (GST_START_TEST):
15228 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15229 * check/gst/gstghostpad.c: (GST_START_TEST):
15230 * check/gst/gstpipeline.c: (GST_START_TEST):
15231 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15232 * check/states/sinks.c: (GST_START_TEST):
15233 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15234 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15235 (gst_bin_remove_func), (gst_bin_get_state_func),
15236 (gst_bin_recalc_state), (gst_bin_change_state_func),
15238 * gst/gstelement.c: (gst_element_get_state_func),
15239 (gst_element_get_state), (gst_element_abort_state),
15240 (gst_element_commit_state), (gst_element_set_state),
15241 (gst_element_change_state), (gst_element_change_state_func):
15242 * gst/gstelement.h:
15243 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15244 (gst_pipeline_provide_clock_func):
15245 * gst/gstutils.c: (gst_element_link_pads_filtered):
15246 * tools/gst-launch.c: (main):
15247 * tools/gst-typefind.c: (main):
15248 Use GstClockTime in _get_state() instead of GTimeVal.
15249 Remove old code in gstutils.c
15251 2005-10-12 Andy Wingo <wingo@pobox.com>
15253 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15256 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15257 there is no task. Shouldn't affect any code, as nothing in our
15258 plugins checks this return value.
15259 (gst_pad_stop_task): Also take the stream lock if the pad has no
15260 task. Docs updated.
15262 2005-10-12 Wim Taymans <wim@fluendo.com>
15264 * gst/gstpad.c: (pre_activate), (post_activate),
15265 (gst_pad_activate_pull), (gst_pad_activate_push):
15266 Cleanup activation code. Reset old state if
15269 2005-10-12 Wim Taymans <wim@fluendo.com>
15271 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15272 (gst_base_sink_change_state):
15273 No need to prerol after receiving EOS.
15275 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15276 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15277 * gst/elements/gstidentity.c: (gst_identity_event):
15278 Print events more verbosely.
15280 2005-10-12 Wim Taymans <wim@fluendo.com>
15282 * check/Makefile.am:
15283 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15284 * check/states/sinks2.c:
15285 Moved sinks2 testcode in sinks check.
15287 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15288 (gst_bin_remove_func), (gst_bin_recalc_state),
15289 (gst_bin_change_state_func), (bin_bus_handler):
15290 Fix potential race condition when _get_state() iterated over an
15291 ASYNC element right before it posted a state completion.
15294 Do proper cast here.
15296 * gst/gstevent.c: (gst_event_new_newsegment),
15297 (gst_event_parse_newsegment):
15298 A playback rate of 0.0 is not allowed.
15300 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15302 * win32/common/config.h:
15303 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15304 (_trewinddir), (_ttelldir), (_tseekdir):
15305 * win32/common/dirent.h:
15306 * win32/common/gtchar.h:
15307 * win32/common/libgstbase.def:
15308 * win32/common/libgstreamer.def:
15309 * win32/vs6/grammar.dsp:
15310 * win32/vs6/gst_inspect.dsp:
15311 * win32/vs6/gst_launch.dsp:
15312 * win32/vs6/gstreamer.dsw:
15313 * win32/vs6/libgstbase.dsp:
15314 * win32/vs6/libgstelements.dsp:
15315 * win32/vs6/libgstreamer.dsp:
15316 Visual Studio 6 project files, and a new common directory.
15319 2005-10-11 Wim Taymans <wim@fluendo.com>
15321 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15322 (gst_base_sink_do_sync), (gst_base_sink_query),
15323 (gst_base_sink_change_state):
15324 * gst/base/gstbasesink.h:
15325 Correctly parse newsegment info.
15327 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15329 * gst/gst.c: (init_post):
15330 split plugin paths correctly
15332 2005-10-11 Wim Taymans <wim@fluendo.com>
15334 * check/gst/gstevent.c: (GST_START_TEST):
15335 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15336 (gst_base_sink_change_state):
15337 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15338 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15339 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15340 * gst/gstevent.c: (gst_event_new_newsegment),
15341 (gst_event_parse_newsegment):
15343 Added extra flag to newsegment for future API freeze.
15344 Updated check and base elements.
15346 2005-10-11 Julien MOUTTE <julien@moutte.net>
15348 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15349 (gst_collectpads_add_pad), (gst_collectpads_pop),
15350 (gst_collectpads_event), (gst_collectpads_chain):
15351 * gst/base/gstcollectpads.h: Handle EOS correctly.
15353 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15355 * tools/gst-launch.c: (main):
15356 more null protecting
15358 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15360 * gst/gst-i18n-lib.h:
15361 check for ENABLE_NLS, not GETTEXT_PACKAGE
15362 * gst/gstregistry.c: (gst_registry_add_plugin),
15363 (gst_registry_scan_path_level),
15364 (_gst_registry_remove_cache_plugins):
15365 protect possibly NULL strings
15366 * gst/parse/types.h:
15367 config.h already included before
15368 * tools/gst-inspect.c: (main):
15369 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15370 check for ENABLE_NLS, not GETTEXT_PACKAGE
15371 * tools/gst-launch.c: (main):
15372 check for ENABLE_NLS, not GETTEXT_PACKAGE
15374 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15377 if we don't have glib, fail before testing 2.8
15378 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15379 fix a leak, should fix plugins-base testsuite
15381 2005-10-11 Andy Wingo <wingo@pobox.com>
15383 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15384 take the mode we're going to as an arg. Go head and set the mode
15385 and flushing flags now, so that if the activate function starts a
15386 thread all the flags will be in the right state.
15387 (post_activate): Renamed also. Just handle making sure streaming
15388 finishes for the deactivation case, and setting the deactivated
15390 (gst_pad_set_active): Complain loudly if deactivation fails.
15391 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15392 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15393 remove the terrible hack.
15395 2005-10-11 Wim Taymans <wim@fluendo.com>
15397 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15398 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15399 (gst_bin_recalc_state), (gst_bin_change_state_func),
15400 (gst_bin_dispose), (bin_bus_handler):
15402 Prepare to make current EOS message queue more generic.
15405 * gst/gstevent.c: (gst_event_new_newsegment),
15406 (gst_event_parse_newsegment):
15408 Rename base to stream_time.
15410 * gst/gstmessage.h:
15413 2005-10-11 Wim Taymans <wim@fluendo.com>
15415 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15416 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15417 (gst_bin_change_state_func), (bin_bus_handler):
15419 Work on proper clock selection.
15421 2005-10-11 Edward Hervey <edward@fluendo.com>
15423 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15424 * libs/gst/controller/gstcontroller.h:
15425 Added GList* version of _remove_properties() in order to be able to wrap
15428 2005-10-11 Wim Taymans <wim@fluendo.com>
15430 * docs/design/part-states.txt:
15433 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15434 (gst_bin_change_state_func), (bin_bus_handler):
15435 Doc updates. Don't distribute the same clock over and over again.
15441 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15442 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15443 (gst_pad_send_event):
15445 Make probe emission threadsafe again.
15446 Register quarks and move _get_name() from utils.
15449 * gst/gstpipeline.c: (gst_pipeline_class_init),
15450 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15451 Only redistribute the clock of it changed.
15453 * gst/gstsystemclock.h:
15458 Moved the _flow_get_name() to GstPad.
15460 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15462 * check/gst-libs/gdp.c: (GST_START_TEST):
15463 * check/gst/gstcaps.c: (GST_START_TEST):
15464 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15465 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15466 (gst_dp_packet_from_caps):
15467 fix more valgrind warnings before turning up the heat
15469 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15471 * gst/parse/grammar.y:
15472 some cleanup before the hacking
15474 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15476 * gst/base/gstbasesrc.c: (gst_base_src_query):
15478 * gst/gstutils.c: (gst_guint64_to_gdouble),
15479 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15481 externalize, basesrc uses it
15482 obviously the implementation needs testing
15484 2005-10-10 Wim Taymans <wim@fluendo.com>
15486 * tests/sched/Makefile.am:
15487 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15488 (make_pipeline3), (make_pipeline4), (print_elem), (main):
15490 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15492 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15493 apparently converting from guint64 to double is not implemented
15496 2005-10-10 Wim Taymans <wim@fluendo.com>
15498 * check/Makefile.am:
15499 * check/generic/states.c: (GST_START_TEST):
15500 * check/gst/gstbin.c: (GST_START_TEST):
15501 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15502 * check/states/sinks.c: (GST_START_TEST):
15503 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15505 Check fixes, use API as stated in design docs, remove hacks.
15507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15508 (gst_base_sink_change_state):
15509 Catch stopping our task while we're shutting down.
15511 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15512 (gst_bin_remove_func), (gst_bin_get_state_func),
15513 (gst_bin_recalc_state), (gst_bin_change_state_func),
15516 * gst/gstelement.c: (gst_element_init),
15517 (gst_element_get_state_func), (gst_element_abort_state),
15518 (gst_element_commit_state), (gst_element_lost_state),
15519 (gst_element_set_state), (gst_element_change_state),
15520 (gst_element_change_state_func):
15521 * gst/gstelement.h:
15522 New state change algorithm (see #318116)
15524 * gst/gstpipeline.c: (gst_pipeline_class_init),
15525 (gst_pipeline_init), (gst_pipeline_set_property),
15526 (gst_pipeline_get_property), (do_pipeline_seek),
15527 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15528 * gst/gstpipeline.h:
15529 Remove crude state change hacks.
15532 Remove crude hacks.
15534 * tools/gst-launch.c: (main):
15535 Fixes for state change. Needs some more work to fully use the
15538 2005-10-10 Andy Wingo <wingo@pobox.com>
15540 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
15542 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
15543 this flag, but it's not even in GLib 2.6. Odd. Hack around the
15546 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15548 * gst/gstiterator.c: (gst_iterator_new):
15549 Fix my previous commit: GTypes passed to gst_iterator_new()
15550 can be fundamental types.
15552 2005-10-10 Wim Taymans <wim@fluendo.com>
15554 * gst/gstelement.c: (gst_element_iterate_pad_list),
15555 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
15556 (gst_element_iterate_sink_pads):
15557 Use src/sink pads lists for the respective iterators instead
15560 2005-10-10 Andy Wingo <wingo@pobox.com>
15562 Merged in popt removal + GOption addition patch from Ronald, bug
15565 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
15566 GstElement macros around, remove popt-related symbols, add goption
15569 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
15571 * docs/gst/Makefile.am:
15572 * docs/libs/Makefile.am: No POPT_CFLAGS.
15574 * examples/manual/Makefile.am:
15575 * docs/manual/basics-init.xml: Doc updates with an example.
15577 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
15578 (gst_init), (parse_one_option), (parse_goption_arg):
15579 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
15580 bit of hand merging and debugging to get the GOption stuff working
15583 * tests/Makefile.am:
15584 * tools/Makefile.am:
15585 * tools/gst-inspect.c: (main):
15586 * tools/gst-launch.c: (main):
15587 * tools/gst-run.c: (main):
15588 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
15590 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15592 * gst/gstiterator.c: (gst_iterator_new):
15593 Add assertions to make sure passed GType is likely to really
15594 be a GType (as the compiler won't catch it if the size and
15595 GType arguments get mixed up, see #318447).
15597 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
15599 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15601 * gst/gstbin.c: (gst_bin_iterate_sorted):
15602 Pass GType and size arguments to gst_iterator_new() in the right
15603 order (maybe we should make _new() take the GType as first argument
15604 just like _new_list()?) (#318447).
15607 2005-10-10 Wim Taymans <wim@fluendo.com>
15609 * gst/gstelement.c: (gst_element_finalize):
15610 And free the GStaticRecMutex too
15612 2005-10-10 Andy Wingo <wingo@pobox.com>
15614 * gst/gstelement.c (gst_element_init, gst_element_finalize):
15615 Allocate and free the mutex properly.
15617 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
15619 (GstElement): The state_lock is now recursive. Rebuild your
15620 plugins, suckers. Old macros adapted.
15622 * docs/gst/gstreamer-sections.txt: Doc updates.
15625 * gst/gstutils.c (g_static_rec_cond_timed_wait)
15626 (g_static_rec_cond_wait): Ported from state changes patch, while
15627 we wait on bug #317802 to be solved in a well-distributed GLib.
15629 * gst/gstelement.c (gst_element_change_state_func): Renamed from
15630 gst_element_change_state, variable name changes.
15631 (gst_element_change_state): Split out of gst_element_set_state in
15632 preparation for the state change merge. Doesn't pay attention to
15633 the 'transition' argument.
15634 (gst_element_set_state): Updates, hopefully purely cosmetic.
15635 (gst_element_sync_state_with_parent): MT-safety. Ported from the
15636 state change patch.
15637 (gst_element_get_state_func): Renamed from get_state, cosmetic
15640 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15642 * gst/elements/gstelements.c:
15643 * win32/GStreamer.vcproj:
15645 * win32/dirent.c: (_tseekdir):
15646 * win32/gst-inspect.vcproj:
15647 * win32/gst-launch.vcproj:
15648 * win32/gstconfig.h:
15649 * win32/gstelements.vcproj:
15650 * win32/gstenumtypes.c: (gst_object_flags_get_type):
15651 * win32/gstreamer.def:
15652 * win32/msvc71.sln:
15653 updates for the win32 build (patch from Sebastien Moutte)
15655 2005-10-10 Andy Wingo <wingo@pobox.com>
15657 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
15658 gst_bin_get_state, cleaned up (but no logic changes).
15659 (bin_element_is_sink): Comment updates.
15660 (sink_iterator_filter): Remove needless cast.
15661 (gst_bin_iterate_sinks): Doc update.
15662 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
15663 cleaned up (but no logic changes).
15665 * check/states/sinks.c (test_src_sink): Cleanups from the state
15667 (test_livesrc_sink): Sync on the state.
15669 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
15670 the state change patch.
15672 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
15675 * check/gst/gstbin.c: Merge in some style fixes and additional
15676 checks from Wim's state change patch.
15678 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15680 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15681 (gst_type_find_helper):
15682 Check whether we have the requested data already in our list of
15683 cached buffers before pulling a new buffer; also make the buffer
15684 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
15686 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15691 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15692 don't use long long, it's not portable. Replacing with
15693 gint64 seems to work; let's hope no skeletons fall out of the closet.
15695 2005-10-10 Andy Wingo <wingo@pobox.com>
15697 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
15699 2005-10-09 Stefan Kost <ensonic@users.sf.net>
15701 * docs/gst/gstreamer-sections.txt:
15706 * gst/gstmessage.c: (gst_message_parse_state_changed):
15709 more docs, fix compilation
15711 2005-10-09 Philippe Khalaf <burger@speedy.org>
15712 * gst/gstmessage.c:
15713 Fixed a few forgotten variables on previous commit
15715 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
15717 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15718 Fix evil typefind crasher: getrange() might return a short
15719 buffer at the end of a file, but gst_type_find_peek() must
15720 either return the full data as requested or NULL, but
15721 never a short buffer.
15723 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
15725 * gst/gstmessage.c: (gst_message_new_state_changed),
15726 (gst_message_parse_state_changed):
15727 * gst/gstmessage.h:
15728 don't use "new", it's a C++ keyword
15730 2005-10-08 Wim Taymans <wim@fluendo.com>
15732 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
15733 * gst/gstelement.c: (gst_element_post_message):
15734 * gst/gstpipeline.c: (gst_pipeline_change_state):
15735 Small docs and debug updates.
15737 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15739 * docs/gst/gstreamer-sections.txt:
15740 * gst/gstelementfactory.c:
15742 * gst/gsttaglist.c:
15745 2005-10-08 Wim Taymans <wim@fluendo.com>
15747 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
15748 (gst_bin_dispose), (bin_bus_handler):
15749 Fix typos, add comments.
15750 Clear EOS list when going to PAUSED from any direction and do it
15751 in a threadsafe way.
15752 Get base time in a threadsafe way too.
15753 Fix confusing debug in the change_state function.
15754 Various other small cleanups.
15756 * gst/gstelement.c: (gst_element_post_message):
15757 Fix very verbose bus posting code.
15759 * gst/gstpipeline.c: (gst_pipeline_class_init),
15760 (gst_pipeline_set_property), (gst_pipeline_get_property),
15761 (gst_pipeline_change_state):
15762 Small ARG_ -> PROP_ cleanup
15764 2005-10-08 Wim Taymans <wim@fluendo.com>
15766 * gst/gstbin.c: (is_eos), (bin_bus_handler):
15767 Do a less CPU demanding EOS check because we can.
15769 2005-10-08 Wim Taymans <wim@fluendo.com>
15771 * libs/gst/dataprotocol/dataprotocol.c:
15772 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
15773 (gst_dp_packet_from_event):
15774 * libs/gst/dataprotocol/dataprotocol.h:
15775 * libs/gst/dataprotocol/dp-private.h:
15776 It's about time we bump the version number.
15777 Since event types don't fit in the guint8 anymore describing
15778 the payload type, make payload type 16 bits wide.
15780 2005-10-08 Wim Taymans <wim@fluendo.com>
15782 * docs/design/part-TODO.txt:
15783 * docs/design/part-clocks.txt:
15784 * docs/design/part-events.txt:
15785 * docs/design/part-gstbin.txt:
15786 * docs/design/part-gstelement.txt:
15787 * docs/design/part-gstpipeline.txt:
15788 * docs/design/part-live-source.txt:
15789 * docs/design/part-messages.txt:
15790 * docs/design/part-overview.txt:
15791 * docs/design/part-states.txt:
15794 2005-10-08 Wim Taymans <wim@fluendo.com>
15798 Fix event quark registration.
15799 Add some space between events so we can insert them in the
15802 2005-10-08 Wim Taymans <wim@fluendo.com>
15804 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15805 (gst_base_sink_handle_buffer):
15806 Better log message.
15809 * gst/gstelement.h:
15812 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
15813 (gst_queue_set_property), (gst_queue_get_property):
15815 Remove old unused properties.
15817 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15818 * docs/gst/gstreamer-sections.txt:
15819 * gst/gstmessage.c:
15820 * gst/gstmessage.h:
15821 * gst/gstminiobject.c:
15822 * gst/gstminiobject.h:
15826 lots of new docs and doc fixes
15828 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15830 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
15832 * gst/gstregistry.c: (gst_registry_lookup_locked),
15833 (gst_registry_scan_path_level):
15834 * gst/gstregistryxml.c: (load_plugin):
15835 Only ever load one plugin for a given plugin basename.
15836 This ensures correct overriding of GST_PLUGIN_PATH over
15837 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
15838 system installed plugins.
15840 2005-10-08 Wim Taymans <wim@fluendo.com>
15842 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15843 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
15844 Prepare for doing QOS.
15846 2005-10-08 Wim Taymans <wim@fluendo.com>
15848 * check/gst/gstbin.c: (GST_START_TEST):
15849 * check/pipelines/cleanup.c: (GST_START_TEST):
15850 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15851 Allow new clock message too.
15853 2005-10-08 Wim Taymans <wim@fluendo.com>
15855 * gst/gstmessage.c: (gst_message_new_error),
15856 (gst_message_new_warning), (gst_message_new_tag),
15857 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15858 (gst_message_new_clock_lost), (gst_message_new_new_clock),
15859 (gst_message_new_segment_start), (gst_message_new_segment_done),
15860 (gst_message_parse_state_changed),
15861 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15862 (gst_message_parse_new_clock):
15863 * gst/gstmessage.h:
15864 Also carry the clock in question.
15866 2005-10-08 Wim Taymans <wim@fluendo.com>
15868 * gst/gstmessage.c: (gst_message_new_custom),
15869 (gst_message_new_eos), (gst_message_new_error),
15870 (gst_message_new_warning), (gst_message_new_tag),
15871 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15872 (gst_message_new_new_clock), (gst_message_new_segment_start),
15873 (gst_message_new_segment_done), (gst_message_parse_state_changed),
15874 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15875 * gst/gstmessage.h:
15877 Added clock related messages.
15879 * gst/gstpipeline.c: (gst_pipeline_change_state):
15880 Post message when the clock changed.
15882 * tools/gst-launch.c: (event_loop):
15885 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
15887 * tools/gst-inspect.c: (print_element_properties_info):
15888 Can't pass NULL strings to g_print() on windows.
15890 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15892 * docs/Makefile.am:
15893 * docs/gst/Makefile.am:
15894 * docs/gst/gstreamer-docs.sgml:
15895 * docs/gst/running.xml:
15896 * docs/version.entities.in:
15897 add a chapter on running GStreamer.
15898 document GST_DEBUG and GST_PLUGIN* env vars
15900 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15905 remove PLUGINS_BUILDDIR stuff
15906 * gst/gst.c: (init_post):
15907 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15909 remove, it was condescending and not needed
15911 2005-10-08 Wim Taymans <wim@fluendo.com>
15913 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15914 (gst_base_sink_handle_object), (gst_base_sink_event),
15915 (gst_base_sink_wait), (gst_base_sink_handle_event),
15916 (gst_base_sink_change_state):
15917 * gst/base/gstbasesink.h:
15918 Repost EOS message while going to PLAYING if still EOS.
15919 Make sure that when receiving a FLUSH_START we don't attempt
15920 to sync on the clock anymore.
15922 2005-10-08 Wim Taymans <wim@fluendo.com>
15924 * tools/gst-launch.c: (event_loop):
15925 Better message printout.
15927 2005-10-08 Wim Taymans <wim@fluendo.com>
15929 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15930 (gst_bin_child_proxy_get_children_count):
15931 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15932 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15933 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15934 (gst_child_proxy_set_valist):
15935 * gst/parse/grammar.y:
15936 Make ChildProxy threadsafe and fix mem leaks.
15938 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15940 * gst/gst.c: (init_post):
15941 debug the GST_PLUGIN_ env vars
15943 2005-10-08 Wim Taymans <wim@fluendo.com>
15945 * check/gst/gstbin.c: (GST_START_TEST):
15946 * check/gst/gstmessage.c: (GST_START_TEST):
15947 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15948 * gst/gstelement.c: (gst_element_commit_state),
15949 (gst_element_lost_state):
15950 * gst/gstmessage.c: (gst_message_new_state_changed),
15951 (gst_message_parse_state_changed):
15952 * gst/gstmessage.h:
15953 * tools/gst-launch.c: (event_loop):
15954 Added extra field to STATE_CHANGE message with the pending
15955 state, which will be different from the new state soon.
15957 2005-10-08 Wim Taymans <wim@fluendo.com>
15959 * gst/gstbus.c: (gst_bus_pop):
15961 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15962 Small cleanups and doc updates.
15964 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15966 * gst/gst.c: (init_pre):
15967 * gst/gstbin.c: (gst_bin_add_func):
15968 log distributing clocks and base time
15969 * gst/gstregistry.c: (gst_registry_add_plugin),
15970 (gst_registry_scan_path_level), (gst_registry_scan_path):
15971 clean up the debugging output a little
15972 * gst/gstutils.c: (gst_element_state_get_name):
15973 warn about a memleak (I've actually seen this be used, though
15974 it was probably a bug)
15976 2005-10-07 Wim Taymans <wim@fluendo.com>
15978 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15979 (gst_base_src_init), (gst_base_src_default_newsegment),
15980 (gst_base_src_newsegment), (gst_base_src_do_seek),
15981 (gst_base_src_loop), (gst_base_src_start):
15982 * gst/base/gstbasesrc.h:
15983 Make the newsegment event customizable by subclasses.
15985 2005-10-07 Wim Taymans <wim@fluendo.com>
15987 * gst/gstevent.c: (gst_event_new_buffersize),
15988 (gst_event_parse_buffersize):
15990 New event for future idea.
15992 2005-10-07 Andy Wingo <wingo@pobox.com>
15994 * gst/gstelement.c (gst_element_post_message): Doc update.
15996 * docs/gst/gstreamer-sections.txt: Update.
15998 * gst/gstmessage.c (gst_message_new_application): Made into a
15999 function like honest API calls.
16000 (gst_message_new_element): New message type.
16002 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16004 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16005 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16008 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16009 NO_PREROLL from gst_element_change_state to fall through.
16011 2005-10-07 Wim Taymans <wim@fluendo.com>
16013 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16014 (gst_ghost_pad_do_activate_push):
16015 Activating a ghostpad with no internal pad in push mode
16018 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16021 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16022 Fixes compilation on Windows.
16024 2005-10-07 Michael Smith <msmith@fluendo.com>
16026 * tools/gst-inspect.c:
16027 Print out feature and plugin count at the end when printing out
16030 2005-10-04 Michael Smith <msmith@fluendo.com>
16032 * gst/gsterror.c: (_gst_stream_errors_init):
16033 Add another error string used in a few existing plugins.
16036 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16037 * tools/gst-inspect.c: (print_element_info):
16038 When a feature disappears from a plugin (and the feature exists in
16039 the cached registry file), things went horribly wrong. This isn't a
16040 complete fix, we should actually be removing the 'missing' features
16041 from the features list when we load the actual plugin. That's not
16044 2005-10-04 Johan Dahlin <johan@gnome.org>
16046 * check/gst/gstiterator.c: (GST_START_TEST):
16047 * gst/gstbin.c: (gst_bin_iterate_elements),
16048 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16049 * gst/gstelement.c: (gst_element_iterate_pads):
16050 * gst/gstformat.c: (gst_format_iterate_definitions):
16051 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16052 (gst_iterator_new_list), (gst_iterator_filter):
16053 * gst/gstiterator.h:
16054 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16055 Add a GType to GstIterator, update callsites and tests.
16057 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16059 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16060 give events a chance to be handled by event probes when the pad
16063 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16065 * gst/gstevent.c: (gst_event_type_get_name),
16066 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16068 add string representations for event types
16070 2005-10-06 Wim Taymans <wim@fluendo.com>
16072 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16073 Don't use NULL pointers.
16075 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16077 * gst/gst_private.h:
16079 * gst/gstelement.c:
16081 * gst/gstpluginfeature.c:
16082 widen the debug category in output to fit the biggest one we have
16083 add a bus category and use it
16084 play with the colors
16085 fix up some categories
16087 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16089 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16090 add push activation of sink ghost pads.
16091 Andye, please verify
16093 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16095 * gst/gstutils.c: (gst_element_link_pads):
16096 fix a bug in the case where neither element has a pad
16097 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16098 add a test for that case
16100 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16102 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16103 emit have-data before checking for peers. This allows
16104 for probe handlers to connect elements. This helps autopluggers.
16105 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16107 add six checks, linked/unlinked with no/true/false probe
16109 2005-10-04 Wim Taymans <wim@fluendo.com>
16111 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16112 (gst_fake_sink_event), (gst_fake_sink_preroll),
16113 (gst_fake_sink_render), (gst_fake_sink_change_state):
16114 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16115 (gst_fake_src_get_property), (gst_fake_src_create),
16116 (gst_fake_src_stop):
16117 * gst/elements/gstidentity.c: (gst_identity_stop):
16118 Protect last_message with lock.
16120 2005-10-04 Edward Hervey <edward@fluendo.com>
16123 Added precision in the comments for GST_FORMAT_DEFAULT
16125 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16127 * tools/gst-launch.c: (main):
16128 Don't try to run erroneous pipelines.
16130 2005-10-04 Julien MOUTTE <julien@moutte.net>
16132 * gst/gstbus.c: We don't need this header.
16134 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16137 back to development
16139 === release 0.9.3 ===
16141 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16145 Releasing 0.9.3, "Unregistered"
16147 2005-10-03 Andy Wingo <wingo@pobox.com>
16149 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16150 whereby calling a pad's activatepush() function can start a thread
16151 that starts to push or pull before the pad gets the FLUSHING flag
16152 unset. Hack around it by holding the stream lock until the flag is
16153 set. Need to replace this with a proper solution. Together with
16154 the ghost pad fixes, this fixes mp3 playing/tagreading.
16156 * docs/design/part-gstghostpad.txt: Add a note about activation of
16157 proxy pads outside of ghost pads.
16159 * gst/gstghostpad.c: Implement the ghost pad activation design.
16161 2005-10-02 Andy Wingo <wingo@pobox.com>
16163 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16164 It is volatile, after all.
16166 * docs/design/part-gstghostpad.txt: Flesh out activation with
16169 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16172 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16175 Fix (unused) AM_CONDITIONAL tests.
16177 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16179 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16181 * gst/gstutils.c: (gst_pad_query_convert):
16182 Add assertion that makes sure src_val is >=0, just like
16183 gst_query_new_convert() has. (#315895)
16185 2005-09-30 Edward Hervey <edward@fluendo.com>
16187 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16188 Let's not iterate pads we're not interested in, it avoids getting
16189 sky-high refcounts on sinkpad.
16191 2005-09-30 Wim Taymans <wim@fluendo.com>
16193 * gst/gstelement.c: (gst_element_set_state),
16194 (gst_element_change_state):
16195 Small tweak, element in ASYNC remains ASYNC.
16197 2005-09-30 Wim Taymans <wim@fluendo.com>
16199 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16200 Only error is an error.
16202 * gst/gstbin.c: (gst_bin_change_state):
16205 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16206 Also call pad_block in pad alloc.
16208 * gst/gstutils.c: (gst_flow_get_name):
16211 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16213 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16214 (gst_base_src_get_range):
16215 Fix documentation typos. Add some more debug info.
16217 2005-09-29 David Schleef <ds@schleef.org>
16219 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16220 more end-user friendly.
16221 * tools/gst-inspect.c: (main): Check if command-line argument is
16222 a file and attempt to load that file as a plugin.
16224 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16226 * check/gst/gstbin.c:
16227 * check/states/sinks.c:
16228 fix tests for the new warning
16229 * check/gst/gstpipeline.c:
16230 add a test for pipeline and bus interaction
16231 * gst/gstelement.c:
16232 elements should be NULL if they get disposed; add a warning if not
16234 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16237 for 2.6 refcounting, make debug log more correct by printing
16238 the actual refcounts at the time of swap (Wim)
16240 2005-09-29 Andy Wingo <wingo@pobox.com>
16242 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16243 removes signal watches previously added via
16244 gst_bus_add_signal_watch.
16245 (gst_bus_add_signal_watch): Don't return the source id, just store
16246 it on the bus if there wasn't an id already.
16248 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16249 add_signal_watch and remove_signal_watch.
16251 2005-09-29 Edward Hervey <edward@fluendo.com>
16253 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16254 Better if we actually iterate the list :)
16256 2005-09-29 Wim Taymans <wim@fluendo.com>
16258 * check/gst/gstbin.c: (GST_START_TEST):
16259 Change for new bus API.
16261 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16262 (send_messages), (GST_START_TEST), (gstbus_suite):
16263 Change for new bus signal API.
16265 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16266 (gst_bus_source_prepare), (gst_bus_source_check),
16267 (gst_bus_create_watch), (gst_bus_add_watch_full),
16268 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16269 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16271 Remove support for multiple GSources operating on different
16272 message types as it is too complex and unneeded when using
16274 Added support for receiving signals from the bus.
16276 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16278 * docs/libs/tmpl/gstdataprotocol.sgml:
16279 * docs/manual/advanced-dataaccess.xml:
16280 * gst/elements/gstcapsfilter.c:
16282 rename filter-caps to caps property
16284 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16286 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16287 More robust fraction string parsing.
16289 * docs/pwg/appendix-porting.xml:
16290 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16292 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16294 * gst/gstcaps.c: (gst_caps_do_simplify):
16295 Thou shalt not free a structure and then continue using it
16296 in the next loop iteration.
16298 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16300 Add test case for caps simplification.
16302 2005-09-29 Wim Taymans <wim@fluendo.com>
16304 * check/gst/gstbin.c: (GST_START_TEST):
16307 2005-09-29 Wim Taymans <wim@fluendo.com>
16309 * check/gst/gstbin.c: (GST_START_TEST):
16312 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16313 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16314 (find_element), (gst_bin_sort_iterator_next),
16315 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16316 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16317 (gst_bin_change_state), (gst_bin_dispose):
16318 A bin does not have a bus, it gets the bus from the parent.
16320 * gst/gstelement.c: (gst_element_requires_clock),
16321 (gst_element_provides_clock), (gst_element_is_indexable),
16322 (gst_element_is_locked_state), (gst_element_change_state),
16323 (gst_element_set_bus_func):
16326 * gst/gstpipeline.c: (gst_pipeline_class_init),
16327 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16328 The pipeline provides a bus.
16330 2005-09-28 Johan Dahlin <johan@gnome.org>
16332 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16333 gst_structure_get_enum instead of gst_structure_get_int
16335 * gst/gststructure.c (gst_structure_get_enum): Impl.
16337 * gst/gststructure.h (gst_structure_get_enum): Add
16339 * docs/gst/gstreamer-sections.txt: Ditto
16341 * gst/gstmessage.c (gst_message_new_state_changed): Use
16342 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16343 which does introspection.
16344 Reviewed by Christian Schaller
16346 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16348 * gst/gstinfo.c: (gst_debug_log_default):
16349 don't do dummy g_strdup()s
16350 * libs/gst/controller/gstcontroller.c:
16351 (on_object_controlled_property_changed),
16352 (gst_controlled_property_new), (gst_controller_new_valist),
16353 (gst_controller_new_list),
16354 (gst_controller_remove_properties_valist), (gst_controller_set),
16355 (gst_controller_get), (gst_controller_sync_values),
16356 (gst_controller_get_value_array), (_gst_controller_class_init),
16357 (gst_controller_get_type):
16358 * libs/gst/controller/gstcontroller.h:
16359 * libs/gst/controller/gstinterpolation.c:
16360 (gst_controlled_property_find_timed_value_node):
16361 convert // to /**/ comments
16363 2005-09-28 Wim Taymans <wim@fluendo.com>
16365 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16366 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16367 (gst_bus_sync_signal_handler):
16369 Added async-message and sync-message signals to the bus.
16370 Added helper BusFunc to emit signals for all posted messages.
16372 * gst/gstmessage.c: (gst_message_type_get_name),
16373 (gst_message_type_to_quark), (gst_message_get_type):
16374 * gst/gstmessage.h:
16375 Register quarks for message names.
16377 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16379 * docs/libs/gstreamer-libs-sections.txt:
16380 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16381 (gst_controller_new_list):
16382 * libs/gst/controller/gstcontroller.h:
16383 added another constructor for language bindings
16385 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16387 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16391 * gst/gstinfo.c: (_gst_debug_init):
16392 slightly more readable color for refcount debugging
16394 2005-09-28 Wim Taymans <wim@fluendo.com>
16396 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16397 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16398 (find_element), (gst_bin_sort_iterator_next),
16399 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16400 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16401 (gst_bin_change_state), (gst_bin_dispose):
16402 Small doc fixes. get_clock -> provide_clock.
16404 * gst/gstelement.c: (gst_element_class_init),
16405 (gst_element_provides_clock), (gst_element_provide_clock),
16406 (gst_element_get_clock), (gst_element_commit_state),
16407 (gst_element_lost_state):
16408 * gst/gstelement.h:
16409 Make get/set_clock() symetric. Add provide_clock vmethod since
16410 that is actually what this function does.
16412 * gst/gstpipeline.c: (gst_pipeline_class_init),
16413 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16414 (gst_pipeline_get_clock):
16415 get_clock -> provide_clock.
16417 2005-09-28 Andy Wingo <wingo@pobox.com>
16419 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16420 lieu of real docs...
16422 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16424 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16426 * gst/elements/gstcapsfilter.c:
16427 * gst/elements/gstfakesink.c:
16428 * gst/elements/gstfakesrc.c:
16429 * gst/elements/gstfdsink.c:
16430 * gst/elements/gstfdsrc.c:
16431 * gst/elements/gstfilesink.c:
16432 * gst/elements/gstfilesrc.c:
16433 * gst/elements/gstidentity.c:
16434 * gst/elements/gsttee.c:
16435 * gst/elements/gsttypefindelement.c:
16436 Make element details static.
16438 2005-09-28 Wim Taymans <wim@fluendo.com>
16440 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16441 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16442 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16443 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16444 (gst_bin_change_state), (gst_bin_dispose):
16445 Some documentation updates.
16446 Clean up dispose handlers.
16448 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16449 * gst/gstpad.c: (gst_pad_dispose):
16450 Clean up dispose handler.
16452 * gst/gstpipeline.c: (gst_pipeline_change_state):
16453 Removed spurious UNLOCK.
16455 2005-09-27 Stefan Kost <ensonic@users.sf.net>
16457 * docs/gst/gstreamer-sections.txt:
16458 * gst/base/gstbasesrc.h:
16459 * gst/gstelement.h:
16463 * gst/gstpipeline.c:
16464 * gst/gstpipeline.h:
16467 added two new functions to the docs
16468 documents all undocumented GstXXXFlags
16469 completed some incomplete docs
16471 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
16473 * gst/gstbin.c: (gst_bin_dispose):
16474 * gst/gstelement.c: (gst_element_dispose):
16475 remove now useless and leaky resurrection code in dispose
16476 * gst/base/gstbasesrc.c: (gst_base_src_init):
16477 * gst/gstelementfactory.c: (gst_element_factory_create):
16478 * gst/gstobject.c: (gst_object_set_parent):
16481 2005-09-27 Wim Taymans <wim@fluendo.com>
16483 * docs/design/part-TODO.txt:
16486 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16487 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16488 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16489 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16490 (gst_bin_change_state):
16491 * gst/gstelement.h:
16492 Remove element variable, we keep element info in the iterator now.
16494 2005-09-27 Andy Wingo <wingo@pobox.com>
16496 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16499 2005-09-27 Wim Taymans <wim@fluendo.com>
16501 * check/gst/gstbin.c: (GST_START_TEST):
16502 Enable check that works now.
16504 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16505 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16506 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16507 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16508 (gst_bin_change_state):
16510 Redid the state change algorithm using a topological sort algo.
16511 Handles all cases correctly.
16512 Exposed iterator for state change order.
16514 * gst/gstelement.h:
16515 Temp storage for state changes. Need to get rid of this soon.
16517 2005-09-27 Wim Taymans <wim@fluendo.com>
16519 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
16520 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
16521 (link_fold_func), (gst_pad_proxy_setcaps):
16522 Leak fixes, the fold functions need to unref the passed object and
16523 _get_parent_*() returns ref to parent.
16525 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16527 * check/gst/gstbuffer.c: (test_make_writable):
16528 Plug leak in test case and fix 'make check-valgrind'
16530 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16532 * gst/gstbuffer.c: (gst_subbuffer_init):
16533 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
16534 works correctly in all circumstances (we could have just copied
16535 the parent buffer's readonly flag, but conceptually it seems
16536 cleaner to mark all subbuffers as read-only). (based on patch
16537 by Alessandro Decina, #314710).
16539 * check/gst/gstbuffer.c: (create_read_only_buffer),
16540 (test_make_writable), (test_subbuffer_make_writable),
16542 Add some tests for gst_buffer_make_writable().
16544 2005-09-27 Wim Taymans <wim@fluendo.com>
16546 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
16547 use gst_object_has_ancestor().
16549 * gst/gstobject.c: (gst_object_has_ancestor):
16551 gst_object_has_ancestor() copied from gstbin.c as it is a
16554 * tests/instantiate/create.c: (create_all_elements):
16555 * tests/lat.c: (handoff_src), (handoff_sink):
16556 * tests/sched/runxml.c: (main):
16557 * tests/seeking/seeking1.c: (main):
16558 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16560 Fix compilation of some tests.
16562 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
16565 Remove comment. GST_TYPE_G_ERROR is here to stay,
16566 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
16567 (#316961, #300610).
16569 2005-09-26 Wim Taymans <wim@fluendo.com>
16571 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16572 Added check that shows error in state change order.
16574 2005-09-26 Wim Taymans <wim@fluendo.com>
16576 * gst/gstbin.c: (gst_bin_change_state):
16577 Make state change function use 3 queues again, we were
16578 adding elements in the wrong order.
16580 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
16583 * gst/gstpad.c: (gst_pad_dispose):
16584 Added some debug info first.
16586 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
16588 * docs/design/draft-push-pull.txt:
16589 * docs/design/part-events.txt:
16590 * docs/design/part-overview.txt:
16591 * docs/design/part-scheduling.txt:
16592 Replace all _pull_region() with _pull_range()
16594 2005-09-26 Andy Wingo <wingo@pobox.com>
16596 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
16598 * check/gst-libs/controller.c: Update for controller api change.
16601 * tests/Makefile.am:
16602 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
16603 over by GLib bug 118439.
16605 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
16606 routines to a function.
16608 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
16610 * libs/gst/controller/gsthelper.c:
16611 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
16612 (gst_object_sync_values): Renamed from sink_values. Ugh.
16614 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
16616 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
16617 Renamed from controller_key, as it is exported.
16619 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
16621 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
16626 * gst/gstpadtemplate.h:
16629 * gst/gstqueryutils.c:
16630 * gst/gstqueryutils.h:
16631 remove queryutils headers after moving the two used functions
16632 to gstquery. also fixes build problem for gstsiddec
16634 2005-09-26 Michael Smith <msmith@fluendo.com>
16636 * tools/gst-launch.1.in:
16637 Correct documentation in manpage of debug syntax
16639 2005-09-26 Wim Taymans <wim@fluendo.com>
16641 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16642 (gst_base_src_is_seekable), (gst_base_src_change_state):
16643 Some more debugging info.
16645 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16647 * docs/gst/gstreamer-sections.txt:
16648 * gst/base/gstbasetransform.h:
16652 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16654 * docs/gst/.cvsignore:
16655 * docs/gst/tmpl/.cvsignore:
16656 * docs/gst/tmpl/gstpipeline.sgml:
16657 * docs/gst/tmpl/gstplugin.sgml:
16658 * gst/gstpipeline.c:
16661 inlined the last two docs files
16662 removed the tmpl directory from cvs (no more conflicts here!)
16664 2005-09-25 Stefan Kost <ensonic@users.sf.net>
16666 * docs/gst/gstreamer-sections.txt:
16667 * docs/gst/tmpl/.cvsignore:
16668 * docs/gst/tmpl/gstpad.sgml:
16669 * docs/gst/tmpl/gstpadtemplate.sgml:
16671 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
16672 (gst_pad_finalize), (gst_pad_set_pad_template):
16674 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
16675 (gst_pad_template_class_init), (gst_pad_template_init),
16676 (gst_pad_template_dispose), (name_is_valid),
16677 (gst_static_pad_template_get), (gst_pad_template_new),
16678 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
16679 (gst_pad_template_pad_created):
16680 * gst/gstpadtemplate.h:
16681 inlined two more docs
16682 factored gstpadtemplate out of gstpad
16684 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
16686 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16687 (test_children_state_change_order_semi_sink):
16688 Fix test case: we can't rely on a fixed state change order when
16689 going from READY => PAUSED because the sink might commit its
16690 new state first when the first buffer created by the source
16691 reaches the sink before the source has finished its change state.
16692 (Test case still fails at times, see #316856, comment 5 onwards)
16694 2005-09-24 Wim Taymans <wim@fluendo.com>
16696 * docs/design/part-events.txt:
16697 * docs/design/part-gstbus.txt:
16698 * docs/design/part-gstpipeline.txt:
16699 * docs/design/part-messages.txt:
16700 * docs/design/part-overview.txt:
16701 * docs/design/part-segments.txt:
16705 * gst/gstelement.c:
16708 * gst/gstiterator.c:
16709 Various documentation updates.
16711 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
16714 Well, that's embarassing. Luckily we weren't using
16715 GST_CLOCK_DIFF anywhere.
16717 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16719 * common/gtk-doc.mak:
16720 don't fail on building XML, FC4 slave shows a bunch of doc
16721 missing bits that I don't get
16723 * gst/gstpipeline.c:
16724 * gst/gststructure.c:
16727 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16729 * docs/design/part-gstbin.txt:
16730 * docs/design/part-gstbus.txt:
16732 Add blurb about how the bus goes into flushing mode and
16733 drops all messages when its bin goes from READY into NULL
16736 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16738 * docs/gst/gstreamer-sections.txt:
16739 * gst/gststructure.c: (gst_structure_get_clock_time):
16740 * gst/gststructure.h:
16741 add a method to get a GstClockTime out of a structure
16743 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16745 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16746 (test_children_state_change_order_semi_sink), (gst_bin_suite):
16747 Added test to check state change order in bins (can still be made
16748 to fail here under heavy disk load; bails out with 'Push on pad
16749 fakesink:sink0, but it was not activated in push mode').
16751 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
16752 Fix state change order when there is only a semi sink (#316856)
16754 * gst/gstbus.c: (gst_bus_class_init):
16755 Use _class_peek_parent(), not _class_ref(); fix docs to say
16756 'default main context' instead of 'mainloop' where that is
16759 * gst/gstelement.c: (gst_element_commit_state),
16760 (gst_element_set_state):
16761 Fix typos in debug messages
16763 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16766 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
16767 * gst/gstpluginfeature.c:
16769 various doc updates
16770 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16771 change an assert into an error until it gets fixed properly
16773 2005-09-23 Stefan Kost <ensonic@users.sf.net>
16775 * docs/gst/gstreamer-sections.txt:
16776 * docs/gst/tmpl/.cvsignore:
16777 * docs/gst/tmpl/gstelement.sgml:
16778 * docs/gst/tmpl/gstinfo.sgml:
16779 * docs/gst/tmpl/gstobject.sgml:
16780 * gst/gstelement.c:
16781 * gst/gstelement.h:
16784 * gst/gstobject.c: (gst_object_class_init):
16786 inlined 3 more biiiig doc files and added some missing docs on the fly
16788 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16790 * check/gst/.cvsignore:
16791 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
16792 * gst/gstregistryxml.c: (load_plugin),
16793 (gst_registry_xml_save_plugin):
16794 put back source in registry. add checks for find_plugin.
16795 * testsuite/states/bin.c: (assert_state), (empty_bin),
16796 (test_adding_one_element), (main):
16797 * testsuite/states/locked.c: (main):
16798 some compile/run fixes
16800 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
16802 * check/gst/gstvalue.c: (GST_START_TEST):
16803 fix leaks in the test itself
16805 2005-09-22 Wim Taymans <wim@fluendo.com>
16807 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16808 (gst_base_sink_send_event), (gst_base_sink_peer_query),
16809 (gst_base_sink_query):
16810 Prepare for more accurate position reporting and query
16813 * gst/gstelement.c: (gst_element_send_event),
16814 (gst_element_set_state):
16817 2005-09-22 Wim Taymans <wim@fluendo.com>
16819 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
16820 (gst_query_parse_segment):
16822 More documentation.
16823 Add segment query for future use.
16825 2005-09-22 Wim Taymans <wim@fluendo.com>
16827 * gst/gstbin.c: (gst_bin_add_func):
16828 Some more debug info.
16830 * gst/gstelement.c: (gst_element_send_event):
16831 Simplify send_event
16833 * gst/gstelement.h:
16834 Don't know how flags got broken.
16839 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16841 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
16842 Add simplistic test suite for GST_TYPE_DATE serialisation and
16845 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16847 * docs/gst/gstreamer-sections.txt:
16848 * gst/gststructure.c: (gst_structure_set_valist),
16849 (gst_structure_get_date):
16850 * gst/gststructure.h:
16851 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16852 (gst_date_copy), (gst_value_compare_date),
16853 (gst_value_serialize_date), (gst_value_deserialize_date),
16854 (gst_value_transform_date_string),
16855 (gst_value_transform_string_date), (_gst_value_initialize):
16857 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16858 bunch of utility functions along with a hack that checks that
16859 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16860 is required. Part of the grand scheme in #170777.
16862 2005-09-22 Andy Wingo <wingo@pobox.com>
16864 * gst/gstconfig.h.in: Psych out gtk-doc.
16866 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16868 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16870 * tools/gst-inspect.c (print_element_list): Plug some
16871 inconsequential leaks.
16873 * gst/gstregistry.c (gst_registry_get_default): Doc.
16875 * check/gst/gstplugin.c:
16876 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16877 * gst/gstelementfactory.c (gst_element_factory_create):
16878 * gst/gstindexfactory.c (gst_index_factory_create): Update for
16881 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16882 (gst_plugin_feature_load): Doc, don't eat refs.
16884 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16885 (gst_plugin_list_free): Doc.
16886 (gst_plugin_load_file): Doc updates.
16888 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16889 accessors returning refcounted objects, return a ref.
16891 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16892 accessor for caps. IDEMPOTENCE. Oh yes.
16894 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
16896 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16898 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16899 (_gst_debug_register_funcptr):
16900 Add mutex to serialise access to the hash table with
16901 the function pointer => function name string mapping;
16902 make that hash table static scope (#316809).
16904 * gst/registries/.cvsignore:
16905 Remove left-over file.
16907 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16909 * docs/pwg/appendix-porting.xml:
16910 And something about newsegment events and caps-on-buffers to
16911 the porting guide (feel free to improve).
16913 2005-09-21 Andy Wingo <wingo@pobox.com>
16915 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16916 data and event probes on the same pad.
16917 (test_buffer_probe_once): Test that removing probes from within
16918 the probe functions works.
16920 2005-09-21 Andy Wingo <wingo@pobox.com>
16922 * check/gst/gstutils.c: New file.
16923 (test_buffer_probe_n_times): A simple buffer probe test. More to
16926 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16927 have-data::buffer, not have-data.
16928 (gst_pad_add_event_probe): Likewise for have-data::event.
16929 (gst_pad_add_data_probe): More docs. The part about 'resolving the
16930 peer' isn't quite right yet though.
16931 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
16932 (gst_pad_remove_data_probe): Change to take the guint handler_id
16933 as their arg, not the function+data, which is more glib-like.
16935 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16936 the signal emission to indicate if the data is a buffer or an
16938 (gst_pad_get_type): Initialize buffer and event quarks.
16939 (gst_pad_class_init): have-data is now a detailed signal, yes it
16942 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16944 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16945 * gst/gstutils.c: (gst_util_set_value_from_string),
16946 (gst_util_set_object_arg):
16947 Don't put functional code in g_return_if_fail() or
16948 g_return_val_if_fail() statements, otherwise things will
16949 break when G_DISABLE_CHECKS is defined during compilation.
16951 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16953 * docs/gst/tmpl/.cvsignore:
16954 * docs/gst/tmpl/gstvalue.sgml:
16957 inlied another one and added some obvious docs
16959 2005-09-21 Wim Taymans <wim@fluendo.com>
16961 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16962 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16963 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16964 (gst_fdsrc_get_property), (gst_fdsrc_create):
16965 * gst/elements/gstfdsrc.h:
16966 Properly implement fdsrc. Removed signal and timeout,
16967 better implemented somewhere else.
16969 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16971 * docs/gst/tmpl/.cvsignore:
16972 * docs/gst/tmpl/gstimplementsinterface.sgml:
16973 * gst/gstinterface.c:
16976 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16978 * docs/gst/gstreamer-sections.txt:
16979 * docs/gst/tmpl/.cvsignore:
16980 * docs/gst/tmpl/gstenumtypes.sgml:
16981 remove obsolete doc file
16983 2005-09-21 David Schleef <ds@schleef.org>
16985 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16986 little beer, fix a little leak.
16988 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16990 * docs/gst/gstreamer-docs.sgml:
16991 * docs/gst/gstreamer-sections.txt:
16992 * docs/gst/tmpl/.cvsignore:
16996 * gst/gstelement.h:
16997 * gst/gstindex.c: (gst_index_class_init):
16999 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17000 (gst_index_factory_class_init), (gst_index_factory_init),
17001 (gst_index_factory_finalize), (gst_index_factory_new),
17002 (gst_index_factory_destroy), (gst_index_factory_find),
17003 (gst_index_factory_create), (gst_index_factory_make):
17004 * gst/gstindexfactory.h:
17005 * gst/gstpluginfeature.c:
17006 * gst/gstpluginfeature.h:
17007 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17008 more docs inlined, splitted gstindex.{c,h}
17010 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17012 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17015 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17017 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17018 Set sync to FALSE by default.
17020 2005-09-20 Wim Taymans <wim@fluendo.com>
17022 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17023 (gst_base_sink_init):
17024 Make sync property settable from subclass.
17026 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17027 (gst_fake_sink_change_state):
17028 Set sync to FALSE by default.
17030 2005-09-20 Wim Taymans <wim@fluendo.com>
17032 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17033 * tools/gst-launch.c: (main):
17034 The timeout handler should have lower priority than the source
17035 so we don't timeout before popping a message with 0 timeout.
17036 Dump error messages after failed state change.
17038 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17040 * tools/gst-inspect.c: (print_element_properties_info):
17043 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17045 * check/gst/gstevent.c:
17046 * gst/elements/gstfakesink.c:
17047 * gst/elements/gstfakesink.h:
17048 remove the sync property from fakesink.
17049 has the side effect of setting sync TRUE
17050 for fakesink, which is a change. Anyone who knows how
17051 to fix this nicely in a GObject-y way, feel free.
17053 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17055 * docs/gst/gstreamer-docs.sgml:
17056 remove probe refsection
17058 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17060 * check/Makefile.am:
17061 disable valgrinding the controller test again
17062 * docs/gst/gstreamer-sections.txt:
17063 update for api-changes
17065 2005-09-20 Wim Taymans <wim@fluendo.com>
17067 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17068 (gst_base_sink_set_property), (gst_base_sink_get_property),
17069 (gst_base_sink_do_sync):
17070 * gst/base/gstbasesink.h:
17071 Added sync property to basesink to disable clock sync.
17073 2005-09-20 Andy Wingo <wingo@pobox.com>
17075 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17076 eating the caller's refcount.
17078 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17079 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17082 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17083 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17084 of GLib 2.8 public, so we can know which refcount to check in
17087 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17088 (gst_object_init): Only set the gst refcount if we're going ahead
17089 with the refcount hack.
17091 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17093 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17094 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17095 more leaks plumbed, added more debug-logging
17099 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17101 * gst/gstmessage.c:
17102 remove include of gstmemchunk.h
17104 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17106 * gst/gstclock.c: (_gst_clock_id_free):
17107 Commit from the Political Party For More Atomic CVS Commits,
17108 so that people don't waste too much of their day fishing
17109 out obvious leaks out of massive commits.
17110 Oh, and fix a pretty damn obvious leak in the memchunk
17113 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17115 * check/Makefile.am:
17116 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17117 plug mem-leak, re-add to valgrindable tests
17119 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17122 unbreak the build for those who have chronic arthritis
17123 and typing "make check" is just too taxing on the hands
17125 2005-09-20 Andy Wingo <wingo@pobox.com>
17127 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17128 really want it out, you should fix plugins at the same time.
17130 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17133 * docs/gst/gstreamer-sections.txt:
17135 added missing symbols to api docs
17136 disable ref-count hack if we have glib >= 2.8
17138 2005-09-19 David Schleef <ds@schleef.org>
17140 * docs/gst/Makefile.am: Ignore a few more internal headers
17141 * docs/gst/gstreamer-docs.sgml: Remove old sections
17142 * docs/gst/gstreamer-sections.txt: Remove old sections
17143 * docs/gst/tmpl/gstobject.sgml: update
17144 * docs/gst/tmpl/gstplugin.sgml: update
17145 * docs/gst/tmpl/gstpluginfeature.sgml: update
17146 * docs/random/ds/0.9-suggested-changes: update.
17147 * gst/Makefile.am: remove memchunk and trashstack, since they're
17149 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17150 * gst/gst.h: don't include some headers
17151 * gst/gstchildproxy.c: add gstmarshal.h
17152 * gst/gstclock.c: Don't use memchunks
17153 * gst/gstminiobject.c: Add some docs
17154 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17155 * gst/gstobject.h: same
17156 * gst/gstplugin.c: include gstmacros.h
17157 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17158 * gst/gstquery.c: don't use memchunks
17159 * gst/gstregistry.c: rename gst_registry_deinit()
17160 * gst/gstregistry.h: same
17162 2005-09-19 David Schleef <ds@schleef.org>
17164 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17165 * docs/libs/gstreamer-libs-sections.txt:
17166 * docs/libs/tmpl/gstgetbits.sgml:
17167 * docs/libs/tmpl/gstputbits.sgml:
17169 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17171 * win32/gstenumtypes.c:
17172 * win32/gstenumtypes.h:
17175 2005-09-19 Wim Taymans <wim@fluendo.com>
17177 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17178 Automatically PAUSE and RESUME a pipeline when a flushing seek
17181 2005-09-19 Andy Wingo <wingo@pobox.com>
17183 * gst/gstregistry.h: Spacing fixen.
17185 2005-09-19 Wim Taymans <wim@fluendo.com>
17187 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17188 Handle state change failure more correctly.
17190 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17192 * check/Makefile.am:
17193 * check/pipelines/cleanup.c: (run_pipeline):
17194 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17196 enable cleanup again after fixing the leak
17198 some more info on docs
17200 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17202 * check/Makefile.am:
17203 re-enable tests now that leaks are plugged
17205 * check/gst/gstbin.c:
17206 * check/gst/gstpipeline.c:
17207 add some more tests while fixing leaks
17208 * common/check.mak:
17209 make sure binaries are uptodate when valgrinding/gdbing
17211 * gst/gstelementfactory.c:
17212 remove a ref too many, and add a FIXME for when we get
17213 round to disposing of classes
17215 fix the refcounting when loading a plugin from a file and
17216 the code pretends that the pointer is the same even though
17217 of course it can change
17218 * gst/gstpluginfeature.c:
17219 unref plugins marked cached (a bit confusing as a name)
17220 as the docs state should be done
17221 various doc additions to explain refcounting
17222 * gst/gstregistry.c:
17223 * gst/gstregistryxml.c:
17226 2005-09-19 Wim Taymans <wim@fluendo.com>
17228 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17229 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17230 (send_messages), (GST_START_TEST), (gstbus_suite):
17231 * check/gst/gstpipeline.c: (GST_START_TEST):
17232 * check/pipelines/cleanup.c: (run_pipeline):
17233 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17235 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17236 (gst_bus_source_check), (gst_bus_source_dispatch),
17237 (gst_bus_create_watch), (gst_bus_add_watch_full),
17238 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17240 * tools/gst-launch.c: (event_loop):
17241 * tools/gst-md5sum.c: (event_loop):
17242 GstBusHandler -> GstBusFunc, return value has the same meaning as
17243 any other GSource (FALSE == remove source).
17244 _add_watch() and _add_watch_full() now take a MessageType mask to
17245 only handle specific types of messages.
17246 _poll() returns the GstMessage instead of the message type to avoid
17248 _have_pending() takes a MessageType mask now too.
17249 Added testsuite for multiple bus watches.
17250 Fix testsuites and applications for new bus API.
17252 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17254 * check/Makefile.am:
17255 mark a bunch of the tests as to fix until we fix them
17257 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17259 * common/check.mak:
17260 use GST_PLUGIN settings for valgrind tests as well, so we're
17261 valgrinding the correct thing
17262 * gst/gst.c: (init_post):
17265 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17267 * gst/gst.c: (init_post), (gst_deinit):
17268 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17269 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17270 * gst/gstindex.c: (gst_index_factory_class_init),
17271 (gst_index_factory_finalize):
17272 * gst/gstobject.c: (gst_object_dispose):
17273 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17274 (gst_plugin_load_file), (gst_plugin_desc_free):
17275 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17276 (gst_plugin_feature_finalize):
17277 * gst/gstregistry.c: (gst_registry_class_init),
17278 (gst_registry_init), (gst_registry_finalize),
17279 (gst_registry_get_default), (gst_registry_deinit):
17280 * gst/gstregistry.h:
17281 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17282 various cleanups and memleak plugging. make valgrind is happy now.
17284 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17286 * common/check.mak:
17287 add a check-valgrind target
17289 2005-09-18 David Schleef <ds@schleef.org>
17291 * tools/gst-inspect.c: Revert the GOption code.
17293 2005-09-17 David Schleef <ds@schleef.org>
17295 * check/Makefile.am: Fix environment variables.
17296 * check/gst/gstplugin.c: Fix for API changes.
17297 * tools/gst-inspect.c: Fix for API changes.
17298 * tools/gst-xmlinspect.c: Fix for API changes.
17299 * gst/gstelementfactory.c:
17302 * gst/gstpluginfeature.c:
17303 * gst/gstpluginfeature.h:
17304 * gst/gstregistry.c:
17305 * gst/gstregistry.h:
17306 * gst/gstregistryxml.c:
17307 * gst/gsttypefind.c:
17308 * gst/gsttypefindfactory.c:
17309 * gst/indexers/gstfileindex.c:
17310 * gst/indexers/gstmemindex.c:
17311 * gst/schedulers/Makefile.am:
17312 Change registry to keep track of both plugins and features,
17313 removing the feature tracking from plugins themselves.
17315 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17317 * check/Makefile.am:
17318 * tools/gst-register.1.in:
17319 remove gst-register
17321 2005-09-15 David Schleef <ds@schleef.org>
17323 * check/gst/gstplugin.c:
17324 * gst/gstelementfactory.c:
17326 * gst/gstpluginfeature.c:
17327 * gst/gstregistry.c:
17328 Getting tired of debugging. Disabled all the unreffing of
17329 plugins and features, which fixes the segfaults, but of
17330 course leaks like crazy. At least playbin works.
17332 2005-09-15 David Schleef <ds@schleef.org>
17334 * check/gst/gstplugin.c: (register_check_elements),
17335 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17337 * gst/elements/gsttypefindelement.c: Fix refcounting.
17338 * gst/gsttypefind.c:
17339 * gst/gsttypefindfactory.c:
17340 * gst/gsttypefindfactory.h:
17342 2005-09-15 David Schleef <ds@schleef.org>
17344 * gst/gstindex.c: get refcounting correct.
17345 * gst/gstregistry.c: Handle the case where a feature/plugin is
17348 2005-09-15 David Schleef <ds@schleef.org>
17350 * check/Makefile.am:
17351 * check/gst/gstplugin.c: Add test
17352 * gst/gstplugin.c: Fix problems noticed by testsuite
17354 * gst/gstregistry.c:
17355 * gst/gstregistry.h:
17357 2005-09-15 David Schleef <ds@schleef.org>
17359 * gst/gstplugin.c: Implement semi-decent recounting and locking
17360 in plugins and plugin features.
17362 * gst/gstpluginfeature.c:
17363 * gst/gstpluginfeature.h:
17364 * gst/gstregistry.c:
17366 2005-09-15 Michael Smith <msmith@fluendo.com>
17368 * gst/gstregistry.c: (gst_registry_get_feature_list):
17369 Implement this. Makes oggdemux work; decodebin still broken.
17371 2005-09-14 David Schleef <ds@schleef.org>
17373 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17375 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17376 * gst/check/Makefile.am:
17377 * libs/gst/controller/Makefile.am:
17378 * libs/gst/dataprotocol/Makefile.am:
17380 2005-09-14 David Schleef <ds@schleef.org>
17382 * configure.ac: Remove getbits library. Nothing uses it, and
17383 it should be in something like liboil if someone did want
17385 * libs/gst/Makefile.am:
17386 * libs/gst/getbits/Makefile.am:
17387 * libs/gst/getbits/gbtest.c:
17388 * libs/gst/getbits/getbits.c:
17389 * libs/gst/getbits/getbits.h:
17390 * libs/gst/getbits/gstgetbits_generic.c:
17391 * libs/gst/getbits/gstgetbits_i386.s:
17392 * libs/gst/getbits/gstgetbits_inl.h:
17394 2005-09-14 David Schleef <ds@schleef.org>
17396 * gst/Makefile.am: Dist glib-compat.h
17398 2005-09-14 David Schleef <ds@schleef.org>
17400 * configure.ac: Remove gst/registries, since it's no longer used.
17401 * gst/registries/Makefile.am:
17402 * gst/registries/gstlibxmlregistry.c:
17403 * gst/registries/gstlibxmlregistry.h:
17404 * gst/registries/gstxmlregistry.c:
17405 * gst/registries/gstxmlregistry.h:
17406 * gst/registries/registrytest.c:
17408 2005-09-14 David Schleef <ds@schleef.org>
17410 * gst/glib-compat.h:
17411 * gst/gstregistryxml.c:
17412 Convergence is near. Seriously.
17414 2005-09-14 David Schleef <ds@schleef.org>
17416 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17417 * gst/glib-compat.h:
17418 Attempt #4 to appease the buildbots.
17420 2005-09-14 David Schleef <ds@schleef.org>
17422 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17425 2005-09-14 David Schleef <ds@schleef.org>
17427 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17430 2005-09-14 David Schleef <ds@schleef.org>
17432 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17435 2005-09-14 David Schleef <ds@schleef.org>
17437 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17438 * gst/glib-compat.h: Add some functions that are in newer versions
17439 of glib than we care to require.
17440 * gst/gstregistryxml.c: Use them.
17442 2005-09-14 David Schleef <ds@schleef.org>
17444 * po/POTFILES.in: remove gst-register.c
17446 2005-09-14 David Schleef <ds@schleef.org>
17448 * docs/gst/gstreamer-docs.sgml:
17449 * docs/gst/gstreamer-sections.txt:
17450 * docs/gst/gstreamer.types:
17451 * docs/gst/tmpl/gstelement.sgml:
17452 * docs/gst/tmpl/gstplugin.sgml:
17453 * docs/gst/tmpl/gstpluginfeature.sgml:
17454 Documentation updates for registry changes.
17456 2005-09-14 David Schleef <ds@schleef.org>
17458 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17459 because we don't require glib-2.8.
17461 2005-09-14 David Schleef <ds@schleef.org>
17463 * gst/gstregistryxml.c: Added. Essentially moved out of the
17464 registries directory.
17466 2005-09-14 David Schleef <ds@schleef.org>
17468 * check/Makefile.am:
17469 * check/generic/states.c:
17473 * gst/gst_private.h:
17474 * gst/gstelementfactory.c:
17479 * gst/gstpluginfeature.c:
17480 * gst/gstpluginfeature.h:
17481 * gst/gstregistry.c:
17482 * gst/gstregistry.h:
17483 * gst/gstregistrypool.c: remove
17484 * gst/gstregistrypool.h: remove
17485 * gst/gsttypefind.c:
17486 * gst/gsttypefindfactory.c:
17488 * tools/Makefile.am:
17489 * tools/gst-compprep.c:
17490 * tools/gst-inspect.c:
17491 * tools/gst-register.c: remove
17492 * tools/gst-xmlinspect.c:
17493 Registry rewrite. Changes registry from being a file created
17494 by a tool into a simple cache file created automatically by
17495 libgstreamer. Removed gst-register (because it's no longer
17496 needed). Remove registry pools, because we only have one
17497 registry implementation (XML). Fix up other subsystems as
17500 2005-09-13 Michael Smith <msmith@fluendo.com>
17502 * gst/gstconfig.h.in:
17503 Don't Use windows linking attributes for MinGW. Fixes #316157
17505 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
17507 * gst/gstutils.c: (set_state_async_thread_func),
17508 (gst_element_set_state_async):
17509 Apparently people think it's better if this function doesn't
17510 try to set the state to whatever state was asked for on the first
17511 call to this function for any object. Seriously.
17513 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17515 * check/gst/gstpipeline.c: (GST_START_TEST):
17516 * docs/gst/gstreamer-sections.txt:
17517 * gst/gstutils.c: (set_state_async_thread_func),
17518 (gst_element_set_state_async):
17520 add a "gst_element_set_state_async" method that
17521 sets the state and starts a thread to make sure the state
17522 change completes as best as it can
17524 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17526 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17527 codify design+behaviour in testsuite after discussion
17529 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
17531 * docs/gst/tmpl/gstelement.sgml:
17532 * docs/manual/appendix-quotes.xml:
17534 * gst/gstelement.c: (gst_element_set_state):
17537 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
17539 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17540 (gst_base_transform_prepare_output_buf),
17541 (gst_base_transform_handle_buffer):
17542 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
17543 (gst_capsfilter_prepare_buf):
17544 Remove the requirement for sub-classes to call the parent
17545 implementation of prepare_output_buffer with a wrapper function.
17547 * gst/gsttaglist.h:
17548 * gst/gsttagsetter.h:
17549 Fix #define wrapper
17551 2005-09-11 Stefan Kost <ensonic@users.sf.net>
17553 * docs/gst/gstreamer-sections.txt:
17556 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17558 * docs/gst/gstreamer-sections.txt:
17559 * docs/gst/tmpl/gstelement.sgml:
17560 * docs/gst/tmpl/gstplugin.sgml:
17561 * gst/gstminiobject.c:
17563 docs now stop throwing warnings
17565 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17567 * docs/gst/gstreamer-sections.txt:
17568 * docs/gst/gstreamer.types:
17569 * docs/gst/tmpl/gstpad.sgml:
17570 * docs/gst/tmpl/gsttypes.sgml:
17571 * gst/base/gstadapter.h:
17572 * gst/base/gstbasesink.h:
17573 * gst/base/gstbasesrc.h:
17579 * gst/gstelement.h:
17581 * gst/gstmessage.h:
17583 * gst/gststructure.c:
17584 * gst/registries/gstlibxmlregistry.h:
17585 various documentation fixes
17587 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
17589 * docs/gst/gstreamer-sections.txt:
17590 * docs/gst/tmpl/gstvalue.sgml:
17591 rearrange gstvalue section
17592 * gst/gstutils.c: (gst_element_state_get_name):
17594 * gst/gstvalue.c: (_gst_value_initialize):
17598 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
17600 * check/gst-libs/controller.c:
17601 Header include fix.
17602 * gst/base/gstbasetransform.c:
17603 (gst_base_transform_default_prepare_buf),
17604 (gst_base_transform_handle_buffer):
17605 * gst/base/gstbasetransform.h:
17606 Some more basetransform changes and fixes to enable sub-classes
17607 that modify buffer metadata only.
17608 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17609 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
17610 (gst_capsfilter_prepare_buf):
17611 If the output pad has fixed allowed caps and input buffers
17612 don't have any, set the fixed caps on outgoing buffers.
17614 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
17615 * check/elements/identity.c: (GST_START_TEST):
17616 Make the error a little clearer when the test fails because
17617 identity made a copy of the buffer.
17618 * docs/gst/gstreamer-sections.txt:
17619 New symbols in gstbasetransform.h
17620 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17621 (gst_base_transform_init), (gst_base_transform_transform_size),
17622 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17623 (gst_base_transform_default_prepare_buf),
17624 (gst_base_transform_get_unit_size),
17625 (gst_base_transform_buffer_alloc),
17626 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
17627 (gst_base_transform_change_state),
17628 (gst_base_transform_set_passthrough),
17629 (gst_base_transform_set_in_place),
17630 (gst_base_transform_is_in_place):
17631 * gst/base/gstbasetransform.h:
17632 Change BaseTransform to separate in_place operate from same_caps
17633 output. in_place implies that the element can perform the transform
17634 on incoming buffers in-place, even if the caps on the output are
17636 Sub-class elements can now implement special buffer allocation
17637 methods for outgoing buffers if they wish to.
17638 Big documentation addition.
17639 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
17640 * gst/elements/gstelements.c:
17641 Changes for basetransform modifications.
17642 * gst/elements/Makefile.am:
17643 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
17644 Compile fix. Extra debug output.
17646 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17648 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
17650 add tests for valid pad naming
17651 * gst/check/gstcheck.c: (gst_check_log_message_func),
17652 (gst_check_log_critical_func):
17654 remove printing of code, it is fragile when the code contains
17655 % and the line number is enough info
17656 * gst/check/gstcheck.h:
17657 * gst/gstpad.c: (gst_pad_template_new):
17660 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17663 say what CHECK flags we use
17664 * docs/libs/gstreamer-libs.types:
17665 * libs/gst/controller/Makefile.am:
17666 * libs/gst/controller/gst-controller.c:
17667 * libs/gst/controller/gst-controller.h:
17668 * libs/gst/controller/gst-helper.c:
17669 * libs/gst/controller/gst-interpolation.c:
17670 * libs/gst/controller/gstcontroller.c:
17671 * libs/gst/controller/gsthelper.c:
17672 * libs/gst/controller/gstinterpolation.c:
17673 * tools/gst-inspect.c: (print_plugin_info):
17674 we don't use dashes in header names
17676 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17678 * check/Makefile.am:
17679 * check/gst/.cvsignore:
17680 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
17681 (gst_pipeline_suite), (main):
17682 adding a test for pipelines and state changes
17683 * gst/gstutils.c: (get_state_func):
17685 * gstreamer.spec.in:
17688 2005-09-08 Michael Smith <msmith@fluendo.com>
17690 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
17691 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
17692 (gst_file_src_is_seekable), (gst_file_src_get_size),
17693 (gst_file_src_start):
17694 * gst/elements/gstfilesrc.h:
17695 Various fixes for unseekable, unmmapable, and non-normal files, so
17696 that fallback to read() rather than mmap() works.
17697 * gst/gstevent.c: (gst_event_new_newsegment):
17698 Allow newsegment events with segment_start == segment_end, as will
17699 correctly happen if you use filesrc on a zero-size file, for
17702 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17704 * gst/gstplugin.c: (gst_plugin_load_file):
17705 Call g_module_close when we don't load the module
17707 * gst/registries/gstlibxmlregistry.c:
17708 (gst_xml_registry_get_property):
17709 Port leak fix from 0.8
17711 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17713 * docs/gst/gstreamer-docs.sgml:
17714 * docs/gst/tmpl/.cvsignore:
17715 * docs/gst/tmpl/gsttrace.sgml:
17716 * docs/gst/tmpl/gsttrashstack.sgml:
17719 * gst/gstelement.h:
17721 * gst/gstmessage.c:
17722 * gst/gstmessage.h:
17725 * gst/gsttaginterface.c:
17726 * gst/gsttaginterface.h:
17727 * gst/gsttaglist.c:
17728 * gst/gsttaglist.h:
17729 * gst/gsttagsetter.c:
17730 * gst/gsttagsetter.h:
17733 * gst/gsttrashstack.c:
17734 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
17735 inlined docs for gsttrace, gsttrashstack
17737 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17740 * gst/elements/gstbufferstore.h:
17741 * gst/elements/gsttypefindelement.c:
17742 * gst/elements/gsttypefindelement.h:
17744 * gst/gsttypefind.c:
17745 * gst/gsttypefind.h:
17746 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
17747 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
17748 (gst_type_find_factory_dispose),
17749 (gst_type_find_factory_unload_thyself),
17750 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
17751 (gst_type_find_factory_get_caps),
17752 (gst_type_find_factory_get_extensions),
17753 (gst_type_find_factory_call_function):
17754 * gst/gsttypefindfactory.h:
17755 * gst/registries/gstlibxmlregistry.c:
17756 * gst/registries/gstxmlregistry.c:
17757 splitted gsttypefind into gsttypefind, gsttypefindfactory
17759 2005-09-07 Andy Wingo <wingo@pobox.com>
17761 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
17762 condition whereby the pad's task function is entered before the
17763 pad_mode variable was set.
17765 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17767 * gst/gstpad.c: (gst_pad_alloc_buffer):
17768 Catch misbehaving pad_alloc functions that don't
17769 set up caps and do it for them.
17771 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17773 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17774 test for pipe!=NULL
17775 * docs/gst/tmpl/.cvsignore:
17776 * docs/gst/tmpl/gstmemchunk.sgml:
17777 * docs/gst/tmpl/gstparse.sgml:
17778 * docs/gst/tmpl/gsttaglist.sgml:
17779 * docs/gst/tmpl/gsttagsetter.sgml:
17780 * docs/gst/tmpl/gsttypefind.sgml:
17781 * docs/gst/tmpl/gsttypefindfactory.sgml:
17782 * gst/gstmemchunk.c:
17785 * gst/gsttaginterface.c:
17786 * gst/gsttypefind.c:
17787 * gst/gsttypefind.h:
17790 === release 0.9.2 ===
17792 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
17797 releasing 0.9.2, "South"
17799 2005-09-05 Andy Wingo <wingo@pobox.com>
17801 * gst/registries/gstxmlregistry.h:
17802 * gst/registries/gstxmlregistry.c: Um... resurrect...
17804 * gst/registries/gstxmlregistry.h:
17805 * gst/registries/gstxmlregistry.c: and update to newer API.
17806 Incidentally they should be a bit faster now that they don't have
17809 2005-09-05 Andy Wingo <wingo@pobox.com>
17811 * gst/registries/gstxmlregistry.h:
17812 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
17813 replaced by the libxml registry a while back
17815 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17817 * docs/gst/tmpl/gstplugin.sgml:
17818 * gst/elements/gstelements.c:
17820 * gst/gstplugin.c: (gst_plugin_register_func),
17821 (gst_plugin_desc_copy), (gst_plugin_desc_free),
17822 (gst_plugin_get_source):
17824 * gst/registries/gstlibxmlregistry.c: (load_plugin),
17825 (gst_xml_registry_save_plugin):
17826 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
17827 (gst_xml_registry_save_plugin):
17828 * tools/gst-inspect.c: (print_plugin_info):
17829 add a "source" plugin description field, to represent the source
17830 module this plugin is a part of. By default GST_PLUGIN_DEFINE
17831 will set it to PACKAGE, which is automake's idea of the name of
17832 the source project.
17834 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17839 * docs/Makefile.am:
17840 * docs/faq/Makefile.am:
17841 * docs/gst/tmpl/gstelement.sgml:
17842 * docs/gst/tmpl/gsttypes.sgml:
17843 * docs/htmlinstall.mak:
17844 * docs/manual/Makefile.am:
17845 * docs/pwg/Makefile.am:
17846 reorganize doc build a little
17847 split out docbook and gtk-doc stuff
17848 have two separate --enable's and enable them through autogen
17849 but disable by default in configure (to be similar to other
17851 * gstreamer.spec.in:
17852 clean up docs install
17870 translation updates
17872 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
17874 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17877 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17878 (gst_fake_sink_change_state):
17879 Make state change function thread-safe.
17881 * gst/gstpad.c: (gst_pad_alloc_buffer):
17882 Set offset on generic buffer allocated by fallback.
17884 2005-09-03 Stefan Kost <ensonic@users.sf.net>
17886 * docs/gst/gstreamer-sections.txt:
17887 * docs/gst/tmpl/gstelement.sgml:
17889 * libs/gst/controller/gst-controller.c:
17890 (gst_controlled_property_set_interpolation_mode),
17891 (gst_controlled_property_new),
17892 (gst_controller_find_controlled_property):
17893 run the wingo-magic script against the docs
17895 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17897 * docs/gst/gstreamer-docs.sgml:
17898 * docs/gst/gstreamer-sections.txt:
17899 * docs/gst/tmpl/.cvsignore:
17900 * docs/gst/tmpl/gstelementdetails.sgml:
17901 * docs/gst/tmpl/gstelementfactory.sgml:
17904 * gst/gstelementfactory.c:
17905 * gst/gstelementfactory.h:
17906 merged elementdetails docs into elementfactory docs
17909 2005-09-02 Andy Wingo <wingo@pobox.com>
17911 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17912 consider this enum an enum and not a flags.
17914 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17916 * docs/gst/gstreamer-docs.sgml:
17917 * docs/gst/tmpl/.cvsignore:
17918 * docs/gst/tmpl/gstghostpad.sgml:
17919 * docs/gst/tmpl/gstiterator.sgml:
17920 * docs/gst/tmpl/gstmacros.sgml:
17921 * docs/gst/tmpl/gstrealpad.sgml:
17922 * docs/gst/tmpl/gstregistry.sgml:
17923 * docs/gst/tmpl/gstregistrypool.sgml:
17924 * docs/gst/tmpl/gststructure.sgml:
17925 * docs/gst/tmpl/gstsystemclock.sgml:
17926 * docs/gst/tmpl/gsttrace.sgml:
17927 * gst/gstghostpad.c:
17929 * gst/gstmemchunk.c:
17930 * gst/gstmemchunk.h:
17932 * gst/gstregistry.c:
17933 * gst/gstregistrypool.c:
17934 * gst/gststructure.c:
17935 * gst/gstsystemclock.c:
17938 2005-09-02 Andy Wingo <wingo@pobox.com>
17940 * gst/gstelement.h (GstState): Renamed from GstElementState,
17941 changed to be a normal enum instead of flags.
17942 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17943 munged to be GST_STATE_CHANGE_*.
17944 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17945 work with the new state representation.
17946 (GstStateChange): New enumeration of possible state transitions.
17947 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17948 (GstElementClass::change_state): Pass the GstStateChange along as
17949 an argument. Helps language bindings, so they don't have to use
17950 tricky lock-needing macros like GST_STATE_CHANGE ().
17952 * scripts/update-states (file): New script. Run it on a file to
17953 update it for state naming and API changes. Updates files in
17956 * All files updated for the new API.
17958 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
17960 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17961 * gst/gstutils.c: (gst_util_set_value_from_string),
17962 (gst_util_set_object_arg):
17963 fix a bunch of unchecked return values
17964 * tools/gst-complete.c: (main):
17965 * gstreamer.spec.in:
17968 2005-09-01 Wim Taymans <wim@fluendo.com>
17970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17971 (gst_base_sink_event), (gst_base_sink_do_sync),
17972 (gst_base_sink_handle_event):
17973 * gst/base/gstbasesink.h:
17974 Handle newsegments more correctly.
17979 * gst/gstevent.c: (gst_event_new_newsegment):
17980 A newsegment cannot have a start_time of -1
17982 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
17984 * win32/gstenumtypes.c:
17985 * win32/gstenumtypes.h:
17988 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17990 * libs/gst/controller/gst-controller.c:
17991 (gst_controlled_property_set_interpolation_mode),
17992 (gst_controlled_property_new):
17993 fixed boolean again
17995 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
17997 * docs/faq/gst-uninstalled:
18002 * gst/gstutils.c: (gst_element_link_filtered):
18004 add gst_element_link_filtered
18006 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18008 * docs/gst/gstreamer-docs.sgml:
18009 * docs/gst/gstreamer-sections.txt:
18010 * docs/gst/tmpl/.cvsignore:
18011 * docs/gst/tmpl/gsterror.sgml:
18012 * docs/gst/tmpl/gstfilter.sgml:
18013 * docs/gst/tmpl/gsturihandler.sgml:
18014 * docs/gst/tmpl/gsturitype.sgml:
18015 * docs/gst/tmpl/gstutils.sgml:
18016 * docs/gst/tmpl/gstxml.sgml:
18021 * gst/gsturitype.c:
18024 inlined more docs, fixed double id-ref
18026 2005-08-31 Wim Taymans <wim@fluendo.com>
18028 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18029 (gst_base_transform_handle_buffer):
18030 Passthrough elements don't need the caps as they don't care.
18032 2005-08-31 Wim Taymans <wim@fluendo.com>
18034 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18035 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18036 Don't leak refcounts on buffers.
18038 2005-08-31 Wim Taymans <wim@fluendo.com>
18040 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18041 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18042 (gst_base_transform_chain), (gst_base_transform_change_state):
18043 * gst/base/gstbasetransform.h:
18044 Handle the case where we are not negotiated more gracefully.
18046 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18048 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18049 (gst_file_src_map_region):
18050 Set READONLY flag on mmap'ed buffers, otherwise
18051 gst_buffer_make_writable() won't work properly (#314708).
18053 2005-08-31 Wim Taymans <wim@fluendo.com>
18055 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18056 passthrough elements can even do inplace on non writable
18057 buffers (as they don't touch them).
18059 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18061 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18062 (gst_test_mono_source_set_property),
18063 (gst_test_mono_source_class_init), (GST_START_TEST),
18064 (gst_controller_suite):
18065 more tests (hehe I have the most)
18067 describe popping messages whenusing mulltiple sources
18068 * libs/gst/controller/gst-controller.c:
18069 (gst_controlled_property_set_interpolation_mode),
18070 (gst_controlled_property_new):
18071 * libs/gst/controller/gst-controller.h:
18072 * libs/gst/controller/gst-interpolation.c:
18073 implement boolean properties
18075 2005-08-31 Wim Taymans <wim@fluendo.com>
18077 * gst/gstminiobject.c: (gst_mini_object_ref):
18078 Cannot assert that the refcount has to be positive
18079 since a disposed object can be resurrected.
18081 2005-08-31 Wim Taymans <wim@fluendo.com>
18083 * gst/gstpad.c: (gst_pad_init):
18084 Revert change, need to first fix badly behaving
18087 2005-08-30 Wim Taymans <wim@fluendo.com>
18089 * check/elements/fakesrc.c: (setup_fakesrc):
18090 * check/elements/identity.c: (setup_identity):
18091 Activate pads before using them.
18093 2005-08-30 Wim Taymans <wim@fluendo.com>
18095 * gst/base/gstadapter.c: (gst_adapter_flush):
18096 Flushing out 0 bytes is ok for this function.
18098 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18099 no newsegment gives a warning and sets the start/stop to
18102 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18103 (gst_base_transform_set_passthrough):
18106 * gst/gstminiobject.c: (gst_mini_object_ref):
18107 Check refcount here too.
18109 * gst/gstpad.c: (gst_pad_init):
18110 Pads are initially flushing and refusing data.
18112 * gst/gstutils.c: (gst_element_link_pads_filtered):
18113 When adding a capsfilter element make sure it has the
18114 same state as the parent bin.
18116 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18118 * docs/gst/tmpl/.cvsignore:
18119 * docs/gst/tmpl/gstformat.sgml:
18120 * docs/gst/tmpl/gstversion.sgml:
18124 * gst/gstversion.h.in:
18125 more docs and two more inlined
18127 2005-08-30 Wim Taymans <wim@fluendo.com>
18129 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18130 Don't sync to clock.
18132 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18134 * docs/gst/gstreamer-sections.txt:
18135 ultral33t func10ns deserve to appear in the docs actually
18136 * docs/gst/tmpl/.cvsignore:
18137 * docs/gst/tmpl/gstcompat.sgml:
18138 * docs/gst/tmpl/gstconfig.sgml:
18139 * gst/check/gstcheck.c:
18141 * gst/gstconfig.h.in:
18144 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18146 * docs/gst/tmpl/.cvsignore:
18147 * docs/gst/tmpl/gstquery.sgml:
18148 * docs/gst/tmpl/gstutils.sgml:
18151 inlined and extended docs
18153 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18155 * check/gst-libs/controller.c: (GST_START_TEST),
18156 (gst_controller_suite):
18158 * docs/gst/tmpl/gstutils.sgml:
18159 * docs/libs/gstreamer-libs-sections.txt:
18160 * docs/libs/tmpl/gstdataprotocol.sgml:
18162 * examples/controller/audio-example.c: (main):
18163 controller example works now
18166 * tools/gst-inspect.c: (print_element_properties_info):
18167 show param spec flags
18169 2005-08-29 Andy Wingo <wingo@pobox.com>
18171 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18173 2005-08-28 Andy Wingo <wingo@pobox.com>
18175 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18176 as having two arguments instead of just one. Allows superclasses
18177 to access information on subclasses -- see the terrible for() loop
18178 in gtype.c:g_type_create_instance for the reason why. All callers
18181 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18183 * docs/design/part-messages.txt:
18185 * docs/gst/tmpl/.cvsignore:
18186 * docs/gst/tmpl/gstcaps.sgml:
18187 * docs/gst/tmpl/gstclock.sgml:
18193 * gst/gstmessage.c:
18194 added descriptions for bus and message
18195 inline caps and clock docs
18197 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18199 * gst/gstmessage.c:
18200 * gst/gstmessage.h:
18203 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18205 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18208 2005-08-26 Andy Wingo <wingo@pobox.com>
18210 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18211 element_set_state's return val.
18212 (test_2_elements): Add test that's been disabled for months.
18214 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18215 can-activate-pull properties.
18217 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18218 can-activate-pull properties. Implement is_seekable so fakesrc can
18219 operate in pull mode.
18221 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18223 (gst_base_sink_activate, gst_base_sink_activate_pull)
18224 (gst_base_sink_activate_push): Make activation mode choosing work.
18226 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18227 is right. Make pull mode work. Post an eos before pausing in pull
18229 (gst_base_sink_change_state): Pay attention to the core's
18230 change_state() return val.
18232 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18233 has-getrange properties. Cleanups.
18235 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18236 has_getrange and replace with can_activate_pull and
18239 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18240 locking comments. Remove has_loop, has_chain and replace with
18241 can_activate_pull and can_activate_push.
18243 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18246 * examples/Makefile.am:
18247 * examples/metadata/Makefile.am:
18248 * examples/metadata/read-metadata.c: (message_loop),
18249 (have_pad_handler), (make_pipeline), (print_tag), (main):
18250 Add metadata reading example that loops over a list of filenames,
18251 dumping any tags found.
18253 * gst/gstbus.c: (gst_bus_dispose):
18254 * gst/gstelement.c: (gst_element_dispose):
18255 Release a few potentially-held references in dispose.
18257 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18259 * docs/gst/tmpl/gstminiobject.sgml:
18260 do *not* add tmpl/*.sgml files to CVS!
18262 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18264 * libs/gst/bytestream/.cvsignore:
18265 * libs/gst/bytestream/Makefile.am:
18266 * libs/gst/bytestream/adapter.c:
18267 * libs/gst/bytestream/adapter.h:
18268 * libs/gst/bytestream/bytestream.c:
18269 * libs/gst/bytestream/bytestream.h:
18270 * libs/gst/bytestream/filepad.c:
18271 * libs/gst/bytestream/filepad.h:
18272 removing obsolete files
18274 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18276 * docs/gst/gstreamer-docs.sgml:
18277 * docs/libs/gstreamer-libs-docs.sgml:
18278 disabed additional index entries again, as this makes docs-gen just
18279 slow and they aren't useful yet
18280 * docs/libs/gstreamer-libs-sections.txt:
18281 little -section.txt cleanup for libs
18283 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18285 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18286 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18287 fix up some debugging
18288 (gst_base_transform_get_unit_size),
18289 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18290 (gst_base_transform_handle_buffer):
18291 * gst/base/gstbasetransform.h:
18292 handle and store timed NEWSEGMENT events so that subclasses that
18293 calculate time by counting samples have a segment_start time they
18294 need to add to their timestamps - see audioresample
18296 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18299 removed ';' from the end of macro defs
18300 * docs/gst/gstreamer-docs.sgml:
18301 * docs/gst/gstreamer-sections.txt:
18302 * docs/gst/tmpl/.cvsignore:
18304 * gst/gstelement.c: (gst_element_class_init),
18305 (gst_element_set_state), (activate_pads),
18306 (gst_element_save_thyself):
18307 * gst/gstevent.c: (gst_event_new_newsegment):
18309 * gst/gstiterator.c:
18310 * gst/gstiterator.h:
18313 * gst/gstutils.c: (gst_pad_query_convert):
18315 fixed parameter name mismatches between source, header and docs
18316 added some more docs, resolved the last batch of unused elements in
18317 docs (now someone needs to doc them)
18319 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18321 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18322 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18323 don't walk through the plugins backwards. Where is all this
18324 reversed logic coming from ?
18326 2005-08-25 Wim Taymans <wim@fluendo.com>
18328 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18329 (gst_base_transform_transform_size),
18330 (gst_base_transform_configure_caps),
18331 (gst_base_transform_get_unit_size),
18332 (gst_base_transform_buffer_alloc),
18333 (gst_base_transform_change_state):
18334 * gst/base/gstbasetransform.h:
18335 Cache caps unit_size.
18336 Make sure we cannot negotiate up and downstream at the
18339 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18341 * gst/gst.c: (init_pre), (init_post):
18342 register the installed plugin path after the env var
18343 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18344 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18345 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18346 directories, so the tests can prefer uninstalled over installed
18348 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18350 * gst/base/gstbasetransform.h:
18355 2005-08-25 Wim Taymans <wim@fluendo.com>
18357 * gst/gstbin.c: (bin_bus_handler):
18358 Be a bit more conservative about the posted message.
18360 * gst/gstbus.c: (gst_bus_post):
18361 Some cleanups, warn wrong return values.
18363 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18365 * check/gst/gstbin.c: (GST_START_TEST):
18366 * gst/gstbin.c: (bin_bus_handler):
18367 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18368 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18369 (gst_message_new_warning), (gst_message_new_tag),
18370 (gst_message_new_state_changed), (gst_message_new_segment_start),
18371 (gst_message_new_segment_done), (gst_message_new_custom):
18372 * gst/gstmessage.h:
18373 * tools/gst-launch.c: (event_loop):
18374 * tools/gst-md5sum.c: (event_loop):
18375 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18377 2005-08-25 Wim Taymans <wim@fluendo.com>
18379 * check/generic/states.c: (GST_START_TEST):
18380 Cleanup can be done at the end.
18382 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18383 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18384 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18385 Oh boy.. Thanks for finding this, Thomas.
18387 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18389 * docs/gst/gstreamer.types:
18390 added missing types
18392 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18394 * docs/gst/gstreamer-docs.sgml:
18395 * docs/gst/gstreamer-sections.txt:
18396 * docs/gst/tmpl/.cvsignore:
18398 * gst/gstiterator.c:
18400 * gst/registries/gstxmlregistry.h:
18401 added missing classes and symbols (123 more to go)
18402 removed removed symbols from section file
18403 fixed many doc-comments
18405 2005-08-24 Wim Taymans <wim@fluendo.com>
18407 * check/generic/states.c: (GST_START_TEST):
18408 Make sure all tasks are stopped.
18410 * check/gst/gstbin.c: (GST_START_TEST):
18411 Unref after usage for proper valgrinding.
18413 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18414 Really wait for the task to stop before destroying the
18417 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18418 (gst_queue_src_activate_push):
18419 Small cleanups. Don't stop the task when we did not start
18422 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18423 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18424 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18427 Protect the stream lock with the object lock.
18428 Disallow setting the stream lock when running.
18429 Add cleanup_all to wait for the threadpool to finish.
18430 Remove code to autoallocate a mutex if none was provided.
18431 Add _join() to wait for a task to stop.
18432 Protect the thread pool with a global lock.
18434 2005-08-24 Wim Taymans <wim@fluendo.com>
18436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18437 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18438 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18439 * gst/base/gstbasesink.h:
18440 Handle newsegment events correctly.
18441 Drop buffers out of the segment range.
18443 2005-08-22 Andy Wingo <wingo@pobox.com>
18445 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18446 macro, implements an interface and gstimplementsinterface for a
18449 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18451 * check/Makefile.am:
18452 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18453 add a test that does a bunch of state changes on elements
18454 needs some fixing for valgrind
18455 * check/states/sinks.c: (gst_object_suite):
18458 add prototype for gst_caps_is_equal_fixed
18460 * gst/gstregistrypool.c:
18463 2005-08-24 Andy Wingo <wingo@pobox.com>
18465 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18466 convert a negative value. Doesn't make much sense. Mostly this is
18467 here to force callers to ensure -1 maps to -1.
18469 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18471 * docs/pwg/advanced-types.xml:
18472 Well done to Michael for catching my deliberate introduction
18473 of this spelling mistake.
18474 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18475 * gst/gstelement.h:
18476 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18477 unlink pads before removing the element from the bin.
18479 2005-08-24 Andy Wingo <wingo@pobox.com>
18481 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18482 the same thing as GST_DEBUG=*:4.
18483 (parse_debug_level, parse_debug_category): New helper parsers.
18485 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
18487 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18488 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18489 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18490 (gst_base_transform_buffer_alloc),
18491 (gst_base_transform_handle_buffer):
18492 use gboolean return values and pointers to size so we can use the
18493 full GST_BUFFER_SIZE range (guint) for buffer sizes
18494 use GstPadDirection for transform_caps
18495 * gst/base/gstbasetransform.h:
18496 rename get_size to get_unit_size since that's what it is
18497 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18498 use GstPadDirection for transform_caps
18499 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18501 cleanup and debugging
18503 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18505 * gst/gstelement.c: (gst_element_class_init),
18506 (gst_element_set_state), (activate_pads),
18507 (gst_element_save_thyself):
18508 * tools/gst-compprep.c: (main):
18509 * tools/gst-inspect.c: (print_element_properties_info):
18510 * tools/gst-xmlinspect.c: (print_element_properties):
18511 Fixed long standing mem-leak
18513 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
18515 * check/gst/gstbin.c: (GST_START_TEST):
18516 * gst/gstbin.c: (bin_bus_handler):
18517 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18518 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18519 (gst_message_new_warning), (gst_message_new_tag),
18520 (gst_message_new_state_changed), (gst_message_new_segment_start),
18521 (gst_message_new_segment_done), (gst_message_new_custom):
18522 * gst/gstmessage.h:
18523 * tools/gst-launch.c: (event_loop):
18524 * tools/gst-md5sum.c: (event_loop):
18525 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
18526 that applications can sensibly post custom messages with references
18527 to their own objects.
18529 2005-08-24 Andy Wingo <wingo@pobox.com>
18531 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
18534 2005-08-24 Wim Taymans <wim@fluendo.com>
18536 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18537 (gst_base_transform_transform_caps),
18538 (gst_base_transform_transform_size),
18539 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18540 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18541 (gst_base_transform_handle_buffer):
18542 * gst/base/gstbasetransform.h:
18543 Many fixes and new features added by Thomas. Can now also do
18544 transforms with variable sizes and a custom fixate_caps function.
18546 2005-08-24 Wim Taymans <wim@fluendo.com>
18548 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18552 Cast to ClockTime before formatting to time.
18557 2005-08-24 Stefan Kost <ensonic@users.sf.net>
18559 * check/gst-libs/controller.c: (GST_START_TEST),
18560 (gst_controller_suite):
18561 * docs/gst/tmpl/gstcaps.sgml:
18562 * docs/gst/tmpl/gstghostpad.sgml:
18563 * docs/gst/tmpl/gstquery.sgml:
18564 * docs/gst/tmpl/gstutils.sgml:
18565 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
18566 (gst_object_sink_values), (gst_object_get_value_arrays),
18567 (gst_object_get_value_array):
18568 gracefully handle helper method calls to objects that are not beeing
18569 controlled, added test case for that
18571 2005-08-23 Wim Taymans <wim@fluendo.com>
18573 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
18574 (gst_event_new_newsegment), (gst_event_parse_newsegment),
18575 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
18576 (gst_event_parse_qos), (gst_event_new_seek),
18577 (gst_event_parse_seek):
18579 Some more debugging output and doc cleanups.
18581 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18582 Fix possible deadlock.
18584 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18586 * docs/gst/gstreamer-docs.sgml:
18587 * docs/gst/gstreamer-sections.txt:
18588 * docs/gst/gstreamer.types:
18589 * docs/gst/tmpl/.cvsignore:
18592 * gst/gstelement.c:
18594 added 100 symbols from gstreamer-unused.txt to the right sections
18595 fixed more broken comments
18596 added GstBus to docs
18598 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18600 * docs/gst/gstreamer-sections.txt:
18601 * docs/gst/tmpl/.cvsignore:
18602 * docs/gst/tmpl/gstbin.sgml:
18603 * docs/gst/tmpl/gstbuffer.sgml:
18604 * gst/base/gstbasesrc.c:
18605 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
18608 * tools/gst-launch.1.in:
18609 inlined more doc comments, added missing comments and fixed comments
18612 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
18614 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18618 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
18620 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
18621 * gst/gststructure.h:
18622 add a fixate function for booleans; add a FIXME that these func
18623 names should probably be gst_structure_fixate_*
18625 2005-08-23 Stefan Kost <ensonic@users.sf.net>
18627 * docs/gst/gstreamer-docs.sgml:
18628 * docs/gst/gstreamer-sections.txt:
18630 * gst/gstbin.c: (gst_bin_get_type),
18631 (gst_bin_child_proxy_get_child_by_index),
18632 (gst_bin_child_proxy_get_children_count),
18633 (gst_bin_child_proxy_init):
18634 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18635 (gst_child_proxy_get_child_by_index),
18636 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
18637 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
18638 (gst_child_proxy_get), (gst_child_proxy_set_property),
18639 (gst_child_proxy_set_valist), (gst_child_proxy_set),
18640 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
18641 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
18642 * gst/gstchildproxy.h:
18643 * gst/parse/grammar.y:
18644 * tools/gst-inspect.c: (print_interfaces),
18645 (print_element_properties_info), (print_element_info):
18646 ported gstchildproxy over from 0.8
18647 ported gst-inspect fixes and enhancements over from 0.8
18649 2005-08-22 Wim Taymans <wim@fluendo.com>
18651 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18652 (gst_base_transform_handle_buffer):
18653 Also call the transform function if we have ANY caps.
18655 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
18658 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
18660 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
18661 Don't pretend to handle seek events if the source is not seekable
18663 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
18665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18666 Remove extra parameter to debug output
18668 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18669 (gst_base_src_do_seek), (gst_base_src_activate_push):
18670 Fix seek event handling.
18672 * gst/gstpipeline.c: (gst_pipeline_change_state):
18673 * gst/gstqueue.c: (gst_queue_handle_sink_event),
18674 (gst_queue_src_activate_push):
18675 Don't start the src pad task on FLUSH_STOP if the pad
18679 2005-08-22 Wim Taymans <wim@fluendo.com>
18681 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
18682 Added check for gst_static_caps_get() refcounting.
18684 2005-08-22 Wim Taymans <wim@fluendo.com>
18686 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
18687 Make _static_caps_get() refcounting sane.
18689 * gst/gstelement.c: (gst_element_set_state):
18690 Add g_return_val_if_fail() to protect against segfaults.
18692 2005-08-22 Stefan Kost <ensonic@users.sf.net>
18694 * docs/gst/tmpl/gstevent.sgml:
18697 inlined remaining docs, added missing doc comments
18699 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
18701 * check/gst/gstbin.c: (GST_START_TEST):
18702 since we don't know when preroll is done, use refcount range
18704 * gst/check/gstcheck.h:
18705 add macro for checking refcount range
18707 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18709 * check/Makefile.am:
18710 clean up environment for when registry gets built versus
18711 when actual tests are run; valgrind seems to not report
18712 leaks if GST_PLUGIN_PATH is set to some specific values
18713 * check/gst/gstbin.c: (GST_START_TEST):
18714 add more refcounting checks; maybe this exposes a
18716 * common/check.mak:
18717 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18718 * gst/check/gstcheck.h:
18719 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
18720 (gst_bin_change_state):
18721 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
18722 add/fix debugging/whitespace
18724 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18726 * check/gst/gstevent.c: (event_probe), (test_event),
18728 Er, don't call gst_bin_watch_for_state_change you idiot.
18730 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18732 * check/Makefile.am:
18733 Use CHECK_CFLAGS and CHECK_LIBS
18734 * check/gst/gstevent.c: (event_probe), (test_event),
18737 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18738 (gst_base_src_start), (gst_base_src_stop),
18739 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18740 (gst_base_src_change_state):
18741 Sprinkle gst_base_src_stop liberally around error paths to fix
18742 problems reusing a source after failed state changes.
18743 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18744 (helper_find_suggest), (gst_type_find_helper):
18745 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
18747 * docs/gst/tmpl/gstevent.sgml:
18748 Migrate part of the docs from the SGML file. Wait for ensonic to
18749 tell me how I did it wrong ;)
18750 * tools/gst-typefind.c: (main):
18751 Extra robustness to state changes between files.
18753 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18755 * check/Makefile.am:
18756 don't valgrind the controller test - it's leaking - Stefan, HELP
18757 * gst/check/gstcheck.c: (gst_check_message_error),
18758 (gst_check_chain_func), (gst_check_setup_element),
18759 (gst_check_teardown_element), (gst_check_setup_src_pad),
18760 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
18761 (gst_check_teardown_sink_pad):
18762 * gst/check/gstcheck.h:
18763 add a bunch of methods to set up elements, and src and sink pads
18764 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
18765 * check/elements/identity.c: (setup_identity), (cleanup_identity),
18768 * gst/gstmessage.c:
18770 whitespace/doc fixes
18772 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18774 * gst/gstelement.h:
18775 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
18776 be handled by the application and not always printed as well
18778 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18780 * check/Makefile.am:
18782 * gst/check/gstcheck.c: (gst_check_message_error):
18783 * gst/check/gstcheck.h:
18784 add a fail_unless_equals_int
18785 add fail_unless for error messages
18787 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18789 * check/Makefile.am:
18791 * common/Makefile.am:
18792 * common/check.mak:
18794 factor out some of the common stuff so we can use it
18796 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18798 * check/Makefile.am:
18799 * check/gst/gstiterator.c: (GST_START_TEST):
18800 * check/gst/gstsystemclock.c: (GST_START_TEST),
18801 (gst_systemclock_suite):
18802 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18804 valgrind more tests
18806 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18808 * check/elements/.cvsignore:
18809 * check/elements/gstfakesrc.c:
18810 rename to name of element
18811 * check/elements/identity.c: (chain_func), (event_func),
18812 (setup_identity), (cleanup_identity), (GST_START_TEST),
18813 (identity_suite), (main):
18814 add a test for identity
18815 * check/Makefile.am:
18816 * pkgconfig/Makefile.am:
18817 * pkgconfig/gstreamer-check.pc.in:
18818 * pkgconfig/gstreamer-check-uninstalled.pc.in:
18822 move the check stuff to a library that gets installed
18823 * check/gst-libs/controller.c: (GST_START_TEST):
18824 * check/gst-libs/gdp.c:
18825 * check/gst/gst.c: (GST_START_TEST):
18826 * check/gst/gstbin.c:
18827 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18828 * check/gst/gstbus.c:
18829 * check/gst/gstcaps.c: (GST_START_TEST):
18830 * check/gst/gstelement.c:
18831 * check/gst/gstghostpad.c:
18832 * check/gst/gstiterator.c:
18833 * check/gst/gstmessage.c:
18834 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
18835 * check/gst/gstobject.c:
18836 * check/gst/gstpad.c: (GST_START_TEST):
18837 * check/gst/gststructure.c: (GST_START_TEST):
18838 * check/gst/gstsystemclock.c: (GST_START_TEST),
18839 (gst_systemclock_suite):
18840 * check/gst/gsttag.c: (gst_tag_suite):
18841 * check/gst/gstvalue.c:
18842 * check/pipelines/cleanup.c:
18843 * check/pipelines/simple_launch_lines.c:
18844 * check/states/sinks.c:
18845 change include statement
18847 * docs/gst/gstreamer-sections.txt:
18848 * docs/gst/tmpl/gstpad.sgml:
18849 document more pad stuff
18850 * gst/gstminiobject.c: (gst_mini_object_ref),
18851 (gst_mini_object_unref):
18854 2005-08-19 Stefan Kost <ensonic@users.sf.net>
18856 * docs/gst/tmpl/gst.sgml:
18858 eliminate another tmpl file, fix spelling in the long-description
18860 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18862 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18863 (test_event), (timediff), (gstevents_suite):
18864 Should fix build on 64-bit arch's
18866 2005-08-18 Andy Wingo <wingo@pobox.com>
18868 Make sure that when a pipeline goes to PLAYING, that data has
18869 actually hit the sink.
18871 * check/states/sinks.c (test_sink): A sink that doesn't get any
18872 data shouldn't return SUCCESS for going to either PLAYING or
18873 PAUSED. Test also the return values on the way back down.
18875 * gst/gstelement.c (gst_element_set_state): When changing the
18876 state of an element currently changing state asynchronously, go to
18877 lost-state after commiting the pending state. Makes future calls
18878 to get_state continue to return ASYNC.
18880 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18881 ASYNC when going to PLAYING if we still don't have preroll, as can
18882 happen with live sources.
18884 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18886 * docs/pwg/advanced-types.xml:
18887 Hack long paragraph into 2 chunks as a workaround for buggy
18888 jadetex version in sid and breezy that loops infinitely and
18891 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18893 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18894 (test_event), (timediff), (gstevents_suite):
18895 Provide more error margin in clock measurements to allow for
18896 g_get_current_time inaccuracies.
18898 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18900 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18901 (test_event), (timediff), (gstevents_suite):
18902 Fix error message output so I might be able to tell why the
18903 test works here but fails on the build farm.
18905 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18907 * check/Makefile.am:
18908 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18909 (test_event), (timediff), (gstevents_suite), (main):
18912 * docs/design/part-seeking.txt:
18913 Spelling correction
18915 * docs/gst/tmpl/gstevent.sgml:
18916 * docs/gst/tmpl/gstfakesrc.sgml:
18919 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18920 Treat a buffer-without-newsegment the same as a receiving
18921 a newsegment not in time format, and disable syncing to the clock
18924 * gst/gstbus.c: (gst_bus_set_sync_handler):
18925 Assert if anyone tries to replace the existing sync_handler for bus,
18926 as only the owner should be setting it.
18929 Have a fixed set of custom event enums with events identified by
18930 their structure name (as in 0.8), rather than a free-for-all
18931 allowing collisions between enum values from different plugins.
18933 * gst/gstpad.c: (gst_pad_class_init):
18936 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18937 Handle out-of-band downstream events from the sending thread.
18939 2005-08-17 Andy Wingo <wingo@pobox.com>
18941 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18942 play-timeout==0 to mean no timeout at all. In that case, don't
18943 bother with a get_state or a warning, just return directly, even
18946 * gst/base/gstbasetransform.c: Debug changes.
18949 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18950 ensure bins post state change messages. A bit of a hack but I can't
18951 think of a way to avoid it.
18953 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18955 2005-08-16 Andy Wingo <wingo@pobox.com>
18957 * gst/base/gstadapter.h:
18958 * gst/base/gstadapter.c (gst_adapter_take): New function, like
18959 peek() but you own the data. Not terribly efficient atm.
18961 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18963 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18964 (gst_element_found_tags):
18966 Add two utility functions for tag handling.
18968 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18970 * docs/manual/advanced-dataaccess.xml:
18971 * docs/manual/basics-helloworld.xml:
18972 Fix docs to use _bin_add() before _link(), which fixes the examples
18973 with recent core versions (reported by Madhan Raj M
18974 <raj_madan@rediffmail.com>, #313199).
18976 2005-08-16 Wim Taymans <wim@fluendo.com>
18978 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18979 Added subtract checks.
18981 * docs/design/part-events.txt:
18982 Some more docs about newsegment
18984 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18987 * gst/gstcaps.c: (gst_caps_to_string):
18988 Add comments, cleanups.
18990 * gst/gstelement.c: (gst_element_save_thyself):
18993 * gst/gstvalue.c: (gst_value_collect_int_range),
18994 (gst_string_unwrap), (gst_value_union_int_int_range),
18995 (gst_value_union_int_range_int_range),
18996 (gst_value_intersect_int_int_range),
18997 (gst_value_intersect_int_range_int_range),
18998 (gst_value_intersect_double_double_range),
18999 (gst_value_intersect_double_range_double_range),
19000 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19001 (gst_value_subtract_int_range_int),
19002 (gst_value_subtract_double_range_double),
19003 (gst_value_subtract_double_range_double_range),
19004 (gst_value_subtract_from_list), (gst_value_subtract_list),
19005 (gst_value_can_compare), (gst_value_compare_fraction):
19006 Cleanups, add comments, remove unneeded asserts.
19008 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19010 * tools/gst-launch.c: (event_loop):
19011 don't convert NULL structures to strings
19013 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19015 * docs/gst/gstreamer-sections.txt:
19016 made some defines private
19017 * docs/gst/tmpl/gstconfig.sgml:
19018 * docs/gst/tmpl/gstqueue.sgml:
19019 * docs/gst/tmpl/gsttaglist.sgml:
19020 * docs/gst/tmpl/gsttypes.sgml:
19021 * docs/gst/tmpl/gstutils.sgml:
19022 * docs/pwg/appendix-porting.xml:
19023 * gst/base/gstbasesink.h:
19024 * gst/base/gstbasesrc.c:
19025 * gst/base/gstbasesrc.h:
19026 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19027 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19028 * gst/gstelement.c: (gst_element_class_init):
19029 * gst/gstpad.c: (gst_pad_class_init):
19030 * gst/gstqueue.c: (gst_queue_class_init):
19031 * gst/gstxml.c: (gst_xml_class_init):
19032 documented all undocumented signal inline
19033 * libs/gst/controller/gst-controller.h:
19036 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19038 * docs/pwg/appendix-porting.xml:
19039 Document _set_link_function -> _set_setcaps_function.
19041 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19043 * check/Makefile.am:
19044 add a .check target for running the check
19045 * check/gst-libs/controller.c: (GST_START_TEST):
19047 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19048 complete checks for gstbuffer; would be nice if I could get the
19049 gcov stuff to work so I can see if I actually completed gstbuffer.c
19050 * check/gstcheck.h:
19051 add ASSERT_BUFFER_REFCOUNT
19053 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19055 * docs/gst/gstreamer-sections.txt:
19056 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19058 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19059 spew out a warning if a tag that is already registered
19060 is re-registered, unless it is re-registered with a
19061 different type (#308438).
19063 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19065 * docs/pwg/appendix-porting.xml:
19066 * docs/pwg/building-state.xml:
19067 Add some paragraphs about state changes in 0.9 to the PWG
19068 and the porting guide, in particular about the new meaning
19069 of GST_STATE_PAUSED and how to write state change functions
19070 with concurrent access by multiple threads in mind.
19072 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19074 * docs/gst/gstreamer-docs.sgml:
19075 * docs/libs/gstreamer-libs-docs.sgml:
19076 added deprecation and since indexes
19077 * libs/gst/controller/gst-controller.c:
19078 * libs/gst/controller/gst-helper.c:
19082 2005-08-11 Wim Taymans <wim@fluendo.com>
19084 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19085 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19086 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19087 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19088 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19089 (gst_ghost_pad_set_target):
19090 Actually implement (re)setting the target on a ghostpad
19091 as described in the docs.
19093 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19095 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19096 Check whether GST_DEBUG_NO_COLOR environment variable is
19097 set and disable coloured debug output if that is the case.
19099 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19101 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19102 (gst_type_find_helper):
19103 The memory returned by gst_type_find_peek() needs to
19104 stay valid until the end of a typefind function, and
19105 typefind functions may keep results from different
19106 offsets around, so we can't just unref the buffer from
19107 the previous _peek(), but have to save all buffers
19108 returned by _peek() until typefinding is done and only
19111 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19113 * docs/gst/gstreamer-sections.txt:
19115 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19117 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19119 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19120 Fix a pretty good memleak.
19122 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19124 * gst/gstiterator.h:
19125 Fix wrong include and 'make distcheck'.
19127 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19129 * gst/gstbin.c: (bin_bus_handler):
19130 Use gst_element_post_message() instead.
19132 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19134 * gst/base/gstadapter.h:
19135 * gst/base/gstbasesink.h:
19136 * gst/base/gstbasesrc.h:
19137 * gst/base/gstbasetransform.h:
19138 * gst/base/gstcollectpads.h:
19139 * gst/base/gstpushsrc.h:
19140 * gst/gstiterator.h:
19141 Add padding to our base elements' class and instance structs and
19142 to GstIterator (you will need to rebuild all plugins and apps!)
19144 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19146 * gst/gstbin.c: (bin_bus_handler):
19147 Make default message forwarding from child->bus to bin->bus
19148 threadsafe and make it not emit warnings if the parent has no bus.
19150 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19152 * gst/gstelement.c: (activate_pads):
19153 On paused->ready, set pad->caps to NULL, as is the documented
19154 behaviour in this state change. Fixes playback of series of
19155 media files when visualization is enabled in Totem.
19157 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19159 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19160 Allow NULL as filter-caps (which means "any").
19162 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19164 * docs/libs/gstreamer-libs-sections.txt:
19165 * libs/gst/controller/gst-controller.c:
19166 * libs/gst/controller/gst-controller.h:
19167 * libs/gst/controller/gst-helper.c:
19168 adding more entries to the docs and fix small doc-bugs
19170 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19172 * docs/gst/gstreamer-docs.sgml:
19173 * docs/gst/gstreamer-sections.txt:
19174 * docs/gst/gstreamer.types:
19175 * docs/gst/tmpl/gstbasesink.sgml:
19176 * docs/gst/tmpl/gstbasesrc.sgml:
19177 * docs/gst/tmpl/gstbasetransform.sgml:
19178 * docs/gst/tmpl/gstfakesrc.sgml:
19179 * gst/base/gstcollectpads.c:
19180 * gst/base/gstcollectpads.h:
19181 * libs/gst/controller/gst-controller.c:
19182 * libs/gst/controller/gst-controller.h:
19183 * libs/gst/controller/gst-helper.c:
19184 * libs/gst/controller/gst-interpolation.c:
19185 * libs/gst/controller/lib.c:
19186 added long/short desc for controller docs
19187 added collectpads base class docs
19188 added correct includes to base-class docs
19190 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19192 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19193 (gst_test_mono_source_set_property),
19194 (gst_test_mono_source_class_init), (GST_START_TEST),
19195 (gst_controller_suite):
19196 * docs/gst/gstreamer-docs.sgml:
19197 * docs/gst/gstreamer-sections.txt:
19198 * docs/gst/gstreamer.types:
19199 * docs/libs/gstreamer-libs-docs.sgml:
19200 * docs/libs/gstreamer-libs-sections.txt:
19201 * gst/base/gstadapter.c:
19202 * libs/gst/controller/gst-controller.c:
19203 (gst_controlled_property_new), (gst_controlled_property_free),
19204 (gst_controller_new_valist),
19205 (gst_controller_remove_properties_valist),
19206 (gst_controller_sink_values), (_gst_controller_finalize):
19207 * libs/gst/controller/gst-controller.h:
19208 * libs/gst/controller/gst-helper.c:
19209 (gst_object_control_properties), (gst_object_uncontrol_properties),
19210 (gst_object_get_controller), (gst_object_set_controller),
19211 (gst_object_sink_values), (gst_object_get_value_arrays),
19212 (gst_object_get_value_array):
19213 more tests (and fixes) for the controller
19214 more docs for the controller
19215 integrated companies docs for the adapter
19217 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19219 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19220 (GST_START_TEST), (fakesrc_suite):
19221 add tests for sizetype
19223 2005-08-04 Andy Wingo <wingo@pobox.com>
19225 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19226 fixes buffer_alloc proxying among other things.
19228 * gst/base/gstbasetransform.c:
19229 * gst/base/gstbasetransform.h:
19230 Revert patch to gstbasetransform from 7-28 removing
19233 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19234 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19235 Semantics changed, should return not the size of the output buffer
19236 but the byte size of a buffer with a given caps.
19238 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19240 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19241 out) are not the pad caps until setcaps finishes.
19242 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19243 not-in-place case as well. Deal with changing from in-place to
19244 not-in-place within calling pad_alloc_buffer. Still a bit
19245 concerned about the overhead here...
19247 2005-08-03 Andy Wingo <wingo@pobox.com>
19249 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19250 fixating is an error.
19252 2005-08-04 Edward Hervey <edward@fluendo.com>
19254 * gst/base/gstadapter.h:
19255 Added gst_adapter_get_type() to the header
19257 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19259 * check/Makefile.am:
19260 * check/gst-libs/controller.c:
19261 * libs/gst/controller/gst-controller.c:
19262 (gst_controller_new_valist):
19263 added check test suite for the controller
19264 * gst/base/gstpushsrc.c:
19267 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19269 * docs/gst/Makefile.am:
19270 * docs/gst/gstreamer-docs.sgml:
19271 * docs/gst/gstreamer-sections.txt:
19272 * docs/gst/gstreamer.types:
19273 * docs/gst/tmpl/gstfakesrc.sgml:
19275 * gst/base/gstbasesink.c:
19276 * gst/base/gstbasesink.h:
19277 * gst/base/gstbasesrc.c:
19278 * gst/base/gstbasesrc.h:
19279 * gst/base/gstbasetransform.c:
19280 * gst/base/gstpushsrc.c:
19281 * gst/base/gstpushsrc.h:
19282 add short/long description docs to base classes
19283 add pushsrc to the docs
19284 remove consolidated doc fragments
19286 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19289 * docs/libs/Makefile.am:
19290 * docs/libs/gstreamer-libs-docs.sgml:
19291 * docs/libs/gstreamer-libs-sections.txt:
19292 * docs/libs/gstreamer-libs.types:
19293 * examples/Makefile.am:
19294 * examples/controller/.cvsignore:
19295 * examples/controller/Makefile.am:
19296 * examples/controller/audio-example.c: (main):
19297 * libs/gst/Makefile.am:
19298 * libs/gst/controller/.cvsignore:
19299 * libs/gst/controller/Makefile.am:
19300 * libs/gst/controller/gst-controller.c:
19301 (on_object_controlled_property_changed), (gst_timed_value_compare),
19302 (gst_timed_value_find),
19303 (gst_controlled_property_set_interpolation_mode),
19304 (gst_controlled_property_new), (gst_controlled_property_free),
19305 (gst_controller_find_controlled_property),
19306 (gst_controller_new_valist), (gst_controller_new),
19307 (gst_controller_remove_properties_valist),
19308 (gst_controller_remove_properties), (gst_controller_set),
19309 (gst_controller_set_from_list), (gst_controller_unset),
19310 (gst_controller_get), (gst_controller_get_all),
19311 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19312 (gst_controller_get_value_array),
19313 (gst_controller_set_interpolation_mode),
19314 (_gst_controller_finalize), (_gst_controller_init),
19315 (_gst_controller_class_init), (gst_controller_get_type):
19316 * libs/gst/controller/gst-controller.h:
19317 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19318 (g_object_uncontrol_properties), (g_object_get_controller),
19319 (g_object_set_controller), (g_object_sink_values),
19320 (g_object_get_value_arrays), (g_object_get_value_array):
19321 * libs/gst/controller/gst-interpolation.c:
19322 (gst_controlled_property_find_timed_value_node),
19323 (interpolate_none_get), (interpolate_trigger_get),
19324 (interpolate_trigger_get_value_array):
19325 * libs/gst/controller/lib.c: (gst_controller_init):
19326 * pkgconfig/Makefile.am:
19327 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19328 * pkgconfig/gstreamer-control.pc.in:
19329 * testsuite/Makefile.am:
19330 * testsuite/controller/.cvsignore:
19331 * testsuite/controller/Makefile.am:
19332 * testsuite/controller/interpolator.c: (main):
19333 added controller code
19334 removed dparam pc files
19336 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19337 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19338 (gst_collectpads_stop):
19339 Broadcast the condition when shutting down, to make sure we wake all
19340 threads up. Shut down pads on finalize, for safety.
19342 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19343 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19344 (gst_base_transform_handle_buffer),
19345 (gst_base_transform_change_state):
19346 Handle PAUSED->READY->PAUSED transition after negotiation
19348 * gst/gstmessage.c: (gst_message_init):
19349 Extra piece of debug for new messages.
19351 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19354 * docs/gst/tmpl/gstbasesrc.sgml:
19355 * docs/gst/tmpl/gstelement.sgml:
19356 * docs/gst/tmpl/gstevent.sgml:
19357 * docs/gst/tmpl/gstfakesrc.sgml:
19358 * docs/gst/tmpl/gstformat.sgml:
19359 * docs/gst/tmpl/gstghostpad.sgml:
19360 * docs/gst/tmpl/gstpad.sgml:
19361 * docs/gst/tmpl/gstquery.sgml:
19362 * docs/gst/tmpl/gststructure.sgml:
19363 * docs/gst/tmpl/gsttaglist.sgml:
19364 * docs/gst/tmpl/gstvalue.sgml:
19365 * docs/libs/gstreamer-libs-docs.sgml:
19366 * docs/libs/gstreamer-libs-sections.txt:
19367 * docs/libs/gstreamer-libs.types:
19368 * libs/gst/Makefile.am:
19369 * libs/gst/control/.cvsignore:
19370 * libs/gst/control/Makefile.am:
19371 * libs/gst/control/control.c:
19372 * libs/gst/control/control.h:
19373 * libs/gst/control/dparam.c:
19374 * libs/gst/control/dparam.h:
19375 * libs/gst/control/dparam_smooth.c:
19376 * libs/gst/control/dparam_smooth.h:
19377 * libs/gst/control/dparamcommon.h:
19378 * libs/gst/control/dparammanager.c:
19379 * libs/gst/control/dparammanager.h:
19380 * libs/gst/control/dplinearinterp.c:
19381 * libs/gst/control/dplinearinterp.h:
19382 * libs/gst/control/unitconvert.c:
19383 * libs/gst/control/unitconvert.h:
19384 * testsuite/Makefile.am:
19385 * testsuite/dynparams/.cvsignore:
19386 * testsuite/dynparams/Makefile.am:
19387 * testsuite/dynparams/dparamstest.c:
19388 * tools/Makefile.am:
19389 * tools/gst-inspect.c: (print_element_info), (main):
19390 * tools/gst-xmlinspect.c: (print_element_info), (main):
19391 deactivate and remove dparams (libgstcontrol)
19393 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19395 * gst/elements/gsttypefindelement.c:
19396 (gst_type_find_element_have_type), (gst_type_find_element_init),
19397 (stop_typefinding), (gst_type_find_element_handle_event),
19398 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19399 * gst/elements/gsttypefindelement.h:
19400 Set caps on all outgoing buffers, not just the first one.
19402 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19404 * gst/elements/gsttypefindelement.c:
19405 (gst_type_find_element_have_type),
19406 (gst_type_find_element_check_set_buffer_caps),
19407 (gst_type_find_element_init), (stop_typefinding),
19408 (gst_type_find_element_handle_event),
19409 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19410 * gst/elements/gsttypefindelement.h:
19411 Set caps on first outgoing buffer when we've found the type.
19413 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19415 * docs/gst/gstreamer-docs.sgml:
19416 * docs/gst/gstreamer-sections.txt:
19417 * docs/gst/tmpl/gstscheduler.sgml:
19418 * docs/gst/tmpl/gstschedulerfactory.sgml:
19419 Remove some old cruft from docs.
19421 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19424 Fix inline docs for GstPadLinkReturn.
19426 * gst/gststructure.c: (gst_structure_has_name):
19427 * gst/gststructure.h:
19428 * docs/gst/gstreamer-sections.txt:
19429 New API: gst_structure_has_name().
19431 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19434 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19435 and _LARGEFILE_SOURCE in config.h as required. Do not
19436 export those flags in our .pc files any longer (#142209).
19438 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19440 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19441 (gst_file_sink_do_seek), (gst_file_sink_event),
19442 (gst_file_sink_get_current_offset), (gst_file_sink_render):
19443 Redo seek/tell calls with large file support in mind; add some
19444 debugging messages; add log message that tells us when large
19445 file support is unavailable or not enabled for some reason.
19447 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19448 Add log message that tells us when large file support
19449 is unavailable or not enabled for some reason.
19451 2005-07-29 Wim Taymans <wim@fluendo.com>
19453 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19454 Added test for removing an element with ghostpad from a bin.
19455 Fixed test as current implementation does the right thing.
19457 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19458 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19459 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19460 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19461 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19462 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19463 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19464 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19465 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19466 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19467 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19468 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19469 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19470 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19471 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19472 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19473 * gst/gstghostpad.h:
19474 Clean up ghostpads, remove properties for internal stuff.
19477 Prepare for switching targets, not all use cases work yet.
19479 2005-07-29 Wim Taymans <wim@fluendo.com>
19481 * docs/design/part-gstghostpad.txt:
19484 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19485 (gst_bin_remove_func):
19486 Unlinking pads while holding the bin LOCK is not a good
19489 * gst/gstpad.c: (gst_pad_class_init),
19490 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19491 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19492 No prob setting template after creating the pad.
19494 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
19496 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19497 (gst_bus_peek), (gst_bus_source_dispatch),
19498 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19499 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19500 gst_bus_poll may be called from other threads. Handle
19501 this nicely by not making poll_data disappear off the
19502 stack once gst_bus_poll returns.
19503 gst_bus_peek now increments the refcount on the returned
19506 2005-07-29 Wim Taymans <wim@fluendo.com>
19508 * docs/design/part-gstghostpad.txt:
19509 Overview of current GhostPad datastructures and use
19510 cases for changing the target.
19512 2005-07-28 Wim Taymans <wim@fluendo.com>
19514 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19515 Added checks for hierarchy consistency whan adding linked
19518 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19519 Added check to test element scheduling without bin/pipeline.
19521 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19522 First add elements to bin, then link.
19524 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19525 (gst_bin_remove_func):
19526 Unlink pads from elements added/removed from bin to maintain
19527 hierarchy consistency.
19529 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19531 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19532 (gst_base_transform_handle_buffer):
19533 * gst/base/gstbasetransform.h:
19534 Remove broken delay_configure (fixes renegotiation of software
19535 scaling pipelines); remove some leftover printf()s.
19537 2005-07-28 Wim Taymans <wim@fluendo.com>
19539 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19540 Added some more tests for wrong hierarchy
19542 * docs/design/part-overview.txt:
19545 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
19548 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
19549 (gst_element_dispose):
19550 Some more cleanups.
19552 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
19553 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
19554 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19555 (gst_pad_set_caps), (gst_pad_send_event):
19556 Check for correct hierarchy when linking pads. Moving to
19557 strict requirement for ghostpads when linking elements in
19561 Clean ups. Added WRONG_HIERARCHY return value.
19563 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19565 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19566 Better debug if no transform is possible.
19568 2005-07-27 Wim Taymans <wim@fluendo.com>
19570 * docs/random/wtay/network-transp:
19571 Some old doc I had.
19573 2005-07-27 Wim Taymans <wim@fluendo.com>
19575 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19576 (gst_dp_event_from_packet):
19577 Fix serialization of seek events.
19579 2005-07-27 Wim Taymans <wim@fluendo.com>
19581 * check/gst-libs/gdp.c: (GST_START_TEST):
19582 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19583 Fix compilation and fix event serialization.
19585 2005-07-27 Wim Taymans <wim@fluendo.com>
19588 * docs/design/part-TODO.txt:
19589 * docs/design/part-events.txt:
19592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19593 (gst_base_sink_event), (gst_base_sink_do_sync),
19594 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19595 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19596 (gst_base_src_do_seek), (gst_base_src_event_handler),
19597 (gst_base_src_loop):
19598 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19599 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19600 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19601 (gst_base_transform_event), (gst_base_transform_handle_buffer),
19602 (gst_base_transform_set_passthrough),
19603 (gst_base_transform_is_passthrough):
19604 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19605 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19611 * gst/gstelement.c: (gst_element_seek):
19612 * gst/gstelement.h:
19613 Update gst_element_seek.
19615 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
19616 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
19617 (gst_event_new_flush_start), (gst_event_new_flush_stop),
19618 (gst_event_new_eos), (gst_event_new_newsegment),
19619 (gst_event_parse_newsegment), (gst_event_new_tag),
19620 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
19621 (gst_event_parse_qos), (gst_event_new_seek),
19622 (gst_event_parse_seek), (gst_event_new_navigation):
19624 Make GstEvent use GstStructure. Add parsing code, make sure the
19625 API is sufficiently generic.
19626 Mark possible directions of events and serialization.
19628 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
19629 (_gst_message_copy), (gst_message_new_segment_start),
19630 (gst_message_new_segment_done), (gst_message_new_custom),
19631 (gst_message_parse_segment_start),
19632 (gst_message_parse_segment_done):
19635 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19636 (gst_pad_set_caps), (gst_pad_send_event):
19637 Update for new events.
19638 Catch events sent in wrong directions.
19640 * gst/gstqueue.c: (gst_queue_link_src),
19641 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
19642 (gst_queue_handle_src_query):
19647 Remove event code from this file.
19649 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19650 (gst_dp_event_from_packet):
19653 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19655 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
19656 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19657 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
19658 Make debugging actually useful.
19660 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19662 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
19663 (gst_pad_fixate_caps):
19664 Implement default fixation once again, so that gst_pad_fixate()
19665 actually does anything at all. This probably needs to be some
19666 sort of a last resort, and use profile-based fixation first, but
19667 since that doesn't exist yet, this is the best we have. Fixes
19668 visualization in Totem.
19670 2005-07-22 Wim Taymans <wim@fluendo.com>
19672 * docs/design/part-events.txt:
19675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19676 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
19677 (gst_base_sink_activate_pull):
19678 Some more comments.
19680 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
19681 (gst_fake_src_create):
19682 Fix handoff marshall.
19684 * gst/elements/gstidentity.c: (gst_identity_class_init),
19685 (gst_identity_transform_ip):
19686 We're a real inplace element.
19688 * gst/gstbus.c: (gst_bus_post):
19689 Added some comments.
19691 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
19692 * tests/muxing/case1.c: (main):
19693 * tests/sched/dynamic-pipeline.c: (main):
19694 * tests/sched/interrupt1.c: (main):
19695 * tests/sched/interrupt2.c: (main):
19696 * tests/sched/interrupt3.c: (main):
19697 * tests/sched/runxml.c: (main):
19698 * tests/sched/sched-stress.c: (main):
19699 * tests/seeking/seeking1.c: (event_received), (main):
19700 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19702 * tests/threadstate/threadstate3.c: (main):
19703 * tests/threadstate/threadstate4.c: (main):
19704 * tests/threadstate/threadstate5.c: (main):
19707 2005-07-21 Wim Taymans <wim@fluendo.com>
19709 * docs/design/part-seeking.txt:
19710 Some small additions.
19712 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19713 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19714 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19715 * gst/base/gstbasesink.h:
19716 discont values are gint64, handle the math correctly.
19718 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19719 Make the basesrc report error if the source pad is not linked.
19721 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19722 (gst_queue_loop), (gst_queue_handle_src_query),
19723 (gst_queue_src_activate_push):
19724 Make queue collect data even if the srcpad is not linked.
19725 Start pushing out data as soon as it is linked.
19727 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
19729 Added gst_flow_get_name() to ease error reporting.
19731 2005-07-20 Wim Taymans <wim@fluendo.com>
19733 * gst/gstmessage.c: (gst_message_new_segment_start),
19734 (gst_message_new_segment_done), (gst_message_parse_segment_start),
19735 (gst_message_parse_segment_done):
19736 * gst/gstmessage.h:
19737 Added a bunch of messages for advanced seeking.
19739 * gst/parse/grammar.y:
19740 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
19741 (gst_dpman_state_changed):
19742 Fix some new-pad -> pad-added signals
19744 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19746 * docs/manual/appendix-porting.xml:
19747 * docs/pwg/appendix-porting.xml:
19748 Document new-pad/state-change signal renames and the FixedList
19751 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19753 * docs/manual/advanced-autoplugging.xml:
19754 * docs/manual/basics-helloworld.xml:
19755 * docs/manual/basics-pads.xml:
19756 * docs/random/ds/0.9-suggested-changes:
19757 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
19758 * gst/gstelement.h:
19762 * gst/gststructure.c: (gst_structure_value_get_generic_type),
19763 (gst_structure_parse_array), (gst_structure_parse_value):
19764 * gst/gstvalue.c: (gst_type_is_fixed),
19765 (gst_value_list_prepend_value), (gst_value_list_append_value),
19766 (gst_value_list_get_size), (gst_value_list_get_value),
19767 (gst_value_transform_array_string), (gst_value_serialize_array),
19768 (gst_value_deserialize_array), (gst_value_intersect_array),
19769 (gst_value_is_fixed), (_gst_value_initialize):
19771 GstElement::new-pad -> pad-added, GstElement::state-change ->
19772 state-changed, GstValueFixedList -> GstValueArray, add format and
19773 flags as their own arguments in gst_element_seek() (should improve
19774 "bindeability"), remove function generators since they don't work
19775 under a whole bunch of compilers (they were deprecated already
19778 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19780 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19781 (_gst_debug_register_funcptr):
19783 Fix illegal cast on some platforms (#309253).
19785 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19787 * gst/gstmessage.c: (gst_message_new_custom):
19788 * gst/gstmessage.h:
19789 Add _new_custom, make _new_application a macro to _new_custom.
19791 2005-07-20 Wim Taymans <wim@fluendo.com>
19793 * gst/base/gstbasesrc.c: (gst_base_src_init),
19794 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19795 * gst/base/gstbasesrc.h:
19796 Add a gboolean to decide when to push out a discont.
19798 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19799 (gst_queue_loop), (gst_queue_handle_src_query),
19800 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
19801 (gst_queue_set_property), (gst_queue_get_property):
19804 * tests/threadstate/threadstate1.c: (main):
19805 Make a thread test compile and run... very silly..
19808 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19810 * docs/manual/appendix-porting.xml:
19811 Mention removal of libgstgconf-0.9.la and existence of gconf
19814 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19816 * docs/pwg/advanced-clock.xml:
19817 * docs/pwg/appendix-porting.xml:
19818 * docs/pwg/intro-preface.xml:
19819 * docs/pwg/other-base.xml:
19820 * docs/pwg/other-manager.xml:
19821 * docs/pwg/other-nton.xml:
19822 * docs/pwg/other-ntoone.xml:
19823 * docs/pwg/other-oneton.xml:
19824 * docs/pwg/pwg.xml:
19825 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
19826 demuxer), remove n-to-n (was never written), fix some code examples
19827 and links and update the porting section to include all this.
19829 2005-07-19 Wim Taymans <wim@fluendo.com>
19831 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
19832 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
19833 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
19834 (gst_queue_src_activate_push), (gst_queue_change_state),
19835 (gst_queue_get_property):
19837 Propagate GstFlowReturn more intelligently upstream and output
19838 an ERROR/EOS when streaming stopped due to fatal error.
19840 2005-07-19 Wim Taymans <wim@fluendo.com>
19842 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19843 Don't block forever for the state change to complete, the
19844 pipeline already did with a sensible timeout.
19846 2005-07-19 Wim Taymans <wim@fluendo.com>
19848 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19849 Make sure we never call the create function is we
19852 2005-07-19 Andy Wingo <wingo@pobox.com>
19854 * gst/parse/parse.l: Attempt to solve bug #172815.
19856 2005-07-19 Wim Taymans <wim@fluendo.com>
19858 * docs/design/part-clocks.txt:
19859 * docs/design/part-events.txt:
19860 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19861 Small docs updates.
19862 Only update the seeking values when we are not
19865 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19867 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19868 Oops, ignore the result of gst_pad_push_event here.
19870 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19872 * gst/base/gstbasesrc.c: (gst_base_src_loop),
19873 (gst_base_src_activate_push):
19874 Send discont event from the loop function, as pads
19875 aren't activated yet in the activate_push handler.
19877 * gst/gstbin.c: (bin_bus_handler):
19878 Don't leak element name.
19880 2005-07-18 Andy Wingo <wingo@pobox.com>
19882 * configure.ac: Use AS_LIBTOOL_TAGS.
19884 2005-07-18 Wim Taymans <wim@fluendo.com>
19886 * docs/gst/gstreamer.types:
19887 Remove deleted types.
19889 2005-07-18 Wim Taymans <wim@fluendo.com>
19891 * check/elements/gstfakesrc.c: (GST_START_TEST):
19894 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19895 (init_popt_callback):
19897 * gst/gst_private.h:
19898 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19899 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19902 * gst/gstconfig.h.in:
19903 * gst/gstelement.c: (gst_element_class_init),
19904 (gst_element_set_base_time), (gst_element_get_base_time),
19905 (iterator_fold_with_resync), (gst_element_change_state),
19906 (gst_element_dispose), (gst_element_get_bus):
19907 * gst/gstelement.h:
19908 * gst/gstelementfactory.h:
19909 * gst/gsterror.c: (_gst_core_errors_init):
19912 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19914 * gst/gstinfo.c: (_gst_debug_init):
19915 * gst/gstmessage.c: (_gst_message_copy):
19916 * gst/gstmessage.h:
19917 * gst/gstminiobject.h:
19920 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19921 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19924 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19925 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19926 (gst_pipeline_get_last_stream_time):
19927 * gst/gstpipeline.h:
19928 * gst/gstpluginfeature.h:
19930 * gst/gstscheduler.c:
19931 * gst/gstscheduler.h:
19932 * gst/gststructure.h:
19933 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19934 (gst_task_finalize), (gst_task_func), (gst_task_create),
19935 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19936 (gst_task_stop), (gst_task_pause):
19938 * gst/gsttypefind.h:
19940 * gst/registries/gstlibxmlregistry.c: (load_feature),
19941 (gst_xml_registry_load), (gst_xml_registry_save_feature):
19942 * gst/registries/gstxmlregistry.c:
19943 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19944 * gst/schedulers/threadscheduler.c:
19945 * libs/gst/control/dparammanager.h:
19946 * tools/gst-inspect.c: (print_element_list),
19947 (print_plugin_features), (print_element_features):
19948 * tools/gst-xmlinspect.c: (print_element_list),
19949 (print_plugin_info), (main):
19950 Removed plugable schedulers.
19951 Removed Scheduler/Manager from elements.
19952 Removed gsttypes.h, rearranged includes.
19953 Removed dependency pad<->element, element<>pipeline, and
19954 various others, fix includes.
19955 implement gst_pad_get_parent() with gst_object_get_parent()
19956 Make GstTask sefcontained.
19957 Fix _get_state() on GstBin, it did not return ASYNC with a 0
19959 Fix endless loop in iterator_fold_with_resync.
19962 2005-07-18 Wim Taymans <wim@fluendo.com>
19968 2005-07-18 Wim Taymans <wim@fluendo.com>
19971 No more cothreads.h
19973 2005-07-18 Wim Taymans <wim@fluendo.com>
19977 Let's remove these.
19979 2005-07-18 Wim Taymans <wim@fluendo.com>
19981 * docs/design/part-dynamic.txt:
19982 * docs/design/part-events.txt:
19983 * docs/design/part-seeking.txt:
19984 Some more docs in the works.
19986 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19987 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19988 (gst_base_transform_setcaps), (gst_base_transform_get_size),
19989 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19990 (gst_base_transform_handle_buffer),
19991 (gst_base_transform_sink_activate_push),
19992 (gst_base_transform_src_activate_pull),
19993 (gst_base_transform_set_passthrough),
19994 (gst_base_transform_is_passthrough):
19997 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20000 * gst/gstevent.c: (gst_event_finalize):
20003 * gst/gstutils.c: (gst_element_unlink),
20004 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20005 (gst_pad_proxy_setcaps):
20007 Add _get_parent_element() to get a pads parent as an element.
20009 2005-07-18 Wim Taymans <wim@fluendo.com>
20011 * check/gst/gstbin.c: (GST_START_TEST):
20014 2005-07-18 Wim Taymans <wim@fluendo.com>
20016 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20017 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20018 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20019 (gst_base_sink_event), (gst_base_sink_do_sync),
20020 (gst_base_sink_chain), (gst_base_sink_loop),
20021 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20022 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20024 Fix logic for returning ASYNC when not prerolled.
20026 2005-07-18 Wim Taymans <wim@fluendo.com>
20028 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20029 Fix nasty refcount bug.
20031 2005-07-16 Philippe Khalaf <burger@speedy.org>
20033 * gst/elements/gstfdsrc.c:
20034 * gst/elements/gstfdsrc.h:
20035 * gst/elements/gstelements.c:
20036 * gst/elements/Makefile.am:
20037 Ported fdsrc to 0.9.
20039 2005-07-16 Wim Taymans <wim@fluendo.com>
20041 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20042 (gst_base_sink_do_sync):
20045 2005-07-16 Wim Taymans <wim@fluendo.com>
20047 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20048 (gst_base_sink_event), (gst_base_sink_get_times),
20049 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20050 * gst/base/gstbasesink.h:
20051 Store and use discont values when syncing buffers as described
20054 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20055 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20056 (gst_base_src_activate_push):
20057 Push discont event when starting.
20059 * gst/elements/gstidentity.c: (gst_identity_transform):
20062 * gst/gstbin.c: (gst_bin_change_state):
20063 Small cleanups in base_time distribution.
20065 * gst/gstelement.c: (gst_element_set_base_time),
20066 (gst_element_get_base_time), (gst_element_change_state):
20067 * gst/gstelement.h:
20068 Added methods for the base_time of the element.
20071 * gst/gstpipeline.c: (gst_pipeline_send_event),
20072 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20073 (gst_pipeline_get_last_stream_time):
20074 * gst/gstpipeline.h:
20076 Handle seeking as described in design doc, remove stream_time
20078 Cleanups clock and stream_time selection code. Added accessors
20079 for the stream_time.
20082 2005-07-16 Andy Wingo <wingo@pobox.com>
20084 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20087 2005-07-16 Wim Taymans <wim@fluendo.com>
20089 * check/gst/gstbin.c: (GST_START_TEST):
20090 Make elements silent as the deep_notify refs the
20091 parent, which might make the test fail.
20093 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20094 Don't hold the lock for too long.
20096 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20098 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20099 Don't unref the caps we passed to gst_caps_make_writable() after
20100 passing them. gst_caps_make_writable() will do that for us.
20102 2005-07-15 Andy Wingo <wingo@pobox.com>
20104 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20107 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20108 own marshalling function for the handoff signal. Properly type the
20109 buffer as a buffer. Fixes some warnings. Should do a more general
20111 (gst_identity_class_init): Plug into the right marshaller.
20113 2005-07-15 Wim Taymans <wim@fluendo.com>
20115 * docs/design/part-TODO.txt:
20116 * docs/design/part-clocks.txt:
20117 * docs/design/part-element-sink.txt:
20118 * docs/design/part-events.txt:
20119 * docs/design/part-gstpipeline.txt:
20120 Updated docs, mostly DISCONT related.
20122 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20124 * docs/pwg/building-pads.xml:
20125 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20127 2005-07-15 Andy Wingo <wingo@pobox.com>
20129 * tools/gst-typefind.c: Update, add copyright block.
20131 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20132 Normalize and truncate caps before fixation.
20135 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20136 discards all but the first structure from its argument.
20138 2005-07-15 Wim Taymans <wim@fluendo.com>
20140 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20141 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20142 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20143 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20144 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20145 (gst_base_transform_chain), (gst_base_transform_change_state),
20146 (gst_base_transform_set_passthrough),
20147 (gst_base_transform_is_passthrough):
20148 * gst/base/gstbasetransform.h:
20149 Make passthrough work using the bufferpools.
20150 Changed API a bit, subclasses have to write into a buffer
20151 provided by the base class.
20152 More debug info in nego functions.
20154 * gst/elements/gstidentity.c: (gst_identity_init),
20155 (gst_identity_transform):
20156 Port to new base class.
20158 2005-07-15 Wim Taymans <wim@fluendo.com>
20160 * gst/gstmessage.c: (gst_message_new_state_changed):
20161 * tools/gst-launch.c: (event_loop), (main):
20162 Totally dump messages in -launch with the -m option.
20163 Fix message name for State messages,
20165 2005-07-14 Wim Taymans <wim@fluendo.com>
20167 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20168 Post error messages on errors.
20170 2005-07-14 Wim Taymans <wim@fluendo.com>
20172 * gst/gstcaps.c: (gst_caps_do_simplify):
20176 Define error for stream stopped.
20178 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20179 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20180 Do proper return values.
20182 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20183 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20184 (gst_pad_get_range):
20185 Better return values.
20188 Reorganise return values, add macro to check for fatal errors.
20190 * gst/gstqueue.c: (gst_queue_chain):
20191 Return proper GstFlowReturn values,
20193 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20195 * docs/gst/gstreamer-sections.txt:
20196 * docs/gst/gstreamer.types:
20197 * docs/gst/tmpl/gst.sgml:
20198 * docs/gst/tmpl/gstbasesink.sgml:
20199 * docs/gst/tmpl/gstbasesrc.sgml:
20200 * docs/gst/tmpl/gstbasetransform.sgml:
20201 * docs/gst/tmpl/gstbin.sgml:
20202 * docs/gst/tmpl/gstbuffer.sgml:
20203 * docs/gst/tmpl/gstcaps.sgml:
20204 * docs/gst/tmpl/gstclock.sgml:
20205 * docs/gst/tmpl/gstcompat.sgml:
20206 * docs/gst/tmpl/gstconfig.sgml:
20207 * docs/gst/tmpl/gstelement.sgml:
20208 * docs/gst/tmpl/gstelementdetails.sgml:
20209 * docs/gst/tmpl/gstelementfactory.sgml:
20210 * docs/gst/tmpl/gstenumtypes.sgml:
20211 * docs/gst/tmpl/gsterror.sgml:
20212 * docs/gst/tmpl/gstevent.sgml:
20213 * docs/gst/tmpl/gstfakesink.sgml:
20214 * docs/gst/tmpl/gstfakesrc.sgml:
20215 * docs/gst/tmpl/gstfilesink.sgml:
20216 * docs/gst/tmpl/gstfilesrc.sgml:
20217 * docs/gst/tmpl/gstfilter.sgml:
20218 * docs/gst/tmpl/gstformat.sgml:
20219 * docs/gst/tmpl/gstghostpad.sgml:
20220 * docs/gst/tmpl/gstimplementsinterface.sgml:
20221 * docs/gst/tmpl/gstindex.sgml:
20222 * docs/gst/tmpl/gstindexfactory.sgml:
20223 * docs/gst/tmpl/gstinfo.sgml:
20224 * docs/gst/tmpl/gstiterator.sgml:
20225 * docs/gst/tmpl/gstmacros.sgml:
20226 * docs/gst/tmpl/gstmemchunk.sgml:
20227 * docs/gst/tmpl/gstminiobject.sgml:
20228 * docs/gst/tmpl/gstobject.sgml:
20229 * docs/gst/tmpl/gstpad.sgml:
20230 * docs/gst/tmpl/gstpadtemplate.sgml:
20231 * docs/gst/tmpl/gstparse.sgml:
20232 * docs/gst/tmpl/gstpipeline.sgml:
20233 * docs/gst/tmpl/gstplugin.sgml:
20234 * docs/gst/tmpl/gstpluginfeature.sgml:
20235 * docs/gst/tmpl/gstquery.sgml:
20236 * docs/gst/tmpl/gstqueue.sgml:
20237 * docs/gst/tmpl/gstregistry.sgml:
20238 * docs/gst/tmpl/gstregistrypool.sgml:
20239 * docs/gst/tmpl/gstscheduler.sgml:
20240 * docs/gst/tmpl/gstschedulerfactory.sgml:
20241 * docs/gst/tmpl/gststructure.sgml:
20242 * docs/gst/tmpl/gstsystemclock.sgml:
20243 * docs/gst/tmpl/gsttaglist.sgml:
20244 * docs/gst/tmpl/gsttagsetter.sgml:
20245 * docs/gst/tmpl/gsttrace.sgml:
20246 * docs/gst/tmpl/gsttrashstack.sgml:
20247 * docs/gst/tmpl/gsttypefind.sgml:
20248 * docs/gst/tmpl/gsttypefindfactory.sgml:
20249 * docs/gst/tmpl/gsttypes.sgml:
20250 * docs/gst/tmpl/gsturihandler.sgml:
20251 * docs/gst/tmpl/gsturitype.sgml:
20252 * docs/gst/tmpl/gstutils.sgml:
20253 * docs/gst/tmpl/gstvalue.sgml:
20254 * docs/gst/tmpl/gstversion.sgml:
20255 * docs/gst/tmpl/gstxml.sgml:
20256 * docs/libs/tmpl/gstcontrol.sgml:
20257 * docs/libs/tmpl/gstdataprotocol.sgml:
20258 * docs/libs/tmpl/gstdparam.sgml:
20259 * docs/libs/tmpl/gstdplinint.sgml:
20260 * docs/libs/tmpl/gstdpman.sgml:
20261 * docs/libs/tmpl/gstdpsmooth.sgml:
20262 * docs/libs/tmpl/gstgetbits.sgml:
20263 * docs/libs/tmpl/gstunitconvert.sgml:
20264 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20265 (gst_push_src_base_init), (gst_push_src_class_init),
20266 (gst_push_src_init), (gst_push_src_create):
20267 * gst/base/gstpushsrc.h:
20268 * gst/elements/gstelements.c:
20269 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20270 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20271 (gst_fake_sink_init), (gst_fake_sink_set_property),
20272 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20273 (gst_fake_sink_event), (gst_fake_sink_preroll),
20274 (gst_fake_sink_render), (gst_fake_sink_change_state):
20275 * gst/elements/gstfakesink.h:
20276 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20277 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20278 (gst_fake_src_base_init), (gst_fake_src_class_init),
20279 (gst_fake_src_init), (gst_fake_src_event_handler),
20280 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20281 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20282 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20283 (gst_fake_src_create_buffer), (gst_fake_src_create),
20284 (gst_fake_src_start), (gst_fake_src_stop):
20285 * gst/elements/gstfakesrc.h:
20286 * gst/elements/gstfilesink.c: (_do_init),
20287 (gst_file_sink_base_init), (gst_file_sink_class_init),
20288 (gst_file_sink_init), (gst_file_sink_dispose),
20289 (gst_file_sink_set_location), (gst_file_sink_set_property),
20290 (gst_file_sink_get_property), (gst_file_sink_open_file),
20291 (gst_file_sink_close_file), (gst_file_sink_query),
20292 (gst_file_sink_event), (gst_file_sink_render),
20293 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20294 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20295 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20296 * gst/elements/gstfilesink.h:
20297 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20298 (gst_file_src_class_init), (gst_file_src_init),
20299 (gst_file_src_finalize), (gst_file_src_set_location),
20300 (gst_file_src_set_property), (gst_file_src_get_property),
20301 (gst_file_src_map_region), (gst_file_src_map_small_region),
20302 (gst_file_src_create_mmap), (gst_file_src_create_read),
20303 (gst_file_src_create), (gst_file_src_is_seekable),
20304 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20305 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20306 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20307 (gst_file_src_uri_handler_init):
20308 * gst/elements/gstfilesrc.h:
20309 more autistic cleanliness in functions/names/defines
20311 2005-07-13 Andy Wingo <wingo@pobox.com>
20313 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20314 source couldn't negotiate.
20316 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20320 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20321 function. I am channeling Hades. Put your boots on suckers!!!
20323 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20325 * testsuite/caps/Makefile.am:
20326 * testsuite/caps/value_compare.c:
20327 * testsuite/caps/value_intersect.c:
20328 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20329 move two testsuite apps over to the check dir
20331 2005-07-12 Wim Taymans <wim@fluendo.com>
20333 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20334 Added more debug info in the negotiate process.
20336 * gst/gstmessage.h:
20337 Prepare for segment playback.
20339 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20345 * tools/gst-launch.c: (main):
20346 NULL pipeline on errors.
20348 2005-07-12 Andy Wingo <wingo@pobox.com>
20350 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20351 not it comes from a malloc region. Make sure our copy gets freed.
20353 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20355 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20356 * check/gst/gstmessage.c: (GST_START_TEST):
20357 * check/gst/gststructure.c: (GST_START_TEST),
20358 (gst_structure_suite), (main):
20360 * gst/gstelement.c: (gst_element_message_full):
20361 clean up GError and debug string now that they get copied
20362 * gst/gstmessage.c: (gst_message_new_error),
20363 (gst_message_new_warning), (gst_message_parse_error),
20364 (gst_message_parse_warning):
20365 use GST_TYPE_G_ERROR for structure_new, and take copies of
20366 arguments, so that we don't mess up refcounting
20368 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20370 * check/Makefile.am:
20371 add per-test valgrind targets
20372 * check/gst-libs/gdp.c: (GST_START_TEST),
20373 (gst_data_protocol_suite), (main):
20376 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20378 * check/Makefile.am:
20379 instate more valgrindable tests
20380 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20381 (GST_START_TEST), (fakesrc_suite):
20382 * check/gst/gstpad.c: (GST_START_TEST):
20383 * check/gst/gststructure.c: (GST_START_TEST):
20385 * docs/gst/tmpl/gstminiobject.sgml:
20386 * gst/gstpad.c: (gst_pad_finalize):
20387 fix the static mutex leak
20389 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20391 * check/Makefile.am:
20392 add two more tests for valgrinding
20393 * check/gst/gstvalue.c: (GST_START_TEST):
20394 test refcount of deserialized buffer, found a leak
20395 * docs/gst/gstreamer-docs.sgml:
20396 * docs/gst/gstreamer-sections.txt:
20397 * docs/gst/gstreamer.types:
20398 * docs/gst/tmpl/gstminiobject.sgml:
20399 add miniobject to docs
20400 * gst/gstminiobject.c:
20402 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20403 (gst_string_unwrap):
20404 fix a hard-to-find invalid write for one of the tests
20405 fix a leak for deserialized buffers
20407 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20409 * docs/pwg/advanced-events.xml:
20410 * docs/pwg/advanced-request.xml:
20411 * docs/pwg/advanced-scheduling.xml:
20412 * docs/pwg/appendix-porting.xml:
20413 * docs/pwg/building-boiler.xml:
20414 * docs/pwg/intro-preface.xml:
20415 * docs/pwg/other-ntoone.xml:
20416 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20417 of example code and explanation for pad activation, loop() and
20418 getrange() functions and a bit more. Remove old comments pointing
20420 * examples/pwg/Makefile.am:
20421 Add loop/getrange examples.
20423 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20426 check for valgrind binary + some fixes
20428 valgrind suppressions for the tests
20429 * check/Makefile.am:
20430 add a valgrind: target that valgrinds the unit tests
20431 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20432 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20433 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20434 * check/gst/gstghostpad.c:
20436 * check/gst/gstdata.c:
20438 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20439 (thread_unref), (gst_mini_object_suite), (main):
20441 * gst/gst.c: (gst_deinit):
20443 add a method to clean up.
20444 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20445 (gst_system_clock_obtain):
20446 allow for disposing the system clock.
20447 * tools/gst-launch.c: (main):
20450 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20452 * docs/gst/tmpl/gstbasesrc.sgml:
20453 * docs/gst/tmpl/gstfakesrc.sgml:
20454 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20455 (gst_base_src_init), (gst_base_src_set_property),
20456 (gst_base_src_get_property), (gst_base_src_get_range),
20457 (gst_base_src_start):
20458 * gst/base/gstbasesrc.h:
20459 add num-buffers property
20460 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20461 (gst_fakesrc_init), (gst_fakesrc_set_property),
20462 (gst_fakesrc_get_property), (gst_fakesrc_create),
20463 (gst_fakesrc_start):
20464 remove num-buffers property
20466 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20468 * docs/gst/gstreamer-sections.txt:
20469 * docs/gst/tmpl/gstbasesink.sgml:
20470 * docs/gst/tmpl/gstbasesrc.sgml:
20471 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20472 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20473 (gst_base_sink_finalize), (gst_base_sink_set_clock),
20474 (gst_base_sink_set_property), (gst_base_sink_get_property),
20475 (gst_base_sink_handle_object), (gst_base_sink_event),
20476 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20477 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20478 (gst_base_sink_loop), (gst_base_sink_deactivate),
20479 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20480 (gst_base_sink_change_state):
20481 * gst/base/gstbasesink.h:
20482 * gst/base/gstbasesrc.h:
20483 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20484 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20485 (gst_filesink_init):
20486 more macro splitting
20488 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20490 * gst/gstelement.c: (gst_element_get_bus):
20492 * tools/gst-launch.c: (check_intr), (event_loop):
20495 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20497 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20500 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
20502 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20503 (gst_base_src_finalize):
20504 add finalize method and clean up properly
20505 * gst/gstpipeline.c: (gst_pipeline_dispose):
20508 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20510 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20512 add more things to check
20513 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20514 * gst/gstelement.c:
20517 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20519 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20520 (GST_START_TEST), (fakesrc_suite):
20521 * check/gst-libs/gdp.c: (GST_START_TEST):
20522 * check/gst/gst.c: (GST_START_TEST):
20523 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20524 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20525 * check/gst/gstbus.c: (GST_START_TEST):
20526 * check/gst/gstcaps.c: (GST_START_TEST):
20527 * check/gst/gstdata.c: (GST_START_TEST):
20528 * check/gst/gstelement.c: (GST_START_TEST):
20529 * check/gst/gstghostpad.c: (GST_START_TEST):
20530 * check/gst/gstiterator.c: (GST_START_TEST):
20531 * check/gst/gstmessage.c: (GST_START_TEST):
20532 * check/gst/gstobject.c: (GST_START_TEST):
20533 * check/gst/gstpad.c: (GST_START_TEST):
20534 * check/gst/gststructure.c: (GST_START_TEST):
20535 * check/gst/gstsystemclock.c: (GST_START_TEST),
20536 (gst_systemclock_suite):
20537 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20538 * check/gst/gstvalue.c: (GST_START_TEST):
20539 * check/pipelines/cleanup.c: (GST_START_TEST):
20540 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20541 * check/states/sinks.c: (GST_START_TEST):
20542 * check/gstcheck.c: (gst_check_init):
20543 * check/gstcheck.h:
20544 add debugging category
20545 use GST_START_TEST now, so we add a debug line
20547 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
20549 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
20550 add test for state change message on a bin
20551 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
20553 * gst/gstbin.c: (gst_bin_init):
20554 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
20555 * gst/gstelement.c: (gst_element_post_message),
20556 (gst_element_set_state):
20557 * gst/gstelementfactory.c: (gst_element_factory_create):
20558 * gst/gstmessage.c: (gst_message_new):
20559 * gst/gstscheduler.c:
20560 various debugging additions and cleanups
20562 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20564 * check/Makefile.am:
20565 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
20567 adding tests for elements
20568 * gst/gstelement.c: (gst_element_dispose):
20570 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20572 * gst/registries/gstlibxmlregistry.c: (load_feature):
20573 plug more leaks. A simple gst_init() now is leakfree, yay.
20575 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20577 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
20578 (gst_xml_registry_load):
20579 plug another memleak
20581 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20584 use GST_SET_ERROR_CFLAGS
20585 * docs/faq/cvs.xml:
20586 change to ERROR_CFLAGS
20588 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
20591 make GST_ERROR_CFLAGS overridable and re-enable Werror
20592 * docs/faq/cvs.xml:
20593 add a note about error CFLAGS
20594 * docs/gst/tmpl/gstfakesrc.sgml:
20595 * gst/elements/gstfakesrc.c:
20596 comment out some unused code
20597 * gst/gst.c: (split_and_iterate):
20598 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
20602 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
20604 * common/Makefile.am:
20605 * common/gtk-doc.mak:
20606 * docs/gst/Makefile.am:
20607 factor out gtk-doc.mak
20609 2005-07-07 Wim Taymans <wim@fluendo.com>
20611 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
20612 (gst_thread_scheduler_dispose):
20613 Unlock the STREAM_LOCK completely.
20615 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
20617 * check/Makefile.am:
20618 * check/elements/.cvsignore:
20619 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20620 (START_TEST), (fakesrc_suite), (main):
20621 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20622 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
20623 (gst_fakesrc_create), (gst_fakesrc_start):
20624 * gst/elements/gstfakesrc.h:
20625 adding a first element test
20627 2005-07-07 Andy Wingo <wingo@pobox.com>
20629 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
20632 2005-07-07 Wim Taymans <wim@fluendo.com>
20638 2005-07-07 Wim Taymans <wim@fluendo.com>
20640 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20641 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
20642 Allow subclasses to implement their own negotiation.
20644 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20646 * docs/design/part-gstbin.txt:
20647 * docs/design/part-gstpipeline.txt:
20648 Update design notes to reflect the movement of
20649 responsibility for bus handling from GstPipeline to
20652 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20655 Remove unnecessary queue2/3/4 examples.
20657 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
20659 * examples/Makefile.am:
20660 * examples/helloworld/helloworld.c: (event_loop), (main):
20661 * examples/queue/queue.c: (event_loop), (main):
20662 * examples/queue2/queue2.c: (main):
20663 Update a couple of the examples to work again.
20665 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20666 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
20667 Spelling corrections and extra debug.
20669 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
20670 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
20671 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
20673 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20674 (gst_pipeline_change_state):
20675 * gst/gstpipeline.h:
20676 Move the bus handler for children to the GstBin, and create a
20677 separate bus for receiving messages from children to the one the
20678 bus sends 'upwards' on.
20680 2005-07-06 Wim Taymans <wim@fluendo.com>
20683 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20684 (gst_base_sink_handle_object), (gst_base_sink_loop),
20685 (gst_base_sink_change_state):
20686 * gst/base/gstbasesink.h:
20687 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20688 (gst_base_src_init), (gst_base_src_setcaps),
20689 (gst_base_src_getcaps), (gst_base_src_loop),
20690 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
20691 (gst_base_src_start), (gst_base_src_change_state):
20692 * gst/base/gstbasesrc.h:
20693 Make basesrc negotiate.
20694 Handle the case where preroll fails in basesink.
20697 2005-07-06 Wim Taymans <wim@fluendo.com>
20699 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
20700 Implement the fixate function.
20701 Clean up acceptcaps.
20703 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20705 * docs/pwg/building-filterfactory.xml:
20706 * docs/pwg/pwg.xml:
20707 Remove never-written filter-factory chapter; I'll add the various
20708 base classes to part 4 ("other element types") later on.
20710 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20712 * docs/pwg/advanced-negotiation.xml:
20713 * docs/pwg/building-boiler.xml:
20714 * docs/pwg/building-pads.xml:
20715 * docs/pwg/pwg.xml:
20716 * examples/pwg/Makefile.am:
20717 Add a chapter on caps negotiation, simplify the original code
20718 samples a bit w.r.t. caps negotiation, add link to the advanced
20719 section. Add a bunch of examples showing different use cases of
20720 different types of caps negotiation. Upstream renegotiation isn't
20721 fully documented yet since nobody knows how that works.
20723 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
20725 * check/gst/gstpad.c:
20726 * check/gstcheck.c:
20727 * gst/gstpad.c: (gst_pad_get_internal_links_default):
20728 if pad has no parent, return NULL as list of internal links
20730 2005-07-05 Andy Wingo <wingo@pobox.com>
20732 * gst/elements/gstfilesrc.c:
20733 * gst/elements/gstfakesrc.c:
20734 * gst/base/gstpushsrc.c:
20735 * gst/base/gstbasesrc.h:
20736 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
20738 2005-07-05 Stefan Kost <ensonic@users.sf.net>
20741 better report generation target (lcov needs a patch)
20743 2005-07-05 Andy Wingo <wingo@pobox.com>
20745 * gst/elements, testsuite: Null if we got it...
20747 2005-07-05 Wim Taymans <wim@fluendo.com>
20750 * libs/gst/dataprotocol/Makefile.am:
20751 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
20752 * libs/gst/dataprotocol/dataprotocol.h:
20753 * pkgconfig/Makefile.am:
20754 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
20755 * pkgconfig/gstreamer-dataprotocol.pc.in:
20756 Ported dataprotol to 0.9.
20757 Added pkgconfig files.
20759 2005-07-05 Andy Wingo <wingo@pobox.com>
20761 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
20762 Default to returning TRUE for the case when tranform_caps returns
20763 a fixed caps, like for identity or volume.
20765 * check/gst/gstbus.c (pound_bus_with_messages):
20766 * check/gst/gstmessage.c (START_TEST):
20767 * check/pipelines/simple_launch_lines.c (got_handoff): Application
20768 message API change.
20770 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
20771 logic weaks here: always run transform_caps, trying passthrough
20772 operation only if the original caps intersects with the transform.
20774 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
20775 source and sink caps.
20777 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
20778 Intersect the peer caps with the pad template before going into
20780 (gst_base_transform_transform_caps): More debugging.
20782 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
20785 2005-07-04 Edward Hervey <edward@fluendo.com>
20789 (gst_pad_add_*_probe): now returns the signal id for better wrapping
20792 2005-07-04 Andy Wingo <wingo@pobox.com>
20794 * check/gst/gstpad.c: Only set explicit caps on pads.
20796 2005-07-01 Andy Wingo <wingo@pobox.com>
20798 * tests/network-clock.scm: Commentary update.
20800 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
20801 Didn't really make sense, not implementable with basetransform,
20803 (gst_identity_transform): Unref inbuf via make_writable. Feeble
20804 attempt at implementing the sync property, needs an unlock method.
20806 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
20807 New func, by default returns the same caps (the identity
20809 (gst_base_transform_getcaps): Uses transform_caps to return
20810 something sensible.
20811 (gst_base_transform_setcaps): Complicated logic to get caps on
20812 both pads, even if they are different, and to call set_caps once
20813 for every time both pads get their caps set.
20814 (gst_base_transform_handle_buffer): Give the ref to the transform
20815 function. Allows in-place modification of the buffer.
20817 * gst/base/gstbasetransform.h (transform_caps): New class method.
20818 Given caps on one side, what can I do on the other.
20819 (set_caps): Take two caps, one for each side of the element.
20822 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
20823 caps in place. This is safe because we can check the mutability of
20824 the caps, and a good idea because fixate functions are just called
20825 as a matter of last resort. (Not actually implemented.)
20826 (gst_pad_set_caps): If the caps we're setting is actually the same
20827 as the existing pad caps, just update the pointer without calling
20828 setcaps. Assert that caps is either NULL or fixed, as per the
20831 * gst/gstghostpad.c: Update for fixate changes.
20833 2005-07-02 Andy Wingo <wingo@pobox.com>
20836 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
20837 two refcounts makes it immutable, which is enough. Doc more.
20839 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
20841 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
20842 Put the mini_object into GValue as a mini_object,
20843 not a gpointer, since that's how we declared
20846 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20848 * examples/pwg/Makefile.am:
20849 Fix buildbot again.
20851 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20853 * docs/pwg/building-testapp.xml:
20855 * examples/pwg/Makefile.am:
20858 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20861 * examples/Makefile.am:
20862 * examples/pwg/Makefile.am:
20863 * examples/pwg/extract.pl:
20864 Enable building the PWG examples.
20865 * docs/pwg/advanced-interfaces.xml:
20866 Add URI interface stub.
20867 * docs/pwg/advanced-types.xml:
20868 * docs/pwg/other-autoplugger.xml:
20869 * docs/pwg/appendix-porting.xml:
20870 * docs/pwg/pwg.xml:
20871 Add porting guide (mostly stubs), remove autoplugging (see ADM).
20872 * docs/pwg/building-boiler.xml:
20873 * docs/pwg/building-chainfn.xml:
20874 * docs/pwg/building-pads.xml:
20875 * docs/pwg/building-props.xml:
20876 * docs/pwg/building-state.xml:
20877 * docs/pwg/building-testapp.xml:
20878 Update the building-*.xml parts for 0.9 changes. All examples
20879 code blocks compile in examples/pwg/*.
20881 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20883 * docs/manual/advanced-autoplugging.xml:
20884 * docs/manual/appendix-checklist.xml:
20885 * docs/manual/appendix-integration.xml:
20886 * docs/manual/highlevel-components.xml:
20887 Fix playbin/decodebin examples, update docs a bit, mention bus
20888 instead of signals in various places, mention kmplayer and
20889 kaffeine since they have a working GStreamer backend in the KDE
20892 2005-06-30 Wim Taymans <wim@fluendo.com>
20895 * docs/design/draft-ghostpads.txt:
20896 * docs/design/draft-push-pull.txt:
20897 * docs/design/draft-query.txt:
20898 * docs/design/part-TODO.txt:
20899 * docs/design/part-query.txt:
20900 Added CHANGES-0.9 doc, updated status of other docs.
20905 2005-06-30 Wim Taymans <wim@fluendo.com>
20907 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20908 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20909 (gst_base_sink_change_state):
20910 * gst/base/gstbasesink.h:
20911 Some tweaks, only EOS and a buffer complete a preroll.
20913 2005-06-30 Andy Wingo <wingo@pobox.com>
20915 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20916 activate_push down to the internal pad as well.
20918 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
20920 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20922 * gst/gsttaginterface.c:
20923 Some documentation fixes (#307394 and #307397).
20925 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
20927 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20929 * gst/gstvalue.c: (gst_value_intersect_list):
20930 Fix memleak (#309125).
20932 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20934 * docs/manual/advanced-dataaccess.xml:
20935 Fix fakesrc example to compile; doesn't work, bug somewhere...?
20936 * docs/manual/basics-pads.xml:
20937 Add reference for filtered caps to above chapter.
20939 2005-06-30 Wim Taymans <wim@fluendo.com>
20941 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20942 (gst_bin_change_state):
20944 Lame attempt at making the state change function a bit
20947 2005-06-30 Wim Taymans <wim@fluendo.com>
20949 * docs/design/part-clocks.txt:
20950 * docs/design/part-element-sink.txt:
20951 * docs/design/part-events.txt:
20952 * docs/design/part-preroll.txt:
20953 * docs/design/part-states.txt:
20954 Some more tweeks and additions to the docs.
20956 2005-06-30 Wim Taymans <wim@fluendo.com>
20958 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20959 (default_have_data), (gst_pad_class_init), (gst_pad_init),
20960 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20961 (gst_pad_check_pull_range), (gst_pad_get_range),
20962 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20964 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20965 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20966 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20967 (gst_pad_remove_buffer_probe):
20968 Removed atomic operations, use existing LOCK.
20969 Move exception handling out of main code path.
20971 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20973 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20974 (silly_return_true_function), (gst_pad_class_init),
20975 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20976 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20977 (gst_pad_send_event):
20978 Fix accumulator, add default value by using _emitv() instead
20979 of _emit() for signal emission.
20981 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20983 * docs/manual/advanced-dataaccess.xml:
20984 * examples/manual/Makefile.am:
20986 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20989 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
20991 * gst/elements/gstfilesink.c: (gst_filesink_render):
20992 Simplify code so that we don't have to handle short
20993 writes and return GST_FLOW_ERROR if an error occured.
20995 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20997 * docs/gst/gstreamer-docs.sgml:
20998 Remove probes more.
21000 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21002 * docs/gst/gstreamer-sections.txt:
21003 * docs/gst/tmpl/gstpad.sgml:
21004 * docs/gst/tmpl/gstprobe.sgml:
21006 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21007 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21008 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21009 (gst_pad_push_event), (gst_pad_send_event):
21011 * gst/gstutils.c: (gst_pad_add_data_probe),
21012 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21013 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21014 (gst_pad_remove_buffer_probe):
21016 Remove old probes, add new g-signal-based probes and some utility
21019 2005-06-29 Edward Hervey <edward@fluendo.com>
21021 * gst/gstelementfactory.c:
21024 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21025 the definition to the header file.
21027 2005-06-29 Andy Wingo <wingo@pobox.com>
21029 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21030 plugins from the source directory.
21032 2005-06-29 Wim Taymans <wim@fluendo.com>
21034 * docs/gst/tmpl/gstbuffer.sgml:
21035 * docs/gst/tmpl/gstclock.sgml:
21036 Some fixings for blantently wrong text.
21038 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21040 * check/Makefile.am:
21041 * gst/gst.c: (add_path_func), (init_pre):
21042 * gst/gstregistry.c: (gst_registry_add_path):
21043 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21044 only scan the GST_PLUGIN_PATH locations, and not add
21047 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21049 * docs/gst/gstreamer-sections.txt:
21050 * docs/gst/tmpl/gstbasesrc.sgml:
21051 * gst/gstelement.c:
21052 * gst/gstelement.h:
21057 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21059 * docs/manual/advanced-autoplugging.xml:
21060 Fix autoplugging example.
21062 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21064 * docs/manual/advanced-autoplugging.xml:
21065 * docs/manual/mime-world.fig:
21066 Try to get autoplugging working, fix type detection. Fix text
21067 in hello-world image.
21069 2005-06-29 Wim Taymans <wim@fluendo.com>
21071 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21072 (gst_base_sink_change_state):
21076 map SIGNAL and BROADCAST to the right function.
21079 Remove redundant braces.
21081 * gst/gstpad.c: (gst_pad_set_caps):
21082 Don't call setcaps function when reseting caps to NULL.
21084 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21085 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21086 (gst_system_clock_id_unschedule):
21087 Use BROADCAST as this is what we do.
21089 2005-06-29 Wim Taymans <wim@fluendo.com>
21091 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21092 We are actually prerolling before commiting the state
21095 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21097 * docs/manual/advanced-clocks.xml:
21098 * docs/manual/advanced-interfaces.xml:
21099 * docs/manual/advanced-metadata.xml:
21100 * docs/manual/advanced-position.xml:
21101 * docs/manual/advanced-schedulers.xml:
21102 * docs/manual/advanced-threads.xml:
21103 * docs/manual/appendix-porting.xml:
21104 * docs/manual/basics-bins.xml:
21105 * docs/manual/basics-bus.xml:
21106 * docs/manual/basics-elements.xml:
21107 * docs/manual/basics-helloworld.xml:
21108 * docs/manual/basics-pads.xml:
21109 * docs/manual/highlevel-components.xml:
21110 * docs/manual/manual.xml:
21111 * docs/manual/thread.fig:
21112 Update (until threads/scheduling) Application Development Manual;
21113 remove GstThread, add GstBus, add simple porting checklist, add
21114 documentation for tag writing, clocks, make all examples until this
21115 part compile and run.
21116 * examples/manual/Makefile.am:
21117 Update from changes to Application Development Manual; add bus
21118 example, remove thread example.
21120 2005-06-28 Wim Taymans <wim@fluendo.com>
21122 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21123 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21124 (gst_bus_source_dispatch):
21125 Add debugging messages.
21126 Make internal methods static.
21127 Handle the case where the bus is flushed in the handler.
21129 * gst/gstelement.c: (gst_element_get_bus):
21130 Fix refcount in _get_bus();
21132 * gst/gstpipeline.c: (gst_pipeline_change_state),
21133 (gst_pipeline_get_clock_func):
21134 Clock refcounting fixes.
21135 Handle the case where preroll timed out more gracefully.
21137 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21138 Clean up the internal thread in dispose. This is needed
21139 for subclasses that actually get disposed.
21141 * gst/schedulers/threadscheduler.c:
21142 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21143 (gst_thread_scheduler_dispose):
21144 Free thread pool in dispose.
21146 2005-06-28 Andy Wingo <wingo@pobox.com>
21148 * tests/network-clock-utils.scm (debug, print-event): New utils.
21150 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21151 (*packet-loss*): Unified loss probability.
21152 (network-time): Report out-of-band events.
21154 * tests/plot-data: Add support for out-of-band events. Hack it
21155 into this script instead of passing it down the pipe; should fix
21158 2005-06-28 Wim Taymans <wim@fluendo.com>
21160 * docs/gst/gstreamer.types:
21161 * docs/gst/tmpl/gstbasesrc.sgml:
21162 * docs/gst/tmpl/gstpad.sgml:
21165 2005-06-28 Wim Taymans <wim@fluendo.com>
21167 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21168 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21169 (gst_proxy_pad_do_fixatecaps):
21170 Correctly proxy the check_pull_range function.
21172 2005-06-28 Andy Wingo <wingo@pobox.com>
21174 * tests/network-clock.scm: Removed need for slib.
21176 2005-06-28 Wim Taymans <wim@fluendo.com>
21178 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21179 (gst_basesink_preroll_queue_flush):
21180 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21181 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21182 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21183 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21184 (gst_proxy_pad_set_property):
21187 * gst/gstqueue.c: (gst_queue_init):
21188 The deprecated pad loop function is removed now.
21190 2005-06-28 Andy Wingo <wingo@pobox.com>
21192 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21193 New parameters, simulate network packet loss.
21195 * tests/network-clock-utils.scm: Initialize the RNG.
21197 2005-06-28 Wim Taymans <wim@fluendo.com>
21199 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21200 (gst_basesink_event), (gst_basesink_deactivate):
21201 Flushing the preroll queue always needs to unlock the waiters.
21203 2005-06-28 Edward Hervey <edward@fluendo.com>
21205 * gst/gstpipeline.c: (gst_pipeline_send_event):
21206 Wheen a seek was successful on a pipeline, set the stream_time to the
21207 seek offset in order to have a synchronized stream_time.
21209 2005-06-28 Wim Taymans <wim@fluendo.com>
21211 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21212 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21213 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21214 (gst_proxy_pad_do_fixatecaps):
21215 Call wrapper function instead of just calling the function
21216 pointers. This takes care of any locking and whatmore.
21218 2005-06-28 Wim Taymans <wim@fluendo.com>
21220 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21221 (gst_pad_pull_range):
21223 CONNECTED -> LINKED.
21225 2005-06-28 Andy Wingo <wingo@pobox.com>
21227 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21228 source-munging commit!!!
21230 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21231 (gst_object_sink): Take gpointer arguments, not GstObject --
21232 avoids casts. Like GLib.
21234 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21237 2005-06-27 Andy Wingo <wingo@pobox.com>
21239 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21242 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21243 returns a sorted copy of the trace list.
21244 (gst_alloc_trace_print_live): New API, only prints traces with
21245 live objects. Sort the list.
21246 (gst_alloc_trace_print_all): Sort the list.
21247 (gst_alloc_trace_print): Align columns.
21249 * gst/elements/gstttypefindelement.c:
21250 * gst/elements/gsttee.c:
21251 * gst/base/gstbasesrc.c:
21252 * gst/base/gstbasesink.c:
21253 * gst/base/gstbasetransform.c:
21254 * gst/gstqueue.c: Adapt for pad activation changes.
21256 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21258 (gst_pipeline_dispose): Drop ref on sched.
21260 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21261 (gst_pad_activate_default): Push mode by default.
21262 (pre_activate_switch, post_activate_switch): New stubs, things to
21263 do before and after switching activation modes on pads.
21264 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21265 the pad's activate function to choose which mode to activate.
21266 Shortcut on deactivation and call the right function directly.
21267 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21269 (gst_pad_activate_push): New API, same for push mode.
21270 (gst_pad_set_activate_function)
21271 (gst_pad_set_activatepull_function)
21272 (gst_pad_set_activatepush_function): Setters for new API.
21274 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21275 Trace all miniobjects.
21276 (gst_mini_object_make_writable): Unref the arg if we copy, like
21277 gst_caps_make_writable.
21279 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21281 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21282 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21283 Adapt for new pad API.
21285 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21287 * gst/gstelement.h:
21288 * gst/gstelement.c (gst_element_iterate_src_pads)
21289 (gst_element_iterate_sink_pads): New API functions.
21291 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21292 should fold into gstiterator.c in some form.
21293 (gst_element_pads_activate): Simplified via use of fold and
21294 delegation of decisions to gstpad->activate.
21296 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21299 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21300 class once in init, like gstmessage. Didn't run into this issue
21301 but it seems correct. Don't initialize a trace, gstminiobject does
21304 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21305 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21307 (assert_live_count): New util function, uses alloc traces to check
21310 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21311 To be modified when unlink drops the internal pad.
21313 2005-06-27 Wim Taymans <wim@fluendo.com>
21315 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21316 (gst_bin_change_state):
21317 Cleanup the get_state() function a little, make sure it
21318 iterates the same set of elements.
21319 Added stub iterate_state_order().
21321 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21323 * docs/gst/gstreamer-docs.sgml:
21324 * docs/gst/gstreamer-sections.txt:
21325 * docs/gst/gstreamer.types:
21326 * docs/gst/tmpl/gstbasesink.sgml:
21327 * docs/gst/tmpl/gstbasesrc.sgml:
21328 * docs/gst/tmpl/gstbasetransform.sgml:
21329 * docs/gst/tmpl/gstelement.sgml:
21330 * docs/gst/tmpl/gstiterator.sgml:
21331 * gst/base/gstbasesrc.c:
21332 * gst/base/gstbasesrc.h:
21333 * gst/base/gstbasetransform.h:
21334 * gst/gstelement.c:
21335 * gst/gstiterator.h:
21336 adding basetransform and iterator docs
21338 2005-06-27 Andy Wingo <wingo@pobox.com>
21340 * docs/design/part-activation.txt: Notes on how activation should
21341 work -- not quite implemented yet.
21343 2005-06-25 Wim Taymans <wim@fluendo.com>
21345 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21346 At least get the chain function correct, needs more
21349 2005-06-25 Wim Taymans <wim@fluendo.com>
21351 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21352 (gst_basesink_handle_object), (gst_basesink_event),
21353 (gst_basesink_do_sync), (gst_basesink_handle_event),
21354 (gst_basesink_change_state):
21356 Right, two problems here: ghostpads don't take locks and
21357 glib _rec_mutex_lock_full() with depth==0 still locks.
21358 Catch illegal locking and g_warn them.
21360 2005-06-25 Wim Taymans <wim@fluendo.com>
21362 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21363 Have to check for completion now...
21365 2005-06-25 Wim Taymans <wim@fluendo.com>
21367 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21368 (gst_basesink_handle_object), (gst_basesink_event),
21369 (gst_basesink_do_sync), (gst_basesink_handle_event),
21370 (gst_basesink_change_state):
21372 Unlock STREAM_LOCK whatever the recursion was.
21374 2005-06-25 Wim Taymans <wim@fluendo.com>
21376 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21377 (gst_basesink_preroll_queue_empty),
21378 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21379 (gst_basesink_event), (gst_basesink_do_sync),
21380 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21381 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21382 (gst_basesink_change_state):
21383 Reworked the base sink, handle event and buffer serialisation
21384 correctly and removed possible deadlock.
21385 Handle EOS correctly.
21387 2005-06-25 Wim Taymans <wim@fluendo.com>
21389 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21390 (gst_pipeline_change_state):
21391 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21392 Allow elements to post EOS in the state change function.
21393 Fix up -launch, make it exit the poll loop when the
21394 pipeline actually changed state.
21395 Fix up warning parsing in -launch.
21397 2005-06-25 Wim Taymans <wim@fluendo.com>
21399 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21400 (gst_tee_sink_activate):
21401 Core takes STREAM_LOCK for us now.
21403 2005-06-25 Wim Taymans <wim@fluendo.com>
21405 * gst/gstelement.c: (gst_element_get_state_func),
21406 (gst_element_set_state):
21407 * gst/gstelement.h:
21408 * gst/gstmessage.c: (gst_message_parse_error),
21409 (gst_message_parse_warning):
21410 Keep track of current target state while performing a state
21411 change so that subclasses can do something interesting.
21412 Fix parsing of warning/error messages when GError is NULL.
21414 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21416 * docs/gst/Makefile.am:
21417 * docs/gst/gstreamer-docs.sgml:
21418 * docs/gst/gstreamer-sections.txt:
21419 * docs/gst/gstreamer.types:
21420 * docs/gst/tmpl/gstbasesink.sgml:
21421 * docs/gst/tmpl/gstbasesrc.sgml:
21422 * docs/gst/tmpl/gstbin.sgml:
21423 * docs/gst/tmpl/gstcompat.sgml:
21424 * docs/gst/tmpl/gstfakesink.sgml:
21425 * docs/gst/tmpl/gstfakesrc.sgml:
21426 * docs/gst/tmpl/gstfilesink.sgml:
21427 * docs/gst/tmpl/gstfilesrc.sgml:
21428 * docs/gst/tmpl/gstindex.sgml:
21429 * docs/manual/appendix-quotes.xml:
21430 * gst/base/gstbasesrc.h:
21431 * gst/elements/gstfakesrc.h:
21432 * gst/gstmessage.h:
21433 start pulling in base classes and elements in our docs
21435 2005-06-24 Stefan Kost <ensonic@users.sf.net>
21437 * docs/gst/Makefile.am:
21438 * docs/libs/Makefile.am:
21439 fixed make distcheck with gtk-doc 1.3
21441 2005-06-23 Wim Taymans <wim@fluendo.com>
21443 * gst/gstelement.c: (gst_element_get_state_func),
21444 (gst_element_set_state), (gst_element_change_state):
21445 When the state did not change, also report NO_PREROLL
21448 2005-06-23 Wim Taymans <wim@fluendo.com>
21450 * gst/gstpad.c: (gst_pad_event_default):
21451 * gst/gstqueue.c: (gst_queue_loop):
21452 No unsafe task pausing please.
21454 2005-06-23 Wim Taymans <wim@fluendo.com>
21456 * gst/schedulers/threadscheduler.c:
21457 (gst_thread_scheduler_task_start),
21458 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21459 Ref the task before pushing it on the threadpool. This
21460 makes sure that we have a ref when the threadfunction is
21463 2005-06-23 Andy Wingo <wingo@pobox.com>
21465 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21466 offset is greater than the file's size.
21468 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
21469 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21470 * gst/gstobject.c (gst_object_class_init): Make the class lock
21471 recursive. Wim won't let me drop deep_notify. Decodebin works
21472 again, whoopdy doo.
21474 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21475 internal pad, and hacks accordingly. Doesn't do it on the target
21476 pad because we change its caps. Probably catches all cases of
21478 (gst_ghost_pad_set_property): Connect to notify::caps as
21481 * tests/network-clock.scm (plot-simulation): Pipe data to the
21482 elite python skript.
21484 * tests/network-clock-utils.scm (define-parameter): New macro,
21485 defines a parameter that can be set via the command line.
21486 (set-parameter!, parse-parameter-arguments): Command line args
21489 * tests/plot-data: Simple matplotlib-based plotter, takes input on
21492 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
21494 * gst/elements/gsttypefindelement.c:
21495 (gst_type_find_element_handle_event):
21496 Don't restart typefinding on a discont.
21497 * gst/gstelement.c: (gst_element_set_state):
21498 Debug spelling fix.
21499 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21500 Allow changing mode of an active pad.
21501 Debug output fixes.
21502 * gst/registries/gstlibxmlregistry.c: (load_feature):
21503 Don't cast a static pad template to a normal pad template.
21505 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
21507 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21508 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21509 remove gst_strtoll completely, since it didn't actually do
21510 anything more than what g_ascii_strtoull already does.
21511 check for range errors when deserializing
21512 do a cast for the unsigned cases; but further fixing needs
21513 a decision on what the interpretation of "(int)" and
21514 deserialization should be for values that fall outside the
21515 type's boundaries (ie, refuse, or interpret as casting)
21517 2005-06-23 Wim Taymans <wim@fluendo.com>
21519 * check/Makefile.am:
21520 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
21521 * docs/design/part-live-source.txt:
21522 * docs/design/part-states.txt:
21523 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21524 (gst_basesrc_set_live), (gst_basesrc_is_live),
21525 (gst_basesrc_get_range), (gst_basesrc_activate),
21526 (gst_basesrc_change_state):
21527 * gst/base/gstbasesrc.h:
21528 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21529 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21530 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
21531 * gst/gstelement.c: (gst_element_get_state_func),
21532 (gst_element_set_state):
21533 * gst/gstelement.h:
21535 * tools/gst-launch.c: (event_loop), (main):
21536 Added support for live sources and other elements that
21538 Updated design docs, added live-source design doc.
21539 Implemented live source functionality in basesrc
21540 Fix error condition in _bin_get_state()
21541 Implement live source handling in -launch.
21542 Added check for live sources.
21543 Fixed case in GstBin where elements were changed state
21547 2005-06-23 Andy Wingo <wingo@pobox.com>
21549 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
21550 borken refcounting.
21552 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
21553 gst_caps_replace takes care of this for us.
21555 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
21556 gst_pad_set_caps on the target, not just its setcaps() function.
21558 * tests/network-clock.scm:
21559 * tests/network-clock-utils.scm: A network clock simulator.
21560 Something of an algorithmic testbed before doing something in C.
21562 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21564 * check/Makefile.am:
21565 * check/gst/capslist.h:
21566 copy over from 0.8, and add two with bitmasks specified with
21568 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21569 add test to parse everything from capslist.h
21570 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
21572 add test for structure deserialization
21573 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21574 add tests for deserialization of strings to int types
21575 * gst/gststructure.c: (gst_structure_nth_field_name):
21576 * gst/gststructure.h:
21577 add a way to get the name of a field referenced by index
21578 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21579 instead of checking if the resulting long long lies between
21580 min and max, we check if the long long would fit into
21581 a number of bytes for the final type.
21582 This fixes cases where a string represents 2^32 - 1, which
21583 when cast to int would be the (valid) -1, but is bigger than
21586 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21588 * gst/parse/grammar.y:
21589 add a log line for type deserialization
21591 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
21593 * check/gst/gstvalue.c: (START_TEST):
21594 * gst/gstvalue.c: (gst_value_deserialize):
21595 return long long, not int, so gint64 deserialization actually
21596 works. Is there any flag that makes the compiler check this ?
21599 2005-06-22 Wim Taymans <wim@fluendo.com>
21602 Added convenience macros for setting buffers in GValue.
21604 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
21606 * check/gst/.cvsignore:
21607 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21608 add a test deserializing int64, and comment part out because
21611 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
21613 * check/Makefile.am:
21614 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
21615 * testsuite/Makefile.am:
21616 * testsuite/caps/Makefile.am:
21617 * testsuite/caps/value_serialize.c:
21618 * testsuite/test_gst_init.c:
21619 move a value_serialize test over
21621 2005-06-20 Wim Taymans <wim@fluendo.com>
21626 * gst/gstvalue.c: (gst_value_compare_buffer),
21627 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
21628 (gst_value_compare_flags), (gst_value_serialize_flags),
21629 (gst_value_deserialize_flags), (_gst_value_initialize):
21630 Fix serialisation of buffers, they are not boxed types anymore
21632 2005-06-20 Wim Taymans <wim@fluendo.com>
21634 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21635 Testcase to show error in buffer-on-caps serialisation.
21637 2005-06-20 Andy Wingo <wingo@pobox.com>
21639 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
21640 will be adding to later.
21642 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
21643 if its socks fill with rocks.
21644 (gst_system_clock_obtain): Set the name on object construction.
21645 Avoid double-checked locking.
21647 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
21649 * gst/gsturi.c: (gst_element_make_from_uri):
21650 Fix potential endless loop.
21652 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21654 * check/Makefile.am:
21656 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
21658 move over from testsuite dir and clean up
21661 * testsuite/Makefile.am:
21662 * testsuite/tags/.cvsignore:
21663 * testsuite/tags/Makefile.am:
21664 * testsuite/tags/merge.c:
21665 remove testsuite/tags
21667 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21669 * docs/gst/gstreamer-sections.txt:
21670 * docs/gst/tmpl/gstenumtypes.sgml:
21671 * win32/gstenumtypes.c:
21672 clean up documentation build a little
21674 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21676 * check/gstcheck.h:
21677 add macros for checking refcounts on objects and caps
21678 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
21679 add some more unit tests
21680 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21681 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
21682 fix leaked refcounts (I hope :)) so unittest works
21686 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21688 * configure.ac: back to HEAD
21690 === release 0.9.1 ===
21692 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
21698 2005-06-17 Andy Wingo <wingo@pobox.com>
21700 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
21701 assert; it's always possible that the pad gets deactivated in
21702 between the checks in gstpad.c and the implementation. Rely on
21703 finish_preroll() to return a FLUSHING or similar instead of on the
21706 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
21707 clock and post an EOS message if we come out of finish_preroll in
21710 2005-06-16 David Schleef <ds@schleef.org>
21712 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21713 (gst_capsfilter_set_property): Allow NULL as possible value
21714 for filter_caps property, indicating GST_CAPS_ANY.
21716 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21718 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
21720 * gst/schedulers/Makefile.am:
21722 * gstreamer.spec.in:
21725 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21727 * gstreamer.spec.in:
21730 2005-06-08 Andy Wingo <wingo@pobox.com>
21732 * gst/gstutils.c: RPAD fixes all around.
21733 (gst_element_link_pads): Refcounting fixes.
21735 * tools/gst-inspect.c:
21736 * tools/gst-xmlinspect.c:
21738 * gst/base/gsttypefindhelper.c:
21739 * gst/base/gstbasesink.c:
21740 * gst/gstqueue.c: RPAD fixes.
21742 * gst/gstghostpad.h:
21743 * gst/gstghostpad.c: New ghost pad implementation as full proxy
21744 pads. The tricky thing is they provide both source and sink
21745 interfaces, since they proxy the internal pad for the external
21746 pad, and vice versa. Implement with lower-level ProxyPad objects,
21747 with the interior proxy pad as a child of the exterior ghost pad.
21748 Should write a doc on this.
21750 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
21751 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
21754 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
21755 pads are real pads. No ghost pads in this file. Not documenting
21756 the myriad s/RPAD/PAD/ and REALIZE fixes.
21757 (gst_pad_class_init): Add properties for "direction" and
21758 "template". Both are construct-only, so they can't change during
21759 the life of the pad. Fixes properly deriving from GstPad.
21760 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
21761 derived objects, just set properties when creating the objects via
21763 (gst_pad_get_parent): Implement as a function, return NULL if the
21764 parent is not an element.
21765 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
21766 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
21768 * gst/gstobject.c (gst_object_class_init): Make name a construct
21769 property. Don't set it in the object init.
21771 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
21772 with UNKNOWN direction.
21773 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
21774 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
21775 (gst_element_remove_pad): Remove ghost-pad special cases.
21776 (gst_element_pads_activate): Remove rpad cruft.
21778 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
21779 catch the pad's-parent-not-an-element case.
21781 * gst/gst.h: Include gstghostpad.h.
21783 * gst/gst.c (init_post): No more real, ghost pads.
21785 * gst/Makefile.am: Add gstghostpad.[ch].
21787 * check/Makefile.am:
21788 * check/gst/gstbin.c:
21789 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
21790 into a bin creates ghost pads, and that the refcounts are right.
21791 Partly moved from gstbin.c.
21793 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21795 * check/gst-libs/.cvsignore:
21796 * check/gst/.cvsignore:
21797 * check/pipelines/.cvsignore:
21799 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
21800 (START_TEST), (cleanup_suite), (main):
21801 add some tests related to cleanup after running pipelines
21803 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21805 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
21806 add a testsuite for GstBuffer
21808 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21810 * gst/gstminiobject.h:
21811 add defines for accessing the refcount
21813 2005-06-03 Stefan Kost <ensonic@users.sf.net>
21815 * Makefile.am: added support for html unit test coverage reports
21817 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
21819 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21820 Free existing caps if the capsfilter changes. Add a FIXME about
21821 setting those caps on the pads.
21823 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
21824 Before adding a ghost pad to a parent bin, check that there isn't
21825 already one for the element on the bin. Prevents infinite recursion
21826 when using decodebin in parse pipelines. Andy says he'll rewrite the
21827 way this works anyway, so ignore the hack.
21829 2005-06-02 Andy Wingo <wingo@pobox.com>
21831 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
21832 file size, pass it on to the type find helper.
21834 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
21835 segment_start and segment_end properly according to the seek
21836 method. Segment_end is still a bit flaky because offset can be
21837 negative for CUR and END cases, but it takes -1 as an "unset"
21840 2005-06-02 Wim Taymans <wim@fluendo.com>
21842 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
21843 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
21844 (gst_basesink_activate):
21845 * gst/base/gstbasesink.h:
21846 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21847 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21848 (gst_pad_query), (gst_pad_start_task):
21850 * gst/gstqueue.c: (gst_queue_bufferalloc),
21851 (gst_queue_handle_sink_event), (gst_queue_chain):
21852 Bufferalloc: return GstFlowReturn to more accuratly report
21853 why allocation failed.
21855 2005-06-02 Wim Taymans <wim@fluendo.com>
21857 * gst/gstpipeline.c: (gst_pipeline_send_event):
21858 Take snapshot of state without blocking.
21860 2005-06-02 Wim Taymans <wim@fluendo.com>
21862 * docs/design/part-TODO.txt:
21863 * docs/design/part-caps.txt:
21864 * docs/design/part-clocks.txt:
21865 * docs/design/part-negotiation.txt:
21866 * docs/design/part-preroll.txt:
21869 2005-05-30 Wim Taymans <wim@fluendo.com>
21871 * gst/elements/gstidentity.c: (gst_identity_event),
21872 (gst_identity_transform), (gst_identity_get_property):
21873 Protect last_message property as it is accessed from
21876 2005-05-30 Wim Taymans <wim@fluendo.com>
21878 * gst/gstelement.c: (gst_element_init),
21879 (gst_element_pads_activate), (gst_element_change_state):
21880 Slicker pad activation code.
21882 2005-05-30 Wim Taymans <wim@fluendo.com>
21885 * gst/gstelement.h:
21886 * gst/gstelementfactory.h:
21888 Move elementfactory methods to separate .h file.
21890 2005-05-30 Wim Taymans <wim@fluendo.com>
21892 * docs/design/part-overview.txt:
21893 * gst/gstsystemclock.h:
21894 Small typo fixes, doc updates.
21896 2005-05-30 Wim Taymans <wim@fluendo.com>
21898 * gst/gst.c: (gst_init_get_popt_table), (init_post),
21899 (init_popt_callback):
21900 Remove cpu-opt flag.
21902 2005-05-30 Wim Taymans <wim@fluendo.com>
21904 * gst/gstbuffer.c: (gst_subbuffer_finalize),
21905 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21907 Avoid typechecking in places where not needed.
21908 Added accessor for malloc_data.
21910 2005-05-30 Wim Taymans <wim@fluendo.com>
21912 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21913 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21914 (gst_pad_configure_sink), (gst_pad_configure_src),
21915 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21916 (gst_pad_start_task):
21917 Propagate errors from _set_caps() in configure_src/sink
21918 functions instead of returning TRUE.
21919 FLUSH events can travel up and downstream
21922 2005-05-30 Wim Taymans <wim@fluendo.com>
21924 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21925 (gst_basesink_activate):
21926 Handle EOS in preroll.
21928 2005-05-30 Wim Taymans <wim@fluendo.com>
21930 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21931 (gst_queue_loop), (gst_queue_handle_src_event):
21932 Remove old pieces of code
21933 Flushing the queue in an upstream event is a very bad idea.
21935 2005-05-26 Andy Wingo <wingo@pobox.com>
21937 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21938 gst_value_set_mini_object so as to add a ref on the object (which
21939 will be removed when the value is unset).
21941 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21942 arg type in ::handoff.
21944 * gst/gstelement.c (gst_element_change_state): Also deactivate
21945 pads in READY->NULL, just in case the element didn't make it to
21946 PAUSED. Wingo tested, Wim approved.
21948 2005-05-26 Wim Taymans <wim@fluendo.com>
21950 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21951 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21952 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21953 A flushing pad cannot be used to alloc_buffer from.
21955 2005-05-26 Wim Taymans <wim@fluendo.com>
21957 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21958 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21959 (gst_bus_source_dispatch), (gst_bus_source_finalize),
21960 (gst_bus_create_watch), (gst_bus_add_watch_full):
21962 Implement a real GSource and use g_main_context_wakeup() to
21963 signal new messages instead of the socketpair.
21965 2005-05-25 Wim Taymans <wim@fluendo.com>
21967 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21968 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21969 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21970 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21971 (gst_pad_send_event), (gst_pad_start_task):
21972 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21973 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21974 (gst_queue_sink_activate), (gst_queue_src_activate),
21975 (gst_queue_change_state):
21977 Fix state changes for non sinks. We now change sinks, then elements
21978 with unconnected srcpads, then the rest.
21979 More efficient queue unlocking in flush and state changes.
21980 Set the pad activate mode even if it does not have an activate
21983 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21985 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21986 Don't go in pull mode for non-seekable sources.
21987 * gst/elements/gsttypefindelement.h:
21988 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21989 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21990 (free_entry), (stop_typefinding),
21991 (gst_type_find_element_handle_event), (find_peek),
21992 (gst_type_find_element_chain), (do_pull_typefind),
21993 (gst_type_find_element_change_state):
21994 Allow typefinding (w/o seeking) in push-mode, simplified version
21995 of what was in 0.8.
21996 * gst/gstutils.c: (gst_buffer_join):
21998 gst_buffer_join() from 0.8.
22000 2005-05-25 Wim Taymans <wim@fluendo.com>
22002 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22003 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22004 (gst_pad_send_event), (gst_pad_start_task):
22005 Disable attempt at mode switching until it is figured out.
22007 2005-05-25 Wim Taymans <wim@fluendo.com>
22009 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22010 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22011 (gst_basesink_finish_preroll), (gst_basesink_chain),
22012 (gst_basesink_loop), (gst_basesink_activate),
22013 (gst_basesink_change_state):
22014 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22015 (gst_basesrc_get_range), (gst_basesrc_loop),
22016 (gst_basesrc_activate):
22017 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22018 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22019 (gst_real_pad_init), (gst_real_pad_set_property),
22020 (gst_real_pad_get_property), (gst_pad_set_active),
22021 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22022 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22023 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22024 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22025 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22026 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22027 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22028 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22029 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22030 (gst_pad_stop_task):
22032 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22033 (gst_queue_loop), (gst_queue_src_activate):
22034 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22035 (gst_task_get_state):
22037 * gst/schedulers/threadscheduler.c:
22038 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22039 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22041 Remove ACTIVE pad flag, use FLUSHING everywhere
22042 Added _pad_chain(), _pad_get_range() to call chain/getrange
22044 Add locks around IS_FLUSHING when reading.
22045 Take STREAM lock in chain(), get_range() functions so plugins
22046 don't need to take it anymore.
22050 2005-05-25 Wim Taymans <wim@fluendo.com>
22052 * tools/gst-launch.c: (event_loop):
22053 Unref message after using its contents instead of
22056 2005-05-24 Wim Taymans <wim@fluendo.com>
22058 * docs/design/draft-ghostpads.txt:
22059 * docs/design/draft-push-pull.txt:
22060 * docs/design/draft-query.txt:
22061 * docs/design/part-overview.txt:
22062 Docs updates, added general overview doc.
22064 2005-05-21 David Schleef <ds@schleef.org>
22066 * docs/gst/tmpl/old/GstBin.sgml:
22067 * docs/gst/tmpl/old/GstBuffer.sgml:
22068 * docs/gst/tmpl/old/GstCaps.sgml:
22069 * docs/gst/tmpl/old/GstClock.sgml:
22070 * docs/gst/tmpl/old/GstCompat.sgml:
22071 * docs/gst/tmpl/old/GstData.sgml:
22072 * docs/gst/tmpl/old/GstElement.sgml:
22073 * docs/gst/tmpl/old/GstEvent.sgml:
22074 * docs/gst/tmpl/old/GstIndex.sgml:
22075 * docs/gst/tmpl/old/GstStructure.sgml:
22076 * docs/gst/tmpl/old/GstTag.sgml:
22077 * docs/gst/tmpl/old/cothreads.sgml:
22078 * docs/gst/tmpl/old/cothreads_compat.sgml:
22079 * docs/gst/tmpl/old/gettext.sgml:
22080 * docs/gst/tmpl/old/gobject2gtk.sgml:
22081 * docs/gst/tmpl/old/grammar.tab.sgml:
22082 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22083 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22084 * docs/gst/tmpl/old/gst_private.sgml:
22085 * docs/gst/tmpl/old/gstaggregator.sgml:
22086 * docs/gst/tmpl/old/gstarch.sgml:
22087 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22088 * docs/gst/tmpl/old/gstbufferstore.sgml:
22089 * docs/gst/tmpl/old/gstdata_private.sgml:
22090 * docs/gst/tmpl/old/gstdisksink.sgml:
22091 * docs/gst/tmpl/old/gstdisksrc.sgml:
22092 * docs/gst/tmpl/old/gstelementfactory.sgml:
22093 * docs/gst/tmpl/old/gstextratypes.sgml:
22094 * docs/gst/tmpl/old/gstfakesink.sgml:
22095 * docs/gst/tmpl/old/gstfakesrc.sgml:
22096 * docs/gst/tmpl/old/gstfdsink.sgml:
22097 * docs/gst/tmpl/old/gstfdsrc.sgml:
22098 * docs/gst/tmpl/old/gstfilesink.sgml:
22099 * docs/gst/tmpl/old/gstfilesrc.sgml:
22100 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22101 * docs/gst/tmpl/old/gstidentity.sgml:
22102 * docs/gst/tmpl/old/gstindexfactory.sgml:
22103 * docs/gst/tmpl/old/gstmarshal.sgml:
22104 * docs/gst/tmpl/old/gstmd5sink.sgml:
22105 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22106 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22107 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22108 * docs/gst/tmpl/old/gstpipefilter.sgml:
22109 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22110 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22111 * docs/gst/tmpl/old/gstshaper.sgml:
22112 * docs/gst/tmpl/old/gstspider.sgml:
22113 * docs/gst/tmpl/old/gstspideridentity.sgml:
22114 * docs/gst/tmpl/old/gststatistics.sgml:
22115 * docs/gst/tmpl/old/gsttee.sgml:
22116 * docs/gst/tmpl/old/gsttimecache.sgml:
22117 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22118 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22119 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22120 * docs/gst/tmpl/old/types.sgml:
22121 I didn't intend to add these or check them in.
22123 2005-05-19 David Schleef <ds@schleef.org>
22125 * configure.ac: Use -no-common everywhere. In a sane world, it
22126 would be the default in libtool, because without it, you can't
22127 build DLLs on Windows.
22128 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22129 * docs/gst/gstreamer-sections.txt:
22130 * docs/gst/tmpl/gstcpu.sgml:
22131 * docs/gst/tmpl/gstdata.sgml:
22132 * docs/gst/tmpl/gstthread.sgml:
22134 2005-05-19 David Schleef <ds@schleef.org>
22136 * gst/gstminiobject.c: (gst_value_set_mini_object),
22137 (gst_value_take_mini_object), (gst_value_get_mini_object):
22138 * gst/gstminiobject.h: Add GValue set/get functions.
22140 2005-05-19 Wim Taymans <wim@fluendo.com>
22142 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22143 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22144 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22146 * gst/gstbus.c: (gst_bus_post):
22147 * gst/gstelement.c: (gst_element_get_random_pad):
22148 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22149 Make subbufer unref the parent in finalize.
22150 some more debugging info.
22153 2005-05-19 Wim Taymans <wim@fluendo.com>
22155 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22156 (gst_basesink_init), (gst_basesink_finalize),
22157 (gst_basesink_activate), (gst_basesink_change_state):
22158 Don't free preroll queue too early.
22160 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22164 Hi, I'm outdated. Please shoot me.
22166 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22168 * gst/gstpipeline.c: (gst_pipeline_send_event):
22169 Do not access variables after they have been deleted.
22171 2005-05-19 Wim Taymans <wim@fluendo.com>
22173 * tools/gst-inspect.c: (print_plugin_features):
22174 A plugin feature does unfortunatly not use the
22177 2005-05-18 Wim Taymans <wim@fluendo.com>
22179 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22180 Port _span() functions to new subbuffers.
22182 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22184 * gst/gstbin.c: (gst_bin_add_func):
22185 Fix clock settery in bins when adding kids after the clock has
22188 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22190 * gst/elements/gstidentity.c: (gst_identity_class_init):
22191 Workaround until signals support GstMiniObject.
22193 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22196 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22198 2005-05-18 Wim Taymans <wim@fluendo.com>
22200 * gst/base/Makefile.am:
22201 * gst/base/gstadapter.c: (gst_adapter_base_init),
22202 (gst_adapter_class_init), (gst_adapter_init),
22203 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22204 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22205 (gst_adapter_flush), (gst_adapter_available),
22206 (gst_adapter_available_fast):
22207 * gst/base/gstadapter.h:
22208 Ported and added adapter to the base classes.
22210 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22213 * gst/gstmessage.c:
22214 Make sure the class is reffed/unreffed once before threads can be
22215 used. Fixes #304551.
22217 2005-05-17 Wim Taymans <wim@fluendo.com>
22219 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22220 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22221 * gst/gstminiobject.c: (gst_mini_object_get_type),
22222 (gst_mini_object_free):
22223 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22224 (gst_pad_push), (gst_pad_push_event):
22225 * gst/gstqueue.c: (gst_queue_change_state):
22226 Don't queue buffers in basesink when we are flushing.
22227 Unref buffer when flushing in basesink.
22228 Flush queue when going to READY
22229 Unref buffer when _push() returns an error.
22230 Don't free MiniObject instance when refcount is incremented
22231 in _finalize() so that we can recover objects.
22233 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22235 * docs/manual/advanced-schedulers.xml:
22236 * docs/manual/appendix-checklist.xml:
22237 * docs/pwg/advanced-clock.xml:
22238 * docs/pwg/advanced-interfaces.xml:
22239 * docs/pwg/advanced-request.xml:
22240 * docs/pwg/advanced-types.xml:
22241 * docs/pwg/intro-preface.xml:
22242 * examples/plugins/example.c: (gst_example_get_type),
22243 (gst_example_class_init), (gst_example_chain),
22244 (gst_example_set_property), (gst_example_get_property),
22245 (gst_example_change_state), (plugin_init):
22246 * examples/plugins/example.h:
22249 2005-05-17 Wim Taymans <wim@fluendo.com>
22251 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22252 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22253 * gst/gstqueue.c: (gst_queue_change_state):
22254 Clear queue when going to READY.
22255 Remove IN_SETCAPS flag too.
22257 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22259 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22260 Remove implicit cast from gboolean to GstElementStateReturn;
22261 make sure we still return failure in paused => ready case if
22262 the parent class fails to change state and our own stop
22265 2005-05-17 Wim Taymans <wim@fluendo.com>
22267 * tools/gst-launch.c: (event_loop):
22268 Message was unreffed too soon.
22270 2005-05-16 Andy Wingo <wingo@pobox.com>
22272 * gst/gstbin.c (sink_iterator_filter): Err... um...
22274 * check/gst/gstbin.c (test_ghost_pads): New test for the
22275 ghosting-if-elements-not-in-same-bin behavior.
22277 2005-05-16 David Schleef <ds@schleef.org>
22279 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22280 accessing refcount directly.
22282 2005-05-15 David Schleef <ds@schleef.org>
22284 * check/Makefile.am: remove GstData checks
22285 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22286 * gst/Makefile.am: add miniobject, remove data
22287 * gst/gst.h: add miniobject, remove data
22288 * gst/gstdata.c: remove
22289 * gst/gstdata.h: remove
22290 * gst/gstdata_private.h: remove
22291 * gst/gsttypes.h: remove GstEvent and GstMessage
22292 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22293 * gst/gstmarshal.list: change BOXED -> OBJECT
22295 Implement GstMiniObject.
22296 * gst/gstminiobject.c:
22297 * gst/gstminiobject.h:
22299 Modify to be subclasses of GstMiniObject.
22300 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22301 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22302 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22303 (gst_subbuffer_get_type), (gst_subbuffer_init),
22304 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22307 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22308 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22309 (_gst_event_copy), (gst_event_new):
22311 * gst/gstmessage.c: (_gst_message_initialize),
22312 (gst_message_get_type), (gst_message_class_init),
22313 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22314 (gst_message_new), (gst_message_new_error),
22315 (gst_message_new_warning), (gst_message_new_tag),
22316 (gst_message_new_state_changed), (gst_message_new_application):
22317 * gst/gstmessage.h:
22318 * gst/gstprobe.c: (gst_probe_perform),
22319 (gst_probe_dispatcher_dispatch):
22321 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22322 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22323 (_gst_query_copy), (gst_query_new):
22325 Update elements for GstData -> GstMiniObject changes
22327 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22328 (gst_queue_chain), (gst_queue_loop):
22329 * gst/elements/gstbufferstore.c:
22330 (gst_buffer_store_add_buffer_func),
22331 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22332 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22333 (gst_fakesink_render):
22334 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22335 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22336 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22337 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22338 (gst_filesrc_create_read):
22339 * gst/elements/gstidentity.c: (gst_identity_class_init):
22340 * gst/elements/gsttypefindelement.c:
22341 (gst_type_find_element_src_event), (free_entry_buffers),
22342 (gst_type_find_element_handle_event):
22343 * libs/gst/dataprotocol/dataprotocol.c:
22344 (gst_dp_header_from_buffer):
22345 * libs/gst/dataprotocol/dataprotocol.h:
22346 * libs/gst/dataprotocol/dp-private.h:
22348 2005-05-15 David Schleef <ds@schleef.org>
22350 * gst/elements/gstelements.c: Don't include headers that were
22353 2005-05-15 David Schleef <ds@schleef.org>
22355 * gst/elements/Makefile.am: Remove some elements that don't
22356 need to be in the core (or even exist at all).
22357 * gst/elements/gstaggregator.c:
22358 * gst/elements/gstaggregator.h:
22359 * gst/elements/gstmd5sink.c:
22360 * gst/elements/gstmd5sink.h:
22361 * gst/elements/gstmultifilesrc.c:
22362 * gst/elements/gstmultifilesrc.h:
22363 * gst/elements/gstpipefilter.c:
22364 * gst/elements/gstpipefilter.h:
22365 * gst/elements/gstshaper.c:
22366 * gst/elements/gstshaper.h:
22367 * gst/elements/gststatistics.c:
22368 * gst/elements/gststatistics.h:
22369 * po/POTFILES.in: Remove above files.
22371 2005-05-14 Andy Wingo <wingo@pobox.com>
22373 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22374 so as to get the refs right.
22375 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22376 unreffing objects that don't pass the filter.
22378 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22379 gst_element_set_bus.
22380 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22381 normal cases, this will destroy the bus.
22383 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22386 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22389 2005-05-13 Andy Wingo <wingo@pobox.com>
22391 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22392 gst_pad_link, call pad_link_maybe_ghosting,
22393 (pad_link_maybe_ghosting): Links pads, making sure that the
22394 elements being linked are in the same bin.
22395 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22396 Helpers for pad_link_maybe_ghosting.
22398 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22401 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22403 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22405 * docs/design/part-element-source.txt:
22408 2005-05-12 Wim Taymans <wim@fluendo.com>
22410 * gst/base/gstbasesink.c: (gst_basesink_init),
22411 (gst_basesink_activate):
22412 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22413 (gst_basesrc_is_seekable):
22414 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22415 (bin_element_is_sink), (gst_bin_change_state):
22416 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22417 * gst/gstelement.h:
22418 Identify sinks by their flag to avoid overly complicated
22420 Do state changes even for elements not reachable from the
22422 BaseSink is a sink now :)
22423 Some more debugging info in the basesrc.
22426 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22428 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22429 Implement _query on a bin, similar to _send_event.
22431 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22433 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22434 Discont event offset format should be GST_FORMAT_BYTES,
22435 not GST_FORMAT_TIME.
22437 2005-05-12 Wim Taymans <wim@fluendo.com>
22439 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22440 Same fix as Ronald's but without the signal.
22442 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22444 * gst/gstutils.c: (gst_element_query_position):
22445 No, an element is not a pad.
22447 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22449 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22450 (gst_bin_get_state):
22451 If a child is removed from a bin while we remove the child from
22452 the bin and while we're retrieving its state, signal this to the
22453 get_state function so we abort the wait (instead of waiting for
22454 a timeout) and can immediately re-iterate over all other elements.
22456 2005-05-12 Wim Taymans <wim@fluendo.com>
22458 * gst/base/Makefile.am:
22459 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22460 (gst_basesrc_start):
22461 * gst/base/gstbasesrc.h:
22462 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22463 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22464 (gst_pushsrc_init), (gst_pushsrc_create):
22465 * gst/base/gstpushsrc.h:
22466 Added is_seekable to BaseSrc
22467 Added simple PushSrc.
22469 2005-05-11 Wim Taymans <wim@fluendo.com>
22471 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22472 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22473 (gst_element_link_pads), (gst_element_query_position),
22474 (gst_element_query_convert), (intersect_caps_func),
22475 (gst_pad_query_position), (gst_pad_query_convert):
22476 Fix refcounting in utils function.
22477 No point in trying to activate a pad when it's added, it could
22478 be added from the state change function and then we deadlock, the
22479 element has to decide what to do.
22481 2005-05-10 Andy Wingo <wingo@pobox.com>
22483 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22484 *all* the arguments.
22486 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22487 stream lock if it's a FLUSH_DONE; normal flushes don't get the
22488 lock (according to the docs -- if this is wrong change the docs).
22490 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22491 flush messages in the NULL state.
22493 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22494 message immediately and return.
22495 (gst_bus_set_flushing): New function. If a bus is flushing, it
22496 flushes out any queued messages and immediately unrefs new
22497 messages. This is so when an element goes to NULL, all of the
22498 unhandled messages coming from it can be freed, and their
22499 references to the element dropped. In other words: message source
22500 ref considered harmful :P
22502 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22503 we're finished with it.
22505 * gst/gstmessage.c (gst_message_new_state_changed):
22507 2005-05-10 Wim Taymans <wim@fluendo.com>
22509 * gst/gstvalue.c: (gst_value_compare_flags),
22510 (gst_value_serialize_flags), (gst_value_deserialize_flags),
22511 (_gst_value_initialize):
22512 Added flags serialize/deserialize/compare code.
22514 2005-05-09 Andy Wingo <wingo@pobox.com>
22516 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
22517 Intersect the peer's caps with our caps.
22519 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22521 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22522 * gst/elements/gsttypefindelement.c: (find_peek):
22523 Handle negative offsets better. Fixes decodebin.
22525 2005-05-09 Wim Taymans <wim@fluendo.com>
22527 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
22528 (gst_base_transform_event):
22529 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
22530 Implement accept_caps.
22531 Fix silly lock/unlock mismatch in base class.
22533 2005-05-09 Wim Taymans <wim@fluendo.com>
22535 * docs/design/draft-push-pull.txt:
22536 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
22537 * gst/elements/gstfilesink.c: (gst_filesink_init),
22538 (gst_filesink_query):
22539 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22540 (gst_type_find_handle_src_query), (find_element_get_length):
22541 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
22542 * gst/gstelement.h:
22543 * gst/gstmessage.c:
22544 * gst/gstmessage.h:
22545 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
22546 (gst_real_pad_get_caps_unlocked),
22547 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
22548 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22549 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
22550 (gst_real_pad_dispose), (gst_real_pad_finalize),
22551 (gst_pad_load_and_link), (gst_pad_save_thyself),
22552 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
22553 (gst_pad_check_pull_range), (gst_pad_pull_range),
22554 (gst_pad_template_get_type), (gst_pad_template_class_init),
22555 (gst_pad_template_init), (gst_pad_template_dispose),
22556 (name_is_valid), (gst_static_pad_template_get),
22557 (gst_pad_template_new), (gst_static_pad_template_get_caps),
22558 (gst_pad_template_get_caps), (gst_pad_set_element_private),
22559 (gst_pad_get_element_private), (gst_pad_start_task),
22560 (gst_pad_pause_task), (gst_pad_stop_task),
22561 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
22562 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
22563 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
22564 (gst_ghost_pad_new):
22566 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
22567 (gst_query_new_position), (gst_query_set_position),
22568 (gst_query_parse_position), (gst_query_new_convert),
22569 (gst_query_set_convert), (gst_query_parse_convert):
22571 * gst/gstqueryutils.c:
22572 * gst/gstqueryutils.h:
22573 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22574 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22575 (gst_queue_handle_src_query):
22576 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22577 (gst_element_query_position), (gst_element_query_convert),
22578 (intersect_caps_func), (gst_pad_query_position),
22579 (gst_pad_query_convert):
22581 * tools/gst-inspect.c: (print_pad_info):
22582 * tools/gst-xmlinspect.c: (print_element_info):
22583 Remove old query functions. Ported old code.
22584 Added position/convert helper functions to gstutils.
22585 Reordered gstpad.c code, grouping relevant things.
22586 Remove gst_message_new(), always need to speficy a specific
22590 2005-05-09 Andy Wingo <wingo@pobox.com>
22592 * gst/gstiterator.h: Add some includes.
22594 * gst/gstqueryutils.h: Include more headers.
22597 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
22598 some uses of gst_pad_query.
22600 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
22601 NULL out parameters.
22602 (gst_query_new_position): New proc, allocates a new position
22605 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
22606 gstqueryutils.c to the build.
22608 * gst/gststructure.c (gst_structure_set_valist): Implement with
22609 the generic G_VALUE_COLLECT.
22611 2005-05-08 Edward Hervey <bilboed@bilboed.com>
22613 * gst/Makefile.am: (gst_headers):
22614 Added gstqueryutils.h to the list of headers to install, that was
22615 a 'nachty' move wingo :)
22617 2005-05-06 Andy Wingo <wingo@pobox.com>
22620 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
22621 GstData, init a memchunk.
22622 (standard_definitions): Add a few query types, deprecate a few.
22623 (gst_query_get_type): New proc.
22624 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
22626 (gst_query_new_application, gst_query_get_structure): New public
22629 * docs/design/draft-query.txt: Removed LINKS from the query types,
22630 because all the rest can be dispatched to other pads -- seemed
22631 ugly to have a query that couldn't be dispatched. internal_links
22632 is fine as a pad method.
22634 * gst/gstpad.h: Add query2 as a pad method, add the new functions
22635 in gstpad.c, but maintain binary compatibility for the moment.
22636 Will fix before 0.9 is out.
22638 * gst/gstqueryutils.c:
22639 * gst/gstqueryutils.h: New files, implement 3 methods for each
22640 query type: parse_query, parse_response, and set. Probably need an
22643 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
22645 * gst/elements/gstfilesink.c (gst_filesink_query2):
22646 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
22647 query_types, and formats methods.
22649 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
22650 (gst_pad_set_query2_function): New functions.
22651 (gst_real_pad_init): Set query2_default as the default query2
22652 function. Basically just dispatches to internally linked pads.
22656 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
22657 without using the atomic operations. Only one thread can possibly
22658 be accessing the data at this point. Changed so as to avoid
22659 gst_atomic operations.
22661 2005-05-06 Wim Taymans <wim@fluendo.com>
22663 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
22664 Also set caps if we use the fallback buffer alloc.
22666 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
22668 * docs/gst/Makefile.am:
22669 * docs/gst/gstreamer-docs.sgml:
22670 * docs/gst/gstreamer-sections.txt:
22671 * docs/gst/tmpl/gstatomic.sgml:
22672 * docs/gst/tmpl/gstmemchunk.sgml:
22673 * testsuite/elements/struct_i386.h:
22674 * win32/GStreamer.vcproj:
22676 Purge GstAtomic stuff from docs and win32 makefiles as well
22678 2005-05-06 Wim Taymans <wim@fluendo.com>
22680 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
22681 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
22682 * gst/gstpad.c: (gst_pad_peer_get_caps):
22683 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22684 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22685 (gst_queue_src_activate), (gst_queue_change_state):
22687 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22688 (intersect_caps_func):
22689 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
22690 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
22691 Some fixes for the peer_get_caps() change.
22693 2005-05-06 Wim Taymans <wim@fluendo.com>
22695 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22696 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
22697 (gst_basesink_activate):
22698 Actually do something with error codes returned from the push
22701 2005-05-06 Wim Taymans <wim@fluendo.com>
22703 * docs/design/part-element-sink.txt:
22704 * docs/design/part-element-source.txt:
22705 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22706 (gst_basesink_event), (gst_basesink_activate):
22707 * gst/base/gstbasesink.h:
22708 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
22709 (gst_basesrc_activate):
22710 * gst/base/gstbasesrc.h:
22711 * gst/gstelement.c: (gst_element_pads_activate):
22712 Some more documentation.
22713 Fixed scheduling decision in _pads_activate().
22715 2005-05-05 Andy Wingo <wingo@pobox.com>
22717 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
22720 2005-05-05 Wim Taymans <wim@fluendo.com>
22722 * gst/base/Makefile.am:
22723 * gst/base/gstbasesink.h:
22724 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22725 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
22726 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
22727 (gst_collectpads_class_init), (gst_collectpads_init),
22728 (gst_collectpads_finalize), (gst_collectpads_new),
22729 (gst_collectpads_set_function), (gst_collectpads_add_pad),
22730 (find_pad), (gst_collectpads_remove_pad),
22731 (gst_collectpads_is_active), (gst_collectpads_collect),
22732 (gst_collectpads_collect_range), (gst_collectpads_start),
22733 (gst_collectpads_stop), (gst_collectpads_peek),
22734 (gst_collectpads_pop), (gst_collectpads_available),
22735 (gst_collectpads_read), (gst_collectpads_flush),
22736 (gst_collectpads_chain):
22737 * gst/base/gstcollectpads.h:
22738 * gst/elements/Makefile.am:
22739 * gst/elements/gstelements.c:
22740 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22741 (gst_fakesink_get_times), (gst_fakesink_event),
22742 (gst_fakesink_preroll), (gst_fakesink_render):
22743 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22744 (gst_filesink_init), (gst_filesink_set_location),
22745 (gst_filesink_open_file), (gst_filesink_close_file),
22746 (gst_filesink_pad_query), (gst_filesink_event),
22747 (gst_filesink_render), (gst_filesink_change_state):
22748 * gst/elements/gstfilesink.h:
22749 Added object to help in making collect pad based elements.
22751 Make event function in sink baseclass return gboolean.
22753 2005-05-05 Wim Taymans <wim@fluendo.com>
22755 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
22756 (gst_bin_get_by_name):
22758 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
22759 (gst_clock_finalize):
22760 * gst/gstdata.c: (gst_data_replace):
22762 * gst/gstelement.c: (gst_element_request_pad),
22763 (gst_element_pads_activate):
22764 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
22765 (gst_object_unref):
22766 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22767 (gst_pad_set_checkgetrange_function),
22768 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
22769 (gst_pad_check_pull_range), (gst_pad_pull_range),
22770 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22771 (gst_pad_pause_task), (gst_pad_stop_task):
22772 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22773 (gst_element_request_pad), (gst_pad_proxy_getcaps):
22774 Fix name lookup in GstBin.
22775 Added _data_replace() function and _buffer_replace()
22776 Use finalize method to clean up clock.
22777 Fix refcounting on request pads.
22778 Fix pad schedule mode error.
22779 Some more object refcounting debug info,
22782 2005-05-04 Andy Wingo <wingo@pobox.com>
22784 * check/Makefile.am:
22785 * docs/gst/tmpl/gstatomic.sgml:
22786 * docs/gst/tmpl/gstplugin.sgml:
22787 * gst/base/gstbasesink.c: (gst_basesink_activate):
22788 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
22789 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
22790 (gst_basesrc_query), (gst_basesrc_set_property),
22791 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
22792 (gst_basesrc_activate):
22793 * gst/base/gstbasesrc.h:
22794 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
22795 (gst_base_transform_src_activate):
22796 * gst/elements/gstelements.c:
22797 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22798 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22799 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22800 * gst/elements/gsttypefindelement.c: (find_element_get_length),
22801 (gst_type_find_element_checkgetrange),
22802 (gst_type_find_element_activate):
22803 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
22804 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
22805 (gst_caps_load_thyself):
22806 * gst/gstelement.c: (gst_element_pads_activate),
22807 (gst_element_save_thyself), (gst_element_restore_thyself):
22808 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
22809 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
22811 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
22812 (gst_xml_parse_file), (gst_xml_parse_memory),
22813 (gst_xml_get_element), (gst_xml_make_element):
22814 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22815 (_file_index_id_save_xml), (gst_file_index_commit):
22816 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
22817 (read_enum), (load_pad_template), (load_feature), (load_plugin),
22819 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
22820 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
22821 * tools/gst-complete.c: (main):
22822 * tools/gst-compprep.c: (main):
22823 * tools/gst-inspect.c: (print_element_properties_info):
22824 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
22825 * tools/gst-xmlinspect.c: (print_element_properties):
22828 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
22830 * gst/gstplugin.c: (gst_plugin_check_module),
22831 (gst_plugin_check_file), (gst_plugin_load_file):
22832 apply patch from #172526 to make register work on MacOSX
22834 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22836 * docs/gst/tmpl/gstconfig.sgml:
22837 * gst/gstconfig.h.in:
22838 move documentation for some symbols. Add doc for GST_PTR_FORMAT
22839 * testsuite/debug/printf_extension.c: (main):
22840 Do not use GST_PTR_FORMAT on pointers to types with
22841 sizeof < sizeof(gpointer). Fixes test on 64-bit
22842 * testsuite/elements/property.h:
22843 use correct printf format
22845 2005-05-02 Wim Taymans <wim@fluendo.com>
22847 * docs/design/draft-push-pull.txt:
22848 * docs/design/draft-query.txt:
22849 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
22850 (gst_basesrc_start):
22851 Added draft for new query API.
22852 Added draft for better selecting scheduling methods.
22853 Make basesrc ignore length if the subclass does not support
22856 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22859 possible fixes for automake-1.5 - _LIBADD is reserved
22861 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22863 * docs/faq/Makefile.am:
22864 * docs/manual/Makefile.am:
22865 * docs/manuals.mak:
22866 * docs/pwg/Makefile.am:
22868 possible fixes for automake-1.5
22870 2005-04-28 Wim Taymans <wim@fluendo.com>
22872 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22873 (gst_basesink_pad_getcaps), (gst_basesink_init),
22874 (gst_basesink_do_sync):
22875 * gst/gstclock.c: (gst_clock_entry_new):
22876 * gst/gstevent.c: (gst_event_discont_get_value):
22877 * gst/gstpipeline.c: (pipeline_bus_handler),
22878 (gst_pipeline_change_state):
22879 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22880 Better debugging of clocking info.
22881 Allow NULL values when getting discont values.
22883 2005-04-27 Wim Taymans <wim@fluendo.com>
22885 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22886 * check/gst/gstpad.c: (gst_pad_suite):
22887 Increase timeout for checks.
22889 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22891 * check/Makefile.am:
22892 fix the broken rule for cleanup. Apparently this rule is
22893 only needed on FC2, so maybe this warrants further autotool
22896 2005-04-26 Wim Taymans <wim@fluendo.com>
22898 * gst/gsttrashstack.h:
22899 Ooohh. a nasty one! After having a failed pop() from the stack,
22900 it's possible that the stack is empty. In that case, don't
22901 follow the NULL pointer.
22903 2005-04-25 Wim Taymans <wim@fluendo.com>
22905 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22906 (gst_pad_set_checkgetrange_function),
22907 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22908 (gst_pad_check_pull_range), (gst_pad_pull_range),
22909 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22910 (gst_pad_pause_task), (gst_pad_stop_task):
22911 * gst/gstplugin.c: (gst_plugin_load):
22913 Remove gst_library_load as it does more harm than good with
22914 the new g_module flags.
22915 Revert bogus caps template check in pad linking, pad caps
22916 are important when linking not the template, which is more
22917 general than the current caps.
22919 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22921 * gst/autoplug/.cvsignore:
22922 * gst/autoplug/Makefile.am:
22923 * gst/autoplug/gstsearchfuncs.c:
22924 * gst/autoplug/gstsearchfuncs.h:
22925 * gst/autoplug/gstspider.c:
22926 * gst/autoplug/gstspider.h:
22927 * gst/autoplug/gstspideridentity.c:
22928 * gst/autoplug/gstspideridentity.h:
22929 * gst/autoplug/spidertest.c:
22932 2005-04-25 Wim Taymans <wim@fluendo.com>
22934 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22935 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22936 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22937 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22939 Added stubs for unimplemented functions.
22941 2005-04-24 David Schleef <ds@schleef.org>
22943 * gst/gstpad.h: Disable some unimplemented functions. Wim,
22946 2005-04-24 David Schleef <ds@schleef.org>
22948 Convert everything from GstAtomicInt to g_atomic_int_*, and
22953 * gst/gstatomic_impl.h:
22961 * gst/gstdata_private.h:
22965 * gst/gstmessage.c:
22968 * gst/gststructure.c:
22969 * gst/gststructure.h:
22970 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22973 2005-04-24 David Schleef <ds@schleef.org>
22975 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22976 make the regressions tests work. Remove some code that is no
22978 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22979 Disable warning for pads without templates.
22981 2005-04-24 David Schleef <ds@schleef.org>
22983 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
22984 functions that handle filtered links.
22985 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22987 * gst/gstutils.c: Fix/remove utility functions that handle
22990 * gst/gstvalue.c: Add serialization/deserialization of caps
22991 * gst/parse/grammar.y: Ignore filtered caps when linking. This
22992 requires fixing so that the filter caps notation creates
22993 a capsfilter element and sets the filter_caps property. I
22994 think everyone probably wants to keep the shorthand notation.
22995 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22996 * docs/gst/tmpl/gstpad.sgml:
22998 * gst/elements/gstelements.c: Register capsfilter element.
22999 * gst/Makefile.am: fix spacing
23000 * docs/random/ds/0.9-suggested-changes: random
23002 2005-04-23 David Schleef <ds@schleef.org>
23004 * gst/elements/Makefile.am:
23005 * gst/elements/gstcapsfilter.c: New element that acts like an
23006 identity, but filters caps. Will eventually replace filtered
23007 caps in pad linking.
23008 * gst/gstutils.c: (gst_element_create_all_pads): New function
23009 to create all the ALWAYS pads that are registered with an
23010 element class. This functionality should eventually be
23011 merged in with GstElement initialization.
23013 * testsuite/trigger/README: part of trigger test code that should
23014 have been checked in a long time ago.
23016 2005-04-23 David Schleef <ds@schleef.org>
23018 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23019 needed with new versions of libtool (nobody will confirm this),
23020 and hard to carry around.
23021 * gst/autoplug/Makefile.am:
23022 * gst/base/Makefile.am:
23023 * gst/elements/Makefile.am:
23024 * gst/indexers/Makefile.am:
23025 * gst/schedulers/Makefile.am:
23026 * libs/gst/bytestream/Makefile.am:
23027 * libs/gst/control/Makefile.am:
23028 * libs/gst/dataprotocol/Makefile.am:
23029 * libs/gst/getbits/Makefile.am:
23031 2005-04-21 Wim Taymans <wim@fluendo.com>
23033 * docs/design/draft-push-pull.txt:
23034 * docs/design/part-MT-refcounting.txt:
23035 * docs/design/part-TODO.txt:
23036 * docs/design/part-caps.txt:
23037 * docs/design/part-events.txt:
23038 * docs/design/part-gstbus.txt:
23039 * docs/design/part-gstpipeline.txt:
23040 * docs/design/part-messages.txt:
23041 * docs/design/part-push-pull.txt:
23042 * docs/design/part-query.txt:
23045 2005-04-21 Wim Taymans <wim@fluendo.com>
23047 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23048 (gst_message_new), (gst_message_new_error),
23049 (gst_message_new_warning), (gst_message_new_tag),
23050 (gst_message_new_state_changed), (gst_message_new_application),
23051 (gst_message_get_structure):
23052 * gst/gstmessage.h:
23053 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23054 (gst_structure_copy_conditional):
23055 Use parent refcount in GstMessage to ensure GstStructure
23057 Cleaned up headers a bit.
23060 2005-04-20 Wim Taymans <wim@fluendo.com>
23062 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23063 (gst_basesink_pad_getcaps), (gst_basesink_init),
23064 (gst_basesink_chain_unlocked):
23065 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23066 (gst_type_find_helper):
23067 * gst/elements/gsttypefindelement.c:
23068 (gst_type_find_element_have_type), (gst_type_find_element_init),
23069 (stop_typefinding), (gst_type_find_element_handle_event),
23070 (find_suggest), (gst_type_find_element_chain),
23071 (gst_type_find_element_checkgetrange),
23072 (gst_type_find_element_getrange), (do_typefind),
23073 (gst_type_find_element_activate):
23074 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23075 (gst_buffer_default_free), (gst_buffer_default_copy),
23076 (gst_buffer_set_caps):
23077 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23078 (gst_caps_replace):
23079 * gst/gstmessage.c: (gst_message_new),
23080 (gst_message_new_state_changed):
23081 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23082 (gst_pad_set_checkgetrange_function),
23083 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23084 (gst_pad_set_caps), (gst_pad_check_pull_range),
23085 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23087 * gst/gsttypefind.c: (gst_type_find_register):
23088 Make gst_caps_replace() work like other _replace() functions.
23089 Use _caps_replace() where possible.
23090 Make sure _message_new() initialises its field.
23091 Add gst_static_pad_template_get_caps()
23094 2005-04-18 Andy Wingo <wingo@pobox.com>
23096 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23097 on the peer, not the pad. I think that was a typo. Pass an extra
23098 arg to see if random access is possible. Activate the pads as
23099 PULL_RANGE if possible.
23101 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23103 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23104 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23107 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23109 * docs/faq/using.xml:
23110 Add note on gstreamer-properties (#154996).
23112 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23114 * docs/random/bbb/optional-properties:
23115 Some analysis on optional properties.
23117 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23119 * docs/gst/tmpl/gstelementfactory.sgml:
23120 * gst/gstelement.h:
23121 * gst/gstelementfactory.c: (gst_element_factory_init),
23122 (gst_element_factory_cleanup), (gst_element_register),
23123 (__gst_element_factory_add_static_pad_template),
23124 (gst_element_factory_get_static_pad_templates),
23125 (gst_element_factory_can_src_caps),
23126 (gst_element_factory_can_sink_caps):
23127 * gst/registries/Makefile.am:
23128 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23129 (gst_xml_registry_class_init), (gst_xml_registry_init),
23130 (gst_xml_registry_new), (gst_xml_registry_set_property),
23131 (gst_xml_registry_get_property), (get_time), (make_dir),
23132 (gst_xml_registry_get_perms_func),
23133 (plugin_times_older_than_recurse), (plugin_times_older_than),
23134 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23135 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23136 (add_to_char_array), (read_string), (read_uint), (read_enum),
23137 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23138 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23139 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23140 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23141 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23142 (gst_xml_registry_rebuild):
23143 * gst/registries/gstlibxmlregistry.h:
23144 * tools/gst-compprep.c: (main):
23145 * tools/gst-inspect.c: (print_pad_templates_info):
23146 * tools/gst-xmlinspect.c: (print_element_info):
23147 Use libxml2 for registry parsing, use staticpadtemplates in
23148 elementfactories. Makes gst_init() +/- 10x faster.
23150 2005-04-12 Wim Taymans <wim@fluendo.com>
23152 * gst/base/Makefile.am:
23153 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23154 (gst_basesink_pad_getcaps), (gst_basesink_init),
23155 (gst_basesink_event), (gst_basesink_change_state):
23156 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23157 (gst_basesrc_init), (gst_basesrc_query),
23158 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23159 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23160 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23161 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23162 (gst_basesrc_stop), (gst_basesrc_activate),
23163 (gst_basesrc_change_state):
23164 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23165 (helper_find_suggest), (gst_type_find_helper):
23166 * gst/base/gsttypefindhelper.h:
23167 * gst/elements/Makefile.am:
23168 * gst/elements/gstelements.c:
23169 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23170 (gst_fakesink_get_times), (gst_fakesink_event),
23171 (gst_fakesink_preroll), (gst_fakesink_render):
23172 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23173 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23174 (gst_fakesrc_get_property), (gst_fakesrc_create),
23175 (gst_fakesrc_start), (gst_fakesrc_stop):
23176 * gst/elements/gstfakesrc.h:
23177 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23178 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23179 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23180 (gst_filesrc_create_read), (gst_filesrc_create),
23181 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23182 (gst_filesrc_start):
23183 * gst/elements/gsttypefindelement.c:
23184 (gst_type_find_element_have_type), (gst_type_find_element_init),
23185 (start_typefinding), (stop_typefinding), (push_buffer_store),
23186 (gst_type_find_element_handle_event),
23187 (gst_type_find_element_chain),
23188 (gst_type_find_element_checkgetrange),
23189 (gst_type_find_element_getrange), (do_typefind),
23190 (gst_type_find_element_activate),
23191 (gst_type_find_element_change_state):
23192 * gst/elements/gsttypefindelement.h:
23193 * gst/gstpipeline.c: (pipeline_bus_handler):
23194 Added typefind helper.
23195 Small preroll fix in the base sink.
23196 Disable typefind code in basesrc.
23197 Crude port of typefindelement.
23201 2005-04-11 Wim Taymans <wim@fluendo.com>
23203 * check/gst/gstbus.c: (gstbus_suite):
23204 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23205 * check/gstcheck.h:
23206 Fix up the timeout so that the test does not fail.
23208 2005-04-06 Wim Taymans <wim@fluendo.com>
23211 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23212 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23213 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23214 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23215 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23216 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23217 (gst_basesrc_stop), (gst_basesrc_activate),
23218 (gst_basesrc_change_state), (basesrc_find_peek),
23219 (basesrc_find_suggest), (gst_basesrc_type_find):
23220 * gst/base/gstbasesrc.h:
23221 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23222 (gst_filesrc_class_init), (gst_filesrc_init),
23223 (gst_filesrc_finalize), (gst_filesrc_set_location),
23224 (gst_filesrc_set_property), (gst_filesrc_get_property),
23225 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23226 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23227 (gst_filesrc_create_read), (gst_filesrc_create),
23228 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23229 * gst/elements/gstfilesrc.h:
23230 * gst/gstelement.c: (gst_element_get_state_func),
23231 (gst_element_lost_state), (gst_element_pads_activate):
23232 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23233 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23234 (gst_pad_pull_range):
23236 More work on the generic source base class, implement seeking,
23238 Make filesrc extend the base source class.
23239 Added gst_pad_set_checkgetrange_function to GstPad.
23241 2005-04-06 Andy Wingo <wingo@pobox.com>
23243 * pkgconfig/gstreamer-base.pc.in:
23244 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23246 * pkgconfig/Makefile.am:
23247 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23249 2005-04-04 Wim Taymans <wim@fluendo.com>
23251 * gst/base/Makefile.am:
23253 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23254 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23255 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23256 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23257 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23258 (gst_basesrc_base_init), (gst_basesrc_class_init),
23259 (gst_basesrc_init), (gst_basesrc_get_formats),
23260 (gst_basesrc_get_query_types), (gst_basesrc_query),
23261 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23262 (gst_basesrc_set_property), (gst_basesrc_get_property),
23263 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23264 (gst_basesrc_loop), (gst_basesrc_activate),
23265 (gst_basesrc_change_state):
23266 * gst/base/gstbasesrc.h:
23267 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23268 (gst_fakesrc_class_init), (gst_fakesrc_init),
23269 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23270 (gst_fakesrc_get_property), (gst_fakesrc_create):
23271 * gst/elements/gstfakesrc.h:
23272 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23273 (gst_filesrc_open_file), (gst_filesrc_loop),
23274 (gst_filesrc_activate), (filesrc_find_peek),
23275 (gst_filesrc_type_find):
23276 Made base source class, make fakesrc extend it.
23277 Add comments to basesink class.
23278 Some filesrc cleanup.
23280 2005-03-31 David Schleef <ds@schleef.org>
23282 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23283 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23284 expected to link against libgstreamer.
23285 * gst/base/Makefile.am: link against libgstreamer
23286 * gst/elements/Makefile.am: same
23288 2005-03-31 Andy Wingo <wingo@pobox.com>
23290 * tests/instantiate/Makefile.am:
23291 * tests/instantiate/caps.c: Add test to test speed of caps copy
23294 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23295 GMemChunk to be fair.
23297 * gst/gsttrashstack.h: Remove warning about using the fallback
23298 trash stack implementation, it's still faster than malloc.
23300 2005-03-30 Andy Wingo <wingo@pobox.com>
23302 * tests/complexity.c: Add a copyright.
23304 2005-03-31 Wim Taymans <wim@fluendo.com>
23306 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23307 (gst_base_transform_class_init), (gst_base_transform_init),
23308 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23309 (gst_base_transform_get_property),
23310 (gst_base_transform_sink_activate),
23311 (gst_base_transform_src_activate),
23312 (gst_base_transform_change_state):
23313 * gst/base/gstbasetransform.h:
23314 * gst/elements/gstidentity.c: (gst_identity_class_init),
23315 (gst_identity_event), (gst_identity_check_perfect),
23316 (gst_identity_transform), (gst_identity_start),
23317 (gst_identity_stop):
23318 Added start/stop methods to transform base class so subclasses
23319 don't need to deal with state changes even.
23321 2005-03-31 Wim Taymans <wim@fluendo.com>
23323 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23324 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23326 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23327 (gst_pad_pull_range):
23328 Added rate to the discont event to prepare for variable speed
23329 and reverse playback.
23331 2005-03-29 David Schleef <ds@schleef.org>
23334 * testsuite/trigger/Makefile.am:
23335 * testsuite/trigger/trigger.c: A little example program to show
23336 how trigger-based elements can work.
23338 2005-03-29 Wim Taymans <wim@fluendo.com>
23340 * gst/base/Makefile.am:
23342 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23343 (gst_basesink_base_init), (gst_basesink_class_init),
23344 (gst_basesink_pad_getcaps), (gst_basesink_init),
23345 (gst_basesink_activate), (gst_basesink_change_state):
23346 * gst/base/gstbasesink.h:
23347 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23348 (gst_base_transform_base_init), (gst_base_transform_finalize),
23349 (gst_base_transform_class_init), (gst_base_transform_init),
23350 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23351 (gst_base_transform_event), (gst_base_transform_getrange),
23352 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23353 (gst_base_transform_set_property),
23354 (gst_base_transform_get_property),
23355 (gst_base_transform_sink_activate),
23356 (gst_base_transform_src_activate),
23357 (gst_base_transform_change_state):
23358 * gst/base/gstbasetransform.h:
23359 * gst/elements/gstidentity.c: (gst_identity_finalize),
23360 (gst_identity_class_init), (gst_identity_init),
23361 (gst_identity_event), (gst_identity_check_perfect),
23362 (gst_identity_transform), (gst_identity_set_property),
23363 (gst_identity_get_property), (gst_identity_change_state):
23364 * gst/elements/gstidentity.h:
23365 * gst/gstelement.c: (gst_element_get_state_func),
23366 (gst_element_lost_state), (gst_element_pads_activate):
23367 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23368 (gst_pad_check_pull_range), (gst_pad_pull_range):
23370 Simplify pad activation.
23371 Added function to check if pull_range can be performed.
23372 Error out when pulling inactive or flushing pads.
23373 Removed const from refcounted types as it does not make sense.
23374 Simplify pad templates in basesink
23375 Added base class for simple 1-to-1 transforms.
23376 Make identity subclass the base transform.
23378 2005-03-29 Andy Wingo <wingo@pobox.com>
23380 * docs/libs/gstreamer-libs-overrides.txt:
23381 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23382 really don't understand what's going on, but like whatever. I want
23385 * docs/gst/Makefile.am:
23386 * docs/libs/Makefile.am: Dist the overrides files.
23388 * check/Makefile.am (clean-local): Remove .libs directories.
23390 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23391 elements to EXTRA_DIST, so po/ files are happy.
23393 * po/POTFILES.in: Er, remove it here.
23395 * po/POTFILES: Remove gstspider.c.
23397 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23399 * docs/libs/gstreamer-libs-docs.sgml:
23400 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23403 * tests/complexity.c (main): Set the length of the preroll queue
23404 on the sinks to prevent a lockup.
23406 * libs/gst/dataprotocol/Makefile.am:
23407 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23408 the same as the one in check/gst-libs/gdp.c.
23410 * po/, docs/gst/: Commit automatic changes to docs and po files.
23412 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23413 the versioned libgstbase.
23415 * check/Makefile.am: Depend on an unversioned gst-register, seems
23416 to make autoconf happier.
23418 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23420 2005-03-28 Wim Taymans <wim@fluendo.com>
23423 * docs/design/part-gstelement.txt:
23424 * docs/design/part-negotiation.txt:
23425 * docs/design/part-preroll.txt:
23426 * docs/design/part-scheduling.txt:
23427 * docs/design/part-states.txt:
23429 * gst/base/Makefile.am:
23431 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23432 (gst_basesink_base_init), (gst_basesink_class_init),
23433 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23434 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23435 (gst_basesink_set_pad_functions),
23436 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23437 (gst_basesink_set_property), (gst_basesink_get_property),
23438 (gst_base_sink_get_template), (gst_base_sink_get_caps),
23439 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23440 (gst_basesink_preroll_queue_push),
23441 (gst_basesink_preroll_queue_empty),
23442 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23443 (gst_basesink_event), (gst_basesink_get_times),
23444 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23445 (gst_basesink_chain_unlocked), (gst_basesink_chain),
23446 (gst_basesink_loop), (gst_basesink_activate),
23447 (gst_basesink_change_state):
23448 * gst/base/gstbasesink.h:
23449 * gst/elements/Makefile.am:
23450 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23451 (gst_fakesink_class_init), (gst_fakesink_init),
23452 (gst_fakesink_set_property), (gst_fakesink_get_property),
23453 (gst_fakesink_get_times), (gst_fakesink_event),
23454 (gst_fakesink_preroll), (gst_fakesink_render),
23455 (gst_fakesink_change_state):
23456 * gst/elements/gstfakesink.h:
23457 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23458 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23459 * gst/gstelement.c: (gst_element_add_pad),
23460 (gst_element_get_state_func), (gst_element_abort_state),
23461 (gst_element_commit_state), (gst_element_lost_state),
23462 (gst_element_set_state), (gst_element_pads_activate):
23463 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23464 * gst/gstpipeline.c: (gst_pipeline_send_event),
23465 (gst_pipeline_change_state):
23466 Added state change code.
23467 Added/updated docs.
23468 Added sink base class, make fakesink extend the base class.
23469 Small cleanups in GstPipeline.
23471 2005-03-26 David Schleef <ds@schleef.org>
23473 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
23474 is broken and should be implemented in a different library.
23475 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23476 * gst/gst.h: remove gstcpu.h
23477 * gst/gstcpu.c: remove
23478 * gst/gstcpu.h: remove
23479 * gst/Makefile.am.future: Remove this file. It's ancient.
23481 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23483 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23484 (gst_bin_send_event):
23485 Add default event/set_manager handlers. The set_manager handler
23486 takes care that the manager is distributed over kids that were
23487 already in the bin before the manager was set. The event handler
23488 is a utility virtual function that sends the event over all sinks,
23489 so that gst_element_send_event (bin, event); has the expected
23491 * gst/gstpad.c: (gst_pad_event_default):
23492 Re-install default event handling for discontinuities, so that
23493 seeking works without requiring hacks in applications or extra
23495 * gst/gstpipeline.c: (gst_pipeline_class_init),
23496 (gst_pipeline_send_event):
23497 Half hack, half utility: set a pipeline to PAUSED for seek events,
23498 since that is the only way we can guarantee a/v sync. Means that
23499 you can do gst_element_seek (pipeline, method, pos); on a pipeline
23500 and it "just works".
23502 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23504 * gst/gstpipeline.c: (gst_pipeline_use_clock):
23505 Lock/unlock mismatch.
23507 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
23509 * docs/faq/gst-uninstalled:
23510 add gst-plugins-base
23511 * docs/gst/Makefile.am:
23512 don't error out until docs are fixed
23513 * docs/gst/gstreamer.types:
23516 2005-03-22 Wim Taymans <wim@fluendo.com>
23518 * check/Makefile.am:
23519 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
23520 * gst/gststructure.c: (gst_structure_set_valist),
23521 (gst_structure_copy_conditional):
23522 Activated more tests.
23523 Added message test.
23524 Added G_TYPE_POINTER to GstStructure.
23527 2005-03-22 Wim Taymans <wim@fluendo.com>
23529 * docs/design/part-TODO.txt:
23530 * docs/design/part-events.txt:
23531 * docs/design/part-gstbin.txt:
23532 * docs/design/part-gstbus.txt:
23533 * docs/design/part-gstpipeline.txt:
23534 * docs/design/part-messages.txt:
23536 * gst/gstmessage.c:
23539 2005-03-21 Wim Taymans <wim@fluendo.com>
23541 * gst/gstbus.c: (gst_bus_post):
23542 Fix copy-and-paste error.
23544 2005-03-21 Wim Taymans <wim@fluendo.com>
23546 * check/Makefile.am:
23548 * gst/elements/Makefile.am:
23549 * gst/elements/gstelements.c:
23550 * gst/elements/gstfakesink.c: (gst_fakesink_init),
23551 (gst_fakesink_event), (gst_fakesink_chain):
23552 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23553 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
23554 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
23555 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
23556 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23557 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
23558 (gst_fakesrc_loop), (gst_fakesrc_activate),
23559 (gst_fakesrc_change_state):
23560 * gst/elements/gstfakesrc.h:
23561 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
23562 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
23563 (gst_filesrc_open_file), (gst_filesrc_loop),
23564 (gst_filesrc_activate), (gst_filesrc_change_state),
23565 (filesrc_find_peek), (filesrc_find_suggest),
23566 (gst_filesrc_type_find):
23567 * gst/elements/gstidentity.c: (gst_identity_finalize),
23568 (gst_identity_class_init), (gst_identity_init),
23569 (gst_identity_proxy_getcaps), (identity_queue_push),
23570 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
23571 (gst_identity_getrange), (gst_identity_chain),
23572 (gst_identity_sink_loop), (gst_identity_src_loop),
23573 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
23574 (gst_identity_set_property), (gst_identity_get_property),
23575 (gst_identity_change_state):
23576 * gst/elements/gstidentity.h:
23577 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
23578 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
23579 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
23580 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
23581 (gst_tee_sink_activate):
23582 * gst/elements/gsttee.h:
23583 * gst/gst.c: (gst_register_core_elements), (init_post):
23585 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
23586 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
23587 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
23588 (gst_bin_change_state):
23590 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
23591 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
23592 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
23593 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
23594 (gst_bus_set_sync_handler), (gst_bus_create_watch),
23595 (bus_watch_callback), (bus_watch_destroy),
23596 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
23597 (poll_timeout), (gst_bus_poll):
23601 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23602 (gst_element_post_message), (gst_element_message_full),
23603 (gst_element_get_state_func), (gst_element_get_state),
23604 (gst_element_abort_state), (gst_element_commit_state),
23605 (gst_element_lost_state), (gst_element_set_state),
23606 (gst_element_pads_activate), (gst_element_change_state),
23607 (gst_element_dispose), (gst_element_set_manager_func),
23608 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
23609 (gst_element_set_manager), (gst_element_get_manager),
23610 (gst_element_set_bus), (gst_element_get_bus),
23611 (gst_element_set_scheduler), (gst_element_get_scheduler):
23612 * gst/gstelement.h:
23613 * gst/gstevent.c: (gst_event_new_segment_seek),
23614 (gst_event_new_flush):
23616 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
23617 (_gst_message_free), (gst_message_get_type), (gst_message_new),
23618 (gst_message_new_eos), (gst_message_new_error),
23619 (gst_message_new_warning), (gst_message_new_tag),
23620 (gst_message_new_state_changed), (gst_message_new_application),
23621 (gst_message_get_structure), (gst_message_parse_tag),
23622 (gst_message_parse_state_changed), (gst_message_parse_error),
23623 (gst_message_parse_warning):
23624 * gst/gstmessage.h:
23625 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
23626 (gst_real_pad_set_property), (gst_pad_set_active),
23627 (gst_pad_is_active), (gst_pad_set_blocked_async),
23628 (gst_pad_set_blocked), (gst_pad_is_blocked),
23629 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
23630 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
23631 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
23632 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
23633 (gst_pad_link_filtered), (gst_pad_relink_filtered),
23634 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
23635 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
23636 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
23637 (gst_pad_set_caps), (gst_pad_configure_sink),
23638 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
23639 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
23640 (gst_real_pad_dispose), (gst_real_pad_finalize),
23641 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
23642 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23643 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
23645 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
23646 (pipeline_bus_handler), (gst_pipeline_change_state),
23647 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
23648 * gst/gstpipeline.h:
23650 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23651 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
23652 (gst_queue_link_src), (gst_queue_bufferalloc),
23653 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
23654 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
23655 (gst_queue_loop), (gst_queue_handle_src_event),
23656 (gst_queue_handle_src_query), (gst_queue_src_activate),
23657 (gst_queue_change_state):
23659 * gst/gstscheduler.c: (gst_scheduler_init),
23660 (gst_scheduler_dispose), (gst_scheduler_create_task),
23661 (gst_scheduler_factory_create):
23662 * gst/gstscheduler.h:
23663 * gst/gststructure.c: (gst_structure_get_type),
23664 (gst_structure_copy_conditional):
23665 * gst/gststructure.h:
23666 * gst/gsttaginterface.h:
23667 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23668 (gst_task_init), (gst_task_dispose), (gst_task_create),
23669 (gst_task_get_state), (gst_task_start), (gst_task_stop),
23675 * gst/schedulers/Makefile.am:
23676 * gst/schedulers/cothreads_compat.h:
23677 * gst/schedulers/entryscheduler.c:
23678 * gst/schedulers/faircothreads.c:
23679 * gst/schedulers/faircothreads.h:
23680 * gst/schedulers/fairscheduler.c:
23681 * gst/schedulers/gstbasicscheduler.c:
23682 * gst/schedulers/gstoptimalscheduler.c:
23683 * gst/schedulers/gthread-cothreads.h:
23684 * gst/schedulers/threadscheduler.c:
23685 (gst_thread_scheduler_task_get_type),
23686 (gst_thread_scheduler_task_class_init),
23687 (gst_thread_scheduler_task_init),
23688 (gst_thread_scheduler_task_start),
23689 (gst_thread_scheduler_task_stop),
23690 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
23691 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23692 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
23693 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
23695 * libs/gst/Makefile.am:
23696 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
23697 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
23698 (gst_file_pad_parent_set):
23699 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23700 (gst_dp_event_from_packet):
23701 * tests/complexity.c: (main):
23702 * tests/mass_elements.c: (main):
23703 * testsuite/states/locked.c: (message_received), (main):
23704 * testsuite/states/parent.c: (main):
23705 * tools/gst-inspect.c: (print_element_flag_info),
23706 (print_implementation_info), (print_pad_info):
23707 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
23709 * tools/gst-md5sum.c: (event_loop), (main):
23710 * tools/gst-typefind.c: (main):
23711 * tools/gst-xmlinspect.c: (print_element_info):
23713 Added GstBus for mainloop integration.
23714 Added GstMessage for sending notifications on the bus.
23715 Added GstTask as an abstraction for pipeline entry points.
23717 Removed Schedulers.
23718 Simplified GstQueue for multithreaded core.
23719 Made _link threadsafe, removed old capsnego.
23720 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
23721 Added pad blocking functions.
23722 Reworked scheduling functions in GstPad to prepare for
23723 scheduling updates soon.
23724 Moved events out of data stream.
23725 Simplified GstEvent types.
23726 Added return values to push/pull.
23727 Removed clocking from GstElement.
23728 Added prototypes for state change function for next merge.
23729 Removed iterate from bins and state change management.
23730 Fixed some elements, disabled others for now.
23731 Fixed -inspect and -launch.
23732 Added check for GstBus.
23734 2005-03-10 Wim Taymans <wim@fluendo.com>
23736 * docs/design/part-MT-refcounting.txt:
23737 * docs/design/part-clocks.txt:
23738 * docs/design/part-gstelement.txt:
23739 * docs/design/part-gstobject.txt:
23740 * docs/design/part-standards.txt:
23741 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23742 (gst_bin_remove_func), (gst_bin_remove):
23746 * testsuite/clock/clock1.c: (main):
23747 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
23749 * testsuite/dlopen/loadgst.c: (do_test):
23750 * testsuite/refcounting/bin.c: (add_remove_test1),
23751 (add_remove_test2), (main):
23752 * testsuite/refcounting/element.c: (main):
23753 * testsuite/refcounting/element_pad.c: (main):
23754 * testsuite/refcounting/pad.c: (main):
23755 * tools/gst-launch.c: (sigint_handler_sighandler):
23756 * tools/gst-typefind.c: (main):
23758 Added doc about clock.
23759 removed gst_bin_iterate_recurse_up(), marked methods
23761 Fix more testsuites.
23763 2005-03-09 Wim Taymans <wim@fluendo.com>
23765 * gst/gstpad.c: (gst_pad_get_direction),
23766 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
23767 (gst_pad_collect_valist):
23768 * testsuite/bins/interface.c: (main):
23769 * testsuite/caps/audioscale.c: (test_caps):
23770 * testsuite/caps/caps.c: (test1), (test2), (test3):
23771 * testsuite/caps/deserialize.c: (main):
23772 * testsuite/caps/enumcaps.c: (main):
23773 * testsuite/caps/filtercaps.c: (main):
23774 * testsuite/caps/intersect2.c: (main):
23775 * testsuite/caps/random.c: (main):
23776 * testsuite/caps/renegotiate.c: (my_fixate), (main):
23777 * testsuite/caps/sets.c: (check_caps):
23778 * testsuite/caps/simplify.c: (check_caps), (main):
23779 * testsuite/caps/subtract.c: (check_caps):
23780 Fix _pad_get_direction wrt ghostpads.
23781 Fix caps testsuite.
23783 2005-03-09 Wim Taymans <wim@fluendo.com>
23785 * check/Makefile.am:
23786 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
23787 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
23788 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
23789 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
23790 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
23791 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
23792 (gst_bin_remove), (gst_bin_iterate_recurse_up),
23793 (bin_element_is_sink), (gst_bin_iterate_sinks),
23794 (gst_bin_iterate_all_by_interface):
23796 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
23797 (gst_element_change_state), (gst_element_dispose),
23798 (gst_element_finalize), (gst_element_set_loop_function):
23799 * gst/gstelement.h:
23800 * gst/gstiterator.c: (find_custom_fold_func):
23801 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23802 (gst_pad_collectv), (gst_pad_collect_valist),
23803 (gst_pad_template_new):
23804 * gst/gstpipeline.c: (gst_pipeline_class_init),
23805 (gst_pipeline_dispose), (gst_pipeline_set_property),
23806 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
23807 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
23808 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
23810 * gst/schedulers/entryscheduler.c:
23811 * gst/schedulers/gstbasicscheduler.c:
23812 (gst_basic_scheduler_cothreaded_chain),
23813 (gst_basic_scheduler_chain_add_element):
23814 * testsuite/bins/interface.c: (main):
23816 Added GstSystemClock test.
23817 Implemented clock distribution code in GstBin.
23818 Implemented iterate sinks method for future use.
23819 Rearranged gstelement.h
23820 Fix GstIterator comparison bug.
23821 Moved some code to GstPipeline, mostly clocking related.
23823 2005-03-09 Wim Taymans <wim@fluendo.com>
23826 * gst/gst_private.h:
23827 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23828 (gst_bin_remove_func), (gst_bin_remove),
23829 (gst_bin_get_by_name_recurse_up):
23830 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
23831 (gst_clock_id_compare_func), (gst_clock_id_wait),
23832 (gst_clock_id_wait_async), (gst_clock_init),
23833 (gst_clock_adjust_unlocked), (gst_clock_get_time):
23834 * gst/gstelement.h:
23835 * gst/gstinfo.c: (_gst_debug_init):
23837 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23838 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
23840 Bump version number, we're now 0.9.0
23841 Add future debugging category.
23842 Fix NULL _unref() in _get_by_name_recurse_up
23843 Rearrange gstpad.h.
23846 2005-03-08 Wim Taymans <wim@fluendo.com>
23848 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
23849 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
23850 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23851 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23852 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23853 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23854 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23855 * gst/elements/gstidentity.c: (gst_identity_class_init):
23856 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23857 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23858 * gst/elements/gstshaper.c: (gst_shaper_class_init):
23859 * gst/elements/gststatistics.c: (gst_statistics_class_init):
23860 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23862 * gst/gstelement.c: (gst_element_class_init),
23863 (gst_element_base_class_init), (gst_element_init),
23864 (gst_element_get_random_pad), (gst_element_wait_state_change),
23865 (gst_element_change_state), (gst_element_dispose),
23866 (gst_element_finalize), (gst_element_set_loop_function):
23867 * gst/gstelement.h:
23868 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23869 * gst/gstthread.c: (gst_thread_class_init),
23870 (gst_thread_release_children_locks), (gst_thread_change_state):
23871 * gst/schedulers/gstbasicscheduler.c:
23872 (gst_basic_scheduler_loopfunc_wrapper),
23873 (gst_basic_scheduler_chain_wrapper),
23874 (gst_basic_scheduler_src_wrapper),
23875 (gst_basic_scheduler_remove_element):
23876 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23877 Remove threadsafe properties. Fix elements because GObject
23878 complains when installing a property before declaring a
23879 set/get_property handler.
23880 Rearrange gstelement.h file, use STATE macros for state locks.
23881 Free mutexes in the finalize method instead of dispose.
23883 2005-03-08 Wim Taymans <wim@fluendo.com>
23885 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23886 * gst/gstthread.c: (gst_thread_release_children_locks):
23887 Added parentage check.
23888 Fix build og GstThread again.
23890 2005-03-08 Wim Taymans <wim@fluendo.com>
23892 * docs/design/part-MT-refcounting.txt:
23893 * docs/design/part-conventions.txt:
23894 * docs/design/part-gstobject.txt:
23895 * docs/design/part-relations.txt:
23896 * docs/design/part-standards.txt:
23897 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23898 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23899 (gst_bin_get_by_name), (gst_bin_get_by_interface),
23900 (gst_bin_iterate_all_by_interface):
23903 * gst/gstelement.c: (gst_element_class_init),
23904 (gst_element_change_state), (gst_element_set_loop_function):
23905 * gst/gstelement.h:
23906 * gst/gstiterator.c:
23907 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23908 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23909 (gst_object_dispatch_properties_changed), (gst_object_set_name),
23910 (gst_object_set_parent), (gst_object_unparent),
23911 (gst_object_check_uniqueness):
23913 Docs updates, clean up some headers.
23915 2005-03-07 Wim Taymans <wim@fluendo.com>
23917 * check/.cvsignore:
23918 * check/Makefile.am:
23919 * check/gst-libs/.cvsignore:
23920 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23921 * check/gst/.cvsignore:
23922 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23923 (START_TEST), (gstbus_suite), (main):
23924 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23925 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23926 (gst_data_suite), (main):
23927 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23928 (add_fold_func), (gstiterator_suite), (main):
23929 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23930 (thread_name_object), (thread_name_object_default),
23931 (gst_object_name_compare), (gst_object_suite), (main):
23932 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23933 (gst_pad_suite), (main):
23934 * check/gstcheck.c: (gst_check_log_message_func),
23935 (gst_check_log_critical_func), (gst_check_init):
23936 * check/gstcheck.h:
23937 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23938 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23941 2005-03-07 Wim Taymans <wim@fluendo.com>
23943 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23944 (gst_list_iterator_next), (gst_list_iterator_resync),
23945 (gst_list_iterator_free), (gst_iterator_new_list),
23946 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23947 (gst_iterator_free), (gst_iterator_push), (filter_next),
23948 (filter_resync), (filter_uninit), (filter_free),
23949 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23950 (gst_iterator_foreach), (find_custom_fold_func),
23951 (gst_iterator_find_custom):
23952 * gst/gstiterator.h:
23953 Added missing files.
23955 2005-03-07 Wim Taymans <wim@fluendo.com>
23959 * docs/design/part-MT-refcounting.txt:
23960 * docs/design/part-conventions.txt:
23961 * docs/design/part-gstobject.txt:
23962 * docs/design/part-relations.txt:
23963 * examples/mixer/mixer.c: (main):
23964 * examples/thread/thread.c: (eos), (main):
23966 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23967 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23968 (gst_spider_plug_from_srcpad):
23969 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23970 (gst_spider_identity_change_state),
23971 (gst_spider_identity_sink_loop_type_finding):
23972 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23973 * gst/elements/gstidentity.c: (gst_identity_init):
23974 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23975 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23976 * gst/elements/gsttypefindelement.c: (free_entry):
23979 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23980 (gst_bin_set_clock_func), (gst_bin_auto_clock),
23981 (gst_bin_set_index), (gst_bin_set_element_sched),
23982 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23983 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23984 (gst_bin_iterate_elements), (iterate_child_recurse),
23985 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23986 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23987 (compare_interface), (gst_bin_get_by_interface),
23988 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23990 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23991 (gst_buffer_default_free), (gst_buffer_default_copy),
23992 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23993 (gst_buffer_create_sub):
23995 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23996 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23997 (gst_caps_unref), (gst_static_caps_get),
23998 (gst_caps_remove_and_get_structure), (gst_caps_append),
23999 (gst_caps_append_structure), (gst_caps_remove_structure),
24000 (gst_caps_copy_nth), (gst_caps_set_simple),
24001 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24002 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24003 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24004 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24005 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24006 (gst_caps_structure_figure_out_union),
24007 (gst_caps_switch_structures), (gst_caps_do_simplify),
24008 (gst_caps_replace), (gst_caps_from_string),
24009 (gst_caps_copy_conditional):
24011 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24012 (_gst_clock_id_free), (gst_clock_id_unref),
24013 (gst_clock_id_compare_func), (gst_clock_id_wait),
24014 (gst_clock_id_wait_async), (gst_clock_class_init),
24015 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24016 (gst_clock_get_time), (gst_clock_set_time_adjust),
24017 (gst_clock_set_property), (gst_clock_get_property):
24020 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24021 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24023 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24024 (gst_element_requires_clock), (gst_element_provides_clock),
24025 (gst_element_set_clock), (gst_element_clock_wait),
24026 (gst_element_wait), (gst_element_set_time_delay),
24027 (gst_element_is_indexable), (gst_element_add_pad),
24028 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24029 (pad_compare_name), (gst_element_get_static_pad),
24030 (gst_element_request_pad), (gst_element_get_request_pad),
24031 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24032 (gst_element_class_get_pad_template_list),
24033 (gst_element_class_get_pad_template), (gst_element_error_func),
24034 (gst_element_get_random_pad), (gst_element_get_event_masks),
24035 (gst_element_send_event), (gst_element_seek),
24036 (gst_element_get_query_types), (gst_element_query),
24037 (gst_element_get_formats), (gst_element_convert),
24038 (gst_element_is_locked_state), (gst_element_set_locked_state),
24039 (gst_element_sync_state_with_parent), (gst_element_change_state),
24040 (gst_element_finalize), (gst_element_yield),
24041 (gst_element_interrupt), (gst_element_set_scheduler),
24042 (gst_element_get_scheduler), (gst_element_set_loop_function):
24043 * gst/gstelement.h:
24045 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24046 (gst_format_get_by_nick), (gst_format_get_details),
24047 (gst_format_iterate_definitions):
24049 * gst/gstindex.c: (gst_index_gtype_resolver):
24052 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24053 (gst_mem_chunk_free):
24054 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24055 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24056 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24057 (gst_object_dispatch_properties_changed),
24058 (gst_object_set_name_default), (gst_object_set_name),
24059 (gst_object_get_name), (gst_object_set_name_prefix),
24060 (gst_object_get_name_prefix), (gst_object_set_parent),
24061 (gst_object_get_parent), (gst_object_unparent),
24062 (gst_object_check_uniqueness), (gst_object_save_thyself),
24063 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24064 (gst_object_set_property), (gst_object_get_property),
24065 (gst_object_get_path_string):
24067 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24068 (gst_real_pad_init), (gst_real_pad_get_property),
24069 (gst_pad_custom_new), (gst_pad_get_direction),
24070 (gst_pad_set_active), (gst_pad_is_active),
24071 (gst_pad_set_event_function), (gst_pad_is_linked),
24072 (gst_pad_link_free), (gst_pad_link_intersect),
24073 (gst_pad_link_fixate), (gst_pad_set_caps),
24074 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24075 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24076 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24077 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24078 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24079 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24080 (gst_pad_realize), (gst_pad_get_allowed_caps),
24081 (gst_real_pad_dispose), (gst_real_pad_finalize),
24082 (gst_pad_collectv), (gst_pad_collect_valist),
24083 (gst_pad_template_dispose), (gst_pad_template_new),
24084 (gst_pad_get_internal_links):
24086 * gst/gstpipeline.c: (gst_pipeline_dispose),
24087 (gst_pipeline_change_state):
24088 * gst/gstpipeline.h:
24090 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24091 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24092 * gst/gstpluginfeature.h:
24093 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24094 * gst/gstquery.c: (_gst_query_type_initialize),
24095 (gst_query_type_register), (gst_query_type_get_by_nick),
24096 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24098 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24099 * gst/gstscheduler.c: (gst_scheduler_add_element),
24100 (gst_scheduler_factory_create):
24101 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24102 (gst_structure_free), (gst_structure_set_name),
24103 (gst_structure_id_set_value), (gst_structure_set_value),
24104 (gst_structure_set_valist), (gst_structure_remove_field),
24105 (gst_structure_remove_fields),
24106 (gst_structure_remove_fields_valist),
24107 (gst_structure_remove_all_fields), (gst_structure_foreach),
24108 (gst_structure_map_in_place),
24109 (gst_caps_structure_fixate_field_nearest_int),
24110 (gst_caps_structure_fixate_field_nearest_double):
24111 * gst/gststructure.h:
24112 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24113 (gst_system_clock_init), (gst_system_clock_dispose),
24114 (gst_system_clock_async_thread),
24115 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24116 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24117 * gst/gstsystemclock.h:
24118 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24119 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24120 * gst/gsttaginterface.c:
24121 * gst/gstthread.c: (gst_thread_dispose),
24122 (gst_thread_release_children_locks), (gst_thread_change_state),
24123 (gst_thread_main_loop):
24124 * gst/gsttrashstack.h:
24125 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24127 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24128 (gst_element_request_pad), (gst_element_get_pad_from_template),
24129 (gst_element_request_compatible_pad),
24130 (gst_element_get_compatible_pad_filtered),
24131 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24132 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24133 (gst_element_link_many), (gst_element_link),
24134 (gst_element_link_pads), (gst_element_unlink_pads),
24135 (gst_element_unlink_many), (gst_element_unlink),
24136 (gst_pad_can_link_filtered), (gst_pad_can_link),
24137 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24138 (gst_object_default_error), (gst_bin_add_many),
24139 (gst_bin_remove_many), (gst_element_populate_std_props),
24140 (gst_element_class_install_std_props), (gst_buffer_merge),
24141 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24142 (link_fold_func), (gst_pad_proxy_setcaps):
24144 * gst/gstvalue.c: (gst_value_deserialize_string):
24145 * gst/parse/grammar.y:
24146 * gst/schedulers/gstbasicscheduler.c:
24147 (gst_basic_scheduler_cothreaded_chain),
24148 (gst_basic_scheduler_chain_recursive_add),
24149 (gst_basic_scheduler_pad_link):
24150 * gst/schedulers/gstoptimalscheduler.c:
24151 (get_group_schedule_function),
24152 (gst_opt_scheduler_state_transition),
24153 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24154 * libs/gst/bytestream/bytestream.c:
24155 * libs/gst/dataprotocol/dataprotocol.c:
24156 (gst_dp_header_from_buffer):
24159 * tests/threadstate/threadstate2.c: (eos):
24160 * tools/gst-compprep.c: (main):
24161 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24162 (print_pad_info), (print_children_info):
24163 * tools/gst-launch.c: (idle_func), (main):
24164 * tools/gst-md5sum.c: (idle_func), (main):
24165 * tools/gst-xmlinspect.c: (print_element_info):
24166 First THREADED backport attempt, focusing on adding locks and
24167 making sure the API is threadsafe. Needs more work. More docs
24170 2005-02-24 Andy Wingo <wingo@pobox.com>
24172 * tests/bench-complexity.scm:
24173 * tests/complexity.gnuplot: New files, good for running complexity
24176 * tests/Makefile.am:
24177 * tests/complexity.c: New test, sets up N elements, at each level
24178 teeing into M streams per element. Eeeenteresting.
24180 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24181 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24182 running bench-mass_elements.scm.
24184 * tests/bench-mass_elements.scm: New script, runs mass_elements
24185 for various numbers of identities, outputting the results to a
24186 file. Requires guile 1.6. Just for testing.
24188 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24190 * gst/schedulers/fairscheduler.c:
24191 compile with debug disabled
24193 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24196 hunting season on 0.9 is now OPEN