1 2005-11-28 Stefan Kost <ensonic@users.sf.net>
3 * docs/random/ensonic/dparams.txt:
4 some TODOs for the next dev cycle
5 * libs/gst/controller/gstcontroller.c:
6 (gst_controlled_property_set_interpolation_mode),
7 (gst_controlled_property_new):
8 * libs/gst/controller/gstcontroller.h:
9 use base type to assign acccessor functions
11 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14 Oops, that should have been top_srcdir
16 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19 * check/elements/fdsrc.c: (GST_START_TEST):
20 Use a cmdline define to specify the location of a file to use for
21 testing, to avoid breaking distcheck.
23 2005-11-28 Andy Wingo <wingo@pobox.com>
25 * gst/gstpad.c (fixate_value): Use array functions for arrays.
27 2005-11-28 Edward Hervey <edward@fluendo.com>
29 * tools/gst-launch.c: (main):
30 Clarify the output strings, makes it easier to translate.
33 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
36 don't try and build net if we don't even have <sys/socket.h>
38 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
41 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
42 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
43 Add tests for fdsrc seekability
45 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
46 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
47 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
48 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
49 * gst/elements/gstfdsrc.h:
50 fdsrc should not be a 'live' source.
51 Implement seeking on seekable fd's.
53 * gst/gstquery.c: (gst_query_new_seeking),
54 (gst_query_parse_seeking):
56 Implement SEEKING query functions:
57 *_new_seeking and *_parse_seeking
59 2005-11-27 Stefan Kost <ensonic@users.sf.net>
61 * gst/gstelement.c: (gst_element_dispose):
68 * libs/gst/controller/gstcontroller.c:
69 (gst_controlled_property_set_interpolation_mode):
70 * libs/gst/controller/gstcontroller.h:
71 * libs/gst/controller/gstinterpolation.c:
72 (interpolate_none_get_enum_value_array):
73 support controlling enums
75 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
78 Improve documentation for gst_value_union().
81 Change return value for union, intersect and subtract functions
82 from gint to gboolean.
84 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
86 * gst/gstvalue.c: (gst_value_serialize_any_list),
87 (gst_value_transform_any_list_string),
88 (gst_value_deserialize_list), (gst_value_deserialize_array),
89 (gst_value_set_int_range), (gst_value_deserialize_int_range),
90 (gst_value_set_double_range), (gst_value_deserialize_double_range),
91 (gst_value_set_fraction_range_full),
92 (gst_value_deserialize_fraction_range),
93 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
94 (gst_value_deserialize_boolean),
95 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
96 (gst_value_serialize_float), (gst_value_deserialize_float),
97 (gst_string_wrap), (gst_value_deserialize_string),
98 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
99 (gst_value_union_int_range_int_range),
100 (gst_value_intersect_int_range_int_range),
101 (gst_value_intersect_double_range_double_range),
102 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
103 (gst_value_subtract_int_range_int_range),
104 (gst_value_subtract_double_double_range),
105 (gst_value_subtract_double_range_double_range),
106 (gst_value_deserialize_fraction):
108 Use gint, gdouble and gchar in our API instead of int, double and
109 char (and make usage in gstvalue.c more consistent).
111 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
114 * libs/gst/controller/Makefile.am:
115 * libs/gst/dataprotocol/Makefile.am:
116 fix up Makefile.am and remove GST_ENABLE_NEW
118 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
122 * gst/base/Makefile.am:
123 * gst/check/Makefile.am:
124 * gst/elements/Makefile.am:
125 * gst/net/Makefile.am:
126 update LDFLAGS use some more
128 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
130 * common/m4/gst-doc.m4:
133 2005-11-26 Edward Hervey <edward@fluendo.com>
135 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
136 This shouldn't issue a g_warning since it returns NULL if it
137 couldn't find the plugin, and all functions using this behave
138 properly on a NULL return. Switching to a GST_WARNING.
140 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
142 * gst/gstbin.c: (gst_bin_handle_message_func):
143 Don't leak clock messages.
145 2005-11-25 Wim Taymans <wim@fluendo.com>
147 * gst/gstutils.c: (gst_util_uint64_scale_int64),
148 (gst_util_uint64_scale_int):
149 Optimisations, remove unneeded vars.
151 2005-11-25 Wim Taymans <wim@fluendo.com>
153 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
154 Added more checks for the high precision uint64 cases.
156 * gst/gstutils.c: (gst_util_uint64_scale_int64),
157 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
158 Implement high precission (guint64 * guint64) / guint64.
160 2005-11-24 Wim Taymans <wim@fluendo.com>
162 * gst/base/gstbasesrc.c: (gst_base_src_query):
163 Fix wrong percentage query.
165 * gst/gstutils.c: (gst_util_uint64_scale),
166 (gst_util_uint64_scale_int):
167 Add some more common cases that can be handled
168 efficiently to _scale.
170 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
172 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
173 (gst_mini_object_suite):
174 don't use check calls from threads; check probably isn't
175 threadsafe and using a lock to make it threadsafe would
176 defeat the purpose of this check
177 * gst/check/gstcheck.c:
178 * gst/check/gstcheck.h:
179 use GST_DEBUG some more
181 2005-11-24 Wim Taymans <wim@fluendo.com>
183 * gst/gstutils.c: (gst_util_uint64_scale),
184 (gst_util_uint64_scale_int):
185 Chain trivial case to _scale_int.
187 2005-11-24 Wim Taymans <wim@fluendo.com>
189 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
190 Added test for scaling.
195 * gst/gstutils.c: (gst_util_uint64_scale_int):
196 Implemented high precision scaling code.
198 2005-11-24 Stefan Kost <ensonic@users.sf.net>
201 do not crash on pad==NULL
203 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
205 Patch by: Stefan Kost
207 * common/gtk-doc.mak:
208 * docs/gst/Makefile.am:
209 * docs/libs/Makefile.am:
210 Fix distcheck issues for the libraries docs build
213 2005-11-24 Michael Smith <msmith@fluendo.com>
215 * docs/manual/basics-helloworld.xml:
216 Fix bug #315027: memory leak in example code in docs.
218 2005-11-24 Michael Smith <msmith@fluendo.com>
220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
221 Unlock the PREROLL_LOCK in a failure case.
223 2005-11-24 Wim Taymans <wim@fluendo.com>
225 * docs/gst/gstreamer-sections.txt:
226 * gst/base/gstadapter.h:
227 * gst/base/gstbasesink.h:
228 * gst/base/gstbasesrc.h:
229 * gst/base/gstbasetransform.h:
230 * gst/base/gstpushsrc.h:
231 * gst/elements/gstfakesink.h:
232 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
233 * gst/elements/gstfakesrc.h:
234 * gst/elements/gstfilesink.h:
235 * gst/elements/gstfilesrc.h:
238 * gst/gstbuffer.c: (_gst_buffer_copy):
241 * gst/gstchildproxy.c:
244 * gst/gstelementfactory.c:
245 * gst/gstelementfactory.h:
249 * gst/gstinterface.h:
250 * gst/gstminiobject.c:
251 * gst/gstminiobject.h:
254 * gst/gstpadtemplate.h:
256 * gst/gstpluginfeature.h:
261 * gst/gsttagsetter.c:
262 * gst/gsttagsetter.h:
268 * gst/net/gstnetclientclock.c:
269 * gst/net/gstnetclientclock.h:
270 * gst/net/gstnettimepacket.c:
271 * gst/net/gstnettimeprovider.c:
272 * gst/net/gstnettimeprovider.h:
275 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
277 * configure.ac: back to HEAD
279 === release 0.9.6 ===
281 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
284 releasing 0.9.6, "Always On Time"
286 2005-11-23 Wim Taymans <wim@fluendo.com>
288 * docs/gst/gstreamer-sections.txt:
290 * gst/gsttagsetter.c:
292 * gst/net/gstnetclientclock.c:
293 * gst/net/gstnettimepacket.h:
296 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
298 * docs/faq/using.xml:
299 * docs/libs/tmpl/gstcontrol.sgml:
300 * docs/manual/advanced-dparams.xml:
301 * docs/manual/appendix-checklist.xml:
302 * docs/manual/basics-elements.xml:
303 * docs/pwg/other-source.xml:
304 * docs/random/moving-plugins:
306 * tools/gst-launch.1.in:
307 remove mentions of sinesrc
309 2005-11-23 Michael Smith <msmith@fluendo.com>
311 * docs/gst/gstreamer-sections.txt:
312 Update for new API and API changes.
314 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
316 Documentation typo fix.
317 * gst/net/gstnettimepacket.c:
318 Documentation fixes for arguments.
320 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
322 * gst/gststructure.c: (gst_structure_get_fraction),
323 (gst_structure_parse_value),
324 (gst_structure_fixate_field_nearest_fraction):
325 * gst/gststructure.h:
326 * gst/gstutils.c: (gst_util_uint64_scale_int):
328 * scripts/update-funcnames:
330 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
331 Make gst_structure_fixate_field_nearest_fraction take a numerator
332 and denominator argument instead of a GValue
333 add gst_structure_get_fraction helper function.
335 2005-11-23 Wim Taymans <wim@fluendo.com>
337 * docs/design/part-TODO.txt:
340 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
341 * gst/net/gstnetclientclock.h:
342 Use parent fields for timeout and window_size.
344 2005-11-23 Andy Wingo <wingo@pobox.com>
346 * check/net/gstnetclientclock.c (test_functioning): Adjust to
347 rate_num/rate_denom change.
349 * gst/net/gstnetclientclock.c
350 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
351 OBJECT_LOCK. Don't call add_observation with the lock.
353 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
355 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
357 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
358 deal with rate as a fraction whose numerator and denominator are
360 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
361 master; the other fields are protected by the SLAVE_LOCK.
362 (do_linear_regression): Note that this must be called with the
364 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
365 OBJECT_LOCK. Call set_calibration instead of touching the
367 (gst_clock_set_property, gst_clock_get_property): Protect
368 master/slave parameters with the SLAVE_LOCK.
370 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
371 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
372 note that all of the instance variables that add_observation and
373 the set_master functions use are protected by that lock and not
375 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
377 * gst/gstclock.c (gst_clock_add_observation): No longer requires
378 the caller to take the object lock.
380 2005-11-23 Wim Taymans <wim@fluendo.com>
382 * gst/gsterror.c: (_gst_core_errors_init):
384 Add error for clock stuff.
386 * gst/gstpipeline.c: (gst_pipeline_change_state),
387 (gst_pipeline_set_clock):
388 Post clock error when clock cannot be used in a pipeline.
390 2005-11-23 Stefan Kost <ensonic@users.sf.net>
392 * docs/gst/gstreamer-sections.txt:
393 make two symbols from gstinfo private for the docs
394 * gst/base/gstcollectpads.h:
396 fix doc typos, update docs
398 2005-11-22 Wim Taymans <wim@fluendo.com>
400 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
401 (gst_base_sink_wait), (gst_base_sink_do_sync),
402 (gst_base_sink_handle_event):
403 * gst/base/gstbasesink.h:
404 No need to store the clock, the parent element class already
407 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
408 Updates for clock_set returning a gboolean
410 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
411 (gst_clock_id_wait_async), (gst_clock_class_init),
412 (gst_clock_init), (gst_clock_finalize),
413 (gst_clock_get_internal_time), (gst_clock_get_time),
414 (gst_clock_slave_callback), (gst_clock_set_master),
415 (gst_clock_get_master), (do_linear_regression),
416 (gst_clock_add_observation), (gst_clock_set_property),
417 (gst_clock_get_property):
419 Implement master/slave. When setting a clock as a slave, a
420 periodic timeout is scheduled to sample master and slave times.
421 Then the slave clock is recalibrated to match offset and rate
423 Update logging a bit.
424 Add flag so that a clock can state that is cannot be slaved to
427 * gst/gstelement.c: (gst_element_set_clock):
429 The set clock returns a gboolean for when an element cannot
430 deal with the selected clock in the pipeline.
432 * gst/gstpipeline.c: (gst_pipeline_change_state),
433 (gst_pipeline_set_clock):
435 Handle the case where the selected clock cannot be set on
438 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
439 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
440 (gst_net_client_clock_set_property),
441 (gst_net_client_clock_get_property),
442 (gst_net_client_clock_observe_times):
443 * gst/net/gstnetclientclock.h:
444 Use regression code in GstClock parent, remove duplicated
447 2005-11-22 Michael Smith <msmith@fluendo.com>
449 * gst/gstutils.c: (gst_util_clock_time_scale):
451 * docs/gst/gstreamer-sections.txt:
452 Rename method to have extra underscore.
454 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
456 * gst/elements/Makefile.am:
457 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
458 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
459 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
460 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
461 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
462 * gst/elements/gstfakesrc.h:
463 * gst/gstqueue.c: (queue_leaky_get_type):
464 correctly fix GEnumValues so that nick is the short lowercase
466 * tools/gst-inspect.c: (print_element_properties_info):
467 also show the nick, since it's useful to use from parse_launch
471 2005-11-22 Michael Smith <msmith@fluendo.com>
473 * gst/gstutils.c: (gst_util_clocktime_scale):
475 * docs/gst/gstreamer-sections.txt:
476 Add util method for scaling a clocktime by a fraction. Useful
477 implementation is left as an exercise for the reader.
479 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
481 * gst/gstvalue.c: (gst_value_collect_fraction_range):
482 If needed, allocate storage in the destination value during
485 2005-11-22 Edward Hervey <edward@fluendo.com>
487 * docs/gst/gstreamer-sections.txt:
492 * gst/gstutils.c: (gst_util_set_object_arg):
493 * tools/gst-compprep.c: (main):
494 * tools/gst-inspect.c: (print_element_properties_info):
495 Removed GstURI, closes bug #321061
497 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
499 * check/gst/gststructure.c: (GST_START_TEST):
500 * gst/gststructure.c: (gst_structure_parse_value):
501 Oops, broke automatic string type parsing.
502 Add a test to catch it in future.
504 2005-11-22 Andy Wingo <wingo@pobox.com>
506 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
507 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
508 Actually rename the function implementations. Grr.
510 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
512 * check/gst/capslist.h:
514 * check/gst/gststructure.c: (GST_START_TEST),
515 (gst_structure_suite):
516 Test automatic value type detection in gst_structure_from_string.
517 * gst/gststructure.c: (gst_structure_parse_value):
518 Add fraction as a type we try and guess automatically in
519 caps/structure strings.
521 2005-11-22 Andy Wingo <wingo@pobox.com>
523 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
525 * gst/gsttagsetter.h:
526 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
527 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
528 (gst_tag_setter_add_tag_valist)
529 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
530 _add_values, _add_valist, and _add_valist_values. Since this is an
531 interface the function suffixes should be more explicit so
532 language binding don't end up with element.add_valist ->
533 gst_tag_setter_add_valist, for example. Fixes #322069.
535 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
537 * check/gst/gstcaps.c: (GST_START_TEST):
538 Extend caps string tests to check that a caps to string
539 conversion is reversible and produces the same caps.
541 * gst/gststructure.c: (gst_structure_value_get_generic_type):
542 Output "fraction" as the generic type fraction range, so caps
543 serialisation and deserialisation works.
544 * check/gst/capslist.h:
545 * gst/gstvalue.c: (gst_value_deserialize_fraction):
546 Support 'MIN' and 'MAX' for deserialising fractions.
548 2005-11-22 Andy Wingo <wingo@pobox.com>
550 * gst/gstevent.h (gst_event_new_new_segment)
551 (gst_event_parse_new_segment, gst_event_new_buffer_size)
552 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
553 Renamed from *_newsegment, *_buffersize, *_notarget.
555 * scripts/update-funcnames: New script, performs the changes
558 2005-11-22 Wim Taymans <wim@fluendo.com>
560 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
561 Make sure the GstFlowReturn is returned.
563 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
564 (gst_bus_add_signal_watch):
566 add gst_bus_add_signal_watch_full.
568 * gst/gstplugin.c: (gst_plugin_load_file):
571 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
573 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
574 Block the fakesrc srcpad when we send an event, to avoid
575 contention on the stream_lock causing random test failures.
577 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
579 * check/gst/gstvalue.c: (GST_START_TEST):
580 * gst/gstvalue.c: (gst_value_fraction_subtract):
583 2005-11-22 Stefan Kost <ensonic@users.sf.net>
586 include "gstchildproxy.h"
587 * gst/gstchildproxy.h:
588 * libs/gst/controller/gstcontroller.h:
589 use G_GNUC_NULL_TERMINATED
591 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
593 * check/gst/capslist.h:
594 * check/gst/gstcaps.c: (GST_START_TEST):
595 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
596 * gst/gststructure.c: (gst_structure_parse_range),
597 (gst_structure_fixate_field_nearest_fraction):
598 * gst/gststructure.h:
599 * gst/gstvalue.c: (gst_value_init_fraction_range),
600 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
601 (gst_value_collect_fraction_range),
602 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
603 (gst_value_set_fraction_range_full),
604 (gst_value_get_fraction_range_min),
605 (gst_value_get_fraction_range_max),
606 (gst_value_serialize_fraction_range),
607 (gst_value_transform_fraction_range_string),
608 (gst_value_compare_fraction_range),
609 (gst_value_deserialize_fraction_range),
610 (gst_value_intersect_fraction_fraction_range),
611 (gst_value_intersect_fraction_range_fraction_range),
612 (gst_value_subtract_fraction_fraction_range),
613 (gst_value_subtract_fraction_range_fraction),
614 (gst_value_subtract_fraction_range_fraction_range),
615 (gst_value_collect_fraction), (gst_value_fraction_multiply),
616 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
617 (gst_value_transform_string_fraction), (_gst_value_initialize):
619 Implement fraction ranges and extend GstFraction to support
620 arithmetic subtraction, as well as deserialization from integer
621 strings such as "100"
622 Add a testsuite as for int and double range set operations
624 2005-11-21 Andy Wingo <wingo@pobox.com>
628 * gst/gststructure.h: Add glib-compat.h.
630 2005-11-21 Wim Taymans <wim@fluendo.com>
632 * gst/gstbin.c: (gst_bin_change_state_func):
635 2005-11-21 Wim Taymans <wim@fluendo.com>
638 And add a nice define too.
640 2005-11-21 Wim Taymans <wim@fluendo.com>
642 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
643 (gst_segment_new), (gst_segment_free), (gst_segment_init),
644 (gst_segment_set_duration), (gst_segment_set_last_stop),
645 (gst_segment_set_seek), (gst_segment_set_newsegment),
646 (gst_segment_to_stream_time), (gst_segment_to_running_time),
649 Make binding friendly.
651 2005-11-21 Andy Wingo <wingo@pobox.com>
653 * gst/gsttagsetter.h:
655 * gst/gststructure.h:
657 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
660 * gst/gsterror.c (_gst_core_errors_init):
661 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
664 * gst/Makefile.am (gst_headers): Add glib-compat.h.
665 (noinst_HEADERS): noinst the -private.
667 2005-11-21 Michael Smith <msmith@fluendo.com>
671 Remove unimplemented declarations for which we can see no sensible
674 2005-11-21 Andy Wingo <wingo@pobox.com>
676 * gst/gst.h: Include glib-compat.h.
678 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
680 * gst/glib-compat.c: Include the public and the private header.
682 * gst/glib-compat-private.h: Copied here from glib-compat.h.
686 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
688 * check/gst/gstevent.c (create_custom_events): Check that
689 FLUSH_STOP is serialized.
691 * check/elements/identity.c (event_func):
692 * check/elements/fakesrc.c (event_func): No stream lock, the core
695 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
696 stream lock taking, yay.
698 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
699 ensure that core takes the stream lock.
701 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
704 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
705 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
706 it already. For the flush start we do take it though so we get the
707 right preroll state change messages.
709 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
710 the stream lock here, the core does it for us.
712 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
714 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
715 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
716 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
717 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
718 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
719 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
721 * gst/gstpad.c: Update for stream lock name change.
723 * gst/base/gstbasesink.c: Update for preroll lock name change.
725 2005-11-21 Wim Taymans <wim@fluendo.com>
727 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
728 (gst_clock_get_master):
730 * gst/gstsystemclock.c: (gst_system_clock_init):
731 Convert Clock flags to object flags.
732 Added methods to manage master/slave clocks.
734 2005-11-21 Wim Taymans <wim@fluendo.com>
736 * check/gst/gstsegment.c: (GST_START_TEST):
737 * docs/design/part-TODO.txt:
738 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
739 (gst_base_sink_event), (gst_base_sink_do_sync),
740 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
741 (gst_base_sink_query), (gst_base_sink_change_state):
742 * gst/base/gstbasesink.h:
743 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
744 (gst_base_src_default_newsegment),
745 (gst_base_src_configure_segment), (gst_base_src_do_seek),
746 (gst_base_src_get_range), (gst_base_src_loop),
747 (gst_base_src_change_state):
748 * gst/base/gstbasesrc.h:
749 * gst/base/gstbasetransform.c:
750 (gst_base_transform_prepare_output_buf),
751 (gst_base_transform_event), (gst_base_transform_change_state):
752 * gst/base/gstbasetransform.h:
753 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
754 (gst_collect_pads_event):
755 * gst/base/gstcollectpads.h:
756 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
757 (gst_fake_src_create):
758 * gst/elements/gstfakesrc.h:
759 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
760 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
761 (gst_segment_set_last_stop), (gst_segment_set_seek),
762 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
763 (gst_segment_to_running_time), (gst_segment_clip):
765 More segment updates, replace code in plugins with segment
768 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
770 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
771 Don't ignore sscanf results
773 2005-11-21 Andy Wingo <wingo@pobox.com>
775 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
778 * *.c: Ran scripts/update-macros. Oh yes.
780 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
781 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
784 * scripts/update-macros: New script. Run it on your files to
785 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
788 2005-11-21 Stefan Kost <ensonic@users.sf.net>
790 * docs/gst/Makefile.am:
791 * docs/gst/gstreamer-docs.sgml:
792 * docs/gst/gstreamer-sections.txt:
793 * docs/gst/gstreamer.types:
795 more docs fixes, add new api to the docs
797 2005-11-21 Andy Wingo <wingo@pobox.com>
799 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
800 state_broadcast call.
802 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
804 2005-11-21 Julien MOUTTE <julien@moutte.net>
806 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
807 function calls for arrays.
809 2005-11-21 Stefan Kost <ensonic@users.sf.net>
811 * docs/random/ensonic/media-device-daemon.txt:
812 wild idea, can this be done?
813 * docs/gst/gstreamer-sections.txt:
818 * gst/gstpluginfeature.c:
822 doc fixes and additions
824 2005-11-21 Andy Wingo <wingo@pobox.com>
826 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
827 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
828 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
829 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
830 private to the basesrc implementation.
832 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
833 behalf of event function if necessary. It should no longer be
834 necessary to take the stream lock in pad's event functions. Fixes
837 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
838 * docs/gst/gstreamer-sections.txt:
839 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
840 (gst_structure_fixate_field_nearest_double),
841 (gst_structure_fixate_field_boolean):
842 * gst/gststructure.h:
843 * win32/common/libgstreamer.def:
844 * win32/gstreamer.def:
846 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
849 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
851 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
852 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
853 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
854 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
855 (gst_fdsrc_uri_handler_init):
856 * gst/elements/gstfdsrc.h:
857 Port fd:// URI handler from 0.8 to fdsrc
859 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
861 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
862 (gst_value_serialize_fourcc):
864 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
865 consistent with our other format defines (#320324).
867 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
869 * gst/gstvalue.c: (gst_value_is_fixed):
870 Revert previous commit. Value lists are by definition
871 not fixed, as they are a list of possible values.
873 2005-11-21 Andy Wingo <wingo@pobox.com>
875 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
876 during the stable series if we need it. Fixes #319178.
878 * gst/gstevent.c (gst_event_new_filler): Removed.
880 * check/gst/gstevent.c: Update comment about filler events.
882 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
884 * gst/gstvalue.c: (gst_value_is_fixed):
885 Should handle both value arrays and value lists.
887 2005-11-21 Andy Wingo <wingo@pobox.com>
889 patch by: Alessandro Dessina <alessandro nnva org>
891 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
892 functions to access arrays. Fixes #321962.
894 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
896 * docs/gst/gstreamer.types:
897 gst_collectpads_get_type => gst_collect_pads_get_type.
899 * gst/base/gstbasetransform.c:
900 Remove unused SIGNAL_HANDOFF enum.
902 2005-11-21 Andy Wingo <wingo@pobox.com>
904 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
905 the event type (upstream, downstream, serialized). Renamed
906 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
907 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
908 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
910 * gst/gstevent.c: Update for new CUSTOM event names.
912 * check/gst/gstevent.c: Update check for new CUSTOM event names.
915 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
918 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
920 * docs/gst/gstreamer-sections.txt:
921 * win32/common/libgstbase.def:
922 * win32/libgstbase.def:
923 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
924 (gst_collect_pads_class_init), (gst_collect_pads_init),
925 (gst_collect_pads_finalize), (gst_collect_pads_new),
926 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
927 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
928 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
929 (gst_collect_pads_start), (gst_collect_pads_stop),
930 (gst_collect_pads_peek), (gst_collect_pads_pop),
931 (gst_collect_pads_available), (gst_collect_pads_read),
932 (gst_collect_pads_flush), (gst_collect_pads_event),
933 (gst_collect_pads_chain):
934 * gst/base/gstcollectpads.h:
935 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
936 unimplemented functions as unimplemented. Add padding to
937 GstCollectData. (#320766, #320423)
939 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
942 Improve docs for DURATION message (usage of duration parameter)
945 2005-11-20 Wim Taymans <wim@fluendo.com>
948 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
952 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
953 (gst_segment_set_seek), (gst_segment_set_newsegment),
954 (gst_segment_to_stream_time), (gst_segment_to_running_time),
957 Added segment helper structure and methods. Not fully implemented
961 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
963 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
964 Add a deserialisation test for fractions
965 * examples/metadata/read-metadata.c: (message_loop),
966 (make_pipeline), (main):
967 Fix up metadata reading sample.
968 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
970 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
971 Don't try and fixate empty caps
973 Wrap in G_BEGIN_DECLS/G_END_DECLS
974 * gst/gstvalue.c: (gst_value_collect_fraction),
975 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
976 (gst_value_transform_string_fraction),
977 (gst_value_compare_fraction):
978 Add some extra guards to ensure that we don't end up
979 with an invalid denominator of 0 in a gstfraction and
980 that fractions always get reduced.
982 2005-11-20 Wim Taymans <wim@fluendo.com>
984 * docs/gst/gstreamer-sections.txt:
995 2005-11-20 Wim Taymans <wim@fluendo.com>
997 * docs/design/part-TODO.txt:
999 Make a proper enum of the flag.
1001 2005-11-19 Wim Taymans <wim@fluendo.com>
1003 * docs/design/part-TODO.txt:
1004 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1005 (gst_format_to_quark), (gst_format_register):
1007 * gst/gstquery.c: (_gst_query_initialize),
1008 (gst_query_type_get_name), (gst_query_type_to_quark),
1009 (gst_query_type_register):
1011 Add type to quark and type to string conversions.
1013 2005-11-19 Andy Wingo <wingo@pobox.com>
1015 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1018 2005-11-19 Wim Taymans <wim@fluendo.com>
1020 * docs/design/part-TODO.txt:
1021 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1022 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1023 (gst_bin_handle_message_func):
1025 Make message handling overridable.
1027 2005-11-19 Andy Wingo <wingo@pobox.com>
1029 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1032 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1034 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1035 is a GstClockTime. Fixes #321710.
1037 * gst/gstclock.h (GstClock): Remove offset property. Add
1038 internal_calibration and external_calibration. Fix padding. Pad
1039 also by GstClockTime so we don't run into problems.
1041 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1042 (gst_clock_get_rate_offset): Remove.
1043 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1046 * gst/gstutils.c (g_static_rec_cond_wait)
1047 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1049 * gst/gstbin.c: Remove terrible continue_state prototype.
1051 * gst/gstelement.h (gst_element_continue_state): Make public.
1054 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1055 by continue_state. Fixes #319389.
1057 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1058 Really fixes #168438. However I don't see anywhere where the
1059 filter function is called... stupid GStreamer...
1061 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1062 don't have a dispose function, so it won't get called when the
1063 object is unreffed, but oh well!
1065 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1066 allows a destroy function to be set so user_data can be freed.
1068 (gst_index_set_filter): Call gst_index_set_filter_full.
1070 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1072 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1073 string should produce an error, given the lack of a way to
1074 represent NULL strings. Fixes #165650.
1077 * gst/gstvalue.c (gst_value_array_append_value)
1078 (gst_value_array_prepend_value, gst_value_array_get_size)
1079 (gst_value_array_get_value): New API, copied from
1080 gst_value_list_*, only operates on arrays.
1081 (gst_value_list_append_value, gst_value_list_prepend_value)
1082 (gst_value_list_concat, gst_value_list_get_size)
1083 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1085 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1086 init_list, because it works on both.
1087 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1088 (gst_value_copy_list_or_array): Renamed from copy_list.
1089 (gst_value_free_list_or_array): Renamed from free_list.
1090 (gst_value_collect_list_or_array): Renamed from collect_list.
1091 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1092 (gst_value_list_or_array_peek_pointer): Renamed from
1094 (_gst_value_array_value_table, _gst_value_list_value_table):
1095 Update value table functions.
1096 (gst_value_compare_list_or_array): Renamed from compare_list.
1098 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1102 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1103 GstTagList*. Fixes #143472.
1105 * gst/gststructure.h: Clarify what the foreach/map functions can
1106 or can't do to their arguments.
1108 2005-11-18 Wim Taymans <wim@fluendo.com>
1110 * gst/gstclock.c: (gst_clock_set_calibration),
1111 (gst_clock_get_calibration):
1113 Calibration can be set with internal time equal to current
1116 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1122 2005-11-18 Andy Wingo <wingo@pobox.com>
1125 * pkgconfig/gstreamer-net.pc.in:
1126 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1127 * pkgconfig/Makefile.am: Add net pkgconfig files.
1129 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1132 * gst/gstghostpad.c:
1138 2005-11-18 Andy Wingo <wingo@pobox.com>
1140 * gst/net/gstnetclientclock.c: Turn off debugging.
1142 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1143 times connverge somewhat. Can't make a real test.
1145 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1146 integer arithmetic. Return the minimum of the domain, which can be
1147 set as "internal" for gst_clock_set_calibration.
1148 (gst_net_client_clock_observe_times): Call _set_calibration.
1149 (gst_net_client_clock_new): Call _set_calibration instead of
1152 * check/net/gstnetclientclock.c (test_functioning): Use the right
1156 * gst/gstclock.c (gst_clock_get_calibration)
1157 (gst_clock_set_calibration): New functions, obsolete the ones I
1158 added yesterday. Doh. Precision issues mean we have to extrapolate
1159 from a point in the more recent past than 1970.
1160 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1162 (gst_clock_adjust_unlocked): Use the right calibration data.
1164 2005-11-18 Edward Hervey <edward@fluendo.com>
1166 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1167 Also reset the ->current_* values in READY->PAUSED
1169 2005-11-18 Andy Wingo <wingo@pobox.com>
1171 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1172 Whoops, check the right fd. Also add some debugging.
1173 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1174 (do_linear_regression): Add a crapload of debugging. Subtract off
1175 the minimum values from the input series to discard unneeded bits.
1176 Use only int arithmetic. There is still double arithmetic when
1177 calculating the intercept that needs fixing. Return boolean to
1178 indicate success; FALSE would mean the domain or range is too
1179 great. Still needs fixes.
1181 2005-11-18 Wim Taymans <wim@fluendo.com>
1183 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1184 For the current position in stream time, we need to subtract
1187 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1188 Release lock before calling the callback function of async
1191 2005-11-18 Andy Wingo <wingo@pobox.com>
1193 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1194 Port goes all the way to MAXUINT16.
1196 * gst/net/gstnettimeprovider.c: Make the port range the same as
1197 for the kernel: 0 assigns, otherwise ports are less than
1200 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1203 * check/net/gstnetclientclock.c (test_functioning): Add the start
1206 2005-11-18 Wim Taymans <wim@fluendo.com>
1208 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1209 (gst_bin_remove_func), (bin_bus_handler):
1211 Removing a clock provider from a bin, triggers a clock lost message
1212 so that a new clock will be selected.
1213 Adding a clock to a bin triggers a clock provider message.
1214 Make sure we reselect a clock when we received a clock lost message.
1215 Keep a reference to the element that provided the clock.
1217 2005-11-18 Andy Wingo <wingo@pobox.com>
1219 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1220 the clock initially so it produces values around the base time.
1221 (gst_net_client_clock_class_init): Typo fix.
1222 (gst_net_client_clock_thread): Add note on when the socket gets
1225 2005-11-17 Wim Taymans <wim@fluendo.com>
1227 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1228 Free remote and local time arrays.
1230 2005-11-17 Wim Taymans <wim@fluendo.com>
1232 * gst/net/gstnetclientclock.c: (do_linear_regression),
1233 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1234 Fix compilation, uninitialized vars and a forgotten continue.
1236 2005-11-17 Andy Wingo <wingo@pobox.com>
1238 * check/Makefile.am (check_PROGRAMS):
1239 * check/net/gstnetclientclock.c: Add a most minimal test for the
1240 net client clock. More to come later.
1243 * gst/net/Makefile.am: Add netclientclock.
1245 * gst/net/gstnetclientclock.h:
1246 * gst/net/gstnetclientclock.c: New files, implement an untested
1247 GstClock that takes its time from a network time provider.
1248 Implements the algorithm in network-clock.scm.
1250 * tests/network-clock.scm (*window-size*): Rename from
1252 * tests/network-clock.scm (network-time):
1253 * tests/network-clock-utils.scm (q-push): Update callers.
1255 2005-11-17 Wim Taymans <wim@fluendo.com>
1257 * gst/gstbin.c: (gst_bin_provide_clock_func),
1258 (gst_bin_sort_iterator_new):
1259 And unref the child too..
1261 2005-11-17 Wim Taymans <wim@fluendo.com>
1263 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1264 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1265 Refactor the sort iterator so it can be used while holding the
1267 Make clock selection select a clock closest to the source.
1269 2005-11-17 Michael Smith <msmith@fluendo.com>
1271 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1272 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1274 Anonymous structs are a gcc (and some other compilers) extension, so
1275 don't use them. Since this is only for ABI-compatibility, and our
1276 API/ABI freeze is over in a few days, this whole thing will only
1277 last a few days, so don't bother trying to think up a meaningful
1278 name for the struct.
1280 2005-11-17 Andy Wingo <wingo@pobox.com>
1282 * gst/gstclock.h (GstClock): Add rate and offset properties,
1283 preserving ABI stability. Add rate/offset accessors. Will file bug
1284 for the freeze break.
1286 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1287 and offset, trying to keep precision and avoiding
1289 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1290 functions. Make gst_clock_set_time_adjust obsolete.
1291 (gst_clock_set_time_adjust): Note that this function is obsolete.
1294 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1295 greppable by using GST_PADDING-1+1.
1297 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1299 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1301 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1302 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1304 * gst/gstpadtemplate.h:
1305 * gst/gstpluginfeature.h:
1306 Don't use c++ style comments in headers (#321638).
1308 2005-11-16 Andy Wingo <wingo@pobox.com>
1310 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1313 * check/net/gstnettimeprovider.c: Check to see that the time
1314 provider actually provides times. Works, yo!
1316 2005-11-16 Wim Taymans <wim@fluendo.com>
1318 * check/Makefile.am:
1321 * check/elements/fakesrc.c: (GST_START_TEST):
1322 Set element to NULL before disposing it.
1324 2005-11-16 Andy Wingo <wingo@pobox.com>
1326 * gst/net/Makefile.am:
1328 * gst/net/gstnettimeprovider.c:
1329 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1330 provider, include it from gstnet.h, and add it to the build.
1332 * gst/net/gstnettimepacket.h:
1333 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1334 sending and receiving.
1336 2005-11-16 Wim Taymans <wim@fluendo.com>
1338 * check/Makefile.am:
1339 Enable valgrind check.
1341 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1342 (gst_fake_src_alloc_buffer):
1345 2005-11-16 Wim Taymans <wim@fluendo.com>
1347 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1348 Call parent finalize too.
1350 2005-11-16 Wim Taymans <wim@fluendo.com>
1352 * check/Makefile.am:
1353 Enable valgrind check that should work fine now.
1355 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1356 * gst/gstqueue.c: (gst_queue_init):
1357 Fix memleaks in pad allocation.
1359 2005-11-16 Andy Wingo <wingo@pobox.com>
1361 * gst/net/Makefile.am:
1362 * gst/net/gstnet.h: New part of core to hold network elements and
1363 objects. Put in core because it exposes API that applications want
1364 to use. The library is named libgstnet-tempname right now because
1365 of the existing libgstnet in gst-plugins-base. Solution is
1366 probably to rename the one in plugins-base; will file a bug for
1369 * gst/net/gstnettimeprovider.c:
1370 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1371 get_time call over the network.
1374 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1376 * check/Makefile.am:
1377 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1378 get additions shortly.
1380 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1382 * gst/gstpad.c: (gst_pad_new_from_static_template):
1384 add gst_pad_new_from_static_template functions
1385 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1386 (gst_check_setup_sink_pad):
1387 * gst/elements/gsttee.c: (gst_tee_init):
1390 2005-11-16 Wim Taymans <wim@fluendo.com>
1392 * gst/gstpad.c: (gst_pad_pause_task):
1393 Removed warning, it's not really an error either.
1395 2005-11-16 Wim Taymans <wim@fluendo.com>
1397 * gst/base/gstbasetransform.c:
1398 (gst_base_transform_prepare_output_buf),
1399 (gst_base_transform_event):
1400 Check if the caps are NULL, this can happen if the element
1401 is shutting down and the pad caps are set to NULL.
1403 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1405 * gst/elements/gsttee.c: (gst_tee_init):
1406 fix pad template leak in tee
1408 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1410 * gst/glib-compat.c: (g_value_dup_gst_object):
1411 * gst/glib-compat.h:
1412 * gst/gstpad.c: (gst_pad_set_property):
1413 use gst_object_ref when setting the pad template; this will
1414 trigger the pad template leaks on GLib 2.6 and the slaves
1416 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1418 * gst/glib-compat.c: (gst_flags_get_first_value):
1419 * gst/glib-compat.h:
1420 * gst/gstregistryxml.c:
1421 remove functions copied from GLib 2.6
1423 2005-11-16 Michael Smith <msmith@fluendo.com>
1426 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1427 do, but only breaks with newer valgrind versions. We're not a
1428 valgrind tool, we have no link-time dependencies on libcoregrind.
1430 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1432 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1437 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1439 * gst/base/gstbasesrc.c: (gst_base_src_init):
1440 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1441 * gst/gstqueue.c: (gst_queue_init):
1442 * gst/gstregistryxml.c: (load_feature):
1443 Revert all these unrefs, they don't even pass make check !
1445 2005-11-15 Johan Dahlin <johan@gnome.org>
1447 * gst/base/gstbasesrc.c: (gst_base_src_init):
1448 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1449 * gst/gstqueue.c: (gst_queue_init):
1450 Free pad templates, fixes a couple of leaks.
1452 2005-11-15 Daniel Fischer <dan at f3c dot com>
1454 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1456 * gst/gstpad.c: (gst_pad_get_property):
1457 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1458 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1461 2005-11-15 Wim Taymans <wim@fluendo.com>
1466 2005-11-15 Andy Wingo <wingo@pobox.com>
1468 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1470 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1471 using GST_CLOCK_TIME_NONE to disable base time management.
1472 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1473 time if it was NONE before.
1474 (gst_pipeline_change_state): Only munge the base time if
1475 stream_time != GST_CLOCK_TIME_NONE.
1477 * check/gst/gstpipeline.c (test_base_time): Punt around the
1478 problem of the probe not being called, because that's not the
1479 issue I'm looking at. Add a check that setting stream_time to NONE
1480 disables base time management.
1482 2005-11-15 Wim Taymans <wim@fluendo.com>
1484 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1485 segment_stop == -1 at startup.
1487 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1488 (gst_base_transform_change_state):
1489 Init segment values at start.
1491 2005-11-15 Wim Taymans <wim@fluendo.com>
1493 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1494 0 segment values are 0 in any format.
1496 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1497 * gst/base/gstbasetransform.h:
1498 Parse newsegment correctly in basetransform
1500 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1501 Sync to clock using updated segment values.
1503 2005-11-15 Andy Wingo <wingo@pobox.com>
1505 * check/gst/gstpipeline.c (test_base_time): Add check that the
1506 base time and stream time are reset correctly.
1508 2005-11-15 Wim Taymans <wim@fluendo.com>
1510 * docs/design/part-TODO.txt:
1511 Some more TODO items.
1513 2005-11-15 Andy Wingo <wingo@pobox.com>
1515 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1516 error if the user selected "no clock" as the clocking method.
1518 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1519 timestamps with live capture.
1521 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1522 is 0 but we are a live source, timestamp the buffers using the
1525 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1527 * docs/gst/gstreamer-sections.txt:
1529 * gst/gstghostpad.c:
1534 2005-11-14 Wim Taymans <wim@fluendo.com>
1537 add suppressions from Wim's Debian machine
1539 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1542 add suppressions from Andy's AMD64 Ubuntu machine
1544 2005-11-14 Andy Wingo <wingo@pobox.com>
1546 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1547 STATE_LOCK not necessary. Fixes #311489.
1549 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1552 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1553 this function is not implemented.
1555 2005-11-14 Julien MOUTTE <julien@moutte.net>
1557 * gst/base/gstbasetransform.c:
1558 (gst_base_transform_prepare_output_buf):
1559 Ref the source pad caps while we need them.
1562 2005-11-11 Wim Taymans <wim@fluendo.com>
1564 * docs/gst/gstreamer-sections.txt:
1565 Added some docs for GstCollectData.
1567 * gst/base/gstadapter.c:
1568 Some small code example fix.
1570 * gst/base/gstcollectpads.c:
1571 * gst/base/gstcollectpads.h:
1574 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1576 * configure.ac: back to HEAD
1578 === release 0.9.5 ===
1580 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1583 releasing 0.9.5, "Bike Lunch Day"
1585 2005-11-11 Wim Taymans <wim@fluendo.com>
1587 * gst/gstbuffer.c: (_gst_buffer_copy):
1590 * gst/gstcaps.c: (gst_caps_is_equal):
1592 Make _is_equal fast in the trivial cases.
1594 * gst/gstminiobject.c:
1595 * gst/gstminiobject.h:
1596 More docs. Spifify .h file.
1601 2005-11-11 Wim Taymans <wim@fluendo.com>
1603 * gst/base/gstbasetransform.c:
1604 (gst_base_transform_prepare_output_buf),
1605 (gst_base_transform_handle_buffer):
1607 If we're processing a buffer and need to allocate an output
1608 buffer, we cannot accept a format change. If we did get a
1609 format change, we have to alloc a buffer ourselves of the
1612 2005-11-11 Wim Taymans <wim@fluendo.com>
1614 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1615 While checking the flag for reentrancy in the gstcaps function
1616 is nice to detect recursive invocations, it also makes it
1617 impossible to call getcaps from multiple threads, which must be
1618 possible. So, checking for recursive calls has to go.
1620 2005-11-11 Michael Smith <msmith@fluendo.com>
1622 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1623 Don't sync on buffers that fall partially outside our current
1624 segment. Prevents an assertion failure/abort playing some files.
1626 2005-11-10 Andy Wingo <wingo@pobox.com>
1628 * check/gst/gstbin.c (test_message_state_changed_children): Style
1631 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1632 gst_bus_poll with the signal watch. Ensures that poll and a signal
1633 watch see the same messages.
1635 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1636 a poll and a watch at the same time get the same messages.
1638 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1640 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1641 * gst/gstcaps.c: (gst_caps_intersect):
1642 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1643 and it's not needed.
1645 2005-11-10 Wim Taymans <wim@fluendo.com>
1647 * docs/design/part-TODO.txt:
1650 2005-11-10 Wim Taymans <wim@fluendo.com>
1652 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1653 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1654 (gst_base_src_do_sync), (gst_base_src_get_range):
1655 Implement clock sync in base class.
1657 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1659 patch by: Tim-Philipp Müller <tim at centricular dot net>
1661 * gst/gststructure.c: (gst_structure_parse_field),
1662 (gst_structure_from_string):
1663 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1664 so that gst_parse_launch() can deal with spaces in filtered link
1665 caps (fixes #164479)
1666 * check/gst/capslist.h:
1667 * check/gst/gststructure.c: (GST_START_TEST):
1668 add unit tests for this change
1670 2005-11-10 Wim Taymans <wim@fluendo.com>
1672 * docs/gst/gstreamer-sections.txt:
1675 Fix docs, move some STATE macros to private.
1677 2005-11-10 Wim Taymans <wim@fluendo.com>
1679 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1680 Added check for bug #317341
1684 Some more spiffifying.
1686 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1687 Call peer linkfunction if we are a source pad. Totally fixes
1691 Update docs, source pads should call the peer linkfunction
1692 so they can atomically perform the pad link.
1694 2005-11-09 Wim Taymans <wim@fluendo.com>
1698 Uber-spiffy-spiffify some more.
1700 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1702 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1703 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1704 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1705 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1706 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1707 * gst/gstpad.c: (gst_pad_init):
1708 Use GST_DEBUG_FUNCPTR() more extensively.
1710 2005-11-09 Wim Taymans <wim@fluendo.com>
1712 * gst/gstobject.c: (gst_object_class_init):
1714 Documentation fixes.
1716 2005-11-09 Edward Hervey <edward@fluendo.com>
1718 * gst/gsttypefindfactory.c:
1721 2005-11-09 Edward Hervey <edward@fluendo.com>
1723 * gst/base/gsttypefindhelper.c:
1724 * gst/gsttypefind.c:
1725 * gst/gsttypefind.h:
1728 2005-11-09 Wim Taymans <wim@fluendo.com>
1730 * gst/gstiterator.c:
1737 2005-11-09 Wim Taymans <wim@fluendo.com>
1743 2005-11-09 Wim Taymans <wim@fluendo.com>
1745 * docs/gst/gstreamer-sections.txt:
1746 Moved the message async delivery private lock and cond
1747 to the private section.
1753 2005-11-09 Edward Hervey <edward@fluendo.com>
1755 * docs/gst/gstreamer-sections.txt:
1758 Document GstURIHandler
1760 2005-11-09 Wim Taymans <wim@fluendo.com>
1762 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1763 (gst_iterator_find_custom):
1764 * gst/gstiterator.h:
1767 2005-11-09 Wim Taymans <wim@fluendo.com>
1770 Document another field.
1772 * gst/gststructure.c:
1773 * gst/gststructure.h:
1776 2005-11-09 Wim Taymans <wim@fluendo.com>
1781 2005-11-09 Wim Taymans <wim@fluendo.com>
1783 * docs/gst/gstreamer-sections.txt:
1784 Added some new macros.
1791 2005-11-09 Wim Taymans <wim@fluendo.com>
1793 * docs/design/part-TODO.txt:
1794 Some more items for the TODO
1800 2005-11-09 Andy Wingo <wingo@pobox.com>
1802 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1803 to work on something else now tho...
1805 * gst/base/gstadapter.c: More adapter docs.
1807 * gst/elements/gstfilesink.c (gst_file_sink_start)
1808 (gst_file_sink_stop): New functions, replace the state change
1810 (gst_file_sink_class_init): Hook up the start and stop functions.
1811 (gst_file_sink_base_init): Don't set the state change handler any
1812 more. It was a bit ugly too, being set from here...
1813 (gst_file_sink_get_property, gst_file_sink_set_property):
1815 (gst_file_sink_set_location): More robust check that doesn't call
1818 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1820 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1821 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1823 2005-11-08 Wim Taymans <wim@fluendo.com>
1825 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1826 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1827 (gst_base_sink_chain), (gst_base_sink_change_state):
1828 * gst/base/gstbasesink.h:
1829 * gst/base/gstbasesrc.h:
1832 Avoid excessive typechecking in macros.
1834 * gst/gstminiobject.c: (gst_mini_object_get_type),
1835 (gst_mini_object_init), (gst_mini_object_new),
1836 (gst_mini_object_free):
1837 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1838 (gst_object_finalize):
1839 Remove cruft code, optimize alloc_trace.
1841 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1843 * docs/faq/gst-uninstalled:
1844 fix up PS1 for systems that try to reset it
1846 2005-11-07 Wim Taymans <wim@fluendo.com>
1848 * gst/base/gstbasesrc.c: (gst_base_src_init),
1849 (gst_base_src_get_range):
1850 Set the segment_end to -1 initially. Fixed typefind.
1852 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1854 * gst/base/gstadapter.c:
1855 Debug category should be 'adapter', not 'GstAdapter'.
1857 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1858 (gst_collectpads_class_init), (gst_collectpads_init),
1859 (gst_collectpads_peek), (gst_collectpads_pop),
1860 (gst_collectpads_event), (gst_collectpads_chain):
1861 Add debug category and some debugging output. Use boilerplate
1862 macros. Remove some extraneous words from docs.
1864 2005-11-05 Andy Wingo <wingo@pobox.com>
1866 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1869 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1871 * docs/gst/gstreamer-sections.txt:
1874 * gst/gstminiobject.h:
1879 2005-11-04 Wim Taymans <wim@fluendo.com>
1881 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1882 Small update to stop at the configured segment_end
1885 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1887 * gst/gstregistry.c:
1888 * gst/gstregistry.h:
1891 2005-11-04 Edward Hervey <edward@fluendo.com>
1893 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1894 Check if we are doing a segment seek and have arrived at the
1895 end of that segment.
1897 2005-11-04 Wim Taymans <wim@fluendo.com>
1899 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1900 Don't leak a mutex unlock in case of an error.
1905 2005-11-04 Wim Taymans <wim@fluendo.com>
1907 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1909 Get the context to wake up only once.
1911 2005-11-03 Wim Taymans <wim@fluendo.com>
1913 * check/states/sinks.c: (GST_START_TEST):
1914 Uncomment fixed check.
1916 * docs/design/part-TODO.txt:
1919 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1920 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1921 (gst_base_sink_get_position):
1922 If we are going to PLAYING, post the right pending state
1923 when we post the intermediate paused message.
1925 * gst/gstelement.c: (gst_element_continue_state),
1926 (gst_element_set_state_func), (gst_element_change_state):
1927 Don't post state changes that were between the same state
1930 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1932 * docs/gst/gstreamer-sections.txt:
1935 * gst/gstminiobject.h:
1938 more docs and doc style fixes
1940 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1942 * docs/gst/gstreamer-sections.txt:
1944 * gst/gstminiobject.c:
1947 2005-11-03 Andy Wingo <wingo@pobox.com>
1949 * check/states/sinks.c (test_livesrc_sink): Add checks that the
1950 state-changed messages actually have the right order and the right
1953 2005-11-03 Wim Taymans <wim@fluendo.com>
1955 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1956 Added some more checks. Specifically the case where NO_PREROLL
1957 elements are in the pipeline.
1959 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1960 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1961 (gst_base_sink_get_position):
1962 Post READY->PAUSED state change messages too.
1963 Fix bug where VOID was posted as pending state...
1965 * gst/gstbin.c: (gst_bin_recalc_state):
1966 use _element_continue_state() to continue the state change.
1968 * gst/gstelement.c: (gst_element_continue_state),
1969 (gst_element_commit_state), (gst_element_set_state_func),
1970 (gst_element_change_state), (gst_element_change_state_func):
1971 Lots of state change cleanups, assign the STATE_RETURN in
1972 a new continue_state() function that also propagates the
1973 last return value from a state change to the app.
1974 Update some debug statements with proper category.
1976 2005-11-03 Wim Taymans <wim@fluendo.com>
1978 * docs/design/part-events.txt:
1979 * docs/design/part-gstpipeline.txt:
1980 * docs/design/part-messages.txt:
1981 * docs/design/part-overview.txt:
1982 * docs/design/part-seeking.txt:
1983 * docs/design/part-states.txt:
1984 * docs/design/part-trickmodes.txt:
1985 * docs/manual/advanced-position.xml:
1989 People think !! is ugly, this looks better.
1991 * gst/gstpad.c: (gst_pad_set_blocked_async):
1992 Remove !! since it's fixed elsewhere now.
1994 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1996 * gst/gstminiobject.h:
1998 Add !! to _FLAG_IS_SET macros to make the result boolean.
2000 2005-11-03 Edward Hervey <edward@fluendo.com>
2002 * gst/gstpad.c: (gst_pad_set_blocked_async):
2003 comparing a flag and a gboolean rarely returns coherent results...
2004 Added two characters (!!) to make that work correctly.
2006 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2008 * gst/gstbus.c: (gst_bus_class_init):
2011 * gst/gstqueue.c: (gst_queue_loop):
2012 Don't assume a miniobject that isn't a buffer is an
2013 event (it could be that there is a refcounting
2014 problem somewhere and the pointer is stale and
2015 refers to an already destroyed miniobject).
2017 2005-11-03 Julien MOUTTE <julien@moutte.net>
2019 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2021 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2023 * docs/manual/advanced-position.xml:
2024 Update seek example and explanations to current 0.9 API.
2026 * gst/elements/gsttypefindelement.c:
2027 (gst_type_find_element_activate):
2028 Remove FIXME comment now that the found caps
2031 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2033 * gst/gstregistryxml.c: (load_feature):
2034 Add another GST_STR_NULL instance
2036 2005-11-02 Edward Hervey <edward@fluendo.com>
2038 * gst/gstpad.c: (handle_pad_block):
2039 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2041 2005-11-02 Wim Taymans <wim@fluendo.com>
2046 * gst/gstelement.c: (gst_element_commit_state):
2047 Remove unused value.
2049 * gst/gstiterator.c:
2050 Mention that the returned element is reffed in the docs.
2052 2005-11-02 Wim Taymans <wim@fluendo.com>
2054 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2055 (gst_pad_push), (gst_pad_push_event):
2056 Unlock blocked pads when they are flushed.
2058 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2061 * docs/gst/gstreamer-sections.txt:
2064 * gst/gstregistry.c: (gst_registry_scan_path_level):
2065 fix for a nasty little missed situation where an installed plug-in
2066 which was in the cache did not get overridden by an uninstalled one
2067 which was earlier in the plugin path because the newly created plugin
2068 for the uninstalled one (not in the registry) didn't get its
2069 ->registered set to TRUE
2071 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2073 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2074 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2075 (gst_collectpads_is_active), (gst_collectpads_collect),
2076 (gst_collectpads_collect_range), (gst_collectpads_start),
2077 (gst_collectpads_stop), (gst_collectpads_peek),
2078 (gst_collectpads_pop), (gst_collectpads_available),
2079 (gst_collectpads_read), (gst_collectpads_flush):
2080 Guard public API with assertions.
2083 Fix docs for gst_pad_set_link_function().
2085 2005-11-02 Johan Dahlin <johan@gnome.org>
2087 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2088 Unref found_caps after we used it.
2090 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2092 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2093 Don't try to ref NULL.
2095 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2097 * win32/common/config.h.in:
2098 provide a GST_FUNCTION that just gives a string for now
2100 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2102 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2103 (gst_object_flags_get_type), (register_gst_bin_flags),
2104 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2105 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2106 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2107 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2108 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2109 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2110 (gst_clock_flags_get_type), (register_gst_state),
2111 (gst_state_get_type), (register_gst_state_change_return),
2112 (gst_state_change_return_get_type), (register_gst_state_change),
2113 (gst_state_change_get_type), (register_gst_element_flags),
2114 (gst_element_flags_get_type), (register_gst_core_error),
2115 (gst_core_error_get_type), (register_gst_library_error),
2116 (gst_library_error_get_type), (register_gst_resource_error),
2117 (gst_resource_error_get_type), (register_gst_stream_error),
2118 (gst_stream_error_get_type), (register_gst_event_type),
2119 (gst_event_type_get_type), (register_gst_seek_type),
2120 (gst_seek_type_get_type), (register_gst_seek_flags),
2121 (gst_seek_flags_get_type), (register_gst_format),
2122 (gst_format_get_type), (register_gst_index_certainty),
2123 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2124 (gst_index_entry_type_get_type),
2125 (register_gst_index_lookup_method),
2126 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2127 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2128 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2129 (gst_index_flags_get_type), (register_gst_debug_level),
2130 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2131 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2132 (gst_iterator_result_get_type), (register_gst_iterator_item),
2133 (gst_iterator_item_get_type), (register_gst_message_type),
2134 (gst_message_type_get_type), (register_gst_mini_object_flags),
2135 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2136 (gst_pad_link_return_get_type), (register_gst_flow_return),
2137 (gst_flow_return_get_type), (register_gst_activate_mode),
2138 (gst_activate_mode_get_type), (register_gst_pad_direction),
2139 (gst_pad_direction_get_type), (register_gst_pad_flags),
2140 (gst_pad_flags_get_type), (register_gst_pad_presence),
2141 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2142 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2143 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2144 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2145 (gst_plugin_flags_get_type), (register_gst_rank),
2146 (gst_rank_get_type), (register_gst_query_type),
2147 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2148 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2149 (gst_tag_flag_get_type), (register_gst_task_state),
2150 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2151 (gst_alloc_trace_flags_get_type),
2152 (register_gst_type_find_probability),
2153 (gst_type_find_probability_get_type), (register_gst_uri_type),
2154 (gst_uri_type_get_type), (register_gst_parse_error),
2155 (gst_parse_error_get_type):
2156 * win32/common/gstversion.h:
2159 2005-11-01 Luca Ognibene <luogni@tin.it>
2162 fix docs. popt is dead, long live GOption.
2164 2005-10-31 Wim Taymans <wim@fluendo.com>
2169 2005-10-31 Andy Wingo <wingo@pobox.com>
2173 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2175 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2176 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2177 the possibility of deadlocks here if code calling notify() or
2178 set() has a lock that can be taken in another notify handler (ABBA
2179 with class lock and e.g. python GIL state lock).
2181 2005-10-28 Julien MOUTTE <julien@moutte.net>
2183 * gst/gstbus.c: Doc updates.
2185 2005-10-28 Wim Taymans <wim@fluendo.com>
2187 * docs/design/part-TODO.txt:
2188 * gst/gstiterator.c:
2189 * gst/gstsystemclock.c:
2190 * gst/gstsystemclock.h:
2193 2005-10-28 Edward Hervey <edward@fluendo.com>
2195 * docs/gst/gstreamer-docs.sgml:
2196 * docs/gst/gstreamer-sections.txt:
2197 the GstURIType documentation page is private, it only defines GstURIType
2198 which should be defined in the GstURIHandler page
2200 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2202 * gst/gstbin.c: (gst_bin_class_init):
2205 Documentation updates.
2207 2005-10-28 Wim Taymans <wim@fluendo.com>
2209 * docs/gst/gstreamer-sections.txt:
2212 Documented the clocks.
2214 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2216 * docs/gst/gstreamer-sections.txt:
2217 move some macros to private sections
2218 * gst/gstminiobject.c:
2219 * gst/gstminiobject.h:
2220 add descriptions provided by ds and some more
2222 mark macro as to be removed
2224 2005-10-28 Wim Taymans <wim@fluendo.com>
2226 * docs/design/part-TODO.txt:
2227 Add an item to TODO.
2229 * gst/gstiterator.c: (gst_iterator_fold),
2230 (gst_iterator_find_custom):
2231 * gst/gstiterator.h:
2234 2005-10-28 Wim Taymans <wim@fluendo.com>
2236 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2237 (gst_base_transform_init):
2240 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2241 An EOS event marks the queue as completely filled.
2243 2005-10-27 Wim Taymans <wim@fluendo.com>
2245 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2246 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2247 Some more debugging.
2249 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2250 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2251 (gst_base_transform_event), (gst_base_transform_getrange),
2252 (gst_base_transform_chain):
2253 * gst/base/gstbasetransform.h:
2255 Protect transform and concurrent buffer alloc with a new lock.
2256 Try not to break ABI/API.
2258 2005-10-27 Wim Taymans <wim@fluendo.com>
2260 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2261 (gst_base_src_init), (gst_base_src_query),
2262 (gst_base_src_default_newsegment),
2263 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2264 (gst_base_src_send_event), (gst_base_src_event_handler),
2265 (gst_base_src_pad_get_range), (gst_base_src_loop),
2266 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2267 (gst_base_src_start), (gst_base_src_deactivate),
2268 (gst_base_src_activate_push), (gst_base_src_change_state):
2269 Move some stuff around and cleanup things.
2271 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2273 * gst/base/gstbasesrc.c: (gst_base_src_query):
2274 Add missing break statements.
2276 2005-10-27 Wim Taymans <wim@fluendo.com>
2278 * check/gst/gstbin.c: (GST_START_TEST):
2279 An extra refcount is taken in basesrc.
2281 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2282 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2283 (gst_base_src_loop):
2284 Small cleanups, check for flushing after being unlocked from the
2285 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2286 Don't send out EOS when going to READY.
2288 2005-10-27 Wim Taymans <wim@fluendo.com>
2290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2291 (gst_base_sink_get_position):
2294 * gst/gstbin.c: (message_check), (bin_replace_message),
2295 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2296 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2297 (bin_query_duration_init), (bin_query_duration_fold),
2298 (bin_query_duration_done), (bin_query_generic_fold),
2300 * tools/gst-launch.c: (main):
2303 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2305 * examples/controller/audio-example.c: (main):
2306 * examples/queue/queue.c: (event_loop):
2307 * gst/base/gstbasetransform.h:
2308 * gst/gstelement.c: (gst_element_send_event):
2310 * gst/gstpad.c: (gst_pad_send_event):
2313 changing log priority in error situations
2315 2005-10-25 Wim Taymans <wim@fluendo.com>
2317 * gst/gstbin.c: (message_check), (bin_replace_message),
2318 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2319 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2320 (bin_query_duration_init), (bin_query_duration_fold),
2321 (bin_query_duration_done), (bin_query_generic_fold),
2323 Some doc and debug updates.
2324 Cache previously requested query DURATION for speed. invalidate
2325 cached duration if element posts a DURATION message.
2327 2005-10-25 Wim Taymans <wim@fluendo.com>
2329 * docs/design/part-TODO.txt:
2332 * gst/gstbin.c: (message_check), (bin_replace_message),
2333 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2334 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2335 (bin_query_duration_init), (bin_query_duration_fold),
2336 (bin_query_duration_done), (bin_query_generic_fold),
2338 Handle SEGMENT_START/DONE messages correctly.
2339 More evolved query algorithm that handles duration queries
2342 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2343 (gst_element_get_state_func), (gst_element_abort_state),
2344 (gst_element_commit_state), (gst_element_lost_state):
2345 Some more debugging.
2350 2005-10-25 Wim Taymans <wim@fluendo.com>
2352 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2353 Don't use invalid stream_time.
2355 * gst/gstevent.c: (gst_event_new_newsegment):
2356 stream_time in newsegment cannot be undefined.
2358 2005-10-24 Wim Taymans <wim@fluendo.com>
2363 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2365 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2367 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2369 * docs/libs/tmpl/gstdparam.sgml:
2370 * docs/libs/tmpl/gstdplinint.sgml:
2371 * docs/libs/tmpl/gstdpman.sgml:
2372 * docs/libs/tmpl/gstdpsmooth.sgml:
2373 * docs/libs/tmpl/gstunitconvert.sgml:
2376 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2381 === release 0.9.4 ===
2383 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2386 releasing 0.9.4, "Tyrannosaurus Rex"
2388 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2390 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2391 (gst_file_sink_get_current_offset):
2392 Use fseeko() and ftello() if available. When falling back on
2393 lseek() to get the current offset, fflush() first to make sure
2394 everything is up-to-date and we get the right offset.
2396 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2399 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2400 * gst/gsterror.c: (_gst_stream_errors_init):
2402 * gst/gstqueue.c: (gst_queue_loop):
2404 remove prematurely added error category and clean up the instances
2406 2005-10-21 Wim Taymans <wim@fluendo.com>
2408 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2409 (gst_base_sink_get_position), (gst_base_sink_query),
2410 (gst_base_sink_change_state):
2411 Simply set the right flag when going to playing, that's all
2412 we need to do instead of calling a function inside the object
2413 lock (that could take the lock as well and deadlock)
2415 2005-10-21 Wim Taymans <wim@fluendo.com>
2417 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2418 (gst_base_src_loop):
2419 Don't warn, the peer element knows what to do best when
2420 the seek failed, it might try something else.
2422 2005-10-21 Wim Taymans <wim@fluendo.com>
2424 * gst/base/gstbasesrc.c: (gst_base_src_init),
2425 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2428 2005-10-21 Wim Taymans <wim@fluendo.com>
2430 * docs/design/part-segments.txt:
2433 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2434 Correctly set caps, even on the subbufer.
2436 2005-10-21 Wim Taymans <wim@fluendo.com>
2438 * docs/gst/gstreamer-docs.sgml:
2439 * docs/gst/gstreamer-sections.txt:
2446 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2450 And 2% more doc coverage.
2452 2005-10-21 Andy Wingo <wingo@pobox.com>
2454 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2457 2005-10-20 Wim Taymans <wim@fluendo.com>
2459 * gst/gsterror.c: (gst_error_get_message):
2462 * gst/gststructure.c:
2467 2005-10-20 Wim Taymans <wim@fluendo.com>
2472 Another 1% more coverage.
2474 2005-10-20 Wim Taymans <wim@fluendo.com>
2476 * docs/gst/gstreamer-sections.txt:
2477 * gst/gstelement.c: (gst_element_get_state_func),
2478 (gst_element_abort_state), (gst_element_commit_state),
2479 (gst_element_lost_state):
2481 * gst/gstquery.c: (gst_query_set_position),
2482 (gst_query_parse_position), (gst_query_set_duration),
2483 (gst_query_parse_duration), (gst_query_new_convert):
2485 Yay! 1% more docs coverage.
2487 2005-10-20 Wim Taymans <wim@fluendo.com>
2490 * gst/gstquery.c: (gst_query_set_position),
2491 (gst_query_parse_position), (gst_query_set_duration),
2492 (gst_query_parse_duration), (gst_query_new_convert):
2494 * gst/gstutils.c: (gst_element_query_convert):
2496 Docs and consistency fixes.
2498 2005-10-20 Wim Taymans <wim@fluendo.com>
2504 2005-10-20 Wim Taymans <wim@fluendo.com>
2506 * gst/gstbin.c: (message_check), (bin_replace_message),
2507 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2508 (update_degree), (gst_bin_sort_iterator_next),
2509 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2510 Reworked the message handling a bit, cache the messages instead of
2511 only the senders. alows us to do more in the future.
2513 2005-10-20 Wim Taymans <wim@fluendo.com>
2515 * docs/design/part-TODO.txt:
2518 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2519 (gst_base_sink_query):
2520 Don't use clock time to report position when in EOS.
2522 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2524 * tools/gst-inspect.c: (print_interfaces),
2525 (print_element_properties_info), (print_element_info):
2526 Fix interface output with gst-inspect -a; don't print
2527 newlines after double/float properties.
2529 2005-10-20 Wim Taymans <wim@fluendo.com>
2531 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2532 (gst_base_sink_query):
2533 Speed up current position calculation.
2535 * gst/base/gstbasesrc.c: (gst_base_src_query),
2536 (gst_base_src_default_newsegment):
2537 Correctly set stream position in newsegment.
2539 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2540 (update_degree), (gst_bin_sort_iterator_next),
2541 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2542 * gst/gstmessage.c: (gst_message_new_custom):
2543 Clean up debugging info
2545 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2546 (gst_queue_loop), (gst_queue_handle_src_query):
2549 2005-10-19 Wim Taymans <wim@fluendo.com>
2551 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2552 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2553 Fix query handling again.
2555 2005-10-19 Wim Taymans <wim@fluendo.com>
2557 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2558 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2559 * gst/base/gstbasesrc.c: (gst_base_src_query):
2560 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2561 * gst/elements/gsttypefindelement.c:
2562 (gst_type_find_handle_src_query), (find_element_get_length),
2563 (gst_type_find_element_activate):
2566 * gst/gstquery.c: (gst_query_new_position),
2567 (gst_query_set_position), (gst_query_parse_position),
2568 (gst_query_new_duration), (gst_query_set_duration),
2569 (gst_query_parse_duration), (gst_query_set_segment),
2570 (gst_query_parse_segment):
2572 Bundling query position/duration is not a good idea since duration
2573 does not change much and we don't want to recalculate it for every
2574 position query, so they are separated again..
2575 Base value in segment query is not needed.
2577 * gst/gstqueue.c: (gst_queue_handle_src_query):
2578 * gst/gstutils.c: (gst_element_query_position),
2579 (gst_element_query_duration), (gst_pad_query_position),
2580 (gst_pad_query_duration):
2582 Updates for query API change.
2583 Added some docs here and there.
2585 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2587 * check/gst/gstbin.c: (GST_START_TEST):
2588 * check/gst/gstghostpad.c: (GST_START_TEST):
2589 * check/pipelines/cleanup.c: (GST_START_TEST):
2590 wait on thread to die so we can check refcount correctly
2592 2005-10-18 Wim Taymans <wim@fluendo.com>
2594 * check/pipelines/stress.c: (GST_START_TEST):
2595 Make check a little more time consuming.
2597 2005-10-18 Wim Taymans <wim@fluendo.com>
2599 * check/Makefile.am:
2600 * check/pipelines/stress.c: (GST_START_TEST),
2601 (simple_launch_lines_suite), (main):
2602 Small state change torture test.
2604 * docs/design/part-states.txt:
2605 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2606 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2607 (gst_base_sink_change_state):
2608 Never take state lock from streaming thread, clean up ugly
2609 hacks. Unfortunatly core does not yet support nice ways to
2612 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2614 Start state recalc if a STATE_DIRTY message is posted, but only
2615 on the toplevel bin.
2617 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2618 (gst_element_get_state_func), (gst_element_abort_state),
2619 (gst_element_commit_state), (gst_element_lost_state),
2620 (gst_element_set_state_func), (gst_element_change_state):
2622 State variables are now protected with the LOCK, the state
2623 lock is only used to serialize _set_state().
2625 2005-10-18 Wim Taymans <wim@fluendo.com>
2627 * check/gst/gstbin.c: (GST_START_TEST):
2628 * check/gst/gstmessage.c: (GST_START_TEST):
2629 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2630 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2632 * gst/gstelement.c: (gst_element_abort_state),
2633 (gst_element_commit_state), (gst_element_lost_state):
2634 * gst/gstmessage.c: (gst_message_new_state_changed),
2635 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2636 (gst_message_new_segment_done), (gst_message_new_duration),
2637 (gst_message_parse_state_changed),
2638 (gst_message_parse_segment_start),
2639 (gst_message_parse_segment_done), (gst_message_parse_duration):
2641 * tools/gst-launch.c: (event_loop):
2642 Seriously, this is better than a previous commit as we only need
2643 to notify the fact that an element changed state in a streaming
2644 thread, marking the state of the parents dirty, hence the
2645 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2648 2005-10-18 Wim Taymans <wim@fluendo.com>
2650 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2651 (gst_bin_recalc_func):
2652 * gst/gstelement.c: (gst_element_set_clock),
2653 (gst_element_abort_state), (gst_element_lost_state):
2654 Cleanups, prepare for state change fixes.
2656 2005-10-18 Wim Taymans <wim@fluendo.com>
2659 * gst/gstelement.c: (gst_element_class_init),
2660 (gst_element_set_state), (gst_element_set_state_func):
2662 Pending ABI changes.
2663 GThreadPool in GstBinClass to monitor async state changes.
2664 state_cookie in GstElement to detect concurrent gst/set state.
2665 set_state is now virtual too in case a very complicated element
2666 has to be constructed.
2668 2005-10-18 Wim Taymans <wim@fluendo.com>
2670 * check/gst/gstbin.c: (GST_START_TEST):
2671 * check/gst/gstmessage.c: (GST_START_TEST):
2672 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2673 * gst/gstbin.c: (bin_bus_handler):
2674 * gst/gstelement.c: (gst_element_commit_state),
2675 (gst_element_lost_state):
2676 * gst/gstmessage.c: (gst_message_new_state_changed),
2677 (gst_message_new_segment_start), (gst_message_new_segment_done),
2678 (gst_message_new_duration), (gst_message_parse_state_changed),
2679 (gst_message_parse_segment_start),
2680 (gst_message_parse_segment_done), (gst_message_parse_duration):
2682 * tools/gst-launch.c: (event_loop):
2683 Make messages future proof.
2684 state-change gets a flag if it was a message comming from the
2686 segment-start/stop can also be specified in other formats.
2687 A message to notify an app that a pipeline changed playback
2689 Also fix a GstMessage leak in -launch
2691 2005-10-18 Andy Wingo <wingo@pobox.com>
2693 * gst/gstelement.c (gst_element_dispose): More helpful message.
2695 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2697 reviewed by: <delete if not using a buddy>
2699 * common/gtk-doc.mak:
2701 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2703 * gst/gstregistry.c: (gst_registry_scan_path_level):
2704 unref a plug-in we get that was already initialized
2706 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2708 * docs/gst/gstreamer-sections.txt:
2709 * docs/libs/gstreamer-libs-sections.txt:
2714 2005-10-17 Andy Wingo <wingo@pobox.com>
2716 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2719 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2721 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2723 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2724 (gst_element_get_state_func): Better debug message.
2725 (gst_element_commit_state): s/INFO/DEBUG/.
2726 (gst_element_lost_state, gst_element_change_state):
2728 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2729 (gst_message_new_custom): s/INFO/LOG/.
2731 2005-10-17 Michael Smith <msmith@fluendo.com>
2733 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2734 Check if end time is valid using end time, not start time.
2736 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2738 * check/gst-libs/controller.c: (GST_START_TEST),
2739 (gst_controller_suite):
2740 * libs/gst/controller/gstcontroller.c:
2741 (gst_controlled_property_set_interpolation_mode):
2742 * libs/gst/controller/gstcontroller.h:
2743 * libs/gst/controller/gstinterpolation.c:
2744 * testsuite/controller/.cvsignore:
2745 * testsuite/controller/Makefile.am:
2746 * testsuite/controller/interpolator.c:
2747 merge controller testsuites
2749 remove mem-chunk from docs
2751 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2753 * gst/gstmemchunk.c:
2754 * gst/gstmemchunk.h:
2755 * gst/gsttrashstack.c:
2756 * gst/gsttrashstack.h:
2757 out. get out. you're fired. to the Attic !
2759 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2761 * gst/gstcaps.c: (gst_caps_intersect):
2762 fix signedness issues in a (hopefully) correct way
2763 * gst/gstelement.c: (gst_element_pads_activate):
2765 * gst/gstobject.c: (gst_object_set_parent):
2768 2005-10-17 Julien MOUTTE <julien@moutte.net>
2770 * gst/gstvalue.h: Fix prototypes.
2772 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2774 * docs/gst/gstreamer-sections.txt:
2775 * gst/gst.c: (gst_version_string):
2777 * gst/gstversion.h.in:
2778 * win32/common/libgstreamer.def:
2779 add gst_version_string ()
2781 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2785 * gst/gst.c: (init_post):
2786 * win32/common/config.h.in:
2788 * gst/gstcaps.c: (gst_caps_intersect):
2789 use gint64, the range could be bigger than a guint
2791 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2794 document potential problem in 2038
2796 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2798 * gst/gstcaps.c: (gst_caps_intersect):
2799 Fix guint j diving under 0
2801 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2804 * win32/common/config.h:
2805 * win32/common/config.h.in:
2806 check for process.h, declares getpid() on Windows
2808 include process.h if we have it
2809 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2810 * gst/gstmemchunk.h:
2811 fix signedness issues
2812 * win32/common/libgstreamer.def:
2815 2005-10-16 Julien MOUTTE <julien@moutte.net>
2817 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2818 fix. Because of unsigned ints, caps intersection was going nuts and
2819 trying to access structures with G_MAXUINT index. That fixes
2820 videotestsrc ! ffmpegcolorspace ! fakesink
2821 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2824 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2827 use the gettext macro
2828 * gst/elements/gstelements.c:
2830 * gst/indexers/gstindexers.c:
2831 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2832 * win32/common/config.h:
2834 * win32/common/config.h.in:
2835 add the template to generate config.h
2836 * win32/common/gstenumtypes.c:
2837 * win32/common/gstversion.h:
2840 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2842 * gst/gst.c: (gst_version):
2843 * gst/gstversion.h.in:
2846 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2849 Oops, add missing closing bracket.
2851 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2854 use common m4's for argument checking
2856 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2858 * docs/gst/gstreamer-sections.txt:
2860 Add GST_EVENT_TYPE_NAME() macro.
2862 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2865 * gst/gstpluginfeature.c:
2867 privatize more symbols
2869 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2872 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2873 everything that uses GStreamer API should have the includes
2875 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2877 * docs/gst/gstreamer-sections.txt:
2878 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2880 give each value a _get_type, removes the DATA exports
2882 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2886 remove _gst_registry_auto_load, not used anymore
2887 * gst/gstbin.c: (gst_bin_get_type):
2889 * gst/gstelement.c: (gst_element_get_type):
2891 * gst/gstobject.c: (gst_object_get_type):
2893 * gst/gstpad.c: (gst_pad_get_type):
2895 make _get_type functions similar, fixes data export from library
2897 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2900 correctly make conditionals
2901 * gst/elements/Makefile.am:
2902 * gst/elements/gstelements.c:
2903 fix typo causing fdsrc not to build
2905 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2907 * testsuite/Makefile.am:
2908 * testsuite/bytestream/.cvsignore:
2909 * testsuite/bytestream/Makefile.am:
2910 * testsuite/bytestream/filepadsink.c:
2911 * testsuite/bytestream/gstbstest.c:
2912 * testsuite/bytestream/test1.c:
2913 * testsuite/bytestream/testfile1:
2914 * testsuite/caps/normalisation.c:
2915 * testsuite/caps/random.c: (main):
2916 * testsuite/cleanup/.cvsignore:
2917 * testsuite/cleanup/Makefile.am:
2918 * testsuite/cleanup/cleanup1.c:
2919 * testsuite/cleanup/cleanup2.c:
2920 * testsuite/cleanup/cleanup3.c:
2921 * testsuite/cleanup/cleanup4.c:
2922 * testsuite/cleanup/cleanup5.c:
2923 * testsuite/controller/interpolator.c:
2924 * testsuite/debug/printf_extension.c: (main):
2925 * testsuite/elements/tee.c:
2926 * testsuite/negotiation/.cvsignore:
2927 * testsuite/negotiation/Makefile.am:
2928 * testsuite/negotiation/pad_link.c:
2929 * testsuite/pad/Makefile.am:
2930 * testsuite/pad/chainnopull.c:
2931 * testsuite/pad/getnopush.c:
2932 * testsuite/pad/link.c:
2933 * testsuite/refcounting/sched.c: (create_pipeline):
2934 * testsuite/registry/Makefile.am:
2935 * testsuite/registry/gst-print-formats.c:
2936 * testsuite/schedulers/.cvsignore:
2937 * testsuite/schedulers/142183-2.c:
2938 * testsuite/schedulers/142183.c:
2939 * testsuite/schedulers/143777-2.c:
2940 * testsuite/schedulers/143777.c:
2941 * testsuite/schedulers/147713.c:
2942 * testsuite/schedulers/147819.c:
2943 * testsuite/schedulers/147894-2.c:
2944 * testsuite/schedulers/147894.c:
2945 * testsuite/schedulers/Makefile.am:
2946 * testsuite/schedulers/group_link.c:
2947 * testsuite/schedulers/queue_link.c:
2948 * testsuite/schedulers/relink.c:
2949 * testsuite/schedulers/unlink.c:
2950 * testsuite/schedulers/unref.c:
2951 * testsuite/schedulers/useless_iteration.c:
2952 * testsuite/states/bin.c:
2953 clean out/remove some stuff from the testsuite directories
2955 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2958 check for some headers
2959 * gst/elements/Makefile.am:
2960 * gst/elements/gstelements.c:
2961 don't compile fdsrc without sys/socket.h
2962 * gst/indexers/Makefile.am:
2963 * gst/indexers/gstindexers.c: (plugin_init):
2964 don't compile fileindex without mmap
2966 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2973 * check/Makefile.am:
2974 * docs/gst/Makefile.am:
2975 * examples/helloworld/Makefile.am:
2977 * gst/base/Makefile.am:
2978 * gst/check/Makefile.am:
2979 * gst/elements/Makefile.am:
2980 * gst/indexers/Makefile.am:
2981 * gst/parse/Makefile.am:
2982 * libs/gst/controller/Makefile.am:
2983 * libs/gst/dataprotocol/Makefile.am:
2984 * examples/helloworld/helloworld.c: (event_loop):
2985 compile fixes, though it's not being compiled currently
2987 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2989 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2990 Add some simple tests for the new taglist date API.
2992 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2994 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2995 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2996 Beautify 'last-message' output: print 'none' for buffer timestamps
2997 and durations if none is set; improve alignment with next messages.
2999 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3001 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3002 * gst/gstpluginfeature.h:
3003 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3004 * gst/gstregistry.h:
3005 * docs/gst/gstreamer-sections.txt:
3006 Add new API to check plugin feature version requirements.
3008 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3009 Some basic tests for the above.
3011 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3013 * gst/gststructure.c: (gst_structure_to_string):
3014 guard against NULL printf - happens when for example
3015 a message structure with GstClock gets serialized
3017 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3019 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3020 Fix presumable copy'n'pasto.
3022 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3024 * gst/elements/gstfakesrc.h:
3025 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3026 * gst/elements/gsttypefindelement.c:
3028 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3029 I wonder if this could actually write +2GB files before
3031 2005-10-13 Andy Wingo <wingo@pobox.com>
3033 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3034 Fix Timmeke Waymans bug.
3035 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3036 string of the proper length to gst_caps_from_string. There's a
3037 potential for, before this fix, that this could cause someone
3038 connecting over the network to cause a segfault if the payload is
3041 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3043 * docs/design/draft-push-pull.txt:
3044 * docs/design/part-overview.txt:
3045 * docs/random/TODO-pre-0.9:
3046 * docs/random/old/ChangeLog.gstreamer:
3047 * gst/base/gstpushsrc.c:
3051 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3053 * gst/glib-compat.c: (gst_flags_get_first_value):
3054 * gst/glib-compat.h:
3055 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3056 (gst_value_compare_double), (gst_value_serialize_flags):
3057 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3060 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3062 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3063 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3065 * tools/gst-launch.c: (event_loop):
3066 print out clock nicely
3068 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3070 * docs/gst/gstreamer-sections.txt:
3072 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3073 (gst_tag_list_get_date_index):
3074 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3075 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3077 2005-10-13 Julien MOUTTE <julien@moutte.net>
3079 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3080 (gst_collectpads_chain):
3081 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3084 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3086 * docs/gst/gstreamer-sections.txt:
3089 * tools/gst-inspect.c: (main):
3090 * tools/gst-launch.c: (main):
3091 * tools/gst-run.c: (main):
3092 * tools/gst-xmlinspect.c: (main):
3093 fix GOption context leaks
3096 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3100 * win32/common/config.h:
3102 * win32/vs6/grammar.dsp:
3103 * win32/vs6/libgstelements.dsp:
3104 * win32/vs6/libgstreamer.dsp:
3107 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3109 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3110 * gst/base/gstbasesrc.c: (gst_base_src_query):
3111 fix more guint64<->gdouble conversions
3113 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3116 add win32-update target
3117 * win32/common/gstconfig.h:
3118 * win32/common/gstenumtypes.c:
3119 * win32/common/gstenumtypes.h:
3120 * win32/common/gstversion.h:
3121 add files that visual studio can't generate
3123 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3126 add a win32-update target
3129 2005-10-12 Wim Taymans <wim@fluendo.com>
3131 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3132 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3133 * gst/gstelement.c: (gst_element_commit_state),
3134 (gst_element_set_state):
3135 Protect flags with proper lock.
3136 unref provided cached clock in dispose.
3138 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3141 * gst/gstminiobject.h:
3143 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3144 removed unused flags from miniobject
3147 2005-10-12 Wim Taymans <wim@fluendo.com>
3149 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3150 (gst_file_sink_event), (gst_file_sink_render):
3151 Flush before seeking.
3153 2005-10-12 Andy Wingo <wingo@pobox.com>
3155 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3156 always been the case.
3158 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3160 * check/gst/gstbin.c: (GST_START_TEST):
3161 * docs/gst/gstreamer-sections.txt:
3162 * gst/base/gstbasesink.c: (gst_base_sink_init):
3163 * gst/base/gstbasesrc.c: (gst_base_src_init),
3164 (gst_base_src_get_range), (gst_base_src_check_get_range),
3165 (gst_base_src_start), (gst_base_src_stop):
3166 * gst/base/gstbasesrc.h:
3167 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3168 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3169 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3173 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3175 * gst/gstelement.c: (gst_element_is_locked_state),
3176 (gst_element_set_locked_state), (gst_element_commit_state),
3177 (gst_element_set_state):
3179 * gst/gstindex.c: (gst_index_init):
3181 * gst/gstminiobject.h:
3182 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3183 (gst_object_set_parent):
3185 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3186 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3188 * gst/gstpadtemplate.h:
3189 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3190 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3191 * gst/gstpipeline.h:
3192 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3193 (gst_file_index_commit):
3194 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3195 * testsuite/pad/link.c: (gst_test_src_init),
3196 (gst_test_filter_init), (gst_test_sink_init):
3197 * testsuite/states/locked.c: (main):
3198 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3199 moved bitshift from macro to enum definition
3201 2005-10-12 Wim Taymans <wim@fluendo.com>
3203 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3204 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3205 (gst_file_sink_render):
3206 Some more debugging info.
3208 2005-10-12 Wim Taymans <wim@fluendo.com>
3210 * docs/design/part-states.txt:
3211 * tools/gst-launch.c: (main):
3213 Revert non-intentional change.
3215 2005-10-12 Wim Taymans <wim@fluendo.com>
3217 * check/gst/gstbin.c: (GST_START_TEST):
3218 * check/gst/gstelement.c: (GST_START_TEST):
3219 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3220 * check/gst/gstghostpad.c: (GST_START_TEST):
3221 * check/gst/gstpipeline.c: (GST_START_TEST):
3222 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3223 * check/states/sinks.c: (GST_START_TEST):
3224 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3225 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3226 (gst_bin_remove_func), (gst_bin_get_state_func),
3227 (gst_bin_recalc_state), (gst_bin_change_state_func),
3229 * gst/gstelement.c: (gst_element_get_state_func),
3230 (gst_element_get_state), (gst_element_abort_state),
3231 (gst_element_commit_state), (gst_element_set_state),
3232 (gst_element_change_state), (gst_element_change_state_func):
3234 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3235 (gst_pipeline_provide_clock_func):
3236 * gst/gstutils.c: (gst_element_link_pads_filtered):
3237 * tools/gst-launch.c: (main):
3238 * tools/gst-typefind.c: (main):
3239 Use GstClockTime in _get_state() instead of GTimeVal.
3240 Remove old code in gstutils.c
3242 2005-10-12 Andy Wingo <wingo@pobox.com>
3244 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3247 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3248 there is no task. Shouldn't affect any code, as nothing in our
3249 plugins checks this return value.
3250 (gst_pad_stop_task): Also take the stream lock if the pad has no
3253 2005-10-12 Wim Taymans <wim@fluendo.com>
3255 * gst/gstpad.c: (pre_activate), (post_activate),
3256 (gst_pad_activate_pull), (gst_pad_activate_push):
3257 Cleanup activation code. Reset old state if
3260 2005-10-12 Wim Taymans <wim@fluendo.com>
3262 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3263 (gst_base_sink_change_state):
3264 No need to prerol after receiving EOS.
3266 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3267 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3268 * gst/elements/gstidentity.c: (gst_identity_event):
3269 Print events more verbosely.
3271 2005-10-12 Wim Taymans <wim@fluendo.com>
3273 * check/Makefile.am:
3274 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3275 * check/states/sinks2.c:
3276 Moved sinks2 testcode in sinks check.
3278 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3279 (gst_bin_remove_func), (gst_bin_recalc_state),
3280 (gst_bin_change_state_func), (bin_bus_handler):
3281 Fix potential race condition when _get_state() iterated over an
3282 ASYNC element right before it posted a state completion.
3285 Do proper cast here.
3287 * gst/gstevent.c: (gst_event_new_newsegment),
3288 (gst_event_parse_newsegment):
3289 A playback rate of 0.0 is not allowed.
3291 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3293 * win32/common/config.h:
3294 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3295 (_trewinddir), (_ttelldir), (_tseekdir):
3296 * win32/common/dirent.h:
3297 * win32/common/gtchar.h:
3298 * win32/common/libgstbase.def:
3299 * win32/common/libgstreamer.def:
3300 * win32/vs6/grammar.dsp:
3301 * win32/vs6/gst_inspect.dsp:
3302 * win32/vs6/gst_launch.dsp:
3303 * win32/vs6/gstreamer.dsw:
3304 * win32/vs6/libgstbase.dsp:
3305 * win32/vs6/libgstelements.dsp:
3306 * win32/vs6/libgstreamer.dsp:
3307 Visual Studio 6 project files, and a new common directory.
3310 2005-10-11 Wim Taymans <wim@fluendo.com>
3312 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3313 (gst_base_sink_do_sync), (gst_base_sink_query),
3314 (gst_base_sink_change_state):
3315 * gst/base/gstbasesink.h:
3316 Correctly parse newsegment info.
3318 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3320 * gst/gst.c: (init_post):
3321 split plugin paths correctly
3323 2005-10-11 Wim Taymans <wim@fluendo.com>
3325 * check/gst/gstevent.c: (GST_START_TEST):
3326 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3327 (gst_base_sink_change_state):
3328 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3329 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3330 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3331 * gst/gstevent.c: (gst_event_new_newsegment),
3332 (gst_event_parse_newsegment):
3334 Added extra flag to newsegment for future API freeze.
3335 Updated check and base elements.
3337 2005-10-11 Julien MOUTTE <julien@moutte.net>
3339 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3340 (gst_collectpads_add_pad), (gst_collectpads_pop),
3341 (gst_collectpads_event), (gst_collectpads_chain):
3342 * gst/base/gstcollectpads.h: Handle EOS correctly.
3344 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3346 * tools/gst-launch.c: (main):
3347 more null protecting
3349 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3351 * gst/gst-i18n-lib.h:
3352 check for ENABLE_NLS, not GETTEXT_PACKAGE
3353 * gst/gstregistry.c: (gst_registry_add_plugin),
3354 (gst_registry_scan_path_level),
3355 (_gst_registry_remove_cache_plugins):
3356 protect possibly NULL strings
3357 * gst/parse/types.h:
3358 config.h already included before
3359 * tools/gst-inspect.c: (main):
3360 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3361 check for ENABLE_NLS, not GETTEXT_PACKAGE
3362 * tools/gst-launch.c: (main):
3363 check for ENABLE_NLS, not GETTEXT_PACKAGE
3365 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3368 if we don't have glib, fail before testing 2.8
3369 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3370 fix a leak, should fix plugins-base testsuite
3372 2005-10-11 Andy Wingo <wingo@pobox.com>
3374 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3375 take the mode we're going to as an arg. Go head and set the mode
3376 and flushing flags now, so that if the activate function starts a
3377 thread all the flags will be in the right state.
3378 (post_activate): Renamed also. Just handle making sure streaming
3379 finishes for the deactivation case, and setting the deactivated
3381 (gst_pad_set_active): Complain loudly if deactivation fails.
3382 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3383 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3384 remove the terrible hack.
3386 2005-10-11 Wim Taymans <wim@fluendo.com>
3388 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3389 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3390 (gst_bin_recalc_state), (gst_bin_change_state_func),
3391 (gst_bin_dispose), (bin_bus_handler):
3393 Prepare to make current EOS message queue more generic.
3396 * gst/gstevent.c: (gst_event_new_newsegment),
3397 (gst_event_parse_newsegment):
3399 Rename base to stream_time.
3404 2005-10-11 Wim Taymans <wim@fluendo.com>
3406 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3407 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3408 (gst_bin_change_state_func), (bin_bus_handler):
3410 Work on proper clock selection.
3412 2005-10-11 Edward Hervey <edward@fluendo.com>
3414 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3415 * libs/gst/controller/gstcontroller.h:
3416 Added GList* version of _remove_properties() in order to be able to wrap
3419 2005-10-11 Wim Taymans <wim@fluendo.com>
3421 * docs/design/part-states.txt:
3424 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3425 (gst_bin_change_state_func), (bin_bus_handler):
3426 Doc updates. Don't distribute the same clock over and over again.
3432 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3433 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3434 (gst_pad_send_event):
3436 Make probe emission threadsafe again.
3437 Register quarks and move _get_name() from utils.
3440 * gst/gstpipeline.c: (gst_pipeline_class_init),
3441 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3442 Only redistribute the clock of it changed.
3444 * gst/gstsystemclock.h:
3449 Moved the _flow_get_name() to GstPad.
3451 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3453 * check/gst-libs/gdp.c: (GST_START_TEST):
3454 * check/gst/gstcaps.c: (GST_START_TEST):
3455 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3456 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3457 (gst_dp_packet_from_caps):
3458 fix more valgrind warnings before turning up the heat
3460 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3462 * gst/parse/grammar.y:
3463 some cleanup before the hacking
3465 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3467 * gst/base/gstbasesrc.c: (gst_base_src_query):
3469 * gst/gstutils.c: (gst_guint64_to_gdouble),
3470 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3472 externalize, basesrc uses it
3473 obviously the implementation needs testing
3475 2005-10-10 Wim Taymans <wim@fluendo.com>
3477 * tests/sched/Makefile.am:
3478 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3479 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3481 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3483 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3484 apparently converting from guint64 to double is not implemented
3487 2005-10-10 Wim Taymans <wim@fluendo.com>
3489 * check/Makefile.am:
3490 * check/generic/states.c: (GST_START_TEST):
3491 * check/gst/gstbin.c: (GST_START_TEST):
3492 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3493 * check/states/sinks.c: (GST_START_TEST):
3494 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3496 Check fixes, use API as stated in design docs, remove hacks.
3498 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3499 (gst_base_sink_change_state):
3500 Catch stopping our task while we're shutting down.
3502 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3503 (gst_bin_remove_func), (gst_bin_get_state_func),
3504 (gst_bin_recalc_state), (gst_bin_change_state_func),
3507 * gst/gstelement.c: (gst_element_init),
3508 (gst_element_get_state_func), (gst_element_abort_state),
3509 (gst_element_commit_state), (gst_element_lost_state),
3510 (gst_element_set_state), (gst_element_change_state),
3511 (gst_element_change_state_func):
3513 New state change algorithm (see #318116)
3515 * gst/gstpipeline.c: (gst_pipeline_class_init),
3516 (gst_pipeline_init), (gst_pipeline_set_property),
3517 (gst_pipeline_get_property), (do_pipeline_seek),
3518 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3519 * gst/gstpipeline.h:
3520 Remove crude state change hacks.
3525 * tools/gst-launch.c: (main):
3526 Fixes for state change. Needs some more work to fully use the
3529 2005-10-10 Andy Wingo <wingo@pobox.com>
3531 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3533 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3534 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3537 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3539 * gst/gstiterator.c: (gst_iterator_new):
3540 Fix my previous commit: GTypes passed to gst_iterator_new()
3541 can be fundamental types.
3543 2005-10-10 Wim Taymans <wim@fluendo.com>
3545 * gst/gstelement.c: (gst_element_iterate_pad_list),
3546 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3547 (gst_element_iterate_sink_pads):
3548 Use src/sink pads lists for the respective iterators instead
3551 2005-10-10 Andy Wingo <wingo@pobox.com>
3553 Merged in popt removal + GOption addition patch from Ronald, bug
3556 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3557 GstElement macros around, remove popt-related symbols, add goption
3560 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3562 * docs/gst/Makefile.am:
3563 * docs/libs/Makefile.am: No POPT_CFLAGS.
3565 * examples/manual/Makefile.am:
3566 * docs/manual/basics-init.xml: Doc updates with an example.
3568 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3569 (gst_init), (parse_one_option), (parse_goption_arg):
3570 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3571 bit of hand merging and debugging to get the GOption stuff working
3574 * tests/Makefile.am:
3575 * tools/Makefile.am:
3576 * tools/gst-inspect.c: (main):
3577 * tools/gst-launch.c: (main):
3578 * tools/gst-run.c: (main):
3579 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3581 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3583 * gst/gstiterator.c: (gst_iterator_new):
3584 Add assertions to make sure passed GType is likely to really
3585 be a GType (as the compiler won't catch it if the size and
3586 GType arguments get mixed up, see #318447).
3588 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3590 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3592 * gst/gstbin.c: (gst_bin_iterate_sorted):
3593 Pass GType and size arguments to gst_iterator_new() in the right
3594 order (maybe we should make _new() take the GType as first argument
3595 just like _new_list()?) (#318447).
3598 2005-10-10 Wim Taymans <wim@fluendo.com>
3600 * gst/gstelement.c: (gst_element_finalize):
3601 And free the GStaticRecMutex too
3603 2005-10-10 Andy Wingo <wingo@pobox.com>
3605 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3606 Allocate and free the mutex properly.
3608 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3610 (GstElement): The state_lock is now recursive. Rebuild your
3611 plugins, suckers. Old macros adapted.
3613 * docs/gst/gstreamer-sections.txt: Doc updates.
3616 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3617 (g_static_rec_cond_wait): Ported from state changes patch, while
3618 we wait on bug #317802 to be solved in a well-distributed GLib.
3620 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3621 gst_element_change_state, variable name changes.
3622 (gst_element_change_state): Split out of gst_element_set_state in
3623 preparation for the state change merge. Doesn't pay attention to
3624 the 'transition' argument.
3625 (gst_element_set_state): Updates, hopefully purely cosmetic.
3626 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3628 (gst_element_get_state_func): Renamed from get_state, cosmetic
3631 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3633 * gst/elements/gstelements.c:
3634 * win32/GStreamer.vcproj:
3636 * win32/dirent.c: (_tseekdir):
3637 * win32/gst-inspect.vcproj:
3638 * win32/gst-launch.vcproj:
3639 * win32/gstconfig.h:
3640 * win32/gstelements.vcproj:
3641 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3642 * win32/gstreamer.def:
3644 updates for the win32 build (patch from Sebastien Moutte)
3646 2005-10-10 Andy Wingo <wingo@pobox.com>
3648 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3649 gst_bin_get_state, cleaned up (but no logic changes).
3650 (bin_element_is_sink): Comment updates.
3651 (sink_iterator_filter): Remove needless cast.
3652 (gst_bin_iterate_sinks): Doc update.
3653 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3654 cleaned up (but no logic changes).
3656 * check/states/sinks.c (test_src_sink): Cleanups from the state
3658 (test_livesrc_sink): Sync on the state.
3660 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3661 the state change patch.
3663 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3666 * check/gst/gstbin.c: Merge in some style fixes and additional
3667 checks from Wim's state change patch.
3669 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3671 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3672 (gst_type_find_helper):
3673 Check whether we have the requested data already in our list of
3674 cached buffers before pulling a new buffer; also make the buffer
3675 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3677 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3682 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3683 don't use long long, it's not portable. Replacing with
3684 gint64 seems to work; let's hope no skeletons fall out of the closet.
3686 2005-10-10 Andy Wingo <wingo@pobox.com>
3688 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3690 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3692 * docs/gst/gstreamer-sections.txt:
3697 * gst/gstmessage.c: (gst_message_parse_state_changed):
3700 more docs, fix compilation
3702 2005-10-09 Philippe Khalaf <burger@speedy.org>
3704 Fixed a few forgotten variables on previous commit
3706 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3708 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3709 Fix evil typefind crasher: getrange() might return a short
3710 buffer at the end of a file, but gst_type_find_peek() must
3711 either return the full data as requested or NULL, but
3712 never a short buffer.
3714 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3716 * gst/gstmessage.c: (gst_message_new_state_changed),
3717 (gst_message_parse_state_changed):
3719 don't use "new", it's a C++ keyword
3721 2005-10-08 Wim Taymans <wim@fluendo.com>
3723 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3724 * gst/gstelement.c: (gst_element_post_message):
3725 * gst/gstpipeline.c: (gst_pipeline_change_state):
3726 Small docs and debug updates.
3728 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3730 * docs/gst/gstreamer-sections.txt:
3731 * gst/gstelementfactory.c:
3736 2005-10-08 Wim Taymans <wim@fluendo.com>
3738 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3739 (gst_bin_dispose), (bin_bus_handler):
3740 Fix typos, add comments.
3741 Clear EOS list when going to PAUSED from any direction and do it
3742 in a threadsafe way.
3743 Get base time in a threadsafe way too.
3744 Fix confusing debug in the change_state function.
3745 Various other small cleanups.
3747 * gst/gstelement.c: (gst_element_post_message):
3748 Fix very verbose bus posting code.
3750 * gst/gstpipeline.c: (gst_pipeline_class_init),
3751 (gst_pipeline_set_property), (gst_pipeline_get_property),
3752 (gst_pipeline_change_state):
3753 Small ARG_ -> PROP_ cleanup
3755 2005-10-08 Wim Taymans <wim@fluendo.com>
3757 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3758 Do a less CPU demanding EOS check because we can.
3760 2005-10-08 Wim Taymans <wim@fluendo.com>
3762 * libs/gst/dataprotocol/dataprotocol.c:
3763 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3764 (gst_dp_packet_from_event):
3765 * libs/gst/dataprotocol/dataprotocol.h:
3766 * libs/gst/dataprotocol/dp-private.h:
3767 It's about time we bump the version number.
3768 Since event types don't fit in the guint8 anymore describing
3769 the payload type, make payload type 16 bits wide.
3771 2005-10-08 Wim Taymans <wim@fluendo.com>
3773 * docs/design/part-TODO.txt:
3774 * docs/design/part-clocks.txt:
3775 * docs/design/part-events.txt:
3776 * docs/design/part-gstbin.txt:
3777 * docs/design/part-gstelement.txt:
3778 * docs/design/part-gstpipeline.txt:
3779 * docs/design/part-live-source.txt:
3780 * docs/design/part-messages.txt:
3781 * docs/design/part-overview.txt:
3782 * docs/design/part-states.txt:
3785 2005-10-08 Wim Taymans <wim@fluendo.com>
3789 Fix event quark registration.
3790 Add some space between events so we can insert them in the
3793 2005-10-08 Wim Taymans <wim@fluendo.com>
3795 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3796 (gst_base_sink_handle_buffer):
3803 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3804 (gst_queue_set_property), (gst_queue_get_property):
3806 Remove old unused properties.
3808 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3809 * docs/gst/gstreamer-sections.txt:
3812 * gst/gstminiobject.c:
3813 * gst/gstminiobject.h:
3817 lots of new docs and doc fixes
3819 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3821 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3823 * gst/gstregistry.c: (gst_registry_lookup_locked),
3824 (gst_registry_scan_path_level):
3825 * gst/gstregistryxml.c: (load_plugin):
3826 Only ever load one plugin for a given plugin basename.
3827 This ensures correct overriding of GST_PLUGIN_PATH over
3828 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3829 system installed plugins.
3831 2005-10-08 Wim Taymans <wim@fluendo.com>
3833 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3834 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3835 Prepare for doing QOS.
3837 2005-10-08 Wim Taymans <wim@fluendo.com>
3839 * check/gst/gstbin.c: (GST_START_TEST):
3840 * check/pipelines/cleanup.c: (GST_START_TEST):
3841 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3842 Allow new clock message too.
3844 2005-10-08 Wim Taymans <wim@fluendo.com>
3846 * gst/gstmessage.c: (gst_message_new_error),
3847 (gst_message_new_warning), (gst_message_new_tag),
3848 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3849 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3850 (gst_message_new_segment_start), (gst_message_new_segment_done),
3851 (gst_message_parse_state_changed),
3852 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3853 (gst_message_parse_new_clock):
3855 Also carry the clock in question.
3857 2005-10-08 Wim Taymans <wim@fluendo.com>
3859 * gst/gstmessage.c: (gst_message_new_custom),
3860 (gst_message_new_eos), (gst_message_new_error),
3861 (gst_message_new_warning), (gst_message_new_tag),
3862 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3863 (gst_message_new_new_clock), (gst_message_new_segment_start),
3864 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3865 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3868 Added clock related messages.
3870 * gst/gstpipeline.c: (gst_pipeline_change_state):
3871 Post message when the clock changed.
3873 * tools/gst-launch.c: (event_loop):
3876 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3878 * tools/gst-inspect.c: (print_element_properties_info):
3879 Can't pass NULL strings to g_print() on windows.
3881 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3884 * docs/gst/Makefile.am:
3885 * docs/gst/gstreamer-docs.sgml:
3886 * docs/gst/running.xml:
3887 * docs/version.entities.in:
3888 add a chapter on running GStreamer.
3889 document GST_DEBUG and GST_PLUGIN* env vars
3891 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3896 remove PLUGINS_BUILDDIR stuff
3897 * gst/gst.c: (init_post):
3898 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3900 remove, it was condescending and not needed
3902 2005-10-08 Wim Taymans <wim@fluendo.com>
3904 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3905 (gst_base_sink_handle_object), (gst_base_sink_event),
3906 (gst_base_sink_wait), (gst_base_sink_handle_event),
3907 (gst_base_sink_change_state):
3908 * gst/base/gstbasesink.h:
3909 Repost EOS message while going to PLAYING if still EOS.
3910 Make sure that when receiving a FLUSH_START we don't attempt
3911 to sync on the clock anymore.
3913 2005-10-08 Wim Taymans <wim@fluendo.com>
3915 * tools/gst-launch.c: (event_loop):
3916 Better message printout.
3918 2005-10-08 Wim Taymans <wim@fluendo.com>
3920 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3921 (gst_bin_child_proxy_get_children_count):
3922 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3923 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3924 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3925 (gst_child_proxy_set_valist):
3926 * gst/parse/grammar.y:
3927 Make ChildProxy threadsafe and fix mem leaks.
3929 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3931 * gst/gst.c: (init_post):
3932 debug the GST_PLUGIN_ env vars
3934 2005-10-08 Wim Taymans <wim@fluendo.com>
3936 * check/gst/gstbin.c: (GST_START_TEST):
3937 * check/gst/gstmessage.c: (GST_START_TEST):
3938 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3939 * gst/gstelement.c: (gst_element_commit_state),
3940 (gst_element_lost_state):
3941 * gst/gstmessage.c: (gst_message_new_state_changed),
3942 (gst_message_parse_state_changed):
3944 * tools/gst-launch.c: (event_loop):
3945 Added extra field to STATE_CHANGE message with the pending
3946 state, which will be different from the new state soon.
3948 2005-10-08 Wim Taymans <wim@fluendo.com>
3950 * gst/gstbus.c: (gst_bus_pop):
3952 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3953 Small cleanups and doc updates.
3955 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3957 * gst/gst.c: (init_pre):
3958 * gst/gstbin.c: (gst_bin_add_func):
3959 log distributing clocks and base time
3960 * gst/gstregistry.c: (gst_registry_add_plugin),
3961 (gst_registry_scan_path_level), (gst_registry_scan_path):
3962 clean up the debugging output a little
3963 * gst/gstutils.c: (gst_element_state_get_name):
3964 warn about a memleak (I've actually seen this be used, though
3965 it was probably a bug)
3967 2005-10-07 Wim Taymans <wim@fluendo.com>
3969 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3970 (gst_base_src_init), (gst_base_src_default_newsegment),
3971 (gst_base_src_newsegment), (gst_base_src_do_seek),
3972 (gst_base_src_loop), (gst_base_src_start):
3973 * gst/base/gstbasesrc.h:
3974 Make the newsegment event customizable by subclasses.
3976 2005-10-07 Wim Taymans <wim@fluendo.com>
3978 * gst/gstevent.c: (gst_event_new_buffersize),
3979 (gst_event_parse_buffersize):
3981 New event for future idea.
3983 2005-10-07 Andy Wingo <wingo@pobox.com>
3985 * gst/gstelement.c (gst_element_post_message): Doc update.
3987 * docs/gst/gstreamer-sections.txt: Update.
3989 * gst/gstmessage.c (gst_message_new_application): Made into a
3990 function like honest API calls.
3991 (gst_message_new_element): New message type.
3993 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3995 * check/elements/fakesrc.c (test_no_preroll): New check, checks
3996 that setting a live fakesrc to PAUSED returns NO_PREROLL both
3999 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4000 NO_PREROLL from gst_element_change_state to fall through.
4002 2005-10-07 Wim Taymans <wim@fluendo.com>
4004 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4005 (gst_ghost_pad_do_activate_push):
4006 Activating a ghostpad with no internal pad in push mode
4009 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4012 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4013 Fixes compilation on Windows.
4015 2005-10-07 Michael Smith <msmith@fluendo.com>
4017 * tools/gst-inspect.c:
4018 Print out feature and plugin count at the end when printing out
4021 2005-10-04 Michael Smith <msmith@fluendo.com>
4023 * gst/gsterror.c: (_gst_stream_errors_init):
4024 Add another error string used in a few existing plugins.
4027 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4028 * tools/gst-inspect.c: (print_element_info):
4029 When a feature disappears from a plugin (and the feature exists in
4030 the cached registry file), things went horribly wrong. This isn't a
4031 complete fix, we should actually be removing the 'missing' features
4032 from the features list when we load the actual plugin. That's not
4035 2005-10-04 Johan Dahlin <johan@gnome.org>
4037 * check/gst/gstiterator.c: (GST_START_TEST):
4038 * gst/gstbin.c: (gst_bin_iterate_elements),
4039 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4040 * gst/gstelement.c: (gst_element_iterate_pads):
4041 * gst/gstformat.c: (gst_format_iterate_definitions):
4042 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4043 (gst_iterator_new_list), (gst_iterator_filter):
4044 * gst/gstiterator.h:
4045 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4046 Add a GType to GstIterator, update callsites and tests.
4048 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4050 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4051 give events a chance to be handled by event probes when the pad
4054 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4056 * gst/gstevent.c: (gst_event_type_get_name),
4057 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4059 add string representations for event types
4061 2005-10-06 Wim Taymans <wim@fluendo.com>
4063 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4064 Don't use NULL pointers.
4066 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4068 * gst/gst_private.h:
4072 * gst/gstpluginfeature.c:
4073 widen the debug category in output to fit the biggest one we have
4074 add a bus category and use it
4075 play with the colors
4076 fix up some categories
4078 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4080 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4081 add push activation of sink ghost pads.
4082 Andye, please verify
4084 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4086 * gst/gstutils.c: (gst_element_link_pads):
4087 fix a bug in the case where neither element has a pad
4088 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4089 add a test for that case
4091 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4093 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4094 emit have-data before checking for peers. This allows
4095 for probe handlers to connect elements. This helps autopluggers.
4096 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4098 add six checks, linked/unlinked with no/true/false probe
4100 2005-10-04 Wim Taymans <wim@fluendo.com>
4102 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4103 (gst_fake_sink_event), (gst_fake_sink_preroll),
4104 (gst_fake_sink_render), (gst_fake_sink_change_state):
4105 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4106 (gst_fake_src_get_property), (gst_fake_src_create),
4107 (gst_fake_src_stop):
4108 * gst/elements/gstidentity.c: (gst_identity_stop):
4109 Protect last_message with lock.
4111 2005-10-04 Edward Hervey <edward@fluendo.com>
4114 Added precision in the comments for GST_FORMAT_DEFAULT
4116 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4118 * tools/gst-launch.c: (main):
4119 Don't try to run erroneous pipelines.
4121 2005-10-04 Julien MOUTTE <julien@moutte.net>
4123 * gst/gstbus.c: We don't need this header.
4125 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4130 === release 0.9.3 ===
4132 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4136 Releasing 0.9.3, "Unregistered"
4138 2005-10-03 Andy Wingo <wingo@pobox.com>
4140 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4141 whereby calling a pad's activatepush() function can start a thread
4142 that starts to push or pull before the pad gets the FLUSHING flag
4143 unset. Hack around it by holding the stream lock until the flag is
4144 set. Need to replace this with a proper solution. Together with
4145 the ghost pad fixes, this fixes mp3 playing/tagreading.
4147 * docs/design/part-gstghostpad.txt: Add a note about activation of
4148 proxy pads outside of ghost pads.
4150 * gst/gstghostpad.c: Implement the ghost pad activation design.
4152 2005-10-02 Andy Wingo <wingo@pobox.com>
4154 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4155 It is volatile, after all.
4157 * docs/design/part-gstghostpad.txt: Flesh out activation with
4160 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4163 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4166 Fix (unused) AM_CONDITIONAL tests.
4168 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4170 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4172 * gst/gstutils.c: (gst_pad_query_convert):
4173 Add assertion that makes sure src_val is >=0, just like
4174 gst_query_new_convert() has. (#315895)
4176 2005-09-30 Edward Hervey <edward@fluendo.com>
4178 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4179 Let's not iterate pads we're not interested in, it avoids getting
4180 sky-high refcounts on sinkpad.
4182 2005-09-30 Wim Taymans <wim@fluendo.com>
4184 * gst/gstelement.c: (gst_element_set_state),
4185 (gst_element_change_state):
4186 Small tweak, element in ASYNC remains ASYNC.
4188 2005-09-30 Wim Taymans <wim@fluendo.com>
4190 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4191 Only error is an error.
4193 * gst/gstbin.c: (gst_bin_change_state):
4196 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4197 Also call pad_block in pad alloc.
4199 * gst/gstutils.c: (gst_flow_get_name):
4202 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4204 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4205 (gst_base_src_get_range):
4206 Fix documentation typos. Add some more debug info.
4208 2005-09-29 David Schleef <ds@schleef.org>
4210 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4211 more end-user friendly.
4212 * tools/gst-inspect.c: (main): Check if command-line argument is
4213 a file and attempt to load that file as a plugin.
4215 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4217 * check/gst/gstbin.c:
4218 * check/states/sinks.c:
4219 fix tests for the new warning
4220 * check/gst/gstpipeline.c:
4221 add a test for pipeline and bus interaction
4223 elements should be NULL if they get disposed; add a warning if not
4225 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4228 for 2.6 refcounting, make debug log more correct by printing
4229 the actual refcounts at the time of swap (Wim)
4231 2005-09-29 Andy Wingo <wingo@pobox.com>
4233 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4234 removes signal watches previously added via
4235 gst_bus_add_signal_watch.
4236 (gst_bus_add_signal_watch): Don't return the source id, just store
4237 it on the bus if there wasn't an id already.
4239 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4240 add_signal_watch and remove_signal_watch.
4242 2005-09-29 Edward Hervey <edward@fluendo.com>
4244 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4245 Better if we actually iterate the list :)
4247 2005-09-29 Wim Taymans <wim@fluendo.com>
4249 * check/gst/gstbin.c: (GST_START_TEST):
4250 Change for new bus API.
4252 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4253 (send_messages), (GST_START_TEST), (gstbus_suite):
4254 Change for new bus signal API.
4256 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4257 (gst_bus_source_prepare), (gst_bus_source_check),
4258 (gst_bus_create_watch), (gst_bus_add_watch_full),
4259 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4260 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4262 Remove support for multiple GSources operating on different
4263 message types as it is too complex and unneeded when using
4265 Added support for receiving signals from the bus.
4267 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4269 * docs/libs/tmpl/gstdataprotocol.sgml:
4270 * docs/manual/advanced-dataaccess.xml:
4271 * gst/elements/gstcapsfilter.c:
4273 rename filter-caps to caps property
4275 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4277 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4278 More robust fraction string parsing.
4280 * docs/pwg/appendix-porting.xml:
4281 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4283 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4285 * gst/gstcaps.c: (gst_caps_do_simplify):
4286 Thou shalt not free a structure and then continue using it
4287 in the next loop iteration.
4289 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4291 Add test case for caps simplification.
4293 2005-09-29 Wim Taymans <wim@fluendo.com>
4295 * check/gst/gstbin.c: (GST_START_TEST):
4298 2005-09-29 Wim Taymans <wim@fluendo.com>
4300 * check/gst/gstbin.c: (GST_START_TEST):
4303 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4304 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4305 (find_element), (gst_bin_sort_iterator_next),
4306 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4307 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4308 (gst_bin_change_state), (gst_bin_dispose):
4309 A bin does not have a bus, it gets the bus from the parent.
4311 * gst/gstelement.c: (gst_element_requires_clock),
4312 (gst_element_provides_clock), (gst_element_is_indexable),
4313 (gst_element_is_locked_state), (gst_element_change_state),
4314 (gst_element_set_bus_func):
4317 * gst/gstpipeline.c: (gst_pipeline_class_init),
4318 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4319 The pipeline provides a bus.
4321 2005-09-28 Johan Dahlin <johan@gnome.org>
4323 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4324 gst_structure_get_enum instead of gst_structure_get_int
4326 * gst/gststructure.c (gst_structure_get_enum): Impl.
4328 * gst/gststructure.h (gst_structure_get_enum): Add
4330 * docs/gst/gstreamer-sections.txt: Ditto
4332 * gst/gstmessage.c (gst_message_new_state_changed): Use
4333 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4334 which does introspection.
4335 Reviewed by Christian Schaller
4337 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4339 * gst/gstinfo.c: (gst_debug_log_default):
4340 don't do dummy g_strdup()s
4341 * libs/gst/controller/gstcontroller.c:
4342 (on_object_controlled_property_changed),
4343 (gst_controlled_property_new), (gst_controller_new_valist),
4344 (gst_controller_new_list),
4345 (gst_controller_remove_properties_valist), (gst_controller_set),
4346 (gst_controller_get), (gst_controller_sync_values),
4347 (gst_controller_get_value_array), (_gst_controller_class_init),
4348 (gst_controller_get_type):
4349 * libs/gst/controller/gstcontroller.h:
4350 * libs/gst/controller/gstinterpolation.c:
4351 (gst_controlled_property_find_timed_value_node):
4352 convert // to /**/ comments
4354 2005-09-28 Wim Taymans <wim@fluendo.com>
4356 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4357 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4358 (gst_bus_sync_signal_handler):
4360 Added async-message and sync-message signals to the bus.
4361 Added helper BusFunc to emit signals for all posted messages.
4363 * gst/gstmessage.c: (gst_message_type_get_name),
4364 (gst_message_type_to_quark), (gst_message_get_type):
4366 Register quarks for message names.
4368 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4370 * docs/libs/gstreamer-libs-sections.txt:
4371 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4372 (gst_controller_new_list):
4373 * libs/gst/controller/gstcontroller.h:
4374 added another constructor for language bindings
4376 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4378 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4382 * gst/gstinfo.c: (_gst_debug_init):
4383 slightly more readable color for refcount debugging
4385 2005-09-28 Wim Taymans <wim@fluendo.com>
4387 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4388 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4389 (find_element), (gst_bin_sort_iterator_next),
4390 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4391 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4392 (gst_bin_change_state), (gst_bin_dispose):
4393 Small doc fixes. get_clock -> provide_clock.
4395 * gst/gstelement.c: (gst_element_class_init),
4396 (gst_element_provides_clock), (gst_element_provide_clock),
4397 (gst_element_get_clock), (gst_element_commit_state),
4398 (gst_element_lost_state):
4400 Make get/set_clock() symetric. Add provide_clock vmethod since
4401 that is actually what this function does.
4403 * gst/gstpipeline.c: (gst_pipeline_class_init),
4404 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4405 (gst_pipeline_get_clock):
4406 get_clock -> provide_clock.
4408 2005-09-28 Andy Wingo <wingo@pobox.com>
4410 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4411 lieu of real docs...
4413 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4415 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4417 * gst/elements/gstcapsfilter.c:
4418 * gst/elements/gstfakesink.c:
4419 * gst/elements/gstfakesrc.c:
4420 * gst/elements/gstfdsink.c:
4421 * gst/elements/gstfdsrc.c:
4422 * gst/elements/gstfilesink.c:
4423 * gst/elements/gstfilesrc.c:
4424 * gst/elements/gstidentity.c:
4425 * gst/elements/gsttee.c:
4426 * gst/elements/gsttypefindelement.c:
4427 Make element details static.
4429 2005-09-28 Wim Taymans <wim@fluendo.com>
4431 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4432 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4433 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4434 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4435 (gst_bin_change_state), (gst_bin_dispose):
4436 Some documentation updates.
4437 Clean up dispose handlers.
4439 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4440 * gst/gstpad.c: (gst_pad_dispose):
4441 Clean up dispose handler.
4443 * gst/gstpipeline.c: (gst_pipeline_change_state):
4444 Removed spurious UNLOCK.
4446 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4448 * docs/gst/gstreamer-sections.txt:
4449 * gst/base/gstbasesrc.h:
4454 * gst/gstpipeline.c:
4455 * gst/gstpipeline.h:
4458 added two new functions to the docs
4459 documents all undocumented GstXXXFlags
4460 completed some incomplete docs
4462 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4464 * gst/gstbin.c: (gst_bin_dispose):
4465 * gst/gstelement.c: (gst_element_dispose):
4466 remove now useless and leaky resurrection code in dispose
4467 * gst/base/gstbasesrc.c: (gst_base_src_init):
4468 * gst/gstelementfactory.c: (gst_element_factory_create):
4469 * gst/gstobject.c: (gst_object_set_parent):
4472 2005-09-27 Wim Taymans <wim@fluendo.com>
4474 * docs/design/part-TODO.txt:
4477 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4478 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4479 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4480 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4481 (gst_bin_change_state):
4483 Remove element variable, we keep element info in the iterator now.
4485 2005-09-27 Andy Wingo <wingo@pobox.com>
4487 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4490 2005-09-27 Wim Taymans <wim@fluendo.com>
4492 * check/gst/gstbin.c: (GST_START_TEST):
4493 Enable check that works now.
4495 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4496 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4497 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4498 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4499 (gst_bin_change_state):
4501 Redid the state change algorithm using a topological sort algo.
4502 Handles all cases correctly.
4503 Exposed iterator for state change order.
4506 Temp storage for state changes. Need to get rid of this soon.
4508 2005-09-27 Wim Taymans <wim@fluendo.com>
4510 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4511 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4512 (link_fold_func), (gst_pad_proxy_setcaps):
4513 Leak fixes, the fold functions need to unref the passed object and
4514 _get_parent_*() returns ref to parent.
4516 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4518 * check/gst/gstbuffer.c: (test_make_writable):
4519 Plug leak in test case and fix 'make check-valgrind'
4521 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4523 * gst/gstbuffer.c: (gst_subbuffer_init):
4524 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4525 works correctly in all circumstances (we could have just copied
4526 the parent buffer's readonly flag, but conceptually it seems
4527 cleaner to mark all subbuffers as read-only). (based on patch
4528 by Alessandro Decina, #314710).
4530 * check/gst/gstbuffer.c: (create_read_only_buffer),
4531 (test_make_writable), (test_subbuffer_make_writable),
4533 Add some tests for gst_buffer_make_writable().
4535 2005-09-27 Wim Taymans <wim@fluendo.com>
4537 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4538 use gst_object_has_ancestor().
4540 * gst/gstobject.c: (gst_object_has_ancestor):
4542 gst_object_has_ancestor() copied from gstbin.c as it is a
4545 * tests/instantiate/create.c: (create_all_elements):
4546 * tests/lat.c: (handoff_src), (handoff_sink):
4547 * tests/sched/runxml.c: (main):
4548 * tests/seeking/seeking1.c: (main):
4549 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4551 Fix compilation of some tests.
4553 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4556 Remove comment. GST_TYPE_G_ERROR is here to stay,
4557 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4560 2005-09-26 Wim Taymans <wim@fluendo.com>
4562 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4563 Added check that shows error in state change order.
4565 2005-09-26 Wim Taymans <wim@fluendo.com>
4567 * gst/gstbin.c: (gst_bin_change_state):
4568 Make state change function use 3 queues again, we were
4569 adding elements in the wrong order.
4571 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4574 * gst/gstpad.c: (gst_pad_dispose):
4575 Added some debug info first.
4577 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4579 * docs/design/draft-push-pull.txt:
4580 * docs/design/part-events.txt:
4581 * docs/design/part-overview.txt:
4582 * docs/design/part-scheduling.txt:
4583 Replace all _pull_region() with _pull_range()
4585 2005-09-26 Andy Wingo <wingo@pobox.com>
4587 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4589 * check/gst-libs/controller.c: Update for controller api change.
4592 * tests/Makefile.am:
4593 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4594 over by GLib bug 118439.
4596 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4597 routines to a function.
4599 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4601 * libs/gst/controller/gsthelper.c:
4602 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4603 (gst_object_sync_values): Renamed from sink_values. Ugh.
4605 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4607 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4608 Renamed from controller_key, as it is exported.
4610 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4612 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4617 * gst/gstpadtemplate.h:
4620 * gst/gstqueryutils.c:
4621 * gst/gstqueryutils.h:
4622 remove queryutils headers after moving the two used functions
4623 to gstquery. also fixes build problem for gstsiddec
4625 2005-09-26 Michael Smith <msmith@fluendo.com>
4627 * tools/gst-launch.1.in:
4628 Correct documentation in manpage of debug syntax
4630 2005-09-26 Wim Taymans <wim@fluendo.com>
4632 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4633 (gst_base_src_is_seekable), (gst_base_src_change_state):
4634 Some more debugging info.
4636 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4638 * docs/gst/gstreamer-sections.txt:
4639 * gst/base/gstbasetransform.h:
4643 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4645 * docs/gst/.cvsignore:
4646 * docs/gst/tmpl/.cvsignore:
4647 * docs/gst/tmpl/gstpipeline.sgml:
4648 * docs/gst/tmpl/gstplugin.sgml:
4649 * gst/gstpipeline.c:
4652 inlined the last two docs files
4653 removed the tmpl directory from cvs (no more conflicts here!)
4655 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4657 * docs/gst/gstreamer-sections.txt:
4658 * docs/gst/tmpl/.cvsignore:
4659 * docs/gst/tmpl/gstpad.sgml:
4660 * docs/gst/tmpl/gstpadtemplate.sgml:
4662 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4663 (gst_pad_finalize), (gst_pad_set_pad_template):
4665 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4666 (gst_pad_template_class_init), (gst_pad_template_init),
4667 (gst_pad_template_dispose), (name_is_valid),
4668 (gst_static_pad_template_get), (gst_pad_template_new),
4669 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4670 (gst_pad_template_pad_created):
4671 * gst/gstpadtemplate.h:
4672 inlined two more docs
4673 factored gstpadtemplate out of gstpad
4675 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4677 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4678 (test_children_state_change_order_semi_sink):
4679 Fix test case: we can't rely on a fixed state change order when
4680 going from READY => PAUSED because the sink might commit its
4681 new state first when the first buffer created by the source
4682 reaches the sink before the source has finished its change state.
4683 (Test case still fails at times, see #316856, comment 5 onwards)
4685 2005-09-24 Wim Taymans <wim@fluendo.com>
4687 * docs/design/part-events.txt:
4688 * docs/design/part-gstbus.txt:
4689 * docs/design/part-gstpipeline.txt:
4690 * docs/design/part-messages.txt:
4691 * docs/design/part-overview.txt:
4692 * docs/design/part-segments.txt:
4699 * gst/gstiterator.c:
4700 Various documentation updates.
4702 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4705 Well, that's embarassing. Luckily we weren't using
4706 GST_CLOCK_DIFF anywhere.
4708 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4710 * common/gtk-doc.mak:
4711 don't fail on building XML, FC4 slave shows a bunch of doc
4712 missing bits that I don't get
4714 * gst/gstpipeline.c:
4715 * gst/gststructure.c:
4718 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4720 * docs/design/part-gstbin.txt:
4721 * docs/design/part-gstbus.txt:
4723 Add blurb about how the bus goes into flushing mode and
4724 drops all messages when its bin goes from READY into NULL
4727 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4729 * docs/gst/gstreamer-sections.txt:
4730 * gst/gststructure.c: (gst_structure_get_clock_time):
4731 * gst/gststructure.h:
4732 add a method to get a GstClockTime out of a structure
4734 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4736 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4737 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4738 Added test to check state change order in bins (can still be made
4739 to fail here under heavy disk load; bails out with 'Push on pad
4740 fakesink:sink0, but it was not activated in push mode').
4742 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4743 Fix state change order when there is only a semi sink (#316856)
4745 * gst/gstbus.c: (gst_bus_class_init):
4746 Use _class_peek_parent(), not _class_ref(); fix docs to say
4747 'default main context' instead of 'mainloop' where that is
4750 * gst/gstelement.c: (gst_element_commit_state),
4751 (gst_element_set_state):
4752 Fix typos in debug messages
4754 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4757 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4758 * gst/gstpluginfeature.c:
4761 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4762 change an assert into an error until it gets fixed properly
4764 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4766 * docs/gst/gstreamer-sections.txt:
4767 * docs/gst/tmpl/.cvsignore:
4768 * docs/gst/tmpl/gstelement.sgml:
4769 * docs/gst/tmpl/gstinfo.sgml:
4770 * docs/gst/tmpl/gstobject.sgml:
4775 * gst/gstobject.c: (gst_object_class_init):
4777 inlined 3 more biiiig doc files and added some missing docs on the fly
4779 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4781 * check/gst/.cvsignore:
4782 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4783 * gst/gstregistryxml.c: (load_plugin),
4784 (gst_registry_xml_save_plugin):
4785 put back source in registry. add checks for find_plugin.
4786 * testsuite/states/bin.c: (assert_state), (empty_bin),
4787 (test_adding_one_element), (main):
4788 * testsuite/states/locked.c: (main):
4789 some compile/run fixes
4791 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4793 * check/gst/gstvalue.c: (GST_START_TEST):
4794 fix leaks in the test itself
4796 2005-09-22 Wim Taymans <wim@fluendo.com>
4798 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4799 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4800 (gst_base_sink_query):
4801 Prepare for more accurate position reporting and query
4804 * gst/gstelement.c: (gst_element_send_event),
4805 (gst_element_set_state):
4808 2005-09-22 Wim Taymans <wim@fluendo.com>
4810 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4811 (gst_query_parse_segment):
4814 Add segment query for future use.
4816 2005-09-22 Wim Taymans <wim@fluendo.com>
4818 * gst/gstbin.c: (gst_bin_add_func):
4819 Some more debug info.
4821 * gst/gstelement.c: (gst_element_send_event):
4825 Don't know how flags got broken.
4830 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4832 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4833 Add simplistic test suite for GST_TYPE_DATE serialisation and
4836 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4838 * docs/gst/gstreamer-sections.txt:
4839 * gst/gststructure.c: (gst_structure_set_valist),
4840 (gst_structure_get_date):
4841 * gst/gststructure.h:
4842 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4843 (gst_date_copy), (gst_value_compare_date),
4844 (gst_value_serialize_date), (gst_value_deserialize_date),
4845 (gst_value_transform_date_string),
4846 (gst_value_transform_string_date), (_gst_value_initialize):
4848 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4849 bunch of utility functions along with a hack that checks that
4850 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4851 is required. Part of the grand scheme in #170777.
4853 2005-09-22 Andy Wingo <wingo@pobox.com>
4855 * gst/gstconfig.h.in: Psych out gtk-doc.
4857 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4859 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4861 * tools/gst-inspect.c (print_element_list): Plug some
4862 inconsequential leaks.
4864 * gst/gstregistry.c (gst_registry_get_default): Doc.
4866 * check/gst/gstplugin.c:
4867 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4868 * gst/gstelementfactory.c (gst_element_factory_create):
4869 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4872 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4873 (gst_plugin_feature_load): Doc, don't eat refs.
4875 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4876 (gst_plugin_list_free): Doc.
4877 (gst_plugin_load_file): Doc updates.
4879 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4880 accessors returning refcounted objects, return a ref.
4882 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4883 accessor for caps. IDEMPOTENCE. Oh yes.
4885 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4887 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4889 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4890 (_gst_debug_register_funcptr):
4891 Add mutex to serialise access to the hash table with
4892 the function pointer => function name string mapping;
4893 make that hash table static scope (#316809).
4895 * gst/registries/.cvsignore:
4896 Remove left-over file.
4898 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4900 * docs/pwg/appendix-porting.xml:
4901 And something about newsegment events and caps-on-buffers to
4902 the porting guide (feel free to improve).
4904 2005-09-21 Andy Wingo <wingo@pobox.com>
4906 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4907 data and event probes on the same pad.
4908 (test_buffer_probe_once): Test that removing probes from within
4909 the probe functions works.
4911 2005-09-21 Andy Wingo <wingo@pobox.com>
4913 * check/gst/gstutils.c: New file.
4914 (test_buffer_probe_n_times): A simple buffer probe test. More to
4917 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4918 have-data::buffer, not have-data.
4919 (gst_pad_add_event_probe): Likewise for have-data::event.
4920 (gst_pad_add_data_probe): More docs. The part about 'resolving the
4921 peer' isn't quite right yet though.
4922 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
4923 (gst_pad_remove_data_probe): Change to take the guint handler_id
4924 as their arg, not the function+data, which is more glib-like.
4926 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4927 the signal emission to indicate if the data is a buffer or an
4929 (gst_pad_get_type): Initialize buffer and event quarks.
4930 (gst_pad_class_init): have-data is now a detailed signal, yes it
4933 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4935 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4936 * gst/gstutils.c: (gst_util_set_value_from_string),
4937 (gst_util_set_object_arg):
4938 Don't put functional code in g_return_if_fail() or
4939 g_return_val_if_fail() statements, otherwise things will
4940 break when G_DISABLE_CHECKS is defined during compilation.
4942 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4944 * docs/gst/tmpl/.cvsignore:
4945 * docs/gst/tmpl/gstvalue.sgml:
4948 inlied another one and added some obvious docs
4950 2005-09-21 Wim Taymans <wim@fluendo.com>
4952 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4953 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4954 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4955 (gst_fdsrc_get_property), (gst_fdsrc_create):
4956 * gst/elements/gstfdsrc.h:
4957 Properly implement fdsrc. Removed signal and timeout,
4958 better implemented somewhere else.
4960 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4962 * docs/gst/tmpl/.cvsignore:
4963 * docs/gst/tmpl/gstimplementsinterface.sgml:
4964 * gst/gstinterface.c:
4967 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4969 * docs/gst/gstreamer-sections.txt:
4970 * docs/gst/tmpl/.cvsignore:
4971 * docs/gst/tmpl/gstenumtypes.sgml:
4972 remove obsolete doc file
4974 2005-09-21 David Schleef <ds@schleef.org>
4976 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4977 little beer, fix a little leak.
4979 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4981 * docs/gst/gstreamer-docs.sgml:
4982 * docs/gst/gstreamer-sections.txt:
4983 * docs/gst/tmpl/.cvsignore:
4988 * gst/gstindex.c: (gst_index_class_init):
4990 * gst/gstindexfactory.c: (gst_index_factory_get_type),
4991 (gst_index_factory_class_init), (gst_index_factory_init),
4992 (gst_index_factory_finalize), (gst_index_factory_new),
4993 (gst_index_factory_destroy), (gst_index_factory_find),
4994 (gst_index_factory_create), (gst_index_factory_make):
4995 * gst/gstindexfactory.h:
4996 * gst/gstpluginfeature.c:
4997 * gst/gstpluginfeature.h:
4998 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4999 more docs inlined, splitted gstindex.{c,h}
5001 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5003 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5006 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5008 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5009 Set sync to FALSE by default.
5011 2005-09-20 Wim Taymans <wim@fluendo.com>
5013 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5014 (gst_base_sink_init):
5015 Make sync property settable from subclass.
5017 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5018 (gst_fake_sink_change_state):
5019 Set sync to FALSE by default.
5021 2005-09-20 Wim Taymans <wim@fluendo.com>
5023 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5024 * tools/gst-launch.c: (main):
5025 The timeout handler should have lower priority than the source
5026 so we don't timeout before popping a message with 0 timeout.
5027 Dump error messages after failed state change.
5029 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5031 * tools/gst-inspect.c: (print_element_properties_info):
5034 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5036 * check/gst/gstevent.c:
5037 * gst/elements/gstfakesink.c:
5038 * gst/elements/gstfakesink.h:
5039 remove the sync property from fakesink.
5040 has the side effect of setting sync TRUE
5041 for fakesink, which is a change. Anyone who knows how
5042 to fix this nicely in a GObject-y way, feel free.
5044 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5046 * docs/gst/gstreamer-docs.sgml:
5047 remove probe refsection
5049 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5051 * check/Makefile.am:
5052 disable valgrinding the controller test again
5053 * docs/gst/gstreamer-sections.txt:
5054 update for api-changes
5056 2005-09-20 Wim Taymans <wim@fluendo.com>
5058 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5059 (gst_base_sink_set_property), (gst_base_sink_get_property),
5060 (gst_base_sink_do_sync):
5061 * gst/base/gstbasesink.h:
5062 Added sync property to basesink to disable clock sync.
5064 2005-09-20 Andy Wingo <wingo@pobox.com>
5066 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5067 eating the caller's refcount.
5069 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5070 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5073 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5074 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5075 of GLib 2.8 public, so we can know which refcount to check in
5078 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5079 (gst_object_init): Only set the gst refcount if we're going ahead
5080 with the refcount hack.
5082 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5084 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5085 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5086 more leaks plumbed, added more debug-logging
5090 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5093 remove include of gstmemchunk.h
5095 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5097 * gst/gstclock.c: (_gst_clock_id_free):
5098 Commit from the Political Party For More Atomic CVS Commits,
5099 so that people don't waste too much of their day fishing
5100 out obvious leaks out of massive commits.
5101 Oh, and fix a pretty damn obvious leak in the memchunk
5104 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5106 * check/Makefile.am:
5107 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5108 plug mem-leak, re-add to valgrindable tests
5110 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5113 unbreak the build for those who have chronic arthritis
5114 and typing "make check" is just too taxing on the hands
5116 2005-09-20 Andy Wingo <wingo@pobox.com>
5118 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5119 really want it out, you should fix plugins at the same time.
5121 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5124 * docs/gst/gstreamer-sections.txt:
5126 added missing symbols to api docs
5127 disable ref-count hack if we have glib >= 2.8
5129 2005-09-19 David Schleef <ds@schleef.org>
5131 * docs/gst/Makefile.am: Ignore a few more internal headers
5132 * docs/gst/gstreamer-docs.sgml: Remove old sections
5133 * docs/gst/gstreamer-sections.txt: Remove old sections
5134 * docs/gst/tmpl/gstobject.sgml: update
5135 * docs/gst/tmpl/gstplugin.sgml: update
5136 * docs/gst/tmpl/gstpluginfeature.sgml: update
5137 * docs/random/ds/0.9-suggested-changes: update.
5138 * gst/Makefile.am: remove memchunk and trashstack, since they're
5140 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5141 * gst/gst.h: don't include some headers
5142 * gst/gstchildproxy.c: add gstmarshal.h
5143 * gst/gstclock.c: Don't use memchunks
5144 * gst/gstminiobject.c: Add some docs
5145 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5146 * gst/gstobject.h: same
5147 * gst/gstplugin.c: include gstmacros.h
5148 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5149 * gst/gstquery.c: don't use memchunks
5150 * gst/gstregistry.c: rename gst_registry_deinit()
5151 * gst/gstregistry.h: same
5153 2005-09-19 David Schleef <ds@schleef.org>
5155 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5156 * docs/libs/gstreamer-libs-sections.txt:
5157 * docs/libs/tmpl/gstgetbits.sgml:
5158 * docs/libs/tmpl/gstputbits.sgml:
5160 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5162 * win32/gstenumtypes.c:
5163 * win32/gstenumtypes.h:
5166 2005-09-19 Wim Taymans <wim@fluendo.com>
5168 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5169 Automatically PAUSE and RESUME a pipeline when a flushing seek
5172 2005-09-19 Andy Wingo <wingo@pobox.com>
5174 * gst/gstregistry.h: Spacing fixen.
5176 2005-09-19 Wim Taymans <wim@fluendo.com>
5178 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5179 Handle state change failure more correctly.
5181 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5183 * check/Makefile.am:
5184 * check/pipelines/cleanup.c: (run_pipeline):
5185 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5187 enable cleanup again after fixing the leak
5189 some more info on docs
5191 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5193 * check/Makefile.am:
5194 re-enable tests now that leaks are plugged
5196 * check/gst/gstbin.c:
5197 * check/gst/gstpipeline.c:
5198 add some more tests while fixing leaks
5200 make sure binaries are uptodate when valgrinding/gdbing
5202 * gst/gstelementfactory.c:
5203 remove a ref too many, and add a FIXME for when we get
5204 round to disposing of classes
5206 fix the refcounting when loading a plugin from a file and
5207 the code pretends that the pointer is the same even though
5208 of course it can change
5209 * gst/gstpluginfeature.c:
5210 unref plugins marked cached (a bit confusing as a name)
5211 as the docs state should be done
5212 various doc additions to explain refcounting
5213 * gst/gstregistry.c:
5214 * gst/gstregistryxml.c:
5217 2005-09-19 Wim Taymans <wim@fluendo.com>
5219 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5220 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5221 (send_messages), (GST_START_TEST), (gstbus_suite):
5222 * check/gst/gstpipeline.c: (GST_START_TEST):
5223 * check/pipelines/cleanup.c: (run_pipeline):
5224 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5226 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5227 (gst_bus_source_check), (gst_bus_source_dispatch),
5228 (gst_bus_create_watch), (gst_bus_add_watch_full),
5229 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5231 * tools/gst-launch.c: (event_loop):
5232 * tools/gst-md5sum.c: (event_loop):
5233 GstBusHandler -> GstBusFunc, return value has the same meaning as
5234 any other GSource (FALSE == remove source).
5235 _add_watch() and _add_watch_full() now take a MessageType mask to
5236 only handle specific types of messages.
5237 _poll() returns the GstMessage instead of the message type to avoid
5239 _have_pending() takes a MessageType mask now too.
5240 Added testsuite for multiple bus watches.
5241 Fix testsuites and applications for new bus API.
5243 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5245 * check/Makefile.am:
5246 mark a bunch of the tests as to fix until we fix them
5248 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5251 use GST_PLUGIN settings for valgrind tests as well, so we're
5252 valgrinding the correct thing
5253 * gst/gst.c: (init_post):
5256 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5258 * gst/gst.c: (init_post), (gst_deinit):
5259 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5260 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5261 * gst/gstindex.c: (gst_index_factory_class_init),
5262 (gst_index_factory_finalize):
5263 * gst/gstobject.c: (gst_object_dispose):
5264 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5265 (gst_plugin_load_file), (gst_plugin_desc_free):
5266 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5267 (gst_plugin_feature_finalize):
5268 * gst/gstregistry.c: (gst_registry_class_init),
5269 (gst_registry_init), (gst_registry_finalize),
5270 (gst_registry_get_default), (gst_registry_deinit):
5271 * gst/gstregistry.h:
5272 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5273 various cleanups and memleak plugging. make valgrind is happy now.
5275 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5278 add a check-valgrind target
5280 2005-09-18 David Schleef <ds@schleef.org>
5282 * tools/gst-inspect.c: Revert the GOption code.
5284 2005-09-17 David Schleef <ds@schleef.org>
5286 * check/Makefile.am: Fix environment variables.
5287 * check/gst/gstplugin.c: Fix for API changes.
5288 * tools/gst-inspect.c: Fix for API changes.
5289 * tools/gst-xmlinspect.c: Fix for API changes.
5290 * gst/gstelementfactory.c:
5293 * gst/gstpluginfeature.c:
5294 * gst/gstpluginfeature.h:
5295 * gst/gstregistry.c:
5296 * gst/gstregistry.h:
5297 * gst/gstregistryxml.c:
5298 * gst/gsttypefind.c:
5299 * gst/gsttypefindfactory.c:
5300 * gst/indexers/gstfileindex.c:
5301 * gst/indexers/gstmemindex.c:
5302 * gst/schedulers/Makefile.am:
5303 Change registry to keep track of both plugins and features,
5304 removing the feature tracking from plugins themselves.
5306 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5308 * check/Makefile.am:
5309 * tools/gst-register.1.in:
5312 2005-09-15 David Schleef <ds@schleef.org>
5314 * check/gst/gstplugin.c:
5315 * gst/gstelementfactory.c:
5317 * gst/gstpluginfeature.c:
5318 * gst/gstregistry.c:
5319 Getting tired of debugging. Disabled all the unreffing of
5320 plugins and features, which fixes the segfaults, but of
5321 course leaks like crazy. At least playbin works.
5323 2005-09-15 David Schleef <ds@schleef.org>
5325 * check/gst/gstplugin.c: (register_check_elements),
5326 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5328 * gst/elements/gsttypefindelement.c: Fix refcounting.
5329 * gst/gsttypefind.c:
5330 * gst/gsttypefindfactory.c:
5331 * gst/gsttypefindfactory.h:
5333 2005-09-15 David Schleef <ds@schleef.org>
5335 * gst/gstindex.c: get refcounting correct.
5336 * gst/gstregistry.c: Handle the case where a feature/plugin is
5339 2005-09-15 David Schleef <ds@schleef.org>
5341 * check/Makefile.am:
5342 * check/gst/gstplugin.c: Add test
5343 * gst/gstplugin.c: Fix problems noticed by testsuite
5345 * gst/gstregistry.c:
5346 * gst/gstregistry.h:
5348 2005-09-15 David Schleef <ds@schleef.org>
5350 * gst/gstplugin.c: Implement semi-decent recounting and locking
5351 in plugins and plugin features.
5353 * gst/gstpluginfeature.c:
5354 * gst/gstpluginfeature.h:
5355 * gst/gstregistry.c:
5357 2005-09-15 Michael Smith <msmith@fluendo.com>
5359 * gst/gstregistry.c: (gst_registry_get_feature_list):
5360 Implement this. Makes oggdemux work; decodebin still broken.
5362 2005-09-14 David Schleef <ds@schleef.org>
5364 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5366 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5367 * gst/check/Makefile.am:
5368 * libs/gst/controller/Makefile.am:
5369 * libs/gst/dataprotocol/Makefile.am:
5371 2005-09-14 David Schleef <ds@schleef.org>
5373 * configure.ac: Remove getbits library. Nothing uses it, and
5374 it should be in something like liboil if someone did want
5376 * libs/gst/Makefile.am:
5377 * libs/gst/getbits/Makefile.am:
5378 * libs/gst/getbits/gbtest.c:
5379 * libs/gst/getbits/getbits.c:
5380 * libs/gst/getbits/getbits.h:
5381 * libs/gst/getbits/gstgetbits_generic.c:
5382 * libs/gst/getbits/gstgetbits_i386.s:
5383 * libs/gst/getbits/gstgetbits_inl.h:
5385 2005-09-14 David Schleef <ds@schleef.org>
5387 * gst/Makefile.am: Dist glib-compat.h
5389 2005-09-14 David Schleef <ds@schleef.org>
5391 * configure.ac: Remove gst/registries, since it's no longer used.
5392 * gst/registries/Makefile.am:
5393 * gst/registries/gstlibxmlregistry.c:
5394 * gst/registries/gstlibxmlregistry.h:
5395 * gst/registries/gstxmlregistry.c:
5396 * gst/registries/gstxmlregistry.h:
5397 * gst/registries/registrytest.c:
5399 2005-09-14 David Schleef <ds@schleef.org>
5401 * gst/glib-compat.h:
5402 * gst/gstregistryxml.c:
5403 Convergence is near. Seriously.
5405 2005-09-14 David Schleef <ds@schleef.org>
5407 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5408 * gst/glib-compat.h:
5409 Attempt #4 to appease the buildbots.
5411 2005-09-14 David Schleef <ds@schleef.org>
5413 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5416 2005-09-14 David Schleef <ds@schleef.org>
5418 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5421 2005-09-14 David Schleef <ds@schleef.org>
5423 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5426 2005-09-14 David Schleef <ds@schleef.org>
5428 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5429 * gst/glib-compat.h: Add some functions that are in newer versions
5430 of glib than we care to require.
5431 * gst/gstregistryxml.c: Use them.
5433 2005-09-14 David Schleef <ds@schleef.org>
5435 * po/POTFILES.in: remove gst-register.c
5437 2005-09-14 David Schleef <ds@schleef.org>
5439 * docs/gst/gstreamer-docs.sgml:
5440 * docs/gst/gstreamer-sections.txt:
5441 * docs/gst/gstreamer.types:
5442 * docs/gst/tmpl/gstelement.sgml:
5443 * docs/gst/tmpl/gstplugin.sgml:
5444 * docs/gst/tmpl/gstpluginfeature.sgml:
5445 Documentation updates for registry changes.
5447 2005-09-14 David Schleef <ds@schleef.org>
5449 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5450 because we don't require glib-2.8.
5452 2005-09-14 David Schleef <ds@schleef.org>
5454 * gst/gstregistryxml.c: Added. Essentially moved out of the
5455 registries directory.
5457 2005-09-14 David Schleef <ds@schleef.org>
5459 * check/Makefile.am:
5460 * check/generic/states.c:
5464 * gst/gst_private.h:
5465 * gst/gstelementfactory.c:
5470 * gst/gstpluginfeature.c:
5471 * gst/gstpluginfeature.h:
5472 * gst/gstregistry.c:
5473 * gst/gstregistry.h:
5474 * gst/gstregistrypool.c: remove
5475 * gst/gstregistrypool.h: remove
5476 * gst/gsttypefind.c:
5477 * gst/gsttypefindfactory.c:
5479 * tools/Makefile.am:
5480 * tools/gst-compprep.c:
5481 * tools/gst-inspect.c:
5482 * tools/gst-register.c: remove
5483 * tools/gst-xmlinspect.c:
5484 Registry rewrite. Changes registry from being a file created
5485 by a tool into a simple cache file created automatically by
5486 libgstreamer. Removed gst-register (because it's no longer
5487 needed). Remove registry pools, because we only have one
5488 registry implementation (XML). Fix up other subsystems as
5491 2005-09-13 Michael Smith <msmith@fluendo.com>
5493 * gst/gstconfig.h.in:
5494 Don't Use windows linking attributes for MinGW. Fixes #316157
5496 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5498 * gst/gstutils.c: (set_state_async_thread_func),
5499 (gst_element_set_state_async):
5500 Apparently people think it's better if this function doesn't
5501 try to set the state to whatever state was asked for on the first
5502 call to this function for any object. Seriously.
5504 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5506 * check/gst/gstpipeline.c: (GST_START_TEST):
5507 * docs/gst/gstreamer-sections.txt:
5508 * gst/gstutils.c: (set_state_async_thread_func),
5509 (gst_element_set_state_async):
5511 add a "gst_element_set_state_async" method that
5512 sets the state and starts a thread to make sure the state
5513 change completes as best as it can
5515 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5517 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5518 codify design+behaviour in testsuite after discussion
5520 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5522 * docs/gst/tmpl/gstelement.sgml:
5523 * docs/manual/appendix-quotes.xml:
5525 * gst/gstelement.c: (gst_element_set_state):
5528 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5530 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5531 (gst_base_transform_prepare_output_buf),
5532 (gst_base_transform_handle_buffer):
5533 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5534 (gst_capsfilter_prepare_buf):
5535 Remove the requirement for sub-classes to call the parent
5536 implementation of prepare_output_buffer with a wrapper function.
5539 * gst/gsttagsetter.h:
5542 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5544 * docs/gst/gstreamer-sections.txt:
5547 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5549 * docs/gst/gstreamer-sections.txt:
5550 * docs/gst/tmpl/gstelement.sgml:
5551 * docs/gst/tmpl/gstplugin.sgml:
5552 * gst/gstminiobject.c:
5554 docs now stop throwing warnings
5556 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5558 * docs/gst/gstreamer-sections.txt:
5559 * docs/gst/gstreamer.types:
5560 * docs/gst/tmpl/gstpad.sgml:
5561 * docs/gst/tmpl/gsttypes.sgml:
5562 * gst/base/gstadapter.h:
5563 * gst/base/gstbasesink.h:
5564 * gst/base/gstbasesrc.h:
5574 * gst/gststructure.c:
5575 * gst/registries/gstlibxmlregistry.h:
5576 various documentation fixes
5578 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5580 * docs/gst/gstreamer-sections.txt:
5581 * docs/gst/tmpl/gstvalue.sgml:
5582 rearrange gstvalue section
5583 * gst/gstutils.c: (gst_element_state_get_name):
5585 * gst/gstvalue.c: (_gst_value_initialize):
5589 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5591 * check/gst-libs/controller.c:
5593 * gst/base/gstbasetransform.c:
5594 (gst_base_transform_default_prepare_buf),
5595 (gst_base_transform_handle_buffer):
5596 * gst/base/gstbasetransform.h:
5597 Some more basetransform changes and fixes to enable sub-classes
5598 that modify buffer metadata only.
5599 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5600 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5601 (gst_capsfilter_prepare_buf):
5602 If the output pad has fixed allowed caps and input buffers
5603 don't have any, set the fixed caps on outgoing buffers.
5605 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5606 * check/elements/identity.c: (GST_START_TEST):
5607 Make the error a little clearer when the test fails because
5608 identity made a copy of the buffer.
5609 * docs/gst/gstreamer-sections.txt:
5610 New symbols in gstbasetransform.h
5611 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5612 (gst_base_transform_init), (gst_base_transform_transform_size),
5613 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5614 (gst_base_transform_default_prepare_buf),
5615 (gst_base_transform_get_unit_size),
5616 (gst_base_transform_buffer_alloc),
5617 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5618 (gst_base_transform_change_state),
5619 (gst_base_transform_set_passthrough),
5620 (gst_base_transform_set_in_place),
5621 (gst_base_transform_is_in_place):
5622 * gst/base/gstbasetransform.h:
5623 Change BaseTransform to separate in_place operate from same_caps
5624 output. in_place implies that the element can perform the transform
5625 on incoming buffers in-place, even if the caps on the output are
5627 Sub-class elements can now implement special buffer allocation
5628 methods for outgoing buffers if they wish to.
5629 Big documentation addition.
5630 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5631 * gst/elements/gstelements.c:
5632 Changes for basetransform modifications.
5633 * gst/elements/Makefile.am:
5634 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5635 Compile fix. Extra debug output.
5637 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5639 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5641 add tests for valid pad naming
5642 * gst/check/gstcheck.c: (gst_check_log_message_func),
5643 (gst_check_log_critical_func):
5645 remove printing of code, it is fragile when the code contains
5646 % and the line number is enough info
5647 * gst/check/gstcheck.h:
5648 * gst/gstpad.c: (gst_pad_template_new):
5651 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5654 say what CHECK flags we use
5655 * docs/libs/gstreamer-libs.types:
5656 * libs/gst/controller/Makefile.am:
5657 * libs/gst/controller/gst-controller.c:
5658 * libs/gst/controller/gst-controller.h:
5659 * libs/gst/controller/gst-helper.c:
5660 * libs/gst/controller/gst-interpolation.c:
5661 * libs/gst/controller/gstcontroller.c:
5662 * libs/gst/controller/gsthelper.c:
5663 * libs/gst/controller/gstinterpolation.c:
5664 * tools/gst-inspect.c: (print_plugin_info):
5665 we don't use dashes in header names
5667 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5669 * check/Makefile.am:
5670 * check/gst/.cvsignore:
5671 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5672 (gst_pipeline_suite), (main):
5673 adding a test for pipelines and state changes
5674 * gst/gstutils.c: (get_state_func):
5676 * gstreamer.spec.in:
5679 2005-09-08 Michael Smith <msmith@fluendo.com>
5681 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5682 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5683 (gst_file_src_is_seekable), (gst_file_src_get_size),
5684 (gst_file_src_start):
5685 * gst/elements/gstfilesrc.h:
5686 Various fixes for unseekable, unmmapable, and non-normal files, so
5687 that fallback to read() rather than mmap() works.
5688 * gst/gstevent.c: (gst_event_new_newsegment):
5689 Allow newsegment events with segment_start == segment_end, as will
5690 correctly happen if you use filesrc on a zero-size file, for
5693 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5695 * gst/gstplugin.c: (gst_plugin_load_file):
5696 Call g_module_close when we don't load the module
5698 * gst/registries/gstlibxmlregistry.c:
5699 (gst_xml_registry_get_property):
5700 Port leak fix from 0.8
5702 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5704 * docs/gst/gstreamer-docs.sgml:
5705 * docs/gst/tmpl/.cvsignore:
5706 * docs/gst/tmpl/gsttrace.sgml:
5707 * docs/gst/tmpl/gsttrashstack.sgml:
5716 * gst/gsttaginterface.c:
5717 * gst/gsttaginterface.h:
5720 * gst/gsttagsetter.c:
5721 * gst/gsttagsetter.h:
5724 * gst/gsttrashstack.c:
5725 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5726 inlined docs for gsttrace, gsttrashstack
5728 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5731 * gst/elements/gstbufferstore.h:
5732 * gst/elements/gsttypefindelement.c:
5733 * gst/elements/gsttypefindelement.h:
5735 * gst/gsttypefind.c:
5736 * gst/gsttypefind.h:
5737 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5738 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5739 (gst_type_find_factory_dispose),
5740 (gst_type_find_factory_unload_thyself),
5741 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5742 (gst_type_find_factory_get_caps),
5743 (gst_type_find_factory_get_extensions),
5744 (gst_type_find_factory_call_function):
5745 * gst/gsttypefindfactory.h:
5746 * gst/registries/gstlibxmlregistry.c:
5747 * gst/registries/gstxmlregistry.c:
5748 splitted gsttypefind into gsttypefind, gsttypefindfactory
5750 2005-09-07 Andy Wingo <wingo@pobox.com>
5752 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5753 condition whereby the pad's task function is entered before the
5754 pad_mode variable was set.
5756 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5758 * gst/gstpad.c: (gst_pad_alloc_buffer):
5759 Catch misbehaving pad_alloc functions that don't
5760 set up caps and do it for them.
5762 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5764 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5766 * docs/gst/tmpl/.cvsignore:
5767 * docs/gst/tmpl/gstmemchunk.sgml:
5768 * docs/gst/tmpl/gstparse.sgml:
5769 * docs/gst/tmpl/gsttaglist.sgml:
5770 * docs/gst/tmpl/gsttagsetter.sgml:
5771 * docs/gst/tmpl/gsttypefind.sgml:
5772 * docs/gst/tmpl/gsttypefindfactory.sgml:
5773 * gst/gstmemchunk.c:
5776 * gst/gsttaginterface.c:
5777 * gst/gsttypefind.c:
5778 * gst/gsttypefind.h:
5781 === release 0.9.2 ===
5783 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5788 releasing 0.9.2, "South"
5790 2005-09-05 Andy Wingo <wingo@pobox.com>
5792 * gst/registries/gstxmlregistry.h:
5793 * gst/registries/gstxmlregistry.c: Um... resurrect...
5795 * gst/registries/gstxmlregistry.h:
5796 * gst/registries/gstxmlregistry.c: and update to newer API.
5797 Incidentally they should be a bit faster now that they don't have
5800 2005-09-05 Andy Wingo <wingo@pobox.com>
5802 * gst/registries/gstxmlregistry.h:
5803 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5804 replaced by the libxml registry a while back
5806 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5808 * docs/gst/tmpl/gstplugin.sgml:
5809 * gst/elements/gstelements.c:
5811 * gst/gstplugin.c: (gst_plugin_register_func),
5812 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5813 (gst_plugin_get_source):
5815 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5816 (gst_xml_registry_save_plugin):
5817 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5818 (gst_xml_registry_save_plugin):
5819 * tools/gst-inspect.c: (print_plugin_info):
5820 add a "source" plugin description field, to represent the source
5821 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5822 will set it to PACKAGE, which is automake's idea of the name of
5825 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5831 * docs/faq/Makefile.am:
5832 * docs/gst/tmpl/gstelement.sgml:
5833 * docs/gst/tmpl/gsttypes.sgml:
5834 * docs/htmlinstall.mak:
5835 * docs/manual/Makefile.am:
5836 * docs/pwg/Makefile.am:
5837 reorganize doc build a little
5838 split out docbook and gtk-doc stuff
5839 have two separate --enable's and enable them through autogen
5840 but disable by default in configure (to be similar to other
5842 * gstreamer.spec.in:
5843 clean up docs install
5863 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5865 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5868 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5869 (gst_fake_sink_change_state):
5870 Make state change function thread-safe.
5872 * gst/gstpad.c: (gst_pad_alloc_buffer):
5873 Set offset on generic buffer allocated by fallback.
5875 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5877 * docs/gst/gstreamer-sections.txt:
5878 * docs/gst/tmpl/gstelement.sgml:
5880 * libs/gst/controller/gst-controller.c:
5881 (gst_controlled_property_set_interpolation_mode),
5882 (gst_controlled_property_new),
5883 (gst_controller_find_controlled_property):
5884 run the wingo-magic script against the docs
5886 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5888 * docs/gst/gstreamer-docs.sgml:
5889 * docs/gst/gstreamer-sections.txt:
5890 * docs/gst/tmpl/.cvsignore:
5891 * docs/gst/tmpl/gstelementdetails.sgml:
5892 * docs/gst/tmpl/gstelementfactory.sgml:
5895 * gst/gstelementfactory.c:
5896 * gst/gstelementfactory.h:
5897 merged elementdetails docs into elementfactory docs
5900 2005-09-02 Andy Wingo <wingo@pobox.com>
5902 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5903 consider this enum an enum and not a flags.
5905 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5907 * docs/gst/gstreamer-docs.sgml:
5908 * docs/gst/tmpl/.cvsignore:
5909 * docs/gst/tmpl/gstghostpad.sgml:
5910 * docs/gst/tmpl/gstiterator.sgml:
5911 * docs/gst/tmpl/gstmacros.sgml:
5912 * docs/gst/tmpl/gstrealpad.sgml:
5913 * docs/gst/tmpl/gstregistry.sgml:
5914 * docs/gst/tmpl/gstregistrypool.sgml:
5915 * docs/gst/tmpl/gststructure.sgml:
5916 * docs/gst/tmpl/gstsystemclock.sgml:
5917 * docs/gst/tmpl/gsttrace.sgml:
5918 * gst/gstghostpad.c:
5920 * gst/gstmemchunk.c:
5921 * gst/gstmemchunk.h:
5923 * gst/gstregistry.c:
5924 * gst/gstregistrypool.c:
5925 * gst/gststructure.c:
5926 * gst/gstsystemclock.c:
5929 2005-09-02 Andy Wingo <wingo@pobox.com>
5931 * gst/gstelement.h (GstState): Renamed from GstElementState,
5932 changed to be a normal enum instead of flags.
5933 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5934 munged to be GST_STATE_CHANGE_*.
5935 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5936 work with the new state representation.
5937 (GstStateChange): New enumeration of possible state transitions.
5938 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5939 (GstElementClass::change_state): Pass the GstStateChange along as
5940 an argument. Helps language bindings, so they don't have to use
5941 tricky lock-needing macros like GST_STATE_CHANGE ().
5943 * scripts/update-states (file): New script. Run it on a file to
5944 update it for state naming and API changes. Updates files in
5947 * All files updated for the new API.
5949 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
5951 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5952 * gst/gstutils.c: (gst_util_set_value_from_string),
5953 (gst_util_set_object_arg):
5954 fix a bunch of unchecked return values
5955 * tools/gst-complete.c: (main):
5956 * gstreamer.spec.in:
5959 2005-09-01 Wim Taymans <wim@fluendo.com>
5961 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5962 (gst_base_sink_event), (gst_base_sink_do_sync),
5963 (gst_base_sink_handle_event):
5964 * gst/base/gstbasesink.h:
5965 Handle newsegments more correctly.
5970 * gst/gstevent.c: (gst_event_new_newsegment):
5971 A newsegment cannot have a start_time of -1
5973 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
5975 * win32/gstenumtypes.c:
5976 * win32/gstenumtypes.h:
5979 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5981 * libs/gst/controller/gst-controller.c:
5982 (gst_controlled_property_set_interpolation_mode),
5983 (gst_controlled_property_new):
5986 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
5988 * docs/faq/gst-uninstalled:
5993 * gst/gstutils.c: (gst_element_link_filtered):
5995 add gst_element_link_filtered
5997 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5999 * docs/gst/gstreamer-docs.sgml:
6000 * docs/gst/gstreamer-sections.txt:
6001 * docs/gst/tmpl/.cvsignore:
6002 * docs/gst/tmpl/gsterror.sgml:
6003 * docs/gst/tmpl/gstfilter.sgml:
6004 * docs/gst/tmpl/gsturihandler.sgml:
6005 * docs/gst/tmpl/gsturitype.sgml:
6006 * docs/gst/tmpl/gstutils.sgml:
6007 * docs/gst/tmpl/gstxml.sgml:
6015 inlined more docs, fixed double id-ref
6017 2005-08-31 Wim Taymans <wim@fluendo.com>
6019 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6020 (gst_base_transform_handle_buffer):
6021 Passthrough elements don't need the caps as they don't care.
6023 2005-08-31 Wim Taymans <wim@fluendo.com>
6025 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6026 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6027 Don't leak refcounts on buffers.
6029 2005-08-31 Wim Taymans <wim@fluendo.com>
6031 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6032 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6033 (gst_base_transform_chain), (gst_base_transform_change_state):
6034 * gst/base/gstbasetransform.h:
6035 Handle the case where we are not negotiated more gracefully.
6037 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6039 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6040 (gst_file_src_map_region):
6041 Set READONLY flag on mmap'ed buffers, otherwise
6042 gst_buffer_make_writable() won't work properly (#314708).
6044 2005-08-31 Wim Taymans <wim@fluendo.com>
6046 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6047 passthrough elements can even do inplace on non writable
6048 buffers (as they don't touch them).
6050 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6052 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6053 (gst_test_mono_source_set_property),
6054 (gst_test_mono_source_class_init), (GST_START_TEST),
6055 (gst_controller_suite):
6056 more tests (hehe I have the most)
6058 describe popping messages whenusing mulltiple sources
6059 * libs/gst/controller/gst-controller.c:
6060 (gst_controlled_property_set_interpolation_mode),
6061 (gst_controlled_property_new):
6062 * libs/gst/controller/gst-controller.h:
6063 * libs/gst/controller/gst-interpolation.c:
6064 implement boolean properties
6066 2005-08-31 Wim Taymans <wim@fluendo.com>
6068 * gst/gstminiobject.c: (gst_mini_object_ref):
6069 Cannot assert that the refcount has to be positive
6070 since a disposed object can be resurrected.
6072 2005-08-31 Wim Taymans <wim@fluendo.com>
6074 * gst/gstpad.c: (gst_pad_init):
6075 Revert change, need to first fix badly behaving
6078 2005-08-30 Wim Taymans <wim@fluendo.com>
6080 * check/elements/fakesrc.c: (setup_fakesrc):
6081 * check/elements/identity.c: (setup_identity):
6082 Activate pads before using them.
6084 2005-08-30 Wim Taymans <wim@fluendo.com>
6086 * gst/base/gstadapter.c: (gst_adapter_flush):
6087 Flushing out 0 bytes is ok for this function.
6089 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6090 no newsegment gives a warning and sets the start/stop to
6093 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6094 (gst_base_transform_set_passthrough):
6097 * gst/gstminiobject.c: (gst_mini_object_ref):
6098 Check refcount here too.
6100 * gst/gstpad.c: (gst_pad_init):
6101 Pads are initially flushing and refusing data.
6103 * gst/gstutils.c: (gst_element_link_pads_filtered):
6104 When adding a capsfilter element make sure it has the
6105 same state as the parent bin.
6107 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6109 * docs/gst/tmpl/.cvsignore:
6110 * docs/gst/tmpl/gstformat.sgml:
6111 * docs/gst/tmpl/gstversion.sgml:
6115 * gst/gstversion.h.in:
6116 more docs and two more inlined
6118 2005-08-30 Wim Taymans <wim@fluendo.com>
6120 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6121 Don't sync to clock.
6123 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6125 * docs/gst/gstreamer-sections.txt:
6126 ultral33t func10ns deserve to appear in the docs actually
6127 * docs/gst/tmpl/.cvsignore:
6128 * docs/gst/tmpl/gstcompat.sgml:
6129 * docs/gst/tmpl/gstconfig.sgml:
6130 * gst/check/gstcheck.c:
6132 * gst/gstconfig.h.in:
6135 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6137 * docs/gst/tmpl/.cvsignore:
6138 * docs/gst/tmpl/gstquery.sgml:
6139 * docs/gst/tmpl/gstutils.sgml:
6142 inlined and extended docs
6144 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6146 * check/gst-libs/controller.c: (GST_START_TEST),
6147 (gst_controller_suite):
6149 * docs/gst/tmpl/gstutils.sgml:
6150 * docs/libs/gstreamer-libs-sections.txt:
6151 * docs/libs/tmpl/gstdataprotocol.sgml:
6153 * examples/controller/audio-example.c: (main):
6154 controller example works now
6157 * tools/gst-inspect.c: (print_element_properties_info):
6158 show param spec flags
6160 2005-08-29 Andy Wingo <wingo@pobox.com>
6162 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6164 2005-08-28 Andy Wingo <wingo@pobox.com>
6166 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6167 as having two arguments instead of just one. Allows superclasses
6168 to access information on subclasses -- see the terrible for() loop
6169 in gtype.c:g_type_create_instance for the reason why. All callers
6172 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6174 * docs/design/part-messages.txt:
6176 * docs/gst/tmpl/.cvsignore:
6177 * docs/gst/tmpl/gstcaps.sgml:
6178 * docs/gst/tmpl/gstclock.sgml:
6185 added descriptions for bus and message
6186 inline caps and clock docs
6188 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6194 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6196 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6199 2005-08-26 Andy Wingo <wingo@pobox.com>
6201 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6202 element_set_state's return val.
6203 (test_2_elements): Add test that's been disabled for months.
6205 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6206 can-activate-pull properties.
6208 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6209 can-activate-pull properties. Implement is_seekable so fakesrc can
6210 operate in pull mode.
6212 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6214 (gst_base_sink_activate, gst_base_sink_activate_pull)
6215 (gst_base_sink_activate_push): Make activation mode choosing work.
6217 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6218 is right. Make pull mode work. Post an eos before pausing in pull
6220 (gst_base_sink_change_state): Pay attention to the core's
6221 change_state() return val.
6223 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6224 has-getrange properties. Cleanups.
6226 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6227 has_getrange and replace with can_activate_pull and
6230 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6231 locking comments. Remove has_loop, has_chain and replace with
6232 can_activate_pull and can_activate_push.
6234 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6237 * examples/Makefile.am:
6238 * examples/metadata/Makefile.am:
6239 * examples/metadata/read-metadata.c: (message_loop),
6240 (have_pad_handler), (make_pipeline), (print_tag), (main):
6241 Add metadata reading example that loops over a list of filenames,
6242 dumping any tags found.
6244 * gst/gstbus.c: (gst_bus_dispose):
6245 * gst/gstelement.c: (gst_element_dispose):
6246 Release a few potentially-held references in dispose.
6248 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6250 * docs/gst/tmpl/gstminiobject.sgml:
6251 do *not* add tmpl/*.sgml files to CVS!
6253 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6255 * libs/gst/bytestream/.cvsignore:
6256 * libs/gst/bytestream/Makefile.am:
6257 * libs/gst/bytestream/adapter.c:
6258 * libs/gst/bytestream/adapter.h:
6259 * libs/gst/bytestream/bytestream.c:
6260 * libs/gst/bytestream/bytestream.h:
6261 * libs/gst/bytestream/filepad.c:
6262 * libs/gst/bytestream/filepad.h:
6263 removing obsolete files
6265 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6267 * docs/gst/gstreamer-docs.sgml:
6268 * docs/libs/gstreamer-libs-docs.sgml:
6269 disabed additional index entries again, as this makes docs-gen just
6270 slow and they aren't useful yet
6271 * docs/libs/gstreamer-libs-sections.txt:
6272 little -section.txt cleanup for libs
6274 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6276 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6277 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6278 fix up some debugging
6279 (gst_base_transform_get_unit_size),
6280 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6281 (gst_base_transform_handle_buffer):
6282 * gst/base/gstbasetransform.h:
6283 handle and store timed NEWSEGMENT events so that subclasses that
6284 calculate time by counting samples have a segment_start time they
6285 need to add to their timestamps - see audioresample
6287 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6290 removed ';' from the end of macro defs
6291 * docs/gst/gstreamer-docs.sgml:
6292 * docs/gst/gstreamer-sections.txt:
6293 * docs/gst/tmpl/.cvsignore:
6295 * gst/gstelement.c: (gst_element_class_init),
6296 (gst_element_set_state), (activate_pads),
6297 (gst_element_save_thyself):
6298 * gst/gstevent.c: (gst_event_new_newsegment):
6300 * gst/gstiterator.c:
6301 * gst/gstiterator.h:
6304 * gst/gstutils.c: (gst_pad_query_convert):
6306 fixed parameter name mismatches between source, header and docs
6307 added some more docs, resolved the last batch of unused elements in
6308 docs (now someone needs to doc them)
6310 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6312 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6313 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6314 don't walk through the plugins backwards. Where is all this
6315 reversed logic coming from ?
6317 2005-08-25 Wim Taymans <wim@fluendo.com>
6319 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6320 (gst_base_transform_transform_size),
6321 (gst_base_transform_configure_caps),
6322 (gst_base_transform_get_unit_size),
6323 (gst_base_transform_buffer_alloc),
6324 (gst_base_transform_change_state):
6325 * gst/base/gstbasetransform.h:
6326 Cache caps unit_size.
6327 Make sure we cannot negotiate up and downstream at the
6330 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6332 * gst/gst.c: (init_pre), (init_post):
6333 register the installed plugin path after the env var
6334 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6335 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6336 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6337 directories, so the tests can prefer uninstalled over installed
6339 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6341 * gst/base/gstbasetransform.h:
6346 2005-08-25 Wim Taymans <wim@fluendo.com>
6348 * gst/gstbin.c: (bin_bus_handler):
6349 Be a bit more conservative about the posted message.
6351 * gst/gstbus.c: (gst_bus_post):
6352 Some cleanups, warn wrong return values.
6354 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6356 * check/gst/gstbin.c: (GST_START_TEST):
6357 * gst/gstbin.c: (bin_bus_handler):
6358 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6359 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6360 (gst_message_new_warning), (gst_message_new_tag),
6361 (gst_message_new_state_changed), (gst_message_new_segment_start),
6362 (gst_message_new_segment_done), (gst_message_new_custom):
6364 * tools/gst-launch.c: (event_loop):
6365 * tools/gst-md5sum.c: (event_loop):
6366 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6368 2005-08-25 Wim Taymans <wim@fluendo.com>
6370 * check/generic/states.c: (GST_START_TEST):
6371 Cleanup can be done at the end.
6373 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6374 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6375 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6376 Oh boy.. Thanks for finding this, Thomas.
6378 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6380 * docs/gst/gstreamer.types:
6383 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6385 * docs/gst/gstreamer-docs.sgml:
6386 * docs/gst/gstreamer-sections.txt:
6387 * docs/gst/tmpl/.cvsignore:
6389 * gst/gstiterator.c:
6391 * gst/registries/gstxmlregistry.h:
6392 added missing classes and symbols (123 more to go)
6393 removed removed symbols from section file
6394 fixed many doc-comments
6396 2005-08-24 Wim Taymans <wim@fluendo.com>
6398 * check/generic/states.c: (GST_START_TEST):
6399 Make sure all tasks are stopped.
6401 * check/gst/gstbin.c: (GST_START_TEST):
6402 Unref after usage for proper valgrinding.
6404 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6405 Really wait for the task to stop before destroying the
6408 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6409 (gst_queue_src_activate_push):
6410 Small cleanups. Don't stop the task when we did not start
6413 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6414 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6415 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6418 Protect the stream lock with the object lock.
6419 Disallow setting the stream lock when running.
6420 Add cleanup_all to wait for the threadpool to finish.
6421 Remove code to autoallocate a mutex if none was provided.
6422 Add _join() to wait for a task to stop.
6423 Protect the thread pool with a global lock.
6425 2005-08-24 Wim Taymans <wim@fluendo.com>
6427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6428 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6429 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6430 * gst/base/gstbasesink.h:
6431 Handle newsegment events correctly.
6432 Drop buffers out of the segment range.
6434 2005-08-22 Andy Wingo <wingo@pobox.com>
6436 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6437 macro, implements an interface and gstimplementsinterface for a
6440 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6442 * check/Makefile.am:
6443 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6444 add a test that does a bunch of state changes on elements
6445 needs some fixing for valgrind
6446 * check/states/sinks.c: (gst_object_suite):
6449 add prototype for gst_caps_is_equal_fixed
6451 * gst/gstregistrypool.c:
6454 2005-08-24 Andy Wingo <wingo@pobox.com>
6456 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6457 convert a negative value. Doesn't make much sense. Mostly this is
6458 here to force callers to ensure -1 maps to -1.
6460 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6462 * docs/pwg/advanced-types.xml:
6463 Well done to Michael for catching my deliberate introduction
6464 of this spelling mistake.
6465 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6467 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6468 unlink pads before removing the element from the bin.
6470 2005-08-24 Andy Wingo <wingo@pobox.com>
6472 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6473 the same thing as GST_DEBUG=*:4.
6474 (parse_debug_level, parse_debug_category): New helper parsers.
6476 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6478 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6479 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6480 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6481 (gst_base_transform_buffer_alloc),
6482 (gst_base_transform_handle_buffer):
6483 use gboolean return values and pointers to size so we can use the
6484 full GST_BUFFER_SIZE range (guint) for buffer sizes
6485 use GstPadDirection for transform_caps
6486 * gst/base/gstbasetransform.h:
6487 rename get_size to get_unit_size since that's what it is
6488 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6489 use GstPadDirection for transform_caps
6490 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6492 cleanup and debugging
6494 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6496 * gst/gstelement.c: (gst_element_class_init),
6497 (gst_element_set_state), (activate_pads),
6498 (gst_element_save_thyself):
6499 * tools/gst-compprep.c: (main):
6500 * tools/gst-inspect.c: (print_element_properties_info):
6501 * tools/gst-xmlinspect.c: (print_element_properties):
6502 Fixed long standing mem-leak
6504 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6506 * check/gst/gstbin.c: (GST_START_TEST):
6507 * gst/gstbin.c: (bin_bus_handler):
6508 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6509 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6510 (gst_message_new_warning), (gst_message_new_tag),
6511 (gst_message_new_state_changed), (gst_message_new_segment_start),
6512 (gst_message_new_segment_done), (gst_message_new_custom):
6514 * tools/gst-launch.c: (event_loop):
6515 * tools/gst-md5sum.c: (event_loop):
6516 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6517 that applications can sensibly post custom messages with references
6518 to their own objects.
6520 2005-08-24 Andy Wingo <wingo@pobox.com>
6522 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6525 2005-08-24 Wim Taymans <wim@fluendo.com>
6527 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6528 (gst_base_transform_transform_caps),
6529 (gst_base_transform_transform_size),
6530 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6531 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6532 (gst_base_transform_handle_buffer):
6533 * gst/base/gstbasetransform.h:
6534 Many fixes and new features added by Thomas. Can now also do
6535 transforms with variable sizes and a custom fixate_caps function.
6537 2005-08-24 Wim Taymans <wim@fluendo.com>
6539 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6543 Cast to ClockTime before formatting to time.
6548 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6550 * check/gst-libs/controller.c: (GST_START_TEST),
6551 (gst_controller_suite):
6552 * docs/gst/tmpl/gstcaps.sgml:
6553 * docs/gst/tmpl/gstghostpad.sgml:
6554 * docs/gst/tmpl/gstquery.sgml:
6555 * docs/gst/tmpl/gstutils.sgml:
6556 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6557 (gst_object_sink_values), (gst_object_get_value_arrays),
6558 (gst_object_get_value_array):
6559 gracefully handle helper method calls to objects that are not beeing
6560 controlled, added test case for that
6562 2005-08-23 Wim Taymans <wim@fluendo.com>
6564 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6565 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6566 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6567 (gst_event_parse_qos), (gst_event_new_seek),
6568 (gst_event_parse_seek):
6570 Some more debugging output and doc cleanups.
6572 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6573 Fix possible deadlock.
6575 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6577 * docs/gst/gstreamer-docs.sgml:
6578 * docs/gst/gstreamer-sections.txt:
6579 * docs/gst/gstreamer.types:
6580 * docs/gst/tmpl/.cvsignore:
6585 added 100 symbols from gstreamer-unused.txt to the right sections
6586 fixed more broken comments
6587 added GstBus to docs
6589 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6591 * docs/gst/gstreamer-sections.txt:
6592 * docs/gst/tmpl/.cvsignore:
6593 * docs/gst/tmpl/gstbin.sgml:
6594 * docs/gst/tmpl/gstbuffer.sgml:
6595 * gst/base/gstbasesrc.c:
6596 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6599 * tools/gst-launch.1.in:
6600 inlined more doc comments, added missing comments and fixed comments
6603 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6605 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6609 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6611 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6612 * gst/gststructure.h:
6613 add a fixate function for booleans; add a FIXME that these func
6614 names should probably be gst_structure_fixate_*
6616 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6618 * docs/gst/gstreamer-docs.sgml:
6619 * docs/gst/gstreamer-sections.txt:
6621 * gst/gstbin.c: (gst_bin_get_type),
6622 (gst_bin_child_proxy_get_child_by_index),
6623 (gst_bin_child_proxy_get_children_count),
6624 (gst_bin_child_proxy_init):
6625 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6626 (gst_child_proxy_get_child_by_index),
6627 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6628 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6629 (gst_child_proxy_get), (gst_child_proxy_set_property),
6630 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6631 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6632 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6633 * gst/gstchildproxy.h:
6634 * gst/parse/grammar.y:
6635 * tools/gst-inspect.c: (print_interfaces),
6636 (print_element_properties_info), (print_element_info):
6637 ported gstchildproxy over from 0.8
6638 ported gst-inspect fixes and enhancements over from 0.8
6640 2005-08-22 Wim Taymans <wim@fluendo.com>
6642 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6643 (gst_base_transform_handle_buffer):
6644 Also call the transform function if we have ANY caps.
6646 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6649 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6651 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6652 Don't pretend to handle seek events if the source is not seekable
6654 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6656 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6657 Remove extra parameter to debug output
6659 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6660 (gst_base_src_do_seek), (gst_base_src_activate_push):
6661 Fix seek event handling.
6663 * gst/gstpipeline.c: (gst_pipeline_change_state):
6664 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6665 (gst_queue_src_activate_push):
6666 Don't start the src pad task on FLUSH_STOP if the pad
6670 2005-08-22 Wim Taymans <wim@fluendo.com>
6672 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6673 Added check for gst_static_caps_get() refcounting.
6675 2005-08-22 Wim Taymans <wim@fluendo.com>
6677 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6678 Make _static_caps_get() refcounting sane.
6680 * gst/gstelement.c: (gst_element_set_state):
6681 Add g_return_val_if_fail() to protect against segfaults.
6683 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6685 * docs/gst/tmpl/gstevent.sgml:
6688 inlined remaining docs, added missing doc comments
6690 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6692 * check/gst/gstbin.c: (GST_START_TEST):
6693 since we don't know when preroll is done, use refcount range
6695 * gst/check/gstcheck.h:
6696 add macro for checking refcount range
6698 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6700 * check/Makefile.am:
6701 clean up environment for when registry gets built versus
6702 when actual tests are run; valgrind seems to not report
6703 leaks if GST_PLUGIN_PATH is set to some specific values
6704 * check/gst/gstbin.c: (GST_START_TEST):
6705 add more refcounting checks; maybe this exposes a
6708 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6709 * gst/check/gstcheck.h:
6710 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6711 (gst_bin_change_state):
6712 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6713 add/fix debugging/whitespace
6715 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6717 * check/gst/gstevent.c: (event_probe), (test_event),
6719 Er, don't call gst_bin_watch_for_state_change you idiot.
6721 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6723 * check/Makefile.am:
6724 Use CHECK_CFLAGS and CHECK_LIBS
6725 * check/gst/gstevent.c: (event_probe), (test_event),
6728 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6729 (gst_base_src_start), (gst_base_src_stop),
6730 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6731 (gst_base_src_change_state):
6732 Sprinkle gst_base_src_stop liberally around error paths to fix
6733 problems reusing a source after failed state changes.
6734 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6735 (helper_find_suggest), (gst_type_find_helper):
6736 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6738 * docs/gst/tmpl/gstevent.sgml:
6739 Migrate part of the docs from the SGML file. Wait for ensonic to
6740 tell me how I did it wrong ;)
6741 * tools/gst-typefind.c: (main):
6742 Extra robustness to state changes between files.
6744 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6746 * check/Makefile.am:
6747 don't valgrind the controller test - it's leaking - Stefan, HELP
6748 * gst/check/gstcheck.c: (gst_check_message_error),
6749 (gst_check_chain_func), (gst_check_setup_element),
6750 (gst_check_teardown_element), (gst_check_setup_src_pad),
6751 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6752 (gst_check_teardown_sink_pad):
6753 * gst/check/gstcheck.h:
6754 add a bunch of methods to set up elements, and src and sink pads
6755 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6756 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6761 whitespace/doc fixes
6763 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6766 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6767 be handled by the application and not always printed as well
6769 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6771 * check/Makefile.am:
6773 * gst/check/gstcheck.c: (gst_check_message_error):
6774 * gst/check/gstcheck.h:
6775 add a fail_unless_equals_int
6776 add fail_unless for error messages
6778 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6780 * check/Makefile.am:
6782 * common/Makefile.am:
6785 factor out some of the common stuff so we can use it
6787 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6789 * check/Makefile.am:
6790 * check/gst/gstiterator.c: (GST_START_TEST):
6791 * check/gst/gstsystemclock.c: (GST_START_TEST),
6792 (gst_systemclock_suite):
6793 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6797 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6799 * check/elements/.cvsignore:
6800 * check/elements/gstfakesrc.c:
6801 rename to name of element
6802 * check/elements/identity.c: (chain_func), (event_func),
6803 (setup_identity), (cleanup_identity), (GST_START_TEST),
6804 (identity_suite), (main):
6805 add a test for identity
6806 * check/Makefile.am:
6807 * pkgconfig/Makefile.am:
6808 * pkgconfig/gstreamer-check.pc.in:
6809 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6813 move the check stuff to a library that gets installed
6814 * check/gst-libs/controller.c: (GST_START_TEST):
6815 * check/gst-libs/gdp.c:
6816 * check/gst/gst.c: (GST_START_TEST):
6817 * check/gst/gstbin.c:
6818 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6819 * check/gst/gstbus.c:
6820 * check/gst/gstcaps.c: (GST_START_TEST):
6821 * check/gst/gstelement.c:
6822 * check/gst/gstghostpad.c:
6823 * check/gst/gstiterator.c:
6824 * check/gst/gstmessage.c:
6825 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6826 * check/gst/gstobject.c:
6827 * check/gst/gstpad.c: (GST_START_TEST):
6828 * check/gst/gststructure.c: (GST_START_TEST):
6829 * check/gst/gstsystemclock.c: (GST_START_TEST),
6830 (gst_systemclock_suite):
6831 * check/gst/gsttag.c: (gst_tag_suite):
6832 * check/gst/gstvalue.c:
6833 * check/pipelines/cleanup.c:
6834 * check/pipelines/simple_launch_lines.c:
6835 * check/states/sinks.c:
6836 change include statement
6838 * docs/gst/gstreamer-sections.txt:
6839 * docs/gst/tmpl/gstpad.sgml:
6840 document more pad stuff
6841 * gst/gstminiobject.c: (gst_mini_object_ref),
6842 (gst_mini_object_unref):
6845 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6847 * docs/gst/tmpl/gst.sgml:
6849 eliminate another tmpl file, fix spelling in the long-description
6851 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6853 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6854 (test_event), (timediff), (gstevents_suite):
6855 Should fix build on 64-bit arch's
6857 2005-08-18 Andy Wingo <wingo@pobox.com>
6859 Make sure that when a pipeline goes to PLAYING, that data has
6860 actually hit the sink.
6862 * check/states/sinks.c (test_sink): A sink that doesn't get any
6863 data shouldn't return SUCCESS for going to either PLAYING or
6864 PAUSED. Test also the return values on the way back down.
6866 * gst/gstelement.c (gst_element_set_state): When changing the
6867 state of an element currently changing state asynchronously, go to
6868 lost-state after commiting the pending state. Makes future calls
6869 to get_state continue to return ASYNC.
6871 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6872 ASYNC when going to PLAYING if we still don't have preroll, as can
6873 happen with live sources.
6875 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6877 * docs/pwg/advanced-types.xml:
6878 Hack long paragraph into 2 chunks as a workaround for buggy
6879 jadetex version in sid and breezy that loops infinitely and
6882 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6884 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6885 (test_event), (timediff), (gstevents_suite):
6886 Provide more error margin in clock measurements to allow for
6887 g_get_current_time inaccuracies.
6889 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6891 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6892 (test_event), (timediff), (gstevents_suite):
6893 Fix error message output so I might be able to tell why the
6894 test works here but fails on the build farm.
6896 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6898 * check/Makefile.am:
6899 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6900 (test_event), (timediff), (gstevents_suite), (main):
6903 * docs/design/part-seeking.txt:
6906 * docs/gst/tmpl/gstevent.sgml:
6907 * docs/gst/tmpl/gstfakesrc.sgml:
6910 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6911 Treat a buffer-without-newsegment the same as a receiving
6912 a newsegment not in time format, and disable syncing to the clock
6915 * gst/gstbus.c: (gst_bus_set_sync_handler):
6916 Assert if anyone tries to replace the existing sync_handler for bus,
6917 as only the owner should be setting it.
6920 Have a fixed set of custom event enums with events identified by
6921 their structure name (as in 0.8), rather than a free-for-all
6922 allowing collisions between enum values from different plugins.
6924 * gst/gstpad.c: (gst_pad_class_init):
6927 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6928 Handle out-of-band downstream events from the sending thread.
6930 2005-08-17 Andy Wingo <wingo@pobox.com>
6932 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6933 play-timeout==0 to mean no timeout at all. In that case, don't
6934 bother with a get_state or a warning, just return directly, even
6937 * gst/base/gstbasetransform.c: Debug changes.
6940 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6941 ensure bins post state change messages. A bit of a hack but I can't
6942 think of a way to avoid it.
6944 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6946 2005-08-16 Andy Wingo <wingo@pobox.com>
6948 * gst/base/gstadapter.h:
6949 * gst/base/gstadapter.c (gst_adapter_take): New function, like
6950 peek() but you own the data. Not terribly efficient atm.
6952 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6954 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6955 (gst_element_found_tags):
6957 Add two utility functions for tag handling.
6959 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6961 * docs/manual/advanced-dataaccess.xml:
6962 * docs/manual/basics-helloworld.xml:
6963 Fix docs to use _bin_add() before _link(), which fixes the examples
6964 with recent core versions (reported by Madhan Raj M
6965 <raj_madan@rediffmail.com>, #313199).
6967 2005-08-16 Wim Taymans <wim@fluendo.com>
6969 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6970 Added subtract checks.
6972 * docs/design/part-events.txt:
6973 Some more docs about newsegment
6975 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6978 * gst/gstcaps.c: (gst_caps_to_string):
6979 Add comments, cleanups.
6981 * gst/gstelement.c: (gst_element_save_thyself):
6984 * gst/gstvalue.c: (gst_value_collect_int_range),
6985 (gst_string_unwrap), (gst_value_union_int_int_range),
6986 (gst_value_union_int_range_int_range),
6987 (gst_value_intersect_int_int_range),
6988 (gst_value_intersect_int_range_int_range),
6989 (gst_value_intersect_double_double_range),
6990 (gst_value_intersect_double_range_double_range),
6991 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6992 (gst_value_subtract_int_range_int),
6993 (gst_value_subtract_double_range_double),
6994 (gst_value_subtract_double_range_double_range),
6995 (gst_value_subtract_from_list), (gst_value_subtract_list),
6996 (gst_value_can_compare), (gst_value_compare_fraction):
6997 Cleanups, add comments, remove unneeded asserts.
6999 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7001 * tools/gst-launch.c: (event_loop):
7002 don't convert NULL structures to strings
7004 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7006 * docs/gst/gstreamer-sections.txt:
7007 made some defines private
7008 * docs/gst/tmpl/gstconfig.sgml:
7009 * docs/gst/tmpl/gstqueue.sgml:
7010 * docs/gst/tmpl/gsttaglist.sgml:
7011 * docs/gst/tmpl/gsttypes.sgml:
7012 * docs/gst/tmpl/gstutils.sgml:
7013 * docs/pwg/appendix-porting.xml:
7014 * gst/base/gstbasesink.h:
7015 * gst/base/gstbasesrc.c:
7016 * gst/base/gstbasesrc.h:
7017 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7018 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7019 * gst/gstelement.c: (gst_element_class_init):
7020 * gst/gstpad.c: (gst_pad_class_init):
7021 * gst/gstqueue.c: (gst_queue_class_init):
7022 * gst/gstxml.c: (gst_xml_class_init):
7023 documented all undocumented signal inline
7024 * libs/gst/controller/gst-controller.h:
7027 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7029 * docs/pwg/appendix-porting.xml:
7030 Document _set_link_function -> _set_setcaps_function.
7032 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7034 * check/Makefile.am:
7035 add a .check target for running the check
7036 * check/gst-libs/controller.c: (GST_START_TEST):
7038 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7039 complete checks for gstbuffer; would be nice if I could get the
7040 gcov stuff to work so I can see if I actually completed gstbuffer.c
7042 add ASSERT_BUFFER_REFCOUNT
7044 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7046 * docs/gst/gstreamer-sections.txt:
7047 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7049 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7050 spew out a warning if a tag that is already registered
7051 is re-registered, unless it is re-registered with a
7052 different type (#308438).
7054 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7056 * docs/pwg/appendix-porting.xml:
7057 * docs/pwg/building-state.xml:
7058 Add some paragraphs about state changes in 0.9 to the PWG
7059 and the porting guide, in particular about the new meaning
7060 of GST_STATE_PAUSED and how to write state change functions
7061 with concurrent access by multiple threads in mind.
7063 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7065 * docs/gst/gstreamer-docs.sgml:
7066 * docs/libs/gstreamer-libs-docs.sgml:
7067 added deprecation and since indexes
7068 * libs/gst/controller/gst-controller.c:
7069 * libs/gst/controller/gst-helper.c:
7073 2005-08-11 Wim Taymans <wim@fluendo.com>
7075 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7076 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7077 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7078 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7079 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7080 (gst_ghost_pad_set_target):
7081 Actually implement (re)setting the target on a ghostpad
7082 as described in the docs.
7084 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7086 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7087 Check whether GST_DEBUG_NO_COLOR environment variable is
7088 set and disable coloured debug output if that is the case.
7090 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7092 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7093 (gst_type_find_helper):
7094 The memory returned by gst_type_find_peek() needs to
7095 stay valid until the end of a typefind function, and
7096 typefind functions may keep results from different
7097 offsets around, so we can't just unref the buffer from
7098 the previous _peek(), but have to save all buffers
7099 returned by _peek() until typefinding is done and only
7102 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7104 * docs/gst/gstreamer-sections.txt:
7106 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7108 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7110 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7111 Fix a pretty good memleak.
7113 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7115 * gst/gstiterator.h:
7116 Fix wrong include and 'make distcheck'.
7118 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7120 * gst/gstbin.c: (bin_bus_handler):
7121 Use gst_element_post_message() instead.
7123 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7125 * gst/base/gstadapter.h:
7126 * gst/base/gstbasesink.h:
7127 * gst/base/gstbasesrc.h:
7128 * gst/base/gstbasetransform.h:
7129 * gst/base/gstcollectpads.h:
7130 * gst/base/gstpushsrc.h:
7131 * gst/gstiterator.h:
7132 Add padding to our base elements' class and instance structs and
7133 to GstIterator (you will need to rebuild all plugins and apps!)
7135 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7137 * gst/gstbin.c: (bin_bus_handler):
7138 Make default message forwarding from child->bus to bin->bus
7139 threadsafe and make it not emit warnings if the parent has no bus.
7141 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7143 * gst/gstelement.c: (activate_pads):
7144 On paused->ready, set pad->caps to NULL, as is the documented
7145 behaviour in this state change. Fixes playback of series of
7146 media files when visualization is enabled in Totem.
7148 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7150 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7151 Allow NULL as filter-caps (which means "any").
7153 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7155 * docs/libs/gstreamer-libs-sections.txt:
7156 * libs/gst/controller/gst-controller.c:
7157 * libs/gst/controller/gst-controller.h:
7158 * libs/gst/controller/gst-helper.c:
7159 adding more entries to the docs and fix small doc-bugs
7161 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7163 * docs/gst/gstreamer-docs.sgml:
7164 * docs/gst/gstreamer-sections.txt:
7165 * docs/gst/gstreamer.types:
7166 * docs/gst/tmpl/gstbasesink.sgml:
7167 * docs/gst/tmpl/gstbasesrc.sgml:
7168 * docs/gst/tmpl/gstbasetransform.sgml:
7169 * docs/gst/tmpl/gstfakesrc.sgml:
7170 * gst/base/gstcollectpads.c:
7171 * gst/base/gstcollectpads.h:
7172 * libs/gst/controller/gst-controller.c:
7173 * libs/gst/controller/gst-controller.h:
7174 * libs/gst/controller/gst-helper.c:
7175 * libs/gst/controller/gst-interpolation.c:
7176 * libs/gst/controller/lib.c:
7177 added long/short desc for controller docs
7178 added collectpads base class docs
7179 added correct includes to base-class docs
7181 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7183 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7184 (gst_test_mono_source_set_property),
7185 (gst_test_mono_source_class_init), (GST_START_TEST),
7186 (gst_controller_suite):
7187 * docs/gst/gstreamer-docs.sgml:
7188 * docs/gst/gstreamer-sections.txt:
7189 * docs/gst/gstreamer.types:
7190 * docs/libs/gstreamer-libs-docs.sgml:
7191 * docs/libs/gstreamer-libs-sections.txt:
7192 * gst/base/gstadapter.c:
7193 * libs/gst/controller/gst-controller.c:
7194 (gst_controlled_property_new), (gst_controlled_property_free),
7195 (gst_controller_new_valist),
7196 (gst_controller_remove_properties_valist),
7197 (gst_controller_sink_values), (_gst_controller_finalize):
7198 * libs/gst/controller/gst-controller.h:
7199 * libs/gst/controller/gst-helper.c:
7200 (gst_object_control_properties), (gst_object_uncontrol_properties),
7201 (gst_object_get_controller), (gst_object_set_controller),
7202 (gst_object_sink_values), (gst_object_get_value_arrays),
7203 (gst_object_get_value_array):
7204 more tests (and fixes) for the controller
7205 more docs for the controller
7206 integrated companies docs for the adapter
7208 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7210 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7211 (GST_START_TEST), (fakesrc_suite):
7212 add tests for sizetype
7214 2005-08-04 Andy Wingo <wingo@pobox.com>
7216 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7217 fixes buffer_alloc proxying among other things.
7219 * gst/base/gstbasetransform.c:
7220 * gst/base/gstbasetransform.h:
7221 Revert patch to gstbasetransform from 7-28 removing
7224 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7225 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7226 Semantics changed, should return not the size of the output buffer
7227 but the byte size of a buffer with a given caps.
7229 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7231 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7232 out) are not the pad caps until setcaps finishes.
7233 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7234 not-in-place case as well. Deal with changing from in-place to
7235 not-in-place within calling pad_alloc_buffer. Still a bit
7236 concerned about the overhead here...
7238 2005-08-03 Andy Wingo <wingo@pobox.com>
7240 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7241 fixating is an error.
7243 2005-08-04 Edward Hervey <edward@fluendo.com>
7245 * gst/base/gstadapter.h:
7246 Added gst_adapter_get_type() to the header
7248 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7250 * check/Makefile.am:
7251 * check/gst-libs/controller.c:
7252 * libs/gst/controller/gst-controller.c:
7253 (gst_controller_new_valist):
7254 added check test suite for the controller
7255 * gst/base/gstpushsrc.c:
7258 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7260 * docs/gst/Makefile.am:
7261 * docs/gst/gstreamer-docs.sgml:
7262 * docs/gst/gstreamer-sections.txt:
7263 * docs/gst/gstreamer.types:
7264 * docs/gst/tmpl/gstfakesrc.sgml:
7266 * gst/base/gstbasesink.c:
7267 * gst/base/gstbasesink.h:
7268 * gst/base/gstbasesrc.c:
7269 * gst/base/gstbasesrc.h:
7270 * gst/base/gstbasetransform.c:
7271 * gst/base/gstpushsrc.c:
7272 * gst/base/gstpushsrc.h:
7273 add short/long description docs to base classes
7274 add pushsrc to the docs
7275 remove consolidated doc fragments
7277 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7280 * docs/libs/Makefile.am:
7281 * docs/libs/gstreamer-libs-docs.sgml:
7282 * docs/libs/gstreamer-libs-sections.txt:
7283 * docs/libs/gstreamer-libs.types:
7284 * examples/Makefile.am:
7285 * examples/controller/.cvsignore:
7286 * examples/controller/Makefile.am:
7287 * examples/controller/audio-example.c: (main):
7288 * libs/gst/Makefile.am:
7289 * libs/gst/controller/.cvsignore:
7290 * libs/gst/controller/Makefile.am:
7291 * libs/gst/controller/gst-controller.c:
7292 (on_object_controlled_property_changed), (gst_timed_value_compare),
7293 (gst_timed_value_find),
7294 (gst_controlled_property_set_interpolation_mode),
7295 (gst_controlled_property_new), (gst_controlled_property_free),
7296 (gst_controller_find_controlled_property),
7297 (gst_controller_new_valist), (gst_controller_new),
7298 (gst_controller_remove_properties_valist),
7299 (gst_controller_remove_properties), (gst_controller_set),
7300 (gst_controller_set_from_list), (gst_controller_unset),
7301 (gst_controller_get), (gst_controller_get_all),
7302 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7303 (gst_controller_get_value_array),
7304 (gst_controller_set_interpolation_mode),
7305 (_gst_controller_finalize), (_gst_controller_init),
7306 (_gst_controller_class_init), (gst_controller_get_type):
7307 * libs/gst/controller/gst-controller.h:
7308 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7309 (g_object_uncontrol_properties), (g_object_get_controller),
7310 (g_object_set_controller), (g_object_sink_values),
7311 (g_object_get_value_arrays), (g_object_get_value_array):
7312 * libs/gst/controller/gst-interpolation.c:
7313 (gst_controlled_property_find_timed_value_node),
7314 (interpolate_none_get), (interpolate_trigger_get),
7315 (interpolate_trigger_get_value_array):
7316 * libs/gst/controller/lib.c: (gst_controller_init):
7317 * pkgconfig/Makefile.am:
7318 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7319 * pkgconfig/gstreamer-control.pc.in:
7320 * testsuite/Makefile.am:
7321 * testsuite/controller/.cvsignore:
7322 * testsuite/controller/Makefile.am:
7323 * testsuite/controller/interpolator.c: (main):
7324 added controller code
7325 removed dparam pc files
7327 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7328 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7329 (gst_collectpads_stop):
7330 Broadcast the condition when shutting down, to make sure we wake all
7331 threads up. Shut down pads on finalize, for safety.
7333 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7334 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7335 (gst_base_transform_handle_buffer),
7336 (gst_base_transform_change_state):
7337 Handle PAUSED->READY->PAUSED transition after negotiation
7339 * gst/gstmessage.c: (gst_message_init):
7340 Extra piece of debug for new messages.
7342 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7345 * docs/gst/tmpl/gstbasesrc.sgml:
7346 * docs/gst/tmpl/gstelement.sgml:
7347 * docs/gst/tmpl/gstevent.sgml:
7348 * docs/gst/tmpl/gstfakesrc.sgml:
7349 * docs/gst/tmpl/gstformat.sgml:
7350 * docs/gst/tmpl/gstghostpad.sgml:
7351 * docs/gst/tmpl/gstpad.sgml:
7352 * docs/gst/tmpl/gstquery.sgml:
7353 * docs/gst/tmpl/gststructure.sgml:
7354 * docs/gst/tmpl/gsttaglist.sgml:
7355 * docs/gst/tmpl/gstvalue.sgml:
7356 * docs/libs/gstreamer-libs-docs.sgml:
7357 * docs/libs/gstreamer-libs-sections.txt:
7358 * docs/libs/gstreamer-libs.types:
7359 * libs/gst/Makefile.am:
7360 * libs/gst/control/.cvsignore:
7361 * libs/gst/control/Makefile.am:
7362 * libs/gst/control/control.c:
7363 * libs/gst/control/control.h:
7364 * libs/gst/control/dparam.c:
7365 * libs/gst/control/dparam.h:
7366 * libs/gst/control/dparam_smooth.c:
7367 * libs/gst/control/dparam_smooth.h:
7368 * libs/gst/control/dparamcommon.h:
7369 * libs/gst/control/dparammanager.c:
7370 * libs/gst/control/dparammanager.h:
7371 * libs/gst/control/dplinearinterp.c:
7372 * libs/gst/control/dplinearinterp.h:
7373 * libs/gst/control/unitconvert.c:
7374 * libs/gst/control/unitconvert.h:
7375 * testsuite/Makefile.am:
7376 * testsuite/dynparams/.cvsignore:
7377 * testsuite/dynparams/Makefile.am:
7378 * testsuite/dynparams/dparamstest.c:
7379 * tools/Makefile.am:
7380 * tools/gst-inspect.c: (print_element_info), (main):
7381 * tools/gst-xmlinspect.c: (print_element_info), (main):
7382 deactivate and remove dparams (libgstcontrol)
7384 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7386 * gst/elements/gsttypefindelement.c:
7387 (gst_type_find_element_have_type), (gst_type_find_element_init),
7388 (stop_typefinding), (gst_type_find_element_handle_event),
7389 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7390 * gst/elements/gsttypefindelement.h:
7391 Set caps on all outgoing buffers, not just the first one.
7393 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7395 * gst/elements/gsttypefindelement.c:
7396 (gst_type_find_element_have_type),
7397 (gst_type_find_element_check_set_buffer_caps),
7398 (gst_type_find_element_init), (stop_typefinding),
7399 (gst_type_find_element_handle_event),
7400 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7401 * gst/elements/gsttypefindelement.h:
7402 Set caps on first outgoing buffer when we've found the type.
7404 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7406 * docs/gst/gstreamer-docs.sgml:
7407 * docs/gst/gstreamer-sections.txt:
7408 * docs/gst/tmpl/gstscheduler.sgml:
7409 * docs/gst/tmpl/gstschedulerfactory.sgml:
7410 Remove some old cruft from docs.
7412 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7415 Fix inline docs for GstPadLinkReturn.
7417 * gst/gststructure.c: (gst_structure_has_name):
7418 * gst/gststructure.h:
7419 * docs/gst/gstreamer-sections.txt:
7420 New API: gst_structure_has_name().
7422 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7425 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7426 and _LARGEFILE_SOURCE in config.h as required. Do not
7427 export those flags in our .pc files any longer (#142209).
7429 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7431 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7432 (gst_file_sink_do_seek), (gst_file_sink_event),
7433 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7434 Redo seek/tell calls with large file support in mind; add some
7435 debugging messages; add log message that tells us when large
7436 file support is unavailable or not enabled for some reason.
7438 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7439 Add log message that tells us when large file support
7440 is unavailable or not enabled for some reason.
7442 2005-07-29 Wim Taymans <wim@fluendo.com>
7444 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7445 Added test for removing an element with ghostpad from a bin.
7446 Fixed test as current implementation does the right thing.
7448 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7449 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7450 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7451 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7452 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7453 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7454 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7455 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7456 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7457 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7458 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7459 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7460 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7461 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7462 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7463 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7464 * gst/gstghostpad.h:
7465 Clean up ghostpads, remove properties for internal stuff.
7468 Prepare for switching targets, not all use cases work yet.
7470 2005-07-29 Wim Taymans <wim@fluendo.com>
7472 * docs/design/part-gstghostpad.txt:
7475 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7476 (gst_bin_remove_func):
7477 Unlinking pads while holding the bin LOCK is not a good
7480 * gst/gstpad.c: (gst_pad_class_init),
7481 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7482 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7483 No prob setting template after creating the pad.
7485 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7487 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7488 (gst_bus_peek), (gst_bus_source_dispatch),
7489 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7490 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7491 gst_bus_poll may be called from other threads. Handle
7492 this nicely by not making poll_data disappear off the
7493 stack once gst_bus_poll returns.
7494 gst_bus_peek now increments the refcount on the returned
7497 2005-07-29 Wim Taymans <wim@fluendo.com>
7499 * docs/design/part-gstghostpad.txt:
7500 Overview of current GhostPad datastructures and use
7501 cases for changing the target.
7503 2005-07-28 Wim Taymans <wim@fluendo.com>
7505 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7506 Added checks for hierarchy consistency whan adding linked
7509 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7510 Added check to test element scheduling without bin/pipeline.
7512 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7513 First add elements to bin, then link.
7515 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7516 (gst_bin_remove_func):
7517 Unlink pads from elements added/removed from bin to maintain
7518 hierarchy consistency.
7520 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7522 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7523 (gst_base_transform_handle_buffer):
7524 * gst/base/gstbasetransform.h:
7525 Remove broken delay_configure (fixes renegotiation of software
7526 scaling pipelines); remove some leftover printf()s.
7528 2005-07-28 Wim Taymans <wim@fluendo.com>
7530 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7531 Added some more tests for wrong hierarchy
7533 * docs/design/part-overview.txt:
7536 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7539 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7540 (gst_element_dispose):
7543 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7544 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7545 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7546 (gst_pad_set_caps), (gst_pad_send_event):
7547 Check for correct hierarchy when linking pads. Moving to
7548 strict requirement for ghostpads when linking elements in
7552 Clean ups. Added WRONG_HIERARCHY return value.
7554 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7556 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7557 Better debug if no transform is possible.
7559 2005-07-27 Wim Taymans <wim@fluendo.com>
7561 * docs/random/wtay/network-transp:
7564 2005-07-27 Wim Taymans <wim@fluendo.com>
7566 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7567 (gst_dp_event_from_packet):
7568 Fix serialization of seek events.
7570 2005-07-27 Wim Taymans <wim@fluendo.com>
7572 * check/gst-libs/gdp.c: (GST_START_TEST):
7573 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7574 Fix compilation and fix event serialization.
7576 2005-07-27 Wim Taymans <wim@fluendo.com>
7579 * docs/design/part-TODO.txt:
7580 * docs/design/part-events.txt:
7583 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7584 (gst_base_sink_event), (gst_base_sink_do_sync),
7585 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7586 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7587 (gst_base_src_do_seek), (gst_base_src_event_handler),
7588 (gst_base_src_loop):
7589 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7590 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7591 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7592 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7593 (gst_base_transform_set_passthrough),
7594 (gst_base_transform_is_passthrough):
7595 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7596 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7602 * gst/gstelement.c: (gst_element_seek):
7604 Update gst_element_seek.
7606 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7607 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7608 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7609 (gst_event_new_eos), (gst_event_new_newsegment),
7610 (gst_event_parse_newsegment), (gst_event_new_tag),
7611 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7612 (gst_event_parse_qos), (gst_event_new_seek),
7613 (gst_event_parse_seek), (gst_event_new_navigation):
7615 Make GstEvent use GstStructure. Add parsing code, make sure the
7616 API is sufficiently generic.
7617 Mark possible directions of events and serialization.
7619 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7620 (_gst_message_copy), (gst_message_new_segment_start),
7621 (gst_message_new_segment_done), (gst_message_new_custom),
7622 (gst_message_parse_segment_start),
7623 (gst_message_parse_segment_done):
7626 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7627 (gst_pad_set_caps), (gst_pad_send_event):
7628 Update for new events.
7629 Catch events sent in wrong directions.
7631 * gst/gstqueue.c: (gst_queue_link_src),
7632 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7633 (gst_queue_handle_src_query):
7638 Remove event code from this file.
7640 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7641 (gst_dp_event_from_packet):
7644 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7646 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7647 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7648 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7649 Make debugging actually useful.
7651 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7653 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7654 (gst_pad_fixate_caps):
7655 Implement default fixation once again, so that gst_pad_fixate()
7656 actually does anything at all. This probably needs to be some
7657 sort of a last resort, and use profile-based fixation first, but
7658 since that doesn't exist yet, this is the best we have. Fixes
7659 visualization in Totem.
7661 2005-07-22 Wim Taymans <wim@fluendo.com>
7663 * docs/design/part-events.txt:
7666 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7667 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7668 (gst_base_sink_activate_pull):
7671 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7672 (gst_fake_src_create):
7673 Fix handoff marshall.
7675 * gst/elements/gstidentity.c: (gst_identity_class_init),
7676 (gst_identity_transform_ip):
7677 We're a real inplace element.
7679 * gst/gstbus.c: (gst_bus_post):
7680 Added some comments.
7682 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7683 * tests/muxing/case1.c: (main):
7684 * tests/sched/dynamic-pipeline.c: (main):
7685 * tests/sched/interrupt1.c: (main):
7686 * tests/sched/interrupt2.c: (main):
7687 * tests/sched/interrupt3.c: (main):
7688 * tests/sched/runxml.c: (main):
7689 * tests/sched/sched-stress.c: (main):
7690 * tests/seeking/seeking1.c: (event_received), (main):
7691 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7693 * tests/threadstate/threadstate3.c: (main):
7694 * tests/threadstate/threadstate4.c: (main):
7695 * tests/threadstate/threadstate5.c: (main):
7698 2005-07-21 Wim Taymans <wim@fluendo.com>
7700 * docs/design/part-seeking.txt:
7701 Some small additions.
7703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7704 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7705 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7706 * gst/base/gstbasesink.h:
7707 discont values are gint64, handle the math correctly.
7709 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7710 Make the basesrc report error if the source pad is not linked.
7712 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7713 (gst_queue_loop), (gst_queue_handle_src_query),
7714 (gst_queue_src_activate_push):
7715 Make queue collect data even if the srcpad is not linked.
7716 Start pushing out data as soon as it is linked.
7718 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7720 Added gst_flow_get_name() to ease error reporting.
7722 2005-07-20 Wim Taymans <wim@fluendo.com>
7724 * gst/gstmessage.c: (gst_message_new_segment_start),
7725 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7726 (gst_message_parse_segment_done):
7728 Added a bunch of messages for advanced seeking.
7730 * gst/parse/grammar.y:
7731 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7732 (gst_dpman_state_changed):
7733 Fix some new-pad -> pad-added signals
7735 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7737 * docs/manual/appendix-porting.xml:
7738 * docs/pwg/appendix-porting.xml:
7739 Document new-pad/state-change signal renames and the FixedList
7742 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7744 * docs/manual/advanced-autoplugging.xml:
7745 * docs/manual/basics-helloworld.xml:
7746 * docs/manual/basics-pads.xml:
7747 * docs/random/ds/0.9-suggested-changes:
7748 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7753 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7754 (gst_structure_parse_array), (gst_structure_parse_value):
7755 * gst/gstvalue.c: (gst_type_is_fixed),
7756 (gst_value_list_prepend_value), (gst_value_list_append_value),
7757 (gst_value_list_get_size), (gst_value_list_get_value),
7758 (gst_value_transform_array_string), (gst_value_serialize_array),
7759 (gst_value_deserialize_array), (gst_value_intersect_array),
7760 (gst_value_is_fixed), (_gst_value_initialize):
7762 GstElement::new-pad -> pad-added, GstElement::state-change ->
7763 state-changed, GstValueFixedList -> GstValueArray, add format and
7764 flags as their own arguments in gst_element_seek() (should improve
7765 "bindeability"), remove function generators since they don't work
7766 under a whole bunch of compilers (they were deprecated already
7769 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7771 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7772 (_gst_debug_register_funcptr):
7774 Fix illegal cast on some platforms (#309253).
7776 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7778 * gst/gstmessage.c: (gst_message_new_custom):
7780 Add _new_custom, make _new_application a macro to _new_custom.
7782 2005-07-20 Wim Taymans <wim@fluendo.com>
7784 * gst/base/gstbasesrc.c: (gst_base_src_init),
7785 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7786 * gst/base/gstbasesrc.h:
7787 Add a gboolean to decide when to push out a discont.
7789 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7790 (gst_queue_loop), (gst_queue_handle_src_query),
7791 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7792 (gst_queue_set_property), (gst_queue_get_property):
7795 * tests/threadstate/threadstate1.c: (main):
7796 Make a thread test compile and run... very silly..
7799 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7801 * docs/manual/appendix-porting.xml:
7802 Mention removal of libgstgconf-0.9.la and existence of gconf
7805 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7807 * docs/pwg/advanced-clock.xml:
7808 * docs/pwg/appendix-porting.xml:
7809 * docs/pwg/intro-preface.xml:
7810 * docs/pwg/other-base.xml:
7811 * docs/pwg/other-manager.xml:
7812 * docs/pwg/other-nton.xml:
7813 * docs/pwg/other-ntoone.xml:
7814 * docs/pwg/other-oneton.xml:
7816 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7817 demuxer), remove n-to-n (was never written), fix some code examples
7818 and links and update the porting section to include all this.
7820 2005-07-19 Wim Taymans <wim@fluendo.com>
7822 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7823 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7824 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7825 (gst_queue_src_activate_push), (gst_queue_change_state),
7826 (gst_queue_get_property):
7828 Propagate GstFlowReturn more intelligently upstream and output
7829 an ERROR/EOS when streaming stopped due to fatal error.
7831 2005-07-19 Wim Taymans <wim@fluendo.com>
7833 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7834 Don't block forever for the state change to complete, the
7835 pipeline already did with a sensible timeout.
7837 2005-07-19 Wim Taymans <wim@fluendo.com>
7839 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7840 Make sure we never call the create function is we
7843 2005-07-19 Andy Wingo <wingo@pobox.com>
7845 * gst/parse/parse.l: Attempt to solve bug #172815.
7847 2005-07-19 Wim Taymans <wim@fluendo.com>
7849 * docs/design/part-clocks.txt:
7850 * docs/design/part-events.txt:
7851 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7853 Only update the seeking values when we are not
7856 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7858 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7859 Oops, ignore the result of gst_pad_push_event here.
7861 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7863 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7864 (gst_base_src_activate_push):
7865 Send discont event from the loop function, as pads
7866 aren't activated yet in the activate_push handler.
7868 * gst/gstbin.c: (bin_bus_handler):
7869 Don't leak element name.
7871 2005-07-18 Andy Wingo <wingo@pobox.com>
7873 * configure.ac: Use AS_LIBTOOL_TAGS.
7875 2005-07-18 Wim Taymans <wim@fluendo.com>
7877 * docs/gst/gstreamer.types:
7878 Remove deleted types.
7880 2005-07-18 Wim Taymans <wim@fluendo.com>
7882 * check/elements/gstfakesrc.c: (GST_START_TEST):
7885 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7886 (init_popt_callback):
7888 * gst/gst_private.h:
7889 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7890 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7893 * gst/gstconfig.h.in:
7894 * gst/gstelement.c: (gst_element_class_init),
7895 (gst_element_set_base_time), (gst_element_get_base_time),
7896 (iterator_fold_with_resync), (gst_element_change_state),
7897 (gst_element_dispose), (gst_element_get_bus):
7899 * gst/gstelementfactory.h:
7900 * gst/gsterror.c: (_gst_core_errors_init):
7903 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7905 * gst/gstinfo.c: (_gst_debug_init):
7906 * gst/gstmessage.c: (_gst_message_copy):
7908 * gst/gstminiobject.h:
7911 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7912 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7915 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7916 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7917 (gst_pipeline_get_last_stream_time):
7918 * gst/gstpipeline.h:
7919 * gst/gstpluginfeature.h:
7921 * gst/gstscheduler.c:
7922 * gst/gstscheduler.h:
7923 * gst/gststructure.h:
7924 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7925 (gst_task_finalize), (gst_task_func), (gst_task_create),
7926 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7927 (gst_task_stop), (gst_task_pause):
7929 * gst/gsttypefind.h:
7931 * gst/registries/gstlibxmlregistry.c: (load_feature),
7932 (gst_xml_registry_load), (gst_xml_registry_save_feature):
7933 * gst/registries/gstxmlregistry.c:
7934 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7935 * gst/schedulers/threadscheduler.c:
7936 * libs/gst/control/dparammanager.h:
7937 * tools/gst-inspect.c: (print_element_list),
7938 (print_plugin_features), (print_element_features):
7939 * tools/gst-xmlinspect.c: (print_element_list),
7940 (print_plugin_info), (main):
7941 Removed plugable schedulers.
7942 Removed Scheduler/Manager from elements.
7943 Removed gsttypes.h, rearranged includes.
7944 Removed dependency pad<->element, element<>pipeline, and
7945 various others, fix includes.
7946 implement gst_pad_get_parent() with gst_object_get_parent()
7947 Make GstTask sefcontained.
7948 Fix _get_state() on GstBin, it did not return ASYNC with a 0
7950 Fix endless loop in iterator_fold_with_resync.
7953 2005-07-18 Wim Taymans <wim@fluendo.com>
7959 2005-07-18 Wim Taymans <wim@fluendo.com>
7964 2005-07-18 Wim Taymans <wim@fluendo.com>
7970 2005-07-18 Wim Taymans <wim@fluendo.com>
7972 * docs/design/part-dynamic.txt:
7973 * docs/design/part-events.txt:
7974 * docs/design/part-seeking.txt:
7975 Some more docs in the works.
7977 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7978 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7979 (gst_base_transform_setcaps), (gst_base_transform_get_size),
7980 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7981 (gst_base_transform_handle_buffer),
7982 (gst_base_transform_sink_activate_push),
7983 (gst_base_transform_src_activate_pull),
7984 (gst_base_transform_set_passthrough),
7985 (gst_base_transform_is_passthrough):
7988 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7991 * gst/gstevent.c: (gst_event_finalize):
7994 * gst/gstutils.c: (gst_element_unlink),
7995 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7996 (gst_pad_proxy_setcaps):
7998 Add _get_parent_element() to get a pads parent as an element.
8000 2005-07-18 Wim Taymans <wim@fluendo.com>
8002 * check/gst/gstbin.c: (GST_START_TEST):
8005 2005-07-18 Wim Taymans <wim@fluendo.com>
8007 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8008 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8009 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8010 (gst_base_sink_event), (gst_base_sink_do_sync),
8011 (gst_base_sink_chain), (gst_base_sink_loop),
8012 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8013 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8015 Fix logic for returning ASYNC when not prerolled.
8017 2005-07-18 Wim Taymans <wim@fluendo.com>
8019 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8020 Fix nasty refcount bug.
8022 2005-07-16 Philippe Khalaf <burger@speedy.org>
8024 * gst/elements/gstfdsrc.c:
8025 * gst/elements/gstfdsrc.h:
8026 * gst/elements/gstelements.c:
8027 * gst/elements/Makefile.am:
8028 Ported fdsrc to 0.9.
8030 2005-07-16 Wim Taymans <wim@fluendo.com>
8032 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8033 (gst_base_sink_do_sync):
8036 2005-07-16 Wim Taymans <wim@fluendo.com>
8038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8039 (gst_base_sink_event), (gst_base_sink_get_times),
8040 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8041 * gst/base/gstbasesink.h:
8042 Store and use discont values when syncing buffers as described
8045 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8046 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8047 (gst_base_src_activate_push):
8048 Push discont event when starting.
8050 * gst/elements/gstidentity.c: (gst_identity_transform):
8053 * gst/gstbin.c: (gst_bin_change_state):
8054 Small cleanups in base_time distribution.
8056 * gst/gstelement.c: (gst_element_set_base_time),
8057 (gst_element_get_base_time), (gst_element_change_state):
8059 Added methods for the base_time of the element.
8062 * gst/gstpipeline.c: (gst_pipeline_send_event),
8063 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8064 (gst_pipeline_get_last_stream_time):
8065 * gst/gstpipeline.h:
8067 Handle seeking as described in design doc, remove stream_time
8069 Cleanups clock and stream_time selection code. Added accessors
8070 for the stream_time.
8073 2005-07-16 Andy Wingo <wingo@pobox.com>
8075 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8078 2005-07-16 Wim Taymans <wim@fluendo.com>
8080 * check/gst/gstbin.c: (GST_START_TEST):
8081 Make elements silent as the deep_notify refs the
8082 parent, which might make the test fail.
8084 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8085 Don't hold the lock for too long.
8087 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8089 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8090 Don't unref the caps we passed to gst_caps_make_writable() after
8091 passing them. gst_caps_make_writable() will do that for us.
8093 2005-07-15 Andy Wingo <wingo@pobox.com>
8095 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8098 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8099 own marshalling function for the handoff signal. Properly type the
8100 buffer as a buffer. Fixes some warnings. Should do a more general
8102 (gst_identity_class_init): Plug into the right marshaller.
8104 2005-07-15 Wim Taymans <wim@fluendo.com>
8106 * docs/design/part-TODO.txt:
8107 * docs/design/part-clocks.txt:
8108 * docs/design/part-element-sink.txt:
8109 * docs/design/part-events.txt:
8110 * docs/design/part-gstpipeline.txt:
8111 Updated docs, mostly DISCONT related.
8113 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8115 * docs/pwg/building-pads.xml:
8116 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8118 2005-07-15 Andy Wingo <wingo@pobox.com>
8120 * tools/gst-typefind.c: Update, add copyright block.
8122 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8123 Normalize and truncate caps before fixation.
8126 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8127 discards all but the first structure from its argument.
8129 2005-07-15 Wim Taymans <wim@fluendo.com>
8131 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8132 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8133 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8134 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8135 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8136 (gst_base_transform_chain), (gst_base_transform_change_state),
8137 (gst_base_transform_set_passthrough),
8138 (gst_base_transform_is_passthrough):
8139 * gst/base/gstbasetransform.h:
8140 Make passthrough work using the bufferpools.
8141 Changed API a bit, subclasses have to write into a buffer
8142 provided by the base class.
8143 More debug info in nego functions.
8145 * gst/elements/gstidentity.c: (gst_identity_init),
8146 (gst_identity_transform):
8147 Port to new base class.
8149 2005-07-15 Wim Taymans <wim@fluendo.com>
8151 * gst/gstmessage.c: (gst_message_new_state_changed):
8152 * tools/gst-launch.c: (event_loop), (main):
8153 Totally dump messages in -launch with the -m option.
8154 Fix message name for State messages,
8156 2005-07-14 Wim Taymans <wim@fluendo.com>
8158 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8159 Post error messages on errors.
8161 2005-07-14 Wim Taymans <wim@fluendo.com>
8163 * gst/gstcaps.c: (gst_caps_do_simplify):
8167 Define error for stream stopped.
8169 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8170 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8171 Do proper return values.
8173 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8174 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8175 (gst_pad_get_range):
8176 Better return values.
8179 Reorganise return values, add macro to check for fatal errors.
8181 * gst/gstqueue.c: (gst_queue_chain):
8182 Return proper GstFlowReturn values,
8184 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8186 * docs/gst/gstreamer-sections.txt:
8187 * docs/gst/gstreamer.types:
8188 * docs/gst/tmpl/gst.sgml:
8189 * docs/gst/tmpl/gstbasesink.sgml:
8190 * docs/gst/tmpl/gstbasesrc.sgml:
8191 * docs/gst/tmpl/gstbasetransform.sgml:
8192 * docs/gst/tmpl/gstbin.sgml:
8193 * docs/gst/tmpl/gstbuffer.sgml:
8194 * docs/gst/tmpl/gstcaps.sgml:
8195 * docs/gst/tmpl/gstclock.sgml:
8196 * docs/gst/tmpl/gstcompat.sgml:
8197 * docs/gst/tmpl/gstconfig.sgml:
8198 * docs/gst/tmpl/gstelement.sgml:
8199 * docs/gst/tmpl/gstelementdetails.sgml:
8200 * docs/gst/tmpl/gstelementfactory.sgml:
8201 * docs/gst/tmpl/gstenumtypes.sgml:
8202 * docs/gst/tmpl/gsterror.sgml:
8203 * docs/gst/tmpl/gstevent.sgml:
8204 * docs/gst/tmpl/gstfakesink.sgml:
8205 * docs/gst/tmpl/gstfakesrc.sgml:
8206 * docs/gst/tmpl/gstfilesink.sgml:
8207 * docs/gst/tmpl/gstfilesrc.sgml:
8208 * docs/gst/tmpl/gstfilter.sgml:
8209 * docs/gst/tmpl/gstformat.sgml:
8210 * docs/gst/tmpl/gstghostpad.sgml:
8211 * docs/gst/tmpl/gstimplementsinterface.sgml:
8212 * docs/gst/tmpl/gstindex.sgml:
8213 * docs/gst/tmpl/gstindexfactory.sgml:
8214 * docs/gst/tmpl/gstinfo.sgml:
8215 * docs/gst/tmpl/gstiterator.sgml:
8216 * docs/gst/tmpl/gstmacros.sgml:
8217 * docs/gst/tmpl/gstmemchunk.sgml:
8218 * docs/gst/tmpl/gstminiobject.sgml:
8219 * docs/gst/tmpl/gstobject.sgml:
8220 * docs/gst/tmpl/gstpad.sgml:
8221 * docs/gst/tmpl/gstpadtemplate.sgml:
8222 * docs/gst/tmpl/gstparse.sgml:
8223 * docs/gst/tmpl/gstpipeline.sgml:
8224 * docs/gst/tmpl/gstplugin.sgml:
8225 * docs/gst/tmpl/gstpluginfeature.sgml:
8226 * docs/gst/tmpl/gstquery.sgml:
8227 * docs/gst/tmpl/gstqueue.sgml:
8228 * docs/gst/tmpl/gstregistry.sgml:
8229 * docs/gst/tmpl/gstregistrypool.sgml:
8230 * docs/gst/tmpl/gstscheduler.sgml:
8231 * docs/gst/tmpl/gstschedulerfactory.sgml:
8232 * docs/gst/tmpl/gststructure.sgml:
8233 * docs/gst/tmpl/gstsystemclock.sgml:
8234 * docs/gst/tmpl/gsttaglist.sgml:
8235 * docs/gst/tmpl/gsttagsetter.sgml:
8236 * docs/gst/tmpl/gsttrace.sgml:
8237 * docs/gst/tmpl/gsttrashstack.sgml:
8238 * docs/gst/tmpl/gsttypefind.sgml:
8239 * docs/gst/tmpl/gsttypefindfactory.sgml:
8240 * docs/gst/tmpl/gsttypes.sgml:
8241 * docs/gst/tmpl/gsturihandler.sgml:
8242 * docs/gst/tmpl/gsturitype.sgml:
8243 * docs/gst/tmpl/gstutils.sgml:
8244 * docs/gst/tmpl/gstvalue.sgml:
8245 * docs/gst/tmpl/gstversion.sgml:
8246 * docs/gst/tmpl/gstxml.sgml:
8247 * docs/libs/tmpl/gstcontrol.sgml:
8248 * docs/libs/tmpl/gstdataprotocol.sgml:
8249 * docs/libs/tmpl/gstdparam.sgml:
8250 * docs/libs/tmpl/gstdplinint.sgml:
8251 * docs/libs/tmpl/gstdpman.sgml:
8252 * docs/libs/tmpl/gstdpsmooth.sgml:
8253 * docs/libs/tmpl/gstgetbits.sgml:
8254 * docs/libs/tmpl/gstunitconvert.sgml:
8255 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8256 (gst_push_src_base_init), (gst_push_src_class_init),
8257 (gst_push_src_init), (gst_push_src_create):
8258 * gst/base/gstpushsrc.h:
8259 * gst/elements/gstelements.c:
8260 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8261 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8262 (gst_fake_sink_init), (gst_fake_sink_set_property),
8263 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8264 (gst_fake_sink_event), (gst_fake_sink_preroll),
8265 (gst_fake_sink_render), (gst_fake_sink_change_state):
8266 * gst/elements/gstfakesink.h:
8267 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8268 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8269 (gst_fake_src_base_init), (gst_fake_src_class_init),
8270 (gst_fake_src_init), (gst_fake_src_event_handler),
8271 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8272 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8273 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8274 (gst_fake_src_create_buffer), (gst_fake_src_create),
8275 (gst_fake_src_start), (gst_fake_src_stop):
8276 * gst/elements/gstfakesrc.h:
8277 * gst/elements/gstfilesink.c: (_do_init),
8278 (gst_file_sink_base_init), (gst_file_sink_class_init),
8279 (gst_file_sink_init), (gst_file_sink_dispose),
8280 (gst_file_sink_set_location), (gst_file_sink_set_property),
8281 (gst_file_sink_get_property), (gst_file_sink_open_file),
8282 (gst_file_sink_close_file), (gst_file_sink_query),
8283 (gst_file_sink_event), (gst_file_sink_render),
8284 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8285 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8286 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8287 * gst/elements/gstfilesink.h:
8288 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8289 (gst_file_src_class_init), (gst_file_src_init),
8290 (gst_file_src_finalize), (gst_file_src_set_location),
8291 (gst_file_src_set_property), (gst_file_src_get_property),
8292 (gst_file_src_map_region), (gst_file_src_map_small_region),
8293 (gst_file_src_create_mmap), (gst_file_src_create_read),
8294 (gst_file_src_create), (gst_file_src_is_seekable),
8295 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8296 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8297 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8298 (gst_file_src_uri_handler_init):
8299 * gst/elements/gstfilesrc.h:
8300 more autistic cleanliness in functions/names/defines
8302 2005-07-13 Andy Wingo <wingo@pobox.com>
8304 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8305 source couldn't negotiate.
8307 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8311 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8312 function. I am channeling Hades. Put your boots on suckers!!!
8314 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8316 * testsuite/caps/Makefile.am:
8317 * testsuite/caps/value_compare.c:
8318 * testsuite/caps/value_intersect.c:
8319 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8320 move two testsuite apps over to the check dir
8322 2005-07-12 Wim Taymans <wim@fluendo.com>
8324 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8325 Added more debug info in the negotiate process.
8328 Prepare for segment playback.
8330 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8336 * tools/gst-launch.c: (main):
8337 NULL pipeline on errors.
8339 2005-07-12 Andy Wingo <wingo@pobox.com>
8341 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8342 not it comes from a malloc region. Make sure our copy gets freed.
8344 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8346 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8347 * check/gst/gstmessage.c: (GST_START_TEST):
8348 * check/gst/gststructure.c: (GST_START_TEST),
8349 (gst_structure_suite), (main):
8351 * gst/gstelement.c: (gst_element_message_full):
8352 clean up GError and debug string now that they get copied
8353 * gst/gstmessage.c: (gst_message_new_error),
8354 (gst_message_new_warning), (gst_message_parse_error),
8355 (gst_message_parse_warning):
8356 use GST_TYPE_G_ERROR for structure_new, and take copies of
8357 arguments, so that we don't mess up refcounting
8359 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8361 * check/Makefile.am:
8362 add per-test valgrind targets
8363 * check/gst-libs/gdp.c: (GST_START_TEST),
8364 (gst_data_protocol_suite), (main):
8367 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8369 * check/Makefile.am:
8370 instate more valgrindable tests
8371 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8372 (GST_START_TEST), (fakesrc_suite):
8373 * check/gst/gstpad.c: (GST_START_TEST):
8374 * check/gst/gststructure.c: (GST_START_TEST):
8376 * docs/gst/tmpl/gstminiobject.sgml:
8377 * gst/gstpad.c: (gst_pad_finalize):
8378 fix the static mutex leak
8380 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8382 * check/Makefile.am:
8383 add two more tests for valgrinding
8384 * check/gst/gstvalue.c: (GST_START_TEST):
8385 test refcount of deserialized buffer, found a leak
8386 * docs/gst/gstreamer-docs.sgml:
8387 * docs/gst/gstreamer-sections.txt:
8388 * docs/gst/gstreamer.types:
8389 * docs/gst/tmpl/gstminiobject.sgml:
8390 add miniobject to docs
8391 * gst/gstminiobject.c:
8393 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8394 (gst_string_unwrap):
8395 fix a hard-to-find invalid write for one of the tests
8396 fix a leak for deserialized buffers
8398 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8400 * docs/pwg/advanced-events.xml:
8401 * docs/pwg/advanced-request.xml:
8402 * docs/pwg/advanced-scheduling.xml:
8403 * docs/pwg/appendix-porting.xml:
8404 * docs/pwg/building-boiler.xml:
8405 * docs/pwg/intro-preface.xml:
8406 * docs/pwg/other-ntoone.xml:
8407 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8408 of example code and explanation for pad activation, loop() and
8409 getrange() functions and a bit more. Remove old comments pointing
8411 * examples/pwg/Makefile.am:
8412 Add loop/getrange examples.
8414 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8417 check for valgrind binary + some fixes
8419 valgrind suppressions for the tests
8420 * check/Makefile.am:
8421 add a valgrind: target that valgrinds the unit tests
8422 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8423 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8424 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8425 * check/gst/gstghostpad.c:
8427 * check/gst/gstdata.c:
8429 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8430 (thread_unref), (gst_mini_object_suite), (main):
8432 * gst/gst.c: (gst_deinit):
8434 add a method to clean up.
8435 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8436 (gst_system_clock_obtain):
8437 allow for disposing the system clock.
8438 * tools/gst-launch.c: (main):
8441 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8443 * docs/gst/tmpl/gstbasesrc.sgml:
8444 * docs/gst/tmpl/gstfakesrc.sgml:
8445 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8446 (gst_base_src_init), (gst_base_src_set_property),
8447 (gst_base_src_get_property), (gst_base_src_get_range),
8448 (gst_base_src_start):
8449 * gst/base/gstbasesrc.h:
8450 add num-buffers property
8451 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8452 (gst_fakesrc_init), (gst_fakesrc_set_property),
8453 (gst_fakesrc_get_property), (gst_fakesrc_create),
8454 (gst_fakesrc_start):
8455 remove num-buffers property
8457 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8459 * docs/gst/gstreamer-sections.txt:
8460 * docs/gst/tmpl/gstbasesink.sgml:
8461 * docs/gst/tmpl/gstbasesrc.sgml:
8462 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8463 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8464 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8465 (gst_base_sink_set_property), (gst_base_sink_get_property),
8466 (gst_base_sink_handle_object), (gst_base_sink_event),
8467 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8468 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8469 (gst_base_sink_loop), (gst_base_sink_deactivate),
8470 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8471 (gst_base_sink_change_state):
8472 * gst/base/gstbasesink.h:
8473 * gst/base/gstbasesrc.h:
8474 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8475 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8476 (gst_filesink_init):
8477 more macro splitting
8479 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8481 * gst/gstelement.c: (gst_element_get_bus):
8483 * tools/gst-launch.c: (check_intr), (event_loop):
8486 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8488 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8491 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8493 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8494 (gst_base_src_finalize):
8495 add finalize method and clean up properly
8496 * gst/gstpipeline.c: (gst_pipeline_dispose):
8499 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8501 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8503 add more things to check
8504 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8508 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8510 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8511 (GST_START_TEST), (fakesrc_suite):
8512 * check/gst-libs/gdp.c: (GST_START_TEST):
8513 * check/gst/gst.c: (GST_START_TEST):
8514 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8515 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8516 * check/gst/gstbus.c: (GST_START_TEST):
8517 * check/gst/gstcaps.c: (GST_START_TEST):
8518 * check/gst/gstdata.c: (GST_START_TEST):
8519 * check/gst/gstelement.c: (GST_START_TEST):
8520 * check/gst/gstghostpad.c: (GST_START_TEST):
8521 * check/gst/gstiterator.c: (GST_START_TEST):
8522 * check/gst/gstmessage.c: (GST_START_TEST):
8523 * check/gst/gstobject.c: (GST_START_TEST):
8524 * check/gst/gstpad.c: (GST_START_TEST):
8525 * check/gst/gststructure.c: (GST_START_TEST):
8526 * check/gst/gstsystemclock.c: (GST_START_TEST),
8527 (gst_systemclock_suite):
8528 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8529 * check/gst/gstvalue.c: (GST_START_TEST):
8530 * check/pipelines/cleanup.c: (GST_START_TEST):
8531 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8532 * check/states/sinks.c: (GST_START_TEST):
8533 * check/gstcheck.c: (gst_check_init):
8535 add debugging category
8536 use GST_START_TEST now, so we add a debug line
8538 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8540 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8541 add test for state change message on a bin
8542 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8544 * gst/gstbin.c: (gst_bin_init):
8545 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8546 * gst/gstelement.c: (gst_element_post_message),
8547 (gst_element_set_state):
8548 * gst/gstelementfactory.c: (gst_element_factory_create):
8549 * gst/gstmessage.c: (gst_message_new):
8550 * gst/gstscheduler.c:
8551 various debugging additions and cleanups
8553 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8555 * check/Makefile.am:
8556 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8558 adding tests for elements
8559 * gst/gstelement.c: (gst_element_dispose):
8561 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8563 * gst/registries/gstlibxmlregistry.c: (load_feature):
8564 plug more leaks. A simple gst_init() now is leakfree, yay.
8566 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8568 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8569 (gst_xml_registry_load):
8570 plug another memleak
8572 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8575 use GST_SET_ERROR_CFLAGS
8577 change to ERROR_CFLAGS
8579 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8582 make GST_ERROR_CFLAGS overridable and re-enable Werror
8584 add a note about error CFLAGS
8585 * docs/gst/tmpl/gstfakesrc.sgml:
8586 * gst/elements/gstfakesrc.c:
8587 comment out some unused code
8588 * gst/gst.c: (split_and_iterate):
8589 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8593 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8595 * common/Makefile.am:
8596 * common/gtk-doc.mak:
8597 * docs/gst/Makefile.am:
8598 factor out gtk-doc.mak
8600 2005-07-07 Wim Taymans <wim@fluendo.com>
8602 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8603 (gst_thread_scheduler_dispose):
8604 Unlock the STREAM_LOCK completely.
8606 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8608 * check/Makefile.am:
8609 * check/elements/.cvsignore:
8610 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8611 (START_TEST), (fakesrc_suite), (main):
8612 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8613 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8614 (gst_fakesrc_create), (gst_fakesrc_start):
8615 * gst/elements/gstfakesrc.h:
8616 adding a first element test
8618 2005-07-07 Andy Wingo <wingo@pobox.com>
8620 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8623 2005-07-07 Wim Taymans <wim@fluendo.com>
8629 2005-07-07 Wim Taymans <wim@fluendo.com>
8631 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8632 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8633 Allow subclasses to implement their own negotiation.
8635 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8637 * docs/design/part-gstbin.txt:
8638 * docs/design/part-gstpipeline.txt:
8639 Update design notes to reflect the movement of
8640 responsibility for bus handling from GstPipeline to
8643 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8646 Remove unnecessary queue2/3/4 examples.
8648 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8650 * examples/Makefile.am:
8651 * examples/helloworld/helloworld.c: (event_loop), (main):
8652 * examples/queue/queue.c: (event_loop), (main):
8653 * examples/queue2/queue2.c: (main):
8654 Update a couple of the examples to work again.
8656 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8657 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8658 Spelling corrections and extra debug.
8660 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8661 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8662 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8664 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8665 (gst_pipeline_change_state):
8666 * gst/gstpipeline.h:
8667 Move the bus handler for children to the GstBin, and create a
8668 separate bus for receiving messages from children to the one the
8669 bus sends 'upwards' on.
8671 2005-07-06 Wim Taymans <wim@fluendo.com>
8674 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8675 (gst_base_sink_handle_object), (gst_base_sink_loop),
8676 (gst_base_sink_change_state):
8677 * gst/base/gstbasesink.h:
8678 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8679 (gst_base_src_init), (gst_base_src_setcaps),
8680 (gst_base_src_getcaps), (gst_base_src_loop),
8681 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8682 (gst_base_src_start), (gst_base_src_change_state):
8683 * gst/base/gstbasesrc.h:
8684 Make basesrc negotiate.
8685 Handle the case where preroll fails in basesink.
8688 2005-07-06 Wim Taymans <wim@fluendo.com>
8690 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8691 Implement the fixate function.
8692 Clean up acceptcaps.
8694 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8696 * docs/pwg/building-filterfactory.xml:
8698 Remove never-written filter-factory chapter; I'll add the various
8699 base classes to part 4 ("other element types") later on.
8701 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8703 * docs/pwg/advanced-negotiation.xml:
8704 * docs/pwg/building-boiler.xml:
8705 * docs/pwg/building-pads.xml:
8707 * examples/pwg/Makefile.am:
8708 Add a chapter on caps negotiation, simplify the original code
8709 samples a bit w.r.t. caps negotiation, add link to the advanced
8710 section. Add a bunch of examples showing different use cases of
8711 different types of caps negotiation. Upstream renegotiation isn't
8712 fully documented yet since nobody knows how that works.
8714 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8716 * check/gst/gstpad.c:
8718 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8719 if pad has no parent, return NULL as list of internal links
8721 2005-07-05 Andy Wingo <wingo@pobox.com>
8723 * gst/elements/gstfilesrc.c:
8724 * gst/elements/gstfakesrc.c:
8725 * gst/base/gstpushsrc.c:
8726 * gst/base/gstbasesrc.h:
8727 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8729 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8732 better report generation target (lcov needs a patch)
8734 2005-07-05 Andy Wingo <wingo@pobox.com>
8736 * gst/elements, testsuite: Null if we got it...
8738 2005-07-05 Wim Taymans <wim@fluendo.com>
8741 * libs/gst/dataprotocol/Makefile.am:
8742 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8743 * libs/gst/dataprotocol/dataprotocol.h:
8744 * pkgconfig/Makefile.am:
8745 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8746 * pkgconfig/gstreamer-dataprotocol.pc.in:
8747 Ported dataprotol to 0.9.
8748 Added pkgconfig files.
8750 2005-07-05 Andy Wingo <wingo@pobox.com>
8752 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8753 Default to returning TRUE for the case when tranform_caps returns
8754 a fixed caps, like for identity or volume.
8756 * check/gst/gstbus.c (pound_bus_with_messages):
8757 * check/gst/gstmessage.c (START_TEST):
8758 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8761 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8762 logic weaks here: always run transform_caps, trying passthrough
8763 operation only if the original caps intersects with the transform.
8765 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8766 source and sink caps.
8768 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8769 Intersect the peer caps with the pad template before going into
8771 (gst_base_transform_transform_caps): More debugging.
8773 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8776 2005-07-04 Edward Hervey <edward@fluendo.com>
8780 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8783 2005-07-04 Andy Wingo <wingo@pobox.com>
8785 * check/gst/gstpad.c: Only set explicit caps on pads.
8787 2005-07-01 Andy Wingo <wingo@pobox.com>
8789 * tests/network-clock.scm: Commentary update.
8791 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8792 Didn't really make sense, not implementable with basetransform,
8794 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8795 attempt at implementing the sync property, needs an unlock method.
8797 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8798 New func, by default returns the same caps (the identity
8800 (gst_base_transform_getcaps): Uses transform_caps to return
8802 (gst_base_transform_setcaps): Complicated logic to get caps on
8803 both pads, even if they are different, and to call set_caps once
8804 for every time both pads get their caps set.
8805 (gst_base_transform_handle_buffer): Give the ref to the transform
8806 function. Allows in-place modification of the buffer.
8808 * gst/base/gstbasetransform.h (transform_caps): New class method.
8809 Given caps on one side, what can I do on the other.
8810 (set_caps): Take two caps, one for each side of the element.
8813 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8814 caps in place. This is safe because we can check the mutability of
8815 the caps, and a good idea because fixate functions are just called
8816 as a matter of last resort. (Not actually implemented.)
8817 (gst_pad_set_caps): If the caps we're setting is actually the same
8818 as the existing pad caps, just update the pointer without calling
8819 setcaps. Assert that caps is either NULL or fixed, as per the
8822 * gst/gstghostpad.c: Update for fixate changes.
8824 2005-07-02 Andy Wingo <wingo@pobox.com>
8827 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8828 two refcounts makes it immutable, which is enough. Doc more.
8830 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8832 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8833 Put the mini_object into GValue as a mini_object,
8834 not a gpointer, since that's how we declared
8837 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8839 * examples/pwg/Makefile.am:
8842 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8844 * docs/pwg/building-testapp.xml:
8846 * examples/pwg/Makefile.am:
8849 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8852 * examples/Makefile.am:
8853 * examples/pwg/Makefile.am:
8854 * examples/pwg/extract.pl:
8855 Enable building the PWG examples.
8856 * docs/pwg/advanced-interfaces.xml:
8857 Add URI interface stub.
8858 * docs/pwg/advanced-types.xml:
8859 * docs/pwg/other-autoplugger.xml:
8860 * docs/pwg/appendix-porting.xml:
8862 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8863 * docs/pwg/building-boiler.xml:
8864 * docs/pwg/building-chainfn.xml:
8865 * docs/pwg/building-pads.xml:
8866 * docs/pwg/building-props.xml:
8867 * docs/pwg/building-state.xml:
8868 * docs/pwg/building-testapp.xml:
8869 Update the building-*.xml parts for 0.9 changes. All examples
8870 code blocks compile in examples/pwg/*.
8872 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8874 * docs/manual/advanced-autoplugging.xml:
8875 * docs/manual/appendix-checklist.xml:
8876 * docs/manual/appendix-integration.xml:
8877 * docs/manual/highlevel-components.xml:
8878 Fix playbin/decodebin examples, update docs a bit, mention bus
8879 instead of signals in various places, mention kmplayer and
8880 kaffeine since they have a working GStreamer backend in the KDE
8883 2005-06-30 Wim Taymans <wim@fluendo.com>
8886 * docs/design/draft-ghostpads.txt:
8887 * docs/design/draft-push-pull.txt:
8888 * docs/design/draft-query.txt:
8889 * docs/design/part-TODO.txt:
8890 * docs/design/part-query.txt:
8891 Added CHANGES-0.9 doc, updated status of other docs.
8896 2005-06-30 Wim Taymans <wim@fluendo.com>
8898 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8899 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8900 (gst_base_sink_change_state):
8901 * gst/base/gstbasesink.h:
8902 Some tweaks, only EOS and a buffer complete a preroll.
8904 2005-06-30 Andy Wingo <wingo@pobox.com>
8906 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8907 activate_push down to the internal pad as well.
8909 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
8911 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8913 * gst/gsttaginterface.c:
8914 Some documentation fixes (#307394 and #307397).
8916 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
8918 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8920 * gst/gstvalue.c: (gst_value_intersect_list):
8921 Fix memleak (#309125).
8923 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8925 * docs/manual/advanced-dataaccess.xml:
8926 Fix fakesrc example to compile; doesn't work, bug somewhere...?
8927 * docs/manual/basics-pads.xml:
8928 Add reference for filtered caps to above chapter.
8930 2005-06-30 Wim Taymans <wim@fluendo.com>
8932 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8933 (gst_bin_change_state):
8935 Lame attempt at making the state change function a bit
8938 2005-06-30 Wim Taymans <wim@fluendo.com>
8940 * docs/design/part-clocks.txt:
8941 * docs/design/part-element-sink.txt:
8942 * docs/design/part-events.txt:
8943 * docs/design/part-preroll.txt:
8944 * docs/design/part-states.txt:
8945 Some more tweeks and additions to the docs.
8947 2005-06-30 Wim Taymans <wim@fluendo.com>
8949 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8950 (default_have_data), (gst_pad_class_init), (gst_pad_init),
8951 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8952 (gst_pad_check_pull_range), (gst_pad_get_range),
8953 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8955 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8956 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8957 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8958 (gst_pad_remove_buffer_probe):
8959 Removed atomic operations, use existing LOCK.
8960 Move exception handling out of main code path.
8962 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8964 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8965 (silly_return_true_function), (gst_pad_class_init),
8966 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8967 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8968 (gst_pad_send_event):
8969 Fix accumulator, add default value by using _emitv() instead
8970 of _emit() for signal emission.
8972 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8974 * docs/manual/advanced-dataaccess.xml:
8975 * examples/manual/Makefile.am:
8977 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8980 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
8982 * gst/elements/gstfilesink.c: (gst_filesink_render):
8983 Simplify code so that we don't have to handle short
8984 writes and return GST_FLOW_ERROR if an error occured.
8986 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8988 * docs/gst/gstreamer-docs.sgml:
8991 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8993 * docs/gst/gstreamer-sections.txt:
8994 * docs/gst/tmpl/gstpad.sgml:
8995 * docs/gst/tmpl/gstprobe.sgml:
8997 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8998 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8999 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9000 (gst_pad_push_event), (gst_pad_send_event):
9002 * gst/gstutils.c: (gst_pad_add_data_probe),
9003 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9004 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9005 (gst_pad_remove_buffer_probe):
9007 Remove old probes, add new g-signal-based probes and some utility
9010 2005-06-29 Edward Hervey <edward@fluendo.com>
9012 * gst/gstelementfactory.c:
9015 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9016 the definition to the header file.
9018 2005-06-29 Andy Wingo <wingo@pobox.com>
9020 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9021 plugins from the source directory.
9023 2005-06-29 Wim Taymans <wim@fluendo.com>
9025 * docs/gst/tmpl/gstbuffer.sgml:
9026 * docs/gst/tmpl/gstclock.sgml:
9027 Some fixings for blantently wrong text.
9029 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9031 * check/Makefile.am:
9032 * gst/gst.c: (add_path_func), (init_pre):
9033 * gst/gstregistry.c: (gst_registry_add_path):
9034 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9035 only scan the GST_PLUGIN_PATH locations, and not add
9038 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9040 * docs/gst/gstreamer-sections.txt:
9041 * docs/gst/tmpl/gstbasesrc.sgml:
9048 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9050 * docs/manual/advanced-autoplugging.xml:
9051 Fix autoplugging example.
9053 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9055 * docs/manual/advanced-autoplugging.xml:
9056 * docs/manual/mime-world.fig:
9057 Try to get autoplugging working, fix type detection. Fix text
9058 in hello-world image.
9060 2005-06-29 Wim Taymans <wim@fluendo.com>
9062 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9063 (gst_base_sink_change_state):
9067 map SIGNAL and BROADCAST to the right function.
9070 Remove redundant braces.
9072 * gst/gstpad.c: (gst_pad_set_caps):
9073 Don't call setcaps function when reseting caps to NULL.
9075 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9076 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9077 (gst_system_clock_id_unschedule):
9078 Use BROADCAST as this is what we do.
9080 2005-06-29 Wim Taymans <wim@fluendo.com>
9082 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9083 We are actually prerolling before commiting the state
9086 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9088 * docs/manual/advanced-clocks.xml:
9089 * docs/manual/advanced-interfaces.xml:
9090 * docs/manual/advanced-metadata.xml:
9091 * docs/manual/advanced-position.xml:
9092 * docs/manual/advanced-schedulers.xml:
9093 * docs/manual/advanced-threads.xml:
9094 * docs/manual/appendix-porting.xml:
9095 * docs/manual/basics-bins.xml:
9096 * docs/manual/basics-bus.xml:
9097 * docs/manual/basics-elements.xml:
9098 * docs/manual/basics-helloworld.xml:
9099 * docs/manual/basics-pads.xml:
9100 * docs/manual/highlevel-components.xml:
9101 * docs/manual/manual.xml:
9102 * docs/manual/thread.fig:
9103 Update (until threads/scheduling) Application Development Manual;
9104 remove GstThread, add GstBus, add simple porting checklist, add
9105 documentation for tag writing, clocks, make all examples until this
9106 part compile and run.
9107 * examples/manual/Makefile.am:
9108 Update from changes to Application Development Manual; add bus
9109 example, remove thread example.
9111 2005-06-28 Wim Taymans <wim@fluendo.com>
9113 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9114 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9115 (gst_bus_source_dispatch):
9116 Add debugging messages.
9117 Make internal methods static.
9118 Handle the case where the bus is flushed in the handler.
9120 * gst/gstelement.c: (gst_element_get_bus):
9121 Fix refcount in _get_bus();
9123 * gst/gstpipeline.c: (gst_pipeline_change_state),
9124 (gst_pipeline_get_clock_func):
9125 Clock refcounting fixes.
9126 Handle the case where preroll timed out more gracefully.
9128 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9129 Clean up the internal thread in dispose. This is needed
9130 for subclasses that actually get disposed.
9132 * gst/schedulers/threadscheduler.c:
9133 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9134 (gst_thread_scheduler_dispose):
9135 Free thread pool in dispose.
9137 2005-06-28 Andy Wingo <wingo@pobox.com>
9139 * tests/network-clock-utils.scm (debug, print-event): New utils.
9141 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9142 (*packet-loss*): Unified loss probability.
9143 (network-time): Report out-of-band events.
9145 * tests/plot-data: Add support for out-of-band events. Hack it
9146 into this script instead of passing it down the pipe; should fix
9149 2005-06-28 Wim Taymans <wim@fluendo.com>
9151 * docs/gst/gstreamer.types:
9152 * docs/gst/tmpl/gstbasesrc.sgml:
9153 * docs/gst/tmpl/gstpad.sgml:
9156 2005-06-28 Wim Taymans <wim@fluendo.com>
9158 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9159 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9160 (gst_proxy_pad_do_fixatecaps):
9161 Correctly proxy the check_pull_range function.
9163 2005-06-28 Andy Wingo <wingo@pobox.com>
9165 * tests/network-clock.scm: Removed need for slib.
9167 2005-06-28 Wim Taymans <wim@fluendo.com>
9169 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9170 (gst_basesink_preroll_queue_flush):
9171 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9172 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9173 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9174 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9175 (gst_proxy_pad_set_property):
9178 * gst/gstqueue.c: (gst_queue_init):
9179 The deprecated pad loop function is removed now.
9181 2005-06-28 Andy Wingo <wingo@pobox.com>
9183 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9184 New parameters, simulate network packet loss.
9186 * tests/network-clock-utils.scm: Initialize the RNG.
9188 2005-06-28 Wim Taymans <wim@fluendo.com>
9190 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9191 (gst_basesink_event), (gst_basesink_deactivate):
9192 Flushing the preroll queue always needs to unlock the waiters.
9194 2005-06-28 Edward Hervey <edward@fluendo.com>
9196 * gst/gstpipeline.c: (gst_pipeline_send_event):
9197 Wheen a seek was successful on a pipeline, set the stream_time to the
9198 seek offset in order to have a synchronized stream_time.
9200 2005-06-28 Wim Taymans <wim@fluendo.com>
9202 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9203 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9204 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9205 (gst_proxy_pad_do_fixatecaps):
9206 Call wrapper function instead of just calling the function
9207 pointers. This takes care of any locking and whatmore.
9209 2005-06-28 Wim Taymans <wim@fluendo.com>
9211 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9212 (gst_pad_pull_range):
9214 CONNECTED -> LINKED.
9216 2005-06-28 Andy Wingo <wingo@pobox.com>
9218 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9219 source-munging commit!!!
9221 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9222 (gst_object_sink): Take gpointer arguments, not GstObject --
9223 avoids casts. Like GLib.
9225 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9228 2005-06-27 Andy Wingo <wingo@pobox.com>
9230 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9233 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9234 returns a sorted copy of the trace list.
9235 (gst_alloc_trace_print_live): New API, only prints traces with
9236 live objects. Sort the list.
9237 (gst_alloc_trace_print_all): Sort the list.
9238 (gst_alloc_trace_print): Align columns.
9240 * gst/elements/gstttypefindelement.c:
9241 * gst/elements/gsttee.c:
9242 * gst/base/gstbasesrc.c:
9243 * gst/base/gstbasesink.c:
9244 * gst/base/gstbasetransform.c:
9245 * gst/gstqueue.c: Adapt for pad activation changes.
9247 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9249 (gst_pipeline_dispose): Drop ref on sched.
9251 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9252 (gst_pad_activate_default): Push mode by default.
9253 (pre_activate_switch, post_activate_switch): New stubs, things to
9254 do before and after switching activation modes on pads.
9255 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9256 the pad's activate function to choose which mode to activate.
9257 Shortcut on deactivation and call the right function directly.
9258 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9260 (gst_pad_activate_push): New API, same for push mode.
9261 (gst_pad_set_activate_function)
9262 (gst_pad_set_activatepull_function)
9263 (gst_pad_set_activatepush_function): Setters for new API.
9265 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9266 Trace all miniobjects.
9267 (gst_mini_object_make_writable): Unref the arg if we copy, like
9268 gst_caps_make_writable.
9270 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9272 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9273 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9274 Adapt for new pad API.
9276 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9279 * gst/gstelement.c (gst_element_iterate_src_pads)
9280 (gst_element_iterate_sink_pads): New API functions.
9282 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9283 should fold into gstiterator.c in some form.
9284 (gst_element_pads_activate): Simplified via use of fold and
9285 delegation of decisions to gstpad->activate.
9287 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9290 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9291 class once in init, like gstmessage. Didn't run into this issue
9292 but it seems correct. Don't initialize a trace, gstminiobject does
9295 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9296 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9298 (assert_live_count): New util function, uses alloc traces to check
9301 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9302 To be modified when unlink drops the internal pad.
9304 2005-06-27 Wim Taymans <wim@fluendo.com>
9306 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9307 (gst_bin_change_state):
9308 Cleanup the get_state() function a little, make sure it
9309 iterates the same set of elements.
9310 Added stub iterate_state_order().
9312 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9314 * docs/gst/gstreamer-docs.sgml:
9315 * docs/gst/gstreamer-sections.txt:
9316 * docs/gst/gstreamer.types:
9317 * docs/gst/tmpl/gstbasesink.sgml:
9318 * docs/gst/tmpl/gstbasesrc.sgml:
9319 * docs/gst/tmpl/gstbasetransform.sgml:
9320 * docs/gst/tmpl/gstelement.sgml:
9321 * docs/gst/tmpl/gstiterator.sgml:
9322 * gst/base/gstbasesrc.c:
9323 * gst/base/gstbasesrc.h:
9324 * gst/base/gstbasetransform.h:
9326 * gst/gstiterator.h:
9327 adding basetransform and iterator docs
9329 2005-06-27 Andy Wingo <wingo@pobox.com>
9331 * docs/design/part-activation.txt: Notes on how activation should
9332 work -- not quite implemented yet.
9334 2005-06-25 Wim Taymans <wim@fluendo.com>
9336 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9337 At least get the chain function correct, needs more
9340 2005-06-25 Wim Taymans <wim@fluendo.com>
9342 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9343 (gst_basesink_handle_object), (gst_basesink_event),
9344 (gst_basesink_do_sync), (gst_basesink_handle_event),
9345 (gst_basesink_change_state):
9347 Right, two problems here: ghostpads don't take locks and
9348 glib _rec_mutex_lock_full() with depth==0 still locks.
9349 Catch illegal locking and g_warn them.
9351 2005-06-25 Wim Taymans <wim@fluendo.com>
9353 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9354 Have to check for completion now...
9356 2005-06-25 Wim Taymans <wim@fluendo.com>
9358 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9359 (gst_basesink_handle_object), (gst_basesink_event),
9360 (gst_basesink_do_sync), (gst_basesink_handle_event),
9361 (gst_basesink_change_state):
9363 Unlock STREAM_LOCK whatever the recursion was.
9365 2005-06-25 Wim Taymans <wim@fluendo.com>
9367 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9368 (gst_basesink_preroll_queue_empty),
9369 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9370 (gst_basesink_event), (gst_basesink_do_sync),
9371 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9372 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9373 (gst_basesink_change_state):
9374 Reworked the base sink, handle event and buffer serialisation
9375 correctly and removed possible deadlock.
9376 Handle EOS correctly.
9378 2005-06-25 Wim Taymans <wim@fluendo.com>
9380 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9381 (gst_pipeline_change_state):
9382 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9383 Allow elements to post EOS in the state change function.
9384 Fix up -launch, make it exit the poll loop when the
9385 pipeline actually changed state.
9386 Fix up warning parsing in -launch.
9388 2005-06-25 Wim Taymans <wim@fluendo.com>
9390 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9391 (gst_tee_sink_activate):
9392 Core takes STREAM_LOCK for us now.
9394 2005-06-25 Wim Taymans <wim@fluendo.com>
9396 * gst/gstelement.c: (gst_element_get_state_func),
9397 (gst_element_set_state):
9399 * gst/gstmessage.c: (gst_message_parse_error),
9400 (gst_message_parse_warning):
9401 Keep track of current target state while performing a state
9402 change so that subclasses can do something interesting.
9403 Fix parsing of warning/error messages when GError is NULL.
9405 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9407 * docs/gst/Makefile.am:
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/gstbin.sgml:
9414 * docs/gst/tmpl/gstcompat.sgml:
9415 * docs/gst/tmpl/gstfakesink.sgml:
9416 * docs/gst/tmpl/gstfakesrc.sgml:
9417 * docs/gst/tmpl/gstfilesink.sgml:
9418 * docs/gst/tmpl/gstfilesrc.sgml:
9419 * docs/gst/tmpl/gstindex.sgml:
9420 * docs/manual/appendix-quotes.xml:
9421 * gst/base/gstbasesrc.h:
9422 * gst/elements/gstfakesrc.h:
9424 start pulling in base classes and elements in our docs
9426 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9428 * docs/gst/Makefile.am:
9429 * docs/libs/Makefile.am:
9430 fixed make distcheck with gtk-doc 1.3
9432 2005-06-23 Wim Taymans <wim@fluendo.com>
9434 * gst/gstelement.c: (gst_element_get_state_func),
9435 (gst_element_set_state), (gst_element_change_state):
9436 When the state did not change, also report NO_PREROLL
9439 2005-06-23 Wim Taymans <wim@fluendo.com>
9441 * gst/gstpad.c: (gst_pad_event_default):
9442 * gst/gstqueue.c: (gst_queue_loop):
9443 No unsafe task pausing please.
9445 2005-06-23 Wim Taymans <wim@fluendo.com>
9447 * gst/schedulers/threadscheduler.c:
9448 (gst_thread_scheduler_task_start),
9449 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9450 Ref the task before pushing it on the threadpool. This
9451 makes sure that we have a ref when the threadfunction is
9454 2005-06-23 Andy Wingo <wingo@pobox.com>
9456 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9457 offset is greater than the file's size.
9459 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9460 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9461 * gst/gstobject.c (gst_object_class_init): Make the class lock
9462 recursive. Wim won't let me drop deep_notify. Decodebin works
9465 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9466 internal pad, and hacks accordingly. Doesn't do it on the target
9467 pad because we change its caps. Probably catches all cases of
9469 (gst_ghost_pad_set_property): Connect to notify::caps as
9472 * tests/network-clock.scm (plot-simulation): Pipe data to the
9473 elite python skript.
9475 * tests/network-clock-utils.scm (define-parameter): New macro,
9476 defines a parameter that can be set via the command line.
9477 (set-parameter!, parse-parameter-arguments): Command line args
9480 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9483 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9485 * gst/elements/gsttypefindelement.c:
9486 (gst_type_find_element_handle_event):
9487 Don't restart typefinding on a discont.
9488 * gst/gstelement.c: (gst_element_set_state):
9490 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9491 Allow changing mode of an active pad.
9493 * gst/registries/gstlibxmlregistry.c: (load_feature):
9494 Don't cast a static pad template to a normal pad template.
9496 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9498 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9499 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9500 remove gst_strtoll completely, since it didn't actually do
9501 anything more than what g_ascii_strtoull already does.
9502 check for range errors when deserializing
9503 do a cast for the unsigned cases; but further fixing needs
9504 a decision on what the interpretation of "(int)" and
9505 deserialization should be for values that fall outside the
9506 type's boundaries (ie, refuse, or interpret as casting)
9508 2005-06-23 Wim Taymans <wim@fluendo.com>
9510 * check/Makefile.am:
9511 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9512 * docs/design/part-live-source.txt:
9513 * docs/design/part-states.txt:
9514 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9515 (gst_basesrc_set_live), (gst_basesrc_is_live),
9516 (gst_basesrc_get_range), (gst_basesrc_activate),
9517 (gst_basesrc_change_state):
9518 * gst/base/gstbasesrc.h:
9519 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9520 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9521 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9522 * gst/gstelement.c: (gst_element_get_state_func),
9523 (gst_element_set_state):
9526 * tools/gst-launch.c: (event_loop), (main):
9527 Added support for live sources and other elements that
9529 Updated design docs, added live-source design doc.
9530 Implemented live source functionality in basesrc
9531 Fix error condition in _bin_get_state()
9532 Implement live source handling in -launch.
9533 Added check for live sources.
9534 Fixed case in GstBin where elements were changed state
9538 2005-06-23 Andy Wingo <wingo@pobox.com>
9540 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9543 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9544 gst_caps_replace takes care of this for us.
9546 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9547 gst_pad_set_caps on the target, not just its setcaps() function.
9549 * tests/network-clock.scm:
9550 * tests/network-clock-utils.scm: A network clock simulator.
9551 Something of an algorithmic testbed before doing something in C.
9553 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9555 * check/Makefile.am:
9556 * check/gst/capslist.h:
9557 copy over from 0.8, and add two with bitmasks specified with
9559 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9560 add test to parse everything from capslist.h
9561 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9563 add test for structure deserialization
9564 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9565 add tests for deserialization of strings to int types
9566 * gst/gststructure.c: (gst_structure_nth_field_name):
9567 * gst/gststructure.h:
9568 add a way to get the name of a field referenced by index
9569 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9570 instead of checking if the resulting long long lies between
9571 min and max, we check if the long long would fit into
9572 a number of bytes for the final type.
9573 This fixes cases where a string represents 2^32 - 1, which
9574 when cast to int would be the (valid) -1, but is bigger than
9577 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9579 * gst/parse/grammar.y:
9580 add a log line for type deserialization
9582 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9584 * check/gst/gstvalue.c: (START_TEST):
9585 * gst/gstvalue.c: (gst_value_deserialize):
9586 return long long, not int, so gint64 deserialization actually
9587 works. Is there any flag that makes the compiler check this ?
9590 2005-06-22 Wim Taymans <wim@fluendo.com>
9593 Added convenience macros for setting buffers in GValue.
9595 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9597 * check/gst/.cvsignore:
9598 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9599 add a test deserializing int64, and comment part out because
9602 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9604 * check/Makefile.am:
9605 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9606 * testsuite/Makefile.am:
9607 * testsuite/caps/Makefile.am:
9608 * testsuite/caps/value_serialize.c:
9609 * testsuite/test_gst_init.c:
9610 move a value_serialize test over
9612 2005-06-20 Wim Taymans <wim@fluendo.com>
9617 * gst/gstvalue.c: (gst_value_compare_buffer),
9618 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9619 (gst_value_compare_flags), (gst_value_serialize_flags),
9620 (gst_value_deserialize_flags), (_gst_value_initialize):
9621 Fix serialisation of buffers, they are not boxed types anymore
9623 2005-06-20 Wim Taymans <wim@fluendo.com>
9625 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9626 Testcase to show error in buffer-on-caps serialisation.
9628 2005-06-20 Andy Wingo <wingo@pobox.com>
9630 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9631 will be adding to later.
9633 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9634 if its socks fill with rocks.
9635 (gst_system_clock_obtain): Set the name on object construction.
9636 Avoid double-checked locking.
9638 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9640 * gst/gsturi.c: (gst_element_make_from_uri):
9641 Fix potential endless loop.
9643 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9645 * check/Makefile.am:
9647 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9649 move over from testsuite dir and clean up
9652 * testsuite/Makefile.am:
9653 * testsuite/tags/.cvsignore:
9654 * testsuite/tags/Makefile.am:
9655 * testsuite/tags/merge.c:
9656 remove testsuite/tags
9658 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9660 * docs/gst/gstreamer-sections.txt:
9661 * docs/gst/tmpl/gstenumtypes.sgml:
9662 * win32/gstenumtypes.c:
9663 clean up documentation build a little
9665 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9668 add macros for checking refcounts on objects and caps
9669 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9670 add some more unit tests
9671 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9672 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9673 fix leaked refcounts (I hope :)) so unittest works
9677 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9679 * configure.ac: back to HEAD
9681 === release 0.9.1 ===
9683 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9689 2005-06-17 Andy Wingo <wingo@pobox.com>
9691 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9692 assert; it's always possible that the pad gets deactivated in
9693 between the checks in gstpad.c and the implementation. Rely on
9694 finish_preroll() to return a FLUSHING or similar instead of on the
9697 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9698 clock and post an EOS message if we come out of finish_preroll in
9701 2005-06-16 David Schleef <ds@schleef.org>
9703 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9704 (gst_capsfilter_set_property): Allow NULL as possible value
9705 for filter_caps property, indicating GST_CAPS_ANY.
9707 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9709 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9711 * gst/schedulers/Makefile.am:
9713 * gstreamer.spec.in:
9716 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9718 * gstreamer.spec.in:
9721 2005-06-08 Andy Wingo <wingo@pobox.com>
9723 * gst/gstutils.c: RPAD fixes all around.
9724 (gst_element_link_pads): Refcounting fixes.
9726 * tools/gst-inspect.c:
9727 * tools/gst-xmlinspect.c:
9729 * gst/base/gsttypefindhelper.c:
9730 * gst/base/gstbasesink.c:
9731 * gst/gstqueue.c: RPAD fixes.
9733 * gst/gstghostpad.h:
9734 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9735 pads. The tricky thing is they provide both source and sink
9736 interfaces, since they proxy the internal pad for the external
9737 pad, and vice versa. Implement with lower-level ProxyPad objects,
9738 with the interior proxy pad as a child of the exterior ghost pad.
9739 Should write a doc on this.
9741 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9742 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9745 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9746 pads are real pads. No ghost pads in this file. Not documenting
9747 the myriad s/RPAD/PAD/ and REALIZE fixes.
9748 (gst_pad_class_init): Add properties for "direction" and
9749 "template". Both are construct-only, so they can't change during
9750 the life of the pad. Fixes properly deriving from GstPad.
9751 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9752 derived objects, just set properties when creating the objects via
9754 (gst_pad_get_parent): Implement as a function, return NULL if the
9755 parent is not an element.
9756 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9757 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9759 * gst/gstobject.c (gst_object_class_init): Make name a construct
9760 property. Don't set it in the object init.
9762 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9763 with UNKNOWN direction.
9764 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9765 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9766 (gst_element_remove_pad): Remove ghost-pad special cases.
9767 (gst_element_pads_activate): Remove rpad cruft.
9769 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9770 catch the pad's-parent-not-an-element case.
9772 * gst/gst.h: Include gstghostpad.h.
9774 * gst/gst.c (init_post): No more real, ghost pads.
9776 * gst/Makefile.am: Add gstghostpad.[ch].
9778 * check/Makefile.am:
9779 * check/gst/gstbin.c:
9780 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9781 into a bin creates ghost pads, and that the refcounts are right.
9782 Partly moved from gstbin.c.
9784 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9786 * check/gst-libs/.cvsignore:
9787 * check/gst/.cvsignore:
9788 * check/pipelines/.cvsignore:
9790 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9791 (START_TEST), (cleanup_suite), (main):
9792 add some tests related to cleanup after running pipelines
9794 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9796 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9797 add a testsuite for GstBuffer
9799 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9801 * gst/gstminiobject.h:
9802 add defines for accessing the refcount
9804 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9806 * Makefile.am: added support for html unit test coverage reports
9808 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9810 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9811 Free existing caps if the capsfilter changes. Add a FIXME about
9812 setting those caps on the pads.
9814 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9815 Before adding a ghost pad to a parent bin, check that there isn't
9816 already one for the element on the bin. Prevents infinite recursion
9817 when using decodebin in parse pipelines. Andy says he'll rewrite the
9818 way this works anyway, so ignore the hack.
9820 2005-06-02 Andy Wingo <wingo@pobox.com>
9822 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9823 file size, pass it on to the type find helper.
9825 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9826 segment_start and segment_end properly according to the seek
9827 method. Segment_end is still a bit flaky because offset can be
9828 negative for CUR and END cases, but it takes -1 as an "unset"
9831 2005-06-02 Wim Taymans <wim@fluendo.com>
9833 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9834 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9835 (gst_basesink_activate):
9836 * gst/base/gstbasesink.h:
9837 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9838 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9839 (gst_pad_query), (gst_pad_start_task):
9841 * gst/gstqueue.c: (gst_queue_bufferalloc),
9842 (gst_queue_handle_sink_event), (gst_queue_chain):
9843 Bufferalloc: return GstFlowReturn to more accuratly report
9844 why allocation failed.
9846 2005-06-02 Wim Taymans <wim@fluendo.com>
9848 * gst/gstpipeline.c: (gst_pipeline_send_event):
9849 Take snapshot of state without blocking.
9851 2005-06-02 Wim Taymans <wim@fluendo.com>
9853 * docs/design/part-TODO.txt:
9854 * docs/design/part-caps.txt:
9855 * docs/design/part-clocks.txt:
9856 * docs/design/part-negotiation.txt:
9857 * docs/design/part-preroll.txt:
9860 2005-05-30 Wim Taymans <wim@fluendo.com>
9862 * gst/elements/gstidentity.c: (gst_identity_event),
9863 (gst_identity_transform), (gst_identity_get_property):
9864 Protect last_message property as it is accessed from
9867 2005-05-30 Wim Taymans <wim@fluendo.com>
9869 * gst/gstelement.c: (gst_element_init),
9870 (gst_element_pads_activate), (gst_element_change_state):
9871 Slicker pad activation code.
9873 2005-05-30 Wim Taymans <wim@fluendo.com>
9877 * gst/gstelementfactory.h:
9879 Move elementfactory methods to separate .h file.
9881 2005-05-30 Wim Taymans <wim@fluendo.com>
9883 * docs/design/part-overview.txt:
9884 * gst/gstsystemclock.h:
9885 Small typo fixes, doc updates.
9887 2005-05-30 Wim Taymans <wim@fluendo.com>
9889 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9890 (init_popt_callback):
9891 Remove cpu-opt flag.
9893 2005-05-30 Wim Taymans <wim@fluendo.com>
9895 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9896 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9898 Avoid typechecking in places where not needed.
9899 Added accessor for malloc_data.
9901 2005-05-30 Wim Taymans <wim@fluendo.com>
9903 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9904 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9905 (gst_pad_configure_sink), (gst_pad_configure_src),
9906 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9907 (gst_pad_start_task):
9908 Propagate errors from _set_caps() in configure_src/sink
9909 functions instead of returning TRUE.
9910 FLUSH events can travel up and downstream
9913 2005-05-30 Wim Taymans <wim@fluendo.com>
9915 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9916 (gst_basesink_activate):
9917 Handle EOS in preroll.
9919 2005-05-30 Wim Taymans <wim@fluendo.com>
9921 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9922 (gst_queue_loop), (gst_queue_handle_src_event):
9923 Remove old pieces of code
9924 Flushing the queue in an upstream event is a very bad idea.
9926 2005-05-26 Andy Wingo <wingo@pobox.com>
9928 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9929 gst_value_set_mini_object so as to add a ref on the object (which
9930 will be removed when the value is unset).
9932 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9933 arg type in ::handoff.
9935 * gst/gstelement.c (gst_element_change_state): Also deactivate
9936 pads in READY->NULL, just in case the element didn't make it to
9937 PAUSED. Wingo tested, Wim approved.
9939 2005-05-26 Wim Taymans <wim@fluendo.com>
9941 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9942 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9943 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9944 A flushing pad cannot be used to alloc_buffer from.
9946 2005-05-26 Wim Taymans <wim@fluendo.com>
9948 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9949 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9950 (gst_bus_source_dispatch), (gst_bus_source_finalize),
9951 (gst_bus_create_watch), (gst_bus_add_watch_full):
9953 Implement a real GSource and use g_main_context_wakeup() to
9954 signal new messages instead of the socketpair.
9956 2005-05-25 Wim Taymans <wim@fluendo.com>
9958 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9959 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9960 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9961 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9962 (gst_pad_send_event), (gst_pad_start_task):
9963 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9964 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9965 (gst_queue_sink_activate), (gst_queue_src_activate),
9966 (gst_queue_change_state):
9968 Fix state changes for non sinks. We now change sinks, then elements
9969 with unconnected srcpads, then the rest.
9970 More efficient queue unlocking in flush and state changes.
9971 Set the pad activate mode even if it does not have an activate
9974 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9976 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9977 Don't go in pull mode for non-seekable sources.
9978 * gst/elements/gsttypefindelement.h:
9979 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9980 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9981 (free_entry), (stop_typefinding),
9982 (gst_type_find_element_handle_event), (find_peek),
9983 (gst_type_find_element_chain), (do_pull_typefind),
9984 (gst_type_find_element_change_state):
9985 Allow typefinding (w/o seeking) in push-mode, simplified version
9987 * gst/gstutils.c: (gst_buffer_join):
9989 gst_buffer_join() from 0.8.
9991 2005-05-25 Wim Taymans <wim@fluendo.com>
9993 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9994 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9995 (gst_pad_send_event), (gst_pad_start_task):
9996 Disable attempt at mode switching until it is figured out.
9998 2005-05-25 Wim Taymans <wim@fluendo.com>
10000 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10001 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10002 (gst_basesink_finish_preroll), (gst_basesink_chain),
10003 (gst_basesink_loop), (gst_basesink_activate),
10004 (gst_basesink_change_state):
10005 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10006 (gst_basesrc_get_range), (gst_basesrc_loop),
10007 (gst_basesrc_activate):
10008 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10009 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10010 (gst_real_pad_init), (gst_real_pad_set_property),
10011 (gst_real_pad_get_property), (gst_pad_set_active),
10012 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10013 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10014 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10015 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10016 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10017 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10018 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10019 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10020 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10021 (gst_pad_stop_task):
10023 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10024 (gst_queue_loop), (gst_queue_src_activate):
10025 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10026 (gst_task_get_state):
10028 * gst/schedulers/threadscheduler.c:
10029 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10030 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10032 Remove ACTIVE pad flag, use FLUSHING everywhere
10033 Added _pad_chain(), _pad_get_range() to call chain/getrange
10035 Add locks around IS_FLUSHING when reading.
10036 Take STREAM lock in chain(), get_range() functions so plugins
10037 don't need to take it anymore.
10041 2005-05-25 Wim Taymans <wim@fluendo.com>
10043 * tools/gst-launch.c: (event_loop):
10044 Unref message after using its contents instead of
10047 2005-05-24 Wim Taymans <wim@fluendo.com>
10049 * docs/design/draft-ghostpads.txt:
10050 * docs/design/draft-push-pull.txt:
10051 * docs/design/draft-query.txt:
10052 * docs/design/part-overview.txt:
10053 Docs updates, added general overview doc.
10055 2005-05-21 David Schleef <ds@schleef.org>
10057 * docs/gst/tmpl/old/GstBin.sgml:
10058 * docs/gst/tmpl/old/GstBuffer.sgml:
10059 * docs/gst/tmpl/old/GstCaps.sgml:
10060 * docs/gst/tmpl/old/GstClock.sgml:
10061 * docs/gst/tmpl/old/GstCompat.sgml:
10062 * docs/gst/tmpl/old/GstData.sgml:
10063 * docs/gst/tmpl/old/GstElement.sgml:
10064 * docs/gst/tmpl/old/GstEvent.sgml:
10065 * docs/gst/tmpl/old/GstIndex.sgml:
10066 * docs/gst/tmpl/old/GstStructure.sgml:
10067 * docs/gst/tmpl/old/GstTag.sgml:
10068 * docs/gst/tmpl/old/cothreads.sgml:
10069 * docs/gst/tmpl/old/cothreads_compat.sgml:
10070 * docs/gst/tmpl/old/gettext.sgml:
10071 * docs/gst/tmpl/old/gobject2gtk.sgml:
10072 * docs/gst/tmpl/old/grammar.tab.sgml:
10073 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10074 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10075 * docs/gst/tmpl/old/gst_private.sgml:
10076 * docs/gst/tmpl/old/gstaggregator.sgml:
10077 * docs/gst/tmpl/old/gstarch.sgml:
10078 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10079 * docs/gst/tmpl/old/gstbufferstore.sgml:
10080 * docs/gst/tmpl/old/gstdata_private.sgml:
10081 * docs/gst/tmpl/old/gstdisksink.sgml:
10082 * docs/gst/tmpl/old/gstdisksrc.sgml:
10083 * docs/gst/tmpl/old/gstelementfactory.sgml:
10084 * docs/gst/tmpl/old/gstextratypes.sgml:
10085 * docs/gst/tmpl/old/gstfakesink.sgml:
10086 * docs/gst/tmpl/old/gstfakesrc.sgml:
10087 * docs/gst/tmpl/old/gstfdsink.sgml:
10088 * docs/gst/tmpl/old/gstfdsrc.sgml:
10089 * docs/gst/tmpl/old/gstfilesink.sgml:
10090 * docs/gst/tmpl/old/gstfilesrc.sgml:
10091 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10092 * docs/gst/tmpl/old/gstidentity.sgml:
10093 * docs/gst/tmpl/old/gstindexfactory.sgml:
10094 * docs/gst/tmpl/old/gstmarshal.sgml:
10095 * docs/gst/tmpl/old/gstmd5sink.sgml:
10096 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10097 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10098 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10099 * docs/gst/tmpl/old/gstpipefilter.sgml:
10100 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10101 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10102 * docs/gst/tmpl/old/gstshaper.sgml:
10103 * docs/gst/tmpl/old/gstspider.sgml:
10104 * docs/gst/tmpl/old/gstspideridentity.sgml:
10105 * docs/gst/tmpl/old/gststatistics.sgml:
10106 * docs/gst/tmpl/old/gsttee.sgml:
10107 * docs/gst/tmpl/old/gsttimecache.sgml:
10108 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10109 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10110 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10111 * docs/gst/tmpl/old/types.sgml:
10112 I didn't intend to add these or check them in.
10114 2005-05-19 David Schleef <ds@schleef.org>
10116 * configure.ac: Use -no-common everywhere. In a sane world, it
10117 would be the default in libtool, because without it, you can't
10118 build DLLs on Windows.
10119 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10120 * docs/gst/gstreamer-sections.txt:
10121 * docs/gst/tmpl/gstcpu.sgml:
10122 * docs/gst/tmpl/gstdata.sgml:
10123 * docs/gst/tmpl/gstthread.sgml:
10125 2005-05-19 David Schleef <ds@schleef.org>
10127 * gst/gstminiobject.c: (gst_value_set_mini_object),
10128 (gst_value_take_mini_object), (gst_value_get_mini_object):
10129 * gst/gstminiobject.h: Add GValue set/get functions.
10131 2005-05-19 Wim Taymans <wim@fluendo.com>
10133 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10134 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10135 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10137 * gst/gstbus.c: (gst_bus_post):
10138 * gst/gstelement.c: (gst_element_get_random_pad):
10139 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10140 Make subbufer unref the parent in finalize.
10141 some more debugging info.
10144 2005-05-19 Wim Taymans <wim@fluendo.com>
10146 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10147 (gst_basesink_init), (gst_basesink_finalize),
10148 (gst_basesink_activate), (gst_basesink_change_state):
10149 Don't free preroll queue too early.
10151 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10155 Hi, I'm outdated. Please shoot me.
10157 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10159 * gst/gstpipeline.c: (gst_pipeline_send_event):
10160 Do not access variables after they have been deleted.
10162 2005-05-19 Wim Taymans <wim@fluendo.com>
10164 * tools/gst-inspect.c: (print_plugin_features):
10165 A plugin feature does unfortunatly not use the
10168 2005-05-18 Wim Taymans <wim@fluendo.com>
10170 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10171 Port _span() functions to new subbuffers.
10173 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10175 * gst/gstbin.c: (gst_bin_add_func):
10176 Fix clock settery in bins when adding kids after the clock has
10179 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10181 * gst/elements/gstidentity.c: (gst_identity_class_init):
10182 Workaround until signals support GstMiniObject.
10184 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10187 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10189 2005-05-18 Wim Taymans <wim@fluendo.com>
10191 * gst/base/Makefile.am:
10192 * gst/base/gstadapter.c: (gst_adapter_base_init),
10193 (gst_adapter_class_init), (gst_adapter_init),
10194 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10195 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10196 (gst_adapter_flush), (gst_adapter_available),
10197 (gst_adapter_available_fast):
10198 * gst/base/gstadapter.h:
10199 Ported and added adapter to the base classes.
10201 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10204 * gst/gstmessage.c:
10205 Make sure the class is reffed/unreffed once before threads can be
10206 used. Fixes #304551.
10208 2005-05-17 Wim Taymans <wim@fluendo.com>
10210 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10211 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10212 * gst/gstminiobject.c: (gst_mini_object_get_type),
10213 (gst_mini_object_free):
10214 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10215 (gst_pad_push), (gst_pad_push_event):
10216 * gst/gstqueue.c: (gst_queue_change_state):
10217 Don't queue buffers in basesink when we are flushing.
10218 Unref buffer when flushing in basesink.
10219 Flush queue when going to READY
10220 Unref buffer when _push() returns an error.
10221 Don't free MiniObject instance when refcount is incremented
10222 in _finalize() so that we can recover objects.
10224 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10226 * docs/manual/advanced-schedulers.xml:
10227 * docs/manual/appendix-checklist.xml:
10228 * docs/pwg/advanced-clock.xml:
10229 * docs/pwg/advanced-interfaces.xml:
10230 * docs/pwg/advanced-request.xml:
10231 * docs/pwg/advanced-types.xml:
10232 * docs/pwg/intro-preface.xml:
10233 * examples/plugins/example.c: (gst_example_get_type),
10234 (gst_example_class_init), (gst_example_chain),
10235 (gst_example_set_property), (gst_example_get_property),
10236 (gst_example_change_state), (plugin_init):
10237 * examples/plugins/example.h:
10240 2005-05-17 Wim Taymans <wim@fluendo.com>
10242 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10243 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10244 * gst/gstqueue.c: (gst_queue_change_state):
10245 Clear queue when going to READY.
10246 Remove IN_SETCAPS flag too.
10248 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10250 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10251 Remove implicit cast from gboolean to GstElementStateReturn;
10252 make sure we still return failure in paused => ready case if
10253 the parent class fails to change state and our own stop
10256 2005-05-17 Wim Taymans <wim@fluendo.com>
10258 * tools/gst-launch.c: (event_loop):
10259 Message was unreffed too soon.
10261 2005-05-16 Andy Wingo <wingo@pobox.com>
10263 * gst/gstbin.c (sink_iterator_filter): Err... um...
10265 * check/gst/gstbin.c (test_ghost_pads): New test for the
10266 ghosting-if-elements-not-in-same-bin behavior.
10268 2005-05-16 David Schleef <ds@schleef.org>
10270 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10271 accessing refcount directly.
10273 2005-05-15 David Schleef <ds@schleef.org>
10275 * check/Makefile.am: remove GstData checks
10276 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10277 * gst/Makefile.am: add miniobject, remove data
10278 * gst/gst.h: add miniobject, remove data
10279 * gst/gstdata.c: remove
10280 * gst/gstdata.h: remove
10281 * gst/gstdata_private.h: remove
10282 * gst/gsttypes.h: remove GstEvent and GstMessage
10283 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10284 * gst/gstmarshal.list: change BOXED -> OBJECT
10286 Implement GstMiniObject.
10287 * gst/gstminiobject.c:
10288 * gst/gstminiobject.h:
10290 Modify to be subclasses of GstMiniObject.
10291 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10292 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10293 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10294 (gst_subbuffer_get_type), (gst_subbuffer_init),
10295 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10298 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10299 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10300 (_gst_event_copy), (gst_event_new):
10302 * gst/gstmessage.c: (_gst_message_initialize),
10303 (gst_message_get_type), (gst_message_class_init),
10304 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10305 (gst_message_new), (gst_message_new_error),
10306 (gst_message_new_warning), (gst_message_new_tag),
10307 (gst_message_new_state_changed), (gst_message_new_application):
10308 * gst/gstmessage.h:
10309 * gst/gstprobe.c: (gst_probe_perform),
10310 (gst_probe_dispatcher_dispatch):
10312 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10313 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10314 (_gst_query_copy), (gst_query_new):
10316 Update elements for GstData -> GstMiniObject changes
10318 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10319 (gst_queue_chain), (gst_queue_loop):
10320 * gst/elements/gstbufferstore.c:
10321 (gst_buffer_store_add_buffer_func),
10322 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10323 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10324 (gst_fakesink_render):
10325 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10326 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10327 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10328 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10329 (gst_filesrc_create_read):
10330 * gst/elements/gstidentity.c: (gst_identity_class_init):
10331 * gst/elements/gsttypefindelement.c:
10332 (gst_type_find_element_src_event), (free_entry_buffers),
10333 (gst_type_find_element_handle_event):
10334 * libs/gst/dataprotocol/dataprotocol.c:
10335 (gst_dp_header_from_buffer):
10336 * libs/gst/dataprotocol/dataprotocol.h:
10337 * libs/gst/dataprotocol/dp-private.h:
10339 2005-05-15 David Schleef <ds@schleef.org>
10341 * gst/elements/gstelements.c: Don't include headers that were
10344 2005-05-15 David Schleef <ds@schleef.org>
10346 * gst/elements/Makefile.am: Remove some elements that don't
10347 need to be in the core (or even exist at all).
10348 * gst/elements/gstaggregator.c:
10349 * gst/elements/gstaggregator.h:
10350 * gst/elements/gstmd5sink.c:
10351 * gst/elements/gstmd5sink.h:
10352 * gst/elements/gstmultifilesrc.c:
10353 * gst/elements/gstmultifilesrc.h:
10354 * gst/elements/gstpipefilter.c:
10355 * gst/elements/gstpipefilter.h:
10356 * gst/elements/gstshaper.c:
10357 * gst/elements/gstshaper.h:
10358 * gst/elements/gststatistics.c:
10359 * gst/elements/gststatistics.h:
10360 * po/POTFILES.in: Remove above files.
10362 2005-05-14 Andy Wingo <wingo@pobox.com>
10364 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10365 so as to get the refs right.
10366 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10367 unreffing objects that don't pass the filter.
10369 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10370 gst_element_set_bus.
10371 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10372 normal cases, this will destroy the bus.
10374 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10377 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10380 2005-05-13 Andy Wingo <wingo@pobox.com>
10382 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10383 gst_pad_link, call pad_link_maybe_ghosting,
10384 (pad_link_maybe_ghosting): Links pads, making sure that the
10385 elements being linked are in the same bin.
10386 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10387 Helpers for pad_link_maybe_ghosting.
10389 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10392 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10394 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10396 * docs/design/part-element-source.txt:
10399 2005-05-12 Wim Taymans <wim@fluendo.com>
10401 * gst/base/gstbasesink.c: (gst_basesink_init),
10402 (gst_basesink_activate):
10403 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10404 (gst_basesrc_is_seekable):
10405 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10406 (bin_element_is_sink), (gst_bin_change_state):
10407 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10408 * gst/gstelement.h:
10409 Identify sinks by their flag to avoid overly complicated
10411 Do state changes even for elements not reachable from the
10413 BaseSink is a sink now :)
10414 Some more debugging info in the basesrc.
10417 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10419 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10420 Implement _query on a bin, similar to _send_event.
10422 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10424 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10425 Discont event offset format should be GST_FORMAT_BYTES,
10426 not GST_FORMAT_TIME.
10428 2005-05-12 Wim Taymans <wim@fluendo.com>
10430 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10431 Same fix as Ronald's but without the signal.
10433 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10435 * gst/gstutils.c: (gst_element_query_position):
10436 No, an element is not a pad.
10438 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10440 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10441 (gst_bin_get_state):
10442 If a child is removed from a bin while we remove the child from
10443 the bin and while we're retrieving its state, signal this to the
10444 get_state function so we abort the wait (instead of waiting for
10445 a timeout) and can immediately re-iterate over all other elements.
10447 2005-05-12 Wim Taymans <wim@fluendo.com>
10449 * gst/base/Makefile.am:
10450 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10451 (gst_basesrc_start):
10452 * gst/base/gstbasesrc.h:
10453 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10454 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10455 (gst_pushsrc_init), (gst_pushsrc_create):
10456 * gst/base/gstpushsrc.h:
10457 Added is_seekable to BaseSrc
10458 Added simple PushSrc.
10460 2005-05-11 Wim Taymans <wim@fluendo.com>
10462 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10463 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10464 (gst_element_link_pads), (gst_element_query_position),
10465 (gst_element_query_convert), (intersect_caps_func),
10466 (gst_pad_query_position), (gst_pad_query_convert):
10467 Fix refcounting in utils function.
10468 No point in trying to activate a pad when it's added, it could
10469 be added from the state change function and then we deadlock, the
10470 element has to decide what to do.
10472 2005-05-10 Andy Wingo <wingo@pobox.com>
10474 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10475 *all* the arguments.
10477 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10478 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10479 lock (according to the docs -- if this is wrong change the docs).
10481 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10482 flush messages in the NULL state.
10484 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10485 message immediately and return.
10486 (gst_bus_set_flushing): New function. If a bus is flushing, it
10487 flushes out any queued messages and immediately unrefs new
10488 messages. This is so when an element goes to NULL, all of the
10489 unhandled messages coming from it can be freed, and their
10490 references to the element dropped. In other words: message source
10491 ref considered harmful :P
10493 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10494 we're finished with it.
10496 * gst/gstmessage.c (gst_message_new_state_changed):
10498 2005-05-10 Wim Taymans <wim@fluendo.com>
10500 * gst/gstvalue.c: (gst_value_compare_flags),
10501 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10502 (_gst_value_initialize):
10503 Added flags serialize/deserialize/compare code.
10505 2005-05-09 Andy Wingo <wingo@pobox.com>
10507 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10508 Intersect the peer's caps with our caps.
10510 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10512 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10513 * gst/elements/gsttypefindelement.c: (find_peek):
10514 Handle negative offsets better. Fixes decodebin.
10516 2005-05-09 Wim Taymans <wim@fluendo.com>
10518 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10519 (gst_base_transform_event):
10520 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10521 Implement accept_caps.
10522 Fix silly lock/unlock mismatch in base class.
10524 2005-05-09 Wim Taymans <wim@fluendo.com>
10526 * docs/design/draft-push-pull.txt:
10527 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10528 * gst/elements/gstfilesink.c: (gst_filesink_init),
10529 (gst_filesink_query):
10530 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10531 (gst_type_find_handle_src_query), (find_element_get_length):
10532 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10533 * gst/gstelement.h:
10534 * gst/gstmessage.c:
10535 * gst/gstmessage.h:
10536 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10537 (gst_real_pad_get_caps_unlocked),
10538 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10539 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10540 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10541 (gst_real_pad_dispose), (gst_real_pad_finalize),
10542 (gst_pad_load_and_link), (gst_pad_save_thyself),
10543 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10544 (gst_pad_check_pull_range), (gst_pad_pull_range),
10545 (gst_pad_template_get_type), (gst_pad_template_class_init),
10546 (gst_pad_template_init), (gst_pad_template_dispose),
10547 (name_is_valid), (gst_static_pad_template_get),
10548 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10549 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10550 (gst_pad_get_element_private), (gst_pad_start_task),
10551 (gst_pad_pause_task), (gst_pad_stop_task),
10552 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10553 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10554 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10555 (gst_ghost_pad_new):
10557 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10558 (gst_query_new_position), (gst_query_set_position),
10559 (gst_query_parse_position), (gst_query_new_convert),
10560 (gst_query_set_convert), (gst_query_parse_convert):
10562 * gst/gstqueryutils.c:
10563 * gst/gstqueryutils.h:
10564 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10565 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10566 (gst_queue_handle_src_query):
10567 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10568 (gst_element_query_position), (gst_element_query_convert),
10569 (intersect_caps_func), (gst_pad_query_position),
10570 (gst_pad_query_convert):
10572 * tools/gst-inspect.c: (print_pad_info):
10573 * tools/gst-xmlinspect.c: (print_element_info):
10574 Remove old query functions. Ported old code.
10575 Added position/convert helper functions to gstutils.
10576 Reordered gstpad.c code, grouping relevant things.
10577 Remove gst_message_new(), always need to speficy a specific
10581 2005-05-09 Andy Wingo <wingo@pobox.com>
10583 * gst/gstiterator.h: Add some includes.
10585 * gst/gstqueryutils.h: Include more headers.
10588 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10589 some uses of gst_pad_query.
10591 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10592 NULL out parameters.
10593 (gst_query_new_position): New proc, allocates a new position
10596 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10597 gstqueryutils.c to the build.
10599 * gst/gststructure.c (gst_structure_set_valist): Implement with
10600 the generic G_VALUE_COLLECT.
10602 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10604 * gst/Makefile.am: (gst_headers):
10605 Added gstqueryutils.h to the list of headers to install, that was
10606 a 'nachty' move wingo :)
10608 2005-05-06 Andy Wingo <wingo@pobox.com>
10611 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10612 GstData, init a memchunk.
10613 (standard_definitions): Add a few query types, deprecate a few.
10614 (gst_query_get_type): New proc.
10615 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10617 (gst_query_new_application, gst_query_get_structure): New public
10620 * docs/design/draft-query.txt: Removed LINKS from the query types,
10621 because all the rest can be dispatched to other pads -- seemed
10622 ugly to have a query that couldn't be dispatched. internal_links
10623 is fine as a pad method.
10625 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10626 in gstpad.c, but maintain binary compatibility for the moment.
10627 Will fix before 0.9 is out.
10629 * gst/gstqueryutils.c:
10630 * gst/gstqueryutils.h: New files, implement 3 methods for each
10631 query type: parse_query, parse_response, and set. Probably need an
10634 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10636 * gst/elements/gstfilesink.c (gst_filesink_query2):
10637 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10638 query_types, and formats methods.
10640 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10641 (gst_pad_set_query2_function): New functions.
10642 (gst_real_pad_init): Set query2_default as the default query2
10643 function. Basically just dispatches to internally linked pads.
10647 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10648 without using the atomic operations. Only one thread can possibly
10649 be accessing the data at this point. Changed so as to avoid
10650 gst_atomic operations.
10652 2005-05-06 Wim Taymans <wim@fluendo.com>
10654 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10655 Also set caps if we use the fallback buffer alloc.
10657 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10659 * docs/gst/Makefile.am:
10660 * docs/gst/gstreamer-docs.sgml:
10661 * docs/gst/gstreamer-sections.txt:
10662 * docs/gst/tmpl/gstatomic.sgml:
10663 * docs/gst/tmpl/gstmemchunk.sgml:
10664 * testsuite/elements/struct_i386.h:
10665 * win32/GStreamer.vcproj:
10667 Purge GstAtomic stuff from docs and win32 makefiles as well
10669 2005-05-06 Wim Taymans <wim@fluendo.com>
10671 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10672 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10673 * gst/gstpad.c: (gst_pad_peer_get_caps):
10674 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10675 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10676 (gst_queue_src_activate), (gst_queue_change_state):
10678 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10679 (intersect_caps_func):
10680 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10681 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10682 Some fixes for the peer_get_caps() change.
10684 2005-05-06 Wim Taymans <wim@fluendo.com>
10686 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10687 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10688 (gst_basesink_activate):
10689 Actually do something with error codes returned from the push
10692 2005-05-06 Wim Taymans <wim@fluendo.com>
10694 * docs/design/part-element-sink.txt:
10695 * docs/design/part-element-source.txt:
10696 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10697 (gst_basesink_event), (gst_basesink_activate):
10698 * gst/base/gstbasesink.h:
10699 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10700 (gst_basesrc_activate):
10701 * gst/base/gstbasesrc.h:
10702 * gst/gstelement.c: (gst_element_pads_activate):
10703 Some more documentation.
10704 Fixed scheduling decision in _pads_activate().
10706 2005-05-05 Andy Wingo <wingo@pobox.com>
10708 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10711 2005-05-05 Wim Taymans <wim@fluendo.com>
10713 * gst/base/Makefile.am:
10714 * gst/base/gstbasesink.h:
10715 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10716 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10717 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10718 (gst_collectpads_class_init), (gst_collectpads_init),
10719 (gst_collectpads_finalize), (gst_collectpads_new),
10720 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10721 (find_pad), (gst_collectpads_remove_pad),
10722 (gst_collectpads_is_active), (gst_collectpads_collect),
10723 (gst_collectpads_collect_range), (gst_collectpads_start),
10724 (gst_collectpads_stop), (gst_collectpads_peek),
10725 (gst_collectpads_pop), (gst_collectpads_available),
10726 (gst_collectpads_read), (gst_collectpads_flush),
10727 (gst_collectpads_chain):
10728 * gst/base/gstcollectpads.h:
10729 * gst/elements/Makefile.am:
10730 * gst/elements/gstelements.c:
10731 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10732 (gst_fakesink_get_times), (gst_fakesink_event),
10733 (gst_fakesink_preroll), (gst_fakesink_render):
10734 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10735 (gst_filesink_init), (gst_filesink_set_location),
10736 (gst_filesink_open_file), (gst_filesink_close_file),
10737 (gst_filesink_pad_query), (gst_filesink_event),
10738 (gst_filesink_render), (gst_filesink_change_state):
10739 * gst/elements/gstfilesink.h:
10740 Added object to help in making collect pad based elements.
10742 Make event function in sink baseclass return gboolean.
10744 2005-05-05 Wim Taymans <wim@fluendo.com>
10746 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10747 (gst_bin_get_by_name):
10749 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10750 (gst_clock_finalize):
10751 * gst/gstdata.c: (gst_data_replace):
10753 * gst/gstelement.c: (gst_element_request_pad),
10754 (gst_element_pads_activate):
10755 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10756 (gst_object_unref):
10757 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10758 (gst_pad_set_checkgetrange_function),
10759 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10760 (gst_pad_check_pull_range), (gst_pad_pull_range),
10761 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10762 (gst_pad_pause_task), (gst_pad_stop_task):
10763 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10764 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10765 Fix name lookup in GstBin.
10766 Added _data_replace() function and _buffer_replace()
10767 Use finalize method to clean up clock.
10768 Fix refcounting on request pads.
10769 Fix pad schedule mode error.
10770 Some more object refcounting debug info,
10773 2005-05-04 Andy Wingo <wingo@pobox.com>
10775 * check/Makefile.am:
10776 * docs/gst/tmpl/gstatomic.sgml:
10777 * docs/gst/tmpl/gstplugin.sgml:
10778 * gst/base/gstbasesink.c: (gst_basesink_activate):
10779 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10780 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10781 (gst_basesrc_query), (gst_basesrc_set_property),
10782 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10783 (gst_basesrc_activate):
10784 * gst/base/gstbasesrc.h:
10785 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10786 (gst_base_transform_src_activate):
10787 * gst/elements/gstelements.c:
10788 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10789 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10790 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10791 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10792 (gst_type_find_element_checkgetrange),
10793 (gst_type_find_element_activate):
10794 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10795 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10796 (gst_caps_load_thyself):
10797 * gst/gstelement.c: (gst_element_pads_activate),
10798 (gst_element_save_thyself), (gst_element_restore_thyself):
10799 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10800 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10802 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10803 (gst_xml_parse_file), (gst_xml_parse_memory),
10804 (gst_xml_get_element), (gst_xml_make_element):
10805 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10806 (_file_index_id_save_xml), (gst_file_index_commit):
10807 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10808 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10810 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10811 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10812 * tools/gst-complete.c: (main):
10813 * tools/gst-compprep.c: (main):
10814 * tools/gst-inspect.c: (print_element_properties_info):
10815 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10816 * tools/gst-xmlinspect.c: (print_element_properties):
10819 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10821 * gst/gstplugin.c: (gst_plugin_check_module),
10822 (gst_plugin_check_file), (gst_plugin_load_file):
10823 apply patch from #172526 to make register work on MacOSX
10825 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10827 * docs/gst/tmpl/gstconfig.sgml:
10828 * gst/gstconfig.h.in:
10829 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10830 * testsuite/debug/printf_extension.c: (main):
10831 Do not use GST_PTR_FORMAT on pointers to types with
10832 sizeof < sizeof(gpointer). Fixes test on 64-bit
10833 * testsuite/elements/property.h:
10834 use correct printf format
10836 2005-05-02 Wim Taymans <wim@fluendo.com>
10838 * docs/design/draft-push-pull.txt:
10839 * docs/design/draft-query.txt:
10840 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10841 (gst_basesrc_start):
10842 Added draft for new query API.
10843 Added draft for better selecting scheduling methods.
10844 Make basesrc ignore length if the subclass does not support
10847 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10850 possible fixes for automake-1.5 - _LIBADD is reserved
10852 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10854 * docs/faq/Makefile.am:
10855 * docs/manual/Makefile.am:
10856 * docs/manuals.mak:
10857 * docs/pwg/Makefile.am:
10859 possible fixes for automake-1.5
10861 2005-04-28 Wim Taymans <wim@fluendo.com>
10863 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10864 (gst_basesink_pad_getcaps), (gst_basesink_init),
10865 (gst_basesink_do_sync):
10866 * gst/gstclock.c: (gst_clock_entry_new):
10867 * gst/gstevent.c: (gst_event_discont_get_value):
10868 * gst/gstpipeline.c: (pipeline_bus_handler),
10869 (gst_pipeline_change_state):
10870 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10871 Better debugging of clocking info.
10872 Allow NULL values when getting discont values.
10874 2005-04-27 Wim Taymans <wim@fluendo.com>
10876 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10877 * check/gst/gstpad.c: (gst_pad_suite):
10878 Increase timeout for checks.
10880 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10882 * check/Makefile.am:
10883 fix the broken rule for cleanup. Apparently this rule is
10884 only needed on FC2, so maybe this warrants further autotool
10887 2005-04-26 Wim Taymans <wim@fluendo.com>
10889 * gst/gsttrashstack.h:
10890 Ooohh. a nasty one! After having a failed pop() from the stack,
10891 it's possible that the stack is empty. In that case, don't
10892 follow the NULL pointer.
10894 2005-04-25 Wim Taymans <wim@fluendo.com>
10896 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10897 (gst_pad_set_checkgetrange_function),
10898 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10899 (gst_pad_check_pull_range), (gst_pad_pull_range),
10900 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10901 (gst_pad_pause_task), (gst_pad_stop_task):
10902 * gst/gstplugin.c: (gst_plugin_load):
10904 Remove gst_library_load as it does more harm than good with
10905 the new g_module flags.
10906 Revert bogus caps template check in pad linking, pad caps
10907 are important when linking not the template, which is more
10908 general than the current caps.
10910 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10912 * gst/autoplug/.cvsignore:
10913 * gst/autoplug/Makefile.am:
10914 * gst/autoplug/gstsearchfuncs.c:
10915 * gst/autoplug/gstsearchfuncs.h:
10916 * gst/autoplug/gstspider.c:
10917 * gst/autoplug/gstspider.h:
10918 * gst/autoplug/gstspideridentity.c:
10919 * gst/autoplug/gstspideridentity.h:
10920 * gst/autoplug/spidertest.c:
10923 2005-04-25 Wim Taymans <wim@fluendo.com>
10925 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10926 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10927 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10928 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10930 Added stubs for unimplemented functions.
10932 2005-04-24 David Schleef <ds@schleef.org>
10934 * gst/gstpad.h: Disable some unimplemented functions. Wim,
10937 2005-04-24 David Schleef <ds@schleef.org>
10939 Convert everything from GstAtomicInt to g_atomic_int_*, and
10944 * gst/gstatomic_impl.h:
10952 * gst/gstdata_private.h:
10956 * gst/gstmessage.c:
10959 * gst/gststructure.c:
10960 * gst/gststructure.h:
10961 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10964 2005-04-24 David Schleef <ds@schleef.org>
10966 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10967 make the regressions tests work. Remove some code that is no
10969 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10970 Disable warning for pads without templates.
10972 2005-04-24 David Schleef <ds@schleef.org>
10974 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
10975 functions that handle filtered links.
10976 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10978 * gst/gstutils.c: Fix/remove utility functions that handle
10981 * gst/gstvalue.c: Add serialization/deserialization of caps
10982 * gst/parse/grammar.y: Ignore filtered caps when linking. This
10983 requires fixing so that the filter caps notation creates
10984 a capsfilter element and sets the filter_caps property. I
10985 think everyone probably wants to keep the shorthand notation.
10986 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10987 * docs/gst/tmpl/gstpad.sgml:
10989 * gst/elements/gstelements.c: Register capsfilter element.
10990 * gst/Makefile.am: fix spacing
10991 * docs/random/ds/0.9-suggested-changes: random
10993 2005-04-23 David Schleef <ds@schleef.org>
10995 * gst/elements/Makefile.am:
10996 * gst/elements/gstcapsfilter.c: New element that acts like an
10997 identity, but filters caps. Will eventually replace filtered
10998 caps in pad linking.
10999 * gst/gstutils.c: (gst_element_create_all_pads): New function
11000 to create all the ALWAYS pads that are registered with an
11001 element class. This functionality should eventually be
11002 merged in with GstElement initialization.
11004 * testsuite/trigger/README: part of trigger test code that should
11005 have been checked in a long time ago.
11007 2005-04-23 David Schleef <ds@schleef.org>
11009 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11010 needed with new versions of libtool (nobody will confirm this),
11011 and hard to carry around.
11012 * gst/autoplug/Makefile.am:
11013 * gst/base/Makefile.am:
11014 * gst/elements/Makefile.am:
11015 * gst/indexers/Makefile.am:
11016 * gst/schedulers/Makefile.am:
11017 * libs/gst/bytestream/Makefile.am:
11018 * libs/gst/control/Makefile.am:
11019 * libs/gst/dataprotocol/Makefile.am:
11020 * libs/gst/getbits/Makefile.am:
11022 2005-04-21 Wim Taymans <wim@fluendo.com>
11024 * docs/design/draft-push-pull.txt:
11025 * docs/design/part-MT-refcounting.txt:
11026 * docs/design/part-TODO.txt:
11027 * docs/design/part-caps.txt:
11028 * docs/design/part-events.txt:
11029 * docs/design/part-gstbus.txt:
11030 * docs/design/part-gstpipeline.txt:
11031 * docs/design/part-messages.txt:
11032 * docs/design/part-push-pull.txt:
11033 * docs/design/part-query.txt:
11036 2005-04-21 Wim Taymans <wim@fluendo.com>
11038 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11039 (gst_message_new), (gst_message_new_error),
11040 (gst_message_new_warning), (gst_message_new_tag),
11041 (gst_message_new_state_changed), (gst_message_new_application),
11042 (gst_message_get_structure):
11043 * gst/gstmessage.h:
11044 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11045 (gst_structure_copy_conditional):
11046 Use parent refcount in GstMessage to ensure GstStructure
11048 Cleaned up headers a bit.
11051 2005-04-20 Wim Taymans <wim@fluendo.com>
11053 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11054 (gst_basesink_pad_getcaps), (gst_basesink_init),
11055 (gst_basesink_chain_unlocked):
11056 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11057 (gst_type_find_helper):
11058 * gst/elements/gsttypefindelement.c:
11059 (gst_type_find_element_have_type), (gst_type_find_element_init),
11060 (stop_typefinding), (gst_type_find_element_handle_event),
11061 (find_suggest), (gst_type_find_element_chain),
11062 (gst_type_find_element_checkgetrange),
11063 (gst_type_find_element_getrange), (do_typefind),
11064 (gst_type_find_element_activate):
11065 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11066 (gst_buffer_default_free), (gst_buffer_default_copy),
11067 (gst_buffer_set_caps):
11068 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11069 (gst_caps_replace):
11070 * gst/gstmessage.c: (gst_message_new),
11071 (gst_message_new_state_changed):
11072 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11073 (gst_pad_set_checkgetrange_function),
11074 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11075 (gst_pad_set_caps), (gst_pad_check_pull_range),
11076 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11078 * gst/gsttypefind.c: (gst_type_find_register):
11079 Make gst_caps_replace() work like other _replace() functions.
11080 Use _caps_replace() where possible.
11081 Make sure _message_new() initialises its field.
11082 Add gst_static_pad_template_get_caps()
11085 2005-04-18 Andy Wingo <wingo@pobox.com>
11087 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11088 on the peer, not the pad. I think that was a typo. Pass an extra
11089 arg to see if random access is possible. Activate the pads as
11090 PULL_RANGE if possible.
11092 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11094 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11095 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11098 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11100 * docs/faq/using.xml:
11101 Add note on gstreamer-properties (#154996).
11103 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11105 * docs/random/bbb/optional-properties:
11106 Some analysis on optional properties.
11108 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11110 * docs/gst/tmpl/gstelementfactory.sgml:
11111 * gst/gstelement.h:
11112 * gst/gstelementfactory.c: (gst_element_factory_init),
11113 (gst_element_factory_cleanup), (gst_element_register),
11114 (__gst_element_factory_add_static_pad_template),
11115 (gst_element_factory_get_static_pad_templates),
11116 (gst_element_factory_can_src_caps),
11117 (gst_element_factory_can_sink_caps):
11118 * gst/registries/Makefile.am:
11119 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11120 (gst_xml_registry_class_init), (gst_xml_registry_init),
11121 (gst_xml_registry_new), (gst_xml_registry_set_property),
11122 (gst_xml_registry_get_property), (get_time), (make_dir),
11123 (gst_xml_registry_get_perms_func),
11124 (plugin_times_older_than_recurse), (plugin_times_older_than),
11125 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11126 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11127 (add_to_char_array), (read_string), (read_uint), (read_enum),
11128 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11129 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11130 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11131 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11132 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11133 (gst_xml_registry_rebuild):
11134 * gst/registries/gstlibxmlregistry.h:
11135 * tools/gst-compprep.c: (main):
11136 * tools/gst-inspect.c: (print_pad_templates_info):
11137 * tools/gst-xmlinspect.c: (print_element_info):
11138 Use libxml2 for registry parsing, use staticpadtemplates in
11139 elementfactories. Makes gst_init() +/- 10x faster.
11141 2005-04-12 Wim Taymans <wim@fluendo.com>
11143 * gst/base/Makefile.am:
11144 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11145 (gst_basesink_pad_getcaps), (gst_basesink_init),
11146 (gst_basesink_event), (gst_basesink_change_state):
11147 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11148 (gst_basesrc_init), (gst_basesrc_query),
11149 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11150 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11151 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11152 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11153 (gst_basesrc_stop), (gst_basesrc_activate),
11154 (gst_basesrc_change_state):
11155 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11156 (helper_find_suggest), (gst_type_find_helper):
11157 * gst/base/gsttypefindhelper.h:
11158 * gst/elements/Makefile.am:
11159 * gst/elements/gstelements.c:
11160 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11161 (gst_fakesink_get_times), (gst_fakesink_event),
11162 (gst_fakesink_preroll), (gst_fakesink_render):
11163 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11164 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11165 (gst_fakesrc_get_property), (gst_fakesrc_create),
11166 (gst_fakesrc_start), (gst_fakesrc_stop):
11167 * gst/elements/gstfakesrc.h:
11168 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11169 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11170 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11171 (gst_filesrc_create_read), (gst_filesrc_create),
11172 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11173 (gst_filesrc_start):
11174 * gst/elements/gsttypefindelement.c:
11175 (gst_type_find_element_have_type), (gst_type_find_element_init),
11176 (start_typefinding), (stop_typefinding), (push_buffer_store),
11177 (gst_type_find_element_handle_event),
11178 (gst_type_find_element_chain),
11179 (gst_type_find_element_checkgetrange),
11180 (gst_type_find_element_getrange), (do_typefind),
11181 (gst_type_find_element_activate),
11182 (gst_type_find_element_change_state):
11183 * gst/elements/gsttypefindelement.h:
11184 * gst/gstpipeline.c: (pipeline_bus_handler):
11185 Added typefind helper.
11186 Small preroll fix in the base sink.
11187 Disable typefind code in basesrc.
11188 Crude port of typefindelement.
11192 2005-04-11 Wim Taymans <wim@fluendo.com>
11194 * check/gst/gstbus.c: (gstbus_suite):
11195 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11196 * check/gstcheck.h:
11197 Fix up the timeout so that the test does not fail.
11199 2005-04-06 Wim Taymans <wim@fluendo.com>
11202 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11203 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11204 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11205 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11206 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11207 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11208 (gst_basesrc_stop), (gst_basesrc_activate),
11209 (gst_basesrc_change_state), (basesrc_find_peek),
11210 (basesrc_find_suggest), (gst_basesrc_type_find):
11211 * gst/base/gstbasesrc.h:
11212 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11213 (gst_filesrc_class_init), (gst_filesrc_init),
11214 (gst_filesrc_finalize), (gst_filesrc_set_location),
11215 (gst_filesrc_set_property), (gst_filesrc_get_property),
11216 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11217 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11218 (gst_filesrc_create_read), (gst_filesrc_create),
11219 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11220 * gst/elements/gstfilesrc.h:
11221 * gst/gstelement.c: (gst_element_get_state_func),
11222 (gst_element_lost_state), (gst_element_pads_activate):
11223 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11224 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11225 (gst_pad_pull_range):
11227 More work on the generic source base class, implement seeking,
11229 Make filesrc extend the base source class.
11230 Added gst_pad_set_checkgetrange_function to GstPad.
11232 2005-04-06 Andy Wingo <wingo@pobox.com>
11234 * pkgconfig/gstreamer-base.pc.in:
11235 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11237 * pkgconfig/Makefile.am:
11238 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11240 2005-04-04 Wim Taymans <wim@fluendo.com>
11242 * gst/base/Makefile.am:
11244 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11245 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11246 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11247 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11248 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11249 (gst_basesrc_base_init), (gst_basesrc_class_init),
11250 (gst_basesrc_init), (gst_basesrc_get_formats),
11251 (gst_basesrc_get_query_types), (gst_basesrc_query),
11252 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11253 (gst_basesrc_set_property), (gst_basesrc_get_property),
11254 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11255 (gst_basesrc_loop), (gst_basesrc_activate),
11256 (gst_basesrc_change_state):
11257 * gst/base/gstbasesrc.h:
11258 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11259 (gst_fakesrc_class_init), (gst_fakesrc_init),
11260 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11261 (gst_fakesrc_get_property), (gst_fakesrc_create):
11262 * gst/elements/gstfakesrc.h:
11263 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11264 (gst_filesrc_open_file), (gst_filesrc_loop),
11265 (gst_filesrc_activate), (filesrc_find_peek),
11266 (gst_filesrc_type_find):
11267 Made base source class, make fakesrc extend it.
11268 Add comments to basesink class.
11269 Some filesrc cleanup.
11271 2005-03-31 David Schleef <ds@schleef.org>
11273 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11274 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11275 expected to link against libgstreamer.
11276 * gst/base/Makefile.am: link against libgstreamer
11277 * gst/elements/Makefile.am: same
11279 2005-03-31 Andy Wingo <wingo@pobox.com>
11281 * tests/instantiate/Makefile.am:
11282 * tests/instantiate/caps.c: Add test to test speed of caps copy
11285 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11286 GMemChunk to be fair.
11288 * gst/gsttrashstack.h: Remove warning about using the fallback
11289 trash stack implementation, it's still faster than malloc.
11291 2005-03-30 Andy Wingo <wingo@pobox.com>
11293 * tests/complexity.c: Add a copyright.
11295 2005-03-31 Wim Taymans <wim@fluendo.com>
11297 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11298 (gst_base_transform_class_init), (gst_base_transform_init),
11299 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11300 (gst_base_transform_get_property),
11301 (gst_base_transform_sink_activate),
11302 (gst_base_transform_src_activate),
11303 (gst_base_transform_change_state):
11304 * gst/base/gstbasetransform.h:
11305 * gst/elements/gstidentity.c: (gst_identity_class_init),
11306 (gst_identity_event), (gst_identity_check_perfect),
11307 (gst_identity_transform), (gst_identity_start),
11308 (gst_identity_stop):
11309 Added start/stop methods to transform base class so subclasses
11310 don't need to deal with state changes even.
11312 2005-03-31 Wim Taymans <wim@fluendo.com>
11314 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11315 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11318 (gst_pad_pull_range):
11319 Added rate to the discont event to prepare for variable speed
11320 and reverse playback.
11322 2005-03-29 David Schleef <ds@schleef.org>
11325 * testsuite/trigger/Makefile.am:
11326 * testsuite/trigger/trigger.c: A little example program to show
11327 how trigger-based elements can work.
11329 2005-03-29 Wim Taymans <wim@fluendo.com>
11331 * gst/base/Makefile.am:
11333 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11334 (gst_basesink_base_init), (gst_basesink_class_init),
11335 (gst_basesink_pad_getcaps), (gst_basesink_init),
11336 (gst_basesink_activate), (gst_basesink_change_state):
11337 * gst/base/gstbasesink.h:
11338 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11339 (gst_base_transform_base_init), (gst_base_transform_finalize),
11340 (gst_base_transform_class_init), (gst_base_transform_init),
11341 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11342 (gst_base_transform_event), (gst_base_transform_getrange),
11343 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11344 (gst_base_transform_set_property),
11345 (gst_base_transform_get_property),
11346 (gst_base_transform_sink_activate),
11347 (gst_base_transform_src_activate),
11348 (gst_base_transform_change_state):
11349 * gst/base/gstbasetransform.h:
11350 * gst/elements/gstidentity.c: (gst_identity_finalize),
11351 (gst_identity_class_init), (gst_identity_init),
11352 (gst_identity_event), (gst_identity_check_perfect),
11353 (gst_identity_transform), (gst_identity_set_property),
11354 (gst_identity_get_property), (gst_identity_change_state):
11355 * gst/elements/gstidentity.h:
11356 * gst/gstelement.c: (gst_element_get_state_func),
11357 (gst_element_lost_state), (gst_element_pads_activate):
11358 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11359 (gst_pad_check_pull_range), (gst_pad_pull_range):
11361 Simplify pad activation.
11362 Added function to check if pull_range can be performed.
11363 Error out when pulling inactive or flushing pads.
11364 Removed const from refcounted types as it does not make sense.
11365 Simplify pad templates in basesink
11366 Added base class for simple 1-to-1 transforms.
11367 Make identity subclass the base transform.
11369 2005-03-29 Andy Wingo <wingo@pobox.com>
11371 * docs/libs/gstreamer-libs-overrides.txt:
11372 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11373 really don't understand what's going on, but like whatever. I want
11376 * docs/gst/Makefile.am:
11377 * docs/libs/Makefile.am: Dist the overrides files.
11379 * check/Makefile.am (clean-local): Remove .libs directories.
11381 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11382 elements to EXTRA_DIST, so po/ files are happy.
11384 * po/POTFILES.in: Er, remove it here.
11386 * po/POTFILES: Remove gstspider.c.
11388 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11390 * docs/libs/gstreamer-libs-docs.sgml:
11391 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11394 * tests/complexity.c (main): Set the length of the preroll queue
11395 on the sinks to prevent a lockup.
11397 * libs/gst/dataprotocol/Makefile.am:
11398 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11399 the same as the one in check/gst-libs/gdp.c.
11401 * po/, docs/gst/: Commit automatic changes to docs and po files.
11403 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11404 the versioned libgstbase.
11406 * check/Makefile.am: Depend on an unversioned gst-register, seems
11407 to make autoconf happier.
11409 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11411 2005-03-28 Wim Taymans <wim@fluendo.com>
11414 * docs/design/part-gstelement.txt:
11415 * docs/design/part-negotiation.txt:
11416 * docs/design/part-preroll.txt:
11417 * docs/design/part-scheduling.txt:
11418 * docs/design/part-states.txt:
11420 * gst/base/Makefile.am:
11422 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11423 (gst_basesink_base_init), (gst_basesink_class_init),
11424 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11425 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11426 (gst_basesink_set_pad_functions),
11427 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11428 (gst_basesink_set_property), (gst_basesink_get_property),
11429 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11430 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11431 (gst_basesink_preroll_queue_push),
11432 (gst_basesink_preroll_queue_empty),
11433 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11434 (gst_basesink_event), (gst_basesink_get_times),
11435 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11436 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11437 (gst_basesink_loop), (gst_basesink_activate),
11438 (gst_basesink_change_state):
11439 * gst/base/gstbasesink.h:
11440 * gst/elements/Makefile.am:
11441 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11442 (gst_fakesink_class_init), (gst_fakesink_init),
11443 (gst_fakesink_set_property), (gst_fakesink_get_property),
11444 (gst_fakesink_get_times), (gst_fakesink_event),
11445 (gst_fakesink_preroll), (gst_fakesink_render),
11446 (gst_fakesink_change_state):
11447 * gst/elements/gstfakesink.h:
11448 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11449 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11450 * gst/gstelement.c: (gst_element_add_pad),
11451 (gst_element_get_state_func), (gst_element_abort_state),
11452 (gst_element_commit_state), (gst_element_lost_state),
11453 (gst_element_set_state), (gst_element_pads_activate):
11454 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11455 * gst/gstpipeline.c: (gst_pipeline_send_event),
11456 (gst_pipeline_change_state):
11457 Added state change code.
11458 Added/updated docs.
11459 Added sink base class, make fakesink extend the base class.
11460 Small cleanups in GstPipeline.
11462 2005-03-26 David Schleef <ds@schleef.org>
11464 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11465 is broken and should be implemented in a different library.
11466 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11467 * gst/gst.h: remove gstcpu.h
11468 * gst/gstcpu.c: remove
11469 * gst/gstcpu.h: remove
11470 * gst/Makefile.am.future: Remove this file. It's ancient.
11472 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11474 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11475 (gst_bin_send_event):
11476 Add default event/set_manager handlers. The set_manager handler
11477 takes care that the manager is distributed over kids that were
11478 already in the bin before the manager was set. The event handler
11479 is a utility virtual function that sends the event over all sinks,
11480 so that gst_element_send_event (bin, event); has the expected
11482 * gst/gstpad.c: (gst_pad_event_default):
11483 Re-install default event handling for discontinuities, so that
11484 seeking works without requiring hacks in applications or extra
11486 * gst/gstpipeline.c: (gst_pipeline_class_init),
11487 (gst_pipeline_send_event):
11488 Half hack, half utility: set a pipeline to PAUSED for seek events,
11489 since that is the only way we can guarantee a/v sync. Means that
11490 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11491 and it "just works".
11493 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11495 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11496 Lock/unlock mismatch.
11498 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11500 * docs/faq/gst-uninstalled:
11501 add gst-plugins-base
11502 * docs/gst/Makefile.am:
11503 don't error out until docs are fixed
11504 * docs/gst/gstreamer.types:
11507 2005-03-22 Wim Taymans <wim@fluendo.com>
11509 * check/Makefile.am:
11510 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11511 * gst/gststructure.c: (gst_structure_set_valist),
11512 (gst_structure_copy_conditional):
11513 Activated more tests.
11514 Added message test.
11515 Added G_TYPE_POINTER to GstStructure.
11518 2005-03-22 Wim Taymans <wim@fluendo.com>
11520 * docs/design/part-TODO.txt:
11521 * docs/design/part-events.txt:
11522 * docs/design/part-gstbin.txt:
11523 * docs/design/part-gstbus.txt:
11524 * docs/design/part-gstpipeline.txt:
11525 * docs/design/part-messages.txt:
11527 * gst/gstmessage.c:
11530 2005-03-21 Wim Taymans <wim@fluendo.com>
11532 * gst/gstbus.c: (gst_bus_post):
11533 Fix copy-and-paste error.
11535 2005-03-21 Wim Taymans <wim@fluendo.com>
11537 * check/Makefile.am:
11539 * gst/elements/Makefile.am:
11540 * gst/elements/gstelements.c:
11541 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11542 (gst_fakesink_event), (gst_fakesink_chain):
11543 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11544 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11545 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11546 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11547 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11548 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11549 (gst_fakesrc_loop), (gst_fakesrc_activate),
11550 (gst_fakesrc_change_state):
11551 * gst/elements/gstfakesrc.h:
11552 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11553 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11554 (gst_filesrc_open_file), (gst_filesrc_loop),
11555 (gst_filesrc_activate), (gst_filesrc_change_state),
11556 (filesrc_find_peek), (filesrc_find_suggest),
11557 (gst_filesrc_type_find):
11558 * gst/elements/gstidentity.c: (gst_identity_finalize),
11559 (gst_identity_class_init), (gst_identity_init),
11560 (gst_identity_proxy_getcaps), (identity_queue_push),
11561 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11562 (gst_identity_getrange), (gst_identity_chain),
11563 (gst_identity_sink_loop), (gst_identity_src_loop),
11564 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11565 (gst_identity_set_property), (gst_identity_get_property),
11566 (gst_identity_change_state):
11567 * gst/elements/gstidentity.h:
11568 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11569 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11570 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11571 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11572 (gst_tee_sink_activate):
11573 * gst/elements/gsttee.h:
11574 * gst/gst.c: (gst_register_core_elements), (init_post):
11576 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11577 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11578 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11579 (gst_bin_change_state):
11581 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11582 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11583 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11584 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11585 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11586 (bus_watch_callback), (bus_watch_destroy),
11587 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11588 (poll_timeout), (gst_bus_poll):
11592 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11593 (gst_element_post_message), (gst_element_message_full),
11594 (gst_element_get_state_func), (gst_element_get_state),
11595 (gst_element_abort_state), (gst_element_commit_state),
11596 (gst_element_lost_state), (gst_element_set_state),
11597 (gst_element_pads_activate), (gst_element_change_state),
11598 (gst_element_dispose), (gst_element_set_manager_func),
11599 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11600 (gst_element_set_manager), (gst_element_get_manager),
11601 (gst_element_set_bus), (gst_element_get_bus),
11602 (gst_element_set_scheduler), (gst_element_get_scheduler):
11603 * gst/gstelement.h:
11604 * gst/gstevent.c: (gst_event_new_segment_seek),
11605 (gst_event_new_flush):
11607 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11608 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11609 (gst_message_new_eos), (gst_message_new_error),
11610 (gst_message_new_warning), (gst_message_new_tag),
11611 (gst_message_new_state_changed), (gst_message_new_application),
11612 (gst_message_get_structure), (gst_message_parse_tag),
11613 (gst_message_parse_state_changed), (gst_message_parse_error),
11614 (gst_message_parse_warning):
11615 * gst/gstmessage.h:
11616 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11617 (gst_real_pad_set_property), (gst_pad_set_active),
11618 (gst_pad_is_active), (gst_pad_set_blocked_async),
11619 (gst_pad_set_blocked), (gst_pad_is_blocked),
11620 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11621 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11622 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11623 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11624 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11625 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11626 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11627 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11628 (gst_pad_set_caps), (gst_pad_configure_sink),
11629 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11630 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11631 (gst_real_pad_dispose), (gst_real_pad_finalize),
11632 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11633 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11634 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11636 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11637 (pipeline_bus_handler), (gst_pipeline_change_state),
11638 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11639 * gst/gstpipeline.h:
11641 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11642 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11643 (gst_queue_link_src), (gst_queue_bufferalloc),
11644 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11645 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11646 (gst_queue_loop), (gst_queue_handle_src_event),
11647 (gst_queue_handle_src_query), (gst_queue_src_activate),
11648 (gst_queue_change_state):
11650 * gst/gstscheduler.c: (gst_scheduler_init),
11651 (gst_scheduler_dispose), (gst_scheduler_create_task),
11652 (gst_scheduler_factory_create):
11653 * gst/gstscheduler.h:
11654 * gst/gststructure.c: (gst_structure_get_type),
11655 (gst_structure_copy_conditional):
11656 * gst/gststructure.h:
11657 * gst/gsttaginterface.h:
11658 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11659 (gst_task_init), (gst_task_dispose), (gst_task_create),
11660 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11666 * gst/schedulers/Makefile.am:
11667 * gst/schedulers/cothreads_compat.h:
11668 * gst/schedulers/entryscheduler.c:
11669 * gst/schedulers/faircothreads.c:
11670 * gst/schedulers/faircothreads.h:
11671 * gst/schedulers/fairscheduler.c:
11672 * gst/schedulers/gstbasicscheduler.c:
11673 * gst/schedulers/gstoptimalscheduler.c:
11674 * gst/schedulers/gthread-cothreads.h:
11675 * gst/schedulers/threadscheduler.c:
11676 (gst_thread_scheduler_task_get_type),
11677 (gst_thread_scheduler_task_class_init),
11678 (gst_thread_scheduler_task_init),
11679 (gst_thread_scheduler_task_start),
11680 (gst_thread_scheduler_task_stop),
11681 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11682 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11683 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11684 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11686 * libs/gst/Makefile.am:
11687 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11688 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11689 (gst_file_pad_parent_set):
11690 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11691 (gst_dp_event_from_packet):
11692 * tests/complexity.c: (main):
11693 * tests/mass_elements.c: (main):
11694 * testsuite/states/locked.c: (message_received), (main):
11695 * testsuite/states/parent.c: (main):
11696 * tools/gst-inspect.c: (print_element_flag_info),
11697 (print_implementation_info), (print_pad_info):
11698 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11700 * tools/gst-md5sum.c: (event_loop), (main):
11701 * tools/gst-typefind.c: (main):
11702 * tools/gst-xmlinspect.c: (print_element_info):
11704 Added GstBus for mainloop integration.
11705 Added GstMessage for sending notifications on the bus.
11706 Added GstTask as an abstraction for pipeline entry points.
11708 Removed Schedulers.
11709 Simplified GstQueue for multithreaded core.
11710 Made _link threadsafe, removed old capsnego.
11711 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11712 Added pad blocking functions.
11713 Reworked scheduling functions in GstPad to prepare for
11714 scheduling updates soon.
11715 Moved events out of data stream.
11716 Simplified GstEvent types.
11717 Added return values to push/pull.
11718 Removed clocking from GstElement.
11719 Added prototypes for state change function for next merge.
11720 Removed iterate from bins and state change management.
11721 Fixed some elements, disabled others for now.
11722 Fixed -inspect and -launch.
11723 Added check for GstBus.
11725 2005-03-10 Wim Taymans <wim@fluendo.com>
11727 * docs/design/part-MT-refcounting.txt:
11728 * docs/design/part-clocks.txt:
11729 * docs/design/part-gstelement.txt:
11730 * docs/design/part-gstobject.txt:
11731 * docs/design/part-standards.txt:
11732 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11733 (gst_bin_remove_func), (gst_bin_remove):
11737 * testsuite/clock/clock1.c: (main):
11738 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11740 * testsuite/dlopen/loadgst.c: (do_test):
11741 * testsuite/refcounting/bin.c: (add_remove_test1),
11742 (add_remove_test2), (main):
11743 * testsuite/refcounting/element.c: (main):
11744 * testsuite/refcounting/element_pad.c: (main):
11745 * testsuite/refcounting/pad.c: (main):
11746 * tools/gst-launch.c: (sigint_handler_sighandler):
11747 * tools/gst-typefind.c: (main):
11749 Added doc about clock.
11750 removed gst_bin_iterate_recurse_up(), marked methods
11752 Fix more testsuites.
11754 2005-03-09 Wim Taymans <wim@fluendo.com>
11756 * gst/gstpad.c: (gst_pad_get_direction),
11757 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11758 (gst_pad_collect_valist):
11759 * testsuite/bins/interface.c: (main):
11760 * testsuite/caps/audioscale.c: (test_caps):
11761 * testsuite/caps/caps.c: (test1), (test2), (test3):
11762 * testsuite/caps/deserialize.c: (main):
11763 * testsuite/caps/enumcaps.c: (main):
11764 * testsuite/caps/filtercaps.c: (main):
11765 * testsuite/caps/intersect2.c: (main):
11766 * testsuite/caps/random.c: (main):
11767 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11768 * testsuite/caps/sets.c: (check_caps):
11769 * testsuite/caps/simplify.c: (check_caps), (main):
11770 * testsuite/caps/subtract.c: (check_caps):
11771 Fix _pad_get_direction wrt ghostpads.
11772 Fix caps testsuite.
11774 2005-03-09 Wim Taymans <wim@fluendo.com>
11776 * check/Makefile.am:
11777 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11778 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11779 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11780 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11781 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11782 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11783 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11784 (bin_element_is_sink), (gst_bin_iterate_sinks),
11785 (gst_bin_iterate_all_by_interface):
11787 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11788 (gst_element_change_state), (gst_element_dispose),
11789 (gst_element_finalize), (gst_element_set_loop_function):
11790 * gst/gstelement.h:
11791 * gst/gstiterator.c: (find_custom_fold_func):
11792 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11793 (gst_pad_collectv), (gst_pad_collect_valist),
11794 (gst_pad_template_new):
11795 * gst/gstpipeline.c: (gst_pipeline_class_init),
11796 (gst_pipeline_dispose), (gst_pipeline_set_property),
11797 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11798 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11799 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11801 * gst/schedulers/entryscheduler.c:
11802 * gst/schedulers/gstbasicscheduler.c:
11803 (gst_basic_scheduler_cothreaded_chain),
11804 (gst_basic_scheduler_chain_add_element):
11805 * testsuite/bins/interface.c: (main):
11807 Added GstSystemClock test.
11808 Implemented clock distribution code in GstBin.
11809 Implemented iterate sinks method for future use.
11810 Rearranged gstelement.h
11811 Fix GstIterator comparison bug.
11812 Moved some code to GstPipeline, mostly clocking related.
11814 2005-03-09 Wim Taymans <wim@fluendo.com>
11817 * gst/gst_private.h:
11818 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11819 (gst_bin_remove_func), (gst_bin_remove),
11820 (gst_bin_get_by_name_recurse_up):
11821 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11822 (gst_clock_id_compare_func), (gst_clock_id_wait),
11823 (gst_clock_id_wait_async), (gst_clock_init),
11824 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11825 * gst/gstelement.h:
11826 * gst/gstinfo.c: (_gst_debug_init):
11828 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11829 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11831 Bump version number, we're now 0.9.0
11832 Add future debugging category.
11833 Fix NULL _unref() in _get_by_name_recurse_up
11834 Rearrange gstpad.h.
11837 2005-03-08 Wim Taymans <wim@fluendo.com>
11839 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11840 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11841 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11842 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11843 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11844 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11845 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11846 * gst/elements/gstidentity.c: (gst_identity_class_init):
11847 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11848 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11849 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11850 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11851 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11853 * gst/gstelement.c: (gst_element_class_init),
11854 (gst_element_base_class_init), (gst_element_init),
11855 (gst_element_get_random_pad), (gst_element_wait_state_change),
11856 (gst_element_change_state), (gst_element_dispose),
11857 (gst_element_finalize), (gst_element_set_loop_function):
11858 * gst/gstelement.h:
11859 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11860 * gst/gstthread.c: (gst_thread_class_init),
11861 (gst_thread_release_children_locks), (gst_thread_change_state):
11862 * gst/schedulers/gstbasicscheduler.c:
11863 (gst_basic_scheduler_loopfunc_wrapper),
11864 (gst_basic_scheduler_chain_wrapper),
11865 (gst_basic_scheduler_src_wrapper),
11866 (gst_basic_scheduler_remove_element):
11867 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11868 Remove threadsafe properties. Fix elements because GObject
11869 complains when installing a property before declaring a
11870 set/get_property handler.
11871 Rearrange gstelement.h file, use STATE macros for state locks.
11872 Free mutexes in the finalize method instead of dispose.
11874 2005-03-08 Wim Taymans <wim@fluendo.com>
11876 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11877 * gst/gstthread.c: (gst_thread_release_children_locks):
11878 Added parentage check.
11879 Fix build og GstThread again.
11881 2005-03-08 Wim Taymans <wim@fluendo.com>
11883 * docs/design/part-MT-refcounting.txt:
11884 * docs/design/part-conventions.txt:
11885 * docs/design/part-gstobject.txt:
11886 * docs/design/part-relations.txt:
11887 * docs/design/part-standards.txt:
11888 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11889 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11890 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11891 (gst_bin_iterate_all_by_interface):
11894 * gst/gstelement.c: (gst_element_class_init),
11895 (gst_element_change_state), (gst_element_set_loop_function):
11896 * gst/gstelement.h:
11897 * gst/gstiterator.c:
11898 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11899 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11900 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11901 (gst_object_set_parent), (gst_object_unparent),
11902 (gst_object_check_uniqueness):
11904 Docs updates, clean up some headers.
11906 2005-03-07 Wim Taymans <wim@fluendo.com>
11908 * check/.cvsignore:
11909 * check/Makefile.am:
11910 * check/gst-libs/.cvsignore:
11911 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11912 * check/gst/.cvsignore:
11913 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11914 (START_TEST), (gstbus_suite), (main):
11915 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11916 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11917 (gst_data_suite), (main):
11918 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11919 (add_fold_func), (gstiterator_suite), (main):
11920 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11921 (thread_name_object), (thread_name_object_default),
11922 (gst_object_name_compare), (gst_object_suite), (main):
11923 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11924 (gst_pad_suite), (main):
11925 * check/gstcheck.c: (gst_check_log_message_func),
11926 (gst_check_log_critical_func), (gst_check_init):
11927 * check/gstcheck.h:
11928 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11929 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11932 2005-03-07 Wim Taymans <wim@fluendo.com>
11934 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11935 (gst_list_iterator_next), (gst_list_iterator_resync),
11936 (gst_list_iterator_free), (gst_iterator_new_list),
11937 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11938 (gst_iterator_free), (gst_iterator_push), (filter_next),
11939 (filter_resync), (filter_uninit), (filter_free),
11940 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11941 (gst_iterator_foreach), (find_custom_fold_func),
11942 (gst_iterator_find_custom):
11943 * gst/gstiterator.h:
11944 Added missing files.
11946 2005-03-07 Wim Taymans <wim@fluendo.com>
11950 * docs/design/part-MT-refcounting.txt:
11951 * docs/design/part-conventions.txt:
11952 * docs/design/part-gstobject.txt:
11953 * docs/design/part-relations.txt:
11954 * examples/mixer/mixer.c: (main):
11955 * examples/thread/thread.c: (eos), (main):
11957 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11958 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11959 (gst_spider_plug_from_srcpad):
11960 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11961 (gst_spider_identity_change_state),
11962 (gst_spider_identity_sink_loop_type_finding):
11963 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11964 * gst/elements/gstidentity.c: (gst_identity_init):
11965 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11966 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11967 * gst/elements/gsttypefindelement.c: (free_entry):
11970 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11971 (gst_bin_set_clock_func), (gst_bin_auto_clock),
11972 (gst_bin_set_index), (gst_bin_set_element_sched),
11973 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11974 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11975 (gst_bin_iterate_elements), (iterate_child_recurse),
11976 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11977 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11978 (compare_interface), (gst_bin_get_by_interface),
11979 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11981 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11982 (gst_buffer_default_free), (gst_buffer_default_copy),
11983 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11984 (gst_buffer_create_sub):
11986 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11987 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11988 (gst_caps_unref), (gst_static_caps_get),
11989 (gst_caps_remove_and_get_structure), (gst_caps_append),
11990 (gst_caps_append_structure), (gst_caps_remove_structure),
11991 (gst_caps_copy_nth), (gst_caps_set_simple),
11992 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11993 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11994 (gst_caps_structure_intersect_field), (gst_caps_intersect),
11995 (gst_caps_structure_subtract_field), (gst_caps_subtract),
11996 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11997 (gst_caps_structure_figure_out_union),
11998 (gst_caps_switch_structures), (gst_caps_do_simplify),
11999 (gst_caps_replace), (gst_caps_from_string),
12000 (gst_caps_copy_conditional):
12002 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12003 (_gst_clock_id_free), (gst_clock_id_unref),
12004 (gst_clock_id_compare_func), (gst_clock_id_wait),
12005 (gst_clock_id_wait_async), (gst_clock_class_init),
12006 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12007 (gst_clock_get_time), (gst_clock_set_time_adjust),
12008 (gst_clock_set_property), (gst_clock_get_property):
12011 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12012 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12014 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12015 (gst_element_requires_clock), (gst_element_provides_clock),
12016 (gst_element_set_clock), (gst_element_clock_wait),
12017 (gst_element_wait), (gst_element_set_time_delay),
12018 (gst_element_is_indexable), (gst_element_add_pad),
12019 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12020 (pad_compare_name), (gst_element_get_static_pad),
12021 (gst_element_request_pad), (gst_element_get_request_pad),
12022 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12023 (gst_element_class_get_pad_template_list),
12024 (gst_element_class_get_pad_template), (gst_element_error_func),
12025 (gst_element_get_random_pad), (gst_element_get_event_masks),
12026 (gst_element_send_event), (gst_element_seek),
12027 (gst_element_get_query_types), (gst_element_query),
12028 (gst_element_get_formats), (gst_element_convert),
12029 (gst_element_is_locked_state), (gst_element_set_locked_state),
12030 (gst_element_sync_state_with_parent), (gst_element_change_state),
12031 (gst_element_finalize), (gst_element_yield),
12032 (gst_element_interrupt), (gst_element_set_scheduler),
12033 (gst_element_get_scheduler), (gst_element_set_loop_function):
12034 * gst/gstelement.h:
12036 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12037 (gst_format_get_by_nick), (gst_format_get_details),
12038 (gst_format_iterate_definitions):
12040 * gst/gstindex.c: (gst_index_gtype_resolver):
12043 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12044 (gst_mem_chunk_free):
12045 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12046 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12047 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12048 (gst_object_dispatch_properties_changed),
12049 (gst_object_set_name_default), (gst_object_set_name),
12050 (gst_object_get_name), (gst_object_set_name_prefix),
12051 (gst_object_get_name_prefix), (gst_object_set_parent),
12052 (gst_object_get_parent), (gst_object_unparent),
12053 (gst_object_check_uniqueness), (gst_object_save_thyself),
12054 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12055 (gst_object_set_property), (gst_object_get_property),
12056 (gst_object_get_path_string):
12058 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12059 (gst_real_pad_init), (gst_real_pad_get_property),
12060 (gst_pad_custom_new), (gst_pad_get_direction),
12061 (gst_pad_set_active), (gst_pad_is_active),
12062 (gst_pad_set_event_function), (gst_pad_is_linked),
12063 (gst_pad_link_free), (gst_pad_link_intersect),
12064 (gst_pad_link_fixate), (gst_pad_set_caps),
12065 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12066 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12067 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12068 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12069 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12070 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12071 (gst_pad_realize), (gst_pad_get_allowed_caps),
12072 (gst_real_pad_dispose), (gst_real_pad_finalize),
12073 (gst_pad_collectv), (gst_pad_collect_valist),
12074 (gst_pad_template_dispose), (gst_pad_template_new),
12075 (gst_pad_get_internal_links):
12077 * gst/gstpipeline.c: (gst_pipeline_dispose),
12078 (gst_pipeline_change_state):
12079 * gst/gstpipeline.h:
12081 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12082 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12083 * gst/gstpluginfeature.h:
12084 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12085 * gst/gstquery.c: (_gst_query_type_initialize),
12086 (gst_query_type_register), (gst_query_type_get_by_nick),
12087 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12089 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12090 * gst/gstscheduler.c: (gst_scheduler_add_element),
12091 (gst_scheduler_factory_create):
12092 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12093 (gst_structure_free), (gst_structure_set_name),
12094 (gst_structure_id_set_value), (gst_structure_set_value),
12095 (gst_structure_set_valist), (gst_structure_remove_field),
12096 (gst_structure_remove_fields),
12097 (gst_structure_remove_fields_valist),
12098 (gst_structure_remove_all_fields), (gst_structure_foreach),
12099 (gst_structure_map_in_place),
12100 (gst_caps_structure_fixate_field_nearest_int),
12101 (gst_caps_structure_fixate_field_nearest_double):
12102 * gst/gststructure.h:
12103 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12104 (gst_system_clock_init), (gst_system_clock_dispose),
12105 (gst_system_clock_async_thread),
12106 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12107 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12108 * gst/gstsystemclock.h:
12109 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12110 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12111 * gst/gsttaginterface.c:
12112 * gst/gstthread.c: (gst_thread_dispose),
12113 (gst_thread_release_children_locks), (gst_thread_change_state),
12114 (gst_thread_main_loop):
12115 * gst/gsttrashstack.h:
12116 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12118 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12119 (gst_element_request_pad), (gst_element_get_pad_from_template),
12120 (gst_element_request_compatible_pad),
12121 (gst_element_get_compatible_pad_filtered),
12122 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12123 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12124 (gst_element_link_many), (gst_element_link),
12125 (gst_element_link_pads), (gst_element_unlink_pads),
12126 (gst_element_unlink_many), (gst_element_unlink),
12127 (gst_pad_can_link_filtered), (gst_pad_can_link),
12128 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12129 (gst_object_default_error), (gst_bin_add_many),
12130 (gst_bin_remove_many), (gst_element_populate_std_props),
12131 (gst_element_class_install_std_props), (gst_buffer_merge),
12132 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12133 (link_fold_func), (gst_pad_proxy_setcaps):
12135 * gst/gstvalue.c: (gst_value_deserialize_string):
12136 * gst/parse/grammar.y:
12137 * gst/schedulers/gstbasicscheduler.c:
12138 (gst_basic_scheduler_cothreaded_chain),
12139 (gst_basic_scheduler_chain_recursive_add),
12140 (gst_basic_scheduler_pad_link):
12141 * gst/schedulers/gstoptimalscheduler.c:
12142 (get_group_schedule_function),
12143 (gst_opt_scheduler_state_transition),
12144 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12145 * libs/gst/bytestream/bytestream.c:
12146 * libs/gst/dataprotocol/dataprotocol.c:
12147 (gst_dp_header_from_buffer):
12150 * tests/threadstate/threadstate2.c: (eos):
12151 * tools/gst-compprep.c: (main):
12152 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12153 (print_pad_info), (print_children_info):
12154 * tools/gst-launch.c: (idle_func), (main):
12155 * tools/gst-md5sum.c: (idle_func), (main):
12156 * tools/gst-xmlinspect.c: (print_element_info):
12157 First THREADED backport attempt, focusing on adding locks and
12158 making sure the API is threadsafe. Needs more work. More docs
12161 2005-02-24 Andy Wingo <wingo@pobox.com>
12163 * tests/bench-complexity.scm:
12164 * tests/complexity.gnuplot: New files, good for running complexity
12167 * tests/Makefile.am:
12168 * tests/complexity.c: New test, sets up N elements, at each level
12169 teeing into M streams per element. Eeeenteresting.
12171 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12172 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12173 running bench-mass_elements.scm.
12175 * tests/bench-mass_elements.scm: New script, runs mass_elements
12176 for various numbers of identities, outputting the results to a
12177 file. Requires guile 1.6. Just for testing.
12179 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12181 * gst/schedulers/fairscheduler.c:
12182 compile with debug disabled
12184 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12187 hunting season on 0.9 is now OPEN