1 2005-11-28 Wim Taymans <wim@fluendo.com>
3 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7 (do_linear_regression), (gst_clock_add_observation):
9 Release lock when the clock cannot be slaved.
10 Catch the case where the regression returned an invalid denominator.
12 * gst/gstutils.c: (gst_util_div128_64_iterate),
13 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15 Add protentially more performant non-iterative 128/64 divide function
16 that unfortunatly does not work yet.
17 Shortcut the trivial 0/X = 0 case.
18 Remove the warnings on overflow.
20 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
22 * gst/gstplugin.c: (gst_plugin_register_func):
23 everything causing a plugin not to load should be at least a WARNING
25 2005-11-28 Stefan Kost <ensonic@users.sf.net>
27 * docs/random/ensonic/dparams.txt:
28 some TODOs for the next dev cycle
29 * libs/gst/controller/gstcontroller.c:
30 (gst_controlled_property_set_interpolation_mode),
31 (gst_controlled_property_new):
32 * libs/gst/controller/gstcontroller.h:
33 use base type to assign acccessor functions
35 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
38 Oops, that should have been top_srcdir
40 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
43 * check/elements/fdsrc.c: (GST_START_TEST):
44 Use a cmdline define to specify the location of a file to use for
45 testing, to avoid breaking distcheck.
47 2005-11-28 Andy Wingo <wingo@pobox.com>
49 * gst/gstpad.c (fixate_value): Use array functions for arrays.
51 2005-11-28 Edward Hervey <edward@fluendo.com>
53 * tools/gst-launch.c: (main):
54 Clarify the output strings, makes it easier to translate.
57 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
60 don't try and build net if we don't even have <sys/socket.h>
62 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
65 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
66 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
67 Add tests for fdsrc seekability
69 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
70 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
71 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
72 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
73 * gst/elements/gstfdsrc.h:
74 fdsrc should not be a 'live' source.
75 Implement seeking on seekable fd's.
77 * gst/gstquery.c: (gst_query_new_seeking),
78 (gst_query_parse_seeking):
80 Implement SEEKING query functions:
81 *_new_seeking and *_parse_seeking
83 2005-11-27 Stefan Kost <ensonic@users.sf.net>
85 * gst/gstelement.c: (gst_element_dispose):
92 * libs/gst/controller/gstcontroller.c:
93 (gst_controlled_property_set_interpolation_mode):
94 * libs/gst/controller/gstcontroller.h:
95 * libs/gst/controller/gstinterpolation.c:
96 (interpolate_none_get_enum_value_array):
97 support controlling enums
99 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
102 Improve documentation for gst_value_union().
105 Change return value for union, intersect and subtract functions
106 from gint to gboolean.
108 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
110 * gst/gstvalue.c: (gst_value_serialize_any_list),
111 (gst_value_transform_any_list_string),
112 (gst_value_deserialize_list), (gst_value_deserialize_array),
113 (gst_value_set_int_range), (gst_value_deserialize_int_range),
114 (gst_value_set_double_range), (gst_value_deserialize_double_range),
115 (gst_value_set_fraction_range_full),
116 (gst_value_deserialize_fraction_range),
117 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
118 (gst_value_deserialize_boolean),
119 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
120 (gst_value_serialize_float), (gst_value_deserialize_float),
121 (gst_string_wrap), (gst_value_deserialize_string),
122 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
123 (gst_value_union_int_range_int_range),
124 (gst_value_intersect_int_range_int_range),
125 (gst_value_intersect_double_range_double_range),
126 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
127 (gst_value_subtract_int_range_int_range),
128 (gst_value_subtract_double_double_range),
129 (gst_value_subtract_double_range_double_range),
130 (gst_value_deserialize_fraction):
132 Use gint, gdouble and gchar in our API instead of int, double and
133 char (and make usage in gstvalue.c more consistent).
135 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
138 * libs/gst/controller/Makefile.am:
139 * libs/gst/dataprotocol/Makefile.am:
140 fix up Makefile.am and remove GST_ENABLE_NEW
142 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
146 * gst/base/Makefile.am:
147 * gst/check/Makefile.am:
148 * gst/elements/Makefile.am:
149 * gst/net/Makefile.am:
150 update LDFLAGS use some more
152 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
154 * common/m4/gst-doc.m4:
157 2005-11-26 Edward Hervey <edward@fluendo.com>
159 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
160 This shouldn't issue a g_warning since it returns NULL if it
161 couldn't find the plugin, and all functions using this behave
162 properly on a NULL return. Switching to a GST_WARNING.
164 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
166 * gst/gstbin.c: (gst_bin_handle_message_func):
167 Don't leak clock messages.
169 2005-11-25 Wim Taymans <wim@fluendo.com>
171 * gst/gstutils.c: (gst_util_uint64_scale_int64),
172 (gst_util_uint64_scale_int):
173 Optimisations, remove unneeded vars.
175 2005-11-25 Wim Taymans <wim@fluendo.com>
177 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
178 Added more checks for the high precision uint64 cases.
180 * gst/gstutils.c: (gst_util_uint64_scale_int64),
181 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
182 Implement high precission (guint64 * guint64) / guint64.
184 2005-11-24 Wim Taymans <wim@fluendo.com>
186 * gst/base/gstbasesrc.c: (gst_base_src_query):
187 Fix wrong percentage query.
189 * gst/gstutils.c: (gst_util_uint64_scale),
190 (gst_util_uint64_scale_int):
191 Add some more common cases that can be handled
192 efficiently to _scale.
194 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
196 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
197 (gst_mini_object_suite):
198 don't use check calls from threads; check probably isn't
199 threadsafe and using a lock to make it threadsafe would
200 defeat the purpose of this check
201 * gst/check/gstcheck.c:
202 * gst/check/gstcheck.h:
203 use GST_DEBUG some more
205 2005-11-24 Wim Taymans <wim@fluendo.com>
207 * gst/gstutils.c: (gst_util_uint64_scale),
208 (gst_util_uint64_scale_int):
209 Chain trivial case to _scale_int.
211 2005-11-24 Wim Taymans <wim@fluendo.com>
213 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
214 Added test for scaling.
219 * gst/gstutils.c: (gst_util_uint64_scale_int):
220 Implemented high precision scaling code.
222 2005-11-24 Stefan Kost <ensonic@users.sf.net>
225 do not crash on pad==NULL
227 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
229 Patch by: Stefan Kost
231 * common/gtk-doc.mak:
232 * docs/gst/Makefile.am:
233 * docs/libs/Makefile.am:
234 Fix distcheck issues for the libraries docs build
237 2005-11-24 Michael Smith <msmith@fluendo.com>
239 * docs/manual/basics-helloworld.xml:
240 Fix bug #315027: memory leak in example code in docs.
242 2005-11-24 Michael Smith <msmith@fluendo.com>
244 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
245 Unlock the PREROLL_LOCK in a failure case.
247 2005-11-24 Wim Taymans <wim@fluendo.com>
249 * docs/gst/gstreamer-sections.txt:
250 * gst/base/gstadapter.h:
251 * gst/base/gstbasesink.h:
252 * gst/base/gstbasesrc.h:
253 * gst/base/gstbasetransform.h:
254 * gst/base/gstpushsrc.h:
255 * gst/elements/gstfakesink.h:
256 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
257 * gst/elements/gstfakesrc.h:
258 * gst/elements/gstfilesink.h:
259 * gst/elements/gstfilesrc.h:
262 * gst/gstbuffer.c: (_gst_buffer_copy):
265 * gst/gstchildproxy.c:
268 * gst/gstelementfactory.c:
269 * gst/gstelementfactory.h:
273 * gst/gstinterface.h:
274 * gst/gstminiobject.c:
275 * gst/gstminiobject.h:
278 * gst/gstpadtemplate.h:
280 * gst/gstpluginfeature.h:
285 * gst/gsttagsetter.c:
286 * gst/gsttagsetter.h:
292 * gst/net/gstnetclientclock.c:
293 * gst/net/gstnetclientclock.h:
294 * gst/net/gstnettimepacket.c:
295 * gst/net/gstnettimeprovider.c:
296 * gst/net/gstnettimeprovider.h:
299 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
301 * configure.ac: back to HEAD
303 === release 0.9.6 ===
305 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
308 releasing 0.9.6, "Always On Time"
310 2005-11-23 Wim Taymans <wim@fluendo.com>
312 * docs/gst/gstreamer-sections.txt:
314 * gst/gsttagsetter.c:
316 * gst/net/gstnetclientclock.c:
317 * gst/net/gstnettimepacket.h:
320 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
322 * docs/faq/using.xml:
323 * docs/libs/tmpl/gstcontrol.sgml:
324 * docs/manual/advanced-dparams.xml:
325 * docs/manual/appendix-checklist.xml:
326 * docs/manual/basics-elements.xml:
327 * docs/pwg/other-source.xml:
328 * docs/random/moving-plugins:
330 * tools/gst-launch.1.in:
331 remove mentions of sinesrc
333 2005-11-23 Michael Smith <msmith@fluendo.com>
335 * docs/gst/gstreamer-sections.txt:
336 Update for new API and API changes.
338 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
340 Documentation typo fix.
341 * gst/net/gstnettimepacket.c:
342 Documentation fixes for arguments.
344 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
346 * gst/gststructure.c: (gst_structure_get_fraction),
347 (gst_structure_parse_value),
348 (gst_structure_fixate_field_nearest_fraction):
349 * gst/gststructure.h:
350 * gst/gstutils.c: (gst_util_uint64_scale_int):
352 * scripts/update-funcnames:
354 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
355 Make gst_structure_fixate_field_nearest_fraction take a numerator
356 and denominator argument instead of a GValue
357 add gst_structure_get_fraction helper function.
359 2005-11-23 Wim Taymans <wim@fluendo.com>
361 * docs/design/part-TODO.txt:
364 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
365 * gst/net/gstnetclientclock.h:
366 Use parent fields for timeout and window_size.
368 2005-11-23 Andy Wingo <wingo@pobox.com>
370 * check/net/gstnetclientclock.c (test_functioning): Adjust to
371 rate_num/rate_denom change.
373 * gst/net/gstnetclientclock.c
374 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
375 OBJECT_LOCK. Don't call add_observation with the lock.
377 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
379 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
381 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
382 deal with rate as a fraction whose numerator and denominator are
384 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
385 master; the other fields are protected by the SLAVE_LOCK.
386 (do_linear_regression): Note that this must be called with the
388 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
389 OBJECT_LOCK. Call set_calibration instead of touching the
391 (gst_clock_set_property, gst_clock_get_property): Protect
392 master/slave parameters with the SLAVE_LOCK.
394 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
395 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
396 note that all of the instance variables that add_observation and
397 the set_master functions use are protected by that lock and not
399 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
401 * gst/gstclock.c (gst_clock_add_observation): No longer requires
402 the caller to take the object lock.
404 2005-11-23 Wim Taymans <wim@fluendo.com>
406 * gst/gsterror.c: (_gst_core_errors_init):
408 Add error for clock stuff.
410 * gst/gstpipeline.c: (gst_pipeline_change_state),
411 (gst_pipeline_set_clock):
412 Post clock error when clock cannot be used in a pipeline.
414 2005-11-23 Stefan Kost <ensonic@users.sf.net>
416 * docs/gst/gstreamer-sections.txt:
417 make two symbols from gstinfo private for the docs
418 * gst/base/gstcollectpads.h:
420 fix doc typos, update docs
422 2005-11-22 Wim Taymans <wim@fluendo.com>
424 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
425 (gst_base_sink_wait), (gst_base_sink_do_sync),
426 (gst_base_sink_handle_event):
427 * gst/base/gstbasesink.h:
428 No need to store the clock, the parent element class already
431 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
432 Updates for clock_set returning a gboolean
434 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
435 (gst_clock_id_wait_async), (gst_clock_class_init),
436 (gst_clock_init), (gst_clock_finalize),
437 (gst_clock_get_internal_time), (gst_clock_get_time),
438 (gst_clock_slave_callback), (gst_clock_set_master),
439 (gst_clock_get_master), (do_linear_regression),
440 (gst_clock_add_observation), (gst_clock_set_property),
441 (gst_clock_get_property):
443 Implement master/slave. When setting a clock as a slave, a
444 periodic timeout is scheduled to sample master and slave times.
445 Then the slave clock is recalibrated to match offset and rate
447 Update logging a bit.
448 Add flag so that a clock can state that is cannot be slaved to
451 * gst/gstelement.c: (gst_element_set_clock):
453 The set clock returns a gboolean for when an element cannot
454 deal with the selected clock in the pipeline.
456 * gst/gstpipeline.c: (gst_pipeline_change_state),
457 (gst_pipeline_set_clock):
459 Handle the case where the selected clock cannot be set on
462 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
463 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
464 (gst_net_client_clock_set_property),
465 (gst_net_client_clock_get_property),
466 (gst_net_client_clock_observe_times):
467 * gst/net/gstnetclientclock.h:
468 Use regression code in GstClock parent, remove duplicated
471 2005-11-22 Michael Smith <msmith@fluendo.com>
473 * gst/gstutils.c: (gst_util_clock_time_scale):
475 * docs/gst/gstreamer-sections.txt:
476 Rename method to have extra underscore.
478 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
480 * gst/elements/Makefile.am:
481 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
482 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
483 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
484 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
485 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
486 * gst/elements/gstfakesrc.h:
487 * gst/gstqueue.c: (queue_leaky_get_type):
488 correctly fix GEnumValues so that nick is the short lowercase
490 * tools/gst-inspect.c: (print_element_properties_info):
491 also show the nick, since it's useful to use from parse_launch
495 2005-11-22 Michael Smith <msmith@fluendo.com>
497 * gst/gstutils.c: (gst_util_clocktime_scale):
499 * docs/gst/gstreamer-sections.txt:
500 Add util method for scaling a clocktime by a fraction. Useful
501 implementation is left as an exercise for the reader.
503 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
505 * gst/gstvalue.c: (gst_value_collect_fraction_range):
506 If needed, allocate storage in the destination value during
509 2005-11-22 Edward Hervey <edward@fluendo.com>
511 * docs/gst/gstreamer-sections.txt:
516 * gst/gstutils.c: (gst_util_set_object_arg):
517 * tools/gst-compprep.c: (main):
518 * tools/gst-inspect.c: (print_element_properties_info):
519 Removed GstURI, closes bug #321061
521 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
523 * check/gst/gststructure.c: (GST_START_TEST):
524 * gst/gststructure.c: (gst_structure_parse_value):
525 Oops, broke automatic string type parsing.
526 Add a test to catch it in future.
528 2005-11-22 Andy Wingo <wingo@pobox.com>
530 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
531 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
532 Actually rename the function implementations. Grr.
534 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
536 * check/gst/capslist.h:
538 * check/gst/gststructure.c: (GST_START_TEST),
539 (gst_structure_suite):
540 Test automatic value type detection in gst_structure_from_string.
541 * gst/gststructure.c: (gst_structure_parse_value):
542 Add fraction as a type we try and guess automatically in
543 caps/structure strings.
545 2005-11-22 Andy Wingo <wingo@pobox.com>
547 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
549 * gst/gsttagsetter.h:
550 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
551 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
552 (gst_tag_setter_add_tag_valist)
553 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
554 _add_values, _add_valist, and _add_valist_values. Since this is an
555 interface the function suffixes should be more explicit so
556 language binding don't end up with element.add_valist ->
557 gst_tag_setter_add_valist, for example. Fixes #322069.
559 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
561 * check/gst/gstcaps.c: (GST_START_TEST):
562 Extend caps string tests to check that a caps to string
563 conversion is reversible and produces the same caps.
565 * gst/gststructure.c: (gst_structure_value_get_generic_type):
566 Output "fraction" as the generic type fraction range, so caps
567 serialisation and deserialisation works.
568 * check/gst/capslist.h:
569 * gst/gstvalue.c: (gst_value_deserialize_fraction):
570 Support 'MIN' and 'MAX' for deserialising fractions.
572 2005-11-22 Andy Wingo <wingo@pobox.com>
574 * gst/gstevent.h (gst_event_new_new_segment)
575 (gst_event_parse_new_segment, gst_event_new_buffer_size)
576 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
577 Renamed from *_newsegment, *_buffersize, *_notarget.
579 * scripts/update-funcnames: New script, performs the changes
582 2005-11-22 Wim Taymans <wim@fluendo.com>
584 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
585 Make sure the GstFlowReturn is returned.
587 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
588 (gst_bus_add_signal_watch):
590 add gst_bus_add_signal_watch_full.
592 * gst/gstplugin.c: (gst_plugin_load_file):
595 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
597 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
598 Block the fakesrc srcpad when we send an event, to avoid
599 contention on the stream_lock causing random test failures.
601 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
603 * check/gst/gstvalue.c: (GST_START_TEST):
604 * gst/gstvalue.c: (gst_value_fraction_subtract):
607 2005-11-22 Stefan Kost <ensonic@users.sf.net>
610 include "gstchildproxy.h"
611 * gst/gstchildproxy.h:
612 * libs/gst/controller/gstcontroller.h:
613 use G_GNUC_NULL_TERMINATED
615 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
617 * check/gst/capslist.h:
618 * check/gst/gstcaps.c: (GST_START_TEST):
619 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
620 * gst/gststructure.c: (gst_structure_parse_range),
621 (gst_structure_fixate_field_nearest_fraction):
622 * gst/gststructure.h:
623 * gst/gstvalue.c: (gst_value_init_fraction_range),
624 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
625 (gst_value_collect_fraction_range),
626 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
627 (gst_value_set_fraction_range_full),
628 (gst_value_get_fraction_range_min),
629 (gst_value_get_fraction_range_max),
630 (gst_value_serialize_fraction_range),
631 (gst_value_transform_fraction_range_string),
632 (gst_value_compare_fraction_range),
633 (gst_value_deserialize_fraction_range),
634 (gst_value_intersect_fraction_fraction_range),
635 (gst_value_intersect_fraction_range_fraction_range),
636 (gst_value_subtract_fraction_fraction_range),
637 (gst_value_subtract_fraction_range_fraction),
638 (gst_value_subtract_fraction_range_fraction_range),
639 (gst_value_collect_fraction), (gst_value_fraction_multiply),
640 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
641 (gst_value_transform_string_fraction), (_gst_value_initialize):
643 Implement fraction ranges and extend GstFraction to support
644 arithmetic subtraction, as well as deserialization from integer
645 strings such as "100"
646 Add a testsuite as for int and double range set operations
648 2005-11-21 Andy Wingo <wingo@pobox.com>
652 * gst/gststructure.h: Add glib-compat.h.
654 2005-11-21 Wim Taymans <wim@fluendo.com>
656 * gst/gstbin.c: (gst_bin_change_state_func):
659 2005-11-21 Wim Taymans <wim@fluendo.com>
662 And add a nice define too.
664 2005-11-21 Wim Taymans <wim@fluendo.com>
666 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
667 (gst_segment_new), (gst_segment_free), (gst_segment_init),
668 (gst_segment_set_duration), (gst_segment_set_last_stop),
669 (gst_segment_set_seek), (gst_segment_set_newsegment),
670 (gst_segment_to_stream_time), (gst_segment_to_running_time),
673 Make binding friendly.
675 2005-11-21 Andy Wingo <wingo@pobox.com>
677 * gst/gsttagsetter.h:
679 * gst/gststructure.h:
681 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
684 * gst/gsterror.c (_gst_core_errors_init):
685 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
688 * gst/Makefile.am (gst_headers): Add glib-compat.h.
689 (noinst_HEADERS): noinst the -private.
691 2005-11-21 Michael Smith <msmith@fluendo.com>
695 Remove unimplemented declarations for which we can see no sensible
698 2005-11-21 Andy Wingo <wingo@pobox.com>
700 * gst/gst.h: Include glib-compat.h.
702 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
704 * gst/glib-compat.c: Include the public and the private header.
706 * gst/glib-compat-private.h: Copied here from glib-compat.h.
710 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
712 * check/gst/gstevent.c (create_custom_events): Check that
713 FLUSH_STOP is serialized.
715 * check/elements/identity.c (event_func):
716 * check/elements/fakesrc.c (event_func): No stream lock, the core
719 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
720 stream lock taking, yay.
722 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
723 ensure that core takes the stream lock.
725 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
728 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
729 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
730 it already. For the flush start we do take it though so we get the
731 right preroll state change messages.
733 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
734 the stream lock here, the core does it for us.
736 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
738 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
739 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
740 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
741 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
742 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
743 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
745 * gst/gstpad.c: Update for stream lock name change.
747 * gst/base/gstbasesink.c: Update for preroll lock name change.
749 2005-11-21 Wim Taymans <wim@fluendo.com>
751 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
752 (gst_clock_get_master):
754 * gst/gstsystemclock.c: (gst_system_clock_init):
755 Convert Clock flags to object flags.
756 Added methods to manage master/slave clocks.
758 2005-11-21 Wim Taymans <wim@fluendo.com>
760 * check/gst/gstsegment.c: (GST_START_TEST):
761 * docs/design/part-TODO.txt:
762 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
763 (gst_base_sink_event), (gst_base_sink_do_sync),
764 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
765 (gst_base_sink_query), (gst_base_sink_change_state):
766 * gst/base/gstbasesink.h:
767 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
768 (gst_base_src_default_newsegment),
769 (gst_base_src_configure_segment), (gst_base_src_do_seek),
770 (gst_base_src_get_range), (gst_base_src_loop),
771 (gst_base_src_change_state):
772 * gst/base/gstbasesrc.h:
773 * gst/base/gstbasetransform.c:
774 (gst_base_transform_prepare_output_buf),
775 (gst_base_transform_event), (gst_base_transform_change_state):
776 * gst/base/gstbasetransform.h:
777 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
778 (gst_collect_pads_event):
779 * gst/base/gstcollectpads.h:
780 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
781 (gst_fake_src_create):
782 * gst/elements/gstfakesrc.h:
783 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
784 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
785 (gst_segment_set_last_stop), (gst_segment_set_seek),
786 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
787 (gst_segment_to_running_time), (gst_segment_clip):
789 More segment updates, replace code in plugins with segment
792 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
794 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
795 Don't ignore sscanf results
797 2005-11-21 Andy Wingo <wingo@pobox.com>
799 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
802 * *.c: Ran scripts/update-macros. Oh yes.
804 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
805 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
808 * scripts/update-macros: New script. Run it on your files to
809 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
812 2005-11-21 Stefan Kost <ensonic@users.sf.net>
814 * docs/gst/Makefile.am:
815 * docs/gst/gstreamer-docs.sgml:
816 * docs/gst/gstreamer-sections.txt:
817 * docs/gst/gstreamer.types:
819 more docs fixes, add new api to the docs
821 2005-11-21 Andy Wingo <wingo@pobox.com>
823 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
824 state_broadcast call.
826 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
828 2005-11-21 Julien MOUTTE <julien@moutte.net>
830 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
831 function calls for arrays.
833 2005-11-21 Stefan Kost <ensonic@users.sf.net>
835 * docs/random/ensonic/media-device-daemon.txt:
836 wild idea, can this be done?
837 * docs/gst/gstreamer-sections.txt:
842 * gst/gstpluginfeature.c:
846 doc fixes and additions
848 2005-11-21 Andy Wingo <wingo@pobox.com>
850 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
851 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
852 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
853 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
854 private to the basesrc implementation.
856 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
857 behalf of event function if necessary. It should no longer be
858 necessary to take the stream lock in pad's event functions. Fixes
861 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
862 * docs/gst/gstreamer-sections.txt:
863 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
864 (gst_structure_fixate_field_nearest_double),
865 (gst_structure_fixate_field_boolean):
866 * gst/gststructure.h:
867 * win32/common/libgstreamer.def:
868 * win32/gstreamer.def:
870 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
873 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
875 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
876 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
877 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
878 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
879 (gst_fdsrc_uri_handler_init):
880 * gst/elements/gstfdsrc.h:
881 Port fd:// URI handler from 0.8 to fdsrc
883 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
885 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
886 (gst_value_serialize_fourcc):
888 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
889 consistent with our other format defines (#320324).
891 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
893 * gst/gstvalue.c: (gst_value_is_fixed):
894 Revert previous commit. Value lists are by definition
895 not fixed, as they are a list of possible values.
897 2005-11-21 Andy Wingo <wingo@pobox.com>
899 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
900 during the stable series if we need it. Fixes #319178.
902 * gst/gstevent.c (gst_event_new_filler): Removed.
904 * check/gst/gstevent.c: Update comment about filler events.
906 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
908 * gst/gstvalue.c: (gst_value_is_fixed):
909 Should handle both value arrays and value lists.
911 2005-11-21 Andy Wingo <wingo@pobox.com>
913 patch by: Alessandro Dessina <alessandro nnva org>
915 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
916 functions to access arrays. Fixes #321962.
918 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
920 * docs/gst/gstreamer.types:
921 gst_collectpads_get_type => gst_collect_pads_get_type.
923 * gst/base/gstbasetransform.c:
924 Remove unused SIGNAL_HANDOFF enum.
926 2005-11-21 Andy Wingo <wingo@pobox.com>
928 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
929 the event type (upstream, downstream, serialized). Renamed
930 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
931 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
932 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
934 * gst/gstevent.c: Update for new CUSTOM event names.
936 * check/gst/gstevent.c: Update check for new CUSTOM event names.
939 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
942 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
944 * docs/gst/gstreamer-sections.txt:
945 * win32/common/libgstbase.def:
946 * win32/libgstbase.def:
947 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
948 (gst_collect_pads_class_init), (gst_collect_pads_init),
949 (gst_collect_pads_finalize), (gst_collect_pads_new),
950 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
951 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
952 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
953 (gst_collect_pads_start), (gst_collect_pads_stop),
954 (gst_collect_pads_peek), (gst_collect_pads_pop),
955 (gst_collect_pads_available), (gst_collect_pads_read),
956 (gst_collect_pads_flush), (gst_collect_pads_event),
957 (gst_collect_pads_chain):
958 * gst/base/gstcollectpads.h:
959 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
960 unimplemented functions as unimplemented. Add padding to
961 GstCollectData. (#320766, #320423)
963 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
966 Improve docs for DURATION message (usage of duration parameter)
969 2005-11-20 Wim Taymans <wim@fluendo.com>
972 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
976 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
977 (gst_segment_set_seek), (gst_segment_set_newsegment),
978 (gst_segment_to_stream_time), (gst_segment_to_running_time),
981 Added segment helper structure and methods. Not fully implemented
985 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
987 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
988 Add a deserialisation test for fractions
989 * examples/metadata/read-metadata.c: (message_loop),
990 (make_pipeline), (main):
991 Fix up metadata reading sample.
992 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
994 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
995 Don't try and fixate empty caps
997 Wrap in G_BEGIN_DECLS/G_END_DECLS
998 * gst/gstvalue.c: (gst_value_collect_fraction),
999 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1000 (gst_value_transform_string_fraction),
1001 (gst_value_compare_fraction):
1002 Add some extra guards to ensure that we don't end up
1003 with an invalid denominator of 0 in a gstfraction and
1004 that fractions always get reduced.
1006 2005-11-20 Wim Taymans <wim@fluendo.com>
1008 * docs/gst/gstreamer-sections.txt:
1019 2005-11-20 Wim Taymans <wim@fluendo.com>
1021 * docs/design/part-TODO.txt:
1023 Make a proper enum of the flag.
1025 2005-11-19 Wim Taymans <wim@fluendo.com>
1027 * docs/design/part-TODO.txt:
1028 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1029 (gst_format_to_quark), (gst_format_register):
1031 * gst/gstquery.c: (_gst_query_initialize),
1032 (gst_query_type_get_name), (gst_query_type_to_quark),
1033 (gst_query_type_register):
1035 Add type to quark and type to string conversions.
1037 2005-11-19 Andy Wingo <wingo@pobox.com>
1039 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1042 2005-11-19 Wim Taymans <wim@fluendo.com>
1044 * docs/design/part-TODO.txt:
1045 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1046 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1047 (gst_bin_handle_message_func):
1049 Make message handling overridable.
1051 2005-11-19 Andy Wingo <wingo@pobox.com>
1053 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1056 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1058 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1059 is a GstClockTime. Fixes #321710.
1061 * gst/gstclock.h (GstClock): Remove offset property. Add
1062 internal_calibration and external_calibration. Fix padding. Pad
1063 also by GstClockTime so we don't run into problems.
1065 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1066 (gst_clock_get_rate_offset): Remove.
1067 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1070 * gst/gstutils.c (g_static_rec_cond_wait)
1071 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1073 * gst/gstbin.c: Remove terrible continue_state prototype.
1075 * gst/gstelement.h (gst_element_continue_state): Make public.
1078 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1079 by continue_state. Fixes #319389.
1081 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1082 Really fixes #168438. However I don't see anywhere where the
1083 filter function is called... stupid GStreamer...
1085 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1086 don't have a dispose function, so it won't get called when the
1087 object is unreffed, but oh well!
1089 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1090 allows a destroy function to be set so user_data can be freed.
1092 (gst_index_set_filter): Call gst_index_set_filter_full.
1094 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1096 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1097 string should produce an error, given the lack of a way to
1098 represent NULL strings. Fixes #165650.
1101 * gst/gstvalue.c (gst_value_array_append_value)
1102 (gst_value_array_prepend_value, gst_value_array_get_size)
1103 (gst_value_array_get_value): New API, copied from
1104 gst_value_list_*, only operates on arrays.
1105 (gst_value_list_append_value, gst_value_list_prepend_value)
1106 (gst_value_list_concat, gst_value_list_get_size)
1107 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1109 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1110 init_list, because it works on both.
1111 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1112 (gst_value_copy_list_or_array): Renamed from copy_list.
1113 (gst_value_free_list_or_array): Renamed from free_list.
1114 (gst_value_collect_list_or_array): Renamed from collect_list.
1115 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1116 (gst_value_list_or_array_peek_pointer): Renamed from
1118 (_gst_value_array_value_table, _gst_value_list_value_table):
1119 Update value table functions.
1120 (gst_value_compare_list_or_array): Renamed from compare_list.
1122 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1126 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1127 GstTagList*. Fixes #143472.
1129 * gst/gststructure.h: Clarify what the foreach/map functions can
1130 or can't do to their arguments.
1132 2005-11-18 Wim Taymans <wim@fluendo.com>
1134 * gst/gstclock.c: (gst_clock_set_calibration),
1135 (gst_clock_get_calibration):
1137 Calibration can be set with internal time equal to current
1140 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1146 2005-11-18 Andy Wingo <wingo@pobox.com>
1149 * pkgconfig/gstreamer-net.pc.in:
1150 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1151 * pkgconfig/Makefile.am: Add net pkgconfig files.
1153 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1156 * gst/gstghostpad.c:
1162 2005-11-18 Andy Wingo <wingo@pobox.com>
1164 * gst/net/gstnetclientclock.c: Turn off debugging.
1166 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1167 times connverge somewhat. Can't make a real test.
1169 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1170 integer arithmetic. Return the minimum of the domain, which can be
1171 set as "internal" for gst_clock_set_calibration.
1172 (gst_net_client_clock_observe_times): Call _set_calibration.
1173 (gst_net_client_clock_new): Call _set_calibration instead of
1176 * check/net/gstnetclientclock.c (test_functioning): Use the right
1180 * gst/gstclock.c (gst_clock_get_calibration)
1181 (gst_clock_set_calibration): New functions, obsolete the ones I
1182 added yesterday. Doh. Precision issues mean we have to extrapolate
1183 from a point in the more recent past than 1970.
1184 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1186 (gst_clock_adjust_unlocked): Use the right calibration data.
1188 2005-11-18 Edward Hervey <edward@fluendo.com>
1190 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1191 Also reset the ->current_* values in READY->PAUSED
1193 2005-11-18 Andy Wingo <wingo@pobox.com>
1195 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1196 Whoops, check the right fd. Also add some debugging.
1197 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1198 (do_linear_regression): Add a crapload of debugging. Subtract off
1199 the minimum values from the input series to discard unneeded bits.
1200 Use only int arithmetic. There is still double arithmetic when
1201 calculating the intercept that needs fixing. Return boolean to
1202 indicate success; FALSE would mean the domain or range is too
1203 great. Still needs fixes.
1205 2005-11-18 Wim Taymans <wim@fluendo.com>
1207 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1208 For the current position in stream time, we need to subtract
1211 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1212 Release lock before calling the callback function of async
1215 2005-11-18 Andy Wingo <wingo@pobox.com>
1217 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1218 Port goes all the way to MAXUINT16.
1220 * gst/net/gstnettimeprovider.c: Make the port range the same as
1221 for the kernel: 0 assigns, otherwise ports are less than
1224 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1227 * check/net/gstnetclientclock.c (test_functioning): Add the start
1230 2005-11-18 Wim Taymans <wim@fluendo.com>
1232 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1233 (gst_bin_remove_func), (bin_bus_handler):
1235 Removing a clock provider from a bin, triggers a clock lost message
1236 so that a new clock will be selected.
1237 Adding a clock to a bin triggers a clock provider message.
1238 Make sure we reselect a clock when we received a clock lost message.
1239 Keep a reference to the element that provided the clock.
1241 2005-11-18 Andy Wingo <wingo@pobox.com>
1243 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1244 the clock initially so it produces values around the base time.
1245 (gst_net_client_clock_class_init): Typo fix.
1246 (gst_net_client_clock_thread): Add note on when the socket gets
1249 2005-11-17 Wim Taymans <wim@fluendo.com>
1251 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1252 Free remote and local time arrays.
1254 2005-11-17 Wim Taymans <wim@fluendo.com>
1256 * gst/net/gstnetclientclock.c: (do_linear_regression),
1257 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1258 Fix compilation, uninitialized vars and a forgotten continue.
1260 2005-11-17 Andy Wingo <wingo@pobox.com>
1262 * check/Makefile.am (check_PROGRAMS):
1263 * check/net/gstnetclientclock.c: Add a most minimal test for the
1264 net client clock. More to come later.
1267 * gst/net/Makefile.am: Add netclientclock.
1269 * gst/net/gstnetclientclock.h:
1270 * gst/net/gstnetclientclock.c: New files, implement an untested
1271 GstClock that takes its time from a network time provider.
1272 Implements the algorithm in network-clock.scm.
1274 * tests/network-clock.scm (*window-size*): Rename from
1276 * tests/network-clock.scm (network-time):
1277 * tests/network-clock-utils.scm (q-push): Update callers.
1279 2005-11-17 Wim Taymans <wim@fluendo.com>
1281 * gst/gstbin.c: (gst_bin_provide_clock_func),
1282 (gst_bin_sort_iterator_new):
1283 And unref the child too..
1285 2005-11-17 Wim Taymans <wim@fluendo.com>
1287 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1288 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1289 Refactor the sort iterator so it can be used while holding the
1291 Make clock selection select a clock closest to the source.
1293 2005-11-17 Michael Smith <msmith@fluendo.com>
1295 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1296 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1298 Anonymous structs are a gcc (and some other compilers) extension, so
1299 don't use them. Since this is only for ABI-compatibility, and our
1300 API/ABI freeze is over in a few days, this whole thing will only
1301 last a few days, so don't bother trying to think up a meaningful
1302 name for the struct.
1304 2005-11-17 Andy Wingo <wingo@pobox.com>
1306 * gst/gstclock.h (GstClock): Add rate and offset properties,
1307 preserving ABI stability. Add rate/offset accessors. Will file bug
1308 for the freeze break.
1310 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1311 and offset, trying to keep precision and avoiding
1313 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1314 functions. Make gst_clock_set_time_adjust obsolete.
1315 (gst_clock_set_time_adjust): Note that this function is obsolete.
1318 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1319 greppable by using GST_PADDING-1+1.
1321 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1323 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1325 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1326 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1328 * gst/gstpadtemplate.h:
1329 * gst/gstpluginfeature.h:
1330 Don't use c++ style comments in headers (#321638).
1332 2005-11-16 Andy Wingo <wingo@pobox.com>
1334 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1337 * check/net/gstnettimeprovider.c: Check to see that the time
1338 provider actually provides times. Works, yo!
1340 2005-11-16 Wim Taymans <wim@fluendo.com>
1342 * check/Makefile.am:
1345 * check/elements/fakesrc.c: (GST_START_TEST):
1346 Set element to NULL before disposing it.
1348 2005-11-16 Andy Wingo <wingo@pobox.com>
1350 * gst/net/Makefile.am:
1352 * gst/net/gstnettimeprovider.c:
1353 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1354 provider, include it from gstnet.h, and add it to the build.
1356 * gst/net/gstnettimepacket.h:
1357 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1358 sending and receiving.
1360 2005-11-16 Wim Taymans <wim@fluendo.com>
1362 * check/Makefile.am:
1363 Enable valgrind check.
1365 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1366 (gst_fake_src_alloc_buffer):
1369 2005-11-16 Wim Taymans <wim@fluendo.com>
1371 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1372 Call parent finalize too.
1374 2005-11-16 Wim Taymans <wim@fluendo.com>
1376 * check/Makefile.am:
1377 Enable valgrind check that should work fine now.
1379 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1380 * gst/gstqueue.c: (gst_queue_init):
1381 Fix memleaks in pad allocation.
1383 2005-11-16 Andy Wingo <wingo@pobox.com>
1385 * gst/net/Makefile.am:
1386 * gst/net/gstnet.h: New part of core to hold network elements and
1387 objects. Put in core because it exposes API that applications want
1388 to use. The library is named libgstnet-tempname right now because
1389 of the existing libgstnet in gst-plugins-base. Solution is
1390 probably to rename the one in plugins-base; will file a bug for
1393 * gst/net/gstnettimeprovider.c:
1394 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1395 get_time call over the network.
1398 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1400 * check/Makefile.am:
1401 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1402 get additions shortly.
1404 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1406 * gst/gstpad.c: (gst_pad_new_from_static_template):
1408 add gst_pad_new_from_static_template functions
1409 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1410 (gst_check_setup_sink_pad):
1411 * gst/elements/gsttee.c: (gst_tee_init):
1414 2005-11-16 Wim Taymans <wim@fluendo.com>
1416 * gst/gstpad.c: (gst_pad_pause_task):
1417 Removed warning, it's not really an error either.
1419 2005-11-16 Wim Taymans <wim@fluendo.com>
1421 * gst/base/gstbasetransform.c:
1422 (gst_base_transform_prepare_output_buf),
1423 (gst_base_transform_event):
1424 Check if the caps are NULL, this can happen if the element
1425 is shutting down and the pad caps are set to NULL.
1427 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1429 * gst/elements/gsttee.c: (gst_tee_init):
1430 fix pad template leak in tee
1432 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1434 * gst/glib-compat.c: (g_value_dup_gst_object):
1435 * gst/glib-compat.h:
1436 * gst/gstpad.c: (gst_pad_set_property):
1437 use gst_object_ref when setting the pad template; this will
1438 trigger the pad template leaks on GLib 2.6 and the slaves
1440 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1442 * gst/glib-compat.c: (gst_flags_get_first_value):
1443 * gst/glib-compat.h:
1444 * gst/gstregistryxml.c:
1445 remove functions copied from GLib 2.6
1447 2005-11-16 Michael Smith <msmith@fluendo.com>
1450 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1451 do, but only breaks with newer valgrind versions. We're not a
1452 valgrind tool, we have no link-time dependencies on libcoregrind.
1454 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1456 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1461 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1463 * gst/base/gstbasesrc.c: (gst_base_src_init):
1464 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1465 * gst/gstqueue.c: (gst_queue_init):
1466 * gst/gstregistryxml.c: (load_feature):
1467 Revert all these unrefs, they don't even pass make check !
1469 2005-11-15 Johan Dahlin <johan@gnome.org>
1471 * gst/base/gstbasesrc.c: (gst_base_src_init):
1472 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1473 * gst/gstqueue.c: (gst_queue_init):
1474 Free pad templates, fixes a couple of leaks.
1476 2005-11-15 Daniel Fischer <dan at f3c dot com>
1478 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1480 * gst/gstpad.c: (gst_pad_get_property):
1481 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1482 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1485 2005-11-15 Wim Taymans <wim@fluendo.com>
1490 2005-11-15 Andy Wingo <wingo@pobox.com>
1492 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1494 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1495 using GST_CLOCK_TIME_NONE to disable base time management.
1496 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1497 time if it was NONE before.
1498 (gst_pipeline_change_state): Only munge the base time if
1499 stream_time != GST_CLOCK_TIME_NONE.
1501 * check/gst/gstpipeline.c (test_base_time): Punt around the
1502 problem of the probe not being called, because that's not the
1503 issue I'm looking at. Add a check that setting stream_time to NONE
1504 disables base time management.
1506 2005-11-15 Wim Taymans <wim@fluendo.com>
1508 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1509 segment_stop == -1 at startup.
1511 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1512 (gst_base_transform_change_state):
1513 Init segment values at start.
1515 2005-11-15 Wim Taymans <wim@fluendo.com>
1517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1518 0 segment values are 0 in any format.
1520 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1521 * gst/base/gstbasetransform.h:
1522 Parse newsegment correctly in basetransform
1524 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1525 Sync to clock using updated segment values.
1527 2005-11-15 Andy Wingo <wingo@pobox.com>
1529 * check/gst/gstpipeline.c (test_base_time): Add check that the
1530 base time and stream time are reset correctly.
1532 2005-11-15 Wim Taymans <wim@fluendo.com>
1534 * docs/design/part-TODO.txt:
1535 Some more TODO items.
1537 2005-11-15 Andy Wingo <wingo@pobox.com>
1539 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1540 error if the user selected "no clock" as the clocking method.
1542 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1543 timestamps with live capture.
1545 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1546 is 0 but we are a live source, timestamp the buffers using the
1549 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1551 * docs/gst/gstreamer-sections.txt:
1553 * gst/gstghostpad.c:
1558 2005-11-14 Wim Taymans <wim@fluendo.com>
1561 add suppressions from Wim's Debian machine
1563 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1566 add suppressions from Andy's AMD64 Ubuntu machine
1568 2005-11-14 Andy Wingo <wingo@pobox.com>
1570 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1571 STATE_LOCK not necessary. Fixes #311489.
1573 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1576 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1577 this function is not implemented.
1579 2005-11-14 Julien MOUTTE <julien@moutte.net>
1581 * gst/base/gstbasetransform.c:
1582 (gst_base_transform_prepare_output_buf):
1583 Ref the source pad caps while we need them.
1586 2005-11-11 Wim Taymans <wim@fluendo.com>
1588 * docs/gst/gstreamer-sections.txt:
1589 Added some docs for GstCollectData.
1591 * gst/base/gstadapter.c:
1592 Some small code example fix.
1594 * gst/base/gstcollectpads.c:
1595 * gst/base/gstcollectpads.h:
1598 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1600 * configure.ac: back to HEAD
1602 === release 0.9.5 ===
1604 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1607 releasing 0.9.5, "Bike Lunch Day"
1609 2005-11-11 Wim Taymans <wim@fluendo.com>
1611 * gst/gstbuffer.c: (_gst_buffer_copy):
1614 * gst/gstcaps.c: (gst_caps_is_equal):
1616 Make _is_equal fast in the trivial cases.
1618 * gst/gstminiobject.c:
1619 * gst/gstminiobject.h:
1620 More docs. Spifify .h file.
1625 2005-11-11 Wim Taymans <wim@fluendo.com>
1627 * gst/base/gstbasetransform.c:
1628 (gst_base_transform_prepare_output_buf),
1629 (gst_base_transform_handle_buffer):
1631 If we're processing a buffer and need to allocate an output
1632 buffer, we cannot accept a format change. If we did get a
1633 format change, we have to alloc a buffer ourselves of the
1636 2005-11-11 Wim Taymans <wim@fluendo.com>
1638 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1639 While checking the flag for reentrancy in the gstcaps function
1640 is nice to detect recursive invocations, it also makes it
1641 impossible to call getcaps from multiple threads, which must be
1642 possible. So, checking for recursive calls has to go.
1644 2005-11-11 Michael Smith <msmith@fluendo.com>
1646 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1647 Don't sync on buffers that fall partially outside our current
1648 segment. Prevents an assertion failure/abort playing some files.
1650 2005-11-10 Andy Wingo <wingo@pobox.com>
1652 * check/gst/gstbin.c (test_message_state_changed_children): Style
1655 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1656 gst_bus_poll with the signal watch. Ensures that poll and a signal
1657 watch see the same messages.
1659 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1660 a poll and a watch at the same time get the same messages.
1662 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1664 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1665 * gst/gstcaps.c: (gst_caps_intersect):
1666 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1667 and it's not needed.
1669 2005-11-10 Wim Taymans <wim@fluendo.com>
1671 * docs/design/part-TODO.txt:
1674 2005-11-10 Wim Taymans <wim@fluendo.com>
1676 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1677 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1678 (gst_base_src_do_sync), (gst_base_src_get_range):
1679 Implement clock sync in base class.
1681 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1683 patch by: Tim-Philipp Müller <tim at centricular dot net>
1685 * gst/gststructure.c: (gst_structure_parse_field),
1686 (gst_structure_from_string):
1687 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1688 so that gst_parse_launch() can deal with spaces in filtered link
1689 caps (fixes #164479)
1690 * check/gst/capslist.h:
1691 * check/gst/gststructure.c: (GST_START_TEST):
1692 add unit tests for this change
1694 2005-11-10 Wim Taymans <wim@fluendo.com>
1696 * docs/gst/gstreamer-sections.txt:
1699 Fix docs, move some STATE macros to private.
1701 2005-11-10 Wim Taymans <wim@fluendo.com>
1703 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1704 Added check for bug #317341
1708 Some more spiffifying.
1710 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1711 Call peer linkfunction if we are a source pad. Totally fixes
1715 Update docs, source pads should call the peer linkfunction
1716 so they can atomically perform the pad link.
1718 2005-11-09 Wim Taymans <wim@fluendo.com>
1722 Uber-spiffy-spiffify some more.
1724 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1726 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1727 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1728 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1729 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1730 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1731 * gst/gstpad.c: (gst_pad_init):
1732 Use GST_DEBUG_FUNCPTR() more extensively.
1734 2005-11-09 Wim Taymans <wim@fluendo.com>
1736 * gst/gstobject.c: (gst_object_class_init):
1738 Documentation fixes.
1740 2005-11-09 Edward Hervey <edward@fluendo.com>
1742 * gst/gsttypefindfactory.c:
1745 2005-11-09 Edward Hervey <edward@fluendo.com>
1747 * gst/base/gsttypefindhelper.c:
1748 * gst/gsttypefind.c:
1749 * gst/gsttypefind.h:
1752 2005-11-09 Wim Taymans <wim@fluendo.com>
1754 * gst/gstiterator.c:
1761 2005-11-09 Wim Taymans <wim@fluendo.com>
1767 2005-11-09 Wim Taymans <wim@fluendo.com>
1769 * docs/gst/gstreamer-sections.txt:
1770 Moved the message async delivery private lock and cond
1771 to the private section.
1777 2005-11-09 Edward Hervey <edward@fluendo.com>
1779 * docs/gst/gstreamer-sections.txt:
1782 Document GstURIHandler
1784 2005-11-09 Wim Taymans <wim@fluendo.com>
1786 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1787 (gst_iterator_find_custom):
1788 * gst/gstiterator.h:
1791 2005-11-09 Wim Taymans <wim@fluendo.com>
1794 Document another field.
1796 * gst/gststructure.c:
1797 * gst/gststructure.h:
1800 2005-11-09 Wim Taymans <wim@fluendo.com>
1805 2005-11-09 Wim Taymans <wim@fluendo.com>
1807 * docs/gst/gstreamer-sections.txt:
1808 Added some new macros.
1815 2005-11-09 Wim Taymans <wim@fluendo.com>
1817 * docs/design/part-TODO.txt:
1818 Some more items for the TODO
1824 2005-11-09 Andy Wingo <wingo@pobox.com>
1826 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1827 to work on something else now tho...
1829 * gst/base/gstadapter.c: More adapter docs.
1831 * gst/elements/gstfilesink.c (gst_file_sink_start)
1832 (gst_file_sink_stop): New functions, replace the state change
1834 (gst_file_sink_class_init): Hook up the start and stop functions.
1835 (gst_file_sink_base_init): Don't set the state change handler any
1836 more. It was a bit ugly too, being set from here...
1837 (gst_file_sink_get_property, gst_file_sink_set_property):
1839 (gst_file_sink_set_location): More robust check that doesn't call
1842 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1844 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1845 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1847 2005-11-08 Wim Taymans <wim@fluendo.com>
1849 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1850 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1851 (gst_base_sink_chain), (gst_base_sink_change_state):
1852 * gst/base/gstbasesink.h:
1853 * gst/base/gstbasesrc.h:
1856 Avoid excessive typechecking in macros.
1858 * gst/gstminiobject.c: (gst_mini_object_get_type),
1859 (gst_mini_object_init), (gst_mini_object_new),
1860 (gst_mini_object_free):
1861 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1862 (gst_object_finalize):
1863 Remove cruft code, optimize alloc_trace.
1865 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1867 * docs/faq/gst-uninstalled:
1868 fix up PS1 for systems that try to reset it
1870 2005-11-07 Wim Taymans <wim@fluendo.com>
1872 * gst/base/gstbasesrc.c: (gst_base_src_init),
1873 (gst_base_src_get_range):
1874 Set the segment_end to -1 initially. Fixed typefind.
1876 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1878 * gst/base/gstadapter.c:
1879 Debug category should be 'adapter', not 'GstAdapter'.
1881 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1882 (gst_collectpads_class_init), (gst_collectpads_init),
1883 (gst_collectpads_peek), (gst_collectpads_pop),
1884 (gst_collectpads_event), (gst_collectpads_chain):
1885 Add debug category and some debugging output. Use boilerplate
1886 macros. Remove some extraneous words from docs.
1888 2005-11-05 Andy Wingo <wingo@pobox.com>
1890 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1893 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1895 * docs/gst/gstreamer-sections.txt:
1898 * gst/gstminiobject.h:
1903 2005-11-04 Wim Taymans <wim@fluendo.com>
1905 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1906 Small update to stop at the configured segment_end
1909 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1911 * gst/gstregistry.c:
1912 * gst/gstregistry.h:
1915 2005-11-04 Edward Hervey <edward@fluendo.com>
1917 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1918 Check if we are doing a segment seek and have arrived at the
1919 end of that segment.
1921 2005-11-04 Wim Taymans <wim@fluendo.com>
1923 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1924 Don't leak a mutex unlock in case of an error.
1929 2005-11-04 Wim Taymans <wim@fluendo.com>
1931 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1933 Get the context to wake up only once.
1935 2005-11-03 Wim Taymans <wim@fluendo.com>
1937 * check/states/sinks.c: (GST_START_TEST):
1938 Uncomment fixed check.
1940 * docs/design/part-TODO.txt:
1943 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1944 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1945 (gst_base_sink_get_position):
1946 If we are going to PLAYING, post the right pending state
1947 when we post the intermediate paused message.
1949 * gst/gstelement.c: (gst_element_continue_state),
1950 (gst_element_set_state_func), (gst_element_change_state):
1951 Don't post state changes that were between the same state
1954 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1956 * docs/gst/gstreamer-sections.txt:
1959 * gst/gstminiobject.h:
1962 more docs and doc style fixes
1964 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1966 * docs/gst/gstreamer-sections.txt:
1968 * gst/gstminiobject.c:
1971 2005-11-03 Andy Wingo <wingo@pobox.com>
1973 * check/states/sinks.c (test_livesrc_sink): Add checks that the
1974 state-changed messages actually have the right order and the right
1977 2005-11-03 Wim Taymans <wim@fluendo.com>
1979 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1980 Added some more checks. Specifically the case where NO_PREROLL
1981 elements are in the pipeline.
1983 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1984 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1985 (gst_base_sink_get_position):
1986 Post READY->PAUSED state change messages too.
1987 Fix bug where VOID was posted as pending state...
1989 * gst/gstbin.c: (gst_bin_recalc_state):
1990 use _element_continue_state() to continue the state change.
1992 * gst/gstelement.c: (gst_element_continue_state),
1993 (gst_element_commit_state), (gst_element_set_state_func),
1994 (gst_element_change_state), (gst_element_change_state_func):
1995 Lots of state change cleanups, assign the STATE_RETURN in
1996 a new continue_state() function that also propagates the
1997 last return value from a state change to the app.
1998 Update some debug statements with proper category.
2000 2005-11-03 Wim Taymans <wim@fluendo.com>
2002 * docs/design/part-events.txt:
2003 * docs/design/part-gstpipeline.txt:
2004 * docs/design/part-messages.txt:
2005 * docs/design/part-overview.txt:
2006 * docs/design/part-seeking.txt:
2007 * docs/design/part-states.txt:
2008 * docs/design/part-trickmodes.txt:
2009 * docs/manual/advanced-position.xml:
2013 People think !! is ugly, this looks better.
2015 * gst/gstpad.c: (gst_pad_set_blocked_async):
2016 Remove !! since it's fixed elsewhere now.
2018 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2020 * gst/gstminiobject.h:
2022 Add !! to _FLAG_IS_SET macros to make the result boolean.
2024 2005-11-03 Edward Hervey <edward@fluendo.com>
2026 * gst/gstpad.c: (gst_pad_set_blocked_async):
2027 comparing a flag and a gboolean rarely returns coherent results...
2028 Added two characters (!!) to make that work correctly.
2030 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2032 * gst/gstbus.c: (gst_bus_class_init):
2035 * gst/gstqueue.c: (gst_queue_loop):
2036 Don't assume a miniobject that isn't a buffer is an
2037 event (it could be that there is a refcounting
2038 problem somewhere and the pointer is stale and
2039 refers to an already destroyed miniobject).
2041 2005-11-03 Julien MOUTTE <julien@moutte.net>
2043 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2045 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2047 * docs/manual/advanced-position.xml:
2048 Update seek example and explanations to current 0.9 API.
2050 * gst/elements/gsttypefindelement.c:
2051 (gst_type_find_element_activate):
2052 Remove FIXME comment now that the found caps
2055 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2057 * gst/gstregistryxml.c: (load_feature):
2058 Add another GST_STR_NULL instance
2060 2005-11-02 Edward Hervey <edward@fluendo.com>
2062 * gst/gstpad.c: (handle_pad_block):
2063 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2065 2005-11-02 Wim Taymans <wim@fluendo.com>
2070 * gst/gstelement.c: (gst_element_commit_state):
2071 Remove unused value.
2073 * gst/gstiterator.c:
2074 Mention that the returned element is reffed in the docs.
2076 2005-11-02 Wim Taymans <wim@fluendo.com>
2078 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2079 (gst_pad_push), (gst_pad_push_event):
2080 Unlock blocked pads when they are flushed.
2082 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2085 * docs/gst/gstreamer-sections.txt:
2088 * gst/gstregistry.c: (gst_registry_scan_path_level):
2089 fix for a nasty little missed situation where an installed plug-in
2090 which was in the cache did not get overridden by an uninstalled one
2091 which was earlier in the plugin path because the newly created plugin
2092 for the uninstalled one (not in the registry) didn't get its
2093 ->registered set to TRUE
2095 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2097 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2098 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2099 (gst_collectpads_is_active), (gst_collectpads_collect),
2100 (gst_collectpads_collect_range), (gst_collectpads_start),
2101 (gst_collectpads_stop), (gst_collectpads_peek),
2102 (gst_collectpads_pop), (gst_collectpads_available),
2103 (gst_collectpads_read), (gst_collectpads_flush):
2104 Guard public API with assertions.
2107 Fix docs for gst_pad_set_link_function().
2109 2005-11-02 Johan Dahlin <johan@gnome.org>
2111 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2112 Unref found_caps after we used it.
2114 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2116 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2117 Don't try to ref NULL.
2119 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2121 * win32/common/config.h.in:
2122 provide a GST_FUNCTION that just gives a string for now
2124 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2126 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2127 (gst_object_flags_get_type), (register_gst_bin_flags),
2128 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2129 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2130 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2131 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2132 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2133 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2134 (gst_clock_flags_get_type), (register_gst_state),
2135 (gst_state_get_type), (register_gst_state_change_return),
2136 (gst_state_change_return_get_type), (register_gst_state_change),
2137 (gst_state_change_get_type), (register_gst_element_flags),
2138 (gst_element_flags_get_type), (register_gst_core_error),
2139 (gst_core_error_get_type), (register_gst_library_error),
2140 (gst_library_error_get_type), (register_gst_resource_error),
2141 (gst_resource_error_get_type), (register_gst_stream_error),
2142 (gst_stream_error_get_type), (register_gst_event_type),
2143 (gst_event_type_get_type), (register_gst_seek_type),
2144 (gst_seek_type_get_type), (register_gst_seek_flags),
2145 (gst_seek_flags_get_type), (register_gst_format),
2146 (gst_format_get_type), (register_gst_index_certainty),
2147 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2148 (gst_index_entry_type_get_type),
2149 (register_gst_index_lookup_method),
2150 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2151 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2152 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2153 (gst_index_flags_get_type), (register_gst_debug_level),
2154 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2155 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2156 (gst_iterator_result_get_type), (register_gst_iterator_item),
2157 (gst_iterator_item_get_type), (register_gst_message_type),
2158 (gst_message_type_get_type), (register_gst_mini_object_flags),
2159 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2160 (gst_pad_link_return_get_type), (register_gst_flow_return),
2161 (gst_flow_return_get_type), (register_gst_activate_mode),
2162 (gst_activate_mode_get_type), (register_gst_pad_direction),
2163 (gst_pad_direction_get_type), (register_gst_pad_flags),
2164 (gst_pad_flags_get_type), (register_gst_pad_presence),
2165 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2166 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2167 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2168 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2169 (gst_plugin_flags_get_type), (register_gst_rank),
2170 (gst_rank_get_type), (register_gst_query_type),
2171 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2172 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2173 (gst_tag_flag_get_type), (register_gst_task_state),
2174 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2175 (gst_alloc_trace_flags_get_type),
2176 (register_gst_type_find_probability),
2177 (gst_type_find_probability_get_type), (register_gst_uri_type),
2178 (gst_uri_type_get_type), (register_gst_parse_error),
2179 (gst_parse_error_get_type):
2180 * win32/common/gstversion.h:
2183 2005-11-01 Luca Ognibene <luogni@tin.it>
2186 fix docs. popt is dead, long live GOption.
2188 2005-10-31 Wim Taymans <wim@fluendo.com>
2193 2005-10-31 Andy Wingo <wingo@pobox.com>
2197 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2199 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2200 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2201 the possibility of deadlocks here if code calling notify() or
2202 set() has a lock that can be taken in another notify handler (ABBA
2203 with class lock and e.g. python GIL state lock).
2205 2005-10-28 Julien MOUTTE <julien@moutte.net>
2207 * gst/gstbus.c: Doc updates.
2209 2005-10-28 Wim Taymans <wim@fluendo.com>
2211 * docs/design/part-TODO.txt:
2212 * gst/gstiterator.c:
2213 * gst/gstsystemclock.c:
2214 * gst/gstsystemclock.h:
2217 2005-10-28 Edward Hervey <edward@fluendo.com>
2219 * docs/gst/gstreamer-docs.sgml:
2220 * docs/gst/gstreamer-sections.txt:
2221 the GstURIType documentation page is private, it only defines GstURIType
2222 which should be defined in the GstURIHandler page
2224 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2226 * gst/gstbin.c: (gst_bin_class_init):
2229 Documentation updates.
2231 2005-10-28 Wim Taymans <wim@fluendo.com>
2233 * docs/gst/gstreamer-sections.txt:
2236 Documented the clocks.
2238 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2240 * docs/gst/gstreamer-sections.txt:
2241 move some macros to private sections
2242 * gst/gstminiobject.c:
2243 * gst/gstminiobject.h:
2244 add descriptions provided by ds and some more
2246 mark macro as to be removed
2248 2005-10-28 Wim Taymans <wim@fluendo.com>
2250 * docs/design/part-TODO.txt:
2251 Add an item to TODO.
2253 * gst/gstiterator.c: (gst_iterator_fold),
2254 (gst_iterator_find_custom):
2255 * gst/gstiterator.h:
2258 2005-10-28 Wim Taymans <wim@fluendo.com>
2260 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2261 (gst_base_transform_init):
2264 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2265 An EOS event marks the queue as completely filled.
2267 2005-10-27 Wim Taymans <wim@fluendo.com>
2269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2270 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2271 Some more debugging.
2273 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2274 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2275 (gst_base_transform_event), (gst_base_transform_getrange),
2276 (gst_base_transform_chain):
2277 * gst/base/gstbasetransform.h:
2279 Protect transform and concurrent buffer alloc with a new lock.
2280 Try not to break ABI/API.
2282 2005-10-27 Wim Taymans <wim@fluendo.com>
2284 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2285 (gst_base_src_init), (gst_base_src_query),
2286 (gst_base_src_default_newsegment),
2287 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2288 (gst_base_src_send_event), (gst_base_src_event_handler),
2289 (gst_base_src_pad_get_range), (gst_base_src_loop),
2290 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2291 (gst_base_src_start), (gst_base_src_deactivate),
2292 (gst_base_src_activate_push), (gst_base_src_change_state):
2293 Move some stuff around and cleanup things.
2295 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2297 * gst/base/gstbasesrc.c: (gst_base_src_query):
2298 Add missing break statements.
2300 2005-10-27 Wim Taymans <wim@fluendo.com>
2302 * check/gst/gstbin.c: (GST_START_TEST):
2303 An extra refcount is taken in basesrc.
2305 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2306 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2307 (gst_base_src_loop):
2308 Small cleanups, check for flushing after being unlocked from the
2309 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2310 Don't send out EOS when going to READY.
2312 2005-10-27 Wim Taymans <wim@fluendo.com>
2314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2315 (gst_base_sink_get_position):
2318 * gst/gstbin.c: (message_check), (bin_replace_message),
2319 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2320 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2321 (bin_query_duration_init), (bin_query_duration_fold),
2322 (bin_query_duration_done), (bin_query_generic_fold),
2324 * tools/gst-launch.c: (main):
2327 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2329 * examples/controller/audio-example.c: (main):
2330 * examples/queue/queue.c: (event_loop):
2331 * gst/base/gstbasetransform.h:
2332 * gst/gstelement.c: (gst_element_send_event):
2334 * gst/gstpad.c: (gst_pad_send_event):
2337 changing log priority in error situations
2339 2005-10-25 Wim Taymans <wim@fluendo.com>
2341 * gst/gstbin.c: (message_check), (bin_replace_message),
2342 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2343 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2344 (bin_query_duration_init), (bin_query_duration_fold),
2345 (bin_query_duration_done), (bin_query_generic_fold),
2347 Some doc and debug updates.
2348 Cache previously requested query DURATION for speed. invalidate
2349 cached duration if element posts a DURATION message.
2351 2005-10-25 Wim Taymans <wim@fluendo.com>
2353 * docs/design/part-TODO.txt:
2356 * gst/gstbin.c: (message_check), (bin_replace_message),
2357 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2358 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2359 (bin_query_duration_init), (bin_query_duration_fold),
2360 (bin_query_duration_done), (bin_query_generic_fold),
2362 Handle SEGMENT_START/DONE messages correctly.
2363 More evolved query algorithm that handles duration queries
2366 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2367 (gst_element_get_state_func), (gst_element_abort_state),
2368 (gst_element_commit_state), (gst_element_lost_state):
2369 Some more debugging.
2374 2005-10-25 Wim Taymans <wim@fluendo.com>
2376 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2377 Don't use invalid stream_time.
2379 * gst/gstevent.c: (gst_event_new_newsegment):
2380 stream_time in newsegment cannot be undefined.
2382 2005-10-24 Wim Taymans <wim@fluendo.com>
2387 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2389 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2391 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2393 * docs/libs/tmpl/gstdparam.sgml:
2394 * docs/libs/tmpl/gstdplinint.sgml:
2395 * docs/libs/tmpl/gstdpman.sgml:
2396 * docs/libs/tmpl/gstdpsmooth.sgml:
2397 * docs/libs/tmpl/gstunitconvert.sgml:
2400 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2405 === release 0.9.4 ===
2407 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2410 releasing 0.9.4, "Tyrannosaurus Rex"
2412 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2414 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2415 (gst_file_sink_get_current_offset):
2416 Use fseeko() and ftello() if available. When falling back on
2417 lseek() to get the current offset, fflush() first to make sure
2418 everything is up-to-date and we get the right offset.
2420 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2423 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2424 * gst/gsterror.c: (_gst_stream_errors_init):
2426 * gst/gstqueue.c: (gst_queue_loop):
2428 remove prematurely added error category and clean up the instances
2430 2005-10-21 Wim Taymans <wim@fluendo.com>
2432 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2433 (gst_base_sink_get_position), (gst_base_sink_query),
2434 (gst_base_sink_change_state):
2435 Simply set the right flag when going to playing, that's all
2436 we need to do instead of calling a function inside the object
2437 lock (that could take the lock as well and deadlock)
2439 2005-10-21 Wim Taymans <wim@fluendo.com>
2441 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2442 (gst_base_src_loop):
2443 Don't warn, the peer element knows what to do best when
2444 the seek failed, it might try something else.
2446 2005-10-21 Wim Taymans <wim@fluendo.com>
2448 * gst/base/gstbasesrc.c: (gst_base_src_init),
2449 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2452 2005-10-21 Wim Taymans <wim@fluendo.com>
2454 * docs/design/part-segments.txt:
2457 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2458 Correctly set caps, even on the subbufer.
2460 2005-10-21 Wim Taymans <wim@fluendo.com>
2462 * docs/gst/gstreamer-docs.sgml:
2463 * docs/gst/gstreamer-sections.txt:
2470 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2474 And 2% more doc coverage.
2476 2005-10-21 Andy Wingo <wingo@pobox.com>
2478 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2481 2005-10-20 Wim Taymans <wim@fluendo.com>
2483 * gst/gsterror.c: (gst_error_get_message):
2486 * gst/gststructure.c:
2491 2005-10-20 Wim Taymans <wim@fluendo.com>
2496 Another 1% more coverage.
2498 2005-10-20 Wim Taymans <wim@fluendo.com>
2500 * docs/gst/gstreamer-sections.txt:
2501 * gst/gstelement.c: (gst_element_get_state_func),
2502 (gst_element_abort_state), (gst_element_commit_state),
2503 (gst_element_lost_state):
2505 * gst/gstquery.c: (gst_query_set_position),
2506 (gst_query_parse_position), (gst_query_set_duration),
2507 (gst_query_parse_duration), (gst_query_new_convert):
2509 Yay! 1% more docs coverage.
2511 2005-10-20 Wim Taymans <wim@fluendo.com>
2514 * gst/gstquery.c: (gst_query_set_position),
2515 (gst_query_parse_position), (gst_query_set_duration),
2516 (gst_query_parse_duration), (gst_query_new_convert):
2518 * gst/gstutils.c: (gst_element_query_convert):
2520 Docs and consistency fixes.
2522 2005-10-20 Wim Taymans <wim@fluendo.com>
2528 2005-10-20 Wim Taymans <wim@fluendo.com>
2530 * gst/gstbin.c: (message_check), (bin_replace_message),
2531 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2532 (update_degree), (gst_bin_sort_iterator_next),
2533 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2534 Reworked the message handling a bit, cache the messages instead of
2535 only the senders. alows us to do more in the future.
2537 2005-10-20 Wim Taymans <wim@fluendo.com>
2539 * docs/design/part-TODO.txt:
2542 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2543 (gst_base_sink_query):
2544 Don't use clock time to report position when in EOS.
2546 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2548 * tools/gst-inspect.c: (print_interfaces),
2549 (print_element_properties_info), (print_element_info):
2550 Fix interface output with gst-inspect -a; don't print
2551 newlines after double/float properties.
2553 2005-10-20 Wim Taymans <wim@fluendo.com>
2555 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2556 (gst_base_sink_query):
2557 Speed up current position calculation.
2559 * gst/base/gstbasesrc.c: (gst_base_src_query),
2560 (gst_base_src_default_newsegment):
2561 Correctly set stream position in newsegment.
2563 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2564 (update_degree), (gst_bin_sort_iterator_next),
2565 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2566 * gst/gstmessage.c: (gst_message_new_custom):
2567 Clean up debugging info
2569 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2570 (gst_queue_loop), (gst_queue_handle_src_query):
2573 2005-10-19 Wim Taymans <wim@fluendo.com>
2575 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2576 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2577 Fix query handling again.
2579 2005-10-19 Wim Taymans <wim@fluendo.com>
2581 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2582 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2583 * gst/base/gstbasesrc.c: (gst_base_src_query):
2584 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2585 * gst/elements/gsttypefindelement.c:
2586 (gst_type_find_handle_src_query), (find_element_get_length),
2587 (gst_type_find_element_activate):
2590 * gst/gstquery.c: (gst_query_new_position),
2591 (gst_query_set_position), (gst_query_parse_position),
2592 (gst_query_new_duration), (gst_query_set_duration),
2593 (gst_query_parse_duration), (gst_query_set_segment),
2594 (gst_query_parse_segment):
2596 Bundling query position/duration is not a good idea since duration
2597 does not change much and we don't want to recalculate it for every
2598 position query, so they are separated again..
2599 Base value in segment query is not needed.
2601 * gst/gstqueue.c: (gst_queue_handle_src_query):
2602 * gst/gstutils.c: (gst_element_query_position),
2603 (gst_element_query_duration), (gst_pad_query_position),
2604 (gst_pad_query_duration):
2606 Updates for query API change.
2607 Added some docs here and there.
2609 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2611 * check/gst/gstbin.c: (GST_START_TEST):
2612 * check/gst/gstghostpad.c: (GST_START_TEST):
2613 * check/pipelines/cleanup.c: (GST_START_TEST):
2614 wait on thread to die so we can check refcount correctly
2616 2005-10-18 Wim Taymans <wim@fluendo.com>
2618 * check/pipelines/stress.c: (GST_START_TEST):
2619 Make check a little more time consuming.
2621 2005-10-18 Wim Taymans <wim@fluendo.com>
2623 * check/Makefile.am:
2624 * check/pipelines/stress.c: (GST_START_TEST),
2625 (simple_launch_lines_suite), (main):
2626 Small state change torture test.
2628 * docs/design/part-states.txt:
2629 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2630 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2631 (gst_base_sink_change_state):
2632 Never take state lock from streaming thread, clean up ugly
2633 hacks. Unfortunatly core does not yet support nice ways to
2636 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2638 Start state recalc if a STATE_DIRTY message is posted, but only
2639 on the toplevel bin.
2641 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2642 (gst_element_get_state_func), (gst_element_abort_state),
2643 (gst_element_commit_state), (gst_element_lost_state),
2644 (gst_element_set_state_func), (gst_element_change_state):
2646 State variables are now protected with the LOCK, the state
2647 lock is only used to serialize _set_state().
2649 2005-10-18 Wim Taymans <wim@fluendo.com>
2651 * check/gst/gstbin.c: (GST_START_TEST):
2652 * check/gst/gstmessage.c: (GST_START_TEST):
2653 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2654 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2656 * gst/gstelement.c: (gst_element_abort_state),
2657 (gst_element_commit_state), (gst_element_lost_state):
2658 * gst/gstmessage.c: (gst_message_new_state_changed),
2659 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2660 (gst_message_new_segment_done), (gst_message_new_duration),
2661 (gst_message_parse_state_changed),
2662 (gst_message_parse_segment_start),
2663 (gst_message_parse_segment_done), (gst_message_parse_duration):
2665 * tools/gst-launch.c: (event_loop):
2666 Seriously, this is better than a previous commit as we only need
2667 to notify the fact that an element changed state in a streaming
2668 thread, marking the state of the parents dirty, hence the
2669 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2672 2005-10-18 Wim Taymans <wim@fluendo.com>
2674 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2675 (gst_bin_recalc_func):
2676 * gst/gstelement.c: (gst_element_set_clock),
2677 (gst_element_abort_state), (gst_element_lost_state):
2678 Cleanups, prepare for state change fixes.
2680 2005-10-18 Wim Taymans <wim@fluendo.com>
2683 * gst/gstelement.c: (gst_element_class_init),
2684 (gst_element_set_state), (gst_element_set_state_func):
2686 Pending ABI changes.
2687 GThreadPool in GstBinClass to monitor async state changes.
2688 state_cookie in GstElement to detect concurrent gst/set state.
2689 set_state is now virtual too in case a very complicated element
2690 has to be constructed.
2692 2005-10-18 Wim Taymans <wim@fluendo.com>
2694 * check/gst/gstbin.c: (GST_START_TEST):
2695 * check/gst/gstmessage.c: (GST_START_TEST):
2696 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2697 * gst/gstbin.c: (bin_bus_handler):
2698 * gst/gstelement.c: (gst_element_commit_state),
2699 (gst_element_lost_state):
2700 * gst/gstmessage.c: (gst_message_new_state_changed),
2701 (gst_message_new_segment_start), (gst_message_new_segment_done),
2702 (gst_message_new_duration), (gst_message_parse_state_changed),
2703 (gst_message_parse_segment_start),
2704 (gst_message_parse_segment_done), (gst_message_parse_duration):
2706 * tools/gst-launch.c: (event_loop):
2707 Make messages future proof.
2708 state-change gets a flag if it was a message comming from the
2710 segment-start/stop can also be specified in other formats.
2711 A message to notify an app that a pipeline changed playback
2713 Also fix a GstMessage leak in -launch
2715 2005-10-18 Andy Wingo <wingo@pobox.com>
2717 * gst/gstelement.c (gst_element_dispose): More helpful message.
2719 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2721 reviewed by: <delete if not using a buddy>
2723 * common/gtk-doc.mak:
2725 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2727 * gst/gstregistry.c: (gst_registry_scan_path_level):
2728 unref a plug-in we get that was already initialized
2730 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2732 * docs/gst/gstreamer-sections.txt:
2733 * docs/libs/gstreamer-libs-sections.txt:
2738 2005-10-17 Andy Wingo <wingo@pobox.com>
2740 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2743 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2745 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2747 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2748 (gst_element_get_state_func): Better debug message.
2749 (gst_element_commit_state): s/INFO/DEBUG/.
2750 (gst_element_lost_state, gst_element_change_state):
2752 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2753 (gst_message_new_custom): s/INFO/LOG/.
2755 2005-10-17 Michael Smith <msmith@fluendo.com>
2757 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2758 Check if end time is valid using end time, not start time.
2760 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2762 * check/gst-libs/controller.c: (GST_START_TEST),
2763 (gst_controller_suite):
2764 * libs/gst/controller/gstcontroller.c:
2765 (gst_controlled_property_set_interpolation_mode):
2766 * libs/gst/controller/gstcontroller.h:
2767 * libs/gst/controller/gstinterpolation.c:
2768 * testsuite/controller/.cvsignore:
2769 * testsuite/controller/Makefile.am:
2770 * testsuite/controller/interpolator.c:
2771 merge controller testsuites
2773 remove mem-chunk from docs
2775 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2777 * gst/gstmemchunk.c:
2778 * gst/gstmemchunk.h:
2779 * gst/gsttrashstack.c:
2780 * gst/gsttrashstack.h:
2781 out. get out. you're fired. to the Attic !
2783 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2785 * gst/gstcaps.c: (gst_caps_intersect):
2786 fix signedness issues in a (hopefully) correct way
2787 * gst/gstelement.c: (gst_element_pads_activate):
2789 * gst/gstobject.c: (gst_object_set_parent):
2792 2005-10-17 Julien MOUTTE <julien@moutte.net>
2794 * gst/gstvalue.h: Fix prototypes.
2796 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2798 * docs/gst/gstreamer-sections.txt:
2799 * gst/gst.c: (gst_version_string):
2801 * gst/gstversion.h.in:
2802 * win32/common/libgstreamer.def:
2803 add gst_version_string ()
2805 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2809 * gst/gst.c: (init_post):
2810 * win32/common/config.h.in:
2812 * gst/gstcaps.c: (gst_caps_intersect):
2813 use gint64, the range could be bigger than a guint
2815 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2818 document potential problem in 2038
2820 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2822 * gst/gstcaps.c: (gst_caps_intersect):
2823 Fix guint j diving under 0
2825 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2828 * win32/common/config.h:
2829 * win32/common/config.h.in:
2830 check for process.h, declares getpid() on Windows
2832 include process.h if we have it
2833 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2834 * gst/gstmemchunk.h:
2835 fix signedness issues
2836 * win32/common/libgstreamer.def:
2839 2005-10-16 Julien MOUTTE <julien@moutte.net>
2841 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2842 fix. Because of unsigned ints, caps intersection was going nuts and
2843 trying to access structures with G_MAXUINT index. That fixes
2844 videotestsrc ! ffmpegcolorspace ! fakesink
2845 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2848 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2851 use the gettext macro
2852 * gst/elements/gstelements.c:
2854 * gst/indexers/gstindexers.c:
2855 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2856 * win32/common/config.h:
2858 * win32/common/config.h.in:
2859 add the template to generate config.h
2860 * win32/common/gstenumtypes.c:
2861 * win32/common/gstversion.h:
2864 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2866 * gst/gst.c: (gst_version):
2867 * gst/gstversion.h.in:
2870 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2873 Oops, add missing closing bracket.
2875 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2878 use common m4's for argument checking
2880 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2882 * docs/gst/gstreamer-sections.txt:
2884 Add GST_EVENT_TYPE_NAME() macro.
2886 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2889 * gst/gstpluginfeature.c:
2891 privatize more symbols
2893 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2896 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2897 everything that uses GStreamer API should have the includes
2899 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2901 * docs/gst/gstreamer-sections.txt:
2902 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2904 give each value a _get_type, removes the DATA exports
2906 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2910 remove _gst_registry_auto_load, not used anymore
2911 * gst/gstbin.c: (gst_bin_get_type):
2913 * gst/gstelement.c: (gst_element_get_type):
2915 * gst/gstobject.c: (gst_object_get_type):
2917 * gst/gstpad.c: (gst_pad_get_type):
2919 make _get_type functions similar, fixes data export from library
2921 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2924 correctly make conditionals
2925 * gst/elements/Makefile.am:
2926 * gst/elements/gstelements.c:
2927 fix typo causing fdsrc not to build
2929 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2931 * testsuite/Makefile.am:
2932 * testsuite/bytestream/.cvsignore:
2933 * testsuite/bytestream/Makefile.am:
2934 * testsuite/bytestream/filepadsink.c:
2935 * testsuite/bytestream/gstbstest.c:
2936 * testsuite/bytestream/test1.c:
2937 * testsuite/bytestream/testfile1:
2938 * testsuite/caps/normalisation.c:
2939 * testsuite/caps/random.c: (main):
2940 * testsuite/cleanup/.cvsignore:
2941 * testsuite/cleanup/Makefile.am:
2942 * testsuite/cleanup/cleanup1.c:
2943 * testsuite/cleanup/cleanup2.c:
2944 * testsuite/cleanup/cleanup3.c:
2945 * testsuite/cleanup/cleanup4.c:
2946 * testsuite/cleanup/cleanup5.c:
2947 * testsuite/controller/interpolator.c:
2948 * testsuite/debug/printf_extension.c: (main):
2949 * testsuite/elements/tee.c:
2950 * testsuite/negotiation/.cvsignore:
2951 * testsuite/negotiation/Makefile.am:
2952 * testsuite/negotiation/pad_link.c:
2953 * testsuite/pad/Makefile.am:
2954 * testsuite/pad/chainnopull.c:
2955 * testsuite/pad/getnopush.c:
2956 * testsuite/pad/link.c:
2957 * testsuite/refcounting/sched.c: (create_pipeline):
2958 * testsuite/registry/Makefile.am:
2959 * testsuite/registry/gst-print-formats.c:
2960 * testsuite/schedulers/.cvsignore:
2961 * testsuite/schedulers/142183-2.c:
2962 * testsuite/schedulers/142183.c:
2963 * testsuite/schedulers/143777-2.c:
2964 * testsuite/schedulers/143777.c:
2965 * testsuite/schedulers/147713.c:
2966 * testsuite/schedulers/147819.c:
2967 * testsuite/schedulers/147894-2.c:
2968 * testsuite/schedulers/147894.c:
2969 * testsuite/schedulers/Makefile.am:
2970 * testsuite/schedulers/group_link.c:
2971 * testsuite/schedulers/queue_link.c:
2972 * testsuite/schedulers/relink.c:
2973 * testsuite/schedulers/unlink.c:
2974 * testsuite/schedulers/unref.c:
2975 * testsuite/schedulers/useless_iteration.c:
2976 * testsuite/states/bin.c:
2977 clean out/remove some stuff from the testsuite directories
2979 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2982 check for some headers
2983 * gst/elements/Makefile.am:
2984 * gst/elements/gstelements.c:
2985 don't compile fdsrc without sys/socket.h
2986 * gst/indexers/Makefile.am:
2987 * gst/indexers/gstindexers.c: (plugin_init):
2988 don't compile fileindex without mmap
2990 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2997 * check/Makefile.am:
2998 * docs/gst/Makefile.am:
2999 * examples/helloworld/Makefile.am:
3001 * gst/base/Makefile.am:
3002 * gst/check/Makefile.am:
3003 * gst/elements/Makefile.am:
3004 * gst/indexers/Makefile.am:
3005 * gst/parse/Makefile.am:
3006 * libs/gst/controller/Makefile.am:
3007 * libs/gst/dataprotocol/Makefile.am:
3008 * examples/helloworld/helloworld.c: (event_loop):
3009 compile fixes, though it's not being compiled currently
3011 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3013 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3014 Add some simple tests for the new taglist date API.
3016 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3018 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3019 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3020 Beautify 'last-message' output: print 'none' for buffer timestamps
3021 and durations if none is set; improve alignment with next messages.
3023 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3025 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3026 * gst/gstpluginfeature.h:
3027 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3028 * gst/gstregistry.h:
3029 * docs/gst/gstreamer-sections.txt:
3030 Add new API to check plugin feature version requirements.
3032 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3033 Some basic tests for the above.
3035 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3037 * gst/gststructure.c: (gst_structure_to_string):
3038 guard against NULL printf - happens when for example
3039 a message structure with GstClock gets serialized
3041 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3043 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3044 Fix presumable copy'n'pasto.
3046 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3048 * gst/elements/gstfakesrc.h:
3049 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3050 * gst/elements/gsttypefindelement.c:
3052 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3053 I wonder if this could actually write +2GB files before
3055 2005-10-13 Andy Wingo <wingo@pobox.com>
3057 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3058 Fix Timmeke Waymans bug.
3059 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3060 string of the proper length to gst_caps_from_string. There's a
3061 potential for, before this fix, that this could cause someone
3062 connecting over the network to cause a segfault if the payload is
3065 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3067 * docs/design/draft-push-pull.txt:
3068 * docs/design/part-overview.txt:
3069 * docs/random/TODO-pre-0.9:
3070 * docs/random/old/ChangeLog.gstreamer:
3071 * gst/base/gstpushsrc.c:
3075 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3077 * gst/glib-compat.c: (gst_flags_get_first_value):
3078 * gst/glib-compat.h:
3079 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3080 (gst_value_compare_double), (gst_value_serialize_flags):
3081 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3084 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3086 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3087 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3089 * tools/gst-launch.c: (event_loop):
3090 print out clock nicely
3092 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3094 * docs/gst/gstreamer-sections.txt:
3096 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3097 (gst_tag_list_get_date_index):
3098 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3099 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3101 2005-10-13 Julien MOUTTE <julien@moutte.net>
3103 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3104 (gst_collectpads_chain):
3105 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3108 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3110 * docs/gst/gstreamer-sections.txt:
3113 * tools/gst-inspect.c: (main):
3114 * tools/gst-launch.c: (main):
3115 * tools/gst-run.c: (main):
3116 * tools/gst-xmlinspect.c: (main):
3117 fix GOption context leaks
3120 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3124 * win32/common/config.h:
3126 * win32/vs6/grammar.dsp:
3127 * win32/vs6/libgstelements.dsp:
3128 * win32/vs6/libgstreamer.dsp:
3131 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3133 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3134 * gst/base/gstbasesrc.c: (gst_base_src_query):
3135 fix more guint64<->gdouble conversions
3137 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3140 add win32-update target
3141 * win32/common/gstconfig.h:
3142 * win32/common/gstenumtypes.c:
3143 * win32/common/gstenumtypes.h:
3144 * win32/common/gstversion.h:
3145 add files that visual studio can't generate
3147 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3150 add a win32-update target
3153 2005-10-12 Wim Taymans <wim@fluendo.com>
3155 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3156 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3157 * gst/gstelement.c: (gst_element_commit_state),
3158 (gst_element_set_state):
3159 Protect flags with proper lock.
3160 unref provided cached clock in dispose.
3162 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3165 * gst/gstminiobject.h:
3167 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3168 removed unused flags from miniobject
3171 2005-10-12 Wim Taymans <wim@fluendo.com>
3173 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3174 (gst_file_sink_event), (gst_file_sink_render):
3175 Flush before seeking.
3177 2005-10-12 Andy Wingo <wingo@pobox.com>
3179 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3180 always been the case.
3182 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3184 * check/gst/gstbin.c: (GST_START_TEST):
3185 * docs/gst/gstreamer-sections.txt:
3186 * gst/base/gstbasesink.c: (gst_base_sink_init):
3187 * gst/base/gstbasesrc.c: (gst_base_src_init),
3188 (gst_base_src_get_range), (gst_base_src_check_get_range),
3189 (gst_base_src_start), (gst_base_src_stop):
3190 * gst/base/gstbasesrc.h:
3191 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3192 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3193 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3197 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3199 * gst/gstelement.c: (gst_element_is_locked_state),
3200 (gst_element_set_locked_state), (gst_element_commit_state),
3201 (gst_element_set_state):
3203 * gst/gstindex.c: (gst_index_init):
3205 * gst/gstminiobject.h:
3206 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3207 (gst_object_set_parent):
3209 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3210 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3212 * gst/gstpadtemplate.h:
3213 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3214 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3215 * gst/gstpipeline.h:
3216 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3217 (gst_file_index_commit):
3218 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3219 * testsuite/pad/link.c: (gst_test_src_init),
3220 (gst_test_filter_init), (gst_test_sink_init):
3221 * testsuite/states/locked.c: (main):
3222 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3223 moved bitshift from macro to enum definition
3225 2005-10-12 Wim Taymans <wim@fluendo.com>
3227 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3228 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3229 (gst_file_sink_render):
3230 Some more debugging info.
3232 2005-10-12 Wim Taymans <wim@fluendo.com>
3234 * docs/design/part-states.txt:
3235 * tools/gst-launch.c: (main):
3237 Revert non-intentional change.
3239 2005-10-12 Wim Taymans <wim@fluendo.com>
3241 * check/gst/gstbin.c: (GST_START_TEST):
3242 * check/gst/gstelement.c: (GST_START_TEST):
3243 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3244 * check/gst/gstghostpad.c: (GST_START_TEST):
3245 * check/gst/gstpipeline.c: (GST_START_TEST):
3246 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3247 * check/states/sinks.c: (GST_START_TEST):
3248 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3249 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3250 (gst_bin_remove_func), (gst_bin_get_state_func),
3251 (gst_bin_recalc_state), (gst_bin_change_state_func),
3253 * gst/gstelement.c: (gst_element_get_state_func),
3254 (gst_element_get_state), (gst_element_abort_state),
3255 (gst_element_commit_state), (gst_element_set_state),
3256 (gst_element_change_state), (gst_element_change_state_func):
3258 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3259 (gst_pipeline_provide_clock_func):
3260 * gst/gstutils.c: (gst_element_link_pads_filtered):
3261 * tools/gst-launch.c: (main):
3262 * tools/gst-typefind.c: (main):
3263 Use GstClockTime in _get_state() instead of GTimeVal.
3264 Remove old code in gstutils.c
3266 2005-10-12 Andy Wingo <wingo@pobox.com>
3268 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3271 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3272 there is no task. Shouldn't affect any code, as nothing in our
3273 plugins checks this return value.
3274 (gst_pad_stop_task): Also take the stream lock if the pad has no
3277 2005-10-12 Wim Taymans <wim@fluendo.com>
3279 * gst/gstpad.c: (pre_activate), (post_activate),
3280 (gst_pad_activate_pull), (gst_pad_activate_push):
3281 Cleanup activation code. Reset old state if
3284 2005-10-12 Wim Taymans <wim@fluendo.com>
3286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3287 (gst_base_sink_change_state):
3288 No need to prerol after receiving EOS.
3290 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3291 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3292 * gst/elements/gstidentity.c: (gst_identity_event):
3293 Print events more verbosely.
3295 2005-10-12 Wim Taymans <wim@fluendo.com>
3297 * check/Makefile.am:
3298 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3299 * check/states/sinks2.c:
3300 Moved sinks2 testcode in sinks check.
3302 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3303 (gst_bin_remove_func), (gst_bin_recalc_state),
3304 (gst_bin_change_state_func), (bin_bus_handler):
3305 Fix potential race condition when _get_state() iterated over an
3306 ASYNC element right before it posted a state completion.
3309 Do proper cast here.
3311 * gst/gstevent.c: (gst_event_new_newsegment),
3312 (gst_event_parse_newsegment):
3313 A playback rate of 0.0 is not allowed.
3315 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3317 * win32/common/config.h:
3318 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3319 (_trewinddir), (_ttelldir), (_tseekdir):
3320 * win32/common/dirent.h:
3321 * win32/common/gtchar.h:
3322 * win32/common/libgstbase.def:
3323 * win32/common/libgstreamer.def:
3324 * win32/vs6/grammar.dsp:
3325 * win32/vs6/gst_inspect.dsp:
3326 * win32/vs6/gst_launch.dsp:
3327 * win32/vs6/gstreamer.dsw:
3328 * win32/vs6/libgstbase.dsp:
3329 * win32/vs6/libgstelements.dsp:
3330 * win32/vs6/libgstreamer.dsp:
3331 Visual Studio 6 project files, and a new common directory.
3334 2005-10-11 Wim Taymans <wim@fluendo.com>
3336 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3337 (gst_base_sink_do_sync), (gst_base_sink_query),
3338 (gst_base_sink_change_state):
3339 * gst/base/gstbasesink.h:
3340 Correctly parse newsegment info.
3342 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3344 * gst/gst.c: (init_post):
3345 split plugin paths correctly
3347 2005-10-11 Wim Taymans <wim@fluendo.com>
3349 * check/gst/gstevent.c: (GST_START_TEST):
3350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3351 (gst_base_sink_change_state):
3352 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3353 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3354 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3355 * gst/gstevent.c: (gst_event_new_newsegment),
3356 (gst_event_parse_newsegment):
3358 Added extra flag to newsegment for future API freeze.
3359 Updated check and base elements.
3361 2005-10-11 Julien MOUTTE <julien@moutte.net>
3363 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3364 (gst_collectpads_add_pad), (gst_collectpads_pop),
3365 (gst_collectpads_event), (gst_collectpads_chain):
3366 * gst/base/gstcollectpads.h: Handle EOS correctly.
3368 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3370 * tools/gst-launch.c: (main):
3371 more null protecting
3373 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3375 * gst/gst-i18n-lib.h:
3376 check for ENABLE_NLS, not GETTEXT_PACKAGE
3377 * gst/gstregistry.c: (gst_registry_add_plugin),
3378 (gst_registry_scan_path_level),
3379 (_gst_registry_remove_cache_plugins):
3380 protect possibly NULL strings
3381 * gst/parse/types.h:
3382 config.h already included before
3383 * tools/gst-inspect.c: (main):
3384 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3385 check for ENABLE_NLS, not GETTEXT_PACKAGE
3386 * tools/gst-launch.c: (main):
3387 check for ENABLE_NLS, not GETTEXT_PACKAGE
3389 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3392 if we don't have glib, fail before testing 2.8
3393 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3394 fix a leak, should fix plugins-base testsuite
3396 2005-10-11 Andy Wingo <wingo@pobox.com>
3398 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3399 take the mode we're going to as an arg. Go head and set the mode
3400 and flushing flags now, so that if the activate function starts a
3401 thread all the flags will be in the right state.
3402 (post_activate): Renamed also. Just handle making sure streaming
3403 finishes for the deactivation case, and setting the deactivated
3405 (gst_pad_set_active): Complain loudly if deactivation fails.
3406 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3407 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3408 remove the terrible hack.
3410 2005-10-11 Wim Taymans <wim@fluendo.com>
3412 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3413 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3414 (gst_bin_recalc_state), (gst_bin_change_state_func),
3415 (gst_bin_dispose), (bin_bus_handler):
3417 Prepare to make current EOS message queue more generic.
3420 * gst/gstevent.c: (gst_event_new_newsegment),
3421 (gst_event_parse_newsegment):
3423 Rename base to stream_time.
3428 2005-10-11 Wim Taymans <wim@fluendo.com>
3430 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3431 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3432 (gst_bin_change_state_func), (bin_bus_handler):
3434 Work on proper clock selection.
3436 2005-10-11 Edward Hervey <edward@fluendo.com>
3438 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3439 * libs/gst/controller/gstcontroller.h:
3440 Added GList* version of _remove_properties() in order to be able to wrap
3443 2005-10-11 Wim Taymans <wim@fluendo.com>
3445 * docs/design/part-states.txt:
3448 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3449 (gst_bin_change_state_func), (bin_bus_handler):
3450 Doc updates. Don't distribute the same clock over and over again.
3456 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3457 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3458 (gst_pad_send_event):
3460 Make probe emission threadsafe again.
3461 Register quarks and move _get_name() from utils.
3464 * gst/gstpipeline.c: (gst_pipeline_class_init),
3465 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3466 Only redistribute the clock of it changed.
3468 * gst/gstsystemclock.h:
3473 Moved the _flow_get_name() to GstPad.
3475 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3477 * check/gst-libs/gdp.c: (GST_START_TEST):
3478 * check/gst/gstcaps.c: (GST_START_TEST):
3479 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3480 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3481 (gst_dp_packet_from_caps):
3482 fix more valgrind warnings before turning up the heat
3484 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3486 * gst/parse/grammar.y:
3487 some cleanup before the hacking
3489 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3491 * gst/base/gstbasesrc.c: (gst_base_src_query):
3493 * gst/gstutils.c: (gst_guint64_to_gdouble),
3494 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3496 externalize, basesrc uses it
3497 obviously the implementation needs testing
3499 2005-10-10 Wim Taymans <wim@fluendo.com>
3501 * tests/sched/Makefile.am:
3502 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3503 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3505 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3507 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3508 apparently converting from guint64 to double is not implemented
3511 2005-10-10 Wim Taymans <wim@fluendo.com>
3513 * check/Makefile.am:
3514 * check/generic/states.c: (GST_START_TEST):
3515 * check/gst/gstbin.c: (GST_START_TEST):
3516 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3517 * check/states/sinks.c: (GST_START_TEST):
3518 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3520 Check fixes, use API as stated in design docs, remove hacks.
3522 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3523 (gst_base_sink_change_state):
3524 Catch stopping our task while we're shutting down.
3526 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3527 (gst_bin_remove_func), (gst_bin_get_state_func),
3528 (gst_bin_recalc_state), (gst_bin_change_state_func),
3531 * gst/gstelement.c: (gst_element_init),
3532 (gst_element_get_state_func), (gst_element_abort_state),
3533 (gst_element_commit_state), (gst_element_lost_state),
3534 (gst_element_set_state), (gst_element_change_state),
3535 (gst_element_change_state_func):
3537 New state change algorithm (see #318116)
3539 * gst/gstpipeline.c: (gst_pipeline_class_init),
3540 (gst_pipeline_init), (gst_pipeline_set_property),
3541 (gst_pipeline_get_property), (do_pipeline_seek),
3542 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3543 * gst/gstpipeline.h:
3544 Remove crude state change hacks.
3549 * tools/gst-launch.c: (main):
3550 Fixes for state change. Needs some more work to fully use the
3553 2005-10-10 Andy Wingo <wingo@pobox.com>
3555 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3557 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3558 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3561 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3563 * gst/gstiterator.c: (gst_iterator_new):
3564 Fix my previous commit: GTypes passed to gst_iterator_new()
3565 can be fundamental types.
3567 2005-10-10 Wim Taymans <wim@fluendo.com>
3569 * gst/gstelement.c: (gst_element_iterate_pad_list),
3570 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3571 (gst_element_iterate_sink_pads):
3572 Use src/sink pads lists for the respective iterators instead
3575 2005-10-10 Andy Wingo <wingo@pobox.com>
3577 Merged in popt removal + GOption addition patch from Ronald, bug
3580 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3581 GstElement macros around, remove popt-related symbols, add goption
3584 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3586 * docs/gst/Makefile.am:
3587 * docs/libs/Makefile.am: No POPT_CFLAGS.
3589 * examples/manual/Makefile.am:
3590 * docs/manual/basics-init.xml: Doc updates with an example.
3592 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3593 (gst_init), (parse_one_option), (parse_goption_arg):
3594 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3595 bit of hand merging and debugging to get the GOption stuff working
3598 * tests/Makefile.am:
3599 * tools/Makefile.am:
3600 * tools/gst-inspect.c: (main):
3601 * tools/gst-launch.c: (main):
3602 * tools/gst-run.c: (main):
3603 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3605 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3607 * gst/gstiterator.c: (gst_iterator_new):
3608 Add assertions to make sure passed GType is likely to really
3609 be a GType (as the compiler won't catch it if the size and
3610 GType arguments get mixed up, see #318447).
3612 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3614 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3616 * gst/gstbin.c: (gst_bin_iterate_sorted):
3617 Pass GType and size arguments to gst_iterator_new() in the right
3618 order (maybe we should make _new() take the GType as first argument
3619 just like _new_list()?) (#318447).
3622 2005-10-10 Wim Taymans <wim@fluendo.com>
3624 * gst/gstelement.c: (gst_element_finalize):
3625 And free the GStaticRecMutex too
3627 2005-10-10 Andy Wingo <wingo@pobox.com>
3629 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3630 Allocate and free the mutex properly.
3632 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3634 (GstElement): The state_lock is now recursive. Rebuild your
3635 plugins, suckers. Old macros adapted.
3637 * docs/gst/gstreamer-sections.txt: Doc updates.
3640 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3641 (g_static_rec_cond_wait): Ported from state changes patch, while
3642 we wait on bug #317802 to be solved in a well-distributed GLib.
3644 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3645 gst_element_change_state, variable name changes.
3646 (gst_element_change_state): Split out of gst_element_set_state in
3647 preparation for the state change merge. Doesn't pay attention to
3648 the 'transition' argument.
3649 (gst_element_set_state): Updates, hopefully purely cosmetic.
3650 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3652 (gst_element_get_state_func): Renamed from get_state, cosmetic
3655 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3657 * gst/elements/gstelements.c:
3658 * win32/GStreamer.vcproj:
3660 * win32/dirent.c: (_tseekdir):
3661 * win32/gst-inspect.vcproj:
3662 * win32/gst-launch.vcproj:
3663 * win32/gstconfig.h:
3664 * win32/gstelements.vcproj:
3665 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3666 * win32/gstreamer.def:
3668 updates for the win32 build (patch from Sebastien Moutte)
3670 2005-10-10 Andy Wingo <wingo@pobox.com>
3672 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3673 gst_bin_get_state, cleaned up (but no logic changes).
3674 (bin_element_is_sink): Comment updates.
3675 (sink_iterator_filter): Remove needless cast.
3676 (gst_bin_iterate_sinks): Doc update.
3677 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3678 cleaned up (but no logic changes).
3680 * check/states/sinks.c (test_src_sink): Cleanups from the state
3682 (test_livesrc_sink): Sync on the state.
3684 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3685 the state change patch.
3687 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3690 * check/gst/gstbin.c: Merge in some style fixes and additional
3691 checks from Wim's state change patch.
3693 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3695 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3696 (gst_type_find_helper):
3697 Check whether we have the requested data already in our list of
3698 cached buffers before pulling a new buffer; also make the buffer
3699 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3701 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3706 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3707 don't use long long, it's not portable. Replacing with
3708 gint64 seems to work; let's hope no skeletons fall out of the closet.
3710 2005-10-10 Andy Wingo <wingo@pobox.com>
3712 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3714 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3716 * docs/gst/gstreamer-sections.txt:
3721 * gst/gstmessage.c: (gst_message_parse_state_changed):
3724 more docs, fix compilation
3726 2005-10-09 Philippe Khalaf <burger@speedy.org>
3728 Fixed a few forgotten variables on previous commit
3730 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3732 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3733 Fix evil typefind crasher: getrange() might return a short
3734 buffer at the end of a file, but gst_type_find_peek() must
3735 either return the full data as requested or NULL, but
3736 never a short buffer.
3738 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3740 * gst/gstmessage.c: (gst_message_new_state_changed),
3741 (gst_message_parse_state_changed):
3743 don't use "new", it's a C++ keyword
3745 2005-10-08 Wim Taymans <wim@fluendo.com>
3747 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3748 * gst/gstelement.c: (gst_element_post_message):
3749 * gst/gstpipeline.c: (gst_pipeline_change_state):
3750 Small docs and debug updates.
3752 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3754 * docs/gst/gstreamer-sections.txt:
3755 * gst/gstelementfactory.c:
3760 2005-10-08 Wim Taymans <wim@fluendo.com>
3762 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3763 (gst_bin_dispose), (bin_bus_handler):
3764 Fix typos, add comments.
3765 Clear EOS list when going to PAUSED from any direction and do it
3766 in a threadsafe way.
3767 Get base time in a threadsafe way too.
3768 Fix confusing debug in the change_state function.
3769 Various other small cleanups.
3771 * gst/gstelement.c: (gst_element_post_message):
3772 Fix very verbose bus posting code.
3774 * gst/gstpipeline.c: (gst_pipeline_class_init),
3775 (gst_pipeline_set_property), (gst_pipeline_get_property),
3776 (gst_pipeline_change_state):
3777 Small ARG_ -> PROP_ cleanup
3779 2005-10-08 Wim Taymans <wim@fluendo.com>
3781 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3782 Do a less CPU demanding EOS check because we can.
3784 2005-10-08 Wim Taymans <wim@fluendo.com>
3786 * libs/gst/dataprotocol/dataprotocol.c:
3787 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3788 (gst_dp_packet_from_event):
3789 * libs/gst/dataprotocol/dataprotocol.h:
3790 * libs/gst/dataprotocol/dp-private.h:
3791 It's about time we bump the version number.
3792 Since event types don't fit in the guint8 anymore describing
3793 the payload type, make payload type 16 bits wide.
3795 2005-10-08 Wim Taymans <wim@fluendo.com>
3797 * docs/design/part-TODO.txt:
3798 * docs/design/part-clocks.txt:
3799 * docs/design/part-events.txt:
3800 * docs/design/part-gstbin.txt:
3801 * docs/design/part-gstelement.txt:
3802 * docs/design/part-gstpipeline.txt:
3803 * docs/design/part-live-source.txt:
3804 * docs/design/part-messages.txt:
3805 * docs/design/part-overview.txt:
3806 * docs/design/part-states.txt:
3809 2005-10-08 Wim Taymans <wim@fluendo.com>
3813 Fix event quark registration.
3814 Add some space between events so we can insert them in the
3817 2005-10-08 Wim Taymans <wim@fluendo.com>
3819 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3820 (gst_base_sink_handle_buffer):
3827 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3828 (gst_queue_set_property), (gst_queue_get_property):
3830 Remove old unused properties.
3832 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3833 * docs/gst/gstreamer-sections.txt:
3836 * gst/gstminiobject.c:
3837 * gst/gstminiobject.h:
3841 lots of new docs and doc fixes
3843 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3845 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3847 * gst/gstregistry.c: (gst_registry_lookup_locked),
3848 (gst_registry_scan_path_level):
3849 * gst/gstregistryxml.c: (load_plugin):
3850 Only ever load one plugin for a given plugin basename.
3851 This ensures correct overriding of GST_PLUGIN_PATH over
3852 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3853 system installed plugins.
3855 2005-10-08 Wim Taymans <wim@fluendo.com>
3857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3858 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3859 Prepare for doing QOS.
3861 2005-10-08 Wim Taymans <wim@fluendo.com>
3863 * check/gst/gstbin.c: (GST_START_TEST):
3864 * check/pipelines/cleanup.c: (GST_START_TEST):
3865 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3866 Allow new clock message too.
3868 2005-10-08 Wim Taymans <wim@fluendo.com>
3870 * gst/gstmessage.c: (gst_message_new_error),
3871 (gst_message_new_warning), (gst_message_new_tag),
3872 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3873 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3874 (gst_message_new_segment_start), (gst_message_new_segment_done),
3875 (gst_message_parse_state_changed),
3876 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3877 (gst_message_parse_new_clock):
3879 Also carry the clock in question.
3881 2005-10-08 Wim Taymans <wim@fluendo.com>
3883 * gst/gstmessage.c: (gst_message_new_custom),
3884 (gst_message_new_eos), (gst_message_new_error),
3885 (gst_message_new_warning), (gst_message_new_tag),
3886 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3887 (gst_message_new_new_clock), (gst_message_new_segment_start),
3888 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3889 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3892 Added clock related messages.
3894 * gst/gstpipeline.c: (gst_pipeline_change_state):
3895 Post message when the clock changed.
3897 * tools/gst-launch.c: (event_loop):
3900 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3902 * tools/gst-inspect.c: (print_element_properties_info):
3903 Can't pass NULL strings to g_print() on windows.
3905 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3908 * docs/gst/Makefile.am:
3909 * docs/gst/gstreamer-docs.sgml:
3910 * docs/gst/running.xml:
3911 * docs/version.entities.in:
3912 add a chapter on running GStreamer.
3913 document GST_DEBUG and GST_PLUGIN* env vars
3915 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3920 remove PLUGINS_BUILDDIR stuff
3921 * gst/gst.c: (init_post):
3922 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3924 remove, it was condescending and not needed
3926 2005-10-08 Wim Taymans <wim@fluendo.com>
3928 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3929 (gst_base_sink_handle_object), (gst_base_sink_event),
3930 (gst_base_sink_wait), (gst_base_sink_handle_event),
3931 (gst_base_sink_change_state):
3932 * gst/base/gstbasesink.h:
3933 Repost EOS message while going to PLAYING if still EOS.
3934 Make sure that when receiving a FLUSH_START we don't attempt
3935 to sync on the clock anymore.
3937 2005-10-08 Wim Taymans <wim@fluendo.com>
3939 * tools/gst-launch.c: (event_loop):
3940 Better message printout.
3942 2005-10-08 Wim Taymans <wim@fluendo.com>
3944 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3945 (gst_bin_child_proxy_get_children_count):
3946 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3947 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3948 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3949 (gst_child_proxy_set_valist):
3950 * gst/parse/grammar.y:
3951 Make ChildProxy threadsafe and fix mem leaks.
3953 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3955 * gst/gst.c: (init_post):
3956 debug the GST_PLUGIN_ env vars
3958 2005-10-08 Wim Taymans <wim@fluendo.com>
3960 * check/gst/gstbin.c: (GST_START_TEST):
3961 * check/gst/gstmessage.c: (GST_START_TEST):
3962 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3963 * gst/gstelement.c: (gst_element_commit_state),
3964 (gst_element_lost_state):
3965 * gst/gstmessage.c: (gst_message_new_state_changed),
3966 (gst_message_parse_state_changed):
3968 * tools/gst-launch.c: (event_loop):
3969 Added extra field to STATE_CHANGE message with the pending
3970 state, which will be different from the new state soon.
3972 2005-10-08 Wim Taymans <wim@fluendo.com>
3974 * gst/gstbus.c: (gst_bus_pop):
3976 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3977 Small cleanups and doc updates.
3979 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3981 * gst/gst.c: (init_pre):
3982 * gst/gstbin.c: (gst_bin_add_func):
3983 log distributing clocks and base time
3984 * gst/gstregistry.c: (gst_registry_add_plugin),
3985 (gst_registry_scan_path_level), (gst_registry_scan_path):
3986 clean up the debugging output a little
3987 * gst/gstutils.c: (gst_element_state_get_name):
3988 warn about a memleak (I've actually seen this be used, though
3989 it was probably a bug)
3991 2005-10-07 Wim Taymans <wim@fluendo.com>
3993 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3994 (gst_base_src_init), (gst_base_src_default_newsegment),
3995 (gst_base_src_newsegment), (gst_base_src_do_seek),
3996 (gst_base_src_loop), (gst_base_src_start):
3997 * gst/base/gstbasesrc.h:
3998 Make the newsegment event customizable by subclasses.
4000 2005-10-07 Wim Taymans <wim@fluendo.com>
4002 * gst/gstevent.c: (gst_event_new_buffersize),
4003 (gst_event_parse_buffersize):
4005 New event for future idea.
4007 2005-10-07 Andy Wingo <wingo@pobox.com>
4009 * gst/gstelement.c (gst_element_post_message): Doc update.
4011 * docs/gst/gstreamer-sections.txt: Update.
4013 * gst/gstmessage.c (gst_message_new_application): Made into a
4014 function like honest API calls.
4015 (gst_message_new_element): New message type.
4017 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4019 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4020 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4023 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4024 NO_PREROLL from gst_element_change_state to fall through.
4026 2005-10-07 Wim Taymans <wim@fluendo.com>
4028 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4029 (gst_ghost_pad_do_activate_push):
4030 Activating a ghostpad with no internal pad in push mode
4033 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4036 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4037 Fixes compilation on Windows.
4039 2005-10-07 Michael Smith <msmith@fluendo.com>
4041 * tools/gst-inspect.c:
4042 Print out feature and plugin count at the end when printing out
4045 2005-10-04 Michael Smith <msmith@fluendo.com>
4047 * gst/gsterror.c: (_gst_stream_errors_init):
4048 Add another error string used in a few existing plugins.
4051 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4052 * tools/gst-inspect.c: (print_element_info):
4053 When a feature disappears from a plugin (and the feature exists in
4054 the cached registry file), things went horribly wrong. This isn't a
4055 complete fix, we should actually be removing the 'missing' features
4056 from the features list when we load the actual plugin. That's not
4059 2005-10-04 Johan Dahlin <johan@gnome.org>
4061 * check/gst/gstiterator.c: (GST_START_TEST):
4062 * gst/gstbin.c: (gst_bin_iterate_elements),
4063 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4064 * gst/gstelement.c: (gst_element_iterate_pads):
4065 * gst/gstformat.c: (gst_format_iterate_definitions):
4066 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4067 (gst_iterator_new_list), (gst_iterator_filter):
4068 * gst/gstiterator.h:
4069 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4070 Add a GType to GstIterator, update callsites and tests.
4072 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4074 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4075 give events a chance to be handled by event probes when the pad
4078 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4080 * gst/gstevent.c: (gst_event_type_get_name),
4081 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4083 add string representations for event types
4085 2005-10-06 Wim Taymans <wim@fluendo.com>
4087 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4088 Don't use NULL pointers.
4090 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4092 * gst/gst_private.h:
4096 * gst/gstpluginfeature.c:
4097 widen the debug category in output to fit the biggest one we have
4098 add a bus category and use it
4099 play with the colors
4100 fix up some categories
4102 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4104 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4105 add push activation of sink ghost pads.
4106 Andye, please verify
4108 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4110 * gst/gstutils.c: (gst_element_link_pads):
4111 fix a bug in the case where neither element has a pad
4112 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4113 add a test for that case
4115 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4117 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4118 emit have-data before checking for peers. This allows
4119 for probe handlers to connect elements. This helps autopluggers.
4120 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4122 add six checks, linked/unlinked with no/true/false probe
4124 2005-10-04 Wim Taymans <wim@fluendo.com>
4126 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4127 (gst_fake_sink_event), (gst_fake_sink_preroll),
4128 (gst_fake_sink_render), (gst_fake_sink_change_state):
4129 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4130 (gst_fake_src_get_property), (gst_fake_src_create),
4131 (gst_fake_src_stop):
4132 * gst/elements/gstidentity.c: (gst_identity_stop):
4133 Protect last_message with lock.
4135 2005-10-04 Edward Hervey <edward@fluendo.com>
4138 Added precision in the comments for GST_FORMAT_DEFAULT
4140 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4142 * tools/gst-launch.c: (main):
4143 Don't try to run erroneous pipelines.
4145 2005-10-04 Julien MOUTTE <julien@moutte.net>
4147 * gst/gstbus.c: We don't need this header.
4149 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4154 === release 0.9.3 ===
4156 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4160 Releasing 0.9.3, "Unregistered"
4162 2005-10-03 Andy Wingo <wingo@pobox.com>
4164 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4165 whereby calling a pad's activatepush() function can start a thread
4166 that starts to push or pull before the pad gets the FLUSHING flag
4167 unset. Hack around it by holding the stream lock until the flag is
4168 set. Need to replace this with a proper solution. Together with
4169 the ghost pad fixes, this fixes mp3 playing/tagreading.
4171 * docs/design/part-gstghostpad.txt: Add a note about activation of
4172 proxy pads outside of ghost pads.
4174 * gst/gstghostpad.c: Implement the ghost pad activation design.
4176 2005-10-02 Andy Wingo <wingo@pobox.com>
4178 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4179 It is volatile, after all.
4181 * docs/design/part-gstghostpad.txt: Flesh out activation with
4184 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4187 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4190 Fix (unused) AM_CONDITIONAL tests.
4192 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4194 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4196 * gst/gstutils.c: (gst_pad_query_convert):
4197 Add assertion that makes sure src_val is >=0, just like
4198 gst_query_new_convert() has. (#315895)
4200 2005-09-30 Edward Hervey <edward@fluendo.com>
4202 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4203 Let's not iterate pads we're not interested in, it avoids getting
4204 sky-high refcounts on sinkpad.
4206 2005-09-30 Wim Taymans <wim@fluendo.com>
4208 * gst/gstelement.c: (gst_element_set_state),
4209 (gst_element_change_state):
4210 Small tweak, element in ASYNC remains ASYNC.
4212 2005-09-30 Wim Taymans <wim@fluendo.com>
4214 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4215 Only error is an error.
4217 * gst/gstbin.c: (gst_bin_change_state):
4220 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4221 Also call pad_block in pad alloc.
4223 * gst/gstutils.c: (gst_flow_get_name):
4226 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4228 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4229 (gst_base_src_get_range):
4230 Fix documentation typos. Add some more debug info.
4232 2005-09-29 David Schleef <ds@schleef.org>
4234 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4235 more end-user friendly.
4236 * tools/gst-inspect.c: (main): Check if command-line argument is
4237 a file and attempt to load that file as a plugin.
4239 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4241 * check/gst/gstbin.c:
4242 * check/states/sinks.c:
4243 fix tests for the new warning
4244 * check/gst/gstpipeline.c:
4245 add a test for pipeline and bus interaction
4247 elements should be NULL if they get disposed; add a warning if not
4249 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4252 for 2.6 refcounting, make debug log more correct by printing
4253 the actual refcounts at the time of swap (Wim)
4255 2005-09-29 Andy Wingo <wingo@pobox.com>
4257 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4258 removes signal watches previously added via
4259 gst_bus_add_signal_watch.
4260 (gst_bus_add_signal_watch): Don't return the source id, just store
4261 it on the bus if there wasn't an id already.
4263 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4264 add_signal_watch and remove_signal_watch.
4266 2005-09-29 Edward Hervey <edward@fluendo.com>
4268 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4269 Better if we actually iterate the list :)
4271 2005-09-29 Wim Taymans <wim@fluendo.com>
4273 * check/gst/gstbin.c: (GST_START_TEST):
4274 Change for new bus API.
4276 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4277 (send_messages), (GST_START_TEST), (gstbus_suite):
4278 Change for new bus signal API.
4280 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4281 (gst_bus_source_prepare), (gst_bus_source_check),
4282 (gst_bus_create_watch), (gst_bus_add_watch_full),
4283 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4284 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4286 Remove support for multiple GSources operating on different
4287 message types as it is too complex and unneeded when using
4289 Added support for receiving signals from the bus.
4291 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4293 * docs/libs/tmpl/gstdataprotocol.sgml:
4294 * docs/manual/advanced-dataaccess.xml:
4295 * gst/elements/gstcapsfilter.c:
4297 rename filter-caps to caps property
4299 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4301 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4302 More robust fraction string parsing.
4304 * docs/pwg/appendix-porting.xml:
4305 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4307 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4309 * gst/gstcaps.c: (gst_caps_do_simplify):
4310 Thou shalt not free a structure and then continue using it
4311 in the next loop iteration.
4313 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4315 Add test case for caps simplification.
4317 2005-09-29 Wim Taymans <wim@fluendo.com>
4319 * check/gst/gstbin.c: (GST_START_TEST):
4322 2005-09-29 Wim Taymans <wim@fluendo.com>
4324 * check/gst/gstbin.c: (GST_START_TEST):
4327 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4328 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4329 (find_element), (gst_bin_sort_iterator_next),
4330 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4331 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4332 (gst_bin_change_state), (gst_bin_dispose):
4333 A bin does not have a bus, it gets the bus from the parent.
4335 * gst/gstelement.c: (gst_element_requires_clock),
4336 (gst_element_provides_clock), (gst_element_is_indexable),
4337 (gst_element_is_locked_state), (gst_element_change_state),
4338 (gst_element_set_bus_func):
4341 * gst/gstpipeline.c: (gst_pipeline_class_init),
4342 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4343 The pipeline provides a bus.
4345 2005-09-28 Johan Dahlin <johan@gnome.org>
4347 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4348 gst_structure_get_enum instead of gst_structure_get_int
4350 * gst/gststructure.c (gst_structure_get_enum): Impl.
4352 * gst/gststructure.h (gst_structure_get_enum): Add
4354 * docs/gst/gstreamer-sections.txt: Ditto
4356 * gst/gstmessage.c (gst_message_new_state_changed): Use
4357 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4358 which does introspection.
4359 Reviewed by Christian Schaller
4361 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4363 * gst/gstinfo.c: (gst_debug_log_default):
4364 don't do dummy g_strdup()s
4365 * libs/gst/controller/gstcontroller.c:
4366 (on_object_controlled_property_changed),
4367 (gst_controlled_property_new), (gst_controller_new_valist),
4368 (gst_controller_new_list),
4369 (gst_controller_remove_properties_valist), (gst_controller_set),
4370 (gst_controller_get), (gst_controller_sync_values),
4371 (gst_controller_get_value_array), (_gst_controller_class_init),
4372 (gst_controller_get_type):
4373 * libs/gst/controller/gstcontroller.h:
4374 * libs/gst/controller/gstinterpolation.c:
4375 (gst_controlled_property_find_timed_value_node):
4376 convert // to /**/ comments
4378 2005-09-28 Wim Taymans <wim@fluendo.com>
4380 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4381 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4382 (gst_bus_sync_signal_handler):
4384 Added async-message and sync-message signals to the bus.
4385 Added helper BusFunc to emit signals for all posted messages.
4387 * gst/gstmessage.c: (gst_message_type_get_name),
4388 (gst_message_type_to_quark), (gst_message_get_type):
4390 Register quarks for message names.
4392 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4394 * docs/libs/gstreamer-libs-sections.txt:
4395 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4396 (gst_controller_new_list):
4397 * libs/gst/controller/gstcontroller.h:
4398 added another constructor for language bindings
4400 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4402 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4406 * gst/gstinfo.c: (_gst_debug_init):
4407 slightly more readable color for refcount debugging
4409 2005-09-28 Wim Taymans <wim@fluendo.com>
4411 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4412 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4413 (find_element), (gst_bin_sort_iterator_next),
4414 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4415 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4416 (gst_bin_change_state), (gst_bin_dispose):
4417 Small doc fixes. get_clock -> provide_clock.
4419 * gst/gstelement.c: (gst_element_class_init),
4420 (gst_element_provides_clock), (gst_element_provide_clock),
4421 (gst_element_get_clock), (gst_element_commit_state),
4422 (gst_element_lost_state):
4424 Make get/set_clock() symetric. Add provide_clock vmethod since
4425 that is actually what this function does.
4427 * gst/gstpipeline.c: (gst_pipeline_class_init),
4428 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4429 (gst_pipeline_get_clock):
4430 get_clock -> provide_clock.
4432 2005-09-28 Andy Wingo <wingo@pobox.com>
4434 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4435 lieu of real docs...
4437 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4439 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4441 * gst/elements/gstcapsfilter.c:
4442 * gst/elements/gstfakesink.c:
4443 * gst/elements/gstfakesrc.c:
4444 * gst/elements/gstfdsink.c:
4445 * gst/elements/gstfdsrc.c:
4446 * gst/elements/gstfilesink.c:
4447 * gst/elements/gstfilesrc.c:
4448 * gst/elements/gstidentity.c:
4449 * gst/elements/gsttee.c:
4450 * gst/elements/gsttypefindelement.c:
4451 Make element details static.
4453 2005-09-28 Wim Taymans <wim@fluendo.com>
4455 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4456 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4457 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4458 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4459 (gst_bin_change_state), (gst_bin_dispose):
4460 Some documentation updates.
4461 Clean up dispose handlers.
4463 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4464 * gst/gstpad.c: (gst_pad_dispose):
4465 Clean up dispose handler.
4467 * gst/gstpipeline.c: (gst_pipeline_change_state):
4468 Removed spurious UNLOCK.
4470 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4472 * docs/gst/gstreamer-sections.txt:
4473 * gst/base/gstbasesrc.h:
4478 * gst/gstpipeline.c:
4479 * gst/gstpipeline.h:
4482 added two new functions to the docs
4483 documents all undocumented GstXXXFlags
4484 completed some incomplete docs
4486 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4488 * gst/gstbin.c: (gst_bin_dispose):
4489 * gst/gstelement.c: (gst_element_dispose):
4490 remove now useless and leaky resurrection code in dispose
4491 * gst/base/gstbasesrc.c: (gst_base_src_init):
4492 * gst/gstelementfactory.c: (gst_element_factory_create):
4493 * gst/gstobject.c: (gst_object_set_parent):
4496 2005-09-27 Wim Taymans <wim@fluendo.com>
4498 * docs/design/part-TODO.txt:
4501 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4502 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4503 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4504 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4505 (gst_bin_change_state):
4507 Remove element variable, we keep element info in the iterator now.
4509 2005-09-27 Andy Wingo <wingo@pobox.com>
4511 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4514 2005-09-27 Wim Taymans <wim@fluendo.com>
4516 * check/gst/gstbin.c: (GST_START_TEST):
4517 Enable check that works now.
4519 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4520 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4521 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4522 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4523 (gst_bin_change_state):
4525 Redid the state change algorithm using a topological sort algo.
4526 Handles all cases correctly.
4527 Exposed iterator for state change order.
4530 Temp storage for state changes. Need to get rid of this soon.
4532 2005-09-27 Wim Taymans <wim@fluendo.com>
4534 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4535 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4536 (link_fold_func), (gst_pad_proxy_setcaps):
4537 Leak fixes, the fold functions need to unref the passed object and
4538 _get_parent_*() returns ref to parent.
4540 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4542 * check/gst/gstbuffer.c: (test_make_writable):
4543 Plug leak in test case and fix 'make check-valgrind'
4545 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4547 * gst/gstbuffer.c: (gst_subbuffer_init):
4548 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4549 works correctly in all circumstances (we could have just copied
4550 the parent buffer's readonly flag, but conceptually it seems
4551 cleaner to mark all subbuffers as read-only). (based on patch
4552 by Alessandro Decina, #314710).
4554 * check/gst/gstbuffer.c: (create_read_only_buffer),
4555 (test_make_writable), (test_subbuffer_make_writable),
4557 Add some tests for gst_buffer_make_writable().
4559 2005-09-27 Wim Taymans <wim@fluendo.com>
4561 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4562 use gst_object_has_ancestor().
4564 * gst/gstobject.c: (gst_object_has_ancestor):
4566 gst_object_has_ancestor() copied from gstbin.c as it is a
4569 * tests/instantiate/create.c: (create_all_elements):
4570 * tests/lat.c: (handoff_src), (handoff_sink):
4571 * tests/sched/runxml.c: (main):
4572 * tests/seeking/seeking1.c: (main):
4573 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4575 Fix compilation of some tests.
4577 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4580 Remove comment. GST_TYPE_G_ERROR is here to stay,
4581 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4584 2005-09-26 Wim Taymans <wim@fluendo.com>
4586 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4587 Added check that shows error in state change order.
4589 2005-09-26 Wim Taymans <wim@fluendo.com>
4591 * gst/gstbin.c: (gst_bin_change_state):
4592 Make state change function use 3 queues again, we were
4593 adding elements in the wrong order.
4595 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4598 * gst/gstpad.c: (gst_pad_dispose):
4599 Added some debug info first.
4601 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4603 * docs/design/draft-push-pull.txt:
4604 * docs/design/part-events.txt:
4605 * docs/design/part-overview.txt:
4606 * docs/design/part-scheduling.txt:
4607 Replace all _pull_region() with _pull_range()
4609 2005-09-26 Andy Wingo <wingo@pobox.com>
4611 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4613 * check/gst-libs/controller.c: Update for controller api change.
4616 * tests/Makefile.am:
4617 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4618 over by GLib bug 118439.
4620 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4621 routines to a function.
4623 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4625 * libs/gst/controller/gsthelper.c:
4626 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4627 (gst_object_sync_values): Renamed from sink_values. Ugh.
4629 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4631 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4632 Renamed from controller_key, as it is exported.
4634 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4636 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4641 * gst/gstpadtemplate.h:
4644 * gst/gstqueryutils.c:
4645 * gst/gstqueryutils.h:
4646 remove queryutils headers after moving the two used functions
4647 to gstquery. also fixes build problem for gstsiddec
4649 2005-09-26 Michael Smith <msmith@fluendo.com>
4651 * tools/gst-launch.1.in:
4652 Correct documentation in manpage of debug syntax
4654 2005-09-26 Wim Taymans <wim@fluendo.com>
4656 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4657 (gst_base_src_is_seekable), (gst_base_src_change_state):
4658 Some more debugging info.
4660 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4662 * docs/gst/gstreamer-sections.txt:
4663 * gst/base/gstbasetransform.h:
4667 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4669 * docs/gst/.cvsignore:
4670 * docs/gst/tmpl/.cvsignore:
4671 * docs/gst/tmpl/gstpipeline.sgml:
4672 * docs/gst/tmpl/gstplugin.sgml:
4673 * gst/gstpipeline.c:
4676 inlined the last two docs files
4677 removed the tmpl directory from cvs (no more conflicts here!)
4679 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4681 * docs/gst/gstreamer-sections.txt:
4682 * docs/gst/tmpl/.cvsignore:
4683 * docs/gst/tmpl/gstpad.sgml:
4684 * docs/gst/tmpl/gstpadtemplate.sgml:
4686 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4687 (gst_pad_finalize), (gst_pad_set_pad_template):
4689 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4690 (gst_pad_template_class_init), (gst_pad_template_init),
4691 (gst_pad_template_dispose), (name_is_valid),
4692 (gst_static_pad_template_get), (gst_pad_template_new),
4693 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4694 (gst_pad_template_pad_created):
4695 * gst/gstpadtemplate.h:
4696 inlined two more docs
4697 factored gstpadtemplate out of gstpad
4699 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4701 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4702 (test_children_state_change_order_semi_sink):
4703 Fix test case: we can't rely on a fixed state change order when
4704 going from READY => PAUSED because the sink might commit its
4705 new state first when the first buffer created by the source
4706 reaches the sink before the source has finished its change state.
4707 (Test case still fails at times, see #316856, comment 5 onwards)
4709 2005-09-24 Wim Taymans <wim@fluendo.com>
4711 * docs/design/part-events.txt:
4712 * docs/design/part-gstbus.txt:
4713 * docs/design/part-gstpipeline.txt:
4714 * docs/design/part-messages.txt:
4715 * docs/design/part-overview.txt:
4716 * docs/design/part-segments.txt:
4723 * gst/gstiterator.c:
4724 Various documentation updates.
4726 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4729 Well, that's embarassing. Luckily we weren't using
4730 GST_CLOCK_DIFF anywhere.
4732 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4734 * common/gtk-doc.mak:
4735 don't fail on building XML, FC4 slave shows a bunch of doc
4736 missing bits that I don't get
4738 * gst/gstpipeline.c:
4739 * gst/gststructure.c:
4742 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4744 * docs/design/part-gstbin.txt:
4745 * docs/design/part-gstbus.txt:
4747 Add blurb about how the bus goes into flushing mode and
4748 drops all messages when its bin goes from READY into NULL
4751 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4753 * docs/gst/gstreamer-sections.txt:
4754 * gst/gststructure.c: (gst_structure_get_clock_time):
4755 * gst/gststructure.h:
4756 add a method to get a GstClockTime out of a structure
4758 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4760 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4761 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4762 Added test to check state change order in bins (can still be made
4763 to fail here under heavy disk load; bails out with 'Push on pad
4764 fakesink:sink0, but it was not activated in push mode').
4766 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4767 Fix state change order when there is only a semi sink (#316856)
4769 * gst/gstbus.c: (gst_bus_class_init):
4770 Use _class_peek_parent(), not _class_ref(); fix docs to say
4771 'default main context' instead of 'mainloop' where that is
4774 * gst/gstelement.c: (gst_element_commit_state),
4775 (gst_element_set_state):
4776 Fix typos in debug messages
4778 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4781 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4782 * gst/gstpluginfeature.c:
4785 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4786 change an assert into an error until it gets fixed properly
4788 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4790 * docs/gst/gstreamer-sections.txt:
4791 * docs/gst/tmpl/.cvsignore:
4792 * docs/gst/tmpl/gstelement.sgml:
4793 * docs/gst/tmpl/gstinfo.sgml:
4794 * docs/gst/tmpl/gstobject.sgml:
4799 * gst/gstobject.c: (gst_object_class_init):
4801 inlined 3 more biiiig doc files and added some missing docs on the fly
4803 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4805 * check/gst/.cvsignore:
4806 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4807 * gst/gstregistryxml.c: (load_plugin),
4808 (gst_registry_xml_save_plugin):
4809 put back source in registry. add checks for find_plugin.
4810 * testsuite/states/bin.c: (assert_state), (empty_bin),
4811 (test_adding_one_element), (main):
4812 * testsuite/states/locked.c: (main):
4813 some compile/run fixes
4815 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4817 * check/gst/gstvalue.c: (GST_START_TEST):
4818 fix leaks in the test itself
4820 2005-09-22 Wim Taymans <wim@fluendo.com>
4822 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4823 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4824 (gst_base_sink_query):
4825 Prepare for more accurate position reporting and query
4828 * gst/gstelement.c: (gst_element_send_event),
4829 (gst_element_set_state):
4832 2005-09-22 Wim Taymans <wim@fluendo.com>
4834 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4835 (gst_query_parse_segment):
4838 Add segment query for future use.
4840 2005-09-22 Wim Taymans <wim@fluendo.com>
4842 * gst/gstbin.c: (gst_bin_add_func):
4843 Some more debug info.
4845 * gst/gstelement.c: (gst_element_send_event):
4849 Don't know how flags got broken.
4854 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4856 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4857 Add simplistic test suite for GST_TYPE_DATE serialisation and
4860 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4862 * docs/gst/gstreamer-sections.txt:
4863 * gst/gststructure.c: (gst_structure_set_valist),
4864 (gst_structure_get_date):
4865 * gst/gststructure.h:
4866 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4867 (gst_date_copy), (gst_value_compare_date),
4868 (gst_value_serialize_date), (gst_value_deserialize_date),
4869 (gst_value_transform_date_string),
4870 (gst_value_transform_string_date), (_gst_value_initialize):
4872 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4873 bunch of utility functions along with a hack that checks that
4874 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4875 is required. Part of the grand scheme in #170777.
4877 2005-09-22 Andy Wingo <wingo@pobox.com>
4879 * gst/gstconfig.h.in: Psych out gtk-doc.
4881 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4883 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4885 * tools/gst-inspect.c (print_element_list): Plug some
4886 inconsequential leaks.
4888 * gst/gstregistry.c (gst_registry_get_default): Doc.
4890 * check/gst/gstplugin.c:
4891 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4892 * gst/gstelementfactory.c (gst_element_factory_create):
4893 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4896 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4897 (gst_plugin_feature_load): Doc, don't eat refs.
4899 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4900 (gst_plugin_list_free): Doc.
4901 (gst_plugin_load_file): Doc updates.
4903 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4904 accessors returning refcounted objects, return a ref.
4906 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4907 accessor for caps. IDEMPOTENCE. Oh yes.
4909 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4911 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4913 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4914 (_gst_debug_register_funcptr):
4915 Add mutex to serialise access to the hash table with
4916 the function pointer => function name string mapping;
4917 make that hash table static scope (#316809).
4919 * gst/registries/.cvsignore:
4920 Remove left-over file.
4922 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4924 * docs/pwg/appendix-porting.xml:
4925 And something about newsegment events and caps-on-buffers to
4926 the porting guide (feel free to improve).
4928 2005-09-21 Andy Wingo <wingo@pobox.com>
4930 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4931 data and event probes on the same pad.
4932 (test_buffer_probe_once): Test that removing probes from within
4933 the probe functions works.
4935 2005-09-21 Andy Wingo <wingo@pobox.com>
4937 * check/gst/gstutils.c: New file.
4938 (test_buffer_probe_n_times): A simple buffer probe test. More to
4941 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4942 have-data::buffer, not have-data.
4943 (gst_pad_add_event_probe): Likewise for have-data::event.
4944 (gst_pad_add_data_probe): More docs. The part about 'resolving the
4945 peer' isn't quite right yet though.
4946 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
4947 (gst_pad_remove_data_probe): Change to take the guint handler_id
4948 as their arg, not the function+data, which is more glib-like.
4950 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4951 the signal emission to indicate if the data is a buffer or an
4953 (gst_pad_get_type): Initialize buffer and event quarks.
4954 (gst_pad_class_init): have-data is now a detailed signal, yes it
4957 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4959 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4960 * gst/gstutils.c: (gst_util_set_value_from_string),
4961 (gst_util_set_object_arg):
4962 Don't put functional code in g_return_if_fail() or
4963 g_return_val_if_fail() statements, otherwise things will
4964 break when G_DISABLE_CHECKS is defined during compilation.
4966 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4968 * docs/gst/tmpl/.cvsignore:
4969 * docs/gst/tmpl/gstvalue.sgml:
4972 inlied another one and added some obvious docs
4974 2005-09-21 Wim Taymans <wim@fluendo.com>
4976 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4977 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4978 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4979 (gst_fdsrc_get_property), (gst_fdsrc_create):
4980 * gst/elements/gstfdsrc.h:
4981 Properly implement fdsrc. Removed signal and timeout,
4982 better implemented somewhere else.
4984 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4986 * docs/gst/tmpl/.cvsignore:
4987 * docs/gst/tmpl/gstimplementsinterface.sgml:
4988 * gst/gstinterface.c:
4991 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4993 * docs/gst/gstreamer-sections.txt:
4994 * docs/gst/tmpl/.cvsignore:
4995 * docs/gst/tmpl/gstenumtypes.sgml:
4996 remove obsolete doc file
4998 2005-09-21 David Schleef <ds@schleef.org>
5000 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5001 little beer, fix a little leak.
5003 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5005 * docs/gst/gstreamer-docs.sgml:
5006 * docs/gst/gstreamer-sections.txt:
5007 * docs/gst/tmpl/.cvsignore:
5012 * gst/gstindex.c: (gst_index_class_init):
5014 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5015 (gst_index_factory_class_init), (gst_index_factory_init),
5016 (gst_index_factory_finalize), (gst_index_factory_new),
5017 (gst_index_factory_destroy), (gst_index_factory_find),
5018 (gst_index_factory_create), (gst_index_factory_make):
5019 * gst/gstindexfactory.h:
5020 * gst/gstpluginfeature.c:
5021 * gst/gstpluginfeature.h:
5022 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5023 more docs inlined, splitted gstindex.{c,h}
5025 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5027 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5030 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5032 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5033 Set sync to FALSE by default.
5035 2005-09-20 Wim Taymans <wim@fluendo.com>
5037 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5038 (gst_base_sink_init):
5039 Make sync property settable from subclass.
5041 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5042 (gst_fake_sink_change_state):
5043 Set sync to FALSE by default.
5045 2005-09-20 Wim Taymans <wim@fluendo.com>
5047 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5048 * tools/gst-launch.c: (main):
5049 The timeout handler should have lower priority than the source
5050 so we don't timeout before popping a message with 0 timeout.
5051 Dump error messages after failed state change.
5053 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5055 * tools/gst-inspect.c: (print_element_properties_info):
5058 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5060 * check/gst/gstevent.c:
5061 * gst/elements/gstfakesink.c:
5062 * gst/elements/gstfakesink.h:
5063 remove the sync property from fakesink.
5064 has the side effect of setting sync TRUE
5065 for fakesink, which is a change. Anyone who knows how
5066 to fix this nicely in a GObject-y way, feel free.
5068 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5070 * docs/gst/gstreamer-docs.sgml:
5071 remove probe refsection
5073 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5075 * check/Makefile.am:
5076 disable valgrinding the controller test again
5077 * docs/gst/gstreamer-sections.txt:
5078 update for api-changes
5080 2005-09-20 Wim Taymans <wim@fluendo.com>
5082 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5083 (gst_base_sink_set_property), (gst_base_sink_get_property),
5084 (gst_base_sink_do_sync):
5085 * gst/base/gstbasesink.h:
5086 Added sync property to basesink to disable clock sync.
5088 2005-09-20 Andy Wingo <wingo@pobox.com>
5090 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5091 eating the caller's refcount.
5093 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5094 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5097 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5098 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5099 of GLib 2.8 public, so we can know which refcount to check in
5102 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5103 (gst_object_init): Only set the gst refcount if we're going ahead
5104 with the refcount hack.
5106 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5108 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5109 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5110 more leaks plumbed, added more debug-logging
5114 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5117 remove include of gstmemchunk.h
5119 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5121 * gst/gstclock.c: (_gst_clock_id_free):
5122 Commit from the Political Party For More Atomic CVS Commits,
5123 so that people don't waste too much of their day fishing
5124 out obvious leaks out of massive commits.
5125 Oh, and fix a pretty damn obvious leak in the memchunk
5128 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5130 * check/Makefile.am:
5131 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5132 plug mem-leak, re-add to valgrindable tests
5134 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5137 unbreak the build for those who have chronic arthritis
5138 and typing "make check" is just too taxing on the hands
5140 2005-09-20 Andy Wingo <wingo@pobox.com>
5142 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5143 really want it out, you should fix plugins at the same time.
5145 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5148 * docs/gst/gstreamer-sections.txt:
5150 added missing symbols to api docs
5151 disable ref-count hack if we have glib >= 2.8
5153 2005-09-19 David Schleef <ds@schleef.org>
5155 * docs/gst/Makefile.am: Ignore a few more internal headers
5156 * docs/gst/gstreamer-docs.sgml: Remove old sections
5157 * docs/gst/gstreamer-sections.txt: Remove old sections
5158 * docs/gst/tmpl/gstobject.sgml: update
5159 * docs/gst/tmpl/gstplugin.sgml: update
5160 * docs/gst/tmpl/gstpluginfeature.sgml: update
5161 * docs/random/ds/0.9-suggested-changes: update.
5162 * gst/Makefile.am: remove memchunk and trashstack, since they're
5164 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5165 * gst/gst.h: don't include some headers
5166 * gst/gstchildproxy.c: add gstmarshal.h
5167 * gst/gstclock.c: Don't use memchunks
5168 * gst/gstminiobject.c: Add some docs
5169 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5170 * gst/gstobject.h: same
5171 * gst/gstplugin.c: include gstmacros.h
5172 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5173 * gst/gstquery.c: don't use memchunks
5174 * gst/gstregistry.c: rename gst_registry_deinit()
5175 * gst/gstregistry.h: same
5177 2005-09-19 David Schleef <ds@schleef.org>
5179 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5180 * docs/libs/gstreamer-libs-sections.txt:
5181 * docs/libs/tmpl/gstgetbits.sgml:
5182 * docs/libs/tmpl/gstputbits.sgml:
5184 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5186 * win32/gstenumtypes.c:
5187 * win32/gstenumtypes.h:
5190 2005-09-19 Wim Taymans <wim@fluendo.com>
5192 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5193 Automatically PAUSE and RESUME a pipeline when a flushing seek
5196 2005-09-19 Andy Wingo <wingo@pobox.com>
5198 * gst/gstregistry.h: Spacing fixen.
5200 2005-09-19 Wim Taymans <wim@fluendo.com>
5202 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5203 Handle state change failure more correctly.
5205 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5207 * check/Makefile.am:
5208 * check/pipelines/cleanup.c: (run_pipeline):
5209 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5211 enable cleanup again after fixing the leak
5213 some more info on docs
5215 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5217 * check/Makefile.am:
5218 re-enable tests now that leaks are plugged
5220 * check/gst/gstbin.c:
5221 * check/gst/gstpipeline.c:
5222 add some more tests while fixing leaks
5224 make sure binaries are uptodate when valgrinding/gdbing
5226 * gst/gstelementfactory.c:
5227 remove a ref too many, and add a FIXME for when we get
5228 round to disposing of classes
5230 fix the refcounting when loading a plugin from a file and
5231 the code pretends that the pointer is the same even though
5232 of course it can change
5233 * gst/gstpluginfeature.c:
5234 unref plugins marked cached (a bit confusing as a name)
5235 as the docs state should be done
5236 various doc additions to explain refcounting
5237 * gst/gstregistry.c:
5238 * gst/gstregistryxml.c:
5241 2005-09-19 Wim Taymans <wim@fluendo.com>
5243 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5244 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5245 (send_messages), (GST_START_TEST), (gstbus_suite):
5246 * check/gst/gstpipeline.c: (GST_START_TEST):
5247 * check/pipelines/cleanup.c: (run_pipeline):
5248 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5250 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5251 (gst_bus_source_check), (gst_bus_source_dispatch),
5252 (gst_bus_create_watch), (gst_bus_add_watch_full),
5253 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5255 * tools/gst-launch.c: (event_loop):
5256 * tools/gst-md5sum.c: (event_loop):
5257 GstBusHandler -> GstBusFunc, return value has the same meaning as
5258 any other GSource (FALSE == remove source).
5259 _add_watch() and _add_watch_full() now take a MessageType mask to
5260 only handle specific types of messages.
5261 _poll() returns the GstMessage instead of the message type to avoid
5263 _have_pending() takes a MessageType mask now too.
5264 Added testsuite for multiple bus watches.
5265 Fix testsuites and applications for new bus API.
5267 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5269 * check/Makefile.am:
5270 mark a bunch of the tests as to fix until we fix them
5272 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5275 use GST_PLUGIN settings for valgrind tests as well, so we're
5276 valgrinding the correct thing
5277 * gst/gst.c: (init_post):
5280 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5282 * gst/gst.c: (init_post), (gst_deinit):
5283 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5284 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5285 * gst/gstindex.c: (gst_index_factory_class_init),
5286 (gst_index_factory_finalize):
5287 * gst/gstobject.c: (gst_object_dispose):
5288 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5289 (gst_plugin_load_file), (gst_plugin_desc_free):
5290 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5291 (gst_plugin_feature_finalize):
5292 * gst/gstregistry.c: (gst_registry_class_init),
5293 (gst_registry_init), (gst_registry_finalize),
5294 (gst_registry_get_default), (gst_registry_deinit):
5295 * gst/gstregistry.h:
5296 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5297 various cleanups and memleak plugging. make valgrind is happy now.
5299 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5302 add a check-valgrind target
5304 2005-09-18 David Schleef <ds@schleef.org>
5306 * tools/gst-inspect.c: Revert the GOption code.
5308 2005-09-17 David Schleef <ds@schleef.org>
5310 * check/Makefile.am: Fix environment variables.
5311 * check/gst/gstplugin.c: Fix for API changes.
5312 * tools/gst-inspect.c: Fix for API changes.
5313 * tools/gst-xmlinspect.c: Fix for API changes.
5314 * gst/gstelementfactory.c:
5317 * gst/gstpluginfeature.c:
5318 * gst/gstpluginfeature.h:
5319 * gst/gstregistry.c:
5320 * gst/gstregistry.h:
5321 * gst/gstregistryxml.c:
5322 * gst/gsttypefind.c:
5323 * gst/gsttypefindfactory.c:
5324 * gst/indexers/gstfileindex.c:
5325 * gst/indexers/gstmemindex.c:
5326 * gst/schedulers/Makefile.am:
5327 Change registry to keep track of both plugins and features,
5328 removing the feature tracking from plugins themselves.
5330 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5332 * check/Makefile.am:
5333 * tools/gst-register.1.in:
5336 2005-09-15 David Schleef <ds@schleef.org>
5338 * check/gst/gstplugin.c:
5339 * gst/gstelementfactory.c:
5341 * gst/gstpluginfeature.c:
5342 * gst/gstregistry.c:
5343 Getting tired of debugging. Disabled all the unreffing of
5344 plugins and features, which fixes the segfaults, but of
5345 course leaks like crazy. At least playbin works.
5347 2005-09-15 David Schleef <ds@schleef.org>
5349 * check/gst/gstplugin.c: (register_check_elements),
5350 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5352 * gst/elements/gsttypefindelement.c: Fix refcounting.
5353 * gst/gsttypefind.c:
5354 * gst/gsttypefindfactory.c:
5355 * gst/gsttypefindfactory.h:
5357 2005-09-15 David Schleef <ds@schleef.org>
5359 * gst/gstindex.c: get refcounting correct.
5360 * gst/gstregistry.c: Handle the case where a feature/plugin is
5363 2005-09-15 David Schleef <ds@schleef.org>
5365 * check/Makefile.am:
5366 * check/gst/gstplugin.c: Add test
5367 * gst/gstplugin.c: Fix problems noticed by testsuite
5369 * gst/gstregistry.c:
5370 * gst/gstregistry.h:
5372 2005-09-15 David Schleef <ds@schleef.org>
5374 * gst/gstplugin.c: Implement semi-decent recounting and locking
5375 in plugins and plugin features.
5377 * gst/gstpluginfeature.c:
5378 * gst/gstpluginfeature.h:
5379 * gst/gstregistry.c:
5381 2005-09-15 Michael Smith <msmith@fluendo.com>
5383 * gst/gstregistry.c: (gst_registry_get_feature_list):
5384 Implement this. Makes oggdemux work; decodebin still broken.
5386 2005-09-14 David Schleef <ds@schleef.org>
5388 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5390 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5391 * gst/check/Makefile.am:
5392 * libs/gst/controller/Makefile.am:
5393 * libs/gst/dataprotocol/Makefile.am:
5395 2005-09-14 David Schleef <ds@schleef.org>
5397 * configure.ac: Remove getbits library. Nothing uses it, and
5398 it should be in something like liboil if someone did want
5400 * libs/gst/Makefile.am:
5401 * libs/gst/getbits/Makefile.am:
5402 * libs/gst/getbits/gbtest.c:
5403 * libs/gst/getbits/getbits.c:
5404 * libs/gst/getbits/getbits.h:
5405 * libs/gst/getbits/gstgetbits_generic.c:
5406 * libs/gst/getbits/gstgetbits_i386.s:
5407 * libs/gst/getbits/gstgetbits_inl.h:
5409 2005-09-14 David Schleef <ds@schleef.org>
5411 * gst/Makefile.am: Dist glib-compat.h
5413 2005-09-14 David Schleef <ds@schleef.org>
5415 * configure.ac: Remove gst/registries, since it's no longer used.
5416 * gst/registries/Makefile.am:
5417 * gst/registries/gstlibxmlregistry.c:
5418 * gst/registries/gstlibxmlregistry.h:
5419 * gst/registries/gstxmlregistry.c:
5420 * gst/registries/gstxmlregistry.h:
5421 * gst/registries/registrytest.c:
5423 2005-09-14 David Schleef <ds@schleef.org>
5425 * gst/glib-compat.h:
5426 * gst/gstregistryxml.c:
5427 Convergence is near. Seriously.
5429 2005-09-14 David Schleef <ds@schleef.org>
5431 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5432 * gst/glib-compat.h:
5433 Attempt #4 to appease the buildbots.
5435 2005-09-14 David Schleef <ds@schleef.org>
5437 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5440 2005-09-14 David Schleef <ds@schleef.org>
5442 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5445 2005-09-14 David Schleef <ds@schleef.org>
5447 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5450 2005-09-14 David Schleef <ds@schleef.org>
5452 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5453 * gst/glib-compat.h: Add some functions that are in newer versions
5454 of glib than we care to require.
5455 * gst/gstregistryxml.c: Use them.
5457 2005-09-14 David Schleef <ds@schleef.org>
5459 * po/POTFILES.in: remove gst-register.c
5461 2005-09-14 David Schleef <ds@schleef.org>
5463 * docs/gst/gstreamer-docs.sgml:
5464 * docs/gst/gstreamer-sections.txt:
5465 * docs/gst/gstreamer.types:
5466 * docs/gst/tmpl/gstelement.sgml:
5467 * docs/gst/tmpl/gstplugin.sgml:
5468 * docs/gst/tmpl/gstpluginfeature.sgml:
5469 Documentation updates for registry changes.
5471 2005-09-14 David Schleef <ds@schleef.org>
5473 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5474 because we don't require glib-2.8.
5476 2005-09-14 David Schleef <ds@schleef.org>
5478 * gst/gstregistryxml.c: Added. Essentially moved out of the
5479 registries directory.
5481 2005-09-14 David Schleef <ds@schleef.org>
5483 * check/Makefile.am:
5484 * check/generic/states.c:
5488 * gst/gst_private.h:
5489 * gst/gstelementfactory.c:
5494 * gst/gstpluginfeature.c:
5495 * gst/gstpluginfeature.h:
5496 * gst/gstregistry.c:
5497 * gst/gstregistry.h:
5498 * gst/gstregistrypool.c: remove
5499 * gst/gstregistrypool.h: remove
5500 * gst/gsttypefind.c:
5501 * gst/gsttypefindfactory.c:
5503 * tools/Makefile.am:
5504 * tools/gst-compprep.c:
5505 * tools/gst-inspect.c:
5506 * tools/gst-register.c: remove
5507 * tools/gst-xmlinspect.c:
5508 Registry rewrite. Changes registry from being a file created
5509 by a tool into a simple cache file created automatically by
5510 libgstreamer. Removed gst-register (because it's no longer
5511 needed). Remove registry pools, because we only have one
5512 registry implementation (XML). Fix up other subsystems as
5515 2005-09-13 Michael Smith <msmith@fluendo.com>
5517 * gst/gstconfig.h.in:
5518 Don't Use windows linking attributes for MinGW. Fixes #316157
5520 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5522 * gst/gstutils.c: (set_state_async_thread_func),
5523 (gst_element_set_state_async):
5524 Apparently people think it's better if this function doesn't
5525 try to set the state to whatever state was asked for on the first
5526 call to this function for any object. Seriously.
5528 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5530 * check/gst/gstpipeline.c: (GST_START_TEST):
5531 * docs/gst/gstreamer-sections.txt:
5532 * gst/gstutils.c: (set_state_async_thread_func),
5533 (gst_element_set_state_async):
5535 add a "gst_element_set_state_async" method that
5536 sets the state and starts a thread to make sure the state
5537 change completes as best as it can
5539 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5541 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5542 codify design+behaviour in testsuite after discussion
5544 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5546 * docs/gst/tmpl/gstelement.sgml:
5547 * docs/manual/appendix-quotes.xml:
5549 * gst/gstelement.c: (gst_element_set_state):
5552 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5554 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5555 (gst_base_transform_prepare_output_buf),
5556 (gst_base_transform_handle_buffer):
5557 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5558 (gst_capsfilter_prepare_buf):
5559 Remove the requirement for sub-classes to call the parent
5560 implementation of prepare_output_buffer with a wrapper function.
5563 * gst/gsttagsetter.h:
5566 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5568 * docs/gst/gstreamer-sections.txt:
5571 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5573 * docs/gst/gstreamer-sections.txt:
5574 * docs/gst/tmpl/gstelement.sgml:
5575 * docs/gst/tmpl/gstplugin.sgml:
5576 * gst/gstminiobject.c:
5578 docs now stop throwing warnings
5580 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5582 * docs/gst/gstreamer-sections.txt:
5583 * docs/gst/gstreamer.types:
5584 * docs/gst/tmpl/gstpad.sgml:
5585 * docs/gst/tmpl/gsttypes.sgml:
5586 * gst/base/gstadapter.h:
5587 * gst/base/gstbasesink.h:
5588 * gst/base/gstbasesrc.h:
5598 * gst/gststructure.c:
5599 * gst/registries/gstlibxmlregistry.h:
5600 various documentation fixes
5602 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5604 * docs/gst/gstreamer-sections.txt:
5605 * docs/gst/tmpl/gstvalue.sgml:
5606 rearrange gstvalue section
5607 * gst/gstutils.c: (gst_element_state_get_name):
5609 * gst/gstvalue.c: (_gst_value_initialize):
5613 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5615 * check/gst-libs/controller.c:
5617 * gst/base/gstbasetransform.c:
5618 (gst_base_transform_default_prepare_buf),
5619 (gst_base_transform_handle_buffer):
5620 * gst/base/gstbasetransform.h:
5621 Some more basetransform changes and fixes to enable sub-classes
5622 that modify buffer metadata only.
5623 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5624 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5625 (gst_capsfilter_prepare_buf):
5626 If the output pad has fixed allowed caps and input buffers
5627 don't have any, set the fixed caps on outgoing buffers.
5629 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5630 * check/elements/identity.c: (GST_START_TEST):
5631 Make the error a little clearer when the test fails because
5632 identity made a copy of the buffer.
5633 * docs/gst/gstreamer-sections.txt:
5634 New symbols in gstbasetransform.h
5635 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5636 (gst_base_transform_init), (gst_base_transform_transform_size),
5637 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5638 (gst_base_transform_default_prepare_buf),
5639 (gst_base_transform_get_unit_size),
5640 (gst_base_transform_buffer_alloc),
5641 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5642 (gst_base_transform_change_state),
5643 (gst_base_transform_set_passthrough),
5644 (gst_base_transform_set_in_place),
5645 (gst_base_transform_is_in_place):
5646 * gst/base/gstbasetransform.h:
5647 Change BaseTransform to separate in_place operate from same_caps
5648 output. in_place implies that the element can perform the transform
5649 on incoming buffers in-place, even if the caps on the output are
5651 Sub-class elements can now implement special buffer allocation
5652 methods for outgoing buffers if they wish to.
5653 Big documentation addition.
5654 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5655 * gst/elements/gstelements.c:
5656 Changes for basetransform modifications.
5657 * gst/elements/Makefile.am:
5658 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5659 Compile fix. Extra debug output.
5661 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5663 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5665 add tests for valid pad naming
5666 * gst/check/gstcheck.c: (gst_check_log_message_func),
5667 (gst_check_log_critical_func):
5669 remove printing of code, it is fragile when the code contains
5670 % and the line number is enough info
5671 * gst/check/gstcheck.h:
5672 * gst/gstpad.c: (gst_pad_template_new):
5675 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5678 say what CHECK flags we use
5679 * docs/libs/gstreamer-libs.types:
5680 * libs/gst/controller/Makefile.am:
5681 * libs/gst/controller/gst-controller.c:
5682 * libs/gst/controller/gst-controller.h:
5683 * libs/gst/controller/gst-helper.c:
5684 * libs/gst/controller/gst-interpolation.c:
5685 * libs/gst/controller/gstcontroller.c:
5686 * libs/gst/controller/gsthelper.c:
5687 * libs/gst/controller/gstinterpolation.c:
5688 * tools/gst-inspect.c: (print_plugin_info):
5689 we don't use dashes in header names
5691 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5693 * check/Makefile.am:
5694 * check/gst/.cvsignore:
5695 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5696 (gst_pipeline_suite), (main):
5697 adding a test for pipelines and state changes
5698 * gst/gstutils.c: (get_state_func):
5700 * gstreamer.spec.in:
5703 2005-09-08 Michael Smith <msmith@fluendo.com>
5705 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5706 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5707 (gst_file_src_is_seekable), (gst_file_src_get_size),
5708 (gst_file_src_start):
5709 * gst/elements/gstfilesrc.h:
5710 Various fixes for unseekable, unmmapable, and non-normal files, so
5711 that fallback to read() rather than mmap() works.
5712 * gst/gstevent.c: (gst_event_new_newsegment):
5713 Allow newsegment events with segment_start == segment_end, as will
5714 correctly happen if you use filesrc on a zero-size file, for
5717 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5719 * gst/gstplugin.c: (gst_plugin_load_file):
5720 Call g_module_close when we don't load the module
5722 * gst/registries/gstlibxmlregistry.c:
5723 (gst_xml_registry_get_property):
5724 Port leak fix from 0.8
5726 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5728 * docs/gst/gstreamer-docs.sgml:
5729 * docs/gst/tmpl/.cvsignore:
5730 * docs/gst/tmpl/gsttrace.sgml:
5731 * docs/gst/tmpl/gsttrashstack.sgml:
5740 * gst/gsttaginterface.c:
5741 * gst/gsttaginterface.h:
5744 * gst/gsttagsetter.c:
5745 * gst/gsttagsetter.h:
5748 * gst/gsttrashstack.c:
5749 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5750 inlined docs for gsttrace, gsttrashstack
5752 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5755 * gst/elements/gstbufferstore.h:
5756 * gst/elements/gsttypefindelement.c:
5757 * gst/elements/gsttypefindelement.h:
5759 * gst/gsttypefind.c:
5760 * gst/gsttypefind.h:
5761 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5762 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5763 (gst_type_find_factory_dispose),
5764 (gst_type_find_factory_unload_thyself),
5765 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5766 (gst_type_find_factory_get_caps),
5767 (gst_type_find_factory_get_extensions),
5768 (gst_type_find_factory_call_function):
5769 * gst/gsttypefindfactory.h:
5770 * gst/registries/gstlibxmlregistry.c:
5771 * gst/registries/gstxmlregistry.c:
5772 splitted gsttypefind into gsttypefind, gsttypefindfactory
5774 2005-09-07 Andy Wingo <wingo@pobox.com>
5776 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5777 condition whereby the pad's task function is entered before the
5778 pad_mode variable was set.
5780 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5782 * gst/gstpad.c: (gst_pad_alloc_buffer):
5783 Catch misbehaving pad_alloc functions that don't
5784 set up caps and do it for them.
5786 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5788 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5790 * docs/gst/tmpl/.cvsignore:
5791 * docs/gst/tmpl/gstmemchunk.sgml:
5792 * docs/gst/tmpl/gstparse.sgml:
5793 * docs/gst/tmpl/gsttaglist.sgml:
5794 * docs/gst/tmpl/gsttagsetter.sgml:
5795 * docs/gst/tmpl/gsttypefind.sgml:
5796 * docs/gst/tmpl/gsttypefindfactory.sgml:
5797 * gst/gstmemchunk.c:
5800 * gst/gsttaginterface.c:
5801 * gst/gsttypefind.c:
5802 * gst/gsttypefind.h:
5805 === release 0.9.2 ===
5807 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5812 releasing 0.9.2, "South"
5814 2005-09-05 Andy Wingo <wingo@pobox.com>
5816 * gst/registries/gstxmlregistry.h:
5817 * gst/registries/gstxmlregistry.c: Um... resurrect...
5819 * gst/registries/gstxmlregistry.h:
5820 * gst/registries/gstxmlregistry.c: and update to newer API.
5821 Incidentally they should be a bit faster now that they don't have
5824 2005-09-05 Andy Wingo <wingo@pobox.com>
5826 * gst/registries/gstxmlregistry.h:
5827 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5828 replaced by the libxml registry a while back
5830 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5832 * docs/gst/tmpl/gstplugin.sgml:
5833 * gst/elements/gstelements.c:
5835 * gst/gstplugin.c: (gst_plugin_register_func),
5836 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5837 (gst_plugin_get_source):
5839 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5840 (gst_xml_registry_save_plugin):
5841 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5842 (gst_xml_registry_save_plugin):
5843 * tools/gst-inspect.c: (print_plugin_info):
5844 add a "source" plugin description field, to represent the source
5845 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5846 will set it to PACKAGE, which is automake's idea of the name of
5849 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5855 * docs/faq/Makefile.am:
5856 * docs/gst/tmpl/gstelement.sgml:
5857 * docs/gst/tmpl/gsttypes.sgml:
5858 * docs/htmlinstall.mak:
5859 * docs/manual/Makefile.am:
5860 * docs/pwg/Makefile.am:
5861 reorganize doc build a little
5862 split out docbook and gtk-doc stuff
5863 have two separate --enable's and enable them through autogen
5864 but disable by default in configure (to be similar to other
5866 * gstreamer.spec.in:
5867 clean up docs install
5887 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5889 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5892 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5893 (gst_fake_sink_change_state):
5894 Make state change function thread-safe.
5896 * gst/gstpad.c: (gst_pad_alloc_buffer):
5897 Set offset on generic buffer allocated by fallback.
5899 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5901 * docs/gst/gstreamer-sections.txt:
5902 * docs/gst/tmpl/gstelement.sgml:
5904 * libs/gst/controller/gst-controller.c:
5905 (gst_controlled_property_set_interpolation_mode),
5906 (gst_controlled_property_new),
5907 (gst_controller_find_controlled_property):
5908 run the wingo-magic script against the docs
5910 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5912 * docs/gst/gstreamer-docs.sgml:
5913 * docs/gst/gstreamer-sections.txt:
5914 * docs/gst/tmpl/.cvsignore:
5915 * docs/gst/tmpl/gstelementdetails.sgml:
5916 * docs/gst/tmpl/gstelementfactory.sgml:
5919 * gst/gstelementfactory.c:
5920 * gst/gstelementfactory.h:
5921 merged elementdetails docs into elementfactory docs
5924 2005-09-02 Andy Wingo <wingo@pobox.com>
5926 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5927 consider this enum an enum and not a flags.
5929 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5931 * docs/gst/gstreamer-docs.sgml:
5932 * docs/gst/tmpl/.cvsignore:
5933 * docs/gst/tmpl/gstghostpad.sgml:
5934 * docs/gst/tmpl/gstiterator.sgml:
5935 * docs/gst/tmpl/gstmacros.sgml:
5936 * docs/gst/tmpl/gstrealpad.sgml:
5937 * docs/gst/tmpl/gstregistry.sgml:
5938 * docs/gst/tmpl/gstregistrypool.sgml:
5939 * docs/gst/tmpl/gststructure.sgml:
5940 * docs/gst/tmpl/gstsystemclock.sgml:
5941 * docs/gst/tmpl/gsttrace.sgml:
5942 * gst/gstghostpad.c:
5944 * gst/gstmemchunk.c:
5945 * gst/gstmemchunk.h:
5947 * gst/gstregistry.c:
5948 * gst/gstregistrypool.c:
5949 * gst/gststructure.c:
5950 * gst/gstsystemclock.c:
5953 2005-09-02 Andy Wingo <wingo@pobox.com>
5955 * gst/gstelement.h (GstState): Renamed from GstElementState,
5956 changed to be a normal enum instead of flags.
5957 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5958 munged to be GST_STATE_CHANGE_*.
5959 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5960 work with the new state representation.
5961 (GstStateChange): New enumeration of possible state transitions.
5962 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5963 (GstElementClass::change_state): Pass the GstStateChange along as
5964 an argument. Helps language bindings, so they don't have to use
5965 tricky lock-needing macros like GST_STATE_CHANGE ().
5967 * scripts/update-states (file): New script. Run it on a file to
5968 update it for state naming and API changes. Updates files in
5971 * All files updated for the new API.
5973 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
5975 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5976 * gst/gstutils.c: (gst_util_set_value_from_string),
5977 (gst_util_set_object_arg):
5978 fix a bunch of unchecked return values
5979 * tools/gst-complete.c: (main):
5980 * gstreamer.spec.in:
5983 2005-09-01 Wim Taymans <wim@fluendo.com>
5985 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5986 (gst_base_sink_event), (gst_base_sink_do_sync),
5987 (gst_base_sink_handle_event):
5988 * gst/base/gstbasesink.h:
5989 Handle newsegments more correctly.
5994 * gst/gstevent.c: (gst_event_new_newsegment):
5995 A newsegment cannot have a start_time of -1
5997 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
5999 * win32/gstenumtypes.c:
6000 * win32/gstenumtypes.h:
6003 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6005 * libs/gst/controller/gst-controller.c:
6006 (gst_controlled_property_set_interpolation_mode),
6007 (gst_controlled_property_new):
6010 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6012 * docs/faq/gst-uninstalled:
6017 * gst/gstutils.c: (gst_element_link_filtered):
6019 add gst_element_link_filtered
6021 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6023 * docs/gst/gstreamer-docs.sgml:
6024 * docs/gst/gstreamer-sections.txt:
6025 * docs/gst/tmpl/.cvsignore:
6026 * docs/gst/tmpl/gsterror.sgml:
6027 * docs/gst/tmpl/gstfilter.sgml:
6028 * docs/gst/tmpl/gsturihandler.sgml:
6029 * docs/gst/tmpl/gsturitype.sgml:
6030 * docs/gst/tmpl/gstutils.sgml:
6031 * docs/gst/tmpl/gstxml.sgml:
6039 inlined more docs, fixed double id-ref
6041 2005-08-31 Wim Taymans <wim@fluendo.com>
6043 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6044 (gst_base_transform_handle_buffer):
6045 Passthrough elements don't need the caps as they don't care.
6047 2005-08-31 Wim Taymans <wim@fluendo.com>
6049 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6050 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6051 Don't leak refcounts on buffers.
6053 2005-08-31 Wim Taymans <wim@fluendo.com>
6055 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6056 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6057 (gst_base_transform_chain), (gst_base_transform_change_state):
6058 * gst/base/gstbasetransform.h:
6059 Handle the case where we are not negotiated more gracefully.
6061 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6063 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6064 (gst_file_src_map_region):
6065 Set READONLY flag on mmap'ed buffers, otherwise
6066 gst_buffer_make_writable() won't work properly (#314708).
6068 2005-08-31 Wim Taymans <wim@fluendo.com>
6070 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6071 passthrough elements can even do inplace on non writable
6072 buffers (as they don't touch them).
6074 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6076 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6077 (gst_test_mono_source_set_property),
6078 (gst_test_mono_source_class_init), (GST_START_TEST),
6079 (gst_controller_suite):
6080 more tests (hehe I have the most)
6082 describe popping messages whenusing mulltiple sources
6083 * libs/gst/controller/gst-controller.c:
6084 (gst_controlled_property_set_interpolation_mode),
6085 (gst_controlled_property_new):
6086 * libs/gst/controller/gst-controller.h:
6087 * libs/gst/controller/gst-interpolation.c:
6088 implement boolean properties
6090 2005-08-31 Wim Taymans <wim@fluendo.com>
6092 * gst/gstminiobject.c: (gst_mini_object_ref):
6093 Cannot assert that the refcount has to be positive
6094 since a disposed object can be resurrected.
6096 2005-08-31 Wim Taymans <wim@fluendo.com>
6098 * gst/gstpad.c: (gst_pad_init):
6099 Revert change, need to first fix badly behaving
6102 2005-08-30 Wim Taymans <wim@fluendo.com>
6104 * check/elements/fakesrc.c: (setup_fakesrc):
6105 * check/elements/identity.c: (setup_identity):
6106 Activate pads before using them.
6108 2005-08-30 Wim Taymans <wim@fluendo.com>
6110 * gst/base/gstadapter.c: (gst_adapter_flush):
6111 Flushing out 0 bytes is ok for this function.
6113 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6114 no newsegment gives a warning and sets the start/stop to
6117 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6118 (gst_base_transform_set_passthrough):
6121 * gst/gstminiobject.c: (gst_mini_object_ref):
6122 Check refcount here too.
6124 * gst/gstpad.c: (gst_pad_init):
6125 Pads are initially flushing and refusing data.
6127 * gst/gstutils.c: (gst_element_link_pads_filtered):
6128 When adding a capsfilter element make sure it has the
6129 same state as the parent bin.
6131 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6133 * docs/gst/tmpl/.cvsignore:
6134 * docs/gst/tmpl/gstformat.sgml:
6135 * docs/gst/tmpl/gstversion.sgml:
6139 * gst/gstversion.h.in:
6140 more docs and two more inlined
6142 2005-08-30 Wim Taymans <wim@fluendo.com>
6144 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6145 Don't sync to clock.
6147 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6149 * docs/gst/gstreamer-sections.txt:
6150 ultral33t func10ns deserve to appear in the docs actually
6151 * docs/gst/tmpl/.cvsignore:
6152 * docs/gst/tmpl/gstcompat.sgml:
6153 * docs/gst/tmpl/gstconfig.sgml:
6154 * gst/check/gstcheck.c:
6156 * gst/gstconfig.h.in:
6159 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6161 * docs/gst/tmpl/.cvsignore:
6162 * docs/gst/tmpl/gstquery.sgml:
6163 * docs/gst/tmpl/gstutils.sgml:
6166 inlined and extended docs
6168 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6170 * check/gst-libs/controller.c: (GST_START_TEST),
6171 (gst_controller_suite):
6173 * docs/gst/tmpl/gstutils.sgml:
6174 * docs/libs/gstreamer-libs-sections.txt:
6175 * docs/libs/tmpl/gstdataprotocol.sgml:
6177 * examples/controller/audio-example.c: (main):
6178 controller example works now
6181 * tools/gst-inspect.c: (print_element_properties_info):
6182 show param spec flags
6184 2005-08-29 Andy Wingo <wingo@pobox.com>
6186 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6188 2005-08-28 Andy Wingo <wingo@pobox.com>
6190 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6191 as having two arguments instead of just one. Allows superclasses
6192 to access information on subclasses -- see the terrible for() loop
6193 in gtype.c:g_type_create_instance for the reason why. All callers
6196 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6198 * docs/design/part-messages.txt:
6200 * docs/gst/tmpl/.cvsignore:
6201 * docs/gst/tmpl/gstcaps.sgml:
6202 * docs/gst/tmpl/gstclock.sgml:
6209 added descriptions for bus and message
6210 inline caps and clock docs
6212 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6218 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6220 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6223 2005-08-26 Andy Wingo <wingo@pobox.com>
6225 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6226 element_set_state's return val.
6227 (test_2_elements): Add test that's been disabled for months.
6229 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6230 can-activate-pull properties.
6232 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6233 can-activate-pull properties. Implement is_seekable so fakesrc can
6234 operate in pull mode.
6236 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6238 (gst_base_sink_activate, gst_base_sink_activate_pull)
6239 (gst_base_sink_activate_push): Make activation mode choosing work.
6241 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6242 is right. Make pull mode work. Post an eos before pausing in pull
6244 (gst_base_sink_change_state): Pay attention to the core's
6245 change_state() return val.
6247 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6248 has-getrange properties. Cleanups.
6250 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6251 has_getrange and replace with can_activate_pull and
6254 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6255 locking comments. Remove has_loop, has_chain and replace with
6256 can_activate_pull and can_activate_push.
6258 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6261 * examples/Makefile.am:
6262 * examples/metadata/Makefile.am:
6263 * examples/metadata/read-metadata.c: (message_loop),
6264 (have_pad_handler), (make_pipeline), (print_tag), (main):
6265 Add metadata reading example that loops over a list of filenames,
6266 dumping any tags found.
6268 * gst/gstbus.c: (gst_bus_dispose):
6269 * gst/gstelement.c: (gst_element_dispose):
6270 Release a few potentially-held references in dispose.
6272 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6274 * docs/gst/tmpl/gstminiobject.sgml:
6275 do *not* add tmpl/*.sgml files to CVS!
6277 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6279 * libs/gst/bytestream/.cvsignore:
6280 * libs/gst/bytestream/Makefile.am:
6281 * libs/gst/bytestream/adapter.c:
6282 * libs/gst/bytestream/adapter.h:
6283 * libs/gst/bytestream/bytestream.c:
6284 * libs/gst/bytestream/bytestream.h:
6285 * libs/gst/bytestream/filepad.c:
6286 * libs/gst/bytestream/filepad.h:
6287 removing obsolete files
6289 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6291 * docs/gst/gstreamer-docs.sgml:
6292 * docs/libs/gstreamer-libs-docs.sgml:
6293 disabed additional index entries again, as this makes docs-gen just
6294 slow and they aren't useful yet
6295 * docs/libs/gstreamer-libs-sections.txt:
6296 little -section.txt cleanup for libs
6298 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6301 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6302 fix up some debugging
6303 (gst_base_transform_get_unit_size),
6304 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6305 (gst_base_transform_handle_buffer):
6306 * gst/base/gstbasetransform.h:
6307 handle and store timed NEWSEGMENT events so that subclasses that
6308 calculate time by counting samples have a segment_start time they
6309 need to add to their timestamps - see audioresample
6311 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6314 removed ';' from the end of macro defs
6315 * docs/gst/gstreamer-docs.sgml:
6316 * docs/gst/gstreamer-sections.txt:
6317 * docs/gst/tmpl/.cvsignore:
6319 * gst/gstelement.c: (gst_element_class_init),
6320 (gst_element_set_state), (activate_pads),
6321 (gst_element_save_thyself):
6322 * gst/gstevent.c: (gst_event_new_newsegment):
6324 * gst/gstiterator.c:
6325 * gst/gstiterator.h:
6328 * gst/gstutils.c: (gst_pad_query_convert):
6330 fixed parameter name mismatches between source, header and docs
6331 added some more docs, resolved the last batch of unused elements in
6332 docs (now someone needs to doc them)
6334 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6336 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6337 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6338 don't walk through the plugins backwards. Where is all this
6339 reversed logic coming from ?
6341 2005-08-25 Wim Taymans <wim@fluendo.com>
6343 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6344 (gst_base_transform_transform_size),
6345 (gst_base_transform_configure_caps),
6346 (gst_base_transform_get_unit_size),
6347 (gst_base_transform_buffer_alloc),
6348 (gst_base_transform_change_state):
6349 * gst/base/gstbasetransform.h:
6350 Cache caps unit_size.
6351 Make sure we cannot negotiate up and downstream at the
6354 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6356 * gst/gst.c: (init_pre), (init_post):
6357 register the installed plugin path after the env var
6358 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6359 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6360 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6361 directories, so the tests can prefer uninstalled over installed
6363 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6365 * gst/base/gstbasetransform.h:
6370 2005-08-25 Wim Taymans <wim@fluendo.com>
6372 * gst/gstbin.c: (bin_bus_handler):
6373 Be a bit more conservative about the posted message.
6375 * gst/gstbus.c: (gst_bus_post):
6376 Some cleanups, warn wrong return values.
6378 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6380 * check/gst/gstbin.c: (GST_START_TEST):
6381 * gst/gstbin.c: (bin_bus_handler):
6382 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6383 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6384 (gst_message_new_warning), (gst_message_new_tag),
6385 (gst_message_new_state_changed), (gst_message_new_segment_start),
6386 (gst_message_new_segment_done), (gst_message_new_custom):
6388 * tools/gst-launch.c: (event_loop):
6389 * tools/gst-md5sum.c: (event_loop):
6390 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6392 2005-08-25 Wim Taymans <wim@fluendo.com>
6394 * check/generic/states.c: (GST_START_TEST):
6395 Cleanup can be done at the end.
6397 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6398 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6399 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6400 Oh boy.. Thanks for finding this, Thomas.
6402 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6404 * docs/gst/gstreamer.types:
6407 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6409 * docs/gst/gstreamer-docs.sgml:
6410 * docs/gst/gstreamer-sections.txt:
6411 * docs/gst/tmpl/.cvsignore:
6413 * gst/gstiterator.c:
6415 * gst/registries/gstxmlregistry.h:
6416 added missing classes and symbols (123 more to go)
6417 removed removed symbols from section file
6418 fixed many doc-comments
6420 2005-08-24 Wim Taymans <wim@fluendo.com>
6422 * check/generic/states.c: (GST_START_TEST):
6423 Make sure all tasks are stopped.
6425 * check/gst/gstbin.c: (GST_START_TEST):
6426 Unref after usage for proper valgrinding.
6428 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6429 Really wait for the task to stop before destroying the
6432 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6433 (gst_queue_src_activate_push):
6434 Small cleanups. Don't stop the task when we did not start
6437 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6438 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6439 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6442 Protect the stream lock with the object lock.
6443 Disallow setting the stream lock when running.
6444 Add cleanup_all to wait for the threadpool to finish.
6445 Remove code to autoallocate a mutex if none was provided.
6446 Add _join() to wait for a task to stop.
6447 Protect the thread pool with a global lock.
6449 2005-08-24 Wim Taymans <wim@fluendo.com>
6451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6452 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6453 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6454 * gst/base/gstbasesink.h:
6455 Handle newsegment events correctly.
6456 Drop buffers out of the segment range.
6458 2005-08-22 Andy Wingo <wingo@pobox.com>
6460 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6461 macro, implements an interface and gstimplementsinterface for a
6464 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6466 * check/Makefile.am:
6467 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6468 add a test that does a bunch of state changes on elements
6469 needs some fixing for valgrind
6470 * check/states/sinks.c: (gst_object_suite):
6473 add prototype for gst_caps_is_equal_fixed
6475 * gst/gstregistrypool.c:
6478 2005-08-24 Andy Wingo <wingo@pobox.com>
6480 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6481 convert a negative value. Doesn't make much sense. Mostly this is
6482 here to force callers to ensure -1 maps to -1.
6484 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6486 * docs/pwg/advanced-types.xml:
6487 Well done to Michael for catching my deliberate introduction
6488 of this spelling mistake.
6489 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6491 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6492 unlink pads before removing the element from the bin.
6494 2005-08-24 Andy Wingo <wingo@pobox.com>
6496 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6497 the same thing as GST_DEBUG=*:4.
6498 (parse_debug_level, parse_debug_category): New helper parsers.
6500 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6502 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6503 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6504 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6505 (gst_base_transform_buffer_alloc),
6506 (gst_base_transform_handle_buffer):
6507 use gboolean return values and pointers to size so we can use the
6508 full GST_BUFFER_SIZE range (guint) for buffer sizes
6509 use GstPadDirection for transform_caps
6510 * gst/base/gstbasetransform.h:
6511 rename get_size to get_unit_size since that's what it is
6512 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6513 use GstPadDirection for transform_caps
6514 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6516 cleanup and debugging
6518 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6520 * gst/gstelement.c: (gst_element_class_init),
6521 (gst_element_set_state), (activate_pads),
6522 (gst_element_save_thyself):
6523 * tools/gst-compprep.c: (main):
6524 * tools/gst-inspect.c: (print_element_properties_info):
6525 * tools/gst-xmlinspect.c: (print_element_properties):
6526 Fixed long standing mem-leak
6528 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6530 * check/gst/gstbin.c: (GST_START_TEST):
6531 * gst/gstbin.c: (bin_bus_handler):
6532 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6533 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6534 (gst_message_new_warning), (gst_message_new_tag),
6535 (gst_message_new_state_changed), (gst_message_new_segment_start),
6536 (gst_message_new_segment_done), (gst_message_new_custom):
6538 * tools/gst-launch.c: (event_loop):
6539 * tools/gst-md5sum.c: (event_loop):
6540 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6541 that applications can sensibly post custom messages with references
6542 to their own objects.
6544 2005-08-24 Andy Wingo <wingo@pobox.com>
6546 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6549 2005-08-24 Wim Taymans <wim@fluendo.com>
6551 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6552 (gst_base_transform_transform_caps),
6553 (gst_base_transform_transform_size),
6554 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6555 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6556 (gst_base_transform_handle_buffer):
6557 * gst/base/gstbasetransform.h:
6558 Many fixes and new features added by Thomas. Can now also do
6559 transforms with variable sizes and a custom fixate_caps function.
6561 2005-08-24 Wim Taymans <wim@fluendo.com>
6563 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6567 Cast to ClockTime before formatting to time.
6572 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6574 * check/gst-libs/controller.c: (GST_START_TEST),
6575 (gst_controller_suite):
6576 * docs/gst/tmpl/gstcaps.sgml:
6577 * docs/gst/tmpl/gstghostpad.sgml:
6578 * docs/gst/tmpl/gstquery.sgml:
6579 * docs/gst/tmpl/gstutils.sgml:
6580 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6581 (gst_object_sink_values), (gst_object_get_value_arrays),
6582 (gst_object_get_value_array):
6583 gracefully handle helper method calls to objects that are not beeing
6584 controlled, added test case for that
6586 2005-08-23 Wim Taymans <wim@fluendo.com>
6588 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6589 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6590 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6591 (gst_event_parse_qos), (gst_event_new_seek),
6592 (gst_event_parse_seek):
6594 Some more debugging output and doc cleanups.
6596 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6597 Fix possible deadlock.
6599 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6601 * docs/gst/gstreamer-docs.sgml:
6602 * docs/gst/gstreamer-sections.txt:
6603 * docs/gst/gstreamer.types:
6604 * docs/gst/tmpl/.cvsignore:
6609 added 100 symbols from gstreamer-unused.txt to the right sections
6610 fixed more broken comments
6611 added GstBus to docs
6613 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6615 * docs/gst/gstreamer-sections.txt:
6616 * docs/gst/tmpl/.cvsignore:
6617 * docs/gst/tmpl/gstbin.sgml:
6618 * docs/gst/tmpl/gstbuffer.sgml:
6619 * gst/base/gstbasesrc.c:
6620 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6623 * tools/gst-launch.1.in:
6624 inlined more doc comments, added missing comments and fixed comments
6627 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6629 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6633 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6635 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6636 * gst/gststructure.h:
6637 add a fixate function for booleans; add a FIXME that these func
6638 names should probably be gst_structure_fixate_*
6640 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6642 * docs/gst/gstreamer-docs.sgml:
6643 * docs/gst/gstreamer-sections.txt:
6645 * gst/gstbin.c: (gst_bin_get_type),
6646 (gst_bin_child_proxy_get_child_by_index),
6647 (gst_bin_child_proxy_get_children_count),
6648 (gst_bin_child_proxy_init):
6649 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6650 (gst_child_proxy_get_child_by_index),
6651 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6652 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6653 (gst_child_proxy_get), (gst_child_proxy_set_property),
6654 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6655 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6656 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6657 * gst/gstchildproxy.h:
6658 * gst/parse/grammar.y:
6659 * tools/gst-inspect.c: (print_interfaces),
6660 (print_element_properties_info), (print_element_info):
6661 ported gstchildproxy over from 0.8
6662 ported gst-inspect fixes and enhancements over from 0.8
6664 2005-08-22 Wim Taymans <wim@fluendo.com>
6666 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6667 (gst_base_transform_handle_buffer):
6668 Also call the transform function if we have ANY caps.
6670 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6673 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6675 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6676 Don't pretend to handle seek events if the source is not seekable
6678 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6680 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6681 Remove extra parameter to debug output
6683 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6684 (gst_base_src_do_seek), (gst_base_src_activate_push):
6685 Fix seek event handling.
6687 * gst/gstpipeline.c: (gst_pipeline_change_state):
6688 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6689 (gst_queue_src_activate_push):
6690 Don't start the src pad task on FLUSH_STOP if the pad
6694 2005-08-22 Wim Taymans <wim@fluendo.com>
6696 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6697 Added check for gst_static_caps_get() refcounting.
6699 2005-08-22 Wim Taymans <wim@fluendo.com>
6701 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6702 Make _static_caps_get() refcounting sane.
6704 * gst/gstelement.c: (gst_element_set_state):
6705 Add g_return_val_if_fail() to protect against segfaults.
6707 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6709 * docs/gst/tmpl/gstevent.sgml:
6712 inlined remaining docs, added missing doc comments
6714 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6716 * check/gst/gstbin.c: (GST_START_TEST):
6717 since we don't know when preroll is done, use refcount range
6719 * gst/check/gstcheck.h:
6720 add macro for checking refcount range
6722 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6724 * check/Makefile.am:
6725 clean up environment for when registry gets built versus
6726 when actual tests are run; valgrind seems to not report
6727 leaks if GST_PLUGIN_PATH is set to some specific values
6728 * check/gst/gstbin.c: (GST_START_TEST):
6729 add more refcounting checks; maybe this exposes a
6732 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6733 * gst/check/gstcheck.h:
6734 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6735 (gst_bin_change_state):
6736 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6737 add/fix debugging/whitespace
6739 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6741 * check/gst/gstevent.c: (event_probe), (test_event),
6743 Er, don't call gst_bin_watch_for_state_change you idiot.
6745 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6747 * check/Makefile.am:
6748 Use CHECK_CFLAGS and CHECK_LIBS
6749 * check/gst/gstevent.c: (event_probe), (test_event),
6752 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6753 (gst_base_src_start), (gst_base_src_stop),
6754 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6755 (gst_base_src_change_state):
6756 Sprinkle gst_base_src_stop liberally around error paths to fix
6757 problems reusing a source after failed state changes.
6758 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6759 (helper_find_suggest), (gst_type_find_helper):
6760 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6762 * docs/gst/tmpl/gstevent.sgml:
6763 Migrate part of the docs from the SGML file. Wait for ensonic to
6764 tell me how I did it wrong ;)
6765 * tools/gst-typefind.c: (main):
6766 Extra robustness to state changes between files.
6768 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6770 * check/Makefile.am:
6771 don't valgrind the controller test - it's leaking - Stefan, HELP
6772 * gst/check/gstcheck.c: (gst_check_message_error),
6773 (gst_check_chain_func), (gst_check_setup_element),
6774 (gst_check_teardown_element), (gst_check_setup_src_pad),
6775 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6776 (gst_check_teardown_sink_pad):
6777 * gst/check/gstcheck.h:
6778 add a bunch of methods to set up elements, and src and sink pads
6779 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6780 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6785 whitespace/doc fixes
6787 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6790 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6791 be handled by the application and not always printed as well
6793 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6795 * check/Makefile.am:
6797 * gst/check/gstcheck.c: (gst_check_message_error):
6798 * gst/check/gstcheck.h:
6799 add a fail_unless_equals_int
6800 add fail_unless for error messages
6802 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6804 * check/Makefile.am:
6806 * common/Makefile.am:
6809 factor out some of the common stuff so we can use it
6811 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6813 * check/Makefile.am:
6814 * check/gst/gstiterator.c: (GST_START_TEST):
6815 * check/gst/gstsystemclock.c: (GST_START_TEST),
6816 (gst_systemclock_suite):
6817 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6821 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6823 * check/elements/.cvsignore:
6824 * check/elements/gstfakesrc.c:
6825 rename to name of element
6826 * check/elements/identity.c: (chain_func), (event_func),
6827 (setup_identity), (cleanup_identity), (GST_START_TEST),
6828 (identity_suite), (main):
6829 add a test for identity
6830 * check/Makefile.am:
6831 * pkgconfig/Makefile.am:
6832 * pkgconfig/gstreamer-check.pc.in:
6833 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6837 move the check stuff to a library that gets installed
6838 * check/gst-libs/controller.c: (GST_START_TEST):
6839 * check/gst-libs/gdp.c:
6840 * check/gst/gst.c: (GST_START_TEST):
6841 * check/gst/gstbin.c:
6842 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6843 * check/gst/gstbus.c:
6844 * check/gst/gstcaps.c: (GST_START_TEST):
6845 * check/gst/gstelement.c:
6846 * check/gst/gstghostpad.c:
6847 * check/gst/gstiterator.c:
6848 * check/gst/gstmessage.c:
6849 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6850 * check/gst/gstobject.c:
6851 * check/gst/gstpad.c: (GST_START_TEST):
6852 * check/gst/gststructure.c: (GST_START_TEST):
6853 * check/gst/gstsystemclock.c: (GST_START_TEST),
6854 (gst_systemclock_suite):
6855 * check/gst/gsttag.c: (gst_tag_suite):
6856 * check/gst/gstvalue.c:
6857 * check/pipelines/cleanup.c:
6858 * check/pipelines/simple_launch_lines.c:
6859 * check/states/sinks.c:
6860 change include statement
6862 * docs/gst/gstreamer-sections.txt:
6863 * docs/gst/tmpl/gstpad.sgml:
6864 document more pad stuff
6865 * gst/gstminiobject.c: (gst_mini_object_ref),
6866 (gst_mini_object_unref):
6869 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6871 * docs/gst/tmpl/gst.sgml:
6873 eliminate another tmpl file, fix spelling in the long-description
6875 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6877 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6878 (test_event), (timediff), (gstevents_suite):
6879 Should fix build on 64-bit arch's
6881 2005-08-18 Andy Wingo <wingo@pobox.com>
6883 Make sure that when a pipeline goes to PLAYING, that data has
6884 actually hit the sink.
6886 * check/states/sinks.c (test_sink): A sink that doesn't get any
6887 data shouldn't return SUCCESS for going to either PLAYING or
6888 PAUSED. Test also the return values on the way back down.
6890 * gst/gstelement.c (gst_element_set_state): When changing the
6891 state of an element currently changing state asynchronously, go to
6892 lost-state after commiting the pending state. Makes future calls
6893 to get_state continue to return ASYNC.
6895 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6896 ASYNC when going to PLAYING if we still don't have preroll, as can
6897 happen with live sources.
6899 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6901 * docs/pwg/advanced-types.xml:
6902 Hack long paragraph into 2 chunks as a workaround for buggy
6903 jadetex version in sid and breezy that loops infinitely and
6906 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6908 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6909 (test_event), (timediff), (gstevents_suite):
6910 Provide more error margin in clock measurements to allow for
6911 g_get_current_time inaccuracies.
6913 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6915 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6916 (test_event), (timediff), (gstevents_suite):
6917 Fix error message output so I might be able to tell why the
6918 test works here but fails on the build farm.
6920 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6922 * check/Makefile.am:
6923 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6924 (test_event), (timediff), (gstevents_suite), (main):
6927 * docs/design/part-seeking.txt:
6930 * docs/gst/tmpl/gstevent.sgml:
6931 * docs/gst/tmpl/gstfakesrc.sgml:
6934 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6935 Treat a buffer-without-newsegment the same as a receiving
6936 a newsegment not in time format, and disable syncing to the clock
6939 * gst/gstbus.c: (gst_bus_set_sync_handler):
6940 Assert if anyone tries to replace the existing sync_handler for bus,
6941 as only the owner should be setting it.
6944 Have a fixed set of custom event enums with events identified by
6945 their structure name (as in 0.8), rather than a free-for-all
6946 allowing collisions between enum values from different plugins.
6948 * gst/gstpad.c: (gst_pad_class_init):
6951 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6952 Handle out-of-band downstream events from the sending thread.
6954 2005-08-17 Andy Wingo <wingo@pobox.com>
6956 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6957 play-timeout==0 to mean no timeout at all. In that case, don't
6958 bother with a get_state or a warning, just return directly, even
6961 * gst/base/gstbasetransform.c: Debug changes.
6964 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6965 ensure bins post state change messages. A bit of a hack but I can't
6966 think of a way to avoid it.
6968 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6970 2005-08-16 Andy Wingo <wingo@pobox.com>
6972 * gst/base/gstadapter.h:
6973 * gst/base/gstadapter.c (gst_adapter_take): New function, like
6974 peek() but you own the data. Not terribly efficient atm.
6976 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6978 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6979 (gst_element_found_tags):
6981 Add two utility functions for tag handling.
6983 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6985 * docs/manual/advanced-dataaccess.xml:
6986 * docs/manual/basics-helloworld.xml:
6987 Fix docs to use _bin_add() before _link(), which fixes the examples
6988 with recent core versions (reported by Madhan Raj M
6989 <raj_madan@rediffmail.com>, #313199).
6991 2005-08-16 Wim Taymans <wim@fluendo.com>
6993 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6994 Added subtract checks.
6996 * docs/design/part-events.txt:
6997 Some more docs about newsegment
6999 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7002 * gst/gstcaps.c: (gst_caps_to_string):
7003 Add comments, cleanups.
7005 * gst/gstelement.c: (gst_element_save_thyself):
7008 * gst/gstvalue.c: (gst_value_collect_int_range),
7009 (gst_string_unwrap), (gst_value_union_int_int_range),
7010 (gst_value_union_int_range_int_range),
7011 (gst_value_intersect_int_int_range),
7012 (gst_value_intersect_int_range_int_range),
7013 (gst_value_intersect_double_double_range),
7014 (gst_value_intersect_double_range_double_range),
7015 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7016 (gst_value_subtract_int_range_int),
7017 (gst_value_subtract_double_range_double),
7018 (gst_value_subtract_double_range_double_range),
7019 (gst_value_subtract_from_list), (gst_value_subtract_list),
7020 (gst_value_can_compare), (gst_value_compare_fraction):
7021 Cleanups, add comments, remove unneeded asserts.
7023 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7025 * tools/gst-launch.c: (event_loop):
7026 don't convert NULL structures to strings
7028 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7030 * docs/gst/gstreamer-sections.txt:
7031 made some defines private
7032 * docs/gst/tmpl/gstconfig.sgml:
7033 * docs/gst/tmpl/gstqueue.sgml:
7034 * docs/gst/tmpl/gsttaglist.sgml:
7035 * docs/gst/tmpl/gsttypes.sgml:
7036 * docs/gst/tmpl/gstutils.sgml:
7037 * docs/pwg/appendix-porting.xml:
7038 * gst/base/gstbasesink.h:
7039 * gst/base/gstbasesrc.c:
7040 * gst/base/gstbasesrc.h:
7041 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7042 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7043 * gst/gstelement.c: (gst_element_class_init):
7044 * gst/gstpad.c: (gst_pad_class_init):
7045 * gst/gstqueue.c: (gst_queue_class_init):
7046 * gst/gstxml.c: (gst_xml_class_init):
7047 documented all undocumented signal inline
7048 * libs/gst/controller/gst-controller.h:
7051 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7053 * docs/pwg/appendix-porting.xml:
7054 Document _set_link_function -> _set_setcaps_function.
7056 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7058 * check/Makefile.am:
7059 add a .check target for running the check
7060 * check/gst-libs/controller.c: (GST_START_TEST):
7062 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7063 complete checks for gstbuffer; would be nice if I could get the
7064 gcov stuff to work so I can see if I actually completed gstbuffer.c
7066 add ASSERT_BUFFER_REFCOUNT
7068 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7070 * docs/gst/gstreamer-sections.txt:
7071 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7073 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7074 spew out a warning if a tag that is already registered
7075 is re-registered, unless it is re-registered with a
7076 different type (#308438).
7078 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7080 * docs/pwg/appendix-porting.xml:
7081 * docs/pwg/building-state.xml:
7082 Add some paragraphs about state changes in 0.9 to the PWG
7083 and the porting guide, in particular about the new meaning
7084 of GST_STATE_PAUSED and how to write state change functions
7085 with concurrent access by multiple threads in mind.
7087 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7089 * docs/gst/gstreamer-docs.sgml:
7090 * docs/libs/gstreamer-libs-docs.sgml:
7091 added deprecation and since indexes
7092 * libs/gst/controller/gst-controller.c:
7093 * libs/gst/controller/gst-helper.c:
7097 2005-08-11 Wim Taymans <wim@fluendo.com>
7099 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7100 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7101 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7102 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7103 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7104 (gst_ghost_pad_set_target):
7105 Actually implement (re)setting the target on a ghostpad
7106 as described in the docs.
7108 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7110 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7111 Check whether GST_DEBUG_NO_COLOR environment variable is
7112 set and disable coloured debug output if that is the case.
7114 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7116 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7117 (gst_type_find_helper):
7118 The memory returned by gst_type_find_peek() needs to
7119 stay valid until the end of a typefind function, and
7120 typefind functions may keep results from different
7121 offsets around, so we can't just unref the buffer from
7122 the previous _peek(), but have to save all buffers
7123 returned by _peek() until typefinding is done and only
7126 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7128 * docs/gst/gstreamer-sections.txt:
7130 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7132 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7134 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7135 Fix a pretty good memleak.
7137 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7139 * gst/gstiterator.h:
7140 Fix wrong include and 'make distcheck'.
7142 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7144 * gst/gstbin.c: (bin_bus_handler):
7145 Use gst_element_post_message() instead.
7147 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7149 * gst/base/gstadapter.h:
7150 * gst/base/gstbasesink.h:
7151 * gst/base/gstbasesrc.h:
7152 * gst/base/gstbasetransform.h:
7153 * gst/base/gstcollectpads.h:
7154 * gst/base/gstpushsrc.h:
7155 * gst/gstiterator.h:
7156 Add padding to our base elements' class and instance structs and
7157 to GstIterator (you will need to rebuild all plugins and apps!)
7159 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7161 * gst/gstbin.c: (bin_bus_handler):
7162 Make default message forwarding from child->bus to bin->bus
7163 threadsafe and make it not emit warnings if the parent has no bus.
7165 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7167 * gst/gstelement.c: (activate_pads):
7168 On paused->ready, set pad->caps to NULL, as is the documented
7169 behaviour in this state change. Fixes playback of series of
7170 media files when visualization is enabled in Totem.
7172 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7174 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7175 Allow NULL as filter-caps (which means "any").
7177 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7179 * docs/libs/gstreamer-libs-sections.txt:
7180 * libs/gst/controller/gst-controller.c:
7181 * libs/gst/controller/gst-controller.h:
7182 * libs/gst/controller/gst-helper.c:
7183 adding more entries to the docs and fix small doc-bugs
7185 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7187 * docs/gst/gstreamer-docs.sgml:
7188 * docs/gst/gstreamer-sections.txt:
7189 * docs/gst/gstreamer.types:
7190 * docs/gst/tmpl/gstbasesink.sgml:
7191 * docs/gst/tmpl/gstbasesrc.sgml:
7192 * docs/gst/tmpl/gstbasetransform.sgml:
7193 * docs/gst/tmpl/gstfakesrc.sgml:
7194 * gst/base/gstcollectpads.c:
7195 * gst/base/gstcollectpads.h:
7196 * libs/gst/controller/gst-controller.c:
7197 * libs/gst/controller/gst-controller.h:
7198 * libs/gst/controller/gst-helper.c:
7199 * libs/gst/controller/gst-interpolation.c:
7200 * libs/gst/controller/lib.c:
7201 added long/short desc for controller docs
7202 added collectpads base class docs
7203 added correct includes to base-class docs
7205 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7207 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7208 (gst_test_mono_source_set_property),
7209 (gst_test_mono_source_class_init), (GST_START_TEST),
7210 (gst_controller_suite):
7211 * docs/gst/gstreamer-docs.sgml:
7212 * docs/gst/gstreamer-sections.txt:
7213 * docs/gst/gstreamer.types:
7214 * docs/libs/gstreamer-libs-docs.sgml:
7215 * docs/libs/gstreamer-libs-sections.txt:
7216 * gst/base/gstadapter.c:
7217 * libs/gst/controller/gst-controller.c:
7218 (gst_controlled_property_new), (gst_controlled_property_free),
7219 (gst_controller_new_valist),
7220 (gst_controller_remove_properties_valist),
7221 (gst_controller_sink_values), (_gst_controller_finalize):
7222 * libs/gst/controller/gst-controller.h:
7223 * libs/gst/controller/gst-helper.c:
7224 (gst_object_control_properties), (gst_object_uncontrol_properties),
7225 (gst_object_get_controller), (gst_object_set_controller),
7226 (gst_object_sink_values), (gst_object_get_value_arrays),
7227 (gst_object_get_value_array):
7228 more tests (and fixes) for the controller
7229 more docs for the controller
7230 integrated companies docs for the adapter
7232 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7234 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7235 (GST_START_TEST), (fakesrc_suite):
7236 add tests for sizetype
7238 2005-08-04 Andy Wingo <wingo@pobox.com>
7240 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7241 fixes buffer_alloc proxying among other things.
7243 * gst/base/gstbasetransform.c:
7244 * gst/base/gstbasetransform.h:
7245 Revert patch to gstbasetransform from 7-28 removing
7248 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7249 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7250 Semantics changed, should return not the size of the output buffer
7251 but the byte size of a buffer with a given caps.
7253 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7255 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7256 out) are not the pad caps until setcaps finishes.
7257 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7258 not-in-place case as well. Deal with changing from in-place to
7259 not-in-place within calling pad_alloc_buffer. Still a bit
7260 concerned about the overhead here...
7262 2005-08-03 Andy Wingo <wingo@pobox.com>
7264 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7265 fixating is an error.
7267 2005-08-04 Edward Hervey <edward@fluendo.com>
7269 * gst/base/gstadapter.h:
7270 Added gst_adapter_get_type() to the header
7272 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7274 * check/Makefile.am:
7275 * check/gst-libs/controller.c:
7276 * libs/gst/controller/gst-controller.c:
7277 (gst_controller_new_valist):
7278 added check test suite for the controller
7279 * gst/base/gstpushsrc.c:
7282 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7284 * docs/gst/Makefile.am:
7285 * docs/gst/gstreamer-docs.sgml:
7286 * docs/gst/gstreamer-sections.txt:
7287 * docs/gst/gstreamer.types:
7288 * docs/gst/tmpl/gstfakesrc.sgml:
7290 * gst/base/gstbasesink.c:
7291 * gst/base/gstbasesink.h:
7292 * gst/base/gstbasesrc.c:
7293 * gst/base/gstbasesrc.h:
7294 * gst/base/gstbasetransform.c:
7295 * gst/base/gstpushsrc.c:
7296 * gst/base/gstpushsrc.h:
7297 add short/long description docs to base classes
7298 add pushsrc to the docs
7299 remove consolidated doc fragments
7301 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7304 * docs/libs/Makefile.am:
7305 * docs/libs/gstreamer-libs-docs.sgml:
7306 * docs/libs/gstreamer-libs-sections.txt:
7307 * docs/libs/gstreamer-libs.types:
7308 * examples/Makefile.am:
7309 * examples/controller/.cvsignore:
7310 * examples/controller/Makefile.am:
7311 * examples/controller/audio-example.c: (main):
7312 * libs/gst/Makefile.am:
7313 * libs/gst/controller/.cvsignore:
7314 * libs/gst/controller/Makefile.am:
7315 * libs/gst/controller/gst-controller.c:
7316 (on_object_controlled_property_changed), (gst_timed_value_compare),
7317 (gst_timed_value_find),
7318 (gst_controlled_property_set_interpolation_mode),
7319 (gst_controlled_property_new), (gst_controlled_property_free),
7320 (gst_controller_find_controlled_property),
7321 (gst_controller_new_valist), (gst_controller_new),
7322 (gst_controller_remove_properties_valist),
7323 (gst_controller_remove_properties), (gst_controller_set),
7324 (gst_controller_set_from_list), (gst_controller_unset),
7325 (gst_controller_get), (gst_controller_get_all),
7326 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7327 (gst_controller_get_value_array),
7328 (gst_controller_set_interpolation_mode),
7329 (_gst_controller_finalize), (_gst_controller_init),
7330 (_gst_controller_class_init), (gst_controller_get_type):
7331 * libs/gst/controller/gst-controller.h:
7332 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7333 (g_object_uncontrol_properties), (g_object_get_controller),
7334 (g_object_set_controller), (g_object_sink_values),
7335 (g_object_get_value_arrays), (g_object_get_value_array):
7336 * libs/gst/controller/gst-interpolation.c:
7337 (gst_controlled_property_find_timed_value_node),
7338 (interpolate_none_get), (interpolate_trigger_get),
7339 (interpolate_trigger_get_value_array):
7340 * libs/gst/controller/lib.c: (gst_controller_init):
7341 * pkgconfig/Makefile.am:
7342 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7343 * pkgconfig/gstreamer-control.pc.in:
7344 * testsuite/Makefile.am:
7345 * testsuite/controller/.cvsignore:
7346 * testsuite/controller/Makefile.am:
7347 * testsuite/controller/interpolator.c: (main):
7348 added controller code
7349 removed dparam pc files
7351 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7352 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7353 (gst_collectpads_stop):
7354 Broadcast the condition when shutting down, to make sure we wake all
7355 threads up. Shut down pads on finalize, for safety.
7357 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7358 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7359 (gst_base_transform_handle_buffer),
7360 (gst_base_transform_change_state):
7361 Handle PAUSED->READY->PAUSED transition after negotiation
7363 * gst/gstmessage.c: (gst_message_init):
7364 Extra piece of debug for new messages.
7366 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7369 * docs/gst/tmpl/gstbasesrc.sgml:
7370 * docs/gst/tmpl/gstelement.sgml:
7371 * docs/gst/tmpl/gstevent.sgml:
7372 * docs/gst/tmpl/gstfakesrc.sgml:
7373 * docs/gst/tmpl/gstformat.sgml:
7374 * docs/gst/tmpl/gstghostpad.sgml:
7375 * docs/gst/tmpl/gstpad.sgml:
7376 * docs/gst/tmpl/gstquery.sgml:
7377 * docs/gst/tmpl/gststructure.sgml:
7378 * docs/gst/tmpl/gsttaglist.sgml:
7379 * docs/gst/tmpl/gstvalue.sgml:
7380 * docs/libs/gstreamer-libs-docs.sgml:
7381 * docs/libs/gstreamer-libs-sections.txt:
7382 * docs/libs/gstreamer-libs.types:
7383 * libs/gst/Makefile.am:
7384 * libs/gst/control/.cvsignore:
7385 * libs/gst/control/Makefile.am:
7386 * libs/gst/control/control.c:
7387 * libs/gst/control/control.h:
7388 * libs/gst/control/dparam.c:
7389 * libs/gst/control/dparam.h:
7390 * libs/gst/control/dparam_smooth.c:
7391 * libs/gst/control/dparam_smooth.h:
7392 * libs/gst/control/dparamcommon.h:
7393 * libs/gst/control/dparammanager.c:
7394 * libs/gst/control/dparammanager.h:
7395 * libs/gst/control/dplinearinterp.c:
7396 * libs/gst/control/dplinearinterp.h:
7397 * libs/gst/control/unitconvert.c:
7398 * libs/gst/control/unitconvert.h:
7399 * testsuite/Makefile.am:
7400 * testsuite/dynparams/.cvsignore:
7401 * testsuite/dynparams/Makefile.am:
7402 * testsuite/dynparams/dparamstest.c:
7403 * tools/Makefile.am:
7404 * tools/gst-inspect.c: (print_element_info), (main):
7405 * tools/gst-xmlinspect.c: (print_element_info), (main):
7406 deactivate and remove dparams (libgstcontrol)
7408 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7410 * gst/elements/gsttypefindelement.c:
7411 (gst_type_find_element_have_type), (gst_type_find_element_init),
7412 (stop_typefinding), (gst_type_find_element_handle_event),
7413 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7414 * gst/elements/gsttypefindelement.h:
7415 Set caps on all outgoing buffers, not just the first one.
7417 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7419 * gst/elements/gsttypefindelement.c:
7420 (gst_type_find_element_have_type),
7421 (gst_type_find_element_check_set_buffer_caps),
7422 (gst_type_find_element_init), (stop_typefinding),
7423 (gst_type_find_element_handle_event),
7424 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7425 * gst/elements/gsttypefindelement.h:
7426 Set caps on first outgoing buffer when we've found the type.
7428 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7430 * docs/gst/gstreamer-docs.sgml:
7431 * docs/gst/gstreamer-sections.txt:
7432 * docs/gst/tmpl/gstscheduler.sgml:
7433 * docs/gst/tmpl/gstschedulerfactory.sgml:
7434 Remove some old cruft from docs.
7436 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7439 Fix inline docs for GstPadLinkReturn.
7441 * gst/gststructure.c: (gst_structure_has_name):
7442 * gst/gststructure.h:
7443 * docs/gst/gstreamer-sections.txt:
7444 New API: gst_structure_has_name().
7446 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7449 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7450 and _LARGEFILE_SOURCE in config.h as required. Do not
7451 export those flags in our .pc files any longer (#142209).
7453 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7455 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7456 (gst_file_sink_do_seek), (gst_file_sink_event),
7457 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7458 Redo seek/tell calls with large file support in mind; add some
7459 debugging messages; add log message that tells us when large
7460 file support is unavailable or not enabled for some reason.
7462 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7463 Add log message that tells us when large file support
7464 is unavailable or not enabled for some reason.
7466 2005-07-29 Wim Taymans <wim@fluendo.com>
7468 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7469 Added test for removing an element with ghostpad from a bin.
7470 Fixed test as current implementation does the right thing.
7472 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7473 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7474 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7475 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7476 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7477 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7478 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7479 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7480 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7481 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7482 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7483 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7484 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7485 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7486 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7487 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7488 * gst/gstghostpad.h:
7489 Clean up ghostpads, remove properties for internal stuff.
7492 Prepare for switching targets, not all use cases work yet.
7494 2005-07-29 Wim Taymans <wim@fluendo.com>
7496 * docs/design/part-gstghostpad.txt:
7499 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7500 (gst_bin_remove_func):
7501 Unlinking pads while holding the bin LOCK is not a good
7504 * gst/gstpad.c: (gst_pad_class_init),
7505 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7506 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7507 No prob setting template after creating the pad.
7509 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7511 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7512 (gst_bus_peek), (gst_bus_source_dispatch),
7513 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7514 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7515 gst_bus_poll may be called from other threads. Handle
7516 this nicely by not making poll_data disappear off the
7517 stack once gst_bus_poll returns.
7518 gst_bus_peek now increments the refcount on the returned
7521 2005-07-29 Wim Taymans <wim@fluendo.com>
7523 * docs/design/part-gstghostpad.txt:
7524 Overview of current GhostPad datastructures and use
7525 cases for changing the target.
7527 2005-07-28 Wim Taymans <wim@fluendo.com>
7529 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7530 Added checks for hierarchy consistency whan adding linked
7533 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7534 Added check to test element scheduling without bin/pipeline.
7536 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7537 First add elements to bin, then link.
7539 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7540 (gst_bin_remove_func):
7541 Unlink pads from elements added/removed from bin to maintain
7542 hierarchy consistency.
7544 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7546 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7547 (gst_base_transform_handle_buffer):
7548 * gst/base/gstbasetransform.h:
7549 Remove broken delay_configure (fixes renegotiation of software
7550 scaling pipelines); remove some leftover printf()s.
7552 2005-07-28 Wim Taymans <wim@fluendo.com>
7554 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7555 Added some more tests for wrong hierarchy
7557 * docs/design/part-overview.txt:
7560 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7563 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7564 (gst_element_dispose):
7567 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7568 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7569 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7570 (gst_pad_set_caps), (gst_pad_send_event):
7571 Check for correct hierarchy when linking pads. Moving to
7572 strict requirement for ghostpads when linking elements in
7576 Clean ups. Added WRONG_HIERARCHY return value.
7578 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7580 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7581 Better debug if no transform is possible.
7583 2005-07-27 Wim Taymans <wim@fluendo.com>
7585 * docs/random/wtay/network-transp:
7588 2005-07-27 Wim Taymans <wim@fluendo.com>
7590 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7591 (gst_dp_event_from_packet):
7592 Fix serialization of seek events.
7594 2005-07-27 Wim Taymans <wim@fluendo.com>
7596 * check/gst-libs/gdp.c: (GST_START_TEST):
7597 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7598 Fix compilation and fix event serialization.
7600 2005-07-27 Wim Taymans <wim@fluendo.com>
7603 * docs/design/part-TODO.txt:
7604 * docs/design/part-events.txt:
7607 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7608 (gst_base_sink_event), (gst_base_sink_do_sync),
7609 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7610 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7611 (gst_base_src_do_seek), (gst_base_src_event_handler),
7612 (gst_base_src_loop):
7613 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7614 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7615 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7616 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7617 (gst_base_transform_set_passthrough),
7618 (gst_base_transform_is_passthrough):
7619 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7620 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7626 * gst/gstelement.c: (gst_element_seek):
7628 Update gst_element_seek.
7630 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7631 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7632 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7633 (gst_event_new_eos), (gst_event_new_newsegment),
7634 (gst_event_parse_newsegment), (gst_event_new_tag),
7635 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7636 (gst_event_parse_qos), (gst_event_new_seek),
7637 (gst_event_parse_seek), (gst_event_new_navigation):
7639 Make GstEvent use GstStructure. Add parsing code, make sure the
7640 API is sufficiently generic.
7641 Mark possible directions of events and serialization.
7643 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7644 (_gst_message_copy), (gst_message_new_segment_start),
7645 (gst_message_new_segment_done), (gst_message_new_custom),
7646 (gst_message_parse_segment_start),
7647 (gst_message_parse_segment_done):
7650 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7651 (gst_pad_set_caps), (gst_pad_send_event):
7652 Update for new events.
7653 Catch events sent in wrong directions.
7655 * gst/gstqueue.c: (gst_queue_link_src),
7656 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7657 (gst_queue_handle_src_query):
7662 Remove event code from this file.
7664 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7665 (gst_dp_event_from_packet):
7668 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7670 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7671 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7672 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7673 Make debugging actually useful.
7675 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7677 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7678 (gst_pad_fixate_caps):
7679 Implement default fixation once again, so that gst_pad_fixate()
7680 actually does anything at all. This probably needs to be some
7681 sort of a last resort, and use profile-based fixation first, but
7682 since that doesn't exist yet, this is the best we have. Fixes
7683 visualization in Totem.
7685 2005-07-22 Wim Taymans <wim@fluendo.com>
7687 * docs/design/part-events.txt:
7690 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7691 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7692 (gst_base_sink_activate_pull):
7695 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7696 (gst_fake_src_create):
7697 Fix handoff marshall.
7699 * gst/elements/gstidentity.c: (gst_identity_class_init),
7700 (gst_identity_transform_ip):
7701 We're a real inplace element.
7703 * gst/gstbus.c: (gst_bus_post):
7704 Added some comments.
7706 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7707 * tests/muxing/case1.c: (main):
7708 * tests/sched/dynamic-pipeline.c: (main):
7709 * tests/sched/interrupt1.c: (main):
7710 * tests/sched/interrupt2.c: (main):
7711 * tests/sched/interrupt3.c: (main):
7712 * tests/sched/runxml.c: (main):
7713 * tests/sched/sched-stress.c: (main):
7714 * tests/seeking/seeking1.c: (event_received), (main):
7715 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7717 * tests/threadstate/threadstate3.c: (main):
7718 * tests/threadstate/threadstate4.c: (main):
7719 * tests/threadstate/threadstate5.c: (main):
7722 2005-07-21 Wim Taymans <wim@fluendo.com>
7724 * docs/design/part-seeking.txt:
7725 Some small additions.
7727 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7728 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7729 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7730 * gst/base/gstbasesink.h:
7731 discont values are gint64, handle the math correctly.
7733 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7734 Make the basesrc report error if the source pad is not linked.
7736 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7737 (gst_queue_loop), (gst_queue_handle_src_query),
7738 (gst_queue_src_activate_push):
7739 Make queue collect data even if the srcpad is not linked.
7740 Start pushing out data as soon as it is linked.
7742 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7744 Added gst_flow_get_name() to ease error reporting.
7746 2005-07-20 Wim Taymans <wim@fluendo.com>
7748 * gst/gstmessage.c: (gst_message_new_segment_start),
7749 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7750 (gst_message_parse_segment_done):
7752 Added a bunch of messages for advanced seeking.
7754 * gst/parse/grammar.y:
7755 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7756 (gst_dpman_state_changed):
7757 Fix some new-pad -> pad-added signals
7759 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7761 * docs/manual/appendix-porting.xml:
7762 * docs/pwg/appendix-porting.xml:
7763 Document new-pad/state-change signal renames and the FixedList
7766 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7768 * docs/manual/advanced-autoplugging.xml:
7769 * docs/manual/basics-helloworld.xml:
7770 * docs/manual/basics-pads.xml:
7771 * docs/random/ds/0.9-suggested-changes:
7772 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7777 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7778 (gst_structure_parse_array), (gst_structure_parse_value):
7779 * gst/gstvalue.c: (gst_type_is_fixed),
7780 (gst_value_list_prepend_value), (gst_value_list_append_value),
7781 (gst_value_list_get_size), (gst_value_list_get_value),
7782 (gst_value_transform_array_string), (gst_value_serialize_array),
7783 (gst_value_deserialize_array), (gst_value_intersect_array),
7784 (gst_value_is_fixed), (_gst_value_initialize):
7786 GstElement::new-pad -> pad-added, GstElement::state-change ->
7787 state-changed, GstValueFixedList -> GstValueArray, add format and
7788 flags as their own arguments in gst_element_seek() (should improve
7789 "bindeability"), remove function generators since they don't work
7790 under a whole bunch of compilers (they were deprecated already
7793 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7795 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7796 (_gst_debug_register_funcptr):
7798 Fix illegal cast on some platforms (#309253).
7800 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7802 * gst/gstmessage.c: (gst_message_new_custom):
7804 Add _new_custom, make _new_application a macro to _new_custom.
7806 2005-07-20 Wim Taymans <wim@fluendo.com>
7808 * gst/base/gstbasesrc.c: (gst_base_src_init),
7809 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7810 * gst/base/gstbasesrc.h:
7811 Add a gboolean to decide when to push out a discont.
7813 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7814 (gst_queue_loop), (gst_queue_handle_src_query),
7815 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7816 (gst_queue_set_property), (gst_queue_get_property):
7819 * tests/threadstate/threadstate1.c: (main):
7820 Make a thread test compile and run... very silly..
7823 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7825 * docs/manual/appendix-porting.xml:
7826 Mention removal of libgstgconf-0.9.la and existence of gconf
7829 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7831 * docs/pwg/advanced-clock.xml:
7832 * docs/pwg/appendix-porting.xml:
7833 * docs/pwg/intro-preface.xml:
7834 * docs/pwg/other-base.xml:
7835 * docs/pwg/other-manager.xml:
7836 * docs/pwg/other-nton.xml:
7837 * docs/pwg/other-ntoone.xml:
7838 * docs/pwg/other-oneton.xml:
7840 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7841 demuxer), remove n-to-n (was never written), fix some code examples
7842 and links and update the porting section to include all this.
7844 2005-07-19 Wim Taymans <wim@fluendo.com>
7846 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7847 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7848 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7849 (gst_queue_src_activate_push), (gst_queue_change_state),
7850 (gst_queue_get_property):
7852 Propagate GstFlowReturn more intelligently upstream and output
7853 an ERROR/EOS when streaming stopped due to fatal error.
7855 2005-07-19 Wim Taymans <wim@fluendo.com>
7857 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7858 Don't block forever for the state change to complete, the
7859 pipeline already did with a sensible timeout.
7861 2005-07-19 Wim Taymans <wim@fluendo.com>
7863 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7864 Make sure we never call the create function is we
7867 2005-07-19 Andy Wingo <wingo@pobox.com>
7869 * gst/parse/parse.l: Attempt to solve bug #172815.
7871 2005-07-19 Wim Taymans <wim@fluendo.com>
7873 * docs/design/part-clocks.txt:
7874 * docs/design/part-events.txt:
7875 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7877 Only update the seeking values when we are not
7880 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7882 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7883 Oops, ignore the result of gst_pad_push_event here.
7885 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7887 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7888 (gst_base_src_activate_push):
7889 Send discont event from the loop function, as pads
7890 aren't activated yet in the activate_push handler.
7892 * gst/gstbin.c: (bin_bus_handler):
7893 Don't leak element name.
7895 2005-07-18 Andy Wingo <wingo@pobox.com>
7897 * configure.ac: Use AS_LIBTOOL_TAGS.
7899 2005-07-18 Wim Taymans <wim@fluendo.com>
7901 * docs/gst/gstreamer.types:
7902 Remove deleted types.
7904 2005-07-18 Wim Taymans <wim@fluendo.com>
7906 * check/elements/gstfakesrc.c: (GST_START_TEST):
7909 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7910 (init_popt_callback):
7912 * gst/gst_private.h:
7913 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7914 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7917 * gst/gstconfig.h.in:
7918 * gst/gstelement.c: (gst_element_class_init),
7919 (gst_element_set_base_time), (gst_element_get_base_time),
7920 (iterator_fold_with_resync), (gst_element_change_state),
7921 (gst_element_dispose), (gst_element_get_bus):
7923 * gst/gstelementfactory.h:
7924 * gst/gsterror.c: (_gst_core_errors_init):
7927 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7929 * gst/gstinfo.c: (_gst_debug_init):
7930 * gst/gstmessage.c: (_gst_message_copy):
7932 * gst/gstminiobject.h:
7935 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7936 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7939 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7940 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7941 (gst_pipeline_get_last_stream_time):
7942 * gst/gstpipeline.h:
7943 * gst/gstpluginfeature.h:
7945 * gst/gstscheduler.c:
7946 * gst/gstscheduler.h:
7947 * gst/gststructure.h:
7948 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7949 (gst_task_finalize), (gst_task_func), (gst_task_create),
7950 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7951 (gst_task_stop), (gst_task_pause):
7953 * gst/gsttypefind.h:
7955 * gst/registries/gstlibxmlregistry.c: (load_feature),
7956 (gst_xml_registry_load), (gst_xml_registry_save_feature):
7957 * gst/registries/gstxmlregistry.c:
7958 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7959 * gst/schedulers/threadscheduler.c:
7960 * libs/gst/control/dparammanager.h:
7961 * tools/gst-inspect.c: (print_element_list),
7962 (print_plugin_features), (print_element_features):
7963 * tools/gst-xmlinspect.c: (print_element_list),
7964 (print_plugin_info), (main):
7965 Removed plugable schedulers.
7966 Removed Scheduler/Manager from elements.
7967 Removed gsttypes.h, rearranged includes.
7968 Removed dependency pad<->element, element<>pipeline, and
7969 various others, fix includes.
7970 implement gst_pad_get_parent() with gst_object_get_parent()
7971 Make GstTask sefcontained.
7972 Fix _get_state() on GstBin, it did not return ASYNC with a 0
7974 Fix endless loop in iterator_fold_with_resync.
7977 2005-07-18 Wim Taymans <wim@fluendo.com>
7983 2005-07-18 Wim Taymans <wim@fluendo.com>
7988 2005-07-18 Wim Taymans <wim@fluendo.com>
7994 2005-07-18 Wim Taymans <wim@fluendo.com>
7996 * docs/design/part-dynamic.txt:
7997 * docs/design/part-events.txt:
7998 * docs/design/part-seeking.txt:
7999 Some more docs in the works.
8001 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8002 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8003 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8004 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8005 (gst_base_transform_handle_buffer),
8006 (gst_base_transform_sink_activate_push),
8007 (gst_base_transform_src_activate_pull),
8008 (gst_base_transform_set_passthrough),
8009 (gst_base_transform_is_passthrough):
8012 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8015 * gst/gstevent.c: (gst_event_finalize):
8018 * gst/gstutils.c: (gst_element_unlink),
8019 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8020 (gst_pad_proxy_setcaps):
8022 Add _get_parent_element() to get a pads parent as an element.
8024 2005-07-18 Wim Taymans <wim@fluendo.com>
8026 * check/gst/gstbin.c: (GST_START_TEST):
8029 2005-07-18 Wim Taymans <wim@fluendo.com>
8031 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8032 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8033 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8034 (gst_base_sink_event), (gst_base_sink_do_sync),
8035 (gst_base_sink_chain), (gst_base_sink_loop),
8036 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8037 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8039 Fix logic for returning ASYNC when not prerolled.
8041 2005-07-18 Wim Taymans <wim@fluendo.com>
8043 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8044 Fix nasty refcount bug.
8046 2005-07-16 Philippe Khalaf <burger@speedy.org>
8048 * gst/elements/gstfdsrc.c:
8049 * gst/elements/gstfdsrc.h:
8050 * gst/elements/gstelements.c:
8051 * gst/elements/Makefile.am:
8052 Ported fdsrc to 0.9.
8054 2005-07-16 Wim Taymans <wim@fluendo.com>
8056 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8057 (gst_base_sink_do_sync):
8060 2005-07-16 Wim Taymans <wim@fluendo.com>
8062 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8063 (gst_base_sink_event), (gst_base_sink_get_times),
8064 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8065 * gst/base/gstbasesink.h:
8066 Store and use discont values when syncing buffers as described
8069 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8070 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8071 (gst_base_src_activate_push):
8072 Push discont event when starting.
8074 * gst/elements/gstidentity.c: (gst_identity_transform):
8077 * gst/gstbin.c: (gst_bin_change_state):
8078 Small cleanups in base_time distribution.
8080 * gst/gstelement.c: (gst_element_set_base_time),
8081 (gst_element_get_base_time), (gst_element_change_state):
8083 Added methods for the base_time of the element.
8086 * gst/gstpipeline.c: (gst_pipeline_send_event),
8087 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8088 (gst_pipeline_get_last_stream_time):
8089 * gst/gstpipeline.h:
8091 Handle seeking as described in design doc, remove stream_time
8093 Cleanups clock and stream_time selection code. Added accessors
8094 for the stream_time.
8097 2005-07-16 Andy Wingo <wingo@pobox.com>
8099 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8102 2005-07-16 Wim Taymans <wim@fluendo.com>
8104 * check/gst/gstbin.c: (GST_START_TEST):
8105 Make elements silent as the deep_notify refs the
8106 parent, which might make the test fail.
8108 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8109 Don't hold the lock for too long.
8111 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8113 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8114 Don't unref the caps we passed to gst_caps_make_writable() after
8115 passing them. gst_caps_make_writable() will do that for us.
8117 2005-07-15 Andy Wingo <wingo@pobox.com>
8119 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8122 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8123 own marshalling function for the handoff signal. Properly type the
8124 buffer as a buffer. Fixes some warnings. Should do a more general
8126 (gst_identity_class_init): Plug into the right marshaller.
8128 2005-07-15 Wim Taymans <wim@fluendo.com>
8130 * docs/design/part-TODO.txt:
8131 * docs/design/part-clocks.txt:
8132 * docs/design/part-element-sink.txt:
8133 * docs/design/part-events.txt:
8134 * docs/design/part-gstpipeline.txt:
8135 Updated docs, mostly DISCONT related.
8137 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8139 * docs/pwg/building-pads.xml:
8140 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8142 2005-07-15 Andy Wingo <wingo@pobox.com>
8144 * tools/gst-typefind.c: Update, add copyright block.
8146 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8147 Normalize and truncate caps before fixation.
8150 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8151 discards all but the first structure from its argument.
8153 2005-07-15 Wim Taymans <wim@fluendo.com>
8155 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8156 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8157 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8158 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8159 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8160 (gst_base_transform_chain), (gst_base_transform_change_state),
8161 (gst_base_transform_set_passthrough),
8162 (gst_base_transform_is_passthrough):
8163 * gst/base/gstbasetransform.h:
8164 Make passthrough work using the bufferpools.
8165 Changed API a bit, subclasses have to write into a buffer
8166 provided by the base class.
8167 More debug info in nego functions.
8169 * gst/elements/gstidentity.c: (gst_identity_init),
8170 (gst_identity_transform):
8171 Port to new base class.
8173 2005-07-15 Wim Taymans <wim@fluendo.com>
8175 * gst/gstmessage.c: (gst_message_new_state_changed):
8176 * tools/gst-launch.c: (event_loop), (main):
8177 Totally dump messages in -launch with the -m option.
8178 Fix message name for State messages,
8180 2005-07-14 Wim Taymans <wim@fluendo.com>
8182 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8183 Post error messages on errors.
8185 2005-07-14 Wim Taymans <wim@fluendo.com>
8187 * gst/gstcaps.c: (gst_caps_do_simplify):
8191 Define error for stream stopped.
8193 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8194 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8195 Do proper return values.
8197 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8198 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8199 (gst_pad_get_range):
8200 Better return values.
8203 Reorganise return values, add macro to check for fatal errors.
8205 * gst/gstqueue.c: (gst_queue_chain):
8206 Return proper GstFlowReturn values,
8208 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8210 * docs/gst/gstreamer-sections.txt:
8211 * docs/gst/gstreamer.types:
8212 * docs/gst/tmpl/gst.sgml:
8213 * docs/gst/tmpl/gstbasesink.sgml:
8214 * docs/gst/tmpl/gstbasesrc.sgml:
8215 * docs/gst/tmpl/gstbasetransform.sgml:
8216 * docs/gst/tmpl/gstbin.sgml:
8217 * docs/gst/tmpl/gstbuffer.sgml:
8218 * docs/gst/tmpl/gstcaps.sgml:
8219 * docs/gst/tmpl/gstclock.sgml:
8220 * docs/gst/tmpl/gstcompat.sgml:
8221 * docs/gst/tmpl/gstconfig.sgml:
8222 * docs/gst/tmpl/gstelement.sgml:
8223 * docs/gst/tmpl/gstelementdetails.sgml:
8224 * docs/gst/tmpl/gstelementfactory.sgml:
8225 * docs/gst/tmpl/gstenumtypes.sgml:
8226 * docs/gst/tmpl/gsterror.sgml:
8227 * docs/gst/tmpl/gstevent.sgml:
8228 * docs/gst/tmpl/gstfakesink.sgml:
8229 * docs/gst/tmpl/gstfakesrc.sgml:
8230 * docs/gst/tmpl/gstfilesink.sgml:
8231 * docs/gst/tmpl/gstfilesrc.sgml:
8232 * docs/gst/tmpl/gstfilter.sgml:
8233 * docs/gst/tmpl/gstformat.sgml:
8234 * docs/gst/tmpl/gstghostpad.sgml:
8235 * docs/gst/tmpl/gstimplementsinterface.sgml:
8236 * docs/gst/tmpl/gstindex.sgml:
8237 * docs/gst/tmpl/gstindexfactory.sgml:
8238 * docs/gst/tmpl/gstinfo.sgml:
8239 * docs/gst/tmpl/gstiterator.sgml:
8240 * docs/gst/tmpl/gstmacros.sgml:
8241 * docs/gst/tmpl/gstmemchunk.sgml:
8242 * docs/gst/tmpl/gstminiobject.sgml:
8243 * docs/gst/tmpl/gstobject.sgml:
8244 * docs/gst/tmpl/gstpad.sgml:
8245 * docs/gst/tmpl/gstpadtemplate.sgml:
8246 * docs/gst/tmpl/gstparse.sgml:
8247 * docs/gst/tmpl/gstpipeline.sgml:
8248 * docs/gst/tmpl/gstplugin.sgml:
8249 * docs/gst/tmpl/gstpluginfeature.sgml:
8250 * docs/gst/tmpl/gstquery.sgml:
8251 * docs/gst/tmpl/gstqueue.sgml:
8252 * docs/gst/tmpl/gstregistry.sgml:
8253 * docs/gst/tmpl/gstregistrypool.sgml:
8254 * docs/gst/tmpl/gstscheduler.sgml:
8255 * docs/gst/tmpl/gstschedulerfactory.sgml:
8256 * docs/gst/tmpl/gststructure.sgml:
8257 * docs/gst/tmpl/gstsystemclock.sgml:
8258 * docs/gst/tmpl/gsttaglist.sgml:
8259 * docs/gst/tmpl/gsttagsetter.sgml:
8260 * docs/gst/tmpl/gsttrace.sgml:
8261 * docs/gst/tmpl/gsttrashstack.sgml:
8262 * docs/gst/tmpl/gsttypefind.sgml:
8263 * docs/gst/tmpl/gsttypefindfactory.sgml:
8264 * docs/gst/tmpl/gsttypes.sgml:
8265 * docs/gst/tmpl/gsturihandler.sgml:
8266 * docs/gst/tmpl/gsturitype.sgml:
8267 * docs/gst/tmpl/gstutils.sgml:
8268 * docs/gst/tmpl/gstvalue.sgml:
8269 * docs/gst/tmpl/gstversion.sgml:
8270 * docs/gst/tmpl/gstxml.sgml:
8271 * docs/libs/tmpl/gstcontrol.sgml:
8272 * docs/libs/tmpl/gstdataprotocol.sgml:
8273 * docs/libs/tmpl/gstdparam.sgml:
8274 * docs/libs/tmpl/gstdplinint.sgml:
8275 * docs/libs/tmpl/gstdpman.sgml:
8276 * docs/libs/tmpl/gstdpsmooth.sgml:
8277 * docs/libs/tmpl/gstgetbits.sgml:
8278 * docs/libs/tmpl/gstunitconvert.sgml:
8279 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8280 (gst_push_src_base_init), (gst_push_src_class_init),
8281 (gst_push_src_init), (gst_push_src_create):
8282 * gst/base/gstpushsrc.h:
8283 * gst/elements/gstelements.c:
8284 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8285 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8286 (gst_fake_sink_init), (gst_fake_sink_set_property),
8287 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8288 (gst_fake_sink_event), (gst_fake_sink_preroll),
8289 (gst_fake_sink_render), (gst_fake_sink_change_state):
8290 * gst/elements/gstfakesink.h:
8291 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8292 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8293 (gst_fake_src_base_init), (gst_fake_src_class_init),
8294 (gst_fake_src_init), (gst_fake_src_event_handler),
8295 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8296 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8297 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8298 (gst_fake_src_create_buffer), (gst_fake_src_create),
8299 (gst_fake_src_start), (gst_fake_src_stop):
8300 * gst/elements/gstfakesrc.h:
8301 * gst/elements/gstfilesink.c: (_do_init),
8302 (gst_file_sink_base_init), (gst_file_sink_class_init),
8303 (gst_file_sink_init), (gst_file_sink_dispose),
8304 (gst_file_sink_set_location), (gst_file_sink_set_property),
8305 (gst_file_sink_get_property), (gst_file_sink_open_file),
8306 (gst_file_sink_close_file), (gst_file_sink_query),
8307 (gst_file_sink_event), (gst_file_sink_render),
8308 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8309 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8310 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8311 * gst/elements/gstfilesink.h:
8312 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8313 (gst_file_src_class_init), (gst_file_src_init),
8314 (gst_file_src_finalize), (gst_file_src_set_location),
8315 (gst_file_src_set_property), (gst_file_src_get_property),
8316 (gst_file_src_map_region), (gst_file_src_map_small_region),
8317 (gst_file_src_create_mmap), (gst_file_src_create_read),
8318 (gst_file_src_create), (gst_file_src_is_seekable),
8319 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8320 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8321 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8322 (gst_file_src_uri_handler_init):
8323 * gst/elements/gstfilesrc.h:
8324 more autistic cleanliness in functions/names/defines
8326 2005-07-13 Andy Wingo <wingo@pobox.com>
8328 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8329 source couldn't negotiate.
8331 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8335 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8336 function. I am channeling Hades. Put your boots on suckers!!!
8338 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8340 * testsuite/caps/Makefile.am:
8341 * testsuite/caps/value_compare.c:
8342 * testsuite/caps/value_intersect.c:
8343 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8344 move two testsuite apps over to the check dir
8346 2005-07-12 Wim Taymans <wim@fluendo.com>
8348 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8349 Added more debug info in the negotiate process.
8352 Prepare for segment playback.
8354 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8360 * tools/gst-launch.c: (main):
8361 NULL pipeline on errors.
8363 2005-07-12 Andy Wingo <wingo@pobox.com>
8365 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8366 not it comes from a malloc region. Make sure our copy gets freed.
8368 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8370 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8371 * check/gst/gstmessage.c: (GST_START_TEST):
8372 * check/gst/gststructure.c: (GST_START_TEST),
8373 (gst_structure_suite), (main):
8375 * gst/gstelement.c: (gst_element_message_full):
8376 clean up GError and debug string now that they get copied
8377 * gst/gstmessage.c: (gst_message_new_error),
8378 (gst_message_new_warning), (gst_message_parse_error),
8379 (gst_message_parse_warning):
8380 use GST_TYPE_G_ERROR for structure_new, and take copies of
8381 arguments, so that we don't mess up refcounting
8383 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8385 * check/Makefile.am:
8386 add per-test valgrind targets
8387 * check/gst-libs/gdp.c: (GST_START_TEST),
8388 (gst_data_protocol_suite), (main):
8391 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8393 * check/Makefile.am:
8394 instate more valgrindable tests
8395 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8396 (GST_START_TEST), (fakesrc_suite):
8397 * check/gst/gstpad.c: (GST_START_TEST):
8398 * check/gst/gststructure.c: (GST_START_TEST):
8400 * docs/gst/tmpl/gstminiobject.sgml:
8401 * gst/gstpad.c: (gst_pad_finalize):
8402 fix the static mutex leak
8404 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8406 * check/Makefile.am:
8407 add two more tests for valgrinding
8408 * check/gst/gstvalue.c: (GST_START_TEST):
8409 test refcount of deserialized buffer, found a leak
8410 * docs/gst/gstreamer-docs.sgml:
8411 * docs/gst/gstreamer-sections.txt:
8412 * docs/gst/gstreamer.types:
8413 * docs/gst/tmpl/gstminiobject.sgml:
8414 add miniobject to docs
8415 * gst/gstminiobject.c:
8417 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8418 (gst_string_unwrap):
8419 fix a hard-to-find invalid write for one of the tests
8420 fix a leak for deserialized buffers
8422 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8424 * docs/pwg/advanced-events.xml:
8425 * docs/pwg/advanced-request.xml:
8426 * docs/pwg/advanced-scheduling.xml:
8427 * docs/pwg/appendix-porting.xml:
8428 * docs/pwg/building-boiler.xml:
8429 * docs/pwg/intro-preface.xml:
8430 * docs/pwg/other-ntoone.xml:
8431 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8432 of example code and explanation for pad activation, loop() and
8433 getrange() functions and a bit more. Remove old comments pointing
8435 * examples/pwg/Makefile.am:
8436 Add loop/getrange examples.
8438 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8441 check for valgrind binary + some fixes
8443 valgrind suppressions for the tests
8444 * check/Makefile.am:
8445 add a valgrind: target that valgrinds the unit tests
8446 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8447 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8448 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8449 * check/gst/gstghostpad.c:
8451 * check/gst/gstdata.c:
8453 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8454 (thread_unref), (gst_mini_object_suite), (main):
8456 * gst/gst.c: (gst_deinit):
8458 add a method to clean up.
8459 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8460 (gst_system_clock_obtain):
8461 allow for disposing the system clock.
8462 * tools/gst-launch.c: (main):
8465 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8467 * docs/gst/tmpl/gstbasesrc.sgml:
8468 * docs/gst/tmpl/gstfakesrc.sgml:
8469 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8470 (gst_base_src_init), (gst_base_src_set_property),
8471 (gst_base_src_get_property), (gst_base_src_get_range),
8472 (gst_base_src_start):
8473 * gst/base/gstbasesrc.h:
8474 add num-buffers property
8475 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8476 (gst_fakesrc_init), (gst_fakesrc_set_property),
8477 (gst_fakesrc_get_property), (gst_fakesrc_create),
8478 (gst_fakesrc_start):
8479 remove num-buffers property
8481 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8483 * docs/gst/gstreamer-sections.txt:
8484 * docs/gst/tmpl/gstbasesink.sgml:
8485 * docs/gst/tmpl/gstbasesrc.sgml:
8486 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8487 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8488 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8489 (gst_base_sink_set_property), (gst_base_sink_get_property),
8490 (gst_base_sink_handle_object), (gst_base_sink_event),
8491 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8492 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8493 (gst_base_sink_loop), (gst_base_sink_deactivate),
8494 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8495 (gst_base_sink_change_state):
8496 * gst/base/gstbasesink.h:
8497 * gst/base/gstbasesrc.h:
8498 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8499 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8500 (gst_filesink_init):
8501 more macro splitting
8503 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8505 * gst/gstelement.c: (gst_element_get_bus):
8507 * tools/gst-launch.c: (check_intr), (event_loop):
8510 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8512 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8515 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8517 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8518 (gst_base_src_finalize):
8519 add finalize method and clean up properly
8520 * gst/gstpipeline.c: (gst_pipeline_dispose):
8523 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8525 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8527 add more things to check
8528 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8532 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8534 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8535 (GST_START_TEST), (fakesrc_suite):
8536 * check/gst-libs/gdp.c: (GST_START_TEST):
8537 * check/gst/gst.c: (GST_START_TEST):
8538 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8539 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8540 * check/gst/gstbus.c: (GST_START_TEST):
8541 * check/gst/gstcaps.c: (GST_START_TEST):
8542 * check/gst/gstdata.c: (GST_START_TEST):
8543 * check/gst/gstelement.c: (GST_START_TEST):
8544 * check/gst/gstghostpad.c: (GST_START_TEST):
8545 * check/gst/gstiterator.c: (GST_START_TEST):
8546 * check/gst/gstmessage.c: (GST_START_TEST):
8547 * check/gst/gstobject.c: (GST_START_TEST):
8548 * check/gst/gstpad.c: (GST_START_TEST):
8549 * check/gst/gststructure.c: (GST_START_TEST):
8550 * check/gst/gstsystemclock.c: (GST_START_TEST),
8551 (gst_systemclock_suite):
8552 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8553 * check/gst/gstvalue.c: (GST_START_TEST):
8554 * check/pipelines/cleanup.c: (GST_START_TEST):
8555 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8556 * check/states/sinks.c: (GST_START_TEST):
8557 * check/gstcheck.c: (gst_check_init):
8559 add debugging category
8560 use GST_START_TEST now, so we add a debug line
8562 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8564 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8565 add test for state change message on a bin
8566 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8568 * gst/gstbin.c: (gst_bin_init):
8569 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8570 * gst/gstelement.c: (gst_element_post_message),
8571 (gst_element_set_state):
8572 * gst/gstelementfactory.c: (gst_element_factory_create):
8573 * gst/gstmessage.c: (gst_message_new):
8574 * gst/gstscheduler.c:
8575 various debugging additions and cleanups
8577 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8579 * check/Makefile.am:
8580 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8582 adding tests for elements
8583 * gst/gstelement.c: (gst_element_dispose):
8585 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8587 * gst/registries/gstlibxmlregistry.c: (load_feature):
8588 plug more leaks. A simple gst_init() now is leakfree, yay.
8590 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8592 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8593 (gst_xml_registry_load):
8594 plug another memleak
8596 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8599 use GST_SET_ERROR_CFLAGS
8601 change to ERROR_CFLAGS
8603 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8606 make GST_ERROR_CFLAGS overridable and re-enable Werror
8608 add a note about error CFLAGS
8609 * docs/gst/tmpl/gstfakesrc.sgml:
8610 * gst/elements/gstfakesrc.c:
8611 comment out some unused code
8612 * gst/gst.c: (split_and_iterate):
8613 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8617 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8619 * common/Makefile.am:
8620 * common/gtk-doc.mak:
8621 * docs/gst/Makefile.am:
8622 factor out gtk-doc.mak
8624 2005-07-07 Wim Taymans <wim@fluendo.com>
8626 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8627 (gst_thread_scheduler_dispose):
8628 Unlock the STREAM_LOCK completely.
8630 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8632 * check/Makefile.am:
8633 * check/elements/.cvsignore:
8634 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8635 (START_TEST), (fakesrc_suite), (main):
8636 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8637 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8638 (gst_fakesrc_create), (gst_fakesrc_start):
8639 * gst/elements/gstfakesrc.h:
8640 adding a first element test
8642 2005-07-07 Andy Wingo <wingo@pobox.com>
8644 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8647 2005-07-07 Wim Taymans <wim@fluendo.com>
8653 2005-07-07 Wim Taymans <wim@fluendo.com>
8655 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8656 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8657 Allow subclasses to implement their own negotiation.
8659 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8661 * docs/design/part-gstbin.txt:
8662 * docs/design/part-gstpipeline.txt:
8663 Update design notes to reflect the movement of
8664 responsibility for bus handling from GstPipeline to
8667 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8670 Remove unnecessary queue2/3/4 examples.
8672 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8674 * examples/Makefile.am:
8675 * examples/helloworld/helloworld.c: (event_loop), (main):
8676 * examples/queue/queue.c: (event_loop), (main):
8677 * examples/queue2/queue2.c: (main):
8678 Update a couple of the examples to work again.
8680 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8681 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8682 Spelling corrections and extra debug.
8684 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8685 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8686 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8688 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8689 (gst_pipeline_change_state):
8690 * gst/gstpipeline.h:
8691 Move the bus handler for children to the GstBin, and create a
8692 separate bus for receiving messages from children to the one the
8693 bus sends 'upwards' on.
8695 2005-07-06 Wim Taymans <wim@fluendo.com>
8698 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8699 (gst_base_sink_handle_object), (gst_base_sink_loop),
8700 (gst_base_sink_change_state):
8701 * gst/base/gstbasesink.h:
8702 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8703 (gst_base_src_init), (gst_base_src_setcaps),
8704 (gst_base_src_getcaps), (gst_base_src_loop),
8705 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8706 (gst_base_src_start), (gst_base_src_change_state):
8707 * gst/base/gstbasesrc.h:
8708 Make basesrc negotiate.
8709 Handle the case where preroll fails in basesink.
8712 2005-07-06 Wim Taymans <wim@fluendo.com>
8714 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8715 Implement the fixate function.
8716 Clean up acceptcaps.
8718 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8720 * docs/pwg/building-filterfactory.xml:
8722 Remove never-written filter-factory chapter; I'll add the various
8723 base classes to part 4 ("other element types") later on.
8725 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8727 * docs/pwg/advanced-negotiation.xml:
8728 * docs/pwg/building-boiler.xml:
8729 * docs/pwg/building-pads.xml:
8731 * examples/pwg/Makefile.am:
8732 Add a chapter on caps negotiation, simplify the original code
8733 samples a bit w.r.t. caps negotiation, add link to the advanced
8734 section. Add a bunch of examples showing different use cases of
8735 different types of caps negotiation. Upstream renegotiation isn't
8736 fully documented yet since nobody knows how that works.
8738 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8740 * check/gst/gstpad.c:
8742 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8743 if pad has no parent, return NULL as list of internal links
8745 2005-07-05 Andy Wingo <wingo@pobox.com>
8747 * gst/elements/gstfilesrc.c:
8748 * gst/elements/gstfakesrc.c:
8749 * gst/base/gstpushsrc.c:
8750 * gst/base/gstbasesrc.h:
8751 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8753 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8756 better report generation target (lcov needs a patch)
8758 2005-07-05 Andy Wingo <wingo@pobox.com>
8760 * gst/elements, testsuite: Null if we got it...
8762 2005-07-05 Wim Taymans <wim@fluendo.com>
8765 * libs/gst/dataprotocol/Makefile.am:
8766 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8767 * libs/gst/dataprotocol/dataprotocol.h:
8768 * pkgconfig/Makefile.am:
8769 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8770 * pkgconfig/gstreamer-dataprotocol.pc.in:
8771 Ported dataprotol to 0.9.
8772 Added pkgconfig files.
8774 2005-07-05 Andy Wingo <wingo@pobox.com>
8776 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8777 Default to returning TRUE for the case when tranform_caps returns
8778 a fixed caps, like for identity or volume.
8780 * check/gst/gstbus.c (pound_bus_with_messages):
8781 * check/gst/gstmessage.c (START_TEST):
8782 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8785 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8786 logic weaks here: always run transform_caps, trying passthrough
8787 operation only if the original caps intersects with the transform.
8789 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8790 source and sink caps.
8792 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8793 Intersect the peer caps with the pad template before going into
8795 (gst_base_transform_transform_caps): More debugging.
8797 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8800 2005-07-04 Edward Hervey <edward@fluendo.com>
8804 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8807 2005-07-04 Andy Wingo <wingo@pobox.com>
8809 * check/gst/gstpad.c: Only set explicit caps on pads.
8811 2005-07-01 Andy Wingo <wingo@pobox.com>
8813 * tests/network-clock.scm: Commentary update.
8815 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8816 Didn't really make sense, not implementable with basetransform,
8818 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8819 attempt at implementing the sync property, needs an unlock method.
8821 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8822 New func, by default returns the same caps (the identity
8824 (gst_base_transform_getcaps): Uses transform_caps to return
8826 (gst_base_transform_setcaps): Complicated logic to get caps on
8827 both pads, even if they are different, and to call set_caps once
8828 for every time both pads get their caps set.
8829 (gst_base_transform_handle_buffer): Give the ref to the transform
8830 function. Allows in-place modification of the buffer.
8832 * gst/base/gstbasetransform.h (transform_caps): New class method.
8833 Given caps on one side, what can I do on the other.
8834 (set_caps): Take two caps, one for each side of the element.
8837 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8838 caps in place. This is safe because we can check the mutability of
8839 the caps, and a good idea because fixate functions are just called
8840 as a matter of last resort. (Not actually implemented.)
8841 (gst_pad_set_caps): If the caps we're setting is actually the same
8842 as the existing pad caps, just update the pointer without calling
8843 setcaps. Assert that caps is either NULL or fixed, as per the
8846 * gst/gstghostpad.c: Update for fixate changes.
8848 2005-07-02 Andy Wingo <wingo@pobox.com>
8851 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8852 two refcounts makes it immutable, which is enough. Doc more.
8854 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8856 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8857 Put the mini_object into GValue as a mini_object,
8858 not a gpointer, since that's how we declared
8861 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8863 * examples/pwg/Makefile.am:
8866 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8868 * docs/pwg/building-testapp.xml:
8870 * examples/pwg/Makefile.am:
8873 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8876 * examples/Makefile.am:
8877 * examples/pwg/Makefile.am:
8878 * examples/pwg/extract.pl:
8879 Enable building the PWG examples.
8880 * docs/pwg/advanced-interfaces.xml:
8881 Add URI interface stub.
8882 * docs/pwg/advanced-types.xml:
8883 * docs/pwg/other-autoplugger.xml:
8884 * docs/pwg/appendix-porting.xml:
8886 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8887 * docs/pwg/building-boiler.xml:
8888 * docs/pwg/building-chainfn.xml:
8889 * docs/pwg/building-pads.xml:
8890 * docs/pwg/building-props.xml:
8891 * docs/pwg/building-state.xml:
8892 * docs/pwg/building-testapp.xml:
8893 Update the building-*.xml parts for 0.9 changes. All examples
8894 code blocks compile in examples/pwg/*.
8896 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8898 * docs/manual/advanced-autoplugging.xml:
8899 * docs/manual/appendix-checklist.xml:
8900 * docs/manual/appendix-integration.xml:
8901 * docs/manual/highlevel-components.xml:
8902 Fix playbin/decodebin examples, update docs a bit, mention bus
8903 instead of signals in various places, mention kmplayer and
8904 kaffeine since they have a working GStreamer backend in the KDE
8907 2005-06-30 Wim Taymans <wim@fluendo.com>
8910 * docs/design/draft-ghostpads.txt:
8911 * docs/design/draft-push-pull.txt:
8912 * docs/design/draft-query.txt:
8913 * docs/design/part-TODO.txt:
8914 * docs/design/part-query.txt:
8915 Added CHANGES-0.9 doc, updated status of other docs.
8920 2005-06-30 Wim Taymans <wim@fluendo.com>
8922 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8923 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8924 (gst_base_sink_change_state):
8925 * gst/base/gstbasesink.h:
8926 Some tweaks, only EOS and a buffer complete a preroll.
8928 2005-06-30 Andy Wingo <wingo@pobox.com>
8930 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8931 activate_push down to the internal pad as well.
8933 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
8935 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8937 * gst/gsttaginterface.c:
8938 Some documentation fixes (#307394 and #307397).
8940 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
8942 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8944 * gst/gstvalue.c: (gst_value_intersect_list):
8945 Fix memleak (#309125).
8947 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8949 * docs/manual/advanced-dataaccess.xml:
8950 Fix fakesrc example to compile; doesn't work, bug somewhere...?
8951 * docs/manual/basics-pads.xml:
8952 Add reference for filtered caps to above chapter.
8954 2005-06-30 Wim Taymans <wim@fluendo.com>
8956 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8957 (gst_bin_change_state):
8959 Lame attempt at making the state change function a bit
8962 2005-06-30 Wim Taymans <wim@fluendo.com>
8964 * docs/design/part-clocks.txt:
8965 * docs/design/part-element-sink.txt:
8966 * docs/design/part-events.txt:
8967 * docs/design/part-preroll.txt:
8968 * docs/design/part-states.txt:
8969 Some more tweeks and additions to the docs.
8971 2005-06-30 Wim Taymans <wim@fluendo.com>
8973 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8974 (default_have_data), (gst_pad_class_init), (gst_pad_init),
8975 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8976 (gst_pad_check_pull_range), (gst_pad_get_range),
8977 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8979 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8980 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8981 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8982 (gst_pad_remove_buffer_probe):
8983 Removed atomic operations, use existing LOCK.
8984 Move exception handling out of main code path.
8986 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8988 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8989 (silly_return_true_function), (gst_pad_class_init),
8990 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8991 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8992 (gst_pad_send_event):
8993 Fix accumulator, add default value by using _emitv() instead
8994 of _emit() for signal emission.
8996 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8998 * docs/manual/advanced-dataaccess.xml:
8999 * examples/manual/Makefile.am:
9001 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9004 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9006 * gst/elements/gstfilesink.c: (gst_filesink_render):
9007 Simplify code so that we don't have to handle short
9008 writes and return GST_FLOW_ERROR if an error occured.
9010 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9012 * docs/gst/gstreamer-docs.sgml:
9015 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9017 * docs/gst/gstreamer-sections.txt:
9018 * docs/gst/tmpl/gstpad.sgml:
9019 * docs/gst/tmpl/gstprobe.sgml:
9021 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9022 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9023 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9024 (gst_pad_push_event), (gst_pad_send_event):
9026 * gst/gstutils.c: (gst_pad_add_data_probe),
9027 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9028 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9029 (gst_pad_remove_buffer_probe):
9031 Remove old probes, add new g-signal-based probes and some utility
9034 2005-06-29 Edward Hervey <edward@fluendo.com>
9036 * gst/gstelementfactory.c:
9039 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9040 the definition to the header file.
9042 2005-06-29 Andy Wingo <wingo@pobox.com>
9044 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9045 plugins from the source directory.
9047 2005-06-29 Wim Taymans <wim@fluendo.com>
9049 * docs/gst/tmpl/gstbuffer.sgml:
9050 * docs/gst/tmpl/gstclock.sgml:
9051 Some fixings for blantently wrong text.
9053 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9055 * check/Makefile.am:
9056 * gst/gst.c: (add_path_func), (init_pre):
9057 * gst/gstregistry.c: (gst_registry_add_path):
9058 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9059 only scan the GST_PLUGIN_PATH locations, and not add
9062 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9064 * docs/gst/gstreamer-sections.txt:
9065 * docs/gst/tmpl/gstbasesrc.sgml:
9072 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9074 * docs/manual/advanced-autoplugging.xml:
9075 Fix autoplugging example.
9077 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9079 * docs/manual/advanced-autoplugging.xml:
9080 * docs/manual/mime-world.fig:
9081 Try to get autoplugging working, fix type detection. Fix text
9082 in hello-world image.
9084 2005-06-29 Wim Taymans <wim@fluendo.com>
9086 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9087 (gst_base_sink_change_state):
9091 map SIGNAL and BROADCAST to the right function.
9094 Remove redundant braces.
9096 * gst/gstpad.c: (gst_pad_set_caps):
9097 Don't call setcaps function when reseting caps to NULL.
9099 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9100 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9101 (gst_system_clock_id_unschedule):
9102 Use BROADCAST as this is what we do.
9104 2005-06-29 Wim Taymans <wim@fluendo.com>
9106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9107 We are actually prerolling before commiting the state
9110 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9112 * docs/manual/advanced-clocks.xml:
9113 * docs/manual/advanced-interfaces.xml:
9114 * docs/manual/advanced-metadata.xml:
9115 * docs/manual/advanced-position.xml:
9116 * docs/manual/advanced-schedulers.xml:
9117 * docs/manual/advanced-threads.xml:
9118 * docs/manual/appendix-porting.xml:
9119 * docs/manual/basics-bins.xml:
9120 * docs/manual/basics-bus.xml:
9121 * docs/manual/basics-elements.xml:
9122 * docs/manual/basics-helloworld.xml:
9123 * docs/manual/basics-pads.xml:
9124 * docs/manual/highlevel-components.xml:
9125 * docs/manual/manual.xml:
9126 * docs/manual/thread.fig:
9127 Update (until threads/scheduling) Application Development Manual;
9128 remove GstThread, add GstBus, add simple porting checklist, add
9129 documentation for tag writing, clocks, make all examples until this
9130 part compile and run.
9131 * examples/manual/Makefile.am:
9132 Update from changes to Application Development Manual; add bus
9133 example, remove thread example.
9135 2005-06-28 Wim Taymans <wim@fluendo.com>
9137 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9138 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9139 (gst_bus_source_dispatch):
9140 Add debugging messages.
9141 Make internal methods static.
9142 Handle the case where the bus is flushed in the handler.
9144 * gst/gstelement.c: (gst_element_get_bus):
9145 Fix refcount in _get_bus();
9147 * gst/gstpipeline.c: (gst_pipeline_change_state),
9148 (gst_pipeline_get_clock_func):
9149 Clock refcounting fixes.
9150 Handle the case where preroll timed out more gracefully.
9152 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9153 Clean up the internal thread in dispose. This is needed
9154 for subclasses that actually get disposed.
9156 * gst/schedulers/threadscheduler.c:
9157 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9158 (gst_thread_scheduler_dispose):
9159 Free thread pool in dispose.
9161 2005-06-28 Andy Wingo <wingo@pobox.com>
9163 * tests/network-clock-utils.scm (debug, print-event): New utils.
9165 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9166 (*packet-loss*): Unified loss probability.
9167 (network-time): Report out-of-band events.
9169 * tests/plot-data: Add support for out-of-band events. Hack it
9170 into this script instead of passing it down the pipe; should fix
9173 2005-06-28 Wim Taymans <wim@fluendo.com>
9175 * docs/gst/gstreamer.types:
9176 * docs/gst/tmpl/gstbasesrc.sgml:
9177 * docs/gst/tmpl/gstpad.sgml:
9180 2005-06-28 Wim Taymans <wim@fluendo.com>
9182 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9183 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9184 (gst_proxy_pad_do_fixatecaps):
9185 Correctly proxy the check_pull_range function.
9187 2005-06-28 Andy Wingo <wingo@pobox.com>
9189 * tests/network-clock.scm: Removed need for slib.
9191 2005-06-28 Wim Taymans <wim@fluendo.com>
9193 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9194 (gst_basesink_preroll_queue_flush):
9195 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9196 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9197 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9198 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9199 (gst_proxy_pad_set_property):
9202 * gst/gstqueue.c: (gst_queue_init):
9203 The deprecated pad loop function is removed now.
9205 2005-06-28 Andy Wingo <wingo@pobox.com>
9207 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9208 New parameters, simulate network packet loss.
9210 * tests/network-clock-utils.scm: Initialize the RNG.
9212 2005-06-28 Wim Taymans <wim@fluendo.com>
9214 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9215 (gst_basesink_event), (gst_basesink_deactivate):
9216 Flushing the preroll queue always needs to unlock the waiters.
9218 2005-06-28 Edward Hervey <edward@fluendo.com>
9220 * gst/gstpipeline.c: (gst_pipeline_send_event):
9221 Wheen a seek was successful on a pipeline, set the stream_time to the
9222 seek offset in order to have a synchronized stream_time.
9224 2005-06-28 Wim Taymans <wim@fluendo.com>
9226 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9227 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9228 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9229 (gst_proxy_pad_do_fixatecaps):
9230 Call wrapper function instead of just calling the function
9231 pointers. This takes care of any locking and whatmore.
9233 2005-06-28 Wim Taymans <wim@fluendo.com>
9235 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9236 (gst_pad_pull_range):
9238 CONNECTED -> LINKED.
9240 2005-06-28 Andy Wingo <wingo@pobox.com>
9242 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9243 source-munging commit!!!
9245 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9246 (gst_object_sink): Take gpointer arguments, not GstObject --
9247 avoids casts. Like GLib.
9249 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9252 2005-06-27 Andy Wingo <wingo@pobox.com>
9254 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9257 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9258 returns a sorted copy of the trace list.
9259 (gst_alloc_trace_print_live): New API, only prints traces with
9260 live objects. Sort the list.
9261 (gst_alloc_trace_print_all): Sort the list.
9262 (gst_alloc_trace_print): Align columns.
9264 * gst/elements/gstttypefindelement.c:
9265 * gst/elements/gsttee.c:
9266 * gst/base/gstbasesrc.c:
9267 * gst/base/gstbasesink.c:
9268 * gst/base/gstbasetransform.c:
9269 * gst/gstqueue.c: Adapt for pad activation changes.
9271 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9273 (gst_pipeline_dispose): Drop ref on sched.
9275 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9276 (gst_pad_activate_default): Push mode by default.
9277 (pre_activate_switch, post_activate_switch): New stubs, things to
9278 do before and after switching activation modes on pads.
9279 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9280 the pad's activate function to choose which mode to activate.
9281 Shortcut on deactivation and call the right function directly.
9282 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9284 (gst_pad_activate_push): New API, same for push mode.
9285 (gst_pad_set_activate_function)
9286 (gst_pad_set_activatepull_function)
9287 (gst_pad_set_activatepush_function): Setters for new API.
9289 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9290 Trace all miniobjects.
9291 (gst_mini_object_make_writable): Unref the arg if we copy, like
9292 gst_caps_make_writable.
9294 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9296 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9297 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9298 Adapt for new pad API.
9300 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9303 * gst/gstelement.c (gst_element_iterate_src_pads)
9304 (gst_element_iterate_sink_pads): New API functions.
9306 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9307 should fold into gstiterator.c in some form.
9308 (gst_element_pads_activate): Simplified via use of fold and
9309 delegation of decisions to gstpad->activate.
9311 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9314 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9315 class once in init, like gstmessage. Didn't run into this issue
9316 but it seems correct. Don't initialize a trace, gstminiobject does
9319 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9320 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9322 (assert_live_count): New util function, uses alloc traces to check
9325 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9326 To be modified when unlink drops the internal pad.
9328 2005-06-27 Wim Taymans <wim@fluendo.com>
9330 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9331 (gst_bin_change_state):
9332 Cleanup the get_state() function a little, make sure it
9333 iterates the same set of elements.
9334 Added stub iterate_state_order().
9336 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9338 * docs/gst/gstreamer-docs.sgml:
9339 * docs/gst/gstreamer-sections.txt:
9340 * docs/gst/gstreamer.types:
9341 * docs/gst/tmpl/gstbasesink.sgml:
9342 * docs/gst/tmpl/gstbasesrc.sgml:
9343 * docs/gst/tmpl/gstbasetransform.sgml:
9344 * docs/gst/tmpl/gstelement.sgml:
9345 * docs/gst/tmpl/gstiterator.sgml:
9346 * gst/base/gstbasesrc.c:
9347 * gst/base/gstbasesrc.h:
9348 * gst/base/gstbasetransform.h:
9350 * gst/gstiterator.h:
9351 adding basetransform and iterator docs
9353 2005-06-27 Andy Wingo <wingo@pobox.com>
9355 * docs/design/part-activation.txt: Notes on how activation should
9356 work -- not quite implemented yet.
9358 2005-06-25 Wim Taymans <wim@fluendo.com>
9360 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9361 At least get the chain function correct, needs more
9364 2005-06-25 Wim Taymans <wim@fluendo.com>
9366 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9367 (gst_basesink_handle_object), (gst_basesink_event),
9368 (gst_basesink_do_sync), (gst_basesink_handle_event),
9369 (gst_basesink_change_state):
9371 Right, two problems here: ghostpads don't take locks and
9372 glib _rec_mutex_lock_full() with depth==0 still locks.
9373 Catch illegal locking and g_warn them.
9375 2005-06-25 Wim Taymans <wim@fluendo.com>
9377 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9378 Have to check for completion now...
9380 2005-06-25 Wim Taymans <wim@fluendo.com>
9382 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9383 (gst_basesink_handle_object), (gst_basesink_event),
9384 (gst_basesink_do_sync), (gst_basesink_handle_event),
9385 (gst_basesink_change_state):
9387 Unlock STREAM_LOCK whatever the recursion was.
9389 2005-06-25 Wim Taymans <wim@fluendo.com>
9391 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9392 (gst_basesink_preroll_queue_empty),
9393 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9394 (gst_basesink_event), (gst_basesink_do_sync),
9395 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9396 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9397 (gst_basesink_change_state):
9398 Reworked the base sink, handle event and buffer serialisation
9399 correctly and removed possible deadlock.
9400 Handle EOS correctly.
9402 2005-06-25 Wim Taymans <wim@fluendo.com>
9404 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9405 (gst_pipeline_change_state):
9406 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9407 Allow elements to post EOS in the state change function.
9408 Fix up -launch, make it exit the poll loop when the
9409 pipeline actually changed state.
9410 Fix up warning parsing in -launch.
9412 2005-06-25 Wim Taymans <wim@fluendo.com>
9414 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9415 (gst_tee_sink_activate):
9416 Core takes STREAM_LOCK for us now.
9418 2005-06-25 Wim Taymans <wim@fluendo.com>
9420 * gst/gstelement.c: (gst_element_get_state_func),
9421 (gst_element_set_state):
9423 * gst/gstmessage.c: (gst_message_parse_error),
9424 (gst_message_parse_warning):
9425 Keep track of current target state while performing a state
9426 change so that subclasses can do something interesting.
9427 Fix parsing of warning/error messages when GError is NULL.
9429 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9431 * docs/gst/Makefile.am:
9432 * docs/gst/gstreamer-docs.sgml:
9433 * docs/gst/gstreamer-sections.txt:
9434 * docs/gst/gstreamer.types:
9435 * docs/gst/tmpl/gstbasesink.sgml:
9436 * docs/gst/tmpl/gstbasesrc.sgml:
9437 * docs/gst/tmpl/gstbin.sgml:
9438 * docs/gst/tmpl/gstcompat.sgml:
9439 * docs/gst/tmpl/gstfakesink.sgml:
9440 * docs/gst/tmpl/gstfakesrc.sgml:
9441 * docs/gst/tmpl/gstfilesink.sgml:
9442 * docs/gst/tmpl/gstfilesrc.sgml:
9443 * docs/gst/tmpl/gstindex.sgml:
9444 * docs/manual/appendix-quotes.xml:
9445 * gst/base/gstbasesrc.h:
9446 * gst/elements/gstfakesrc.h:
9448 start pulling in base classes and elements in our docs
9450 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9452 * docs/gst/Makefile.am:
9453 * docs/libs/Makefile.am:
9454 fixed make distcheck with gtk-doc 1.3
9456 2005-06-23 Wim Taymans <wim@fluendo.com>
9458 * gst/gstelement.c: (gst_element_get_state_func),
9459 (gst_element_set_state), (gst_element_change_state):
9460 When the state did not change, also report NO_PREROLL
9463 2005-06-23 Wim Taymans <wim@fluendo.com>
9465 * gst/gstpad.c: (gst_pad_event_default):
9466 * gst/gstqueue.c: (gst_queue_loop):
9467 No unsafe task pausing please.
9469 2005-06-23 Wim Taymans <wim@fluendo.com>
9471 * gst/schedulers/threadscheduler.c:
9472 (gst_thread_scheduler_task_start),
9473 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9474 Ref the task before pushing it on the threadpool. This
9475 makes sure that we have a ref when the threadfunction is
9478 2005-06-23 Andy Wingo <wingo@pobox.com>
9480 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9481 offset is greater than the file's size.
9483 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9484 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9485 * gst/gstobject.c (gst_object_class_init): Make the class lock
9486 recursive. Wim won't let me drop deep_notify. Decodebin works
9489 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9490 internal pad, and hacks accordingly. Doesn't do it on the target
9491 pad because we change its caps. Probably catches all cases of
9493 (gst_ghost_pad_set_property): Connect to notify::caps as
9496 * tests/network-clock.scm (plot-simulation): Pipe data to the
9497 elite python skript.
9499 * tests/network-clock-utils.scm (define-parameter): New macro,
9500 defines a parameter that can be set via the command line.
9501 (set-parameter!, parse-parameter-arguments): Command line args
9504 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9507 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9509 * gst/elements/gsttypefindelement.c:
9510 (gst_type_find_element_handle_event):
9511 Don't restart typefinding on a discont.
9512 * gst/gstelement.c: (gst_element_set_state):
9514 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9515 Allow changing mode of an active pad.
9517 * gst/registries/gstlibxmlregistry.c: (load_feature):
9518 Don't cast a static pad template to a normal pad template.
9520 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9522 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9523 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9524 remove gst_strtoll completely, since it didn't actually do
9525 anything more than what g_ascii_strtoull already does.
9526 check for range errors when deserializing
9527 do a cast for the unsigned cases; but further fixing needs
9528 a decision on what the interpretation of "(int)" and
9529 deserialization should be for values that fall outside the
9530 type's boundaries (ie, refuse, or interpret as casting)
9532 2005-06-23 Wim Taymans <wim@fluendo.com>
9534 * check/Makefile.am:
9535 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9536 * docs/design/part-live-source.txt:
9537 * docs/design/part-states.txt:
9538 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9539 (gst_basesrc_set_live), (gst_basesrc_is_live),
9540 (gst_basesrc_get_range), (gst_basesrc_activate),
9541 (gst_basesrc_change_state):
9542 * gst/base/gstbasesrc.h:
9543 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9544 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9545 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9546 * gst/gstelement.c: (gst_element_get_state_func),
9547 (gst_element_set_state):
9550 * tools/gst-launch.c: (event_loop), (main):
9551 Added support for live sources and other elements that
9553 Updated design docs, added live-source design doc.
9554 Implemented live source functionality in basesrc
9555 Fix error condition in _bin_get_state()
9556 Implement live source handling in -launch.
9557 Added check for live sources.
9558 Fixed case in GstBin where elements were changed state
9562 2005-06-23 Andy Wingo <wingo@pobox.com>
9564 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9567 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9568 gst_caps_replace takes care of this for us.
9570 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9571 gst_pad_set_caps on the target, not just its setcaps() function.
9573 * tests/network-clock.scm:
9574 * tests/network-clock-utils.scm: A network clock simulator.
9575 Something of an algorithmic testbed before doing something in C.
9577 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9579 * check/Makefile.am:
9580 * check/gst/capslist.h:
9581 copy over from 0.8, and add two with bitmasks specified with
9583 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9584 add test to parse everything from capslist.h
9585 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9587 add test for structure deserialization
9588 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9589 add tests for deserialization of strings to int types
9590 * gst/gststructure.c: (gst_structure_nth_field_name):
9591 * gst/gststructure.h:
9592 add a way to get the name of a field referenced by index
9593 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9594 instead of checking if the resulting long long lies between
9595 min and max, we check if the long long would fit into
9596 a number of bytes for the final type.
9597 This fixes cases where a string represents 2^32 - 1, which
9598 when cast to int would be the (valid) -1, but is bigger than
9601 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9603 * gst/parse/grammar.y:
9604 add a log line for type deserialization
9606 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9608 * check/gst/gstvalue.c: (START_TEST):
9609 * gst/gstvalue.c: (gst_value_deserialize):
9610 return long long, not int, so gint64 deserialization actually
9611 works. Is there any flag that makes the compiler check this ?
9614 2005-06-22 Wim Taymans <wim@fluendo.com>
9617 Added convenience macros for setting buffers in GValue.
9619 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9621 * check/gst/.cvsignore:
9622 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9623 add a test deserializing int64, and comment part out because
9626 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9628 * check/Makefile.am:
9629 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9630 * testsuite/Makefile.am:
9631 * testsuite/caps/Makefile.am:
9632 * testsuite/caps/value_serialize.c:
9633 * testsuite/test_gst_init.c:
9634 move a value_serialize test over
9636 2005-06-20 Wim Taymans <wim@fluendo.com>
9641 * gst/gstvalue.c: (gst_value_compare_buffer),
9642 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9643 (gst_value_compare_flags), (gst_value_serialize_flags),
9644 (gst_value_deserialize_flags), (_gst_value_initialize):
9645 Fix serialisation of buffers, they are not boxed types anymore
9647 2005-06-20 Wim Taymans <wim@fluendo.com>
9649 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9650 Testcase to show error in buffer-on-caps serialisation.
9652 2005-06-20 Andy Wingo <wingo@pobox.com>
9654 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9655 will be adding to later.
9657 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9658 if its socks fill with rocks.
9659 (gst_system_clock_obtain): Set the name on object construction.
9660 Avoid double-checked locking.
9662 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9664 * gst/gsturi.c: (gst_element_make_from_uri):
9665 Fix potential endless loop.
9667 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9669 * check/Makefile.am:
9671 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9673 move over from testsuite dir and clean up
9676 * testsuite/Makefile.am:
9677 * testsuite/tags/.cvsignore:
9678 * testsuite/tags/Makefile.am:
9679 * testsuite/tags/merge.c:
9680 remove testsuite/tags
9682 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9684 * docs/gst/gstreamer-sections.txt:
9685 * docs/gst/tmpl/gstenumtypes.sgml:
9686 * win32/gstenumtypes.c:
9687 clean up documentation build a little
9689 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9692 add macros for checking refcounts on objects and caps
9693 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9694 add some more unit tests
9695 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9696 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9697 fix leaked refcounts (I hope :)) so unittest works
9701 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9703 * configure.ac: back to HEAD
9705 === release 0.9.1 ===
9707 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9713 2005-06-17 Andy Wingo <wingo@pobox.com>
9715 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9716 assert; it's always possible that the pad gets deactivated in
9717 between the checks in gstpad.c and the implementation. Rely on
9718 finish_preroll() to return a FLUSHING or similar instead of on the
9721 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9722 clock and post an EOS message if we come out of finish_preroll in
9725 2005-06-16 David Schleef <ds@schleef.org>
9727 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9728 (gst_capsfilter_set_property): Allow NULL as possible value
9729 for filter_caps property, indicating GST_CAPS_ANY.
9731 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9733 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9735 * gst/schedulers/Makefile.am:
9737 * gstreamer.spec.in:
9740 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9742 * gstreamer.spec.in:
9745 2005-06-08 Andy Wingo <wingo@pobox.com>
9747 * gst/gstutils.c: RPAD fixes all around.
9748 (gst_element_link_pads): Refcounting fixes.
9750 * tools/gst-inspect.c:
9751 * tools/gst-xmlinspect.c:
9753 * gst/base/gsttypefindhelper.c:
9754 * gst/base/gstbasesink.c:
9755 * gst/gstqueue.c: RPAD fixes.
9757 * gst/gstghostpad.h:
9758 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9759 pads. The tricky thing is they provide both source and sink
9760 interfaces, since they proxy the internal pad for the external
9761 pad, and vice versa. Implement with lower-level ProxyPad objects,
9762 with the interior proxy pad as a child of the exterior ghost pad.
9763 Should write a doc on this.
9765 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9766 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9769 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9770 pads are real pads. No ghost pads in this file. Not documenting
9771 the myriad s/RPAD/PAD/ and REALIZE fixes.
9772 (gst_pad_class_init): Add properties for "direction" and
9773 "template". Both are construct-only, so they can't change during
9774 the life of the pad. Fixes properly deriving from GstPad.
9775 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9776 derived objects, just set properties when creating the objects via
9778 (gst_pad_get_parent): Implement as a function, return NULL if the
9779 parent is not an element.
9780 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9781 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9783 * gst/gstobject.c (gst_object_class_init): Make name a construct
9784 property. Don't set it in the object init.
9786 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9787 with UNKNOWN direction.
9788 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9789 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9790 (gst_element_remove_pad): Remove ghost-pad special cases.
9791 (gst_element_pads_activate): Remove rpad cruft.
9793 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9794 catch the pad's-parent-not-an-element case.
9796 * gst/gst.h: Include gstghostpad.h.
9798 * gst/gst.c (init_post): No more real, ghost pads.
9800 * gst/Makefile.am: Add gstghostpad.[ch].
9802 * check/Makefile.am:
9803 * check/gst/gstbin.c:
9804 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9805 into a bin creates ghost pads, and that the refcounts are right.
9806 Partly moved from gstbin.c.
9808 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9810 * check/gst-libs/.cvsignore:
9811 * check/gst/.cvsignore:
9812 * check/pipelines/.cvsignore:
9814 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9815 (START_TEST), (cleanup_suite), (main):
9816 add some tests related to cleanup after running pipelines
9818 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9820 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9821 add a testsuite for GstBuffer
9823 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9825 * gst/gstminiobject.h:
9826 add defines for accessing the refcount
9828 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9830 * Makefile.am: added support for html unit test coverage reports
9832 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9834 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9835 Free existing caps if the capsfilter changes. Add a FIXME about
9836 setting those caps on the pads.
9838 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9839 Before adding a ghost pad to a parent bin, check that there isn't
9840 already one for the element on the bin. Prevents infinite recursion
9841 when using decodebin in parse pipelines. Andy says he'll rewrite the
9842 way this works anyway, so ignore the hack.
9844 2005-06-02 Andy Wingo <wingo@pobox.com>
9846 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9847 file size, pass it on to the type find helper.
9849 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9850 segment_start and segment_end properly according to the seek
9851 method. Segment_end is still a bit flaky because offset can be
9852 negative for CUR and END cases, but it takes -1 as an "unset"
9855 2005-06-02 Wim Taymans <wim@fluendo.com>
9857 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9858 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9859 (gst_basesink_activate):
9860 * gst/base/gstbasesink.h:
9861 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9862 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9863 (gst_pad_query), (gst_pad_start_task):
9865 * gst/gstqueue.c: (gst_queue_bufferalloc),
9866 (gst_queue_handle_sink_event), (gst_queue_chain):
9867 Bufferalloc: return GstFlowReturn to more accuratly report
9868 why allocation failed.
9870 2005-06-02 Wim Taymans <wim@fluendo.com>
9872 * gst/gstpipeline.c: (gst_pipeline_send_event):
9873 Take snapshot of state without blocking.
9875 2005-06-02 Wim Taymans <wim@fluendo.com>
9877 * docs/design/part-TODO.txt:
9878 * docs/design/part-caps.txt:
9879 * docs/design/part-clocks.txt:
9880 * docs/design/part-negotiation.txt:
9881 * docs/design/part-preroll.txt:
9884 2005-05-30 Wim Taymans <wim@fluendo.com>
9886 * gst/elements/gstidentity.c: (gst_identity_event),
9887 (gst_identity_transform), (gst_identity_get_property):
9888 Protect last_message property as it is accessed from
9891 2005-05-30 Wim Taymans <wim@fluendo.com>
9893 * gst/gstelement.c: (gst_element_init),
9894 (gst_element_pads_activate), (gst_element_change_state):
9895 Slicker pad activation code.
9897 2005-05-30 Wim Taymans <wim@fluendo.com>
9901 * gst/gstelementfactory.h:
9903 Move elementfactory methods to separate .h file.
9905 2005-05-30 Wim Taymans <wim@fluendo.com>
9907 * docs/design/part-overview.txt:
9908 * gst/gstsystemclock.h:
9909 Small typo fixes, doc updates.
9911 2005-05-30 Wim Taymans <wim@fluendo.com>
9913 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9914 (init_popt_callback):
9915 Remove cpu-opt flag.
9917 2005-05-30 Wim Taymans <wim@fluendo.com>
9919 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9920 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9922 Avoid typechecking in places where not needed.
9923 Added accessor for malloc_data.
9925 2005-05-30 Wim Taymans <wim@fluendo.com>
9927 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9928 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9929 (gst_pad_configure_sink), (gst_pad_configure_src),
9930 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9931 (gst_pad_start_task):
9932 Propagate errors from _set_caps() in configure_src/sink
9933 functions instead of returning TRUE.
9934 FLUSH events can travel up and downstream
9937 2005-05-30 Wim Taymans <wim@fluendo.com>
9939 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9940 (gst_basesink_activate):
9941 Handle EOS in preroll.
9943 2005-05-30 Wim Taymans <wim@fluendo.com>
9945 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9946 (gst_queue_loop), (gst_queue_handle_src_event):
9947 Remove old pieces of code
9948 Flushing the queue in an upstream event is a very bad idea.
9950 2005-05-26 Andy Wingo <wingo@pobox.com>
9952 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9953 gst_value_set_mini_object so as to add a ref on the object (which
9954 will be removed when the value is unset).
9956 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9957 arg type in ::handoff.
9959 * gst/gstelement.c (gst_element_change_state): Also deactivate
9960 pads in READY->NULL, just in case the element didn't make it to
9961 PAUSED. Wingo tested, Wim approved.
9963 2005-05-26 Wim Taymans <wim@fluendo.com>
9965 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9966 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9967 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9968 A flushing pad cannot be used to alloc_buffer from.
9970 2005-05-26 Wim Taymans <wim@fluendo.com>
9972 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9973 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9974 (gst_bus_source_dispatch), (gst_bus_source_finalize),
9975 (gst_bus_create_watch), (gst_bus_add_watch_full):
9977 Implement a real GSource and use g_main_context_wakeup() to
9978 signal new messages instead of the socketpair.
9980 2005-05-25 Wim Taymans <wim@fluendo.com>
9982 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9983 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9984 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9985 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9986 (gst_pad_send_event), (gst_pad_start_task):
9987 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9988 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9989 (gst_queue_sink_activate), (gst_queue_src_activate),
9990 (gst_queue_change_state):
9992 Fix state changes for non sinks. We now change sinks, then elements
9993 with unconnected srcpads, then the rest.
9994 More efficient queue unlocking in flush and state changes.
9995 Set the pad activate mode even if it does not have an activate
9998 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10000 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10001 Don't go in pull mode for non-seekable sources.
10002 * gst/elements/gsttypefindelement.h:
10003 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10004 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10005 (free_entry), (stop_typefinding),
10006 (gst_type_find_element_handle_event), (find_peek),
10007 (gst_type_find_element_chain), (do_pull_typefind),
10008 (gst_type_find_element_change_state):
10009 Allow typefinding (w/o seeking) in push-mode, simplified version
10010 of what was in 0.8.
10011 * gst/gstutils.c: (gst_buffer_join):
10013 gst_buffer_join() from 0.8.
10015 2005-05-25 Wim Taymans <wim@fluendo.com>
10017 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10018 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10019 (gst_pad_send_event), (gst_pad_start_task):
10020 Disable attempt at mode switching until it is figured out.
10022 2005-05-25 Wim Taymans <wim@fluendo.com>
10024 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10025 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10026 (gst_basesink_finish_preroll), (gst_basesink_chain),
10027 (gst_basesink_loop), (gst_basesink_activate),
10028 (gst_basesink_change_state):
10029 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10030 (gst_basesrc_get_range), (gst_basesrc_loop),
10031 (gst_basesrc_activate):
10032 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10033 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10034 (gst_real_pad_init), (gst_real_pad_set_property),
10035 (gst_real_pad_get_property), (gst_pad_set_active),
10036 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10037 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10038 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10039 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10040 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10041 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10042 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10043 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10044 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10045 (gst_pad_stop_task):
10047 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10048 (gst_queue_loop), (gst_queue_src_activate):
10049 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10050 (gst_task_get_state):
10052 * gst/schedulers/threadscheduler.c:
10053 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10054 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10056 Remove ACTIVE pad flag, use FLUSHING everywhere
10057 Added _pad_chain(), _pad_get_range() to call chain/getrange
10059 Add locks around IS_FLUSHING when reading.
10060 Take STREAM lock in chain(), get_range() functions so plugins
10061 don't need to take it anymore.
10065 2005-05-25 Wim Taymans <wim@fluendo.com>
10067 * tools/gst-launch.c: (event_loop):
10068 Unref message after using its contents instead of
10071 2005-05-24 Wim Taymans <wim@fluendo.com>
10073 * docs/design/draft-ghostpads.txt:
10074 * docs/design/draft-push-pull.txt:
10075 * docs/design/draft-query.txt:
10076 * docs/design/part-overview.txt:
10077 Docs updates, added general overview doc.
10079 2005-05-21 David Schleef <ds@schleef.org>
10081 * docs/gst/tmpl/old/GstBin.sgml:
10082 * docs/gst/tmpl/old/GstBuffer.sgml:
10083 * docs/gst/tmpl/old/GstCaps.sgml:
10084 * docs/gst/tmpl/old/GstClock.sgml:
10085 * docs/gst/tmpl/old/GstCompat.sgml:
10086 * docs/gst/tmpl/old/GstData.sgml:
10087 * docs/gst/tmpl/old/GstElement.sgml:
10088 * docs/gst/tmpl/old/GstEvent.sgml:
10089 * docs/gst/tmpl/old/GstIndex.sgml:
10090 * docs/gst/tmpl/old/GstStructure.sgml:
10091 * docs/gst/tmpl/old/GstTag.sgml:
10092 * docs/gst/tmpl/old/cothreads.sgml:
10093 * docs/gst/tmpl/old/cothreads_compat.sgml:
10094 * docs/gst/tmpl/old/gettext.sgml:
10095 * docs/gst/tmpl/old/gobject2gtk.sgml:
10096 * docs/gst/tmpl/old/grammar.tab.sgml:
10097 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10098 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10099 * docs/gst/tmpl/old/gst_private.sgml:
10100 * docs/gst/tmpl/old/gstaggregator.sgml:
10101 * docs/gst/tmpl/old/gstarch.sgml:
10102 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10103 * docs/gst/tmpl/old/gstbufferstore.sgml:
10104 * docs/gst/tmpl/old/gstdata_private.sgml:
10105 * docs/gst/tmpl/old/gstdisksink.sgml:
10106 * docs/gst/tmpl/old/gstdisksrc.sgml:
10107 * docs/gst/tmpl/old/gstelementfactory.sgml:
10108 * docs/gst/tmpl/old/gstextratypes.sgml:
10109 * docs/gst/tmpl/old/gstfakesink.sgml:
10110 * docs/gst/tmpl/old/gstfakesrc.sgml:
10111 * docs/gst/tmpl/old/gstfdsink.sgml:
10112 * docs/gst/tmpl/old/gstfdsrc.sgml:
10113 * docs/gst/tmpl/old/gstfilesink.sgml:
10114 * docs/gst/tmpl/old/gstfilesrc.sgml:
10115 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10116 * docs/gst/tmpl/old/gstidentity.sgml:
10117 * docs/gst/tmpl/old/gstindexfactory.sgml:
10118 * docs/gst/tmpl/old/gstmarshal.sgml:
10119 * docs/gst/tmpl/old/gstmd5sink.sgml:
10120 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10121 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10122 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10123 * docs/gst/tmpl/old/gstpipefilter.sgml:
10124 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10125 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10126 * docs/gst/tmpl/old/gstshaper.sgml:
10127 * docs/gst/tmpl/old/gstspider.sgml:
10128 * docs/gst/tmpl/old/gstspideridentity.sgml:
10129 * docs/gst/tmpl/old/gststatistics.sgml:
10130 * docs/gst/tmpl/old/gsttee.sgml:
10131 * docs/gst/tmpl/old/gsttimecache.sgml:
10132 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10133 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10134 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10135 * docs/gst/tmpl/old/types.sgml:
10136 I didn't intend to add these or check them in.
10138 2005-05-19 David Schleef <ds@schleef.org>
10140 * configure.ac: Use -no-common everywhere. In a sane world, it
10141 would be the default in libtool, because without it, you can't
10142 build DLLs on Windows.
10143 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10144 * docs/gst/gstreamer-sections.txt:
10145 * docs/gst/tmpl/gstcpu.sgml:
10146 * docs/gst/tmpl/gstdata.sgml:
10147 * docs/gst/tmpl/gstthread.sgml:
10149 2005-05-19 David Schleef <ds@schleef.org>
10151 * gst/gstminiobject.c: (gst_value_set_mini_object),
10152 (gst_value_take_mini_object), (gst_value_get_mini_object):
10153 * gst/gstminiobject.h: Add GValue set/get functions.
10155 2005-05-19 Wim Taymans <wim@fluendo.com>
10157 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10158 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10159 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10161 * gst/gstbus.c: (gst_bus_post):
10162 * gst/gstelement.c: (gst_element_get_random_pad):
10163 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10164 Make subbufer unref the parent in finalize.
10165 some more debugging info.
10168 2005-05-19 Wim Taymans <wim@fluendo.com>
10170 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10171 (gst_basesink_init), (gst_basesink_finalize),
10172 (gst_basesink_activate), (gst_basesink_change_state):
10173 Don't free preroll queue too early.
10175 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10179 Hi, I'm outdated. Please shoot me.
10181 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10183 * gst/gstpipeline.c: (gst_pipeline_send_event):
10184 Do not access variables after they have been deleted.
10186 2005-05-19 Wim Taymans <wim@fluendo.com>
10188 * tools/gst-inspect.c: (print_plugin_features):
10189 A plugin feature does unfortunatly not use the
10192 2005-05-18 Wim Taymans <wim@fluendo.com>
10194 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10195 Port _span() functions to new subbuffers.
10197 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10199 * gst/gstbin.c: (gst_bin_add_func):
10200 Fix clock settery in bins when adding kids after the clock has
10203 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10205 * gst/elements/gstidentity.c: (gst_identity_class_init):
10206 Workaround until signals support GstMiniObject.
10208 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10211 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10213 2005-05-18 Wim Taymans <wim@fluendo.com>
10215 * gst/base/Makefile.am:
10216 * gst/base/gstadapter.c: (gst_adapter_base_init),
10217 (gst_adapter_class_init), (gst_adapter_init),
10218 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10219 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10220 (gst_adapter_flush), (gst_adapter_available),
10221 (gst_adapter_available_fast):
10222 * gst/base/gstadapter.h:
10223 Ported and added adapter to the base classes.
10225 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10228 * gst/gstmessage.c:
10229 Make sure the class is reffed/unreffed once before threads can be
10230 used. Fixes #304551.
10232 2005-05-17 Wim Taymans <wim@fluendo.com>
10234 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10235 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10236 * gst/gstminiobject.c: (gst_mini_object_get_type),
10237 (gst_mini_object_free):
10238 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10239 (gst_pad_push), (gst_pad_push_event):
10240 * gst/gstqueue.c: (gst_queue_change_state):
10241 Don't queue buffers in basesink when we are flushing.
10242 Unref buffer when flushing in basesink.
10243 Flush queue when going to READY
10244 Unref buffer when _push() returns an error.
10245 Don't free MiniObject instance when refcount is incremented
10246 in _finalize() so that we can recover objects.
10248 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10250 * docs/manual/advanced-schedulers.xml:
10251 * docs/manual/appendix-checklist.xml:
10252 * docs/pwg/advanced-clock.xml:
10253 * docs/pwg/advanced-interfaces.xml:
10254 * docs/pwg/advanced-request.xml:
10255 * docs/pwg/advanced-types.xml:
10256 * docs/pwg/intro-preface.xml:
10257 * examples/plugins/example.c: (gst_example_get_type),
10258 (gst_example_class_init), (gst_example_chain),
10259 (gst_example_set_property), (gst_example_get_property),
10260 (gst_example_change_state), (plugin_init):
10261 * examples/plugins/example.h:
10264 2005-05-17 Wim Taymans <wim@fluendo.com>
10266 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10267 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10268 * gst/gstqueue.c: (gst_queue_change_state):
10269 Clear queue when going to READY.
10270 Remove IN_SETCAPS flag too.
10272 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10274 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10275 Remove implicit cast from gboolean to GstElementStateReturn;
10276 make sure we still return failure in paused => ready case if
10277 the parent class fails to change state and our own stop
10280 2005-05-17 Wim Taymans <wim@fluendo.com>
10282 * tools/gst-launch.c: (event_loop):
10283 Message was unreffed too soon.
10285 2005-05-16 Andy Wingo <wingo@pobox.com>
10287 * gst/gstbin.c (sink_iterator_filter): Err... um...
10289 * check/gst/gstbin.c (test_ghost_pads): New test for the
10290 ghosting-if-elements-not-in-same-bin behavior.
10292 2005-05-16 David Schleef <ds@schleef.org>
10294 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10295 accessing refcount directly.
10297 2005-05-15 David Schleef <ds@schleef.org>
10299 * check/Makefile.am: remove GstData checks
10300 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10301 * gst/Makefile.am: add miniobject, remove data
10302 * gst/gst.h: add miniobject, remove data
10303 * gst/gstdata.c: remove
10304 * gst/gstdata.h: remove
10305 * gst/gstdata_private.h: remove
10306 * gst/gsttypes.h: remove GstEvent and GstMessage
10307 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10308 * gst/gstmarshal.list: change BOXED -> OBJECT
10310 Implement GstMiniObject.
10311 * gst/gstminiobject.c:
10312 * gst/gstminiobject.h:
10314 Modify to be subclasses of GstMiniObject.
10315 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10316 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10317 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10318 (gst_subbuffer_get_type), (gst_subbuffer_init),
10319 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10322 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10323 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10324 (_gst_event_copy), (gst_event_new):
10326 * gst/gstmessage.c: (_gst_message_initialize),
10327 (gst_message_get_type), (gst_message_class_init),
10328 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10329 (gst_message_new), (gst_message_new_error),
10330 (gst_message_new_warning), (gst_message_new_tag),
10331 (gst_message_new_state_changed), (gst_message_new_application):
10332 * gst/gstmessage.h:
10333 * gst/gstprobe.c: (gst_probe_perform),
10334 (gst_probe_dispatcher_dispatch):
10336 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10337 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10338 (_gst_query_copy), (gst_query_new):
10340 Update elements for GstData -> GstMiniObject changes
10342 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10343 (gst_queue_chain), (gst_queue_loop):
10344 * gst/elements/gstbufferstore.c:
10345 (gst_buffer_store_add_buffer_func),
10346 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10347 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10348 (gst_fakesink_render):
10349 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10350 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10351 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10352 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10353 (gst_filesrc_create_read):
10354 * gst/elements/gstidentity.c: (gst_identity_class_init):
10355 * gst/elements/gsttypefindelement.c:
10356 (gst_type_find_element_src_event), (free_entry_buffers),
10357 (gst_type_find_element_handle_event):
10358 * libs/gst/dataprotocol/dataprotocol.c:
10359 (gst_dp_header_from_buffer):
10360 * libs/gst/dataprotocol/dataprotocol.h:
10361 * libs/gst/dataprotocol/dp-private.h:
10363 2005-05-15 David Schleef <ds@schleef.org>
10365 * gst/elements/gstelements.c: Don't include headers that were
10368 2005-05-15 David Schleef <ds@schleef.org>
10370 * gst/elements/Makefile.am: Remove some elements that don't
10371 need to be in the core (or even exist at all).
10372 * gst/elements/gstaggregator.c:
10373 * gst/elements/gstaggregator.h:
10374 * gst/elements/gstmd5sink.c:
10375 * gst/elements/gstmd5sink.h:
10376 * gst/elements/gstmultifilesrc.c:
10377 * gst/elements/gstmultifilesrc.h:
10378 * gst/elements/gstpipefilter.c:
10379 * gst/elements/gstpipefilter.h:
10380 * gst/elements/gstshaper.c:
10381 * gst/elements/gstshaper.h:
10382 * gst/elements/gststatistics.c:
10383 * gst/elements/gststatistics.h:
10384 * po/POTFILES.in: Remove above files.
10386 2005-05-14 Andy Wingo <wingo@pobox.com>
10388 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10389 so as to get the refs right.
10390 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10391 unreffing objects that don't pass the filter.
10393 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10394 gst_element_set_bus.
10395 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10396 normal cases, this will destroy the bus.
10398 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10401 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10404 2005-05-13 Andy Wingo <wingo@pobox.com>
10406 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10407 gst_pad_link, call pad_link_maybe_ghosting,
10408 (pad_link_maybe_ghosting): Links pads, making sure that the
10409 elements being linked are in the same bin.
10410 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10411 Helpers for pad_link_maybe_ghosting.
10413 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10416 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10418 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10420 * docs/design/part-element-source.txt:
10423 2005-05-12 Wim Taymans <wim@fluendo.com>
10425 * gst/base/gstbasesink.c: (gst_basesink_init),
10426 (gst_basesink_activate):
10427 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10428 (gst_basesrc_is_seekable):
10429 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10430 (bin_element_is_sink), (gst_bin_change_state):
10431 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10432 * gst/gstelement.h:
10433 Identify sinks by their flag to avoid overly complicated
10435 Do state changes even for elements not reachable from the
10437 BaseSink is a sink now :)
10438 Some more debugging info in the basesrc.
10441 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10443 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10444 Implement _query on a bin, similar to _send_event.
10446 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10448 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10449 Discont event offset format should be GST_FORMAT_BYTES,
10450 not GST_FORMAT_TIME.
10452 2005-05-12 Wim Taymans <wim@fluendo.com>
10454 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10455 Same fix as Ronald's but without the signal.
10457 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10459 * gst/gstutils.c: (gst_element_query_position):
10460 No, an element is not a pad.
10462 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10464 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10465 (gst_bin_get_state):
10466 If a child is removed from a bin while we remove the child from
10467 the bin and while we're retrieving its state, signal this to the
10468 get_state function so we abort the wait (instead of waiting for
10469 a timeout) and can immediately re-iterate over all other elements.
10471 2005-05-12 Wim Taymans <wim@fluendo.com>
10473 * gst/base/Makefile.am:
10474 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10475 (gst_basesrc_start):
10476 * gst/base/gstbasesrc.h:
10477 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10478 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10479 (gst_pushsrc_init), (gst_pushsrc_create):
10480 * gst/base/gstpushsrc.h:
10481 Added is_seekable to BaseSrc
10482 Added simple PushSrc.
10484 2005-05-11 Wim Taymans <wim@fluendo.com>
10486 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10487 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10488 (gst_element_link_pads), (gst_element_query_position),
10489 (gst_element_query_convert), (intersect_caps_func),
10490 (gst_pad_query_position), (gst_pad_query_convert):
10491 Fix refcounting in utils function.
10492 No point in trying to activate a pad when it's added, it could
10493 be added from the state change function and then we deadlock, the
10494 element has to decide what to do.
10496 2005-05-10 Andy Wingo <wingo@pobox.com>
10498 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10499 *all* the arguments.
10501 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10502 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10503 lock (according to the docs -- if this is wrong change the docs).
10505 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10506 flush messages in the NULL state.
10508 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10509 message immediately and return.
10510 (gst_bus_set_flushing): New function. If a bus is flushing, it
10511 flushes out any queued messages and immediately unrefs new
10512 messages. This is so when an element goes to NULL, all of the
10513 unhandled messages coming from it can be freed, and their
10514 references to the element dropped. In other words: message source
10515 ref considered harmful :P
10517 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10518 we're finished with it.
10520 * gst/gstmessage.c (gst_message_new_state_changed):
10522 2005-05-10 Wim Taymans <wim@fluendo.com>
10524 * gst/gstvalue.c: (gst_value_compare_flags),
10525 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10526 (_gst_value_initialize):
10527 Added flags serialize/deserialize/compare code.
10529 2005-05-09 Andy Wingo <wingo@pobox.com>
10531 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10532 Intersect the peer's caps with our caps.
10534 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10536 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10537 * gst/elements/gsttypefindelement.c: (find_peek):
10538 Handle negative offsets better. Fixes decodebin.
10540 2005-05-09 Wim Taymans <wim@fluendo.com>
10542 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10543 (gst_base_transform_event):
10544 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10545 Implement accept_caps.
10546 Fix silly lock/unlock mismatch in base class.
10548 2005-05-09 Wim Taymans <wim@fluendo.com>
10550 * docs/design/draft-push-pull.txt:
10551 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10552 * gst/elements/gstfilesink.c: (gst_filesink_init),
10553 (gst_filesink_query):
10554 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10555 (gst_type_find_handle_src_query), (find_element_get_length):
10556 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10557 * gst/gstelement.h:
10558 * gst/gstmessage.c:
10559 * gst/gstmessage.h:
10560 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10561 (gst_real_pad_get_caps_unlocked),
10562 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10563 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10564 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10565 (gst_real_pad_dispose), (gst_real_pad_finalize),
10566 (gst_pad_load_and_link), (gst_pad_save_thyself),
10567 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10568 (gst_pad_check_pull_range), (gst_pad_pull_range),
10569 (gst_pad_template_get_type), (gst_pad_template_class_init),
10570 (gst_pad_template_init), (gst_pad_template_dispose),
10571 (name_is_valid), (gst_static_pad_template_get),
10572 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10573 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10574 (gst_pad_get_element_private), (gst_pad_start_task),
10575 (gst_pad_pause_task), (gst_pad_stop_task),
10576 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10577 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10578 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10579 (gst_ghost_pad_new):
10581 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10582 (gst_query_new_position), (gst_query_set_position),
10583 (gst_query_parse_position), (gst_query_new_convert),
10584 (gst_query_set_convert), (gst_query_parse_convert):
10586 * gst/gstqueryutils.c:
10587 * gst/gstqueryutils.h:
10588 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10589 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10590 (gst_queue_handle_src_query):
10591 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10592 (gst_element_query_position), (gst_element_query_convert),
10593 (intersect_caps_func), (gst_pad_query_position),
10594 (gst_pad_query_convert):
10596 * tools/gst-inspect.c: (print_pad_info):
10597 * tools/gst-xmlinspect.c: (print_element_info):
10598 Remove old query functions. Ported old code.
10599 Added position/convert helper functions to gstutils.
10600 Reordered gstpad.c code, grouping relevant things.
10601 Remove gst_message_new(), always need to speficy a specific
10605 2005-05-09 Andy Wingo <wingo@pobox.com>
10607 * gst/gstiterator.h: Add some includes.
10609 * gst/gstqueryutils.h: Include more headers.
10612 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10613 some uses of gst_pad_query.
10615 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10616 NULL out parameters.
10617 (gst_query_new_position): New proc, allocates a new position
10620 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10621 gstqueryutils.c to the build.
10623 * gst/gststructure.c (gst_structure_set_valist): Implement with
10624 the generic G_VALUE_COLLECT.
10626 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10628 * gst/Makefile.am: (gst_headers):
10629 Added gstqueryutils.h to the list of headers to install, that was
10630 a 'nachty' move wingo :)
10632 2005-05-06 Andy Wingo <wingo@pobox.com>
10635 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10636 GstData, init a memchunk.
10637 (standard_definitions): Add a few query types, deprecate a few.
10638 (gst_query_get_type): New proc.
10639 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10641 (gst_query_new_application, gst_query_get_structure): New public
10644 * docs/design/draft-query.txt: Removed LINKS from the query types,
10645 because all the rest can be dispatched to other pads -- seemed
10646 ugly to have a query that couldn't be dispatched. internal_links
10647 is fine as a pad method.
10649 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10650 in gstpad.c, but maintain binary compatibility for the moment.
10651 Will fix before 0.9 is out.
10653 * gst/gstqueryutils.c:
10654 * gst/gstqueryutils.h: New files, implement 3 methods for each
10655 query type: parse_query, parse_response, and set. Probably need an
10658 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10660 * gst/elements/gstfilesink.c (gst_filesink_query2):
10661 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10662 query_types, and formats methods.
10664 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10665 (gst_pad_set_query2_function): New functions.
10666 (gst_real_pad_init): Set query2_default as the default query2
10667 function. Basically just dispatches to internally linked pads.
10671 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10672 without using the atomic operations. Only one thread can possibly
10673 be accessing the data at this point. Changed so as to avoid
10674 gst_atomic operations.
10676 2005-05-06 Wim Taymans <wim@fluendo.com>
10678 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10679 Also set caps if we use the fallback buffer alloc.
10681 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10683 * docs/gst/Makefile.am:
10684 * docs/gst/gstreamer-docs.sgml:
10685 * docs/gst/gstreamer-sections.txt:
10686 * docs/gst/tmpl/gstatomic.sgml:
10687 * docs/gst/tmpl/gstmemchunk.sgml:
10688 * testsuite/elements/struct_i386.h:
10689 * win32/GStreamer.vcproj:
10691 Purge GstAtomic stuff from docs and win32 makefiles as well
10693 2005-05-06 Wim Taymans <wim@fluendo.com>
10695 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10696 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10697 * gst/gstpad.c: (gst_pad_peer_get_caps):
10698 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10699 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10700 (gst_queue_src_activate), (gst_queue_change_state):
10702 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10703 (intersect_caps_func):
10704 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10705 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10706 Some fixes for the peer_get_caps() change.
10708 2005-05-06 Wim Taymans <wim@fluendo.com>
10710 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10711 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10712 (gst_basesink_activate):
10713 Actually do something with error codes returned from the push
10716 2005-05-06 Wim Taymans <wim@fluendo.com>
10718 * docs/design/part-element-sink.txt:
10719 * docs/design/part-element-source.txt:
10720 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10721 (gst_basesink_event), (gst_basesink_activate):
10722 * gst/base/gstbasesink.h:
10723 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10724 (gst_basesrc_activate):
10725 * gst/base/gstbasesrc.h:
10726 * gst/gstelement.c: (gst_element_pads_activate):
10727 Some more documentation.
10728 Fixed scheduling decision in _pads_activate().
10730 2005-05-05 Andy Wingo <wingo@pobox.com>
10732 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10735 2005-05-05 Wim Taymans <wim@fluendo.com>
10737 * gst/base/Makefile.am:
10738 * gst/base/gstbasesink.h:
10739 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10740 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10741 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10742 (gst_collectpads_class_init), (gst_collectpads_init),
10743 (gst_collectpads_finalize), (gst_collectpads_new),
10744 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10745 (find_pad), (gst_collectpads_remove_pad),
10746 (gst_collectpads_is_active), (gst_collectpads_collect),
10747 (gst_collectpads_collect_range), (gst_collectpads_start),
10748 (gst_collectpads_stop), (gst_collectpads_peek),
10749 (gst_collectpads_pop), (gst_collectpads_available),
10750 (gst_collectpads_read), (gst_collectpads_flush),
10751 (gst_collectpads_chain):
10752 * gst/base/gstcollectpads.h:
10753 * gst/elements/Makefile.am:
10754 * gst/elements/gstelements.c:
10755 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10756 (gst_fakesink_get_times), (gst_fakesink_event),
10757 (gst_fakesink_preroll), (gst_fakesink_render):
10758 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10759 (gst_filesink_init), (gst_filesink_set_location),
10760 (gst_filesink_open_file), (gst_filesink_close_file),
10761 (gst_filesink_pad_query), (gst_filesink_event),
10762 (gst_filesink_render), (gst_filesink_change_state):
10763 * gst/elements/gstfilesink.h:
10764 Added object to help in making collect pad based elements.
10766 Make event function in sink baseclass return gboolean.
10768 2005-05-05 Wim Taymans <wim@fluendo.com>
10770 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10771 (gst_bin_get_by_name):
10773 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10774 (gst_clock_finalize):
10775 * gst/gstdata.c: (gst_data_replace):
10777 * gst/gstelement.c: (gst_element_request_pad),
10778 (gst_element_pads_activate):
10779 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10780 (gst_object_unref):
10781 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10782 (gst_pad_set_checkgetrange_function),
10783 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10784 (gst_pad_check_pull_range), (gst_pad_pull_range),
10785 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10786 (gst_pad_pause_task), (gst_pad_stop_task):
10787 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10788 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10789 Fix name lookup in GstBin.
10790 Added _data_replace() function and _buffer_replace()
10791 Use finalize method to clean up clock.
10792 Fix refcounting on request pads.
10793 Fix pad schedule mode error.
10794 Some more object refcounting debug info,
10797 2005-05-04 Andy Wingo <wingo@pobox.com>
10799 * check/Makefile.am:
10800 * docs/gst/tmpl/gstatomic.sgml:
10801 * docs/gst/tmpl/gstplugin.sgml:
10802 * gst/base/gstbasesink.c: (gst_basesink_activate):
10803 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10804 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10805 (gst_basesrc_query), (gst_basesrc_set_property),
10806 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10807 (gst_basesrc_activate):
10808 * gst/base/gstbasesrc.h:
10809 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10810 (gst_base_transform_src_activate):
10811 * gst/elements/gstelements.c:
10812 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10813 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10814 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10815 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10816 (gst_type_find_element_checkgetrange),
10817 (gst_type_find_element_activate):
10818 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10819 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10820 (gst_caps_load_thyself):
10821 * gst/gstelement.c: (gst_element_pads_activate),
10822 (gst_element_save_thyself), (gst_element_restore_thyself):
10823 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10824 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10826 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10827 (gst_xml_parse_file), (gst_xml_parse_memory),
10828 (gst_xml_get_element), (gst_xml_make_element):
10829 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10830 (_file_index_id_save_xml), (gst_file_index_commit):
10831 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10832 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10834 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10835 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10836 * tools/gst-complete.c: (main):
10837 * tools/gst-compprep.c: (main):
10838 * tools/gst-inspect.c: (print_element_properties_info):
10839 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10840 * tools/gst-xmlinspect.c: (print_element_properties):
10843 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10845 * gst/gstplugin.c: (gst_plugin_check_module),
10846 (gst_plugin_check_file), (gst_plugin_load_file):
10847 apply patch from #172526 to make register work on MacOSX
10849 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10851 * docs/gst/tmpl/gstconfig.sgml:
10852 * gst/gstconfig.h.in:
10853 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10854 * testsuite/debug/printf_extension.c: (main):
10855 Do not use GST_PTR_FORMAT on pointers to types with
10856 sizeof < sizeof(gpointer). Fixes test on 64-bit
10857 * testsuite/elements/property.h:
10858 use correct printf format
10860 2005-05-02 Wim Taymans <wim@fluendo.com>
10862 * docs/design/draft-push-pull.txt:
10863 * docs/design/draft-query.txt:
10864 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10865 (gst_basesrc_start):
10866 Added draft for new query API.
10867 Added draft for better selecting scheduling methods.
10868 Make basesrc ignore length if the subclass does not support
10871 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10874 possible fixes for automake-1.5 - _LIBADD is reserved
10876 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10878 * docs/faq/Makefile.am:
10879 * docs/manual/Makefile.am:
10880 * docs/manuals.mak:
10881 * docs/pwg/Makefile.am:
10883 possible fixes for automake-1.5
10885 2005-04-28 Wim Taymans <wim@fluendo.com>
10887 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10888 (gst_basesink_pad_getcaps), (gst_basesink_init),
10889 (gst_basesink_do_sync):
10890 * gst/gstclock.c: (gst_clock_entry_new):
10891 * gst/gstevent.c: (gst_event_discont_get_value):
10892 * gst/gstpipeline.c: (pipeline_bus_handler),
10893 (gst_pipeline_change_state):
10894 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10895 Better debugging of clocking info.
10896 Allow NULL values when getting discont values.
10898 2005-04-27 Wim Taymans <wim@fluendo.com>
10900 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10901 * check/gst/gstpad.c: (gst_pad_suite):
10902 Increase timeout for checks.
10904 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10906 * check/Makefile.am:
10907 fix the broken rule for cleanup. Apparently this rule is
10908 only needed on FC2, so maybe this warrants further autotool
10911 2005-04-26 Wim Taymans <wim@fluendo.com>
10913 * gst/gsttrashstack.h:
10914 Ooohh. a nasty one! After having a failed pop() from the stack,
10915 it's possible that the stack is empty. In that case, don't
10916 follow the NULL pointer.
10918 2005-04-25 Wim Taymans <wim@fluendo.com>
10920 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10921 (gst_pad_set_checkgetrange_function),
10922 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10923 (gst_pad_check_pull_range), (gst_pad_pull_range),
10924 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10925 (gst_pad_pause_task), (gst_pad_stop_task):
10926 * gst/gstplugin.c: (gst_plugin_load):
10928 Remove gst_library_load as it does more harm than good with
10929 the new g_module flags.
10930 Revert bogus caps template check in pad linking, pad caps
10931 are important when linking not the template, which is more
10932 general than the current caps.
10934 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10936 * gst/autoplug/.cvsignore:
10937 * gst/autoplug/Makefile.am:
10938 * gst/autoplug/gstsearchfuncs.c:
10939 * gst/autoplug/gstsearchfuncs.h:
10940 * gst/autoplug/gstspider.c:
10941 * gst/autoplug/gstspider.h:
10942 * gst/autoplug/gstspideridentity.c:
10943 * gst/autoplug/gstspideridentity.h:
10944 * gst/autoplug/spidertest.c:
10947 2005-04-25 Wim Taymans <wim@fluendo.com>
10949 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10950 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10951 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10952 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10954 Added stubs for unimplemented functions.
10956 2005-04-24 David Schleef <ds@schleef.org>
10958 * gst/gstpad.h: Disable some unimplemented functions. Wim,
10961 2005-04-24 David Schleef <ds@schleef.org>
10963 Convert everything from GstAtomicInt to g_atomic_int_*, and
10968 * gst/gstatomic_impl.h:
10976 * gst/gstdata_private.h:
10980 * gst/gstmessage.c:
10983 * gst/gststructure.c:
10984 * gst/gststructure.h:
10985 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10988 2005-04-24 David Schleef <ds@schleef.org>
10990 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10991 make the regressions tests work. Remove some code that is no
10993 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10994 Disable warning for pads without templates.
10996 2005-04-24 David Schleef <ds@schleef.org>
10998 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
10999 functions that handle filtered links.
11000 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11002 * gst/gstutils.c: Fix/remove utility functions that handle
11005 * gst/gstvalue.c: Add serialization/deserialization of caps
11006 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11007 requires fixing so that the filter caps notation creates
11008 a capsfilter element and sets the filter_caps property. I
11009 think everyone probably wants to keep the shorthand notation.
11010 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11011 * docs/gst/tmpl/gstpad.sgml:
11013 * gst/elements/gstelements.c: Register capsfilter element.
11014 * gst/Makefile.am: fix spacing
11015 * docs/random/ds/0.9-suggested-changes: random
11017 2005-04-23 David Schleef <ds@schleef.org>
11019 * gst/elements/Makefile.am:
11020 * gst/elements/gstcapsfilter.c: New element that acts like an
11021 identity, but filters caps. Will eventually replace filtered
11022 caps in pad linking.
11023 * gst/gstutils.c: (gst_element_create_all_pads): New function
11024 to create all the ALWAYS pads that are registered with an
11025 element class. This functionality should eventually be
11026 merged in with GstElement initialization.
11028 * testsuite/trigger/README: part of trigger test code that should
11029 have been checked in a long time ago.
11031 2005-04-23 David Schleef <ds@schleef.org>
11033 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11034 needed with new versions of libtool (nobody will confirm this),
11035 and hard to carry around.
11036 * gst/autoplug/Makefile.am:
11037 * gst/base/Makefile.am:
11038 * gst/elements/Makefile.am:
11039 * gst/indexers/Makefile.am:
11040 * gst/schedulers/Makefile.am:
11041 * libs/gst/bytestream/Makefile.am:
11042 * libs/gst/control/Makefile.am:
11043 * libs/gst/dataprotocol/Makefile.am:
11044 * libs/gst/getbits/Makefile.am:
11046 2005-04-21 Wim Taymans <wim@fluendo.com>
11048 * docs/design/draft-push-pull.txt:
11049 * docs/design/part-MT-refcounting.txt:
11050 * docs/design/part-TODO.txt:
11051 * docs/design/part-caps.txt:
11052 * docs/design/part-events.txt:
11053 * docs/design/part-gstbus.txt:
11054 * docs/design/part-gstpipeline.txt:
11055 * docs/design/part-messages.txt:
11056 * docs/design/part-push-pull.txt:
11057 * docs/design/part-query.txt:
11060 2005-04-21 Wim Taymans <wim@fluendo.com>
11062 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11063 (gst_message_new), (gst_message_new_error),
11064 (gst_message_new_warning), (gst_message_new_tag),
11065 (gst_message_new_state_changed), (gst_message_new_application),
11066 (gst_message_get_structure):
11067 * gst/gstmessage.h:
11068 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11069 (gst_structure_copy_conditional):
11070 Use parent refcount in GstMessage to ensure GstStructure
11072 Cleaned up headers a bit.
11075 2005-04-20 Wim Taymans <wim@fluendo.com>
11077 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11078 (gst_basesink_pad_getcaps), (gst_basesink_init),
11079 (gst_basesink_chain_unlocked):
11080 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11081 (gst_type_find_helper):
11082 * gst/elements/gsttypefindelement.c:
11083 (gst_type_find_element_have_type), (gst_type_find_element_init),
11084 (stop_typefinding), (gst_type_find_element_handle_event),
11085 (find_suggest), (gst_type_find_element_chain),
11086 (gst_type_find_element_checkgetrange),
11087 (gst_type_find_element_getrange), (do_typefind),
11088 (gst_type_find_element_activate):
11089 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11090 (gst_buffer_default_free), (gst_buffer_default_copy),
11091 (gst_buffer_set_caps):
11092 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11093 (gst_caps_replace):
11094 * gst/gstmessage.c: (gst_message_new),
11095 (gst_message_new_state_changed):
11096 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11097 (gst_pad_set_checkgetrange_function),
11098 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11099 (gst_pad_set_caps), (gst_pad_check_pull_range),
11100 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11102 * gst/gsttypefind.c: (gst_type_find_register):
11103 Make gst_caps_replace() work like other _replace() functions.
11104 Use _caps_replace() where possible.
11105 Make sure _message_new() initialises its field.
11106 Add gst_static_pad_template_get_caps()
11109 2005-04-18 Andy Wingo <wingo@pobox.com>
11111 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11112 on the peer, not the pad. I think that was a typo. Pass an extra
11113 arg to see if random access is possible. Activate the pads as
11114 PULL_RANGE if possible.
11116 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11118 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11119 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11122 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11124 * docs/faq/using.xml:
11125 Add note on gstreamer-properties (#154996).
11127 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11129 * docs/random/bbb/optional-properties:
11130 Some analysis on optional properties.
11132 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11134 * docs/gst/tmpl/gstelementfactory.sgml:
11135 * gst/gstelement.h:
11136 * gst/gstelementfactory.c: (gst_element_factory_init),
11137 (gst_element_factory_cleanup), (gst_element_register),
11138 (__gst_element_factory_add_static_pad_template),
11139 (gst_element_factory_get_static_pad_templates),
11140 (gst_element_factory_can_src_caps),
11141 (gst_element_factory_can_sink_caps):
11142 * gst/registries/Makefile.am:
11143 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11144 (gst_xml_registry_class_init), (gst_xml_registry_init),
11145 (gst_xml_registry_new), (gst_xml_registry_set_property),
11146 (gst_xml_registry_get_property), (get_time), (make_dir),
11147 (gst_xml_registry_get_perms_func),
11148 (plugin_times_older_than_recurse), (plugin_times_older_than),
11149 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11150 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11151 (add_to_char_array), (read_string), (read_uint), (read_enum),
11152 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11153 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11154 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11155 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11156 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11157 (gst_xml_registry_rebuild):
11158 * gst/registries/gstlibxmlregistry.h:
11159 * tools/gst-compprep.c: (main):
11160 * tools/gst-inspect.c: (print_pad_templates_info):
11161 * tools/gst-xmlinspect.c: (print_element_info):
11162 Use libxml2 for registry parsing, use staticpadtemplates in
11163 elementfactories. Makes gst_init() +/- 10x faster.
11165 2005-04-12 Wim Taymans <wim@fluendo.com>
11167 * gst/base/Makefile.am:
11168 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11169 (gst_basesink_pad_getcaps), (gst_basesink_init),
11170 (gst_basesink_event), (gst_basesink_change_state):
11171 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11172 (gst_basesrc_init), (gst_basesrc_query),
11173 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11174 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11175 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11176 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11177 (gst_basesrc_stop), (gst_basesrc_activate),
11178 (gst_basesrc_change_state):
11179 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11180 (helper_find_suggest), (gst_type_find_helper):
11181 * gst/base/gsttypefindhelper.h:
11182 * gst/elements/Makefile.am:
11183 * gst/elements/gstelements.c:
11184 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11185 (gst_fakesink_get_times), (gst_fakesink_event),
11186 (gst_fakesink_preroll), (gst_fakesink_render):
11187 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11188 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11189 (gst_fakesrc_get_property), (gst_fakesrc_create),
11190 (gst_fakesrc_start), (gst_fakesrc_stop):
11191 * gst/elements/gstfakesrc.h:
11192 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11193 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11194 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11195 (gst_filesrc_create_read), (gst_filesrc_create),
11196 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11197 (gst_filesrc_start):
11198 * gst/elements/gsttypefindelement.c:
11199 (gst_type_find_element_have_type), (gst_type_find_element_init),
11200 (start_typefinding), (stop_typefinding), (push_buffer_store),
11201 (gst_type_find_element_handle_event),
11202 (gst_type_find_element_chain),
11203 (gst_type_find_element_checkgetrange),
11204 (gst_type_find_element_getrange), (do_typefind),
11205 (gst_type_find_element_activate),
11206 (gst_type_find_element_change_state):
11207 * gst/elements/gsttypefindelement.h:
11208 * gst/gstpipeline.c: (pipeline_bus_handler):
11209 Added typefind helper.
11210 Small preroll fix in the base sink.
11211 Disable typefind code in basesrc.
11212 Crude port of typefindelement.
11216 2005-04-11 Wim Taymans <wim@fluendo.com>
11218 * check/gst/gstbus.c: (gstbus_suite):
11219 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11220 * check/gstcheck.h:
11221 Fix up the timeout so that the test does not fail.
11223 2005-04-06 Wim Taymans <wim@fluendo.com>
11226 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11227 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11228 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11229 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11230 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11231 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11232 (gst_basesrc_stop), (gst_basesrc_activate),
11233 (gst_basesrc_change_state), (basesrc_find_peek),
11234 (basesrc_find_suggest), (gst_basesrc_type_find):
11235 * gst/base/gstbasesrc.h:
11236 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11237 (gst_filesrc_class_init), (gst_filesrc_init),
11238 (gst_filesrc_finalize), (gst_filesrc_set_location),
11239 (gst_filesrc_set_property), (gst_filesrc_get_property),
11240 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11241 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11242 (gst_filesrc_create_read), (gst_filesrc_create),
11243 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11244 * gst/elements/gstfilesrc.h:
11245 * gst/gstelement.c: (gst_element_get_state_func),
11246 (gst_element_lost_state), (gst_element_pads_activate):
11247 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11248 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11249 (gst_pad_pull_range):
11251 More work on the generic source base class, implement seeking,
11253 Make filesrc extend the base source class.
11254 Added gst_pad_set_checkgetrange_function to GstPad.
11256 2005-04-06 Andy Wingo <wingo@pobox.com>
11258 * pkgconfig/gstreamer-base.pc.in:
11259 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11261 * pkgconfig/Makefile.am:
11262 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11264 2005-04-04 Wim Taymans <wim@fluendo.com>
11266 * gst/base/Makefile.am:
11268 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11269 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11270 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11271 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11272 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11273 (gst_basesrc_base_init), (gst_basesrc_class_init),
11274 (gst_basesrc_init), (gst_basesrc_get_formats),
11275 (gst_basesrc_get_query_types), (gst_basesrc_query),
11276 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11277 (gst_basesrc_set_property), (gst_basesrc_get_property),
11278 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11279 (gst_basesrc_loop), (gst_basesrc_activate),
11280 (gst_basesrc_change_state):
11281 * gst/base/gstbasesrc.h:
11282 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11283 (gst_fakesrc_class_init), (gst_fakesrc_init),
11284 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11285 (gst_fakesrc_get_property), (gst_fakesrc_create):
11286 * gst/elements/gstfakesrc.h:
11287 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11288 (gst_filesrc_open_file), (gst_filesrc_loop),
11289 (gst_filesrc_activate), (filesrc_find_peek),
11290 (gst_filesrc_type_find):
11291 Made base source class, make fakesrc extend it.
11292 Add comments to basesink class.
11293 Some filesrc cleanup.
11295 2005-03-31 David Schleef <ds@schleef.org>
11297 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11298 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11299 expected to link against libgstreamer.
11300 * gst/base/Makefile.am: link against libgstreamer
11301 * gst/elements/Makefile.am: same
11303 2005-03-31 Andy Wingo <wingo@pobox.com>
11305 * tests/instantiate/Makefile.am:
11306 * tests/instantiate/caps.c: Add test to test speed of caps copy
11309 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11310 GMemChunk to be fair.
11312 * gst/gsttrashstack.h: Remove warning about using the fallback
11313 trash stack implementation, it's still faster than malloc.
11315 2005-03-30 Andy Wingo <wingo@pobox.com>
11317 * tests/complexity.c: Add a copyright.
11319 2005-03-31 Wim Taymans <wim@fluendo.com>
11321 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11322 (gst_base_transform_class_init), (gst_base_transform_init),
11323 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11324 (gst_base_transform_get_property),
11325 (gst_base_transform_sink_activate),
11326 (gst_base_transform_src_activate),
11327 (gst_base_transform_change_state):
11328 * gst/base/gstbasetransform.h:
11329 * gst/elements/gstidentity.c: (gst_identity_class_init),
11330 (gst_identity_event), (gst_identity_check_perfect),
11331 (gst_identity_transform), (gst_identity_start),
11332 (gst_identity_stop):
11333 Added start/stop methods to transform base class so subclasses
11334 don't need to deal with state changes even.
11336 2005-03-31 Wim Taymans <wim@fluendo.com>
11338 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11339 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11341 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11342 (gst_pad_pull_range):
11343 Added rate to the discont event to prepare for variable speed
11344 and reverse playback.
11346 2005-03-29 David Schleef <ds@schleef.org>
11349 * testsuite/trigger/Makefile.am:
11350 * testsuite/trigger/trigger.c: A little example program to show
11351 how trigger-based elements can work.
11353 2005-03-29 Wim Taymans <wim@fluendo.com>
11355 * gst/base/Makefile.am:
11357 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11358 (gst_basesink_base_init), (gst_basesink_class_init),
11359 (gst_basesink_pad_getcaps), (gst_basesink_init),
11360 (gst_basesink_activate), (gst_basesink_change_state):
11361 * gst/base/gstbasesink.h:
11362 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11363 (gst_base_transform_base_init), (gst_base_transform_finalize),
11364 (gst_base_transform_class_init), (gst_base_transform_init),
11365 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11366 (gst_base_transform_event), (gst_base_transform_getrange),
11367 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11368 (gst_base_transform_set_property),
11369 (gst_base_transform_get_property),
11370 (gst_base_transform_sink_activate),
11371 (gst_base_transform_src_activate),
11372 (gst_base_transform_change_state):
11373 * gst/base/gstbasetransform.h:
11374 * gst/elements/gstidentity.c: (gst_identity_finalize),
11375 (gst_identity_class_init), (gst_identity_init),
11376 (gst_identity_event), (gst_identity_check_perfect),
11377 (gst_identity_transform), (gst_identity_set_property),
11378 (gst_identity_get_property), (gst_identity_change_state):
11379 * gst/elements/gstidentity.h:
11380 * gst/gstelement.c: (gst_element_get_state_func),
11381 (gst_element_lost_state), (gst_element_pads_activate):
11382 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11383 (gst_pad_check_pull_range), (gst_pad_pull_range):
11385 Simplify pad activation.
11386 Added function to check if pull_range can be performed.
11387 Error out when pulling inactive or flushing pads.
11388 Removed const from refcounted types as it does not make sense.
11389 Simplify pad templates in basesink
11390 Added base class for simple 1-to-1 transforms.
11391 Make identity subclass the base transform.
11393 2005-03-29 Andy Wingo <wingo@pobox.com>
11395 * docs/libs/gstreamer-libs-overrides.txt:
11396 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11397 really don't understand what's going on, but like whatever. I want
11400 * docs/gst/Makefile.am:
11401 * docs/libs/Makefile.am: Dist the overrides files.
11403 * check/Makefile.am (clean-local): Remove .libs directories.
11405 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11406 elements to EXTRA_DIST, so po/ files are happy.
11408 * po/POTFILES.in: Er, remove it here.
11410 * po/POTFILES: Remove gstspider.c.
11412 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11414 * docs/libs/gstreamer-libs-docs.sgml:
11415 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11418 * tests/complexity.c (main): Set the length of the preroll queue
11419 on the sinks to prevent a lockup.
11421 * libs/gst/dataprotocol/Makefile.am:
11422 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11423 the same as the one in check/gst-libs/gdp.c.
11425 * po/, docs/gst/: Commit automatic changes to docs and po files.
11427 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11428 the versioned libgstbase.
11430 * check/Makefile.am: Depend on an unversioned gst-register, seems
11431 to make autoconf happier.
11433 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11435 2005-03-28 Wim Taymans <wim@fluendo.com>
11438 * docs/design/part-gstelement.txt:
11439 * docs/design/part-negotiation.txt:
11440 * docs/design/part-preroll.txt:
11441 * docs/design/part-scheduling.txt:
11442 * docs/design/part-states.txt:
11444 * gst/base/Makefile.am:
11446 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11447 (gst_basesink_base_init), (gst_basesink_class_init),
11448 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11449 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11450 (gst_basesink_set_pad_functions),
11451 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11452 (gst_basesink_set_property), (gst_basesink_get_property),
11453 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11454 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11455 (gst_basesink_preroll_queue_push),
11456 (gst_basesink_preroll_queue_empty),
11457 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11458 (gst_basesink_event), (gst_basesink_get_times),
11459 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11460 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11461 (gst_basesink_loop), (gst_basesink_activate),
11462 (gst_basesink_change_state):
11463 * gst/base/gstbasesink.h:
11464 * gst/elements/Makefile.am:
11465 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11466 (gst_fakesink_class_init), (gst_fakesink_init),
11467 (gst_fakesink_set_property), (gst_fakesink_get_property),
11468 (gst_fakesink_get_times), (gst_fakesink_event),
11469 (gst_fakesink_preroll), (gst_fakesink_render),
11470 (gst_fakesink_change_state):
11471 * gst/elements/gstfakesink.h:
11472 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11473 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11474 * gst/gstelement.c: (gst_element_add_pad),
11475 (gst_element_get_state_func), (gst_element_abort_state),
11476 (gst_element_commit_state), (gst_element_lost_state),
11477 (gst_element_set_state), (gst_element_pads_activate):
11478 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11479 * gst/gstpipeline.c: (gst_pipeline_send_event),
11480 (gst_pipeline_change_state):
11481 Added state change code.
11482 Added/updated docs.
11483 Added sink base class, make fakesink extend the base class.
11484 Small cleanups in GstPipeline.
11486 2005-03-26 David Schleef <ds@schleef.org>
11488 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11489 is broken and should be implemented in a different library.
11490 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11491 * gst/gst.h: remove gstcpu.h
11492 * gst/gstcpu.c: remove
11493 * gst/gstcpu.h: remove
11494 * gst/Makefile.am.future: Remove this file. It's ancient.
11496 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11498 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11499 (gst_bin_send_event):
11500 Add default event/set_manager handlers. The set_manager handler
11501 takes care that the manager is distributed over kids that were
11502 already in the bin before the manager was set. The event handler
11503 is a utility virtual function that sends the event over all sinks,
11504 so that gst_element_send_event (bin, event); has the expected
11506 * gst/gstpad.c: (gst_pad_event_default):
11507 Re-install default event handling for discontinuities, so that
11508 seeking works without requiring hacks in applications or extra
11510 * gst/gstpipeline.c: (gst_pipeline_class_init),
11511 (gst_pipeline_send_event):
11512 Half hack, half utility: set a pipeline to PAUSED for seek events,
11513 since that is the only way we can guarantee a/v sync. Means that
11514 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11515 and it "just works".
11517 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11519 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11520 Lock/unlock mismatch.
11522 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11524 * docs/faq/gst-uninstalled:
11525 add gst-plugins-base
11526 * docs/gst/Makefile.am:
11527 don't error out until docs are fixed
11528 * docs/gst/gstreamer.types:
11531 2005-03-22 Wim Taymans <wim@fluendo.com>
11533 * check/Makefile.am:
11534 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11535 * gst/gststructure.c: (gst_structure_set_valist),
11536 (gst_structure_copy_conditional):
11537 Activated more tests.
11538 Added message test.
11539 Added G_TYPE_POINTER to GstStructure.
11542 2005-03-22 Wim Taymans <wim@fluendo.com>
11544 * docs/design/part-TODO.txt:
11545 * docs/design/part-events.txt:
11546 * docs/design/part-gstbin.txt:
11547 * docs/design/part-gstbus.txt:
11548 * docs/design/part-gstpipeline.txt:
11549 * docs/design/part-messages.txt:
11551 * gst/gstmessage.c:
11554 2005-03-21 Wim Taymans <wim@fluendo.com>
11556 * gst/gstbus.c: (gst_bus_post):
11557 Fix copy-and-paste error.
11559 2005-03-21 Wim Taymans <wim@fluendo.com>
11561 * check/Makefile.am:
11563 * gst/elements/Makefile.am:
11564 * gst/elements/gstelements.c:
11565 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11566 (gst_fakesink_event), (gst_fakesink_chain):
11567 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11568 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11569 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11570 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11571 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11572 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11573 (gst_fakesrc_loop), (gst_fakesrc_activate),
11574 (gst_fakesrc_change_state):
11575 * gst/elements/gstfakesrc.h:
11576 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11577 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11578 (gst_filesrc_open_file), (gst_filesrc_loop),
11579 (gst_filesrc_activate), (gst_filesrc_change_state),
11580 (filesrc_find_peek), (filesrc_find_suggest),
11581 (gst_filesrc_type_find):
11582 * gst/elements/gstidentity.c: (gst_identity_finalize),
11583 (gst_identity_class_init), (gst_identity_init),
11584 (gst_identity_proxy_getcaps), (identity_queue_push),
11585 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11586 (gst_identity_getrange), (gst_identity_chain),
11587 (gst_identity_sink_loop), (gst_identity_src_loop),
11588 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11589 (gst_identity_set_property), (gst_identity_get_property),
11590 (gst_identity_change_state):
11591 * gst/elements/gstidentity.h:
11592 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11593 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11594 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11595 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11596 (gst_tee_sink_activate):
11597 * gst/elements/gsttee.h:
11598 * gst/gst.c: (gst_register_core_elements), (init_post):
11600 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11601 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11602 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11603 (gst_bin_change_state):
11605 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11606 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11607 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11608 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11609 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11610 (bus_watch_callback), (bus_watch_destroy),
11611 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11612 (poll_timeout), (gst_bus_poll):
11616 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11617 (gst_element_post_message), (gst_element_message_full),
11618 (gst_element_get_state_func), (gst_element_get_state),
11619 (gst_element_abort_state), (gst_element_commit_state),
11620 (gst_element_lost_state), (gst_element_set_state),
11621 (gst_element_pads_activate), (gst_element_change_state),
11622 (gst_element_dispose), (gst_element_set_manager_func),
11623 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11624 (gst_element_set_manager), (gst_element_get_manager),
11625 (gst_element_set_bus), (gst_element_get_bus),
11626 (gst_element_set_scheduler), (gst_element_get_scheduler):
11627 * gst/gstelement.h:
11628 * gst/gstevent.c: (gst_event_new_segment_seek),
11629 (gst_event_new_flush):
11631 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11632 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11633 (gst_message_new_eos), (gst_message_new_error),
11634 (gst_message_new_warning), (gst_message_new_tag),
11635 (gst_message_new_state_changed), (gst_message_new_application),
11636 (gst_message_get_structure), (gst_message_parse_tag),
11637 (gst_message_parse_state_changed), (gst_message_parse_error),
11638 (gst_message_parse_warning):
11639 * gst/gstmessage.h:
11640 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11641 (gst_real_pad_set_property), (gst_pad_set_active),
11642 (gst_pad_is_active), (gst_pad_set_blocked_async),
11643 (gst_pad_set_blocked), (gst_pad_is_blocked),
11644 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11645 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11646 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11647 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11648 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11649 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11650 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11651 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11652 (gst_pad_set_caps), (gst_pad_configure_sink),
11653 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11654 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11655 (gst_real_pad_dispose), (gst_real_pad_finalize),
11656 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11657 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11658 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11660 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11661 (pipeline_bus_handler), (gst_pipeline_change_state),
11662 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11663 * gst/gstpipeline.h:
11665 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11666 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11667 (gst_queue_link_src), (gst_queue_bufferalloc),
11668 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11669 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11670 (gst_queue_loop), (gst_queue_handle_src_event),
11671 (gst_queue_handle_src_query), (gst_queue_src_activate),
11672 (gst_queue_change_state):
11674 * gst/gstscheduler.c: (gst_scheduler_init),
11675 (gst_scheduler_dispose), (gst_scheduler_create_task),
11676 (gst_scheduler_factory_create):
11677 * gst/gstscheduler.h:
11678 * gst/gststructure.c: (gst_structure_get_type),
11679 (gst_structure_copy_conditional):
11680 * gst/gststructure.h:
11681 * gst/gsttaginterface.h:
11682 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11683 (gst_task_init), (gst_task_dispose), (gst_task_create),
11684 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11690 * gst/schedulers/Makefile.am:
11691 * gst/schedulers/cothreads_compat.h:
11692 * gst/schedulers/entryscheduler.c:
11693 * gst/schedulers/faircothreads.c:
11694 * gst/schedulers/faircothreads.h:
11695 * gst/schedulers/fairscheduler.c:
11696 * gst/schedulers/gstbasicscheduler.c:
11697 * gst/schedulers/gstoptimalscheduler.c:
11698 * gst/schedulers/gthread-cothreads.h:
11699 * gst/schedulers/threadscheduler.c:
11700 (gst_thread_scheduler_task_get_type),
11701 (gst_thread_scheduler_task_class_init),
11702 (gst_thread_scheduler_task_init),
11703 (gst_thread_scheduler_task_start),
11704 (gst_thread_scheduler_task_stop),
11705 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11706 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11707 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11708 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11710 * libs/gst/Makefile.am:
11711 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11712 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11713 (gst_file_pad_parent_set):
11714 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11715 (gst_dp_event_from_packet):
11716 * tests/complexity.c: (main):
11717 * tests/mass_elements.c: (main):
11718 * testsuite/states/locked.c: (message_received), (main):
11719 * testsuite/states/parent.c: (main):
11720 * tools/gst-inspect.c: (print_element_flag_info),
11721 (print_implementation_info), (print_pad_info):
11722 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11724 * tools/gst-md5sum.c: (event_loop), (main):
11725 * tools/gst-typefind.c: (main):
11726 * tools/gst-xmlinspect.c: (print_element_info):
11728 Added GstBus for mainloop integration.
11729 Added GstMessage for sending notifications on the bus.
11730 Added GstTask as an abstraction for pipeline entry points.
11732 Removed Schedulers.
11733 Simplified GstQueue for multithreaded core.
11734 Made _link threadsafe, removed old capsnego.
11735 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11736 Added pad blocking functions.
11737 Reworked scheduling functions in GstPad to prepare for
11738 scheduling updates soon.
11739 Moved events out of data stream.
11740 Simplified GstEvent types.
11741 Added return values to push/pull.
11742 Removed clocking from GstElement.
11743 Added prototypes for state change function for next merge.
11744 Removed iterate from bins and state change management.
11745 Fixed some elements, disabled others for now.
11746 Fixed -inspect and -launch.
11747 Added check for GstBus.
11749 2005-03-10 Wim Taymans <wim@fluendo.com>
11751 * docs/design/part-MT-refcounting.txt:
11752 * docs/design/part-clocks.txt:
11753 * docs/design/part-gstelement.txt:
11754 * docs/design/part-gstobject.txt:
11755 * docs/design/part-standards.txt:
11756 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11757 (gst_bin_remove_func), (gst_bin_remove):
11761 * testsuite/clock/clock1.c: (main):
11762 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11764 * testsuite/dlopen/loadgst.c: (do_test):
11765 * testsuite/refcounting/bin.c: (add_remove_test1),
11766 (add_remove_test2), (main):
11767 * testsuite/refcounting/element.c: (main):
11768 * testsuite/refcounting/element_pad.c: (main):
11769 * testsuite/refcounting/pad.c: (main):
11770 * tools/gst-launch.c: (sigint_handler_sighandler):
11771 * tools/gst-typefind.c: (main):
11773 Added doc about clock.
11774 removed gst_bin_iterate_recurse_up(), marked methods
11776 Fix more testsuites.
11778 2005-03-09 Wim Taymans <wim@fluendo.com>
11780 * gst/gstpad.c: (gst_pad_get_direction),
11781 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11782 (gst_pad_collect_valist):
11783 * testsuite/bins/interface.c: (main):
11784 * testsuite/caps/audioscale.c: (test_caps):
11785 * testsuite/caps/caps.c: (test1), (test2), (test3):
11786 * testsuite/caps/deserialize.c: (main):
11787 * testsuite/caps/enumcaps.c: (main):
11788 * testsuite/caps/filtercaps.c: (main):
11789 * testsuite/caps/intersect2.c: (main):
11790 * testsuite/caps/random.c: (main):
11791 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11792 * testsuite/caps/sets.c: (check_caps):
11793 * testsuite/caps/simplify.c: (check_caps), (main):
11794 * testsuite/caps/subtract.c: (check_caps):
11795 Fix _pad_get_direction wrt ghostpads.
11796 Fix caps testsuite.
11798 2005-03-09 Wim Taymans <wim@fluendo.com>
11800 * check/Makefile.am:
11801 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11802 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11803 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11804 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11805 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11806 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11807 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11808 (bin_element_is_sink), (gst_bin_iterate_sinks),
11809 (gst_bin_iterate_all_by_interface):
11811 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11812 (gst_element_change_state), (gst_element_dispose),
11813 (gst_element_finalize), (gst_element_set_loop_function):
11814 * gst/gstelement.h:
11815 * gst/gstiterator.c: (find_custom_fold_func):
11816 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11817 (gst_pad_collectv), (gst_pad_collect_valist),
11818 (gst_pad_template_new):
11819 * gst/gstpipeline.c: (gst_pipeline_class_init),
11820 (gst_pipeline_dispose), (gst_pipeline_set_property),
11821 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11822 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11823 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11825 * gst/schedulers/entryscheduler.c:
11826 * gst/schedulers/gstbasicscheduler.c:
11827 (gst_basic_scheduler_cothreaded_chain),
11828 (gst_basic_scheduler_chain_add_element):
11829 * testsuite/bins/interface.c: (main):
11831 Added GstSystemClock test.
11832 Implemented clock distribution code in GstBin.
11833 Implemented iterate sinks method for future use.
11834 Rearranged gstelement.h
11835 Fix GstIterator comparison bug.
11836 Moved some code to GstPipeline, mostly clocking related.
11838 2005-03-09 Wim Taymans <wim@fluendo.com>
11841 * gst/gst_private.h:
11842 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11843 (gst_bin_remove_func), (gst_bin_remove),
11844 (gst_bin_get_by_name_recurse_up):
11845 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11846 (gst_clock_id_compare_func), (gst_clock_id_wait),
11847 (gst_clock_id_wait_async), (gst_clock_init),
11848 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11849 * gst/gstelement.h:
11850 * gst/gstinfo.c: (_gst_debug_init):
11852 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11853 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11855 Bump version number, we're now 0.9.0
11856 Add future debugging category.
11857 Fix NULL _unref() in _get_by_name_recurse_up
11858 Rearrange gstpad.h.
11861 2005-03-08 Wim Taymans <wim@fluendo.com>
11863 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11864 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11865 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11866 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11867 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11868 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11869 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11870 * gst/elements/gstidentity.c: (gst_identity_class_init):
11871 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11872 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11873 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11874 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11875 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11877 * gst/gstelement.c: (gst_element_class_init),
11878 (gst_element_base_class_init), (gst_element_init),
11879 (gst_element_get_random_pad), (gst_element_wait_state_change),
11880 (gst_element_change_state), (gst_element_dispose),
11881 (gst_element_finalize), (gst_element_set_loop_function):
11882 * gst/gstelement.h:
11883 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11884 * gst/gstthread.c: (gst_thread_class_init),
11885 (gst_thread_release_children_locks), (gst_thread_change_state):
11886 * gst/schedulers/gstbasicscheduler.c:
11887 (gst_basic_scheduler_loopfunc_wrapper),
11888 (gst_basic_scheduler_chain_wrapper),
11889 (gst_basic_scheduler_src_wrapper),
11890 (gst_basic_scheduler_remove_element):
11891 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11892 Remove threadsafe properties. Fix elements because GObject
11893 complains when installing a property before declaring a
11894 set/get_property handler.
11895 Rearrange gstelement.h file, use STATE macros for state locks.
11896 Free mutexes in the finalize method instead of dispose.
11898 2005-03-08 Wim Taymans <wim@fluendo.com>
11900 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11901 * gst/gstthread.c: (gst_thread_release_children_locks):
11902 Added parentage check.
11903 Fix build og GstThread again.
11905 2005-03-08 Wim Taymans <wim@fluendo.com>
11907 * docs/design/part-MT-refcounting.txt:
11908 * docs/design/part-conventions.txt:
11909 * docs/design/part-gstobject.txt:
11910 * docs/design/part-relations.txt:
11911 * docs/design/part-standards.txt:
11912 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11913 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11914 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11915 (gst_bin_iterate_all_by_interface):
11918 * gst/gstelement.c: (gst_element_class_init),
11919 (gst_element_change_state), (gst_element_set_loop_function):
11920 * gst/gstelement.h:
11921 * gst/gstiterator.c:
11922 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11923 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11924 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11925 (gst_object_set_parent), (gst_object_unparent),
11926 (gst_object_check_uniqueness):
11928 Docs updates, clean up some headers.
11930 2005-03-07 Wim Taymans <wim@fluendo.com>
11932 * check/.cvsignore:
11933 * check/Makefile.am:
11934 * check/gst-libs/.cvsignore:
11935 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11936 * check/gst/.cvsignore:
11937 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11938 (START_TEST), (gstbus_suite), (main):
11939 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11940 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11941 (gst_data_suite), (main):
11942 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11943 (add_fold_func), (gstiterator_suite), (main):
11944 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11945 (thread_name_object), (thread_name_object_default),
11946 (gst_object_name_compare), (gst_object_suite), (main):
11947 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11948 (gst_pad_suite), (main):
11949 * check/gstcheck.c: (gst_check_log_message_func),
11950 (gst_check_log_critical_func), (gst_check_init):
11951 * check/gstcheck.h:
11952 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11953 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11956 2005-03-07 Wim Taymans <wim@fluendo.com>
11958 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11959 (gst_list_iterator_next), (gst_list_iterator_resync),
11960 (gst_list_iterator_free), (gst_iterator_new_list),
11961 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11962 (gst_iterator_free), (gst_iterator_push), (filter_next),
11963 (filter_resync), (filter_uninit), (filter_free),
11964 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11965 (gst_iterator_foreach), (find_custom_fold_func),
11966 (gst_iterator_find_custom):
11967 * gst/gstiterator.h:
11968 Added missing files.
11970 2005-03-07 Wim Taymans <wim@fluendo.com>
11974 * docs/design/part-MT-refcounting.txt:
11975 * docs/design/part-conventions.txt:
11976 * docs/design/part-gstobject.txt:
11977 * docs/design/part-relations.txt:
11978 * examples/mixer/mixer.c: (main):
11979 * examples/thread/thread.c: (eos), (main):
11981 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11982 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11983 (gst_spider_plug_from_srcpad):
11984 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11985 (gst_spider_identity_change_state),
11986 (gst_spider_identity_sink_loop_type_finding):
11987 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11988 * gst/elements/gstidentity.c: (gst_identity_init):
11989 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11990 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11991 * gst/elements/gsttypefindelement.c: (free_entry):
11994 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11995 (gst_bin_set_clock_func), (gst_bin_auto_clock),
11996 (gst_bin_set_index), (gst_bin_set_element_sched),
11997 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11998 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11999 (gst_bin_iterate_elements), (iterate_child_recurse),
12000 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12001 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12002 (compare_interface), (gst_bin_get_by_interface),
12003 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12005 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12006 (gst_buffer_default_free), (gst_buffer_default_copy),
12007 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12008 (gst_buffer_create_sub):
12010 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12011 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12012 (gst_caps_unref), (gst_static_caps_get),
12013 (gst_caps_remove_and_get_structure), (gst_caps_append),
12014 (gst_caps_append_structure), (gst_caps_remove_structure),
12015 (gst_caps_copy_nth), (gst_caps_set_simple),
12016 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12017 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12018 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12019 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12020 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12021 (gst_caps_structure_figure_out_union),
12022 (gst_caps_switch_structures), (gst_caps_do_simplify),
12023 (gst_caps_replace), (gst_caps_from_string),
12024 (gst_caps_copy_conditional):
12026 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12027 (_gst_clock_id_free), (gst_clock_id_unref),
12028 (gst_clock_id_compare_func), (gst_clock_id_wait),
12029 (gst_clock_id_wait_async), (gst_clock_class_init),
12030 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12031 (gst_clock_get_time), (gst_clock_set_time_adjust),
12032 (gst_clock_set_property), (gst_clock_get_property):
12035 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12036 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12038 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12039 (gst_element_requires_clock), (gst_element_provides_clock),
12040 (gst_element_set_clock), (gst_element_clock_wait),
12041 (gst_element_wait), (gst_element_set_time_delay),
12042 (gst_element_is_indexable), (gst_element_add_pad),
12043 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12044 (pad_compare_name), (gst_element_get_static_pad),
12045 (gst_element_request_pad), (gst_element_get_request_pad),
12046 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12047 (gst_element_class_get_pad_template_list),
12048 (gst_element_class_get_pad_template), (gst_element_error_func),
12049 (gst_element_get_random_pad), (gst_element_get_event_masks),
12050 (gst_element_send_event), (gst_element_seek),
12051 (gst_element_get_query_types), (gst_element_query),
12052 (gst_element_get_formats), (gst_element_convert),
12053 (gst_element_is_locked_state), (gst_element_set_locked_state),
12054 (gst_element_sync_state_with_parent), (gst_element_change_state),
12055 (gst_element_finalize), (gst_element_yield),
12056 (gst_element_interrupt), (gst_element_set_scheduler),
12057 (gst_element_get_scheduler), (gst_element_set_loop_function):
12058 * gst/gstelement.h:
12060 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12061 (gst_format_get_by_nick), (gst_format_get_details),
12062 (gst_format_iterate_definitions):
12064 * gst/gstindex.c: (gst_index_gtype_resolver):
12067 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12068 (gst_mem_chunk_free):
12069 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12070 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12071 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12072 (gst_object_dispatch_properties_changed),
12073 (gst_object_set_name_default), (gst_object_set_name),
12074 (gst_object_get_name), (gst_object_set_name_prefix),
12075 (gst_object_get_name_prefix), (gst_object_set_parent),
12076 (gst_object_get_parent), (gst_object_unparent),
12077 (gst_object_check_uniqueness), (gst_object_save_thyself),
12078 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12079 (gst_object_set_property), (gst_object_get_property),
12080 (gst_object_get_path_string):
12082 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12083 (gst_real_pad_init), (gst_real_pad_get_property),
12084 (gst_pad_custom_new), (gst_pad_get_direction),
12085 (gst_pad_set_active), (gst_pad_is_active),
12086 (gst_pad_set_event_function), (gst_pad_is_linked),
12087 (gst_pad_link_free), (gst_pad_link_intersect),
12088 (gst_pad_link_fixate), (gst_pad_set_caps),
12089 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12090 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12091 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12092 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12093 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12094 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12095 (gst_pad_realize), (gst_pad_get_allowed_caps),
12096 (gst_real_pad_dispose), (gst_real_pad_finalize),
12097 (gst_pad_collectv), (gst_pad_collect_valist),
12098 (gst_pad_template_dispose), (gst_pad_template_new),
12099 (gst_pad_get_internal_links):
12101 * gst/gstpipeline.c: (gst_pipeline_dispose),
12102 (gst_pipeline_change_state):
12103 * gst/gstpipeline.h:
12105 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12106 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12107 * gst/gstpluginfeature.h:
12108 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12109 * gst/gstquery.c: (_gst_query_type_initialize),
12110 (gst_query_type_register), (gst_query_type_get_by_nick),
12111 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12113 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12114 * gst/gstscheduler.c: (gst_scheduler_add_element),
12115 (gst_scheduler_factory_create):
12116 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12117 (gst_structure_free), (gst_structure_set_name),
12118 (gst_structure_id_set_value), (gst_structure_set_value),
12119 (gst_structure_set_valist), (gst_structure_remove_field),
12120 (gst_structure_remove_fields),
12121 (gst_structure_remove_fields_valist),
12122 (gst_structure_remove_all_fields), (gst_structure_foreach),
12123 (gst_structure_map_in_place),
12124 (gst_caps_structure_fixate_field_nearest_int),
12125 (gst_caps_structure_fixate_field_nearest_double):
12126 * gst/gststructure.h:
12127 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12128 (gst_system_clock_init), (gst_system_clock_dispose),
12129 (gst_system_clock_async_thread),
12130 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12131 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12132 * gst/gstsystemclock.h:
12133 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12134 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12135 * gst/gsttaginterface.c:
12136 * gst/gstthread.c: (gst_thread_dispose),
12137 (gst_thread_release_children_locks), (gst_thread_change_state),
12138 (gst_thread_main_loop):
12139 * gst/gsttrashstack.h:
12140 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12142 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12143 (gst_element_request_pad), (gst_element_get_pad_from_template),
12144 (gst_element_request_compatible_pad),
12145 (gst_element_get_compatible_pad_filtered),
12146 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12147 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12148 (gst_element_link_many), (gst_element_link),
12149 (gst_element_link_pads), (gst_element_unlink_pads),
12150 (gst_element_unlink_many), (gst_element_unlink),
12151 (gst_pad_can_link_filtered), (gst_pad_can_link),
12152 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12153 (gst_object_default_error), (gst_bin_add_many),
12154 (gst_bin_remove_many), (gst_element_populate_std_props),
12155 (gst_element_class_install_std_props), (gst_buffer_merge),
12156 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12157 (link_fold_func), (gst_pad_proxy_setcaps):
12159 * gst/gstvalue.c: (gst_value_deserialize_string):
12160 * gst/parse/grammar.y:
12161 * gst/schedulers/gstbasicscheduler.c:
12162 (gst_basic_scheduler_cothreaded_chain),
12163 (gst_basic_scheduler_chain_recursive_add),
12164 (gst_basic_scheduler_pad_link):
12165 * gst/schedulers/gstoptimalscheduler.c:
12166 (get_group_schedule_function),
12167 (gst_opt_scheduler_state_transition),
12168 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12169 * libs/gst/bytestream/bytestream.c:
12170 * libs/gst/dataprotocol/dataprotocol.c:
12171 (gst_dp_header_from_buffer):
12174 * tests/threadstate/threadstate2.c: (eos):
12175 * tools/gst-compprep.c: (main):
12176 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12177 (print_pad_info), (print_children_info):
12178 * tools/gst-launch.c: (idle_func), (main):
12179 * tools/gst-md5sum.c: (idle_func), (main):
12180 * tools/gst-xmlinspect.c: (print_element_info):
12181 First THREADED backport attempt, focusing on adding locks and
12182 making sure the API is threadsafe. Needs more work. More docs
12185 2005-02-24 Andy Wingo <wingo@pobox.com>
12187 * tests/bench-complexity.scm:
12188 * tests/complexity.gnuplot: New files, good for running complexity
12191 * tests/Makefile.am:
12192 * tests/complexity.c: New test, sets up N elements, at each level
12193 teeing into M streams per element. Eeeenteresting.
12195 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12196 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12197 running bench-mass_elements.scm.
12199 * tests/bench-mass_elements.scm: New script, runs mass_elements
12200 for various numbers of identities, outputting the results to a
12201 file. Requires guile 1.6. Just for testing.
12203 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12205 * gst/schedulers/fairscheduler.c:
12206 compile with debug disabled
12208 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12211 hunting season on 0.9 is now OPEN