1 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4 Treat a pad alloc with new caps the same as if we were not
5 negotiated, in order to allow a changing upstream output
6 to produce a new format of data.
8 2005-11-29 Edward Hervey <edward@fluendo.com>
10 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11 (gst_base_transform_event), (gst_base_transform_eventfunc):
12 The event virtual method is now properly implemented, with a default
14 Sub classes should call the parent_class event method. They should
15 return FALSE if they had a problem handling the given event, or don't
16 want GstBaseTransform to send that even downstream
17 * gst/elements/gstidentity.c: (gst_identity_class_init),
18 (gst_identity_init), (gst_identity_event),
19 (gst_identity_transform_ip), (gst_identity_set_property),
20 (gst_identity_get_property):
21 * gst/elements/gstidentity.h:
22 Added the single-segment boolean property.
23 If set to TRUE, it will output a single segment of data, starting from
24 0, will eat up all incoming newsegment, and modify the timestamp of the
27 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
29 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
30 Don't ref NULL target pad (#322751). Improve docs.
32 2005-11-29 Michael Smith <msmith@fluendo.com>
34 * gst/gstregistryxml.c: (load_plugin):
35 Don't crash if we failed to load a feature from a plugin.
37 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
39 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
41 use more check API and less GLib API
43 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
46 don't run checks if we don't have check
48 remove the registry when running make torture
49 * docs/gst/gstreamer-sections.txt:
50 remove second multiply
51 * gst/gstqueue.c: (gst_queue_loop):
52 fix a compile warning when disabling debug
54 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
57 Hey! Let's print the pad name if the pointer != NULL instead
58 of when it == NULL :-)
60 2005-11-28 Wim Taymans <wim@fluendo.com>
62 * check/gst/gstutils.c: (GST_START_TEST):
63 Updated check, add some scaling accuracy checking code.
65 * gst/gstutils.c: (gst_util_div128_64),
66 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
67 (gst_util_uint64_scale_int):
68 Fix 6 times faster division code. Optimize for common
69 1/1 and less common X/1 cases.
71 2005-11-28 Wim Taymans <wim@fluendo.com>
73 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
76 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
77 (do_linear_regression), (gst_clock_add_observation):
79 Release lock when the clock cannot be slaved.
80 Catch the case where the regression returned an invalid denominator.
82 * gst/gstutils.c: (gst_util_div128_64_iterate),
83 (gst_util_div128_64), (gst_util_uint64_scale_int64),
84 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
85 Add protentially more performant non-iterative 128/64 divide function
86 that unfortunatly does not work yet.
87 Shortcut the trivial 0/X = 0 case.
88 Remove the warnings on overflow.
90 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
92 * gst/gstplugin.c: (gst_plugin_register_func):
93 everything causing a plugin not to load should be at least a WARNING
95 2005-11-28 Stefan Kost <ensonic@users.sf.net>
97 * docs/random/ensonic/dparams.txt:
98 some TODOs for the next dev cycle
99 * libs/gst/controller/gstcontroller.c:
100 (gst_controlled_property_set_interpolation_mode),
101 (gst_controlled_property_new):
102 * libs/gst/controller/gstcontroller.h:
103 use base type to assign acccessor functions
105 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
108 Oops, that should have been top_srcdir
110 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
113 * check/elements/fdsrc.c: (GST_START_TEST):
114 Use a cmdline define to specify the location of a file to use for
115 testing, to avoid breaking distcheck.
117 2005-11-28 Andy Wingo <wingo@pobox.com>
119 * gst/gstpad.c (fixate_value): Use array functions for arrays.
121 2005-11-28 Edward Hervey <edward@fluendo.com>
123 * tools/gst-launch.c: (main):
124 Clarify the output strings, makes it easier to translate.
127 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
130 don't try and build net if we don't even have <sys/socket.h>
132 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
135 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
136 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
137 Add tests for fdsrc seekability
139 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
140 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
141 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
142 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
143 * gst/elements/gstfdsrc.h:
144 fdsrc should not be a 'live' source.
145 Implement seeking on seekable fd's.
147 * gst/gstquery.c: (gst_query_new_seeking),
148 (gst_query_parse_seeking):
150 Implement SEEKING query functions:
151 *_new_seeking and *_parse_seeking
153 2005-11-27 Stefan Kost <ensonic@users.sf.net>
155 * gst/gstelement.c: (gst_element_dispose):
159 * gst/gststructure.c:
162 * libs/gst/controller/gstcontroller.c:
163 (gst_controlled_property_set_interpolation_mode):
164 * libs/gst/controller/gstcontroller.h:
165 * libs/gst/controller/gstinterpolation.c:
166 (interpolate_none_get_enum_value_array):
167 support controlling enums
169 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
172 Improve documentation for gst_value_union().
175 Change return value for union, intersect and subtract functions
176 from gint to gboolean.
178 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
180 * gst/gstvalue.c: (gst_value_serialize_any_list),
181 (gst_value_transform_any_list_string),
182 (gst_value_deserialize_list), (gst_value_deserialize_array),
183 (gst_value_set_int_range), (gst_value_deserialize_int_range),
184 (gst_value_set_double_range), (gst_value_deserialize_double_range),
185 (gst_value_set_fraction_range_full),
186 (gst_value_deserialize_fraction_range),
187 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
188 (gst_value_deserialize_boolean),
189 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
190 (gst_value_serialize_float), (gst_value_deserialize_float),
191 (gst_string_wrap), (gst_value_deserialize_string),
192 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
193 (gst_value_union_int_range_int_range),
194 (gst_value_intersect_int_range_int_range),
195 (gst_value_intersect_double_range_double_range),
196 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
197 (gst_value_subtract_int_range_int_range),
198 (gst_value_subtract_double_double_range),
199 (gst_value_subtract_double_range_double_range),
200 (gst_value_deserialize_fraction):
202 Use gint, gdouble and gchar in our API instead of int, double and
203 char (and make usage in gstvalue.c more consistent).
205 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
208 * libs/gst/controller/Makefile.am:
209 * libs/gst/dataprotocol/Makefile.am:
210 fix up Makefile.am and remove GST_ENABLE_NEW
212 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
216 * gst/base/Makefile.am:
217 * gst/check/Makefile.am:
218 * gst/elements/Makefile.am:
219 * gst/net/Makefile.am:
220 update LDFLAGS use some more
222 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
224 * common/m4/gst-doc.m4:
227 2005-11-26 Edward Hervey <edward@fluendo.com>
229 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
230 This shouldn't issue a g_warning since it returns NULL if it
231 couldn't find the plugin, and all functions using this behave
232 properly on a NULL return. Switching to a GST_WARNING.
234 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
236 * gst/gstbin.c: (gst_bin_handle_message_func):
237 Don't leak clock messages.
239 2005-11-25 Wim Taymans <wim@fluendo.com>
241 * gst/gstutils.c: (gst_util_uint64_scale_int64),
242 (gst_util_uint64_scale_int):
243 Optimisations, remove unneeded vars.
245 2005-11-25 Wim Taymans <wim@fluendo.com>
247 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
248 Added more checks for the high precision uint64 cases.
250 * gst/gstutils.c: (gst_util_uint64_scale_int64),
251 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
252 Implement high precission (guint64 * guint64) / guint64.
254 2005-11-24 Wim Taymans <wim@fluendo.com>
256 * gst/base/gstbasesrc.c: (gst_base_src_query):
257 Fix wrong percentage query.
259 * gst/gstutils.c: (gst_util_uint64_scale),
260 (gst_util_uint64_scale_int):
261 Add some more common cases that can be handled
262 efficiently to _scale.
264 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
266 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
267 (gst_mini_object_suite):
268 don't use check calls from threads; check probably isn't
269 threadsafe and using a lock to make it threadsafe would
270 defeat the purpose of this check
271 * gst/check/gstcheck.c:
272 * gst/check/gstcheck.h:
273 use GST_DEBUG some more
275 2005-11-24 Wim Taymans <wim@fluendo.com>
277 * gst/gstutils.c: (gst_util_uint64_scale),
278 (gst_util_uint64_scale_int):
279 Chain trivial case to _scale_int.
281 2005-11-24 Wim Taymans <wim@fluendo.com>
283 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
284 Added test for scaling.
289 * gst/gstutils.c: (gst_util_uint64_scale_int):
290 Implemented high precision scaling code.
292 2005-11-24 Stefan Kost <ensonic@users.sf.net>
295 do not crash on pad==NULL
297 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
299 Patch by: Stefan Kost
301 * common/gtk-doc.mak:
302 * docs/gst/Makefile.am:
303 * docs/libs/Makefile.am:
304 Fix distcheck issues for the libraries docs build
307 2005-11-24 Michael Smith <msmith@fluendo.com>
309 * docs/manual/basics-helloworld.xml:
310 Fix bug #315027: memory leak in example code in docs.
312 2005-11-24 Michael Smith <msmith@fluendo.com>
314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
315 Unlock the PREROLL_LOCK in a failure case.
317 2005-11-24 Wim Taymans <wim@fluendo.com>
319 * docs/gst/gstreamer-sections.txt:
320 * gst/base/gstadapter.h:
321 * gst/base/gstbasesink.h:
322 * gst/base/gstbasesrc.h:
323 * gst/base/gstbasetransform.h:
324 * gst/base/gstpushsrc.h:
325 * gst/elements/gstfakesink.h:
326 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
327 * gst/elements/gstfakesrc.h:
328 * gst/elements/gstfilesink.h:
329 * gst/elements/gstfilesrc.h:
332 * gst/gstbuffer.c: (_gst_buffer_copy):
335 * gst/gstchildproxy.c:
338 * gst/gstelementfactory.c:
339 * gst/gstelementfactory.h:
343 * gst/gstinterface.h:
344 * gst/gstminiobject.c:
345 * gst/gstminiobject.h:
348 * gst/gstpadtemplate.h:
350 * gst/gstpluginfeature.h:
355 * gst/gsttagsetter.c:
356 * gst/gsttagsetter.h:
362 * gst/net/gstnetclientclock.c:
363 * gst/net/gstnetclientclock.h:
364 * gst/net/gstnettimepacket.c:
365 * gst/net/gstnettimeprovider.c:
366 * gst/net/gstnettimeprovider.h:
369 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
371 * configure.ac: back to HEAD
373 === release 0.9.6 ===
375 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
378 releasing 0.9.6, "Always On Time"
380 2005-11-23 Wim Taymans <wim@fluendo.com>
382 * docs/gst/gstreamer-sections.txt:
384 * gst/gsttagsetter.c:
386 * gst/net/gstnetclientclock.c:
387 * gst/net/gstnettimepacket.h:
390 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
392 * docs/faq/using.xml:
393 * docs/libs/tmpl/gstcontrol.sgml:
394 * docs/manual/advanced-dparams.xml:
395 * docs/manual/appendix-checklist.xml:
396 * docs/manual/basics-elements.xml:
397 * docs/pwg/other-source.xml:
398 * docs/random/moving-plugins:
400 * tools/gst-launch.1.in:
401 remove mentions of sinesrc
403 2005-11-23 Michael Smith <msmith@fluendo.com>
405 * docs/gst/gstreamer-sections.txt:
406 Update for new API and API changes.
408 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
410 Documentation typo fix.
411 * gst/net/gstnettimepacket.c:
412 Documentation fixes for arguments.
414 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
416 * gst/gststructure.c: (gst_structure_get_fraction),
417 (gst_structure_parse_value),
418 (gst_structure_fixate_field_nearest_fraction):
419 * gst/gststructure.h:
420 * gst/gstutils.c: (gst_util_uint64_scale_int):
422 * scripts/update-funcnames:
424 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
425 Make gst_structure_fixate_field_nearest_fraction take a numerator
426 and denominator argument instead of a GValue
427 add gst_structure_get_fraction helper function.
429 2005-11-23 Wim Taymans <wim@fluendo.com>
431 * docs/design/part-TODO.txt:
434 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
435 * gst/net/gstnetclientclock.h:
436 Use parent fields for timeout and window_size.
438 2005-11-23 Andy Wingo <wingo@pobox.com>
440 * check/net/gstnetclientclock.c (test_functioning): Adjust to
441 rate_num/rate_denom change.
443 * gst/net/gstnetclientclock.c
444 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
445 OBJECT_LOCK. Don't call add_observation with the lock.
447 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
449 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
451 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
452 deal with rate as a fraction whose numerator and denominator are
454 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
455 master; the other fields are protected by the SLAVE_LOCK.
456 (do_linear_regression): Note that this must be called with the
458 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
459 OBJECT_LOCK. Call set_calibration instead of touching the
461 (gst_clock_set_property, gst_clock_get_property): Protect
462 master/slave parameters with the SLAVE_LOCK.
464 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
465 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
466 note that all of the instance variables that add_observation and
467 the set_master functions use are protected by that lock and not
469 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
471 * gst/gstclock.c (gst_clock_add_observation): No longer requires
472 the caller to take the object lock.
474 2005-11-23 Wim Taymans <wim@fluendo.com>
476 * gst/gsterror.c: (_gst_core_errors_init):
478 Add error for clock stuff.
480 * gst/gstpipeline.c: (gst_pipeline_change_state),
481 (gst_pipeline_set_clock):
482 Post clock error when clock cannot be used in a pipeline.
484 2005-11-23 Stefan Kost <ensonic@users.sf.net>
486 * docs/gst/gstreamer-sections.txt:
487 make two symbols from gstinfo private for the docs
488 * gst/base/gstcollectpads.h:
490 fix doc typos, update docs
492 2005-11-22 Wim Taymans <wim@fluendo.com>
494 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
495 (gst_base_sink_wait), (gst_base_sink_do_sync),
496 (gst_base_sink_handle_event):
497 * gst/base/gstbasesink.h:
498 No need to store the clock, the parent element class already
501 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
502 Updates for clock_set returning a gboolean
504 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
505 (gst_clock_id_wait_async), (gst_clock_class_init),
506 (gst_clock_init), (gst_clock_finalize),
507 (gst_clock_get_internal_time), (gst_clock_get_time),
508 (gst_clock_slave_callback), (gst_clock_set_master),
509 (gst_clock_get_master), (do_linear_regression),
510 (gst_clock_add_observation), (gst_clock_set_property),
511 (gst_clock_get_property):
513 Implement master/slave. When setting a clock as a slave, a
514 periodic timeout is scheduled to sample master and slave times.
515 Then the slave clock is recalibrated to match offset and rate
517 Update logging a bit.
518 Add flag so that a clock can state that is cannot be slaved to
521 * gst/gstelement.c: (gst_element_set_clock):
523 The set clock returns a gboolean for when an element cannot
524 deal with the selected clock in the pipeline.
526 * gst/gstpipeline.c: (gst_pipeline_change_state),
527 (gst_pipeline_set_clock):
529 Handle the case where the selected clock cannot be set on
532 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
533 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
534 (gst_net_client_clock_set_property),
535 (gst_net_client_clock_get_property),
536 (gst_net_client_clock_observe_times):
537 * gst/net/gstnetclientclock.h:
538 Use regression code in GstClock parent, remove duplicated
541 2005-11-22 Michael Smith <msmith@fluendo.com>
543 * gst/gstutils.c: (gst_util_clock_time_scale):
545 * docs/gst/gstreamer-sections.txt:
546 Rename method to have extra underscore.
548 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
550 * gst/elements/Makefile.am:
551 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
552 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
553 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
554 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
555 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
556 * gst/elements/gstfakesrc.h:
557 * gst/gstqueue.c: (queue_leaky_get_type):
558 correctly fix GEnumValues so that nick is the short lowercase
560 * tools/gst-inspect.c: (print_element_properties_info):
561 also show the nick, since it's useful to use from parse_launch
565 2005-11-22 Michael Smith <msmith@fluendo.com>
567 * gst/gstutils.c: (gst_util_clocktime_scale):
569 * docs/gst/gstreamer-sections.txt:
570 Add util method for scaling a clocktime by a fraction. Useful
571 implementation is left as an exercise for the reader.
573 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
575 * gst/gstvalue.c: (gst_value_collect_fraction_range):
576 If needed, allocate storage in the destination value during
579 2005-11-22 Edward Hervey <edward@fluendo.com>
581 * docs/gst/gstreamer-sections.txt:
586 * gst/gstutils.c: (gst_util_set_object_arg):
587 * tools/gst-compprep.c: (main):
588 * tools/gst-inspect.c: (print_element_properties_info):
589 Removed GstURI, closes bug #321061
591 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
593 * check/gst/gststructure.c: (GST_START_TEST):
594 * gst/gststructure.c: (gst_structure_parse_value):
595 Oops, broke automatic string type parsing.
596 Add a test to catch it in future.
598 2005-11-22 Andy Wingo <wingo@pobox.com>
600 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
601 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
602 Actually rename the function implementations. Grr.
604 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
606 * check/gst/capslist.h:
608 * check/gst/gststructure.c: (GST_START_TEST),
609 (gst_structure_suite):
610 Test automatic value type detection in gst_structure_from_string.
611 * gst/gststructure.c: (gst_structure_parse_value):
612 Add fraction as a type we try and guess automatically in
613 caps/structure strings.
615 2005-11-22 Andy Wingo <wingo@pobox.com>
617 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
619 * gst/gsttagsetter.h:
620 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
621 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
622 (gst_tag_setter_add_tag_valist)
623 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
624 _add_values, _add_valist, and _add_valist_values. Since this is an
625 interface the function suffixes should be more explicit so
626 language binding don't end up with element.add_valist ->
627 gst_tag_setter_add_valist, for example. Fixes #322069.
629 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
631 * check/gst/gstcaps.c: (GST_START_TEST):
632 Extend caps string tests to check that a caps to string
633 conversion is reversible and produces the same caps.
635 * gst/gststructure.c: (gst_structure_value_get_generic_type):
636 Output "fraction" as the generic type fraction range, so caps
637 serialisation and deserialisation works.
638 * check/gst/capslist.h:
639 * gst/gstvalue.c: (gst_value_deserialize_fraction):
640 Support 'MIN' and 'MAX' for deserialising fractions.
642 2005-11-22 Andy Wingo <wingo@pobox.com>
644 * gst/gstevent.h (gst_event_new_new_segment)
645 (gst_event_parse_new_segment, gst_event_new_buffer_size)
646 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
647 Renamed from *_newsegment, *_buffersize, *_notarget.
649 * scripts/update-funcnames: New script, performs the changes
652 2005-11-22 Wim Taymans <wim@fluendo.com>
654 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
655 Make sure the GstFlowReturn is returned.
657 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
658 (gst_bus_add_signal_watch):
660 add gst_bus_add_signal_watch_full.
662 * gst/gstplugin.c: (gst_plugin_load_file):
665 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
667 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
668 Block the fakesrc srcpad when we send an event, to avoid
669 contention on the stream_lock causing random test failures.
671 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
673 * check/gst/gstvalue.c: (GST_START_TEST):
674 * gst/gstvalue.c: (gst_value_fraction_subtract):
677 2005-11-22 Stefan Kost <ensonic@users.sf.net>
680 include "gstchildproxy.h"
681 * gst/gstchildproxy.h:
682 * libs/gst/controller/gstcontroller.h:
683 use G_GNUC_NULL_TERMINATED
685 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
687 * check/gst/capslist.h:
688 * check/gst/gstcaps.c: (GST_START_TEST):
689 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
690 * gst/gststructure.c: (gst_structure_parse_range),
691 (gst_structure_fixate_field_nearest_fraction):
692 * gst/gststructure.h:
693 * gst/gstvalue.c: (gst_value_init_fraction_range),
694 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
695 (gst_value_collect_fraction_range),
696 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
697 (gst_value_set_fraction_range_full),
698 (gst_value_get_fraction_range_min),
699 (gst_value_get_fraction_range_max),
700 (gst_value_serialize_fraction_range),
701 (gst_value_transform_fraction_range_string),
702 (gst_value_compare_fraction_range),
703 (gst_value_deserialize_fraction_range),
704 (gst_value_intersect_fraction_fraction_range),
705 (gst_value_intersect_fraction_range_fraction_range),
706 (gst_value_subtract_fraction_fraction_range),
707 (gst_value_subtract_fraction_range_fraction),
708 (gst_value_subtract_fraction_range_fraction_range),
709 (gst_value_collect_fraction), (gst_value_fraction_multiply),
710 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
711 (gst_value_transform_string_fraction), (_gst_value_initialize):
713 Implement fraction ranges and extend GstFraction to support
714 arithmetic subtraction, as well as deserialization from integer
715 strings such as "100"
716 Add a testsuite as for int and double range set operations
718 2005-11-21 Andy Wingo <wingo@pobox.com>
722 * gst/gststructure.h: Add glib-compat.h.
724 2005-11-21 Wim Taymans <wim@fluendo.com>
726 * gst/gstbin.c: (gst_bin_change_state_func):
729 2005-11-21 Wim Taymans <wim@fluendo.com>
732 And add a nice define too.
734 2005-11-21 Wim Taymans <wim@fluendo.com>
736 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
737 (gst_segment_new), (gst_segment_free), (gst_segment_init),
738 (gst_segment_set_duration), (gst_segment_set_last_stop),
739 (gst_segment_set_seek), (gst_segment_set_newsegment),
740 (gst_segment_to_stream_time), (gst_segment_to_running_time),
743 Make binding friendly.
745 2005-11-21 Andy Wingo <wingo@pobox.com>
747 * gst/gsttagsetter.h:
749 * gst/gststructure.h:
751 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
754 * gst/gsterror.c (_gst_core_errors_init):
755 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
758 * gst/Makefile.am (gst_headers): Add glib-compat.h.
759 (noinst_HEADERS): noinst the -private.
761 2005-11-21 Michael Smith <msmith@fluendo.com>
765 Remove unimplemented declarations for which we can see no sensible
768 2005-11-21 Andy Wingo <wingo@pobox.com>
770 * gst/gst.h: Include glib-compat.h.
772 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
774 * gst/glib-compat.c: Include the public and the private header.
776 * gst/glib-compat-private.h: Copied here from glib-compat.h.
780 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
782 * check/gst/gstevent.c (create_custom_events): Check that
783 FLUSH_STOP is serialized.
785 * check/elements/identity.c (event_func):
786 * check/elements/fakesrc.c (event_func): No stream lock, the core
789 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
790 stream lock taking, yay.
792 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
793 ensure that core takes the stream lock.
795 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
798 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
799 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
800 it already. For the flush start we do take it though so we get the
801 right preroll state change messages.
803 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
804 the stream lock here, the core does it for us.
806 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
808 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
809 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
810 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
811 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
812 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
813 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
815 * gst/gstpad.c: Update for stream lock name change.
817 * gst/base/gstbasesink.c: Update for preroll lock name change.
819 2005-11-21 Wim Taymans <wim@fluendo.com>
821 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
822 (gst_clock_get_master):
824 * gst/gstsystemclock.c: (gst_system_clock_init):
825 Convert Clock flags to object flags.
826 Added methods to manage master/slave clocks.
828 2005-11-21 Wim Taymans <wim@fluendo.com>
830 * check/gst/gstsegment.c: (GST_START_TEST):
831 * docs/design/part-TODO.txt:
832 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
833 (gst_base_sink_event), (gst_base_sink_do_sync),
834 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
835 (gst_base_sink_query), (gst_base_sink_change_state):
836 * gst/base/gstbasesink.h:
837 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
838 (gst_base_src_default_newsegment),
839 (gst_base_src_configure_segment), (gst_base_src_do_seek),
840 (gst_base_src_get_range), (gst_base_src_loop),
841 (gst_base_src_change_state):
842 * gst/base/gstbasesrc.h:
843 * gst/base/gstbasetransform.c:
844 (gst_base_transform_prepare_output_buf),
845 (gst_base_transform_event), (gst_base_transform_change_state):
846 * gst/base/gstbasetransform.h:
847 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
848 (gst_collect_pads_event):
849 * gst/base/gstcollectpads.h:
850 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
851 (gst_fake_src_create):
852 * gst/elements/gstfakesrc.h:
853 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
854 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
855 (gst_segment_set_last_stop), (gst_segment_set_seek),
856 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
857 (gst_segment_to_running_time), (gst_segment_clip):
859 More segment updates, replace code in plugins with segment
862 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
864 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
865 Don't ignore sscanf results
867 2005-11-21 Andy Wingo <wingo@pobox.com>
869 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
872 * *.c: Ran scripts/update-macros. Oh yes.
874 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
875 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
878 * scripts/update-macros: New script. Run it on your files to
879 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
882 2005-11-21 Stefan Kost <ensonic@users.sf.net>
884 * docs/gst/Makefile.am:
885 * docs/gst/gstreamer-docs.sgml:
886 * docs/gst/gstreamer-sections.txt:
887 * docs/gst/gstreamer.types:
889 more docs fixes, add new api to the docs
891 2005-11-21 Andy Wingo <wingo@pobox.com>
893 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
894 state_broadcast call.
896 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
898 2005-11-21 Julien MOUTTE <julien@moutte.net>
900 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
901 function calls for arrays.
903 2005-11-21 Stefan Kost <ensonic@users.sf.net>
905 * docs/random/ensonic/media-device-daemon.txt:
906 wild idea, can this be done?
907 * docs/gst/gstreamer-sections.txt:
912 * gst/gstpluginfeature.c:
916 doc fixes and additions
918 2005-11-21 Andy Wingo <wingo@pobox.com>
920 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
921 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
922 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
923 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
924 private to the basesrc implementation.
926 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
927 behalf of event function if necessary. It should no longer be
928 necessary to take the stream lock in pad's event functions. Fixes
931 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
932 * docs/gst/gstreamer-sections.txt:
933 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
934 (gst_structure_fixate_field_nearest_double),
935 (gst_structure_fixate_field_boolean):
936 * gst/gststructure.h:
937 * win32/common/libgstreamer.def:
938 * win32/gstreamer.def:
940 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
943 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
945 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
946 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
947 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
948 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
949 (gst_fdsrc_uri_handler_init):
950 * gst/elements/gstfdsrc.h:
951 Port fd:// URI handler from 0.8 to fdsrc
953 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
955 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
956 (gst_value_serialize_fourcc):
958 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
959 consistent with our other format defines (#320324).
961 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
963 * gst/gstvalue.c: (gst_value_is_fixed):
964 Revert previous commit. Value lists are by definition
965 not fixed, as they are a list of possible values.
967 2005-11-21 Andy Wingo <wingo@pobox.com>
969 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
970 during the stable series if we need it. Fixes #319178.
972 * gst/gstevent.c (gst_event_new_filler): Removed.
974 * check/gst/gstevent.c: Update comment about filler events.
976 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
978 * gst/gstvalue.c: (gst_value_is_fixed):
979 Should handle both value arrays and value lists.
981 2005-11-21 Andy Wingo <wingo@pobox.com>
983 patch by: Alessandro Dessina <alessandro nnva org>
985 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
986 functions to access arrays. Fixes #321962.
988 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
990 * docs/gst/gstreamer.types:
991 gst_collectpads_get_type => gst_collect_pads_get_type.
993 * gst/base/gstbasetransform.c:
994 Remove unused SIGNAL_HANDOFF enum.
996 2005-11-21 Andy Wingo <wingo@pobox.com>
998 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
999 the event type (upstream, downstream, serialized). Renamed
1000 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1001 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1002 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1004 * gst/gstevent.c: Update for new CUSTOM event names.
1006 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1009 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1012 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1014 * docs/gst/gstreamer-sections.txt:
1015 * win32/common/libgstbase.def:
1016 * win32/libgstbase.def:
1017 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1018 (gst_collect_pads_class_init), (gst_collect_pads_init),
1019 (gst_collect_pads_finalize), (gst_collect_pads_new),
1020 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1021 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1022 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1023 (gst_collect_pads_start), (gst_collect_pads_stop),
1024 (gst_collect_pads_peek), (gst_collect_pads_pop),
1025 (gst_collect_pads_available), (gst_collect_pads_read),
1026 (gst_collect_pads_flush), (gst_collect_pads_event),
1027 (gst_collect_pads_chain):
1028 * gst/base/gstcollectpads.h:
1029 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1030 unimplemented functions as unimplemented. Add padding to
1031 GstCollectData. (#320766, #320423)
1033 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1036 Improve docs for DURATION message (usage of duration parameter)
1039 2005-11-20 Wim Taymans <wim@fluendo.com>
1041 * check/Makefile.am:
1042 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1046 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1047 (gst_segment_set_seek), (gst_segment_set_newsegment),
1048 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1051 Added segment helper structure and methods. Not fully implemented
1053 Added segment check.
1055 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1057 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1058 Add a deserialisation test for fractions
1059 * examples/metadata/read-metadata.c: (message_loop),
1060 (make_pipeline), (main):
1061 Fix up metadata reading sample.
1062 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1064 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1065 Don't try and fixate empty caps
1066 * gst/gst_private.h:
1067 Wrap in G_BEGIN_DECLS/G_END_DECLS
1068 * gst/gstvalue.c: (gst_value_collect_fraction),
1069 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1070 (gst_value_transform_string_fraction),
1071 (gst_value_compare_fraction):
1072 Add some extra guards to ensure that we don't end up
1073 with an invalid denominator of 0 in a gstfraction and
1074 that fractions always get reduced.
1076 2005-11-20 Wim Taymans <wim@fluendo.com>
1078 * docs/gst/gstreamer-sections.txt:
1089 2005-11-20 Wim Taymans <wim@fluendo.com>
1091 * docs/design/part-TODO.txt:
1093 Make a proper enum of the flag.
1095 2005-11-19 Wim Taymans <wim@fluendo.com>
1097 * docs/design/part-TODO.txt:
1098 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1099 (gst_format_to_quark), (gst_format_register):
1101 * gst/gstquery.c: (_gst_query_initialize),
1102 (gst_query_type_get_name), (gst_query_type_to_quark),
1103 (gst_query_type_register):
1105 Add type to quark and type to string conversions.
1107 2005-11-19 Andy Wingo <wingo@pobox.com>
1109 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1112 2005-11-19 Wim Taymans <wim@fluendo.com>
1114 * docs/design/part-TODO.txt:
1115 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1116 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1117 (gst_bin_handle_message_func):
1119 Make message handling overridable.
1121 2005-11-19 Andy Wingo <wingo@pobox.com>
1123 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1126 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1128 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1129 is a GstClockTime. Fixes #321710.
1131 * gst/gstclock.h (GstClock): Remove offset property. Add
1132 internal_calibration and external_calibration. Fix padding. Pad
1133 also by GstClockTime so we don't run into problems.
1135 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1136 (gst_clock_get_rate_offset): Remove.
1137 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1140 * gst/gstutils.c (g_static_rec_cond_wait)
1141 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1143 * gst/gstbin.c: Remove terrible continue_state prototype.
1145 * gst/gstelement.h (gst_element_continue_state): Make public.
1148 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1149 by continue_state. Fixes #319389.
1151 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1152 Really fixes #168438. However I don't see anywhere where the
1153 filter function is called... stupid GStreamer...
1155 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1156 don't have a dispose function, so it won't get called when the
1157 object is unreffed, but oh well!
1159 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1160 allows a destroy function to be set so user_data can be freed.
1162 (gst_index_set_filter): Call gst_index_set_filter_full.
1164 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1166 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1167 string should produce an error, given the lack of a way to
1168 represent NULL strings. Fixes #165650.
1171 * gst/gstvalue.c (gst_value_array_append_value)
1172 (gst_value_array_prepend_value, gst_value_array_get_size)
1173 (gst_value_array_get_value): New API, copied from
1174 gst_value_list_*, only operates on arrays.
1175 (gst_value_list_append_value, gst_value_list_prepend_value)
1176 (gst_value_list_concat, gst_value_list_get_size)
1177 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1179 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1180 init_list, because it works on both.
1181 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1182 (gst_value_copy_list_or_array): Renamed from copy_list.
1183 (gst_value_free_list_or_array): Renamed from free_list.
1184 (gst_value_collect_list_or_array): Renamed from collect_list.
1185 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1186 (gst_value_list_or_array_peek_pointer): Renamed from
1188 (_gst_value_array_value_table, _gst_value_list_value_table):
1189 Update value table functions.
1190 (gst_value_compare_list_or_array): Renamed from compare_list.
1192 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1196 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1197 GstTagList*. Fixes #143472.
1199 * gst/gststructure.h: Clarify what the foreach/map functions can
1200 or can't do to their arguments.
1202 2005-11-18 Wim Taymans <wim@fluendo.com>
1204 * gst/gstclock.c: (gst_clock_set_calibration),
1205 (gst_clock_get_calibration):
1207 Calibration can be set with internal time equal to current
1210 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1216 2005-11-18 Andy Wingo <wingo@pobox.com>
1219 * pkgconfig/gstreamer-net.pc.in:
1220 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1221 * pkgconfig/Makefile.am: Add net pkgconfig files.
1223 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1226 * gst/gstghostpad.c:
1232 2005-11-18 Andy Wingo <wingo@pobox.com>
1234 * gst/net/gstnetclientclock.c: Turn off debugging.
1236 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1237 times connverge somewhat. Can't make a real test.
1239 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1240 integer arithmetic. Return the minimum of the domain, which can be
1241 set as "internal" for gst_clock_set_calibration.
1242 (gst_net_client_clock_observe_times): Call _set_calibration.
1243 (gst_net_client_clock_new): Call _set_calibration instead of
1246 * check/net/gstnetclientclock.c (test_functioning): Use the right
1250 * gst/gstclock.c (gst_clock_get_calibration)
1251 (gst_clock_set_calibration): New functions, obsolete the ones I
1252 added yesterday. Doh. Precision issues mean we have to extrapolate
1253 from a point in the more recent past than 1970.
1254 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1256 (gst_clock_adjust_unlocked): Use the right calibration data.
1258 2005-11-18 Edward Hervey <edward@fluendo.com>
1260 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1261 Also reset the ->current_* values in READY->PAUSED
1263 2005-11-18 Andy Wingo <wingo@pobox.com>
1265 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1266 Whoops, check the right fd. Also add some debugging.
1267 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1268 (do_linear_regression): Add a crapload of debugging. Subtract off
1269 the minimum values from the input series to discard unneeded bits.
1270 Use only int arithmetic. There is still double arithmetic when
1271 calculating the intercept that needs fixing. Return boolean to
1272 indicate success; FALSE would mean the domain or range is too
1273 great. Still needs fixes.
1275 2005-11-18 Wim Taymans <wim@fluendo.com>
1277 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1278 For the current position in stream time, we need to subtract
1281 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1282 Release lock before calling the callback function of async
1285 2005-11-18 Andy Wingo <wingo@pobox.com>
1287 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1288 Port goes all the way to MAXUINT16.
1290 * gst/net/gstnettimeprovider.c: Make the port range the same as
1291 for the kernel: 0 assigns, otherwise ports are less than
1294 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1297 * check/net/gstnetclientclock.c (test_functioning): Add the start
1300 2005-11-18 Wim Taymans <wim@fluendo.com>
1302 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1303 (gst_bin_remove_func), (bin_bus_handler):
1305 Removing a clock provider from a bin, triggers a clock lost message
1306 so that a new clock will be selected.
1307 Adding a clock to a bin triggers a clock provider message.
1308 Make sure we reselect a clock when we received a clock lost message.
1309 Keep a reference to the element that provided the clock.
1311 2005-11-18 Andy Wingo <wingo@pobox.com>
1313 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1314 the clock initially so it produces values around the base time.
1315 (gst_net_client_clock_class_init): Typo fix.
1316 (gst_net_client_clock_thread): Add note on when the socket gets
1319 2005-11-17 Wim Taymans <wim@fluendo.com>
1321 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1322 Free remote and local time arrays.
1324 2005-11-17 Wim Taymans <wim@fluendo.com>
1326 * gst/net/gstnetclientclock.c: (do_linear_regression),
1327 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1328 Fix compilation, uninitialized vars and a forgotten continue.
1330 2005-11-17 Andy Wingo <wingo@pobox.com>
1332 * check/Makefile.am (check_PROGRAMS):
1333 * check/net/gstnetclientclock.c: Add a most minimal test for the
1334 net client clock. More to come later.
1337 * gst/net/Makefile.am: Add netclientclock.
1339 * gst/net/gstnetclientclock.h:
1340 * gst/net/gstnetclientclock.c: New files, implement an untested
1341 GstClock that takes its time from a network time provider.
1342 Implements the algorithm in network-clock.scm.
1344 * tests/network-clock.scm (*window-size*): Rename from
1346 * tests/network-clock.scm (network-time):
1347 * tests/network-clock-utils.scm (q-push): Update callers.
1349 2005-11-17 Wim Taymans <wim@fluendo.com>
1351 * gst/gstbin.c: (gst_bin_provide_clock_func),
1352 (gst_bin_sort_iterator_new):
1353 And unref the child too..
1355 2005-11-17 Wim Taymans <wim@fluendo.com>
1357 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1358 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1359 Refactor the sort iterator so it can be used while holding the
1361 Make clock selection select a clock closest to the source.
1363 2005-11-17 Michael Smith <msmith@fluendo.com>
1365 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1366 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1368 Anonymous structs are a gcc (and some other compilers) extension, so
1369 don't use them. Since this is only for ABI-compatibility, and our
1370 API/ABI freeze is over in a few days, this whole thing will only
1371 last a few days, so don't bother trying to think up a meaningful
1372 name for the struct.
1374 2005-11-17 Andy Wingo <wingo@pobox.com>
1376 * gst/gstclock.h (GstClock): Add rate and offset properties,
1377 preserving ABI stability. Add rate/offset accessors. Will file bug
1378 for the freeze break.
1380 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1381 and offset, trying to keep precision and avoiding
1383 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1384 functions. Make gst_clock_set_time_adjust obsolete.
1385 (gst_clock_set_time_adjust): Note that this function is obsolete.
1388 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1389 greppable by using GST_PADDING-1+1.
1391 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1393 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1395 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1396 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1398 * gst/gstpadtemplate.h:
1399 * gst/gstpluginfeature.h:
1400 Don't use c++ style comments in headers (#321638).
1402 2005-11-16 Andy Wingo <wingo@pobox.com>
1404 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1407 * check/net/gstnettimeprovider.c: Check to see that the time
1408 provider actually provides times. Works, yo!
1410 2005-11-16 Wim Taymans <wim@fluendo.com>
1412 * check/Makefile.am:
1415 * check/elements/fakesrc.c: (GST_START_TEST):
1416 Set element to NULL before disposing it.
1418 2005-11-16 Andy Wingo <wingo@pobox.com>
1420 * gst/net/Makefile.am:
1422 * gst/net/gstnettimeprovider.c:
1423 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1424 provider, include it from gstnet.h, and add it to the build.
1426 * gst/net/gstnettimepacket.h:
1427 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1428 sending and receiving.
1430 2005-11-16 Wim Taymans <wim@fluendo.com>
1432 * check/Makefile.am:
1433 Enable valgrind check.
1435 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1436 (gst_fake_src_alloc_buffer):
1439 2005-11-16 Wim Taymans <wim@fluendo.com>
1441 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1442 Call parent finalize too.
1444 2005-11-16 Wim Taymans <wim@fluendo.com>
1446 * check/Makefile.am:
1447 Enable valgrind check that should work fine now.
1449 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1450 * gst/gstqueue.c: (gst_queue_init):
1451 Fix memleaks in pad allocation.
1453 2005-11-16 Andy Wingo <wingo@pobox.com>
1455 * gst/net/Makefile.am:
1456 * gst/net/gstnet.h: New part of core to hold network elements and
1457 objects. Put in core because it exposes API that applications want
1458 to use. The library is named libgstnet-tempname right now because
1459 of the existing libgstnet in gst-plugins-base. Solution is
1460 probably to rename the one in plugins-base; will file a bug for
1463 * gst/net/gstnettimeprovider.c:
1464 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1465 get_time call over the network.
1468 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1470 * check/Makefile.am:
1471 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1472 get additions shortly.
1474 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1476 * gst/gstpad.c: (gst_pad_new_from_static_template):
1478 add gst_pad_new_from_static_template functions
1479 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1480 (gst_check_setup_sink_pad):
1481 * gst/elements/gsttee.c: (gst_tee_init):
1484 2005-11-16 Wim Taymans <wim@fluendo.com>
1486 * gst/gstpad.c: (gst_pad_pause_task):
1487 Removed warning, it's not really an error either.
1489 2005-11-16 Wim Taymans <wim@fluendo.com>
1491 * gst/base/gstbasetransform.c:
1492 (gst_base_transform_prepare_output_buf),
1493 (gst_base_transform_event):
1494 Check if the caps are NULL, this can happen if the element
1495 is shutting down and the pad caps are set to NULL.
1497 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1499 * gst/elements/gsttee.c: (gst_tee_init):
1500 fix pad template leak in tee
1502 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1504 * gst/glib-compat.c: (g_value_dup_gst_object):
1505 * gst/glib-compat.h:
1506 * gst/gstpad.c: (gst_pad_set_property):
1507 use gst_object_ref when setting the pad template; this will
1508 trigger the pad template leaks on GLib 2.6 and the slaves
1510 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1512 * gst/glib-compat.c: (gst_flags_get_first_value):
1513 * gst/glib-compat.h:
1514 * gst/gstregistryxml.c:
1515 remove functions copied from GLib 2.6
1517 2005-11-16 Michael Smith <msmith@fluendo.com>
1520 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1521 do, but only breaks with newer valgrind versions. We're not a
1522 valgrind tool, we have no link-time dependencies on libcoregrind.
1524 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1526 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1531 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1533 * gst/base/gstbasesrc.c: (gst_base_src_init):
1534 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1535 * gst/gstqueue.c: (gst_queue_init):
1536 * gst/gstregistryxml.c: (load_feature):
1537 Revert all these unrefs, they don't even pass make check !
1539 2005-11-15 Johan Dahlin <johan@gnome.org>
1541 * gst/base/gstbasesrc.c: (gst_base_src_init):
1542 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1543 * gst/gstqueue.c: (gst_queue_init):
1544 Free pad templates, fixes a couple of leaks.
1546 2005-11-15 Daniel Fischer <dan at f3c dot com>
1548 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1550 * gst/gstpad.c: (gst_pad_get_property):
1551 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1552 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1555 2005-11-15 Wim Taymans <wim@fluendo.com>
1560 2005-11-15 Andy Wingo <wingo@pobox.com>
1562 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1564 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1565 using GST_CLOCK_TIME_NONE to disable base time management.
1566 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1567 time if it was NONE before.
1568 (gst_pipeline_change_state): Only munge the base time if
1569 stream_time != GST_CLOCK_TIME_NONE.
1571 * check/gst/gstpipeline.c (test_base_time): Punt around the
1572 problem of the probe not being called, because that's not the
1573 issue I'm looking at. Add a check that setting stream_time to NONE
1574 disables base time management.
1576 2005-11-15 Wim Taymans <wim@fluendo.com>
1578 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1579 segment_stop == -1 at startup.
1581 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1582 (gst_base_transform_change_state):
1583 Init segment values at start.
1585 2005-11-15 Wim Taymans <wim@fluendo.com>
1587 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1588 0 segment values are 0 in any format.
1590 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1591 * gst/base/gstbasetransform.h:
1592 Parse newsegment correctly in basetransform
1594 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1595 Sync to clock using updated segment values.
1597 2005-11-15 Andy Wingo <wingo@pobox.com>
1599 * check/gst/gstpipeline.c (test_base_time): Add check that the
1600 base time and stream time are reset correctly.
1602 2005-11-15 Wim Taymans <wim@fluendo.com>
1604 * docs/design/part-TODO.txt:
1605 Some more TODO items.
1607 2005-11-15 Andy Wingo <wingo@pobox.com>
1609 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1610 error if the user selected "no clock" as the clocking method.
1612 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1613 timestamps with live capture.
1615 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1616 is 0 but we are a live source, timestamp the buffers using the
1619 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1621 * docs/gst/gstreamer-sections.txt:
1623 * gst/gstghostpad.c:
1628 2005-11-14 Wim Taymans <wim@fluendo.com>
1631 add suppressions from Wim's Debian machine
1633 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1636 add suppressions from Andy's AMD64 Ubuntu machine
1638 2005-11-14 Andy Wingo <wingo@pobox.com>
1640 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1641 STATE_LOCK not necessary. Fixes #311489.
1643 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1646 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1647 this function is not implemented.
1649 2005-11-14 Julien MOUTTE <julien@moutte.net>
1651 * gst/base/gstbasetransform.c:
1652 (gst_base_transform_prepare_output_buf):
1653 Ref the source pad caps while we need them.
1656 2005-11-11 Wim Taymans <wim@fluendo.com>
1658 * docs/gst/gstreamer-sections.txt:
1659 Added some docs for GstCollectData.
1661 * gst/base/gstadapter.c:
1662 Some small code example fix.
1664 * gst/base/gstcollectpads.c:
1665 * gst/base/gstcollectpads.h:
1668 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1670 * configure.ac: back to HEAD
1672 === release 0.9.5 ===
1674 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1677 releasing 0.9.5, "Bike Lunch Day"
1679 2005-11-11 Wim Taymans <wim@fluendo.com>
1681 * gst/gstbuffer.c: (_gst_buffer_copy):
1684 * gst/gstcaps.c: (gst_caps_is_equal):
1686 Make _is_equal fast in the trivial cases.
1688 * gst/gstminiobject.c:
1689 * gst/gstminiobject.h:
1690 More docs. Spifify .h file.
1695 2005-11-11 Wim Taymans <wim@fluendo.com>
1697 * gst/base/gstbasetransform.c:
1698 (gst_base_transform_prepare_output_buf),
1699 (gst_base_transform_handle_buffer):
1701 If we're processing a buffer and need to allocate an output
1702 buffer, we cannot accept a format change. If we did get a
1703 format change, we have to alloc a buffer ourselves of the
1706 2005-11-11 Wim Taymans <wim@fluendo.com>
1708 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1709 While checking the flag for reentrancy in the gstcaps function
1710 is nice to detect recursive invocations, it also makes it
1711 impossible to call getcaps from multiple threads, which must be
1712 possible. So, checking for recursive calls has to go.
1714 2005-11-11 Michael Smith <msmith@fluendo.com>
1716 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1717 Don't sync on buffers that fall partially outside our current
1718 segment. Prevents an assertion failure/abort playing some files.
1720 2005-11-10 Andy Wingo <wingo@pobox.com>
1722 * check/gst/gstbin.c (test_message_state_changed_children): Style
1725 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1726 gst_bus_poll with the signal watch. Ensures that poll and a signal
1727 watch see the same messages.
1729 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1730 a poll and a watch at the same time get the same messages.
1732 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1734 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1735 * gst/gstcaps.c: (gst_caps_intersect):
1736 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1737 and it's not needed.
1739 2005-11-10 Wim Taymans <wim@fluendo.com>
1741 * docs/design/part-TODO.txt:
1744 2005-11-10 Wim Taymans <wim@fluendo.com>
1746 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1747 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1748 (gst_base_src_do_sync), (gst_base_src_get_range):
1749 Implement clock sync in base class.
1751 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1753 patch by: Tim-Philipp Müller <tim at centricular dot net>
1755 * gst/gststructure.c: (gst_structure_parse_field),
1756 (gst_structure_from_string):
1757 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1758 so that gst_parse_launch() can deal with spaces in filtered link
1759 caps (fixes #164479)
1760 * check/gst/capslist.h:
1761 * check/gst/gststructure.c: (GST_START_TEST):
1762 add unit tests for this change
1764 2005-11-10 Wim Taymans <wim@fluendo.com>
1766 * docs/gst/gstreamer-sections.txt:
1769 Fix docs, move some STATE macros to private.
1771 2005-11-10 Wim Taymans <wim@fluendo.com>
1773 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1774 Added check for bug #317341
1778 Some more spiffifying.
1780 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1781 Call peer linkfunction if we are a source pad. Totally fixes
1785 Update docs, source pads should call the peer linkfunction
1786 so they can atomically perform the pad link.
1788 2005-11-09 Wim Taymans <wim@fluendo.com>
1792 Uber-spiffy-spiffify some more.
1794 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1796 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1797 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1798 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1799 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1800 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1801 * gst/gstpad.c: (gst_pad_init):
1802 Use GST_DEBUG_FUNCPTR() more extensively.
1804 2005-11-09 Wim Taymans <wim@fluendo.com>
1806 * gst/gstobject.c: (gst_object_class_init):
1808 Documentation fixes.
1810 2005-11-09 Edward Hervey <edward@fluendo.com>
1812 * gst/gsttypefindfactory.c:
1815 2005-11-09 Edward Hervey <edward@fluendo.com>
1817 * gst/base/gsttypefindhelper.c:
1818 * gst/gsttypefind.c:
1819 * gst/gsttypefind.h:
1822 2005-11-09 Wim Taymans <wim@fluendo.com>
1824 * gst/gstiterator.c:
1831 2005-11-09 Wim Taymans <wim@fluendo.com>
1837 2005-11-09 Wim Taymans <wim@fluendo.com>
1839 * docs/gst/gstreamer-sections.txt:
1840 Moved the message async delivery private lock and cond
1841 to the private section.
1847 2005-11-09 Edward Hervey <edward@fluendo.com>
1849 * docs/gst/gstreamer-sections.txt:
1852 Document GstURIHandler
1854 2005-11-09 Wim Taymans <wim@fluendo.com>
1856 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1857 (gst_iterator_find_custom):
1858 * gst/gstiterator.h:
1861 2005-11-09 Wim Taymans <wim@fluendo.com>
1864 Document another field.
1866 * gst/gststructure.c:
1867 * gst/gststructure.h:
1870 2005-11-09 Wim Taymans <wim@fluendo.com>
1875 2005-11-09 Wim Taymans <wim@fluendo.com>
1877 * docs/gst/gstreamer-sections.txt:
1878 Added some new macros.
1885 2005-11-09 Wim Taymans <wim@fluendo.com>
1887 * docs/design/part-TODO.txt:
1888 Some more items for the TODO
1894 2005-11-09 Andy Wingo <wingo@pobox.com>
1896 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1897 to work on something else now tho...
1899 * gst/base/gstadapter.c: More adapter docs.
1901 * gst/elements/gstfilesink.c (gst_file_sink_start)
1902 (gst_file_sink_stop): New functions, replace the state change
1904 (gst_file_sink_class_init): Hook up the start and stop functions.
1905 (gst_file_sink_base_init): Don't set the state change handler any
1906 more. It was a bit ugly too, being set from here...
1907 (gst_file_sink_get_property, gst_file_sink_set_property):
1909 (gst_file_sink_set_location): More robust check that doesn't call
1912 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1914 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1915 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1917 2005-11-08 Wim Taymans <wim@fluendo.com>
1919 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1920 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1921 (gst_base_sink_chain), (gst_base_sink_change_state):
1922 * gst/base/gstbasesink.h:
1923 * gst/base/gstbasesrc.h:
1926 Avoid excessive typechecking in macros.
1928 * gst/gstminiobject.c: (gst_mini_object_get_type),
1929 (gst_mini_object_init), (gst_mini_object_new),
1930 (gst_mini_object_free):
1931 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1932 (gst_object_finalize):
1933 Remove cruft code, optimize alloc_trace.
1935 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1937 * docs/faq/gst-uninstalled:
1938 fix up PS1 for systems that try to reset it
1940 2005-11-07 Wim Taymans <wim@fluendo.com>
1942 * gst/base/gstbasesrc.c: (gst_base_src_init),
1943 (gst_base_src_get_range):
1944 Set the segment_end to -1 initially. Fixed typefind.
1946 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1948 * gst/base/gstadapter.c:
1949 Debug category should be 'adapter', not 'GstAdapter'.
1951 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1952 (gst_collectpads_class_init), (gst_collectpads_init),
1953 (gst_collectpads_peek), (gst_collectpads_pop),
1954 (gst_collectpads_event), (gst_collectpads_chain):
1955 Add debug category and some debugging output. Use boilerplate
1956 macros. Remove some extraneous words from docs.
1958 2005-11-05 Andy Wingo <wingo@pobox.com>
1960 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1963 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1965 * docs/gst/gstreamer-sections.txt:
1968 * gst/gstminiobject.h:
1973 2005-11-04 Wim Taymans <wim@fluendo.com>
1975 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1976 Small update to stop at the configured segment_end
1979 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1981 * gst/gstregistry.c:
1982 * gst/gstregistry.h:
1985 2005-11-04 Edward Hervey <edward@fluendo.com>
1987 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1988 Check if we are doing a segment seek and have arrived at the
1989 end of that segment.
1991 2005-11-04 Wim Taymans <wim@fluendo.com>
1993 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1994 Don't leak a mutex unlock in case of an error.
1999 2005-11-04 Wim Taymans <wim@fluendo.com>
2001 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2003 Get the context to wake up only once.
2005 2005-11-03 Wim Taymans <wim@fluendo.com>
2007 * check/states/sinks.c: (GST_START_TEST):
2008 Uncomment fixed check.
2010 * docs/design/part-TODO.txt:
2013 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2014 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2015 (gst_base_sink_get_position):
2016 If we are going to PLAYING, post the right pending state
2017 when we post the intermediate paused message.
2019 * gst/gstelement.c: (gst_element_continue_state),
2020 (gst_element_set_state_func), (gst_element_change_state):
2021 Don't post state changes that were between the same state
2024 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2026 * docs/gst/gstreamer-sections.txt:
2029 * gst/gstminiobject.h:
2032 more docs and doc style fixes
2034 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2036 * docs/gst/gstreamer-sections.txt:
2038 * gst/gstminiobject.c:
2041 2005-11-03 Andy Wingo <wingo@pobox.com>
2043 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2044 state-changed messages actually have the right order and the right
2047 2005-11-03 Wim Taymans <wim@fluendo.com>
2049 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2050 Added some more checks. Specifically the case where NO_PREROLL
2051 elements are in the pipeline.
2053 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2054 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2055 (gst_base_sink_get_position):
2056 Post READY->PAUSED state change messages too.
2057 Fix bug where VOID was posted as pending state...
2059 * gst/gstbin.c: (gst_bin_recalc_state):
2060 use _element_continue_state() to continue the state change.
2062 * gst/gstelement.c: (gst_element_continue_state),
2063 (gst_element_commit_state), (gst_element_set_state_func),
2064 (gst_element_change_state), (gst_element_change_state_func):
2065 Lots of state change cleanups, assign the STATE_RETURN in
2066 a new continue_state() function that also propagates the
2067 last return value from a state change to the app.
2068 Update some debug statements with proper category.
2070 2005-11-03 Wim Taymans <wim@fluendo.com>
2072 * docs/design/part-events.txt:
2073 * docs/design/part-gstpipeline.txt:
2074 * docs/design/part-messages.txt:
2075 * docs/design/part-overview.txt:
2076 * docs/design/part-seeking.txt:
2077 * docs/design/part-states.txt:
2078 * docs/design/part-trickmodes.txt:
2079 * docs/manual/advanced-position.xml:
2083 People think !! is ugly, this looks better.
2085 * gst/gstpad.c: (gst_pad_set_blocked_async):
2086 Remove !! since it's fixed elsewhere now.
2088 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2090 * gst/gstminiobject.h:
2092 Add !! to _FLAG_IS_SET macros to make the result boolean.
2094 2005-11-03 Edward Hervey <edward@fluendo.com>
2096 * gst/gstpad.c: (gst_pad_set_blocked_async):
2097 comparing a flag and a gboolean rarely returns coherent results...
2098 Added two characters (!!) to make that work correctly.
2100 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2102 * gst/gstbus.c: (gst_bus_class_init):
2105 * gst/gstqueue.c: (gst_queue_loop):
2106 Don't assume a miniobject that isn't a buffer is an
2107 event (it could be that there is a refcounting
2108 problem somewhere and the pointer is stale and
2109 refers to an already destroyed miniobject).
2111 2005-11-03 Julien MOUTTE <julien@moutte.net>
2113 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2115 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2117 * docs/manual/advanced-position.xml:
2118 Update seek example and explanations to current 0.9 API.
2120 * gst/elements/gsttypefindelement.c:
2121 (gst_type_find_element_activate):
2122 Remove FIXME comment now that the found caps
2125 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2127 * gst/gstregistryxml.c: (load_feature):
2128 Add another GST_STR_NULL instance
2130 2005-11-02 Edward Hervey <edward@fluendo.com>
2132 * gst/gstpad.c: (handle_pad_block):
2133 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2135 2005-11-02 Wim Taymans <wim@fluendo.com>
2140 * gst/gstelement.c: (gst_element_commit_state):
2141 Remove unused value.
2143 * gst/gstiterator.c:
2144 Mention that the returned element is reffed in the docs.
2146 2005-11-02 Wim Taymans <wim@fluendo.com>
2148 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2149 (gst_pad_push), (gst_pad_push_event):
2150 Unlock blocked pads when they are flushed.
2152 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2155 * docs/gst/gstreamer-sections.txt:
2158 * gst/gstregistry.c: (gst_registry_scan_path_level):
2159 fix for a nasty little missed situation where an installed plug-in
2160 which was in the cache did not get overridden by an uninstalled one
2161 which was earlier in the plugin path because the newly created plugin
2162 for the uninstalled one (not in the registry) didn't get its
2163 ->registered set to TRUE
2165 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2167 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2168 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2169 (gst_collectpads_is_active), (gst_collectpads_collect),
2170 (gst_collectpads_collect_range), (gst_collectpads_start),
2171 (gst_collectpads_stop), (gst_collectpads_peek),
2172 (gst_collectpads_pop), (gst_collectpads_available),
2173 (gst_collectpads_read), (gst_collectpads_flush):
2174 Guard public API with assertions.
2177 Fix docs for gst_pad_set_link_function().
2179 2005-11-02 Johan Dahlin <johan@gnome.org>
2181 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2182 Unref found_caps after we used it.
2184 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2186 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2187 Don't try to ref NULL.
2189 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2191 * win32/common/config.h.in:
2192 provide a GST_FUNCTION that just gives a string for now
2194 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2196 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2197 (gst_object_flags_get_type), (register_gst_bin_flags),
2198 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2199 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2200 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2201 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2202 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2203 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2204 (gst_clock_flags_get_type), (register_gst_state),
2205 (gst_state_get_type), (register_gst_state_change_return),
2206 (gst_state_change_return_get_type), (register_gst_state_change),
2207 (gst_state_change_get_type), (register_gst_element_flags),
2208 (gst_element_flags_get_type), (register_gst_core_error),
2209 (gst_core_error_get_type), (register_gst_library_error),
2210 (gst_library_error_get_type), (register_gst_resource_error),
2211 (gst_resource_error_get_type), (register_gst_stream_error),
2212 (gst_stream_error_get_type), (register_gst_event_type),
2213 (gst_event_type_get_type), (register_gst_seek_type),
2214 (gst_seek_type_get_type), (register_gst_seek_flags),
2215 (gst_seek_flags_get_type), (register_gst_format),
2216 (gst_format_get_type), (register_gst_index_certainty),
2217 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2218 (gst_index_entry_type_get_type),
2219 (register_gst_index_lookup_method),
2220 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2221 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2222 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2223 (gst_index_flags_get_type), (register_gst_debug_level),
2224 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2225 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2226 (gst_iterator_result_get_type), (register_gst_iterator_item),
2227 (gst_iterator_item_get_type), (register_gst_message_type),
2228 (gst_message_type_get_type), (register_gst_mini_object_flags),
2229 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2230 (gst_pad_link_return_get_type), (register_gst_flow_return),
2231 (gst_flow_return_get_type), (register_gst_activate_mode),
2232 (gst_activate_mode_get_type), (register_gst_pad_direction),
2233 (gst_pad_direction_get_type), (register_gst_pad_flags),
2234 (gst_pad_flags_get_type), (register_gst_pad_presence),
2235 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2236 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2237 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2238 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2239 (gst_plugin_flags_get_type), (register_gst_rank),
2240 (gst_rank_get_type), (register_gst_query_type),
2241 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2242 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2243 (gst_tag_flag_get_type), (register_gst_task_state),
2244 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2245 (gst_alloc_trace_flags_get_type),
2246 (register_gst_type_find_probability),
2247 (gst_type_find_probability_get_type), (register_gst_uri_type),
2248 (gst_uri_type_get_type), (register_gst_parse_error),
2249 (gst_parse_error_get_type):
2250 * win32/common/gstversion.h:
2253 2005-11-01 Luca Ognibene <luogni@tin.it>
2256 fix docs. popt is dead, long live GOption.
2258 2005-10-31 Wim Taymans <wim@fluendo.com>
2263 2005-10-31 Andy Wingo <wingo@pobox.com>
2267 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2269 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2270 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2271 the possibility of deadlocks here if code calling notify() or
2272 set() has a lock that can be taken in another notify handler (ABBA
2273 with class lock and e.g. python GIL state lock).
2275 2005-10-28 Julien MOUTTE <julien@moutte.net>
2277 * gst/gstbus.c: Doc updates.
2279 2005-10-28 Wim Taymans <wim@fluendo.com>
2281 * docs/design/part-TODO.txt:
2282 * gst/gstiterator.c:
2283 * gst/gstsystemclock.c:
2284 * gst/gstsystemclock.h:
2287 2005-10-28 Edward Hervey <edward@fluendo.com>
2289 * docs/gst/gstreamer-docs.sgml:
2290 * docs/gst/gstreamer-sections.txt:
2291 the GstURIType documentation page is private, it only defines GstURIType
2292 which should be defined in the GstURIHandler page
2294 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2296 * gst/gstbin.c: (gst_bin_class_init):
2299 Documentation updates.
2301 2005-10-28 Wim Taymans <wim@fluendo.com>
2303 * docs/gst/gstreamer-sections.txt:
2306 Documented the clocks.
2308 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2310 * docs/gst/gstreamer-sections.txt:
2311 move some macros to private sections
2312 * gst/gstminiobject.c:
2313 * gst/gstminiobject.h:
2314 add descriptions provided by ds and some more
2316 mark macro as to be removed
2318 2005-10-28 Wim Taymans <wim@fluendo.com>
2320 * docs/design/part-TODO.txt:
2321 Add an item to TODO.
2323 * gst/gstiterator.c: (gst_iterator_fold),
2324 (gst_iterator_find_custom):
2325 * gst/gstiterator.h:
2328 2005-10-28 Wim Taymans <wim@fluendo.com>
2330 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2331 (gst_base_transform_init):
2334 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2335 An EOS event marks the queue as completely filled.
2337 2005-10-27 Wim Taymans <wim@fluendo.com>
2339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2340 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2341 Some more debugging.
2343 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2344 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2345 (gst_base_transform_event), (gst_base_transform_getrange),
2346 (gst_base_transform_chain):
2347 * gst/base/gstbasetransform.h:
2349 Protect transform and concurrent buffer alloc with a new lock.
2350 Try not to break ABI/API.
2352 2005-10-27 Wim Taymans <wim@fluendo.com>
2354 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2355 (gst_base_src_init), (gst_base_src_query),
2356 (gst_base_src_default_newsegment),
2357 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2358 (gst_base_src_send_event), (gst_base_src_event_handler),
2359 (gst_base_src_pad_get_range), (gst_base_src_loop),
2360 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2361 (gst_base_src_start), (gst_base_src_deactivate),
2362 (gst_base_src_activate_push), (gst_base_src_change_state):
2363 Move some stuff around and cleanup things.
2365 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2367 * gst/base/gstbasesrc.c: (gst_base_src_query):
2368 Add missing break statements.
2370 2005-10-27 Wim Taymans <wim@fluendo.com>
2372 * check/gst/gstbin.c: (GST_START_TEST):
2373 An extra refcount is taken in basesrc.
2375 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2376 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2377 (gst_base_src_loop):
2378 Small cleanups, check for flushing after being unlocked from the
2379 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2380 Don't send out EOS when going to READY.
2382 2005-10-27 Wim Taymans <wim@fluendo.com>
2384 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2385 (gst_base_sink_get_position):
2388 * gst/gstbin.c: (message_check), (bin_replace_message),
2389 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2390 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2391 (bin_query_duration_init), (bin_query_duration_fold),
2392 (bin_query_duration_done), (bin_query_generic_fold),
2394 * tools/gst-launch.c: (main):
2397 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2399 * examples/controller/audio-example.c: (main):
2400 * examples/queue/queue.c: (event_loop):
2401 * gst/base/gstbasetransform.h:
2402 * gst/gstelement.c: (gst_element_send_event):
2404 * gst/gstpad.c: (gst_pad_send_event):
2407 changing log priority in error situations
2409 2005-10-25 Wim Taymans <wim@fluendo.com>
2411 * gst/gstbin.c: (message_check), (bin_replace_message),
2412 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2413 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2414 (bin_query_duration_init), (bin_query_duration_fold),
2415 (bin_query_duration_done), (bin_query_generic_fold),
2417 Some doc and debug updates.
2418 Cache previously requested query DURATION for speed. invalidate
2419 cached duration if element posts a DURATION message.
2421 2005-10-25 Wim Taymans <wim@fluendo.com>
2423 * docs/design/part-TODO.txt:
2426 * gst/gstbin.c: (message_check), (bin_replace_message),
2427 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2428 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2429 (bin_query_duration_init), (bin_query_duration_fold),
2430 (bin_query_duration_done), (bin_query_generic_fold),
2432 Handle SEGMENT_START/DONE messages correctly.
2433 More evolved query algorithm that handles duration queries
2436 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2437 (gst_element_get_state_func), (gst_element_abort_state),
2438 (gst_element_commit_state), (gst_element_lost_state):
2439 Some more debugging.
2444 2005-10-25 Wim Taymans <wim@fluendo.com>
2446 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2447 Don't use invalid stream_time.
2449 * gst/gstevent.c: (gst_event_new_newsegment):
2450 stream_time in newsegment cannot be undefined.
2452 2005-10-24 Wim Taymans <wim@fluendo.com>
2457 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2459 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2461 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2463 * docs/libs/tmpl/gstdparam.sgml:
2464 * docs/libs/tmpl/gstdplinint.sgml:
2465 * docs/libs/tmpl/gstdpman.sgml:
2466 * docs/libs/tmpl/gstdpsmooth.sgml:
2467 * docs/libs/tmpl/gstunitconvert.sgml:
2470 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2475 === release 0.9.4 ===
2477 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2480 releasing 0.9.4, "Tyrannosaurus Rex"
2482 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2484 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2485 (gst_file_sink_get_current_offset):
2486 Use fseeko() and ftello() if available. When falling back on
2487 lseek() to get the current offset, fflush() first to make sure
2488 everything is up-to-date and we get the right offset.
2490 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2493 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2494 * gst/gsterror.c: (_gst_stream_errors_init):
2496 * gst/gstqueue.c: (gst_queue_loop):
2498 remove prematurely added error category and clean up the instances
2500 2005-10-21 Wim Taymans <wim@fluendo.com>
2502 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2503 (gst_base_sink_get_position), (gst_base_sink_query),
2504 (gst_base_sink_change_state):
2505 Simply set the right flag when going to playing, that's all
2506 we need to do instead of calling a function inside the object
2507 lock (that could take the lock as well and deadlock)
2509 2005-10-21 Wim Taymans <wim@fluendo.com>
2511 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2512 (gst_base_src_loop):
2513 Don't warn, the peer element knows what to do best when
2514 the seek failed, it might try something else.
2516 2005-10-21 Wim Taymans <wim@fluendo.com>
2518 * gst/base/gstbasesrc.c: (gst_base_src_init),
2519 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2522 2005-10-21 Wim Taymans <wim@fluendo.com>
2524 * docs/design/part-segments.txt:
2527 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2528 Correctly set caps, even on the subbufer.
2530 2005-10-21 Wim Taymans <wim@fluendo.com>
2532 * docs/gst/gstreamer-docs.sgml:
2533 * docs/gst/gstreamer-sections.txt:
2540 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2544 And 2% more doc coverage.
2546 2005-10-21 Andy Wingo <wingo@pobox.com>
2548 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2551 2005-10-20 Wim Taymans <wim@fluendo.com>
2553 * gst/gsterror.c: (gst_error_get_message):
2556 * gst/gststructure.c:
2561 2005-10-20 Wim Taymans <wim@fluendo.com>
2566 Another 1% more coverage.
2568 2005-10-20 Wim Taymans <wim@fluendo.com>
2570 * docs/gst/gstreamer-sections.txt:
2571 * gst/gstelement.c: (gst_element_get_state_func),
2572 (gst_element_abort_state), (gst_element_commit_state),
2573 (gst_element_lost_state):
2575 * gst/gstquery.c: (gst_query_set_position),
2576 (gst_query_parse_position), (gst_query_set_duration),
2577 (gst_query_parse_duration), (gst_query_new_convert):
2579 Yay! 1% more docs coverage.
2581 2005-10-20 Wim Taymans <wim@fluendo.com>
2584 * gst/gstquery.c: (gst_query_set_position),
2585 (gst_query_parse_position), (gst_query_set_duration),
2586 (gst_query_parse_duration), (gst_query_new_convert):
2588 * gst/gstutils.c: (gst_element_query_convert):
2590 Docs and consistency fixes.
2592 2005-10-20 Wim Taymans <wim@fluendo.com>
2598 2005-10-20 Wim Taymans <wim@fluendo.com>
2600 * gst/gstbin.c: (message_check), (bin_replace_message),
2601 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2602 (update_degree), (gst_bin_sort_iterator_next),
2603 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2604 Reworked the message handling a bit, cache the messages instead of
2605 only the senders. alows us to do more in the future.
2607 2005-10-20 Wim Taymans <wim@fluendo.com>
2609 * docs/design/part-TODO.txt:
2612 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2613 (gst_base_sink_query):
2614 Don't use clock time to report position when in EOS.
2616 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2618 * tools/gst-inspect.c: (print_interfaces),
2619 (print_element_properties_info), (print_element_info):
2620 Fix interface output with gst-inspect -a; don't print
2621 newlines after double/float properties.
2623 2005-10-20 Wim Taymans <wim@fluendo.com>
2625 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2626 (gst_base_sink_query):
2627 Speed up current position calculation.
2629 * gst/base/gstbasesrc.c: (gst_base_src_query),
2630 (gst_base_src_default_newsegment):
2631 Correctly set stream position in newsegment.
2633 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2634 (update_degree), (gst_bin_sort_iterator_next),
2635 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2636 * gst/gstmessage.c: (gst_message_new_custom):
2637 Clean up debugging info
2639 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2640 (gst_queue_loop), (gst_queue_handle_src_query):
2643 2005-10-19 Wim Taymans <wim@fluendo.com>
2645 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2646 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2647 Fix query handling again.
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 * gst/base/gstbasesrc.c: (gst_base_src_query):
2654 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2655 * gst/elements/gsttypefindelement.c:
2656 (gst_type_find_handle_src_query), (find_element_get_length),
2657 (gst_type_find_element_activate):
2660 * gst/gstquery.c: (gst_query_new_position),
2661 (gst_query_set_position), (gst_query_parse_position),
2662 (gst_query_new_duration), (gst_query_set_duration),
2663 (gst_query_parse_duration), (gst_query_set_segment),
2664 (gst_query_parse_segment):
2666 Bundling query position/duration is not a good idea since duration
2667 does not change much and we don't want to recalculate it for every
2668 position query, so they are separated again..
2669 Base value in segment query is not needed.
2671 * gst/gstqueue.c: (gst_queue_handle_src_query):
2672 * gst/gstutils.c: (gst_element_query_position),
2673 (gst_element_query_duration), (gst_pad_query_position),
2674 (gst_pad_query_duration):
2676 Updates for query API change.
2677 Added some docs here and there.
2679 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2681 * check/gst/gstbin.c: (GST_START_TEST):
2682 * check/gst/gstghostpad.c: (GST_START_TEST):
2683 * check/pipelines/cleanup.c: (GST_START_TEST):
2684 wait on thread to die so we can check refcount correctly
2686 2005-10-18 Wim Taymans <wim@fluendo.com>
2688 * check/pipelines/stress.c: (GST_START_TEST):
2689 Make check a little more time consuming.
2691 2005-10-18 Wim Taymans <wim@fluendo.com>
2693 * check/Makefile.am:
2694 * check/pipelines/stress.c: (GST_START_TEST),
2695 (simple_launch_lines_suite), (main):
2696 Small state change torture test.
2698 * docs/design/part-states.txt:
2699 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2700 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2701 (gst_base_sink_change_state):
2702 Never take state lock from streaming thread, clean up ugly
2703 hacks. Unfortunatly core does not yet support nice ways to
2706 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2708 Start state recalc if a STATE_DIRTY message is posted, but only
2709 on the toplevel bin.
2711 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2712 (gst_element_get_state_func), (gst_element_abort_state),
2713 (gst_element_commit_state), (gst_element_lost_state),
2714 (gst_element_set_state_func), (gst_element_change_state):
2716 State variables are now protected with the LOCK, the state
2717 lock is only used to serialize _set_state().
2719 2005-10-18 Wim Taymans <wim@fluendo.com>
2721 * check/gst/gstbin.c: (GST_START_TEST):
2722 * check/gst/gstmessage.c: (GST_START_TEST):
2723 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2724 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2726 * gst/gstelement.c: (gst_element_abort_state),
2727 (gst_element_commit_state), (gst_element_lost_state):
2728 * gst/gstmessage.c: (gst_message_new_state_changed),
2729 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2730 (gst_message_new_segment_done), (gst_message_new_duration),
2731 (gst_message_parse_state_changed),
2732 (gst_message_parse_segment_start),
2733 (gst_message_parse_segment_done), (gst_message_parse_duration):
2735 * tools/gst-launch.c: (event_loop):
2736 Seriously, this is better than a previous commit as we only need
2737 to notify the fact that an element changed state in a streaming
2738 thread, marking the state of the parents dirty, hence the
2739 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2742 2005-10-18 Wim Taymans <wim@fluendo.com>
2744 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2745 (gst_bin_recalc_func):
2746 * gst/gstelement.c: (gst_element_set_clock),
2747 (gst_element_abort_state), (gst_element_lost_state):
2748 Cleanups, prepare for state change fixes.
2750 2005-10-18 Wim Taymans <wim@fluendo.com>
2753 * gst/gstelement.c: (gst_element_class_init),
2754 (gst_element_set_state), (gst_element_set_state_func):
2756 Pending ABI changes.
2757 GThreadPool in GstBinClass to monitor async state changes.
2758 state_cookie in GstElement to detect concurrent gst/set state.
2759 set_state is now virtual too in case a very complicated element
2760 has to be constructed.
2762 2005-10-18 Wim Taymans <wim@fluendo.com>
2764 * check/gst/gstbin.c: (GST_START_TEST):
2765 * check/gst/gstmessage.c: (GST_START_TEST):
2766 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2767 * gst/gstbin.c: (bin_bus_handler):
2768 * gst/gstelement.c: (gst_element_commit_state),
2769 (gst_element_lost_state):
2770 * gst/gstmessage.c: (gst_message_new_state_changed),
2771 (gst_message_new_segment_start), (gst_message_new_segment_done),
2772 (gst_message_new_duration), (gst_message_parse_state_changed),
2773 (gst_message_parse_segment_start),
2774 (gst_message_parse_segment_done), (gst_message_parse_duration):
2776 * tools/gst-launch.c: (event_loop):
2777 Make messages future proof.
2778 state-change gets a flag if it was a message comming from the
2780 segment-start/stop can also be specified in other formats.
2781 A message to notify an app that a pipeline changed playback
2783 Also fix a GstMessage leak in -launch
2785 2005-10-18 Andy Wingo <wingo@pobox.com>
2787 * gst/gstelement.c (gst_element_dispose): More helpful message.
2789 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2791 reviewed by: <delete if not using a buddy>
2793 * common/gtk-doc.mak:
2795 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2797 * gst/gstregistry.c: (gst_registry_scan_path_level):
2798 unref a plug-in we get that was already initialized
2800 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2802 * docs/gst/gstreamer-sections.txt:
2803 * docs/libs/gstreamer-libs-sections.txt:
2808 2005-10-17 Andy Wingo <wingo@pobox.com>
2810 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2813 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2815 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2817 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2818 (gst_element_get_state_func): Better debug message.
2819 (gst_element_commit_state): s/INFO/DEBUG/.
2820 (gst_element_lost_state, gst_element_change_state):
2822 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2823 (gst_message_new_custom): s/INFO/LOG/.
2825 2005-10-17 Michael Smith <msmith@fluendo.com>
2827 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2828 Check if end time is valid using end time, not start time.
2830 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2832 * check/gst-libs/controller.c: (GST_START_TEST),
2833 (gst_controller_suite):
2834 * libs/gst/controller/gstcontroller.c:
2835 (gst_controlled_property_set_interpolation_mode):
2836 * libs/gst/controller/gstcontroller.h:
2837 * libs/gst/controller/gstinterpolation.c:
2838 * testsuite/controller/.cvsignore:
2839 * testsuite/controller/Makefile.am:
2840 * testsuite/controller/interpolator.c:
2841 merge controller testsuites
2843 remove mem-chunk from docs
2845 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2847 * gst/gstmemchunk.c:
2848 * gst/gstmemchunk.h:
2849 * gst/gsttrashstack.c:
2850 * gst/gsttrashstack.h:
2851 out. get out. you're fired. to the Attic !
2853 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2855 * gst/gstcaps.c: (gst_caps_intersect):
2856 fix signedness issues in a (hopefully) correct way
2857 * gst/gstelement.c: (gst_element_pads_activate):
2859 * gst/gstobject.c: (gst_object_set_parent):
2862 2005-10-17 Julien MOUTTE <julien@moutte.net>
2864 * gst/gstvalue.h: Fix prototypes.
2866 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2868 * docs/gst/gstreamer-sections.txt:
2869 * gst/gst.c: (gst_version_string):
2871 * gst/gstversion.h.in:
2872 * win32/common/libgstreamer.def:
2873 add gst_version_string ()
2875 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2879 * gst/gst.c: (init_post):
2880 * win32/common/config.h.in:
2882 * gst/gstcaps.c: (gst_caps_intersect):
2883 use gint64, the range could be bigger than a guint
2885 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2888 document potential problem in 2038
2890 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2892 * gst/gstcaps.c: (gst_caps_intersect):
2893 Fix guint j diving under 0
2895 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2898 * win32/common/config.h:
2899 * win32/common/config.h.in:
2900 check for process.h, declares getpid() on Windows
2902 include process.h if we have it
2903 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2904 * gst/gstmemchunk.h:
2905 fix signedness issues
2906 * win32/common/libgstreamer.def:
2909 2005-10-16 Julien MOUTTE <julien@moutte.net>
2911 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2912 fix. Because of unsigned ints, caps intersection was going nuts and
2913 trying to access structures with G_MAXUINT index. That fixes
2914 videotestsrc ! ffmpegcolorspace ! fakesink
2915 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2918 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2921 use the gettext macro
2922 * gst/elements/gstelements.c:
2924 * gst/indexers/gstindexers.c:
2925 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2926 * win32/common/config.h:
2928 * win32/common/config.h.in:
2929 add the template to generate config.h
2930 * win32/common/gstenumtypes.c:
2931 * win32/common/gstversion.h:
2934 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2936 * gst/gst.c: (gst_version):
2937 * gst/gstversion.h.in:
2940 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2943 Oops, add missing closing bracket.
2945 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2948 use common m4's for argument checking
2950 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2952 * docs/gst/gstreamer-sections.txt:
2954 Add GST_EVENT_TYPE_NAME() macro.
2956 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2959 * gst/gstpluginfeature.c:
2961 privatize more symbols
2963 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2966 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2967 everything that uses GStreamer API should have the includes
2969 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2971 * docs/gst/gstreamer-sections.txt:
2972 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2974 give each value a _get_type, removes the DATA exports
2976 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2980 remove _gst_registry_auto_load, not used anymore
2981 * gst/gstbin.c: (gst_bin_get_type):
2983 * gst/gstelement.c: (gst_element_get_type):
2985 * gst/gstobject.c: (gst_object_get_type):
2987 * gst/gstpad.c: (gst_pad_get_type):
2989 make _get_type functions similar, fixes data export from library
2991 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2994 correctly make conditionals
2995 * gst/elements/Makefile.am:
2996 * gst/elements/gstelements.c:
2997 fix typo causing fdsrc not to build
2999 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3001 * testsuite/Makefile.am:
3002 * testsuite/bytestream/.cvsignore:
3003 * testsuite/bytestream/Makefile.am:
3004 * testsuite/bytestream/filepadsink.c:
3005 * testsuite/bytestream/gstbstest.c:
3006 * testsuite/bytestream/test1.c:
3007 * testsuite/bytestream/testfile1:
3008 * testsuite/caps/normalisation.c:
3009 * testsuite/caps/random.c: (main):
3010 * testsuite/cleanup/.cvsignore:
3011 * testsuite/cleanup/Makefile.am:
3012 * testsuite/cleanup/cleanup1.c:
3013 * testsuite/cleanup/cleanup2.c:
3014 * testsuite/cleanup/cleanup3.c:
3015 * testsuite/cleanup/cleanup4.c:
3016 * testsuite/cleanup/cleanup5.c:
3017 * testsuite/controller/interpolator.c:
3018 * testsuite/debug/printf_extension.c: (main):
3019 * testsuite/elements/tee.c:
3020 * testsuite/negotiation/.cvsignore:
3021 * testsuite/negotiation/Makefile.am:
3022 * testsuite/negotiation/pad_link.c:
3023 * testsuite/pad/Makefile.am:
3024 * testsuite/pad/chainnopull.c:
3025 * testsuite/pad/getnopush.c:
3026 * testsuite/pad/link.c:
3027 * testsuite/refcounting/sched.c: (create_pipeline):
3028 * testsuite/registry/Makefile.am:
3029 * testsuite/registry/gst-print-formats.c:
3030 * testsuite/schedulers/.cvsignore:
3031 * testsuite/schedulers/142183-2.c:
3032 * testsuite/schedulers/142183.c:
3033 * testsuite/schedulers/143777-2.c:
3034 * testsuite/schedulers/143777.c:
3035 * testsuite/schedulers/147713.c:
3036 * testsuite/schedulers/147819.c:
3037 * testsuite/schedulers/147894-2.c:
3038 * testsuite/schedulers/147894.c:
3039 * testsuite/schedulers/Makefile.am:
3040 * testsuite/schedulers/group_link.c:
3041 * testsuite/schedulers/queue_link.c:
3042 * testsuite/schedulers/relink.c:
3043 * testsuite/schedulers/unlink.c:
3044 * testsuite/schedulers/unref.c:
3045 * testsuite/schedulers/useless_iteration.c:
3046 * testsuite/states/bin.c:
3047 clean out/remove some stuff from the testsuite directories
3049 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3052 check for some headers
3053 * gst/elements/Makefile.am:
3054 * gst/elements/gstelements.c:
3055 don't compile fdsrc without sys/socket.h
3056 * gst/indexers/Makefile.am:
3057 * gst/indexers/gstindexers.c: (plugin_init):
3058 don't compile fileindex without mmap
3060 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3067 * check/Makefile.am:
3068 * docs/gst/Makefile.am:
3069 * examples/helloworld/Makefile.am:
3071 * gst/base/Makefile.am:
3072 * gst/check/Makefile.am:
3073 * gst/elements/Makefile.am:
3074 * gst/indexers/Makefile.am:
3075 * gst/parse/Makefile.am:
3076 * libs/gst/controller/Makefile.am:
3077 * libs/gst/dataprotocol/Makefile.am:
3078 * examples/helloworld/helloworld.c: (event_loop):
3079 compile fixes, though it's not being compiled currently
3081 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3083 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3084 Add some simple tests for the new taglist date API.
3086 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3088 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3089 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3090 Beautify 'last-message' output: print 'none' for buffer timestamps
3091 and durations if none is set; improve alignment with next messages.
3093 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3095 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3096 * gst/gstpluginfeature.h:
3097 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3098 * gst/gstregistry.h:
3099 * docs/gst/gstreamer-sections.txt:
3100 Add new API to check plugin feature version requirements.
3102 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3103 Some basic tests for the above.
3105 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3107 * gst/gststructure.c: (gst_structure_to_string):
3108 guard against NULL printf - happens when for example
3109 a message structure with GstClock gets serialized
3111 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3113 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3114 Fix presumable copy'n'pasto.
3116 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3118 * gst/elements/gstfakesrc.h:
3119 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3120 * gst/elements/gsttypefindelement.c:
3122 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3123 I wonder if this could actually write +2GB files before
3125 2005-10-13 Andy Wingo <wingo@pobox.com>
3127 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3128 Fix Timmeke Waymans bug.
3129 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3130 string of the proper length to gst_caps_from_string. There's a
3131 potential for, before this fix, that this could cause someone
3132 connecting over the network to cause a segfault if the payload is
3135 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3137 * docs/design/draft-push-pull.txt:
3138 * docs/design/part-overview.txt:
3139 * docs/random/TODO-pre-0.9:
3140 * docs/random/old/ChangeLog.gstreamer:
3141 * gst/base/gstpushsrc.c:
3145 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3147 * gst/glib-compat.c: (gst_flags_get_first_value):
3148 * gst/glib-compat.h:
3149 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3150 (gst_value_compare_double), (gst_value_serialize_flags):
3151 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3154 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3156 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3157 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3159 * tools/gst-launch.c: (event_loop):
3160 print out clock nicely
3162 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3164 * docs/gst/gstreamer-sections.txt:
3166 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3167 (gst_tag_list_get_date_index):
3168 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3169 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3171 2005-10-13 Julien MOUTTE <julien@moutte.net>
3173 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3174 (gst_collectpads_chain):
3175 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3178 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3180 * docs/gst/gstreamer-sections.txt:
3183 * tools/gst-inspect.c: (main):
3184 * tools/gst-launch.c: (main):
3185 * tools/gst-run.c: (main):
3186 * tools/gst-xmlinspect.c: (main):
3187 fix GOption context leaks
3190 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3194 * win32/common/config.h:
3196 * win32/vs6/grammar.dsp:
3197 * win32/vs6/libgstelements.dsp:
3198 * win32/vs6/libgstreamer.dsp:
3201 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3203 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3204 * gst/base/gstbasesrc.c: (gst_base_src_query):
3205 fix more guint64<->gdouble conversions
3207 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3210 add win32-update target
3211 * win32/common/gstconfig.h:
3212 * win32/common/gstenumtypes.c:
3213 * win32/common/gstenumtypes.h:
3214 * win32/common/gstversion.h:
3215 add files that visual studio can't generate
3217 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3220 add a win32-update target
3223 2005-10-12 Wim Taymans <wim@fluendo.com>
3225 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3226 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3227 * gst/gstelement.c: (gst_element_commit_state),
3228 (gst_element_set_state):
3229 Protect flags with proper lock.
3230 unref provided cached clock in dispose.
3232 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3235 * gst/gstminiobject.h:
3237 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3238 removed unused flags from miniobject
3241 2005-10-12 Wim Taymans <wim@fluendo.com>
3243 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3244 (gst_file_sink_event), (gst_file_sink_render):
3245 Flush before seeking.
3247 2005-10-12 Andy Wingo <wingo@pobox.com>
3249 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3250 always been the case.
3252 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3254 * check/gst/gstbin.c: (GST_START_TEST):
3255 * docs/gst/gstreamer-sections.txt:
3256 * gst/base/gstbasesink.c: (gst_base_sink_init):
3257 * gst/base/gstbasesrc.c: (gst_base_src_init),
3258 (gst_base_src_get_range), (gst_base_src_check_get_range),
3259 (gst_base_src_start), (gst_base_src_stop):
3260 * gst/base/gstbasesrc.h:
3261 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3262 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3263 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3267 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3269 * gst/gstelement.c: (gst_element_is_locked_state),
3270 (gst_element_set_locked_state), (gst_element_commit_state),
3271 (gst_element_set_state):
3273 * gst/gstindex.c: (gst_index_init):
3275 * gst/gstminiobject.h:
3276 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3277 (gst_object_set_parent):
3279 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3280 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3282 * gst/gstpadtemplate.h:
3283 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3284 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3285 * gst/gstpipeline.h:
3286 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3287 (gst_file_index_commit):
3288 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3289 * testsuite/pad/link.c: (gst_test_src_init),
3290 (gst_test_filter_init), (gst_test_sink_init):
3291 * testsuite/states/locked.c: (main):
3292 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3293 moved bitshift from macro to enum definition
3295 2005-10-12 Wim Taymans <wim@fluendo.com>
3297 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3298 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3299 (gst_file_sink_render):
3300 Some more debugging info.
3302 2005-10-12 Wim Taymans <wim@fluendo.com>
3304 * docs/design/part-states.txt:
3305 * tools/gst-launch.c: (main):
3307 Revert non-intentional change.
3309 2005-10-12 Wim Taymans <wim@fluendo.com>
3311 * check/gst/gstbin.c: (GST_START_TEST):
3312 * check/gst/gstelement.c: (GST_START_TEST):
3313 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3314 * check/gst/gstghostpad.c: (GST_START_TEST):
3315 * check/gst/gstpipeline.c: (GST_START_TEST):
3316 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3317 * check/states/sinks.c: (GST_START_TEST):
3318 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3319 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3320 (gst_bin_remove_func), (gst_bin_get_state_func),
3321 (gst_bin_recalc_state), (gst_bin_change_state_func),
3323 * gst/gstelement.c: (gst_element_get_state_func),
3324 (gst_element_get_state), (gst_element_abort_state),
3325 (gst_element_commit_state), (gst_element_set_state),
3326 (gst_element_change_state), (gst_element_change_state_func):
3328 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3329 (gst_pipeline_provide_clock_func):
3330 * gst/gstutils.c: (gst_element_link_pads_filtered):
3331 * tools/gst-launch.c: (main):
3332 * tools/gst-typefind.c: (main):
3333 Use GstClockTime in _get_state() instead of GTimeVal.
3334 Remove old code in gstutils.c
3336 2005-10-12 Andy Wingo <wingo@pobox.com>
3338 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3341 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3342 there is no task. Shouldn't affect any code, as nothing in our
3343 plugins checks this return value.
3344 (gst_pad_stop_task): Also take the stream lock if the pad has no
3347 2005-10-12 Wim Taymans <wim@fluendo.com>
3349 * gst/gstpad.c: (pre_activate), (post_activate),
3350 (gst_pad_activate_pull), (gst_pad_activate_push):
3351 Cleanup activation code. Reset old state if
3354 2005-10-12 Wim Taymans <wim@fluendo.com>
3356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3357 (gst_base_sink_change_state):
3358 No need to prerol after receiving EOS.
3360 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3361 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3362 * gst/elements/gstidentity.c: (gst_identity_event):
3363 Print events more verbosely.
3365 2005-10-12 Wim Taymans <wim@fluendo.com>
3367 * check/Makefile.am:
3368 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3369 * check/states/sinks2.c:
3370 Moved sinks2 testcode in sinks check.
3372 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3373 (gst_bin_remove_func), (gst_bin_recalc_state),
3374 (gst_bin_change_state_func), (bin_bus_handler):
3375 Fix potential race condition when _get_state() iterated over an
3376 ASYNC element right before it posted a state completion.
3379 Do proper cast here.
3381 * gst/gstevent.c: (gst_event_new_newsegment),
3382 (gst_event_parse_newsegment):
3383 A playback rate of 0.0 is not allowed.
3385 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3387 * win32/common/config.h:
3388 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3389 (_trewinddir), (_ttelldir), (_tseekdir):
3390 * win32/common/dirent.h:
3391 * win32/common/gtchar.h:
3392 * win32/common/libgstbase.def:
3393 * win32/common/libgstreamer.def:
3394 * win32/vs6/grammar.dsp:
3395 * win32/vs6/gst_inspect.dsp:
3396 * win32/vs6/gst_launch.dsp:
3397 * win32/vs6/gstreamer.dsw:
3398 * win32/vs6/libgstbase.dsp:
3399 * win32/vs6/libgstelements.dsp:
3400 * win32/vs6/libgstreamer.dsp:
3401 Visual Studio 6 project files, and a new common directory.
3404 2005-10-11 Wim Taymans <wim@fluendo.com>
3406 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3407 (gst_base_sink_do_sync), (gst_base_sink_query),
3408 (gst_base_sink_change_state):
3409 * gst/base/gstbasesink.h:
3410 Correctly parse newsegment info.
3412 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3414 * gst/gst.c: (init_post):
3415 split plugin paths correctly
3417 2005-10-11 Wim Taymans <wim@fluendo.com>
3419 * check/gst/gstevent.c: (GST_START_TEST):
3420 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3421 (gst_base_sink_change_state):
3422 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3423 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3424 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3425 * gst/gstevent.c: (gst_event_new_newsegment),
3426 (gst_event_parse_newsegment):
3428 Added extra flag to newsegment for future API freeze.
3429 Updated check and base elements.
3431 2005-10-11 Julien MOUTTE <julien@moutte.net>
3433 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3434 (gst_collectpads_add_pad), (gst_collectpads_pop),
3435 (gst_collectpads_event), (gst_collectpads_chain):
3436 * gst/base/gstcollectpads.h: Handle EOS correctly.
3438 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3440 * tools/gst-launch.c: (main):
3441 more null protecting
3443 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3445 * gst/gst-i18n-lib.h:
3446 check for ENABLE_NLS, not GETTEXT_PACKAGE
3447 * gst/gstregistry.c: (gst_registry_add_plugin),
3448 (gst_registry_scan_path_level),
3449 (_gst_registry_remove_cache_plugins):
3450 protect possibly NULL strings
3451 * gst/parse/types.h:
3452 config.h already included before
3453 * tools/gst-inspect.c: (main):
3454 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3455 check for ENABLE_NLS, not GETTEXT_PACKAGE
3456 * tools/gst-launch.c: (main):
3457 check for ENABLE_NLS, not GETTEXT_PACKAGE
3459 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3462 if we don't have glib, fail before testing 2.8
3463 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3464 fix a leak, should fix plugins-base testsuite
3466 2005-10-11 Andy Wingo <wingo@pobox.com>
3468 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3469 take the mode we're going to as an arg. Go head and set the mode
3470 and flushing flags now, so that if the activate function starts a
3471 thread all the flags will be in the right state.
3472 (post_activate): Renamed also. Just handle making sure streaming
3473 finishes for the deactivation case, and setting the deactivated
3475 (gst_pad_set_active): Complain loudly if deactivation fails.
3476 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3477 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3478 remove the terrible hack.
3480 2005-10-11 Wim Taymans <wim@fluendo.com>
3482 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3483 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3484 (gst_bin_recalc_state), (gst_bin_change_state_func),
3485 (gst_bin_dispose), (bin_bus_handler):
3487 Prepare to make current EOS message queue more generic.
3490 * gst/gstevent.c: (gst_event_new_newsegment),
3491 (gst_event_parse_newsegment):
3493 Rename base to stream_time.
3498 2005-10-11 Wim Taymans <wim@fluendo.com>
3500 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3501 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3502 (gst_bin_change_state_func), (bin_bus_handler):
3504 Work on proper clock selection.
3506 2005-10-11 Edward Hervey <edward@fluendo.com>
3508 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3509 * libs/gst/controller/gstcontroller.h:
3510 Added GList* version of _remove_properties() in order to be able to wrap
3513 2005-10-11 Wim Taymans <wim@fluendo.com>
3515 * docs/design/part-states.txt:
3518 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3519 (gst_bin_change_state_func), (bin_bus_handler):
3520 Doc updates. Don't distribute the same clock over and over again.
3526 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3527 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3528 (gst_pad_send_event):
3530 Make probe emission threadsafe again.
3531 Register quarks and move _get_name() from utils.
3534 * gst/gstpipeline.c: (gst_pipeline_class_init),
3535 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3536 Only redistribute the clock of it changed.
3538 * gst/gstsystemclock.h:
3543 Moved the _flow_get_name() to GstPad.
3545 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3547 * check/gst-libs/gdp.c: (GST_START_TEST):
3548 * check/gst/gstcaps.c: (GST_START_TEST):
3549 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3550 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3551 (gst_dp_packet_from_caps):
3552 fix more valgrind warnings before turning up the heat
3554 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3556 * gst/parse/grammar.y:
3557 some cleanup before the hacking
3559 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3561 * gst/base/gstbasesrc.c: (gst_base_src_query):
3563 * gst/gstutils.c: (gst_guint64_to_gdouble),
3564 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3566 externalize, basesrc uses it
3567 obviously the implementation needs testing
3569 2005-10-10 Wim Taymans <wim@fluendo.com>
3571 * tests/sched/Makefile.am:
3572 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3573 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3575 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3577 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3578 apparently converting from guint64 to double is not implemented
3581 2005-10-10 Wim Taymans <wim@fluendo.com>
3583 * check/Makefile.am:
3584 * check/generic/states.c: (GST_START_TEST):
3585 * check/gst/gstbin.c: (GST_START_TEST):
3586 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3587 * check/states/sinks.c: (GST_START_TEST):
3588 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3590 Check fixes, use API as stated in design docs, remove hacks.
3592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3593 (gst_base_sink_change_state):
3594 Catch stopping our task while we're shutting down.
3596 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3597 (gst_bin_remove_func), (gst_bin_get_state_func),
3598 (gst_bin_recalc_state), (gst_bin_change_state_func),
3601 * gst/gstelement.c: (gst_element_init),
3602 (gst_element_get_state_func), (gst_element_abort_state),
3603 (gst_element_commit_state), (gst_element_lost_state),
3604 (gst_element_set_state), (gst_element_change_state),
3605 (gst_element_change_state_func):
3607 New state change algorithm (see #318116)
3609 * gst/gstpipeline.c: (gst_pipeline_class_init),
3610 (gst_pipeline_init), (gst_pipeline_set_property),
3611 (gst_pipeline_get_property), (do_pipeline_seek),
3612 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3613 * gst/gstpipeline.h:
3614 Remove crude state change hacks.
3619 * tools/gst-launch.c: (main):
3620 Fixes for state change. Needs some more work to fully use the
3623 2005-10-10 Andy Wingo <wingo@pobox.com>
3625 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3627 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3628 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3631 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3633 * gst/gstiterator.c: (gst_iterator_new):
3634 Fix my previous commit: GTypes passed to gst_iterator_new()
3635 can be fundamental types.
3637 2005-10-10 Wim Taymans <wim@fluendo.com>
3639 * gst/gstelement.c: (gst_element_iterate_pad_list),
3640 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3641 (gst_element_iterate_sink_pads):
3642 Use src/sink pads lists for the respective iterators instead
3645 2005-10-10 Andy Wingo <wingo@pobox.com>
3647 Merged in popt removal + GOption addition patch from Ronald, bug
3650 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3651 GstElement macros around, remove popt-related symbols, add goption
3654 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3656 * docs/gst/Makefile.am:
3657 * docs/libs/Makefile.am: No POPT_CFLAGS.
3659 * examples/manual/Makefile.am:
3660 * docs/manual/basics-init.xml: Doc updates with an example.
3662 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3663 (gst_init), (parse_one_option), (parse_goption_arg):
3664 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3665 bit of hand merging and debugging to get the GOption stuff working
3668 * tests/Makefile.am:
3669 * tools/Makefile.am:
3670 * tools/gst-inspect.c: (main):
3671 * tools/gst-launch.c: (main):
3672 * tools/gst-run.c: (main):
3673 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3675 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3677 * gst/gstiterator.c: (gst_iterator_new):
3678 Add assertions to make sure passed GType is likely to really
3679 be a GType (as the compiler won't catch it if the size and
3680 GType arguments get mixed up, see #318447).
3682 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3684 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3686 * gst/gstbin.c: (gst_bin_iterate_sorted):
3687 Pass GType and size arguments to gst_iterator_new() in the right
3688 order (maybe we should make _new() take the GType as first argument
3689 just like _new_list()?) (#318447).
3692 2005-10-10 Wim Taymans <wim@fluendo.com>
3694 * gst/gstelement.c: (gst_element_finalize):
3695 And free the GStaticRecMutex too
3697 2005-10-10 Andy Wingo <wingo@pobox.com>
3699 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3700 Allocate and free the mutex properly.
3702 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3704 (GstElement): The state_lock is now recursive. Rebuild your
3705 plugins, suckers. Old macros adapted.
3707 * docs/gst/gstreamer-sections.txt: Doc updates.
3710 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3711 (g_static_rec_cond_wait): Ported from state changes patch, while
3712 we wait on bug #317802 to be solved in a well-distributed GLib.
3714 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3715 gst_element_change_state, variable name changes.
3716 (gst_element_change_state): Split out of gst_element_set_state in
3717 preparation for the state change merge. Doesn't pay attention to
3718 the 'transition' argument.
3719 (gst_element_set_state): Updates, hopefully purely cosmetic.
3720 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3722 (gst_element_get_state_func): Renamed from get_state, cosmetic
3725 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3727 * gst/elements/gstelements.c:
3728 * win32/GStreamer.vcproj:
3730 * win32/dirent.c: (_tseekdir):
3731 * win32/gst-inspect.vcproj:
3732 * win32/gst-launch.vcproj:
3733 * win32/gstconfig.h:
3734 * win32/gstelements.vcproj:
3735 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3736 * win32/gstreamer.def:
3738 updates for the win32 build (patch from Sebastien Moutte)
3740 2005-10-10 Andy Wingo <wingo@pobox.com>
3742 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3743 gst_bin_get_state, cleaned up (but no logic changes).
3744 (bin_element_is_sink): Comment updates.
3745 (sink_iterator_filter): Remove needless cast.
3746 (gst_bin_iterate_sinks): Doc update.
3747 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3748 cleaned up (but no logic changes).
3750 * check/states/sinks.c (test_src_sink): Cleanups from the state
3752 (test_livesrc_sink): Sync on the state.
3754 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3755 the state change patch.
3757 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3760 * check/gst/gstbin.c: Merge in some style fixes and additional
3761 checks from Wim's state change patch.
3763 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3765 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3766 (gst_type_find_helper):
3767 Check whether we have the requested data already in our list of
3768 cached buffers before pulling a new buffer; also make the buffer
3769 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3771 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3776 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3777 don't use long long, it's not portable. Replacing with
3778 gint64 seems to work; let's hope no skeletons fall out of the closet.
3780 2005-10-10 Andy Wingo <wingo@pobox.com>
3782 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3784 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3786 * docs/gst/gstreamer-sections.txt:
3791 * gst/gstmessage.c: (gst_message_parse_state_changed):
3794 more docs, fix compilation
3796 2005-10-09 Philippe Khalaf <burger@speedy.org>
3798 Fixed a few forgotten variables on previous commit
3800 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3802 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3803 Fix evil typefind crasher: getrange() might return a short
3804 buffer at the end of a file, but gst_type_find_peek() must
3805 either return the full data as requested or NULL, but
3806 never a short buffer.
3808 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3810 * gst/gstmessage.c: (gst_message_new_state_changed),
3811 (gst_message_parse_state_changed):
3813 don't use "new", it's a C++ keyword
3815 2005-10-08 Wim Taymans <wim@fluendo.com>
3817 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3818 * gst/gstelement.c: (gst_element_post_message):
3819 * gst/gstpipeline.c: (gst_pipeline_change_state):
3820 Small docs and debug updates.
3822 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3824 * docs/gst/gstreamer-sections.txt:
3825 * gst/gstelementfactory.c:
3830 2005-10-08 Wim Taymans <wim@fluendo.com>
3832 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3833 (gst_bin_dispose), (bin_bus_handler):
3834 Fix typos, add comments.
3835 Clear EOS list when going to PAUSED from any direction and do it
3836 in a threadsafe way.
3837 Get base time in a threadsafe way too.
3838 Fix confusing debug in the change_state function.
3839 Various other small cleanups.
3841 * gst/gstelement.c: (gst_element_post_message):
3842 Fix very verbose bus posting code.
3844 * gst/gstpipeline.c: (gst_pipeline_class_init),
3845 (gst_pipeline_set_property), (gst_pipeline_get_property),
3846 (gst_pipeline_change_state):
3847 Small ARG_ -> PROP_ cleanup
3849 2005-10-08 Wim Taymans <wim@fluendo.com>
3851 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3852 Do a less CPU demanding EOS check because we can.
3854 2005-10-08 Wim Taymans <wim@fluendo.com>
3856 * libs/gst/dataprotocol/dataprotocol.c:
3857 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3858 (gst_dp_packet_from_event):
3859 * libs/gst/dataprotocol/dataprotocol.h:
3860 * libs/gst/dataprotocol/dp-private.h:
3861 It's about time we bump the version number.
3862 Since event types don't fit in the guint8 anymore describing
3863 the payload type, make payload type 16 bits wide.
3865 2005-10-08 Wim Taymans <wim@fluendo.com>
3867 * docs/design/part-TODO.txt:
3868 * docs/design/part-clocks.txt:
3869 * docs/design/part-events.txt:
3870 * docs/design/part-gstbin.txt:
3871 * docs/design/part-gstelement.txt:
3872 * docs/design/part-gstpipeline.txt:
3873 * docs/design/part-live-source.txt:
3874 * docs/design/part-messages.txt:
3875 * docs/design/part-overview.txt:
3876 * docs/design/part-states.txt:
3879 2005-10-08 Wim Taymans <wim@fluendo.com>
3883 Fix event quark registration.
3884 Add some space between events so we can insert them in the
3887 2005-10-08 Wim Taymans <wim@fluendo.com>
3889 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3890 (gst_base_sink_handle_buffer):
3897 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3898 (gst_queue_set_property), (gst_queue_get_property):
3900 Remove old unused properties.
3902 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3903 * docs/gst/gstreamer-sections.txt:
3906 * gst/gstminiobject.c:
3907 * gst/gstminiobject.h:
3911 lots of new docs and doc fixes
3913 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3915 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3917 * gst/gstregistry.c: (gst_registry_lookup_locked),
3918 (gst_registry_scan_path_level):
3919 * gst/gstregistryxml.c: (load_plugin):
3920 Only ever load one plugin for a given plugin basename.
3921 This ensures correct overriding of GST_PLUGIN_PATH over
3922 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3923 system installed plugins.
3925 2005-10-08 Wim Taymans <wim@fluendo.com>
3927 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3928 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3929 Prepare for doing QOS.
3931 2005-10-08 Wim Taymans <wim@fluendo.com>
3933 * check/gst/gstbin.c: (GST_START_TEST):
3934 * check/pipelines/cleanup.c: (GST_START_TEST):
3935 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3936 Allow new clock message too.
3938 2005-10-08 Wim Taymans <wim@fluendo.com>
3940 * gst/gstmessage.c: (gst_message_new_error),
3941 (gst_message_new_warning), (gst_message_new_tag),
3942 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3943 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3944 (gst_message_new_segment_start), (gst_message_new_segment_done),
3945 (gst_message_parse_state_changed),
3946 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3947 (gst_message_parse_new_clock):
3949 Also carry the clock in question.
3951 2005-10-08 Wim Taymans <wim@fluendo.com>
3953 * gst/gstmessage.c: (gst_message_new_custom),
3954 (gst_message_new_eos), (gst_message_new_error),
3955 (gst_message_new_warning), (gst_message_new_tag),
3956 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3957 (gst_message_new_new_clock), (gst_message_new_segment_start),
3958 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3959 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3962 Added clock related messages.
3964 * gst/gstpipeline.c: (gst_pipeline_change_state):
3965 Post message when the clock changed.
3967 * tools/gst-launch.c: (event_loop):
3970 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3972 * tools/gst-inspect.c: (print_element_properties_info):
3973 Can't pass NULL strings to g_print() on windows.
3975 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3978 * docs/gst/Makefile.am:
3979 * docs/gst/gstreamer-docs.sgml:
3980 * docs/gst/running.xml:
3981 * docs/version.entities.in:
3982 add a chapter on running GStreamer.
3983 document GST_DEBUG and GST_PLUGIN* env vars
3985 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3990 remove PLUGINS_BUILDDIR stuff
3991 * gst/gst.c: (init_post):
3992 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3994 remove, it was condescending and not needed
3996 2005-10-08 Wim Taymans <wim@fluendo.com>
3998 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3999 (gst_base_sink_handle_object), (gst_base_sink_event),
4000 (gst_base_sink_wait), (gst_base_sink_handle_event),
4001 (gst_base_sink_change_state):
4002 * gst/base/gstbasesink.h:
4003 Repost EOS message while going to PLAYING if still EOS.
4004 Make sure that when receiving a FLUSH_START we don't attempt
4005 to sync on the clock anymore.
4007 2005-10-08 Wim Taymans <wim@fluendo.com>
4009 * tools/gst-launch.c: (event_loop):
4010 Better message printout.
4012 2005-10-08 Wim Taymans <wim@fluendo.com>
4014 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4015 (gst_bin_child_proxy_get_children_count):
4016 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4017 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4018 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4019 (gst_child_proxy_set_valist):
4020 * gst/parse/grammar.y:
4021 Make ChildProxy threadsafe and fix mem leaks.
4023 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4025 * gst/gst.c: (init_post):
4026 debug the GST_PLUGIN_ env vars
4028 2005-10-08 Wim Taymans <wim@fluendo.com>
4030 * check/gst/gstbin.c: (GST_START_TEST):
4031 * check/gst/gstmessage.c: (GST_START_TEST):
4032 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4033 * gst/gstelement.c: (gst_element_commit_state),
4034 (gst_element_lost_state):
4035 * gst/gstmessage.c: (gst_message_new_state_changed),
4036 (gst_message_parse_state_changed):
4038 * tools/gst-launch.c: (event_loop):
4039 Added extra field to STATE_CHANGE message with the pending
4040 state, which will be different from the new state soon.
4042 2005-10-08 Wim Taymans <wim@fluendo.com>
4044 * gst/gstbus.c: (gst_bus_pop):
4046 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4047 Small cleanups and doc updates.
4049 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4051 * gst/gst.c: (init_pre):
4052 * gst/gstbin.c: (gst_bin_add_func):
4053 log distributing clocks and base time
4054 * gst/gstregistry.c: (gst_registry_add_plugin),
4055 (gst_registry_scan_path_level), (gst_registry_scan_path):
4056 clean up the debugging output a little
4057 * gst/gstutils.c: (gst_element_state_get_name):
4058 warn about a memleak (I've actually seen this be used, though
4059 it was probably a bug)
4061 2005-10-07 Wim Taymans <wim@fluendo.com>
4063 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4064 (gst_base_src_init), (gst_base_src_default_newsegment),
4065 (gst_base_src_newsegment), (gst_base_src_do_seek),
4066 (gst_base_src_loop), (gst_base_src_start):
4067 * gst/base/gstbasesrc.h:
4068 Make the newsegment event customizable by subclasses.
4070 2005-10-07 Wim Taymans <wim@fluendo.com>
4072 * gst/gstevent.c: (gst_event_new_buffersize),
4073 (gst_event_parse_buffersize):
4075 New event for future idea.
4077 2005-10-07 Andy Wingo <wingo@pobox.com>
4079 * gst/gstelement.c (gst_element_post_message): Doc update.
4081 * docs/gst/gstreamer-sections.txt: Update.
4083 * gst/gstmessage.c (gst_message_new_application): Made into a
4084 function like honest API calls.
4085 (gst_message_new_element): New message type.
4087 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4089 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4090 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4093 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4094 NO_PREROLL from gst_element_change_state to fall through.
4096 2005-10-07 Wim Taymans <wim@fluendo.com>
4098 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4099 (gst_ghost_pad_do_activate_push):
4100 Activating a ghostpad with no internal pad in push mode
4103 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4106 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4107 Fixes compilation on Windows.
4109 2005-10-07 Michael Smith <msmith@fluendo.com>
4111 * tools/gst-inspect.c:
4112 Print out feature and plugin count at the end when printing out
4115 2005-10-04 Michael Smith <msmith@fluendo.com>
4117 * gst/gsterror.c: (_gst_stream_errors_init):
4118 Add another error string used in a few existing plugins.
4121 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4122 * tools/gst-inspect.c: (print_element_info):
4123 When a feature disappears from a plugin (and the feature exists in
4124 the cached registry file), things went horribly wrong. This isn't a
4125 complete fix, we should actually be removing the 'missing' features
4126 from the features list when we load the actual plugin. That's not
4129 2005-10-04 Johan Dahlin <johan@gnome.org>
4131 * check/gst/gstiterator.c: (GST_START_TEST):
4132 * gst/gstbin.c: (gst_bin_iterate_elements),
4133 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4134 * gst/gstelement.c: (gst_element_iterate_pads):
4135 * gst/gstformat.c: (gst_format_iterate_definitions):
4136 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4137 (gst_iterator_new_list), (gst_iterator_filter):
4138 * gst/gstiterator.h:
4139 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4140 Add a GType to GstIterator, update callsites and tests.
4142 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4144 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4145 give events a chance to be handled by event probes when the pad
4148 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4150 * gst/gstevent.c: (gst_event_type_get_name),
4151 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4153 add string representations for event types
4155 2005-10-06 Wim Taymans <wim@fluendo.com>
4157 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4158 Don't use NULL pointers.
4160 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4162 * gst/gst_private.h:
4166 * gst/gstpluginfeature.c:
4167 widen the debug category in output to fit the biggest one we have
4168 add a bus category and use it
4169 play with the colors
4170 fix up some categories
4172 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4174 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4175 add push activation of sink ghost pads.
4176 Andye, please verify
4178 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4180 * gst/gstutils.c: (gst_element_link_pads):
4181 fix a bug in the case where neither element has a pad
4182 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4183 add a test for that case
4185 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4187 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4188 emit have-data before checking for peers. This allows
4189 for probe handlers to connect elements. This helps autopluggers.
4190 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4192 add six checks, linked/unlinked with no/true/false probe
4194 2005-10-04 Wim Taymans <wim@fluendo.com>
4196 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4197 (gst_fake_sink_event), (gst_fake_sink_preroll),
4198 (gst_fake_sink_render), (gst_fake_sink_change_state):
4199 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4200 (gst_fake_src_get_property), (gst_fake_src_create),
4201 (gst_fake_src_stop):
4202 * gst/elements/gstidentity.c: (gst_identity_stop):
4203 Protect last_message with lock.
4205 2005-10-04 Edward Hervey <edward@fluendo.com>
4208 Added precision in the comments for GST_FORMAT_DEFAULT
4210 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4212 * tools/gst-launch.c: (main):
4213 Don't try to run erroneous pipelines.
4215 2005-10-04 Julien MOUTTE <julien@moutte.net>
4217 * gst/gstbus.c: We don't need this header.
4219 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4224 === release 0.9.3 ===
4226 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4230 Releasing 0.9.3, "Unregistered"
4232 2005-10-03 Andy Wingo <wingo@pobox.com>
4234 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4235 whereby calling a pad's activatepush() function can start a thread
4236 that starts to push or pull before the pad gets the FLUSHING flag
4237 unset. Hack around it by holding the stream lock until the flag is
4238 set. Need to replace this with a proper solution. Together with
4239 the ghost pad fixes, this fixes mp3 playing/tagreading.
4241 * docs/design/part-gstghostpad.txt: Add a note about activation of
4242 proxy pads outside of ghost pads.
4244 * gst/gstghostpad.c: Implement the ghost pad activation design.
4246 2005-10-02 Andy Wingo <wingo@pobox.com>
4248 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4249 It is volatile, after all.
4251 * docs/design/part-gstghostpad.txt: Flesh out activation with
4254 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4257 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4260 Fix (unused) AM_CONDITIONAL tests.
4262 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4264 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4266 * gst/gstutils.c: (gst_pad_query_convert):
4267 Add assertion that makes sure src_val is >=0, just like
4268 gst_query_new_convert() has. (#315895)
4270 2005-09-30 Edward Hervey <edward@fluendo.com>
4272 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4273 Let's not iterate pads we're not interested in, it avoids getting
4274 sky-high refcounts on sinkpad.
4276 2005-09-30 Wim Taymans <wim@fluendo.com>
4278 * gst/gstelement.c: (gst_element_set_state),
4279 (gst_element_change_state):
4280 Small tweak, element in ASYNC remains ASYNC.
4282 2005-09-30 Wim Taymans <wim@fluendo.com>
4284 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4285 Only error is an error.
4287 * gst/gstbin.c: (gst_bin_change_state):
4290 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4291 Also call pad_block in pad alloc.
4293 * gst/gstutils.c: (gst_flow_get_name):
4296 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4298 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4299 (gst_base_src_get_range):
4300 Fix documentation typos. Add some more debug info.
4302 2005-09-29 David Schleef <ds@schleef.org>
4304 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4305 more end-user friendly.
4306 * tools/gst-inspect.c: (main): Check if command-line argument is
4307 a file and attempt to load that file as a plugin.
4309 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4311 * check/gst/gstbin.c:
4312 * check/states/sinks.c:
4313 fix tests for the new warning
4314 * check/gst/gstpipeline.c:
4315 add a test for pipeline and bus interaction
4317 elements should be NULL if they get disposed; add a warning if not
4319 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4322 for 2.6 refcounting, make debug log more correct by printing
4323 the actual refcounts at the time of swap (Wim)
4325 2005-09-29 Andy Wingo <wingo@pobox.com>
4327 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4328 removes signal watches previously added via
4329 gst_bus_add_signal_watch.
4330 (gst_bus_add_signal_watch): Don't return the source id, just store
4331 it on the bus if there wasn't an id already.
4333 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4334 add_signal_watch and remove_signal_watch.
4336 2005-09-29 Edward Hervey <edward@fluendo.com>
4338 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4339 Better if we actually iterate the list :)
4341 2005-09-29 Wim Taymans <wim@fluendo.com>
4343 * check/gst/gstbin.c: (GST_START_TEST):
4344 Change for new bus API.
4346 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4347 (send_messages), (GST_START_TEST), (gstbus_suite):
4348 Change for new bus signal API.
4350 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4351 (gst_bus_source_prepare), (gst_bus_source_check),
4352 (gst_bus_create_watch), (gst_bus_add_watch_full),
4353 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4354 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4356 Remove support for multiple GSources operating on different
4357 message types as it is too complex and unneeded when using
4359 Added support for receiving signals from the bus.
4361 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4363 * docs/libs/tmpl/gstdataprotocol.sgml:
4364 * docs/manual/advanced-dataaccess.xml:
4365 * gst/elements/gstcapsfilter.c:
4367 rename filter-caps to caps property
4369 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4371 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4372 More robust fraction string parsing.
4374 * docs/pwg/appendix-porting.xml:
4375 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4377 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4379 * gst/gstcaps.c: (gst_caps_do_simplify):
4380 Thou shalt not free a structure and then continue using it
4381 in the next loop iteration.
4383 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4385 Add test case for caps simplification.
4387 2005-09-29 Wim Taymans <wim@fluendo.com>
4389 * check/gst/gstbin.c: (GST_START_TEST):
4392 2005-09-29 Wim Taymans <wim@fluendo.com>
4394 * check/gst/gstbin.c: (GST_START_TEST):
4397 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4398 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4399 (find_element), (gst_bin_sort_iterator_next),
4400 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4401 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4402 (gst_bin_change_state), (gst_bin_dispose):
4403 A bin does not have a bus, it gets the bus from the parent.
4405 * gst/gstelement.c: (gst_element_requires_clock),
4406 (gst_element_provides_clock), (gst_element_is_indexable),
4407 (gst_element_is_locked_state), (gst_element_change_state),
4408 (gst_element_set_bus_func):
4411 * gst/gstpipeline.c: (gst_pipeline_class_init),
4412 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4413 The pipeline provides a bus.
4415 2005-09-28 Johan Dahlin <johan@gnome.org>
4417 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4418 gst_structure_get_enum instead of gst_structure_get_int
4420 * gst/gststructure.c (gst_structure_get_enum): Impl.
4422 * gst/gststructure.h (gst_structure_get_enum): Add
4424 * docs/gst/gstreamer-sections.txt: Ditto
4426 * gst/gstmessage.c (gst_message_new_state_changed): Use
4427 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4428 which does introspection.
4429 Reviewed by Christian Schaller
4431 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4433 * gst/gstinfo.c: (gst_debug_log_default):
4434 don't do dummy g_strdup()s
4435 * libs/gst/controller/gstcontroller.c:
4436 (on_object_controlled_property_changed),
4437 (gst_controlled_property_new), (gst_controller_new_valist),
4438 (gst_controller_new_list),
4439 (gst_controller_remove_properties_valist), (gst_controller_set),
4440 (gst_controller_get), (gst_controller_sync_values),
4441 (gst_controller_get_value_array), (_gst_controller_class_init),
4442 (gst_controller_get_type):
4443 * libs/gst/controller/gstcontroller.h:
4444 * libs/gst/controller/gstinterpolation.c:
4445 (gst_controlled_property_find_timed_value_node):
4446 convert // to /**/ comments
4448 2005-09-28 Wim Taymans <wim@fluendo.com>
4450 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4451 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4452 (gst_bus_sync_signal_handler):
4454 Added async-message and sync-message signals to the bus.
4455 Added helper BusFunc to emit signals for all posted messages.
4457 * gst/gstmessage.c: (gst_message_type_get_name),
4458 (gst_message_type_to_quark), (gst_message_get_type):
4460 Register quarks for message names.
4462 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4464 * docs/libs/gstreamer-libs-sections.txt:
4465 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4466 (gst_controller_new_list):
4467 * libs/gst/controller/gstcontroller.h:
4468 added another constructor for language bindings
4470 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4472 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4476 * gst/gstinfo.c: (_gst_debug_init):
4477 slightly more readable color for refcount debugging
4479 2005-09-28 Wim Taymans <wim@fluendo.com>
4481 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4482 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4483 (find_element), (gst_bin_sort_iterator_next),
4484 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4485 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4486 (gst_bin_change_state), (gst_bin_dispose):
4487 Small doc fixes. get_clock -> provide_clock.
4489 * gst/gstelement.c: (gst_element_class_init),
4490 (gst_element_provides_clock), (gst_element_provide_clock),
4491 (gst_element_get_clock), (gst_element_commit_state),
4492 (gst_element_lost_state):
4494 Make get/set_clock() symetric. Add provide_clock vmethod since
4495 that is actually what this function does.
4497 * gst/gstpipeline.c: (gst_pipeline_class_init),
4498 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4499 (gst_pipeline_get_clock):
4500 get_clock -> provide_clock.
4502 2005-09-28 Andy Wingo <wingo@pobox.com>
4504 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4505 lieu of real docs...
4507 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4509 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4511 * gst/elements/gstcapsfilter.c:
4512 * gst/elements/gstfakesink.c:
4513 * gst/elements/gstfakesrc.c:
4514 * gst/elements/gstfdsink.c:
4515 * gst/elements/gstfdsrc.c:
4516 * gst/elements/gstfilesink.c:
4517 * gst/elements/gstfilesrc.c:
4518 * gst/elements/gstidentity.c:
4519 * gst/elements/gsttee.c:
4520 * gst/elements/gsttypefindelement.c:
4521 Make element details static.
4523 2005-09-28 Wim Taymans <wim@fluendo.com>
4525 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4526 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4527 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4528 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4529 (gst_bin_change_state), (gst_bin_dispose):
4530 Some documentation updates.
4531 Clean up dispose handlers.
4533 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4534 * gst/gstpad.c: (gst_pad_dispose):
4535 Clean up dispose handler.
4537 * gst/gstpipeline.c: (gst_pipeline_change_state):
4538 Removed spurious UNLOCK.
4540 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4542 * docs/gst/gstreamer-sections.txt:
4543 * gst/base/gstbasesrc.h:
4548 * gst/gstpipeline.c:
4549 * gst/gstpipeline.h:
4552 added two new functions to the docs
4553 documents all undocumented GstXXXFlags
4554 completed some incomplete docs
4556 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4558 * gst/gstbin.c: (gst_bin_dispose):
4559 * gst/gstelement.c: (gst_element_dispose):
4560 remove now useless and leaky resurrection code in dispose
4561 * gst/base/gstbasesrc.c: (gst_base_src_init):
4562 * gst/gstelementfactory.c: (gst_element_factory_create):
4563 * gst/gstobject.c: (gst_object_set_parent):
4566 2005-09-27 Wim Taymans <wim@fluendo.com>
4568 * docs/design/part-TODO.txt:
4571 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4572 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4573 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4574 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4575 (gst_bin_change_state):
4577 Remove element variable, we keep element info in the iterator now.
4579 2005-09-27 Andy Wingo <wingo@pobox.com>
4581 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4584 2005-09-27 Wim Taymans <wim@fluendo.com>
4586 * check/gst/gstbin.c: (GST_START_TEST):
4587 Enable check that works now.
4589 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4590 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4591 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4592 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4593 (gst_bin_change_state):
4595 Redid the state change algorithm using a topological sort algo.
4596 Handles all cases correctly.
4597 Exposed iterator for state change order.
4600 Temp storage for state changes. Need to get rid of this soon.
4602 2005-09-27 Wim Taymans <wim@fluendo.com>
4604 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4605 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4606 (link_fold_func), (gst_pad_proxy_setcaps):
4607 Leak fixes, the fold functions need to unref the passed object and
4608 _get_parent_*() returns ref to parent.
4610 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4612 * check/gst/gstbuffer.c: (test_make_writable):
4613 Plug leak in test case and fix 'make check-valgrind'
4615 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4617 * gst/gstbuffer.c: (gst_subbuffer_init):
4618 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4619 works correctly in all circumstances (we could have just copied
4620 the parent buffer's readonly flag, but conceptually it seems
4621 cleaner to mark all subbuffers as read-only). (based on patch
4622 by Alessandro Decina, #314710).
4624 * check/gst/gstbuffer.c: (create_read_only_buffer),
4625 (test_make_writable), (test_subbuffer_make_writable),
4627 Add some tests for gst_buffer_make_writable().
4629 2005-09-27 Wim Taymans <wim@fluendo.com>
4631 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4632 use gst_object_has_ancestor().
4634 * gst/gstobject.c: (gst_object_has_ancestor):
4636 gst_object_has_ancestor() copied from gstbin.c as it is a
4639 * tests/instantiate/create.c: (create_all_elements):
4640 * tests/lat.c: (handoff_src), (handoff_sink):
4641 * tests/sched/runxml.c: (main):
4642 * tests/seeking/seeking1.c: (main):
4643 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4645 Fix compilation of some tests.
4647 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4650 Remove comment. GST_TYPE_G_ERROR is here to stay,
4651 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4654 2005-09-26 Wim Taymans <wim@fluendo.com>
4656 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4657 Added check that shows error in state change order.
4659 2005-09-26 Wim Taymans <wim@fluendo.com>
4661 * gst/gstbin.c: (gst_bin_change_state):
4662 Make state change function use 3 queues again, we were
4663 adding elements in the wrong order.
4665 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4668 * gst/gstpad.c: (gst_pad_dispose):
4669 Added some debug info first.
4671 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4673 * docs/design/draft-push-pull.txt:
4674 * docs/design/part-events.txt:
4675 * docs/design/part-overview.txt:
4676 * docs/design/part-scheduling.txt:
4677 Replace all _pull_region() with _pull_range()
4679 2005-09-26 Andy Wingo <wingo@pobox.com>
4681 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4683 * check/gst-libs/controller.c: Update for controller api change.
4686 * tests/Makefile.am:
4687 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4688 over by GLib bug 118439.
4690 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4691 routines to a function.
4693 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4695 * libs/gst/controller/gsthelper.c:
4696 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4697 (gst_object_sync_values): Renamed from sink_values. Ugh.
4699 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4701 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4702 Renamed from controller_key, as it is exported.
4704 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4706 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4711 * gst/gstpadtemplate.h:
4714 * gst/gstqueryutils.c:
4715 * gst/gstqueryutils.h:
4716 remove queryutils headers after moving the two used functions
4717 to gstquery. also fixes build problem for gstsiddec
4719 2005-09-26 Michael Smith <msmith@fluendo.com>
4721 * tools/gst-launch.1.in:
4722 Correct documentation in manpage of debug syntax
4724 2005-09-26 Wim Taymans <wim@fluendo.com>
4726 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4727 (gst_base_src_is_seekable), (gst_base_src_change_state):
4728 Some more debugging info.
4730 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4732 * docs/gst/gstreamer-sections.txt:
4733 * gst/base/gstbasetransform.h:
4737 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4739 * docs/gst/.cvsignore:
4740 * docs/gst/tmpl/.cvsignore:
4741 * docs/gst/tmpl/gstpipeline.sgml:
4742 * docs/gst/tmpl/gstplugin.sgml:
4743 * gst/gstpipeline.c:
4746 inlined the last two docs files
4747 removed the tmpl directory from cvs (no more conflicts here!)
4749 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4751 * docs/gst/gstreamer-sections.txt:
4752 * docs/gst/tmpl/.cvsignore:
4753 * docs/gst/tmpl/gstpad.sgml:
4754 * docs/gst/tmpl/gstpadtemplate.sgml:
4756 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4757 (gst_pad_finalize), (gst_pad_set_pad_template):
4759 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4760 (gst_pad_template_class_init), (gst_pad_template_init),
4761 (gst_pad_template_dispose), (name_is_valid),
4762 (gst_static_pad_template_get), (gst_pad_template_new),
4763 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4764 (gst_pad_template_pad_created):
4765 * gst/gstpadtemplate.h:
4766 inlined two more docs
4767 factored gstpadtemplate out of gstpad
4769 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4771 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4772 (test_children_state_change_order_semi_sink):
4773 Fix test case: we can't rely on a fixed state change order when
4774 going from READY => PAUSED because the sink might commit its
4775 new state first when the first buffer created by the source
4776 reaches the sink before the source has finished its change state.
4777 (Test case still fails at times, see #316856, comment 5 onwards)
4779 2005-09-24 Wim Taymans <wim@fluendo.com>
4781 * docs/design/part-events.txt:
4782 * docs/design/part-gstbus.txt:
4783 * docs/design/part-gstpipeline.txt:
4784 * docs/design/part-messages.txt:
4785 * docs/design/part-overview.txt:
4786 * docs/design/part-segments.txt:
4793 * gst/gstiterator.c:
4794 Various documentation updates.
4796 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4799 Well, that's embarassing. Luckily we weren't using
4800 GST_CLOCK_DIFF anywhere.
4802 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4804 * common/gtk-doc.mak:
4805 don't fail on building XML, FC4 slave shows a bunch of doc
4806 missing bits that I don't get
4808 * gst/gstpipeline.c:
4809 * gst/gststructure.c:
4812 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4814 * docs/design/part-gstbin.txt:
4815 * docs/design/part-gstbus.txt:
4817 Add blurb about how the bus goes into flushing mode and
4818 drops all messages when its bin goes from READY into NULL
4821 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4823 * docs/gst/gstreamer-sections.txt:
4824 * gst/gststructure.c: (gst_structure_get_clock_time):
4825 * gst/gststructure.h:
4826 add a method to get a GstClockTime out of a structure
4828 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4830 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4831 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4832 Added test to check state change order in bins (can still be made
4833 to fail here under heavy disk load; bails out with 'Push on pad
4834 fakesink:sink0, but it was not activated in push mode').
4836 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4837 Fix state change order when there is only a semi sink (#316856)
4839 * gst/gstbus.c: (gst_bus_class_init):
4840 Use _class_peek_parent(), not _class_ref(); fix docs to say
4841 'default main context' instead of 'mainloop' where that is
4844 * gst/gstelement.c: (gst_element_commit_state),
4845 (gst_element_set_state):
4846 Fix typos in debug messages
4848 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4851 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4852 * gst/gstpluginfeature.c:
4855 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4856 change an assert into an error until it gets fixed properly
4858 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4860 * docs/gst/gstreamer-sections.txt:
4861 * docs/gst/tmpl/.cvsignore:
4862 * docs/gst/tmpl/gstelement.sgml:
4863 * docs/gst/tmpl/gstinfo.sgml:
4864 * docs/gst/tmpl/gstobject.sgml:
4869 * gst/gstobject.c: (gst_object_class_init):
4871 inlined 3 more biiiig doc files and added some missing docs on the fly
4873 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4875 * check/gst/.cvsignore:
4876 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4877 * gst/gstregistryxml.c: (load_plugin),
4878 (gst_registry_xml_save_plugin):
4879 put back source in registry. add checks for find_plugin.
4880 * testsuite/states/bin.c: (assert_state), (empty_bin),
4881 (test_adding_one_element), (main):
4882 * testsuite/states/locked.c: (main):
4883 some compile/run fixes
4885 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4887 * check/gst/gstvalue.c: (GST_START_TEST):
4888 fix leaks in the test itself
4890 2005-09-22 Wim Taymans <wim@fluendo.com>
4892 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4893 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4894 (gst_base_sink_query):
4895 Prepare for more accurate position reporting and query
4898 * gst/gstelement.c: (gst_element_send_event),
4899 (gst_element_set_state):
4902 2005-09-22 Wim Taymans <wim@fluendo.com>
4904 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4905 (gst_query_parse_segment):
4908 Add segment query for future use.
4910 2005-09-22 Wim Taymans <wim@fluendo.com>
4912 * gst/gstbin.c: (gst_bin_add_func):
4913 Some more debug info.
4915 * gst/gstelement.c: (gst_element_send_event):
4919 Don't know how flags got broken.
4924 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4926 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4927 Add simplistic test suite for GST_TYPE_DATE serialisation and
4930 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4932 * docs/gst/gstreamer-sections.txt:
4933 * gst/gststructure.c: (gst_structure_set_valist),
4934 (gst_structure_get_date):
4935 * gst/gststructure.h:
4936 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4937 (gst_date_copy), (gst_value_compare_date),
4938 (gst_value_serialize_date), (gst_value_deserialize_date),
4939 (gst_value_transform_date_string),
4940 (gst_value_transform_string_date), (_gst_value_initialize):
4942 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4943 bunch of utility functions along with a hack that checks that
4944 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4945 is required. Part of the grand scheme in #170777.
4947 2005-09-22 Andy Wingo <wingo@pobox.com>
4949 * gst/gstconfig.h.in: Psych out gtk-doc.
4951 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4953 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4955 * tools/gst-inspect.c (print_element_list): Plug some
4956 inconsequential leaks.
4958 * gst/gstregistry.c (gst_registry_get_default): Doc.
4960 * check/gst/gstplugin.c:
4961 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4962 * gst/gstelementfactory.c (gst_element_factory_create):
4963 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4966 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4967 (gst_plugin_feature_load): Doc, don't eat refs.
4969 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4970 (gst_plugin_list_free): Doc.
4971 (gst_plugin_load_file): Doc updates.
4973 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4974 accessors returning refcounted objects, return a ref.
4976 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4977 accessor for caps. IDEMPOTENCE. Oh yes.
4979 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4981 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4983 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4984 (_gst_debug_register_funcptr):
4985 Add mutex to serialise access to the hash table with
4986 the function pointer => function name string mapping;
4987 make that hash table static scope (#316809).
4989 * gst/registries/.cvsignore:
4990 Remove left-over file.
4992 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4994 * docs/pwg/appendix-porting.xml:
4995 And something about newsegment events and caps-on-buffers to
4996 the porting guide (feel free to improve).
4998 2005-09-21 Andy Wingo <wingo@pobox.com>
5000 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5001 data and event probes on the same pad.
5002 (test_buffer_probe_once): Test that removing probes from within
5003 the probe functions works.
5005 2005-09-21 Andy Wingo <wingo@pobox.com>
5007 * check/gst/gstutils.c: New file.
5008 (test_buffer_probe_n_times): A simple buffer probe test. More to
5011 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5012 have-data::buffer, not have-data.
5013 (gst_pad_add_event_probe): Likewise for have-data::event.
5014 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5015 peer' isn't quite right yet though.
5016 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5017 (gst_pad_remove_data_probe): Change to take the guint handler_id
5018 as their arg, not the function+data, which is more glib-like.
5020 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5021 the signal emission to indicate if the data is a buffer or an
5023 (gst_pad_get_type): Initialize buffer and event quarks.
5024 (gst_pad_class_init): have-data is now a detailed signal, yes it
5027 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5029 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5030 * gst/gstutils.c: (gst_util_set_value_from_string),
5031 (gst_util_set_object_arg):
5032 Don't put functional code in g_return_if_fail() or
5033 g_return_val_if_fail() statements, otherwise things will
5034 break when G_DISABLE_CHECKS is defined during compilation.
5036 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5038 * docs/gst/tmpl/.cvsignore:
5039 * docs/gst/tmpl/gstvalue.sgml:
5042 inlied another one and added some obvious docs
5044 2005-09-21 Wim Taymans <wim@fluendo.com>
5046 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5047 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5048 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5049 (gst_fdsrc_get_property), (gst_fdsrc_create):
5050 * gst/elements/gstfdsrc.h:
5051 Properly implement fdsrc. Removed signal and timeout,
5052 better implemented somewhere else.
5054 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5056 * docs/gst/tmpl/.cvsignore:
5057 * docs/gst/tmpl/gstimplementsinterface.sgml:
5058 * gst/gstinterface.c:
5061 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5063 * docs/gst/gstreamer-sections.txt:
5064 * docs/gst/tmpl/.cvsignore:
5065 * docs/gst/tmpl/gstenumtypes.sgml:
5066 remove obsolete doc file
5068 2005-09-21 David Schleef <ds@schleef.org>
5070 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5071 little beer, fix a little leak.
5073 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5075 * docs/gst/gstreamer-docs.sgml:
5076 * docs/gst/gstreamer-sections.txt:
5077 * docs/gst/tmpl/.cvsignore:
5082 * gst/gstindex.c: (gst_index_class_init):
5084 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5085 (gst_index_factory_class_init), (gst_index_factory_init),
5086 (gst_index_factory_finalize), (gst_index_factory_new),
5087 (gst_index_factory_destroy), (gst_index_factory_find),
5088 (gst_index_factory_create), (gst_index_factory_make):
5089 * gst/gstindexfactory.h:
5090 * gst/gstpluginfeature.c:
5091 * gst/gstpluginfeature.h:
5092 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5093 more docs inlined, splitted gstindex.{c,h}
5095 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5097 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5100 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5102 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5103 Set sync to FALSE by default.
5105 2005-09-20 Wim Taymans <wim@fluendo.com>
5107 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5108 (gst_base_sink_init):
5109 Make sync property settable from subclass.
5111 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5112 (gst_fake_sink_change_state):
5113 Set sync to FALSE by default.
5115 2005-09-20 Wim Taymans <wim@fluendo.com>
5117 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5118 * tools/gst-launch.c: (main):
5119 The timeout handler should have lower priority than the source
5120 so we don't timeout before popping a message with 0 timeout.
5121 Dump error messages after failed state change.
5123 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5125 * tools/gst-inspect.c: (print_element_properties_info):
5128 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5130 * check/gst/gstevent.c:
5131 * gst/elements/gstfakesink.c:
5132 * gst/elements/gstfakesink.h:
5133 remove the sync property from fakesink.
5134 has the side effect of setting sync TRUE
5135 for fakesink, which is a change. Anyone who knows how
5136 to fix this nicely in a GObject-y way, feel free.
5138 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5140 * docs/gst/gstreamer-docs.sgml:
5141 remove probe refsection
5143 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5145 * check/Makefile.am:
5146 disable valgrinding the controller test again
5147 * docs/gst/gstreamer-sections.txt:
5148 update for api-changes
5150 2005-09-20 Wim Taymans <wim@fluendo.com>
5152 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5153 (gst_base_sink_set_property), (gst_base_sink_get_property),
5154 (gst_base_sink_do_sync):
5155 * gst/base/gstbasesink.h:
5156 Added sync property to basesink to disable clock sync.
5158 2005-09-20 Andy Wingo <wingo@pobox.com>
5160 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5161 eating the caller's refcount.
5163 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5164 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5167 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5168 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5169 of GLib 2.8 public, so we can know which refcount to check in
5172 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5173 (gst_object_init): Only set the gst refcount if we're going ahead
5174 with the refcount hack.
5176 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5178 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5179 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5180 more leaks plumbed, added more debug-logging
5184 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5187 remove include of gstmemchunk.h
5189 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5191 * gst/gstclock.c: (_gst_clock_id_free):
5192 Commit from the Political Party For More Atomic CVS Commits,
5193 so that people don't waste too much of their day fishing
5194 out obvious leaks out of massive commits.
5195 Oh, and fix a pretty damn obvious leak in the memchunk
5198 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5200 * check/Makefile.am:
5201 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5202 plug mem-leak, re-add to valgrindable tests
5204 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5207 unbreak the build for those who have chronic arthritis
5208 and typing "make check" is just too taxing on the hands
5210 2005-09-20 Andy Wingo <wingo@pobox.com>
5212 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5213 really want it out, you should fix plugins at the same time.
5215 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5218 * docs/gst/gstreamer-sections.txt:
5220 added missing symbols to api docs
5221 disable ref-count hack if we have glib >= 2.8
5223 2005-09-19 David Schleef <ds@schleef.org>
5225 * docs/gst/Makefile.am: Ignore a few more internal headers
5226 * docs/gst/gstreamer-docs.sgml: Remove old sections
5227 * docs/gst/gstreamer-sections.txt: Remove old sections
5228 * docs/gst/tmpl/gstobject.sgml: update
5229 * docs/gst/tmpl/gstplugin.sgml: update
5230 * docs/gst/tmpl/gstpluginfeature.sgml: update
5231 * docs/random/ds/0.9-suggested-changes: update.
5232 * gst/Makefile.am: remove memchunk and trashstack, since they're
5234 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5235 * gst/gst.h: don't include some headers
5236 * gst/gstchildproxy.c: add gstmarshal.h
5237 * gst/gstclock.c: Don't use memchunks
5238 * gst/gstminiobject.c: Add some docs
5239 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5240 * gst/gstobject.h: same
5241 * gst/gstplugin.c: include gstmacros.h
5242 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5243 * gst/gstquery.c: don't use memchunks
5244 * gst/gstregistry.c: rename gst_registry_deinit()
5245 * gst/gstregistry.h: same
5247 2005-09-19 David Schleef <ds@schleef.org>
5249 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5250 * docs/libs/gstreamer-libs-sections.txt:
5251 * docs/libs/tmpl/gstgetbits.sgml:
5252 * docs/libs/tmpl/gstputbits.sgml:
5254 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5256 * win32/gstenumtypes.c:
5257 * win32/gstenumtypes.h:
5260 2005-09-19 Wim Taymans <wim@fluendo.com>
5262 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5263 Automatically PAUSE and RESUME a pipeline when a flushing seek
5266 2005-09-19 Andy Wingo <wingo@pobox.com>
5268 * gst/gstregistry.h: Spacing fixen.
5270 2005-09-19 Wim Taymans <wim@fluendo.com>
5272 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5273 Handle state change failure more correctly.
5275 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5277 * check/Makefile.am:
5278 * check/pipelines/cleanup.c: (run_pipeline):
5279 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5281 enable cleanup again after fixing the leak
5283 some more info on docs
5285 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5287 * check/Makefile.am:
5288 re-enable tests now that leaks are plugged
5290 * check/gst/gstbin.c:
5291 * check/gst/gstpipeline.c:
5292 add some more tests while fixing leaks
5294 make sure binaries are uptodate when valgrinding/gdbing
5296 * gst/gstelementfactory.c:
5297 remove a ref too many, and add a FIXME for when we get
5298 round to disposing of classes
5300 fix the refcounting when loading a plugin from a file and
5301 the code pretends that the pointer is the same even though
5302 of course it can change
5303 * gst/gstpluginfeature.c:
5304 unref plugins marked cached (a bit confusing as a name)
5305 as the docs state should be done
5306 various doc additions to explain refcounting
5307 * gst/gstregistry.c:
5308 * gst/gstregistryxml.c:
5311 2005-09-19 Wim Taymans <wim@fluendo.com>
5313 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5314 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5315 (send_messages), (GST_START_TEST), (gstbus_suite):
5316 * check/gst/gstpipeline.c: (GST_START_TEST):
5317 * check/pipelines/cleanup.c: (run_pipeline):
5318 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5320 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5321 (gst_bus_source_check), (gst_bus_source_dispatch),
5322 (gst_bus_create_watch), (gst_bus_add_watch_full),
5323 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5325 * tools/gst-launch.c: (event_loop):
5326 * tools/gst-md5sum.c: (event_loop):
5327 GstBusHandler -> GstBusFunc, return value has the same meaning as
5328 any other GSource (FALSE == remove source).
5329 _add_watch() and _add_watch_full() now take a MessageType mask to
5330 only handle specific types of messages.
5331 _poll() returns the GstMessage instead of the message type to avoid
5333 _have_pending() takes a MessageType mask now too.
5334 Added testsuite for multiple bus watches.
5335 Fix testsuites and applications for new bus API.
5337 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5339 * check/Makefile.am:
5340 mark a bunch of the tests as to fix until we fix them
5342 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5345 use GST_PLUGIN settings for valgrind tests as well, so we're
5346 valgrinding the correct thing
5347 * gst/gst.c: (init_post):
5350 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5352 * gst/gst.c: (init_post), (gst_deinit):
5353 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5354 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5355 * gst/gstindex.c: (gst_index_factory_class_init),
5356 (gst_index_factory_finalize):
5357 * gst/gstobject.c: (gst_object_dispose):
5358 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5359 (gst_plugin_load_file), (gst_plugin_desc_free):
5360 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5361 (gst_plugin_feature_finalize):
5362 * gst/gstregistry.c: (gst_registry_class_init),
5363 (gst_registry_init), (gst_registry_finalize),
5364 (gst_registry_get_default), (gst_registry_deinit):
5365 * gst/gstregistry.h:
5366 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5367 various cleanups and memleak plugging. make valgrind is happy now.
5369 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5372 add a check-valgrind target
5374 2005-09-18 David Schleef <ds@schleef.org>
5376 * tools/gst-inspect.c: Revert the GOption code.
5378 2005-09-17 David Schleef <ds@schleef.org>
5380 * check/Makefile.am: Fix environment variables.
5381 * check/gst/gstplugin.c: Fix for API changes.
5382 * tools/gst-inspect.c: Fix for API changes.
5383 * tools/gst-xmlinspect.c: Fix for API changes.
5384 * gst/gstelementfactory.c:
5387 * gst/gstpluginfeature.c:
5388 * gst/gstpluginfeature.h:
5389 * gst/gstregistry.c:
5390 * gst/gstregistry.h:
5391 * gst/gstregistryxml.c:
5392 * gst/gsttypefind.c:
5393 * gst/gsttypefindfactory.c:
5394 * gst/indexers/gstfileindex.c:
5395 * gst/indexers/gstmemindex.c:
5396 * gst/schedulers/Makefile.am:
5397 Change registry to keep track of both plugins and features,
5398 removing the feature tracking from plugins themselves.
5400 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5402 * check/Makefile.am:
5403 * tools/gst-register.1.in:
5406 2005-09-15 David Schleef <ds@schleef.org>
5408 * check/gst/gstplugin.c:
5409 * gst/gstelementfactory.c:
5411 * gst/gstpluginfeature.c:
5412 * gst/gstregistry.c:
5413 Getting tired of debugging. Disabled all the unreffing of
5414 plugins and features, which fixes the segfaults, but of
5415 course leaks like crazy. At least playbin works.
5417 2005-09-15 David Schleef <ds@schleef.org>
5419 * check/gst/gstplugin.c: (register_check_elements),
5420 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5422 * gst/elements/gsttypefindelement.c: Fix refcounting.
5423 * gst/gsttypefind.c:
5424 * gst/gsttypefindfactory.c:
5425 * gst/gsttypefindfactory.h:
5427 2005-09-15 David Schleef <ds@schleef.org>
5429 * gst/gstindex.c: get refcounting correct.
5430 * gst/gstregistry.c: Handle the case where a feature/plugin is
5433 2005-09-15 David Schleef <ds@schleef.org>
5435 * check/Makefile.am:
5436 * check/gst/gstplugin.c: Add test
5437 * gst/gstplugin.c: Fix problems noticed by testsuite
5439 * gst/gstregistry.c:
5440 * gst/gstregistry.h:
5442 2005-09-15 David Schleef <ds@schleef.org>
5444 * gst/gstplugin.c: Implement semi-decent recounting and locking
5445 in plugins and plugin features.
5447 * gst/gstpluginfeature.c:
5448 * gst/gstpluginfeature.h:
5449 * gst/gstregistry.c:
5451 2005-09-15 Michael Smith <msmith@fluendo.com>
5453 * gst/gstregistry.c: (gst_registry_get_feature_list):
5454 Implement this. Makes oggdemux work; decodebin still broken.
5456 2005-09-14 David Schleef <ds@schleef.org>
5458 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5460 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5461 * gst/check/Makefile.am:
5462 * libs/gst/controller/Makefile.am:
5463 * libs/gst/dataprotocol/Makefile.am:
5465 2005-09-14 David Schleef <ds@schleef.org>
5467 * configure.ac: Remove getbits library. Nothing uses it, and
5468 it should be in something like liboil if someone did want
5470 * libs/gst/Makefile.am:
5471 * libs/gst/getbits/Makefile.am:
5472 * libs/gst/getbits/gbtest.c:
5473 * libs/gst/getbits/getbits.c:
5474 * libs/gst/getbits/getbits.h:
5475 * libs/gst/getbits/gstgetbits_generic.c:
5476 * libs/gst/getbits/gstgetbits_i386.s:
5477 * libs/gst/getbits/gstgetbits_inl.h:
5479 2005-09-14 David Schleef <ds@schleef.org>
5481 * gst/Makefile.am: Dist glib-compat.h
5483 2005-09-14 David Schleef <ds@schleef.org>
5485 * configure.ac: Remove gst/registries, since it's no longer used.
5486 * gst/registries/Makefile.am:
5487 * gst/registries/gstlibxmlregistry.c:
5488 * gst/registries/gstlibxmlregistry.h:
5489 * gst/registries/gstxmlregistry.c:
5490 * gst/registries/gstxmlregistry.h:
5491 * gst/registries/registrytest.c:
5493 2005-09-14 David Schleef <ds@schleef.org>
5495 * gst/glib-compat.h:
5496 * gst/gstregistryxml.c:
5497 Convergence is near. Seriously.
5499 2005-09-14 David Schleef <ds@schleef.org>
5501 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5502 * gst/glib-compat.h:
5503 Attempt #4 to appease the buildbots.
5505 2005-09-14 David Schleef <ds@schleef.org>
5507 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5510 2005-09-14 David Schleef <ds@schleef.org>
5512 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5515 2005-09-14 David Schleef <ds@schleef.org>
5517 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5520 2005-09-14 David Schleef <ds@schleef.org>
5522 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5523 * gst/glib-compat.h: Add some functions that are in newer versions
5524 of glib than we care to require.
5525 * gst/gstregistryxml.c: Use them.
5527 2005-09-14 David Schleef <ds@schleef.org>
5529 * po/POTFILES.in: remove gst-register.c
5531 2005-09-14 David Schleef <ds@schleef.org>
5533 * docs/gst/gstreamer-docs.sgml:
5534 * docs/gst/gstreamer-sections.txt:
5535 * docs/gst/gstreamer.types:
5536 * docs/gst/tmpl/gstelement.sgml:
5537 * docs/gst/tmpl/gstplugin.sgml:
5538 * docs/gst/tmpl/gstpluginfeature.sgml:
5539 Documentation updates for registry changes.
5541 2005-09-14 David Schleef <ds@schleef.org>
5543 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5544 because we don't require glib-2.8.
5546 2005-09-14 David Schleef <ds@schleef.org>
5548 * gst/gstregistryxml.c: Added. Essentially moved out of the
5549 registries directory.
5551 2005-09-14 David Schleef <ds@schleef.org>
5553 * check/Makefile.am:
5554 * check/generic/states.c:
5558 * gst/gst_private.h:
5559 * gst/gstelementfactory.c:
5564 * gst/gstpluginfeature.c:
5565 * gst/gstpluginfeature.h:
5566 * gst/gstregistry.c:
5567 * gst/gstregistry.h:
5568 * gst/gstregistrypool.c: remove
5569 * gst/gstregistrypool.h: remove
5570 * gst/gsttypefind.c:
5571 * gst/gsttypefindfactory.c:
5573 * tools/Makefile.am:
5574 * tools/gst-compprep.c:
5575 * tools/gst-inspect.c:
5576 * tools/gst-register.c: remove
5577 * tools/gst-xmlinspect.c:
5578 Registry rewrite. Changes registry from being a file created
5579 by a tool into a simple cache file created automatically by
5580 libgstreamer. Removed gst-register (because it's no longer
5581 needed). Remove registry pools, because we only have one
5582 registry implementation (XML). Fix up other subsystems as
5585 2005-09-13 Michael Smith <msmith@fluendo.com>
5587 * gst/gstconfig.h.in:
5588 Don't Use windows linking attributes for MinGW. Fixes #316157
5590 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5592 * gst/gstutils.c: (set_state_async_thread_func),
5593 (gst_element_set_state_async):
5594 Apparently people think it's better if this function doesn't
5595 try to set the state to whatever state was asked for on the first
5596 call to this function for any object. Seriously.
5598 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5600 * check/gst/gstpipeline.c: (GST_START_TEST):
5601 * docs/gst/gstreamer-sections.txt:
5602 * gst/gstutils.c: (set_state_async_thread_func),
5603 (gst_element_set_state_async):
5605 add a "gst_element_set_state_async" method that
5606 sets the state and starts a thread to make sure the state
5607 change completes as best as it can
5609 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5611 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5612 codify design+behaviour in testsuite after discussion
5614 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5616 * docs/gst/tmpl/gstelement.sgml:
5617 * docs/manual/appendix-quotes.xml:
5619 * gst/gstelement.c: (gst_element_set_state):
5622 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5624 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5625 (gst_base_transform_prepare_output_buf),
5626 (gst_base_transform_handle_buffer):
5627 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5628 (gst_capsfilter_prepare_buf):
5629 Remove the requirement for sub-classes to call the parent
5630 implementation of prepare_output_buffer with a wrapper function.
5633 * gst/gsttagsetter.h:
5636 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5638 * docs/gst/gstreamer-sections.txt:
5641 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5643 * docs/gst/gstreamer-sections.txt:
5644 * docs/gst/tmpl/gstelement.sgml:
5645 * docs/gst/tmpl/gstplugin.sgml:
5646 * gst/gstminiobject.c:
5648 docs now stop throwing warnings
5650 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5652 * docs/gst/gstreamer-sections.txt:
5653 * docs/gst/gstreamer.types:
5654 * docs/gst/tmpl/gstpad.sgml:
5655 * docs/gst/tmpl/gsttypes.sgml:
5656 * gst/base/gstadapter.h:
5657 * gst/base/gstbasesink.h:
5658 * gst/base/gstbasesrc.h:
5668 * gst/gststructure.c:
5669 * gst/registries/gstlibxmlregistry.h:
5670 various documentation fixes
5672 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5674 * docs/gst/gstreamer-sections.txt:
5675 * docs/gst/tmpl/gstvalue.sgml:
5676 rearrange gstvalue section
5677 * gst/gstutils.c: (gst_element_state_get_name):
5679 * gst/gstvalue.c: (_gst_value_initialize):
5683 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5685 * check/gst-libs/controller.c:
5687 * gst/base/gstbasetransform.c:
5688 (gst_base_transform_default_prepare_buf),
5689 (gst_base_transform_handle_buffer):
5690 * gst/base/gstbasetransform.h:
5691 Some more basetransform changes and fixes to enable sub-classes
5692 that modify buffer metadata only.
5693 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5694 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5695 (gst_capsfilter_prepare_buf):
5696 If the output pad has fixed allowed caps and input buffers
5697 don't have any, set the fixed caps on outgoing buffers.
5699 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5700 * check/elements/identity.c: (GST_START_TEST):
5701 Make the error a little clearer when the test fails because
5702 identity made a copy of the buffer.
5703 * docs/gst/gstreamer-sections.txt:
5704 New symbols in gstbasetransform.h
5705 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5706 (gst_base_transform_init), (gst_base_transform_transform_size),
5707 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5708 (gst_base_transform_default_prepare_buf),
5709 (gst_base_transform_get_unit_size),
5710 (gst_base_transform_buffer_alloc),
5711 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5712 (gst_base_transform_change_state),
5713 (gst_base_transform_set_passthrough),
5714 (gst_base_transform_set_in_place),
5715 (gst_base_transform_is_in_place):
5716 * gst/base/gstbasetransform.h:
5717 Change BaseTransform to separate in_place operate from same_caps
5718 output. in_place implies that the element can perform the transform
5719 on incoming buffers in-place, even if the caps on the output are
5721 Sub-class elements can now implement special buffer allocation
5722 methods for outgoing buffers if they wish to.
5723 Big documentation addition.
5724 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5725 * gst/elements/gstelements.c:
5726 Changes for basetransform modifications.
5727 * gst/elements/Makefile.am:
5728 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5729 Compile fix. Extra debug output.
5731 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5733 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5735 add tests for valid pad naming
5736 * gst/check/gstcheck.c: (gst_check_log_message_func),
5737 (gst_check_log_critical_func):
5739 remove printing of code, it is fragile when the code contains
5740 % and the line number is enough info
5741 * gst/check/gstcheck.h:
5742 * gst/gstpad.c: (gst_pad_template_new):
5745 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5748 say what CHECK flags we use
5749 * docs/libs/gstreamer-libs.types:
5750 * libs/gst/controller/Makefile.am:
5751 * libs/gst/controller/gst-controller.c:
5752 * libs/gst/controller/gst-controller.h:
5753 * libs/gst/controller/gst-helper.c:
5754 * libs/gst/controller/gst-interpolation.c:
5755 * libs/gst/controller/gstcontroller.c:
5756 * libs/gst/controller/gsthelper.c:
5757 * libs/gst/controller/gstinterpolation.c:
5758 * tools/gst-inspect.c: (print_plugin_info):
5759 we don't use dashes in header names
5761 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5763 * check/Makefile.am:
5764 * check/gst/.cvsignore:
5765 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5766 (gst_pipeline_suite), (main):
5767 adding a test for pipelines and state changes
5768 * gst/gstutils.c: (get_state_func):
5770 * gstreamer.spec.in:
5773 2005-09-08 Michael Smith <msmith@fluendo.com>
5775 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5776 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5777 (gst_file_src_is_seekable), (gst_file_src_get_size),
5778 (gst_file_src_start):
5779 * gst/elements/gstfilesrc.h:
5780 Various fixes for unseekable, unmmapable, and non-normal files, so
5781 that fallback to read() rather than mmap() works.
5782 * gst/gstevent.c: (gst_event_new_newsegment):
5783 Allow newsegment events with segment_start == segment_end, as will
5784 correctly happen if you use filesrc on a zero-size file, for
5787 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5789 * gst/gstplugin.c: (gst_plugin_load_file):
5790 Call g_module_close when we don't load the module
5792 * gst/registries/gstlibxmlregistry.c:
5793 (gst_xml_registry_get_property):
5794 Port leak fix from 0.8
5796 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5798 * docs/gst/gstreamer-docs.sgml:
5799 * docs/gst/tmpl/.cvsignore:
5800 * docs/gst/tmpl/gsttrace.sgml:
5801 * docs/gst/tmpl/gsttrashstack.sgml:
5810 * gst/gsttaginterface.c:
5811 * gst/gsttaginterface.h:
5814 * gst/gsttagsetter.c:
5815 * gst/gsttagsetter.h:
5818 * gst/gsttrashstack.c:
5819 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5820 inlined docs for gsttrace, gsttrashstack
5822 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5825 * gst/elements/gstbufferstore.h:
5826 * gst/elements/gsttypefindelement.c:
5827 * gst/elements/gsttypefindelement.h:
5829 * gst/gsttypefind.c:
5830 * gst/gsttypefind.h:
5831 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5832 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5833 (gst_type_find_factory_dispose),
5834 (gst_type_find_factory_unload_thyself),
5835 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5836 (gst_type_find_factory_get_caps),
5837 (gst_type_find_factory_get_extensions),
5838 (gst_type_find_factory_call_function):
5839 * gst/gsttypefindfactory.h:
5840 * gst/registries/gstlibxmlregistry.c:
5841 * gst/registries/gstxmlregistry.c:
5842 splitted gsttypefind into gsttypefind, gsttypefindfactory
5844 2005-09-07 Andy Wingo <wingo@pobox.com>
5846 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5847 condition whereby the pad's task function is entered before the
5848 pad_mode variable was set.
5850 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5852 * gst/gstpad.c: (gst_pad_alloc_buffer):
5853 Catch misbehaving pad_alloc functions that don't
5854 set up caps and do it for them.
5856 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5858 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5860 * docs/gst/tmpl/.cvsignore:
5861 * docs/gst/tmpl/gstmemchunk.sgml:
5862 * docs/gst/tmpl/gstparse.sgml:
5863 * docs/gst/tmpl/gsttaglist.sgml:
5864 * docs/gst/tmpl/gsttagsetter.sgml:
5865 * docs/gst/tmpl/gsttypefind.sgml:
5866 * docs/gst/tmpl/gsttypefindfactory.sgml:
5867 * gst/gstmemchunk.c:
5870 * gst/gsttaginterface.c:
5871 * gst/gsttypefind.c:
5872 * gst/gsttypefind.h:
5875 === release 0.9.2 ===
5877 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5882 releasing 0.9.2, "South"
5884 2005-09-05 Andy Wingo <wingo@pobox.com>
5886 * gst/registries/gstxmlregistry.h:
5887 * gst/registries/gstxmlregistry.c: Um... resurrect...
5889 * gst/registries/gstxmlregistry.h:
5890 * gst/registries/gstxmlregistry.c: and update to newer API.
5891 Incidentally they should be a bit faster now that they don't have
5894 2005-09-05 Andy Wingo <wingo@pobox.com>
5896 * gst/registries/gstxmlregistry.h:
5897 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5898 replaced by the libxml registry a while back
5900 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5902 * docs/gst/tmpl/gstplugin.sgml:
5903 * gst/elements/gstelements.c:
5905 * gst/gstplugin.c: (gst_plugin_register_func),
5906 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5907 (gst_plugin_get_source):
5909 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5910 (gst_xml_registry_save_plugin):
5911 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5912 (gst_xml_registry_save_plugin):
5913 * tools/gst-inspect.c: (print_plugin_info):
5914 add a "source" plugin description field, to represent the source
5915 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5916 will set it to PACKAGE, which is automake's idea of the name of
5919 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5925 * docs/faq/Makefile.am:
5926 * docs/gst/tmpl/gstelement.sgml:
5927 * docs/gst/tmpl/gsttypes.sgml:
5928 * docs/htmlinstall.mak:
5929 * docs/manual/Makefile.am:
5930 * docs/pwg/Makefile.am:
5931 reorganize doc build a little
5932 split out docbook and gtk-doc stuff
5933 have two separate --enable's and enable them through autogen
5934 but disable by default in configure (to be similar to other
5936 * gstreamer.spec.in:
5937 clean up docs install
5957 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5959 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5962 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5963 (gst_fake_sink_change_state):
5964 Make state change function thread-safe.
5966 * gst/gstpad.c: (gst_pad_alloc_buffer):
5967 Set offset on generic buffer allocated by fallback.
5969 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5971 * docs/gst/gstreamer-sections.txt:
5972 * docs/gst/tmpl/gstelement.sgml:
5974 * libs/gst/controller/gst-controller.c:
5975 (gst_controlled_property_set_interpolation_mode),
5976 (gst_controlled_property_new),
5977 (gst_controller_find_controlled_property):
5978 run the wingo-magic script against the docs
5980 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5982 * docs/gst/gstreamer-docs.sgml:
5983 * docs/gst/gstreamer-sections.txt:
5984 * docs/gst/tmpl/.cvsignore:
5985 * docs/gst/tmpl/gstelementdetails.sgml:
5986 * docs/gst/tmpl/gstelementfactory.sgml:
5989 * gst/gstelementfactory.c:
5990 * gst/gstelementfactory.h:
5991 merged elementdetails docs into elementfactory docs
5994 2005-09-02 Andy Wingo <wingo@pobox.com>
5996 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5997 consider this enum an enum and not a flags.
5999 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6001 * docs/gst/gstreamer-docs.sgml:
6002 * docs/gst/tmpl/.cvsignore:
6003 * docs/gst/tmpl/gstghostpad.sgml:
6004 * docs/gst/tmpl/gstiterator.sgml:
6005 * docs/gst/tmpl/gstmacros.sgml:
6006 * docs/gst/tmpl/gstrealpad.sgml:
6007 * docs/gst/tmpl/gstregistry.sgml:
6008 * docs/gst/tmpl/gstregistrypool.sgml:
6009 * docs/gst/tmpl/gststructure.sgml:
6010 * docs/gst/tmpl/gstsystemclock.sgml:
6011 * docs/gst/tmpl/gsttrace.sgml:
6012 * gst/gstghostpad.c:
6014 * gst/gstmemchunk.c:
6015 * gst/gstmemchunk.h:
6017 * gst/gstregistry.c:
6018 * gst/gstregistrypool.c:
6019 * gst/gststructure.c:
6020 * gst/gstsystemclock.c:
6023 2005-09-02 Andy Wingo <wingo@pobox.com>
6025 * gst/gstelement.h (GstState): Renamed from GstElementState,
6026 changed to be a normal enum instead of flags.
6027 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6028 munged to be GST_STATE_CHANGE_*.
6029 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6030 work with the new state representation.
6031 (GstStateChange): New enumeration of possible state transitions.
6032 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6033 (GstElementClass::change_state): Pass the GstStateChange along as
6034 an argument. Helps language bindings, so they don't have to use
6035 tricky lock-needing macros like GST_STATE_CHANGE ().
6037 * scripts/update-states (file): New script. Run it on a file to
6038 update it for state naming and API changes. Updates files in
6041 * All files updated for the new API.
6043 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6045 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6046 * gst/gstutils.c: (gst_util_set_value_from_string),
6047 (gst_util_set_object_arg):
6048 fix a bunch of unchecked return values
6049 * tools/gst-complete.c: (main):
6050 * gstreamer.spec.in:
6053 2005-09-01 Wim Taymans <wim@fluendo.com>
6055 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6056 (gst_base_sink_event), (gst_base_sink_do_sync),
6057 (gst_base_sink_handle_event):
6058 * gst/base/gstbasesink.h:
6059 Handle newsegments more correctly.
6064 * gst/gstevent.c: (gst_event_new_newsegment):
6065 A newsegment cannot have a start_time of -1
6067 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6069 * win32/gstenumtypes.c:
6070 * win32/gstenumtypes.h:
6073 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6075 * libs/gst/controller/gst-controller.c:
6076 (gst_controlled_property_set_interpolation_mode),
6077 (gst_controlled_property_new):
6080 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6082 * docs/faq/gst-uninstalled:
6087 * gst/gstutils.c: (gst_element_link_filtered):
6089 add gst_element_link_filtered
6091 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6093 * docs/gst/gstreamer-docs.sgml:
6094 * docs/gst/gstreamer-sections.txt:
6095 * docs/gst/tmpl/.cvsignore:
6096 * docs/gst/tmpl/gsterror.sgml:
6097 * docs/gst/tmpl/gstfilter.sgml:
6098 * docs/gst/tmpl/gsturihandler.sgml:
6099 * docs/gst/tmpl/gsturitype.sgml:
6100 * docs/gst/tmpl/gstutils.sgml:
6101 * docs/gst/tmpl/gstxml.sgml:
6109 inlined more docs, fixed double id-ref
6111 2005-08-31 Wim Taymans <wim@fluendo.com>
6113 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6114 (gst_base_transform_handle_buffer):
6115 Passthrough elements don't need the caps as they don't care.
6117 2005-08-31 Wim Taymans <wim@fluendo.com>
6119 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6120 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6121 Don't leak refcounts on buffers.
6123 2005-08-31 Wim Taymans <wim@fluendo.com>
6125 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6126 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6127 (gst_base_transform_chain), (gst_base_transform_change_state):
6128 * gst/base/gstbasetransform.h:
6129 Handle the case where we are not negotiated more gracefully.
6131 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6133 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6134 (gst_file_src_map_region):
6135 Set READONLY flag on mmap'ed buffers, otherwise
6136 gst_buffer_make_writable() won't work properly (#314708).
6138 2005-08-31 Wim Taymans <wim@fluendo.com>
6140 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6141 passthrough elements can even do inplace on non writable
6142 buffers (as they don't touch them).
6144 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6146 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6147 (gst_test_mono_source_set_property),
6148 (gst_test_mono_source_class_init), (GST_START_TEST),
6149 (gst_controller_suite):
6150 more tests (hehe I have the most)
6152 describe popping messages whenusing mulltiple sources
6153 * libs/gst/controller/gst-controller.c:
6154 (gst_controlled_property_set_interpolation_mode),
6155 (gst_controlled_property_new):
6156 * libs/gst/controller/gst-controller.h:
6157 * libs/gst/controller/gst-interpolation.c:
6158 implement boolean properties
6160 2005-08-31 Wim Taymans <wim@fluendo.com>
6162 * gst/gstminiobject.c: (gst_mini_object_ref):
6163 Cannot assert that the refcount has to be positive
6164 since a disposed object can be resurrected.
6166 2005-08-31 Wim Taymans <wim@fluendo.com>
6168 * gst/gstpad.c: (gst_pad_init):
6169 Revert change, need to first fix badly behaving
6172 2005-08-30 Wim Taymans <wim@fluendo.com>
6174 * check/elements/fakesrc.c: (setup_fakesrc):
6175 * check/elements/identity.c: (setup_identity):
6176 Activate pads before using them.
6178 2005-08-30 Wim Taymans <wim@fluendo.com>
6180 * gst/base/gstadapter.c: (gst_adapter_flush):
6181 Flushing out 0 bytes is ok for this function.
6183 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6184 no newsegment gives a warning and sets the start/stop to
6187 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6188 (gst_base_transform_set_passthrough):
6191 * gst/gstminiobject.c: (gst_mini_object_ref):
6192 Check refcount here too.
6194 * gst/gstpad.c: (gst_pad_init):
6195 Pads are initially flushing and refusing data.
6197 * gst/gstutils.c: (gst_element_link_pads_filtered):
6198 When adding a capsfilter element make sure it has the
6199 same state as the parent bin.
6201 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6203 * docs/gst/tmpl/.cvsignore:
6204 * docs/gst/tmpl/gstformat.sgml:
6205 * docs/gst/tmpl/gstversion.sgml:
6209 * gst/gstversion.h.in:
6210 more docs and two more inlined
6212 2005-08-30 Wim Taymans <wim@fluendo.com>
6214 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6215 Don't sync to clock.
6217 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6219 * docs/gst/gstreamer-sections.txt:
6220 ultral33t func10ns deserve to appear in the docs actually
6221 * docs/gst/tmpl/.cvsignore:
6222 * docs/gst/tmpl/gstcompat.sgml:
6223 * docs/gst/tmpl/gstconfig.sgml:
6224 * gst/check/gstcheck.c:
6226 * gst/gstconfig.h.in:
6229 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6231 * docs/gst/tmpl/.cvsignore:
6232 * docs/gst/tmpl/gstquery.sgml:
6233 * docs/gst/tmpl/gstutils.sgml:
6236 inlined and extended docs
6238 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6240 * check/gst-libs/controller.c: (GST_START_TEST),
6241 (gst_controller_suite):
6243 * docs/gst/tmpl/gstutils.sgml:
6244 * docs/libs/gstreamer-libs-sections.txt:
6245 * docs/libs/tmpl/gstdataprotocol.sgml:
6247 * examples/controller/audio-example.c: (main):
6248 controller example works now
6251 * tools/gst-inspect.c: (print_element_properties_info):
6252 show param spec flags
6254 2005-08-29 Andy Wingo <wingo@pobox.com>
6256 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6258 2005-08-28 Andy Wingo <wingo@pobox.com>
6260 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6261 as having two arguments instead of just one. Allows superclasses
6262 to access information on subclasses -- see the terrible for() loop
6263 in gtype.c:g_type_create_instance for the reason why. All callers
6266 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6268 * docs/design/part-messages.txt:
6270 * docs/gst/tmpl/.cvsignore:
6271 * docs/gst/tmpl/gstcaps.sgml:
6272 * docs/gst/tmpl/gstclock.sgml:
6279 added descriptions for bus and message
6280 inline caps and clock docs
6282 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6288 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6290 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6293 2005-08-26 Andy Wingo <wingo@pobox.com>
6295 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6296 element_set_state's return val.
6297 (test_2_elements): Add test that's been disabled for months.
6299 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6300 can-activate-pull properties.
6302 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6303 can-activate-pull properties. Implement is_seekable so fakesrc can
6304 operate in pull mode.
6306 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6308 (gst_base_sink_activate, gst_base_sink_activate_pull)
6309 (gst_base_sink_activate_push): Make activation mode choosing work.
6311 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6312 is right. Make pull mode work. Post an eos before pausing in pull
6314 (gst_base_sink_change_state): Pay attention to the core's
6315 change_state() return val.
6317 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6318 has-getrange properties. Cleanups.
6320 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6321 has_getrange and replace with can_activate_pull and
6324 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6325 locking comments. Remove has_loop, has_chain and replace with
6326 can_activate_pull and can_activate_push.
6328 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6331 * examples/Makefile.am:
6332 * examples/metadata/Makefile.am:
6333 * examples/metadata/read-metadata.c: (message_loop),
6334 (have_pad_handler), (make_pipeline), (print_tag), (main):
6335 Add metadata reading example that loops over a list of filenames,
6336 dumping any tags found.
6338 * gst/gstbus.c: (gst_bus_dispose):
6339 * gst/gstelement.c: (gst_element_dispose):
6340 Release a few potentially-held references in dispose.
6342 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6344 * docs/gst/tmpl/gstminiobject.sgml:
6345 do *not* add tmpl/*.sgml files to CVS!
6347 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6349 * libs/gst/bytestream/.cvsignore:
6350 * libs/gst/bytestream/Makefile.am:
6351 * libs/gst/bytestream/adapter.c:
6352 * libs/gst/bytestream/adapter.h:
6353 * libs/gst/bytestream/bytestream.c:
6354 * libs/gst/bytestream/bytestream.h:
6355 * libs/gst/bytestream/filepad.c:
6356 * libs/gst/bytestream/filepad.h:
6357 removing obsolete files
6359 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6361 * docs/gst/gstreamer-docs.sgml:
6362 * docs/libs/gstreamer-libs-docs.sgml:
6363 disabed additional index entries again, as this makes docs-gen just
6364 slow and they aren't useful yet
6365 * docs/libs/gstreamer-libs-sections.txt:
6366 little -section.txt cleanup for libs
6368 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6371 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6372 fix up some debugging
6373 (gst_base_transform_get_unit_size),
6374 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6375 (gst_base_transform_handle_buffer):
6376 * gst/base/gstbasetransform.h:
6377 handle and store timed NEWSEGMENT events so that subclasses that
6378 calculate time by counting samples have a segment_start time they
6379 need to add to their timestamps - see audioresample
6381 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6384 removed ';' from the end of macro defs
6385 * docs/gst/gstreamer-docs.sgml:
6386 * docs/gst/gstreamer-sections.txt:
6387 * docs/gst/tmpl/.cvsignore:
6389 * gst/gstelement.c: (gst_element_class_init),
6390 (gst_element_set_state), (activate_pads),
6391 (gst_element_save_thyself):
6392 * gst/gstevent.c: (gst_event_new_newsegment):
6394 * gst/gstiterator.c:
6395 * gst/gstiterator.h:
6398 * gst/gstutils.c: (gst_pad_query_convert):
6400 fixed parameter name mismatches between source, header and docs
6401 added some more docs, resolved the last batch of unused elements in
6402 docs (now someone needs to doc them)
6404 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6406 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6407 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6408 don't walk through the plugins backwards. Where is all this
6409 reversed logic coming from ?
6411 2005-08-25 Wim Taymans <wim@fluendo.com>
6413 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6414 (gst_base_transform_transform_size),
6415 (gst_base_transform_configure_caps),
6416 (gst_base_transform_get_unit_size),
6417 (gst_base_transform_buffer_alloc),
6418 (gst_base_transform_change_state):
6419 * gst/base/gstbasetransform.h:
6420 Cache caps unit_size.
6421 Make sure we cannot negotiate up and downstream at the
6424 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6426 * gst/gst.c: (init_pre), (init_post):
6427 register the installed plugin path after the env var
6428 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6429 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6430 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6431 directories, so the tests can prefer uninstalled over installed
6433 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6435 * gst/base/gstbasetransform.h:
6440 2005-08-25 Wim Taymans <wim@fluendo.com>
6442 * gst/gstbin.c: (bin_bus_handler):
6443 Be a bit more conservative about the posted message.
6445 * gst/gstbus.c: (gst_bus_post):
6446 Some cleanups, warn wrong return values.
6448 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6450 * check/gst/gstbin.c: (GST_START_TEST):
6451 * gst/gstbin.c: (bin_bus_handler):
6452 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6453 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6454 (gst_message_new_warning), (gst_message_new_tag),
6455 (gst_message_new_state_changed), (gst_message_new_segment_start),
6456 (gst_message_new_segment_done), (gst_message_new_custom):
6458 * tools/gst-launch.c: (event_loop):
6459 * tools/gst-md5sum.c: (event_loop):
6460 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6462 2005-08-25 Wim Taymans <wim@fluendo.com>
6464 * check/generic/states.c: (GST_START_TEST):
6465 Cleanup can be done at the end.
6467 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6468 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6469 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6470 Oh boy.. Thanks for finding this, Thomas.
6472 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6474 * docs/gst/gstreamer.types:
6477 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6479 * docs/gst/gstreamer-docs.sgml:
6480 * docs/gst/gstreamer-sections.txt:
6481 * docs/gst/tmpl/.cvsignore:
6483 * gst/gstiterator.c:
6485 * gst/registries/gstxmlregistry.h:
6486 added missing classes and symbols (123 more to go)
6487 removed removed symbols from section file
6488 fixed many doc-comments
6490 2005-08-24 Wim Taymans <wim@fluendo.com>
6492 * check/generic/states.c: (GST_START_TEST):
6493 Make sure all tasks are stopped.
6495 * check/gst/gstbin.c: (GST_START_TEST):
6496 Unref after usage for proper valgrinding.
6498 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6499 Really wait for the task to stop before destroying the
6502 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6503 (gst_queue_src_activate_push):
6504 Small cleanups. Don't stop the task when we did not start
6507 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6508 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6509 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6512 Protect the stream lock with the object lock.
6513 Disallow setting the stream lock when running.
6514 Add cleanup_all to wait for the threadpool to finish.
6515 Remove code to autoallocate a mutex if none was provided.
6516 Add _join() to wait for a task to stop.
6517 Protect the thread pool with a global lock.
6519 2005-08-24 Wim Taymans <wim@fluendo.com>
6521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6522 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6523 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6524 * gst/base/gstbasesink.h:
6525 Handle newsegment events correctly.
6526 Drop buffers out of the segment range.
6528 2005-08-22 Andy Wingo <wingo@pobox.com>
6530 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6531 macro, implements an interface and gstimplementsinterface for a
6534 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6536 * check/Makefile.am:
6537 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6538 add a test that does a bunch of state changes on elements
6539 needs some fixing for valgrind
6540 * check/states/sinks.c: (gst_object_suite):
6543 add prototype for gst_caps_is_equal_fixed
6545 * gst/gstregistrypool.c:
6548 2005-08-24 Andy Wingo <wingo@pobox.com>
6550 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6551 convert a negative value. Doesn't make much sense. Mostly this is
6552 here to force callers to ensure -1 maps to -1.
6554 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6556 * docs/pwg/advanced-types.xml:
6557 Well done to Michael for catching my deliberate introduction
6558 of this spelling mistake.
6559 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6561 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6562 unlink pads before removing the element from the bin.
6564 2005-08-24 Andy Wingo <wingo@pobox.com>
6566 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6567 the same thing as GST_DEBUG=*:4.
6568 (parse_debug_level, parse_debug_category): New helper parsers.
6570 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6572 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6573 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6574 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6575 (gst_base_transform_buffer_alloc),
6576 (gst_base_transform_handle_buffer):
6577 use gboolean return values and pointers to size so we can use the
6578 full GST_BUFFER_SIZE range (guint) for buffer sizes
6579 use GstPadDirection for transform_caps
6580 * gst/base/gstbasetransform.h:
6581 rename get_size to get_unit_size since that's what it is
6582 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6583 use GstPadDirection for transform_caps
6584 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6586 cleanup and debugging
6588 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6590 * gst/gstelement.c: (gst_element_class_init),
6591 (gst_element_set_state), (activate_pads),
6592 (gst_element_save_thyself):
6593 * tools/gst-compprep.c: (main):
6594 * tools/gst-inspect.c: (print_element_properties_info):
6595 * tools/gst-xmlinspect.c: (print_element_properties):
6596 Fixed long standing mem-leak
6598 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6600 * check/gst/gstbin.c: (GST_START_TEST):
6601 * gst/gstbin.c: (bin_bus_handler):
6602 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6603 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6604 (gst_message_new_warning), (gst_message_new_tag),
6605 (gst_message_new_state_changed), (gst_message_new_segment_start),
6606 (gst_message_new_segment_done), (gst_message_new_custom):
6608 * tools/gst-launch.c: (event_loop):
6609 * tools/gst-md5sum.c: (event_loop):
6610 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6611 that applications can sensibly post custom messages with references
6612 to their own objects.
6614 2005-08-24 Andy Wingo <wingo@pobox.com>
6616 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6619 2005-08-24 Wim Taymans <wim@fluendo.com>
6621 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6622 (gst_base_transform_transform_caps),
6623 (gst_base_transform_transform_size),
6624 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6625 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6626 (gst_base_transform_handle_buffer):
6627 * gst/base/gstbasetransform.h:
6628 Many fixes and new features added by Thomas. Can now also do
6629 transforms with variable sizes and a custom fixate_caps function.
6631 2005-08-24 Wim Taymans <wim@fluendo.com>
6633 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6637 Cast to ClockTime before formatting to time.
6642 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6644 * check/gst-libs/controller.c: (GST_START_TEST),
6645 (gst_controller_suite):
6646 * docs/gst/tmpl/gstcaps.sgml:
6647 * docs/gst/tmpl/gstghostpad.sgml:
6648 * docs/gst/tmpl/gstquery.sgml:
6649 * docs/gst/tmpl/gstutils.sgml:
6650 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6651 (gst_object_sink_values), (gst_object_get_value_arrays),
6652 (gst_object_get_value_array):
6653 gracefully handle helper method calls to objects that are not beeing
6654 controlled, added test case for that
6656 2005-08-23 Wim Taymans <wim@fluendo.com>
6658 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6659 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6660 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6661 (gst_event_parse_qos), (gst_event_new_seek),
6662 (gst_event_parse_seek):
6664 Some more debugging output and doc cleanups.
6666 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6667 Fix possible deadlock.
6669 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6671 * docs/gst/gstreamer-docs.sgml:
6672 * docs/gst/gstreamer-sections.txt:
6673 * docs/gst/gstreamer.types:
6674 * docs/gst/tmpl/.cvsignore:
6679 added 100 symbols from gstreamer-unused.txt to the right sections
6680 fixed more broken comments
6681 added GstBus to docs
6683 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6685 * docs/gst/gstreamer-sections.txt:
6686 * docs/gst/tmpl/.cvsignore:
6687 * docs/gst/tmpl/gstbin.sgml:
6688 * docs/gst/tmpl/gstbuffer.sgml:
6689 * gst/base/gstbasesrc.c:
6690 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6693 * tools/gst-launch.1.in:
6694 inlined more doc comments, added missing comments and fixed comments
6697 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6699 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6703 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6705 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6706 * gst/gststructure.h:
6707 add a fixate function for booleans; add a FIXME that these func
6708 names should probably be gst_structure_fixate_*
6710 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6712 * docs/gst/gstreamer-docs.sgml:
6713 * docs/gst/gstreamer-sections.txt:
6715 * gst/gstbin.c: (gst_bin_get_type),
6716 (gst_bin_child_proxy_get_child_by_index),
6717 (gst_bin_child_proxy_get_children_count),
6718 (gst_bin_child_proxy_init):
6719 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6720 (gst_child_proxy_get_child_by_index),
6721 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6722 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6723 (gst_child_proxy_get), (gst_child_proxy_set_property),
6724 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6725 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6726 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6727 * gst/gstchildproxy.h:
6728 * gst/parse/grammar.y:
6729 * tools/gst-inspect.c: (print_interfaces),
6730 (print_element_properties_info), (print_element_info):
6731 ported gstchildproxy over from 0.8
6732 ported gst-inspect fixes and enhancements over from 0.8
6734 2005-08-22 Wim Taymans <wim@fluendo.com>
6736 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6737 (gst_base_transform_handle_buffer):
6738 Also call the transform function if we have ANY caps.
6740 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6743 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6745 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6746 Don't pretend to handle seek events if the source is not seekable
6748 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6750 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6751 Remove extra parameter to debug output
6753 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6754 (gst_base_src_do_seek), (gst_base_src_activate_push):
6755 Fix seek event handling.
6757 * gst/gstpipeline.c: (gst_pipeline_change_state):
6758 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6759 (gst_queue_src_activate_push):
6760 Don't start the src pad task on FLUSH_STOP if the pad
6764 2005-08-22 Wim Taymans <wim@fluendo.com>
6766 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6767 Added check for gst_static_caps_get() refcounting.
6769 2005-08-22 Wim Taymans <wim@fluendo.com>
6771 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6772 Make _static_caps_get() refcounting sane.
6774 * gst/gstelement.c: (gst_element_set_state):
6775 Add g_return_val_if_fail() to protect against segfaults.
6777 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6779 * docs/gst/tmpl/gstevent.sgml:
6782 inlined remaining docs, added missing doc comments
6784 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6786 * check/gst/gstbin.c: (GST_START_TEST):
6787 since we don't know when preroll is done, use refcount range
6789 * gst/check/gstcheck.h:
6790 add macro for checking refcount range
6792 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6794 * check/Makefile.am:
6795 clean up environment for when registry gets built versus
6796 when actual tests are run; valgrind seems to not report
6797 leaks if GST_PLUGIN_PATH is set to some specific values
6798 * check/gst/gstbin.c: (GST_START_TEST):
6799 add more refcounting checks; maybe this exposes a
6802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6803 * gst/check/gstcheck.h:
6804 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6805 (gst_bin_change_state):
6806 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6807 add/fix debugging/whitespace
6809 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6811 * check/gst/gstevent.c: (event_probe), (test_event),
6813 Er, don't call gst_bin_watch_for_state_change you idiot.
6815 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6817 * check/Makefile.am:
6818 Use CHECK_CFLAGS and CHECK_LIBS
6819 * check/gst/gstevent.c: (event_probe), (test_event),
6822 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6823 (gst_base_src_start), (gst_base_src_stop),
6824 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6825 (gst_base_src_change_state):
6826 Sprinkle gst_base_src_stop liberally around error paths to fix
6827 problems reusing a source after failed state changes.
6828 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6829 (helper_find_suggest), (gst_type_find_helper):
6830 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6832 * docs/gst/tmpl/gstevent.sgml:
6833 Migrate part of the docs from the SGML file. Wait for ensonic to
6834 tell me how I did it wrong ;)
6835 * tools/gst-typefind.c: (main):
6836 Extra robustness to state changes between files.
6838 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6840 * check/Makefile.am:
6841 don't valgrind the controller test - it's leaking - Stefan, HELP
6842 * gst/check/gstcheck.c: (gst_check_message_error),
6843 (gst_check_chain_func), (gst_check_setup_element),
6844 (gst_check_teardown_element), (gst_check_setup_src_pad),
6845 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6846 (gst_check_teardown_sink_pad):
6847 * gst/check/gstcheck.h:
6848 add a bunch of methods to set up elements, and src and sink pads
6849 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6850 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6855 whitespace/doc fixes
6857 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6860 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6861 be handled by the application and not always printed as well
6863 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6865 * check/Makefile.am:
6867 * gst/check/gstcheck.c: (gst_check_message_error):
6868 * gst/check/gstcheck.h:
6869 add a fail_unless_equals_int
6870 add fail_unless for error messages
6872 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6874 * check/Makefile.am:
6876 * common/Makefile.am:
6879 factor out some of the common stuff so we can use it
6881 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6883 * check/Makefile.am:
6884 * check/gst/gstiterator.c: (GST_START_TEST):
6885 * check/gst/gstsystemclock.c: (GST_START_TEST),
6886 (gst_systemclock_suite):
6887 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6891 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6893 * check/elements/.cvsignore:
6894 * check/elements/gstfakesrc.c:
6895 rename to name of element
6896 * check/elements/identity.c: (chain_func), (event_func),
6897 (setup_identity), (cleanup_identity), (GST_START_TEST),
6898 (identity_suite), (main):
6899 add a test for identity
6900 * check/Makefile.am:
6901 * pkgconfig/Makefile.am:
6902 * pkgconfig/gstreamer-check.pc.in:
6903 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6907 move the check stuff to a library that gets installed
6908 * check/gst-libs/controller.c: (GST_START_TEST):
6909 * check/gst-libs/gdp.c:
6910 * check/gst/gst.c: (GST_START_TEST):
6911 * check/gst/gstbin.c:
6912 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6913 * check/gst/gstbus.c:
6914 * check/gst/gstcaps.c: (GST_START_TEST):
6915 * check/gst/gstelement.c:
6916 * check/gst/gstghostpad.c:
6917 * check/gst/gstiterator.c:
6918 * check/gst/gstmessage.c:
6919 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6920 * check/gst/gstobject.c:
6921 * check/gst/gstpad.c: (GST_START_TEST):
6922 * check/gst/gststructure.c: (GST_START_TEST):
6923 * check/gst/gstsystemclock.c: (GST_START_TEST),
6924 (gst_systemclock_suite):
6925 * check/gst/gsttag.c: (gst_tag_suite):
6926 * check/gst/gstvalue.c:
6927 * check/pipelines/cleanup.c:
6928 * check/pipelines/simple_launch_lines.c:
6929 * check/states/sinks.c:
6930 change include statement
6932 * docs/gst/gstreamer-sections.txt:
6933 * docs/gst/tmpl/gstpad.sgml:
6934 document more pad stuff
6935 * gst/gstminiobject.c: (gst_mini_object_ref),
6936 (gst_mini_object_unref):
6939 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6941 * docs/gst/tmpl/gst.sgml:
6943 eliminate another tmpl file, fix spelling in the long-description
6945 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6947 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6948 (test_event), (timediff), (gstevents_suite):
6949 Should fix build on 64-bit arch's
6951 2005-08-18 Andy Wingo <wingo@pobox.com>
6953 Make sure that when a pipeline goes to PLAYING, that data has
6954 actually hit the sink.
6956 * check/states/sinks.c (test_sink): A sink that doesn't get any
6957 data shouldn't return SUCCESS for going to either PLAYING or
6958 PAUSED. Test also the return values on the way back down.
6960 * gst/gstelement.c (gst_element_set_state): When changing the
6961 state of an element currently changing state asynchronously, go to
6962 lost-state after commiting the pending state. Makes future calls
6963 to get_state continue to return ASYNC.
6965 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6966 ASYNC when going to PLAYING if we still don't have preroll, as can
6967 happen with live sources.
6969 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6971 * docs/pwg/advanced-types.xml:
6972 Hack long paragraph into 2 chunks as a workaround for buggy
6973 jadetex version in sid and breezy that loops infinitely and
6976 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6978 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6979 (test_event), (timediff), (gstevents_suite):
6980 Provide more error margin in clock measurements to allow for
6981 g_get_current_time inaccuracies.
6983 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6985 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6986 (test_event), (timediff), (gstevents_suite):
6987 Fix error message output so I might be able to tell why the
6988 test works here but fails on the build farm.
6990 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6992 * check/Makefile.am:
6993 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6994 (test_event), (timediff), (gstevents_suite), (main):
6997 * docs/design/part-seeking.txt:
7000 * docs/gst/tmpl/gstevent.sgml:
7001 * docs/gst/tmpl/gstfakesrc.sgml:
7004 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7005 Treat a buffer-without-newsegment the same as a receiving
7006 a newsegment not in time format, and disable syncing to the clock
7009 * gst/gstbus.c: (gst_bus_set_sync_handler):
7010 Assert if anyone tries to replace the existing sync_handler for bus,
7011 as only the owner should be setting it.
7014 Have a fixed set of custom event enums with events identified by
7015 their structure name (as in 0.8), rather than a free-for-all
7016 allowing collisions between enum values from different plugins.
7018 * gst/gstpad.c: (gst_pad_class_init):
7021 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7022 Handle out-of-band downstream events from the sending thread.
7024 2005-08-17 Andy Wingo <wingo@pobox.com>
7026 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7027 play-timeout==0 to mean no timeout at all. In that case, don't
7028 bother with a get_state or a warning, just return directly, even
7031 * gst/base/gstbasetransform.c: Debug changes.
7034 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7035 ensure bins post state change messages. A bit of a hack but I can't
7036 think of a way to avoid it.
7038 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7040 2005-08-16 Andy Wingo <wingo@pobox.com>
7042 * gst/base/gstadapter.h:
7043 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7044 peek() but you own the data. Not terribly efficient atm.
7046 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7048 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7049 (gst_element_found_tags):
7051 Add two utility functions for tag handling.
7053 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7055 * docs/manual/advanced-dataaccess.xml:
7056 * docs/manual/basics-helloworld.xml:
7057 Fix docs to use _bin_add() before _link(), which fixes the examples
7058 with recent core versions (reported by Madhan Raj M
7059 <raj_madan@rediffmail.com>, #313199).
7061 2005-08-16 Wim Taymans <wim@fluendo.com>
7063 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7064 Added subtract checks.
7066 * docs/design/part-events.txt:
7067 Some more docs about newsegment
7069 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7072 * gst/gstcaps.c: (gst_caps_to_string):
7073 Add comments, cleanups.
7075 * gst/gstelement.c: (gst_element_save_thyself):
7078 * gst/gstvalue.c: (gst_value_collect_int_range),
7079 (gst_string_unwrap), (gst_value_union_int_int_range),
7080 (gst_value_union_int_range_int_range),
7081 (gst_value_intersect_int_int_range),
7082 (gst_value_intersect_int_range_int_range),
7083 (gst_value_intersect_double_double_range),
7084 (gst_value_intersect_double_range_double_range),
7085 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7086 (gst_value_subtract_int_range_int),
7087 (gst_value_subtract_double_range_double),
7088 (gst_value_subtract_double_range_double_range),
7089 (gst_value_subtract_from_list), (gst_value_subtract_list),
7090 (gst_value_can_compare), (gst_value_compare_fraction):
7091 Cleanups, add comments, remove unneeded asserts.
7093 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7095 * tools/gst-launch.c: (event_loop):
7096 don't convert NULL structures to strings
7098 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7100 * docs/gst/gstreamer-sections.txt:
7101 made some defines private
7102 * docs/gst/tmpl/gstconfig.sgml:
7103 * docs/gst/tmpl/gstqueue.sgml:
7104 * docs/gst/tmpl/gsttaglist.sgml:
7105 * docs/gst/tmpl/gsttypes.sgml:
7106 * docs/gst/tmpl/gstutils.sgml:
7107 * docs/pwg/appendix-porting.xml:
7108 * gst/base/gstbasesink.h:
7109 * gst/base/gstbasesrc.c:
7110 * gst/base/gstbasesrc.h:
7111 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7112 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7113 * gst/gstelement.c: (gst_element_class_init):
7114 * gst/gstpad.c: (gst_pad_class_init):
7115 * gst/gstqueue.c: (gst_queue_class_init):
7116 * gst/gstxml.c: (gst_xml_class_init):
7117 documented all undocumented signal inline
7118 * libs/gst/controller/gst-controller.h:
7121 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7123 * docs/pwg/appendix-porting.xml:
7124 Document _set_link_function -> _set_setcaps_function.
7126 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7128 * check/Makefile.am:
7129 add a .check target for running the check
7130 * check/gst-libs/controller.c: (GST_START_TEST):
7132 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7133 complete checks for gstbuffer; would be nice if I could get the
7134 gcov stuff to work so I can see if I actually completed gstbuffer.c
7136 add ASSERT_BUFFER_REFCOUNT
7138 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7140 * docs/gst/gstreamer-sections.txt:
7141 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7143 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7144 spew out a warning if a tag that is already registered
7145 is re-registered, unless it is re-registered with a
7146 different type (#308438).
7148 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7150 * docs/pwg/appendix-porting.xml:
7151 * docs/pwg/building-state.xml:
7152 Add some paragraphs about state changes in 0.9 to the PWG
7153 and the porting guide, in particular about the new meaning
7154 of GST_STATE_PAUSED and how to write state change functions
7155 with concurrent access by multiple threads in mind.
7157 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7159 * docs/gst/gstreamer-docs.sgml:
7160 * docs/libs/gstreamer-libs-docs.sgml:
7161 added deprecation and since indexes
7162 * libs/gst/controller/gst-controller.c:
7163 * libs/gst/controller/gst-helper.c:
7167 2005-08-11 Wim Taymans <wim@fluendo.com>
7169 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7170 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7171 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7172 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7173 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7174 (gst_ghost_pad_set_target):
7175 Actually implement (re)setting the target on a ghostpad
7176 as described in the docs.
7178 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7180 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7181 Check whether GST_DEBUG_NO_COLOR environment variable is
7182 set and disable coloured debug output if that is the case.
7184 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7186 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7187 (gst_type_find_helper):
7188 The memory returned by gst_type_find_peek() needs to
7189 stay valid until the end of a typefind function, and
7190 typefind functions may keep results from different
7191 offsets around, so we can't just unref the buffer from
7192 the previous _peek(), but have to save all buffers
7193 returned by _peek() until typefinding is done and only
7196 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7198 * docs/gst/gstreamer-sections.txt:
7200 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7202 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7204 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7205 Fix a pretty good memleak.
7207 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7209 * gst/gstiterator.h:
7210 Fix wrong include and 'make distcheck'.
7212 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7214 * gst/gstbin.c: (bin_bus_handler):
7215 Use gst_element_post_message() instead.
7217 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7219 * gst/base/gstadapter.h:
7220 * gst/base/gstbasesink.h:
7221 * gst/base/gstbasesrc.h:
7222 * gst/base/gstbasetransform.h:
7223 * gst/base/gstcollectpads.h:
7224 * gst/base/gstpushsrc.h:
7225 * gst/gstiterator.h:
7226 Add padding to our base elements' class and instance structs and
7227 to GstIterator (you will need to rebuild all plugins and apps!)
7229 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7231 * gst/gstbin.c: (bin_bus_handler):
7232 Make default message forwarding from child->bus to bin->bus
7233 threadsafe and make it not emit warnings if the parent has no bus.
7235 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7237 * gst/gstelement.c: (activate_pads):
7238 On paused->ready, set pad->caps to NULL, as is the documented
7239 behaviour in this state change. Fixes playback of series of
7240 media files when visualization is enabled in Totem.
7242 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7244 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7245 Allow NULL as filter-caps (which means "any").
7247 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7249 * docs/libs/gstreamer-libs-sections.txt:
7250 * libs/gst/controller/gst-controller.c:
7251 * libs/gst/controller/gst-controller.h:
7252 * libs/gst/controller/gst-helper.c:
7253 adding more entries to the docs and fix small doc-bugs
7255 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7257 * docs/gst/gstreamer-docs.sgml:
7258 * docs/gst/gstreamer-sections.txt:
7259 * docs/gst/gstreamer.types:
7260 * docs/gst/tmpl/gstbasesink.sgml:
7261 * docs/gst/tmpl/gstbasesrc.sgml:
7262 * docs/gst/tmpl/gstbasetransform.sgml:
7263 * docs/gst/tmpl/gstfakesrc.sgml:
7264 * gst/base/gstcollectpads.c:
7265 * gst/base/gstcollectpads.h:
7266 * libs/gst/controller/gst-controller.c:
7267 * libs/gst/controller/gst-controller.h:
7268 * libs/gst/controller/gst-helper.c:
7269 * libs/gst/controller/gst-interpolation.c:
7270 * libs/gst/controller/lib.c:
7271 added long/short desc for controller docs
7272 added collectpads base class docs
7273 added correct includes to base-class docs
7275 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7277 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7278 (gst_test_mono_source_set_property),
7279 (gst_test_mono_source_class_init), (GST_START_TEST),
7280 (gst_controller_suite):
7281 * docs/gst/gstreamer-docs.sgml:
7282 * docs/gst/gstreamer-sections.txt:
7283 * docs/gst/gstreamer.types:
7284 * docs/libs/gstreamer-libs-docs.sgml:
7285 * docs/libs/gstreamer-libs-sections.txt:
7286 * gst/base/gstadapter.c:
7287 * libs/gst/controller/gst-controller.c:
7288 (gst_controlled_property_new), (gst_controlled_property_free),
7289 (gst_controller_new_valist),
7290 (gst_controller_remove_properties_valist),
7291 (gst_controller_sink_values), (_gst_controller_finalize):
7292 * libs/gst/controller/gst-controller.h:
7293 * libs/gst/controller/gst-helper.c:
7294 (gst_object_control_properties), (gst_object_uncontrol_properties),
7295 (gst_object_get_controller), (gst_object_set_controller),
7296 (gst_object_sink_values), (gst_object_get_value_arrays),
7297 (gst_object_get_value_array):
7298 more tests (and fixes) for the controller
7299 more docs for the controller
7300 integrated companies docs for the adapter
7302 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7304 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7305 (GST_START_TEST), (fakesrc_suite):
7306 add tests for sizetype
7308 2005-08-04 Andy Wingo <wingo@pobox.com>
7310 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7311 fixes buffer_alloc proxying among other things.
7313 * gst/base/gstbasetransform.c:
7314 * gst/base/gstbasetransform.h:
7315 Revert patch to gstbasetransform from 7-28 removing
7318 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7319 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7320 Semantics changed, should return not the size of the output buffer
7321 but the byte size of a buffer with a given caps.
7323 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7325 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7326 out) are not the pad caps until setcaps finishes.
7327 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7328 not-in-place case as well. Deal with changing from in-place to
7329 not-in-place within calling pad_alloc_buffer. Still a bit
7330 concerned about the overhead here...
7332 2005-08-03 Andy Wingo <wingo@pobox.com>
7334 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7335 fixating is an error.
7337 2005-08-04 Edward Hervey <edward@fluendo.com>
7339 * gst/base/gstadapter.h:
7340 Added gst_adapter_get_type() to the header
7342 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7344 * check/Makefile.am:
7345 * check/gst-libs/controller.c:
7346 * libs/gst/controller/gst-controller.c:
7347 (gst_controller_new_valist):
7348 added check test suite for the controller
7349 * gst/base/gstpushsrc.c:
7352 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7354 * docs/gst/Makefile.am:
7355 * docs/gst/gstreamer-docs.sgml:
7356 * docs/gst/gstreamer-sections.txt:
7357 * docs/gst/gstreamer.types:
7358 * docs/gst/tmpl/gstfakesrc.sgml:
7360 * gst/base/gstbasesink.c:
7361 * gst/base/gstbasesink.h:
7362 * gst/base/gstbasesrc.c:
7363 * gst/base/gstbasesrc.h:
7364 * gst/base/gstbasetransform.c:
7365 * gst/base/gstpushsrc.c:
7366 * gst/base/gstpushsrc.h:
7367 add short/long description docs to base classes
7368 add pushsrc to the docs
7369 remove consolidated doc fragments
7371 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7374 * docs/libs/Makefile.am:
7375 * docs/libs/gstreamer-libs-docs.sgml:
7376 * docs/libs/gstreamer-libs-sections.txt:
7377 * docs/libs/gstreamer-libs.types:
7378 * examples/Makefile.am:
7379 * examples/controller/.cvsignore:
7380 * examples/controller/Makefile.am:
7381 * examples/controller/audio-example.c: (main):
7382 * libs/gst/Makefile.am:
7383 * libs/gst/controller/.cvsignore:
7384 * libs/gst/controller/Makefile.am:
7385 * libs/gst/controller/gst-controller.c:
7386 (on_object_controlled_property_changed), (gst_timed_value_compare),
7387 (gst_timed_value_find),
7388 (gst_controlled_property_set_interpolation_mode),
7389 (gst_controlled_property_new), (gst_controlled_property_free),
7390 (gst_controller_find_controlled_property),
7391 (gst_controller_new_valist), (gst_controller_new),
7392 (gst_controller_remove_properties_valist),
7393 (gst_controller_remove_properties), (gst_controller_set),
7394 (gst_controller_set_from_list), (gst_controller_unset),
7395 (gst_controller_get), (gst_controller_get_all),
7396 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7397 (gst_controller_get_value_array),
7398 (gst_controller_set_interpolation_mode),
7399 (_gst_controller_finalize), (_gst_controller_init),
7400 (_gst_controller_class_init), (gst_controller_get_type):
7401 * libs/gst/controller/gst-controller.h:
7402 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7403 (g_object_uncontrol_properties), (g_object_get_controller),
7404 (g_object_set_controller), (g_object_sink_values),
7405 (g_object_get_value_arrays), (g_object_get_value_array):
7406 * libs/gst/controller/gst-interpolation.c:
7407 (gst_controlled_property_find_timed_value_node),
7408 (interpolate_none_get), (interpolate_trigger_get),
7409 (interpolate_trigger_get_value_array):
7410 * libs/gst/controller/lib.c: (gst_controller_init):
7411 * pkgconfig/Makefile.am:
7412 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7413 * pkgconfig/gstreamer-control.pc.in:
7414 * testsuite/Makefile.am:
7415 * testsuite/controller/.cvsignore:
7416 * testsuite/controller/Makefile.am:
7417 * testsuite/controller/interpolator.c: (main):
7418 added controller code
7419 removed dparam pc files
7421 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7422 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7423 (gst_collectpads_stop):
7424 Broadcast the condition when shutting down, to make sure we wake all
7425 threads up. Shut down pads on finalize, for safety.
7427 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7428 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7429 (gst_base_transform_handle_buffer),
7430 (gst_base_transform_change_state):
7431 Handle PAUSED->READY->PAUSED transition after negotiation
7433 * gst/gstmessage.c: (gst_message_init):
7434 Extra piece of debug for new messages.
7436 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7439 * docs/gst/tmpl/gstbasesrc.sgml:
7440 * docs/gst/tmpl/gstelement.sgml:
7441 * docs/gst/tmpl/gstevent.sgml:
7442 * docs/gst/tmpl/gstfakesrc.sgml:
7443 * docs/gst/tmpl/gstformat.sgml:
7444 * docs/gst/tmpl/gstghostpad.sgml:
7445 * docs/gst/tmpl/gstpad.sgml:
7446 * docs/gst/tmpl/gstquery.sgml:
7447 * docs/gst/tmpl/gststructure.sgml:
7448 * docs/gst/tmpl/gsttaglist.sgml:
7449 * docs/gst/tmpl/gstvalue.sgml:
7450 * docs/libs/gstreamer-libs-docs.sgml:
7451 * docs/libs/gstreamer-libs-sections.txt:
7452 * docs/libs/gstreamer-libs.types:
7453 * libs/gst/Makefile.am:
7454 * libs/gst/control/.cvsignore:
7455 * libs/gst/control/Makefile.am:
7456 * libs/gst/control/control.c:
7457 * libs/gst/control/control.h:
7458 * libs/gst/control/dparam.c:
7459 * libs/gst/control/dparam.h:
7460 * libs/gst/control/dparam_smooth.c:
7461 * libs/gst/control/dparam_smooth.h:
7462 * libs/gst/control/dparamcommon.h:
7463 * libs/gst/control/dparammanager.c:
7464 * libs/gst/control/dparammanager.h:
7465 * libs/gst/control/dplinearinterp.c:
7466 * libs/gst/control/dplinearinterp.h:
7467 * libs/gst/control/unitconvert.c:
7468 * libs/gst/control/unitconvert.h:
7469 * testsuite/Makefile.am:
7470 * testsuite/dynparams/.cvsignore:
7471 * testsuite/dynparams/Makefile.am:
7472 * testsuite/dynparams/dparamstest.c:
7473 * tools/Makefile.am:
7474 * tools/gst-inspect.c: (print_element_info), (main):
7475 * tools/gst-xmlinspect.c: (print_element_info), (main):
7476 deactivate and remove dparams (libgstcontrol)
7478 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7480 * gst/elements/gsttypefindelement.c:
7481 (gst_type_find_element_have_type), (gst_type_find_element_init),
7482 (stop_typefinding), (gst_type_find_element_handle_event),
7483 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7484 * gst/elements/gsttypefindelement.h:
7485 Set caps on all outgoing buffers, not just the first one.
7487 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7489 * gst/elements/gsttypefindelement.c:
7490 (gst_type_find_element_have_type),
7491 (gst_type_find_element_check_set_buffer_caps),
7492 (gst_type_find_element_init), (stop_typefinding),
7493 (gst_type_find_element_handle_event),
7494 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7495 * gst/elements/gsttypefindelement.h:
7496 Set caps on first outgoing buffer when we've found the type.
7498 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7500 * docs/gst/gstreamer-docs.sgml:
7501 * docs/gst/gstreamer-sections.txt:
7502 * docs/gst/tmpl/gstscheduler.sgml:
7503 * docs/gst/tmpl/gstschedulerfactory.sgml:
7504 Remove some old cruft from docs.
7506 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7509 Fix inline docs for GstPadLinkReturn.
7511 * gst/gststructure.c: (gst_structure_has_name):
7512 * gst/gststructure.h:
7513 * docs/gst/gstreamer-sections.txt:
7514 New API: gst_structure_has_name().
7516 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7519 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7520 and _LARGEFILE_SOURCE in config.h as required. Do not
7521 export those flags in our .pc files any longer (#142209).
7523 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7525 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7526 (gst_file_sink_do_seek), (gst_file_sink_event),
7527 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7528 Redo seek/tell calls with large file support in mind; add some
7529 debugging messages; add log message that tells us when large
7530 file support is unavailable or not enabled for some reason.
7532 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7533 Add log message that tells us when large file support
7534 is unavailable or not enabled for some reason.
7536 2005-07-29 Wim Taymans <wim@fluendo.com>
7538 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7539 Added test for removing an element with ghostpad from a bin.
7540 Fixed test as current implementation does the right thing.
7542 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7543 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7544 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7545 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7546 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7547 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7548 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7549 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7550 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7551 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7552 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7553 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7554 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7555 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7556 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7557 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7558 * gst/gstghostpad.h:
7559 Clean up ghostpads, remove properties for internal stuff.
7562 Prepare for switching targets, not all use cases work yet.
7564 2005-07-29 Wim Taymans <wim@fluendo.com>
7566 * docs/design/part-gstghostpad.txt:
7569 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7570 (gst_bin_remove_func):
7571 Unlinking pads while holding the bin LOCK is not a good
7574 * gst/gstpad.c: (gst_pad_class_init),
7575 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7576 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7577 No prob setting template after creating the pad.
7579 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7581 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7582 (gst_bus_peek), (gst_bus_source_dispatch),
7583 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7584 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7585 gst_bus_poll may be called from other threads. Handle
7586 this nicely by not making poll_data disappear off the
7587 stack once gst_bus_poll returns.
7588 gst_bus_peek now increments the refcount on the returned
7591 2005-07-29 Wim Taymans <wim@fluendo.com>
7593 * docs/design/part-gstghostpad.txt:
7594 Overview of current GhostPad datastructures and use
7595 cases for changing the target.
7597 2005-07-28 Wim Taymans <wim@fluendo.com>
7599 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7600 Added checks for hierarchy consistency whan adding linked
7603 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7604 Added check to test element scheduling without bin/pipeline.
7606 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7607 First add elements to bin, then link.
7609 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7610 (gst_bin_remove_func):
7611 Unlink pads from elements added/removed from bin to maintain
7612 hierarchy consistency.
7614 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7616 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7617 (gst_base_transform_handle_buffer):
7618 * gst/base/gstbasetransform.h:
7619 Remove broken delay_configure (fixes renegotiation of software
7620 scaling pipelines); remove some leftover printf()s.
7622 2005-07-28 Wim Taymans <wim@fluendo.com>
7624 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7625 Added some more tests for wrong hierarchy
7627 * docs/design/part-overview.txt:
7630 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7633 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7634 (gst_element_dispose):
7637 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7638 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7639 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7640 (gst_pad_set_caps), (gst_pad_send_event):
7641 Check for correct hierarchy when linking pads. Moving to
7642 strict requirement for ghostpads when linking elements in
7646 Clean ups. Added WRONG_HIERARCHY return value.
7648 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7650 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7651 Better debug if no transform is possible.
7653 2005-07-27 Wim Taymans <wim@fluendo.com>
7655 * docs/random/wtay/network-transp:
7658 2005-07-27 Wim Taymans <wim@fluendo.com>
7660 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7661 (gst_dp_event_from_packet):
7662 Fix serialization of seek events.
7664 2005-07-27 Wim Taymans <wim@fluendo.com>
7666 * check/gst-libs/gdp.c: (GST_START_TEST):
7667 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7668 Fix compilation and fix event serialization.
7670 2005-07-27 Wim Taymans <wim@fluendo.com>
7673 * docs/design/part-TODO.txt:
7674 * docs/design/part-events.txt:
7677 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7678 (gst_base_sink_event), (gst_base_sink_do_sync),
7679 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7680 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7681 (gst_base_src_do_seek), (gst_base_src_event_handler),
7682 (gst_base_src_loop):
7683 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7684 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7685 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7686 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7687 (gst_base_transform_set_passthrough),
7688 (gst_base_transform_is_passthrough):
7689 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7690 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7696 * gst/gstelement.c: (gst_element_seek):
7698 Update gst_element_seek.
7700 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7701 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7702 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7703 (gst_event_new_eos), (gst_event_new_newsegment),
7704 (gst_event_parse_newsegment), (gst_event_new_tag),
7705 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7706 (gst_event_parse_qos), (gst_event_new_seek),
7707 (gst_event_parse_seek), (gst_event_new_navigation):
7709 Make GstEvent use GstStructure. Add parsing code, make sure the
7710 API is sufficiently generic.
7711 Mark possible directions of events and serialization.
7713 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7714 (_gst_message_copy), (gst_message_new_segment_start),
7715 (gst_message_new_segment_done), (gst_message_new_custom),
7716 (gst_message_parse_segment_start),
7717 (gst_message_parse_segment_done):
7720 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7721 (gst_pad_set_caps), (gst_pad_send_event):
7722 Update for new events.
7723 Catch events sent in wrong directions.
7725 * gst/gstqueue.c: (gst_queue_link_src),
7726 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7727 (gst_queue_handle_src_query):
7732 Remove event code from this file.
7734 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7735 (gst_dp_event_from_packet):
7738 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7740 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7741 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7742 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7743 Make debugging actually useful.
7745 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7747 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7748 (gst_pad_fixate_caps):
7749 Implement default fixation once again, so that gst_pad_fixate()
7750 actually does anything at all. This probably needs to be some
7751 sort of a last resort, and use profile-based fixation first, but
7752 since that doesn't exist yet, this is the best we have. Fixes
7753 visualization in Totem.
7755 2005-07-22 Wim Taymans <wim@fluendo.com>
7757 * docs/design/part-events.txt:
7760 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7761 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7762 (gst_base_sink_activate_pull):
7765 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7766 (gst_fake_src_create):
7767 Fix handoff marshall.
7769 * gst/elements/gstidentity.c: (gst_identity_class_init),
7770 (gst_identity_transform_ip):
7771 We're a real inplace element.
7773 * gst/gstbus.c: (gst_bus_post):
7774 Added some comments.
7776 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7777 * tests/muxing/case1.c: (main):
7778 * tests/sched/dynamic-pipeline.c: (main):
7779 * tests/sched/interrupt1.c: (main):
7780 * tests/sched/interrupt2.c: (main):
7781 * tests/sched/interrupt3.c: (main):
7782 * tests/sched/runxml.c: (main):
7783 * tests/sched/sched-stress.c: (main):
7784 * tests/seeking/seeking1.c: (event_received), (main):
7785 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7787 * tests/threadstate/threadstate3.c: (main):
7788 * tests/threadstate/threadstate4.c: (main):
7789 * tests/threadstate/threadstate5.c: (main):
7792 2005-07-21 Wim Taymans <wim@fluendo.com>
7794 * docs/design/part-seeking.txt:
7795 Some small additions.
7797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7798 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7799 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7800 * gst/base/gstbasesink.h:
7801 discont values are gint64, handle the math correctly.
7803 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7804 Make the basesrc report error if the source pad is not linked.
7806 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7807 (gst_queue_loop), (gst_queue_handle_src_query),
7808 (gst_queue_src_activate_push):
7809 Make queue collect data even if the srcpad is not linked.
7810 Start pushing out data as soon as it is linked.
7812 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7814 Added gst_flow_get_name() to ease error reporting.
7816 2005-07-20 Wim Taymans <wim@fluendo.com>
7818 * gst/gstmessage.c: (gst_message_new_segment_start),
7819 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7820 (gst_message_parse_segment_done):
7822 Added a bunch of messages for advanced seeking.
7824 * gst/parse/grammar.y:
7825 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7826 (gst_dpman_state_changed):
7827 Fix some new-pad -> pad-added signals
7829 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7831 * docs/manual/appendix-porting.xml:
7832 * docs/pwg/appendix-porting.xml:
7833 Document new-pad/state-change signal renames and the FixedList
7836 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7838 * docs/manual/advanced-autoplugging.xml:
7839 * docs/manual/basics-helloworld.xml:
7840 * docs/manual/basics-pads.xml:
7841 * docs/random/ds/0.9-suggested-changes:
7842 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7847 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7848 (gst_structure_parse_array), (gst_structure_parse_value):
7849 * gst/gstvalue.c: (gst_type_is_fixed),
7850 (gst_value_list_prepend_value), (gst_value_list_append_value),
7851 (gst_value_list_get_size), (gst_value_list_get_value),
7852 (gst_value_transform_array_string), (gst_value_serialize_array),
7853 (gst_value_deserialize_array), (gst_value_intersect_array),
7854 (gst_value_is_fixed), (_gst_value_initialize):
7856 GstElement::new-pad -> pad-added, GstElement::state-change ->
7857 state-changed, GstValueFixedList -> GstValueArray, add format and
7858 flags as their own arguments in gst_element_seek() (should improve
7859 "bindeability"), remove function generators since they don't work
7860 under a whole bunch of compilers (they were deprecated already
7863 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7865 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7866 (_gst_debug_register_funcptr):
7868 Fix illegal cast on some platforms (#309253).
7870 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7872 * gst/gstmessage.c: (gst_message_new_custom):
7874 Add _new_custom, make _new_application a macro to _new_custom.
7876 2005-07-20 Wim Taymans <wim@fluendo.com>
7878 * gst/base/gstbasesrc.c: (gst_base_src_init),
7879 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7880 * gst/base/gstbasesrc.h:
7881 Add a gboolean to decide when to push out a discont.
7883 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7884 (gst_queue_loop), (gst_queue_handle_src_query),
7885 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7886 (gst_queue_set_property), (gst_queue_get_property):
7889 * tests/threadstate/threadstate1.c: (main):
7890 Make a thread test compile and run... very silly..
7893 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7895 * docs/manual/appendix-porting.xml:
7896 Mention removal of libgstgconf-0.9.la and existence of gconf
7899 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7901 * docs/pwg/advanced-clock.xml:
7902 * docs/pwg/appendix-porting.xml:
7903 * docs/pwg/intro-preface.xml:
7904 * docs/pwg/other-base.xml:
7905 * docs/pwg/other-manager.xml:
7906 * docs/pwg/other-nton.xml:
7907 * docs/pwg/other-ntoone.xml:
7908 * docs/pwg/other-oneton.xml:
7910 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7911 demuxer), remove n-to-n (was never written), fix some code examples
7912 and links and update the porting section to include all this.
7914 2005-07-19 Wim Taymans <wim@fluendo.com>
7916 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7917 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7918 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7919 (gst_queue_src_activate_push), (gst_queue_change_state),
7920 (gst_queue_get_property):
7922 Propagate GstFlowReturn more intelligently upstream and output
7923 an ERROR/EOS when streaming stopped due to fatal error.
7925 2005-07-19 Wim Taymans <wim@fluendo.com>
7927 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7928 Don't block forever for the state change to complete, the
7929 pipeline already did with a sensible timeout.
7931 2005-07-19 Wim Taymans <wim@fluendo.com>
7933 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7934 Make sure we never call the create function is we
7937 2005-07-19 Andy Wingo <wingo@pobox.com>
7939 * gst/parse/parse.l: Attempt to solve bug #172815.
7941 2005-07-19 Wim Taymans <wim@fluendo.com>
7943 * docs/design/part-clocks.txt:
7944 * docs/design/part-events.txt:
7945 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7947 Only update the seeking values when we are not
7950 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7952 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7953 Oops, ignore the result of gst_pad_push_event here.
7955 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7957 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7958 (gst_base_src_activate_push):
7959 Send discont event from the loop function, as pads
7960 aren't activated yet in the activate_push handler.
7962 * gst/gstbin.c: (bin_bus_handler):
7963 Don't leak element name.
7965 2005-07-18 Andy Wingo <wingo@pobox.com>
7967 * configure.ac: Use AS_LIBTOOL_TAGS.
7969 2005-07-18 Wim Taymans <wim@fluendo.com>
7971 * docs/gst/gstreamer.types:
7972 Remove deleted types.
7974 2005-07-18 Wim Taymans <wim@fluendo.com>
7976 * check/elements/gstfakesrc.c: (GST_START_TEST):
7979 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7980 (init_popt_callback):
7982 * gst/gst_private.h:
7983 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7984 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7987 * gst/gstconfig.h.in:
7988 * gst/gstelement.c: (gst_element_class_init),
7989 (gst_element_set_base_time), (gst_element_get_base_time),
7990 (iterator_fold_with_resync), (gst_element_change_state),
7991 (gst_element_dispose), (gst_element_get_bus):
7993 * gst/gstelementfactory.h:
7994 * gst/gsterror.c: (_gst_core_errors_init):
7997 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7999 * gst/gstinfo.c: (_gst_debug_init):
8000 * gst/gstmessage.c: (_gst_message_copy):
8002 * gst/gstminiobject.h:
8005 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8006 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8009 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8010 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8011 (gst_pipeline_get_last_stream_time):
8012 * gst/gstpipeline.h:
8013 * gst/gstpluginfeature.h:
8015 * gst/gstscheduler.c:
8016 * gst/gstscheduler.h:
8017 * gst/gststructure.h:
8018 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8019 (gst_task_finalize), (gst_task_func), (gst_task_create),
8020 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8021 (gst_task_stop), (gst_task_pause):
8023 * gst/gsttypefind.h:
8025 * gst/registries/gstlibxmlregistry.c: (load_feature),
8026 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8027 * gst/registries/gstxmlregistry.c:
8028 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8029 * gst/schedulers/threadscheduler.c:
8030 * libs/gst/control/dparammanager.h:
8031 * tools/gst-inspect.c: (print_element_list),
8032 (print_plugin_features), (print_element_features):
8033 * tools/gst-xmlinspect.c: (print_element_list),
8034 (print_plugin_info), (main):
8035 Removed plugable schedulers.
8036 Removed Scheduler/Manager from elements.
8037 Removed gsttypes.h, rearranged includes.
8038 Removed dependency pad<->element, element<>pipeline, and
8039 various others, fix includes.
8040 implement gst_pad_get_parent() with gst_object_get_parent()
8041 Make GstTask sefcontained.
8042 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8044 Fix endless loop in iterator_fold_with_resync.
8047 2005-07-18 Wim Taymans <wim@fluendo.com>
8053 2005-07-18 Wim Taymans <wim@fluendo.com>
8058 2005-07-18 Wim Taymans <wim@fluendo.com>
8064 2005-07-18 Wim Taymans <wim@fluendo.com>
8066 * docs/design/part-dynamic.txt:
8067 * docs/design/part-events.txt:
8068 * docs/design/part-seeking.txt:
8069 Some more docs in the works.
8071 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8072 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8073 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8074 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8075 (gst_base_transform_handle_buffer),
8076 (gst_base_transform_sink_activate_push),
8077 (gst_base_transform_src_activate_pull),
8078 (gst_base_transform_set_passthrough),
8079 (gst_base_transform_is_passthrough):
8082 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8085 * gst/gstevent.c: (gst_event_finalize):
8088 * gst/gstutils.c: (gst_element_unlink),
8089 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8090 (gst_pad_proxy_setcaps):
8092 Add _get_parent_element() to get a pads parent as an element.
8094 2005-07-18 Wim Taymans <wim@fluendo.com>
8096 * check/gst/gstbin.c: (GST_START_TEST):
8099 2005-07-18 Wim Taymans <wim@fluendo.com>
8101 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8102 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8103 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8104 (gst_base_sink_event), (gst_base_sink_do_sync),
8105 (gst_base_sink_chain), (gst_base_sink_loop),
8106 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8107 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8109 Fix logic for returning ASYNC when not prerolled.
8111 2005-07-18 Wim Taymans <wim@fluendo.com>
8113 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8114 Fix nasty refcount bug.
8116 2005-07-16 Philippe Khalaf <burger@speedy.org>
8118 * gst/elements/gstfdsrc.c:
8119 * gst/elements/gstfdsrc.h:
8120 * gst/elements/gstelements.c:
8121 * gst/elements/Makefile.am:
8122 Ported fdsrc to 0.9.
8124 2005-07-16 Wim Taymans <wim@fluendo.com>
8126 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8127 (gst_base_sink_do_sync):
8130 2005-07-16 Wim Taymans <wim@fluendo.com>
8132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8133 (gst_base_sink_event), (gst_base_sink_get_times),
8134 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8135 * gst/base/gstbasesink.h:
8136 Store and use discont values when syncing buffers as described
8139 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8140 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8141 (gst_base_src_activate_push):
8142 Push discont event when starting.
8144 * gst/elements/gstidentity.c: (gst_identity_transform):
8147 * gst/gstbin.c: (gst_bin_change_state):
8148 Small cleanups in base_time distribution.
8150 * gst/gstelement.c: (gst_element_set_base_time),
8151 (gst_element_get_base_time), (gst_element_change_state):
8153 Added methods for the base_time of the element.
8156 * gst/gstpipeline.c: (gst_pipeline_send_event),
8157 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8158 (gst_pipeline_get_last_stream_time):
8159 * gst/gstpipeline.h:
8161 Handle seeking as described in design doc, remove stream_time
8163 Cleanups clock and stream_time selection code. Added accessors
8164 for the stream_time.
8167 2005-07-16 Andy Wingo <wingo@pobox.com>
8169 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8172 2005-07-16 Wim Taymans <wim@fluendo.com>
8174 * check/gst/gstbin.c: (GST_START_TEST):
8175 Make elements silent as the deep_notify refs the
8176 parent, which might make the test fail.
8178 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8179 Don't hold the lock for too long.
8181 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8183 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8184 Don't unref the caps we passed to gst_caps_make_writable() after
8185 passing them. gst_caps_make_writable() will do that for us.
8187 2005-07-15 Andy Wingo <wingo@pobox.com>
8189 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8192 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8193 own marshalling function for the handoff signal. Properly type the
8194 buffer as a buffer. Fixes some warnings. Should do a more general
8196 (gst_identity_class_init): Plug into the right marshaller.
8198 2005-07-15 Wim Taymans <wim@fluendo.com>
8200 * docs/design/part-TODO.txt:
8201 * docs/design/part-clocks.txt:
8202 * docs/design/part-element-sink.txt:
8203 * docs/design/part-events.txt:
8204 * docs/design/part-gstpipeline.txt:
8205 Updated docs, mostly DISCONT related.
8207 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8209 * docs/pwg/building-pads.xml:
8210 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8212 2005-07-15 Andy Wingo <wingo@pobox.com>
8214 * tools/gst-typefind.c: Update, add copyright block.
8216 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8217 Normalize and truncate caps before fixation.
8220 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8221 discards all but the first structure from its argument.
8223 2005-07-15 Wim Taymans <wim@fluendo.com>
8225 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8226 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8227 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8228 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8229 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8230 (gst_base_transform_chain), (gst_base_transform_change_state),
8231 (gst_base_transform_set_passthrough),
8232 (gst_base_transform_is_passthrough):
8233 * gst/base/gstbasetransform.h:
8234 Make passthrough work using the bufferpools.
8235 Changed API a bit, subclasses have to write into a buffer
8236 provided by the base class.
8237 More debug info in nego functions.
8239 * gst/elements/gstidentity.c: (gst_identity_init),
8240 (gst_identity_transform):
8241 Port to new base class.
8243 2005-07-15 Wim Taymans <wim@fluendo.com>
8245 * gst/gstmessage.c: (gst_message_new_state_changed):
8246 * tools/gst-launch.c: (event_loop), (main):
8247 Totally dump messages in -launch with the -m option.
8248 Fix message name for State messages,
8250 2005-07-14 Wim Taymans <wim@fluendo.com>
8252 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8253 Post error messages on errors.
8255 2005-07-14 Wim Taymans <wim@fluendo.com>
8257 * gst/gstcaps.c: (gst_caps_do_simplify):
8261 Define error for stream stopped.
8263 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8264 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8265 Do proper return values.
8267 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8268 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8269 (gst_pad_get_range):
8270 Better return values.
8273 Reorganise return values, add macro to check for fatal errors.
8275 * gst/gstqueue.c: (gst_queue_chain):
8276 Return proper GstFlowReturn values,
8278 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8280 * docs/gst/gstreamer-sections.txt:
8281 * docs/gst/gstreamer.types:
8282 * docs/gst/tmpl/gst.sgml:
8283 * docs/gst/tmpl/gstbasesink.sgml:
8284 * docs/gst/tmpl/gstbasesrc.sgml:
8285 * docs/gst/tmpl/gstbasetransform.sgml:
8286 * docs/gst/tmpl/gstbin.sgml:
8287 * docs/gst/tmpl/gstbuffer.sgml:
8288 * docs/gst/tmpl/gstcaps.sgml:
8289 * docs/gst/tmpl/gstclock.sgml:
8290 * docs/gst/tmpl/gstcompat.sgml:
8291 * docs/gst/tmpl/gstconfig.sgml:
8292 * docs/gst/tmpl/gstelement.sgml:
8293 * docs/gst/tmpl/gstelementdetails.sgml:
8294 * docs/gst/tmpl/gstelementfactory.sgml:
8295 * docs/gst/tmpl/gstenumtypes.sgml:
8296 * docs/gst/tmpl/gsterror.sgml:
8297 * docs/gst/tmpl/gstevent.sgml:
8298 * docs/gst/tmpl/gstfakesink.sgml:
8299 * docs/gst/tmpl/gstfakesrc.sgml:
8300 * docs/gst/tmpl/gstfilesink.sgml:
8301 * docs/gst/tmpl/gstfilesrc.sgml:
8302 * docs/gst/tmpl/gstfilter.sgml:
8303 * docs/gst/tmpl/gstformat.sgml:
8304 * docs/gst/tmpl/gstghostpad.sgml:
8305 * docs/gst/tmpl/gstimplementsinterface.sgml:
8306 * docs/gst/tmpl/gstindex.sgml:
8307 * docs/gst/tmpl/gstindexfactory.sgml:
8308 * docs/gst/tmpl/gstinfo.sgml:
8309 * docs/gst/tmpl/gstiterator.sgml:
8310 * docs/gst/tmpl/gstmacros.sgml:
8311 * docs/gst/tmpl/gstmemchunk.sgml:
8312 * docs/gst/tmpl/gstminiobject.sgml:
8313 * docs/gst/tmpl/gstobject.sgml:
8314 * docs/gst/tmpl/gstpad.sgml:
8315 * docs/gst/tmpl/gstpadtemplate.sgml:
8316 * docs/gst/tmpl/gstparse.sgml:
8317 * docs/gst/tmpl/gstpipeline.sgml:
8318 * docs/gst/tmpl/gstplugin.sgml:
8319 * docs/gst/tmpl/gstpluginfeature.sgml:
8320 * docs/gst/tmpl/gstquery.sgml:
8321 * docs/gst/tmpl/gstqueue.sgml:
8322 * docs/gst/tmpl/gstregistry.sgml:
8323 * docs/gst/tmpl/gstregistrypool.sgml:
8324 * docs/gst/tmpl/gstscheduler.sgml:
8325 * docs/gst/tmpl/gstschedulerfactory.sgml:
8326 * docs/gst/tmpl/gststructure.sgml:
8327 * docs/gst/tmpl/gstsystemclock.sgml:
8328 * docs/gst/tmpl/gsttaglist.sgml:
8329 * docs/gst/tmpl/gsttagsetter.sgml:
8330 * docs/gst/tmpl/gsttrace.sgml:
8331 * docs/gst/tmpl/gsttrashstack.sgml:
8332 * docs/gst/tmpl/gsttypefind.sgml:
8333 * docs/gst/tmpl/gsttypefindfactory.sgml:
8334 * docs/gst/tmpl/gsttypes.sgml:
8335 * docs/gst/tmpl/gsturihandler.sgml:
8336 * docs/gst/tmpl/gsturitype.sgml:
8337 * docs/gst/tmpl/gstutils.sgml:
8338 * docs/gst/tmpl/gstvalue.sgml:
8339 * docs/gst/tmpl/gstversion.sgml:
8340 * docs/gst/tmpl/gstxml.sgml:
8341 * docs/libs/tmpl/gstcontrol.sgml:
8342 * docs/libs/tmpl/gstdataprotocol.sgml:
8343 * docs/libs/tmpl/gstdparam.sgml:
8344 * docs/libs/tmpl/gstdplinint.sgml:
8345 * docs/libs/tmpl/gstdpman.sgml:
8346 * docs/libs/tmpl/gstdpsmooth.sgml:
8347 * docs/libs/tmpl/gstgetbits.sgml:
8348 * docs/libs/tmpl/gstunitconvert.sgml:
8349 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8350 (gst_push_src_base_init), (gst_push_src_class_init),
8351 (gst_push_src_init), (gst_push_src_create):
8352 * gst/base/gstpushsrc.h:
8353 * gst/elements/gstelements.c:
8354 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8355 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8356 (gst_fake_sink_init), (gst_fake_sink_set_property),
8357 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8358 (gst_fake_sink_event), (gst_fake_sink_preroll),
8359 (gst_fake_sink_render), (gst_fake_sink_change_state):
8360 * gst/elements/gstfakesink.h:
8361 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8362 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8363 (gst_fake_src_base_init), (gst_fake_src_class_init),
8364 (gst_fake_src_init), (gst_fake_src_event_handler),
8365 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8366 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8367 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8368 (gst_fake_src_create_buffer), (gst_fake_src_create),
8369 (gst_fake_src_start), (gst_fake_src_stop):
8370 * gst/elements/gstfakesrc.h:
8371 * gst/elements/gstfilesink.c: (_do_init),
8372 (gst_file_sink_base_init), (gst_file_sink_class_init),
8373 (gst_file_sink_init), (gst_file_sink_dispose),
8374 (gst_file_sink_set_location), (gst_file_sink_set_property),
8375 (gst_file_sink_get_property), (gst_file_sink_open_file),
8376 (gst_file_sink_close_file), (gst_file_sink_query),
8377 (gst_file_sink_event), (gst_file_sink_render),
8378 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8379 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8380 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8381 * gst/elements/gstfilesink.h:
8382 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8383 (gst_file_src_class_init), (gst_file_src_init),
8384 (gst_file_src_finalize), (gst_file_src_set_location),
8385 (gst_file_src_set_property), (gst_file_src_get_property),
8386 (gst_file_src_map_region), (gst_file_src_map_small_region),
8387 (gst_file_src_create_mmap), (gst_file_src_create_read),
8388 (gst_file_src_create), (gst_file_src_is_seekable),
8389 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8390 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8391 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8392 (gst_file_src_uri_handler_init):
8393 * gst/elements/gstfilesrc.h:
8394 more autistic cleanliness in functions/names/defines
8396 2005-07-13 Andy Wingo <wingo@pobox.com>
8398 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8399 source couldn't negotiate.
8401 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8405 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8406 function. I am channeling Hades. Put your boots on suckers!!!
8408 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8410 * testsuite/caps/Makefile.am:
8411 * testsuite/caps/value_compare.c:
8412 * testsuite/caps/value_intersect.c:
8413 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8414 move two testsuite apps over to the check dir
8416 2005-07-12 Wim Taymans <wim@fluendo.com>
8418 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8419 Added more debug info in the negotiate process.
8422 Prepare for segment playback.
8424 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8430 * tools/gst-launch.c: (main):
8431 NULL pipeline on errors.
8433 2005-07-12 Andy Wingo <wingo@pobox.com>
8435 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8436 not it comes from a malloc region. Make sure our copy gets freed.
8438 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8440 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8441 * check/gst/gstmessage.c: (GST_START_TEST):
8442 * check/gst/gststructure.c: (GST_START_TEST),
8443 (gst_structure_suite), (main):
8445 * gst/gstelement.c: (gst_element_message_full):
8446 clean up GError and debug string now that they get copied
8447 * gst/gstmessage.c: (gst_message_new_error),
8448 (gst_message_new_warning), (gst_message_parse_error),
8449 (gst_message_parse_warning):
8450 use GST_TYPE_G_ERROR for structure_new, and take copies of
8451 arguments, so that we don't mess up refcounting
8453 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8455 * check/Makefile.am:
8456 add per-test valgrind targets
8457 * check/gst-libs/gdp.c: (GST_START_TEST),
8458 (gst_data_protocol_suite), (main):
8461 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8463 * check/Makefile.am:
8464 instate more valgrindable tests
8465 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8466 (GST_START_TEST), (fakesrc_suite):
8467 * check/gst/gstpad.c: (GST_START_TEST):
8468 * check/gst/gststructure.c: (GST_START_TEST):
8470 * docs/gst/tmpl/gstminiobject.sgml:
8471 * gst/gstpad.c: (gst_pad_finalize):
8472 fix the static mutex leak
8474 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8476 * check/Makefile.am:
8477 add two more tests for valgrinding
8478 * check/gst/gstvalue.c: (GST_START_TEST):
8479 test refcount of deserialized buffer, found a leak
8480 * docs/gst/gstreamer-docs.sgml:
8481 * docs/gst/gstreamer-sections.txt:
8482 * docs/gst/gstreamer.types:
8483 * docs/gst/tmpl/gstminiobject.sgml:
8484 add miniobject to docs
8485 * gst/gstminiobject.c:
8487 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8488 (gst_string_unwrap):
8489 fix a hard-to-find invalid write for one of the tests
8490 fix a leak for deserialized buffers
8492 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8494 * docs/pwg/advanced-events.xml:
8495 * docs/pwg/advanced-request.xml:
8496 * docs/pwg/advanced-scheduling.xml:
8497 * docs/pwg/appendix-porting.xml:
8498 * docs/pwg/building-boiler.xml:
8499 * docs/pwg/intro-preface.xml:
8500 * docs/pwg/other-ntoone.xml:
8501 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8502 of example code and explanation for pad activation, loop() and
8503 getrange() functions and a bit more. Remove old comments pointing
8505 * examples/pwg/Makefile.am:
8506 Add loop/getrange examples.
8508 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8511 check for valgrind binary + some fixes
8513 valgrind suppressions for the tests
8514 * check/Makefile.am:
8515 add a valgrind: target that valgrinds the unit tests
8516 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8517 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8518 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8519 * check/gst/gstghostpad.c:
8521 * check/gst/gstdata.c:
8523 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8524 (thread_unref), (gst_mini_object_suite), (main):
8526 * gst/gst.c: (gst_deinit):
8528 add a method to clean up.
8529 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8530 (gst_system_clock_obtain):
8531 allow for disposing the system clock.
8532 * tools/gst-launch.c: (main):
8535 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8537 * docs/gst/tmpl/gstbasesrc.sgml:
8538 * docs/gst/tmpl/gstfakesrc.sgml:
8539 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8540 (gst_base_src_init), (gst_base_src_set_property),
8541 (gst_base_src_get_property), (gst_base_src_get_range),
8542 (gst_base_src_start):
8543 * gst/base/gstbasesrc.h:
8544 add num-buffers property
8545 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8546 (gst_fakesrc_init), (gst_fakesrc_set_property),
8547 (gst_fakesrc_get_property), (gst_fakesrc_create),
8548 (gst_fakesrc_start):
8549 remove num-buffers property
8551 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8553 * docs/gst/gstreamer-sections.txt:
8554 * docs/gst/tmpl/gstbasesink.sgml:
8555 * docs/gst/tmpl/gstbasesrc.sgml:
8556 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8557 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8558 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8559 (gst_base_sink_set_property), (gst_base_sink_get_property),
8560 (gst_base_sink_handle_object), (gst_base_sink_event),
8561 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8562 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8563 (gst_base_sink_loop), (gst_base_sink_deactivate),
8564 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8565 (gst_base_sink_change_state):
8566 * gst/base/gstbasesink.h:
8567 * gst/base/gstbasesrc.h:
8568 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8569 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8570 (gst_filesink_init):
8571 more macro splitting
8573 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8575 * gst/gstelement.c: (gst_element_get_bus):
8577 * tools/gst-launch.c: (check_intr), (event_loop):
8580 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8582 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8585 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8587 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8588 (gst_base_src_finalize):
8589 add finalize method and clean up properly
8590 * gst/gstpipeline.c: (gst_pipeline_dispose):
8593 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8595 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8597 add more things to check
8598 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8602 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8604 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8605 (GST_START_TEST), (fakesrc_suite):
8606 * check/gst-libs/gdp.c: (GST_START_TEST):
8607 * check/gst/gst.c: (GST_START_TEST):
8608 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8609 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8610 * check/gst/gstbus.c: (GST_START_TEST):
8611 * check/gst/gstcaps.c: (GST_START_TEST):
8612 * check/gst/gstdata.c: (GST_START_TEST):
8613 * check/gst/gstelement.c: (GST_START_TEST):
8614 * check/gst/gstghostpad.c: (GST_START_TEST):
8615 * check/gst/gstiterator.c: (GST_START_TEST):
8616 * check/gst/gstmessage.c: (GST_START_TEST):
8617 * check/gst/gstobject.c: (GST_START_TEST):
8618 * check/gst/gstpad.c: (GST_START_TEST):
8619 * check/gst/gststructure.c: (GST_START_TEST):
8620 * check/gst/gstsystemclock.c: (GST_START_TEST),
8621 (gst_systemclock_suite):
8622 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8623 * check/gst/gstvalue.c: (GST_START_TEST):
8624 * check/pipelines/cleanup.c: (GST_START_TEST):
8625 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8626 * check/states/sinks.c: (GST_START_TEST):
8627 * check/gstcheck.c: (gst_check_init):
8629 add debugging category
8630 use GST_START_TEST now, so we add a debug line
8632 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8634 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8635 add test for state change message on a bin
8636 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8638 * gst/gstbin.c: (gst_bin_init):
8639 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8640 * gst/gstelement.c: (gst_element_post_message),
8641 (gst_element_set_state):
8642 * gst/gstelementfactory.c: (gst_element_factory_create):
8643 * gst/gstmessage.c: (gst_message_new):
8644 * gst/gstscheduler.c:
8645 various debugging additions and cleanups
8647 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8649 * check/Makefile.am:
8650 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8652 adding tests for elements
8653 * gst/gstelement.c: (gst_element_dispose):
8655 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8657 * gst/registries/gstlibxmlregistry.c: (load_feature):
8658 plug more leaks. A simple gst_init() now is leakfree, yay.
8660 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8662 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8663 (gst_xml_registry_load):
8664 plug another memleak
8666 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8669 use GST_SET_ERROR_CFLAGS
8671 change to ERROR_CFLAGS
8673 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8676 make GST_ERROR_CFLAGS overridable and re-enable Werror
8678 add a note about error CFLAGS
8679 * docs/gst/tmpl/gstfakesrc.sgml:
8680 * gst/elements/gstfakesrc.c:
8681 comment out some unused code
8682 * gst/gst.c: (split_and_iterate):
8683 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8687 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8689 * common/Makefile.am:
8690 * common/gtk-doc.mak:
8691 * docs/gst/Makefile.am:
8692 factor out gtk-doc.mak
8694 2005-07-07 Wim Taymans <wim@fluendo.com>
8696 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8697 (gst_thread_scheduler_dispose):
8698 Unlock the STREAM_LOCK completely.
8700 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8702 * check/Makefile.am:
8703 * check/elements/.cvsignore:
8704 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8705 (START_TEST), (fakesrc_suite), (main):
8706 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8707 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8708 (gst_fakesrc_create), (gst_fakesrc_start):
8709 * gst/elements/gstfakesrc.h:
8710 adding a first element test
8712 2005-07-07 Andy Wingo <wingo@pobox.com>
8714 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8717 2005-07-07 Wim Taymans <wim@fluendo.com>
8723 2005-07-07 Wim Taymans <wim@fluendo.com>
8725 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8726 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8727 Allow subclasses to implement their own negotiation.
8729 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8731 * docs/design/part-gstbin.txt:
8732 * docs/design/part-gstpipeline.txt:
8733 Update design notes to reflect the movement of
8734 responsibility for bus handling from GstPipeline to
8737 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8740 Remove unnecessary queue2/3/4 examples.
8742 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8744 * examples/Makefile.am:
8745 * examples/helloworld/helloworld.c: (event_loop), (main):
8746 * examples/queue/queue.c: (event_loop), (main):
8747 * examples/queue2/queue2.c: (main):
8748 Update a couple of the examples to work again.
8750 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8751 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8752 Spelling corrections and extra debug.
8754 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8755 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8756 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8758 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8759 (gst_pipeline_change_state):
8760 * gst/gstpipeline.h:
8761 Move the bus handler for children to the GstBin, and create a
8762 separate bus for receiving messages from children to the one the
8763 bus sends 'upwards' on.
8765 2005-07-06 Wim Taymans <wim@fluendo.com>
8768 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8769 (gst_base_sink_handle_object), (gst_base_sink_loop),
8770 (gst_base_sink_change_state):
8771 * gst/base/gstbasesink.h:
8772 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8773 (gst_base_src_init), (gst_base_src_setcaps),
8774 (gst_base_src_getcaps), (gst_base_src_loop),
8775 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8776 (gst_base_src_start), (gst_base_src_change_state):
8777 * gst/base/gstbasesrc.h:
8778 Make basesrc negotiate.
8779 Handle the case where preroll fails in basesink.
8782 2005-07-06 Wim Taymans <wim@fluendo.com>
8784 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8785 Implement the fixate function.
8786 Clean up acceptcaps.
8788 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8790 * docs/pwg/building-filterfactory.xml:
8792 Remove never-written filter-factory chapter; I'll add the various
8793 base classes to part 4 ("other element types") later on.
8795 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8797 * docs/pwg/advanced-negotiation.xml:
8798 * docs/pwg/building-boiler.xml:
8799 * docs/pwg/building-pads.xml:
8801 * examples/pwg/Makefile.am:
8802 Add a chapter on caps negotiation, simplify the original code
8803 samples a bit w.r.t. caps negotiation, add link to the advanced
8804 section. Add a bunch of examples showing different use cases of
8805 different types of caps negotiation. Upstream renegotiation isn't
8806 fully documented yet since nobody knows how that works.
8808 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8810 * check/gst/gstpad.c:
8812 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8813 if pad has no parent, return NULL as list of internal links
8815 2005-07-05 Andy Wingo <wingo@pobox.com>
8817 * gst/elements/gstfilesrc.c:
8818 * gst/elements/gstfakesrc.c:
8819 * gst/base/gstpushsrc.c:
8820 * gst/base/gstbasesrc.h:
8821 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8823 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8826 better report generation target (lcov needs a patch)
8828 2005-07-05 Andy Wingo <wingo@pobox.com>
8830 * gst/elements, testsuite: Null if we got it...
8832 2005-07-05 Wim Taymans <wim@fluendo.com>
8835 * libs/gst/dataprotocol/Makefile.am:
8836 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8837 * libs/gst/dataprotocol/dataprotocol.h:
8838 * pkgconfig/Makefile.am:
8839 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8840 * pkgconfig/gstreamer-dataprotocol.pc.in:
8841 Ported dataprotol to 0.9.
8842 Added pkgconfig files.
8844 2005-07-05 Andy Wingo <wingo@pobox.com>
8846 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8847 Default to returning TRUE for the case when tranform_caps returns
8848 a fixed caps, like for identity or volume.
8850 * check/gst/gstbus.c (pound_bus_with_messages):
8851 * check/gst/gstmessage.c (START_TEST):
8852 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8855 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8856 logic weaks here: always run transform_caps, trying passthrough
8857 operation only if the original caps intersects with the transform.
8859 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8860 source and sink caps.
8862 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8863 Intersect the peer caps with the pad template before going into
8865 (gst_base_transform_transform_caps): More debugging.
8867 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8870 2005-07-04 Edward Hervey <edward@fluendo.com>
8874 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8877 2005-07-04 Andy Wingo <wingo@pobox.com>
8879 * check/gst/gstpad.c: Only set explicit caps on pads.
8881 2005-07-01 Andy Wingo <wingo@pobox.com>
8883 * tests/network-clock.scm: Commentary update.
8885 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8886 Didn't really make sense, not implementable with basetransform,
8888 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8889 attempt at implementing the sync property, needs an unlock method.
8891 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8892 New func, by default returns the same caps (the identity
8894 (gst_base_transform_getcaps): Uses transform_caps to return
8896 (gst_base_transform_setcaps): Complicated logic to get caps on
8897 both pads, even if they are different, and to call set_caps once
8898 for every time both pads get their caps set.
8899 (gst_base_transform_handle_buffer): Give the ref to the transform
8900 function. Allows in-place modification of the buffer.
8902 * gst/base/gstbasetransform.h (transform_caps): New class method.
8903 Given caps on one side, what can I do on the other.
8904 (set_caps): Take two caps, one for each side of the element.
8907 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8908 caps in place. This is safe because we can check the mutability of
8909 the caps, and a good idea because fixate functions are just called
8910 as a matter of last resort. (Not actually implemented.)
8911 (gst_pad_set_caps): If the caps we're setting is actually the same
8912 as the existing pad caps, just update the pointer without calling
8913 setcaps. Assert that caps is either NULL or fixed, as per the
8916 * gst/gstghostpad.c: Update for fixate changes.
8918 2005-07-02 Andy Wingo <wingo@pobox.com>
8921 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8922 two refcounts makes it immutable, which is enough. Doc more.
8924 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8926 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8927 Put the mini_object into GValue as a mini_object,
8928 not a gpointer, since that's how we declared
8931 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8933 * examples/pwg/Makefile.am:
8936 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8938 * docs/pwg/building-testapp.xml:
8940 * examples/pwg/Makefile.am:
8943 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8946 * examples/Makefile.am:
8947 * examples/pwg/Makefile.am:
8948 * examples/pwg/extract.pl:
8949 Enable building the PWG examples.
8950 * docs/pwg/advanced-interfaces.xml:
8951 Add URI interface stub.
8952 * docs/pwg/advanced-types.xml:
8953 * docs/pwg/other-autoplugger.xml:
8954 * docs/pwg/appendix-porting.xml:
8956 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8957 * docs/pwg/building-boiler.xml:
8958 * docs/pwg/building-chainfn.xml:
8959 * docs/pwg/building-pads.xml:
8960 * docs/pwg/building-props.xml:
8961 * docs/pwg/building-state.xml:
8962 * docs/pwg/building-testapp.xml:
8963 Update the building-*.xml parts for 0.9 changes. All examples
8964 code blocks compile in examples/pwg/*.
8966 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8968 * docs/manual/advanced-autoplugging.xml:
8969 * docs/manual/appendix-checklist.xml:
8970 * docs/manual/appendix-integration.xml:
8971 * docs/manual/highlevel-components.xml:
8972 Fix playbin/decodebin examples, update docs a bit, mention bus
8973 instead of signals in various places, mention kmplayer and
8974 kaffeine since they have a working GStreamer backend in the KDE
8977 2005-06-30 Wim Taymans <wim@fluendo.com>
8980 * docs/design/draft-ghostpads.txt:
8981 * docs/design/draft-push-pull.txt:
8982 * docs/design/draft-query.txt:
8983 * docs/design/part-TODO.txt:
8984 * docs/design/part-query.txt:
8985 Added CHANGES-0.9 doc, updated status of other docs.
8990 2005-06-30 Wim Taymans <wim@fluendo.com>
8992 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8993 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8994 (gst_base_sink_change_state):
8995 * gst/base/gstbasesink.h:
8996 Some tweaks, only EOS and a buffer complete a preroll.
8998 2005-06-30 Andy Wingo <wingo@pobox.com>
9000 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9001 activate_push down to the internal pad as well.
9003 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9005 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9007 * gst/gsttaginterface.c:
9008 Some documentation fixes (#307394 and #307397).
9010 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9012 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9014 * gst/gstvalue.c: (gst_value_intersect_list):
9015 Fix memleak (#309125).
9017 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9019 * docs/manual/advanced-dataaccess.xml:
9020 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9021 * docs/manual/basics-pads.xml:
9022 Add reference for filtered caps to above chapter.
9024 2005-06-30 Wim Taymans <wim@fluendo.com>
9026 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9027 (gst_bin_change_state):
9029 Lame attempt at making the state change function a bit
9032 2005-06-30 Wim Taymans <wim@fluendo.com>
9034 * docs/design/part-clocks.txt:
9035 * docs/design/part-element-sink.txt:
9036 * docs/design/part-events.txt:
9037 * docs/design/part-preroll.txt:
9038 * docs/design/part-states.txt:
9039 Some more tweeks and additions to the docs.
9041 2005-06-30 Wim Taymans <wim@fluendo.com>
9043 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9044 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9045 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9046 (gst_pad_check_pull_range), (gst_pad_get_range),
9047 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9049 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9050 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9051 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9052 (gst_pad_remove_buffer_probe):
9053 Removed atomic operations, use existing LOCK.
9054 Move exception handling out of main code path.
9056 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9058 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9059 (silly_return_true_function), (gst_pad_class_init),
9060 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9061 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9062 (gst_pad_send_event):
9063 Fix accumulator, add default value by using _emitv() instead
9064 of _emit() for signal emission.
9066 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9068 * docs/manual/advanced-dataaccess.xml:
9069 * examples/manual/Makefile.am:
9071 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9074 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9076 * gst/elements/gstfilesink.c: (gst_filesink_render):
9077 Simplify code so that we don't have to handle short
9078 writes and return GST_FLOW_ERROR if an error occured.
9080 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9082 * docs/gst/gstreamer-docs.sgml:
9085 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9087 * docs/gst/gstreamer-sections.txt:
9088 * docs/gst/tmpl/gstpad.sgml:
9089 * docs/gst/tmpl/gstprobe.sgml:
9091 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9092 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9093 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9094 (gst_pad_push_event), (gst_pad_send_event):
9096 * gst/gstutils.c: (gst_pad_add_data_probe),
9097 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9098 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9099 (gst_pad_remove_buffer_probe):
9101 Remove old probes, add new g-signal-based probes and some utility
9104 2005-06-29 Edward Hervey <edward@fluendo.com>
9106 * gst/gstelementfactory.c:
9109 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9110 the definition to the header file.
9112 2005-06-29 Andy Wingo <wingo@pobox.com>
9114 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9115 plugins from the source directory.
9117 2005-06-29 Wim Taymans <wim@fluendo.com>
9119 * docs/gst/tmpl/gstbuffer.sgml:
9120 * docs/gst/tmpl/gstclock.sgml:
9121 Some fixings for blantently wrong text.
9123 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9125 * check/Makefile.am:
9126 * gst/gst.c: (add_path_func), (init_pre):
9127 * gst/gstregistry.c: (gst_registry_add_path):
9128 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9129 only scan the GST_PLUGIN_PATH locations, and not add
9132 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9134 * docs/gst/gstreamer-sections.txt:
9135 * docs/gst/tmpl/gstbasesrc.sgml:
9142 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9144 * docs/manual/advanced-autoplugging.xml:
9145 Fix autoplugging example.
9147 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9149 * docs/manual/advanced-autoplugging.xml:
9150 * docs/manual/mime-world.fig:
9151 Try to get autoplugging working, fix type detection. Fix text
9152 in hello-world image.
9154 2005-06-29 Wim Taymans <wim@fluendo.com>
9156 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9157 (gst_base_sink_change_state):
9161 map SIGNAL and BROADCAST to the right function.
9164 Remove redundant braces.
9166 * gst/gstpad.c: (gst_pad_set_caps):
9167 Don't call setcaps function when reseting caps to NULL.
9169 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9170 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9171 (gst_system_clock_id_unschedule):
9172 Use BROADCAST as this is what we do.
9174 2005-06-29 Wim Taymans <wim@fluendo.com>
9176 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9177 We are actually prerolling before commiting the state
9180 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9182 * docs/manual/advanced-clocks.xml:
9183 * docs/manual/advanced-interfaces.xml:
9184 * docs/manual/advanced-metadata.xml:
9185 * docs/manual/advanced-position.xml:
9186 * docs/manual/advanced-schedulers.xml:
9187 * docs/manual/advanced-threads.xml:
9188 * docs/manual/appendix-porting.xml:
9189 * docs/manual/basics-bins.xml:
9190 * docs/manual/basics-bus.xml:
9191 * docs/manual/basics-elements.xml:
9192 * docs/manual/basics-helloworld.xml:
9193 * docs/manual/basics-pads.xml:
9194 * docs/manual/highlevel-components.xml:
9195 * docs/manual/manual.xml:
9196 * docs/manual/thread.fig:
9197 Update (until threads/scheduling) Application Development Manual;
9198 remove GstThread, add GstBus, add simple porting checklist, add
9199 documentation for tag writing, clocks, make all examples until this
9200 part compile and run.
9201 * examples/manual/Makefile.am:
9202 Update from changes to Application Development Manual; add bus
9203 example, remove thread example.
9205 2005-06-28 Wim Taymans <wim@fluendo.com>
9207 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9208 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9209 (gst_bus_source_dispatch):
9210 Add debugging messages.
9211 Make internal methods static.
9212 Handle the case where the bus is flushed in the handler.
9214 * gst/gstelement.c: (gst_element_get_bus):
9215 Fix refcount in _get_bus();
9217 * gst/gstpipeline.c: (gst_pipeline_change_state),
9218 (gst_pipeline_get_clock_func):
9219 Clock refcounting fixes.
9220 Handle the case where preroll timed out more gracefully.
9222 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9223 Clean up the internal thread in dispose. This is needed
9224 for subclasses that actually get disposed.
9226 * gst/schedulers/threadscheduler.c:
9227 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9228 (gst_thread_scheduler_dispose):
9229 Free thread pool in dispose.
9231 2005-06-28 Andy Wingo <wingo@pobox.com>
9233 * tests/network-clock-utils.scm (debug, print-event): New utils.
9235 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9236 (*packet-loss*): Unified loss probability.
9237 (network-time): Report out-of-band events.
9239 * tests/plot-data: Add support for out-of-band events. Hack it
9240 into this script instead of passing it down the pipe; should fix
9243 2005-06-28 Wim Taymans <wim@fluendo.com>
9245 * docs/gst/gstreamer.types:
9246 * docs/gst/tmpl/gstbasesrc.sgml:
9247 * docs/gst/tmpl/gstpad.sgml:
9250 2005-06-28 Wim Taymans <wim@fluendo.com>
9252 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9253 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9254 (gst_proxy_pad_do_fixatecaps):
9255 Correctly proxy the check_pull_range function.
9257 2005-06-28 Andy Wingo <wingo@pobox.com>
9259 * tests/network-clock.scm: Removed need for slib.
9261 2005-06-28 Wim Taymans <wim@fluendo.com>
9263 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9264 (gst_basesink_preroll_queue_flush):
9265 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9266 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9267 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9268 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9269 (gst_proxy_pad_set_property):
9272 * gst/gstqueue.c: (gst_queue_init):
9273 The deprecated pad loop function is removed now.
9275 2005-06-28 Andy Wingo <wingo@pobox.com>
9277 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9278 New parameters, simulate network packet loss.
9280 * tests/network-clock-utils.scm: Initialize the RNG.
9282 2005-06-28 Wim Taymans <wim@fluendo.com>
9284 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9285 (gst_basesink_event), (gst_basesink_deactivate):
9286 Flushing the preroll queue always needs to unlock the waiters.
9288 2005-06-28 Edward Hervey <edward@fluendo.com>
9290 * gst/gstpipeline.c: (gst_pipeline_send_event):
9291 Wheen a seek was successful on a pipeline, set the stream_time to the
9292 seek offset in order to have a synchronized stream_time.
9294 2005-06-28 Wim Taymans <wim@fluendo.com>
9296 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9297 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9298 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9299 (gst_proxy_pad_do_fixatecaps):
9300 Call wrapper function instead of just calling the function
9301 pointers. This takes care of any locking and whatmore.
9303 2005-06-28 Wim Taymans <wim@fluendo.com>
9305 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9306 (gst_pad_pull_range):
9308 CONNECTED -> LINKED.
9310 2005-06-28 Andy Wingo <wingo@pobox.com>
9312 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9313 source-munging commit!!!
9315 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9316 (gst_object_sink): Take gpointer arguments, not GstObject --
9317 avoids casts. Like GLib.
9319 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9322 2005-06-27 Andy Wingo <wingo@pobox.com>
9324 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9327 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9328 returns a sorted copy of the trace list.
9329 (gst_alloc_trace_print_live): New API, only prints traces with
9330 live objects. Sort the list.
9331 (gst_alloc_trace_print_all): Sort the list.
9332 (gst_alloc_trace_print): Align columns.
9334 * gst/elements/gstttypefindelement.c:
9335 * gst/elements/gsttee.c:
9336 * gst/base/gstbasesrc.c:
9337 * gst/base/gstbasesink.c:
9338 * gst/base/gstbasetransform.c:
9339 * gst/gstqueue.c: Adapt for pad activation changes.
9341 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9343 (gst_pipeline_dispose): Drop ref on sched.
9345 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9346 (gst_pad_activate_default): Push mode by default.
9347 (pre_activate_switch, post_activate_switch): New stubs, things to
9348 do before and after switching activation modes on pads.
9349 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9350 the pad's activate function to choose which mode to activate.
9351 Shortcut on deactivation and call the right function directly.
9352 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9354 (gst_pad_activate_push): New API, same for push mode.
9355 (gst_pad_set_activate_function)
9356 (gst_pad_set_activatepull_function)
9357 (gst_pad_set_activatepush_function): Setters for new API.
9359 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9360 Trace all miniobjects.
9361 (gst_mini_object_make_writable): Unref the arg if we copy, like
9362 gst_caps_make_writable.
9364 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9366 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9367 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9368 Adapt for new pad API.
9370 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9373 * gst/gstelement.c (gst_element_iterate_src_pads)
9374 (gst_element_iterate_sink_pads): New API functions.
9376 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9377 should fold into gstiterator.c in some form.
9378 (gst_element_pads_activate): Simplified via use of fold and
9379 delegation of decisions to gstpad->activate.
9381 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9384 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9385 class once in init, like gstmessage. Didn't run into this issue
9386 but it seems correct. Don't initialize a trace, gstminiobject does
9389 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9390 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9392 (assert_live_count): New util function, uses alloc traces to check
9395 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9396 To be modified when unlink drops the internal pad.
9398 2005-06-27 Wim Taymans <wim@fluendo.com>
9400 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9401 (gst_bin_change_state):
9402 Cleanup the get_state() function a little, make sure it
9403 iterates the same set of elements.
9404 Added stub iterate_state_order().
9406 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9408 * docs/gst/gstreamer-docs.sgml:
9409 * docs/gst/gstreamer-sections.txt:
9410 * docs/gst/gstreamer.types:
9411 * docs/gst/tmpl/gstbasesink.sgml:
9412 * docs/gst/tmpl/gstbasesrc.sgml:
9413 * docs/gst/tmpl/gstbasetransform.sgml:
9414 * docs/gst/tmpl/gstelement.sgml:
9415 * docs/gst/tmpl/gstiterator.sgml:
9416 * gst/base/gstbasesrc.c:
9417 * gst/base/gstbasesrc.h:
9418 * gst/base/gstbasetransform.h:
9420 * gst/gstiterator.h:
9421 adding basetransform and iterator docs
9423 2005-06-27 Andy Wingo <wingo@pobox.com>
9425 * docs/design/part-activation.txt: Notes on how activation should
9426 work -- not quite implemented yet.
9428 2005-06-25 Wim Taymans <wim@fluendo.com>
9430 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9431 At least get the chain function correct, needs more
9434 2005-06-25 Wim Taymans <wim@fluendo.com>
9436 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9437 (gst_basesink_handle_object), (gst_basesink_event),
9438 (gst_basesink_do_sync), (gst_basesink_handle_event),
9439 (gst_basesink_change_state):
9441 Right, two problems here: ghostpads don't take locks and
9442 glib _rec_mutex_lock_full() with depth==0 still locks.
9443 Catch illegal locking and g_warn them.
9445 2005-06-25 Wim Taymans <wim@fluendo.com>
9447 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9448 Have to check for completion now...
9450 2005-06-25 Wim Taymans <wim@fluendo.com>
9452 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9453 (gst_basesink_handle_object), (gst_basesink_event),
9454 (gst_basesink_do_sync), (gst_basesink_handle_event),
9455 (gst_basesink_change_state):
9457 Unlock STREAM_LOCK whatever the recursion was.
9459 2005-06-25 Wim Taymans <wim@fluendo.com>
9461 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9462 (gst_basesink_preroll_queue_empty),
9463 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9464 (gst_basesink_event), (gst_basesink_do_sync),
9465 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9466 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9467 (gst_basesink_change_state):
9468 Reworked the base sink, handle event and buffer serialisation
9469 correctly and removed possible deadlock.
9470 Handle EOS correctly.
9472 2005-06-25 Wim Taymans <wim@fluendo.com>
9474 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9475 (gst_pipeline_change_state):
9476 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9477 Allow elements to post EOS in the state change function.
9478 Fix up -launch, make it exit the poll loop when the
9479 pipeline actually changed state.
9480 Fix up warning parsing in -launch.
9482 2005-06-25 Wim Taymans <wim@fluendo.com>
9484 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9485 (gst_tee_sink_activate):
9486 Core takes STREAM_LOCK for us now.
9488 2005-06-25 Wim Taymans <wim@fluendo.com>
9490 * gst/gstelement.c: (gst_element_get_state_func),
9491 (gst_element_set_state):
9493 * gst/gstmessage.c: (gst_message_parse_error),
9494 (gst_message_parse_warning):
9495 Keep track of current target state while performing a state
9496 change so that subclasses can do something interesting.
9497 Fix parsing of warning/error messages when GError is NULL.
9499 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9501 * docs/gst/Makefile.am:
9502 * docs/gst/gstreamer-docs.sgml:
9503 * docs/gst/gstreamer-sections.txt:
9504 * docs/gst/gstreamer.types:
9505 * docs/gst/tmpl/gstbasesink.sgml:
9506 * docs/gst/tmpl/gstbasesrc.sgml:
9507 * docs/gst/tmpl/gstbin.sgml:
9508 * docs/gst/tmpl/gstcompat.sgml:
9509 * docs/gst/tmpl/gstfakesink.sgml:
9510 * docs/gst/tmpl/gstfakesrc.sgml:
9511 * docs/gst/tmpl/gstfilesink.sgml:
9512 * docs/gst/tmpl/gstfilesrc.sgml:
9513 * docs/gst/tmpl/gstindex.sgml:
9514 * docs/manual/appendix-quotes.xml:
9515 * gst/base/gstbasesrc.h:
9516 * gst/elements/gstfakesrc.h:
9518 start pulling in base classes and elements in our docs
9520 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9522 * docs/gst/Makefile.am:
9523 * docs/libs/Makefile.am:
9524 fixed make distcheck with gtk-doc 1.3
9526 2005-06-23 Wim Taymans <wim@fluendo.com>
9528 * gst/gstelement.c: (gst_element_get_state_func),
9529 (gst_element_set_state), (gst_element_change_state):
9530 When the state did not change, also report NO_PREROLL
9533 2005-06-23 Wim Taymans <wim@fluendo.com>
9535 * gst/gstpad.c: (gst_pad_event_default):
9536 * gst/gstqueue.c: (gst_queue_loop):
9537 No unsafe task pausing please.
9539 2005-06-23 Wim Taymans <wim@fluendo.com>
9541 * gst/schedulers/threadscheduler.c:
9542 (gst_thread_scheduler_task_start),
9543 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9544 Ref the task before pushing it on the threadpool. This
9545 makes sure that we have a ref when the threadfunction is
9548 2005-06-23 Andy Wingo <wingo@pobox.com>
9550 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9551 offset is greater than the file's size.
9553 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9554 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9555 * gst/gstobject.c (gst_object_class_init): Make the class lock
9556 recursive. Wim won't let me drop deep_notify. Decodebin works
9559 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9560 internal pad, and hacks accordingly. Doesn't do it on the target
9561 pad because we change its caps. Probably catches all cases of
9563 (gst_ghost_pad_set_property): Connect to notify::caps as
9566 * tests/network-clock.scm (plot-simulation): Pipe data to the
9567 elite python skript.
9569 * tests/network-clock-utils.scm (define-parameter): New macro,
9570 defines a parameter that can be set via the command line.
9571 (set-parameter!, parse-parameter-arguments): Command line args
9574 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9577 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9579 * gst/elements/gsttypefindelement.c:
9580 (gst_type_find_element_handle_event):
9581 Don't restart typefinding on a discont.
9582 * gst/gstelement.c: (gst_element_set_state):
9584 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9585 Allow changing mode of an active pad.
9587 * gst/registries/gstlibxmlregistry.c: (load_feature):
9588 Don't cast a static pad template to a normal pad template.
9590 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9592 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9593 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9594 remove gst_strtoll completely, since it didn't actually do
9595 anything more than what g_ascii_strtoull already does.
9596 check for range errors when deserializing
9597 do a cast for the unsigned cases; but further fixing needs
9598 a decision on what the interpretation of "(int)" and
9599 deserialization should be for values that fall outside the
9600 type's boundaries (ie, refuse, or interpret as casting)
9602 2005-06-23 Wim Taymans <wim@fluendo.com>
9604 * check/Makefile.am:
9605 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9606 * docs/design/part-live-source.txt:
9607 * docs/design/part-states.txt:
9608 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9609 (gst_basesrc_set_live), (gst_basesrc_is_live),
9610 (gst_basesrc_get_range), (gst_basesrc_activate),
9611 (gst_basesrc_change_state):
9612 * gst/base/gstbasesrc.h:
9613 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9614 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9615 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9616 * gst/gstelement.c: (gst_element_get_state_func),
9617 (gst_element_set_state):
9620 * tools/gst-launch.c: (event_loop), (main):
9621 Added support for live sources and other elements that
9623 Updated design docs, added live-source design doc.
9624 Implemented live source functionality in basesrc
9625 Fix error condition in _bin_get_state()
9626 Implement live source handling in -launch.
9627 Added check for live sources.
9628 Fixed case in GstBin where elements were changed state
9632 2005-06-23 Andy Wingo <wingo@pobox.com>
9634 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9637 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9638 gst_caps_replace takes care of this for us.
9640 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9641 gst_pad_set_caps on the target, not just its setcaps() function.
9643 * tests/network-clock.scm:
9644 * tests/network-clock-utils.scm: A network clock simulator.
9645 Something of an algorithmic testbed before doing something in C.
9647 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9649 * check/Makefile.am:
9650 * check/gst/capslist.h:
9651 copy over from 0.8, and add two with bitmasks specified with
9653 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9654 add test to parse everything from capslist.h
9655 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9657 add test for structure deserialization
9658 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9659 add tests for deserialization of strings to int types
9660 * gst/gststructure.c: (gst_structure_nth_field_name):
9661 * gst/gststructure.h:
9662 add a way to get the name of a field referenced by index
9663 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9664 instead of checking if the resulting long long lies between
9665 min and max, we check if the long long would fit into
9666 a number of bytes for the final type.
9667 This fixes cases where a string represents 2^32 - 1, which
9668 when cast to int would be the (valid) -1, but is bigger than
9671 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9673 * gst/parse/grammar.y:
9674 add a log line for type deserialization
9676 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9678 * check/gst/gstvalue.c: (START_TEST):
9679 * gst/gstvalue.c: (gst_value_deserialize):
9680 return long long, not int, so gint64 deserialization actually
9681 works. Is there any flag that makes the compiler check this ?
9684 2005-06-22 Wim Taymans <wim@fluendo.com>
9687 Added convenience macros for setting buffers in GValue.
9689 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9691 * check/gst/.cvsignore:
9692 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9693 add a test deserializing int64, and comment part out because
9696 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9698 * check/Makefile.am:
9699 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9700 * testsuite/Makefile.am:
9701 * testsuite/caps/Makefile.am:
9702 * testsuite/caps/value_serialize.c:
9703 * testsuite/test_gst_init.c:
9704 move a value_serialize test over
9706 2005-06-20 Wim Taymans <wim@fluendo.com>
9711 * gst/gstvalue.c: (gst_value_compare_buffer),
9712 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9713 (gst_value_compare_flags), (gst_value_serialize_flags),
9714 (gst_value_deserialize_flags), (_gst_value_initialize):
9715 Fix serialisation of buffers, they are not boxed types anymore
9717 2005-06-20 Wim Taymans <wim@fluendo.com>
9719 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9720 Testcase to show error in buffer-on-caps serialisation.
9722 2005-06-20 Andy Wingo <wingo@pobox.com>
9724 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9725 will be adding to later.
9727 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9728 if its socks fill with rocks.
9729 (gst_system_clock_obtain): Set the name on object construction.
9730 Avoid double-checked locking.
9732 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9734 * gst/gsturi.c: (gst_element_make_from_uri):
9735 Fix potential endless loop.
9737 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9739 * check/Makefile.am:
9741 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9743 move over from testsuite dir and clean up
9746 * testsuite/Makefile.am:
9747 * testsuite/tags/.cvsignore:
9748 * testsuite/tags/Makefile.am:
9749 * testsuite/tags/merge.c:
9750 remove testsuite/tags
9752 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9754 * docs/gst/gstreamer-sections.txt:
9755 * docs/gst/tmpl/gstenumtypes.sgml:
9756 * win32/gstenumtypes.c:
9757 clean up documentation build a little
9759 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9762 add macros for checking refcounts on objects and caps
9763 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9764 add some more unit tests
9765 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9766 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9767 fix leaked refcounts (I hope :)) so unittest works
9771 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9773 * configure.ac: back to HEAD
9775 === release 0.9.1 ===
9777 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9783 2005-06-17 Andy Wingo <wingo@pobox.com>
9785 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9786 assert; it's always possible that the pad gets deactivated in
9787 between the checks in gstpad.c and the implementation. Rely on
9788 finish_preroll() to return a FLUSHING or similar instead of on the
9791 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9792 clock and post an EOS message if we come out of finish_preroll in
9795 2005-06-16 David Schleef <ds@schleef.org>
9797 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9798 (gst_capsfilter_set_property): Allow NULL as possible value
9799 for filter_caps property, indicating GST_CAPS_ANY.
9801 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9803 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9805 * gst/schedulers/Makefile.am:
9807 * gstreamer.spec.in:
9810 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9812 * gstreamer.spec.in:
9815 2005-06-08 Andy Wingo <wingo@pobox.com>
9817 * gst/gstutils.c: RPAD fixes all around.
9818 (gst_element_link_pads): Refcounting fixes.
9820 * tools/gst-inspect.c:
9821 * tools/gst-xmlinspect.c:
9823 * gst/base/gsttypefindhelper.c:
9824 * gst/base/gstbasesink.c:
9825 * gst/gstqueue.c: RPAD fixes.
9827 * gst/gstghostpad.h:
9828 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9829 pads. The tricky thing is they provide both source and sink
9830 interfaces, since they proxy the internal pad for the external
9831 pad, and vice versa. Implement with lower-level ProxyPad objects,
9832 with the interior proxy pad as a child of the exterior ghost pad.
9833 Should write a doc on this.
9835 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9836 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9839 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9840 pads are real pads. No ghost pads in this file. Not documenting
9841 the myriad s/RPAD/PAD/ and REALIZE fixes.
9842 (gst_pad_class_init): Add properties for "direction" and
9843 "template". Both are construct-only, so they can't change during
9844 the life of the pad. Fixes properly deriving from GstPad.
9845 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9846 derived objects, just set properties when creating the objects via
9848 (gst_pad_get_parent): Implement as a function, return NULL if the
9849 parent is not an element.
9850 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9851 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9853 * gst/gstobject.c (gst_object_class_init): Make name a construct
9854 property. Don't set it in the object init.
9856 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9857 with UNKNOWN direction.
9858 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9859 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9860 (gst_element_remove_pad): Remove ghost-pad special cases.
9861 (gst_element_pads_activate): Remove rpad cruft.
9863 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9864 catch the pad's-parent-not-an-element case.
9866 * gst/gst.h: Include gstghostpad.h.
9868 * gst/gst.c (init_post): No more real, ghost pads.
9870 * gst/Makefile.am: Add gstghostpad.[ch].
9872 * check/Makefile.am:
9873 * check/gst/gstbin.c:
9874 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9875 into a bin creates ghost pads, and that the refcounts are right.
9876 Partly moved from gstbin.c.
9878 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9880 * check/gst-libs/.cvsignore:
9881 * check/gst/.cvsignore:
9882 * check/pipelines/.cvsignore:
9884 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9885 (START_TEST), (cleanup_suite), (main):
9886 add some tests related to cleanup after running pipelines
9888 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9890 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9891 add a testsuite for GstBuffer
9893 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9895 * gst/gstminiobject.h:
9896 add defines for accessing the refcount
9898 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9900 * Makefile.am: added support for html unit test coverage reports
9902 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9904 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9905 Free existing caps if the capsfilter changes. Add a FIXME about
9906 setting those caps on the pads.
9908 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9909 Before adding a ghost pad to a parent bin, check that there isn't
9910 already one for the element on the bin. Prevents infinite recursion
9911 when using decodebin in parse pipelines. Andy says he'll rewrite the
9912 way this works anyway, so ignore the hack.
9914 2005-06-02 Andy Wingo <wingo@pobox.com>
9916 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9917 file size, pass it on to the type find helper.
9919 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9920 segment_start and segment_end properly according to the seek
9921 method. Segment_end is still a bit flaky because offset can be
9922 negative for CUR and END cases, but it takes -1 as an "unset"
9925 2005-06-02 Wim Taymans <wim@fluendo.com>
9927 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9928 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9929 (gst_basesink_activate):
9930 * gst/base/gstbasesink.h:
9931 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9932 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9933 (gst_pad_query), (gst_pad_start_task):
9935 * gst/gstqueue.c: (gst_queue_bufferalloc),
9936 (gst_queue_handle_sink_event), (gst_queue_chain):
9937 Bufferalloc: return GstFlowReturn to more accuratly report
9938 why allocation failed.
9940 2005-06-02 Wim Taymans <wim@fluendo.com>
9942 * gst/gstpipeline.c: (gst_pipeline_send_event):
9943 Take snapshot of state without blocking.
9945 2005-06-02 Wim Taymans <wim@fluendo.com>
9947 * docs/design/part-TODO.txt:
9948 * docs/design/part-caps.txt:
9949 * docs/design/part-clocks.txt:
9950 * docs/design/part-negotiation.txt:
9951 * docs/design/part-preroll.txt:
9954 2005-05-30 Wim Taymans <wim@fluendo.com>
9956 * gst/elements/gstidentity.c: (gst_identity_event),
9957 (gst_identity_transform), (gst_identity_get_property):
9958 Protect last_message property as it is accessed from
9961 2005-05-30 Wim Taymans <wim@fluendo.com>
9963 * gst/gstelement.c: (gst_element_init),
9964 (gst_element_pads_activate), (gst_element_change_state):
9965 Slicker pad activation code.
9967 2005-05-30 Wim Taymans <wim@fluendo.com>
9971 * gst/gstelementfactory.h:
9973 Move elementfactory methods to separate .h file.
9975 2005-05-30 Wim Taymans <wim@fluendo.com>
9977 * docs/design/part-overview.txt:
9978 * gst/gstsystemclock.h:
9979 Small typo fixes, doc updates.
9981 2005-05-30 Wim Taymans <wim@fluendo.com>
9983 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9984 (init_popt_callback):
9985 Remove cpu-opt flag.
9987 2005-05-30 Wim Taymans <wim@fluendo.com>
9989 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9990 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9992 Avoid typechecking in places where not needed.
9993 Added accessor for malloc_data.
9995 2005-05-30 Wim Taymans <wim@fluendo.com>
9997 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9998 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9999 (gst_pad_configure_sink), (gst_pad_configure_src),
10000 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10001 (gst_pad_start_task):
10002 Propagate errors from _set_caps() in configure_src/sink
10003 functions instead of returning TRUE.
10004 FLUSH events can travel up and downstream
10007 2005-05-30 Wim Taymans <wim@fluendo.com>
10009 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10010 (gst_basesink_activate):
10011 Handle EOS in preroll.
10013 2005-05-30 Wim Taymans <wim@fluendo.com>
10015 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10016 (gst_queue_loop), (gst_queue_handle_src_event):
10017 Remove old pieces of code
10018 Flushing the queue in an upstream event is a very bad idea.
10020 2005-05-26 Andy Wingo <wingo@pobox.com>
10022 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10023 gst_value_set_mini_object so as to add a ref on the object (which
10024 will be removed when the value is unset).
10026 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10027 arg type in ::handoff.
10029 * gst/gstelement.c (gst_element_change_state): Also deactivate
10030 pads in READY->NULL, just in case the element didn't make it to
10031 PAUSED. Wingo tested, Wim approved.
10033 2005-05-26 Wim Taymans <wim@fluendo.com>
10035 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10036 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10037 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10038 A flushing pad cannot be used to alloc_buffer from.
10040 2005-05-26 Wim Taymans <wim@fluendo.com>
10042 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10043 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10044 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10045 (gst_bus_create_watch), (gst_bus_add_watch_full):
10047 Implement a real GSource and use g_main_context_wakeup() to
10048 signal new messages instead of the socketpair.
10050 2005-05-25 Wim Taymans <wim@fluendo.com>
10052 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10053 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10054 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10055 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10056 (gst_pad_send_event), (gst_pad_start_task):
10057 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10058 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10059 (gst_queue_sink_activate), (gst_queue_src_activate),
10060 (gst_queue_change_state):
10062 Fix state changes for non sinks. We now change sinks, then elements
10063 with unconnected srcpads, then the rest.
10064 More efficient queue unlocking in flush and state changes.
10065 Set the pad activate mode even if it does not have an activate
10068 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10070 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10071 Don't go in pull mode for non-seekable sources.
10072 * gst/elements/gsttypefindelement.h:
10073 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10074 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10075 (free_entry), (stop_typefinding),
10076 (gst_type_find_element_handle_event), (find_peek),
10077 (gst_type_find_element_chain), (do_pull_typefind),
10078 (gst_type_find_element_change_state):
10079 Allow typefinding (w/o seeking) in push-mode, simplified version
10080 of what was in 0.8.
10081 * gst/gstutils.c: (gst_buffer_join):
10083 gst_buffer_join() from 0.8.
10085 2005-05-25 Wim Taymans <wim@fluendo.com>
10087 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10088 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10089 (gst_pad_send_event), (gst_pad_start_task):
10090 Disable attempt at mode switching until it is figured out.
10092 2005-05-25 Wim Taymans <wim@fluendo.com>
10094 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10095 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10096 (gst_basesink_finish_preroll), (gst_basesink_chain),
10097 (gst_basesink_loop), (gst_basesink_activate),
10098 (gst_basesink_change_state):
10099 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10100 (gst_basesrc_get_range), (gst_basesrc_loop),
10101 (gst_basesrc_activate):
10102 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10103 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10104 (gst_real_pad_init), (gst_real_pad_set_property),
10105 (gst_real_pad_get_property), (gst_pad_set_active),
10106 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10107 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10108 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10109 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10110 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10111 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10112 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10113 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10114 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10115 (gst_pad_stop_task):
10117 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10118 (gst_queue_loop), (gst_queue_src_activate):
10119 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10120 (gst_task_get_state):
10122 * gst/schedulers/threadscheduler.c:
10123 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10124 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10126 Remove ACTIVE pad flag, use FLUSHING everywhere
10127 Added _pad_chain(), _pad_get_range() to call chain/getrange
10129 Add locks around IS_FLUSHING when reading.
10130 Take STREAM lock in chain(), get_range() functions so plugins
10131 don't need to take it anymore.
10135 2005-05-25 Wim Taymans <wim@fluendo.com>
10137 * tools/gst-launch.c: (event_loop):
10138 Unref message after using its contents instead of
10141 2005-05-24 Wim Taymans <wim@fluendo.com>
10143 * docs/design/draft-ghostpads.txt:
10144 * docs/design/draft-push-pull.txt:
10145 * docs/design/draft-query.txt:
10146 * docs/design/part-overview.txt:
10147 Docs updates, added general overview doc.
10149 2005-05-21 David Schleef <ds@schleef.org>
10151 * docs/gst/tmpl/old/GstBin.sgml:
10152 * docs/gst/tmpl/old/GstBuffer.sgml:
10153 * docs/gst/tmpl/old/GstCaps.sgml:
10154 * docs/gst/tmpl/old/GstClock.sgml:
10155 * docs/gst/tmpl/old/GstCompat.sgml:
10156 * docs/gst/tmpl/old/GstData.sgml:
10157 * docs/gst/tmpl/old/GstElement.sgml:
10158 * docs/gst/tmpl/old/GstEvent.sgml:
10159 * docs/gst/tmpl/old/GstIndex.sgml:
10160 * docs/gst/tmpl/old/GstStructure.sgml:
10161 * docs/gst/tmpl/old/GstTag.sgml:
10162 * docs/gst/tmpl/old/cothreads.sgml:
10163 * docs/gst/tmpl/old/cothreads_compat.sgml:
10164 * docs/gst/tmpl/old/gettext.sgml:
10165 * docs/gst/tmpl/old/gobject2gtk.sgml:
10166 * docs/gst/tmpl/old/grammar.tab.sgml:
10167 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10168 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10169 * docs/gst/tmpl/old/gst_private.sgml:
10170 * docs/gst/tmpl/old/gstaggregator.sgml:
10171 * docs/gst/tmpl/old/gstarch.sgml:
10172 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10173 * docs/gst/tmpl/old/gstbufferstore.sgml:
10174 * docs/gst/tmpl/old/gstdata_private.sgml:
10175 * docs/gst/tmpl/old/gstdisksink.sgml:
10176 * docs/gst/tmpl/old/gstdisksrc.sgml:
10177 * docs/gst/tmpl/old/gstelementfactory.sgml:
10178 * docs/gst/tmpl/old/gstextratypes.sgml:
10179 * docs/gst/tmpl/old/gstfakesink.sgml:
10180 * docs/gst/tmpl/old/gstfakesrc.sgml:
10181 * docs/gst/tmpl/old/gstfdsink.sgml:
10182 * docs/gst/tmpl/old/gstfdsrc.sgml:
10183 * docs/gst/tmpl/old/gstfilesink.sgml:
10184 * docs/gst/tmpl/old/gstfilesrc.sgml:
10185 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10186 * docs/gst/tmpl/old/gstidentity.sgml:
10187 * docs/gst/tmpl/old/gstindexfactory.sgml:
10188 * docs/gst/tmpl/old/gstmarshal.sgml:
10189 * docs/gst/tmpl/old/gstmd5sink.sgml:
10190 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10191 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10192 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10193 * docs/gst/tmpl/old/gstpipefilter.sgml:
10194 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10195 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10196 * docs/gst/tmpl/old/gstshaper.sgml:
10197 * docs/gst/tmpl/old/gstspider.sgml:
10198 * docs/gst/tmpl/old/gstspideridentity.sgml:
10199 * docs/gst/tmpl/old/gststatistics.sgml:
10200 * docs/gst/tmpl/old/gsttee.sgml:
10201 * docs/gst/tmpl/old/gsttimecache.sgml:
10202 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10203 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10204 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10205 * docs/gst/tmpl/old/types.sgml:
10206 I didn't intend to add these or check them in.
10208 2005-05-19 David Schleef <ds@schleef.org>
10210 * configure.ac: Use -no-common everywhere. In a sane world, it
10211 would be the default in libtool, because without it, you can't
10212 build DLLs on Windows.
10213 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10214 * docs/gst/gstreamer-sections.txt:
10215 * docs/gst/tmpl/gstcpu.sgml:
10216 * docs/gst/tmpl/gstdata.sgml:
10217 * docs/gst/tmpl/gstthread.sgml:
10219 2005-05-19 David Schleef <ds@schleef.org>
10221 * gst/gstminiobject.c: (gst_value_set_mini_object),
10222 (gst_value_take_mini_object), (gst_value_get_mini_object):
10223 * gst/gstminiobject.h: Add GValue set/get functions.
10225 2005-05-19 Wim Taymans <wim@fluendo.com>
10227 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10228 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10229 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10231 * gst/gstbus.c: (gst_bus_post):
10232 * gst/gstelement.c: (gst_element_get_random_pad):
10233 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10234 Make subbufer unref the parent in finalize.
10235 some more debugging info.
10238 2005-05-19 Wim Taymans <wim@fluendo.com>
10240 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10241 (gst_basesink_init), (gst_basesink_finalize),
10242 (gst_basesink_activate), (gst_basesink_change_state):
10243 Don't free preroll queue too early.
10245 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10249 Hi, I'm outdated. Please shoot me.
10251 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10253 * gst/gstpipeline.c: (gst_pipeline_send_event):
10254 Do not access variables after they have been deleted.
10256 2005-05-19 Wim Taymans <wim@fluendo.com>
10258 * tools/gst-inspect.c: (print_plugin_features):
10259 A plugin feature does unfortunatly not use the
10262 2005-05-18 Wim Taymans <wim@fluendo.com>
10264 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10265 Port _span() functions to new subbuffers.
10267 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10269 * gst/gstbin.c: (gst_bin_add_func):
10270 Fix clock settery in bins when adding kids after the clock has
10273 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10275 * gst/elements/gstidentity.c: (gst_identity_class_init):
10276 Workaround until signals support GstMiniObject.
10278 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10281 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10283 2005-05-18 Wim Taymans <wim@fluendo.com>
10285 * gst/base/Makefile.am:
10286 * gst/base/gstadapter.c: (gst_adapter_base_init),
10287 (gst_adapter_class_init), (gst_adapter_init),
10288 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10289 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10290 (gst_adapter_flush), (gst_adapter_available),
10291 (gst_adapter_available_fast):
10292 * gst/base/gstadapter.h:
10293 Ported and added adapter to the base classes.
10295 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10298 * gst/gstmessage.c:
10299 Make sure the class is reffed/unreffed once before threads can be
10300 used. Fixes #304551.
10302 2005-05-17 Wim Taymans <wim@fluendo.com>
10304 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10305 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10306 * gst/gstminiobject.c: (gst_mini_object_get_type),
10307 (gst_mini_object_free):
10308 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10309 (gst_pad_push), (gst_pad_push_event):
10310 * gst/gstqueue.c: (gst_queue_change_state):
10311 Don't queue buffers in basesink when we are flushing.
10312 Unref buffer when flushing in basesink.
10313 Flush queue when going to READY
10314 Unref buffer when _push() returns an error.
10315 Don't free MiniObject instance when refcount is incremented
10316 in _finalize() so that we can recover objects.
10318 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10320 * docs/manual/advanced-schedulers.xml:
10321 * docs/manual/appendix-checklist.xml:
10322 * docs/pwg/advanced-clock.xml:
10323 * docs/pwg/advanced-interfaces.xml:
10324 * docs/pwg/advanced-request.xml:
10325 * docs/pwg/advanced-types.xml:
10326 * docs/pwg/intro-preface.xml:
10327 * examples/plugins/example.c: (gst_example_get_type),
10328 (gst_example_class_init), (gst_example_chain),
10329 (gst_example_set_property), (gst_example_get_property),
10330 (gst_example_change_state), (plugin_init):
10331 * examples/plugins/example.h:
10334 2005-05-17 Wim Taymans <wim@fluendo.com>
10336 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10337 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10338 * gst/gstqueue.c: (gst_queue_change_state):
10339 Clear queue when going to READY.
10340 Remove IN_SETCAPS flag too.
10342 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10344 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10345 Remove implicit cast from gboolean to GstElementStateReturn;
10346 make sure we still return failure in paused => ready case if
10347 the parent class fails to change state and our own stop
10350 2005-05-17 Wim Taymans <wim@fluendo.com>
10352 * tools/gst-launch.c: (event_loop):
10353 Message was unreffed too soon.
10355 2005-05-16 Andy Wingo <wingo@pobox.com>
10357 * gst/gstbin.c (sink_iterator_filter): Err... um...
10359 * check/gst/gstbin.c (test_ghost_pads): New test for the
10360 ghosting-if-elements-not-in-same-bin behavior.
10362 2005-05-16 David Schleef <ds@schleef.org>
10364 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10365 accessing refcount directly.
10367 2005-05-15 David Schleef <ds@schleef.org>
10369 * check/Makefile.am: remove GstData checks
10370 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10371 * gst/Makefile.am: add miniobject, remove data
10372 * gst/gst.h: add miniobject, remove data
10373 * gst/gstdata.c: remove
10374 * gst/gstdata.h: remove
10375 * gst/gstdata_private.h: remove
10376 * gst/gsttypes.h: remove GstEvent and GstMessage
10377 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10378 * gst/gstmarshal.list: change BOXED -> OBJECT
10380 Implement GstMiniObject.
10381 * gst/gstminiobject.c:
10382 * gst/gstminiobject.h:
10384 Modify to be subclasses of GstMiniObject.
10385 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10386 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10387 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10388 (gst_subbuffer_get_type), (gst_subbuffer_init),
10389 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10392 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10393 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10394 (_gst_event_copy), (gst_event_new):
10396 * gst/gstmessage.c: (_gst_message_initialize),
10397 (gst_message_get_type), (gst_message_class_init),
10398 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10399 (gst_message_new), (gst_message_new_error),
10400 (gst_message_new_warning), (gst_message_new_tag),
10401 (gst_message_new_state_changed), (gst_message_new_application):
10402 * gst/gstmessage.h:
10403 * gst/gstprobe.c: (gst_probe_perform),
10404 (gst_probe_dispatcher_dispatch):
10406 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10407 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10408 (_gst_query_copy), (gst_query_new):
10410 Update elements for GstData -> GstMiniObject changes
10412 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10413 (gst_queue_chain), (gst_queue_loop):
10414 * gst/elements/gstbufferstore.c:
10415 (gst_buffer_store_add_buffer_func),
10416 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10417 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10418 (gst_fakesink_render):
10419 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10420 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10421 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10422 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10423 (gst_filesrc_create_read):
10424 * gst/elements/gstidentity.c: (gst_identity_class_init):
10425 * gst/elements/gsttypefindelement.c:
10426 (gst_type_find_element_src_event), (free_entry_buffers),
10427 (gst_type_find_element_handle_event):
10428 * libs/gst/dataprotocol/dataprotocol.c:
10429 (gst_dp_header_from_buffer):
10430 * libs/gst/dataprotocol/dataprotocol.h:
10431 * libs/gst/dataprotocol/dp-private.h:
10433 2005-05-15 David Schleef <ds@schleef.org>
10435 * gst/elements/gstelements.c: Don't include headers that were
10438 2005-05-15 David Schleef <ds@schleef.org>
10440 * gst/elements/Makefile.am: Remove some elements that don't
10441 need to be in the core (or even exist at all).
10442 * gst/elements/gstaggregator.c:
10443 * gst/elements/gstaggregator.h:
10444 * gst/elements/gstmd5sink.c:
10445 * gst/elements/gstmd5sink.h:
10446 * gst/elements/gstmultifilesrc.c:
10447 * gst/elements/gstmultifilesrc.h:
10448 * gst/elements/gstpipefilter.c:
10449 * gst/elements/gstpipefilter.h:
10450 * gst/elements/gstshaper.c:
10451 * gst/elements/gstshaper.h:
10452 * gst/elements/gststatistics.c:
10453 * gst/elements/gststatistics.h:
10454 * po/POTFILES.in: Remove above files.
10456 2005-05-14 Andy Wingo <wingo@pobox.com>
10458 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10459 so as to get the refs right.
10460 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10461 unreffing objects that don't pass the filter.
10463 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10464 gst_element_set_bus.
10465 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10466 normal cases, this will destroy the bus.
10468 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10471 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10474 2005-05-13 Andy Wingo <wingo@pobox.com>
10476 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10477 gst_pad_link, call pad_link_maybe_ghosting,
10478 (pad_link_maybe_ghosting): Links pads, making sure that the
10479 elements being linked are in the same bin.
10480 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10481 Helpers for pad_link_maybe_ghosting.
10483 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10486 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10488 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10490 * docs/design/part-element-source.txt:
10493 2005-05-12 Wim Taymans <wim@fluendo.com>
10495 * gst/base/gstbasesink.c: (gst_basesink_init),
10496 (gst_basesink_activate):
10497 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10498 (gst_basesrc_is_seekable):
10499 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10500 (bin_element_is_sink), (gst_bin_change_state):
10501 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10502 * gst/gstelement.h:
10503 Identify sinks by their flag to avoid overly complicated
10505 Do state changes even for elements not reachable from the
10507 BaseSink is a sink now :)
10508 Some more debugging info in the basesrc.
10511 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10513 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10514 Implement _query on a bin, similar to _send_event.
10516 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10518 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10519 Discont event offset format should be GST_FORMAT_BYTES,
10520 not GST_FORMAT_TIME.
10522 2005-05-12 Wim Taymans <wim@fluendo.com>
10524 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10525 Same fix as Ronald's but without the signal.
10527 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10529 * gst/gstutils.c: (gst_element_query_position):
10530 No, an element is not a pad.
10532 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10534 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10535 (gst_bin_get_state):
10536 If a child is removed from a bin while we remove the child from
10537 the bin and while we're retrieving its state, signal this to the
10538 get_state function so we abort the wait (instead of waiting for
10539 a timeout) and can immediately re-iterate over all other elements.
10541 2005-05-12 Wim Taymans <wim@fluendo.com>
10543 * gst/base/Makefile.am:
10544 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10545 (gst_basesrc_start):
10546 * gst/base/gstbasesrc.h:
10547 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10548 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10549 (gst_pushsrc_init), (gst_pushsrc_create):
10550 * gst/base/gstpushsrc.h:
10551 Added is_seekable to BaseSrc
10552 Added simple PushSrc.
10554 2005-05-11 Wim Taymans <wim@fluendo.com>
10556 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10557 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10558 (gst_element_link_pads), (gst_element_query_position),
10559 (gst_element_query_convert), (intersect_caps_func),
10560 (gst_pad_query_position), (gst_pad_query_convert):
10561 Fix refcounting in utils function.
10562 No point in trying to activate a pad when it's added, it could
10563 be added from the state change function and then we deadlock, the
10564 element has to decide what to do.
10566 2005-05-10 Andy Wingo <wingo@pobox.com>
10568 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10569 *all* the arguments.
10571 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10572 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10573 lock (according to the docs -- if this is wrong change the docs).
10575 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10576 flush messages in the NULL state.
10578 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10579 message immediately and return.
10580 (gst_bus_set_flushing): New function. If a bus is flushing, it
10581 flushes out any queued messages and immediately unrefs new
10582 messages. This is so when an element goes to NULL, all of the
10583 unhandled messages coming from it can be freed, and their
10584 references to the element dropped. In other words: message source
10585 ref considered harmful :P
10587 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10588 we're finished with it.
10590 * gst/gstmessage.c (gst_message_new_state_changed):
10592 2005-05-10 Wim Taymans <wim@fluendo.com>
10594 * gst/gstvalue.c: (gst_value_compare_flags),
10595 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10596 (_gst_value_initialize):
10597 Added flags serialize/deserialize/compare code.
10599 2005-05-09 Andy Wingo <wingo@pobox.com>
10601 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10602 Intersect the peer's caps with our caps.
10604 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10606 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10607 * gst/elements/gsttypefindelement.c: (find_peek):
10608 Handle negative offsets better. Fixes decodebin.
10610 2005-05-09 Wim Taymans <wim@fluendo.com>
10612 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10613 (gst_base_transform_event):
10614 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10615 Implement accept_caps.
10616 Fix silly lock/unlock mismatch in base class.
10618 2005-05-09 Wim Taymans <wim@fluendo.com>
10620 * docs/design/draft-push-pull.txt:
10621 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10622 * gst/elements/gstfilesink.c: (gst_filesink_init),
10623 (gst_filesink_query):
10624 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10625 (gst_type_find_handle_src_query), (find_element_get_length):
10626 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10627 * gst/gstelement.h:
10628 * gst/gstmessage.c:
10629 * gst/gstmessage.h:
10630 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10631 (gst_real_pad_get_caps_unlocked),
10632 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10633 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10634 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10635 (gst_real_pad_dispose), (gst_real_pad_finalize),
10636 (gst_pad_load_and_link), (gst_pad_save_thyself),
10637 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10638 (gst_pad_check_pull_range), (gst_pad_pull_range),
10639 (gst_pad_template_get_type), (gst_pad_template_class_init),
10640 (gst_pad_template_init), (gst_pad_template_dispose),
10641 (name_is_valid), (gst_static_pad_template_get),
10642 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10643 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10644 (gst_pad_get_element_private), (gst_pad_start_task),
10645 (gst_pad_pause_task), (gst_pad_stop_task),
10646 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10647 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10648 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10649 (gst_ghost_pad_new):
10651 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10652 (gst_query_new_position), (gst_query_set_position),
10653 (gst_query_parse_position), (gst_query_new_convert),
10654 (gst_query_set_convert), (gst_query_parse_convert):
10656 * gst/gstqueryutils.c:
10657 * gst/gstqueryutils.h:
10658 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10659 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10660 (gst_queue_handle_src_query):
10661 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10662 (gst_element_query_position), (gst_element_query_convert),
10663 (intersect_caps_func), (gst_pad_query_position),
10664 (gst_pad_query_convert):
10666 * tools/gst-inspect.c: (print_pad_info):
10667 * tools/gst-xmlinspect.c: (print_element_info):
10668 Remove old query functions. Ported old code.
10669 Added position/convert helper functions to gstutils.
10670 Reordered gstpad.c code, grouping relevant things.
10671 Remove gst_message_new(), always need to speficy a specific
10675 2005-05-09 Andy Wingo <wingo@pobox.com>
10677 * gst/gstiterator.h: Add some includes.
10679 * gst/gstqueryutils.h: Include more headers.
10682 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10683 some uses of gst_pad_query.
10685 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10686 NULL out parameters.
10687 (gst_query_new_position): New proc, allocates a new position
10690 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10691 gstqueryutils.c to the build.
10693 * gst/gststructure.c (gst_structure_set_valist): Implement with
10694 the generic G_VALUE_COLLECT.
10696 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10698 * gst/Makefile.am: (gst_headers):
10699 Added gstqueryutils.h to the list of headers to install, that was
10700 a 'nachty' move wingo :)
10702 2005-05-06 Andy Wingo <wingo@pobox.com>
10705 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10706 GstData, init a memchunk.
10707 (standard_definitions): Add a few query types, deprecate a few.
10708 (gst_query_get_type): New proc.
10709 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10711 (gst_query_new_application, gst_query_get_structure): New public
10714 * docs/design/draft-query.txt: Removed LINKS from the query types,
10715 because all the rest can be dispatched to other pads -- seemed
10716 ugly to have a query that couldn't be dispatched. internal_links
10717 is fine as a pad method.
10719 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10720 in gstpad.c, but maintain binary compatibility for the moment.
10721 Will fix before 0.9 is out.
10723 * gst/gstqueryutils.c:
10724 * gst/gstqueryutils.h: New files, implement 3 methods for each
10725 query type: parse_query, parse_response, and set. Probably need an
10728 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10730 * gst/elements/gstfilesink.c (gst_filesink_query2):
10731 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10732 query_types, and formats methods.
10734 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10735 (gst_pad_set_query2_function): New functions.
10736 (gst_real_pad_init): Set query2_default as the default query2
10737 function. Basically just dispatches to internally linked pads.
10741 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10742 without using the atomic operations. Only one thread can possibly
10743 be accessing the data at this point. Changed so as to avoid
10744 gst_atomic operations.
10746 2005-05-06 Wim Taymans <wim@fluendo.com>
10748 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10749 Also set caps if we use the fallback buffer alloc.
10751 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10753 * docs/gst/Makefile.am:
10754 * docs/gst/gstreamer-docs.sgml:
10755 * docs/gst/gstreamer-sections.txt:
10756 * docs/gst/tmpl/gstatomic.sgml:
10757 * docs/gst/tmpl/gstmemchunk.sgml:
10758 * testsuite/elements/struct_i386.h:
10759 * win32/GStreamer.vcproj:
10761 Purge GstAtomic stuff from docs and win32 makefiles as well
10763 2005-05-06 Wim Taymans <wim@fluendo.com>
10765 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10766 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10767 * gst/gstpad.c: (gst_pad_peer_get_caps):
10768 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10769 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10770 (gst_queue_src_activate), (gst_queue_change_state):
10772 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10773 (intersect_caps_func):
10774 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10775 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10776 Some fixes for the peer_get_caps() change.
10778 2005-05-06 Wim Taymans <wim@fluendo.com>
10780 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10781 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10782 (gst_basesink_activate):
10783 Actually do something with error codes returned from the push
10786 2005-05-06 Wim Taymans <wim@fluendo.com>
10788 * docs/design/part-element-sink.txt:
10789 * docs/design/part-element-source.txt:
10790 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10791 (gst_basesink_event), (gst_basesink_activate):
10792 * gst/base/gstbasesink.h:
10793 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10794 (gst_basesrc_activate):
10795 * gst/base/gstbasesrc.h:
10796 * gst/gstelement.c: (gst_element_pads_activate):
10797 Some more documentation.
10798 Fixed scheduling decision in _pads_activate().
10800 2005-05-05 Andy Wingo <wingo@pobox.com>
10802 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10805 2005-05-05 Wim Taymans <wim@fluendo.com>
10807 * gst/base/Makefile.am:
10808 * gst/base/gstbasesink.h:
10809 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10810 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10811 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10812 (gst_collectpads_class_init), (gst_collectpads_init),
10813 (gst_collectpads_finalize), (gst_collectpads_new),
10814 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10815 (find_pad), (gst_collectpads_remove_pad),
10816 (gst_collectpads_is_active), (gst_collectpads_collect),
10817 (gst_collectpads_collect_range), (gst_collectpads_start),
10818 (gst_collectpads_stop), (gst_collectpads_peek),
10819 (gst_collectpads_pop), (gst_collectpads_available),
10820 (gst_collectpads_read), (gst_collectpads_flush),
10821 (gst_collectpads_chain):
10822 * gst/base/gstcollectpads.h:
10823 * gst/elements/Makefile.am:
10824 * gst/elements/gstelements.c:
10825 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10826 (gst_fakesink_get_times), (gst_fakesink_event),
10827 (gst_fakesink_preroll), (gst_fakesink_render):
10828 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10829 (gst_filesink_init), (gst_filesink_set_location),
10830 (gst_filesink_open_file), (gst_filesink_close_file),
10831 (gst_filesink_pad_query), (gst_filesink_event),
10832 (gst_filesink_render), (gst_filesink_change_state):
10833 * gst/elements/gstfilesink.h:
10834 Added object to help in making collect pad based elements.
10836 Make event function in sink baseclass return gboolean.
10838 2005-05-05 Wim Taymans <wim@fluendo.com>
10840 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10841 (gst_bin_get_by_name):
10843 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10844 (gst_clock_finalize):
10845 * gst/gstdata.c: (gst_data_replace):
10847 * gst/gstelement.c: (gst_element_request_pad),
10848 (gst_element_pads_activate):
10849 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10850 (gst_object_unref):
10851 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10852 (gst_pad_set_checkgetrange_function),
10853 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10854 (gst_pad_check_pull_range), (gst_pad_pull_range),
10855 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10856 (gst_pad_pause_task), (gst_pad_stop_task):
10857 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10858 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10859 Fix name lookup in GstBin.
10860 Added _data_replace() function and _buffer_replace()
10861 Use finalize method to clean up clock.
10862 Fix refcounting on request pads.
10863 Fix pad schedule mode error.
10864 Some more object refcounting debug info,
10867 2005-05-04 Andy Wingo <wingo@pobox.com>
10869 * check/Makefile.am:
10870 * docs/gst/tmpl/gstatomic.sgml:
10871 * docs/gst/tmpl/gstplugin.sgml:
10872 * gst/base/gstbasesink.c: (gst_basesink_activate):
10873 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10874 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10875 (gst_basesrc_query), (gst_basesrc_set_property),
10876 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10877 (gst_basesrc_activate):
10878 * gst/base/gstbasesrc.h:
10879 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10880 (gst_base_transform_src_activate):
10881 * gst/elements/gstelements.c:
10882 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10883 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10884 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10885 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10886 (gst_type_find_element_checkgetrange),
10887 (gst_type_find_element_activate):
10888 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10889 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10890 (gst_caps_load_thyself):
10891 * gst/gstelement.c: (gst_element_pads_activate),
10892 (gst_element_save_thyself), (gst_element_restore_thyself):
10893 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10894 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10896 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10897 (gst_xml_parse_file), (gst_xml_parse_memory),
10898 (gst_xml_get_element), (gst_xml_make_element):
10899 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10900 (_file_index_id_save_xml), (gst_file_index_commit):
10901 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10902 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10904 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10905 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10906 * tools/gst-complete.c: (main):
10907 * tools/gst-compprep.c: (main):
10908 * tools/gst-inspect.c: (print_element_properties_info):
10909 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10910 * tools/gst-xmlinspect.c: (print_element_properties):
10913 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10915 * gst/gstplugin.c: (gst_plugin_check_module),
10916 (gst_plugin_check_file), (gst_plugin_load_file):
10917 apply patch from #172526 to make register work on MacOSX
10919 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10921 * docs/gst/tmpl/gstconfig.sgml:
10922 * gst/gstconfig.h.in:
10923 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10924 * testsuite/debug/printf_extension.c: (main):
10925 Do not use GST_PTR_FORMAT on pointers to types with
10926 sizeof < sizeof(gpointer). Fixes test on 64-bit
10927 * testsuite/elements/property.h:
10928 use correct printf format
10930 2005-05-02 Wim Taymans <wim@fluendo.com>
10932 * docs/design/draft-push-pull.txt:
10933 * docs/design/draft-query.txt:
10934 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10935 (gst_basesrc_start):
10936 Added draft for new query API.
10937 Added draft for better selecting scheduling methods.
10938 Make basesrc ignore length if the subclass does not support
10941 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10944 possible fixes for automake-1.5 - _LIBADD is reserved
10946 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10948 * docs/faq/Makefile.am:
10949 * docs/manual/Makefile.am:
10950 * docs/manuals.mak:
10951 * docs/pwg/Makefile.am:
10953 possible fixes for automake-1.5
10955 2005-04-28 Wim Taymans <wim@fluendo.com>
10957 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10958 (gst_basesink_pad_getcaps), (gst_basesink_init),
10959 (gst_basesink_do_sync):
10960 * gst/gstclock.c: (gst_clock_entry_new):
10961 * gst/gstevent.c: (gst_event_discont_get_value):
10962 * gst/gstpipeline.c: (pipeline_bus_handler),
10963 (gst_pipeline_change_state):
10964 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10965 Better debugging of clocking info.
10966 Allow NULL values when getting discont values.
10968 2005-04-27 Wim Taymans <wim@fluendo.com>
10970 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10971 * check/gst/gstpad.c: (gst_pad_suite):
10972 Increase timeout for checks.
10974 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10976 * check/Makefile.am:
10977 fix the broken rule for cleanup. Apparently this rule is
10978 only needed on FC2, so maybe this warrants further autotool
10981 2005-04-26 Wim Taymans <wim@fluendo.com>
10983 * gst/gsttrashstack.h:
10984 Ooohh. a nasty one! After having a failed pop() from the stack,
10985 it's possible that the stack is empty. In that case, don't
10986 follow the NULL pointer.
10988 2005-04-25 Wim Taymans <wim@fluendo.com>
10990 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10991 (gst_pad_set_checkgetrange_function),
10992 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10993 (gst_pad_check_pull_range), (gst_pad_pull_range),
10994 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10995 (gst_pad_pause_task), (gst_pad_stop_task):
10996 * gst/gstplugin.c: (gst_plugin_load):
10998 Remove gst_library_load as it does more harm than good with
10999 the new g_module flags.
11000 Revert bogus caps template check in pad linking, pad caps
11001 are important when linking not the template, which is more
11002 general than the current caps.
11004 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11006 * gst/autoplug/.cvsignore:
11007 * gst/autoplug/Makefile.am:
11008 * gst/autoplug/gstsearchfuncs.c:
11009 * gst/autoplug/gstsearchfuncs.h:
11010 * gst/autoplug/gstspider.c:
11011 * gst/autoplug/gstspider.h:
11012 * gst/autoplug/gstspideridentity.c:
11013 * gst/autoplug/gstspideridentity.h:
11014 * gst/autoplug/spidertest.c:
11017 2005-04-25 Wim Taymans <wim@fluendo.com>
11019 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11020 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11021 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11022 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11024 Added stubs for unimplemented functions.
11026 2005-04-24 David Schleef <ds@schleef.org>
11028 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11031 2005-04-24 David Schleef <ds@schleef.org>
11033 Convert everything from GstAtomicInt to g_atomic_int_*, and
11038 * gst/gstatomic_impl.h:
11046 * gst/gstdata_private.h:
11050 * gst/gstmessage.c:
11053 * gst/gststructure.c:
11054 * gst/gststructure.h:
11055 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11058 2005-04-24 David Schleef <ds@schleef.org>
11060 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11061 make the regressions tests work. Remove some code that is no
11063 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11064 Disable warning for pads without templates.
11066 2005-04-24 David Schleef <ds@schleef.org>
11068 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11069 functions that handle filtered links.
11070 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11072 * gst/gstutils.c: Fix/remove utility functions that handle
11075 * gst/gstvalue.c: Add serialization/deserialization of caps
11076 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11077 requires fixing so that the filter caps notation creates
11078 a capsfilter element and sets the filter_caps property. I
11079 think everyone probably wants to keep the shorthand notation.
11080 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11081 * docs/gst/tmpl/gstpad.sgml:
11083 * gst/elements/gstelements.c: Register capsfilter element.
11084 * gst/Makefile.am: fix spacing
11085 * docs/random/ds/0.9-suggested-changes: random
11087 2005-04-23 David Schleef <ds@schleef.org>
11089 * gst/elements/Makefile.am:
11090 * gst/elements/gstcapsfilter.c: New element that acts like an
11091 identity, but filters caps. Will eventually replace filtered
11092 caps in pad linking.
11093 * gst/gstutils.c: (gst_element_create_all_pads): New function
11094 to create all the ALWAYS pads that are registered with an
11095 element class. This functionality should eventually be
11096 merged in with GstElement initialization.
11098 * testsuite/trigger/README: part of trigger test code that should
11099 have been checked in a long time ago.
11101 2005-04-23 David Schleef <ds@schleef.org>
11103 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11104 needed with new versions of libtool (nobody will confirm this),
11105 and hard to carry around.
11106 * gst/autoplug/Makefile.am:
11107 * gst/base/Makefile.am:
11108 * gst/elements/Makefile.am:
11109 * gst/indexers/Makefile.am:
11110 * gst/schedulers/Makefile.am:
11111 * libs/gst/bytestream/Makefile.am:
11112 * libs/gst/control/Makefile.am:
11113 * libs/gst/dataprotocol/Makefile.am:
11114 * libs/gst/getbits/Makefile.am:
11116 2005-04-21 Wim Taymans <wim@fluendo.com>
11118 * docs/design/draft-push-pull.txt:
11119 * docs/design/part-MT-refcounting.txt:
11120 * docs/design/part-TODO.txt:
11121 * docs/design/part-caps.txt:
11122 * docs/design/part-events.txt:
11123 * docs/design/part-gstbus.txt:
11124 * docs/design/part-gstpipeline.txt:
11125 * docs/design/part-messages.txt:
11126 * docs/design/part-push-pull.txt:
11127 * docs/design/part-query.txt:
11130 2005-04-21 Wim Taymans <wim@fluendo.com>
11132 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11133 (gst_message_new), (gst_message_new_error),
11134 (gst_message_new_warning), (gst_message_new_tag),
11135 (gst_message_new_state_changed), (gst_message_new_application),
11136 (gst_message_get_structure):
11137 * gst/gstmessage.h:
11138 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11139 (gst_structure_copy_conditional):
11140 Use parent refcount in GstMessage to ensure GstStructure
11142 Cleaned up headers a bit.
11145 2005-04-20 Wim Taymans <wim@fluendo.com>
11147 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11148 (gst_basesink_pad_getcaps), (gst_basesink_init),
11149 (gst_basesink_chain_unlocked):
11150 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11151 (gst_type_find_helper):
11152 * gst/elements/gsttypefindelement.c:
11153 (gst_type_find_element_have_type), (gst_type_find_element_init),
11154 (stop_typefinding), (gst_type_find_element_handle_event),
11155 (find_suggest), (gst_type_find_element_chain),
11156 (gst_type_find_element_checkgetrange),
11157 (gst_type_find_element_getrange), (do_typefind),
11158 (gst_type_find_element_activate):
11159 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11160 (gst_buffer_default_free), (gst_buffer_default_copy),
11161 (gst_buffer_set_caps):
11162 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11163 (gst_caps_replace):
11164 * gst/gstmessage.c: (gst_message_new),
11165 (gst_message_new_state_changed):
11166 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11167 (gst_pad_set_checkgetrange_function),
11168 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11169 (gst_pad_set_caps), (gst_pad_check_pull_range),
11170 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11172 * gst/gsttypefind.c: (gst_type_find_register):
11173 Make gst_caps_replace() work like other _replace() functions.
11174 Use _caps_replace() where possible.
11175 Make sure _message_new() initialises its field.
11176 Add gst_static_pad_template_get_caps()
11179 2005-04-18 Andy Wingo <wingo@pobox.com>
11181 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11182 on the peer, not the pad. I think that was a typo. Pass an extra
11183 arg to see if random access is possible. Activate the pads as
11184 PULL_RANGE if possible.
11186 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11188 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11189 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11192 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11194 * docs/faq/using.xml:
11195 Add note on gstreamer-properties (#154996).
11197 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11199 * docs/random/bbb/optional-properties:
11200 Some analysis on optional properties.
11202 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11204 * docs/gst/tmpl/gstelementfactory.sgml:
11205 * gst/gstelement.h:
11206 * gst/gstelementfactory.c: (gst_element_factory_init),
11207 (gst_element_factory_cleanup), (gst_element_register),
11208 (__gst_element_factory_add_static_pad_template),
11209 (gst_element_factory_get_static_pad_templates),
11210 (gst_element_factory_can_src_caps),
11211 (gst_element_factory_can_sink_caps):
11212 * gst/registries/Makefile.am:
11213 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11214 (gst_xml_registry_class_init), (gst_xml_registry_init),
11215 (gst_xml_registry_new), (gst_xml_registry_set_property),
11216 (gst_xml_registry_get_property), (get_time), (make_dir),
11217 (gst_xml_registry_get_perms_func),
11218 (plugin_times_older_than_recurse), (plugin_times_older_than),
11219 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11220 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11221 (add_to_char_array), (read_string), (read_uint), (read_enum),
11222 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11223 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11224 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11225 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11226 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11227 (gst_xml_registry_rebuild):
11228 * gst/registries/gstlibxmlregistry.h:
11229 * tools/gst-compprep.c: (main):
11230 * tools/gst-inspect.c: (print_pad_templates_info):
11231 * tools/gst-xmlinspect.c: (print_element_info):
11232 Use libxml2 for registry parsing, use staticpadtemplates in
11233 elementfactories. Makes gst_init() +/- 10x faster.
11235 2005-04-12 Wim Taymans <wim@fluendo.com>
11237 * gst/base/Makefile.am:
11238 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11239 (gst_basesink_pad_getcaps), (gst_basesink_init),
11240 (gst_basesink_event), (gst_basesink_change_state):
11241 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11242 (gst_basesrc_init), (gst_basesrc_query),
11243 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11244 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11245 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11246 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11247 (gst_basesrc_stop), (gst_basesrc_activate),
11248 (gst_basesrc_change_state):
11249 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11250 (helper_find_suggest), (gst_type_find_helper):
11251 * gst/base/gsttypefindhelper.h:
11252 * gst/elements/Makefile.am:
11253 * gst/elements/gstelements.c:
11254 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11255 (gst_fakesink_get_times), (gst_fakesink_event),
11256 (gst_fakesink_preroll), (gst_fakesink_render):
11257 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11258 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11259 (gst_fakesrc_get_property), (gst_fakesrc_create),
11260 (gst_fakesrc_start), (gst_fakesrc_stop):
11261 * gst/elements/gstfakesrc.h:
11262 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11263 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11264 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11265 (gst_filesrc_create_read), (gst_filesrc_create),
11266 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11267 (gst_filesrc_start):
11268 * gst/elements/gsttypefindelement.c:
11269 (gst_type_find_element_have_type), (gst_type_find_element_init),
11270 (start_typefinding), (stop_typefinding), (push_buffer_store),
11271 (gst_type_find_element_handle_event),
11272 (gst_type_find_element_chain),
11273 (gst_type_find_element_checkgetrange),
11274 (gst_type_find_element_getrange), (do_typefind),
11275 (gst_type_find_element_activate),
11276 (gst_type_find_element_change_state):
11277 * gst/elements/gsttypefindelement.h:
11278 * gst/gstpipeline.c: (pipeline_bus_handler):
11279 Added typefind helper.
11280 Small preroll fix in the base sink.
11281 Disable typefind code in basesrc.
11282 Crude port of typefindelement.
11286 2005-04-11 Wim Taymans <wim@fluendo.com>
11288 * check/gst/gstbus.c: (gstbus_suite):
11289 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11290 * check/gstcheck.h:
11291 Fix up the timeout so that the test does not fail.
11293 2005-04-06 Wim Taymans <wim@fluendo.com>
11296 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11297 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11298 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11299 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11300 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11301 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11302 (gst_basesrc_stop), (gst_basesrc_activate),
11303 (gst_basesrc_change_state), (basesrc_find_peek),
11304 (basesrc_find_suggest), (gst_basesrc_type_find):
11305 * gst/base/gstbasesrc.h:
11306 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11307 (gst_filesrc_class_init), (gst_filesrc_init),
11308 (gst_filesrc_finalize), (gst_filesrc_set_location),
11309 (gst_filesrc_set_property), (gst_filesrc_get_property),
11310 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11311 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11312 (gst_filesrc_create_read), (gst_filesrc_create),
11313 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11314 * gst/elements/gstfilesrc.h:
11315 * gst/gstelement.c: (gst_element_get_state_func),
11316 (gst_element_lost_state), (gst_element_pads_activate):
11317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11318 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11319 (gst_pad_pull_range):
11321 More work on the generic source base class, implement seeking,
11323 Make filesrc extend the base source class.
11324 Added gst_pad_set_checkgetrange_function to GstPad.
11326 2005-04-06 Andy Wingo <wingo@pobox.com>
11328 * pkgconfig/gstreamer-base.pc.in:
11329 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11331 * pkgconfig/Makefile.am:
11332 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11334 2005-04-04 Wim Taymans <wim@fluendo.com>
11336 * gst/base/Makefile.am:
11338 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11339 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11340 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11341 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11342 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11343 (gst_basesrc_base_init), (gst_basesrc_class_init),
11344 (gst_basesrc_init), (gst_basesrc_get_formats),
11345 (gst_basesrc_get_query_types), (gst_basesrc_query),
11346 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11347 (gst_basesrc_set_property), (gst_basesrc_get_property),
11348 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11349 (gst_basesrc_loop), (gst_basesrc_activate),
11350 (gst_basesrc_change_state):
11351 * gst/base/gstbasesrc.h:
11352 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11353 (gst_fakesrc_class_init), (gst_fakesrc_init),
11354 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11355 (gst_fakesrc_get_property), (gst_fakesrc_create):
11356 * gst/elements/gstfakesrc.h:
11357 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11358 (gst_filesrc_open_file), (gst_filesrc_loop),
11359 (gst_filesrc_activate), (filesrc_find_peek),
11360 (gst_filesrc_type_find):
11361 Made base source class, make fakesrc extend it.
11362 Add comments to basesink class.
11363 Some filesrc cleanup.
11365 2005-03-31 David Schleef <ds@schleef.org>
11367 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11368 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11369 expected to link against libgstreamer.
11370 * gst/base/Makefile.am: link against libgstreamer
11371 * gst/elements/Makefile.am: same
11373 2005-03-31 Andy Wingo <wingo@pobox.com>
11375 * tests/instantiate/Makefile.am:
11376 * tests/instantiate/caps.c: Add test to test speed of caps copy
11379 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11380 GMemChunk to be fair.
11382 * gst/gsttrashstack.h: Remove warning about using the fallback
11383 trash stack implementation, it's still faster than malloc.
11385 2005-03-30 Andy Wingo <wingo@pobox.com>
11387 * tests/complexity.c: Add a copyright.
11389 2005-03-31 Wim Taymans <wim@fluendo.com>
11391 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11392 (gst_base_transform_class_init), (gst_base_transform_init),
11393 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11394 (gst_base_transform_get_property),
11395 (gst_base_transform_sink_activate),
11396 (gst_base_transform_src_activate),
11397 (gst_base_transform_change_state):
11398 * gst/base/gstbasetransform.h:
11399 * gst/elements/gstidentity.c: (gst_identity_class_init),
11400 (gst_identity_event), (gst_identity_check_perfect),
11401 (gst_identity_transform), (gst_identity_start),
11402 (gst_identity_stop):
11403 Added start/stop methods to transform base class so subclasses
11404 don't need to deal with state changes even.
11406 2005-03-31 Wim Taymans <wim@fluendo.com>
11408 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11409 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11411 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11412 (gst_pad_pull_range):
11413 Added rate to the discont event to prepare for variable speed
11414 and reverse playback.
11416 2005-03-29 David Schleef <ds@schleef.org>
11419 * testsuite/trigger/Makefile.am:
11420 * testsuite/trigger/trigger.c: A little example program to show
11421 how trigger-based elements can work.
11423 2005-03-29 Wim Taymans <wim@fluendo.com>
11425 * gst/base/Makefile.am:
11427 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11428 (gst_basesink_base_init), (gst_basesink_class_init),
11429 (gst_basesink_pad_getcaps), (gst_basesink_init),
11430 (gst_basesink_activate), (gst_basesink_change_state):
11431 * gst/base/gstbasesink.h:
11432 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11433 (gst_base_transform_base_init), (gst_base_transform_finalize),
11434 (gst_base_transform_class_init), (gst_base_transform_init),
11435 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11436 (gst_base_transform_event), (gst_base_transform_getrange),
11437 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11438 (gst_base_transform_set_property),
11439 (gst_base_transform_get_property),
11440 (gst_base_transform_sink_activate),
11441 (gst_base_transform_src_activate),
11442 (gst_base_transform_change_state):
11443 * gst/base/gstbasetransform.h:
11444 * gst/elements/gstidentity.c: (gst_identity_finalize),
11445 (gst_identity_class_init), (gst_identity_init),
11446 (gst_identity_event), (gst_identity_check_perfect),
11447 (gst_identity_transform), (gst_identity_set_property),
11448 (gst_identity_get_property), (gst_identity_change_state):
11449 * gst/elements/gstidentity.h:
11450 * gst/gstelement.c: (gst_element_get_state_func),
11451 (gst_element_lost_state), (gst_element_pads_activate):
11452 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11453 (gst_pad_check_pull_range), (gst_pad_pull_range):
11455 Simplify pad activation.
11456 Added function to check if pull_range can be performed.
11457 Error out when pulling inactive or flushing pads.
11458 Removed const from refcounted types as it does not make sense.
11459 Simplify pad templates in basesink
11460 Added base class for simple 1-to-1 transforms.
11461 Make identity subclass the base transform.
11463 2005-03-29 Andy Wingo <wingo@pobox.com>
11465 * docs/libs/gstreamer-libs-overrides.txt:
11466 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11467 really don't understand what's going on, but like whatever. I want
11470 * docs/gst/Makefile.am:
11471 * docs/libs/Makefile.am: Dist the overrides files.
11473 * check/Makefile.am (clean-local): Remove .libs directories.
11475 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11476 elements to EXTRA_DIST, so po/ files are happy.
11478 * po/POTFILES.in: Er, remove it here.
11480 * po/POTFILES: Remove gstspider.c.
11482 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11484 * docs/libs/gstreamer-libs-docs.sgml:
11485 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11488 * tests/complexity.c (main): Set the length of the preroll queue
11489 on the sinks to prevent a lockup.
11491 * libs/gst/dataprotocol/Makefile.am:
11492 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11493 the same as the one in check/gst-libs/gdp.c.
11495 * po/, docs/gst/: Commit automatic changes to docs and po files.
11497 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11498 the versioned libgstbase.
11500 * check/Makefile.am: Depend on an unversioned gst-register, seems
11501 to make autoconf happier.
11503 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11505 2005-03-28 Wim Taymans <wim@fluendo.com>
11508 * docs/design/part-gstelement.txt:
11509 * docs/design/part-negotiation.txt:
11510 * docs/design/part-preroll.txt:
11511 * docs/design/part-scheduling.txt:
11512 * docs/design/part-states.txt:
11514 * gst/base/Makefile.am:
11516 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11517 (gst_basesink_base_init), (gst_basesink_class_init),
11518 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11519 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11520 (gst_basesink_set_pad_functions),
11521 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11522 (gst_basesink_set_property), (gst_basesink_get_property),
11523 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11524 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11525 (gst_basesink_preroll_queue_push),
11526 (gst_basesink_preroll_queue_empty),
11527 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11528 (gst_basesink_event), (gst_basesink_get_times),
11529 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11530 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11531 (gst_basesink_loop), (gst_basesink_activate),
11532 (gst_basesink_change_state):
11533 * gst/base/gstbasesink.h:
11534 * gst/elements/Makefile.am:
11535 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11536 (gst_fakesink_class_init), (gst_fakesink_init),
11537 (gst_fakesink_set_property), (gst_fakesink_get_property),
11538 (gst_fakesink_get_times), (gst_fakesink_event),
11539 (gst_fakesink_preroll), (gst_fakesink_render),
11540 (gst_fakesink_change_state):
11541 * gst/elements/gstfakesink.h:
11542 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11543 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11544 * gst/gstelement.c: (gst_element_add_pad),
11545 (gst_element_get_state_func), (gst_element_abort_state),
11546 (gst_element_commit_state), (gst_element_lost_state),
11547 (gst_element_set_state), (gst_element_pads_activate):
11548 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11549 * gst/gstpipeline.c: (gst_pipeline_send_event),
11550 (gst_pipeline_change_state):
11551 Added state change code.
11552 Added/updated docs.
11553 Added sink base class, make fakesink extend the base class.
11554 Small cleanups in GstPipeline.
11556 2005-03-26 David Schleef <ds@schleef.org>
11558 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11559 is broken and should be implemented in a different library.
11560 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11561 * gst/gst.h: remove gstcpu.h
11562 * gst/gstcpu.c: remove
11563 * gst/gstcpu.h: remove
11564 * gst/Makefile.am.future: Remove this file. It's ancient.
11566 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11568 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11569 (gst_bin_send_event):
11570 Add default event/set_manager handlers. The set_manager handler
11571 takes care that the manager is distributed over kids that were
11572 already in the bin before the manager was set. The event handler
11573 is a utility virtual function that sends the event over all sinks,
11574 so that gst_element_send_event (bin, event); has the expected
11576 * gst/gstpad.c: (gst_pad_event_default):
11577 Re-install default event handling for discontinuities, so that
11578 seeking works without requiring hacks in applications or extra
11580 * gst/gstpipeline.c: (gst_pipeline_class_init),
11581 (gst_pipeline_send_event):
11582 Half hack, half utility: set a pipeline to PAUSED for seek events,
11583 since that is the only way we can guarantee a/v sync. Means that
11584 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11585 and it "just works".
11587 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11589 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11590 Lock/unlock mismatch.
11592 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11594 * docs/faq/gst-uninstalled:
11595 add gst-plugins-base
11596 * docs/gst/Makefile.am:
11597 don't error out until docs are fixed
11598 * docs/gst/gstreamer.types:
11601 2005-03-22 Wim Taymans <wim@fluendo.com>
11603 * check/Makefile.am:
11604 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11605 * gst/gststructure.c: (gst_structure_set_valist),
11606 (gst_structure_copy_conditional):
11607 Activated more tests.
11608 Added message test.
11609 Added G_TYPE_POINTER to GstStructure.
11612 2005-03-22 Wim Taymans <wim@fluendo.com>
11614 * docs/design/part-TODO.txt:
11615 * docs/design/part-events.txt:
11616 * docs/design/part-gstbin.txt:
11617 * docs/design/part-gstbus.txt:
11618 * docs/design/part-gstpipeline.txt:
11619 * docs/design/part-messages.txt:
11621 * gst/gstmessage.c:
11624 2005-03-21 Wim Taymans <wim@fluendo.com>
11626 * gst/gstbus.c: (gst_bus_post):
11627 Fix copy-and-paste error.
11629 2005-03-21 Wim Taymans <wim@fluendo.com>
11631 * check/Makefile.am:
11633 * gst/elements/Makefile.am:
11634 * gst/elements/gstelements.c:
11635 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11636 (gst_fakesink_event), (gst_fakesink_chain):
11637 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11638 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11639 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11640 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11641 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11642 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11643 (gst_fakesrc_loop), (gst_fakesrc_activate),
11644 (gst_fakesrc_change_state):
11645 * gst/elements/gstfakesrc.h:
11646 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11647 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11648 (gst_filesrc_open_file), (gst_filesrc_loop),
11649 (gst_filesrc_activate), (gst_filesrc_change_state),
11650 (filesrc_find_peek), (filesrc_find_suggest),
11651 (gst_filesrc_type_find):
11652 * gst/elements/gstidentity.c: (gst_identity_finalize),
11653 (gst_identity_class_init), (gst_identity_init),
11654 (gst_identity_proxy_getcaps), (identity_queue_push),
11655 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11656 (gst_identity_getrange), (gst_identity_chain),
11657 (gst_identity_sink_loop), (gst_identity_src_loop),
11658 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11659 (gst_identity_set_property), (gst_identity_get_property),
11660 (gst_identity_change_state):
11661 * gst/elements/gstidentity.h:
11662 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11663 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11664 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11665 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11666 (gst_tee_sink_activate):
11667 * gst/elements/gsttee.h:
11668 * gst/gst.c: (gst_register_core_elements), (init_post):
11670 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11671 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11672 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11673 (gst_bin_change_state):
11675 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11676 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11677 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11678 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11679 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11680 (bus_watch_callback), (bus_watch_destroy),
11681 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11682 (poll_timeout), (gst_bus_poll):
11686 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11687 (gst_element_post_message), (gst_element_message_full),
11688 (gst_element_get_state_func), (gst_element_get_state),
11689 (gst_element_abort_state), (gst_element_commit_state),
11690 (gst_element_lost_state), (gst_element_set_state),
11691 (gst_element_pads_activate), (gst_element_change_state),
11692 (gst_element_dispose), (gst_element_set_manager_func),
11693 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11694 (gst_element_set_manager), (gst_element_get_manager),
11695 (gst_element_set_bus), (gst_element_get_bus),
11696 (gst_element_set_scheduler), (gst_element_get_scheduler):
11697 * gst/gstelement.h:
11698 * gst/gstevent.c: (gst_event_new_segment_seek),
11699 (gst_event_new_flush):
11701 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11702 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11703 (gst_message_new_eos), (gst_message_new_error),
11704 (gst_message_new_warning), (gst_message_new_tag),
11705 (gst_message_new_state_changed), (gst_message_new_application),
11706 (gst_message_get_structure), (gst_message_parse_tag),
11707 (gst_message_parse_state_changed), (gst_message_parse_error),
11708 (gst_message_parse_warning):
11709 * gst/gstmessage.h:
11710 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11711 (gst_real_pad_set_property), (gst_pad_set_active),
11712 (gst_pad_is_active), (gst_pad_set_blocked_async),
11713 (gst_pad_set_blocked), (gst_pad_is_blocked),
11714 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11715 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11716 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11717 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11718 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11719 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11720 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11721 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11722 (gst_pad_set_caps), (gst_pad_configure_sink),
11723 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11724 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11725 (gst_real_pad_dispose), (gst_real_pad_finalize),
11726 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11727 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11728 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11730 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11731 (pipeline_bus_handler), (gst_pipeline_change_state),
11732 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11733 * gst/gstpipeline.h:
11735 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11736 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11737 (gst_queue_link_src), (gst_queue_bufferalloc),
11738 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11739 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11740 (gst_queue_loop), (gst_queue_handle_src_event),
11741 (gst_queue_handle_src_query), (gst_queue_src_activate),
11742 (gst_queue_change_state):
11744 * gst/gstscheduler.c: (gst_scheduler_init),
11745 (gst_scheduler_dispose), (gst_scheduler_create_task),
11746 (gst_scheduler_factory_create):
11747 * gst/gstscheduler.h:
11748 * gst/gststructure.c: (gst_structure_get_type),
11749 (gst_structure_copy_conditional):
11750 * gst/gststructure.h:
11751 * gst/gsttaginterface.h:
11752 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11753 (gst_task_init), (gst_task_dispose), (gst_task_create),
11754 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11760 * gst/schedulers/Makefile.am:
11761 * gst/schedulers/cothreads_compat.h:
11762 * gst/schedulers/entryscheduler.c:
11763 * gst/schedulers/faircothreads.c:
11764 * gst/schedulers/faircothreads.h:
11765 * gst/schedulers/fairscheduler.c:
11766 * gst/schedulers/gstbasicscheduler.c:
11767 * gst/schedulers/gstoptimalscheduler.c:
11768 * gst/schedulers/gthread-cothreads.h:
11769 * gst/schedulers/threadscheduler.c:
11770 (gst_thread_scheduler_task_get_type),
11771 (gst_thread_scheduler_task_class_init),
11772 (gst_thread_scheduler_task_init),
11773 (gst_thread_scheduler_task_start),
11774 (gst_thread_scheduler_task_stop),
11775 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11776 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11777 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11778 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11780 * libs/gst/Makefile.am:
11781 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11782 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11783 (gst_file_pad_parent_set):
11784 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11785 (gst_dp_event_from_packet):
11786 * tests/complexity.c: (main):
11787 * tests/mass_elements.c: (main):
11788 * testsuite/states/locked.c: (message_received), (main):
11789 * testsuite/states/parent.c: (main):
11790 * tools/gst-inspect.c: (print_element_flag_info),
11791 (print_implementation_info), (print_pad_info):
11792 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11794 * tools/gst-md5sum.c: (event_loop), (main):
11795 * tools/gst-typefind.c: (main):
11796 * tools/gst-xmlinspect.c: (print_element_info):
11798 Added GstBus for mainloop integration.
11799 Added GstMessage for sending notifications on the bus.
11800 Added GstTask as an abstraction for pipeline entry points.
11802 Removed Schedulers.
11803 Simplified GstQueue for multithreaded core.
11804 Made _link threadsafe, removed old capsnego.
11805 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11806 Added pad blocking functions.
11807 Reworked scheduling functions in GstPad to prepare for
11808 scheduling updates soon.
11809 Moved events out of data stream.
11810 Simplified GstEvent types.
11811 Added return values to push/pull.
11812 Removed clocking from GstElement.
11813 Added prototypes for state change function for next merge.
11814 Removed iterate from bins and state change management.
11815 Fixed some elements, disabled others for now.
11816 Fixed -inspect and -launch.
11817 Added check for GstBus.
11819 2005-03-10 Wim Taymans <wim@fluendo.com>
11821 * docs/design/part-MT-refcounting.txt:
11822 * docs/design/part-clocks.txt:
11823 * docs/design/part-gstelement.txt:
11824 * docs/design/part-gstobject.txt:
11825 * docs/design/part-standards.txt:
11826 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11827 (gst_bin_remove_func), (gst_bin_remove):
11831 * testsuite/clock/clock1.c: (main):
11832 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11834 * testsuite/dlopen/loadgst.c: (do_test):
11835 * testsuite/refcounting/bin.c: (add_remove_test1),
11836 (add_remove_test2), (main):
11837 * testsuite/refcounting/element.c: (main):
11838 * testsuite/refcounting/element_pad.c: (main):
11839 * testsuite/refcounting/pad.c: (main):
11840 * tools/gst-launch.c: (sigint_handler_sighandler):
11841 * tools/gst-typefind.c: (main):
11843 Added doc about clock.
11844 removed gst_bin_iterate_recurse_up(), marked methods
11846 Fix more testsuites.
11848 2005-03-09 Wim Taymans <wim@fluendo.com>
11850 * gst/gstpad.c: (gst_pad_get_direction),
11851 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11852 (gst_pad_collect_valist):
11853 * testsuite/bins/interface.c: (main):
11854 * testsuite/caps/audioscale.c: (test_caps):
11855 * testsuite/caps/caps.c: (test1), (test2), (test3):
11856 * testsuite/caps/deserialize.c: (main):
11857 * testsuite/caps/enumcaps.c: (main):
11858 * testsuite/caps/filtercaps.c: (main):
11859 * testsuite/caps/intersect2.c: (main):
11860 * testsuite/caps/random.c: (main):
11861 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11862 * testsuite/caps/sets.c: (check_caps):
11863 * testsuite/caps/simplify.c: (check_caps), (main):
11864 * testsuite/caps/subtract.c: (check_caps):
11865 Fix _pad_get_direction wrt ghostpads.
11866 Fix caps testsuite.
11868 2005-03-09 Wim Taymans <wim@fluendo.com>
11870 * check/Makefile.am:
11871 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11872 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11873 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11874 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11875 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11876 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11877 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11878 (bin_element_is_sink), (gst_bin_iterate_sinks),
11879 (gst_bin_iterate_all_by_interface):
11881 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11882 (gst_element_change_state), (gst_element_dispose),
11883 (gst_element_finalize), (gst_element_set_loop_function):
11884 * gst/gstelement.h:
11885 * gst/gstiterator.c: (find_custom_fold_func):
11886 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11887 (gst_pad_collectv), (gst_pad_collect_valist),
11888 (gst_pad_template_new):
11889 * gst/gstpipeline.c: (gst_pipeline_class_init),
11890 (gst_pipeline_dispose), (gst_pipeline_set_property),
11891 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11892 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11893 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11895 * gst/schedulers/entryscheduler.c:
11896 * gst/schedulers/gstbasicscheduler.c:
11897 (gst_basic_scheduler_cothreaded_chain),
11898 (gst_basic_scheduler_chain_add_element):
11899 * testsuite/bins/interface.c: (main):
11901 Added GstSystemClock test.
11902 Implemented clock distribution code in GstBin.
11903 Implemented iterate sinks method for future use.
11904 Rearranged gstelement.h
11905 Fix GstIterator comparison bug.
11906 Moved some code to GstPipeline, mostly clocking related.
11908 2005-03-09 Wim Taymans <wim@fluendo.com>
11911 * gst/gst_private.h:
11912 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11913 (gst_bin_remove_func), (gst_bin_remove),
11914 (gst_bin_get_by_name_recurse_up):
11915 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11916 (gst_clock_id_compare_func), (gst_clock_id_wait),
11917 (gst_clock_id_wait_async), (gst_clock_init),
11918 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11919 * gst/gstelement.h:
11920 * gst/gstinfo.c: (_gst_debug_init):
11922 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11923 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11925 Bump version number, we're now 0.9.0
11926 Add future debugging category.
11927 Fix NULL _unref() in _get_by_name_recurse_up
11928 Rearrange gstpad.h.
11931 2005-03-08 Wim Taymans <wim@fluendo.com>
11933 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11934 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11935 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11936 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11937 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11938 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11939 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11940 * gst/elements/gstidentity.c: (gst_identity_class_init):
11941 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11942 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11943 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11944 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11945 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11947 * gst/gstelement.c: (gst_element_class_init),
11948 (gst_element_base_class_init), (gst_element_init),
11949 (gst_element_get_random_pad), (gst_element_wait_state_change),
11950 (gst_element_change_state), (gst_element_dispose),
11951 (gst_element_finalize), (gst_element_set_loop_function):
11952 * gst/gstelement.h:
11953 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11954 * gst/gstthread.c: (gst_thread_class_init),
11955 (gst_thread_release_children_locks), (gst_thread_change_state):
11956 * gst/schedulers/gstbasicscheduler.c:
11957 (gst_basic_scheduler_loopfunc_wrapper),
11958 (gst_basic_scheduler_chain_wrapper),
11959 (gst_basic_scheduler_src_wrapper),
11960 (gst_basic_scheduler_remove_element):
11961 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11962 Remove threadsafe properties. Fix elements because GObject
11963 complains when installing a property before declaring a
11964 set/get_property handler.
11965 Rearrange gstelement.h file, use STATE macros for state locks.
11966 Free mutexes in the finalize method instead of dispose.
11968 2005-03-08 Wim Taymans <wim@fluendo.com>
11970 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11971 * gst/gstthread.c: (gst_thread_release_children_locks):
11972 Added parentage check.
11973 Fix build og GstThread again.
11975 2005-03-08 Wim Taymans <wim@fluendo.com>
11977 * docs/design/part-MT-refcounting.txt:
11978 * docs/design/part-conventions.txt:
11979 * docs/design/part-gstobject.txt:
11980 * docs/design/part-relations.txt:
11981 * docs/design/part-standards.txt:
11982 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11983 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11984 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11985 (gst_bin_iterate_all_by_interface):
11988 * gst/gstelement.c: (gst_element_class_init),
11989 (gst_element_change_state), (gst_element_set_loop_function):
11990 * gst/gstelement.h:
11991 * gst/gstiterator.c:
11992 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11993 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11994 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11995 (gst_object_set_parent), (gst_object_unparent),
11996 (gst_object_check_uniqueness):
11998 Docs updates, clean up some headers.
12000 2005-03-07 Wim Taymans <wim@fluendo.com>
12002 * check/.cvsignore:
12003 * check/Makefile.am:
12004 * check/gst-libs/.cvsignore:
12005 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12006 * check/gst/.cvsignore:
12007 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12008 (START_TEST), (gstbus_suite), (main):
12009 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12010 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12011 (gst_data_suite), (main):
12012 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12013 (add_fold_func), (gstiterator_suite), (main):
12014 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12015 (thread_name_object), (thread_name_object_default),
12016 (gst_object_name_compare), (gst_object_suite), (main):
12017 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12018 (gst_pad_suite), (main):
12019 * check/gstcheck.c: (gst_check_log_message_func),
12020 (gst_check_log_critical_func), (gst_check_init):
12021 * check/gstcheck.h:
12022 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12023 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12026 2005-03-07 Wim Taymans <wim@fluendo.com>
12028 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12029 (gst_list_iterator_next), (gst_list_iterator_resync),
12030 (gst_list_iterator_free), (gst_iterator_new_list),
12031 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12032 (gst_iterator_free), (gst_iterator_push), (filter_next),
12033 (filter_resync), (filter_uninit), (filter_free),
12034 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12035 (gst_iterator_foreach), (find_custom_fold_func),
12036 (gst_iterator_find_custom):
12037 * gst/gstiterator.h:
12038 Added missing files.
12040 2005-03-07 Wim Taymans <wim@fluendo.com>
12044 * docs/design/part-MT-refcounting.txt:
12045 * docs/design/part-conventions.txt:
12046 * docs/design/part-gstobject.txt:
12047 * docs/design/part-relations.txt:
12048 * examples/mixer/mixer.c: (main):
12049 * examples/thread/thread.c: (eos), (main):
12051 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12052 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12053 (gst_spider_plug_from_srcpad):
12054 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12055 (gst_spider_identity_change_state),
12056 (gst_spider_identity_sink_loop_type_finding):
12057 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12058 * gst/elements/gstidentity.c: (gst_identity_init):
12059 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12060 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12061 * gst/elements/gsttypefindelement.c: (free_entry):
12064 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12065 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12066 (gst_bin_set_index), (gst_bin_set_element_sched),
12067 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12068 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12069 (gst_bin_iterate_elements), (iterate_child_recurse),
12070 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12071 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12072 (compare_interface), (gst_bin_get_by_interface),
12073 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12075 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12076 (gst_buffer_default_free), (gst_buffer_default_copy),
12077 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12078 (gst_buffer_create_sub):
12080 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12081 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12082 (gst_caps_unref), (gst_static_caps_get),
12083 (gst_caps_remove_and_get_structure), (gst_caps_append),
12084 (gst_caps_append_structure), (gst_caps_remove_structure),
12085 (gst_caps_copy_nth), (gst_caps_set_simple),
12086 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12087 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12088 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12089 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12090 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12091 (gst_caps_structure_figure_out_union),
12092 (gst_caps_switch_structures), (gst_caps_do_simplify),
12093 (gst_caps_replace), (gst_caps_from_string),
12094 (gst_caps_copy_conditional):
12096 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12097 (_gst_clock_id_free), (gst_clock_id_unref),
12098 (gst_clock_id_compare_func), (gst_clock_id_wait),
12099 (gst_clock_id_wait_async), (gst_clock_class_init),
12100 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12101 (gst_clock_get_time), (gst_clock_set_time_adjust),
12102 (gst_clock_set_property), (gst_clock_get_property):
12105 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12106 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12108 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12109 (gst_element_requires_clock), (gst_element_provides_clock),
12110 (gst_element_set_clock), (gst_element_clock_wait),
12111 (gst_element_wait), (gst_element_set_time_delay),
12112 (gst_element_is_indexable), (gst_element_add_pad),
12113 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12114 (pad_compare_name), (gst_element_get_static_pad),
12115 (gst_element_request_pad), (gst_element_get_request_pad),
12116 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12117 (gst_element_class_get_pad_template_list),
12118 (gst_element_class_get_pad_template), (gst_element_error_func),
12119 (gst_element_get_random_pad), (gst_element_get_event_masks),
12120 (gst_element_send_event), (gst_element_seek),
12121 (gst_element_get_query_types), (gst_element_query),
12122 (gst_element_get_formats), (gst_element_convert),
12123 (gst_element_is_locked_state), (gst_element_set_locked_state),
12124 (gst_element_sync_state_with_parent), (gst_element_change_state),
12125 (gst_element_finalize), (gst_element_yield),
12126 (gst_element_interrupt), (gst_element_set_scheduler),
12127 (gst_element_get_scheduler), (gst_element_set_loop_function):
12128 * gst/gstelement.h:
12130 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12131 (gst_format_get_by_nick), (gst_format_get_details),
12132 (gst_format_iterate_definitions):
12134 * gst/gstindex.c: (gst_index_gtype_resolver):
12137 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12138 (gst_mem_chunk_free):
12139 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12140 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12141 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12142 (gst_object_dispatch_properties_changed),
12143 (gst_object_set_name_default), (gst_object_set_name),
12144 (gst_object_get_name), (gst_object_set_name_prefix),
12145 (gst_object_get_name_prefix), (gst_object_set_parent),
12146 (gst_object_get_parent), (gst_object_unparent),
12147 (gst_object_check_uniqueness), (gst_object_save_thyself),
12148 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12149 (gst_object_set_property), (gst_object_get_property),
12150 (gst_object_get_path_string):
12152 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12153 (gst_real_pad_init), (gst_real_pad_get_property),
12154 (gst_pad_custom_new), (gst_pad_get_direction),
12155 (gst_pad_set_active), (gst_pad_is_active),
12156 (gst_pad_set_event_function), (gst_pad_is_linked),
12157 (gst_pad_link_free), (gst_pad_link_intersect),
12158 (gst_pad_link_fixate), (gst_pad_set_caps),
12159 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12160 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12161 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12162 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12163 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12164 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12165 (gst_pad_realize), (gst_pad_get_allowed_caps),
12166 (gst_real_pad_dispose), (gst_real_pad_finalize),
12167 (gst_pad_collectv), (gst_pad_collect_valist),
12168 (gst_pad_template_dispose), (gst_pad_template_new),
12169 (gst_pad_get_internal_links):
12171 * gst/gstpipeline.c: (gst_pipeline_dispose),
12172 (gst_pipeline_change_state):
12173 * gst/gstpipeline.h:
12175 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12176 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12177 * gst/gstpluginfeature.h:
12178 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12179 * gst/gstquery.c: (_gst_query_type_initialize),
12180 (gst_query_type_register), (gst_query_type_get_by_nick),
12181 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12183 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12184 * gst/gstscheduler.c: (gst_scheduler_add_element),
12185 (gst_scheduler_factory_create):
12186 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12187 (gst_structure_free), (gst_structure_set_name),
12188 (gst_structure_id_set_value), (gst_structure_set_value),
12189 (gst_structure_set_valist), (gst_structure_remove_field),
12190 (gst_structure_remove_fields),
12191 (gst_structure_remove_fields_valist),
12192 (gst_structure_remove_all_fields), (gst_structure_foreach),
12193 (gst_structure_map_in_place),
12194 (gst_caps_structure_fixate_field_nearest_int),
12195 (gst_caps_structure_fixate_field_nearest_double):
12196 * gst/gststructure.h:
12197 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12198 (gst_system_clock_init), (gst_system_clock_dispose),
12199 (gst_system_clock_async_thread),
12200 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12201 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12202 * gst/gstsystemclock.h:
12203 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12204 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12205 * gst/gsttaginterface.c:
12206 * gst/gstthread.c: (gst_thread_dispose),
12207 (gst_thread_release_children_locks), (gst_thread_change_state),
12208 (gst_thread_main_loop):
12209 * gst/gsttrashstack.h:
12210 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12212 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12213 (gst_element_request_pad), (gst_element_get_pad_from_template),
12214 (gst_element_request_compatible_pad),
12215 (gst_element_get_compatible_pad_filtered),
12216 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12217 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12218 (gst_element_link_many), (gst_element_link),
12219 (gst_element_link_pads), (gst_element_unlink_pads),
12220 (gst_element_unlink_many), (gst_element_unlink),
12221 (gst_pad_can_link_filtered), (gst_pad_can_link),
12222 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12223 (gst_object_default_error), (gst_bin_add_many),
12224 (gst_bin_remove_many), (gst_element_populate_std_props),
12225 (gst_element_class_install_std_props), (gst_buffer_merge),
12226 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12227 (link_fold_func), (gst_pad_proxy_setcaps):
12229 * gst/gstvalue.c: (gst_value_deserialize_string):
12230 * gst/parse/grammar.y:
12231 * gst/schedulers/gstbasicscheduler.c:
12232 (gst_basic_scheduler_cothreaded_chain),
12233 (gst_basic_scheduler_chain_recursive_add),
12234 (gst_basic_scheduler_pad_link):
12235 * gst/schedulers/gstoptimalscheduler.c:
12236 (get_group_schedule_function),
12237 (gst_opt_scheduler_state_transition),
12238 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12239 * libs/gst/bytestream/bytestream.c:
12240 * libs/gst/dataprotocol/dataprotocol.c:
12241 (gst_dp_header_from_buffer):
12244 * tests/threadstate/threadstate2.c: (eos):
12245 * tools/gst-compprep.c: (main):
12246 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12247 (print_pad_info), (print_children_info):
12248 * tools/gst-launch.c: (idle_func), (main):
12249 * tools/gst-md5sum.c: (idle_func), (main):
12250 * tools/gst-xmlinspect.c: (print_element_info):
12251 First THREADED backport attempt, focusing on adding locks and
12252 making sure the API is threadsafe. Needs more work. More docs
12255 2005-02-24 Andy Wingo <wingo@pobox.com>
12257 * tests/bench-complexity.scm:
12258 * tests/complexity.gnuplot: New files, good for running complexity
12261 * tests/Makefile.am:
12262 * tests/complexity.c: New test, sets up N elements, at each level
12263 teeing into M streams per element. Eeeenteresting.
12265 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12266 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12267 running bench-mass_elements.scm.
12269 * tests/bench-mass_elements.scm: New script, runs mass_elements
12270 for various numbers of identities, outputting the results to a
12271 file. Requires guile 1.6. Just for testing.
12273 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12275 * gst/schedulers/fairscheduler.c:
12276 compile with debug disabled
12278 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12281 hunting season on 0.9 is now OPEN