1 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3 * docs/gst/gstreamer-sections.txt:
4 Add gst_query_new_seeking and gst_query_parse_seeking to the
7 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10 Treat a pad alloc with new caps the same as if we were not
11 negotiated, in order to allow a changing upstream output
12 to produce a new format of data.
14 2005-11-29 Edward Hervey <edward@fluendo.com>
16 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17 (gst_base_transform_event), (gst_base_transform_eventfunc):
18 The event virtual method is now properly implemented, with a default
20 Sub classes should call the parent_class event method. They should
21 return FALSE if they had a problem handling the given event, or don't
22 want GstBaseTransform to send that even downstream
23 * gst/elements/gstidentity.c: (gst_identity_class_init),
24 (gst_identity_init), (gst_identity_event),
25 (gst_identity_transform_ip), (gst_identity_set_property),
26 (gst_identity_get_property):
27 * gst/elements/gstidentity.h:
28 Added the single-segment boolean property.
29 If set to TRUE, it will output a single segment of data, starting from
30 0, will eat up all incoming newsegment, and modify the timestamp of the
33 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
35 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
36 Don't ref NULL target pad (#322751). Improve docs.
38 2005-11-29 Michael Smith <msmith@fluendo.com>
40 * gst/gstregistryxml.c: (load_plugin):
41 Don't crash if we failed to load a feature from a plugin.
43 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
45 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
47 use more check API and less GLib API
49 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
52 don't run checks if we don't have check
54 remove the registry when running make torture
55 * docs/gst/gstreamer-sections.txt:
56 remove second multiply
57 * gst/gstqueue.c: (gst_queue_loop):
58 fix a compile warning when disabling debug
60 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
63 Hey! Let's print the pad name if the pointer != NULL instead
64 of when it == NULL :-)
66 2005-11-28 Wim Taymans <wim@fluendo.com>
68 * check/gst/gstutils.c: (GST_START_TEST):
69 Updated check, add some scaling accuracy checking code.
71 * gst/gstutils.c: (gst_util_div128_64),
72 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
73 (gst_util_uint64_scale_int):
74 Fix 6 times faster division code. Optimize for common
75 1/1 and less common X/1 cases.
77 2005-11-28 Wim Taymans <wim@fluendo.com>
79 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
82 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
83 (do_linear_regression), (gst_clock_add_observation):
85 Release lock when the clock cannot be slaved.
86 Catch the case where the regression returned an invalid denominator.
88 * gst/gstutils.c: (gst_util_div128_64_iterate),
89 (gst_util_div128_64), (gst_util_uint64_scale_int64),
90 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
91 Add protentially more performant non-iterative 128/64 divide function
92 that unfortunatly does not work yet.
93 Shortcut the trivial 0/X = 0 case.
94 Remove the warnings on overflow.
96 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
98 * gst/gstplugin.c: (gst_plugin_register_func):
99 everything causing a plugin not to load should be at least a WARNING
101 2005-11-28 Stefan Kost <ensonic@users.sf.net>
103 * docs/random/ensonic/dparams.txt:
104 some TODOs for the next dev cycle
105 * libs/gst/controller/gstcontroller.c:
106 (gst_controlled_property_set_interpolation_mode),
107 (gst_controlled_property_new):
108 * libs/gst/controller/gstcontroller.h:
109 use base type to assign acccessor functions
111 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
114 Oops, that should have been top_srcdir
116 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
119 * check/elements/fdsrc.c: (GST_START_TEST):
120 Use a cmdline define to specify the location of a file to use for
121 testing, to avoid breaking distcheck.
123 2005-11-28 Andy Wingo <wingo@pobox.com>
125 * gst/gstpad.c (fixate_value): Use array functions for arrays.
127 2005-11-28 Edward Hervey <edward@fluendo.com>
129 * tools/gst-launch.c: (main):
130 Clarify the output strings, makes it easier to translate.
133 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
136 don't try and build net if we don't even have <sys/socket.h>
138 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
141 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
142 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
143 Add tests for fdsrc seekability
145 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
146 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
147 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
148 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
149 * gst/elements/gstfdsrc.h:
150 fdsrc should not be a 'live' source.
151 Implement seeking on seekable fd's.
153 * gst/gstquery.c: (gst_query_new_seeking),
154 (gst_query_parse_seeking):
156 Implement SEEKING query functions:
157 *_new_seeking and *_parse_seeking
159 2005-11-27 Stefan Kost <ensonic@users.sf.net>
161 * gst/gstelement.c: (gst_element_dispose):
165 * gst/gststructure.c:
168 * libs/gst/controller/gstcontroller.c:
169 (gst_controlled_property_set_interpolation_mode):
170 * libs/gst/controller/gstcontroller.h:
171 * libs/gst/controller/gstinterpolation.c:
172 (interpolate_none_get_enum_value_array):
173 support controlling enums
175 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
178 Improve documentation for gst_value_union().
181 Change return value for union, intersect and subtract functions
182 from gint to gboolean.
184 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
186 * gst/gstvalue.c: (gst_value_serialize_any_list),
187 (gst_value_transform_any_list_string),
188 (gst_value_deserialize_list), (gst_value_deserialize_array),
189 (gst_value_set_int_range), (gst_value_deserialize_int_range),
190 (gst_value_set_double_range), (gst_value_deserialize_double_range),
191 (gst_value_set_fraction_range_full),
192 (gst_value_deserialize_fraction_range),
193 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
194 (gst_value_deserialize_boolean),
195 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
196 (gst_value_serialize_float), (gst_value_deserialize_float),
197 (gst_string_wrap), (gst_value_deserialize_string),
198 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
199 (gst_value_union_int_range_int_range),
200 (gst_value_intersect_int_range_int_range),
201 (gst_value_intersect_double_range_double_range),
202 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
203 (gst_value_subtract_int_range_int_range),
204 (gst_value_subtract_double_double_range),
205 (gst_value_subtract_double_range_double_range),
206 (gst_value_deserialize_fraction):
208 Use gint, gdouble and gchar in our API instead of int, double and
209 char (and make usage in gstvalue.c more consistent).
211 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
214 * libs/gst/controller/Makefile.am:
215 * libs/gst/dataprotocol/Makefile.am:
216 fix up Makefile.am and remove GST_ENABLE_NEW
218 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
222 * gst/base/Makefile.am:
223 * gst/check/Makefile.am:
224 * gst/elements/Makefile.am:
225 * gst/net/Makefile.am:
226 update LDFLAGS use some more
228 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
230 * common/m4/gst-doc.m4:
233 2005-11-26 Edward Hervey <edward@fluendo.com>
235 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
236 This shouldn't issue a g_warning since it returns NULL if it
237 couldn't find the plugin, and all functions using this behave
238 properly on a NULL return. Switching to a GST_WARNING.
240 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
242 * gst/gstbin.c: (gst_bin_handle_message_func):
243 Don't leak clock messages.
245 2005-11-25 Wim Taymans <wim@fluendo.com>
247 * gst/gstutils.c: (gst_util_uint64_scale_int64),
248 (gst_util_uint64_scale_int):
249 Optimisations, remove unneeded vars.
251 2005-11-25 Wim Taymans <wim@fluendo.com>
253 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
254 Added more checks for the high precision uint64 cases.
256 * gst/gstutils.c: (gst_util_uint64_scale_int64),
257 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
258 Implement high precission (guint64 * guint64) / guint64.
260 2005-11-24 Wim Taymans <wim@fluendo.com>
262 * gst/base/gstbasesrc.c: (gst_base_src_query):
263 Fix wrong percentage query.
265 * gst/gstutils.c: (gst_util_uint64_scale),
266 (gst_util_uint64_scale_int):
267 Add some more common cases that can be handled
268 efficiently to _scale.
270 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
272 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
273 (gst_mini_object_suite):
274 don't use check calls from threads; check probably isn't
275 threadsafe and using a lock to make it threadsafe would
276 defeat the purpose of this check
277 * gst/check/gstcheck.c:
278 * gst/check/gstcheck.h:
279 use GST_DEBUG some more
281 2005-11-24 Wim Taymans <wim@fluendo.com>
283 * gst/gstutils.c: (gst_util_uint64_scale),
284 (gst_util_uint64_scale_int):
285 Chain trivial case to _scale_int.
287 2005-11-24 Wim Taymans <wim@fluendo.com>
289 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
290 Added test for scaling.
295 * gst/gstutils.c: (gst_util_uint64_scale_int):
296 Implemented high precision scaling code.
298 2005-11-24 Stefan Kost <ensonic@users.sf.net>
301 do not crash on pad==NULL
303 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
305 Patch by: Stefan Kost
307 * common/gtk-doc.mak:
308 * docs/gst/Makefile.am:
309 * docs/libs/Makefile.am:
310 Fix distcheck issues for the libraries docs build
313 2005-11-24 Michael Smith <msmith@fluendo.com>
315 * docs/manual/basics-helloworld.xml:
316 Fix bug #315027: memory leak in example code in docs.
318 2005-11-24 Michael Smith <msmith@fluendo.com>
320 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
321 Unlock the PREROLL_LOCK in a failure case.
323 2005-11-24 Wim Taymans <wim@fluendo.com>
325 * docs/gst/gstreamer-sections.txt:
326 * gst/base/gstadapter.h:
327 * gst/base/gstbasesink.h:
328 * gst/base/gstbasesrc.h:
329 * gst/base/gstbasetransform.h:
330 * gst/base/gstpushsrc.h:
331 * gst/elements/gstfakesink.h:
332 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
333 * gst/elements/gstfakesrc.h:
334 * gst/elements/gstfilesink.h:
335 * gst/elements/gstfilesrc.h:
338 * gst/gstbuffer.c: (_gst_buffer_copy):
341 * gst/gstchildproxy.c:
344 * gst/gstelementfactory.c:
345 * gst/gstelementfactory.h:
349 * gst/gstinterface.h:
350 * gst/gstminiobject.c:
351 * gst/gstminiobject.h:
354 * gst/gstpadtemplate.h:
356 * gst/gstpluginfeature.h:
361 * gst/gsttagsetter.c:
362 * gst/gsttagsetter.h:
368 * gst/net/gstnetclientclock.c:
369 * gst/net/gstnetclientclock.h:
370 * gst/net/gstnettimepacket.c:
371 * gst/net/gstnettimeprovider.c:
372 * gst/net/gstnettimeprovider.h:
375 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
377 * configure.ac: back to HEAD
379 === release 0.9.6 ===
381 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
384 releasing 0.9.6, "Always On Time"
386 2005-11-23 Wim Taymans <wim@fluendo.com>
388 * docs/gst/gstreamer-sections.txt:
390 * gst/gsttagsetter.c:
392 * gst/net/gstnetclientclock.c:
393 * gst/net/gstnettimepacket.h:
396 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
398 * docs/faq/using.xml:
399 * docs/libs/tmpl/gstcontrol.sgml:
400 * docs/manual/advanced-dparams.xml:
401 * docs/manual/appendix-checklist.xml:
402 * docs/manual/basics-elements.xml:
403 * docs/pwg/other-source.xml:
404 * docs/random/moving-plugins:
406 * tools/gst-launch.1.in:
407 remove mentions of sinesrc
409 2005-11-23 Michael Smith <msmith@fluendo.com>
411 * docs/gst/gstreamer-sections.txt:
412 Update for new API and API changes.
414 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
416 Documentation typo fix.
417 * gst/net/gstnettimepacket.c:
418 Documentation fixes for arguments.
420 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
422 * gst/gststructure.c: (gst_structure_get_fraction),
423 (gst_structure_parse_value),
424 (gst_structure_fixate_field_nearest_fraction):
425 * gst/gststructure.h:
426 * gst/gstutils.c: (gst_util_uint64_scale_int):
428 * scripts/update-funcnames:
430 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
431 Make gst_structure_fixate_field_nearest_fraction take a numerator
432 and denominator argument instead of a GValue
433 add gst_structure_get_fraction helper function.
435 2005-11-23 Wim Taymans <wim@fluendo.com>
437 * docs/design/part-TODO.txt:
440 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
441 * gst/net/gstnetclientclock.h:
442 Use parent fields for timeout and window_size.
444 2005-11-23 Andy Wingo <wingo@pobox.com>
446 * check/net/gstnetclientclock.c (test_functioning): Adjust to
447 rate_num/rate_denom change.
449 * gst/net/gstnetclientclock.c
450 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
451 OBJECT_LOCK. Don't call add_observation with the lock.
453 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
455 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
457 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
458 deal with rate as a fraction whose numerator and denominator are
460 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
461 master; the other fields are protected by the SLAVE_LOCK.
462 (do_linear_regression): Note that this must be called with the
464 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
465 OBJECT_LOCK. Call set_calibration instead of touching the
467 (gst_clock_set_property, gst_clock_get_property): Protect
468 master/slave parameters with the SLAVE_LOCK.
470 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
471 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
472 note that all of the instance variables that add_observation and
473 the set_master functions use are protected by that lock and not
475 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
477 * gst/gstclock.c (gst_clock_add_observation): No longer requires
478 the caller to take the object lock.
480 2005-11-23 Wim Taymans <wim@fluendo.com>
482 * gst/gsterror.c: (_gst_core_errors_init):
484 Add error for clock stuff.
486 * gst/gstpipeline.c: (gst_pipeline_change_state),
487 (gst_pipeline_set_clock):
488 Post clock error when clock cannot be used in a pipeline.
490 2005-11-23 Stefan Kost <ensonic@users.sf.net>
492 * docs/gst/gstreamer-sections.txt:
493 make two symbols from gstinfo private for the docs
494 * gst/base/gstcollectpads.h:
496 fix doc typos, update docs
498 2005-11-22 Wim Taymans <wim@fluendo.com>
500 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
501 (gst_base_sink_wait), (gst_base_sink_do_sync),
502 (gst_base_sink_handle_event):
503 * gst/base/gstbasesink.h:
504 No need to store the clock, the parent element class already
507 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
508 Updates for clock_set returning a gboolean
510 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
511 (gst_clock_id_wait_async), (gst_clock_class_init),
512 (gst_clock_init), (gst_clock_finalize),
513 (gst_clock_get_internal_time), (gst_clock_get_time),
514 (gst_clock_slave_callback), (gst_clock_set_master),
515 (gst_clock_get_master), (do_linear_regression),
516 (gst_clock_add_observation), (gst_clock_set_property),
517 (gst_clock_get_property):
519 Implement master/slave. When setting a clock as a slave, a
520 periodic timeout is scheduled to sample master and slave times.
521 Then the slave clock is recalibrated to match offset and rate
523 Update logging a bit.
524 Add flag so that a clock can state that is cannot be slaved to
527 * gst/gstelement.c: (gst_element_set_clock):
529 The set clock returns a gboolean for when an element cannot
530 deal with the selected clock in the pipeline.
532 * gst/gstpipeline.c: (gst_pipeline_change_state),
533 (gst_pipeline_set_clock):
535 Handle the case where the selected clock cannot be set on
538 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
539 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
540 (gst_net_client_clock_set_property),
541 (gst_net_client_clock_get_property),
542 (gst_net_client_clock_observe_times):
543 * gst/net/gstnetclientclock.h:
544 Use regression code in GstClock parent, remove duplicated
547 2005-11-22 Michael Smith <msmith@fluendo.com>
549 * gst/gstutils.c: (gst_util_clock_time_scale):
551 * docs/gst/gstreamer-sections.txt:
552 Rename method to have extra underscore.
554 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
556 * gst/elements/Makefile.am:
557 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
558 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
559 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
560 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
561 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
562 * gst/elements/gstfakesrc.h:
563 * gst/gstqueue.c: (queue_leaky_get_type):
564 correctly fix GEnumValues so that nick is the short lowercase
566 * tools/gst-inspect.c: (print_element_properties_info):
567 also show the nick, since it's useful to use from parse_launch
571 2005-11-22 Michael Smith <msmith@fluendo.com>
573 * gst/gstutils.c: (gst_util_clocktime_scale):
575 * docs/gst/gstreamer-sections.txt:
576 Add util method for scaling a clocktime by a fraction. Useful
577 implementation is left as an exercise for the reader.
579 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
581 * gst/gstvalue.c: (gst_value_collect_fraction_range):
582 If needed, allocate storage in the destination value during
585 2005-11-22 Edward Hervey <edward@fluendo.com>
587 * docs/gst/gstreamer-sections.txt:
592 * gst/gstutils.c: (gst_util_set_object_arg):
593 * tools/gst-compprep.c: (main):
594 * tools/gst-inspect.c: (print_element_properties_info):
595 Removed GstURI, closes bug #321061
597 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
599 * check/gst/gststructure.c: (GST_START_TEST):
600 * gst/gststructure.c: (gst_structure_parse_value):
601 Oops, broke automatic string type parsing.
602 Add a test to catch it in future.
604 2005-11-22 Andy Wingo <wingo@pobox.com>
606 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
607 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
608 Actually rename the function implementations. Grr.
610 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
612 * check/gst/capslist.h:
614 * check/gst/gststructure.c: (GST_START_TEST),
615 (gst_structure_suite):
616 Test automatic value type detection in gst_structure_from_string.
617 * gst/gststructure.c: (gst_structure_parse_value):
618 Add fraction as a type we try and guess automatically in
619 caps/structure strings.
621 2005-11-22 Andy Wingo <wingo@pobox.com>
623 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
625 * gst/gsttagsetter.h:
626 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
627 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
628 (gst_tag_setter_add_tag_valist)
629 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
630 _add_values, _add_valist, and _add_valist_values. Since this is an
631 interface the function suffixes should be more explicit so
632 language binding don't end up with element.add_valist ->
633 gst_tag_setter_add_valist, for example. Fixes #322069.
635 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
637 * check/gst/gstcaps.c: (GST_START_TEST):
638 Extend caps string tests to check that a caps to string
639 conversion is reversible and produces the same caps.
641 * gst/gststructure.c: (gst_structure_value_get_generic_type):
642 Output "fraction" as the generic type fraction range, so caps
643 serialisation and deserialisation works.
644 * check/gst/capslist.h:
645 * gst/gstvalue.c: (gst_value_deserialize_fraction):
646 Support 'MIN' and 'MAX' for deserialising fractions.
648 2005-11-22 Andy Wingo <wingo@pobox.com>
650 * gst/gstevent.h (gst_event_new_new_segment)
651 (gst_event_parse_new_segment, gst_event_new_buffer_size)
652 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
653 Renamed from *_newsegment, *_buffersize, *_notarget.
655 * scripts/update-funcnames: New script, performs the changes
658 2005-11-22 Wim Taymans <wim@fluendo.com>
660 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
661 Make sure the GstFlowReturn is returned.
663 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
664 (gst_bus_add_signal_watch):
666 add gst_bus_add_signal_watch_full.
668 * gst/gstplugin.c: (gst_plugin_load_file):
671 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
673 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
674 Block the fakesrc srcpad when we send an event, to avoid
675 contention on the stream_lock causing random test failures.
677 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
679 * check/gst/gstvalue.c: (GST_START_TEST):
680 * gst/gstvalue.c: (gst_value_fraction_subtract):
683 2005-11-22 Stefan Kost <ensonic@users.sf.net>
686 include "gstchildproxy.h"
687 * gst/gstchildproxy.h:
688 * libs/gst/controller/gstcontroller.h:
689 use G_GNUC_NULL_TERMINATED
691 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
693 * check/gst/capslist.h:
694 * check/gst/gstcaps.c: (GST_START_TEST):
695 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
696 * gst/gststructure.c: (gst_structure_parse_range),
697 (gst_structure_fixate_field_nearest_fraction):
698 * gst/gststructure.h:
699 * gst/gstvalue.c: (gst_value_init_fraction_range),
700 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
701 (gst_value_collect_fraction_range),
702 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
703 (gst_value_set_fraction_range_full),
704 (gst_value_get_fraction_range_min),
705 (gst_value_get_fraction_range_max),
706 (gst_value_serialize_fraction_range),
707 (gst_value_transform_fraction_range_string),
708 (gst_value_compare_fraction_range),
709 (gst_value_deserialize_fraction_range),
710 (gst_value_intersect_fraction_fraction_range),
711 (gst_value_intersect_fraction_range_fraction_range),
712 (gst_value_subtract_fraction_fraction_range),
713 (gst_value_subtract_fraction_range_fraction),
714 (gst_value_subtract_fraction_range_fraction_range),
715 (gst_value_collect_fraction), (gst_value_fraction_multiply),
716 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
717 (gst_value_transform_string_fraction), (_gst_value_initialize):
719 Implement fraction ranges and extend GstFraction to support
720 arithmetic subtraction, as well as deserialization from integer
721 strings such as "100"
722 Add a testsuite as for int and double range set operations
724 2005-11-21 Andy Wingo <wingo@pobox.com>
728 * gst/gststructure.h: Add glib-compat.h.
730 2005-11-21 Wim Taymans <wim@fluendo.com>
732 * gst/gstbin.c: (gst_bin_change_state_func):
735 2005-11-21 Wim Taymans <wim@fluendo.com>
738 And add a nice define too.
740 2005-11-21 Wim Taymans <wim@fluendo.com>
742 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
743 (gst_segment_new), (gst_segment_free), (gst_segment_init),
744 (gst_segment_set_duration), (gst_segment_set_last_stop),
745 (gst_segment_set_seek), (gst_segment_set_newsegment),
746 (gst_segment_to_stream_time), (gst_segment_to_running_time),
749 Make binding friendly.
751 2005-11-21 Andy Wingo <wingo@pobox.com>
753 * gst/gsttagsetter.h:
755 * gst/gststructure.h:
757 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
760 * gst/gsterror.c (_gst_core_errors_init):
761 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
764 * gst/Makefile.am (gst_headers): Add glib-compat.h.
765 (noinst_HEADERS): noinst the -private.
767 2005-11-21 Michael Smith <msmith@fluendo.com>
771 Remove unimplemented declarations for which we can see no sensible
774 2005-11-21 Andy Wingo <wingo@pobox.com>
776 * gst/gst.h: Include glib-compat.h.
778 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
780 * gst/glib-compat.c: Include the public and the private header.
782 * gst/glib-compat-private.h: Copied here from glib-compat.h.
786 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
788 * check/gst/gstevent.c (create_custom_events): Check that
789 FLUSH_STOP is serialized.
791 * check/elements/identity.c (event_func):
792 * check/elements/fakesrc.c (event_func): No stream lock, the core
795 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
796 stream lock taking, yay.
798 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
799 ensure that core takes the stream lock.
801 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
804 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
805 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
806 it already. For the flush start we do take it though so we get the
807 right preroll state change messages.
809 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
810 the stream lock here, the core does it for us.
812 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
814 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
815 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
816 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
817 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
818 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
819 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
821 * gst/gstpad.c: Update for stream lock name change.
823 * gst/base/gstbasesink.c: Update for preroll lock name change.
825 2005-11-21 Wim Taymans <wim@fluendo.com>
827 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
828 (gst_clock_get_master):
830 * gst/gstsystemclock.c: (gst_system_clock_init):
831 Convert Clock flags to object flags.
832 Added methods to manage master/slave clocks.
834 2005-11-21 Wim Taymans <wim@fluendo.com>
836 * check/gst/gstsegment.c: (GST_START_TEST):
837 * docs/design/part-TODO.txt:
838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
839 (gst_base_sink_event), (gst_base_sink_do_sync),
840 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
841 (gst_base_sink_query), (gst_base_sink_change_state):
842 * gst/base/gstbasesink.h:
843 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
844 (gst_base_src_default_newsegment),
845 (gst_base_src_configure_segment), (gst_base_src_do_seek),
846 (gst_base_src_get_range), (gst_base_src_loop),
847 (gst_base_src_change_state):
848 * gst/base/gstbasesrc.h:
849 * gst/base/gstbasetransform.c:
850 (gst_base_transform_prepare_output_buf),
851 (gst_base_transform_event), (gst_base_transform_change_state):
852 * gst/base/gstbasetransform.h:
853 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
854 (gst_collect_pads_event):
855 * gst/base/gstcollectpads.h:
856 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
857 (gst_fake_src_create):
858 * gst/elements/gstfakesrc.h:
859 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
860 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
861 (gst_segment_set_last_stop), (gst_segment_set_seek),
862 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
863 (gst_segment_to_running_time), (gst_segment_clip):
865 More segment updates, replace code in plugins with segment
868 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
870 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
871 Don't ignore sscanf results
873 2005-11-21 Andy Wingo <wingo@pobox.com>
875 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
878 * *.c: Ran scripts/update-macros. Oh yes.
880 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
881 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
884 * scripts/update-macros: New script. Run it on your files to
885 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
888 2005-11-21 Stefan Kost <ensonic@users.sf.net>
890 * docs/gst/Makefile.am:
891 * docs/gst/gstreamer-docs.sgml:
892 * docs/gst/gstreamer-sections.txt:
893 * docs/gst/gstreamer.types:
895 more docs fixes, add new api to the docs
897 2005-11-21 Andy Wingo <wingo@pobox.com>
899 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
900 state_broadcast call.
902 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
904 2005-11-21 Julien MOUTTE <julien@moutte.net>
906 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
907 function calls for arrays.
909 2005-11-21 Stefan Kost <ensonic@users.sf.net>
911 * docs/random/ensonic/media-device-daemon.txt:
912 wild idea, can this be done?
913 * docs/gst/gstreamer-sections.txt:
918 * gst/gstpluginfeature.c:
922 doc fixes and additions
924 2005-11-21 Andy Wingo <wingo@pobox.com>
926 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
927 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
928 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
929 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
930 private to the basesrc implementation.
932 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
933 behalf of event function if necessary. It should no longer be
934 necessary to take the stream lock in pad's event functions. Fixes
937 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
938 * docs/gst/gstreamer-sections.txt:
939 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
940 (gst_structure_fixate_field_nearest_double),
941 (gst_structure_fixate_field_boolean):
942 * gst/gststructure.h:
943 * win32/common/libgstreamer.def:
944 * win32/gstreamer.def:
946 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
949 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
951 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
952 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
953 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
954 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
955 (gst_fdsrc_uri_handler_init):
956 * gst/elements/gstfdsrc.h:
957 Port fd:// URI handler from 0.8 to fdsrc
959 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
961 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
962 (gst_value_serialize_fourcc):
964 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
965 consistent with our other format defines (#320324).
967 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
969 * gst/gstvalue.c: (gst_value_is_fixed):
970 Revert previous commit. Value lists are by definition
971 not fixed, as they are a list of possible values.
973 2005-11-21 Andy Wingo <wingo@pobox.com>
975 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
976 during the stable series if we need it. Fixes #319178.
978 * gst/gstevent.c (gst_event_new_filler): Removed.
980 * check/gst/gstevent.c: Update comment about filler events.
982 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
984 * gst/gstvalue.c: (gst_value_is_fixed):
985 Should handle both value arrays and value lists.
987 2005-11-21 Andy Wingo <wingo@pobox.com>
989 patch by: Alessandro Dessina <alessandro nnva org>
991 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
992 functions to access arrays. Fixes #321962.
994 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
996 * docs/gst/gstreamer.types:
997 gst_collectpads_get_type => gst_collect_pads_get_type.
999 * gst/base/gstbasetransform.c:
1000 Remove unused SIGNAL_HANDOFF enum.
1002 2005-11-21 Andy Wingo <wingo@pobox.com>
1004 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1005 the event type (upstream, downstream, serialized). Renamed
1006 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1007 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1008 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1010 * gst/gstevent.c: Update for new CUSTOM event names.
1012 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1015 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1018 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1020 * docs/gst/gstreamer-sections.txt:
1021 * win32/common/libgstbase.def:
1022 * win32/libgstbase.def:
1023 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1024 (gst_collect_pads_class_init), (gst_collect_pads_init),
1025 (gst_collect_pads_finalize), (gst_collect_pads_new),
1026 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1027 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1028 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1029 (gst_collect_pads_start), (gst_collect_pads_stop),
1030 (gst_collect_pads_peek), (gst_collect_pads_pop),
1031 (gst_collect_pads_available), (gst_collect_pads_read),
1032 (gst_collect_pads_flush), (gst_collect_pads_event),
1033 (gst_collect_pads_chain):
1034 * gst/base/gstcollectpads.h:
1035 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1036 unimplemented functions as unimplemented. Add padding to
1037 GstCollectData. (#320766, #320423)
1039 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1042 Improve docs for DURATION message (usage of duration parameter)
1045 2005-11-20 Wim Taymans <wim@fluendo.com>
1047 * check/Makefile.am:
1048 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1052 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1053 (gst_segment_set_seek), (gst_segment_set_newsegment),
1054 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1057 Added segment helper structure and methods. Not fully implemented
1059 Added segment check.
1061 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1063 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1064 Add a deserialisation test for fractions
1065 * examples/metadata/read-metadata.c: (message_loop),
1066 (make_pipeline), (main):
1067 Fix up metadata reading sample.
1068 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1070 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1071 Don't try and fixate empty caps
1072 * gst/gst_private.h:
1073 Wrap in G_BEGIN_DECLS/G_END_DECLS
1074 * gst/gstvalue.c: (gst_value_collect_fraction),
1075 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1076 (gst_value_transform_string_fraction),
1077 (gst_value_compare_fraction):
1078 Add some extra guards to ensure that we don't end up
1079 with an invalid denominator of 0 in a gstfraction and
1080 that fractions always get reduced.
1082 2005-11-20 Wim Taymans <wim@fluendo.com>
1084 * docs/gst/gstreamer-sections.txt:
1095 2005-11-20 Wim Taymans <wim@fluendo.com>
1097 * docs/design/part-TODO.txt:
1099 Make a proper enum of the flag.
1101 2005-11-19 Wim Taymans <wim@fluendo.com>
1103 * docs/design/part-TODO.txt:
1104 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1105 (gst_format_to_quark), (gst_format_register):
1107 * gst/gstquery.c: (_gst_query_initialize),
1108 (gst_query_type_get_name), (gst_query_type_to_quark),
1109 (gst_query_type_register):
1111 Add type to quark and type to string conversions.
1113 2005-11-19 Andy Wingo <wingo@pobox.com>
1115 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1118 2005-11-19 Wim Taymans <wim@fluendo.com>
1120 * docs/design/part-TODO.txt:
1121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1122 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1123 (gst_bin_handle_message_func):
1125 Make message handling overridable.
1127 2005-11-19 Andy Wingo <wingo@pobox.com>
1129 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1132 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1134 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1135 is a GstClockTime. Fixes #321710.
1137 * gst/gstclock.h (GstClock): Remove offset property. Add
1138 internal_calibration and external_calibration. Fix padding. Pad
1139 also by GstClockTime so we don't run into problems.
1141 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1142 (gst_clock_get_rate_offset): Remove.
1143 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1146 * gst/gstutils.c (g_static_rec_cond_wait)
1147 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1149 * gst/gstbin.c: Remove terrible continue_state prototype.
1151 * gst/gstelement.h (gst_element_continue_state): Make public.
1154 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1155 by continue_state. Fixes #319389.
1157 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1158 Really fixes #168438. However I don't see anywhere where the
1159 filter function is called... stupid GStreamer...
1161 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1162 don't have a dispose function, so it won't get called when the
1163 object is unreffed, but oh well!
1165 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1166 allows a destroy function to be set so user_data can be freed.
1168 (gst_index_set_filter): Call gst_index_set_filter_full.
1170 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1172 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1173 string should produce an error, given the lack of a way to
1174 represent NULL strings. Fixes #165650.
1177 * gst/gstvalue.c (gst_value_array_append_value)
1178 (gst_value_array_prepend_value, gst_value_array_get_size)
1179 (gst_value_array_get_value): New API, copied from
1180 gst_value_list_*, only operates on arrays.
1181 (gst_value_list_append_value, gst_value_list_prepend_value)
1182 (gst_value_list_concat, gst_value_list_get_size)
1183 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1185 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1186 init_list, because it works on both.
1187 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1188 (gst_value_copy_list_or_array): Renamed from copy_list.
1189 (gst_value_free_list_or_array): Renamed from free_list.
1190 (gst_value_collect_list_or_array): Renamed from collect_list.
1191 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1192 (gst_value_list_or_array_peek_pointer): Renamed from
1194 (_gst_value_array_value_table, _gst_value_list_value_table):
1195 Update value table functions.
1196 (gst_value_compare_list_or_array): Renamed from compare_list.
1198 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1202 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1203 GstTagList*. Fixes #143472.
1205 * gst/gststructure.h: Clarify what the foreach/map functions can
1206 or can't do to their arguments.
1208 2005-11-18 Wim Taymans <wim@fluendo.com>
1210 * gst/gstclock.c: (gst_clock_set_calibration),
1211 (gst_clock_get_calibration):
1213 Calibration can be set with internal time equal to current
1216 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1222 2005-11-18 Andy Wingo <wingo@pobox.com>
1225 * pkgconfig/gstreamer-net.pc.in:
1226 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1227 * pkgconfig/Makefile.am: Add net pkgconfig files.
1229 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1232 * gst/gstghostpad.c:
1238 2005-11-18 Andy Wingo <wingo@pobox.com>
1240 * gst/net/gstnetclientclock.c: Turn off debugging.
1242 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1243 times connverge somewhat. Can't make a real test.
1245 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1246 integer arithmetic. Return the minimum of the domain, which can be
1247 set as "internal" for gst_clock_set_calibration.
1248 (gst_net_client_clock_observe_times): Call _set_calibration.
1249 (gst_net_client_clock_new): Call _set_calibration instead of
1252 * check/net/gstnetclientclock.c (test_functioning): Use the right
1256 * gst/gstclock.c (gst_clock_get_calibration)
1257 (gst_clock_set_calibration): New functions, obsolete the ones I
1258 added yesterday. Doh. Precision issues mean we have to extrapolate
1259 from a point in the more recent past than 1970.
1260 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1262 (gst_clock_adjust_unlocked): Use the right calibration data.
1264 2005-11-18 Edward Hervey <edward@fluendo.com>
1266 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1267 Also reset the ->current_* values in READY->PAUSED
1269 2005-11-18 Andy Wingo <wingo@pobox.com>
1271 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1272 Whoops, check the right fd. Also add some debugging.
1273 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1274 (do_linear_regression): Add a crapload of debugging. Subtract off
1275 the minimum values from the input series to discard unneeded bits.
1276 Use only int arithmetic. There is still double arithmetic when
1277 calculating the intercept that needs fixing. Return boolean to
1278 indicate success; FALSE would mean the domain or range is too
1279 great. Still needs fixes.
1281 2005-11-18 Wim Taymans <wim@fluendo.com>
1283 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1284 For the current position in stream time, we need to subtract
1287 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1288 Release lock before calling the callback function of async
1291 2005-11-18 Andy Wingo <wingo@pobox.com>
1293 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1294 Port goes all the way to MAXUINT16.
1296 * gst/net/gstnettimeprovider.c: Make the port range the same as
1297 for the kernel: 0 assigns, otherwise ports are less than
1300 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1303 * check/net/gstnetclientclock.c (test_functioning): Add the start
1306 2005-11-18 Wim Taymans <wim@fluendo.com>
1308 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1309 (gst_bin_remove_func), (bin_bus_handler):
1311 Removing a clock provider from a bin, triggers a clock lost message
1312 so that a new clock will be selected.
1313 Adding a clock to a bin triggers a clock provider message.
1314 Make sure we reselect a clock when we received a clock lost message.
1315 Keep a reference to the element that provided the clock.
1317 2005-11-18 Andy Wingo <wingo@pobox.com>
1319 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1320 the clock initially so it produces values around the base time.
1321 (gst_net_client_clock_class_init): Typo fix.
1322 (gst_net_client_clock_thread): Add note on when the socket gets
1325 2005-11-17 Wim Taymans <wim@fluendo.com>
1327 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1328 Free remote and local time arrays.
1330 2005-11-17 Wim Taymans <wim@fluendo.com>
1332 * gst/net/gstnetclientclock.c: (do_linear_regression),
1333 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1334 Fix compilation, uninitialized vars and a forgotten continue.
1336 2005-11-17 Andy Wingo <wingo@pobox.com>
1338 * check/Makefile.am (check_PROGRAMS):
1339 * check/net/gstnetclientclock.c: Add a most minimal test for the
1340 net client clock. More to come later.
1343 * gst/net/Makefile.am: Add netclientclock.
1345 * gst/net/gstnetclientclock.h:
1346 * gst/net/gstnetclientclock.c: New files, implement an untested
1347 GstClock that takes its time from a network time provider.
1348 Implements the algorithm in network-clock.scm.
1350 * tests/network-clock.scm (*window-size*): Rename from
1352 * tests/network-clock.scm (network-time):
1353 * tests/network-clock-utils.scm (q-push): Update callers.
1355 2005-11-17 Wim Taymans <wim@fluendo.com>
1357 * gst/gstbin.c: (gst_bin_provide_clock_func),
1358 (gst_bin_sort_iterator_new):
1359 And unref the child too..
1361 2005-11-17 Wim Taymans <wim@fluendo.com>
1363 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1364 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1365 Refactor the sort iterator so it can be used while holding the
1367 Make clock selection select a clock closest to the source.
1369 2005-11-17 Michael Smith <msmith@fluendo.com>
1371 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1372 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1374 Anonymous structs are a gcc (and some other compilers) extension, so
1375 don't use them. Since this is only for ABI-compatibility, and our
1376 API/ABI freeze is over in a few days, this whole thing will only
1377 last a few days, so don't bother trying to think up a meaningful
1378 name for the struct.
1380 2005-11-17 Andy Wingo <wingo@pobox.com>
1382 * gst/gstclock.h (GstClock): Add rate and offset properties,
1383 preserving ABI stability. Add rate/offset accessors. Will file bug
1384 for the freeze break.
1386 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1387 and offset, trying to keep precision and avoiding
1389 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1390 functions. Make gst_clock_set_time_adjust obsolete.
1391 (gst_clock_set_time_adjust): Note that this function is obsolete.
1394 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1395 greppable by using GST_PADDING-1+1.
1397 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1399 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1401 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1402 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1404 * gst/gstpadtemplate.h:
1405 * gst/gstpluginfeature.h:
1406 Don't use c++ style comments in headers (#321638).
1408 2005-11-16 Andy Wingo <wingo@pobox.com>
1410 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1413 * check/net/gstnettimeprovider.c: Check to see that the time
1414 provider actually provides times. Works, yo!
1416 2005-11-16 Wim Taymans <wim@fluendo.com>
1418 * check/Makefile.am:
1421 * check/elements/fakesrc.c: (GST_START_TEST):
1422 Set element to NULL before disposing it.
1424 2005-11-16 Andy Wingo <wingo@pobox.com>
1426 * gst/net/Makefile.am:
1428 * gst/net/gstnettimeprovider.c:
1429 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1430 provider, include it from gstnet.h, and add it to the build.
1432 * gst/net/gstnettimepacket.h:
1433 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1434 sending and receiving.
1436 2005-11-16 Wim Taymans <wim@fluendo.com>
1438 * check/Makefile.am:
1439 Enable valgrind check.
1441 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1442 (gst_fake_src_alloc_buffer):
1445 2005-11-16 Wim Taymans <wim@fluendo.com>
1447 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1448 Call parent finalize too.
1450 2005-11-16 Wim Taymans <wim@fluendo.com>
1452 * check/Makefile.am:
1453 Enable valgrind check that should work fine now.
1455 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1456 * gst/gstqueue.c: (gst_queue_init):
1457 Fix memleaks in pad allocation.
1459 2005-11-16 Andy Wingo <wingo@pobox.com>
1461 * gst/net/Makefile.am:
1462 * gst/net/gstnet.h: New part of core to hold network elements and
1463 objects. Put in core because it exposes API that applications want
1464 to use. The library is named libgstnet-tempname right now because
1465 of the existing libgstnet in gst-plugins-base. Solution is
1466 probably to rename the one in plugins-base; will file a bug for
1469 * gst/net/gstnettimeprovider.c:
1470 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1471 get_time call over the network.
1474 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1476 * check/Makefile.am:
1477 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1478 get additions shortly.
1480 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1482 * gst/gstpad.c: (gst_pad_new_from_static_template):
1484 add gst_pad_new_from_static_template functions
1485 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1486 (gst_check_setup_sink_pad):
1487 * gst/elements/gsttee.c: (gst_tee_init):
1490 2005-11-16 Wim Taymans <wim@fluendo.com>
1492 * gst/gstpad.c: (gst_pad_pause_task):
1493 Removed warning, it's not really an error either.
1495 2005-11-16 Wim Taymans <wim@fluendo.com>
1497 * gst/base/gstbasetransform.c:
1498 (gst_base_transform_prepare_output_buf),
1499 (gst_base_transform_event):
1500 Check if the caps are NULL, this can happen if the element
1501 is shutting down and the pad caps are set to NULL.
1503 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1505 * gst/elements/gsttee.c: (gst_tee_init):
1506 fix pad template leak in tee
1508 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1510 * gst/glib-compat.c: (g_value_dup_gst_object):
1511 * gst/glib-compat.h:
1512 * gst/gstpad.c: (gst_pad_set_property):
1513 use gst_object_ref when setting the pad template; this will
1514 trigger the pad template leaks on GLib 2.6 and the slaves
1516 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1518 * gst/glib-compat.c: (gst_flags_get_first_value):
1519 * gst/glib-compat.h:
1520 * gst/gstregistryxml.c:
1521 remove functions copied from GLib 2.6
1523 2005-11-16 Michael Smith <msmith@fluendo.com>
1526 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1527 do, but only breaks with newer valgrind versions. We're not a
1528 valgrind tool, we have no link-time dependencies on libcoregrind.
1530 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1532 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1537 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1539 * gst/base/gstbasesrc.c: (gst_base_src_init):
1540 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1541 * gst/gstqueue.c: (gst_queue_init):
1542 * gst/gstregistryxml.c: (load_feature):
1543 Revert all these unrefs, they don't even pass make check !
1545 2005-11-15 Johan Dahlin <johan@gnome.org>
1547 * gst/base/gstbasesrc.c: (gst_base_src_init):
1548 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1549 * gst/gstqueue.c: (gst_queue_init):
1550 Free pad templates, fixes a couple of leaks.
1552 2005-11-15 Daniel Fischer <dan at f3c dot com>
1554 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1556 * gst/gstpad.c: (gst_pad_get_property):
1557 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1558 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1561 2005-11-15 Wim Taymans <wim@fluendo.com>
1566 2005-11-15 Andy Wingo <wingo@pobox.com>
1568 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1570 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1571 using GST_CLOCK_TIME_NONE to disable base time management.
1572 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1573 time if it was NONE before.
1574 (gst_pipeline_change_state): Only munge the base time if
1575 stream_time != GST_CLOCK_TIME_NONE.
1577 * check/gst/gstpipeline.c (test_base_time): Punt around the
1578 problem of the probe not being called, because that's not the
1579 issue I'm looking at. Add a check that setting stream_time to NONE
1580 disables base time management.
1582 2005-11-15 Wim Taymans <wim@fluendo.com>
1584 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1585 segment_stop == -1 at startup.
1587 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1588 (gst_base_transform_change_state):
1589 Init segment values at start.
1591 2005-11-15 Wim Taymans <wim@fluendo.com>
1593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1594 0 segment values are 0 in any format.
1596 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1597 * gst/base/gstbasetransform.h:
1598 Parse newsegment correctly in basetransform
1600 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1601 Sync to clock using updated segment values.
1603 2005-11-15 Andy Wingo <wingo@pobox.com>
1605 * check/gst/gstpipeline.c (test_base_time): Add check that the
1606 base time and stream time are reset correctly.
1608 2005-11-15 Wim Taymans <wim@fluendo.com>
1610 * docs/design/part-TODO.txt:
1611 Some more TODO items.
1613 2005-11-15 Andy Wingo <wingo@pobox.com>
1615 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1616 error if the user selected "no clock" as the clocking method.
1618 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1619 timestamps with live capture.
1621 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1622 is 0 but we are a live source, timestamp the buffers using the
1625 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1627 * docs/gst/gstreamer-sections.txt:
1629 * gst/gstghostpad.c:
1634 2005-11-14 Wim Taymans <wim@fluendo.com>
1637 add suppressions from Wim's Debian machine
1639 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1642 add suppressions from Andy's AMD64 Ubuntu machine
1644 2005-11-14 Andy Wingo <wingo@pobox.com>
1646 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1647 STATE_LOCK not necessary. Fixes #311489.
1649 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1652 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1653 this function is not implemented.
1655 2005-11-14 Julien MOUTTE <julien@moutte.net>
1657 * gst/base/gstbasetransform.c:
1658 (gst_base_transform_prepare_output_buf):
1659 Ref the source pad caps while we need them.
1662 2005-11-11 Wim Taymans <wim@fluendo.com>
1664 * docs/gst/gstreamer-sections.txt:
1665 Added some docs for GstCollectData.
1667 * gst/base/gstadapter.c:
1668 Some small code example fix.
1670 * gst/base/gstcollectpads.c:
1671 * gst/base/gstcollectpads.h:
1674 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1676 * configure.ac: back to HEAD
1678 === release 0.9.5 ===
1680 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1683 releasing 0.9.5, "Bike Lunch Day"
1685 2005-11-11 Wim Taymans <wim@fluendo.com>
1687 * gst/gstbuffer.c: (_gst_buffer_copy):
1690 * gst/gstcaps.c: (gst_caps_is_equal):
1692 Make _is_equal fast in the trivial cases.
1694 * gst/gstminiobject.c:
1695 * gst/gstminiobject.h:
1696 More docs. Spifify .h file.
1701 2005-11-11 Wim Taymans <wim@fluendo.com>
1703 * gst/base/gstbasetransform.c:
1704 (gst_base_transform_prepare_output_buf),
1705 (gst_base_transform_handle_buffer):
1707 If we're processing a buffer and need to allocate an output
1708 buffer, we cannot accept a format change. If we did get a
1709 format change, we have to alloc a buffer ourselves of the
1712 2005-11-11 Wim Taymans <wim@fluendo.com>
1714 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1715 While checking the flag for reentrancy in the gstcaps function
1716 is nice to detect recursive invocations, it also makes it
1717 impossible to call getcaps from multiple threads, which must be
1718 possible. So, checking for recursive calls has to go.
1720 2005-11-11 Michael Smith <msmith@fluendo.com>
1722 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1723 Don't sync on buffers that fall partially outside our current
1724 segment. Prevents an assertion failure/abort playing some files.
1726 2005-11-10 Andy Wingo <wingo@pobox.com>
1728 * check/gst/gstbin.c (test_message_state_changed_children): Style
1731 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1732 gst_bus_poll with the signal watch. Ensures that poll and a signal
1733 watch see the same messages.
1735 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1736 a poll and a watch at the same time get the same messages.
1738 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1740 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1741 * gst/gstcaps.c: (gst_caps_intersect):
1742 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1743 and it's not needed.
1745 2005-11-10 Wim Taymans <wim@fluendo.com>
1747 * docs/design/part-TODO.txt:
1750 2005-11-10 Wim Taymans <wim@fluendo.com>
1752 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1753 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1754 (gst_base_src_do_sync), (gst_base_src_get_range):
1755 Implement clock sync in base class.
1757 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1759 patch by: Tim-Philipp Müller <tim at centricular dot net>
1761 * gst/gststructure.c: (gst_structure_parse_field),
1762 (gst_structure_from_string):
1763 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1764 so that gst_parse_launch() can deal with spaces in filtered link
1765 caps (fixes #164479)
1766 * check/gst/capslist.h:
1767 * check/gst/gststructure.c: (GST_START_TEST):
1768 add unit tests for this change
1770 2005-11-10 Wim Taymans <wim@fluendo.com>
1772 * docs/gst/gstreamer-sections.txt:
1775 Fix docs, move some STATE macros to private.
1777 2005-11-10 Wim Taymans <wim@fluendo.com>
1779 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1780 Added check for bug #317341
1784 Some more spiffifying.
1786 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1787 Call peer linkfunction if we are a source pad. Totally fixes
1791 Update docs, source pads should call the peer linkfunction
1792 so they can atomically perform the pad link.
1794 2005-11-09 Wim Taymans <wim@fluendo.com>
1798 Uber-spiffy-spiffify some more.
1800 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1802 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1803 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1804 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1805 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1806 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1807 * gst/gstpad.c: (gst_pad_init):
1808 Use GST_DEBUG_FUNCPTR() more extensively.
1810 2005-11-09 Wim Taymans <wim@fluendo.com>
1812 * gst/gstobject.c: (gst_object_class_init):
1814 Documentation fixes.
1816 2005-11-09 Edward Hervey <edward@fluendo.com>
1818 * gst/gsttypefindfactory.c:
1821 2005-11-09 Edward Hervey <edward@fluendo.com>
1823 * gst/base/gsttypefindhelper.c:
1824 * gst/gsttypefind.c:
1825 * gst/gsttypefind.h:
1828 2005-11-09 Wim Taymans <wim@fluendo.com>
1830 * gst/gstiterator.c:
1837 2005-11-09 Wim Taymans <wim@fluendo.com>
1843 2005-11-09 Wim Taymans <wim@fluendo.com>
1845 * docs/gst/gstreamer-sections.txt:
1846 Moved the message async delivery private lock and cond
1847 to the private section.
1853 2005-11-09 Edward Hervey <edward@fluendo.com>
1855 * docs/gst/gstreamer-sections.txt:
1858 Document GstURIHandler
1860 2005-11-09 Wim Taymans <wim@fluendo.com>
1862 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1863 (gst_iterator_find_custom):
1864 * gst/gstiterator.h:
1867 2005-11-09 Wim Taymans <wim@fluendo.com>
1870 Document another field.
1872 * gst/gststructure.c:
1873 * gst/gststructure.h:
1876 2005-11-09 Wim Taymans <wim@fluendo.com>
1881 2005-11-09 Wim Taymans <wim@fluendo.com>
1883 * docs/gst/gstreamer-sections.txt:
1884 Added some new macros.
1891 2005-11-09 Wim Taymans <wim@fluendo.com>
1893 * docs/design/part-TODO.txt:
1894 Some more items for the TODO
1900 2005-11-09 Andy Wingo <wingo@pobox.com>
1902 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1903 to work on something else now tho...
1905 * gst/base/gstadapter.c: More adapter docs.
1907 * gst/elements/gstfilesink.c (gst_file_sink_start)
1908 (gst_file_sink_stop): New functions, replace the state change
1910 (gst_file_sink_class_init): Hook up the start and stop functions.
1911 (gst_file_sink_base_init): Don't set the state change handler any
1912 more. It was a bit ugly too, being set from here...
1913 (gst_file_sink_get_property, gst_file_sink_set_property):
1915 (gst_file_sink_set_location): More robust check that doesn't call
1918 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1920 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1921 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1923 2005-11-08 Wim Taymans <wim@fluendo.com>
1925 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1926 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1927 (gst_base_sink_chain), (gst_base_sink_change_state):
1928 * gst/base/gstbasesink.h:
1929 * gst/base/gstbasesrc.h:
1932 Avoid excessive typechecking in macros.
1934 * gst/gstminiobject.c: (gst_mini_object_get_type),
1935 (gst_mini_object_init), (gst_mini_object_new),
1936 (gst_mini_object_free):
1937 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1938 (gst_object_finalize):
1939 Remove cruft code, optimize alloc_trace.
1941 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1943 * docs/faq/gst-uninstalled:
1944 fix up PS1 for systems that try to reset it
1946 2005-11-07 Wim Taymans <wim@fluendo.com>
1948 * gst/base/gstbasesrc.c: (gst_base_src_init),
1949 (gst_base_src_get_range):
1950 Set the segment_end to -1 initially. Fixed typefind.
1952 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1954 * gst/base/gstadapter.c:
1955 Debug category should be 'adapter', not 'GstAdapter'.
1957 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1958 (gst_collectpads_class_init), (gst_collectpads_init),
1959 (gst_collectpads_peek), (gst_collectpads_pop),
1960 (gst_collectpads_event), (gst_collectpads_chain):
1961 Add debug category and some debugging output. Use boilerplate
1962 macros. Remove some extraneous words from docs.
1964 2005-11-05 Andy Wingo <wingo@pobox.com>
1966 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1969 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1971 * docs/gst/gstreamer-sections.txt:
1974 * gst/gstminiobject.h:
1979 2005-11-04 Wim Taymans <wim@fluendo.com>
1981 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1982 Small update to stop at the configured segment_end
1985 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1987 * gst/gstregistry.c:
1988 * gst/gstregistry.h:
1991 2005-11-04 Edward Hervey <edward@fluendo.com>
1993 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1994 Check if we are doing a segment seek and have arrived at the
1995 end of that segment.
1997 2005-11-04 Wim Taymans <wim@fluendo.com>
1999 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2000 Don't leak a mutex unlock in case of an error.
2005 2005-11-04 Wim Taymans <wim@fluendo.com>
2007 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2009 Get the context to wake up only once.
2011 2005-11-03 Wim Taymans <wim@fluendo.com>
2013 * check/states/sinks.c: (GST_START_TEST):
2014 Uncomment fixed check.
2016 * docs/design/part-TODO.txt:
2019 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2020 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2021 (gst_base_sink_get_position):
2022 If we are going to PLAYING, post the right pending state
2023 when we post the intermediate paused message.
2025 * gst/gstelement.c: (gst_element_continue_state),
2026 (gst_element_set_state_func), (gst_element_change_state):
2027 Don't post state changes that were between the same state
2030 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2032 * docs/gst/gstreamer-sections.txt:
2035 * gst/gstminiobject.h:
2038 more docs and doc style fixes
2040 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2042 * docs/gst/gstreamer-sections.txt:
2044 * gst/gstminiobject.c:
2047 2005-11-03 Andy Wingo <wingo@pobox.com>
2049 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2050 state-changed messages actually have the right order and the right
2053 2005-11-03 Wim Taymans <wim@fluendo.com>
2055 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2056 Added some more checks. Specifically the case where NO_PREROLL
2057 elements are in the pipeline.
2059 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2060 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2061 (gst_base_sink_get_position):
2062 Post READY->PAUSED state change messages too.
2063 Fix bug where VOID was posted as pending state...
2065 * gst/gstbin.c: (gst_bin_recalc_state):
2066 use _element_continue_state() to continue the state change.
2068 * gst/gstelement.c: (gst_element_continue_state),
2069 (gst_element_commit_state), (gst_element_set_state_func),
2070 (gst_element_change_state), (gst_element_change_state_func):
2071 Lots of state change cleanups, assign the STATE_RETURN in
2072 a new continue_state() function that also propagates the
2073 last return value from a state change to the app.
2074 Update some debug statements with proper category.
2076 2005-11-03 Wim Taymans <wim@fluendo.com>
2078 * docs/design/part-events.txt:
2079 * docs/design/part-gstpipeline.txt:
2080 * docs/design/part-messages.txt:
2081 * docs/design/part-overview.txt:
2082 * docs/design/part-seeking.txt:
2083 * docs/design/part-states.txt:
2084 * docs/design/part-trickmodes.txt:
2085 * docs/manual/advanced-position.xml:
2089 People think !! is ugly, this looks better.
2091 * gst/gstpad.c: (gst_pad_set_blocked_async):
2092 Remove !! since it's fixed elsewhere now.
2094 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2096 * gst/gstminiobject.h:
2098 Add !! to _FLAG_IS_SET macros to make the result boolean.
2100 2005-11-03 Edward Hervey <edward@fluendo.com>
2102 * gst/gstpad.c: (gst_pad_set_blocked_async):
2103 comparing a flag and a gboolean rarely returns coherent results...
2104 Added two characters (!!) to make that work correctly.
2106 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2108 * gst/gstbus.c: (gst_bus_class_init):
2111 * gst/gstqueue.c: (gst_queue_loop):
2112 Don't assume a miniobject that isn't a buffer is an
2113 event (it could be that there is a refcounting
2114 problem somewhere and the pointer is stale and
2115 refers to an already destroyed miniobject).
2117 2005-11-03 Julien MOUTTE <julien@moutte.net>
2119 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2121 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2123 * docs/manual/advanced-position.xml:
2124 Update seek example and explanations to current 0.9 API.
2126 * gst/elements/gsttypefindelement.c:
2127 (gst_type_find_element_activate):
2128 Remove FIXME comment now that the found caps
2131 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2133 * gst/gstregistryxml.c: (load_feature):
2134 Add another GST_STR_NULL instance
2136 2005-11-02 Edward Hervey <edward@fluendo.com>
2138 * gst/gstpad.c: (handle_pad_block):
2139 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2141 2005-11-02 Wim Taymans <wim@fluendo.com>
2146 * gst/gstelement.c: (gst_element_commit_state):
2147 Remove unused value.
2149 * gst/gstiterator.c:
2150 Mention that the returned element is reffed in the docs.
2152 2005-11-02 Wim Taymans <wim@fluendo.com>
2154 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2155 (gst_pad_push), (gst_pad_push_event):
2156 Unlock blocked pads when they are flushed.
2158 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2161 * docs/gst/gstreamer-sections.txt:
2164 * gst/gstregistry.c: (gst_registry_scan_path_level):
2165 fix for a nasty little missed situation where an installed plug-in
2166 which was in the cache did not get overridden by an uninstalled one
2167 which was earlier in the plugin path because the newly created plugin
2168 for the uninstalled one (not in the registry) didn't get its
2169 ->registered set to TRUE
2171 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2173 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2174 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2175 (gst_collectpads_is_active), (gst_collectpads_collect),
2176 (gst_collectpads_collect_range), (gst_collectpads_start),
2177 (gst_collectpads_stop), (gst_collectpads_peek),
2178 (gst_collectpads_pop), (gst_collectpads_available),
2179 (gst_collectpads_read), (gst_collectpads_flush):
2180 Guard public API with assertions.
2183 Fix docs for gst_pad_set_link_function().
2185 2005-11-02 Johan Dahlin <johan@gnome.org>
2187 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2188 Unref found_caps after we used it.
2190 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2192 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2193 Don't try to ref NULL.
2195 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2197 * win32/common/config.h.in:
2198 provide a GST_FUNCTION that just gives a string for now
2200 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2202 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2203 (gst_object_flags_get_type), (register_gst_bin_flags),
2204 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2205 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2206 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2207 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2208 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2209 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2210 (gst_clock_flags_get_type), (register_gst_state),
2211 (gst_state_get_type), (register_gst_state_change_return),
2212 (gst_state_change_return_get_type), (register_gst_state_change),
2213 (gst_state_change_get_type), (register_gst_element_flags),
2214 (gst_element_flags_get_type), (register_gst_core_error),
2215 (gst_core_error_get_type), (register_gst_library_error),
2216 (gst_library_error_get_type), (register_gst_resource_error),
2217 (gst_resource_error_get_type), (register_gst_stream_error),
2218 (gst_stream_error_get_type), (register_gst_event_type),
2219 (gst_event_type_get_type), (register_gst_seek_type),
2220 (gst_seek_type_get_type), (register_gst_seek_flags),
2221 (gst_seek_flags_get_type), (register_gst_format),
2222 (gst_format_get_type), (register_gst_index_certainty),
2223 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2224 (gst_index_entry_type_get_type),
2225 (register_gst_index_lookup_method),
2226 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2227 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2228 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2229 (gst_index_flags_get_type), (register_gst_debug_level),
2230 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2231 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2232 (gst_iterator_result_get_type), (register_gst_iterator_item),
2233 (gst_iterator_item_get_type), (register_gst_message_type),
2234 (gst_message_type_get_type), (register_gst_mini_object_flags),
2235 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2236 (gst_pad_link_return_get_type), (register_gst_flow_return),
2237 (gst_flow_return_get_type), (register_gst_activate_mode),
2238 (gst_activate_mode_get_type), (register_gst_pad_direction),
2239 (gst_pad_direction_get_type), (register_gst_pad_flags),
2240 (gst_pad_flags_get_type), (register_gst_pad_presence),
2241 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2242 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2243 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2244 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2245 (gst_plugin_flags_get_type), (register_gst_rank),
2246 (gst_rank_get_type), (register_gst_query_type),
2247 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2248 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2249 (gst_tag_flag_get_type), (register_gst_task_state),
2250 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2251 (gst_alloc_trace_flags_get_type),
2252 (register_gst_type_find_probability),
2253 (gst_type_find_probability_get_type), (register_gst_uri_type),
2254 (gst_uri_type_get_type), (register_gst_parse_error),
2255 (gst_parse_error_get_type):
2256 * win32/common/gstversion.h:
2259 2005-11-01 Luca Ognibene <luogni@tin.it>
2262 fix docs. popt is dead, long live GOption.
2264 2005-10-31 Wim Taymans <wim@fluendo.com>
2269 2005-10-31 Andy Wingo <wingo@pobox.com>
2273 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2275 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2276 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2277 the possibility of deadlocks here if code calling notify() or
2278 set() has a lock that can be taken in another notify handler (ABBA
2279 with class lock and e.g. python GIL state lock).
2281 2005-10-28 Julien MOUTTE <julien@moutte.net>
2283 * gst/gstbus.c: Doc updates.
2285 2005-10-28 Wim Taymans <wim@fluendo.com>
2287 * docs/design/part-TODO.txt:
2288 * gst/gstiterator.c:
2289 * gst/gstsystemclock.c:
2290 * gst/gstsystemclock.h:
2293 2005-10-28 Edward Hervey <edward@fluendo.com>
2295 * docs/gst/gstreamer-docs.sgml:
2296 * docs/gst/gstreamer-sections.txt:
2297 the GstURIType documentation page is private, it only defines GstURIType
2298 which should be defined in the GstURIHandler page
2300 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2302 * gst/gstbin.c: (gst_bin_class_init):
2305 Documentation updates.
2307 2005-10-28 Wim Taymans <wim@fluendo.com>
2309 * docs/gst/gstreamer-sections.txt:
2312 Documented the clocks.
2314 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2316 * docs/gst/gstreamer-sections.txt:
2317 move some macros to private sections
2318 * gst/gstminiobject.c:
2319 * gst/gstminiobject.h:
2320 add descriptions provided by ds and some more
2322 mark macro as to be removed
2324 2005-10-28 Wim Taymans <wim@fluendo.com>
2326 * docs/design/part-TODO.txt:
2327 Add an item to TODO.
2329 * gst/gstiterator.c: (gst_iterator_fold),
2330 (gst_iterator_find_custom):
2331 * gst/gstiterator.h:
2334 2005-10-28 Wim Taymans <wim@fluendo.com>
2336 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2337 (gst_base_transform_init):
2340 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2341 An EOS event marks the queue as completely filled.
2343 2005-10-27 Wim Taymans <wim@fluendo.com>
2345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2346 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2347 Some more debugging.
2349 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2350 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2351 (gst_base_transform_event), (gst_base_transform_getrange),
2352 (gst_base_transform_chain):
2353 * gst/base/gstbasetransform.h:
2355 Protect transform and concurrent buffer alloc with a new lock.
2356 Try not to break ABI/API.
2358 2005-10-27 Wim Taymans <wim@fluendo.com>
2360 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2361 (gst_base_src_init), (gst_base_src_query),
2362 (gst_base_src_default_newsegment),
2363 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2364 (gst_base_src_send_event), (gst_base_src_event_handler),
2365 (gst_base_src_pad_get_range), (gst_base_src_loop),
2366 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2367 (gst_base_src_start), (gst_base_src_deactivate),
2368 (gst_base_src_activate_push), (gst_base_src_change_state):
2369 Move some stuff around and cleanup things.
2371 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2373 * gst/base/gstbasesrc.c: (gst_base_src_query):
2374 Add missing break statements.
2376 2005-10-27 Wim Taymans <wim@fluendo.com>
2378 * check/gst/gstbin.c: (GST_START_TEST):
2379 An extra refcount is taken in basesrc.
2381 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2382 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2383 (gst_base_src_loop):
2384 Small cleanups, check for flushing after being unlocked from the
2385 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2386 Don't send out EOS when going to READY.
2388 2005-10-27 Wim Taymans <wim@fluendo.com>
2390 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2391 (gst_base_sink_get_position):
2394 * gst/gstbin.c: (message_check), (bin_replace_message),
2395 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2396 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2397 (bin_query_duration_init), (bin_query_duration_fold),
2398 (bin_query_duration_done), (bin_query_generic_fold),
2400 * tools/gst-launch.c: (main):
2403 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2405 * examples/controller/audio-example.c: (main):
2406 * examples/queue/queue.c: (event_loop):
2407 * gst/base/gstbasetransform.h:
2408 * gst/gstelement.c: (gst_element_send_event):
2410 * gst/gstpad.c: (gst_pad_send_event):
2413 changing log priority in error situations
2415 2005-10-25 Wim Taymans <wim@fluendo.com>
2417 * gst/gstbin.c: (message_check), (bin_replace_message),
2418 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2419 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2420 (bin_query_duration_init), (bin_query_duration_fold),
2421 (bin_query_duration_done), (bin_query_generic_fold),
2423 Some doc and debug updates.
2424 Cache previously requested query DURATION for speed. invalidate
2425 cached duration if element posts a DURATION message.
2427 2005-10-25 Wim Taymans <wim@fluendo.com>
2429 * docs/design/part-TODO.txt:
2432 * gst/gstbin.c: (message_check), (bin_replace_message),
2433 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2434 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2435 (bin_query_duration_init), (bin_query_duration_fold),
2436 (bin_query_duration_done), (bin_query_generic_fold),
2438 Handle SEGMENT_START/DONE messages correctly.
2439 More evolved query algorithm that handles duration queries
2442 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2443 (gst_element_get_state_func), (gst_element_abort_state),
2444 (gst_element_commit_state), (gst_element_lost_state):
2445 Some more debugging.
2450 2005-10-25 Wim Taymans <wim@fluendo.com>
2452 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2453 Don't use invalid stream_time.
2455 * gst/gstevent.c: (gst_event_new_newsegment):
2456 stream_time in newsegment cannot be undefined.
2458 2005-10-24 Wim Taymans <wim@fluendo.com>
2463 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2465 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2467 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2469 * docs/libs/tmpl/gstdparam.sgml:
2470 * docs/libs/tmpl/gstdplinint.sgml:
2471 * docs/libs/tmpl/gstdpman.sgml:
2472 * docs/libs/tmpl/gstdpsmooth.sgml:
2473 * docs/libs/tmpl/gstunitconvert.sgml:
2476 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2481 === release 0.9.4 ===
2483 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2486 releasing 0.9.4, "Tyrannosaurus Rex"
2488 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2490 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2491 (gst_file_sink_get_current_offset):
2492 Use fseeko() and ftello() if available. When falling back on
2493 lseek() to get the current offset, fflush() first to make sure
2494 everything is up-to-date and we get the right offset.
2496 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2498 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2499 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2500 * gst/gsterror.c: (_gst_stream_errors_init):
2502 * gst/gstqueue.c: (gst_queue_loop):
2504 remove prematurely added error category and clean up the instances
2506 2005-10-21 Wim Taymans <wim@fluendo.com>
2508 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2509 (gst_base_sink_get_position), (gst_base_sink_query),
2510 (gst_base_sink_change_state):
2511 Simply set the right flag when going to playing, that's all
2512 we need to do instead of calling a function inside the object
2513 lock (that could take the lock as well and deadlock)
2515 2005-10-21 Wim Taymans <wim@fluendo.com>
2517 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2518 (gst_base_src_loop):
2519 Don't warn, the peer element knows what to do best when
2520 the seek failed, it might try something else.
2522 2005-10-21 Wim Taymans <wim@fluendo.com>
2524 * gst/base/gstbasesrc.c: (gst_base_src_init),
2525 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2528 2005-10-21 Wim Taymans <wim@fluendo.com>
2530 * docs/design/part-segments.txt:
2533 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2534 Correctly set caps, even on the subbufer.
2536 2005-10-21 Wim Taymans <wim@fluendo.com>
2538 * docs/gst/gstreamer-docs.sgml:
2539 * docs/gst/gstreamer-sections.txt:
2546 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2550 And 2% more doc coverage.
2552 2005-10-21 Andy Wingo <wingo@pobox.com>
2554 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2557 2005-10-20 Wim Taymans <wim@fluendo.com>
2559 * gst/gsterror.c: (gst_error_get_message):
2562 * gst/gststructure.c:
2567 2005-10-20 Wim Taymans <wim@fluendo.com>
2572 Another 1% more coverage.
2574 2005-10-20 Wim Taymans <wim@fluendo.com>
2576 * docs/gst/gstreamer-sections.txt:
2577 * gst/gstelement.c: (gst_element_get_state_func),
2578 (gst_element_abort_state), (gst_element_commit_state),
2579 (gst_element_lost_state):
2581 * gst/gstquery.c: (gst_query_set_position),
2582 (gst_query_parse_position), (gst_query_set_duration),
2583 (gst_query_parse_duration), (gst_query_new_convert):
2585 Yay! 1% more docs coverage.
2587 2005-10-20 Wim Taymans <wim@fluendo.com>
2590 * gst/gstquery.c: (gst_query_set_position),
2591 (gst_query_parse_position), (gst_query_set_duration),
2592 (gst_query_parse_duration), (gst_query_new_convert):
2594 * gst/gstutils.c: (gst_element_query_convert):
2596 Docs and consistency fixes.
2598 2005-10-20 Wim Taymans <wim@fluendo.com>
2604 2005-10-20 Wim Taymans <wim@fluendo.com>
2606 * gst/gstbin.c: (message_check), (bin_replace_message),
2607 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2608 (update_degree), (gst_bin_sort_iterator_next),
2609 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2610 Reworked the message handling a bit, cache the messages instead of
2611 only the senders. alows us to do more in the future.
2613 2005-10-20 Wim Taymans <wim@fluendo.com>
2615 * docs/design/part-TODO.txt:
2618 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2619 (gst_base_sink_query):
2620 Don't use clock time to report position when in EOS.
2622 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2624 * tools/gst-inspect.c: (print_interfaces),
2625 (print_element_properties_info), (print_element_info):
2626 Fix interface output with gst-inspect -a; don't print
2627 newlines after double/float properties.
2629 2005-10-20 Wim Taymans <wim@fluendo.com>
2631 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2632 (gst_base_sink_query):
2633 Speed up current position calculation.
2635 * gst/base/gstbasesrc.c: (gst_base_src_query),
2636 (gst_base_src_default_newsegment):
2637 Correctly set stream position in newsegment.
2639 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2640 (update_degree), (gst_bin_sort_iterator_next),
2641 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2642 * gst/gstmessage.c: (gst_message_new_custom):
2643 Clean up debugging info
2645 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2646 (gst_queue_loop), (gst_queue_handle_src_query):
2649 2005-10-19 Wim Taymans <wim@fluendo.com>
2651 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2652 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2653 Fix query handling again.
2655 2005-10-19 Wim Taymans <wim@fluendo.com>
2657 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2658 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2659 * gst/base/gstbasesrc.c: (gst_base_src_query):
2660 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2661 * gst/elements/gsttypefindelement.c:
2662 (gst_type_find_handle_src_query), (find_element_get_length),
2663 (gst_type_find_element_activate):
2666 * gst/gstquery.c: (gst_query_new_position),
2667 (gst_query_set_position), (gst_query_parse_position),
2668 (gst_query_new_duration), (gst_query_set_duration),
2669 (gst_query_parse_duration), (gst_query_set_segment),
2670 (gst_query_parse_segment):
2672 Bundling query position/duration is not a good idea since duration
2673 does not change much and we don't want to recalculate it for every
2674 position query, so they are separated again..
2675 Base value in segment query is not needed.
2677 * gst/gstqueue.c: (gst_queue_handle_src_query):
2678 * gst/gstutils.c: (gst_element_query_position),
2679 (gst_element_query_duration), (gst_pad_query_position),
2680 (gst_pad_query_duration):
2682 Updates for query API change.
2683 Added some docs here and there.
2685 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2687 * check/gst/gstbin.c: (GST_START_TEST):
2688 * check/gst/gstghostpad.c: (GST_START_TEST):
2689 * check/pipelines/cleanup.c: (GST_START_TEST):
2690 wait on thread to die so we can check refcount correctly
2692 2005-10-18 Wim Taymans <wim@fluendo.com>
2694 * check/pipelines/stress.c: (GST_START_TEST):
2695 Make check a little more time consuming.
2697 2005-10-18 Wim Taymans <wim@fluendo.com>
2699 * check/Makefile.am:
2700 * check/pipelines/stress.c: (GST_START_TEST),
2701 (simple_launch_lines_suite), (main):
2702 Small state change torture test.
2704 * docs/design/part-states.txt:
2705 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2706 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2707 (gst_base_sink_change_state):
2708 Never take state lock from streaming thread, clean up ugly
2709 hacks. Unfortunatly core does not yet support nice ways to
2712 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2714 Start state recalc if a STATE_DIRTY message is posted, but only
2715 on the toplevel bin.
2717 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2718 (gst_element_get_state_func), (gst_element_abort_state),
2719 (gst_element_commit_state), (gst_element_lost_state),
2720 (gst_element_set_state_func), (gst_element_change_state):
2722 State variables are now protected with the LOCK, the state
2723 lock is only used to serialize _set_state().
2725 2005-10-18 Wim Taymans <wim@fluendo.com>
2727 * check/gst/gstbin.c: (GST_START_TEST):
2728 * check/gst/gstmessage.c: (GST_START_TEST):
2729 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2730 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2732 * gst/gstelement.c: (gst_element_abort_state),
2733 (gst_element_commit_state), (gst_element_lost_state):
2734 * gst/gstmessage.c: (gst_message_new_state_changed),
2735 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2736 (gst_message_new_segment_done), (gst_message_new_duration),
2737 (gst_message_parse_state_changed),
2738 (gst_message_parse_segment_start),
2739 (gst_message_parse_segment_done), (gst_message_parse_duration):
2741 * tools/gst-launch.c: (event_loop):
2742 Seriously, this is better than a previous commit as we only need
2743 to notify the fact that an element changed state in a streaming
2744 thread, marking the state of the parents dirty, hence the
2745 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2748 2005-10-18 Wim Taymans <wim@fluendo.com>
2750 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2751 (gst_bin_recalc_func):
2752 * gst/gstelement.c: (gst_element_set_clock),
2753 (gst_element_abort_state), (gst_element_lost_state):
2754 Cleanups, prepare for state change fixes.
2756 2005-10-18 Wim Taymans <wim@fluendo.com>
2759 * gst/gstelement.c: (gst_element_class_init),
2760 (gst_element_set_state), (gst_element_set_state_func):
2762 Pending ABI changes.
2763 GThreadPool in GstBinClass to monitor async state changes.
2764 state_cookie in GstElement to detect concurrent gst/set state.
2765 set_state is now virtual too in case a very complicated element
2766 has to be constructed.
2768 2005-10-18 Wim Taymans <wim@fluendo.com>
2770 * check/gst/gstbin.c: (GST_START_TEST):
2771 * check/gst/gstmessage.c: (GST_START_TEST):
2772 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2773 * gst/gstbin.c: (bin_bus_handler):
2774 * gst/gstelement.c: (gst_element_commit_state),
2775 (gst_element_lost_state):
2776 * gst/gstmessage.c: (gst_message_new_state_changed),
2777 (gst_message_new_segment_start), (gst_message_new_segment_done),
2778 (gst_message_new_duration), (gst_message_parse_state_changed),
2779 (gst_message_parse_segment_start),
2780 (gst_message_parse_segment_done), (gst_message_parse_duration):
2782 * tools/gst-launch.c: (event_loop):
2783 Make messages future proof.
2784 state-change gets a flag if it was a message comming from the
2786 segment-start/stop can also be specified in other formats.
2787 A message to notify an app that a pipeline changed playback
2789 Also fix a GstMessage leak in -launch
2791 2005-10-18 Andy Wingo <wingo@pobox.com>
2793 * gst/gstelement.c (gst_element_dispose): More helpful message.
2795 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2797 reviewed by: <delete if not using a buddy>
2799 * common/gtk-doc.mak:
2801 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2803 * gst/gstregistry.c: (gst_registry_scan_path_level):
2804 unref a plug-in we get that was already initialized
2806 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2808 * docs/gst/gstreamer-sections.txt:
2809 * docs/libs/gstreamer-libs-sections.txt:
2814 2005-10-17 Andy Wingo <wingo@pobox.com>
2816 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2819 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2821 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2823 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2824 (gst_element_get_state_func): Better debug message.
2825 (gst_element_commit_state): s/INFO/DEBUG/.
2826 (gst_element_lost_state, gst_element_change_state):
2828 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2829 (gst_message_new_custom): s/INFO/LOG/.
2831 2005-10-17 Michael Smith <msmith@fluendo.com>
2833 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2834 Check if end time is valid using end time, not start time.
2836 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2838 * check/gst-libs/controller.c: (GST_START_TEST),
2839 (gst_controller_suite):
2840 * libs/gst/controller/gstcontroller.c:
2841 (gst_controlled_property_set_interpolation_mode):
2842 * libs/gst/controller/gstcontroller.h:
2843 * libs/gst/controller/gstinterpolation.c:
2844 * testsuite/controller/.cvsignore:
2845 * testsuite/controller/Makefile.am:
2846 * testsuite/controller/interpolator.c:
2847 merge controller testsuites
2849 remove mem-chunk from docs
2851 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2853 * gst/gstmemchunk.c:
2854 * gst/gstmemchunk.h:
2855 * gst/gsttrashstack.c:
2856 * gst/gsttrashstack.h:
2857 out. get out. you're fired. to the Attic !
2859 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2861 * gst/gstcaps.c: (gst_caps_intersect):
2862 fix signedness issues in a (hopefully) correct way
2863 * gst/gstelement.c: (gst_element_pads_activate):
2865 * gst/gstobject.c: (gst_object_set_parent):
2868 2005-10-17 Julien MOUTTE <julien@moutte.net>
2870 * gst/gstvalue.h: Fix prototypes.
2872 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2874 * docs/gst/gstreamer-sections.txt:
2875 * gst/gst.c: (gst_version_string):
2877 * gst/gstversion.h.in:
2878 * win32/common/libgstreamer.def:
2879 add gst_version_string ()
2881 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2885 * gst/gst.c: (init_post):
2886 * win32/common/config.h.in:
2888 * gst/gstcaps.c: (gst_caps_intersect):
2889 use gint64, the range could be bigger than a guint
2891 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2894 document potential problem in 2038
2896 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2898 * gst/gstcaps.c: (gst_caps_intersect):
2899 Fix guint j diving under 0
2901 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2904 * win32/common/config.h:
2905 * win32/common/config.h.in:
2906 check for process.h, declares getpid() on Windows
2908 include process.h if we have it
2909 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2910 * gst/gstmemchunk.h:
2911 fix signedness issues
2912 * win32/common/libgstreamer.def:
2915 2005-10-16 Julien MOUTTE <julien@moutte.net>
2917 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2918 fix. Because of unsigned ints, caps intersection was going nuts and
2919 trying to access structures with G_MAXUINT index. That fixes
2920 videotestsrc ! ffmpegcolorspace ! fakesink
2921 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2924 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2927 use the gettext macro
2928 * gst/elements/gstelements.c:
2930 * gst/indexers/gstindexers.c:
2931 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2932 * win32/common/config.h:
2934 * win32/common/config.h.in:
2935 add the template to generate config.h
2936 * win32/common/gstenumtypes.c:
2937 * win32/common/gstversion.h:
2940 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2942 * gst/gst.c: (gst_version):
2943 * gst/gstversion.h.in:
2946 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2949 Oops, add missing closing bracket.
2951 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2954 use common m4's for argument checking
2956 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2958 * docs/gst/gstreamer-sections.txt:
2960 Add GST_EVENT_TYPE_NAME() macro.
2962 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2965 * gst/gstpluginfeature.c:
2967 privatize more symbols
2969 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2972 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2973 everything that uses GStreamer API should have the includes
2975 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2977 * docs/gst/gstreamer-sections.txt:
2978 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2980 give each value a _get_type, removes the DATA exports
2982 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2986 remove _gst_registry_auto_load, not used anymore
2987 * gst/gstbin.c: (gst_bin_get_type):
2989 * gst/gstelement.c: (gst_element_get_type):
2991 * gst/gstobject.c: (gst_object_get_type):
2993 * gst/gstpad.c: (gst_pad_get_type):
2995 make _get_type functions similar, fixes data export from library
2997 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3000 correctly make conditionals
3001 * gst/elements/Makefile.am:
3002 * gst/elements/gstelements.c:
3003 fix typo causing fdsrc not to build
3005 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3007 * testsuite/Makefile.am:
3008 * testsuite/bytestream/.cvsignore:
3009 * testsuite/bytestream/Makefile.am:
3010 * testsuite/bytestream/filepadsink.c:
3011 * testsuite/bytestream/gstbstest.c:
3012 * testsuite/bytestream/test1.c:
3013 * testsuite/bytestream/testfile1:
3014 * testsuite/caps/normalisation.c:
3015 * testsuite/caps/random.c: (main):
3016 * testsuite/cleanup/.cvsignore:
3017 * testsuite/cleanup/Makefile.am:
3018 * testsuite/cleanup/cleanup1.c:
3019 * testsuite/cleanup/cleanup2.c:
3020 * testsuite/cleanup/cleanup3.c:
3021 * testsuite/cleanup/cleanup4.c:
3022 * testsuite/cleanup/cleanup5.c:
3023 * testsuite/controller/interpolator.c:
3024 * testsuite/debug/printf_extension.c: (main):
3025 * testsuite/elements/tee.c:
3026 * testsuite/negotiation/.cvsignore:
3027 * testsuite/negotiation/Makefile.am:
3028 * testsuite/negotiation/pad_link.c:
3029 * testsuite/pad/Makefile.am:
3030 * testsuite/pad/chainnopull.c:
3031 * testsuite/pad/getnopush.c:
3032 * testsuite/pad/link.c:
3033 * testsuite/refcounting/sched.c: (create_pipeline):
3034 * testsuite/registry/Makefile.am:
3035 * testsuite/registry/gst-print-formats.c:
3036 * testsuite/schedulers/.cvsignore:
3037 * testsuite/schedulers/142183-2.c:
3038 * testsuite/schedulers/142183.c:
3039 * testsuite/schedulers/143777-2.c:
3040 * testsuite/schedulers/143777.c:
3041 * testsuite/schedulers/147713.c:
3042 * testsuite/schedulers/147819.c:
3043 * testsuite/schedulers/147894-2.c:
3044 * testsuite/schedulers/147894.c:
3045 * testsuite/schedulers/Makefile.am:
3046 * testsuite/schedulers/group_link.c:
3047 * testsuite/schedulers/queue_link.c:
3048 * testsuite/schedulers/relink.c:
3049 * testsuite/schedulers/unlink.c:
3050 * testsuite/schedulers/unref.c:
3051 * testsuite/schedulers/useless_iteration.c:
3052 * testsuite/states/bin.c:
3053 clean out/remove some stuff from the testsuite directories
3055 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3058 check for some headers
3059 * gst/elements/Makefile.am:
3060 * gst/elements/gstelements.c:
3061 don't compile fdsrc without sys/socket.h
3062 * gst/indexers/Makefile.am:
3063 * gst/indexers/gstindexers.c: (plugin_init):
3064 don't compile fileindex without mmap
3066 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3073 * check/Makefile.am:
3074 * docs/gst/Makefile.am:
3075 * examples/helloworld/Makefile.am:
3077 * gst/base/Makefile.am:
3078 * gst/check/Makefile.am:
3079 * gst/elements/Makefile.am:
3080 * gst/indexers/Makefile.am:
3081 * gst/parse/Makefile.am:
3082 * libs/gst/controller/Makefile.am:
3083 * libs/gst/dataprotocol/Makefile.am:
3084 * examples/helloworld/helloworld.c: (event_loop):
3085 compile fixes, though it's not being compiled currently
3087 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3089 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3090 Add some simple tests for the new taglist date API.
3092 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3094 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3095 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3096 Beautify 'last-message' output: print 'none' for buffer timestamps
3097 and durations if none is set; improve alignment with next messages.
3099 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3101 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3102 * gst/gstpluginfeature.h:
3103 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3104 * gst/gstregistry.h:
3105 * docs/gst/gstreamer-sections.txt:
3106 Add new API to check plugin feature version requirements.
3108 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3109 Some basic tests for the above.
3111 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3113 * gst/gststructure.c: (gst_structure_to_string):
3114 guard against NULL printf - happens when for example
3115 a message structure with GstClock gets serialized
3117 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3119 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3120 Fix presumable copy'n'pasto.
3122 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3124 * gst/elements/gstfakesrc.h:
3125 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3126 * gst/elements/gsttypefindelement.c:
3128 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3129 I wonder if this could actually write +2GB files before
3131 2005-10-13 Andy Wingo <wingo@pobox.com>
3133 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3134 Fix Timmeke Waymans bug.
3135 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3136 string of the proper length to gst_caps_from_string. There's a
3137 potential for, before this fix, that this could cause someone
3138 connecting over the network to cause a segfault if the payload is
3141 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3143 * docs/design/draft-push-pull.txt:
3144 * docs/design/part-overview.txt:
3145 * docs/random/TODO-pre-0.9:
3146 * docs/random/old/ChangeLog.gstreamer:
3147 * gst/base/gstpushsrc.c:
3151 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3153 * gst/glib-compat.c: (gst_flags_get_first_value):
3154 * gst/glib-compat.h:
3155 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3156 (gst_value_compare_double), (gst_value_serialize_flags):
3157 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3160 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3162 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3163 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3165 * tools/gst-launch.c: (event_loop):
3166 print out clock nicely
3168 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3170 * docs/gst/gstreamer-sections.txt:
3172 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3173 (gst_tag_list_get_date_index):
3174 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3175 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3177 2005-10-13 Julien MOUTTE <julien@moutte.net>
3179 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3180 (gst_collectpads_chain):
3181 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3184 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3186 * docs/gst/gstreamer-sections.txt:
3189 * tools/gst-inspect.c: (main):
3190 * tools/gst-launch.c: (main):
3191 * tools/gst-run.c: (main):
3192 * tools/gst-xmlinspect.c: (main):
3193 fix GOption context leaks
3196 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3200 * win32/common/config.h:
3202 * win32/vs6/grammar.dsp:
3203 * win32/vs6/libgstelements.dsp:
3204 * win32/vs6/libgstreamer.dsp:
3207 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3209 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3210 * gst/base/gstbasesrc.c: (gst_base_src_query):
3211 fix more guint64<->gdouble conversions
3213 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3216 add win32-update target
3217 * win32/common/gstconfig.h:
3218 * win32/common/gstenumtypes.c:
3219 * win32/common/gstenumtypes.h:
3220 * win32/common/gstversion.h:
3221 add files that visual studio can't generate
3223 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3226 add a win32-update target
3229 2005-10-12 Wim Taymans <wim@fluendo.com>
3231 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3232 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3233 * gst/gstelement.c: (gst_element_commit_state),
3234 (gst_element_set_state):
3235 Protect flags with proper lock.
3236 unref provided cached clock in dispose.
3238 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3241 * gst/gstminiobject.h:
3243 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3244 removed unused flags from miniobject
3247 2005-10-12 Wim Taymans <wim@fluendo.com>
3249 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3250 (gst_file_sink_event), (gst_file_sink_render):
3251 Flush before seeking.
3253 2005-10-12 Andy Wingo <wingo@pobox.com>
3255 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3256 always been the case.
3258 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3260 * check/gst/gstbin.c: (GST_START_TEST):
3261 * docs/gst/gstreamer-sections.txt:
3262 * gst/base/gstbasesink.c: (gst_base_sink_init):
3263 * gst/base/gstbasesrc.c: (gst_base_src_init),
3264 (gst_base_src_get_range), (gst_base_src_check_get_range),
3265 (gst_base_src_start), (gst_base_src_stop):
3266 * gst/base/gstbasesrc.h:
3267 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3268 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3269 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3273 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3275 * gst/gstelement.c: (gst_element_is_locked_state),
3276 (gst_element_set_locked_state), (gst_element_commit_state),
3277 (gst_element_set_state):
3279 * gst/gstindex.c: (gst_index_init):
3281 * gst/gstminiobject.h:
3282 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3283 (gst_object_set_parent):
3285 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3286 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3288 * gst/gstpadtemplate.h:
3289 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3290 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3291 * gst/gstpipeline.h:
3292 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3293 (gst_file_index_commit):
3294 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3295 * testsuite/pad/link.c: (gst_test_src_init),
3296 (gst_test_filter_init), (gst_test_sink_init):
3297 * testsuite/states/locked.c: (main):
3298 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3299 moved bitshift from macro to enum definition
3301 2005-10-12 Wim Taymans <wim@fluendo.com>
3303 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3304 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3305 (gst_file_sink_render):
3306 Some more debugging info.
3308 2005-10-12 Wim Taymans <wim@fluendo.com>
3310 * docs/design/part-states.txt:
3311 * tools/gst-launch.c: (main):
3313 Revert non-intentional change.
3315 2005-10-12 Wim Taymans <wim@fluendo.com>
3317 * check/gst/gstbin.c: (GST_START_TEST):
3318 * check/gst/gstelement.c: (GST_START_TEST):
3319 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3320 * check/gst/gstghostpad.c: (GST_START_TEST):
3321 * check/gst/gstpipeline.c: (GST_START_TEST):
3322 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3323 * check/states/sinks.c: (GST_START_TEST):
3324 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3325 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3326 (gst_bin_remove_func), (gst_bin_get_state_func),
3327 (gst_bin_recalc_state), (gst_bin_change_state_func),
3329 * gst/gstelement.c: (gst_element_get_state_func),
3330 (gst_element_get_state), (gst_element_abort_state),
3331 (gst_element_commit_state), (gst_element_set_state),
3332 (gst_element_change_state), (gst_element_change_state_func):
3334 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3335 (gst_pipeline_provide_clock_func):
3336 * gst/gstutils.c: (gst_element_link_pads_filtered):
3337 * tools/gst-launch.c: (main):
3338 * tools/gst-typefind.c: (main):
3339 Use GstClockTime in _get_state() instead of GTimeVal.
3340 Remove old code in gstutils.c
3342 2005-10-12 Andy Wingo <wingo@pobox.com>
3344 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3347 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3348 there is no task. Shouldn't affect any code, as nothing in our
3349 plugins checks this return value.
3350 (gst_pad_stop_task): Also take the stream lock if the pad has no
3353 2005-10-12 Wim Taymans <wim@fluendo.com>
3355 * gst/gstpad.c: (pre_activate), (post_activate),
3356 (gst_pad_activate_pull), (gst_pad_activate_push):
3357 Cleanup activation code. Reset old state if
3360 2005-10-12 Wim Taymans <wim@fluendo.com>
3362 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3363 (gst_base_sink_change_state):
3364 No need to prerol after receiving EOS.
3366 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3367 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3368 * gst/elements/gstidentity.c: (gst_identity_event):
3369 Print events more verbosely.
3371 2005-10-12 Wim Taymans <wim@fluendo.com>
3373 * check/Makefile.am:
3374 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3375 * check/states/sinks2.c:
3376 Moved sinks2 testcode in sinks check.
3378 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3379 (gst_bin_remove_func), (gst_bin_recalc_state),
3380 (gst_bin_change_state_func), (bin_bus_handler):
3381 Fix potential race condition when _get_state() iterated over an
3382 ASYNC element right before it posted a state completion.
3385 Do proper cast here.
3387 * gst/gstevent.c: (gst_event_new_newsegment),
3388 (gst_event_parse_newsegment):
3389 A playback rate of 0.0 is not allowed.
3391 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3393 * win32/common/config.h:
3394 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3395 (_trewinddir), (_ttelldir), (_tseekdir):
3396 * win32/common/dirent.h:
3397 * win32/common/gtchar.h:
3398 * win32/common/libgstbase.def:
3399 * win32/common/libgstreamer.def:
3400 * win32/vs6/grammar.dsp:
3401 * win32/vs6/gst_inspect.dsp:
3402 * win32/vs6/gst_launch.dsp:
3403 * win32/vs6/gstreamer.dsw:
3404 * win32/vs6/libgstbase.dsp:
3405 * win32/vs6/libgstelements.dsp:
3406 * win32/vs6/libgstreamer.dsp:
3407 Visual Studio 6 project files, and a new common directory.
3410 2005-10-11 Wim Taymans <wim@fluendo.com>
3412 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3413 (gst_base_sink_do_sync), (gst_base_sink_query),
3414 (gst_base_sink_change_state):
3415 * gst/base/gstbasesink.h:
3416 Correctly parse newsegment info.
3418 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3420 * gst/gst.c: (init_post):
3421 split plugin paths correctly
3423 2005-10-11 Wim Taymans <wim@fluendo.com>
3425 * check/gst/gstevent.c: (GST_START_TEST):
3426 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3427 (gst_base_sink_change_state):
3428 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3429 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3430 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3431 * gst/gstevent.c: (gst_event_new_newsegment),
3432 (gst_event_parse_newsegment):
3434 Added extra flag to newsegment for future API freeze.
3435 Updated check and base elements.
3437 2005-10-11 Julien MOUTTE <julien@moutte.net>
3439 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3440 (gst_collectpads_add_pad), (gst_collectpads_pop),
3441 (gst_collectpads_event), (gst_collectpads_chain):
3442 * gst/base/gstcollectpads.h: Handle EOS correctly.
3444 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3446 * tools/gst-launch.c: (main):
3447 more null protecting
3449 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3451 * gst/gst-i18n-lib.h:
3452 check for ENABLE_NLS, not GETTEXT_PACKAGE
3453 * gst/gstregistry.c: (gst_registry_add_plugin),
3454 (gst_registry_scan_path_level),
3455 (_gst_registry_remove_cache_plugins):
3456 protect possibly NULL strings
3457 * gst/parse/types.h:
3458 config.h already included before
3459 * tools/gst-inspect.c: (main):
3460 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3461 check for ENABLE_NLS, not GETTEXT_PACKAGE
3462 * tools/gst-launch.c: (main):
3463 check for ENABLE_NLS, not GETTEXT_PACKAGE
3465 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3468 if we don't have glib, fail before testing 2.8
3469 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3470 fix a leak, should fix plugins-base testsuite
3472 2005-10-11 Andy Wingo <wingo@pobox.com>
3474 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3475 take the mode we're going to as an arg. Go head and set the mode
3476 and flushing flags now, so that if the activate function starts a
3477 thread all the flags will be in the right state.
3478 (post_activate): Renamed also. Just handle making sure streaming
3479 finishes for the deactivation case, and setting the deactivated
3481 (gst_pad_set_active): Complain loudly if deactivation fails.
3482 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3483 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3484 remove the terrible hack.
3486 2005-10-11 Wim Taymans <wim@fluendo.com>
3488 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3489 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3490 (gst_bin_recalc_state), (gst_bin_change_state_func),
3491 (gst_bin_dispose), (bin_bus_handler):
3493 Prepare to make current EOS message queue more generic.
3496 * gst/gstevent.c: (gst_event_new_newsegment),
3497 (gst_event_parse_newsegment):
3499 Rename base to stream_time.
3504 2005-10-11 Wim Taymans <wim@fluendo.com>
3506 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3507 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3508 (gst_bin_change_state_func), (bin_bus_handler):
3510 Work on proper clock selection.
3512 2005-10-11 Edward Hervey <edward@fluendo.com>
3514 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3515 * libs/gst/controller/gstcontroller.h:
3516 Added GList* version of _remove_properties() in order to be able to wrap
3519 2005-10-11 Wim Taymans <wim@fluendo.com>
3521 * docs/design/part-states.txt:
3524 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3525 (gst_bin_change_state_func), (bin_bus_handler):
3526 Doc updates. Don't distribute the same clock over and over again.
3532 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3533 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3534 (gst_pad_send_event):
3536 Make probe emission threadsafe again.
3537 Register quarks and move _get_name() from utils.
3540 * gst/gstpipeline.c: (gst_pipeline_class_init),
3541 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3542 Only redistribute the clock of it changed.
3544 * gst/gstsystemclock.h:
3549 Moved the _flow_get_name() to GstPad.
3551 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3553 * check/gst-libs/gdp.c: (GST_START_TEST):
3554 * check/gst/gstcaps.c: (GST_START_TEST):
3555 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3556 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3557 (gst_dp_packet_from_caps):
3558 fix more valgrind warnings before turning up the heat
3560 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3562 * gst/parse/grammar.y:
3563 some cleanup before the hacking
3565 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3567 * gst/base/gstbasesrc.c: (gst_base_src_query):
3569 * gst/gstutils.c: (gst_guint64_to_gdouble),
3570 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3572 externalize, basesrc uses it
3573 obviously the implementation needs testing
3575 2005-10-10 Wim Taymans <wim@fluendo.com>
3577 * tests/sched/Makefile.am:
3578 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3579 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3581 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3583 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3584 apparently converting from guint64 to double is not implemented
3587 2005-10-10 Wim Taymans <wim@fluendo.com>
3589 * check/Makefile.am:
3590 * check/generic/states.c: (GST_START_TEST):
3591 * check/gst/gstbin.c: (GST_START_TEST):
3592 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3593 * check/states/sinks.c: (GST_START_TEST):
3594 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3596 Check fixes, use API as stated in design docs, remove hacks.
3598 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3599 (gst_base_sink_change_state):
3600 Catch stopping our task while we're shutting down.
3602 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3603 (gst_bin_remove_func), (gst_bin_get_state_func),
3604 (gst_bin_recalc_state), (gst_bin_change_state_func),
3607 * gst/gstelement.c: (gst_element_init),
3608 (gst_element_get_state_func), (gst_element_abort_state),
3609 (gst_element_commit_state), (gst_element_lost_state),
3610 (gst_element_set_state), (gst_element_change_state),
3611 (gst_element_change_state_func):
3613 New state change algorithm (see #318116)
3615 * gst/gstpipeline.c: (gst_pipeline_class_init),
3616 (gst_pipeline_init), (gst_pipeline_set_property),
3617 (gst_pipeline_get_property), (do_pipeline_seek),
3618 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3619 * gst/gstpipeline.h:
3620 Remove crude state change hacks.
3625 * tools/gst-launch.c: (main):
3626 Fixes for state change. Needs some more work to fully use the
3629 2005-10-10 Andy Wingo <wingo@pobox.com>
3631 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3633 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3634 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3637 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3639 * gst/gstiterator.c: (gst_iterator_new):
3640 Fix my previous commit: GTypes passed to gst_iterator_new()
3641 can be fundamental types.
3643 2005-10-10 Wim Taymans <wim@fluendo.com>
3645 * gst/gstelement.c: (gst_element_iterate_pad_list),
3646 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3647 (gst_element_iterate_sink_pads):
3648 Use src/sink pads lists for the respective iterators instead
3651 2005-10-10 Andy Wingo <wingo@pobox.com>
3653 Merged in popt removal + GOption addition patch from Ronald, bug
3656 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3657 GstElement macros around, remove popt-related symbols, add goption
3660 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3662 * docs/gst/Makefile.am:
3663 * docs/libs/Makefile.am: No POPT_CFLAGS.
3665 * examples/manual/Makefile.am:
3666 * docs/manual/basics-init.xml: Doc updates with an example.
3668 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3669 (gst_init), (parse_one_option), (parse_goption_arg):
3670 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3671 bit of hand merging and debugging to get the GOption stuff working
3674 * tests/Makefile.am:
3675 * tools/Makefile.am:
3676 * tools/gst-inspect.c: (main):
3677 * tools/gst-launch.c: (main):
3678 * tools/gst-run.c: (main):
3679 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3681 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3683 * gst/gstiterator.c: (gst_iterator_new):
3684 Add assertions to make sure passed GType is likely to really
3685 be a GType (as the compiler won't catch it if the size and
3686 GType arguments get mixed up, see #318447).
3688 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3690 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3692 * gst/gstbin.c: (gst_bin_iterate_sorted):
3693 Pass GType and size arguments to gst_iterator_new() in the right
3694 order (maybe we should make _new() take the GType as first argument
3695 just like _new_list()?) (#318447).
3698 2005-10-10 Wim Taymans <wim@fluendo.com>
3700 * gst/gstelement.c: (gst_element_finalize):
3701 And free the GStaticRecMutex too
3703 2005-10-10 Andy Wingo <wingo@pobox.com>
3705 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3706 Allocate and free the mutex properly.
3708 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3710 (GstElement): The state_lock is now recursive. Rebuild your
3711 plugins, suckers. Old macros adapted.
3713 * docs/gst/gstreamer-sections.txt: Doc updates.
3716 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3717 (g_static_rec_cond_wait): Ported from state changes patch, while
3718 we wait on bug #317802 to be solved in a well-distributed GLib.
3720 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3721 gst_element_change_state, variable name changes.
3722 (gst_element_change_state): Split out of gst_element_set_state in
3723 preparation for the state change merge. Doesn't pay attention to
3724 the 'transition' argument.
3725 (gst_element_set_state): Updates, hopefully purely cosmetic.
3726 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3728 (gst_element_get_state_func): Renamed from get_state, cosmetic
3731 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3733 * gst/elements/gstelements.c:
3734 * win32/GStreamer.vcproj:
3736 * win32/dirent.c: (_tseekdir):
3737 * win32/gst-inspect.vcproj:
3738 * win32/gst-launch.vcproj:
3739 * win32/gstconfig.h:
3740 * win32/gstelements.vcproj:
3741 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3742 * win32/gstreamer.def:
3744 updates for the win32 build (patch from Sebastien Moutte)
3746 2005-10-10 Andy Wingo <wingo@pobox.com>
3748 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3749 gst_bin_get_state, cleaned up (but no logic changes).
3750 (bin_element_is_sink): Comment updates.
3751 (sink_iterator_filter): Remove needless cast.
3752 (gst_bin_iterate_sinks): Doc update.
3753 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3754 cleaned up (but no logic changes).
3756 * check/states/sinks.c (test_src_sink): Cleanups from the state
3758 (test_livesrc_sink): Sync on the state.
3760 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3761 the state change patch.
3763 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3766 * check/gst/gstbin.c: Merge in some style fixes and additional
3767 checks from Wim's state change patch.
3769 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3771 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3772 (gst_type_find_helper):
3773 Check whether we have the requested data already in our list of
3774 cached buffers before pulling a new buffer; also make the buffer
3775 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3777 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3782 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3783 don't use long long, it's not portable. Replacing with
3784 gint64 seems to work; let's hope no skeletons fall out of the closet.
3786 2005-10-10 Andy Wingo <wingo@pobox.com>
3788 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3790 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3792 * docs/gst/gstreamer-sections.txt:
3797 * gst/gstmessage.c: (gst_message_parse_state_changed):
3800 more docs, fix compilation
3802 2005-10-09 Philippe Khalaf <burger@speedy.org>
3804 Fixed a few forgotten variables on previous commit
3806 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3808 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3809 Fix evil typefind crasher: getrange() might return a short
3810 buffer at the end of a file, but gst_type_find_peek() must
3811 either return the full data as requested or NULL, but
3812 never a short buffer.
3814 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3816 * gst/gstmessage.c: (gst_message_new_state_changed),
3817 (gst_message_parse_state_changed):
3819 don't use "new", it's a C++ keyword
3821 2005-10-08 Wim Taymans <wim@fluendo.com>
3823 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3824 * gst/gstelement.c: (gst_element_post_message):
3825 * gst/gstpipeline.c: (gst_pipeline_change_state):
3826 Small docs and debug updates.
3828 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3830 * docs/gst/gstreamer-sections.txt:
3831 * gst/gstelementfactory.c:
3836 2005-10-08 Wim Taymans <wim@fluendo.com>
3838 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3839 (gst_bin_dispose), (bin_bus_handler):
3840 Fix typos, add comments.
3841 Clear EOS list when going to PAUSED from any direction and do it
3842 in a threadsafe way.
3843 Get base time in a threadsafe way too.
3844 Fix confusing debug in the change_state function.
3845 Various other small cleanups.
3847 * gst/gstelement.c: (gst_element_post_message):
3848 Fix very verbose bus posting code.
3850 * gst/gstpipeline.c: (gst_pipeline_class_init),
3851 (gst_pipeline_set_property), (gst_pipeline_get_property),
3852 (gst_pipeline_change_state):
3853 Small ARG_ -> PROP_ cleanup
3855 2005-10-08 Wim Taymans <wim@fluendo.com>
3857 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3858 Do a less CPU demanding EOS check because we can.
3860 2005-10-08 Wim Taymans <wim@fluendo.com>
3862 * libs/gst/dataprotocol/dataprotocol.c:
3863 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3864 (gst_dp_packet_from_event):
3865 * libs/gst/dataprotocol/dataprotocol.h:
3866 * libs/gst/dataprotocol/dp-private.h:
3867 It's about time we bump the version number.
3868 Since event types don't fit in the guint8 anymore describing
3869 the payload type, make payload type 16 bits wide.
3871 2005-10-08 Wim Taymans <wim@fluendo.com>
3873 * docs/design/part-TODO.txt:
3874 * docs/design/part-clocks.txt:
3875 * docs/design/part-events.txt:
3876 * docs/design/part-gstbin.txt:
3877 * docs/design/part-gstelement.txt:
3878 * docs/design/part-gstpipeline.txt:
3879 * docs/design/part-live-source.txt:
3880 * docs/design/part-messages.txt:
3881 * docs/design/part-overview.txt:
3882 * docs/design/part-states.txt:
3885 2005-10-08 Wim Taymans <wim@fluendo.com>
3889 Fix event quark registration.
3890 Add some space between events so we can insert them in the
3893 2005-10-08 Wim Taymans <wim@fluendo.com>
3895 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3896 (gst_base_sink_handle_buffer):
3903 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3904 (gst_queue_set_property), (gst_queue_get_property):
3906 Remove old unused properties.
3908 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3909 * docs/gst/gstreamer-sections.txt:
3912 * gst/gstminiobject.c:
3913 * gst/gstminiobject.h:
3917 lots of new docs and doc fixes
3919 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3921 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3923 * gst/gstregistry.c: (gst_registry_lookup_locked),
3924 (gst_registry_scan_path_level):
3925 * gst/gstregistryxml.c: (load_plugin):
3926 Only ever load one plugin for a given plugin basename.
3927 This ensures correct overriding of GST_PLUGIN_PATH over
3928 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3929 system installed plugins.
3931 2005-10-08 Wim Taymans <wim@fluendo.com>
3933 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3934 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3935 Prepare for doing QOS.
3937 2005-10-08 Wim Taymans <wim@fluendo.com>
3939 * check/gst/gstbin.c: (GST_START_TEST):
3940 * check/pipelines/cleanup.c: (GST_START_TEST):
3941 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3942 Allow new clock message too.
3944 2005-10-08 Wim Taymans <wim@fluendo.com>
3946 * gst/gstmessage.c: (gst_message_new_error),
3947 (gst_message_new_warning), (gst_message_new_tag),
3948 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3949 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3950 (gst_message_new_segment_start), (gst_message_new_segment_done),
3951 (gst_message_parse_state_changed),
3952 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3953 (gst_message_parse_new_clock):
3955 Also carry the clock in question.
3957 2005-10-08 Wim Taymans <wim@fluendo.com>
3959 * gst/gstmessage.c: (gst_message_new_custom),
3960 (gst_message_new_eos), (gst_message_new_error),
3961 (gst_message_new_warning), (gst_message_new_tag),
3962 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3963 (gst_message_new_new_clock), (gst_message_new_segment_start),
3964 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3965 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3968 Added clock related messages.
3970 * gst/gstpipeline.c: (gst_pipeline_change_state):
3971 Post message when the clock changed.
3973 * tools/gst-launch.c: (event_loop):
3976 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3978 * tools/gst-inspect.c: (print_element_properties_info):
3979 Can't pass NULL strings to g_print() on windows.
3981 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3984 * docs/gst/Makefile.am:
3985 * docs/gst/gstreamer-docs.sgml:
3986 * docs/gst/running.xml:
3987 * docs/version.entities.in:
3988 add a chapter on running GStreamer.
3989 document GST_DEBUG and GST_PLUGIN* env vars
3991 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3996 remove PLUGINS_BUILDDIR stuff
3997 * gst/gst.c: (init_post):
3998 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4000 remove, it was condescending and not needed
4002 2005-10-08 Wim Taymans <wim@fluendo.com>
4004 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4005 (gst_base_sink_handle_object), (gst_base_sink_event),
4006 (gst_base_sink_wait), (gst_base_sink_handle_event),
4007 (gst_base_sink_change_state):
4008 * gst/base/gstbasesink.h:
4009 Repost EOS message while going to PLAYING if still EOS.
4010 Make sure that when receiving a FLUSH_START we don't attempt
4011 to sync on the clock anymore.
4013 2005-10-08 Wim Taymans <wim@fluendo.com>
4015 * tools/gst-launch.c: (event_loop):
4016 Better message printout.
4018 2005-10-08 Wim Taymans <wim@fluendo.com>
4020 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4021 (gst_bin_child_proxy_get_children_count):
4022 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4023 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4024 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4025 (gst_child_proxy_set_valist):
4026 * gst/parse/grammar.y:
4027 Make ChildProxy threadsafe and fix mem leaks.
4029 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4031 * gst/gst.c: (init_post):
4032 debug the GST_PLUGIN_ env vars
4034 2005-10-08 Wim Taymans <wim@fluendo.com>
4036 * check/gst/gstbin.c: (GST_START_TEST):
4037 * check/gst/gstmessage.c: (GST_START_TEST):
4038 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4039 * gst/gstelement.c: (gst_element_commit_state),
4040 (gst_element_lost_state):
4041 * gst/gstmessage.c: (gst_message_new_state_changed),
4042 (gst_message_parse_state_changed):
4044 * tools/gst-launch.c: (event_loop):
4045 Added extra field to STATE_CHANGE message with the pending
4046 state, which will be different from the new state soon.
4048 2005-10-08 Wim Taymans <wim@fluendo.com>
4050 * gst/gstbus.c: (gst_bus_pop):
4052 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4053 Small cleanups and doc updates.
4055 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4057 * gst/gst.c: (init_pre):
4058 * gst/gstbin.c: (gst_bin_add_func):
4059 log distributing clocks and base time
4060 * gst/gstregistry.c: (gst_registry_add_plugin),
4061 (gst_registry_scan_path_level), (gst_registry_scan_path):
4062 clean up the debugging output a little
4063 * gst/gstutils.c: (gst_element_state_get_name):
4064 warn about a memleak (I've actually seen this be used, though
4065 it was probably a bug)
4067 2005-10-07 Wim Taymans <wim@fluendo.com>
4069 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4070 (gst_base_src_init), (gst_base_src_default_newsegment),
4071 (gst_base_src_newsegment), (gst_base_src_do_seek),
4072 (gst_base_src_loop), (gst_base_src_start):
4073 * gst/base/gstbasesrc.h:
4074 Make the newsegment event customizable by subclasses.
4076 2005-10-07 Wim Taymans <wim@fluendo.com>
4078 * gst/gstevent.c: (gst_event_new_buffersize),
4079 (gst_event_parse_buffersize):
4081 New event for future idea.
4083 2005-10-07 Andy Wingo <wingo@pobox.com>
4085 * gst/gstelement.c (gst_element_post_message): Doc update.
4087 * docs/gst/gstreamer-sections.txt: Update.
4089 * gst/gstmessage.c (gst_message_new_application): Made into a
4090 function like honest API calls.
4091 (gst_message_new_element): New message type.
4093 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4095 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4096 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4099 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4100 NO_PREROLL from gst_element_change_state to fall through.
4102 2005-10-07 Wim Taymans <wim@fluendo.com>
4104 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4105 (gst_ghost_pad_do_activate_push):
4106 Activating a ghostpad with no internal pad in push mode
4109 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4112 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4113 Fixes compilation on Windows.
4115 2005-10-07 Michael Smith <msmith@fluendo.com>
4117 * tools/gst-inspect.c:
4118 Print out feature and plugin count at the end when printing out
4121 2005-10-04 Michael Smith <msmith@fluendo.com>
4123 * gst/gsterror.c: (_gst_stream_errors_init):
4124 Add another error string used in a few existing plugins.
4127 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4128 * tools/gst-inspect.c: (print_element_info):
4129 When a feature disappears from a plugin (and the feature exists in
4130 the cached registry file), things went horribly wrong. This isn't a
4131 complete fix, we should actually be removing the 'missing' features
4132 from the features list when we load the actual plugin. That's not
4135 2005-10-04 Johan Dahlin <johan@gnome.org>
4137 * check/gst/gstiterator.c: (GST_START_TEST):
4138 * gst/gstbin.c: (gst_bin_iterate_elements),
4139 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4140 * gst/gstelement.c: (gst_element_iterate_pads):
4141 * gst/gstformat.c: (gst_format_iterate_definitions):
4142 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4143 (gst_iterator_new_list), (gst_iterator_filter):
4144 * gst/gstiterator.h:
4145 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4146 Add a GType to GstIterator, update callsites and tests.
4148 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4150 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4151 give events a chance to be handled by event probes when the pad
4154 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4156 * gst/gstevent.c: (gst_event_type_get_name),
4157 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4159 add string representations for event types
4161 2005-10-06 Wim Taymans <wim@fluendo.com>
4163 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4164 Don't use NULL pointers.
4166 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4168 * gst/gst_private.h:
4172 * gst/gstpluginfeature.c:
4173 widen the debug category in output to fit the biggest one we have
4174 add a bus category and use it
4175 play with the colors
4176 fix up some categories
4178 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4180 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4181 add push activation of sink ghost pads.
4182 Andye, please verify
4184 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4186 * gst/gstutils.c: (gst_element_link_pads):
4187 fix a bug in the case where neither element has a pad
4188 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4189 add a test for that case
4191 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4193 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4194 emit have-data before checking for peers. This allows
4195 for probe handlers to connect elements. This helps autopluggers.
4196 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4198 add six checks, linked/unlinked with no/true/false probe
4200 2005-10-04 Wim Taymans <wim@fluendo.com>
4202 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4203 (gst_fake_sink_event), (gst_fake_sink_preroll),
4204 (gst_fake_sink_render), (gst_fake_sink_change_state):
4205 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4206 (gst_fake_src_get_property), (gst_fake_src_create),
4207 (gst_fake_src_stop):
4208 * gst/elements/gstidentity.c: (gst_identity_stop):
4209 Protect last_message with lock.
4211 2005-10-04 Edward Hervey <edward@fluendo.com>
4214 Added precision in the comments for GST_FORMAT_DEFAULT
4216 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4218 * tools/gst-launch.c: (main):
4219 Don't try to run erroneous pipelines.
4221 2005-10-04 Julien MOUTTE <julien@moutte.net>
4223 * gst/gstbus.c: We don't need this header.
4225 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4230 === release 0.9.3 ===
4232 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4236 Releasing 0.9.3, "Unregistered"
4238 2005-10-03 Andy Wingo <wingo@pobox.com>
4240 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4241 whereby calling a pad's activatepush() function can start a thread
4242 that starts to push or pull before the pad gets the FLUSHING flag
4243 unset. Hack around it by holding the stream lock until the flag is
4244 set. Need to replace this with a proper solution. Together with
4245 the ghost pad fixes, this fixes mp3 playing/tagreading.
4247 * docs/design/part-gstghostpad.txt: Add a note about activation of
4248 proxy pads outside of ghost pads.
4250 * gst/gstghostpad.c: Implement the ghost pad activation design.
4252 2005-10-02 Andy Wingo <wingo@pobox.com>
4254 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4255 It is volatile, after all.
4257 * docs/design/part-gstghostpad.txt: Flesh out activation with
4260 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4263 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4266 Fix (unused) AM_CONDITIONAL tests.
4268 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4270 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4272 * gst/gstutils.c: (gst_pad_query_convert):
4273 Add assertion that makes sure src_val is >=0, just like
4274 gst_query_new_convert() has. (#315895)
4276 2005-09-30 Edward Hervey <edward@fluendo.com>
4278 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4279 Let's not iterate pads we're not interested in, it avoids getting
4280 sky-high refcounts on sinkpad.
4282 2005-09-30 Wim Taymans <wim@fluendo.com>
4284 * gst/gstelement.c: (gst_element_set_state),
4285 (gst_element_change_state):
4286 Small tweak, element in ASYNC remains ASYNC.
4288 2005-09-30 Wim Taymans <wim@fluendo.com>
4290 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4291 Only error is an error.
4293 * gst/gstbin.c: (gst_bin_change_state):
4296 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4297 Also call pad_block in pad alloc.
4299 * gst/gstutils.c: (gst_flow_get_name):
4302 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4304 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4305 (gst_base_src_get_range):
4306 Fix documentation typos. Add some more debug info.
4308 2005-09-29 David Schleef <ds@schleef.org>
4310 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4311 more end-user friendly.
4312 * tools/gst-inspect.c: (main): Check if command-line argument is
4313 a file and attempt to load that file as a plugin.
4315 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4317 * check/gst/gstbin.c:
4318 * check/states/sinks.c:
4319 fix tests for the new warning
4320 * check/gst/gstpipeline.c:
4321 add a test for pipeline and bus interaction
4323 elements should be NULL if they get disposed; add a warning if not
4325 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4328 for 2.6 refcounting, make debug log more correct by printing
4329 the actual refcounts at the time of swap (Wim)
4331 2005-09-29 Andy Wingo <wingo@pobox.com>
4333 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4334 removes signal watches previously added via
4335 gst_bus_add_signal_watch.
4336 (gst_bus_add_signal_watch): Don't return the source id, just store
4337 it on the bus if there wasn't an id already.
4339 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4340 add_signal_watch and remove_signal_watch.
4342 2005-09-29 Edward Hervey <edward@fluendo.com>
4344 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4345 Better if we actually iterate the list :)
4347 2005-09-29 Wim Taymans <wim@fluendo.com>
4349 * check/gst/gstbin.c: (GST_START_TEST):
4350 Change for new bus API.
4352 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4353 (send_messages), (GST_START_TEST), (gstbus_suite):
4354 Change for new bus signal API.
4356 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4357 (gst_bus_source_prepare), (gst_bus_source_check),
4358 (gst_bus_create_watch), (gst_bus_add_watch_full),
4359 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4360 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4362 Remove support for multiple GSources operating on different
4363 message types as it is too complex and unneeded when using
4365 Added support for receiving signals from the bus.
4367 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4369 * docs/libs/tmpl/gstdataprotocol.sgml:
4370 * docs/manual/advanced-dataaccess.xml:
4371 * gst/elements/gstcapsfilter.c:
4373 rename filter-caps to caps property
4375 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4377 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4378 More robust fraction string parsing.
4380 * docs/pwg/appendix-porting.xml:
4381 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4383 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4385 * gst/gstcaps.c: (gst_caps_do_simplify):
4386 Thou shalt not free a structure and then continue using it
4387 in the next loop iteration.
4389 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4391 Add test case for caps simplification.
4393 2005-09-29 Wim Taymans <wim@fluendo.com>
4395 * check/gst/gstbin.c: (GST_START_TEST):
4398 2005-09-29 Wim Taymans <wim@fluendo.com>
4400 * check/gst/gstbin.c: (GST_START_TEST):
4403 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4404 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4405 (find_element), (gst_bin_sort_iterator_next),
4406 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4407 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4408 (gst_bin_change_state), (gst_bin_dispose):
4409 A bin does not have a bus, it gets the bus from the parent.
4411 * gst/gstelement.c: (gst_element_requires_clock),
4412 (gst_element_provides_clock), (gst_element_is_indexable),
4413 (gst_element_is_locked_state), (gst_element_change_state),
4414 (gst_element_set_bus_func):
4417 * gst/gstpipeline.c: (gst_pipeline_class_init),
4418 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4419 The pipeline provides a bus.
4421 2005-09-28 Johan Dahlin <johan@gnome.org>
4423 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4424 gst_structure_get_enum instead of gst_structure_get_int
4426 * gst/gststructure.c (gst_structure_get_enum): Impl.
4428 * gst/gststructure.h (gst_structure_get_enum): Add
4430 * docs/gst/gstreamer-sections.txt: Ditto
4432 * gst/gstmessage.c (gst_message_new_state_changed): Use
4433 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4434 which does introspection.
4435 Reviewed by Christian Schaller
4437 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4439 * gst/gstinfo.c: (gst_debug_log_default):
4440 don't do dummy g_strdup()s
4441 * libs/gst/controller/gstcontroller.c:
4442 (on_object_controlled_property_changed),
4443 (gst_controlled_property_new), (gst_controller_new_valist),
4444 (gst_controller_new_list),
4445 (gst_controller_remove_properties_valist), (gst_controller_set),
4446 (gst_controller_get), (gst_controller_sync_values),
4447 (gst_controller_get_value_array), (_gst_controller_class_init),
4448 (gst_controller_get_type):
4449 * libs/gst/controller/gstcontroller.h:
4450 * libs/gst/controller/gstinterpolation.c:
4451 (gst_controlled_property_find_timed_value_node):
4452 convert // to /**/ comments
4454 2005-09-28 Wim Taymans <wim@fluendo.com>
4456 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4457 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4458 (gst_bus_sync_signal_handler):
4460 Added async-message and sync-message signals to the bus.
4461 Added helper BusFunc to emit signals for all posted messages.
4463 * gst/gstmessage.c: (gst_message_type_get_name),
4464 (gst_message_type_to_quark), (gst_message_get_type):
4466 Register quarks for message names.
4468 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4470 * docs/libs/gstreamer-libs-sections.txt:
4471 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4472 (gst_controller_new_list):
4473 * libs/gst/controller/gstcontroller.h:
4474 added another constructor for language bindings
4476 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4478 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4482 * gst/gstinfo.c: (_gst_debug_init):
4483 slightly more readable color for refcount debugging
4485 2005-09-28 Wim Taymans <wim@fluendo.com>
4487 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4488 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4489 (find_element), (gst_bin_sort_iterator_next),
4490 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4491 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4492 (gst_bin_change_state), (gst_bin_dispose):
4493 Small doc fixes. get_clock -> provide_clock.
4495 * gst/gstelement.c: (gst_element_class_init),
4496 (gst_element_provides_clock), (gst_element_provide_clock),
4497 (gst_element_get_clock), (gst_element_commit_state),
4498 (gst_element_lost_state):
4500 Make get/set_clock() symetric. Add provide_clock vmethod since
4501 that is actually what this function does.
4503 * gst/gstpipeline.c: (gst_pipeline_class_init),
4504 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4505 (gst_pipeline_get_clock):
4506 get_clock -> provide_clock.
4508 2005-09-28 Andy Wingo <wingo@pobox.com>
4510 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4511 lieu of real docs...
4513 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4515 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4517 * gst/elements/gstcapsfilter.c:
4518 * gst/elements/gstfakesink.c:
4519 * gst/elements/gstfakesrc.c:
4520 * gst/elements/gstfdsink.c:
4521 * gst/elements/gstfdsrc.c:
4522 * gst/elements/gstfilesink.c:
4523 * gst/elements/gstfilesrc.c:
4524 * gst/elements/gstidentity.c:
4525 * gst/elements/gsttee.c:
4526 * gst/elements/gsttypefindelement.c:
4527 Make element details static.
4529 2005-09-28 Wim Taymans <wim@fluendo.com>
4531 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4532 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4533 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4534 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4535 (gst_bin_change_state), (gst_bin_dispose):
4536 Some documentation updates.
4537 Clean up dispose handlers.
4539 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4540 * gst/gstpad.c: (gst_pad_dispose):
4541 Clean up dispose handler.
4543 * gst/gstpipeline.c: (gst_pipeline_change_state):
4544 Removed spurious UNLOCK.
4546 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4548 * docs/gst/gstreamer-sections.txt:
4549 * gst/base/gstbasesrc.h:
4554 * gst/gstpipeline.c:
4555 * gst/gstpipeline.h:
4558 added two new functions to the docs
4559 documents all undocumented GstXXXFlags
4560 completed some incomplete docs
4562 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4564 * gst/gstbin.c: (gst_bin_dispose):
4565 * gst/gstelement.c: (gst_element_dispose):
4566 remove now useless and leaky resurrection code in dispose
4567 * gst/base/gstbasesrc.c: (gst_base_src_init):
4568 * gst/gstelementfactory.c: (gst_element_factory_create):
4569 * gst/gstobject.c: (gst_object_set_parent):
4572 2005-09-27 Wim Taymans <wim@fluendo.com>
4574 * docs/design/part-TODO.txt:
4577 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4578 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4579 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4580 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4581 (gst_bin_change_state):
4583 Remove element variable, we keep element info in the iterator now.
4585 2005-09-27 Andy Wingo <wingo@pobox.com>
4587 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4590 2005-09-27 Wim Taymans <wim@fluendo.com>
4592 * check/gst/gstbin.c: (GST_START_TEST):
4593 Enable check that works now.
4595 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4596 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4597 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4598 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4599 (gst_bin_change_state):
4601 Redid the state change algorithm using a topological sort algo.
4602 Handles all cases correctly.
4603 Exposed iterator for state change order.
4606 Temp storage for state changes. Need to get rid of this soon.
4608 2005-09-27 Wim Taymans <wim@fluendo.com>
4610 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4611 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4612 (link_fold_func), (gst_pad_proxy_setcaps):
4613 Leak fixes, the fold functions need to unref the passed object and
4614 _get_parent_*() returns ref to parent.
4616 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4618 * check/gst/gstbuffer.c: (test_make_writable):
4619 Plug leak in test case and fix 'make check-valgrind'
4621 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4623 * gst/gstbuffer.c: (gst_subbuffer_init):
4624 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4625 works correctly in all circumstances (we could have just copied
4626 the parent buffer's readonly flag, but conceptually it seems
4627 cleaner to mark all subbuffers as read-only). (based on patch
4628 by Alessandro Decina, #314710).
4630 * check/gst/gstbuffer.c: (create_read_only_buffer),
4631 (test_make_writable), (test_subbuffer_make_writable),
4633 Add some tests for gst_buffer_make_writable().
4635 2005-09-27 Wim Taymans <wim@fluendo.com>
4637 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4638 use gst_object_has_ancestor().
4640 * gst/gstobject.c: (gst_object_has_ancestor):
4642 gst_object_has_ancestor() copied from gstbin.c as it is a
4645 * tests/instantiate/create.c: (create_all_elements):
4646 * tests/lat.c: (handoff_src), (handoff_sink):
4647 * tests/sched/runxml.c: (main):
4648 * tests/seeking/seeking1.c: (main):
4649 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4651 Fix compilation of some tests.
4653 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4656 Remove comment. GST_TYPE_G_ERROR is here to stay,
4657 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4660 2005-09-26 Wim Taymans <wim@fluendo.com>
4662 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4663 Added check that shows error in state change order.
4665 2005-09-26 Wim Taymans <wim@fluendo.com>
4667 * gst/gstbin.c: (gst_bin_change_state):
4668 Make state change function use 3 queues again, we were
4669 adding elements in the wrong order.
4671 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4674 * gst/gstpad.c: (gst_pad_dispose):
4675 Added some debug info first.
4677 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4679 * docs/design/draft-push-pull.txt:
4680 * docs/design/part-events.txt:
4681 * docs/design/part-overview.txt:
4682 * docs/design/part-scheduling.txt:
4683 Replace all _pull_region() with _pull_range()
4685 2005-09-26 Andy Wingo <wingo@pobox.com>
4687 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4689 * check/gst-libs/controller.c: Update for controller api change.
4692 * tests/Makefile.am:
4693 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4694 over by GLib bug 118439.
4696 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4697 routines to a function.
4699 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4701 * libs/gst/controller/gsthelper.c:
4702 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4703 (gst_object_sync_values): Renamed from sink_values. Ugh.
4705 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4707 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4708 Renamed from controller_key, as it is exported.
4710 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4712 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4717 * gst/gstpadtemplate.h:
4720 * gst/gstqueryutils.c:
4721 * gst/gstqueryutils.h:
4722 remove queryutils headers after moving the two used functions
4723 to gstquery. also fixes build problem for gstsiddec
4725 2005-09-26 Michael Smith <msmith@fluendo.com>
4727 * tools/gst-launch.1.in:
4728 Correct documentation in manpage of debug syntax
4730 2005-09-26 Wim Taymans <wim@fluendo.com>
4732 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4733 (gst_base_src_is_seekable), (gst_base_src_change_state):
4734 Some more debugging info.
4736 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4738 * docs/gst/gstreamer-sections.txt:
4739 * gst/base/gstbasetransform.h:
4743 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4745 * docs/gst/.cvsignore:
4746 * docs/gst/tmpl/.cvsignore:
4747 * docs/gst/tmpl/gstpipeline.sgml:
4748 * docs/gst/tmpl/gstplugin.sgml:
4749 * gst/gstpipeline.c:
4752 inlined the last two docs files
4753 removed the tmpl directory from cvs (no more conflicts here!)
4755 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4757 * docs/gst/gstreamer-sections.txt:
4758 * docs/gst/tmpl/.cvsignore:
4759 * docs/gst/tmpl/gstpad.sgml:
4760 * docs/gst/tmpl/gstpadtemplate.sgml:
4762 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4763 (gst_pad_finalize), (gst_pad_set_pad_template):
4765 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4766 (gst_pad_template_class_init), (gst_pad_template_init),
4767 (gst_pad_template_dispose), (name_is_valid),
4768 (gst_static_pad_template_get), (gst_pad_template_new),
4769 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4770 (gst_pad_template_pad_created):
4771 * gst/gstpadtemplate.h:
4772 inlined two more docs
4773 factored gstpadtemplate out of gstpad
4775 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4777 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4778 (test_children_state_change_order_semi_sink):
4779 Fix test case: we can't rely on a fixed state change order when
4780 going from READY => PAUSED because the sink might commit its
4781 new state first when the first buffer created by the source
4782 reaches the sink before the source has finished its change state.
4783 (Test case still fails at times, see #316856, comment 5 onwards)
4785 2005-09-24 Wim Taymans <wim@fluendo.com>
4787 * docs/design/part-events.txt:
4788 * docs/design/part-gstbus.txt:
4789 * docs/design/part-gstpipeline.txt:
4790 * docs/design/part-messages.txt:
4791 * docs/design/part-overview.txt:
4792 * docs/design/part-segments.txt:
4799 * gst/gstiterator.c:
4800 Various documentation updates.
4802 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4805 Well, that's embarassing. Luckily we weren't using
4806 GST_CLOCK_DIFF anywhere.
4808 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4810 * common/gtk-doc.mak:
4811 don't fail on building XML, FC4 slave shows a bunch of doc
4812 missing bits that I don't get
4814 * gst/gstpipeline.c:
4815 * gst/gststructure.c:
4818 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4820 * docs/design/part-gstbin.txt:
4821 * docs/design/part-gstbus.txt:
4823 Add blurb about how the bus goes into flushing mode and
4824 drops all messages when its bin goes from READY into NULL
4827 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4829 * docs/gst/gstreamer-sections.txt:
4830 * gst/gststructure.c: (gst_structure_get_clock_time):
4831 * gst/gststructure.h:
4832 add a method to get a GstClockTime out of a structure
4834 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4836 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4837 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4838 Added test to check state change order in bins (can still be made
4839 to fail here under heavy disk load; bails out with 'Push on pad
4840 fakesink:sink0, but it was not activated in push mode').
4842 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4843 Fix state change order when there is only a semi sink (#316856)
4845 * gst/gstbus.c: (gst_bus_class_init):
4846 Use _class_peek_parent(), not _class_ref(); fix docs to say
4847 'default main context' instead of 'mainloop' where that is
4850 * gst/gstelement.c: (gst_element_commit_state),
4851 (gst_element_set_state):
4852 Fix typos in debug messages
4854 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4857 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4858 * gst/gstpluginfeature.c:
4861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4862 change an assert into an error until it gets fixed properly
4864 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4866 * docs/gst/gstreamer-sections.txt:
4867 * docs/gst/tmpl/.cvsignore:
4868 * docs/gst/tmpl/gstelement.sgml:
4869 * docs/gst/tmpl/gstinfo.sgml:
4870 * docs/gst/tmpl/gstobject.sgml:
4875 * gst/gstobject.c: (gst_object_class_init):
4877 inlined 3 more biiiig doc files and added some missing docs on the fly
4879 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4881 * check/gst/.cvsignore:
4882 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4883 * gst/gstregistryxml.c: (load_plugin),
4884 (gst_registry_xml_save_plugin):
4885 put back source in registry. add checks for find_plugin.
4886 * testsuite/states/bin.c: (assert_state), (empty_bin),
4887 (test_adding_one_element), (main):
4888 * testsuite/states/locked.c: (main):
4889 some compile/run fixes
4891 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4893 * check/gst/gstvalue.c: (GST_START_TEST):
4894 fix leaks in the test itself
4896 2005-09-22 Wim Taymans <wim@fluendo.com>
4898 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4899 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4900 (gst_base_sink_query):
4901 Prepare for more accurate position reporting and query
4904 * gst/gstelement.c: (gst_element_send_event),
4905 (gst_element_set_state):
4908 2005-09-22 Wim Taymans <wim@fluendo.com>
4910 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4911 (gst_query_parse_segment):
4914 Add segment query for future use.
4916 2005-09-22 Wim Taymans <wim@fluendo.com>
4918 * gst/gstbin.c: (gst_bin_add_func):
4919 Some more debug info.
4921 * gst/gstelement.c: (gst_element_send_event):
4925 Don't know how flags got broken.
4930 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4932 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4933 Add simplistic test suite for GST_TYPE_DATE serialisation and
4936 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4938 * docs/gst/gstreamer-sections.txt:
4939 * gst/gststructure.c: (gst_structure_set_valist),
4940 (gst_structure_get_date):
4941 * gst/gststructure.h:
4942 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4943 (gst_date_copy), (gst_value_compare_date),
4944 (gst_value_serialize_date), (gst_value_deserialize_date),
4945 (gst_value_transform_date_string),
4946 (gst_value_transform_string_date), (_gst_value_initialize):
4948 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4949 bunch of utility functions along with a hack that checks that
4950 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4951 is required. Part of the grand scheme in #170777.
4953 2005-09-22 Andy Wingo <wingo@pobox.com>
4955 * gst/gstconfig.h.in: Psych out gtk-doc.
4957 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4959 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4961 * tools/gst-inspect.c (print_element_list): Plug some
4962 inconsequential leaks.
4964 * gst/gstregistry.c (gst_registry_get_default): Doc.
4966 * check/gst/gstplugin.c:
4967 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4968 * gst/gstelementfactory.c (gst_element_factory_create):
4969 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4972 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4973 (gst_plugin_feature_load): Doc, don't eat refs.
4975 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4976 (gst_plugin_list_free): Doc.
4977 (gst_plugin_load_file): Doc updates.
4979 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4980 accessors returning refcounted objects, return a ref.
4982 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4983 accessor for caps. IDEMPOTENCE. Oh yes.
4985 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4987 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4989 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4990 (_gst_debug_register_funcptr):
4991 Add mutex to serialise access to the hash table with
4992 the function pointer => function name string mapping;
4993 make that hash table static scope (#316809).
4995 * gst/registries/.cvsignore:
4996 Remove left-over file.
4998 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5000 * docs/pwg/appendix-porting.xml:
5001 And something about newsegment events and caps-on-buffers to
5002 the porting guide (feel free to improve).
5004 2005-09-21 Andy Wingo <wingo@pobox.com>
5006 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5007 data and event probes on the same pad.
5008 (test_buffer_probe_once): Test that removing probes from within
5009 the probe functions works.
5011 2005-09-21 Andy Wingo <wingo@pobox.com>
5013 * check/gst/gstutils.c: New file.
5014 (test_buffer_probe_n_times): A simple buffer probe test. More to
5017 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5018 have-data::buffer, not have-data.
5019 (gst_pad_add_event_probe): Likewise for have-data::event.
5020 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5021 peer' isn't quite right yet though.
5022 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5023 (gst_pad_remove_data_probe): Change to take the guint handler_id
5024 as their arg, not the function+data, which is more glib-like.
5026 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5027 the signal emission to indicate if the data is a buffer or an
5029 (gst_pad_get_type): Initialize buffer and event quarks.
5030 (gst_pad_class_init): have-data is now a detailed signal, yes it
5033 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5035 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5036 * gst/gstutils.c: (gst_util_set_value_from_string),
5037 (gst_util_set_object_arg):
5038 Don't put functional code in g_return_if_fail() or
5039 g_return_val_if_fail() statements, otherwise things will
5040 break when G_DISABLE_CHECKS is defined during compilation.
5042 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5044 * docs/gst/tmpl/.cvsignore:
5045 * docs/gst/tmpl/gstvalue.sgml:
5048 inlied another one and added some obvious docs
5050 2005-09-21 Wim Taymans <wim@fluendo.com>
5052 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5053 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5054 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5055 (gst_fdsrc_get_property), (gst_fdsrc_create):
5056 * gst/elements/gstfdsrc.h:
5057 Properly implement fdsrc. Removed signal and timeout,
5058 better implemented somewhere else.
5060 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5062 * docs/gst/tmpl/.cvsignore:
5063 * docs/gst/tmpl/gstimplementsinterface.sgml:
5064 * gst/gstinterface.c:
5067 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5069 * docs/gst/gstreamer-sections.txt:
5070 * docs/gst/tmpl/.cvsignore:
5071 * docs/gst/tmpl/gstenumtypes.sgml:
5072 remove obsolete doc file
5074 2005-09-21 David Schleef <ds@schleef.org>
5076 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5077 little beer, fix a little leak.
5079 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5081 * docs/gst/gstreamer-docs.sgml:
5082 * docs/gst/gstreamer-sections.txt:
5083 * docs/gst/tmpl/.cvsignore:
5088 * gst/gstindex.c: (gst_index_class_init):
5090 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5091 (gst_index_factory_class_init), (gst_index_factory_init),
5092 (gst_index_factory_finalize), (gst_index_factory_new),
5093 (gst_index_factory_destroy), (gst_index_factory_find),
5094 (gst_index_factory_create), (gst_index_factory_make):
5095 * gst/gstindexfactory.h:
5096 * gst/gstpluginfeature.c:
5097 * gst/gstpluginfeature.h:
5098 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5099 more docs inlined, splitted gstindex.{c,h}
5101 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5103 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5106 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5108 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5109 Set sync to FALSE by default.
5111 2005-09-20 Wim Taymans <wim@fluendo.com>
5113 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5114 (gst_base_sink_init):
5115 Make sync property settable from subclass.
5117 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5118 (gst_fake_sink_change_state):
5119 Set sync to FALSE by default.
5121 2005-09-20 Wim Taymans <wim@fluendo.com>
5123 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5124 * tools/gst-launch.c: (main):
5125 The timeout handler should have lower priority than the source
5126 so we don't timeout before popping a message with 0 timeout.
5127 Dump error messages after failed state change.
5129 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5131 * tools/gst-inspect.c: (print_element_properties_info):
5134 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5136 * check/gst/gstevent.c:
5137 * gst/elements/gstfakesink.c:
5138 * gst/elements/gstfakesink.h:
5139 remove the sync property from fakesink.
5140 has the side effect of setting sync TRUE
5141 for fakesink, which is a change. Anyone who knows how
5142 to fix this nicely in a GObject-y way, feel free.
5144 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5146 * docs/gst/gstreamer-docs.sgml:
5147 remove probe refsection
5149 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5151 * check/Makefile.am:
5152 disable valgrinding the controller test again
5153 * docs/gst/gstreamer-sections.txt:
5154 update for api-changes
5156 2005-09-20 Wim Taymans <wim@fluendo.com>
5158 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5159 (gst_base_sink_set_property), (gst_base_sink_get_property),
5160 (gst_base_sink_do_sync):
5161 * gst/base/gstbasesink.h:
5162 Added sync property to basesink to disable clock sync.
5164 2005-09-20 Andy Wingo <wingo@pobox.com>
5166 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5167 eating the caller's refcount.
5169 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5170 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5173 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5174 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5175 of GLib 2.8 public, so we can know which refcount to check in
5178 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5179 (gst_object_init): Only set the gst refcount if we're going ahead
5180 with the refcount hack.
5182 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5184 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5185 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5186 more leaks plumbed, added more debug-logging
5190 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5193 remove include of gstmemchunk.h
5195 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5197 * gst/gstclock.c: (_gst_clock_id_free):
5198 Commit from the Political Party For More Atomic CVS Commits,
5199 so that people don't waste too much of their day fishing
5200 out obvious leaks out of massive commits.
5201 Oh, and fix a pretty damn obvious leak in the memchunk
5204 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5206 * check/Makefile.am:
5207 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5208 plug mem-leak, re-add to valgrindable tests
5210 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5213 unbreak the build for those who have chronic arthritis
5214 and typing "make check" is just too taxing on the hands
5216 2005-09-20 Andy Wingo <wingo@pobox.com>
5218 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5219 really want it out, you should fix plugins at the same time.
5221 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5224 * docs/gst/gstreamer-sections.txt:
5226 added missing symbols to api docs
5227 disable ref-count hack if we have glib >= 2.8
5229 2005-09-19 David Schleef <ds@schleef.org>
5231 * docs/gst/Makefile.am: Ignore a few more internal headers
5232 * docs/gst/gstreamer-docs.sgml: Remove old sections
5233 * docs/gst/gstreamer-sections.txt: Remove old sections
5234 * docs/gst/tmpl/gstobject.sgml: update
5235 * docs/gst/tmpl/gstplugin.sgml: update
5236 * docs/gst/tmpl/gstpluginfeature.sgml: update
5237 * docs/random/ds/0.9-suggested-changes: update.
5238 * gst/Makefile.am: remove memchunk and trashstack, since they're
5240 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5241 * gst/gst.h: don't include some headers
5242 * gst/gstchildproxy.c: add gstmarshal.h
5243 * gst/gstclock.c: Don't use memchunks
5244 * gst/gstminiobject.c: Add some docs
5245 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5246 * gst/gstobject.h: same
5247 * gst/gstplugin.c: include gstmacros.h
5248 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5249 * gst/gstquery.c: don't use memchunks
5250 * gst/gstregistry.c: rename gst_registry_deinit()
5251 * gst/gstregistry.h: same
5253 2005-09-19 David Schleef <ds@schleef.org>
5255 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5256 * docs/libs/gstreamer-libs-sections.txt:
5257 * docs/libs/tmpl/gstgetbits.sgml:
5258 * docs/libs/tmpl/gstputbits.sgml:
5260 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5262 * win32/gstenumtypes.c:
5263 * win32/gstenumtypes.h:
5266 2005-09-19 Wim Taymans <wim@fluendo.com>
5268 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5269 Automatically PAUSE and RESUME a pipeline when a flushing seek
5272 2005-09-19 Andy Wingo <wingo@pobox.com>
5274 * gst/gstregistry.h: Spacing fixen.
5276 2005-09-19 Wim Taymans <wim@fluendo.com>
5278 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5279 Handle state change failure more correctly.
5281 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5283 * check/Makefile.am:
5284 * check/pipelines/cleanup.c: (run_pipeline):
5285 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5287 enable cleanup again after fixing the leak
5289 some more info on docs
5291 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5293 * check/Makefile.am:
5294 re-enable tests now that leaks are plugged
5296 * check/gst/gstbin.c:
5297 * check/gst/gstpipeline.c:
5298 add some more tests while fixing leaks
5300 make sure binaries are uptodate when valgrinding/gdbing
5302 * gst/gstelementfactory.c:
5303 remove a ref too many, and add a FIXME for when we get
5304 round to disposing of classes
5306 fix the refcounting when loading a plugin from a file and
5307 the code pretends that the pointer is the same even though
5308 of course it can change
5309 * gst/gstpluginfeature.c:
5310 unref plugins marked cached (a bit confusing as a name)
5311 as the docs state should be done
5312 various doc additions to explain refcounting
5313 * gst/gstregistry.c:
5314 * gst/gstregistryxml.c:
5317 2005-09-19 Wim Taymans <wim@fluendo.com>
5319 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5320 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5321 (send_messages), (GST_START_TEST), (gstbus_suite):
5322 * check/gst/gstpipeline.c: (GST_START_TEST):
5323 * check/pipelines/cleanup.c: (run_pipeline):
5324 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5326 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5327 (gst_bus_source_check), (gst_bus_source_dispatch),
5328 (gst_bus_create_watch), (gst_bus_add_watch_full),
5329 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5331 * tools/gst-launch.c: (event_loop):
5332 * tools/gst-md5sum.c: (event_loop):
5333 GstBusHandler -> GstBusFunc, return value has the same meaning as
5334 any other GSource (FALSE == remove source).
5335 _add_watch() and _add_watch_full() now take a MessageType mask to
5336 only handle specific types of messages.
5337 _poll() returns the GstMessage instead of the message type to avoid
5339 _have_pending() takes a MessageType mask now too.
5340 Added testsuite for multiple bus watches.
5341 Fix testsuites and applications for new bus API.
5343 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5345 * check/Makefile.am:
5346 mark a bunch of the tests as to fix until we fix them
5348 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5351 use GST_PLUGIN settings for valgrind tests as well, so we're
5352 valgrinding the correct thing
5353 * gst/gst.c: (init_post):
5356 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5358 * gst/gst.c: (init_post), (gst_deinit):
5359 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5360 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5361 * gst/gstindex.c: (gst_index_factory_class_init),
5362 (gst_index_factory_finalize):
5363 * gst/gstobject.c: (gst_object_dispose):
5364 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5365 (gst_plugin_load_file), (gst_plugin_desc_free):
5366 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5367 (gst_plugin_feature_finalize):
5368 * gst/gstregistry.c: (gst_registry_class_init),
5369 (gst_registry_init), (gst_registry_finalize),
5370 (gst_registry_get_default), (gst_registry_deinit):
5371 * gst/gstregistry.h:
5372 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5373 various cleanups and memleak plugging. make valgrind is happy now.
5375 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5378 add a check-valgrind target
5380 2005-09-18 David Schleef <ds@schleef.org>
5382 * tools/gst-inspect.c: Revert the GOption code.
5384 2005-09-17 David Schleef <ds@schleef.org>
5386 * check/Makefile.am: Fix environment variables.
5387 * check/gst/gstplugin.c: Fix for API changes.
5388 * tools/gst-inspect.c: Fix for API changes.
5389 * tools/gst-xmlinspect.c: Fix for API changes.
5390 * gst/gstelementfactory.c:
5393 * gst/gstpluginfeature.c:
5394 * gst/gstpluginfeature.h:
5395 * gst/gstregistry.c:
5396 * gst/gstregistry.h:
5397 * gst/gstregistryxml.c:
5398 * gst/gsttypefind.c:
5399 * gst/gsttypefindfactory.c:
5400 * gst/indexers/gstfileindex.c:
5401 * gst/indexers/gstmemindex.c:
5402 * gst/schedulers/Makefile.am:
5403 Change registry to keep track of both plugins and features,
5404 removing the feature tracking from plugins themselves.
5406 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5408 * check/Makefile.am:
5409 * tools/gst-register.1.in:
5412 2005-09-15 David Schleef <ds@schleef.org>
5414 * check/gst/gstplugin.c:
5415 * gst/gstelementfactory.c:
5417 * gst/gstpluginfeature.c:
5418 * gst/gstregistry.c:
5419 Getting tired of debugging. Disabled all the unreffing of
5420 plugins and features, which fixes the segfaults, but of
5421 course leaks like crazy. At least playbin works.
5423 2005-09-15 David Schleef <ds@schleef.org>
5425 * check/gst/gstplugin.c: (register_check_elements),
5426 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5428 * gst/elements/gsttypefindelement.c: Fix refcounting.
5429 * gst/gsttypefind.c:
5430 * gst/gsttypefindfactory.c:
5431 * gst/gsttypefindfactory.h:
5433 2005-09-15 David Schleef <ds@schleef.org>
5435 * gst/gstindex.c: get refcounting correct.
5436 * gst/gstregistry.c: Handle the case where a feature/plugin is
5439 2005-09-15 David Schleef <ds@schleef.org>
5441 * check/Makefile.am:
5442 * check/gst/gstplugin.c: Add test
5443 * gst/gstplugin.c: Fix problems noticed by testsuite
5445 * gst/gstregistry.c:
5446 * gst/gstregistry.h:
5448 2005-09-15 David Schleef <ds@schleef.org>
5450 * gst/gstplugin.c: Implement semi-decent recounting and locking
5451 in plugins and plugin features.
5453 * gst/gstpluginfeature.c:
5454 * gst/gstpluginfeature.h:
5455 * gst/gstregistry.c:
5457 2005-09-15 Michael Smith <msmith@fluendo.com>
5459 * gst/gstregistry.c: (gst_registry_get_feature_list):
5460 Implement this. Makes oggdemux work; decodebin still broken.
5462 2005-09-14 David Schleef <ds@schleef.org>
5464 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5466 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5467 * gst/check/Makefile.am:
5468 * libs/gst/controller/Makefile.am:
5469 * libs/gst/dataprotocol/Makefile.am:
5471 2005-09-14 David Schleef <ds@schleef.org>
5473 * configure.ac: Remove getbits library. Nothing uses it, and
5474 it should be in something like liboil if someone did want
5476 * libs/gst/Makefile.am:
5477 * libs/gst/getbits/Makefile.am:
5478 * libs/gst/getbits/gbtest.c:
5479 * libs/gst/getbits/getbits.c:
5480 * libs/gst/getbits/getbits.h:
5481 * libs/gst/getbits/gstgetbits_generic.c:
5482 * libs/gst/getbits/gstgetbits_i386.s:
5483 * libs/gst/getbits/gstgetbits_inl.h:
5485 2005-09-14 David Schleef <ds@schleef.org>
5487 * gst/Makefile.am: Dist glib-compat.h
5489 2005-09-14 David Schleef <ds@schleef.org>
5491 * configure.ac: Remove gst/registries, since it's no longer used.
5492 * gst/registries/Makefile.am:
5493 * gst/registries/gstlibxmlregistry.c:
5494 * gst/registries/gstlibxmlregistry.h:
5495 * gst/registries/gstxmlregistry.c:
5496 * gst/registries/gstxmlregistry.h:
5497 * gst/registries/registrytest.c:
5499 2005-09-14 David Schleef <ds@schleef.org>
5501 * gst/glib-compat.h:
5502 * gst/gstregistryxml.c:
5503 Convergence is near. Seriously.
5505 2005-09-14 David Schleef <ds@schleef.org>
5507 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5508 * gst/glib-compat.h:
5509 Attempt #4 to appease the buildbots.
5511 2005-09-14 David Schleef <ds@schleef.org>
5513 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5516 2005-09-14 David Schleef <ds@schleef.org>
5518 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5521 2005-09-14 David Schleef <ds@schleef.org>
5523 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5526 2005-09-14 David Schleef <ds@schleef.org>
5528 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5529 * gst/glib-compat.h: Add some functions that are in newer versions
5530 of glib than we care to require.
5531 * gst/gstregistryxml.c: Use them.
5533 2005-09-14 David Schleef <ds@schleef.org>
5535 * po/POTFILES.in: remove gst-register.c
5537 2005-09-14 David Schleef <ds@schleef.org>
5539 * docs/gst/gstreamer-docs.sgml:
5540 * docs/gst/gstreamer-sections.txt:
5541 * docs/gst/gstreamer.types:
5542 * docs/gst/tmpl/gstelement.sgml:
5543 * docs/gst/tmpl/gstplugin.sgml:
5544 * docs/gst/tmpl/gstpluginfeature.sgml:
5545 Documentation updates for registry changes.
5547 2005-09-14 David Schleef <ds@schleef.org>
5549 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5550 because we don't require glib-2.8.
5552 2005-09-14 David Schleef <ds@schleef.org>
5554 * gst/gstregistryxml.c: Added. Essentially moved out of the
5555 registries directory.
5557 2005-09-14 David Schleef <ds@schleef.org>
5559 * check/Makefile.am:
5560 * check/generic/states.c:
5564 * gst/gst_private.h:
5565 * gst/gstelementfactory.c:
5570 * gst/gstpluginfeature.c:
5571 * gst/gstpluginfeature.h:
5572 * gst/gstregistry.c:
5573 * gst/gstregistry.h:
5574 * gst/gstregistrypool.c: remove
5575 * gst/gstregistrypool.h: remove
5576 * gst/gsttypefind.c:
5577 * gst/gsttypefindfactory.c:
5579 * tools/Makefile.am:
5580 * tools/gst-compprep.c:
5581 * tools/gst-inspect.c:
5582 * tools/gst-register.c: remove
5583 * tools/gst-xmlinspect.c:
5584 Registry rewrite. Changes registry from being a file created
5585 by a tool into a simple cache file created automatically by
5586 libgstreamer. Removed gst-register (because it's no longer
5587 needed). Remove registry pools, because we only have one
5588 registry implementation (XML). Fix up other subsystems as
5591 2005-09-13 Michael Smith <msmith@fluendo.com>
5593 * gst/gstconfig.h.in:
5594 Don't Use windows linking attributes for MinGW. Fixes #316157
5596 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5598 * gst/gstutils.c: (set_state_async_thread_func),
5599 (gst_element_set_state_async):
5600 Apparently people think it's better if this function doesn't
5601 try to set the state to whatever state was asked for on the first
5602 call to this function for any object. Seriously.
5604 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5606 * check/gst/gstpipeline.c: (GST_START_TEST):
5607 * docs/gst/gstreamer-sections.txt:
5608 * gst/gstutils.c: (set_state_async_thread_func),
5609 (gst_element_set_state_async):
5611 add a "gst_element_set_state_async" method that
5612 sets the state and starts a thread to make sure the state
5613 change completes as best as it can
5615 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5617 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5618 codify design+behaviour in testsuite after discussion
5620 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5622 * docs/gst/tmpl/gstelement.sgml:
5623 * docs/manual/appendix-quotes.xml:
5625 * gst/gstelement.c: (gst_element_set_state):
5628 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5630 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5631 (gst_base_transform_prepare_output_buf),
5632 (gst_base_transform_handle_buffer):
5633 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5634 (gst_capsfilter_prepare_buf):
5635 Remove the requirement for sub-classes to call the parent
5636 implementation of prepare_output_buffer with a wrapper function.
5639 * gst/gsttagsetter.h:
5642 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5644 * docs/gst/gstreamer-sections.txt:
5647 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5649 * docs/gst/gstreamer-sections.txt:
5650 * docs/gst/tmpl/gstelement.sgml:
5651 * docs/gst/tmpl/gstplugin.sgml:
5652 * gst/gstminiobject.c:
5654 docs now stop throwing warnings
5656 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5658 * docs/gst/gstreamer-sections.txt:
5659 * docs/gst/gstreamer.types:
5660 * docs/gst/tmpl/gstpad.sgml:
5661 * docs/gst/tmpl/gsttypes.sgml:
5662 * gst/base/gstadapter.h:
5663 * gst/base/gstbasesink.h:
5664 * gst/base/gstbasesrc.h:
5674 * gst/gststructure.c:
5675 * gst/registries/gstlibxmlregistry.h:
5676 various documentation fixes
5678 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5680 * docs/gst/gstreamer-sections.txt:
5681 * docs/gst/tmpl/gstvalue.sgml:
5682 rearrange gstvalue section
5683 * gst/gstutils.c: (gst_element_state_get_name):
5685 * gst/gstvalue.c: (_gst_value_initialize):
5689 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5691 * check/gst-libs/controller.c:
5693 * gst/base/gstbasetransform.c:
5694 (gst_base_transform_default_prepare_buf),
5695 (gst_base_transform_handle_buffer):
5696 * gst/base/gstbasetransform.h:
5697 Some more basetransform changes and fixes to enable sub-classes
5698 that modify buffer metadata only.
5699 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5700 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5701 (gst_capsfilter_prepare_buf):
5702 If the output pad has fixed allowed caps and input buffers
5703 don't have any, set the fixed caps on outgoing buffers.
5705 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5706 * check/elements/identity.c: (GST_START_TEST):
5707 Make the error a little clearer when the test fails because
5708 identity made a copy of the buffer.
5709 * docs/gst/gstreamer-sections.txt:
5710 New symbols in gstbasetransform.h
5711 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5712 (gst_base_transform_init), (gst_base_transform_transform_size),
5713 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5714 (gst_base_transform_default_prepare_buf),
5715 (gst_base_transform_get_unit_size),
5716 (gst_base_transform_buffer_alloc),
5717 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5718 (gst_base_transform_change_state),
5719 (gst_base_transform_set_passthrough),
5720 (gst_base_transform_set_in_place),
5721 (gst_base_transform_is_in_place):
5722 * gst/base/gstbasetransform.h:
5723 Change BaseTransform to separate in_place operate from same_caps
5724 output. in_place implies that the element can perform the transform
5725 on incoming buffers in-place, even if the caps on the output are
5727 Sub-class elements can now implement special buffer allocation
5728 methods for outgoing buffers if they wish to.
5729 Big documentation addition.
5730 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5731 * gst/elements/gstelements.c:
5732 Changes for basetransform modifications.
5733 * gst/elements/Makefile.am:
5734 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5735 Compile fix. Extra debug output.
5737 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5739 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5741 add tests for valid pad naming
5742 * gst/check/gstcheck.c: (gst_check_log_message_func),
5743 (gst_check_log_critical_func):
5745 remove printing of code, it is fragile when the code contains
5746 % and the line number is enough info
5747 * gst/check/gstcheck.h:
5748 * gst/gstpad.c: (gst_pad_template_new):
5751 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5754 say what CHECK flags we use
5755 * docs/libs/gstreamer-libs.types:
5756 * libs/gst/controller/Makefile.am:
5757 * libs/gst/controller/gst-controller.c:
5758 * libs/gst/controller/gst-controller.h:
5759 * libs/gst/controller/gst-helper.c:
5760 * libs/gst/controller/gst-interpolation.c:
5761 * libs/gst/controller/gstcontroller.c:
5762 * libs/gst/controller/gsthelper.c:
5763 * libs/gst/controller/gstinterpolation.c:
5764 * tools/gst-inspect.c: (print_plugin_info):
5765 we don't use dashes in header names
5767 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5769 * check/Makefile.am:
5770 * check/gst/.cvsignore:
5771 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5772 (gst_pipeline_suite), (main):
5773 adding a test for pipelines and state changes
5774 * gst/gstutils.c: (get_state_func):
5776 * gstreamer.spec.in:
5779 2005-09-08 Michael Smith <msmith@fluendo.com>
5781 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5782 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5783 (gst_file_src_is_seekable), (gst_file_src_get_size),
5784 (gst_file_src_start):
5785 * gst/elements/gstfilesrc.h:
5786 Various fixes for unseekable, unmmapable, and non-normal files, so
5787 that fallback to read() rather than mmap() works.
5788 * gst/gstevent.c: (gst_event_new_newsegment):
5789 Allow newsegment events with segment_start == segment_end, as will
5790 correctly happen if you use filesrc on a zero-size file, for
5793 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5795 * gst/gstplugin.c: (gst_plugin_load_file):
5796 Call g_module_close when we don't load the module
5798 * gst/registries/gstlibxmlregistry.c:
5799 (gst_xml_registry_get_property):
5800 Port leak fix from 0.8
5802 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5804 * docs/gst/gstreamer-docs.sgml:
5805 * docs/gst/tmpl/.cvsignore:
5806 * docs/gst/tmpl/gsttrace.sgml:
5807 * docs/gst/tmpl/gsttrashstack.sgml:
5816 * gst/gsttaginterface.c:
5817 * gst/gsttaginterface.h:
5820 * gst/gsttagsetter.c:
5821 * gst/gsttagsetter.h:
5824 * gst/gsttrashstack.c:
5825 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5826 inlined docs for gsttrace, gsttrashstack
5828 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5831 * gst/elements/gstbufferstore.h:
5832 * gst/elements/gsttypefindelement.c:
5833 * gst/elements/gsttypefindelement.h:
5835 * gst/gsttypefind.c:
5836 * gst/gsttypefind.h:
5837 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5838 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5839 (gst_type_find_factory_dispose),
5840 (gst_type_find_factory_unload_thyself),
5841 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5842 (gst_type_find_factory_get_caps),
5843 (gst_type_find_factory_get_extensions),
5844 (gst_type_find_factory_call_function):
5845 * gst/gsttypefindfactory.h:
5846 * gst/registries/gstlibxmlregistry.c:
5847 * gst/registries/gstxmlregistry.c:
5848 splitted gsttypefind into gsttypefind, gsttypefindfactory
5850 2005-09-07 Andy Wingo <wingo@pobox.com>
5852 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5853 condition whereby the pad's task function is entered before the
5854 pad_mode variable was set.
5856 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5858 * gst/gstpad.c: (gst_pad_alloc_buffer):
5859 Catch misbehaving pad_alloc functions that don't
5860 set up caps and do it for them.
5862 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5864 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5866 * docs/gst/tmpl/.cvsignore:
5867 * docs/gst/tmpl/gstmemchunk.sgml:
5868 * docs/gst/tmpl/gstparse.sgml:
5869 * docs/gst/tmpl/gsttaglist.sgml:
5870 * docs/gst/tmpl/gsttagsetter.sgml:
5871 * docs/gst/tmpl/gsttypefind.sgml:
5872 * docs/gst/tmpl/gsttypefindfactory.sgml:
5873 * gst/gstmemchunk.c:
5876 * gst/gsttaginterface.c:
5877 * gst/gsttypefind.c:
5878 * gst/gsttypefind.h:
5881 === release 0.9.2 ===
5883 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5888 releasing 0.9.2, "South"
5890 2005-09-05 Andy Wingo <wingo@pobox.com>
5892 * gst/registries/gstxmlregistry.h:
5893 * gst/registries/gstxmlregistry.c: Um... resurrect...
5895 * gst/registries/gstxmlregistry.h:
5896 * gst/registries/gstxmlregistry.c: and update to newer API.
5897 Incidentally they should be a bit faster now that they don't have
5900 2005-09-05 Andy Wingo <wingo@pobox.com>
5902 * gst/registries/gstxmlregistry.h:
5903 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5904 replaced by the libxml registry a while back
5906 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5908 * docs/gst/tmpl/gstplugin.sgml:
5909 * gst/elements/gstelements.c:
5911 * gst/gstplugin.c: (gst_plugin_register_func),
5912 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5913 (gst_plugin_get_source):
5915 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5916 (gst_xml_registry_save_plugin):
5917 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5918 (gst_xml_registry_save_plugin):
5919 * tools/gst-inspect.c: (print_plugin_info):
5920 add a "source" plugin description field, to represent the source
5921 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5922 will set it to PACKAGE, which is automake's idea of the name of
5925 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5931 * docs/faq/Makefile.am:
5932 * docs/gst/tmpl/gstelement.sgml:
5933 * docs/gst/tmpl/gsttypes.sgml:
5934 * docs/htmlinstall.mak:
5935 * docs/manual/Makefile.am:
5936 * docs/pwg/Makefile.am:
5937 reorganize doc build a little
5938 split out docbook and gtk-doc stuff
5939 have two separate --enable's and enable them through autogen
5940 but disable by default in configure (to be similar to other
5942 * gstreamer.spec.in:
5943 clean up docs install
5963 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5965 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5968 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5969 (gst_fake_sink_change_state):
5970 Make state change function thread-safe.
5972 * gst/gstpad.c: (gst_pad_alloc_buffer):
5973 Set offset on generic buffer allocated by fallback.
5975 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5977 * docs/gst/gstreamer-sections.txt:
5978 * docs/gst/tmpl/gstelement.sgml:
5980 * libs/gst/controller/gst-controller.c:
5981 (gst_controlled_property_set_interpolation_mode),
5982 (gst_controlled_property_new),
5983 (gst_controller_find_controlled_property):
5984 run the wingo-magic script against the docs
5986 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5988 * docs/gst/gstreamer-docs.sgml:
5989 * docs/gst/gstreamer-sections.txt:
5990 * docs/gst/tmpl/.cvsignore:
5991 * docs/gst/tmpl/gstelementdetails.sgml:
5992 * docs/gst/tmpl/gstelementfactory.sgml:
5995 * gst/gstelementfactory.c:
5996 * gst/gstelementfactory.h:
5997 merged elementdetails docs into elementfactory docs
6000 2005-09-02 Andy Wingo <wingo@pobox.com>
6002 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6003 consider this enum an enum and not a flags.
6005 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6007 * docs/gst/gstreamer-docs.sgml:
6008 * docs/gst/tmpl/.cvsignore:
6009 * docs/gst/tmpl/gstghostpad.sgml:
6010 * docs/gst/tmpl/gstiterator.sgml:
6011 * docs/gst/tmpl/gstmacros.sgml:
6012 * docs/gst/tmpl/gstrealpad.sgml:
6013 * docs/gst/tmpl/gstregistry.sgml:
6014 * docs/gst/tmpl/gstregistrypool.sgml:
6015 * docs/gst/tmpl/gststructure.sgml:
6016 * docs/gst/tmpl/gstsystemclock.sgml:
6017 * docs/gst/tmpl/gsttrace.sgml:
6018 * gst/gstghostpad.c:
6020 * gst/gstmemchunk.c:
6021 * gst/gstmemchunk.h:
6023 * gst/gstregistry.c:
6024 * gst/gstregistrypool.c:
6025 * gst/gststructure.c:
6026 * gst/gstsystemclock.c:
6029 2005-09-02 Andy Wingo <wingo@pobox.com>
6031 * gst/gstelement.h (GstState): Renamed from GstElementState,
6032 changed to be a normal enum instead of flags.
6033 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6034 munged to be GST_STATE_CHANGE_*.
6035 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6036 work with the new state representation.
6037 (GstStateChange): New enumeration of possible state transitions.
6038 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6039 (GstElementClass::change_state): Pass the GstStateChange along as
6040 an argument. Helps language bindings, so they don't have to use
6041 tricky lock-needing macros like GST_STATE_CHANGE ().
6043 * scripts/update-states (file): New script. Run it on a file to
6044 update it for state naming and API changes. Updates files in
6047 * All files updated for the new API.
6049 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6051 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6052 * gst/gstutils.c: (gst_util_set_value_from_string),
6053 (gst_util_set_object_arg):
6054 fix a bunch of unchecked return values
6055 * tools/gst-complete.c: (main):
6056 * gstreamer.spec.in:
6059 2005-09-01 Wim Taymans <wim@fluendo.com>
6061 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6062 (gst_base_sink_event), (gst_base_sink_do_sync),
6063 (gst_base_sink_handle_event):
6064 * gst/base/gstbasesink.h:
6065 Handle newsegments more correctly.
6070 * gst/gstevent.c: (gst_event_new_newsegment):
6071 A newsegment cannot have a start_time of -1
6073 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6075 * win32/gstenumtypes.c:
6076 * win32/gstenumtypes.h:
6079 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6081 * libs/gst/controller/gst-controller.c:
6082 (gst_controlled_property_set_interpolation_mode),
6083 (gst_controlled_property_new):
6086 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6088 * docs/faq/gst-uninstalled:
6093 * gst/gstutils.c: (gst_element_link_filtered):
6095 add gst_element_link_filtered
6097 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6099 * docs/gst/gstreamer-docs.sgml:
6100 * docs/gst/gstreamer-sections.txt:
6101 * docs/gst/tmpl/.cvsignore:
6102 * docs/gst/tmpl/gsterror.sgml:
6103 * docs/gst/tmpl/gstfilter.sgml:
6104 * docs/gst/tmpl/gsturihandler.sgml:
6105 * docs/gst/tmpl/gsturitype.sgml:
6106 * docs/gst/tmpl/gstutils.sgml:
6107 * docs/gst/tmpl/gstxml.sgml:
6115 inlined more docs, fixed double id-ref
6117 2005-08-31 Wim Taymans <wim@fluendo.com>
6119 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6120 (gst_base_transform_handle_buffer):
6121 Passthrough elements don't need the caps as they don't care.
6123 2005-08-31 Wim Taymans <wim@fluendo.com>
6125 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6126 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6127 Don't leak refcounts on buffers.
6129 2005-08-31 Wim Taymans <wim@fluendo.com>
6131 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6132 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6133 (gst_base_transform_chain), (gst_base_transform_change_state):
6134 * gst/base/gstbasetransform.h:
6135 Handle the case where we are not negotiated more gracefully.
6137 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6139 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6140 (gst_file_src_map_region):
6141 Set READONLY flag on mmap'ed buffers, otherwise
6142 gst_buffer_make_writable() won't work properly (#314708).
6144 2005-08-31 Wim Taymans <wim@fluendo.com>
6146 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6147 passthrough elements can even do inplace on non writable
6148 buffers (as they don't touch them).
6150 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6152 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6153 (gst_test_mono_source_set_property),
6154 (gst_test_mono_source_class_init), (GST_START_TEST),
6155 (gst_controller_suite):
6156 more tests (hehe I have the most)
6158 describe popping messages whenusing mulltiple sources
6159 * libs/gst/controller/gst-controller.c:
6160 (gst_controlled_property_set_interpolation_mode),
6161 (gst_controlled_property_new):
6162 * libs/gst/controller/gst-controller.h:
6163 * libs/gst/controller/gst-interpolation.c:
6164 implement boolean properties
6166 2005-08-31 Wim Taymans <wim@fluendo.com>
6168 * gst/gstminiobject.c: (gst_mini_object_ref):
6169 Cannot assert that the refcount has to be positive
6170 since a disposed object can be resurrected.
6172 2005-08-31 Wim Taymans <wim@fluendo.com>
6174 * gst/gstpad.c: (gst_pad_init):
6175 Revert change, need to first fix badly behaving
6178 2005-08-30 Wim Taymans <wim@fluendo.com>
6180 * check/elements/fakesrc.c: (setup_fakesrc):
6181 * check/elements/identity.c: (setup_identity):
6182 Activate pads before using them.
6184 2005-08-30 Wim Taymans <wim@fluendo.com>
6186 * gst/base/gstadapter.c: (gst_adapter_flush):
6187 Flushing out 0 bytes is ok for this function.
6189 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6190 no newsegment gives a warning and sets the start/stop to
6193 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6194 (gst_base_transform_set_passthrough):
6197 * gst/gstminiobject.c: (gst_mini_object_ref):
6198 Check refcount here too.
6200 * gst/gstpad.c: (gst_pad_init):
6201 Pads are initially flushing and refusing data.
6203 * gst/gstutils.c: (gst_element_link_pads_filtered):
6204 When adding a capsfilter element make sure it has the
6205 same state as the parent bin.
6207 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6209 * docs/gst/tmpl/.cvsignore:
6210 * docs/gst/tmpl/gstformat.sgml:
6211 * docs/gst/tmpl/gstversion.sgml:
6215 * gst/gstversion.h.in:
6216 more docs and two more inlined
6218 2005-08-30 Wim Taymans <wim@fluendo.com>
6220 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6221 Don't sync to clock.
6223 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6225 * docs/gst/gstreamer-sections.txt:
6226 ultral33t func10ns deserve to appear in the docs actually
6227 * docs/gst/tmpl/.cvsignore:
6228 * docs/gst/tmpl/gstcompat.sgml:
6229 * docs/gst/tmpl/gstconfig.sgml:
6230 * gst/check/gstcheck.c:
6232 * gst/gstconfig.h.in:
6235 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6237 * docs/gst/tmpl/.cvsignore:
6238 * docs/gst/tmpl/gstquery.sgml:
6239 * docs/gst/tmpl/gstutils.sgml:
6242 inlined and extended docs
6244 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6246 * check/gst-libs/controller.c: (GST_START_TEST),
6247 (gst_controller_suite):
6249 * docs/gst/tmpl/gstutils.sgml:
6250 * docs/libs/gstreamer-libs-sections.txt:
6251 * docs/libs/tmpl/gstdataprotocol.sgml:
6253 * examples/controller/audio-example.c: (main):
6254 controller example works now
6257 * tools/gst-inspect.c: (print_element_properties_info):
6258 show param spec flags
6260 2005-08-29 Andy Wingo <wingo@pobox.com>
6262 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6264 2005-08-28 Andy Wingo <wingo@pobox.com>
6266 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6267 as having two arguments instead of just one. Allows superclasses
6268 to access information on subclasses -- see the terrible for() loop
6269 in gtype.c:g_type_create_instance for the reason why. All callers
6272 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6274 * docs/design/part-messages.txt:
6276 * docs/gst/tmpl/.cvsignore:
6277 * docs/gst/tmpl/gstcaps.sgml:
6278 * docs/gst/tmpl/gstclock.sgml:
6285 added descriptions for bus and message
6286 inline caps and clock docs
6288 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6294 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6296 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6299 2005-08-26 Andy Wingo <wingo@pobox.com>
6301 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6302 element_set_state's return val.
6303 (test_2_elements): Add test that's been disabled for months.
6305 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6306 can-activate-pull properties.
6308 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6309 can-activate-pull properties. Implement is_seekable so fakesrc can
6310 operate in pull mode.
6312 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6314 (gst_base_sink_activate, gst_base_sink_activate_pull)
6315 (gst_base_sink_activate_push): Make activation mode choosing work.
6317 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6318 is right. Make pull mode work. Post an eos before pausing in pull
6320 (gst_base_sink_change_state): Pay attention to the core's
6321 change_state() return val.
6323 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6324 has-getrange properties. Cleanups.
6326 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6327 has_getrange and replace with can_activate_pull and
6330 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6331 locking comments. Remove has_loop, has_chain and replace with
6332 can_activate_pull and can_activate_push.
6334 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6337 * examples/Makefile.am:
6338 * examples/metadata/Makefile.am:
6339 * examples/metadata/read-metadata.c: (message_loop),
6340 (have_pad_handler), (make_pipeline), (print_tag), (main):
6341 Add metadata reading example that loops over a list of filenames,
6342 dumping any tags found.
6344 * gst/gstbus.c: (gst_bus_dispose):
6345 * gst/gstelement.c: (gst_element_dispose):
6346 Release a few potentially-held references in dispose.
6348 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6350 * docs/gst/tmpl/gstminiobject.sgml:
6351 do *not* add tmpl/*.sgml files to CVS!
6353 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6355 * libs/gst/bytestream/.cvsignore:
6356 * libs/gst/bytestream/Makefile.am:
6357 * libs/gst/bytestream/adapter.c:
6358 * libs/gst/bytestream/adapter.h:
6359 * libs/gst/bytestream/bytestream.c:
6360 * libs/gst/bytestream/bytestream.h:
6361 * libs/gst/bytestream/filepad.c:
6362 * libs/gst/bytestream/filepad.h:
6363 removing obsolete files
6365 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6367 * docs/gst/gstreamer-docs.sgml:
6368 * docs/libs/gstreamer-libs-docs.sgml:
6369 disabed additional index entries again, as this makes docs-gen just
6370 slow and they aren't useful yet
6371 * docs/libs/gstreamer-libs-sections.txt:
6372 little -section.txt cleanup for libs
6374 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6376 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6377 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6378 fix up some debugging
6379 (gst_base_transform_get_unit_size),
6380 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6381 (gst_base_transform_handle_buffer):
6382 * gst/base/gstbasetransform.h:
6383 handle and store timed NEWSEGMENT events so that subclasses that
6384 calculate time by counting samples have a segment_start time they
6385 need to add to their timestamps - see audioresample
6387 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6390 removed ';' from the end of macro defs
6391 * docs/gst/gstreamer-docs.sgml:
6392 * docs/gst/gstreamer-sections.txt:
6393 * docs/gst/tmpl/.cvsignore:
6395 * gst/gstelement.c: (gst_element_class_init),
6396 (gst_element_set_state), (activate_pads),
6397 (gst_element_save_thyself):
6398 * gst/gstevent.c: (gst_event_new_newsegment):
6400 * gst/gstiterator.c:
6401 * gst/gstiterator.h:
6404 * gst/gstutils.c: (gst_pad_query_convert):
6406 fixed parameter name mismatches between source, header and docs
6407 added some more docs, resolved the last batch of unused elements in
6408 docs (now someone needs to doc them)
6410 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6412 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6413 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6414 don't walk through the plugins backwards. Where is all this
6415 reversed logic coming from ?
6417 2005-08-25 Wim Taymans <wim@fluendo.com>
6419 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6420 (gst_base_transform_transform_size),
6421 (gst_base_transform_configure_caps),
6422 (gst_base_transform_get_unit_size),
6423 (gst_base_transform_buffer_alloc),
6424 (gst_base_transform_change_state):
6425 * gst/base/gstbasetransform.h:
6426 Cache caps unit_size.
6427 Make sure we cannot negotiate up and downstream at the
6430 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6432 * gst/gst.c: (init_pre), (init_post):
6433 register the installed plugin path after the env var
6434 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6435 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6436 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6437 directories, so the tests can prefer uninstalled over installed
6439 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6441 * gst/base/gstbasetransform.h:
6446 2005-08-25 Wim Taymans <wim@fluendo.com>
6448 * gst/gstbin.c: (bin_bus_handler):
6449 Be a bit more conservative about the posted message.
6451 * gst/gstbus.c: (gst_bus_post):
6452 Some cleanups, warn wrong return values.
6454 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6456 * check/gst/gstbin.c: (GST_START_TEST):
6457 * gst/gstbin.c: (bin_bus_handler):
6458 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6459 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6460 (gst_message_new_warning), (gst_message_new_tag),
6461 (gst_message_new_state_changed), (gst_message_new_segment_start),
6462 (gst_message_new_segment_done), (gst_message_new_custom):
6464 * tools/gst-launch.c: (event_loop):
6465 * tools/gst-md5sum.c: (event_loop):
6466 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6468 2005-08-25 Wim Taymans <wim@fluendo.com>
6470 * check/generic/states.c: (GST_START_TEST):
6471 Cleanup can be done at the end.
6473 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6474 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6475 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6476 Oh boy.. Thanks for finding this, Thomas.
6478 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6480 * docs/gst/gstreamer.types:
6483 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6485 * docs/gst/gstreamer-docs.sgml:
6486 * docs/gst/gstreamer-sections.txt:
6487 * docs/gst/tmpl/.cvsignore:
6489 * gst/gstiterator.c:
6491 * gst/registries/gstxmlregistry.h:
6492 added missing classes and symbols (123 more to go)
6493 removed removed symbols from section file
6494 fixed many doc-comments
6496 2005-08-24 Wim Taymans <wim@fluendo.com>
6498 * check/generic/states.c: (GST_START_TEST):
6499 Make sure all tasks are stopped.
6501 * check/gst/gstbin.c: (GST_START_TEST):
6502 Unref after usage for proper valgrinding.
6504 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6505 Really wait for the task to stop before destroying the
6508 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6509 (gst_queue_src_activate_push):
6510 Small cleanups. Don't stop the task when we did not start
6513 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6514 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6515 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6518 Protect the stream lock with the object lock.
6519 Disallow setting the stream lock when running.
6520 Add cleanup_all to wait for the threadpool to finish.
6521 Remove code to autoallocate a mutex if none was provided.
6522 Add _join() to wait for a task to stop.
6523 Protect the thread pool with a global lock.
6525 2005-08-24 Wim Taymans <wim@fluendo.com>
6527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6528 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6529 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6530 * gst/base/gstbasesink.h:
6531 Handle newsegment events correctly.
6532 Drop buffers out of the segment range.
6534 2005-08-22 Andy Wingo <wingo@pobox.com>
6536 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6537 macro, implements an interface and gstimplementsinterface for a
6540 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6542 * check/Makefile.am:
6543 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6544 add a test that does a bunch of state changes on elements
6545 needs some fixing for valgrind
6546 * check/states/sinks.c: (gst_object_suite):
6549 add prototype for gst_caps_is_equal_fixed
6551 * gst/gstregistrypool.c:
6554 2005-08-24 Andy Wingo <wingo@pobox.com>
6556 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6557 convert a negative value. Doesn't make much sense. Mostly this is
6558 here to force callers to ensure -1 maps to -1.
6560 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6562 * docs/pwg/advanced-types.xml:
6563 Well done to Michael for catching my deliberate introduction
6564 of this spelling mistake.
6565 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6567 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6568 unlink pads before removing the element from the bin.
6570 2005-08-24 Andy Wingo <wingo@pobox.com>
6572 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6573 the same thing as GST_DEBUG=*:4.
6574 (parse_debug_level, parse_debug_category): New helper parsers.
6576 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6578 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6579 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6580 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6581 (gst_base_transform_buffer_alloc),
6582 (gst_base_transform_handle_buffer):
6583 use gboolean return values and pointers to size so we can use the
6584 full GST_BUFFER_SIZE range (guint) for buffer sizes
6585 use GstPadDirection for transform_caps
6586 * gst/base/gstbasetransform.h:
6587 rename get_size to get_unit_size since that's what it is
6588 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6589 use GstPadDirection for transform_caps
6590 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6592 cleanup and debugging
6594 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6596 * gst/gstelement.c: (gst_element_class_init),
6597 (gst_element_set_state), (activate_pads),
6598 (gst_element_save_thyself):
6599 * tools/gst-compprep.c: (main):
6600 * tools/gst-inspect.c: (print_element_properties_info):
6601 * tools/gst-xmlinspect.c: (print_element_properties):
6602 Fixed long standing mem-leak
6604 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6606 * check/gst/gstbin.c: (GST_START_TEST):
6607 * gst/gstbin.c: (bin_bus_handler):
6608 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6609 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6610 (gst_message_new_warning), (gst_message_new_tag),
6611 (gst_message_new_state_changed), (gst_message_new_segment_start),
6612 (gst_message_new_segment_done), (gst_message_new_custom):
6614 * tools/gst-launch.c: (event_loop):
6615 * tools/gst-md5sum.c: (event_loop):
6616 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6617 that applications can sensibly post custom messages with references
6618 to their own objects.
6620 2005-08-24 Andy Wingo <wingo@pobox.com>
6622 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6625 2005-08-24 Wim Taymans <wim@fluendo.com>
6627 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6628 (gst_base_transform_transform_caps),
6629 (gst_base_transform_transform_size),
6630 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6631 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6632 (gst_base_transform_handle_buffer):
6633 * gst/base/gstbasetransform.h:
6634 Many fixes and new features added by Thomas. Can now also do
6635 transforms with variable sizes and a custom fixate_caps function.
6637 2005-08-24 Wim Taymans <wim@fluendo.com>
6639 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6643 Cast to ClockTime before formatting to time.
6648 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6650 * check/gst-libs/controller.c: (GST_START_TEST),
6651 (gst_controller_suite):
6652 * docs/gst/tmpl/gstcaps.sgml:
6653 * docs/gst/tmpl/gstghostpad.sgml:
6654 * docs/gst/tmpl/gstquery.sgml:
6655 * docs/gst/tmpl/gstutils.sgml:
6656 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6657 (gst_object_sink_values), (gst_object_get_value_arrays),
6658 (gst_object_get_value_array):
6659 gracefully handle helper method calls to objects that are not beeing
6660 controlled, added test case for that
6662 2005-08-23 Wim Taymans <wim@fluendo.com>
6664 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6665 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6666 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6667 (gst_event_parse_qos), (gst_event_new_seek),
6668 (gst_event_parse_seek):
6670 Some more debugging output and doc cleanups.
6672 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6673 Fix possible deadlock.
6675 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6677 * docs/gst/gstreamer-docs.sgml:
6678 * docs/gst/gstreamer-sections.txt:
6679 * docs/gst/gstreamer.types:
6680 * docs/gst/tmpl/.cvsignore:
6685 added 100 symbols from gstreamer-unused.txt to the right sections
6686 fixed more broken comments
6687 added GstBus to docs
6689 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6691 * docs/gst/gstreamer-sections.txt:
6692 * docs/gst/tmpl/.cvsignore:
6693 * docs/gst/tmpl/gstbin.sgml:
6694 * docs/gst/tmpl/gstbuffer.sgml:
6695 * gst/base/gstbasesrc.c:
6696 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6699 * tools/gst-launch.1.in:
6700 inlined more doc comments, added missing comments and fixed comments
6703 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6705 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6709 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6711 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6712 * gst/gststructure.h:
6713 add a fixate function for booleans; add a FIXME that these func
6714 names should probably be gst_structure_fixate_*
6716 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6718 * docs/gst/gstreamer-docs.sgml:
6719 * docs/gst/gstreamer-sections.txt:
6721 * gst/gstbin.c: (gst_bin_get_type),
6722 (gst_bin_child_proxy_get_child_by_index),
6723 (gst_bin_child_proxy_get_children_count),
6724 (gst_bin_child_proxy_init):
6725 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6726 (gst_child_proxy_get_child_by_index),
6727 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6728 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6729 (gst_child_proxy_get), (gst_child_proxy_set_property),
6730 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6731 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6732 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6733 * gst/gstchildproxy.h:
6734 * gst/parse/grammar.y:
6735 * tools/gst-inspect.c: (print_interfaces),
6736 (print_element_properties_info), (print_element_info):
6737 ported gstchildproxy over from 0.8
6738 ported gst-inspect fixes and enhancements over from 0.8
6740 2005-08-22 Wim Taymans <wim@fluendo.com>
6742 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6743 (gst_base_transform_handle_buffer):
6744 Also call the transform function if we have ANY caps.
6746 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6749 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6751 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6752 Don't pretend to handle seek events if the source is not seekable
6754 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6756 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6757 Remove extra parameter to debug output
6759 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6760 (gst_base_src_do_seek), (gst_base_src_activate_push):
6761 Fix seek event handling.
6763 * gst/gstpipeline.c: (gst_pipeline_change_state):
6764 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6765 (gst_queue_src_activate_push):
6766 Don't start the src pad task on FLUSH_STOP if the pad
6770 2005-08-22 Wim Taymans <wim@fluendo.com>
6772 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6773 Added check for gst_static_caps_get() refcounting.
6775 2005-08-22 Wim Taymans <wim@fluendo.com>
6777 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6778 Make _static_caps_get() refcounting sane.
6780 * gst/gstelement.c: (gst_element_set_state):
6781 Add g_return_val_if_fail() to protect against segfaults.
6783 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6785 * docs/gst/tmpl/gstevent.sgml:
6788 inlined remaining docs, added missing doc comments
6790 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6792 * check/gst/gstbin.c: (GST_START_TEST):
6793 since we don't know when preroll is done, use refcount range
6795 * gst/check/gstcheck.h:
6796 add macro for checking refcount range
6798 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6800 * check/Makefile.am:
6801 clean up environment for when registry gets built versus
6802 when actual tests are run; valgrind seems to not report
6803 leaks if GST_PLUGIN_PATH is set to some specific values
6804 * check/gst/gstbin.c: (GST_START_TEST):
6805 add more refcounting checks; maybe this exposes a
6808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6809 * gst/check/gstcheck.h:
6810 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6811 (gst_bin_change_state):
6812 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6813 add/fix debugging/whitespace
6815 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6817 * check/gst/gstevent.c: (event_probe), (test_event),
6819 Er, don't call gst_bin_watch_for_state_change you idiot.
6821 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6823 * check/Makefile.am:
6824 Use CHECK_CFLAGS and CHECK_LIBS
6825 * check/gst/gstevent.c: (event_probe), (test_event),
6828 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6829 (gst_base_src_start), (gst_base_src_stop),
6830 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6831 (gst_base_src_change_state):
6832 Sprinkle gst_base_src_stop liberally around error paths to fix
6833 problems reusing a source after failed state changes.
6834 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6835 (helper_find_suggest), (gst_type_find_helper):
6836 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6838 * docs/gst/tmpl/gstevent.sgml:
6839 Migrate part of the docs from the SGML file. Wait for ensonic to
6840 tell me how I did it wrong ;)
6841 * tools/gst-typefind.c: (main):
6842 Extra robustness to state changes between files.
6844 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6846 * check/Makefile.am:
6847 don't valgrind the controller test - it's leaking - Stefan, HELP
6848 * gst/check/gstcheck.c: (gst_check_message_error),
6849 (gst_check_chain_func), (gst_check_setup_element),
6850 (gst_check_teardown_element), (gst_check_setup_src_pad),
6851 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6852 (gst_check_teardown_sink_pad):
6853 * gst/check/gstcheck.h:
6854 add a bunch of methods to set up elements, and src and sink pads
6855 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6856 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6861 whitespace/doc fixes
6863 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6866 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6867 be handled by the application and not always printed as well
6869 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6871 * check/Makefile.am:
6873 * gst/check/gstcheck.c: (gst_check_message_error):
6874 * gst/check/gstcheck.h:
6875 add a fail_unless_equals_int
6876 add fail_unless for error messages
6878 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6880 * check/Makefile.am:
6882 * common/Makefile.am:
6885 factor out some of the common stuff so we can use it
6887 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6889 * check/Makefile.am:
6890 * check/gst/gstiterator.c: (GST_START_TEST):
6891 * check/gst/gstsystemclock.c: (GST_START_TEST),
6892 (gst_systemclock_suite):
6893 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6897 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6899 * check/elements/.cvsignore:
6900 * check/elements/gstfakesrc.c:
6901 rename to name of element
6902 * check/elements/identity.c: (chain_func), (event_func),
6903 (setup_identity), (cleanup_identity), (GST_START_TEST),
6904 (identity_suite), (main):
6905 add a test for identity
6906 * check/Makefile.am:
6907 * pkgconfig/Makefile.am:
6908 * pkgconfig/gstreamer-check.pc.in:
6909 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6913 move the check stuff to a library that gets installed
6914 * check/gst-libs/controller.c: (GST_START_TEST):
6915 * check/gst-libs/gdp.c:
6916 * check/gst/gst.c: (GST_START_TEST):
6917 * check/gst/gstbin.c:
6918 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6919 * check/gst/gstbus.c:
6920 * check/gst/gstcaps.c: (GST_START_TEST):
6921 * check/gst/gstelement.c:
6922 * check/gst/gstghostpad.c:
6923 * check/gst/gstiterator.c:
6924 * check/gst/gstmessage.c:
6925 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6926 * check/gst/gstobject.c:
6927 * check/gst/gstpad.c: (GST_START_TEST):
6928 * check/gst/gststructure.c: (GST_START_TEST):
6929 * check/gst/gstsystemclock.c: (GST_START_TEST),
6930 (gst_systemclock_suite):
6931 * check/gst/gsttag.c: (gst_tag_suite):
6932 * check/gst/gstvalue.c:
6933 * check/pipelines/cleanup.c:
6934 * check/pipelines/simple_launch_lines.c:
6935 * check/states/sinks.c:
6936 change include statement
6938 * docs/gst/gstreamer-sections.txt:
6939 * docs/gst/tmpl/gstpad.sgml:
6940 document more pad stuff
6941 * gst/gstminiobject.c: (gst_mini_object_ref),
6942 (gst_mini_object_unref):
6945 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6947 * docs/gst/tmpl/gst.sgml:
6949 eliminate another tmpl file, fix spelling in the long-description
6951 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6953 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6954 (test_event), (timediff), (gstevents_suite):
6955 Should fix build on 64-bit arch's
6957 2005-08-18 Andy Wingo <wingo@pobox.com>
6959 Make sure that when a pipeline goes to PLAYING, that data has
6960 actually hit the sink.
6962 * check/states/sinks.c (test_sink): A sink that doesn't get any
6963 data shouldn't return SUCCESS for going to either PLAYING or
6964 PAUSED. Test also the return values on the way back down.
6966 * gst/gstelement.c (gst_element_set_state): When changing the
6967 state of an element currently changing state asynchronously, go to
6968 lost-state after commiting the pending state. Makes future calls
6969 to get_state continue to return ASYNC.
6971 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6972 ASYNC when going to PLAYING if we still don't have preroll, as can
6973 happen with live sources.
6975 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6977 * docs/pwg/advanced-types.xml:
6978 Hack long paragraph into 2 chunks as a workaround for buggy
6979 jadetex version in sid and breezy that loops infinitely and
6982 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6984 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6985 (test_event), (timediff), (gstevents_suite):
6986 Provide more error margin in clock measurements to allow for
6987 g_get_current_time inaccuracies.
6989 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6991 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6992 (test_event), (timediff), (gstevents_suite):
6993 Fix error message output so I might be able to tell why the
6994 test works here but fails on the build farm.
6996 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6998 * check/Makefile.am:
6999 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7000 (test_event), (timediff), (gstevents_suite), (main):
7003 * docs/design/part-seeking.txt:
7006 * docs/gst/tmpl/gstevent.sgml:
7007 * docs/gst/tmpl/gstfakesrc.sgml:
7010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7011 Treat a buffer-without-newsegment the same as a receiving
7012 a newsegment not in time format, and disable syncing to the clock
7015 * gst/gstbus.c: (gst_bus_set_sync_handler):
7016 Assert if anyone tries to replace the existing sync_handler for bus,
7017 as only the owner should be setting it.
7020 Have a fixed set of custom event enums with events identified by
7021 their structure name (as in 0.8), rather than a free-for-all
7022 allowing collisions between enum values from different plugins.
7024 * gst/gstpad.c: (gst_pad_class_init):
7027 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7028 Handle out-of-band downstream events from the sending thread.
7030 2005-08-17 Andy Wingo <wingo@pobox.com>
7032 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7033 play-timeout==0 to mean no timeout at all. In that case, don't
7034 bother with a get_state or a warning, just return directly, even
7037 * gst/base/gstbasetransform.c: Debug changes.
7040 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7041 ensure bins post state change messages. A bit of a hack but I can't
7042 think of a way to avoid it.
7044 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7046 2005-08-16 Andy Wingo <wingo@pobox.com>
7048 * gst/base/gstadapter.h:
7049 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7050 peek() but you own the data. Not terribly efficient atm.
7052 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7054 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7055 (gst_element_found_tags):
7057 Add two utility functions for tag handling.
7059 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7061 * docs/manual/advanced-dataaccess.xml:
7062 * docs/manual/basics-helloworld.xml:
7063 Fix docs to use _bin_add() before _link(), which fixes the examples
7064 with recent core versions (reported by Madhan Raj M
7065 <raj_madan@rediffmail.com>, #313199).
7067 2005-08-16 Wim Taymans <wim@fluendo.com>
7069 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7070 Added subtract checks.
7072 * docs/design/part-events.txt:
7073 Some more docs about newsegment
7075 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7078 * gst/gstcaps.c: (gst_caps_to_string):
7079 Add comments, cleanups.
7081 * gst/gstelement.c: (gst_element_save_thyself):
7084 * gst/gstvalue.c: (gst_value_collect_int_range),
7085 (gst_string_unwrap), (gst_value_union_int_int_range),
7086 (gst_value_union_int_range_int_range),
7087 (gst_value_intersect_int_int_range),
7088 (gst_value_intersect_int_range_int_range),
7089 (gst_value_intersect_double_double_range),
7090 (gst_value_intersect_double_range_double_range),
7091 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7092 (gst_value_subtract_int_range_int),
7093 (gst_value_subtract_double_range_double),
7094 (gst_value_subtract_double_range_double_range),
7095 (gst_value_subtract_from_list), (gst_value_subtract_list),
7096 (gst_value_can_compare), (gst_value_compare_fraction):
7097 Cleanups, add comments, remove unneeded asserts.
7099 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7101 * tools/gst-launch.c: (event_loop):
7102 don't convert NULL structures to strings
7104 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7106 * docs/gst/gstreamer-sections.txt:
7107 made some defines private
7108 * docs/gst/tmpl/gstconfig.sgml:
7109 * docs/gst/tmpl/gstqueue.sgml:
7110 * docs/gst/tmpl/gsttaglist.sgml:
7111 * docs/gst/tmpl/gsttypes.sgml:
7112 * docs/gst/tmpl/gstutils.sgml:
7113 * docs/pwg/appendix-porting.xml:
7114 * gst/base/gstbasesink.h:
7115 * gst/base/gstbasesrc.c:
7116 * gst/base/gstbasesrc.h:
7117 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7118 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7119 * gst/gstelement.c: (gst_element_class_init):
7120 * gst/gstpad.c: (gst_pad_class_init):
7121 * gst/gstqueue.c: (gst_queue_class_init):
7122 * gst/gstxml.c: (gst_xml_class_init):
7123 documented all undocumented signal inline
7124 * libs/gst/controller/gst-controller.h:
7127 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7129 * docs/pwg/appendix-porting.xml:
7130 Document _set_link_function -> _set_setcaps_function.
7132 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7134 * check/Makefile.am:
7135 add a .check target for running the check
7136 * check/gst-libs/controller.c: (GST_START_TEST):
7138 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7139 complete checks for gstbuffer; would be nice if I could get the
7140 gcov stuff to work so I can see if I actually completed gstbuffer.c
7142 add ASSERT_BUFFER_REFCOUNT
7144 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7146 * docs/gst/gstreamer-sections.txt:
7147 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7149 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7150 spew out a warning if a tag that is already registered
7151 is re-registered, unless it is re-registered with a
7152 different type (#308438).
7154 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7156 * docs/pwg/appendix-porting.xml:
7157 * docs/pwg/building-state.xml:
7158 Add some paragraphs about state changes in 0.9 to the PWG
7159 and the porting guide, in particular about the new meaning
7160 of GST_STATE_PAUSED and how to write state change functions
7161 with concurrent access by multiple threads in mind.
7163 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7165 * docs/gst/gstreamer-docs.sgml:
7166 * docs/libs/gstreamer-libs-docs.sgml:
7167 added deprecation and since indexes
7168 * libs/gst/controller/gst-controller.c:
7169 * libs/gst/controller/gst-helper.c:
7173 2005-08-11 Wim Taymans <wim@fluendo.com>
7175 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7176 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7177 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7178 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7179 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7180 (gst_ghost_pad_set_target):
7181 Actually implement (re)setting the target on a ghostpad
7182 as described in the docs.
7184 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7186 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7187 Check whether GST_DEBUG_NO_COLOR environment variable is
7188 set and disable coloured debug output if that is the case.
7190 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7192 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7193 (gst_type_find_helper):
7194 The memory returned by gst_type_find_peek() needs to
7195 stay valid until the end of a typefind function, and
7196 typefind functions may keep results from different
7197 offsets around, so we can't just unref the buffer from
7198 the previous _peek(), but have to save all buffers
7199 returned by _peek() until typefinding is done and only
7202 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7204 * docs/gst/gstreamer-sections.txt:
7206 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7208 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7210 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7211 Fix a pretty good memleak.
7213 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7215 * gst/gstiterator.h:
7216 Fix wrong include and 'make distcheck'.
7218 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7220 * gst/gstbin.c: (bin_bus_handler):
7221 Use gst_element_post_message() instead.
7223 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7225 * gst/base/gstadapter.h:
7226 * gst/base/gstbasesink.h:
7227 * gst/base/gstbasesrc.h:
7228 * gst/base/gstbasetransform.h:
7229 * gst/base/gstcollectpads.h:
7230 * gst/base/gstpushsrc.h:
7231 * gst/gstiterator.h:
7232 Add padding to our base elements' class and instance structs and
7233 to GstIterator (you will need to rebuild all plugins and apps!)
7235 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7237 * gst/gstbin.c: (bin_bus_handler):
7238 Make default message forwarding from child->bus to bin->bus
7239 threadsafe and make it not emit warnings if the parent has no bus.
7241 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7243 * gst/gstelement.c: (activate_pads):
7244 On paused->ready, set pad->caps to NULL, as is the documented
7245 behaviour in this state change. Fixes playback of series of
7246 media files when visualization is enabled in Totem.
7248 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7250 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7251 Allow NULL as filter-caps (which means "any").
7253 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7255 * docs/libs/gstreamer-libs-sections.txt:
7256 * libs/gst/controller/gst-controller.c:
7257 * libs/gst/controller/gst-controller.h:
7258 * libs/gst/controller/gst-helper.c:
7259 adding more entries to the docs and fix small doc-bugs
7261 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7263 * docs/gst/gstreamer-docs.sgml:
7264 * docs/gst/gstreamer-sections.txt:
7265 * docs/gst/gstreamer.types:
7266 * docs/gst/tmpl/gstbasesink.sgml:
7267 * docs/gst/tmpl/gstbasesrc.sgml:
7268 * docs/gst/tmpl/gstbasetransform.sgml:
7269 * docs/gst/tmpl/gstfakesrc.sgml:
7270 * gst/base/gstcollectpads.c:
7271 * gst/base/gstcollectpads.h:
7272 * libs/gst/controller/gst-controller.c:
7273 * libs/gst/controller/gst-controller.h:
7274 * libs/gst/controller/gst-helper.c:
7275 * libs/gst/controller/gst-interpolation.c:
7276 * libs/gst/controller/lib.c:
7277 added long/short desc for controller docs
7278 added collectpads base class docs
7279 added correct includes to base-class docs
7281 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7283 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7284 (gst_test_mono_source_set_property),
7285 (gst_test_mono_source_class_init), (GST_START_TEST),
7286 (gst_controller_suite):
7287 * docs/gst/gstreamer-docs.sgml:
7288 * docs/gst/gstreamer-sections.txt:
7289 * docs/gst/gstreamer.types:
7290 * docs/libs/gstreamer-libs-docs.sgml:
7291 * docs/libs/gstreamer-libs-sections.txt:
7292 * gst/base/gstadapter.c:
7293 * libs/gst/controller/gst-controller.c:
7294 (gst_controlled_property_new), (gst_controlled_property_free),
7295 (gst_controller_new_valist),
7296 (gst_controller_remove_properties_valist),
7297 (gst_controller_sink_values), (_gst_controller_finalize):
7298 * libs/gst/controller/gst-controller.h:
7299 * libs/gst/controller/gst-helper.c:
7300 (gst_object_control_properties), (gst_object_uncontrol_properties),
7301 (gst_object_get_controller), (gst_object_set_controller),
7302 (gst_object_sink_values), (gst_object_get_value_arrays),
7303 (gst_object_get_value_array):
7304 more tests (and fixes) for the controller
7305 more docs for the controller
7306 integrated companies docs for the adapter
7308 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7310 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7311 (GST_START_TEST), (fakesrc_suite):
7312 add tests for sizetype
7314 2005-08-04 Andy Wingo <wingo@pobox.com>
7316 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7317 fixes buffer_alloc proxying among other things.
7319 * gst/base/gstbasetransform.c:
7320 * gst/base/gstbasetransform.h:
7321 Revert patch to gstbasetransform from 7-28 removing
7324 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7325 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7326 Semantics changed, should return not the size of the output buffer
7327 but the byte size of a buffer with a given caps.
7329 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7331 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7332 out) are not the pad caps until setcaps finishes.
7333 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7334 not-in-place case as well. Deal with changing from in-place to
7335 not-in-place within calling pad_alloc_buffer. Still a bit
7336 concerned about the overhead here...
7338 2005-08-03 Andy Wingo <wingo@pobox.com>
7340 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7341 fixating is an error.
7343 2005-08-04 Edward Hervey <edward@fluendo.com>
7345 * gst/base/gstadapter.h:
7346 Added gst_adapter_get_type() to the header
7348 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7350 * check/Makefile.am:
7351 * check/gst-libs/controller.c:
7352 * libs/gst/controller/gst-controller.c:
7353 (gst_controller_new_valist):
7354 added check test suite for the controller
7355 * gst/base/gstpushsrc.c:
7358 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7360 * docs/gst/Makefile.am:
7361 * docs/gst/gstreamer-docs.sgml:
7362 * docs/gst/gstreamer-sections.txt:
7363 * docs/gst/gstreamer.types:
7364 * docs/gst/tmpl/gstfakesrc.sgml:
7366 * gst/base/gstbasesink.c:
7367 * gst/base/gstbasesink.h:
7368 * gst/base/gstbasesrc.c:
7369 * gst/base/gstbasesrc.h:
7370 * gst/base/gstbasetransform.c:
7371 * gst/base/gstpushsrc.c:
7372 * gst/base/gstpushsrc.h:
7373 add short/long description docs to base classes
7374 add pushsrc to the docs
7375 remove consolidated doc fragments
7377 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7380 * docs/libs/Makefile.am:
7381 * docs/libs/gstreamer-libs-docs.sgml:
7382 * docs/libs/gstreamer-libs-sections.txt:
7383 * docs/libs/gstreamer-libs.types:
7384 * examples/Makefile.am:
7385 * examples/controller/.cvsignore:
7386 * examples/controller/Makefile.am:
7387 * examples/controller/audio-example.c: (main):
7388 * libs/gst/Makefile.am:
7389 * libs/gst/controller/.cvsignore:
7390 * libs/gst/controller/Makefile.am:
7391 * libs/gst/controller/gst-controller.c:
7392 (on_object_controlled_property_changed), (gst_timed_value_compare),
7393 (gst_timed_value_find),
7394 (gst_controlled_property_set_interpolation_mode),
7395 (gst_controlled_property_new), (gst_controlled_property_free),
7396 (gst_controller_find_controlled_property),
7397 (gst_controller_new_valist), (gst_controller_new),
7398 (gst_controller_remove_properties_valist),
7399 (gst_controller_remove_properties), (gst_controller_set),
7400 (gst_controller_set_from_list), (gst_controller_unset),
7401 (gst_controller_get), (gst_controller_get_all),
7402 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7403 (gst_controller_get_value_array),
7404 (gst_controller_set_interpolation_mode),
7405 (_gst_controller_finalize), (_gst_controller_init),
7406 (_gst_controller_class_init), (gst_controller_get_type):
7407 * libs/gst/controller/gst-controller.h:
7408 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7409 (g_object_uncontrol_properties), (g_object_get_controller),
7410 (g_object_set_controller), (g_object_sink_values),
7411 (g_object_get_value_arrays), (g_object_get_value_array):
7412 * libs/gst/controller/gst-interpolation.c:
7413 (gst_controlled_property_find_timed_value_node),
7414 (interpolate_none_get), (interpolate_trigger_get),
7415 (interpolate_trigger_get_value_array):
7416 * libs/gst/controller/lib.c: (gst_controller_init):
7417 * pkgconfig/Makefile.am:
7418 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7419 * pkgconfig/gstreamer-control.pc.in:
7420 * testsuite/Makefile.am:
7421 * testsuite/controller/.cvsignore:
7422 * testsuite/controller/Makefile.am:
7423 * testsuite/controller/interpolator.c: (main):
7424 added controller code
7425 removed dparam pc files
7427 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7428 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7429 (gst_collectpads_stop):
7430 Broadcast the condition when shutting down, to make sure we wake all
7431 threads up. Shut down pads on finalize, for safety.
7433 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7434 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7435 (gst_base_transform_handle_buffer),
7436 (gst_base_transform_change_state):
7437 Handle PAUSED->READY->PAUSED transition after negotiation
7439 * gst/gstmessage.c: (gst_message_init):
7440 Extra piece of debug for new messages.
7442 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7445 * docs/gst/tmpl/gstbasesrc.sgml:
7446 * docs/gst/tmpl/gstelement.sgml:
7447 * docs/gst/tmpl/gstevent.sgml:
7448 * docs/gst/tmpl/gstfakesrc.sgml:
7449 * docs/gst/tmpl/gstformat.sgml:
7450 * docs/gst/tmpl/gstghostpad.sgml:
7451 * docs/gst/tmpl/gstpad.sgml:
7452 * docs/gst/tmpl/gstquery.sgml:
7453 * docs/gst/tmpl/gststructure.sgml:
7454 * docs/gst/tmpl/gsttaglist.sgml:
7455 * docs/gst/tmpl/gstvalue.sgml:
7456 * docs/libs/gstreamer-libs-docs.sgml:
7457 * docs/libs/gstreamer-libs-sections.txt:
7458 * docs/libs/gstreamer-libs.types:
7459 * libs/gst/Makefile.am:
7460 * libs/gst/control/.cvsignore:
7461 * libs/gst/control/Makefile.am:
7462 * libs/gst/control/control.c:
7463 * libs/gst/control/control.h:
7464 * libs/gst/control/dparam.c:
7465 * libs/gst/control/dparam.h:
7466 * libs/gst/control/dparam_smooth.c:
7467 * libs/gst/control/dparam_smooth.h:
7468 * libs/gst/control/dparamcommon.h:
7469 * libs/gst/control/dparammanager.c:
7470 * libs/gst/control/dparammanager.h:
7471 * libs/gst/control/dplinearinterp.c:
7472 * libs/gst/control/dplinearinterp.h:
7473 * libs/gst/control/unitconvert.c:
7474 * libs/gst/control/unitconvert.h:
7475 * testsuite/Makefile.am:
7476 * testsuite/dynparams/.cvsignore:
7477 * testsuite/dynparams/Makefile.am:
7478 * testsuite/dynparams/dparamstest.c:
7479 * tools/Makefile.am:
7480 * tools/gst-inspect.c: (print_element_info), (main):
7481 * tools/gst-xmlinspect.c: (print_element_info), (main):
7482 deactivate and remove dparams (libgstcontrol)
7484 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7486 * gst/elements/gsttypefindelement.c:
7487 (gst_type_find_element_have_type), (gst_type_find_element_init),
7488 (stop_typefinding), (gst_type_find_element_handle_event),
7489 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7490 * gst/elements/gsttypefindelement.h:
7491 Set caps on all outgoing buffers, not just the first one.
7493 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7495 * gst/elements/gsttypefindelement.c:
7496 (gst_type_find_element_have_type),
7497 (gst_type_find_element_check_set_buffer_caps),
7498 (gst_type_find_element_init), (stop_typefinding),
7499 (gst_type_find_element_handle_event),
7500 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7501 * gst/elements/gsttypefindelement.h:
7502 Set caps on first outgoing buffer when we've found the type.
7504 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7506 * docs/gst/gstreamer-docs.sgml:
7507 * docs/gst/gstreamer-sections.txt:
7508 * docs/gst/tmpl/gstscheduler.sgml:
7509 * docs/gst/tmpl/gstschedulerfactory.sgml:
7510 Remove some old cruft from docs.
7512 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7515 Fix inline docs for GstPadLinkReturn.
7517 * gst/gststructure.c: (gst_structure_has_name):
7518 * gst/gststructure.h:
7519 * docs/gst/gstreamer-sections.txt:
7520 New API: gst_structure_has_name().
7522 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7525 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7526 and _LARGEFILE_SOURCE in config.h as required. Do not
7527 export those flags in our .pc files any longer (#142209).
7529 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7531 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7532 (gst_file_sink_do_seek), (gst_file_sink_event),
7533 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7534 Redo seek/tell calls with large file support in mind; add some
7535 debugging messages; add log message that tells us when large
7536 file support is unavailable or not enabled for some reason.
7538 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7539 Add log message that tells us when large file support
7540 is unavailable or not enabled for some reason.
7542 2005-07-29 Wim Taymans <wim@fluendo.com>
7544 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7545 Added test for removing an element with ghostpad from a bin.
7546 Fixed test as current implementation does the right thing.
7548 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7549 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7550 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7551 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7552 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7553 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7554 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7555 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7556 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7557 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7558 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7559 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7560 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7561 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7562 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7563 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7564 * gst/gstghostpad.h:
7565 Clean up ghostpads, remove properties for internal stuff.
7568 Prepare for switching targets, not all use cases work yet.
7570 2005-07-29 Wim Taymans <wim@fluendo.com>
7572 * docs/design/part-gstghostpad.txt:
7575 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7576 (gst_bin_remove_func):
7577 Unlinking pads while holding the bin LOCK is not a good
7580 * gst/gstpad.c: (gst_pad_class_init),
7581 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7582 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7583 No prob setting template after creating the pad.
7585 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7587 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7588 (gst_bus_peek), (gst_bus_source_dispatch),
7589 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7590 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7591 gst_bus_poll may be called from other threads. Handle
7592 this nicely by not making poll_data disappear off the
7593 stack once gst_bus_poll returns.
7594 gst_bus_peek now increments the refcount on the returned
7597 2005-07-29 Wim Taymans <wim@fluendo.com>
7599 * docs/design/part-gstghostpad.txt:
7600 Overview of current GhostPad datastructures and use
7601 cases for changing the target.
7603 2005-07-28 Wim Taymans <wim@fluendo.com>
7605 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7606 Added checks for hierarchy consistency whan adding linked
7609 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7610 Added check to test element scheduling without bin/pipeline.
7612 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7613 First add elements to bin, then link.
7615 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7616 (gst_bin_remove_func):
7617 Unlink pads from elements added/removed from bin to maintain
7618 hierarchy consistency.
7620 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7622 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7623 (gst_base_transform_handle_buffer):
7624 * gst/base/gstbasetransform.h:
7625 Remove broken delay_configure (fixes renegotiation of software
7626 scaling pipelines); remove some leftover printf()s.
7628 2005-07-28 Wim Taymans <wim@fluendo.com>
7630 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7631 Added some more tests for wrong hierarchy
7633 * docs/design/part-overview.txt:
7636 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7639 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7640 (gst_element_dispose):
7643 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7644 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7645 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7646 (gst_pad_set_caps), (gst_pad_send_event):
7647 Check for correct hierarchy when linking pads. Moving to
7648 strict requirement for ghostpads when linking elements in
7652 Clean ups. Added WRONG_HIERARCHY return value.
7654 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7656 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7657 Better debug if no transform is possible.
7659 2005-07-27 Wim Taymans <wim@fluendo.com>
7661 * docs/random/wtay/network-transp:
7664 2005-07-27 Wim Taymans <wim@fluendo.com>
7666 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7667 (gst_dp_event_from_packet):
7668 Fix serialization of seek events.
7670 2005-07-27 Wim Taymans <wim@fluendo.com>
7672 * check/gst-libs/gdp.c: (GST_START_TEST):
7673 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7674 Fix compilation and fix event serialization.
7676 2005-07-27 Wim Taymans <wim@fluendo.com>
7679 * docs/design/part-TODO.txt:
7680 * docs/design/part-events.txt:
7683 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7684 (gst_base_sink_event), (gst_base_sink_do_sync),
7685 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7686 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7687 (gst_base_src_do_seek), (gst_base_src_event_handler),
7688 (gst_base_src_loop):
7689 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7690 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7691 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7692 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7693 (gst_base_transform_set_passthrough),
7694 (gst_base_transform_is_passthrough):
7695 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7696 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7702 * gst/gstelement.c: (gst_element_seek):
7704 Update gst_element_seek.
7706 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7707 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7708 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7709 (gst_event_new_eos), (gst_event_new_newsegment),
7710 (gst_event_parse_newsegment), (gst_event_new_tag),
7711 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7712 (gst_event_parse_qos), (gst_event_new_seek),
7713 (gst_event_parse_seek), (gst_event_new_navigation):
7715 Make GstEvent use GstStructure. Add parsing code, make sure the
7716 API is sufficiently generic.
7717 Mark possible directions of events and serialization.
7719 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7720 (_gst_message_copy), (gst_message_new_segment_start),
7721 (gst_message_new_segment_done), (gst_message_new_custom),
7722 (gst_message_parse_segment_start),
7723 (gst_message_parse_segment_done):
7726 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7727 (gst_pad_set_caps), (gst_pad_send_event):
7728 Update for new events.
7729 Catch events sent in wrong directions.
7731 * gst/gstqueue.c: (gst_queue_link_src),
7732 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7733 (gst_queue_handle_src_query):
7738 Remove event code from this file.
7740 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7741 (gst_dp_event_from_packet):
7744 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7746 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7747 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7748 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7749 Make debugging actually useful.
7751 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7753 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7754 (gst_pad_fixate_caps):
7755 Implement default fixation once again, so that gst_pad_fixate()
7756 actually does anything at all. This probably needs to be some
7757 sort of a last resort, and use profile-based fixation first, but
7758 since that doesn't exist yet, this is the best we have. Fixes
7759 visualization in Totem.
7761 2005-07-22 Wim Taymans <wim@fluendo.com>
7763 * docs/design/part-events.txt:
7766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7767 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7768 (gst_base_sink_activate_pull):
7771 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7772 (gst_fake_src_create):
7773 Fix handoff marshall.
7775 * gst/elements/gstidentity.c: (gst_identity_class_init),
7776 (gst_identity_transform_ip):
7777 We're a real inplace element.
7779 * gst/gstbus.c: (gst_bus_post):
7780 Added some comments.
7782 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7783 * tests/muxing/case1.c: (main):
7784 * tests/sched/dynamic-pipeline.c: (main):
7785 * tests/sched/interrupt1.c: (main):
7786 * tests/sched/interrupt2.c: (main):
7787 * tests/sched/interrupt3.c: (main):
7788 * tests/sched/runxml.c: (main):
7789 * tests/sched/sched-stress.c: (main):
7790 * tests/seeking/seeking1.c: (event_received), (main):
7791 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7793 * tests/threadstate/threadstate3.c: (main):
7794 * tests/threadstate/threadstate4.c: (main):
7795 * tests/threadstate/threadstate5.c: (main):
7798 2005-07-21 Wim Taymans <wim@fluendo.com>
7800 * docs/design/part-seeking.txt:
7801 Some small additions.
7803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7804 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7805 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7806 * gst/base/gstbasesink.h:
7807 discont values are gint64, handle the math correctly.
7809 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7810 Make the basesrc report error if the source pad is not linked.
7812 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7813 (gst_queue_loop), (gst_queue_handle_src_query),
7814 (gst_queue_src_activate_push):
7815 Make queue collect data even if the srcpad is not linked.
7816 Start pushing out data as soon as it is linked.
7818 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7820 Added gst_flow_get_name() to ease error reporting.
7822 2005-07-20 Wim Taymans <wim@fluendo.com>
7824 * gst/gstmessage.c: (gst_message_new_segment_start),
7825 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7826 (gst_message_parse_segment_done):
7828 Added a bunch of messages for advanced seeking.
7830 * gst/parse/grammar.y:
7831 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7832 (gst_dpman_state_changed):
7833 Fix some new-pad -> pad-added signals
7835 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7837 * docs/manual/appendix-porting.xml:
7838 * docs/pwg/appendix-porting.xml:
7839 Document new-pad/state-change signal renames and the FixedList
7842 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7844 * docs/manual/advanced-autoplugging.xml:
7845 * docs/manual/basics-helloworld.xml:
7846 * docs/manual/basics-pads.xml:
7847 * docs/random/ds/0.9-suggested-changes:
7848 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7853 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7854 (gst_structure_parse_array), (gst_structure_parse_value):
7855 * gst/gstvalue.c: (gst_type_is_fixed),
7856 (gst_value_list_prepend_value), (gst_value_list_append_value),
7857 (gst_value_list_get_size), (gst_value_list_get_value),
7858 (gst_value_transform_array_string), (gst_value_serialize_array),
7859 (gst_value_deserialize_array), (gst_value_intersect_array),
7860 (gst_value_is_fixed), (_gst_value_initialize):
7862 GstElement::new-pad -> pad-added, GstElement::state-change ->
7863 state-changed, GstValueFixedList -> GstValueArray, add format and
7864 flags as their own arguments in gst_element_seek() (should improve
7865 "bindeability"), remove function generators since they don't work
7866 under a whole bunch of compilers (they were deprecated already
7869 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7871 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7872 (_gst_debug_register_funcptr):
7874 Fix illegal cast on some platforms (#309253).
7876 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7878 * gst/gstmessage.c: (gst_message_new_custom):
7880 Add _new_custom, make _new_application a macro to _new_custom.
7882 2005-07-20 Wim Taymans <wim@fluendo.com>
7884 * gst/base/gstbasesrc.c: (gst_base_src_init),
7885 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7886 * gst/base/gstbasesrc.h:
7887 Add a gboolean to decide when to push out a discont.
7889 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7890 (gst_queue_loop), (gst_queue_handle_src_query),
7891 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7892 (gst_queue_set_property), (gst_queue_get_property):
7895 * tests/threadstate/threadstate1.c: (main):
7896 Make a thread test compile and run... very silly..
7899 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7901 * docs/manual/appendix-porting.xml:
7902 Mention removal of libgstgconf-0.9.la and existence of gconf
7905 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7907 * docs/pwg/advanced-clock.xml:
7908 * docs/pwg/appendix-porting.xml:
7909 * docs/pwg/intro-preface.xml:
7910 * docs/pwg/other-base.xml:
7911 * docs/pwg/other-manager.xml:
7912 * docs/pwg/other-nton.xml:
7913 * docs/pwg/other-ntoone.xml:
7914 * docs/pwg/other-oneton.xml:
7916 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7917 demuxer), remove n-to-n (was never written), fix some code examples
7918 and links and update the porting section to include all this.
7920 2005-07-19 Wim Taymans <wim@fluendo.com>
7922 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7923 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7924 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7925 (gst_queue_src_activate_push), (gst_queue_change_state),
7926 (gst_queue_get_property):
7928 Propagate GstFlowReturn more intelligently upstream and output
7929 an ERROR/EOS when streaming stopped due to fatal error.
7931 2005-07-19 Wim Taymans <wim@fluendo.com>
7933 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7934 Don't block forever for the state change to complete, the
7935 pipeline already did with a sensible timeout.
7937 2005-07-19 Wim Taymans <wim@fluendo.com>
7939 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7940 Make sure we never call the create function is we
7943 2005-07-19 Andy Wingo <wingo@pobox.com>
7945 * gst/parse/parse.l: Attempt to solve bug #172815.
7947 2005-07-19 Wim Taymans <wim@fluendo.com>
7949 * docs/design/part-clocks.txt:
7950 * docs/design/part-events.txt:
7951 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7953 Only update the seeking values when we are not
7956 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7958 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7959 Oops, ignore the result of gst_pad_push_event here.
7961 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7963 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7964 (gst_base_src_activate_push):
7965 Send discont event from the loop function, as pads
7966 aren't activated yet in the activate_push handler.
7968 * gst/gstbin.c: (bin_bus_handler):
7969 Don't leak element name.
7971 2005-07-18 Andy Wingo <wingo@pobox.com>
7973 * configure.ac: Use AS_LIBTOOL_TAGS.
7975 2005-07-18 Wim Taymans <wim@fluendo.com>
7977 * docs/gst/gstreamer.types:
7978 Remove deleted types.
7980 2005-07-18 Wim Taymans <wim@fluendo.com>
7982 * check/elements/gstfakesrc.c: (GST_START_TEST):
7985 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7986 (init_popt_callback):
7988 * gst/gst_private.h:
7989 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7990 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7993 * gst/gstconfig.h.in:
7994 * gst/gstelement.c: (gst_element_class_init),
7995 (gst_element_set_base_time), (gst_element_get_base_time),
7996 (iterator_fold_with_resync), (gst_element_change_state),
7997 (gst_element_dispose), (gst_element_get_bus):
7999 * gst/gstelementfactory.h:
8000 * gst/gsterror.c: (_gst_core_errors_init):
8003 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8005 * gst/gstinfo.c: (_gst_debug_init):
8006 * gst/gstmessage.c: (_gst_message_copy):
8008 * gst/gstminiobject.h:
8011 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8012 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8015 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8016 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8017 (gst_pipeline_get_last_stream_time):
8018 * gst/gstpipeline.h:
8019 * gst/gstpluginfeature.h:
8021 * gst/gstscheduler.c:
8022 * gst/gstscheduler.h:
8023 * gst/gststructure.h:
8024 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8025 (gst_task_finalize), (gst_task_func), (gst_task_create),
8026 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8027 (gst_task_stop), (gst_task_pause):
8029 * gst/gsttypefind.h:
8031 * gst/registries/gstlibxmlregistry.c: (load_feature),
8032 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8033 * gst/registries/gstxmlregistry.c:
8034 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8035 * gst/schedulers/threadscheduler.c:
8036 * libs/gst/control/dparammanager.h:
8037 * tools/gst-inspect.c: (print_element_list),
8038 (print_plugin_features), (print_element_features):
8039 * tools/gst-xmlinspect.c: (print_element_list),
8040 (print_plugin_info), (main):
8041 Removed plugable schedulers.
8042 Removed Scheduler/Manager from elements.
8043 Removed gsttypes.h, rearranged includes.
8044 Removed dependency pad<->element, element<>pipeline, and
8045 various others, fix includes.
8046 implement gst_pad_get_parent() with gst_object_get_parent()
8047 Make GstTask sefcontained.
8048 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8050 Fix endless loop in iterator_fold_with_resync.
8053 2005-07-18 Wim Taymans <wim@fluendo.com>
8059 2005-07-18 Wim Taymans <wim@fluendo.com>
8064 2005-07-18 Wim Taymans <wim@fluendo.com>
8070 2005-07-18 Wim Taymans <wim@fluendo.com>
8072 * docs/design/part-dynamic.txt:
8073 * docs/design/part-events.txt:
8074 * docs/design/part-seeking.txt:
8075 Some more docs in the works.
8077 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8078 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8079 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8080 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8081 (gst_base_transform_handle_buffer),
8082 (gst_base_transform_sink_activate_push),
8083 (gst_base_transform_src_activate_pull),
8084 (gst_base_transform_set_passthrough),
8085 (gst_base_transform_is_passthrough):
8088 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8091 * gst/gstevent.c: (gst_event_finalize):
8094 * gst/gstutils.c: (gst_element_unlink),
8095 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8096 (gst_pad_proxy_setcaps):
8098 Add _get_parent_element() to get a pads parent as an element.
8100 2005-07-18 Wim Taymans <wim@fluendo.com>
8102 * check/gst/gstbin.c: (GST_START_TEST):
8105 2005-07-18 Wim Taymans <wim@fluendo.com>
8107 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8108 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8109 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8110 (gst_base_sink_event), (gst_base_sink_do_sync),
8111 (gst_base_sink_chain), (gst_base_sink_loop),
8112 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8113 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8115 Fix logic for returning ASYNC when not prerolled.
8117 2005-07-18 Wim Taymans <wim@fluendo.com>
8119 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8120 Fix nasty refcount bug.
8122 2005-07-16 Philippe Khalaf <burger@speedy.org>
8124 * gst/elements/gstfdsrc.c:
8125 * gst/elements/gstfdsrc.h:
8126 * gst/elements/gstelements.c:
8127 * gst/elements/Makefile.am:
8128 Ported fdsrc to 0.9.
8130 2005-07-16 Wim Taymans <wim@fluendo.com>
8132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8133 (gst_base_sink_do_sync):
8136 2005-07-16 Wim Taymans <wim@fluendo.com>
8138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8139 (gst_base_sink_event), (gst_base_sink_get_times),
8140 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8141 * gst/base/gstbasesink.h:
8142 Store and use discont values when syncing buffers as described
8145 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8146 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8147 (gst_base_src_activate_push):
8148 Push discont event when starting.
8150 * gst/elements/gstidentity.c: (gst_identity_transform):
8153 * gst/gstbin.c: (gst_bin_change_state):
8154 Small cleanups in base_time distribution.
8156 * gst/gstelement.c: (gst_element_set_base_time),
8157 (gst_element_get_base_time), (gst_element_change_state):
8159 Added methods for the base_time of the element.
8162 * gst/gstpipeline.c: (gst_pipeline_send_event),
8163 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8164 (gst_pipeline_get_last_stream_time):
8165 * gst/gstpipeline.h:
8167 Handle seeking as described in design doc, remove stream_time
8169 Cleanups clock and stream_time selection code. Added accessors
8170 for the stream_time.
8173 2005-07-16 Andy Wingo <wingo@pobox.com>
8175 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8178 2005-07-16 Wim Taymans <wim@fluendo.com>
8180 * check/gst/gstbin.c: (GST_START_TEST):
8181 Make elements silent as the deep_notify refs the
8182 parent, which might make the test fail.
8184 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8185 Don't hold the lock for too long.
8187 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8189 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8190 Don't unref the caps we passed to gst_caps_make_writable() after
8191 passing them. gst_caps_make_writable() will do that for us.
8193 2005-07-15 Andy Wingo <wingo@pobox.com>
8195 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8198 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8199 own marshalling function for the handoff signal. Properly type the
8200 buffer as a buffer. Fixes some warnings. Should do a more general
8202 (gst_identity_class_init): Plug into the right marshaller.
8204 2005-07-15 Wim Taymans <wim@fluendo.com>
8206 * docs/design/part-TODO.txt:
8207 * docs/design/part-clocks.txt:
8208 * docs/design/part-element-sink.txt:
8209 * docs/design/part-events.txt:
8210 * docs/design/part-gstpipeline.txt:
8211 Updated docs, mostly DISCONT related.
8213 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8215 * docs/pwg/building-pads.xml:
8216 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8218 2005-07-15 Andy Wingo <wingo@pobox.com>
8220 * tools/gst-typefind.c: Update, add copyright block.
8222 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8223 Normalize and truncate caps before fixation.
8226 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8227 discards all but the first structure from its argument.
8229 2005-07-15 Wim Taymans <wim@fluendo.com>
8231 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8232 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8233 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8234 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8235 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8236 (gst_base_transform_chain), (gst_base_transform_change_state),
8237 (gst_base_transform_set_passthrough),
8238 (gst_base_transform_is_passthrough):
8239 * gst/base/gstbasetransform.h:
8240 Make passthrough work using the bufferpools.
8241 Changed API a bit, subclasses have to write into a buffer
8242 provided by the base class.
8243 More debug info in nego functions.
8245 * gst/elements/gstidentity.c: (gst_identity_init),
8246 (gst_identity_transform):
8247 Port to new base class.
8249 2005-07-15 Wim Taymans <wim@fluendo.com>
8251 * gst/gstmessage.c: (gst_message_new_state_changed):
8252 * tools/gst-launch.c: (event_loop), (main):
8253 Totally dump messages in -launch with the -m option.
8254 Fix message name for State messages,
8256 2005-07-14 Wim Taymans <wim@fluendo.com>
8258 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8259 Post error messages on errors.
8261 2005-07-14 Wim Taymans <wim@fluendo.com>
8263 * gst/gstcaps.c: (gst_caps_do_simplify):
8267 Define error for stream stopped.
8269 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8270 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8271 Do proper return values.
8273 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8274 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8275 (gst_pad_get_range):
8276 Better return values.
8279 Reorganise return values, add macro to check for fatal errors.
8281 * gst/gstqueue.c: (gst_queue_chain):
8282 Return proper GstFlowReturn values,
8284 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8286 * docs/gst/gstreamer-sections.txt:
8287 * docs/gst/gstreamer.types:
8288 * docs/gst/tmpl/gst.sgml:
8289 * docs/gst/tmpl/gstbasesink.sgml:
8290 * docs/gst/tmpl/gstbasesrc.sgml:
8291 * docs/gst/tmpl/gstbasetransform.sgml:
8292 * docs/gst/tmpl/gstbin.sgml:
8293 * docs/gst/tmpl/gstbuffer.sgml:
8294 * docs/gst/tmpl/gstcaps.sgml:
8295 * docs/gst/tmpl/gstclock.sgml:
8296 * docs/gst/tmpl/gstcompat.sgml:
8297 * docs/gst/tmpl/gstconfig.sgml:
8298 * docs/gst/tmpl/gstelement.sgml:
8299 * docs/gst/tmpl/gstelementdetails.sgml:
8300 * docs/gst/tmpl/gstelementfactory.sgml:
8301 * docs/gst/tmpl/gstenumtypes.sgml:
8302 * docs/gst/tmpl/gsterror.sgml:
8303 * docs/gst/tmpl/gstevent.sgml:
8304 * docs/gst/tmpl/gstfakesink.sgml:
8305 * docs/gst/tmpl/gstfakesrc.sgml:
8306 * docs/gst/tmpl/gstfilesink.sgml:
8307 * docs/gst/tmpl/gstfilesrc.sgml:
8308 * docs/gst/tmpl/gstfilter.sgml:
8309 * docs/gst/tmpl/gstformat.sgml:
8310 * docs/gst/tmpl/gstghostpad.sgml:
8311 * docs/gst/tmpl/gstimplementsinterface.sgml:
8312 * docs/gst/tmpl/gstindex.sgml:
8313 * docs/gst/tmpl/gstindexfactory.sgml:
8314 * docs/gst/tmpl/gstinfo.sgml:
8315 * docs/gst/tmpl/gstiterator.sgml:
8316 * docs/gst/tmpl/gstmacros.sgml:
8317 * docs/gst/tmpl/gstmemchunk.sgml:
8318 * docs/gst/tmpl/gstminiobject.sgml:
8319 * docs/gst/tmpl/gstobject.sgml:
8320 * docs/gst/tmpl/gstpad.sgml:
8321 * docs/gst/tmpl/gstpadtemplate.sgml:
8322 * docs/gst/tmpl/gstparse.sgml:
8323 * docs/gst/tmpl/gstpipeline.sgml:
8324 * docs/gst/tmpl/gstplugin.sgml:
8325 * docs/gst/tmpl/gstpluginfeature.sgml:
8326 * docs/gst/tmpl/gstquery.sgml:
8327 * docs/gst/tmpl/gstqueue.sgml:
8328 * docs/gst/tmpl/gstregistry.sgml:
8329 * docs/gst/tmpl/gstregistrypool.sgml:
8330 * docs/gst/tmpl/gstscheduler.sgml:
8331 * docs/gst/tmpl/gstschedulerfactory.sgml:
8332 * docs/gst/tmpl/gststructure.sgml:
8333 * docs/gst/tmpl/gstsystemclock.sgml:
8334 * docs/gst/tmpl/gsttaglist.sgml:
8335 * docs/gst/tmpl/gsttagsetter.sgml:
8336 * docs/gst/tmpl/gsttrace.sgml:
8337 * docs/gst/tmpl/gsttrashstack.sgml:
8338 * docs/gst/tmpl/gsttypefind.sgml:
8339 * docs/gst/tmpl/gsttypefindfactory.sgml:
8340 * docs/gst/tmpl/gsttypes.sgml:
8341 * docs/gst/tmpl/gsturihandler.sgml:
8342 * docs/gst/tmpl/gsturitype.sgml:
8343 * docs/gst/tmpl/gstutils.sgml:
8344 * docs/gst/tmpl/gstvalue.sgml:
8345 * docs/gst/tmpl/gstversion.sgml:
8346 * docs/gst/tmpl/gstxml.sgml:
8347 * docs/libs/tmpl/gstcontrol.sgml:
8348 * docs/libs/tmpl/gstdataprotocol.sgml:
8349 * docs/libs/tmpl/gstdparam.sgml:
8350 * docs/libs/tmpl/gstdplinint.sgml:
8351 * docs/libs/tmpl/gstdpman.sgml:
8352 * docs/libs/tmpl/gstdpsmooth.sgml:
8353 * docs/libs/tmpl/gstgetbits.sgml:
8354 * docs/libs/tmpl/gstunitconvert.sgml:
8355 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8356 (gst_push_src_base_init), (gst_push_src_class_init),
8357 (gst_push_src_init), (gst_push_src_create):
8358 * gst/base/gstpushsrc.h:
8359 * gst/elements/gstelements.c:
8360 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8361 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8362 (gst_fake_sink_init), (gst_fake_sink_set_property),
8363 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8364 (gst_fake_sink_event), (gst_fake_sink_preroll),
8365 (gst_fake_sink_render), (gst_fake_sink_change_state):
8366 * gst/elements/gstfakesink.h:
8367 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8368 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8369 (gst_fake_src_base_init), (gst_fake_src_class_init),
8370 (gst_fake_src_init), (gst_fake_src_event_handler),
8371 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8372 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8373 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8374 (gst_fake_src_create_buffer), (gst_fake_src_create),
8375 (gst_fake_src_start), (gst_fake_src_stop):
8376 * gst/elements/gstfakesrc.h:
8377 * gst/elements/gstfilesink.c: (_do_init),
8378 (gst_file_sink_base_init), (gst_file_sink_class_init),
8379 (gst_file_sink_init), (gst_file_sink_dispose),
8380 (gst_file_sink_set_location), (gst_file_sink_set_property),
8381 (gst_file_sink_get_property), (gst_file_sink_open_file),
8382 (gst_file_sink_close_file), (gst_file_sink_query),
8383 (gst_file_sink_event), (gst_file_sink_render),
8384 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8385 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8386 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8387 * gst/elements/gstfilesink.h:
8388 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8389 (gst_file_src_class_init), (gst_file_src_init),
8390 (gst_file_src_finalize), (gst_file_src_set_location),
8391 (gst_file_src_set_property), (gst_file_src_get_property),
8392 (gst_file_src_map_region), (gst_file_src_map_small_region),
8393 (gst_file_src_create_mmap), (gst_file_src_create_read),
8394 (gst_file_src_create), (gst_file_src_is_seekable),
8395 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8396 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8397 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8398 (gst_file_src_uri_handler_init):
8399 * gst/elements/gstfilesrc.h:
8400 more autistic cleanliness in functions/names/defines
8402 2005-07-13 Andy Wingo <wingo@pobox.com>
8404 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8405 source couldn't negotiate.
8407 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8411 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8412 function. I am channeling Hades. Put your boots on suckers!!!
8414 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8416 * testsuite/caps/Makefile.am:
8417 * testsuite/caps/value_compare.c:
8418 * testsuite/caps/value_intersect.c:
8419 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8420 move two testsuite apps over to the check dir
8422 2005-07-12 Wim Taymans <wim@fluendo.com>
8424 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8425 Added more debug info in the negotiate process.
8428 Prepare for segment playback.
8430 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8436 * tools/gst-launch.c: (main):
8437 NULL pipeline on errors.
8439 2005-07-12 Andy Wingo <wingo@pobox.com>
8441 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8442 not it comes from a malloc region. Make sure our copy gets freed.
8444 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8446 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8447 * check/gst/gstmessage.c: (GST_START_TEST):
8448 * check/gst/gststructure.c: (GST_START_TEST),
8449 (gst_structure_suite), (main):
8451 * gst/gstelement.c: (gst_element_message_full):
8452 clean up GError and debug string now that they get copied
8453 * gst/gstmessage.c: (gst_message_new_error),
8454 (gst_message_new_warning), (gst_message_parse_error),
8455 (gst_message_parse_warning):
8456 use GST_TYPE_G_ERROR for structure_new, and take copies of
8457 arguments, so that we don't mess up refcounting
8459 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8461 * check/Makefile.am:
8462 add per-test valgrind targets
8463 * check/gst-libs/gdp.c: (GST_START_TEST),
8464 (gst_data_protocol_suite), (main):
8467 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8469 * check/Makefile.am:
8470 instate more valgrindable tests
8471 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8472 (GST_START_TEST), (fakesrc_suite):
8473 * check/gst/gstpad.c: (GST_START_TEST):
8474 * check/gst/gststructure.c: (GST_START_TEST):
8476 * docs/gst/tmpl/gstminiobject.sgml:
8477 * gst/gstpad.c: (gst_pad_finalize):
8478 fix the static mutex leak
8480 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8482 * check/Makefile.am:
8483 add two more tests for valgrinding
8484 * check/gst/gstvalue.c: (GST_START_TEST):
8485 test refcount of deserialized buffer, found a leak
8486 * docs/gst/gstreamer-docs.sgml:
8487 * docs/gst/gstreamer-sections.txt:
8488 * docs/gst/gstreamer.types:
8489 * docs/gst/tmpl/gstminiobject.sgml:
8490 add miniobject to docs
8491 * gst/gstminiobject.c:
8493 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8494 (gst_string_unwrap):
8495 fix a hard-to-find invalid write for one of the tests
8496 fix a leak for deserialized buffers
8498 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8500 * docs/pwg/advanced-events.xml:
8501 * docs/pwg/advanced-request.xml:
8502 * docs/pwg/advanced-scheduling.xml:
8503 * docs/pwg/appendix-porting.xml:
8504 * docs/pwg/building-boiler.xml:
8505 * docs/pwg/intro-preface.xml:
8506 * docs/pwg/other-ntoone.xml:
8507 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8508 of example code and explanation for pad activation, loop() and
8509 getrange() functions and a bit more. Remove old comments pointing
8511 * examples/pwg/Makefile.am:
8512 Add loop/getrange examples.
8514 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8517 check for valgrind binary + some fixes
8519 valgrind suppressions for the tests
8520 * check/Makefile.am:
8521 add a valgrind: target that valgrinds the unit tests
8522 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8523 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8524 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8525 * check/gst/gstghostpad.c:
8527 * check/gst/gstdata.c:
8529 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8530 (thread_unref), (gst_mini_object_suite), (main):
8532 * gst/gst.c: (gst_deinit):
8534 add a method to clean up.
8535 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8536 (gst_system_clock_obtain):
8537 allow for disposing the system clock.
8538 * tools/gst-launch.c: (main):
8541 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8543 * docs/gst/tmpl/gstbasesrc.sgml:
8544 * docs/gst/tmpl/gstfakesrc.sgml:
8545 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8546 (gst_base_src_init), (gst_base_src_set_property),
8547 (gst_base_src_get_property), (gst_base_src_get_range),
8548 (gst_base_src_start):
8549 * gst/base/gstbasesrc.h:
8550 add num-buffers property
8551 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8552 (gst_fakesrc_init), (gst_fakesrc_set_property),
8553 (gst_fakesrc_get_property), (gst_fakesrc_create),
8554 (gst_fakesrc_start):
8555 remove num-buffers property
8557 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8559 * docs/gst/gstreamer-sections.txt:
8560 * docs/gst/tmpl/gstbasesink.sgml:
8561 * docs/gst/tmpl/gstbasesrc.sgml:
8562 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8563 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8564 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8565 (gst_base_sink_set_property), (gst_base_sink_get_property),
8566 (gst_base_sink_handle_object), (gst_base_sink_event),
8567 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8568 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8569 (gst_base_sink_loop), (gst_base_sink_deactivate),
8570 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8571 (gst_base_sink_change_state):
8572 * gst/base/gstbasesink.h:
8573 * gst/base/gstbasesrc.h:
8574 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8575 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8576 (gst_filesink_init):
8577 more macro splitting
8579 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8581 * gst/gstelement.c: (gst_element_get_bus):
8583 * tools/gst-launch.c: (check_intr), (event_loop):
8586 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8588 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8591 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8593 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8594 (gst_base_src_finalize):
8595 add finalize method and clean up properly
8596 * gst/gstpipeline.c: (gst_pipeline_dispose):
8599 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8601 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8603 add more things to check
8604 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8608 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8610 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8611 (GST_START_TEST), (fakesrc_suite):
8612 * check/gst-libs/gdp.c: (GST_START_TEST):
8613 * check/gst/gst.c: (GST_START_TEST):
8614 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8615 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8616 * check/gst/gstbus.c: (GST_START_TEST):
8617 * check/gst/gstcaps.c: (GST_START_TEST):
8618 * check/gst/gstdata.c: (GST_START_TEST):
8619 * check/gst/gstelement.c: (GST_START_TEST):
8620 * check/gst/gstghostpad.c: (GST_START_TEST):
8621 * check/gst/gstiterator.c: (GST_START_TEST):
8622 * check/gst/gstmessage.c: (GST_START_TEST):
8623 * check/gst/gstobject.c: (GST_START_TEST):
8624 * check/gst/gstpad.c: (GST_START_TEST):
8625 * check/gst/gststructure.c: (GST_START_TEST):
8626 * check/gst/gstsystemclock.c: (GST_START_TEST),
8627 (gst_systemclock_suite):
8628 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8629 * check/gst/gstvalue.c: (GST_START_TEST):
8630 * check/pipelines/cleanup.c: (GST_START_TEST):
8631 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8632 * check/states/sinks.c: (GST_START_TEST):
8633 * check/gstcheck.c: (gst_check_init):
8635 add debugging category
8636 use GST_START_TEST now, so we add a debug line
8638 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8640 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8641 add test for state change message on a bin
8642 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8644 * gst/gstbin.c: (gst_bin_init):
8645 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8646 * gst/gstelement.c: (gst_element_post_message),
8647 (gst_element_set_state):
8648 * gst/gstelementfactory.c: (gst_element_factory_create):
8649 * gst/gstmessage.c: (gst_message_new):
8650 * gst/gstscheduler.c:
8651 various debugging additions and cleanups
8653 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8655 * check/Makefile.am:
8656 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8658 adding tests for elements
8659 * gst/gstelement.c: (gst_element_dispose):
8661 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8663 * gst/registries/gstlibxmlregistry.c: (load_feature):
8664 plug more leaks. A simple gst_init() now is leakfree, yay.
8666 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8668 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8669 (gst_xml_registry_load):
8670 plug another memleak
8672 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8675 use GST_SET_ERROR_CFLAGS
8677 change to ERROR_CFLAGS
8679 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8682 make GST_ERROR_CFLAGS overridable and re-enable Werror
8684 add a note about error CFLAGS
8685 * docs/gst/tmpl/gstfakesrc.sgml:
8686 * gst/elements/gstfakesrc.c:
8687 comment out some unused code
8688 * gst/gst.c: (split_and_iterate):
8689 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8693 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8695 * common/Makefile.am:
8696 * common/gtk-doc.mak:
8697 * docs/gst/Makefile.am:
8698 factor out gtk-doc.mak
8700 2005-07-07 Wim Taymans <wim@fluendo.com>
8702 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8703 (gst_thread_scheduler_dispose):
8704 Unlock the STREAM_LOCK completely.
8706 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8708 * check/Makefile.am:
8709 * check/elements/.cvsignore:
8710 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8711 (START_TEST), (fakesrc_suite), (main):
8712 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8713 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8714 (gst_fakesrc_create), (gst_fakesrc_start):
8715 * gst/elements/gstfakesrc.h:
8716 adding a first element test
8718 2005-07-07 Andy Wingo <wingo@pobox.com>
8720 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8723 2005-07-07 Wim Taymans <wim@fluendo.com>
8729 2005-07-07 Wim Taymans <wim@fluendo.com>
8731 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8732 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8733 Allow subclasses to implement their own negotiation.
8735 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8737 * docs/design/part-gstbin.txt:
8738 * docs/design/part-gstpipeline.txt:
8739 Update design notes to reflect the movement of
8740 responsibility for bus handling from GstPipeline to
8743 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8746 Remove unnecessary queue2/3/4 examples.
8748 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8750 * examples/Makefile.am:
8751 * examples/helloworld/helloworld.c: (event_loop), (main):
8752 * examples/queue/queue.c: (event_loop), (main):
8753 * examples/queue2/queue2.c: (main):
8754 Update a couple of the examples to work again.
8756 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8757 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8758 Spelling corrections and extra debug.
8760 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8761 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8762 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8764 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8765 (gst_pipeline_change_state):
8766 * gst/gstpipeline.h:
8767 Move the bus handler for children to the GstBin, and create a
8768 separate bus for receiving messages from children to the one the
8769 bus sends 'upwards' on.
8771 2005-07-06 Wim Taymans <wim@fluendo.com>
8774 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8775 (gst_base_sink_handle_object), (gst_base_sink_loop),
8776 (gst_base_sink_change_state):
8777 * gst/base/gstbasesink.h:
8778 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8779 (gst_base_src_init), (gst_base_src_setcaps),
8780 (gst_base_src_getcaps), (gst_base_src_loop),
8781 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8782 (gst_base_src_start), (gst_base_src_change_state):
8783 * gst/base/gstbasesrc.h:
8784 Make basesrc negotiate.
8785 Handle the case where preroll fails in basesink.
8788 2005-07-06 Wim Taymans <wim@fluendo.com>
8790 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8791 Implement the fixate function.
8792 Clean up acceptcaps.
8794 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8796 * docs/pwg/building-filterfactory.xml:
8798 Remove never-written filter-factory chapter; I'll add the various
8799 base classes to part 4 ("other element types") later on.
8801 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8803 * docs/pwg/advanced-negotiation.xml:
8804 * docs/pwg/building-boiler.xml:
8805 * docs/pwg/building-pads.xml:
8807 * examples/pwg/Makefile.am:
8808 Add a chapter on caps negotiation, simplify the original code
8809 samples a bit w.r.t. caps negotiation, add link to the advanced
8810 section. Add a bunch of examples showing different use cases of
8811 different types of caps negotiation. Upstream renegotiation isn't
8812 fully documented yet since nobody knows how that works.
8814 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8816 * check/gst/gstpad.c:
8818 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8819 if pad has no parent, return NULL as list of internal links
8821 2005-07-05 Andy Wingo <wingo@pobox.com>
8823 * gst/elements/gstfilesrc.c:
8824 * gst/elements/gstfakesrc.c:
8825 * gst/base/gstpushsrc.c:
8826 * gst/base/gstbasesrc.h:
8827 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8829 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8832 better report generation target (lcov needs a patch)
8834 2005-07-05 Andy Wingo <wingo@pobox.com>
8836 * gst/elements, testsuite: Null if we got it...
8838 2005-07-05 Wim Taymans <wim@fluendo.com>
8841 * libs/gst/dataprotocol/Makefile.am:
8842 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8843 * libs/gst/dataprotocol/dataprotocol.h:
8844 * pkgconfig/Makefile.am:
8845 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8846 * pkgconfig/gstreamer-dataprotocol.pc.in:
8847 Ported dataprotol to 0.9.
8848 Added pkgconfig files.
8850 2005-07-05 Andy Wingo <wingo@pobox.com>
8852 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8853 Default to returning TRUE for the case when tranform_caps returns
8854 a fixed caps, like for identity or volume.
8856 * check/gst/gstbus.c (pound_bus_with_messages):
8857 * check/gst/gstmessage.c (START_TEST):
8858 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8861 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8862 logic weaks here: always run transform_caps, trying passthrough
8863 operation only if the original caps intersects with the transform.
8865 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8866 source and sink caps.
8868 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8869 Intersect the peer caps with the pad template before going into
8871 (gst_base_transform_transform_caps): More debugging.
8873 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8876 2005-07-04 Edward Hervey <edward@fluendo.com>
8880 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8883 2005-07-04 Andy Wingo <wingo@pobox.com>
8885 * check/gst/gstpad.c: Only set explicit caps on pads.
8887 2005-07-01 Andy Wingo <wingo@pobox.com>
8889 * tests/network-clock.scm: Commentary update.
8891 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8892 Didn't really make sense, not implementable with basetransform,
8894 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8895 attempt at implementing the sync property, needs an unlock method.
8897 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8898 New func, by default returns the same caps (the identity
8900 (gst_base_transform_getcaps): Uses transform_caps to return
8902 (gst_base_transform_setcaps): Complicated logic to get caps on
8903 both pads, even if they are different, and to call set_caps once
8904 for every time both pads get their caps set.
8905 (gst_base_transform_handle_buffer): Give the ref to the transform
8906 function. Allows in-place modification of the buffer.
8908 * gst/base/gstbasetransform.h (transform_caps): New class method.
8909 Given caps on one side, what can I do on the other.
8910 (set_caps): Take two caps, one for each side of the element.
8913 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8914 caps in place. This is safe because we can check the mutability of
8915 the caps, and a good idea because fixate functions are just called
8916 as a matter of last resort. (Not actually implemented.)
8917 (gst_pad_set_caps): If the caps we're setting is actually the same
8918 as the existing pad caps, just update the pointer without calling
8919 setcaps. Assert that caps is either NULL or fixed, as per the
8922 * gst/gstghostpad.c: Update for fixate changes.
8924 2005-07-02 Andy Wingo <wingo@pobox.com>
8927 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8928 two refcounts makes it immutable, which is enough. Doc more.
8930 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8932 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8933 Put the mini_object into GValue as a mini_object,
8934 not a gpointer, since that's how we declared
8937 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8939 * examples/pwg/Makefile.am:
8942 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8944 * docs/pwg/building-testapp.xml:
8946 * examples/pwg/Makefile.am:
8949 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8952 * examples/Makefile.am:
8953 * examples/pwg/Makefile.am:
8954 * examples/pwg/extract.pl:
8955 Enable building the PWG examples.
8956 * docs/pwg/advanced-interfaces.xml:
8957 Add URI interface stub.
8958 * docs/pwg/advanced-types.xml:
8959 * docs/pwg/other-autoplugger.xml:
8960 * docs/pwg/appendix-porting.xml:
8962 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8963 * docs/pwg/building-boiler.xml:
8964 * docs/pwg/building-chainfn.xml:
8965 * docs/pwg/building-pads.xml:
8966 * docs/pwg/building-props.xml:
8967 * docs/pwg/building-state.xml:
8968 * docs/pwg/building-testapp.xml:
8969 Update the building-*.xml parts for 0.9 changes. All examples
8970 code blocks compile in examples/pwg/*.
8972 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8974 * docs/manual/advanced-autoplugging.xml:
8975 * docs/manual/appendix-checklist.xml:
8976 * docs/manual/appendix-integration.xml:
8977 * docs/manual/highlevel-components.xml:
8978 Fix playbin/decodebin examples, update docs a bit, mention bus
8979 instead of signals in various places, mention kmplayer and
8980 kaffeine since they have a working GStreamer backend in the KDE
8983 2005-06-30 Wim Taymans <wim@fluendo.com>
8986 * docs/design/draft-ghostpads.txt:
8987 * docs/design/draft-push-pull.txt:
8988 * docs/design/draft-query.txt:
8989 * docs/design/part-TODO.txt:
8990 * docs/design/part-query.txt:
8991 Added CHANGES-0.9 doc, updated status of other docs.
8996 2005-06-30 Wim Taymans <wim@fluendo.com>
8998 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8999 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9000 (gst_base_sink_change_state):
9001 * gst/base/gstbasesink.h:
9002 Some tweaks, only EOS and a buffer complete a preroll.
9004 2005-06-30 Andy Wingo <wingo@pobox.com>
9006 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9007 activate_push down to the internal pad as well.
9009 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9011 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9013 * gst/gsttaginterface.c:
9014 Some documentation fixes (#307394 and #307397).
9016 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9018 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9020 * gst/gstvalue.c: (gst_value_intersect_list):
9021 Fix memleak (#309125).
9023 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9025 * docs/manual/advanced-dataaccess.xml:
9026 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9027 * docs/manual/basics-pads.xml:
9028 Add reference for filtered caps to above chapter.
9030 2005-06-30 Wim Taymans <wim@fluendo.com>
9032 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9033 (gst_bin_change_state):
9035 Lame attempt at making the state change function a bit
9038 2005-06-30 Wim Taymans <wim@fluendo.com>
9040 * docs/design/part-clocks.txt:
9041 * docs/design/part-element-sink.txt:
9042 * docs/design/part-events.txt:
9043 * docs/design/part-preroll.txt:
9044 * docs/design/part-states.txt:
9045 Some more tweeks and additions to the docs.
9047 2005-06-30 Wim Taymans <wim@fluendo.com>
9049 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9050 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9051 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9052 (gst_pad_check_pull_range), (gst_pad_get_range),
9053 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9055 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9056 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9057 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9058 (gst_pad_remove_buffer_probe):
9059 Removed atomic operations, use existing LOCK.
9060 Move exception handling out of main code path.
9062 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9064 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9065 (silly_return_true_function), (gst_pad_class_init),
9066 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9067 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9068 (gst_pad_send_event):
9069 Fix accumulator, add default value by using _emitv() instead
9070 of _emit() for signal emission.
9072 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9074 * docs/manual/advanced-dataaccess.xml:
9075 * examples/manual/Makefile.am:
9077 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9080 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9082 * gst/elements/gstfilesink.c: (gst_filesink_render):
9083 Simplify code so that we don't have to handle short
9084 writes and return GST_FLOW_ERROR if an error occured.
9086 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9088 * docs/gst/gstreamer-docs.sgml:
9091 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9093 * docs/gst/gstreamer-sections.txt:
9094 * docs/gst/tmpl/gstpad.sgml:
9095 * docs/gst/tmpl/gstprobe.sgml:
9097 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9098 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9099 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9100 (gst_pad_push_event), (gst_pad_send_event):
9102 * gst/gstutils.c: (gst_pad_add_data_probe),
9103 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9104 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9105 (gst_pad_remove_buffer_probe):
9107 Remove old probes, add new g-signal-based probes and some utility
9110 2005-06-29 Edward Hervey <edward@fluendo.com>
9112 * gst/gstelementfactory.c:
9115 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9116 the definition to the header file.
9118 2005-06-29 Andy Wingo <wingo@pobox.com>
9120 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9121 plugins from the source directory.
9123 2005-06-29 Wim Taymans <wim@fluendo.com>
9125 * docs/gst/tmpl/gstbuffer.sgml:
9126 * docs/gst/tmpl/gstclock.sgml:
9127 Some fixings for blantently wrong text.
9129 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9131 * check/Makefile.am:
9132 * gst/gst.c: (add_path_func), (init_pre):
9133 * gst/gstregistry.c: (gst_registry_add_path):
9134 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9135 only scan the GST_PLUGIN_PATH locations, and not add
9138 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9140 * docs/gst/gstreamer-sections.txt:
9141 * docs/gst/tmpl/gstbasesrc.sgml:
9148 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9150 * docs/manual/advanced-autoplugging.xml:
9151 Fix autoplugging example.
9153 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9155 * docs/manual/advanced-autoplugging.xml:
9156 * docs/manual/mime-world.fig:
9157 Try to get autoplugging working, fix type detection. Fix text
9158 in hello-world image.
9160 2005-06-29 Wim Taymans <wim@fluendo.com>
9162 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9163 (gst_base_sink_change_state):
9167 map SIGNAL and BROADCAST to the right function.
9170 Remove redundant braces.
9172 * gst/gstpad.c: (gst_pad_set_caps):
9173 Don't call setcaps function when reseting caps to NULL.
9175 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9176 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9177 (gst_system_clock_id_unschedule):
9178 Use BROADCAST as this is what we do.
9180 2005-06-29 Wim Taymans <wim@fluendo.com>
9182 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9183 We are actually prerolling before commiting the state
9186 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9188 * docs/manual/advanced-clocks.xml:
9189 * docs/manual/advanced-interfaces.xml:
9190 * docs/manual/advanced-metadata.xml:
9191 * docs/manual/advanced-position.xml:
9192 * docs/manual/advanced-schedulers.xml:
9193 * docs/manual/advanced-threads.xml:
9194 * docs/manual/appendix-porting.xml:
9195 * docs/manual/basics-bins.xml:
9196 * docs/manual/basics-bus.xml:
9197 * docs/manual/basics-elements.xml:
9198 * docs/manual/basics-helloworld.xml:
9199 * docs/manual/basics-pads.xml:
9200 * docs/manual/highlevel-components.xml:
9201 * docs/manual/manual.xml:
9202 * docs/manual/thread.fig:
9203 Update (until threads/scheduling) Application Development Manual;
9204 remove GstThread, add GstBus, add simple porting checklist, add
9205 documentation for tag writing, clocks, make all examples until this
9206 part compile and run.
9207 * examples/manual/Makefile.am:
9208 Update from changes to Application Development Manual; add bus
9209 example, remove thread example.
9211 2005-06-28 Wim Taymans <wim@fluendo.com>
9213 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9214 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9215 (gst_bus_source_dispatch):
9216 Add debugging messages.
9217 Make internal methods static.
9218 Handle the case where the bus is flushed in the handler.
9220 * gst/gstelement.c: (gst_element_get_bus):
9221 Fix refcount in _get_bus();
9223 * gst/gstpipeline.c: (gst_pipeline_change_state),
9224 (gst_pipeline_get_clock_func):
9225 Clock refcounting fixes.
9226 Handle the case where preroll timed out more gracefully.
9228 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9229 Clean up the internal thread in dispose. This is needed
9230 for subclasses that actually get disposed.
9232 * gst/schedulers/threadscheduler.c:
9233 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9234 (gst_thread_scheduler_dispose):
9235 Free thread pool in dispose.
9237 2005-06-28 Andy Wingo <wingo@pobox.com>
9239 * tests/network-clock-utils.scm (debug, print-event): New utils.
9241 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9242 (*packet-loss*): Unified loss probability.
9243 (network-time): Report out-of-band events.
9245 * tests/plot-data: Add support for out-of-band events. Hack it
9246 into this script instead of passing it down the pipe; should fix
9249 2005-06-28 Wim Taymans <wim@fluendo.com>
9251 * docs/gst/gstreamer.types:
9252 * docs/gst/tmpl/gstbasesrc.sgml:
9253 * docs/gst/tmpl/gstpad.sgml:
9256 2005-06-28 Wim Taymans <wim@fluendo.com>
9258 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9259 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9260 (gst_proxy_pad_do_fixatecaps):
9261 Correctly proxy the check_pull_range function.
9263 2005-06-28 Andy Wingo <wingo@pobox.com>
9265 * tests/network-clock.scm: Removed need for slib.
9267 2005-06-28 Wim Taymans <wim@fluendo.com>
9269 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9270 (gst_basesink_preroll_queue_flush):
9271 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9272 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9273 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9274 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9275 (gst_proxy_pad_set_property):
9278 * gst/gstqueue.c: (gst_queue_init):
9279 The deprecated pad loop function is removed now.
9281 2005-06-28 Andy Wingo <wingo@pobox.com>
9283 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9284 New parameters, simulate network packet loss.
9286 * tests/network-clock-utils.scm: Initialize the RNG.
9288 2005-06-28 Wim Taymans <wim@fluendo.com>
9290 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9291 (gst_basesink_event), (gst_basesink_deactivate):
9292 Flushing the preroll queue always needs to unlock the waiters.
9294 2005-06-28 Edward Hervey <edward@fluendo.com>
9296 * gst/gstpipeline.c: (gst_pipeline_send_event):
9297 Wheen a seek was successful on a pipeline, set the stream_time to the
9298 seek offset in order to have a synchronized stream_time.
9300 2005-06-28 Wim Taymans <wim@fluendo.com>
9302 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9303 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9304 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9305 (gst_proxy_pad_do_fixatecaps):
9306 Call wrapper function instead of just calling the function
9307 pointers. This takes care of any locking and whatmore.
9309 2005-06-28 Wim Taymans <wim@fluendo.com>
9311 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9312 (gst_pad_pull_range):
9314 CONNECTED -> LINKED.
9316 2005-06-28 Andy Wingo <wingo@pobox.com>
9318 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9319 source-munging commit!!!
9321 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9322 (gst_object_sink): Take gpointer arguments, not GstObject --
9323 avoids casts. Like GLib.
9325 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9328 2005-06-27 Andy Wingo <wingo@pobox.com>
9330 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9333 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9334 returns a sorted copy of the trace list.
9335 (gst_alloc_trace_print_live): New API, only prints traces with
9336 live objects. Sort the list.
9337 (gst_alloc_trace_print_all): Sort the list.
9338 (gst_alloc_trace_print): Align columns.
9340 * gst/elements/gstttypefindelement.c:
9341 * gst/elements/gsttee.c:
9342 * gst/base/gstbasesrc.c:
9343 * gst/base/gstbasesink.c:
9344 * gst/base/gstbasetransform.c:
9345 * gst/gstqueue.c: Adapt for pad activation changes.
9347 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9349 (gst_pipeline_dispose): Drop ref on sched.
9351 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9352 (gst_pad_activate_default): Push mode by default.
9353 (pre_activate_switch, post_activate_switch): New stubs, things to
9354 do before and after switching activation modes on pads.
9355 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9356 the pad's activate function to choose which mode to activate.
9357 Shortcut on deactivation and call the right function directly.
9358 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9360 (gst_pad_activate_push): New API, same for push mode.
9361 (gst_pad_set_activate_function)
9362 (gst_pad_set_activatepull_function)
9363 (gst_pad_set_activatepush_function): Setters for new API.
9365 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9366 Trace all miniobjects.
9367 (gst_mini_object_make_writable): Unref the arg if we copy, like
9368 gst_caps_make_writable.
9370 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9372 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9373 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9374 Adapt for new pad API.
9376 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9379 * gst/gstelement.c (gst_element_iterate_src_pads)
9380 (gst_element_iterate_sink_pads): New API functions.
9382 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9383 should fold into gstiterator.c in some form.
9384 (gst_element_pads_activate): Simplified via use of fold and
9385 delegation of decisions to gstpad->activate.
9387 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9390 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9391 class once in init, like gstmessage. Didn't run into this issue
9392 but it seems correct. Don't initialize a trace, gstminiobject does
9395 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9396 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9398 (assert_live_count): New util function, uses alloc traces to check
9401 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9402 To be modified when unlink drops the internal pad.
9404 2005-06-27 Wim Taymans <wim@fluendo.com>
9406 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9407 (gst_bin_change_state):
9408 Cleanup the get_state() function a little, make sure it
9409 iterates the same set of elements.
9410 Added stub iterate_state_order().
9412 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9414 * docs/gst/gstreamer-docs.sgml:
9415 * docs/gst/gstreamer-sections.txt:
9416 * docs/gst/gstreamer.types:
9417 * docs/gst/tmpl/gstbasesink.sgml:
9418 * docs/gst/tmpl/gstbasesrc.sgml:
9419 * docs/gst/tmpl/gstbasetransform.sgml:
9420 * docs/gst/tmpl/gstelement.sgml:
9421 * docs/gst/tmpl/gstiterator.sgml:
9422 * gst/base/gstbasesrc.c:
9423 * gst/base/gstbasesrc.h:
9424 * gst/base/gstbasetransform.h:
9426 * gst/gstiterator.h:
9427 adding basetransform and iterator docs
9429 2005-06-27 Andy Wingo <wingo@pobox.com>
9431 * docs/design/part-activation.txt: Notes on how activation should
9432 work -- not quite implemented yet.
9434 2005-06-25 Wim Taymans <wim@fluendo.com>
9436 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9437 At least get the chain function correct, needs more
9440 2005-06-25 Wim Taymans <wim@fluendo.com>
9442 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9443 (gst_basesink_handle_object), (gst_basesink_event),
9444 (gst_basesink_do_sync), (gst_basesink_handle_event),
9445 (gst_basesink_change_state):
9447 Right, two problems here: ghostpads don't take locks and
9448 glib _rec_mutex_lock_full() with depth==0 still locks.
9449 Catch illegal locking and g_warn them.
9451 2005-06-25 Wim Taymans <wim@fluendo.com>
9453 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9454 Have to check for completion now...
9456 2005-06-25 Wim Taymans <wim@fluendo.com>
9458 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9459 (gst_basesink_handle_object), (gst_basesink_event),
9460 (gst_basesink_do_sync), (gst_basesink_handle_event),
9461 (gst_basesink_change_state):
9463 Unlock STREAM_LOCK whatever the recursion was.
9465 2005-06-25 Wim Taymans <wim@fluendo.com>
9467 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9468 (gst_basesink_preroll_queue_empty),
9469 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9470 (gst_basesink_event), (gst_basesink_do_sync),
9471 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9472 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9473 (gst_basesink_change_state):
9474 Reworked the base sink, handle event and buffer serialisation
9475 correctly and removed possible deadlock.
9476 Handle EOS correctly.
9478 2005-06-25 Wim Taymans <wim@fluendo.com>
9480 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9481 (gst_pipeline_change_state):
9482 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9483 Allow elements to post EOS in the state change function.
9484 Fix up -launch, make it exit the poll loop when the
9485 pipeline actually changed state.
9486 Fix up warning parsing in -launch.
9488 2005-06-25 Wim Taymans <wim@fluendo.com>
9490 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9491 (gst_tee_sink_activate):
9492 Core takes STREAM_LOCK for us now.
9494 2005-06-25 Wim Taymans <wim@fluendo.com>
9496 * gst/gstelement.c: (gst_element_get_state_func),
9497 (gst_element_set_state):
9499 * gst/gstmessage.c: (gst_message_parse_error),
9500 (gst_message_parse_warning):
9501 Keep track of current target state while performing a state
9502 change so that subclasses can do something interesting.
9503 Fix parsing of warning/error messages when GError is NULL.
9505 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9507 * docs/gst/Makefile.am:
9508 * docs/gst/gstreamer-docs.sgml:
9509 * docs/gst/gstreamer-sections.txt:
9510 * docs/gst/gstreamer.types:
9511 * docs/gst/tmpl/gstbasesink.sgml:
9512 * docs/gst/tmpl/gstbasesrc.sgml:
9513 * docs/gst/tmpl/gstbin.sgml:
9514 * docs/gst/tmpl/gstcompat.sgml:
9515 * docs/gst/tmpl/gstfakesink.sgml:
9516 * docs/gst/tmpl/gstfakesrc.sgml:
9517 * docs/gst/tmpl/gstfilesink.sgml:
9518 * docs/gst/tmpl/gstfilesrc.sgml:
9519 * docs/gst/tmpl/gstindex.sgml:
9520 * docs/manual/appendix-quotes.xml:
9521 * gst/base/gstbasesrc.h:
9522 * gst/elements/gstfakesrc.h:
9524 start pulling in base classes and elements in our docs
9526 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9528 * docs/gst/Makefile.am:
9529 * docs/libs/Makefile.am:
9530 fixed make distcheck with gtk-doc 1.3
9532 2005-06-23 Wim Taymans <wim@fluendo.com>
9534 * gst/gstelement.c: (gst_element_get_state_func),
9535 (gst_element_set_state), (gst_element_change_state):
9536 When the state did not change, also report NO_PREROLL
9539 2005-06-23 Wim Taymans <wim@fluendo.com>
9541 * gst/gstpad.c: (gst_pad_event_default):
9542 * gst/gstqueue.c: (gst_queue_loop):
9543 No unsafe task pausing please.
9545 2005-06-23 Wim Taymans <wim@fluendo.com>
9547 * gst/schedulers/threadscheduler.c:
9548 (gst_thread_scheduler_task_start),
9549 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9550 Ref the task before pushing it on the threadpool. This
9551 makes sure that we have a ref when the threadfunction is
9554 2005-06-23 Andy Wingo <wingo@pobox.com>
9556 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9557 offset is greater than the file's size.
9559 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9560 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9561 * gst/gstobject.c (gst_object_class_init): Make the class lock
9562 recursive. Wim won't let me drop deep_notify. Decodebin works
9565 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9566 internal pad, and hacks accordingly. Doesn't do it on the target
9567 pad because we change its caps. Probably catches all cases of
9569 (gst_ghost_pad_set_property): Connect to notify::caps as
9572 * tests/network-clock.scm (plot-simulation): Pipe data to the
9573 elite python skript.
9575 * tests/network-clock-utils.scm (define-parameter): New macro,
9576 defines a parameter that can be set via the command line.
9577 (set-parameter!, parse-parameter-arguments): Command line args
9580 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9583 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9585 * gst/elements/gsttypefindelement.c:
9586 (gst_type_find_element_handle_event):
9587 Don't restart typefinding on a discont.
9588 * gst/gstelement.c: (gst_element_set_state):
9590 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9591 Allow changing mode of an active pad.
9593 * gst/registries/gstlibxmlregistry.c: (load_feature):
9594 Don't cast a static pad template to a normal pad template.
9596 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9598 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9599 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9600 remove gst_strtoll completely, since it didn't actually do
9601 anything more than what g_ascii_strtoull already does.
9602 check for range errors when deserializing
9603 do a cast for the unsigned cases; but further fixing needs
9604 a decision on what the interpretation of "(int)" and
9605 deserialization should be for values that fall outside the
9606 type's boundaries (ie, refuse, or interpret as casting)
9608 2005-06-23 Wim Taymans <wim@fluendo.com>
9610 * check/Makefile.am:
9611 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9612 * docs/design/part-live-source.txt:
9613 * docs/design/part-states.txt:
9614 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9615 (gst_basesrc_set_live), (gst_basesrc_is_live),
9616 (gst_basesrc_get_range), (gst_basesrc_activate),
9617 (gst_basesrc_change_state):
9618 * gst/base/gstbasesrc.h:
9619 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9620 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9621 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9622 * gst/gstelement.c: (gst_element_get_state_func),
9623 (gst_element_set_state):
9626 * tools/gst-launch.c: (event_loop), (main):
9627 Added support for live sources and other elements that
9629 Updated design docs, added live-source design doc.
9630 Implemented live source functionality in basesrc
9631 Fix error condition in _bin_get_state()
9632 Implement live source handling in -launch.
9633 Added check for live sources.
9634 Fixed case in GstBin where elements were changed state
9638 2005-06-23 Andy Wingo <wingo@pobox.com>
9640 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9643 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9644 gst_caps_replace takes care of this for us.
9646 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9647 gst_pad_set_caps on the target, not just its setcaps() function.
9649 * tests/network-clock.scm:
9650 * tests/network-clock-utils.scm: A network clock simulator.
9651 Something of an algorithmic testbed before doing something in C.
9653 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9655 * check/Makefile.am:
9656 * check/gst/capslist.h:
9657 copy over from 0.8, and add two with bitmasks specified with
9659 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9660 add test to parse everything from capslist.h
9661 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9663 add test for structure deserialization
9664 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9665 add tests for deserialization of strings to int types
9666 * gst/gststructure.c: (gst_structure_nth_field_name):
9667 * gst/gststructure.h:
9668 add a way to get the name of a field referenced by index
9669 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9670 instead of checking if the resulting long long lies between
9671 min and max, we check if the long long would fit into
9672 a number of bytes for the final type.
9673 This fixes cases where a string represents 2^32 - 1, which
9674 when cast to int would be the (valid) -1, but is bigger than
9677 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9679 * gst/parse/grammar.y:
9680 add a log line for type deserialization
9682 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9684 * check/gst/gstvalue.c: (START_TEST):
9685 * gst/gstvalue.c: (gst_value_deserialize):
9686 return long long, not int, so gint64 deserialization actually
9687 works. Is there any flag that makes the compiler check this ?
9690 2005-06-22 Wim Taymans <wim@fluendo.com>
9693 Added convenience macros for setting buffers in GValue.
9695 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9697 * check/gst/.cvsignore:
9698 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9699 add a test deserializing int64, and comment part out because
9702 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9704 * check/Makefile.am:
9705 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9706 * testsuite/Makefile.am:
9707 * testsuite/caps/Makefile.am:
9708 * testsuite/caps/value_serialize.c:
9709 * testsuite/test_gst_init.c:
9710 move a value_serialize test over
9712 2005-06-20 Wim Taymans <wim@fluendo.com>
9717 * gst/gstvalue.c: (gst_value_compare_buffer),
9718 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9719 (gst_value_compare_flags), (gst_value_serialize_flags),
9720 (gst_value_deserialize_flags), (_gst_value_initialize):
9721 Fix serialisation of buffers, they are not boxed types anymore
9723 2005-06-20 Wim Taymans <wim@fluendo.com>
9725 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9726 Testcase to show error in buffer-on-caps serialisation.
9728 2005-06-20 Andy Wingo <wingo@pobox.com>
9730 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9731 will be adding to later.
9733 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9734 if its socks fill with rocks.
9735 (gst_system_clock_obtain): Set the name on object construction.
9736 Avoid double-checked locking.
9738 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9740 * gst/gsturi.c: (gst_element_make_from_uri):
9741 Fix potential endless loop.
9743 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9745 * check/Makefile.am:
9747 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9749 move over from testsuite dir and clean up
9752 * testsuite/Makefile.am:
9753 * testsuite/tags/.cvsignore:
9754 * testsuite/tags/Makefile.am:
9755 * testsuite/tags/merge.c:
9756 remove testsuite/tags
9758 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9760 * docs/gst/gstreamer-sections.txt:
9761 * docs/gst/tmpl/gstenumtypes.sgml:
9762 * win32/gstenumtypes.c:
9763 clean up documentation build a little
9765 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9768 add macros for checking refcounts on objects and caps
9769 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9770 add some more unit tests
9771 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9772 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9773 fix leaked refcounts (I hope :)) so unittest works
9777 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9779 * configure.ac: back to HEAD
9781 === release 0.9.1 ===
9783 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9789 2005-06-17 Andy Wingo <wingo@pobox.com>
9791 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9792 assert; it's always possible that the pad gets deactivated in
9793 between the checks in gstpad.c and the implementation. Rely on
9794 finish_preroll() to return a FLUSHING or similar instead of on the
9797 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9798 clock and post an EOS message if we come out of finish_preroll in
9801 2005-06-16 David Schleef <ds@schleef.org>
9803 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9804 (gst_capsfilter_set_property): Allow NULL as possible value
9805 for filter_caps property, indicating GST_CAPS_ANY.
9807 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9809 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9811 * gst/schedulers/Makefile.am:
9813 * gstreamer.spec.in:
9816 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9818 * gstreamer.spec.in:
9821 2005-06-08 Andy Wingo <wingo@pobox.com>
9823 * gst/gstutils.c: RPAD fixes all around.
9824 (gst_element_link_pads): Refcounting fixes.
9826 * tools/gst-inspect.c:
9827 * tools/gst-xmlinspect.c:
9829 * gst/base/gsttypefindhelper.c:
9830 * gst/base/gstbasesink.c:
9831 * gst/gstqueue.c: RPAD fixes.
9833 * gst/gstghostpad.h:
9834 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9835 pads. The tricky thing is they provide both source and sink
9836 interfaces, since they proxy the internal pad for the external
9837 pad, and vice versa. Implement with lower-level ProxyPad objects,
9838 with the interior proxy pad as a child of the exterior ghost pad.
9839 Should write a doc on this.
9841 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9842 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9845 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9846 pads are real pads. No ghost pads in this file. Not documenting
9847 the myriad s/RPAD/PAD/ and REALIZE fixes.
9848 (gst_pad_class_init): Add properties for "direction" and
9849 "template". Both are construct-only, so they can't change during
9850 the life of the pad. Fixes properly deriving from GstPad.
9851 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9852 derived objects, just set properties when creating the objects via
9854 (gst_pad_get_parent): Implement as a function, return NULL if the
9855 parent is not an element.
9856 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9857 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9859 * gst/gstobject.c (gst_object_class_init): Make name a construct
9860 property. Don't set it in the object init.
9862 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9863 with UNKNOWN direction.
9864 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9865 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9866 (gst_element_remove_pad): Remove ghost-pad special cases.
9867 (gst_element_pads_activate): Remove rpad cruft.
9869 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9870 catch the pad's-parent-not-an-element case.
9872 * gst/gst.h: Include gstghostpad.h.
9874 * gst/gst.c (init_post): No more real, ghost pads.
9876 * gst/Makefile.am: Add gstghostpad.[ch].
9878 * check/Makefile.am:
9879 * check/gst/gstbin.c:
9880 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9881 into a bin creates ghost pads, and that the refcounts are right.
9882 Partly moved from gstbin.c.
9884 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9886 * check/gst-libs/.cvsignore:
9887 * check/gst/.cvsignore:
9888 * check/pipelines/.cvsignore:
9890 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9891 (START_TEST), (cleanup_suite), (main):
9892 add some tests related to cleanup after running pipelines
9894 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9896 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9897 add a testsuite for GstBuffer
9899 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9901 * gst/gstminiobject.h:
9902 add defines for accessing the refcount
9904 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9906 * Makefile.am: added support for html unit test coverage reports
9908 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9910 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9911 Free existing caps if the capsfilter changes. Add a FIXME about
9912 setting those caps on the pads.
9914 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9915 Before adding a ghost pad to a parent bin, check that there isn't
9916 already one for the element on the bin. Prevents infinite recursion
9917 when using decodebin in parse pipelines. Andy says he'll rewrite the
9918 way this works anyway, so ignore the hack.
9920 2005-06-02 Andy Wingo <wingo@pobox.com>
9922 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9923 file size, pass it on to the type find helper.
9925 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9926 segment_start and segment_end properly according to the seek
9927 method. Segment_end is still a bit flaky because offset can be
9928 negative for CUR and END cases, but it takes -1 as an "unset"
9931 2005-06-02 Wim Taymans <wim@fluendo.com>
9933 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9934 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9935 (gst_basesink_activate):
9936 * gst/base/gstbasesink.h:
9937 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9938 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9939 (gst_pad_query), (gst_pad_start_task):
9941 * gst/gstqueue.c: (gst_queue_bufferalloc),
9942 (gst_queue_handle_sink_event), (gst_queue_chain):
9943 Bufferalloc: return GstFlowReturn to more accuratly report
9944 why allocation failed.
9946 2005-06-02 Wim Taymans <wim@fluendo.com>
9948 * gst/gstpipeline.c: (gst_pipeline_send_event):
9949 Take snapshot of state without blocking.
9951 2005-06-02 Wim Taymans <wim@fluendo.com>
9953 * docs/design/part-TODO.txt:
9954 * docs/design/part-caps.txt:
9955 * docs/design/part-clocks.txt:
9956 * docs/design/part-negotiation.txt:
9957 * docs/design/part-preroll.txt:
9960 2005-05-30 Wim Taymans <wim@fluendo.com>
9962 * gst/elements/gstidentity.c: (gst_identity_event),
9963 (gst_identity_transform), (gst_identity_get_property):
9964 Protect last_message property as it is accessed from
9967 2005-05-30 Wim Taymans <wim@fluendo.com>
9969 * gst/gstelement.c: (gst_element_init),
9970 (gst_element_pads_activate), (gst_element_change_state):
9971 Slicker pad activation code.
9973 2005-05-30 Wim Taymans <wim@fluendo.com>
9977 * gst/gstelementfactory.h:
9979 Move elementfactory methods to separate .h file.
9981 2005-05-30 Wim Taymans <wim@fluendo.com>
9983 * docs/design/part-overview.txt:
9984 * gst/gstsystemclock.h:
9985 Small typo fixes, doc updates.
9987 2005-05-30 Wim Taymans <wim@fluendo.com>
9989 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9990 (init_popt_callback):
9991 Remove cpu-opt flag.
9993 2005-05-30 Wim Taymans <wim@fluendo.com>
9995 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9996 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9998 Avoid typechecking in places where not needed.
9999 Added accessor for malloc_data.
10001 2005-05-30 Wim Taymans <wim@fluendo.com>
10003 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10004 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10005 (gst_pad_configure_sink), (gst_pad_configure_src),
10006 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10007 (gst_pad_start_task):
10008 Propagate errors from _set_caps() in configure_src/sink
10009 functions instead of returning TRUE.
10010 FLUSH events can travel up and downstream
10013 2005-05-30 Wim Taymans <wim@fluendo.com>
10015 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10016 (gst_basesink_activate):
10017 Handle EOS in preroll.
10019 2005-05-30 Wim Taymans <wim@fluendo.com>
10021 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10022 (gst_queue_loop), (gst_queue_handle_src_event):
10023 Remove old pieces of code
10024 Flushing the queue in an upstream event is a very bad idea.
10026 2005-05-26 Andy Wingo <wingo@pobox.com>
10028 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10029 gst_value_set_mini_object so as to add a ref on the object (which
10030 will be removed when the value is unset).
10032 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10033 arg type in ::handoff.
10035 * gst/gstelement.c (gst_element_change_state): Also deactivate
10036 pads in READY->NULL, just in case the element didn't make it to
10037 PAUSED. Wingo tested, Wim approved.
10039 2005-05-26 Wim Taymans <wim@fluendo.com>
10041 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10042 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10043 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10044 A flushing pad cannot be used to alloc_buffer from.
10046 2005-05-26 Wim Taymans <wim@fluendo.com>
10048 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10049 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10050 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10051 (gst_bus_create_watch), (gst_bus_add_watch_full):
10053 Implement a real GSource and use g_main_context_wakeup() to
10054 signal new messages instead of the socketpair.
10056 2005-05-25 Wim Taymans <wim@fluendo.com>
10058 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10059 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10060 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10061 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10062 (gst_pad_send_event), (gst_pad_start_task):
10063 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10064 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10065 (gst_queue_sink_activate), (gst_queue_src_activate),
10066 (gst_queue_change_state):
10068 Fix state changes for non sinks. We now change sinks, then elements
10069 with unconnected srcpads, then the rest.
10070 More efficient queue unlocking in flush and state changes.
10071 Set the pad activate mode even if it does not have an activate
10074 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10076 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10077 Don't go in pull mode for non-seekable sources.
10078 * gst/elements/gsttypefindelement.h:
10079 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10080 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10081 (free_entry), (stop_typefinding),
10082 (gst_type_find_element_handle_event), (find_peek),
10083 (gst_type_find_element_chain), (do_pull_typefind),
10084 (gst_type_find_element_change_state):
10085 Allow typefinding (w/o seeking) in push-mode, simplified version
10086 of what was in 0.8.
10087 * gst/gstutils.c: (gst_buffer_join):
10089 gst_buffer_join() from 0.8.
10091 2005-05-25 Wim Taymans <wim@fluendo.com>
10093 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10094 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10095 (gst_pad_send_event), (gst_pad_start_task):
10096 Disable attempt at mode switching until it is figured out.
10098 2005-05-25 Wim Taymans <wim@fluendo.com>
10100 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10101 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10102 (gst_basesink_finish_preroll), (gst_basesink_chain),
10103 (gst_basesink_loop), (gst_basesink_activate),
10104 (gst_basesink_change_state):
10105 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10106 (gst_basesrc_get_range), (gst_basesrc_loop),
10107 (gst_basesrc_activate):
10108 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10109 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10110 (gst_real_pad_init), (gst_real_pad_set_property),
10111 (gst_real_pad_get_property), (gst_pad_set_active),
10112 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10113 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10114 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10115 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10116 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10117 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10118 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10119 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10120 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10121 (gst_pad_stop_task):
10123 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10124 (gst_queue_loop), (gst_queue_src_activate):
10125 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10126 (gst_task_get_state):
10128 * gst/schedulers/threadscheduler.c:
10129 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10130 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10132 Remove ACTIVE pad flag, use FLUSHING everywhere
10133 Added _pad_chain(), _pad_get_range() to call chain/getrange
10135 Add locks around IS_FLUSHING when reading.
10136 Take STREAM lock in chain(), get_range() functions so plugins
10137 don't need to take it anymore.
10141 2005-05-25 Wim Taymans <wim@fluendo.com>
10143 * tools/gst-launch.c: (event_loop):
10144 Unref message after using its contents instead of
10147 2005-05-24 Wim Taymans <wim@fluendo.com>
10149 * docs/design/draft-ghostpads.txt:
10150 * docs/design/draft-push-pull.txt:
10151 * docs/design/draft-query.txt:
10152 * docs/design/part-overview.txt:
10153 Docs updates, added general overview doc.
10155 2005-05-21 David Schleef <ds@schleef.org>
10157 * docs/gst/tmpl/old/GstBin.sgml:
10158 * docs/gst/tmpl/old/GstBuffer.sgml:
10159 * docs/gst/tmpl/old/GstCaps.sgml:
10160 * docs/gst/tmpl/old/GstClock.sgml:
10161 * docs/gst/tmpl/old/GstCompat.sgml:
10162 * docs/gst/tmpl/old/GstData.sgml:
10163 * docs/gst/tmpl/old/GstElement.sgml:
10164 * docs/gst/tmpl/old/GstEvent.sgml:
10165 * docs/gst/tmpl/old/GstIndex.sgml:
10166 * docs/gst/tmpl/old/GstStructure.sgml:
10167 * docs/gst/tmpl/old/GstTag.sgml:
10168 * docs/gst/tmpl/old/cothreads.sgml:
10169 * docs/gst/tmpl/old/cothreads_compat.sgml:
10170 * docs/gst/tmpl/old/gettext.sgml:
10171 * docs/gst/tmpl/old/gobject2gtk.sgml:
10172 * docs/gst/tmpl/old/grammar.tab.sgml:
10173 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10174 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10175 * docs/gst/tmpl/old/gst_private.sgml:
10176 * docs/gst/tmpl/old/gstaggregator.sgml:
10177 * docs/gst/tmpl/old/gstarch.sgml:
10178 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10179 * docs/gst/tmpl/old/gstbufferstore.sgml:
10180 * docs/gst/tmpl/old/gstdata_private.sgml:
10181 * docs/gst/tmpl/old/gstdisksink.sgml:
10182 * docs/gst/tmpl/old/gstdisksrc.sgml:
10183 * docs/gst/tmpl/old/gstelementfactory.sgml:
10184 * docs/gst/tmpl/old/gstextratypes.sgml:
10185 * docs/gst/tmpl/old/gstfakesink.sgml:
10186 * docs/gst/tmpl/old/gstfakesrc.sgml:
10187 * docs/gst/tmpl/old/gstfdsink.sgml:
10188 * docs/gst/tmpl/old/gstfdsrc.sgml:
10189 * docs/gst/tmpl/old/gstfilesink.sgml:
10190 * docs/gst/tmpl/old/gstfilesrc.sgml:
10191 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10192 * docs/gst/tmpl/old/gstidentity.sgml:
10193 * docs/gst/tmpl/old/gstindexfactory.sgml:
10194 * docs/gst/tmpl/old/gstmarshal.sgml:
10195 * docs/gst/tmpl/old/gstmd5sink.sgml:
10196 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10197 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10198 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10199 * docs/gst/tmpl/old/gstpipefilter.sgml:
10200 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10201 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10202 * docs/gst/tmpl/old/gstshaper.sgml:
10203 * docs/gst/tmpl/old/gstspider.sgml:
10204 * docs/gst/tmpl/old/gstspideridentity.sgml:
10205 * docs/gst/tmpl/old/gststatistics.sgml:
10206 * docs/gst/tmpl/old/gsttee.sgml:
10207 * docs/gst/tmpl/old/gsttimecache.sgml:
10208 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10209 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10210 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10211 * docs/gst/tmpl/old/types.sgml:
10212 I didn't intend to add these or check them in.
10214 2005-05-19 David Schleef <ds@schleef.org>
10216 * configure.ac: Use -no-common everywhere. In a sane world, it
10217 would be the default in libtool, because without it, you can't
10218 build DLLs on Windows.
10219 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10220 * docs/gst/gstreamer-sections.txt:
10221 * docs/gst/tmpl/gstcpu.sgml:
10222 * docs/gst/tmpl/gstdata.sgml:
10223 * docs/gst/tmpl/gstthread.sgml:
10225 2005-05-19 David Schleef <ds@schleef.org>
10227 * gst/gstminiobject.c: (gst_value_set_mini_object),
10228 (gst_value_take_mini_object), (gst_value_get_mini_object):
10229 * gst/gstminiobject.h: Add GValue set/get functions.
10231 2005-05-19 Wim Taymans <wim@fluendo.com>
10233 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10234 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10235 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10237 * gst/gstbus.c: (gst_bus_post):
10238 * gst/gstelement.c: (gst_element_get_random_pad):
10239 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10240 Make subbufer unref the parent in finalize.
10241 some more debugging info.
10244 2005-05-19 Wim Taymans <wim@fluendo.com>
10246 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10247 (gst_basesink_init), (gst_basesink_finalize),
10248 (gst_basesink_activate), (gst_basesink_change_state):
10249 Don't free preroll queue too early.
10251 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10255 Hi, I'm outdated. Please shoot me.
10257 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10259 * gst/gstpipeline.c: (gst_pipeline_send_event):
10260 Do not access variables after they have been deleted.
10262 2005-05-19 Wim Taymans <wim@fluendo.com>
10264 * tools/gst-inspect.c: (print_plugin_features):
10265 A plugin feature does unfortunatly not use the
10268 2005-05-18 Wim Taymans <wim@fluendo.com>
10270 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10271 Port _span() functions to new subbuffers.
10273 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10275 * gst/gstbin.c: (gst_bin_add_func):
10276 Fix clock settery in bins when adding kids after the clock has
10279 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10281 * gst/elements/gstidentity.c: (gst_identity_class_init):
10282 Workaround until signals support GstMiniObject.
10284 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10287 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10289 2005-05-18 Wim Taymans <wim@fluendo.com>
10291 * gst/base/Makefile.am:
10292 * gst/base/gstadapter.c: (gst_adapter_base_init),
10293 (gst_adapter_class_init), (gst_adapter_init),
10294 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10295 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10296 (gst_adapter_flush), (gst_adapter_available),
10297 (gst_adapter_available_fast):
10298 * gst/base/gstadapter.h:
10299 Ported and added adapter to the base classes.
10301 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10304 * gst/gstmessage.c:
10305 Make sure the class is reffed/unreffed once before threads can be
10306 used. Fixes #304551.
10308 2005-05-17 Wim Taymans <wim@fluendo.com>
10310 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10311 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10312 * gst/gstminiobject.c: (gst_mini_object_get_type),
10313 (gst_mini_object_free):
10314 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10315 (gst_pad_push), (gst_pad_push_event):
10316 * gst/gstqueue.c: (gst_queue_change_state):
10317 Don't queue buffers in basesink when we are flushing.
10318 Unref buffer when flushing in basesink.
10319 Flush queue when going to READY
10320 Unref buffer when _push() returns an error.
10321 Don't free MiniObject instance when refcount is incremented
10322 in _finalize() so that we can recover objects.
10324 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10326 * docs/manual/advanced-schedulers.xml:
10327 * docs/manual/appendix-checklist.xml:
10328 * docs/pwg/advanced-clock.xml:
10329 * docs/pwg/advanced-interfaces.xml:
10330 * docs/pwg/advanced-request.xml:
10331 * docs/pwg/advanced-types.xml:
10332 * docs/pwg/intro-preface.xml:
10333 * examples/plugins/example.c: (gst_example_get_type),
10334 (gst_example_class_init), (gst_example_chain),
10335 (gst_example_set_property), (gst_example_get_property),
10336 (gst_example_change_state), (plugin_init):
10337 * examples/plugins/example.h:
10340 2005-05-17 Wim Taymans <wim@fluendo.com>
10342 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10343 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10344 * gst/gstqueue.c: (gst_queue_change_state):
10345 Clear queue when going to READY.
10346 Remove IN_SETCAPS flag too.
10348 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10350 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10351 Remove implicit cast from gboolean to GstElementStateReturn;
10352 make sure we still return failure in paused => ready case if
10353 the parent class fails to change state and our own stop
10356 2005-05-17 Wim Taymans <wim@fluendo.com>
10358 * tools/gst-launch.c: (event_loop):
10359 Message was unreffed too soon.
10361 2005-05-16 Andy Wingo <wingo@pobox.com>
10363 * gst/gstbin.c (sink_iterator_filter): Err... um...
10365 * check/gst/gstbin.c (test_ghost_pads): New test for the
10366 ghosting-if-elements-not-in-same-bin behavior.
10368 2005-05-16 David Schleef <ds@schleef.org>
10370 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10371 accessing refcount directly.
10373 2005-05-15 David Schleef <ds@schleef.org>
10375 * check/Makefile.am: remove GstData checks
10376 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10377 * gst/Makefile.am: add miniobject, remove data
10378 * gst/gst.h: add miniobject, remove data
10379 * gst/gstdata.c: remove
10380 * gst/gstdata.h: remove
10381 * gst/gstdata_private.h: remove
10382 * gst/gsttypes.h: remove GstEvent and GstMessage
10383 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10384 * gst/gstmarshal.list: change BOXED -> OBJECT
10386 Implement GstMiniObject.
10387 * gst/gstminiobject.c:
10388 * gst/gstminiobject.h:
10390 Modify to be subclasses of GstMiniObject.
10391 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10392 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10393 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10394 (gst_subbuffer_get_type), (gst_subbuffer_init),
10395 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10398 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10399 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10400 (_gst_event_copy), (gst_event_new):
10402 * gst/gstmessage.c: (_gst_message_initialize),
10403 (gst_message_get_type), (gst_message_class_init),
10404 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10405 (gst_message_new), (gst_message_new_error),
10406 (gst_message_new_warning), (gst_message_new_tag),
10407 (gst_message_new_state_changed), (gst_message_new_application):
10408 * gst/gstmessage.h:
10409 * gst/gstprobe.c: (gst_probe_perform),
10410 (gst_probe_dispatcher_dispatch):
10412 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10413 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10414 (_gst_query_copy), (gst_query_new):
10416 Update elements for GstData -> GstMiniObject changes
10418 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10419 (gst_queue_chain), (gst_queue_loop):
10420 * gst/elements/gstbufferstore.c:
10421 (gst_buffer_store_add_buffer_func),
10422 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10423 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10424 (gst_fakesink_render):
10425 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10426 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10427 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10428 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10429 (gst_filesrc_create_read):
10430 * gst/elements/gstidentity.c: (gst_identity_class_init):
10431 * gst/elements/gsttypefindelement.c:
10432 (gst_type_find_element_src_event), (free_entry_buffers),
10433 (gst_type_find_element_handle_event):
10434 * libs/gst/dataprotocol/dataprotocol.c:
10435 (gst_dp_header_from_buffer):
10436 * libs/gst/dataprotocol/dataprotocol.h:
10437 * libs/gst/dataprotocol/dp-private.h:
10439 2005-05-15 David Schleef <ds@schleef.org>
10441 * gst/elements/gstelements.c: Don't include headers that were
10444 2005-05-15 David Schleef <ds@schleef.org>
10446 * gst/elements/Makefile.am: Remove some elements that don't
10447 need to be in the core (or even exist at all).
10448 * gst/elements/gstaggregator.c:
10449 * gst/elements/gstaggregator.h:
10450 * gst/elements/gstmd5sink.c:
10451 * gst/elements/gstmd5sink.h:
10452 * gst/elements/gstmultifilesrc.c:
10453 * gst/elements/gstmultifilesrc.h:
10454 * gst/elements/gstpipefilter.c:
10455 * gst/elements/gstpipefilter.h:
10456 * gst/elements/gstshaper.c:
10457 * gst/elements/gstshaper.h:
10458 * gst/elements/gststatistics.c:
10459 * gst/elements/gststatistics.h:
10460 * po/POTFILES.in: Remove above files.
10462 2005-05-14 Andy Wingo <wingo@pobox.com>
10464 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10465 so as to get the refs right.
10466 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10467 unreffing objects that don't pass the filter.
10469 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10470 gst_element_set_bus.
10471 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10472 normal cases, this will destroy the bus.
10474 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10477 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10480 2005-05-13 Andy Wingo <wingo@pobox.com>
10482 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10483 gst_pad_link, call pad_link_maybe_ghosting,
10484 (pad_link_maybe_ghosting): Links pads, making sure that the
10485 elements being linked are in the same bin.
10486 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10487 Helpers for pad_link_maybe_ghosting.
10489 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10492 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10494 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10496 * docs/design/part-element-source.txt:
10499 2005-05-12 Wim Taymans <wim@fluendo.com>
10501 * gst/base/gstbasesink.c: (gst_basesink_init),
10502 (gst_basesink_activate):
10503 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10504 (gst_basesrc_is_seekable):
10505 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10506 (bin_element_is_sink), (gst_bin_change_state):
10507 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10508 * gst/gstelement.h:
10509 Identify sinks by their flag to avoid overly complicated
10511 Do state changes even for elements not reachable from the
10513 BaseSink is a sink now :)
10514 Some more debugging info in the basesrc.
10517 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10519 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10520 Implement _query on a bin, similar to _send_event.
10522 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10524 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10525 Discont event offset format should be GST_FORMAT_BYTES,
10526 not GST_FORMAT_TIME.
10528 2005-05-12 Wim Taymans <wim@fluendo.com>
10530 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10531 Same fix as Ronald's but without the signal.
10533 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10535 * gst/gstutils.c: (gst_element_query_position):
10536 No, an element is not a pad.
10538 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10540 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10541 (gst_bin_get_state):
10542 If a child is removed from a bin while we remove the child from
10543 the bin and while we're retrieving its state, signal this to the
10544 get_state function so we abort the wait (instead of waiting for
10545 a timeout) and can immediately re-iterate over all other elements.
10547 2005-05-12 Wim Taymans <wim@fluendo.com>
10549 * gst/base/Makefile.am:
10550 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10551 (gst_basesrc_start):
10552 * gst/base/gstbasesrc.h:
10553 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10554 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10555 (gst_pushsrc_init), (gst_pushsrc_create):
10556 * gst/base/gstpushsrc.h:
10557 Added is_seekable to BaseSrc
10558 Added simple PushSrc.
10560 2005-05-11 Wim Taymans <wim@fluendo.com>
10562 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10563 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10564 (gst_element_link_pads), (gst_element_query_position),
10565 (gst_element_query_convert), (intersect_caps_func),
10566 (gst_pad_query_position), (gst_pad_query_convert):
10567 Fix refcounting in utils function.
10568 No point in trying to activate a pad when it's added, it could
10569 be added from the state change function and then we deadlock, the
10570 element has to decide what to do.
10572 2005-05-10 Andy Wingo <wingo@pobox.com>
10574 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10575 *all* the arguments.
10577 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10578 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10579 lock (according to the docs -- if this is wrong change the docs).
10581 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10582 flush messages in the NULL state.
10584 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10585 message immediately and return.
10586 (gst_bus_set_flushing): New function. If a bus is flushing, it
10587 flushes out any queued messages and immediately unrefs new
10588 messages. This is so when an element goes to NULL, all of the
10589 unhandled messages coming from it can be freed, and their
10590 references to the element dropped. In other words: message source
10591 ref considered harmful :P
10593 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10594 we're finished with it.
10596 * gst/gstmessage.c (gst_message_new_state_changed):
10598 2005-05-10 Wim Taymans <wim@fluendo.com>
10600 * gst/gstvalue.c: (gst_value_compare_flags),
10601 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10602 (_gst_value_initialize):
10603 Added flags serialize/deserialize/compare code.
10605 2005-05-09 Andy Wingo <wingo@pobox.com>
10607 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10608 Intersect the peer's caps with our caps.
10610 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10612 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10613 * gst/elements/gsttypefindelement.c: (find_peek):
10614 Handle negative offsets better. Fixes decodebin.
10616 2005-05-09 Wim Taymans <wim@fluendo.com>
10618 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10619 (gst_base_transform_event):
10620 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10621 Implement accept_caps.
10622 Fix silly lock/unlock mismatch in base class.
10624 2005-05-09 Wim Taymans <wim@fluendo.com>
10626 * docs/design/draft-push-pull.txt:
10627 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10628 * gst/elements/gstfilesink.c: (gst_filesink_init),
10629 (gst_filesink_query):
10630 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10631 (gst_type_find_handle_src_query), (find_element_get_length):
10632 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10633 * gst/gstelement.h:
10634 * gst/gstmessage.c:
10635 * gst/gstmessage.h:
10636 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10637 (gst_real_pad_get_caps_unlocked),
10638 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10639 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10640 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10641 (gst_real_pad_dispose), (gst_real_pad_finalize),
10642 (gst_pad_load_and_link), (gst_pad_save_thyself),
10643 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10644 (gst_pad_check_pull_range), (gst_pad_pull_range),
10645 (gst_pad_template_get_type), (gst_pad_template_class_init),
10646 (gst_pad_template_init), (gst_pad_template_dispose),
10647 (name_is_valid), (gst_static_pad_template_get),
10648 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10649 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10650 (gst_pad_get_element_private), (gst_pad_start_task),
10651 (gst_pad_pause_task), (gst_pad_stop_task),
10652 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10653 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10654 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10655 (gst_ghost_pad_new):
10657 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10658 (gst_query_new_position), (gst_query_set_position),
10659 (gst_query_parse_position), (gst_query_new_convert),
10660 (gst_query_set_convert), (gst_query_parse_convert):
10662 * gst/gstqueryutils.c:
10663 * gst/gstqueryutils.h:
10664 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10665 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10666 (gst_queue_handle_src_query):
10667 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10668 (gst_element_query_position), (gst_element_query_convert),
10669 (intersect_caps_func), (gst_pad_query_position),
10670 (gst_pad_query_convert):
10672 * tools/gst-inspect.c: (print_pad_info):
10673 * tools/gst-xmlinspect.c: (print_element_info):
10674 Remove old query functions. Ported old code.
10675 Added position/convert helper functions to gstutils.
10676 Reordered gstpad.c code, grouping relevant things.
10677 Remove gst_message_new(), always need to speficy a specific
10681 2005-05-09 Andy Wingo <wingo@pobox.com>
10683 * gst/gstiterator.h: Add some includes.
10685 * gst/gstqueryutils.h: Include more headers.
10688 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10689 some uses of gst_pad_query.
10691 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10692 NULL out parameters.
10693 (gst_query_new_position): New proc, allocates a new position
10696 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10697 gstqueryutils.c to the build.
10699 * gst/gststructure.c (gst_structure_set_valist): Implement with
10700 the generic G_VALUE_COLLECT.
10702 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10704 * gst/Makefile.am: (gst_headers):
10705 Added gstqueryutils.h to the list of headers to install, that was
10706 a 'nachty' move wingo :)
10708 2005-05-06 Andy Wingo <wingo@pobox.com>
10711 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10712 GstData, init a memchunk.
10713 (standard_definitions): Add a few query types, deprecate a few.
10714 (gst_query_get_type): New proc.
10715 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10717 (gst_query_new_application, gst_query_get_structure): New public
10720 * docs/design/draft-query.txt: Removed LINKS from the query types,
10721 because all the rest can be dispatched to other pads -- seemed
10722 ugly to have a query that couldn't be dispatched. internal_links
10723 is fine as a pad method.
10725 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10726 in gstpad.c, but maintain binary compatibility for the moment.
10727 Will fix before 0.9 is out.
10729 * gst/gstqueryutils.c:
10730 * gst/gstqueryutils.h: New files, implement 3 methods for each
10731 query type: parse_query, parse_response, and set. Probably need an
10734 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10736 * gst/elements/gstfilesink.c (gst_filesink_query2):
10737 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10738 query_types, and formats methods.
10740 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10741 (gst_pad_set_query2_function): New functions.
10742 (gst_real_pad_init): Set query2_default as the default query2
10743 function. Basically just dispatches to internally linked pads.
10747 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10748 without using the atomic operations. Only one thread can possibly
10749 be accessing the data at this point. Changed so as to avoid
10750 gst_atomic operations.
10752 2005-05-06 Wim Taymans <wim@fluendo.com>
10754 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10755 Also set caps if we use the fallback buffer alloc.
10757 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10759 * docs/gst/Makefile.am:
10760 * docs/gst/gstreamer-docs.sgml:
10761 * docs/gst/gstreamer-sections.txt:
10762 * docs/gst/tmpl/gstatomic.sgml:
10763 * docs/gst/tmpl/gstmemchunk.sgml:
10764 * testsuite/elements/struct_i386.h:
10765 * win32/GStreamer.vcproj:
10767 Purge GstAtomic stuff from docs and win32 makefiles as well
10769 2005-05-06 Wim Taymans <wim@fluendo.com>
10771 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10772 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10773 * gst/gstpad.c: (gst_pad_peer_get_caps):
10774 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10775 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10776 (gst_queue_src_activate), (gst_queue_change_state):
10778 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10779 (intersect_caps_func):
10780 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10781 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10782 Some fixes for the peer_get_caps() change.
10784 2005-05-06 Wim Taymans <wim@fluendo.com>
10786 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10787 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10788 (gst_basesink_activate):
10789 Actually do something with error codes returned from the push
10792 2005-05-06 Wim Taymans <wim@fluendo.com>
10794 * docs/design/part-element-sink.txt:
10795 * docs/design/part-element-source.txt:
10796 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10797 (gst_basesink_event), (gst_basesink_activate):
10798 * gst/base/gstbasesink.h:
10799 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10800 (gst_basesrc_activate):
10801 * gst/base/gstbasesrc.h:
10802 * gst/gstelement.c: (gst_element_pads_activate):
10803 Some more documentation.
10804 Fixed scheduling decision in _pads_activate().
10806 2005-05-05 Andy Wingo <wingo@pobox.com>
10808 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10811 2005-05-05 Wim Taymans <wim@fluendo.com>
10813 * gst/base/Makefile.am:
10814 * gst/base/gstbasesink.h:
10815 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10816 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10817 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10818 (gst_collectpads_class_init), (gst_collectpads_init),
10819 (gst_collectpads_finalize), (gst_collectpads_new),
10820 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10821 (find_pad), (gst_collectpads_remove_pad),
10822 (gst_collectpads_is_active), (gst_collectpads_collect),
10823 (gst_collectpads_collect_range), (gst_collectpads_start),
10824 (gst_collectpads_stop), (gst_collectpads_peek),
10825 (gst_collectpads_pop), (gst_collectpads_available),
10826 (gst_collectpads_read), (gst_collectpads_flush),
10827 (gst_collectpads_chain):
10828 * gst/base/gstcollectpads.h:
10829 * gst/elements/Makefile.am:
10830 * gst/elements/gstelements.c:
10831 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10832 (gst_fakesink_get_times), (gst_fakesink_event),
10833 (gst_fakesink_preroll), (gst_fakesink_render):
10834 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10835 (gst_filesink_init), (gst_filesink_set_location),
10836 (gst_filesink_open_file), (gst_filesink_close_file),
10837 (gst_filesink_pad_query), (gst_filesink_event),
10838 (gst_filesink_render), (gst_filesink_change_state):
10839 * gst/elements/gstfilesink.h:
10840 Added object to help in making collect pad based elements.
10842 Make event function in sink baseclass return gboolean.
10844 2005-05-05 Wim Taymans <wim@fluendo.com>
10846 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10847 (gst_bin_get_by_name):
10849 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10850 (gst_clock_finalize):
10851 * gst/gstdata.c: (gst_data_replace):
10853 * gst/gstelement.c: (gst_element_request_pad),
10854 (gst_element_pads_activate):
10855 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10856 (gst_object_unref):
10857 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10858 (gst_pad_set_checkgetrange_function),
10859 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10860 (gst_pad_check_pull_range), (gst_pad_pull_range),
10861 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10862 (gst_pad_pause_task), (gst_pad_stop_task):
10863 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10864 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10865 Fix name lookup in GstBin.
10866 Added _data_replace() function and _buffer_replace()
10867 Use finalize method to clean up clock.
10868 Fix refcounting on request pads.
10869 Fix pad schedule mode error.
10870 Some more object refcounting debug info,
10873 2005-05-04 Andy Wingo <wingo@pobox.com>
10875 * check/Makefile.am:
10876 * docs/gst/tmpl/gstatomic.sgml:
10877 * docs/gst/tmpl/gstplugin.sgml:
10878 * gst/base/gstbasesink.c: (gst_basesink_activate):
10879 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10880 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10881 (gst_basesrc_query), (gst_basesrc_set_property),
10882 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10883 (gst_basesrc_activate):
10884 * gst/base/gstbasesrc.h:
10885 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10886 (gst_base_transform_src_activate):
10887 * gst/elements/gstelements.c:
10888 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10889 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10890 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10891 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10892 (gst_type_find_element_checkgetrange),
10893 (gst_type_find_element_activate):
10894 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10895 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10896 (gst_caps_load_thyself):
10897 * gst/gstelement.c: (gst_element_pads_activate),
10898 (gst_element_save_thyself), (gst_element_restore_thyself):
10899 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10900 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10902 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10903 (gst_xml_parse_file), (gst_xml_parse_memory),
10904 (gst_xml_get_element), (gst_xml_make_element):
10905 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10906 (_file_index_id_save_xml), (gst_file_index_commit):
10907 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10908 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10910 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10911 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10912 * tools/gst-complete.c: (main):
10913 * tools/gst-compprep.c: (main):
10914 * tools/gst-inspect.c: (print_element_properties_info):
10915 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10916 * tools/gst-xmlinspect.c: (print_element_properties):
10919 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10921 * gst/gstplugin.c: (gst_plugin_check_module),
10922 (gst_plugin_check_file), (gst_plugin_load_file):
10923 apply patch from #172526 to make register work on MacOSX
10925 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10927 * docs/gst/tmpl/gstconfig.sgml:
10928 * gst/gstconfig.h.in:
10929 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10930 * testsuite/debug/printf_extension.c: (main):
10931 Do not use GST_PTR_FORMAT on pointers to types with
10932 sizeof < sizeof(gpointer). Fixes test on 64-bit
10933 * testsuite/elements/property.h:
10934 use correct printf format
10936 2005-05-02 Wim Taymans <wim@fluendo.com>
10938 * docs/design/draft-push-pull.txt:
10939 * docs/design/draft-query.txt:
10940 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10941 (gst_basesrc_start):
10942 Added draft for new query API.
10943 Added draft for better selecting scheduling methods.
10944 Make basesrc ignore length if the subclass does not support
10947 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10950 possible fixes for automake-1.5 - _LIBADD is reserved
10952 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10954 * docs/faq/Makefile.am:
10955 * docs/manual/Makefile.am:
10956 * docs/manuals.mak:
10957 * docs/pwg/Makefile.am:
10959 possible fixes for automake-1.5
10961 2005-04-28 Wim Taymans <wim@fluendo.com>
10963 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10964 (gst_basesink_pad_getcaps), (gst_basesink_init),
10965 (gst_basesink_do_sync):
10966 * gst/gstclock.c: (gst_clock_entry_new):
10967 * gst/gstevent.c: (gst_event_discont_get_value):
10968 * gst/gstpipeline.c: (pipeline_bus_handler),
10969 (gst_pipeline_change_state):
10970 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10971 Better debugging of clocking info.
10972 Allow NULL values when getting discont values.
10974 2005-04-27 Wim Taymans <wim@fluendo.com>
10976 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10977 * check/gst/gstpad.c: (gst_pad_suite):
10978 Increase timeout for checks.
10980 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10982 * check/Makefile.am:
10983 fix the broken rule for cleanup. Apparently this rule is
10984 only needed on FC2, so maybe this warrants further autotool
10987 2005-04-26 Wim Taymans <wim@fluendo.com>
10989 * gst/gsttrashstack.h:
10990 Ooohh. a nasty one! After having a failed pop() from the stack,
10991 it's possible that the stack is empty. In that case, don't
10992 follow the NULL pointer.
10994 2005-04-25 Wim Taymans <wim@fluendo.com>
10996 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10997 (gst_pad_set_checkgetrange_function),
10998 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10999 (gst_pad_check_pull_range), (gst_pad_pull_range),
11000 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11001 (gst_pad_pause_task), (gst_pad_stop_task):
11002 * gst/gstplugin.c: (gst_plugin_load):
11004 Remove gst_library_load as it does more harm than good with
11005 the new g_module flags.
11006 Revert bogus caps template check in pad linking, pad caps
11007 are important when linking not the template, which is more
11008 general than the current caps.
11010 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11012 * gst/autoplug/.cvsignore:
11013 * gst/autoplug/Makefile.am:
11014 * gst/autoplug/gstsearchfuncs.c:
11015 * gst/autoplug/gstsearchfuncs.h:
11016 * gst/autoplug/gstspider.c:
11017 * gst/autoplug/gstspider.h:
11018 * gst/autoplug/gstspideridentity.c:
11019 * gst/autoplug/gstspideridentity.h:
11020 * gst/autoplug/spidertest.c:
11023 2005-04-25 Wim Taymans <wim@fluendo.com>
11025 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11026 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11027 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11028 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11030 Added stubs for unimplemented functions.
11032 2005-04-24 David Schleef <ds@schleef.org>
11034 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11037 2005-04-24 David Schleef <ds@schleef.org>
11039 Convert everything from GstAtomicInt to g_atomic_int_*, and
11044 * gst/gstatomic_impl.h:
11052 * gst/gstdata_private.h:
11056 * gst/gstmessage.c:
11059 * gst/gststructure.c:
11060 * gst/gststructure.h:
11061 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11064 2005-04-24 David Schleef <ds@schleef.org>
11066 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11067 make the regressions tests work. Remove some code that is no
11069 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11070 Disable warning for pads without templates.
11072 2005-04-24 David Schleef <ds@schleef.org>
11074 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11075 functions that handle filtered links.
11076 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11078 * gst/gstutils.c: Fix/remove utility functions that handle
11081 * gst/gstvalue.c: Add serialization/deserialization of caps
11082 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11083 requires fixing so that the filter caps notation creates
11084 a capsfilter element and sets the filter_caps property. I
11085 think everyone probably wants to keep the shorthand notation.
11086 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11087 * docs/gst/tmpl/gstpad.sgml:
11089 * gst/elements/gstelements.c: Register capsfilter element.
11090 * gst/Makefile.am: fix spacing
11091 * docs/random/ds/0.9-suggested-changes: random
11093 2005-04-23 David Schleef <ds@schleef.org>
11095 * gst/elements/Makefile.am:
11096 * gst/elements/gstcapsfilter.c: New element that acts like an
11097 identity, but filters caps. Will eventually replace filtered
11098 caps in pad linking.
11099 * gst/gstutils.c: (gst_element_create_all_pads): New function
11100 to create all the ALWAYS pads that are registered with an
11101 element class. This functionality should eventually be
11102 merged in with GstElement initialization.
11104 * testsuite/trigger/README: part of trigger test code that should
11105 have been checked in a long time ago.
11107 2005-04-23 David Schleef <ds@schleef.org>
11109 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11110 needed with new versions of libtool (nobody will confirm this),
11111 and hard to carry around.
11112 * gst/autoplug/Makefile.am:
11113 * gst/base/Makefile.am:
11114 * gst/elements/Makefile.am:
11115 * gst/indexers/Makefile.am:
11116 * gst/schedulers/Makefile.am:
11117 * libs/gst/bytestream/Makefile.am:
11118 * libs/gst/control/Makefile.am:
11119 * libs/gst/dataprotocol/Makefile.am:
11120 * libs/gst/getbits/Makefile.am:
11122 2005-04-21 Wim Taymans <wim@fluendo.com>
11124 * docs/design/draft-push-pull.txt:
11125 * docs/design/part-MT-refcounting.txt:
11126 * docs/design/part-TODO.txt:
11127 * docs/design/part-caps.txt:
11128 * docs/design/part-events.txt:
11129 * docs/design/part-gstbus.txt:
11130 * docs/design/part-gstpipeline.txt:
11131 * docs/design/part-messages.txt:
11132 * docs/design/part-push-pull.txt:
11133 * docs/design/part-query.txt:
11136 2005-04-21 Wim Taymans <wim@fluendo.com>
11138 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11139 (gst_message_new), (gst_message_new_error),
11140 (gst_message_new_warning), (gst_message_new_tag),
11141 (gst_message_new_state_changed), (gst_message_new_application),
11142 (gst_message_get_structure):
11143 * gst/gstmessage.h:
11144 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11145 (gst_structure_copy_conditional):
11146 Use parent refcount in GstMessage to ensure GstStructure
11148 Cleaned up headers a bit.
11151 2005-04-20 Wim Taymans <wim@fluendo.com>
11153 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11154 (gst_basesink_pad_getcaps), (gst_basesink_init),
11155 (gst_basesink_chain_unlocked):
11156 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11157 (gst_type_find_helper):
11158 * gst/elements/gsttypefindelement.c:
11159 (gst_type_find_element_have_type), (gst_type_find_element_init),
11160 (stop_typefinding), (gst_type_find_element_handle_event),
11161 (find_suggest), (gst_type_find_element_chain),
11162 (gst_type_find_element_checkgetrange),
11163 (gst_type_find_element_getrange), (do_typefind),
11164 (gst_type_find_element_activate):
11165 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11166 (gst_buffer_default_free), (gst_buffer_default_copy),
11167 (gst_buffer_set_caps):
11168 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11169 (gst_caps_replace):
11170 * gst/gstmessage.c: (gst_message_new),
11171 (gst_message_new_state_changed):
11172 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11173 (gst_pad_set_checkgetrange_function),
11174 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11175 (gst_pad_set_caps), (gst_pad_check_pull_range),
11176 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11178 * gst/gsttypefind.c: (gst_type_find_register):
11179 Make gst_caps_replace() work like other _replace() functions.
11180 Use _caps_replace() where possible.
11181 Make sure _message_new() initialises its field.
11182 Add gst_static_pad_template_get_caps()
11185 2005-04-18 Andy Wingo <wingo@pobox.com>
11187 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11188 on the peer, not the pad. I think that was a typo. Pass an extra
11189 arg to see if random access is possible. Activate the pads as
11190 PULL_RANGE if possible.
11192 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11194 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11195 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11198 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11200 * docs/faq/using.xml:
11201 Add note on gstreamer-properties (#154996).
11203 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11205 * docs/random/bbb/optional-properties:
11206 Some analysis on optional properties.
11208 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11210 * docs/gst/tmpl/gstelementfactory.sgml:
11211 * gst/gstelement.h:
11212 * gst/gstelementfactory.c: (gst_element_factory_init),
11213 (gst_element_factory_cleanup), (gst_element_register),
11214 (__gst_element_factory_add_static_pad_template),
11215 (gst_element_factory_get_static_pad_templates),
11216 (gst_element_factory_can_src_caps),
11217 (gst_element_factory_can_sink_caps):
11218 * gst/registries/Makefile.am:
11219 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11220 (gst_xml_registry_class_init), (gst_xml_registry_init),
11221 (gst_xml_registry_new), (gst_xml_registry_set_property),
11222 (gst_xml_registry_get_property), (get_time), (make_dir),
11223 (gst_xml_registry_get_perms_func),
11224 (plugin_times_older_than_recurse), (plugin_times_older_than),
11225 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11226 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11227 (add_to_char_array), (read_string), (read_uint), (read_enum),
11228 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11229 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11230 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11231 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11232 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11233 (gst_xml_registry_rebuild):
11234 * gst/registries/gstlibxmlregistry.h:
11235 * tools/gst-compprep.c: (main):
11236 * tools/gst-inspect.c: (print_pad_templates_info):
11237 * tools/gst-xmlinspect.c: (print_element_info):
11238 Use libxml2 for registry parsing, use staticpadtemplates in
11239 elementfactories. Makes gst_init() +/- 10x faster.
11241 2005-04-12 Wim Taymans <wim@fluendo.com>
11243 * gst/base/Makefile.am:
11244 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11245 (gst_basesink_pad_getcaps), (gst_basesink_init),
11246 (gst_basesink_event), (gst_basesink_change_state):
11247 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11248 (gst_basesrc_init), (gst_basesrc_query),
11249 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11250 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11251 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11252 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11253 (gst_basesrc_stop), (gst_basesrc_activate),
11254 (gst_basesrc_change_state):
11255 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11256 (helper_find_suggest), (gst_type_find_helper):
11257 * gst/base/gsttypefindhelper.h:
11258 * gst/elements/Makefile.am:
11259 * gst/elements/gstelements.c:
11260 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11261 (gst_fakesink_get_times), (gst_fakesink_event),
11262 (gst_fakesink_preroll), (gst_fakesink_render):
11263 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11264 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11265 (gst_fakesrc_get_property), (gst_fakesrc_create),
11266 (gst_fakesrc_start), (gst_fakesrc_stop):
11267 * gst/elements/gstfakesrc.h:
11268 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11269 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11270 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11271 (gst_filesrc_create_read), (gst_filesrc_create),
11272 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11273 (gst_filesrc_start):
11274 * gst/elements/gsttypefindelement.c:
11275 (gst_type_find_element_have_type), (gst_type_find_element_init),
11276 (start_typefinding), (stop_typefinding), (push_buffer_store),
11277 (gst_type_find_element_handle_event),
11278 (gst_type_find_element_chain),
11279 (gst_type_find_element_checkgetrange),
11280 (gst_type_find_element_getrange), (do_typefind),
11281 (gst_type_find_element_activate),
11282 (gst_type_find_element_change_state):
11283 * gst/elements/gsttypefindelement.h:
11284 * gst/gstpipeline.c: (pipeline_bus_handler):
11285 Added typefind helper.
11286 Small preroll fix in the base sink.
11287 Disable typefind code in basesrc.
11288 Crude port of typefindelement.
11292 2005-04-11 Wim Taymans <wim@fluendo.com>
11294 * check/gst/gstbus.c: (gstbus_suite):
11295 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11296 * check/gstcheck.h:
11297 Fix up the timeout so that the test does not fail.
11299 2005-04-06 Wim Taymans <wim@fluendo.com>
11302 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11303 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11304 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11305 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11306 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11307 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11308 (gst_basesrc_stop), (gst_basesrc_activate),
11309 (gst_basesrc_change_state), (basesrc_find_peek),
11310 (basesrc_find_suggest), (gst_basesrc_type_find):
11311 * gst/base/gstbasesrc.h:
11312 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11313 (gst_filesrc_class_init), (gst_filesrc_init),
11314 (gst_filesrc_finalize), (gst_filesrc_set_location),
11315 (gst_filesrc_set_property), (gst_filesrc_get_property),
11316 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11317 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11318 (gst_filesrc_create_read), (gst_filesrc_create),
11319 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11320 * gst/elements/gstfilesrc.h:
11321 * gst/gstelement.c: (gst_element_get_state_func),
11322 (gst_element_lost_state), (gst_element_pads_activate):
11323 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11324 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11325 (gst_pad_pull_range):
11327 More work on the generic source base class, implement seeking,
11329 Make filesrc extend the base source class.
11330 Added gst_pad_set_checkgetrange_function to GstPad.
11332 2005-04-06 Andy Wingo <wingo@pobox.com>
11334 * pkgconfig/gstreamer-base.pc.in:
11335 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11337 * pkgconfig/Makefile.am:
11338 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11340 2005-04-04 Wim Taymans <wim@fluendo.com>
11342 * gst/base/Makefile.am:
11344 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11345 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11346 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11347 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11348 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11349 (gst_basesrc_base_init), (gst_basesrc_class_init),
11350 (gst_basesrc_init), (gst_basesrc_get_formats),
11351 (gst_basesrc_get_query_types), (gst_basesrc_query),
11352 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11353 (gst_basesrc_set_property), (gst_basesrc_get_property),
11354 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11355 (gst_basesrc_loop), (gst_basesrc_activate),
11356 (gst_basesrc_change_state):
11357 * gst/base/gstbasesrc.h:
11358 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11359 (gst_fakesrc_class_init), (gst_fakesrc_init),
11360 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11361 (gst_fakesrc_get_property), (gst_fakesrc_create):
11362 * gst/elements/gstfakesrc.h:
11363 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11364 (gst_filesrc_open_file), (gst_filesrc_loop),
11365 (gst_filesrc_activate), (filesrc_find_peek),
11366 (gst_filesrc_type_find):
11367 Made base source class, make fakesrc extend it.
11368 Add comments to basesink class.
11369 Some filesrc cleanup.
11371 2005-03-31 David Schleef <ds@schleef.org>
11373 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11374 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11375 expected to link against libgstreamer.
11376 * gst/base/Makefile.am: link against libgstreamer
11377 * gst/elements/Makefile.am: same
11379 2005-03-31 Andy Wingo <wingo@pobox.com>
11381 * tests/instantiate/Makefile.am:
11382 * tests/instantiate/caps.c: Add test to test speed of caps copy
11385 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11386 GMemChunk to be fair.
11388 * gst/gsttrashstack.h: Remove warning about using the fallback
11389 trash stack implementation, it's still faster than malloc.
11391 2005-03-30 Andy Wingo <wingo@pobox.com>
11393 * tests/complexity.c: Add a copyright.
11395 2005-03-31 Wim Taymans <wim@fluendo.com>
11397 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11398 (gst_base_transform_class_init), (gst_base_transform_init),
11399 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11400 (gst_base_transform_get_property),
11401 (gst_base_transform_sink_activate),
11402 (gst_base_transform_src_activate),
11403 (gst_base_transform_change_state):
11404 * gst/base/gstbasetransform.h:
11405 * gst/elements/gstidentity.c: (gst_identity_class_init),
11406 (gst_identity_event), (gst_identity_check_perfect),
11407 (gst_identity_transform), (gst_identity_start),
11408 (gst_identity_stop):
11409 Added start/stop methods to transform base class so subclasses
11410 don't need to deal with state changes even.
11412 2005-03-31 Wim Taymans <wim@fluendo.com>
11414 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11415 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11417 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11418 (gst_pad_pull_range):
11419 Added rate to the discont event to prepare for variable speed
11420 and reverse playback.
11422 2005-03-29 David Schleef <ds@schleef.org>
11425 * testsuite/trigger/Makefile.am:
11426 * testsuite/trigger/trigger.c: A little example program to show
11427 how trigger-based elements can work.
11429 2005-03-29 Wim Taymans <wim@fluendo.com>
11431 * gst/base/Makefile.am:
11433 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11434 (gst_basesink_base_init), (gst_basesink_class_init),
11435 (gst_basesink_pad_getcaps), (gst_basesink_init),
11436 (gst_basesink_activate), (gst_basesink_change_state):
11437 * gst/base/gstbasesink.h:
11438 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11439 (gst_base_transform_base_init), (gst_base_transform_finalize),
11440 (gst_base_transform_class_init), (gst_base_transform_init),
11441 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11442 (gst_base_transform_event), (gst_base_transform_getrange),
11443 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11444 (gst_base_transform_set_property),
11445 (gst_base_transform_get_property),
11446 (gst_base_transform_sink_activate),
11447 (gst_base_transform_src_activate),
11448 (gst_base_transform_change_state):
11449 * gst/base/gstbasetransform.h:
11450 * gst/elements/gstidentity.c: (gst_identity_finalize),
11451 (gst_identity_class_init), (gst_identity_init),
11452 (gst_identity_event), (gst_identity_check_perfect),
11453 (gst_identity_transform), (gst_identity_set_property),
11454 (gst_identity_get_property), (gst_identity_change_state):
11455 * gst/elements/gstidentity.h:
11456 * gst/gstelement.c: (gst_element_get_state_func),
11457 (gst_element_lost_state), (gst_element_pads_activate):
11458 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11459 (gst_pad_check_pull_range), (gst_pad_pull_range):
11461 Simplify pad activation.
11462 Added function to check if pull_range can be performed.
11463 Error out when pulling inactive or flushing pads.
11464 Removed const from refcounted types as it does not make sense.
11465 Simplify pad templates in basesink
11466 Added base class for simple 1-to-1 transforms.
11467 Make identity subclass the base transform.
11469 2005-03-29 Andy Wingo <wingo@pobox.com>
11471 * docs/libs/gstreamer-libs-overrides.txt:
11472 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11473 really don't understand what's going on, but like whatever. I want
11476 * docs/gst/Makefile.am:
11477 * docs/libs/Makefile.am: Dist the overrides files.
11479 * check/Makefile.am (clean-local): Remove .libs directories.
11481 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11482 elements to EXTRA_DIST, so po/ files are happy.
11484 * po/POTFILES.in: Er, remove it here.
11486 * po/POTFILES: Remove gstspider.c.
11488 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11490 * docs/libs/gstreamer-libs-docs.sgml:
11491 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11494 * tests/complexity.c (main): Set the length of the preroll queue
11495 on the sinks to prevent a lockup.
11497 * libs/gst/dataprotocol/Makefile.am:
11498 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11499 the same as the one in check/gst-libs/gdp.c.
11501 * po/, docs/gst/: Commit automatic changes to docs and po files.
11503 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11504 the versioned libgstbase.
11506 * check/Makefile.am: Depend on an unversioned gst-register, seems
11507 to make autoconf happier.
11509 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11511 2005-03-28 Wim Taymans <wim@fluendo.com>
11514 * docs/design/part-gstelement.txt:
11515 * docs/design/part-negotiation.txt:
11516 * docs/design/part-preroll.txt:
11517 * docs/design/part-scheduling.txt:
11518 * docs/design/part-states.txt:
11520 * gst/base/Makefile.am:
11522 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11523 (gst_basesink_base_init), (gst_basesink_class_init),
11524 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11525 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11526 (gst_basesink_set_pad_functions),
11527 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11528 (gst_basesink_set_property), (gst_basesink_get_property),
11529 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11530 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11531 (gst_basesink_preroll_queue_push),
11532 (gst_basesink_preroll_queue_empty),
11533 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11534 (gst_basesink_event), (gst_basesink_get_times),
11535 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11536 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11537 (gst_basesink_loop), (gst_basesink_activate),
11538 (gst_basesink_change_state):
11539 * gst/base/gstbasesink.h:
11540 * gst/elements/Makefile.am:
11541 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11542 (gst_fakesink_class_init), (gst_fakesink_init),
11543 (gst_fakesink_set_property), (gst_fakesink_get_property),
11544 (gst_fakesink_get_times), (gst_fakesink_event),
11545 (gst_fakesink_preroll), (gst_fakesink_render),
11546 (gst_fakesink_change_state):
11547 * gst/elements/gstfakesink.h:
11548 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11549 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11550 * gst/gstelement.c: (gst_element_add_pad),
11551 (gst_element_get_state_func), (gst_element_abort_state),
11552 (gst_element_commit_state), (gst_element_lost_state),
11553 (gst_element_set_state), (gst_element_pads_activate):
11554 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11555 * gst/gstpipeline.c: (gst_pipeline_send_event),
11556 (gst_pipeline_change_state):
11557 Added state change code.
11558 Added/updated docs.
11559 Added sink base class, make fakesink extend the base class.
11560 Small cleanups in GstPipeline.
11562 2005-03-26 David Schleef <ds@schleef.org>
11564 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11565 is broken and should be implemented in a different library.
11566 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11567 * gst/gst.h: remove gstcpu.h
11568 * gst/gstcpu.c: remove
11569 * gst/gstcpu.h: remove
11570 * gst/Makefile.am.future: Remove this file. It's ancient.
11572 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11574 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11575 (gst_bin_send_event):
11576 Add default event/set_manager handlers. The set_manager handler
11577 takes care that the manager is distributed over kids that were
11578 already in the bin before the manager was set. The event handler
11579 is a utility virtual function that sends the event over all sinks,
11580 so that gst_element_send_event (bin, event); has the expected
11582 * gst/gstpad.c: (gst_pad_event_default):
11583 Re-install default event handling for discontinuities, so that
11584 seeking works without requiring hacks in applications or extra
11586 * gst/gstpipeline.c: (gst_pipeline_class_init),
11587 (gst_pipeline_send_event):
11588 Half hack, half utility: set a pipeline to PAUSED for seek events,
11589 since that is the only way we can guarantee a/v sync. Means that
11590 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11591 and it "just works".
11593 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11595 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11596 Lock/unlock mismatch.
11598 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11600 * docs/faq/gst-uninstalled:
11601 add gst-plugins-base
11602 * docs/gst/Makefile.am:
11603 don't error out until docs are fixed
11604 * docs/gst/gstreamer.types:
11607 2005-03-22 Wim Taymans <wim@fluendo.com>
11609 * check/Makefile.am:
11610 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11611 * gst/gststructure.c: (gst_structure_set_valist),
11612 (gst_structure_copy_conditional):
11613 Activated more tests.
11614 Added message test.
11615 Added G_TYPE_POINTER to GstStructure.
11618 2005-03-22 Wim Taymans <wim@fluendo.com>
11620 * docs/design/part-TODO.txt:
11621 * docs/design/part-events.txt:
11622 * docs/design/part-gstbin.txt:
11623 * docs/design/part-gstbus.txt:
11624 * docs/design/part-gstpipeline.txt:
11625 * docs/design/part-messages.txt:
11627 * gst/gstmessage.c:
11630 2005-03-21 Wim Taymans <wim@fluendo.com>
11632 * gst/gstbus.c: (gst_bus_post):
11633 Fix copy-and-paste error.
11635 2005-03-21 Wim Taymans <wim@fluendo.com>
11637 * check/Makefile.am:
11639 * gst/elements/Makefile.am:
11640 * gst/elements/gstelements.c:
11641 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11642 (gst_fakesink_event), (gst_fakesink_chain):
11643 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11644 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11645 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11646 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11647 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11648 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11649 (gst_fakesrc_loop), (gst_fakesrc_activate),
11650 (gst_fakesrc_change_state):
11651 * gst/elements/gstfakesrc.h:
11652 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11653 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11654 (gst_filesrc_open_file), (gst_filesrc_loop),
11655 (gst_filesrc_activate), (gst_filesrc_change_state),
11656 (filesrc_find_peek), (filesrc_find_suggest),
11657 (gst_filesrc_type_find):
11658 * gst/elements/gstidentity.c: (gst_identity_finalize),
11659 (gst_identity_class_init), (gst_identity_init),
11660 (gst_identity_proxy_getcaps), (identity_queue_push),
11661 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11662 (gst_identity_getrange), (gst_identity_chain),
11663 (gst_identity_sink_loop), (gst_identity_src_loop),
11664 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11665 (gst_identity_set_property), (gst_identity_get_property),
11666 (gst_identity_change_state):
11667 * gst/elements/gstidentity.h:
11668 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11669 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11670 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11671 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11672 (gst_tee_sink_activate):
11673 * gst/elements/gsttee.h:
11674 * gst/gst.c: (gst_register_core_elements), (init_post):
11676 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11677 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11678 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11679 (gst_bin_change_state):
11681 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11682 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11683 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11684 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11685 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11686 (bus_watch_callback), (bus_watch_destroy),
11687 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11688 (poll_timeout), (gst_bus_poll):
11692 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11693 (gst_element_post_message), (gst_element_message_full),
11694 (gst_element_get_state_func), (gst_element_get_state),
11695 (gst_element_abort_state), (gst_element_commit_state),
11696 (gst_element_lost_state), (gst_element_set_state),
11697 (gst_element_pads_activate), (gst_element_change_state),
11698 (gst_element_dispose), (gst_element_set_manager_func),
11699 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11700 (gst_element_set_manager), (gst_element_get_manager),
11701 (gst_element_set_bus), (gst_element_get_bus),
11702 (gst_element_set_scheduler), (gst_element_get_scheduler):
11703 * gst/gstelement.h:
11704 * gst/gstevent.c: (gst_event_new_segment_seek),
11705 (gst_event_new_flush):
11707 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11708 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11709 (gst_message_new_eos), (gst_message_new_error),
11710 (gst_message_new_warning), (gst_message_new_tag),
11711 (gst_message_new_state_changed), (gst_message_new_application),
11712 (gst_message_get_structure), (gst_message_parse_tag),
11713 (gst_message_parse_state_changed), (gst_message_parse_error),
11714 (gst_message_parse_warning):
11715 * gst/gstmessage.h:
11716 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11717 (gst_real_pad_set_property), (gst_pad_set_active),
11718 (gst_pad_is_active), (gst_pad_set_blocked_async),
11719 (gst_pad_set_blocked), (gst_pad_is_blocked),
11720 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11721 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11722 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11723 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11724 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11725 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11726 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11727 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11728 (gst_pad_set_caps), (gst_pad_configure_sink),
11729 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11730 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11731 (gst_real_pad_dispose), (gst_real_pad_finalize),
11732 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11733 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11734 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11736 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11737 (pipeline_bus_handler), (gst_pipeline_change_state),
11738 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11739 * gst/gstpipeline.h:
11741 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11742 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11743 (gst_queue_link_src), (gst_queue_bufferalloc),
11744 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11745 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11746 (gst_queue_loop), (gst_queue_handle_src_event),
11747 (gst_queue_handle_src_query), (gst_queue_src_activate),
11748 (gst_queue_change_state):
11750 * gst/gstscheduler.c: (gst_scheduler_init),
11751 (gst_scheduler_dispose), (gst_scheduler_create_task),
11752 (gst_scheduler_factory_create):
11753 * gst/gstscheduler.h:
11754 * gst/gststructure.c: (gst_structure_get_type),
11755 (gst_structure_copy_conditional):
11756 * gst/gststructure.h:
11757 * gst/gsttaginterface.h:
11758 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11759 (gst_task_init), (gst_task_dispose), (gst_task_create),
11760 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11766 * gst/schedulers/Makefile.am:
11767 * gst/schedulers/cothreads_compat.h:
11768 * gst/schedulers/entryscheduler.c:
11769 * gst/schedulers/faircothreads.c:
11770 * gst/schedulers/faircothreads.h:
11771 * gst/schedulers/fairscheduler.c:
11772 * gst/schedulers/gstbasicscheduler.c:
11773 * gst/schedulers/gstoptimalscheduler.c:
11774 * gst/schedulers/gthread-cothreads.h:
11775 * gst/schedulers/threadscheduler.c:
11776 (gst_thread_scheduler_task_get_type),
11777 (gst_thread_scheduler_task_class_init),
11778 (gst_thread_scheduler_task_init),
11779 (gst_thread_scheduler_task_start),
11780 (gst_thread_scheduler_task_stop),
11781 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11782 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11783 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11784 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11786 * libs/gst/Makefile.am:
11787 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11788 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11789 (gst_file_pad_parent_set):
11790 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11791 (gst_dp_event_from_packet):
11792 * tests/complexity.c: (main):
11793 * tests/mass_elements.c: (main):
11794 * testsuite/states/locked.c: (message_received), (main):
11795 * testsuite/states/parent.c: (main):
11796 * tools/gst-inspect.c: (print_element_flag_info),
11797 (print_implementation_info), (print_pad_info):
11798 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11800 * tools/gst-md5sum.c: (event_loop), (main):
11801 * tools/gst-typefind.c: (main):
11802 * tools/gst-xmlinspect.c: (print_element_info):
11804 Added GstBus for mainloop integration.
11805 Added GstMessage for sending notifications on the bus.
11806 Added GstTask as an abstraction for pipeline entry points.
11808 Removed Schedulers.
11809 Simplified GstQueue for multithreaded core.
11810 Made _link threadsafe, removed old capsnego.
11811 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11812 Added pad blocking functions.
11813 Reworked scheduling functions in GstPad to prepare for
11814 scheduling updates soon.
11815 Moved events out of data stream.
11816 Simplified GstEvent types.
11817 Added return values to push/pull.
11818 Removed clocking from GstElement.
11819 Added prototypes for state change function for next merge.
11820 Removed iterate from bins and state change management.
11821 Fixed some elements, disabled others for now.
11822 Fixed -inspect and -launch.
11823 Added check for GstBus.
11825 2005-03-10 Wim Taymans <wim@fluendo.com>
11827 * docs/design/part-MT-refcounting.txt:
11828 * docs/design/part-clocks.txt:
11829 * docs/design/part-gstelement.txt:
11830 * docs/design/part-gstobject.txt:
11831 * docs/design/part-standards.txt:
11832 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11833 (gst_bin_remove_func), (gst_bin_remove):
11837 * testsuite/clock/clock1.c: (main):
11838 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11840 * testsuite/dlopen/loadgst.c: (do_test):
11841 * testsuite/refcounting/bin.c: (add_remove_test1),
11842 (add_remove_test2), (main):
11843 * testsuite/refcounting/element.c: (main):
11844 * testsuite/refcounting/element_pad.c: (main):
11845 * testsuite/refcounting/pad.c: (main):
11846 * tools/gst-launch.c: (sigint_handler_sighandler):
11847 * tools/gst-typefind.c: (main):
11849 Added doc about clock.
11850 removed gst_bin_iterate_recurse_up(), marked methods
11852 Fix more testsuites.
11854 2005-03-09 Wim Taymans <wim@fluendo.com>
11856 * gst/gstpad.c: (gst_pad_get_direction),
11857 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11858 (gst_pad_collect_valist):
11859 * testsuite/bins/interface.c: (main):
11860 * testsuite/caps/audioscale.c: (test_caps):
11861 * testsuite/caps/caps.c: (test1), (test2), (test3):
11862 * testsuite/caps/deserialize.c: (main):
11863 * testsuite/caps/enumcaps.c: (main):
11864 * testsuite/caps/filtercaps.c: (main):
11865 * testsuite/caps/intersect2.c: (main):
11866 * testsuite/caps/random.c: (main):
11867 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11868 * testsuite/caps/sets.c: (check_caps):
11869 * testsuite/caps/simplify.c: (check_caps), (main):
11870 * testsuite/caps/subtract.c: (check_caps):
11871 Fix _pad_get_direction wrt ghostpads.
11872 Fix caps testsuite.
11874 2005-03-09 Wim Taymans <wim@fluendo.com>
11876 * check/Makefile.am:
11877 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11878 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11879 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11880 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11881 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11882 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11883 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11884 (bin_element_is_sink), (gst_bin_iterate_sinks),
11885 (gst_bin_iterate_all_by_interface):
11887 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11888 (gst_element_change_state), (gst_element_dispose),
11889 (gst_element_finalize), (gst_element_set_loop_function):
11890 * gst/gstelement.h:
11891 * gst/gstiterator.c: (find_custom_fold_func):
11892 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11893 (gst_pad_collectv), (gst_pad_collect_valist),
11894 (gst_pad_template_new):
11895 * gst/gstpipeline.c: (gst_pipeline_class_init),
11896 (gst_pipeline_dispose), (gst_pipeline_set_property),
11897 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11898 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11899 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11901 * gst/schedulers/entryscheduler.c:
11902 * gst/schedulers/gstbasicscheduler.c:
11903 (gst_basic_scheduler_cothreaded_chain),
11904 (gst_basic_scheduler_chain_add_element):
11905 * testsuite/bins/interface.c: (main):
11907 Added GstSystemClock test.
11908 Implemented clock distribution code in GstBin.
11909 Implemented iterate sinks method for future use.
11910 Rearranged gstelement.h
11911 Fix GstIterator comparison bug.
11912 Moved some code to GstPipeline, mostly clocking related.
11914 2005-03-09 Wim Taymans <wim@fluendo.com>
11917 * gst/gst_private.h:
11918 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11919 (gst_bin_remove_func), (gst_bin_remove),
11920 (gst_bin_get_by_name_recurse_up):
11921 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11922 (gst_clock_id_compare_func), (gst_clock_id_wait),
11923 (gst_clock_id_wait_async), (gst_clock_init),
11924 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11925 * gst/gstelement.h:
11926 * gst/gstinfo.c: (_gst_debug_init):
11928 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11929 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11931 Bump version number, we're now 0.9.0
11932 Add future debugging category.
11933 Fix NULL _unref() in _get_by_name_recurse_up
11934 Rearrange gstpad.h.
11937 2005-03-08 Wim Taymans <wim@fluendo.com>
11939 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11940 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11941 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11942 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11943 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11944 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11945 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11946 * gst/elements/gstidentity.c: (gst_identity_class_init):
11947 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11948 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11949 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11950 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11951 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11953 * gst/gstelement.c: (gst_element_class_init),
11954 (gst_element_base_class_init), (gst_element_init),
11955 (gst_element_get_random_pad), (gst_element_wait_state_change),
11956 (gst_element_change_state), (gst_element_dispose),
11957 (gst_element_finalize), (gst_element_set_loop_function):
11958 * gst/gstelement.h:
11959 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11960 * gst/gstthread.c: (gst_thread_class_init),
11961 (gst_thread_release_children_locks), (gst_thread_change_state):
11962 * gst/schedulers/gstbasicscheduler.c:
11963 (gst_basic_scheduler_loopfunc_wrapper),
11964 (gst_basic_scheduler_chain_wrapper),
11965 (gst_basic_scheduler_src_wrapper),
11966 (gst_basic_scheduler_remove_element):
11967 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11968 Remove threadsafe properties. Fix elements because GObject
11969 complains when installing a property before declaring a
11970 set/get_property handler.
11971 Rearrange gstelement.h file, use STATE macros for state locks.
11972 Free mutexes in the finalize method instead of dispose.
11974 2005-03-08 Wim Taymans <wim@fluendo.com>
11976 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11977 * gst/gstthread.c: (gst_thread_release_children_locks):
11978 Added parentage check.
11979 Fix build og GstThread again.
11981 2005-03-08 Wim Taymans <wim@fluendo.com>
11983 * docs/design/part-MT-refcounting.txt:
11984 * docs/design/part-conventions.txt:
11985 * docs/design/part-gstobject.txt:
11986 * docs/design/part-relations.txt:
11987 * docs/design/part-standards.txt:
11988 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11989 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11990 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11991 (gst_bin_iterate_all_by_interface):
11994 * gst/gstelement.c: (gst_element_class_init),
11995 (gst_element_change_state), (gst_element_set_loop_function):
11996 * gst/gstelement.h:
11997 * gst/gstiterator.c:
11998 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11999 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12000 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12001 (gst_object_set_parent), (gst_object_unparent),
12002 (gst_object_check_uniqueness):
12004 Docs updates, clean up some headers.
12006 2005-03-07 Wim Taymans <wim@fluendo.com>
12008 * check/.cvsignore:
12009 * check/Makefile.am:
12010 * check/gst-libs/.cvsignore:
12011 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12012 * check/gst/.cvsignore:
12013 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12014 (START_TEST), (gstbus_suite), (main):
12015 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12016 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12017 (gst_data_suite), (main):
12018 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12019 (add_fold_func), (gstiterator_suite), (main):
12020 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12021 (thread_name_object), (thread_name_object_default),
12022 (gst_object_name_compare), (gst_object_suite), (main):
12023 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12024 (gst_pad_suite), (main):
12025 * check/gstcheck.c: (gst_check_log_message_func),
12026 (gst_check_log_critical_func), (gst_check_init):
12027 * check/gstcheck.h:
12028 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12029 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12032 2005-03-07 Wim Taymans <wim@fluendo.com>
12034 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12035 (gst_list_iterator_next), (gst_list_iterator_resync),
12036 (gst_list_iterator_free), (gst_iterator_new_list),
12037 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12038 (gst_iterator_free), (gst_iterator_push), (filter_next),
12039 (filter_resync), (filter_uninit), (filter_free),
12040 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12041 (gst_iterator_foreach), (find_custom_fold_func),
12042 (gst_iterator_find_custom):
12043 * gst/gstiterator.h:
12044 Added missing files.
12046 2005-03-07 Wim Taymans <wim@fluendo.com>
12050 * docs/design/part-MT-refcounting.txt:
12051 * docs/design/part-conventions.txt:
12052 * docs/design/part-gstobject.txt:
12053 * docs/design/part-relations.txt:
12054 * examples/mixer/mixer.c: (main):
12055 * examples/thread/thread.c: (eos), (main):
12057 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12058 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12059 (gst_spider_plug_from_srcpad):
12060 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12061 (gst_spider_identity_change_state),
12062 (gst_spider_identity_sink_loop_type_finding):
12063 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12064 * gst/elements/gstidentity.c: (gst_identity_init):
12065 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12066 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12067 * gst/elements/gsttypefindelement.c: (free_entry):
12070 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12071 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12072 (gst_bin_set_index), (gst_bin_set_element_sched),
12073 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12074 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12075 (gst_bin_iterate_elements), (iterate_child_recurse),
12076 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12077 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12078 (compare_interface), (gst_bin_get_by_interface),
12079 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12081 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12082 (gst_buffer_default_free), (gst_buffer_default_copy),
12083 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12084 (gst_buffer_create_sub):
12086 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12087 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12088 (gst_caps_unref), (gst_static_caps_get),
12089 (gst_caps_remove_and_get_structure), (gst_caps_append),
12090 (gst_caps_append_structure), (gst_caps_remove_structure),
12091 (gst_caps_copy_nth), (gst_caps_set_simple),
12092 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12093 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12094 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12095 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12096 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12097 (gst_caps_structure_figure_out_union),
12098 (gst_caps_switch_structures), (gst_caps_do_simplify),
12099 (gst_caps_replace), (gst_caps_from_string),
12100 (gst_caps_copy_conditional):
12102 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12103 (_gst_clock_id_free), (gst_clock_id_unref),
12104 (gst_clock_id_compare_func), (gst_clock_id_wait),
12105 (gst_clock_id_wait_async), (gst_clock_class_init),
12106 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12107 (gst_clock_get_time), (gst_clock_set_time_adjust),
12108 (gst_clock_set_property), (gst_clock_get_property):
12111 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12112 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12114 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12115 (gst_element_requires_clock), (gst_element_provides_clock),
12116 (gst_element_set_clock), (gst_element_clock_wait),
12117 (gst_element_wait), (gst_element_set_time_delay),
12118 (gst_element_is_indexable), (gst_element_add_pad),
12119 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12120 (pad_compare_name), (gst_element_get_static_pad),
12121 (gst_element_request_pad), (gst_element_get_request_pad),
12122 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12123 (gst_element_class_get_pad_template_list),
12124 (gst_element_class_get_pad_template), (gst_element_error_func),
12125 (gst_element_get_random_pad), (gst_element_get_event_masks),
12126 (gst_element_send_event), (gst_element_seek),
12127 (gst_element_get_query_types), (gst_element_query),
12128 (gst_element_get_formats), (gst_element_convert),
12129 (gst_element_is_locked_state), (gst_element_set_locked_state),
12130 (gst_element_sync_state_with_parent), (gst_element_change_state),
12131 (gst_element_finalize), (gst_element_yield),
12132 (gst_element_interrupt), (gst_element_set_scheduler),
12133 (gst_element_get_scheduler), (gst_element_set_loop_function):
12134 * gst/gstelement.h:
12136 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12137 (gst_format_get_by_nick), (gst_format_get_details),
12138 (gst_format_iterate_definitions):
12140 * gst/gstindex.c: (gst_index_gtype_resolver):
12143 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12144 (gst_mem_chunk_free):
12145 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12146 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12147 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12148 (gst_object_dispatch_properties_changed),
12149 (gst_object_set_name_default), (gst_object_set_name),
12150 (gst_object_get_name), (gst_object_set_name_prefix),
12151 (gst_object_get_name_prefix), (gst_object_set_parent),
12152 (gst_object_get_parent), (gst_object_unparent),
12153 (gst_object_check_uniqueness), (gst_object_save_thyself),
12154 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12155 (gst_object_set_property), (gst_object_get_property),
12156 (gst_object_get_path_string):
12158 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12159 (gst_real_pad_init), (gst_real_pad_get_property),
12160 (gst_pad_custom_new), (gst_pad_get_direction),
12161 (gst_pad_set_active), (gst_pad_is_active),
12162 (gst_pad_set_event_function), (gst_pad_is_linked),
12163 (gst_pad_link_free), (gst_pad_link_intersect),
12164 (gst_pad_link_fixate), (gst_pad_set_caps),
12165 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12166 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12167 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12168 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12169 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12170 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12171 (gst_pad_realize), (gst_pad_get_allowed_caps),
12172 (gst_real_pad_dispose), (gst_real_pad_finalize),
12173 (gst_pad_collectv), (gst_pad_collect_valist),
12174 (gst_pad_template_dispose), (gst_pad_template_new),
12175 (gst_pad_get_internal_links):
12177 * gst/gstpipeline.c: (gst_pipeline_dispose),
12178 (gst_pipeline_change_state):
12179 * gst/gstpipeline.h:
12181 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12182 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12183 * gst/gstpluginfeature.h:
12184 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12185 * gst/gstquery.c: (_gst_query_type_initialize),
12186 (gst_query_type_register), (gst_query_type_get_by_nick),
12187 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12189 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12190 * gst/gstscheduler.c: (gst_scheduler_add_element),
12191 (gst_scheduler_factory_create):
12192 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12193 (gst_structure_free), (gst_structure_set_name),
12194 (gst_structure_id_set_value), (gst_structure_set_value),
12195 (gst_structure_set_valist), (gst_structure_remove_field),
12196 (gst_structure_remove_fields),
12197 (gst_structure_remove_fields_valist),
12198 (gst_structure_remove_all_fields), (gst_structure_foreach),
12199 (gst_structure_map_in_place),
12200 (gst_caps_structure_fixate_field_nearest_int),
12201 (gst_caps_structure_fixate_field_nearest_double):
12202 * gst/gststructure.h:
12203 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12204 (gst_system_clock_init), (gst_system_clock_dispose),
12205 (gst_system_clock_async_thread),
12206 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12207 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12208 * gst/gstsystemclock.h:
12209 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12210 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12211 * gst/gsttaginterface.c:
12212 * gst/gstthread.c: (gst_thread_dispose),
12213 (gst_thread_release_children_locks), (gst_thread_change_state),
12214 (gst_thread_main_loop):
12215 * gst/gsttrashstack.h:
12216 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12218 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12219 (gst_element_request_pad), (gst_element_get_pad_from_template),
12220 (gst_element_request_compatible_pad),
12221 (gst_element_get_compatible_pad_filtered),
12222 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12223 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12224 (gst_element_link_many), (gst_element_link),
12225 (gst_element_link_pads), (gst_element_unlink_pads),
12226 (gst_element_unlink_many), (gst_element_unlink),
12227 (gst_pad_can_link_filtered), (gst_pad_can_link),
12228 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12229 (gst_object_default_error), (gst_bin_add_many),
12230 (gst_bin_remove_many), (gst_element_populate_std_props),
12231 (gst_element_class_install_std_props), (gst_buffer_merge),
12232 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12233 (link_fold_func), (gst_pad_proxy_setcaps):
12235 * gst/gstvalue.c: (gst_value_deserialize_string):
12236 * gst/parse/grammar.y:
12237 * gst/schedulers/gstbasicscheduler.c:
12238 (gst_basic_scheduler_cothreaded_chain),
12239 (gst_basic_scheduler_chain_recursive_add),
12240 (gst_basic_scheduler_pad_link):
12241 * gst/schedulers/gstoptimalscheduler.c:
12242 (get_group_schedule_function),
12243 (gst_opt_scheduler_state_transition),
12244 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12245 * libs/gst/bytestream/bytestream.c:
12246 * libs/gst/dataprotocol/dataprotocol.c:
12247 (gst_dp_header_from_buffer):
12250 * tests/threadstate/threadstate2.c: (eos):
12251 * tools/gst-compprep.c: (main):
12252 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12253 (print_pad_info), (print_children_info):
12254 * tools/gst-launch.c: (idle_func), (main):
12255 * tools/gst-md5sum.c: (idle_func), (main):
12256 * tools/gst-xmlinspect.c: (print_element_info):
12257 First THREADED backport attempt, focusing on adding locks and
12258 making sure the API is threadsafe. Needs more work. More docs
12261 2005-02-24 Andy Wingo <wingo@pobox.com>
12263 * tests/bench-complexity.scm:
12264 * tests/complexity.gnuplot: New files, good for running complexity
12267 * tests/Makefile.am:
12268 * tests/complexity.c: New test, sets up N elements, at each level
12269 teeing into M streams per element. Eeeenteresting.
12271 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12272 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12273 running bench-mass_elements.scm.
12275 * tests/bench-mass_elements.scm: New script, runs mass_elements
12276 for various numbers of identities, outputting the results to a
12277 file. Requires guile 1.6. Just for testing.
12279 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12281 * gst/schedulers/fairscheduler.c:
12282 compile with debug disabled
12284 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12287 hunting season on 0.9 is now OPEN